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

Amazonka.SSM.SendAutomationSignal

Description

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

Synopsis

Creating a Request

data SendAutomationSignal Source #

See: newSendAutomationSignal smart constructor.

Constructors

SendAutomationSignal' 

Fields

  • payload :: Maybe (HashMap Text [Text])

    The data sent with the signal. The data schema depends on the type of signal used in the request.

    For Approve and Reject signal types, the payload is an optional comment that you can send with the signal type. For example:

    Comment="Looks good"

    For StartStep and Resume signal types, you must send the name of the Automation step to start or resume as the payload. For example:

    StepName="step1"

    For the StopStep signal type, you must send the step execution ID as the payload. For example:

    StepExecutionId="97fff367-fc5a-4299-aed8-0123456789ab"
  • automationExecutionId :: Text

    The unique identifier for an existing Automation execution that you want to send the signal to.

  • signalType :: SignalType

    The type of signal to send to an Automation execution.

Instances

Instances details
Eq SendAutomationSignal Source # 
Instance details

Defined in Amazonka.SSM.SendAutomationSignal

Read SendAutomationSignal Source # 
Instance details

Defined in Amazonka.SSM.SendAutomationSignal

Show SendAutomationSignal Source # 
Instance details

Defined in Amazonka.SSM.SendAutomationSignal

Generic SendAutomationSignal Source # 
Instance details

Defined in Amazonka.SSM.SendAutomationSignal

Associated Types

type Rep SendAutomationSignal :: Type -> Type #

NFData SendAutomationSignal Source # 
Instance details

Defined in Amazonka.SSM.SendAutomationSignal

Methods

rnf :: SendAutomationSignal -> () #

Hashable SendAutomationSignal Source # 
Instance details

Defined in Amazonka.SSM.SendAutomationSignal

ToJSON SendAutomationSignal Source # 
Instance details

Defined in Amazonka.SSM.SendAutomationSignal

AWSRequest SendAutomationSignal Source # 
Instance details

Defined in Amazonka.SSM.SendAutomationSignal

Associated Types

type AWSResponse SendAutomationSignal #

ToHeaders SendAutomationSignal Source # 
Instance details

Defined in Amazonka.SSM.SendAutomationSignal

ToPath SendAutomationSignal Source # 
Instance details

Defined in Amazonka.SSM.SendAutomationSignal

ToQuery SendAutomationSignal Source # 
Instance details

Defined in Amazonka.SSM.SendAutomationSignal

type Rep SendAutomationSignal Source # 
Instance details

Defined in Amazonka.SSM.SendAutomationSignal

type Rep SendAutomationSignal = D1 ('MetaData "SendAutomationSignal" "Amazonka.SSM.SendAutomationSignal" "libZSservicesZSamazonka-ssmZSamazonka-ssm" 'False) (C1 ('MetaCons "SendAutomationSignal'" 'PrefixI 'True) (S1 ('MetaSel ('Just "payload") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text [Text]))) :*: (S1 ('MetaSel ('Just "automationExecutionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "signalType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 SignalType))))
type AWSResponse SendAutomationSignal Source # 
Instance details

Defined in Amazonka.SSM.SendAutomationSignal

newSendAutomationSignal Source #

Create a value of SendAutomationSignal with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:payload:SendAutomationSignal', sendAutomationSignal_payload - The data sent with the signal. The data schema depends on the type of signal used in the request.

For Approve and Reject signal types, the payload is an optional comment that you can send with the signal type. For example:

Comment="Looks good"

For StartStep and Resume signal types, you must send the name of the Automation step to start or resume as the payload. For example:

StepName="step1"

For the StopStep signal type, you must send the step execution ID as the payload. For example:

StepExecutionId="97fff367-fc5a-4299-aed8-0123456789ab"

$sel:automationExecutionId:SendAutomationSignal', sendAutomationSignal_automationExecutionId - The unique identifier for an existing Automation execution that you want to send the signal to.

$sel:signalType:SendAutomationSignal', sendAutomationSignal_signalType - The type of signal to send to an Automation execution.

Request Lenses

sendAutomationSignal_payload :: Lens' SendAutomationSignal (Maybe (HashMap Text [Text])) Source #

The data sent with the signal. The data schema depends on the type of signal used in the request.

For Approve and Reject signal types, the payload is an optional comment that you can send with the signal type. For example:

Comment="Looks good"

For StartStep and Resume signal types, you must send the name of the Automation step to start or resume as the payload. For example:

StepName="step1"

For the StopStep signal type, you must send the step execution ID as the payload. For example:

StepExecutionId="97fff367-fc5a-4299-aed8-0123456789ab"

sendAutomationSignal_automationExecutionId :: Lens' SendAutomationSignal Text Source #

The unique identifier for an existing Automation execution that you want to send the signal to.

sendAutomationSignal_signalType :: Lens' SendAutomationSignal SignalType Source #

The type of signal to send to an Automation execution.

Destructuring the Response

data SendAutomationSignalResponse Source #

See: newSendAutomationSignalResponse smart constructor.

Constructors

SendAutomationSignalResponse' 

Fields

Instances

Instances details
Eq SendAutomationSignalResponse Source # 
Instance details

Defined in Amazonka.SSM.SendAutomationSignal

Read SendAutomationSignalResponse Source # 
Instance details

Defined in Amazonka.SSM.SendAutomationSignal

Show SendAutomationSignalResponse Source # 
Instance details

Defined in Amazonka.SSM.SendAutomationSignal

Generic SendAutomationSignalResponse Source # 
Instance details

Defined in Amazonka.SSM.SendAutomationSignal

Associated Types

type Rep SendAutomationSignalResponse :: Type -> Type #

NFData SendAutomationSignalResponse Source # 
Instance details

Defined in Amazonka.SSM.SendAutomationSignal

type Rep SendAutomationSignalResponse Source # 
Instance details

Defined in Amazonka.SSM.SendAutomationSignal

type Rep SendAutomationSignalResponse = D1 ('MetaData "SendAutomationSignalResponse" "Amazonka.SSM.SendAutomationSignal" "libZSservicesZSamazonka-ssmZSamazonka-ssm" 'False) (C1 ('MetaCons "SendAutomationSignalResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newSendAutomationSignalResponse Source #

Create a value of SendAutomationSignalResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:httpStatus:SendAutomationSignalResponse', sendAutomationSignalResponse_httpStatus - The response's http status code.

Response Lenses