libZSservicesZSamazonka-swfZSamazonka-swf
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.SWF.Types.ScheduleLambdaFunctionFailedEventAttributes

Description

 
Synopsis

Documentation

data ScheduleLambdaFunctionFailedEventAttributes Source #

Provides the details of the ScheduleLambdaFunctionFailed event. It isn't set for other event types.

See: newScheduleLambdaFunctionFailedEventAttributes smart constructor.

Constructors

ScheduleLambdaFunctionFailedEventAttributes' 

Fields

  • id :: Text

    The ID provided in the ScheduleLambdaFunction decision that failed.

  • name :: Text

    The name of the Lambda function.

  • cause :: ScheduleLambdaFunctionFailedCause

    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.

  • decisionTaskCompletedEventId :: Integer

    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.

Instances

Instances details
Eq ScheduleLambdaFunctionFailedEventAttributes Source # 
Instance details

Defined in Amazonka.SWF.Types.ScheduleLambdaFunctionFailedEventAttributes

Read ScheduleLambdaFunctionFailedEventAttributes Source # 
Instance details

Defined in Amazonka.SWF.Types.ScheduleLambdaFunctionFailedEventAttributes

Show ScheduleLambdaFunctionFailedEventAttributes Source # 
Instance details

Defined in Amazonka.SWF.Types.ScheduleLambdaFunctionFailedEventAttributes

Generic ScheduleLambdaFunctionFailedEventAttributes Source # 
Instance details

Defined in Amazonka.SWF.Types.ScheduleLambdaFunctionFailedEventAttributes

NFData ScheduleLambdaFunctionFailedEventAttributes Source # 
Instance details

Defined in Amazonka.SWF.Types.ScheduleLambdaFunctionFailedEventAttributes

Hashable ScheduleLambdaFunctionFailedEventAttributes Source # 
Instance details

Defined in Amazonka.SWF.Types.ScheduleLambdaFunctionFailedEventAttributes

FromJSON ScheduleLambdaFunctionFailedEventAttributes Source # 
Instance details

Defined in Amazonka.SWF.Types.ScheduleLambdaFunctionFailedEventAttributes

type Rep ScheduleLambdaFunctionFailedEventAttributes Source # 
Instance details

Defined in Amazonka.SWF.Types.ScheduleLambdaFunctionFailedEventAttributes

type Rep ScheduleLambdaFunctionFailedEventAttributes = D1 ('MetaData "ScheduleLambdaFunctionFailedEventAttributes" "Amazonka.SWF.Types.ScheduleLambdaFunctionFailedEventAttributes" "libZSservicesZSamazonka-swfZSamazonka-swf" 'False) (C1 ('MetaCons "ScheduleLambdaFunctionFailedEventAttributes'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "cause") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ScheduleLambdaFunctionFailedCause) :*: S1 ('MetaSel ('Just "decisionTaskCompletedEventId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Integer))))

newScheduleLambdaFunctionFailedEventAttributes Source #

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_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.