EC2.ServiceResource.
classic_addresses
¶A collection of ClassicAddress resources.A ClassicAddress Collection will include all resources by default, and extreme caution should be taken when performing actions on all resources.
all
()¶Creates an iterable of all ClassicAddress resources in the collection.
See also: AWS API Documentation
Request Syntax
classic_address_iterator = ec2.classic_addresses.all()
ec2.ClassicAddress
)filter
(**kwargs)¶Creates an iterable of all ClassicAddress resources in the collection filtered by kwargs passed to method. A ClassicAddress collection will include all resources by default if no filters are provided, and extreme caution should be taken when performing actions on all resources.
See also: AWS API Documentation
Request Syntax
classic_address_iterator = ec2.classic_addresses.filter(
PublicIps=[
'string',
],
AllocationIds=[
'string',
],
DryRun=True|False
)
One or more Elastic IP addresses.
Default: Describes all your Elastic IP addresses.
[EC2-VPC] Information about the allocation IDs.
DryRunOperation
. Otherwise, it is UnauthorizedOperation
.list(ec2.ClassicAddress
)
A list of ClassicAddress resources
limit
(**kwargs)¶Creates an iterable up to a specified amount of ClassicAddress resources in the collection.
See also: AWS API Documentation
Request Syntax
classic_address_iterator = ec2.classic_addresses.limit(
count=123
)
ec2.ClassicAddress
)page_size
(**kwargs)¶Creates an iterable of all ClassicAddress resources in the collection, but limits the number of items returned by each service call by the specified amount.
See also: AWS API Documentation
Request Syntax
classic_address_iterator = ec2.classic_addresses.page_size(
count=123
)
ec2.ClassicAddress
)