blib/lib/Paws/EC2/DescribeRouteTables.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/DescribeReservedInstancesResult.pm ↑ Summary blib/lib/Paws/EC2/DescribeRouteTablesResult.pm »
1  
2 package Paws::EC2::DescribeRouteTables;
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 RouteTableIds => (is => 'ro', isa => 'ArrayRef[Str|Undef]', traits => ['NameInRequest'], request_name => 'RouteTableId' );
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 => 'DescribeRouteTables');
13 1 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::EC2::DescribeRouteTablesResult');
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::DescribeRouteTables - Arguments for method DescribeRouteTables on L<Paws::EC2>
22  
23 =head1 DESCRIPTION
24  
25 This class represents the parameters used for calling the method DescribeRouteTables on the
26 L<Amazon Elastic Compute Cloud|Paws::EC2> service. Use the attributes of this class
27 as arguments to method DescribeRouteTables.
28  
29 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to DescribeRouteTables.
30  
31 =head1 SYNOPSIS
32  
33 my $ec2 = Paws->service('EC2');
34 # To describe a route table
35 # This example describes the specified route table.
36 my $DescribeRouteTablesResult =
37 $ec2->DescribeRouteTables( 'RouteTableIds' => ['rtb-1f382e7d'] );
38  
39 # Results:
40 my $RouteTables = $DescribeRouteTablesResult->RouteTables;
41  
42 # Returns a L<Paws::EC2::DescribeRouteTablesResult> 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/DescribeRouteTables>
46  
47 =head1 ATTRIBUTES
48  
49  
50 =head2 DryRun => Bool
51  
52 Checks whether you have the required permissions for the action,
53 without actually making the request, and provides an error response. If
54 you have the required permissions, the error response is
55 C<DryRunOperation>. Otherwise, it is C<UnauthorizedOperation>.
56  
57  
58  
59 =head2 Filters => ArrayRef[L<Paws::EC2::Filter>]
60  
61 One or more filters.
62  
63 =over
64  
65 =item *
66  
67 C<association.route-table-association-id> - The ID of an association ID
68 for the route table.
69  
70 =item *
71  
72 C<association.route-table-id> - The ID of the route table involved in
73 the association.
74  
75 =item *
76  
77 C<association.subnet-id> - The ID of the subnet involved in the
78 association.
79  
80 =item *
81  
82 C<association.main> - Indicates whether the route table is the main
83 route table for the VPC (C<true> | C<false>). Route tables that do not
84 have an association ID are not returned in the response.
85  
86 =item *
87  
88 C<owner-id> - The ID of the AWS account that owns the route table.
89  
90 =item *
91  
92 C<route-table-id> - The ID of the route table.
93  
94 =item *
95  
96 C<route.destination-cidr-block> - The IPv4 CIDR range specified in a
97 route in the table.
98  
99 =item *
100  
101 C<route.destination-ipv6-cidr-block> - The IPv6 CIDR range specified in
102 a route in the route table.
103  
104 =item *
105  
106 C<route.destination-prefix-list-id> - The ID (prefix) of the AWS
107 service specified in a route in the table.
108  
109 =item *
110  
111 C<route.egress-only-internet-gateway-id> - The ID of an egress-only
112 Internet gateway specified in a route in the route table.
113  
114 =item *
115  
116 C<route.gateway-id> - The ID of a gateway specified in a route in the
117 table.
118  
119 =item *
120  
121 C<route.instance-id> - The ID of an instance specified in a route in
122 the table.
123  
124 =item *
125  
126 C<route.nat-gateway-id> - The ID of a NAT gateway.
127  
128 =item *
129  
130 C<route.transit-gateway-id> - The ID of a transit gateway.
131  
132 =item *
133  
134 C<route.origin> - Describes how the route was created.
135 C<CreateRouteTable> indicates that the route was automatically created
136 when the route table was created; C<CreateRoute> indicates that the
137 route was manually added to the route table;
138 C<EnableVgwRoutePropagation> indicates that the route was propagated by
139 route propagation.
140  
141 =item *
142  
143 C<route.state> - The state of a route in the route table (C<active> |
144 C<blackhole>). The blackhole state indicates that the route's target
145 isn't available (for example, the specified gateway isn't attached to
146 the VPC, the specified NAT instance has been terminated, and so on).
147  
148 =item *
149  
150 C<route.vpc-peering-connection-id> - The ID of a VPC peering connection
151 specified in a route in the table.
152  
153 =item *
154  
155 C<tag>:E<lt>keyE<gt> - The key/value combination of a tag assigned to
156 the resource. Use the tag key in the filter name and the tag value as
157 the filter value. For example, to find all resources that have a tag
158 with the key C<Owner> and the value C<TeamA>, specify C<tag:Owner> for
159 the filter name and C<TeamA> for the filter value.
160  
161 =item *
162  
163 C<tag-key> - The key of a tag assigned to the resource. Use this filter
164 to find all resources assigned a tag with a specific key, regardless of
165 the tag value.
166  
167 =item *
168  
169 C<vpc-id> - The ID of the VPC for the route table.
170  
171 =back
172  
173  
174  
175  
176 =head2 MaxResults => Int
177  
178 The maximum number of results to return with a single call. To retrieve
179 the remaining results, make another call with the returned C<nextToken>
180 value.
181  
182  
183  
184 =head2 NextToken => Str
185  
186 The token for the next page of results.
187  
188  
189  
190 =head2 RouteTableIds => ArrayRef[Str|Undef]
191  
192 One or more route table IDs.
193  
194 Default: Describes all your route tables.
195  
196  
197  
198  
199 =head1 SEE ALSO
200  
201 This class forms part of L<Paws>, documenting arguments for method DescribeRouteTables in L<Paws::EC2>
202  
203 =head1 BUGS and CONTRIBUTIONS
204  
205 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
206  
207 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
208  
209 =cut
210  
« blib/lib/Paws/EC2/DescribeReservedInstancesResult.pm ↑ Summary blib/lib/Paws/EC2/DescribeRouteTablesResult.pm »