pub struct RequestCancelActivityTaskFailedEventAttributes {
pub activity_id: String,
pub cause: String,
pub decision_task_completed_event_id: i64,
}
Expand description
Provides the details of the RequestCancelActivityTaskFailed
event.
Fields§
§activity_id: String
The activityId provided in the RequestCancelActivityTask
decision that failed.
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 RequestCancelActivityTask
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 RequestCancelActivityTaskFailedEventAttributes
impl Clone for RequestCancelActivityTaskFailedEventAttributes
Source§fn clone(&self) -> RequestCancelActivityTaskFailedEventAttributes
fn clone(&self) -> RequestCancelActivityTaskFailedEventAttributes
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Default for RequestCancelActivityTaskFailedEventAttributes
impl Default for RequestCancelActivityTaskFailedEventAttributes
Source§fn default() -> RequestCancelActivityTaskFailedEventAttributes
fn default() -> RequestCancelActivityTaskFailedEventAttributes
Source§impl<'de> Deserialize<'de> for RequestCancelActivityTaskFailedEventAttributes
impl<'de> Deserialize<'de> for RequestCancelActivityTaskFailedEventAttributes
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>,
Source§impl PartialEq for RequestCancelActivityTaskFailedEventAttributes
impl PartialEq for RequestCancelActivityTaskFailedEventAttributes
Source§fn eq(&self, other: &RequestCancelActivityTaskFailedEventAttributes) -> bool
fn eq(&self, other: &RequestCancelActivityTaskFailedEventAttributes) -> bool
self
and other
values to be equal, and is used by ==
.