Class: Aws::Context::Types::AcceptCurationProposalResponse
- Inherits:
-
Struct
- Object
- Struct
- Aws::Context::Types::AcceptCurationProposalResponse
- Defined in:
- gems/aws-sdk-context/lib/aws-sdk-context/types.rb
Overview
The proposal after this call, in its new status.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#access_control ⇒ String
Who can read the authorizing change set's content.
-
#agent_context_id ⇒ String
The agent context's ID.
-
#change_set_id ⇒ String
The change set this proposal reviews.
-
#created_at ⇒ Time
The date and time when the curation proposal was created.
-
#expires_at ⇒ Time
The date and time when the review window closes, which is when a holding policy's
autoRejectAfterSecondselapses. -
#generated_by ⇒ String
The activity that generated the change set (see
Activity). -
#id ⇒ String
The proposal's opaque instance ID.
-
#revision_id ⇒ String
An opaque revision token.
-
#status ⇒ String
The status of the curation proposal, such as
PENDING_REVIEWwhile it waits for a decision,APPROVEDorREJECTEDonce it is decided, orARCHIVEDwhen the connection that produced it was removed from the agent context. -
#status_reason ⇒ Types::StatusReason
Why AWS Context closed the proposal.
-
#status_reason_code ⇒ String
Why the service decided the proposal, when it did: REQUEST_EXPIRED when a holding policy's auto-reject window passed with no decision.
-
#title ⇒ String
A one-line English title that AWS Context composes for the proposal, at most 1,024 characters.
-
#triggering_policies ⇒ Array<Types::TriggeringPolicy>
The policies that routed this change set to review (the
HOLD_FOR_REVIEWentries in the change set's evaluation). -
#updated_at ⇒ Time
The date and time when the curation proposal was last updated, such as when its change set was edited or the proposal was decided.
Instance Attribute Details
#access_control ⇒ String
Who can read the authorizing change set's content. See
AccessControl. If the value is ACL_RESTRICTED,
ListChangeSetOperations on changeSetId returns the operations
only to an allowed end user. Any other caller gets
AccessDeniedException, and GetChangeSet returns only metadata,
and the proposal's title has no node names or edge endpoints. The
service returns accessControl on every proposal.
Valid values:
ACL_RESTRICTED- Only an allowed end user can read the content (its operations), and the change set can't be edited. Every caller can read its metadata, and its proposal'stitlenames no nodes or edges.NO_ACL- Every caller can read the content.
199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 |
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 199 class AcceptCurationProposalResponse < Struct.new( :change_set_id, :title, :generated_by, :revision_id, :status, :status_reason_code, :access_control, :agent_context_id, :expires_at, :created_at, :updated_at, :status_reason, :id, :triggering_policies) SENSITIVE = [] include Aws::Structure end |
#agent_context_id ⇒ String
The agent context's ID.
199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 |
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 199 class AcceptCurationProposalResponse < Struct.new( :change_set_id, :title, :generated_by, :revision_id, :status, :status_reason_code, :access_control, :agent_context_id, :expires_at, :created_at, :updated_at, :status_reason, :id, :triggering_policies) SENSITIVE = [] include Aws::Structure end |
#change_set_id ⇒ String
The change set this proposal reviews. UpdateChangeSet edits that change set in place, so this ID never changes.
199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 |
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 199 class AcceptCurationProposalResponse < Struct.new( :change_set_id, :title, :generated_by, :revision_id, :status, :status_reason_code, :access_control, :agent_context_id, :expires_at, :created_at, :updated_at, :status_reason, :id, :triggering_policies) SENSITIVE = [] include Aws::Structure end |
#created_at ⇒ Time
The date and time when the curation proposal was created.
199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 |
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 199 class AcceptCurationProposalResponse < Struct.new( :change_set_id, :title, :generated_by, :revision_id, :status, :status_reason_code, :access_control, :agent_context_id, :expires_at, :created_at, :updated_at, :status_reason, :id, :triggering_policies) SENSITIVE = [] include Aws::Structure end |
#expires_at ⇒ Time
The date and time when the review window closes, which is when a
holding policy's autoRejectAfterSeconds elapses. If no curator
has decided the proposal by then, AWS Context rejects it with
statusReasonCode REQUEST_EXPIRED. Present only while status is
PENDING_REVIEW and a holding policy set a window. Absent on every
other status.
199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 |
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 199 class AcceptCurationProposalResponse < Struct.new( :change_set_id, :title, :generated_by, :revision_id, :status, :status_reason_code, :access_control, :agent_context_id, :expires_at, :created_at, :updated_at, :status_reason, :id, :triggering_policies) SENSITIVE = [] include Aws::Structure end |
#generated_by ⇒ String
The activity that generated the change set (see Activity). This
member can be absent, so handle a proposal that has no activity. For
example, it's absent when the change set is unreadable, when AWS
Context wrote the change set to load an ontology's schema, when the
change set records a connection's removal, and when this API
version doesn't recognize the activity.
199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 |
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 199 class AcceptCurationProposalResponse < Struct.new( :change_set_id, :title, :generated_by, :revision_id, :status, :status_reason_code, :access_control, :agent_context_id, :expires_at, :created_at, :updated_at, :status_reason, :id, :triggering_policies) SENSITIVE = [] include Aws::Structure end |
#id ⇒ String
The proposal's opaque instance ID. Requests take it as
curationProposalId.
199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 |
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 199 class AcceptCurationProposalResponse < Struct.new( :change_set_id, :title, :generated_by, :revision_id, :status, :status_reason_code, :access_control, :agent_context_id, :expires_at, :created_at, :updated_at, :status_reason, :id, :triggering_policies) SENSITIVE = [] include Aws::Structure end |
#revision_id ⇒ String
An opaque revision token. Pass it back as revisionId when you
accept or reject the proposal.
199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 |
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 199 class AcceptCurationProposalResponse < Struct.new( :change_set_id, :title, :generated_by, :revision_id, :status, :status_reason_code, :access_control, :agent_context_id, :expires_at, :created_at, :updated_at, :status_reason, :id, :triggering_policies) SENSITIVE = [] include Aws::Structure end |
#status ⇒ String
The status of the curation proposal, such as PENDING_REVIEW while
it waits for a decision, APPROVED or REJECTED once it is
decided, or ARCHIVED when the connection that produced it was
removed from the agent context. New values can be added, so handle a
status that you don't recognize.
Valid values:
PENDING_REVIEW- Waiting for a curator's decision. The only status Accept and Reject act on.APPROVED- A curator accepted it. Its change set is published or publishing.REJECTED- Closed without applying its change set: a curator rejected it, or the service did when a holding policy's review window passed with no decision (statusReasonCodeREQUEST_EXPIRED).SUPERSEDED- A newer proposal for the same document replaced it.FAILED- The proposal was accepted, but publishing its change set failed. This status is final. To apply the change, submit it again.PUBLISHING- Accepted and publishing asynchronously (an ontology-schema publish). The status then changes to APPROVED or FAILED.ARCHIVED- The connection that produced it was removed from the agent context.statusReason.codeis CONNECTION_REMOVED.
199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 |
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 199 class AcceptCurationProposalResponse < Struct.new( :change_set_id, :title, :generated_by, :revision_id, :status, :status_reason_code, :access_control, :agent_context_id, :expires_at, :created_at, :updated_at, :status_reason, :id, :triggering_policies) SENSITIVE = [] include Aws::Structure end |
#status_reason ⇒ Types::StatusReason
Why AWS Context closed the proposal. Set on an ARCHIVED proposal.
Absent otherwise.
199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 |
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 199 class AcceptCurationProposalResponse < Struct.new( :change_set_id, :title, :generated_by, :revision_id, :status, :status_reason_code, :access_control, :agent_context_id, :expires_at, :created_at, :updated_at, :status_reason, :id, :triggering_policies) SENSITIVE = [] include Aws::Structure end |
#status_reason_code ⇒ String
Why the service decided the proposal, when it did: REQUEST_EXPIRED when a holding policy's auto-reject window passed with no decision. Absent when a curator decided it.
Valid values:
REQUEST_EXPIRED- The auto-reject window of a policy that held the proposal passed with no decision, so the service rejected it.CONNECTION_REMOVED- The connection was removed from the agent context. AWS Context removes the data that only that connection produced, and archives the connection's pending proposals.
199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 |
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 199 class AcceptCurationProposalResponse < Struct.new( :change_set_id, :title, :generated_by, :revision_id, :status, :status_reason_code, :access_control, :agent_context_id, :expires_at, :created_at, :updated_at, :status_reason, :id, :triggering_policies) SENSITIVE = [] include Aws::Structure end |
#title ⇒ String
A one-line English title that AWS Context composes for the proposal,
at most 1,024 characters. For example, Add 'orders' and 2 more
entities, and 20 relationships, Add 'orders → customers' and 2
more relationships, or Associate ontology 'my-ontology' version
2. The title names the lead node (the node that starts the most
edges, otherwise the first node) by its name, or by its ID if it has
no name. For an edge-only change, it names the lead relationship's
two node IDs. For an ontology load, it names the ontology ID and
version. The title is for display only. It is not translated and is
not meant to be parsed.
For an ACL_RESTRICTED change set (see accessControl), the title
contains only the verb and the counts, with no node, edge, type, or
ontology. The title is absent when the change set is unreadable or
has nothing to describe, such as a change set that records a
connection's removal. A node name or ID, ontology ID, or ontology
version longer than 128 characters is truncated to 128 characters,
ending in ….
199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 |
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 199 class AcceptCurationProposalResponse < Struct.new( :change_set_id, :title, :generated_by, :revision_id, :status, :status_reason_code, :access_control, :agent_context_id, :expires_at, :created_at, :updated_at, :status_reason, :id, :triggering_policies) SENSITIVE = [] include Aws::Structure end |
#triggering_policies ⇒ Array<Types::TriggeringPolicy>
The policies that routed this change set to review (the
HOLD_FOR_REVIEW entries in the change set's evaluation). Absent
if none held it.
199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 |
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 199 class AcceptCurationProposalResponse < Struct.new( :change_set_id, :title, :generated_by, :revision_id, :status, :status_reason_code, :access_control, :agent_context_id, :expires_at, :created_at, :updated_at, :status_reason, :id, :triggering_policies) SENSITIVE = [] include Aws::Structure end |
#updated_at ⇒ Time
The date and time when the curation proposal was last updated, such
as when its change set was edited or the proposal was decided. Equal
to createdAt until the first update.
199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 |
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 199 class AcceptCurationProposalResponse < Struct.new( :change_set_id, :title, :generated_by, :revision_id, :status, :status_reason_code, :access_control, :agent_context_id, :expires_at, :created_at, :updated_at, :status_reason, :id, :triggering_policies) SENSITIVE = [] include Aws::Structure end |