GetExecutionOutput
Retrieve the output for an Execution using its ID.
Request Syntax
{
"identifier": "string
"
}
Request Parameters
For information about the parameters that are common to all actions, see Common Parameters.
The request accepts the following data in JSON format.
- identifier
-
The unique identifier for an existing execution. The execution ID is returned by StartExecution
Type: String
Length Constraints: Minimum length of 12. Maximum length of 2048.
Required: Yes
Response Syntax
{
"executionOutput": "string"
}
Response Elements
If the action is successful, the service sends back an HTTP 200 response.
The following data is returned in JSON format by the service.
- executionOutput
-
Execution Output Object
Type: String
Errors
For information about the errors that are common to all actions, see Common Errors.
- AccessDeniedException
-
User does not have sufficient access to perform this action.
- message
-
Throttle error message.
HTTP Status Code: 400
- ConflictException
-
Updating or deleting a resource can cause an inconsistent state.
- message
-
Reason for the Conflict.
- resourceId
-
The unique ID of the resource referenced in the failed request.
- resourceType
-
The resource type of the resource referenced in the failed request.
HTTP Status Code: 400
- InternalServerException
-
The request failed because of an internal error. Try your request again later
- message
-
Error Message
- retryAfterSeconds
-
Second after which client can retry the transaction
HTTP Status Code: 500
- OutputTooLargeException
-
Request failed due to output content being too large.
- message
-
Reason for the failure.
- resourceId
-
The unique ID of the resource referenced in the failed request.
- resourceType
-
The resource type of the resource referenced in the failed request.
HTTP Status Code: 400
- ResourceInFailedStateException
-
Request failed due to the execution failing.
- message
-
Reason for failure if any.
- resourceId
-
Resource Identifier which is in failed state.
- resourceType
-
The resource type of the resource referenced in the failed request.
HTTP Status Code: 400
- ResourceNotFoundException
-
The request failed because it references a resource that doesn't exist.
- message
-
Reason for the resource not found.
- resourceId
-
The unique ID of the resource referenced in the failed request.
- resourceType
-
The resource type of the resource referenced in the failed request.
HTTP Status Code: 400
- ThrottlingException
-
The request failed because it exceeded a throttling quota.
- message
-
Throttle error message.
- quotaCode
-
The quota code recognized by the AWS Service Quotas service.
- retryAfterSeconds
-
Second after which client can retry the transaction
- serviceCode
-
The code for the AWS-service; that owns the quota.
HTTP Status Code: 400
- ValidationException
-
The input fails to satisfy the constraints specified by an AWS service.
- fieldList
-
The field that caused the error, if applicable. If more than one field caused the error, pick one and elaborate in the message.
- message
-
Description of the error.
- reason
-
Reason the request failed validation.
HTTP Status Code: 400
Examples
This example illustrates one usage of GetExecutionOutput
.
Example
Using AWS JSON protocol (default)
Sample Request
POST / HTTP/1.1
Host: ts.us-east-2.amazonaws.com
X-Amz-Target: Troubleshooting.GetExecutionOutput
Content-Type: application/x-amz-json-1.0
X-Amz-Date: <Date>
Authorization: <AuthParams>
Content-Length: <PayloadSizeBytes>
Connection: Keep-Alive
{
"executionId": "e-aaaaaaaaa"
}
Sample Response
HTTP/1.1 200 OK
x-amzn-RequestId: <requestId>
Content-Length: 0
Date: <Date>
Content-Type: application/x-amz-json-1.0
{
"executionOutput": "<output in String format>"
}
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: