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 ScheduleLambdaFunctionFailedEventAttributes = ScheduleLambdaFunctionFailedEventAttributes' {}
- newScheduleLambdaFunctionFailedEventAttributes :: Text -> Text -> ScheduleLambdaFunctionFailedCause -> Integer -> ScheduleLambdaFunctionFailedEventAttributes
- scheduleLambdaFunctionFailedEventAttributes_id :: Lens' ScheduleLambdaFunctionFailedEventAttributes Text
- scheduleLambdaFunctionFailedEventAttributes_name :: Lens' ScheduleLambdaFunctionFailedEventAttributes Text
- scheduleLambdaFunctionFailedEventAttributes_cause :: Lens' ScheduleLambdaFunctionFailedEventAttributes ScheduleLambdaFunctionFailedCause
- scheduleLambdaFunctionFailedEventAttributes_decisionTaskCompletedEventId :: Lens' ScheduleLambdaFunctionFailedEventAttributes Integer
Documentation
data ScheduleLambdaFunctionFailedEventAttributes Source #
Provides the details of the ScheduleLambdaFunctionFailed
event. It
isn't set for other event types.
See: newScheduleLambdaFunctionFailedEventAttributes
smart constructor.
ScheduleLambdaFunctionFailedEventAttributes' | |
|
Instances
newScheduleLambdaFunctionFailedEventAttributes Source #
:: Text | |
-> Text | |
-> ScheduleLambdaFunctionFailedCause | |
-> Integer |
|
-> ScheduleLambdaFunctionFailedEventAttributes |
Create a value of ScheduleLambdaFunctionFailedEventAttributes
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:id:ScheduleLambdaFunctionFailedEventAttributes'
, scheduleLambdaFunctionFailedEventAttributes_id
- The ID provided in the ScheduleLambdaFunction
decision that failed.
$sel:name:ScheduleLambdaFunctionFailedEventAttributes'
, scheduleLambdaFunctionFailedEventAttributes_name
- The name of the Lambda function.
$sel:cause:ScheduleLambdaFunctionFailedEventAttributes'
, scheduleLambdaFunctionFailedEventAttributes_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 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.
$sel:decisionTaskCompletedEventId:ScheduleLambdaFunctionFailedEventAttributes'
, scheduleLambdaFunctionFailedEventAttributes_decisionTaskCompletedEventId
- 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.
scheduleLambdaFunctionFailedEventAttributes_id :: Lens' ScheduleLambdaFunctionFailedEventAttributes Text Source #
The ID provided in the ScheduleLambdaFunction
decision that failed.
scheduleLambdaFunctionFailedEventAttributes_name :: Lens' ScheduleLambdaFunctionFailedEventAttributes Text Source #
The name of the Lambda function.
scheduleLambdaFunctionFailedEventAttributes_cause :: Lens' ScheduleLambdaFunctionFailedEventAttributes ScheduleLambdaFunctionFailedCause 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 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.
scheduleLambdaFunctionFailedEventAttributes_decisionTaskCompletedEventId :: Lens' ScheduleLambdaFunctionFailedEventAttributes Integer Source #
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.