| 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 |
Amazonka.StepFunctions.DescribeStateMachine
Description
Describes a state machine.
This operation is eventually consistent. The results are best effort and may not reflect very recent updates and changes.
Synopsis
- data DescribeStateMachine = DescribeStateMachine' {}
- newDescribeStateMachine :: Text -> DescribeStateMachine
- describeStateMachine_stateMachineArn :: Lens' DescribeStateMachine Text
- data DescribeStateMachineResponse = DescribeStateMachineResponse' {}
- newDescribeStateMachineResponse :: Int -> Text -> Text -> Text -> Text -> StateMachineType -> UTCTime -> DescribeStateMachineResponse
- describeStateMachineResponse_status :: Lens' DescribeStateMachineResponse (Maybe StateMachineStatus)
- describeStateMachineResponse_tracingConfiguration :: Lens' DescribeStateMachineResponse (Maybe TracingConfiguration)
- describeStateMachineResponse_loggingConfiguration :: Lens' DescribeStateMachineResponse (Maybe LoggingConfiguration)
- describeStateMachineResponse_httpStatus :: Lens' DescribeStateMachineResponse Int
- describeStateMachineResponse_stateMachineArn :: Lens' DescribeStateMachineResponse Text
- describeStateMachineResponse_name :: Lens' DescribeStateMachineResponse Text
- describeStateMachineResponse_definition :: Lens' DescribeStateMachineResponse Text
- describeStateMachineResponse_roleArn :: Lens' DescribeStateMachineResponse Text
- describeStateMachineResponse_type :: Lens' DescribeStateMachineResponse StateMachineType
- describeStateMachineResponse_creationDate :: Lens' DescribeStateMachineResponse UTCTime
Creating a Request
data DescribeStateMachine Source #
See: newDescribeStateMachine smart constructor.
Constructors
| DescribeStateMachine' | |
Fields
| |
Instances
newDescribeStateMachine Source #
Create a value of DescribeStateMachine 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:stateMachineArn:DescribeStateMachine', describeStateMachine_stateMachineArn - The Amazon Resource Name (ARN) of the state machine to describe.
Request Lenses
describeStateMachine_stateMachineArn :: Lens' DescribeStateMachine Text Source #
The Amazon Resource Name (ARN) of the state machine to describe.
Destructuring the Response
data DescribeStateMachineResponse Source #
See: newDescribeStateMachineResponse smart constructor.
Constructors
| DescribeStateMachineResponse' | |
Fields
| |
Instances
newDescribeStateMachineResponse Source #
Arguments
| :: Int | |
| -> Text | |
| -> Text | |
| -> Text | |
| -> Text | |
| -> StateMachineType | |
| -> UTCTime | |
| -> DescribeStateMachineResponse |
Create a value of DescribeStateMachineResponse 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:status:DescribeStateMachineResponse', describeStateMachineResponse_status - The current status of the state machine.
$sel:tracingConfiguration:DescribeStateMachineResponse', describeStateMachineResponse_tracingConfiguration - Selects whether AWS X-Ray tracing is enabled.
$sel:loggingConfiguration:DescribeStateMachineResponse', describeStateMachineResponse_loggingConfiguration - Undocumented member.
$sel:httpStatus:DescribeStateMachineResponse', describeStateMachineResponse_httpStatus - The response's http status code.
$sel:stateMachineArn:DescribeStateMachine', describeStateMachineResponse_stateMachineArn - The Amazon Resource Name (ARN) that identifies the state machine.
$sel:name:DescribeStateMachineResponse', describeStateMachineResponse_name - The name of the state machine.
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:definition:DescribeStateMachineResponse', describeStateMachineResponse_definition - The Amazon States Language definition of the state machine. See
Amazon States Language.
$sel:roleArn:DescribeStateMachineResponse', describeStateMachineResponse_roleArn - The Amazon Resource Name (ARN) of the IAM role used when creating this
state machine. (The IAM role maintains security by granting Step
Functions access to AWS resources.)
$sel:type':DescribeStateMachineResponse', describeStateMachineResponse_type - The type of the state machine (STANDARD or EXPRESS).
$sel:creationDate:DescribeStateMachineResponse', describeStateMachineResponse_creationDate - The date the state machine is created.
Response Lenses
describeStateMachineResponse_status :: Lens' DescribeStateMachineResponse (Maybe StateMachineStatus) Source #
The current status of the state machine.
describeStateMachineResponse_tracingConfiguration :: Lens' DescribeStateMachineResponse (Maybe TracingConfiguration) Source #
Selects whether AWS X-Ray tracing is enabled.
describeStateMachineResponse_loggingConfiguration :: Lens' DescribeStateMachineResponse (Maybe LoggingConfiguration) Source #
Undocumented member.
describeStateMachineResponse_httpStatus :: Lens' DescribeStateMachineResponse Int Source #
The response's http status code.
describeStateMachineResponse_stateMachineArn :: Lens' DescribeStateMachineResponse Text Source #
The Amazon Resource Name (ARN) that identifies the state machine.
describeStateMachineResponse_name :: Lens' DescribeStateMachineResponse Text Source #
The name of the state machine.
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 _.
describeStateMachineResponse_definition :: Lens' DescribeStateMachineResponse Text Source #
The Amazon States Language definition of the state machine. See Amazon States Language.
describeStateMachineResponse_roleArn :: Lens' DescribeStateMachineResponse Text Source #
The Amazon Resource Name (ARN) of the IAM role used when creating this state machine. (The IAM role maintains security by granting Step Functions access to AWS resources.)
describeStateMachineResponse_type :: Lens' DescribeStateMachineResponse StateMachineType Source #
The type of the state machine (STANDARD or EXPRESS).
describeStateMachineResponse_creationDate :: Lens' DescribeStateMachineResponse UTCTime Source #
The date the state machine is created.