Skip to content

EC2  >  Operations  >  describe_moving_addresses

describe_moving_addresses

Operation

describe_moving_addresses async

describe_moving_addresses(request: DescribeMovingAddressesInput | DescribeMovingAddressesInputDict, /, *, plugins: list[Plugin] | None = None) -> DescribeMovingAddressesOutput
describe_moving_addresses(*, plugins: list[Plugin] | None = None, **kwargs: Unpack[DescribeMovingAddressesInputDict]) -> DescribeMovingAddressesOutput
Note

This action is deprecated.

Describes your Elastic IP addresses that are being moved from or being restored to the EC2-Classic platform. This request does not return information about any other Elastic IP addresses in your account.

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
DescribeMovingAddressesOutput

An instance of DescribeMovingAddressesOutput.

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

DescribeMovingAddressesInput dataclass

Bases: _SerdeShape

Dataclass for DescribeMovingAddressesInput 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.

filters class-attribute instance-attribute
filters: list[Filter] | None = ...

One or more filters.

  • moving-status - The status of the Elastic IP address (MovingToVpc | RestoringToClassic).
max_results class-attribute instance-attribute
max_results: int | None = ...

The maximum number of results to return for the request in a single page. The remaining results of the initial request can be seen by sending another request with the returned NextToken value. This value can be between 5 and 1000; if MaxResults is given a value outside of this range, an error is returned.

Default: If no value is provided, the default is 1000.

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

The token for the next page of results.

public_ips class-attribute instance-attribute
public_ips: list[str] | None = ...

One or more Elastic IP addresses.

Dictionaries

DescribeMovingAddressesInputDict

Bases: TypedDict

Dictionary form of DescribeMovingAddressesInput.

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.

filters instance-attribute
filters: Sequence[Filter | FilterDict] | None

One or more filters.

  • moving-status - The status of the Elastic IP address (MovingToVpc | RestoringToClassic).
max_results instance-attribute
max_results: int | None

The maximum number of results to return for the request in a single page. The remaining results of the initial request can be seen by sending another request with the returned NextToken value. This value can be between 5 and 1000; if MaxResults is given a value outside of this range, an error is returned.

Default: If no value is provided, the default is 1000.

next_token instance-attribute
next_token: str | None

The token for the next page of results.

public_ips instance-attribute
public_ips: Sequence[str] | None

One or more Elastic IP addresses.

Output

DescribeMovingAddressesOutput dataclass

Bases: _SerdeShape

Dataclass for DescribeMovingAddressesOutput structure.

Attributes

moving_address_statuses class-attribute instance-attribute
moving_address_statuses: list[MovingAddressStatus] | None = ...

The status for each Elastic IP address.

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

The token to use to retrieve the next page of results. This value is null when there are no more results to return.

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.