#[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§
source§impl SendAutomationSignalInput
impl SendAutomationSignalInput
sourcepub fn automation_execution_id(&self) -> Option<&str>
pub fn automation_execution_id(&self) -> Option<&str>
The unique identifier for an existing Automation execution that you want to send the signal to.
sourcepub fn signal_type(&self) -> Option<&SignalType>
pub fn signal_type(&self) -> Option<&SignalType>
The type of signal to send to an Automation execution.
sourcepub fn payload(&self) -> Option<&HashMap<String, Vec<String>>>
pub fn payload(&self) -> 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"
source§impl SendAutomationSignalInput
impl SendAutomationSignalInput
sourcepub fn builder() -> SendAutomationSignalInputBuilder
pub fn builder() -> SendAutomationSignalInputBuilder
Creates a new builder-style object to manufacture SendAutomationSignalInput
.
Trait Implementations§
source§impl Clone for SendAutomationSignalInput
impl Clone for SendAutomationSignalInput
source§fn clone(&self) -> SendAutomationSignalInput
fn clone(&self) -> SendAutomationSignalInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for SendAutomationSignalInput
impl Debug for SendAutomationSignalInput
source§impl PartialEq for SendAutomationSignalInput
impl PartialEq for SendAutomationSignalInput
source§fn eq(&self, other: &SendAutomationSignalInput) -> bool
fn eq(&self, other: &SendAutomationSignalInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SendAutomationSignalInput
Auto Trait Implementations§
impl Freeze for SendAutomationSignalInput
impl RefUnwindSafe for SendAutomationSignalInput
impl Send for SendAutomationSignalInput
impl Sync for SendAutomationSignalInput
impl Unpin for SendAutomationSignalInput
impl UnwindSafe for SendAutomationSignalInput
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more