Paws::EC2::DescribeAvailabilityZones - Arguments for method DescribeAvailabilityZones on Paws::EC2
This class represents the parameters used for calling the method DescribeAvailabilityZones on the Amazon Elastic Compute Cloud service. Use the attributes of this class as arguments to method DescribeAvailabilityZones.
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to DescribeAvailabilityZones.
my $ec2 = Paws->service('EC2'); # To describe your Availability Zones # This example describes the Availability Zones that are available to you. The # response includes Availability Zones only for the current region. my $DescribeAvailabilityZonesResult = $ec2->DescribeAvailabilityZones(); # Results: my $AvailabilityZones = $DescribeAvailabilityZonesResult->AvailabilityZones; # Returns a L<Paws::EC2::DescribeAvailabilityZonesResult> object.
Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/ec2/DescribeAvailabilityZones
Include all Availability Zones, Local Zones, and Wavelength Zones regardless of your opt-in status.
If you do not use this parameter, the results include only the zones for the Regions where you have chosen the option to opt in.
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.
DryRunOperation
UnauthorizedOperation
The filters.
group-name - For Availability Zones, use the Region name. For Local Zones, use the name of the group associated with the Local Zone (for example, us-west-2-lax-1) For Wavelength Zones, use the name of the group associated with the Wavelength Zone (for example, us-east-1-wl1-bos-wlz-1).
group-name
us-west-2-lax-1
us-east-1-wl1-bos-wlz-1
message - The Zone message.
message
opt-in-status - The opt-in status (opted-in, and not-opted-in | opt-in-not-required).
opt-in-status
opted-in
not-opted-in
opt-in-not-required
parent-zoneID - The ID of the zone that handles some of the Local Zone and Wavelength Zone control plane operations, such as API calls.
parent-zoneID
parent-zoneName - The ID of the zone that handles some of the Local Zone and Wavelength Zone control plane operations, such as API calls.
parent-zoneName
region-name - The name of the Region for the Zone (for example, us-east-1).
region-name
us-east-1
state - The state of the Availability Zone, the Local Zone, or the Wavelength Zone (available | information | impaired | unavailable).
state
available
information
impaired
unavailable
zone-id - The ID of the Availability Zone (for example, use1-az1), the Local Zone (for example, usw2-lax1-az1), or the Wavelength Zone (for example, us-east-1-wl1-bos-wlz-1).
zone-id
use1-az1
usw2-lax1-az1
zone-type - The type of zone, for example, local-zone.
zone-type
local-zone
zone-name - The name of the Availability Zone (for example, us-east-1a), the Local Zone (for example, us-west-2-lax-1a), or the Wavelength Zone (for example, us-east-1-wl1-bos-wlz-1).
zone-name
us-east-1a
us-west-2-lax-1a
The IDs of the Availability Zones, Local Zones, and Wavelength Zones.
The names of the Availability Zones, Local Zones, and Wavelength Zones.
This class forms part of Paws, documenting arguments for method DescribeAvailabilityZones in Paws::EC2
The source code is located here: https://github.com/pplu/aws-sdk-perl
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
To install Paws, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Paws
CPAN shell
perl -MCPAN -e shell install Paws
For more information on module installation, please visit the detailed CPAN module installation guide.