libZSservicesZSamazonka-lambdaZSamazonka-lambda
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.Lambda.Types.FunctionEventInvokeConfig

Description

 
Synopsis

Documentation

data FunctionEventInvokeConfig Source #

See: newFunctionEventInvokeConfig smart constructor.

Constructors

FunctionEventInvokeConfig' 

Fields

Instances

Instances details
Eq FunctionEventInvokeConfig Source # 
Instance details

Defined in Amazonka.Lambda.Types.FunctionEventInvokeConfig

Read FunctionEventInvokeConfig Source # 
Instance details

Defined in Amazonka.Lambda.Types.FunctionEventInvokeConfig

Show FunctionEventInvokeConfig Source # 
Instance details

Defined in Amazonka.Lambda.Types.FunctionEventInvokeConfig

Generic FunctionEventInvokeConfig Source # 
Instance details

Defined in Amazonka.Lambda.Types.FunctionEventInvokeConfig

Associated Types

type Rep FunctionEventInvokeConfig :: Type -> Type #

NFData FunctionEventInvokeConfig Source # 
Instance details

Defined in Amazonka.Lambda.Types.FunctionEventInvokeConfig

Hashable FunctionEventInvokeConfig Source # 
Instance details

Defined in Amazonka.Lambda.Types.FunctionEventInvokeConfig

FromJSON FunctionEventInvokeConfig Source # 
Instance details

Defined in Amazonka.Lambda.Types.FunctionEventInvokeConfig

type Rep FunctionEventInvokeConfig Source # 
Instance details

Defined in Amazonka.Lambda.Types.FunctionEventInvokeConfig

type Rep FunctionEventInvokeConfig = D1 ('MetaData "FunctionEventInvokeConfig" "Amazonka.Lambda.Types.FunctionEventInvokeConfig" "libZSservicesZSamazonka-lambdaZSamazonka-lambda" 'False) (C1 ('MetaCons "FunctionEventInvokeConfig'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "functionArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "maximumEventAgeInSeconds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))) :*: (S1 ('MetaSel ('Just "maximumRetryAttempts") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: (S1 ('MetaSel ('Just "lastModified") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "destinationConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DestinationConfig))))))

newFunctionEventInvokeConfig :: FunctionEventInvokeConfig Source #

Create a value of FunctionEventInvokeConfig 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:functionArn:FunctionEventInvokeConfig', functionEventInvokeConfig_functionArn - The Amazon Resource Name (ARN) of the function.

$sel:maximumEventAgeInSeconds:FunctionEventInvokeConfig', functionEventInvokeConfig_maximumEventAgeInSeconds - The maximum age of a request that Lambda sends to a function for processing.

$sel:maximumRetryAttempts:FunctionEventInvokeConfig', functionEventInvokeConfig_maximumRetryAttempts - The maximum number of times to retry when the function returns an error.

$sel:lastModified:FunctionEventInvokeConfig', functionEventInvokeConfig_lastModified - The date and time that the configuration was last updated.

$sel:destinationConfig:FunctionEventInvokeConfig', functionEventInvokeConfig_destinationConfig - A destination for events after they have been sent to a function for processing.

Destinations

  • Function - The Amazon Resource Name (ARN) of a Lambda function.
  • Queue - The ARN of an SQS queue.
  • Topic - The ARN of an SNS topic.
  • Event Bus - The ARN of an Amazon EventBridge event bus.

functionEventInvokeConfig_functionArn :: Lens' FunctionEventInvokeConfig (Maybe Text) Source #

The Amazon Resource Name (ARN) of the function.

functionEventInvokeConfig_maximumEventAgeInSeconds :: Lens' FunctionEventInvokeConfig (Maybe Natural) Source #

The maximum age of a request that Lambda sends to a function for processing.

functionEventInvokeConfig_maximumRetryAttempts :: Lens' FunctionEventInvokeConfig (Maybe Natural) Source #

The maximum number of times to retry when the function returns an error.

functionEventInvokeConfig_lastModified :: Lens' FunctionEventInvokeConfig (Maybe UTCTime) Source #

The date and time that the configuration was last updated.

functionEventInvokeConfig_destinationConfig :: Lens' FunctionEventInvokeConfig (Maybe DestinationConfig) Source #

A destination for events after they have been sent to a function for processing.

Destinations

  • Function - The Amazon Resource Name (ARN) of a Lambda function.
  • Queue - The ARN of an SQS queue.
  • Topic - The ARN of an SNS topic.
  • Event Bus - The ARN of an Amazon EventBridge event bus.