Lambda / Client / delete_provisioned_concurrency_config

delete_provisioned_concurrency_config#

Lambda.Client.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'
)
Parameters:
  • FunctionName (string) –

    [REQUIRED]

    The name or ARN of the Lambda function.

    Name formats

    • Function namemy-function.

    • Function ARNarn:aws:lambda:us-west-2:123456789012:function:my-function.

    • Partial ARN123456789012: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.

  • Qualifier (string) –

    [REQUIRED]

    The version number or alias name.

Returns:

None

Exceptions

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': {
        '...': '...',
    },
}