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 |
Stop an Automation that is currently executing.
Synopsis
- stopAutomationExecution :: Text -> StopAutomationExecution
- data StopAutomationExecution
- saeType :: Lens' StopAutomationExecution (Maybe StopType)
- saeAutomationExecutionId :: Lens' StopAutomationExecution Text
- stopAutomationExecutionResponse :: Int -> StopAutomationExecutionResponse
- data StopAutomationExecutionResponse
- saersResponseStatus :: Lens' StopAutomationExecutionResponse Int
Creating a Request
stopAutomationExecution Source #
Creates a value of StopAutomationExecution
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
saeType
- The stop request type. Valid types include the following: Cancel and Complete. The default type is Cancel.saeAutomationExecutionId
- The execution ID of the Automation to stop.
data StopAutomationExecution Source #
See: stopAutomationExecution
smart constructor.
Instances
Request Lenses
saeType :: Lens' StopAutomationExecution (Maybe StopType) Source #
The stop request type. Valid types include the following: Cancel and Complete. The default type is Cancel.
saeAutomationExecutionId :: Lens' StopAutomationExecution Text Source #
The execution ID of the Automation to stop.
Destructuring the Response
stopAutomationExecutionResponse Source #
Creates a value of StopAutomationExecutionResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
saersResponseStatus
- -- | The response status code.
data StopAutomationExecutionResponse Source #
See: stopAutomationExecutionResponse
smart constructor.
Instances
Response Lenses
saersResponseStatus :: Lens' StopAutomationExecutionResponse Int Source #
- - | The response status code.