Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Describes an execution.
This operation is eventually consistent. The results are best effort and may not reflect very recent updates and changes.
This API action is not supported by EXPRESS
state machines.
Synopsis
- data DescribeExecution = DescribeExecution' {
- executionArn :: Text
- newDescribeExecution :: Text -> DescribeExecution
- describeExecution_executionArn :: Lens' DescribeExecution Text
- data DescribeExecutionResponse = DescribeExecutionResponse' {
- stopDate :: Maybe POSIX
- inputDetails :: Maybe CloudWatchEventsExecutionDataDetails
- input :: Maybe (Sensitive Text)
- name :: Maybe Text
- output :: Maybe (Sensitive Text)
- outputDetails :: Maybe CloudWatchEventsExecutionDataDetails
- traceHeader :: Maybe Text
- httpStatus :: Int
- executionArn :: Text
- stateMachineArn :: Text
- status :: ExecutionStatus
- startDate :: POSIX
- newDescribeExecutionResponse :: Int -> Text -> Text -> ExecutionStatus -> UTCTime -> DescribeExecutionResponse
- describeExecutionResponse_stopDate :: Lens' DescribeExecutionResponse (Maybe UTCTime)
- describeExecutionResponse_inputDetails :: Lens' DescribeExecutionResponse (Maybe CloudWatchEventsExecutionDataDetails)
- describeExecutionResponse_input :: Lens' DescribeExecutionResponse (Maybe Text)
- describeExecutionResponse_name :: Lens' DescribeExecutionResponse (Maybe Text)
- describeExecutionResponse_output :: Lens' DescribeExecutionResponse (Maybe Text)
- describeExecutionResponse_outputDetails :: Lens' DescribeExecutionResponse (Maybe CloudWatchEventsExecutionDataDetails)
- describeExecutionResponse_traceHeader :: Lens' DescribeExecutionResponse (Maybe Text)
- describeExecutionResponse_httpStatus :: Lens' DescribeExecutionResponse Int
- describeExecutionResponse_executionArn :: Lens' DescribeExecutionResponse Text
- describeExecutionResponse_stateMachineArn :: Lens' DescribeExecutionResponse Text
- describeExecutionResponse_status :: Lens' DescribeExecutionResponse ExecutionStatus
- describeExecutionResponse_startDate :: Lens' DescribeExecutionResponse UTCTime
Creating a Request
data DescribeExecution Source #
See: newDescribeExecution
smart constructor.
DescribeExecution' | |
|
Instances
Create a value of DescribeExecution
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:executionArn:DescribeExecution'
, describeExecution_executionArn
- The Amazon Resource Name (ARN) of the execution to describe.
Request Lenses
describeExecution_executionArn :: Lens' DescribeExecution Text Source #
The Amazon Resource Name (ARN) of the execution to describe.
Destructuring the Response
data DescribeExecutionResponse Source #
See: newDescribeExecutionResponse
smart constructor.
DescribeExecutionResponse' | |
|
Instances
newDescribeExecutionResponse Source #
:: Int | |
-> Text | |
-> Text | |
-> ExecutionStatus | |
-> UTCTime | |
-> DescribeExecutionResponse |
Create a value of DescribeExecutionResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:stopDate:DescribeExecutionResponse'
, describeExecutionResponse_stopDate
- If the execution has already ended, the date the execution stopped.
$sel:inputDetails:DescribeExecutionResponse'
, describeExecutionResponse_inputDetails
- Undocumented member.
$sel:input:DescribeExecutionResponse'
, describeExecutionResponse_input
- The string that contains the JSON input data of the execution. Length
constraints apply to the payload size, and are expressed as bytes in
UTF-8 encoding.
$sel:name:DescribeExecutionResponse'
, describeExecutionResponse_name
- The name of the execution.
A name must not contain:
- white space
- brackets
< > { } [ ]
- wildcard characters
? *
- special characters
" # % \ ^ | ~ ` $ & , ; : /
- control characters (
U+0000-001F
,U+007F-009F
)
To enable logging with CloudWatch Logs, the name should only contain 0-9, A-Z, a-z, - and _.
$sel:output:DescribeExecutionResponse'
, describeExecutionResponse_output
- The JSON output data of the execution. Length constraints apply to the
payload size, and are expressed as bytes in UTF-8 encoding.
This field is set only if the execution succeeds. If the execution fails, this field is null.
$sel:outputDetails:DescribeExecutionResponse'
, describeExecutionResponse_outputDetails
- Undocumented member.
$sel:traceHeader:DescribeExecutionResponse'
, describeExecutionResponse_traceHeader
- The AWS X-Ray trace header that was passed to the execution.
$sel:httpStatus:DescribeExecutionResponse'
, describeExecutionResponse_httpStatus
- The response's http status code.
$sel:executionArn:DescribeExecution'
, describeExecutionResponse_executionArn
- The Amazon Resource Name (ARN) that identifies the execution.
$sel:stateMachineArn:DescribeExecutionResponse'
, describeExecutionResponse_stateMachineArn
- The Amazon Resource Name (ARN) of the executed stated machine.
$sel:status:DescribeExecutionResponse'
, describeExecutionResponse_status
- The current status of the execution.
$sel:startDate:DescribeExecutionResponse'
, describeExecutionResponse_startDate
- The date the execution is started.
Response Lenses
describeExecutionResponse_stopDate :: Lens' DescribeExecutionResponse (Maybe UTCTime) Source #
If the execution has already ended, the date the execution stopped.
describeExecutionResponse_inputDetails :: Lens' DescribeExecutionResponse (Maybe CloudWatchEventsExecutionDataDetails) Source #
Undocumented member.
describeExecutionResponse_input :: Lens' DescribeExecutionResponse (Maybe Text) Source #
The string that contains the JSON input data of the execution. Length constraints apply to the payload size, and are expressed as bytes in UTF-8 encoding.
describeExecutionResponse_name :: Lens' DescribeExecutionResponse (Maybe Text) Source #
The name of the execution.
A name must not contain:
- white space
- brackets
< > { } [ ]
- wildcard characters
? *
- special characters
" # % \ ^ | ~ ` $ & , ; : /
- control characters (
U+0000-001F
,U+007F-009F
)
To enable logging with CloudWatch Logs, the name should only contain 0-9, A-Z, a-z, - and _.
describeExecutionResponse_output :: Lens' DescribeExecutionResponse (Maybe Text) Source #
The JSON output data of the execution. Length constraints apply to the payload size, and are expressed as bytes in UTF-8 encoding.
This field is set only if the execution succeeds. If the execution fails, this field is null.
describeExecutionResponse_outputDetails :: Lens' DescribeExecutionResponse (Maybe CloudWatchEventsExecutionDataDetails) Source #
Undocumented member.
describeExecutionResponse_traceHeader :: Lens' DescribeExecutionResponse (Maybe Text) Source #
The AWS X-Ray trace header that was passed to the execution.
describeExecutionResponse_httpStatus :: Lens' DescribeExecutionResponse Int Source #
The response's http status code.
describeExecutionResponse_executionArn :: Lens' DescribeExecutionResponse Text Source #
The Amazon Resource Name (ARN) that identifies the execution.
describeExecutionResponse_stateMachineArn :: Lens' DescribeExecutionResponse Text Source #
The Amazon Resource Name (ARN) of the executed stated machine.
describeExecutionResponse_status :: Lens' DescribeExecutionResponse ExecutionStatus Source #
The current status of the execution.
describeExecutionResponse_startDate :: Lens' DescribeExecutionResponse UTCTime Source #
The date the execution is started.