#[non_exhaustive]pub struct StartChildWorkflowExecutionFailedEventAttributes { /* private fields */ }
Expand description
Provides the details of the StartChildWorkflowExecutionFailed
event.
Implementations
sourceimpl StartChildWorkflowExecutionFailedEventAttributes
impl StartChildWorkflowExecutionFailedEventAttributes
sourcepub fn workflow_type(&self) -> Option<&WorkflowType>
pub fn workflow_type(&self) -> Option<&WorkflowType>
The workflow type provided in the StartChildWorkflowExecution
Decision
that failed.
sourcepub fn cause(&self) -> Option<&StartChildWorkflowExecutionFailedCause>
pub fn cause(&self) -> Option<&StartChildWorkflowExecutionFailedCause>
The cause of the failure. This information is generated by the system and can be useful for diagnostic purposes.
When cause
is set to OPERATION_NOT_PERMITTED
, the decision fails because it lacks 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 workflow_id(&self) -> Option<&str>
pub fn workflow_id(&self) -> Option<&str>
The workflowId
of the child workflow execution.
sourcepub fn initiated_event_id(&self) -> i64
pub fn initiated_event_id(&self) -> i64
When the cause
is WORKFLOW_ALREADY_RUNNING
, initiatedEventId
is the ID of the StartChildWorkflowExecutionInitiated
event that corresponds to the StartChildWorkflowExecution
Decision
to start the workflow execution. You can use this information to diagnose problems by tracing back the chain of events leading up to this event.
When the cause
isn't WORKFLOW_ALREADY_RUNNING
, initiatedEventId
is set to 0
because the StartChildWorkflowExecutionInitiated
event doesn't exist.
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 StartChildWorkflowExecution
Decision
to request this child workflow execution. This information can be useful for diagnosing problems by tracing back the chain of events.
sourceimpl StartChildWorkflowExecutionFailedEventAttributes
impl StartChildWorkflowExecutionFailedEventAttributes
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture StartChildWorkflowExecutionFailedEventAttributes
.
Trait Implementations
sourceimpl Clone for StartChildWorkflowExecutionFailedEventAttributes
impl Clone for StartChildWorkflowExecutionFailedEventAttributes
sourcefn clone(&self) -> StartChildWorkflowExecutionFailedEventAttributes
fn clone(&self) -> StartChildWorkflowExecutionFailedEventAttributes
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more