| Copyright | (c) 2013-2017 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.SSM.StartAutomationExecution
Description
Initiates execution of an Automation document.
- startAutomationExecution :: Text -> StartAutomationExecution
- data StartAutomationExecution
- saeClientToken :: Lens' StartAutomationExecution (Maybe Text)
- saeParameters :: Lens' StartAutomationExecution (HashMap Text [Text])
- saeDocumentVersion :: Lens' StartAutomationExecution (Maybe Text)
- saeDocumentName :: Lens' StartAutomationExecution Text
- startAutomationExecutionResponse :: Int -> StartAutomationExecutionResponse
- data StartAutomationExecutionResponse
- srsAutomationExecutionId :: Lens' StartAutomationExecutionResponse (Maybe Text)
- srsResponseStatus :: Lens' StartAutomationExecutionResponse Int
Creating a Request
startAutomationExecution Source #
Arguments
| :: Text | |
| -> StartAutomationExecution |
Creates a value of StartAutomationExecution with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
saeClientToken- User-provided idempotency token. The token must be unique, is case insensitive, enforces the UUID format, and can't be reused.saeParameters- A key-value map of execution parameters, which match the declared parameters in the Automation document.saeDocumentVersion- The version of the Automation document to use for this execution.saeDocumentName- The name of the Automation document to use for this execution.
data StartAutomationExecution Source #
See: startAutomationExecution smart constructor.
Instances
Request Lenses
saeClientToken :: Lens' StartAutomationExecution (Maybe Text) Source #
User-provided idempotency token. The token must be unique, is case insensitive, enforces the UUID format, and can't be reused.
saeParameters :: Lens' StartAutomationExecution (HashMap Text [Text]) Source #
A key-value map of execution parameters, which match the declared parameters in the Automation document.
saeDocumentVersion :: Lens' StartAutomationExecution (Maybe Text) Source #
The version of the Automation document to use for this execution.
saeDocumentName :: Lens' StartAutomationExecution Text Source #
The name of the Automation document to use for this execution.
Destructuring the Response
startAutomationExecutionResponse Source #
Arguments
| :: Int | |
| -> StartAutomationExecutionResponse |
Creates a value of StartAutomationExecutionResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
srsAutomationExecutionId- The unique ID of a newly scheduled automation execution.srsResponseStatus- -- | The response status code.
data StartAutomationExecutionResponse Source #
See: startAutomationExecutionResponse smart constructor.
Instances
Response Lenses
srsAutomationExecutionId :: Lens' StartAutomationExecutionResponse (Maybe Text) Source #
The unique ID of a newly scheduled automation execution.
srsResponseStatus :: Lens' StartAutomationExecutionResponse Int Source #
- - | The response status code.