amazonka-ssm-1.6.1: 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 # 
Instance details

Defined in Network.AWS.SSM.SendAutomationSignal

Data SendAutomationSignal Source # 
Instance details

Defined in Network.AWS.SSM.SendAutomationSignal

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 # 
Instance details

Defined in Network.AWS.SSM.SendAutomationSignal

Show SendAutomationSignal Source # 
Instance details

Defined in Network.AWS.SSM.SendAutomationSignal

Generic SendAutomationSignal Source # 
Instance details

Defined in Network.AWS.SSM.SendAutomationSignal

Associated Types

type Rep SendAutomationSignal :: Type -> Type #

Hashable SendAutomationSignal Source # 
Instance details

Defined in Network.AWS.SSM.SendAutomationSignal

ToJSON SendAutomationSignal Source # 
Instance details

Defined in Network.AWS.SSM.SendAutomationSignal

AWSRequest SendAutomationSignal Source # 
Instance details

Defined in Network.AWS.SSM.SendAutomationSignal

Associated Types

type Rs SendAutomationSignal :: Type #

ToHeaders SendAutomationSignal Source # 
Instance details

Defined in Network.AWS.SSM.SendAutomationSignal

ToPath SendAutomationSignal Source # 
Instance details

Defined in Network.AWS.SSM.SendAutomationSignal

ToQuery SendAutomationSignal Source # 
Instance details

Defined in Network.AWS.SSM.SendAutomationSignal

NFData SendAutomationSignal Source # 
Instance details

Defined in Network.AWS.SSM.SendAutomationSignal

Methods

rnf :: SendAutomationSignal -> () #

type Rep SendAutomationSignal Source # 
Instance details

Defined in Network.AWS.SSM.SendAutomationSignal

type Rep SendAutomationSignal = D1 (MetaData "SendAutomationSignal" "Network.AWS.SSM.SendAutomationSignal" "amazonka-ssm-1.6.1-7PbnocxNW5qAr7pEvzAy6Q" False) (C1 (MetaCons "SendAutomationSignal'" PrefixI True) (S1 (MetaSel (Just "_sasPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Map Text [Text]))) :*: (S1 (MetaSel (Just "_sasAutomationExecutionId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_sasSignalType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 SignalType))))
type Rs SendAutomationSignal Source # 
Instance details

Defined in Network.AWS.SSM.SendAutomationSignal

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 # 
Instance details

Defined in Network.AWS.SSM.SendAutomationSignal

Data SendAutomationSignalResponse Source # 
Instance details

Defined in Network.AWS.SSM.SendAutomationSignal

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 # 
Instance details

Defined in Network.AWS.SSM.SendAutomationSignal

Show SendAutomationSignalResponse Source # 
Instance details

Defined in Network.AWS.SSM.SendAutomationSignal

Generic SendAutomationSignalResponse Source # 
Instance details

Defined in Network.AWS.SSM.SendAutomationSignal

Associated Types

type Rep SendAutomationSignalResponse :: Type -> Type #

NFData SendAutomationSignalResponse Source # 
Instance details

Defined in Network.AWS.SSM.SendAutomationSignal

type Rep SendAutomationSignalResponse Source # 
Instance details

Defined in Network.AWS.SSM.SendAutomationSignal

type Rep SendAutomationSignalResponse = D1 (MetaData "SendAutomationSignalResponse" "Network.AWS.SSM.SendAutomationSignal" "amazonka-ssm-1.6.1-7PbnocxNW5qAr7pEvzAy6Q" True) (C1 (MetaCons "SendAutomationSignalResponse'" PrefixI True) (S1 (MetaSel (Just "_sasrsResponseStatus") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int)))

Response Lenses