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'
)
[REQUIRED]
The name of the Lambda function, version, or alias.
Name formats
my-function
(name-only), my-function:v1
(with alias).arn:aws:lambda:us-west-2:123456789012:function:my-function
.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.
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': {
'...': '...',
},
}