pub struct CancelWorkflowExecutionFailedEventAttributes {
pub cause: String,
pub decision_task_completed_event_id: i64,
}Expand description
Provides the details of the CancelWorkflowExecutionFailed 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 CancelWorkflowExecution decision for this cancellation request. 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 CancelWorkflowExecutionFailedEventAttributes
impl Clone for CancelWorkflowExecutionFailedEventAttributes
Source§fn clone(&self) -> CancelWorkflowExecutionFailedEventAttributes
fn clone(&self) -> CancelWorkflowExecutionFailedEventAttributes
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 CancelWorkflowExecutionFailedEventAttributes
impl Default for CancelWorkflowExecutionFailedEventAttributes
Source§fn default() -> CancelWorkflowExecutionFailedEventAttributes
fn default() -> CancelWorkflowExecutionFailedEventAttributes
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CancelWorkflowExecutionFailedEventAttributes
impl<'de> Deserialize<'de> for CancelWorkflowExecutionFailedEventAttributes
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 CancelWorkflowExecutionFailedEventAttributes
impl PartialEq for CancelWorkflowExecutionFailedEventAttributes
Source§fn eq(&self, other: &CancelWorkflowExecutionFailedEventAttributes) -> bool
fn eq(&self, other: &CancelWorkflowExecutionFailedEventAttributes) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CancelWorkflowExecutionFailedEventAttributes
Auto Trait Implementations§
impl Freeze for CancelWorkflowExecutionFailedEventAttributes
impl RefUnwindSafe for CancelWorkflowExecutionFailedEventAttributes
impl Send for CancelWorkflowExecutionFailedEventAttributes
impl Sync for CancelWorkflowExecutionFailedEventAttributes
impl Unpin for CancelWorkflowExecutionFailedEventAttributes
impl UnwindSafe for CancelWorkflowExecutionFailedEventAttributes
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