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.SSM.StopAutomationExecution
Description
Stop an Automation that is currently running.
Synopsis
- data StopAutomationExecution = StopAutomationExecution' {}
- newStopAutomationExecution :: Text -> StopAutomationExecution
- stopAutomationExecution_type :: Lens' StopAutomationExecution (Maybe StopType)
- stopAutomationExecution_automationExecutionId :: Lens' StopAutomationExecution Text
- data StopAutomationExecutionResponse = StopAutomationExecutionResponse' {
- httpStatus :: Int
- newStopAutomationExecutionResponse :: Int -> StopAutomationExecutionResponse
- stopAutomationExecutionResponse_httpStatus :: Lens' StopAutomationExecutionResponse Int
Creating a Request
data StopAutomationExecution Source #
See: newStopAutomationExecution
smart constructor.
Constructors
StopAutomationExecution' | |
Fields
|
Instances
newStopAutomationExecution Source #
Create a value of StopAutomationExecution
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:type':StopAutomationExecution'
, stopAutomationExecution_type
- The stop request type. Valid types include the following: Cancel and
Complete. The default type is Cancel.
$sel:automationExecutionId:StopAutomationExecution'
, stopAutomationExecution_automationExecutionId
- The execution ID of the Automation to stop.
Request Lenses
stopAutomationExecution_type :: Lens' StopAutomationExecution (Maybe StopType) Source #
The stop request type. Valid types include the following: Cancel and Complete. The default type is Cancel.
stopAutomationExecution_automationExecutionId :: Lens' StopAutomationExecution Text Source #
The execution ID of the Automation to stop.
Destructuring the Response
data StopAutomationExecutionResponse Source #
See: newStopAutomationExecutionResponse
smart constructor.
Constructors
StopAutomationExecutionResponse' | |
Fields
|
Instances
newStopAutomationExecutionResponse Source #
Create a value of StopAutomationExecutionResponse
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:StopAutomationExecutionResponse'
, stopAutomationExecutionResponse_httpStatus
- The response's http status code.
Response Lenses
stopAutomationExecutionResponse_httpStatus :: Lens' StopAutomationExecutionResponse Int Source #
The response's http status code.