| Copyright | (c) 2013-2018 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 |
| Language | Haskell2010 |
Network.AWS.StepFunctions.DescribeStateMachine
Description
Describes a state machine.
Synopsis
- describeStateMachine :: Text -> DescribeStateMachine
- data DescribeStateMachine
- dsmStateMachineARN :: Lens' DescribeStateMachine Text
- describeStateMachineResponse :: Int -> Text -> Text -> Text -> Text -> UTCTime -> DescribeStateMachineResponse
- data DescribeStateMachineResponse
- dsmrsStatus :: Lens' DescribeStateMachineResponse (Maybe StateMachineStatus)
- dsmrsResponseStatus :: Lens' DescribeStateMachineResponse Int
- dsmrsStateMachineARN :: Lens' DescribeStateMachineResponse Text
- dsmrsName :: Lens' DescribeStateMachineResponse Text
- dsmrsDefinition :: Lens' DescribeStateMachineResponse Text
- dsmrsRoleARN :: Lens' DescribeStateMachineResponse Text
- dsmrsCreationDate :: Lens' DescribeStateMachineResponse UTCTime
Creating a Request
Arguments
| :: Text | |
| -> DescribeStateMachine |
Creates a value of DescribeStateMachine with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dsmStateMachineARN- The Amazon Resource Name (ARN) of the state machine to describe.
data DescribeStateMachine Source #
See: describeStateMachine smart constructor.
Instances
Request Lenses
dsmStateMachineARN :: Lens' DescribeStateMachine Text Source #
The Amazon Resource Name (ARN) of the state machine to describe.
Destructuring the Response
describeStateMachineResponse Source #
Creates a value of DescribeStateMachineResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dsmrsStatus- The current status of the state machine.dsmrsResponseStatus- -- | The response status code.dsmrsStateMachineARN- The Amazon Resource Name (ARN) that identifies the state machine.dsmrsName- The name of the state machine. A name must not contain: * whitespace * brackets{ } [ ]* wildcard characters? ** special characters" # % ^ | ~ ` $ & , ; : /* control characters (U+0000-001F,U+007F-009F)dsmrsDefinition- The Amazon States Language definition of the state machine.dsmrsRoleARN- 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.)dsmrsCreationDate- The date the state machine is created.
data DescribeStateMachineResponse Source #
See: describeStateMachineResponse smart constructor.
Instances
Response Lenses
dsmrsStatus :: Lens' DescribeStateMachineResponse (Maybe StateMachineStatus) Source #
The current status of the state machine.
dsmrsResponseStatus :: Lens' DescribeStateMachineResponse Int Source #
- - | The response status code.
dsmrsStateMachineARN :: Lens' DescribeStateMachineResponse Text Source #
The Amazon Resource Name (ARN) that identifies the state machine.
dsmrsDefinition :: Lens' DescribeStateMachineResponse Text Source #
The Amazon States Language definition of the state machine.
dsmrsRoleARN :: 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.)
dsmrsCreationDate :: Lens' DescribeStateMachineResponse UTCTime Source #
The date the state machine is created.