amazonka-ssm-1.6.0: Amazon Simple Systems Manager (SSM) SDK.

Copyright(c) 2013-2018 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.SSM.SendAutomationSignal

Contents

Description

Sends a signal to an Automation execution to change the current behavior or status of the execution.

Synopsis

Creating a Request

sendAutomationSignal Source #

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

Eq SendAutomationSignal Source # 
Data SendAutomationSignal Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> SendAutomationSignal -> c SendAutomationSignal #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c SendAutomationSignal #

toConstr :: SendAutomationSignal -> Constr #

dataTypeOf :: SendAutomationSignal -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c SendAutomationSignal) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c SendAutomationSignal) #

gmapT :: (forall b. Data b => b -> b) -> SendAutomationSignal -> SendAutomationSignal #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> SendAutomationSignal -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> SendAutomationSignal -> r #

gmapQ :: (forall d. Data d => d -> u) -> SendAutomationSignal -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> SendAutomationSignal -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> SendAutomationSignal -> m SendAutomationSignal #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> SendAutomationSignal -> m SendAutomationSignal #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> SendAutomationSignal -> m SendAutomationSignal #

Read SendAutomationSignal Source # 
Show SendAutomationSignal Source # 
Generic SendAutomationSignal Source # 
Hashable SendAutomationSignal Source # 
ToJSON SendAutomationSignal Source # 
NFData SendAutomationSignal Source # 

Methods

rnf :: SendAutomationSignal -> () #

AWSRequest SendAutomationSignal Source # 
ToHeaders SendAutomationSignal Source # 
ToPath SendAutomationSignal Source # 
ToQuery SendAutomationSignal Source # 
type Rep SendAutomationSignal Source # 
type Rep SendAutomationSignal = D1 * (MetaData "SendAutomationSignal" "Network.AWS.SSM.SendAutomationSignal" "amazonka-ssm-1.6.0-FkXaKF9jjpY64HF15tLQlO" False) (C1 * (MetaCons "SendAutomationSignal'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_sasPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe (Map Text [Text])))) ((:*:) * (S1 * (MetaSel (Just Symbol "_sasAutomationExecutionId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)) (S1 * (MetaSel (Just Symbol "_sasSignalType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * SignalType)))))
type Rs SendAutomationSignal Source # 

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 #

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:

data SendAutomationSignalResponse Source #

See: sendAutomationSignalResponse smart constructor.

Instances

Eq SendAutomationSignalResponse Source # 
Data SendAutomationSignalResponse Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> SendAutomationSignalResponse -> c SendAutomationSignalResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c SendAutomationSignalResponse #

toConstr :: SendAutomationSignalResponse -> Constr #

dataTypeOf :: SendAutomationSignalResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c SendAutomationSignalResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c SendAutomationSignalResponse) #

gmapT :: (forall b. Data b => b -> b) -> SendAutomationSignalResponse -> SendAutomationSignalResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> SendAutomationSignalResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> SendAutomationSignalResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> SendAutomationSignalResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> SendAutomationSignalResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> SendAutomationSignalResponse -> m SendAutomationSignalResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> SendAutomationSignalResponse -> m SendAutomationSignalResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> SendAutomationSignalResponse -> m SendAutomationSignalResponse #

Read SendAutomationSignalResponse Source # 
Show SendAutomationSignalResponse Source # 
Generic SendAutomationSignalResponse Source # 
NFData SendAutomationSignalResponse Source # 
type Rep SendAutomationSignalResponse Source # 
type Rep SendAutomationSignalResponse = D1 * (MetaData "SendAutomationSignalResponse" "Network.AWS.SSM.SendAutomationSignal" "amazonka-ssm-1.6.0-FkXaKF9jjpY64HF15tLQlO" True) (C1 * (MetaCons "SendAutomationSignalResponse'" PrefixI True) (S1 * (MetaSel (Just Symbol "_sasrsResponseStatus") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Int)))

Response Lenses