pub struct StartChildWorkflowExecutionFailedEventAttributes {
pub cause: String,
pub control: Option<String>,
pub decision_task_completed_event_id: i64,
pub initiated_event_id: i64,
pub workflow_id: String,
pub workflow_type: WorkflowType,
}
Expand description
Provides the details of the StartChildWorkflowExecutionFailed
event.
Fields§
§cause: String
The cause of the failure. This information is generated by the system and can be useful for diagnostic purposes.
When cause
is set to OPERATIONNOTPERMITTED
, 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.
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 child workflow execution.
decision_task_completed_event_id: 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.
initiated_event_id: 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.
workflow_id: String
The workflowId
of the child workflow execution.
workflow_type: WorkflowType
The workflow type provided in the StartChildWorkflowExecution
Decision that failed.
Trait Implementations§
Source§impl Clone for StartChildWorkflowExecutionFailedEventAttributes
impl Clone for StartChildWorkflowExecutionFailedEventAttributes
Source§fn clone(&self) -> StartChildWorkflowExecutionFailedEventAttributes
fn clone(&self) -> StartChildWorkflowExecutionFailedEventAttributes
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Default for StartChildWorkflowExecutionFailedEventAttributes
impl Default for StartChildWorkflowExecutionFailedEventAttributes
Source§fn default() -> StartChildWorkflowExecutionFailedEventAttributes
fn default() -> StartChildWorkflowExecutionFailedEventAttributes
Source§impl<'de> Deserialize<'de> for StartChildWorkflowExecutionFailedEventAttributes
impl<'de> Deserialize<'de> for StartChildWorkflowExecutionFailedEventAttributes
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl PartialEq for StartChildWorkflowExecutionFailedEventAttributes
impl PartialEq for StartChildWorkflowExecutionFailedEventAttributes
Source§fn eq(&self, other: &StartChildWorkflowExecutionFailedEventAttributes) -> bool
fn eq(&self, other: &StartChildWorkflowExecutionFailedEventAttributes) -> bool
self
and other
values to be equal, and is used by ==
.