describe_moving_addresses
async
¶
describe_moving_addresses(
*,
config_overrides: Optional[AsyncEC2ClientConfig] = 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/async_ec2.py
30280 30281 30282 30283 30284 30285 30286 30287 30288 30289 30290 30291 30292 30293 30294 30295 30296 30297 30298 30299 30300 30301 30302 30303 30304 30305 30306 30307 30308 30309 30310 30311 30312 30313 30314 30315 30316 30317 30318 30319 30320 30321 30322 30323 30324 30325 30326 30327 30328 30329 30330 30331 30332 30333 30334 30335 30336 30337 30338 30339 30340 30341 30342 30343 30344 30345 30346 30347 30348 30349 | |