blib/lib/Paws/EC2/DescribeAvailabilityZones.pm

filter: Statementstmt 100% 15 / 15 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 2 / 2 Podpod n/a totaltotal 100% 17 / 17 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« blib/lib/Paws/EC2/DescribeAddressesResult.pm ↑ Summary blib/lib/Paws/EC2/DescribeAvailabilityZonesResult.pm »
1  
2 package Paws::EC2::DescribeAvailabilityZones;
3 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 1 has AllAvailabilityZones => (is => 'ro', isa => 'Bool');
5 1 has DryRun => (is => 'ro', isa => 'Bool', traits => ['NameInRequest'], request_name => 'dryRun' );
6 1 has Filters => (is => 'ro', isa => 'ArrayRef[Paws::EC2::Filter]', traits => ['NameInRequest'], request_name => 'Filter' );
7 1 has ZoneIds => (is => 'ro', isa => 'ArrayRef[Str|Undef]', traits => ['NameInRequest'], request_name => 'ZoneId' );
8 1 has ZoneNames => (is => 'ro', isa => 'ArrayRef[Str|Undef]', traits => ['NameInRequest'], request_name => 'ZoneName' );
9  
10 1 ▶ use MooseX::ClassAttribute;
Subroutine BEGIN: called CC=1 SCAR=0.0
11  
12 1 class_has _api_call => (isa => 'Str', is => 'ro', default => 'DescribeAvailabilityZones');
13 1 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::EC2::DescribeAvailabilityZonesResult');
14 1 class_has _result_key => (isa => 'Str', is => 'ro');
15 1 1;
16  
17 ### main pod documentation begin ###
18  
19 =head1 NAME
20  
21 Paws::EC2::DescribeAvailabilityZones - Arguments for method DescribeAvailabilityZones on L<Paws::EC2>
22  
23 =head1 DESCRIPTION
24  
25 This class represents the parameters used for calling the method DescribeAvailabilityZones on the
26 L<Amazon Elastic Compute Cloud|Paws::EC2> service. Use the attributes of this class
27 as arguments to method DescribeAvailabilityZones.
28  
29 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to DescribeAvailabilityZones.
30  
31 =head1 SYNOPSIS
32  
33 my $ec2 = Paws->service('EC2');
34 # To describe your Availability Zones
35 # This example describes the Availability Zones that are available to you. The
36 # response includes Availability Zones only for the current region.
37 my $DescribeAvailabilityZonesResult = $ec2->DescribeAvailabilityZones();
38  
39 # Results:
40 my $AvailabilityZones = $DescribeAvailabilityZonesResult->AvailabilityZones;
41  
42 # Returns a L<Paws::EC2::DescribeAvailabilityZonesResult> object.
43  
44 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.
45 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/ec2/DescribeAvailabilityZones>
46  
47 =head1 ATTRIBUTES
48  
49  
50 =head2 AllAvailabilityZones => Bool
51  
52 Include all Availability Zones, Local Zones, and Wavelength Zones
53 regardless of your opt-in status.
54  
55 If you do not use this parameter, the results include only the zones
56 for the Regions where you have chosen the option to opt in.
57  
58  
59  
60 =head2 DryRun => Bool
61  
62 Checks whether you have the required permissions for the action,
63 without actually making the request, and provides an error response. If
64 you have the required permissions, the error response is
65 C<DryRunOperation>. Otherwise, it is C<UnauthorizedOperation>.
66  
67  
68  
69 =head2 Filters => ArrayRef[L<Paws::EC2::Filter>]
70  
71 The filters.
72  
73 =over
74  
75 =item *
76  
77 C<group-name> - For Availability Zones, use the Region name. For Local
78 Zones, use the name of the group associated with the Local Zone (for
79 example, C<us-west-2-lax-1>) For Wavelength Zones, use the name of the
80 group associated with the Wavelength Zone (for example,
81 C<us-east-1-wl1-bos-wlz-1>).
82  
83 =item *
84  
85 C<message> - The Zone message.
86  
87 =item *
88  
89 C<opt-in-status> - The opt-in status (C<opted-in>, and C<not-opted-in>
90 | C<opt-in-not-required>).
91  
92 =item *
93  
94 C<parent-zoneID> - The ID of the zone that handles some of the Local
95 Zone and Wavelength Zone control plane operations, such as API calls.
96  
97 =item *
98  
99 C<parent-zoneName> - The ID of the zone that handles some of the Local
100 Zone and Wavelength Zone control plane operations, such as API calls.
101  
102 =item *
103  
104 C<region-name> - The name of the Region for the Zone (for example,
105 C<us-east-1>).
106  
107 =item *
108  
109 C<state> - The state of the Availability Zone, the Local Zone, or the
110 Wavelength Zone (C<available> | C<information> | C<impaired> |
111 C<unavailable>).
112  
113 =item *
114  
115 C<zone-id> - The ID of the Availability Zone (for example,
116 C<use1-az1>), the Local Zone (for example, C<usw2-lax1-az1>), or the
117 Wavelength Zone (for example, C<us-east-1-wl1-bos-wlz-1>).
118  
119 =item *
120  
121 C<zone-type> - The type of zone, for example, C<local-zone>.
122  
123 =item *
124  
125 C<zone-name> - The name of the Availability Zone (for example,
126 C<us-east-1a>), the Local Zone (for example, C<us-west-2-lax-1a>), or
127 the Wavelength Zone (for example, C<us-east-1-wl1-bos-wlz-1>).
128  
129 =item *
130  
131 C<zone-type> - The type of zone, for example, C<local-zone>.
132  
133 =back
134  
135  
136  
137  
138 =head2 ZoneIds => ArrayRef[Str|Undef]
139  
140 The IDs of the Availability Zones, Local Zones, and Wavelength Zones.
141  
142  
143  
144 =head2 ZoneNames => ArrayRef[Str|Undef]
145  
146 The names of the Availability Zones, Local Zones, and Wavelength Zones.
147  
148  
149  
150  
151 =head1 SEE ALSO
152  
153 This class forms part of L<Paws>, documenting arguments for method DescribeAvailabilityZones in L<Paws::EC2>
154  
155 =head1 BUGS and CONTRIBUTIONS
156  
157 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
158  
159 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
160  
161 =cut
162  
« blib/lib/Paws/EC2/DescribeAddressesResult.pm ↑ Summary blib/lib/Paws/EC2/DescribeAvailabilityZonesResult.pm »