[][src]Struct rusoto_swf::StartChildWorkflowExecutionFailedEventAttributes

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,
}

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

impl Clone for StartChildWorkflowExecutionFailedEventAttributes[src]

impl Debug for StartChildWorkflowExecutionFailedEventAttributes[src]

impl Default for StartChildWorkflowExecutionFailedEventAttributes[src]

impl<'de> Deserialize<'de> for StartChildWorkflowExecutionFailedEventAttributes[src]

impl PartialEq<StartChildWorkflowExecutionFailedEventAttributes> for StartChildWorkflowExecutionFailedEventAttributes[src]

impl StructuralPartialEq for StartChildWorkflowExecutionFailedEventAttributes[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.