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 |
Deletes a state machine. This is an asynchronous operation: It sets the state machine's status to DELETING
and begins the deletion process. Each state machine execution is deleted the next time it makes a state transition.
Creating a Request
Creates a value of DeleteStateMachine
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dStateMachineARN
- The Amazon Resource Name (ARN) of the state machine to delete.
data DeleteStateMachine Source #
See: deleteStateMachine
smart constructor.
Request Lenses
dStateMachineARN :: Lens' DeleteStateMachine Text Source #
The Amazon Resource Name (ARN) of the state machine to delete.
Destructuring the Response
deleteStateMachineResponse Source #
Creates a value of DeleteStateMachineResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
drsResponseStatus
- -- | The response status code.
data DeleteStateMachineResponse Source #
See: deleteStateMachineResponse
smart constructor.
Response Lenses
drsResponseStatus :: Lens' DeleteStateMachineResponse Int Source #
- - | The response status code.