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