describe_moving_addresses
¶
describe_moving_addresses(
*,
config_overrides: Optional[EC2ClientConfig] = None,
dry_run: Optional[Boolean] = None,
public_ips: Optional[ValueStringList] = None,
next_token: Optional[String] = None,
filters: Optional[FilterList] = None,
max_results: Optional[DescribeMovingAddressesMaxResults] = None,
) -> DescribeMovingAddressesResult
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:
-
dry_run(Optional[Boolean], default: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 isUnauthorizedOperation. -
public_ips(Optional[ValueStringList], default:None) –One or more Elastic IP addresses.
-
next_token(Optional[String], default:None) –The token for the next page of results.
-
filters(Optional[FilterList], default:None) –One or more filters.
-
moving-status- The status of the Elastic IP address (MovingToVpc|RestoringToClassic).
-
-
max_results(Optional[DescribeMovingAddressesMaxResults], default: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
NextTokenvalue. This value can be between 5 and 1000; ifMaxResultsis given a value outside of this range, an error is returned.Default: If no value is provided, the default is 1000.
Raises:
-
UnknownServiceError–The service returned an error code this client does not model.
Examples:
To describe your moving addresses This example describes all of your moving Elastic IP addresses.
Source code in docs_src/capo_ec2/_services/ec2.py
29872 29873 29874 29875 29876 29877 29878 29879 29880 29881 29882 29883 29884 29885 29886 29887 29888 29889 29890 29891 29892 29893 29894 29895 29896 29897 29898 29899 29900 29901 29902 29903 29904 29905 29906 29907 29908 29909 29910 29911 29912 29913 29914 29915 29916 29917 29918 29919 29920 29921 29922 29923 29924 29925 29926 29927 29928 29929 29930 29931 29932 29933 29934 29935 29936 29937 29938 29939 29940 | |