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 |
Deletes a state machine. This is an asynchronous operation: It sets the
state machine's status to DELETING
and begins the deletion process.
For EXPRESS
state machines, the deletion will happen eventually
(usually less than a minute). Running executions may emit logs after
DeleteStateMachine
API is called.
Synopsis
- data DeleteStateMachine = DeleteStateMachine' {}
- newDeleteStateMachine :: Text -> DeleteStateMachine
- deleteStateMachine_stateMachineArn :: Lens' DeleteStateMachine Text
- data DeleteStateMachineResponse = DeleteStateMachineResponse' {
- httpStatus :: Int
- newDeleteStateMachineResponse :: Int -> DeleteStateMachineResponse
- deleteStateMachineResponse_httpStatus :: Lens' DeleteStateMachineResponse Int
Creating a Request
data DeleteStateMachine Source #
See: newDeleteStateMachine
smart constructor.
DeleteStateMachine' | |
|
Instances
newDeleteStateMachine Source #
Create a value of DeleteStateMachine
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:DeleteStateMachine'
, deleteStateMachine_stateMachineArn
- The Amazon Resource Name (ARN) of the state machine to delete.
Request Lenses
deleteStateMachine_stateMachineArn :: Lens' DeleteStateMachine Text Source #
The Amazon Resource Name (ARN) of the state machine to delete.
Destructuring the Response
data DeleteStateMachineResponse Source #
See: newDeleteStateMachineResponse
smart constructor.
DeleteStateMachineResponse' | |
|
Instances
newDeleteStateMachineResponse Source #
Create a value of DeleteStateMachineResponse
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:httpStatus:DeleteStateMachineResponse'
, deleteStateMachineResponse_httpStatus
- The response's http status code.
Response Lenses
deleteStateMachineResponse_httpStatus :: Lens' DeleteStateMachineResponse Int Source #
The response's http status code.