Struct aws_sdk_ssm::input::SendAutomationSignalInput
source · [−]#[non_exhaustive]pub struct SendAutomationSignalInput {
pub automation_execution_id: Option<String>,
pub signal_type: Option<SignalType>,
pub payload: Option<HashMap<String, Vec<String>>>,
}
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.automation_execution_id: Option<String>
The unique identifier for an existing Automation execution that you want to send the signal to.
signal_type: Option<SignalType>
The type of signal to send to an Automation execution.
payload: Option<HashMap<String, Vec<String>>>
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"
Implementations
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<SendAutomationSignal, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<SendAutomationSignal, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<SendAutomationSignal
>
Creates a new builder-style object to manufacture SendAutomationSignalInput
The unique identifier for an existing Automation execution that you want to send the signal to.
The type of signal to send to an Automation execution.
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"
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for SendAutomationSignalInput
impl Send for SendAutomationSignalInput
impl Sync for SendAutomationSignalInput
impl Unpin for SendAutomationSignalInput
impl UnwindSafe for SendAutomationSignalInput
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more