pub struct RequestCancelExternalWorkflowExecutionFailedEventAttributes {
pub cause: String,
pub control: Option<String>,
pub decision_task_completed_event_id: i64,
pub initiated_event_id: i64,
pub run_id: Option<String>,
pub workflow_id: String,
}
Expand description
Provides the details of the RequestCancelExternalWorkflowExecutionFailed
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.
control: Option<String>
The data attached to the event that the decider can use in subsequent workflow tasks. This data isn't sent to the workflow execution.
decision_task_completed_event_id: i64
The ID of the DecisionTaskCompleted
event corresponding to the decision task that resulted in the RequestCancelExternalWorkflowExecution
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.
initiated_event_id: i64
The ID of the RequestCancelExternalWorkflowExecutionInitiated
event corresponding to the RequestCancelExternalWorkflowExecution
decision to cancel this external workflow execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.
run_id: Option<String>
The runId
of the external workflow execution.
workflow_id: String
The workflowId
of the external workflow to which the cancel request was to be delivered.
Trait Implementations§
Source§impl Clone for RequestCancelExternalWorkflowExecutionFailedEventAttributes
impl Clone for RequestCancelExternalWorkflowExecutionFailedEventAttributes
Source§fn clone(&self) -> RequestCancelExternalWorkflowExecutionFailedEventAttributes
fn clone(&self) -> RequestCancelExternalWorkflowExecutionFailedEventAttributes
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Default for RequestCancelExternalWorkflowExecutionFailedEventAttributes
impl Default for RequestCancelExternalWorkflowExecutionFailedEventAttributes
Source§fn default() -> RequestCancelExternalWorkflowExecutionFailedEventAttributes
fn default() -> RequestCancelExternalWorkflowExecutionFailedEventAttributes
Source§impl<'de> Deserialize<'de> for RequestCancelExternalWorkflowExecutionFailedEventAttributes
impl<'de> Deserialize<'de> for RequestCancelExternalWorkflowExecutionFailedEventAttributes
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 RequestCancelExternalWorkflowExecutionFailedEventAttributes
impl PartialEq for RequestCancelExternalWorkflowExecutionFailedEventAttributes
Source§fn eq(
&self,
other: &RequestCancelExternalWorkflowExecutionFailedEventAttributes,
) -> bool
fn eq( &self, other: &RequestCancelExternalWorkflowExecutionFailedEventAttributes, ) -> bool
self
and other
values to be equal, and is used by ==
.