pub struct StartLambdaFunctionFailedEventAttributes {
pub cause: Option<String>,
pub message: Option<String>,
pub scheduled_event_id: Option<i64>,
}
Expand description
Provides the details of the StartLambdaFunctionFailed
event. It isn't set for other event types.
Fields§
§cause: Option<String>
The cause of the failure. To help diagnose issues, use this information to trace back the chain of events leading up to this event.
If cause
is set to OPERATIONNOTPERMITTED
, the decision failed because the IAM role attached to the execution lacked sufficient permissions. For details and example IAM policies, see Lambda Tasks in the Amazon SWF Developer Guide.
message: Option<String>
A description that can help diagnose the cause of the fault.
scheduled_event_id: Option<i64>
The ID of the ActivityTaskScheduled
event that was recorded when this activity task was scheduled. To help diagnose issues, use this information to trace back the chain of events leading up to this event.
Trait Implementations§
Source§impl Clone for StartLambdaFunctionFailedEventAttributes
impl Clone for StartLambdaFunctionFailedEventAttributes
Source§fn clone(&self) -> StartLambdaFunctionFailedEventAttributes
fn clone(&self) -> StartLambdaFunctionFailedEventAttributes
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 StartLambdaFunctionFailedEventAttributes
impl Default for StartLambdaFunctionFailedEventAttributes
Source§fn default() -> StartLambdaFunctionFailedEventAttributes
fn default() -> StartLambdaFunctionFailedEventAttributes
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for StartLambdaFunctionFailedEventAttributes
impl<'de> Deserialize<'de> for StartLambdaFunctionFailedEventAttributes
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 StartLambdaFunctionFailedEventAttributes
impl PartialEq for StartLambdaFunctionFailedEventAttributes
Source§fn eq(&self, other: &StartLambdaFunctionFailedEventAttributes) -> bool
fn eq(&self, other: &StartLambdaFunctionFailedEventAttributes) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for StartLambdaFunctionFailedEventAttributes
Auto Trait Implementations§
impl Freeze for StartLambdaFunctionFailedEventAttributes
impl RefUnwindSafe for StartLambdaFunctionFailedEventAttributes
impl Send for StartLambdaFunctionFailedEventAttributes
impl Sync for StartLambdaFunctionFailedEventAttributes
impl Unpin for StartLambdaFunctionFailedEventAttributes
impl UnwindSafe for StartLambdaFunctionFailedEventAttributes
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