LambdaCore / Client / delete_runtime_alias

delete_runtime_alias

LambdaCore.Client.delete_runtime_alias(**kwargs)

Schedules a runtime alias to be deleted. Runtime aliases scheduled for deletion enter the PENDING_DELETION state and can be restored during the scheduled deletion window. Function invokes fail for functions using runtime aliases that are deleted or pending deletion.

See also: AWS API Documentation

Request Syntax

response = client.delete_runtime_alias(
    RuntimeName='string',
    Name='string',
    RecoveryWindowInDays=123
)
Parameters:
  • RuntimeName (string) –

    [REQUIRED]

    The name or ARN of the runtime.

  • Name (string) –

    [REQUIRED]

    The name of the runtime alias to delete.

  • RecoveryWindowInDays (integer) – Optional. The waiting period, in days (7-30), before the runtime alias is permanently deleted.

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions