pub struct Builder { /* private fields */ }
Expand description
A builder for ScheduleLambdaFunctionFailedEventAttributes
.
Implementations
sourceimpl Builder
impl Builder
sourcepub fn id(self, input: impl Into<String>) -> Self
pub fn id(self, input: impl Into<String>) -> Self
The ID provided in the ScheduleLambdaFunction
decision that failed.
sourcepub fn set_id(self, input: Option<String>) -> Self
pub fn set_id(self, input: Option<String>) -> Self
The ID provided in the ScheduleLambdaFunction
decision that failed.
sourcepub fn cause(self, input: ScheduleLambdaFunctionFailedCause) -> Self
pub fn cause(self, input: ScheduleLambdaFunctionFailedCause) -> Self
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 OPERATION_NOT_PERMITTED
, 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.
sourcepub fn set_cause(self, input: Option<ScheduleLambdaFunctionFailedCause>) -> Self
pub fn set_cause(self, input: Option<ScheduleLambdaFunctionFailedCause>) -> Self
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 OPERATION_NOT_PERMITTED
, 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.
sourcepub fn decision_task_completed_event_id(self, input: i64) -> Self
pub fn decision_task_completed_event_id(self, input: i64) -> Self
The ID of the LambdaFunctionCompleted
event corresponding to the decision that resulted in scheduling this Lambda task. To help diagnose issues, use this information to trace back the chain of events leading up to this event.
sourcepub fn set_decision_task_completed_event_id(self, input: Option<i64>) -> Self
pub fn set_decision_task_completed_event_id(self, input: Option<i64>) -> Self
The ID of the LambdaFunctionCompleted
event corresponding to the decision that resulted in scheduling this Lambda task. To help diagnose issues, use this information to trace back the chain of events leading up to this event.
sourcepub fn build(self) -> ScheduleLambdaFunctionFailedEventAttributes
pub fn build(self) -> ScheduleLambdaFunctionFailedEventAttributes
Consumes the builder and constructs a ScheduleLambdaFunctionFailedEventAttributes
.