| 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 |
Network.AWS.SSM.SendAutomationSignal
Description
Sends a signal to an Automation execution to change the current behavior or status of the execution.
Synopsis
- sendAutomationSignal :: Text -> SignalType -> SendAutomationSignal
- data SendAutomationSignal
- sasPayload :: Lens' SendAutomationSignal (HashMap Text [Text])
- sasAutomationExecutionId :: Lens' SendAutomationSignal Text
- sasSignalType :: Lens' SendAutomationSignal SignalType
- sendAutomationSignalResponse :: Int -> SendAutomationSignalResponse
- data SendAutomationSignalResponse
- sasrsResponseStatus :: Lens' SendAutomationSignalResponse Int
Creating a Request
Arguments
| :: Text | |
| -> SignalType | |
| -> SendAutomationSignal |
Creates a value of SendAutomationSignal with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
sasPayload- The data sent with the signal. The data schema depends on the type of signal used in the request.sasAutomationExecutionId- The unique identifier for an existing Automation execution that you want to send the signal to.sasSignalType- The type of signal. Valid signal types include the following: Approve and Reject
data SendAutomationSignal Source #
See: sendAutomationSignal smart constructor.
Instances
Request Lenses
sasPayload :: Lens' SendAutomationSignal (HashMap Text [Text]) Source #
The data sent with the signal. The data schema depends on the type of signal used in the request.
sasAutomationExecutionId :: Lens' SendAutomationSignal Text Source #
The unique identifier for an existing Automation execution that you want to send the signal to.
sasSignalType :: Lens' SendAutomationSignal SignalType Source #
The type of signal. Valid signal types include the following: Approve and Reject
Destructuring the Response
sendAutomationSignalResponse Source #
Arguments
| :: Int | |
| -> SendAutomationSignalResponse |
Creates a value of SendAutomationSignalResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
sasrsResponseStatus- -- | The response status code.
data SendAutomationSignalResponse Source #
See: sendAutomationSignalResponse smart constructor.
Instances
Response Lenses
sasrsResponseStatus :: Lens' SendAutomationSignalResponse Int Source #
- - | The response status code.