delete_provisioned_concurrency_config
(**kwargs)¶Deletes the provisioned concurrency configuration for a function.
See also: AWS API Documentation
Request Syntax
response = client.delete_provisioned_concurrency_config(
FunctionName='string',
Qualifier='string'
)
[REQUIRED]
The name of the Lambda function.
Name formats
my-function
.arn:aws:lambda:us-west-2:123456789012:function:my-function
.123456789012:function:my-function
.The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
[REQUIRED]
The version number or alias name.
None
Exceptions
Lambda.Client.exceptions.InvalidParameterValueException
Lambda.Client.exceptions.ResourceConflictException
Lambda.Client.exceptions.ResourceNotFoundException
Lambda.Client.exceptions.TooManyRequestsException
Lambda.Client.exceptions.ServiceException
Examples
The following example deletes the provisioned concurrency configuration for the GREEN alias of a function named my-function.
response = client.delete_provisioned_concurrency_config(
FunctionName='my-function',
Qualifier='GREEN',
)
print(response)
Expected Output:
{
'ResponseMetadata': {
'...': '...',
},
}