Skip to content

restore_address_to_classic

Operation

restore_address_to_classic

restore_address_to_classic(request: RestoreAddressToClassicInput | RestoreAddressToClassicInputDict | None = None, /, *, 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
request RestoreAddressToClassicInput | RestoreAddressToClassicInputDict | 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[RestoreAddressToClassicInputDict]

The input fields as keyword arguments.

{}

Returns:

Type Description
RestoreAddressToClassicOutput

An instance of RestoreAddressToClassicOutput.

restore_address_to_classic async

restore_address_to_classic(request: RestoreAddressToClassicInput | RestoreAddressToClassicInputDict | None = None, /, *, 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
request RestoreAddressToClassicInput | RestoreAddressToClassicInputDict | 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[RestoreAddressToClassicInputDict]

The input fields as keyword arguments.

{}

Returns:

Type Description
RestoreAddressToClassicOutput

An instance of RestoreAddressToClassicOutput.

Input

Pass the input as keyword arguments, a positional dictionary, or a positional model object. Pass plugins separately as a keyword argument.

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.

public_ip instance-attribute
public_ip: Required[str]

The Elastic IP address.

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.

public_ip class-attribute instance-attribute
public_ip: str | None = ...

The Elastic IP address.

Output

RestoreAddressToClassicOutput dataclass

Bases: _SerdeShape

Dataclass for RestoreAddressToClassicOutput structure.

Attributes

public_ip class-attribute instance-attribute
public_ip: str | None = ...

The Elastic IP address.

response_metadata class-attribute instance-attribute
response_metadata: ResponseMetadata = ...

Metadata about the response that produced this output. Use this to recover the request identifiers a service's support team needs in order to investigate a call. Members of the metadata are individually optional.

status class-attribute instance-attribute
status: str | None = ...

The move status for the IP address.