Lambda / Client / delete_function_event_invoke_config
delete_function_event_invoke_config#
- Lambda.Client.delete_function_event_invoke_config(**kwargs)#
Deletes the configuration for asynchronous invocation for a function, version, or alias.
To configure options for asynchronous invocation, use PutFunctionEventInvokeConfig.
See also: AWS API Documentation
Request Syntax
response = client.delete_function_event_invoke_config( FunctionName='string', Qualifier='string' )
- Parameters:
FunctionName (string) –
[REQUIRED]
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.
Qualifier (string) – A version number or alias name.
- Returns:
None
Exceptions
Lambda.Client.exceptions.ServiceException
Lambda.Client.exceptions.ResourceNotFoundException
Lambda.Client.exceptions.InvalidParameterValueException
Lambda.Client.exceptions.TooManyRequestsException
Lambda.Client.exceptions.ResourceConflictException
Examples
The following example deletes the asynchronous invocation configuration for the GREEN alias of a function named my-function.
response = client.delete_function_event_invoke_config( FunctionName='my-function', Qualifier='GREEN', ) print(response)
Expected Output:
{ 'ResponseMetadata': { '...': '...', }, }