Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Updates the configuration for asynchronous invocation for a function, version, or alias.
To configure options for asynchronous invocation, use PutFunctionEventInvokeConfig.
Synopsis
- data UpdateFunctionEventInvokeConfig = UpdateFunctionEventInvokeConfig' {}
- newUpdateFunctionEventInvokeConfig :: Text -> UpdateFunctionEventInvokeConfig
- updateFunctionEventInvokeConfig_destinationConfig :: Lens' UpdateFunctionEventInvokeConfig (Maybe DestinationConfig)
- updateFunctionEventInvokeConfig_maximumEventAgeInSeconds :: Lens' UpdateFunctionEventInvokeConfig (Maybe Natural)
- updateFunctionEventInvokeConfig_maximumRetryAttempts :: Lens' UpdateFunctionEventInvokeConfig (Maybe Natural)
- updateFunctionEventInvokeConfig_qualifier :: Lens' UpdateFunctionEventInvokeConfig (Maybe Text)
- updateFunctionEventInvokeConfig_functionName :: Lens' UpdateFunctionEventInvokeConfig Text
- data FunctionEventInvokeConfig = FunctionEventInvokeConfig' {}
- newFunctionEventInvokeConfig :: FunctionEventInvokeConfig
- functionEventInvokeConfig_destinationConfig :: Lens' FunctionEventInvokeConfig (Maybe DestinationConfig)
- functionEventInvokeConfig_functionArn :: Lens' FunctionEventInvokeConfig (Maybe Text)
- functionEventInvokeConfig_lastModified :: Lens' FunctionEventInvokeConfig (Maybe UTCTime)
- functionEventInvokeConfig_maximumEventAgeInSeconds :: Lens' FunctionEventInvokeConfig (Maybe Natural)
- functionEventInvokeConfig_maximumRetryAttempts :: Lens' FunctionEventInvokeConfig (Maybe Natural)
Creating a Request
data UpdateFunctionEventInvokeConfig Source #
See: newUpdateFunctionEventInvokeConfig
smart constructor.
UpdateFunctionEventInvokeConfig' | |
|
Instances
newUpdateFunctionEventInvokeConfig Source #
Create a value of UpdateFunctionEventInvokeConfig
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:
UpdateFunctionEventInvokeConfig
, updateFunctionEventInvokeConfig_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.
UpdateFunctionEventInvokeConfig
, updateFunctionEventInvokeConfig_maximumEventAgeInSeconds
- The maximum age of a request that Lambda sends to a function for
processing.
UpdateFunctionEventInvokeConfig
, updateFunctionEventInvokeConfig_maximumRetryAttempts
- The maximum number of times to retry when the function returns an error.
$sel:qualifier:UpdateFunctionEventInvokeConfig'
, updateFunctionEventInvokeConfig_qualifier
- A version number or alias name.
UpdateFunctionEventInvokeConfig
, updateFunctionEventInvokeConfig_functionName
- The name of the Lambda function, version, or alias.
Name formats
- Function name -
my-function
(name-only),my-function:v1
(with alias). - Function ARN -
arn:aws:lambda:us-west-2:123456789012:function:my-function
. - Partial ARN -
123456789012:function:my-function
.
You can append a version number or alias to any of the formats. The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
Request Lenses
updateFunctionEventInvokeConfig_destinationConfig :: Lens' UpdateFunctionEventInvokeConfig (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.
updateFunctionEventInvokeConfig_maximumEventAgeInSeconds :: Lens' UpdateFunctionEventInvokeConfig (Maybe Natural) Source #
The maximum age of a request that Lambda sends to a function for processing.
updateFunctionEventInvokeConfig_maximumRetryAttempts :: Lens' UpdateFunctionEventInvokeConfig (Maybe Natural) Source #
The maximum number of times to retry when the function returns an error.
updateFunctionEventInvokeConfig_qualifier :: Lens' UpdateFunctionEventInvokeConfig (Maybe Text) Source #
A version number or alias name.
updateFunctionEventInvokeConfig_functionName :: Lens' UpdateFunctionEventInvokeConfig Text Source #
The name of the Lambda function, version, or alias.
Name formats
- Function name -
my-function
(name-only),my-function:v1
(with alias). - Function ARN -
arn:aws:lambda:us-west-2:123456789012:function:my-function
. - Partial ARN -
123456789012:function:my-function
.
You can append a version number or alias to any of the formats. The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
Destructuring the Response
data FunctionEventInvokeConfig Source #
See: newFunctionEventInvokeConfig
smart constructor.
FunctionEventInvokeConfig' | |
|
Instances
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: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.
$sel:functionArn:FunctionEventInvokeConfig'
, functionEventInvokeConfig_functionArn
- The Amazon Resource Name (ARN) of the function.
$sel:lastModified:FunctionEventInvokeConfig'
, functionEventInvokeConfig_lastModified
- The date and time that the configuration was last updated.
$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.
Response Lenses
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.
functionEventInvokeConfig_functionArn :: Lens' FunctionEventInvokeConfig (Maybe Text) Source #
The Amazon Resource Name (ARN) of the function.
functionEventInvokeConfig_lastModified :: Lens' FunctionEventInvokeConfig (Maybe UTCTime) Source #
The date and time that the configuration was last updated.
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.