Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data StartLambdaFunctionFailedEventAttributes = StartLambdaFunctionFailedEventAttributes' {}
- newStartLambdaFunctionFailedEventAttributes :: StartLambdaFunctionFailedEventAttributes
- startLambdaFunctionFailedEventAttributes_scheduledEventId :: Lens' StartLambdaFunctionFailedEventAttributes (Maybe Integer)
- startLambdaFunctionFailedEventAttributes_cause :: Lens' StartLambdaFunctionFailedEventAttributes (Maybe StartLambdaFunctionFailedCause)
- startLambdaFunctionFailedEventAttributes_message :: Lens' StartLambdaFunctionFailedEventAttributes (Maybe Text)
Documentation
data StartLambdaFunctionFailedEventAttributes Source #
Provides the details of the StartLambdaFunctionFailed
event. It isn't
set for other event types.
See: newStartLambdaFunctionFailedEventAttributes
smart constructor.
StartLambdaFunctionFailedEventAttributes' | |
|
Instances
newStartLambdaFunctionFailedEventAttributes :: StartLambdaFunctionFailedEventAttributes Source #
Create a value of StartLambdaFunctionFailedEventAttributes
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:scheduledEventId:StartLambdaFunctionFailedEventAttributes'
, startLambdaFunctionFailedEventAttributes_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.
$sel:cause:StartLambdaFunctionFailedEventAttributes'
, startLambdaFunctionFailedEventAttributes_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.
$sel:message:StartLambdaFunctionFailedEventAttributes'
, startLambdaFunctionFailedEventAttributes_message
- A description that can help diagnose the cause of the fault.
startLambdaFunctionFailedEventAttributes_scheduledEventId :: Lens' StartLambdaFunctionFailedEventAttributes (Maybe Integer) Source #
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_cause :: Lens' StartLambdaFunctionFailedEventAttributes (Maybe StartLambdaFunctionFailedCause) Source #
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.
startLambdaFunctionFailedEventAttributes_message :: Lens' StartLambdaFunctionFailedEventAttributes (Maybe Text) Source #
A description that can help diagnose the cause of the fault.