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