Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Provides information about a state machine's definition, its execution role ARN, and configuration. If an execution was dispatched by a Map Run, the Map Run is returned in the response. Additionally, the state machine returned will be the state machine associated with the Map Run.
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 DescribeStateMachineForExecution = DescribeStateMachineForExecution' {
- executionArn :: Text
- newDescribeStateMachineForExecution :: Text -> DescribeStateMachineForExecution
- describeStateMachineForExecution_executionArn :: Lens' DescribeStateMachineForExecution Text
- data DescribeStateMachineForExecutionResponse = DescribeStateMachineForExecutionResponse' {}
- newDescribeStateMachineForExecutionResponse :: Int -> Text -> Text -> Text -> Text -> UTCTime -> DescribeStateMachineForExecutionResponse
- describeStateMachineForExecutionResponse_label :: Lens' DescribeStateMachineForExecutionResponse (Maybe Text)
- describeStateMachineForExecutionResponse_loggingConfiguration :: Lens' DescribeStateMachineForExecutionResponse (Maybe LoggingConfiguration)
- describeStateMachineForExecutionResponse_mapRunArn :: Lens' DescribeStateMachineForExecutionResponse (Maybe Text)
- describeStateMachineForExecutionResponse_tracingConfiguration :: Lens' DescribeStateMachineForExecutionResponse (Maybe TracingConfiguration)
- describeStateMachineForExecutionResponse_httpStatus :: Lens' DescribeStateMachineForExecutionResponse Int
- describeStateMachineForExecutionResponse_stateMachineArn :: Lens' DescribeStateMachineForExecutionResponse Text
- describeStateMachineForExecutionResponse_name :: Lens' DescribeStateMachineForExecutionResponse Text
- describeStateMachineForExecutionResponse_definition :: Lens' DescribeStateMachineForExecutionResponse Text
- describeStateMachineForExecutionResponse_roleArn :: Lens' DescribeStateMachineForExecutionResponse Text
- describeStateMachineForExecutionResponse_updateDate :: Lens' DescribeStateMachineForExecutionResponse UTCTime
Creating a Request
data DescribeStateMachineForExecution Source #
See: newDescribeStateMachineForExecution
smart constructor.
DescribeStateMachineForExecution' | |
|
Instances
newDescribeStateMachineForExecution Source #
Create a value of DescribeStateMachineForExecution
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:
DescribeStateMachineForExecution
, describeStateMachineForExecution_executionArn
- The Amazon Resource Name (ARN) of the execution you want state machine
information for.
Request Lenses
describeStateMachineForExecution_executionArn :: Lens' DescribeStateMachineForExecution Text Source #
The Amazon Resource Name (ARN) of the execution you want state machine information for.
Destructuring the Response
data DescribeStateMachineForExecutionResponse Source #
See: newDescribeStateMachineForExecutionResponse
smart constructor.
DescribeStateMachineForExecutionResponse' | |
|
Instances
newDescribeStateMachineForExecutionResponse Source #
Create a value of DescribeStateMachineForExecutionResponse
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:label:DescribeStateMachineForExecutionResponse'
, describeStateMachineForExecutionResponse_label
- A user-defined or an auto-generated string that identifies a Map
state. This field is returned only if the executionArn
is a child
workflow execution that was started by a Distributed Map state.
$sel:loggingConfiguration:DescribeStateMachineForExecutionResponse'
, describeStateMachineForExecutionResponse_loggingConfiguration
- Undocumented member.
DescribeStateMachineForExecutionResponse
, describeStateMachineForExecutionResponse_mapRunArn
- The Amazon Resource Name (ARN) of the Map Run that started the child
workflow execution. This field is returned only if the executionArn
is
a child workflow execution that was started by a Distributed Map state.
$sel:tracingConfiguration:DescribeStateMachineForExecutionResponse'
, describeStateMachineForExecutionResponse_tracingConfiguration
- Selects whether X-Ray tracing is enabled.
$sel:httpStatus:DescribeStateMachineForExecutionResponse'
, describeStateMachineForExecutionResponse_httpStatus
- The response's http status code.
DescribeStateMachineForExecutionResponse
, describeStateMachineForExecutionResponse_stateMachineArn
- The Amazon Resource Name (ARN) of the state machine associated with the
execution.
DescribeStateMachineForExecutionResponse
, describeStateMachineForExecutionResponse_name
- The name of the state machine associated with the execution.
$sel:definition:DescribeStateMachineForExecutionResponse'
, describeStateMachineForExecutionResponse_definition
- The Amazon States Language definition of the state machine. See
Amazon States Language.
DescribeStateMachineForExecutionResponse
, describeStateMachineForExecutionResponse_roleArn
- The Amazon Resource Name (ARN) of the IAM role of the State Machine for
the execution.
$sel:updateDate:DescribeStateMachineForExecutionResponse'
, describeStateMachineForExecutionResponse_updateDate
- The date and time the state machine associated with an execution was
updated. For a newly created state machine, this is the creation date.
Response Lenses
describeStateMachineForExecutionResponse_label :: Lens' DescribeStateMachineForExecutionResponse (Maybe Text) Source #
A user-defined or an auto-generated string that identifies a Map
state. This field is returned only if the executionArn
is a child
workflow execution that was started by a Distributed Map state.
describeStateMachineForExecutionResponse_loggingConfiguration :: Lens' DescribeStateMachineForExecutionResponse (Maybe LoggingConfiguration) Source #
Undocumented member.
describeStateMachineForExecutionResponse_mapRunArn :: Lens' DescribeStateMachineForExecutionResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the Map Run that started the child
workflow execution. This field is returned only if the executionArn
is
a child workflow execution that was started by a Distributed Map state.
describeStateMachineForExecutionResponse_tracingConfiguration :: Lens' DescribeStateMachineForExecutionResponse (Maybe TracingConfiguration) Source #
Selects whether X-Ray tracing is enabled.
describeStateMachineForExecutionResponse_httpStatus :: Lens' DescribeStateMachineForExecutionResponse Int Source #
The response's http status code.
describeStateMachineForExecutionResponse_stateMachineArn :: Lens' DescribeStateMachineForExecutionResponse Text Source #
The Amazon Resource Name (ARN) of the state machine associated with the execution.
describeStateMachineForExecutionResponse_name :: Lens' DescribeStateMachineForExecutionResponse Text Source #
The name of the state machine associated with the execution.
describeStateMachineForExecutionResponse_definition :: Lens' DescribeStateMachineForExecutionResponse Text Source #
The Amazon States Language definition of the state machine. See Amazon States Language.
describeStateMachineForExecutionResponse_roleArn :: Lens' DescribeStateMachineForExecutionResponse Text Source #
The Amazon Resource Name (ARN) of the IAM role of the State Machine for the execution.
describeStateMachineForExecutionResponse_updateDate :: Lens' DescribeStateMachineForExecutionResponse UTCTime Source #
The date and time the state machine associated with an execution was updated. For a newly created state machine, this is the creation date.