pub struct CompleteWorkflowExecutionFailedEventAttributes {
pub cause: String,
pub decision_task_completed_event_id: i64,
}Expand description
Provides the details of the CompleteWorkflowExecutionFailed event.
Fields§
§cause: StringThe cause of the failure. This information is generated by the system and can be useful for diagnostic purposes.
If cause is set to OPERATIONNOTPERMITTED, 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.
decision_task_completed_event_id: i64The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the CompleteWorkflowExecution decision to complete this execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.
Trait Implementations§
Source§impl Clone for CompleteWorkflowExecutionFailedEventAttributes
impl Clone for CompleteWorkflowExecutionFailedEventAttributes
Source§fn clone(&self) -> CompleteWorkflowExecutionFailedEventAttributes
fn clone(&self) -> CompleteWorkflowExecutionFailedEventAttributes
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for CompleteWorkflowExecutionFailedEventAttributes
impl Default for CompleteWorkflowExecutionFailedEventAttributes
Source§fn default() -> CompleteWorkflowExecutionFailedEventAttributes
fn default() -> CompleteWorkflowExecutionFailedEventAttributes
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CompleteWorkflowExecutionFailedEventAttributes
impl<'de> Deserialize<'de> for CompleteWorkflowExecutionFailedEventAttributes
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>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for CompleteWorkflowExecutionFailedEventAttributes
impl PartialEq for CompleteWorkflowExecutionFailedEventAttributes
Source§fn eq(&self, other: &CompleteWorkflowExecutionFailedEventAttributes) -> bool
fn eq(&self, other: &CompleteWorkflowExecutionFailedEventAttributes) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CompleteWorkflowExecutionFailedEventAttributes
Auto Trait Implementations§
impl Freeze for CompleteWorkflowExecutionFailedEventAttributes
impl RefUnwindSafe for CompleteWorkflowExecutionFailedEventAttributes
impl Send for CompleteWorkflowExecutionFailedEventAttributes
impl Sync for CompleteWorkflowExecutionFailedEventAttributes
impl Unpin for CompleteWorkflowExecutionFailedEventAttributes
impl UnwindSafe for CompleteWorkflowExecutionFailedEventAttributes
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
Mutably borrows from an owned value. Read more