public static interface StartLambdaFunctionFailedEventAttributes.Builder extends SdkPojo, CopyableBuilder<StartLambdaFunctionFailedEventAttributes.Builder,StartLambdaFunctionFailedEventAttributes>
Modifier and Type | Method and Description |
---|---|
StartLambdaFunctionFailedEventAttributes.Builder |
cause(StartLambdaFunctionFailedCause cause)
The cause of the failure.
|
StartLambdaFunctionFailedEventAttributes.Builder |
cause(String cause)
The cause of the failure.
|
StartLambdaFunctionFailedEventAttributes.Builder |
message(String message)
A description that can help diagnose the cause of the fault.
|
StartLambdaFunctionFailedEventAttributes.Builder |
scheduledEventId(Long scheduledEventId)
The ID of the
ActivityTaskScheduled event that was recorded when this activity task was
scheduled. |
copy
applyMutation, build
StartLambdaFunctionFailedEventAttributes.Builder scheduledEventId(Long scheduledEventId)
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.
scheduledEventId
- 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.StartLambdaFunctionFailedEventAttributes.Builder cause(String cause)
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 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.
cause
- 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 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.
StartLambdaFunctionFailedCause
,
StartLambdaFunctionFailedCause
StartLambdaFunctionFailedEventAttributes.Builder cause(StartLambdaFunctionFailedCause cause)
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 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.
cause
- 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 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.
StartLambdaFunctionFailedCause
,
StartLambdaFunctionFailedCause
StartLambdaFunctionFailedEventAttributes.Builder message(String message)
A description that can help diagnose the cause of the fault.
message
- A description that can help diagnose the cause of the fault.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.