Skip to content

Lambda  >  Operations  >  delete_function_url_config

delete_function_url_config

Operation

delete_function_url_config async

delete_function_url_config(input: DeleteFunctionUrlConfigInput, plugins: list[Plugin] | None = None) -> DeleteFunctionUrlConfigOutput

Deletes a Lambda function URL. When you delete a function URL, you can't recover it. Creating a new function URL results in a different URL address.

Parameters:

Name Type Description Default
input DeleteFunctionUrlConfigInput

An instance of DeleteFunctionUrlConfigInput.

required
plugins list[Plugin] | None

A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations.

None

Returns:

Type Description
DeleteFunctionUrlConfigOutput

An instance of DeleteFunctionUrlConfigOutput.

Input

DeleteFunctionUrlConfigInput dataclass

Dataclass for DeleteFunctionUrlConfigInput structure.

Attributes

function_name class-attribute instance-attribute
function_name: str | None = None

The name or ARN of the Lambda function.

Name formats

  • Function name -- my-function.

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

  • Partial ARN -- 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.

qualifier class-attribute instance-attribute
qualifier: str | None = None

The alias name.

Output

DeleteFunctionUrlConfigOutput dataclass

Dataclass for DeleteFunctionUrlConfigOutput structure.