File Coverage

blib/lib/Paws/EC2/Route.pm
Criterion Covered Total %
statement 6 6 100.0
branch n/a
condition n/a
subroutine 2 2 100.0
pod n/a
total 8 8 100.0


line stmt bran cond sub pod time code
1             package Paws::EC2::Route;
2 1     1   456 use Moose;
  1     1   2  
  1         7  
  1         742  
  1         3  
  1         10  
3             has DestinationCidrBlock => (is => 'ro', isa => 'Str', request_name => 'destinationCidrBlock', traits => ['NameInRequest']);
4             has DestinationIpv6CidrBlock => (is => 'ro', isa => 'Str', request_name => 'destinationIpv6CidrBlock', traits => ['NameInRequest']);
5             has DestinationPrefixListId => (is => 'ro', isa => 'Str', request_name => 'destinationPrefixListId', traits => ['NameInRequest']);
6             has EgressOnlyInternetGatewayId => (is => 'ro', isa => 'Str', request_name => 'egressOnlyInternetGatewayId', traits => ['NameInRequest']);
7             has GatewayId => (is => 'ro', isa => 'Str', request_name => 'gatewayId', traits => ['NameInRequest']);
8             has InstanceId => (is => 'ro', isa => 'Str', request_name => 'instanceId', traits => ['NameInRequest']);
9             has InstanceOwnerId => (is => 'ro', isa => 'Str', request_name => 'instanceOwnerId', traits => ['NameInRequest']);
10             has NatGatewayId => (is => 'ro', isa => 'Str', request_name => 'natGatewayId', traits => ['NameInRequest']);
11             has NetworkInterfaceId => (is => 'ro', isa => 'Str', request_name => 'networkInterfaceId', traits => ['NameInRequest']);
12             has Origin => (is => 'ro', isa => 'Str', request_name => 'origin', traits => ['NameInRequest']);
13             has State => (is => 'ro', isa => 'Str', request_name => 'state', traits => ['NameInRequest']);
14             has VpcPeeringConnectionId => (is => 'ro', isa => 'Str', request_name => 'vpcPeeringConnectionId', traits => ['NameInRequest']);
15             1;
16              
17             ### main pod documentation begin ###
18              
19             =head1 NAME
20              
21             Paws::EC2::Route
22              
23             =head1 USAGE
24              
25             This class represents one of two things:
26              
27             =head3 Arguments in a call to a service
28              
29             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
30             Each attribute should be used as a named argument in the calls that expect this type of object.
31              
32             As an example, if Att1 is expected to be a Paws::EC2::Route object:
33              
34             $service_obj->Method(Att1 => { DestinationCidrBlock => $value, ..., VpcPeeringConnectionId => $value });
35              
36             =head3 Results returned from an API call
37              
38             Use accessors for each attribute. If Att1 is expected to be an Paws::EC2::Route object:
39              
40             $result = $service_obj->Method(...);
41             $result->Att1->DestinationCidrBlock
42              
43             =head1 DESCRIPTION
44              
45             This class has no description
46              
47             =head1 ATTRIBUTES
48              
49              
50             =head2 DestinationCidrBlock => Str
51              
52             The IPv4 CIDR block used for the destination match.
53              
54              
55             =head2 DestinationIpv6CidrBlock => Str
56              
57             The IPv6 CIDR block used for the destination match.
58              
59              
60             =head2 DestinationPrefixListId => Str
61              
62             The prefix of the AWS service.
63              
64              
65             =head2 EgressOnlyInternetGatewayId => Str
66              
67             The ID of the egress-only Internet gateway.
68              
69              
70             =head2 GatewayId => Str
71              
72             The ID of a gateway attached to your VPC.
73              
74              
75             =head2 InstanceId => Str
76              
77             The ID of a NAT instance in your VPC.
78              
79              
80             =head2 InstanceOwnerId => Str
81              
82             The AWS account ID of the owner of the instance.
83              
84              
85             =head2 NatGatewayId => Str
86              
87             The ID of a NAT gateway.
88              
89              
90             =head2 NetworkInterfaceId => Str
91              
92             The ID of the network interface.
93              
94              
95             =head2 Origin => Str
96              
97             Describes how the route was created.
98              
99             =over
100              
101             =item *
102              
103             C<CreateRouteTable> - The route was automatically created when the
104             route table was created.
105              
106             =item *
107              
108             C<CreateRoute> - The route was manually added to the route table.
109              
110             =item *
111              
112             C<EnableVgwRoutePropagation> - The route was propagated by route
113             propagation.
114              
115             =back
116              
117              
118              
119             =head2 State => Str
120              
121             The state of the route. The C<blackhole> state indicates that the
122             route's target isn't available (for example, the specified gateway
123             isn't attached to the VPC, or the specified NAT instance has been
124             terminated).
125              
126              
127             =head2 VpcPeeringConnectionId => Str
128              
129             The ID of the VPC peering connection.
130              
131              
132              
133             =head1 SEE ALSO
134              
135             This class forms part of L<Paws>, describing an object used in L<Paws::EC2>
136              
137             =head1 BUGS and CONTRIBUTIONS
138              
139             The source code is located here: https://github.com/pplu/aws-sdk-perl
140              
141             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
142              
143             =cut