delete_alias¶
Operation¶
delete_alias
¶
delete_alias(request: DeleteAliasInput | DeleteAliasInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[DeleteAliasInputDict]) -> DeleteAliasOutput
Deletes a Lambda Event Function alias.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
request
|
DeleteAliasInput | DeleteAliasInputDict | None
|
The input as a model or dictionary. Pass this or keyword arguments, not both. |
None
|
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
|
**kwargs
|
Unpack[DeleteAliasInputDict]
|
The input fields as keyword arguments. |
{}
|
Returns:
| Type | Description |
|---|---|
DeleteAliasOutput
|
An instance of |
delete_alias
async
¶
delete_alias(request: DeleteAliasInput | DeleteAliasInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[DeleteAliasInputDict]) -> DeleteAliasOutput
Deletes a Lambda Event Function alias.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
request
|
DeleteAliasInput | DeleteAliasInputDict | None
|
The input as a model or dictionary. Pass this or keyword arguments, not both. |
None
|
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
|
**kwargs
|
Unpack[DeleteAliasInputDict]
|
The input fields as keyword arguments. |
{}
|
Returns:
| Type | Description |
|---|---|
DeleteAliasOutput
|
An instance of |
Input¶
Pass the input as keyword arguments, a positional dictionary, or a positional model object. Pass plugins separately as a keyword argument.
DeleteAliasInputDict
¶
Bases: TypedDict
Dictionary form of DeleteAliasInput.
Attributes¶
function_name
instance-attribute
¶
The name or ARN of the Lambda function.
Name formats
-
Function name -
MyFunction. -
Function ARN -
arn:aws:lambda:us-west-2:123456789012:function:MyFunction. -
Partial ARN -
123456789012:function:MyFunction.
The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
DeleteAliasInput
dataclass
¶
Bases: _SerdeShape
Dataclass for DeleteAliasInput structure.
Attributes¶
function_name
class-attribute
instance-attribute
¶
function_name: str | None = ...
The name or ARN of the Lambda function.
Name formats
-
Function name -
MyFunction. -
Function ARN -
arn:aws:lambda:us-west-2:123456789012:function:MyFunction. -
Partial ARN -
123456789012:function:MyFunction.
The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
Output¶
DeleteAliasOutput
dataclass
¶
Bases: _SerdeShape
Dataclass for DeleteAliasOutput structure.