pub struct FailWorkflowExecutionFailedEventAttributes {
pub cause: String,
pub decision_task_completed_event_id: i64,
}
Expand description
Provides the details of the FailWorkflowExecutionFailed
event.
Fields§
§cause: String
The 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: i64
The ID of the DecisionTaskCompleted
event corresponding to the decision task that resulted in the FailWorkflowExecution
decision to fail 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 FailWorkflowExecutionFailedEventAttributes
impl Clone for FailWorkflowExecutionFailedEventAttributes
Source§fn clone(&self) -> FailWorkflowExecutionFailedEventAttributes
fn clone(&self) -> FailWorkflowExecutionFailedEventAttributes
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 FailWorkflowExecutionFailedEventAttributes
impl Default for FailWorkflowExecutionFailedEventAttributes
Source§fn default() -> FailWorkflowExecutionFailedEventAttributes
fn default() -> FailWorkflowExecutionFailedEventAttributes
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for FailWorkflowExecutionFailedEventAttributes
impl<'de> Deserialize<'de> for FailWorkflowExecutionFailedEventAttributes
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 FailWorkflowExecutionFailedEventAttributes
impl PartialEq for FailWorkflowExecutionFailedEventAttributes
Source§fn eq(&self, other: &FailWorkflowExecutionFailedEventAttributes) -> bool
fn eq(&self, other: &FailWorkflowExecutionFailedEventAttributes) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for FailWorkflowExecutionFailedEventAttributes
Auto Trait Implementations§
impl Freeze for FailWorkflowExecutionFailedEventAttributes
impl RefUnwindSafe for FailWorkflowExecutionFailedEventAttributes
impl Send for FailWorkflowExecutionFailedEventAttributes
impl Sync for FailWorkflowExecutionFailedEventAttributes
impl Unpin for FailWorkflowExecutionFailedEventAttributes
impl UnwindSafe for FailWorkflowExecutionFailedEventAttributes
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