Copyright | (c) 2013-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@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
- 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
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:
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 #
See: startAutomationExecution
smart constructor.
Instances
Request Lenses
saeParameters :: Lens' StartAutomationExecution (HashMap Text [Text]) #
A key-value map of execution parameters, which match the declared parameters in the Automation document.
saeDocumentVersion :: Lens' StartAutomationExecution (Maybe Text) #
The version of the Automation document to use for this execution.
saeDocumentName :: Lens' StartAutomationExecution Text #
The name of the Automation document to use for this execution.
Destructuring the Response
startAutomationExecutionResponse #
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 #
See: startAutomationExecutionResponse
smart constructor.
Response Lenses
srsAutomationExecutionId :: Lens' StartAutomationExecutionResponse (Maybe Text) #
The unique ID of a newly scheduled automation execution.
srsResponseStatus :: Lens' StartAutomationExecutionResponse Int #
- - | The response status code.