restore_address_to_classic¶
Operation¶
restore_address_to_classic
async
¶
restore_address_to_classic(request: RestoreAddressToClassicInput | RestoreAddressToClassicInputDict, /, *, plugins: list[Plugin] | None = None) -> RestoreAddressToClassicOutput
restore_address_to_classic(*, plugins: list[Plugin] | None = None, **kwargs: Unpack[RestoreAddressToClassicInputDict]) -> RestoreAddressToClassicOutput
Note
This action is deprecated.
Restores an Elastic IP address that was previously moved to the EC2-VPC platform back to the EC2-Classic platform. You cannot move an Elastic IP address that was originally allocated for use in EC2-VPC. The Elastic IP address must not be associated with an instance or network interface.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
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 |
|---|---|
RestoreAddressToClassicOutput
|
An instance of |
Input¶
Pass the input fields as keyword arguments, or pass a model or dictionary as the first positional argument. Pass plugins separately as a keyword argument.
Model¶
RestoreAddressToClassicInput
dataclass
¶
Bases: _SerdeShape
Dataclass for RestoreAddressToClassicInput structure.
Attributes¶
dry_run
class-attribute
instance-attribute
¶
dry_run: bool | None = ...
Checks whether you have the required permissions for the action, without
actually making the request, and provides an error response. If you have
the required permissions, the error response is DryRunOperation.
Otherwise, it is UnauthorizedOperation.
Dictionaries¶
RestoreAddressToClassicInputDict
¶
Bases: TypedDict
Dictionary form of RestoreAddressToClassicInput.
Attributes¶
dry_run
instance-attribute
¶
dry_run: bool | None
Checks whether you have the required permissions for the action, without
actually making the request, and provides an error response. If you have
the required permissions, the error response is DryRunOperation.
Otherwise, it is UnauthorizedOperation.
Output¶
RestoreAddressToClassicOutput
dataclass
¶
Bases: _SerdeShape
Dataclass for RestoreAddressToClassicOutput structure.