Select your cookie preferences

We use cookies and similar tools to enhance your experience, provide our services, deliver relevant advertising, and make improvements. Approved third parties also use these tools to help us deliver advertising and provide certain site features.

delete_provisioned_concurrency_config

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 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

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