blib/lib/Paws/EC2/DescribeVpcs.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/DescribeVolumesResult.pm ↑ Summary blib/lib/Paws/EC2/DescribeVpcsResult.pm »
1  
2 package Paws::EC2::DescribeVpcs;
3 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 1 has DryRun => (is => 'ro', isa => 'Bool', traits => ['NameInRequest'], request_name => 'dryRun' );
5 1 has Filters => (is => 'ro', isa => 'ArrayRef[Paws::EC2::Filter]', traits => ['NameInRequest'], request_name => 'Filter' );
6 1 has MaxResults => (is => 'ro', isa => 'Int');
7 1 has NextToken => (is => 'ro', isa => 'Str');
8 1 has VpcIds => (is => 'ro', isa => 'ArrayRef[Str|Undef]', traits => ['NameInRequest'], request_name => 'VpcId' );
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 => 'DescribeVpcs');
13 1 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::EC2::DescribeVpcsResult');
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::DescribeVpcs - Arguments for method DescribeVpcs on L<Paws::EC2>
22  
23 =head1 DESCRIPTION
24  
25 This class represents the parameters used for calling the method DescribeVpcs on the
26 L<Amazon Elastic Compute Cloud|Paws::EC2> service. Use the attributes of this class
27 as arguments to method DescribeVpcs.
28  
29 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to DescribeVpcs.
30  
31 =head1 SYNOPSIS
32  
33 my $ec2 = Paws->service('EC2');
34 # To describe a VPC
35 # This example describes the specified VPC.
36 my $DescribeVpcsResult = $ec2->DescribeVpcs( 'VpcIds' => ['vpc-a01106c2'] );
37  
38 # Results:
39 my $Vpcs = $DescribeVpcsResult->Vpcs;
40  
41 # Returns a L<Paws::EC2::DescribeVpcsResult> object.
42  
43 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.
44 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/ec2/DescribeVpcs>
45  
46 =head1 ATTRIBUTES
47  
48  
49 =head2 DryRun => Bool
50  
51 Checks whether you have the required permissions for the action,
52 without actually making the request, and provides an error response. If
53 you have the required permissions, the error response is
54 C<DryRunOperation>. Otherwise, it is C<UnauthorizedOperation>.
55  
56  
57  
58 =head2 Filters => ArrayRef[L<Paws::EC2::Filter>]
59  
60 One or more filters.
61  
62 =over
63  
64 =item *
65  
66 C<cidr> - The primary IPv4 CIDR block of the VPC. The CIDR block you
67 specify must exactly match the VPC's CIDR block for information to be
68 returned for the VPC. Must contain the slash followed by one or two
69 digits (for example, C</28>).
70  
71 =item *
72  
73 C<cidr-block-association.cidr-block> - An IPv4 CIDR block associated
74 with the VPC.
75  
76 =item *
77  
78 C<cidr-block-association.association-id> - The association ID for an
79 IPv4 CIDR block associated with the VPC.
80  
81 =item *
82  
83 C<cidr-block-association.state> - The state of an IPv4 CIDR block
84 associated with the VPC.
85  
86 =item *
87  
88 C<dhcp-options-id> - The ID of a set of DHCP options.
89  
90 =item *
91  
92 C<ipv6-cidr-block-association.ipv6-cidr-block> - An IPv6 CIDR block
93 associated with the VPC.
94  
95 =item *
96  
97 C<ipv6-cidr-block-association.ipv6-pool> - The ID of the IPv6 address
98 pool from which the IPv6 CIDR block is allocated.
99  
100 =item *
101  
102 C<ipv6-cidr-block-association.association-id> - The association ID for
103 an IPv6 CIDR block associated with the VPC.
104  
105 =item *
106  
107 C<ipv6-cidr-block-association.state> - The state of an IPv6 CIDR block
108 associated with the VPC.
109  
110 =item *
111  
112 C<isDefault> - Indicates whether the VPC is the default VPC.
113  
114 =item *
115  
116 C<owner-id> - The ID of the AWS account that owns the VPC.
117  
118 =item *
119  
120 C<state> - The state of the VPC (C<pending> | C<available>).
121  
122 =item *
123  
124 C<tag>:E<lt>keyE<gt> - The key/value combination of a tag assigned to
125 the resource. Use the tag key in the filter name and the tag value as
126 the filter value. For example, to find all resources that have a tag
127 with the key C<Owner> and the value C<TeamA>, specify C<tag:Owner> for
128 the filter name and C<TeamA> for the filter value.
129  
130 =item *
131  
132 C<tag-key> - The key of a tag assigned to the resource. Use this filter
133 to find all resources assigned a tag with a specific key, regardless of
134 the tag value.
135  
136 =item *
137  
138 C<vpc-id> - The ID of the VPC.
139  
140 =back
141  
142  
143  
144  
145 =head2 MaxResults => Int
146  
147 The maximum number of results to return with a single call. To retrieve
148 the remaining results, make another call with the returned C<nextToken>
149 value.
150  
151  
152  
153 =head2 NextToken => Str
154  
155 The token for the next page of results.
156  
157  
158  
159 =head2 VpcIds => ArrayRef[Str|Undef]
160  
161 One or more VPC IDs.
162  
163 Default: Describes all your VPCs.
164  
165  
166  
167  
168 =head1 SEE ALSO
169  
170 This class forms part of L<Paws>, documenting arguments for method DescribeVpcs in L<Paws::EC2>
171  
172 =head1 BUGS and CONTRIBUTIONS
173  
174 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
175  
176 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
177  
178 =cut
179  
« blib/lib/Paws/EC2/DescribeVolumesResult.pm ↑ Summary blib/lib/Paws/EC2/DescribeVpcsResult.pm »