ListChangeSetOperations
Returns what one change set wrote: every operation it holds (the nodes and relationships it adds, updates, or deletes), one page at a time, in order. This is the only read that returns a change set's contents.
Request Parameters
- agentContextId
-
The agent context that owns the change set, as an ID or ARN. Authorization is on this agent context's ARN, and a change set of another agent context is a ResourceNotFoundException.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 180.
Pattern:
(arn:(aws|aws-cn|aws-us-gov):context:[a-z0-9\-]{1,32}:\d{12}:agent-context/)?[a-z0-9]+(-[a-z0-9]+)*Required: Yes
- changeSetId
-
The change set whose operations to page through, by its opaque instance ID.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 64.
Pattern:
[a-z0-9]+(-[a-z0-9]+)*Required: Yes
- maxResults
-
Maximum number of operations per page (upper bound, not a target). Defaults to 50. A value outside 1–100 fails with
ValidationException.Type: Integer
Valid Range: Minimum value of 1. Maximum value of 100.
Required: No
- nextToken
-
The pagination token from a previous response. Omit it for the first page.
The request fails with
ValidationException, and you must start again without a token, in these cases:-
The token was issued before an
UpdateChangeSetedit, and the change set is stillPENDING. -
The token was issued while an edited change set was
PENDING, and the change set's status has since changed. -
The token was issued to another end user or for another change set.
On an
ACL_RESTRICTEDchange set, AWS Context checks access before it reads the token, so a caller without access getsAccessDeniedExceptionwhatever token it sends. For an allowed end user, the token also carries the access decision, which expires after a few minutes. AWS Context then checks access again before it returns the page.Type: String
Length Constraints: Minimum length of 1. Maximum length of 4096.
Required: No
-
Response Elements
The following elements are returned by the service.
- items
-
This page of the change set's operations.
Type: Array of ChangeSetOperation objects
Array Members: Minimum number of 0 items. Maximum number of 1000 items.
- nextToken
-
Pagination cursor for the next page. Absent when no more operations remain.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 4096.
Errors
For information about the errors that are common to all actions, see Common Error Types.
- AccessDeniedException
-
You don't have sufficient access to perform this operation. Verify that you have permission to perform the operation on the resource.
- message
-
A message that describes the error.
HTTP Status Code: 403
- InternalServerException
-
The request failed because of an internal error. Retry the request.
- message
-
A message that describes the error.
HTTP Status Code: 500
- ResourceNotFoundException
-
The specified resource was not found. Check that the ID is correct and that the resource exists in your account and Region.
- message
-
A message that describes the error.
- resourceId
-
The ID of the resource that was not found.
- resourceType
-
The type of the resource that wasn't found.
Valid values:
-
agent-context- An agent context. -
connection- A connection. -
curation-policy- A curation policy. -
evaluation- Reserved for future use. -
ontology- An ontology. -
ontology-induction- An ontology induction. -
resource-policy- A resource-based policy.
-
HTTP Status Code: 404
- ThrottlingException
-
The request was denied because it exceeded a request rate quota. Wait, then retry the request.
- message
-
A message that describes the error.
- quotaCode
-
The code of the quota that throttled the request.
- retryAfterSeconds
-
The number of seconds to wait before you retry the request, if AWS Context provides one.
- serviceCode
-
The code of the service whose quota throttled the request.
HTTP Status Code: 429
- ValidationException
-
The input fails to satisfy the constraints of the operation. Correct the input before you retry the request.
- fieldList
-
The fields that failed validation, each with a message that describes why.
- message
-
A message that describes the error.
- reason
-
The reason that the input failed validation. Valid values:
-
unknownOperation- The operation isn't recognized. -
cannotParse- The request couldn't be parsed. -
fieldValidationFailed- One or more fields failed validation.fieldListdescribes them. -
other- Another reason.messagedescribes it.
-
HTTP Status Code: 400
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: