ssm_send_automation_signal: Sends a signal to an Automation execution to change the...

Description Usage Arguments Value Request syntax

View source: R/ssm_operations.R

Description

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

Usage

1
ssm_send_automation_signal(AutomationExecutionId, SignalType, Payload)

Arguments

AutomationExecutionId

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

SignalType

[required] The type of signal to send to an Automation execution.

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"

Value

An empty list.

Request syntax

1
2
3
4
5
6
7
8
9
svc$send_automation_signal(
  AutomationExecutionId = "string",
  SignalType = "Approve"|"Reject"|"StartStep"|"StopStep"|"Resume",
  Payload = list(
    list(
      "string"
    )
  )
)

paws.management documentation built on Aug. 23, 2021, 9:11 a.m.