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 |
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
startAutomationExecution Source #
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 Source #
See: startAutomationExecution
smart constructor.
Request Lenses
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 #
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.
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.