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

Description

 
Synopsis

Documentation

data StartLambdaFunctionFailedEventAttributes Source #

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

See: newStartLambdaFunctionFailedEventAttributes smart constructor.

Constructors

StartLambdaFunctionFailedEventAttributes' 

Fields

  • scheduledEventId :: Maybe Integer

    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.

  • cause :: Maybe StartLambdaFunctionFailedCause

    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.

  • message :: Maybe Text

    A description that can help diagnose the cause of the fault.

Instances

Instances details
Eq StartLambdaFunctionFailedEventAttributes Source # 
Instance details

Defined in Amazonka.SWF.Types.StartLambdaFunctionFailedEventAttributes

Read StartLambdaFunctionFailedEventAttributes Source # 
Instance details

Defined in Amazonka.SWF.Types.StartLambdaFunctionFailedEventAttributes

Show StartLambdaFunctionFailedEventAttributes Source # 
Instance details

Defined in Amazonka.SWF.Types.StartLambdaFunctionFailedEventAttributes

Generic StartLambdaFunctionFailedEventAttributes Source # 
Instance details

Defined in Amazonka.SWF.Types.StartLambdaFunctionFailedEventAttributes

NFData StartLambdaFunctionFailedEventAttributes Source # 
Instance details

Defined in Amazonka.SWF.Types.StartLambdaFunctionFailedEventAttributes

Hashable StartLambdaFunctionFailedEventAttributes Source # 
Instance details

Defined in Amazonka.SWF.Types.StartLambdaFunctionFailedEventAttributes

FromJSON StartLambdaFunctionFailedEventAttributes Source # 
Instance details

Defined in Amazonka.SWF.Types.StartLambdaFunctionFailedEventAttributes

type Rep StartLambdaFunctionFailedEventAttributes Source # 
Instance details

Defined in Amazonka.SWF.Types.StartLambdaFunctionFailedEventAttributes

type Rep StartLambdaFunctionFailedEventAttributes = D1 ('MetaData "StartLambdaFunctionFailedEventAttributes" "Amazonka.SWF.Types.StartLambdaFunctionFailedEventAttributes" "libZSservicesZSamazonka-swfZSamazonka-swf" 'False) (C1 ('MetaCons "StartLambdaFunctionFailedEventAttributes'" 'PrefixI 'True) (S1 ('MetaSel ('Just "scheduledEventId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: (S1 ('MetaSel ('Just "cause") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe StartLambdaFunctionFailedCause)) :*: S1 ('MetaSel ('Just "message") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

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.