File Coverage

blib/lib/Paws/EC2/DescribeRouteTables.pm
Criterion Covered Total %
statement 12 12 100.0
branch n/a
condition n/a
subroutine 4 4 100.0
pod n/a
total 16 16 100.0


line stmt bran cond sub pod time code
1              
2             package Paws::EC2::DescribeRouteTables;
3 1     1   488 use Moose;
  1     1   4  
  1         6  
  1         620  
  1         3  
  1         8  
4             has DryRun => (is => 'ro', isa => 'Bool', traits => ['NameInRequest'], request_name => 'dryRun' );
5             has Filters => (is => 'ro', isa => 'ArrayRef[Paws::EC2::Filter]', traits => ['NameInRequest'], request_name => 'Filter' );
6             has RouteTableIds => (is => 'ro', isa => 'ArrayRef[Str|Undef]', traits => ['NameInRequest'], request_name => 'RouteTableId' );
7              
8 1     1   6587 use MooseX::ClassAttribute;
  1     1   2  
  1         8  
  1         6679  
  1         4  
  1         11  
9              
10             class_has _api_call => (isa => 'Str', is => 'ro', default => 'DescribeRouteTables');
11             class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::EC2::DescribeRouteTablesResult');
12             class_has _result_key => (isa => 'Str', is => 'ro');
13             1;
14              
15             ### main pod documentation begin ###
16              
17             =head1 NAME
18              
19             Paws::EC2::DescribeRouteTables - Arguments for method DescribeRouteTables on Paws::EC2
20              
21             =head1 DESCRIPTION
22              
23             This class represents the parameters used for calling the method DescribeRouteTables on the
24             Amazon Elastic Compute Cloud service. Use the attributes of this class
25             as arguments to method DescribeRouteTables.
26              
27             You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to DescribeRouteTables.
28              
29             As an example:
30              
31             $service_obj->DescribeRouteTables(Att1 => $value1, Att2 => $value2, ...);
32              
33             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.
34              
35             =head1 ATTRIBUTES
36              
37              
38             =head2 DryRun => Bool
39              
40             Checks whether you have the required permissions for the action,
41             without actually making the request, and provides an error response. If
42             you have the required permissions, the error response is
43             C<DryRunOperation>. Otherwise, it is C<UnauthorizedOperation>.
44              
45              
46              
47             =head2 Filters => ArrayRef[L<Paws::EC2::Filter>]
48              
49             One or more filters.
50              
51             =over
52              
53             =item *
54              
55             C<association.route-table-association-id> - The ID of an association ID
56             for the route table.
57              
58             =item *
59              
60             C<association.route-table-id> - The ID of the route table involved in
61             the association.
62              
63             =item *
64              
65             C<association.subnet-id> - The ID of the subnet involved in the
66             association.
67              
68             =item *
69              
70             C<association.main> - Indicates whether the route table is the main
71             route table for the VPC (C<true> | C<false>). Route tables that do not
72             have an association ID are not returned in the response.
73              
74             =item *
75              
76             C<route-table-id> - The ID of the route table.
77              
78             =item *
79              
80             C<route.destination-cidr-block> - The IPv4 CIDR range specified in a
81             route in the table.
82              
83             =item *
84              
85             C<route.destination-ipv6-cidr-block> - The IPv6 CIDR range specified in
86             a route in the route table.
87              
88             =item *
89              
90             C<route.destination-prefix-list-id> - The ID (prefix) of the AWS
91             service specified in a route in the table.
92              
93             =item *
94              
95             C<route.egress-only-internet-gateway-id> - The ID of an egress-only
96             Internet gateway specified in a route in the route table.
97              
98             =item *
99              
100             C<route.gateway-id> - The ID of a gateway specified in a route in the
101             table.
102              
103             =item *
104              
105             C<route.instance-id> - The ID of an instance specified in a route in
106             the table.
107              
108             =item *
109              
110             C<route.nat-gateway-id> - The ID of a NAT gateway.
111              
112             =item *
113              
114             C<route.origin> - Describes how the route was created.
115             C<CreateRouteTable> indicates that the route was automatically created
116             when the route table was created; C<CreateRoute> indicates that the
117             route was manually added to the route table;
118             C<EnableVgwRoutePropagation> indicates that the route was propagated by
119             route propagation.
120              
121             =item *
122              
123             C<route.state> - The state of a route in the route table (C<active> |
124             C<blackhole>). The blackhole state indicates that the route's target
125             isn't available (for example, the specified gateway isn't attached to
126             the VPC, the specified NAT instance has been terminated, and so on).
127              
128             =item *
129              
130             C<route.vpc-peering-connection-id> - The ID of a VPC peering connection
131             specified in a route in the table.
132              
133             =item *
134              
135             C<tag>:I<key>=I<value> - The key/value combination of a tag assigned to
136             the resource. Specify the key of the tag in the filter name and the
137             value of the tag in the filter value. For example, for the tag
138             Purpose=X, specify C<tag:Purpose> for the filter name and C<X> for the
139             filter value.
140              
141             =item *
142              
143             C<tag-key> - The key of a tag assigned to the resource. This filter is
144             independent of the C<tag-value> filter. For example, if you use both
145             the filter "tag-key=Purpose" and the filter "tag-value=X", you get any
146             resources assigned both the tag key Purpose (regardless of what the
147             tag's value is), and the tag value X (regardless of what the tag's key
148             is). If you want to list only resources where Purpose is X, see the
149             C<tag>:I<key>=I<value> filter.
150              
151             =item *
152              
153             C<tag-value> - The value of a tag assigned to the resource. This filter
154             is independent of the C<tag-key> filter.
155              
156             =item *
157              
158             C<vpc-id> - The ID of the VPC for the route table.
159              
160             =back
161              
162              
163              
164              
165             =head2 RouteTableIds => ArrayRef[Str|Undef]
166              
167             One or more route table IDs.
168              
169             Default: Describes all your route tables.
170              
171              
172              
173              
174             =head1 SEE ALSO
175              
176             This class forms part of L<Paws>, documenting arguments for method DescribeRouteTables in L<Paws::EC2>
177              
178             =head1 BUGS and CONTRIBUTIONS
179              
180             The source code is located here: https://github.com/pplu/aws-sdk-perl
181              
182             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
183              
184             =cut
185