#[non_exhaustive]pub struct SignalExternalWorkflowExecutionFailedEventAttributes {
pub workflow_id: String,
pub run_id: Option<String>,
pub cause: SignalExternalWorkflowExecutionFailedCause,
pub initiated_event_id: i64,
pub decision_task_completed_event_id: i64,
pub control: Option<String>,
}
Expand description
Provides the details of the SignalExternalWorkflowExecutionFailed
event.
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.workflow_id: String
The workflowId
of the external workflow execution that the signal was being delivered to.
run_id: Option<String>
The runId
of the external workflow execution that the signal was being delivered to.
cause: SignalExternalWorkflowExecutionFailedCause
The cause of the failure. This information is generated by the system and can be useful for diagnostic purposes.
If cause
is set to OPERATION_NOT_PERMITTED
, the decision failed because it lacked sufficient permissions. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows in the Amazon SWF Developer Guide.
initiated_event_id: i64
The ID of the SignalExternalWorkflowExecutionInitiated
event corresponding to the SignalExternalWorkflowExecution
decision to request this signal. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.
decision_task_completed_event_id: i64
The ID of the DecisionTaskCompleted
event corresponding to the decision task that resulted in the SignalExternalWorkflowExecution
decision for this signal. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.
control: Option<String>
The data attached to the event that the decider can use in subsequent workflow tasks. This data isn't sent to the workflow execution.
Implementations§
source§impl SignalExternalWorkflowExecutionFailedEventAttributes
impl SignalExternalWorkflowExecutionFailedEventAttributes
sourcepub fn workflow_id(&self) -> &str
pub fn workflow_id(&self) -> &str
The workflowId
of the external workflow execution that the signal was being delivered to.
sourcepub fn run_id(&self) -> Option<&str>
pub fn run_id(&self) -> Option<&str>
The runId
of the external workflow execution that the signal was being delivered to.
sourcepub fn cause(&self) -> &SignalExternalWorkflowExecutionFailedCause
pub fn cause(&self) -> &SignalExternalWorkflowExecutionFailedCause
The cause of the failure. This information is generated by the system and can be useful for diagnostic purposes.
If cause
is set to OPERATION_NOT_PERMITTED
, the decision failed because it lacked sufficient permissions. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows in the Amazon SWF Developer Guide.
sourcepub fn initiated_event_id(&self) -> i64
pub fn initiated_event_id(&self) -> i64
The ID of the SignalExternalWorkflowExecutionInitiated
event corresponding to the SignalExternalWorkflowExecution
decision to request this signal. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.
sourcepub fn decision_task_completed_event_id(&self) -> i64
pub fn decision_task_completed_event_id(&self) -> i64
The ID of the DecisionTaskCompleted
event corresponding to the decision task that resulted in the SignalExternalWorkflowExecution
decision for this signal. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.
source§impl SignalExternalWorkflowExecutionFailedEventAttributes
impl SignalExternalWorkflowExecutionFailedEventAttributes
sourcepub fn builder() -> SignalExternalWorkflowExecutionFailedEventAttributesBuilder
pub fn builder() -> SignalExternalWorkflowExecutionFailedEventAttributesBuilder
Creates a new builder-style object to manufacture SignalExternalWorkflowExecutionFailedEventAttributes
.
Trait Implementations§
source§impl Clone for SignalExternalWorkflowExecutionFailedEventAttributes
impl Clone for SignalExternalWorkflowExecutionFailedEventAttributes
source§fn clone(&self) -> SignalExternalWorkflowExecutionFailedEventAttributes
fn clone(&self) -> SignalExternalWorkflowExecutionFailedEventAttributes
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for SignalExternalWorkflowExecutionFailedEventAttributes
impl PartialEq for SignalExternalWorkflowExecutionFailedEventAttributes
source§fn eq(
&self,
other: &SignalExternalWorkflowExecutionFailedEventAttributes
) -> bool
fn eq( &self, other: &SignalExternalWorkflowExecutionFailedEventAttributes ) -> bool
self
and other
values to be equal, and is used
by ==
.