File Coverage

blib/lib/Paws/EC2/VpnConnection.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::VpnConnection;
2 1     1   577 use Moose;
  1     1   3  
  1         8  
  1         576  
  1         5  
  1         10  
3             has CustomerGatewayConfiguration => (is => 'ro', isa => 'Str', request_name => 'customerGatewayConfiguration', traits => ['NameInRequest']);
4             has CustomerGatewayId => (is => 'ro', isa => 'Str', request_name => 'customerGatewayId', traits => ['NameInRequest']);
5             has Options => (is => 'ro', isa => 'Paws::EC2::VpnConnectionOptions', request_name => 'options', traits => ['NameInRequest']);
6             has Routes => (is => 'ro', isa => 'ArrayRef[Paws::EC2::VpnStaticRoute]', request_name => 'routes', traits => ['NameInRequest']);
7             has State => (is => 'ro', isa => 'Str', request_name => 'state', traits => ['NameInRequest']);
8             has Tags => (is => 'ro', isa => 'ArrayRef[Paws::EC2::Tag]', request_name => 'tagSet', traits => ['NameInRequest']);
9             has Type => (is => 'ro', isa => 'Str', request_name => 'type', traits => ['NameInRequest']);
10             has VgwTelemetry => (is => 'ro', isa => 'ArrayRef[Paws::EC2::VgwTelemetry]', request_name => 'vgwTelemetry', traits => ['NameInRequest']);
11             has VpnConnectionId => (is => 'ro', isa => 'Str', request_name => 'vpnConnectionId', traits => ['NameInRequest']);
12             has VpnGatewayId => (is => 'ro', isa => 'Str', request_name => 'vpnGatewayId', traits => ['NameInRequest']);
13             1;
14              
15             ### main pod documentation begin ###
16              
17             =head1 NAME
18              
19             Paws::EC2::VpnConnection
20              
21             =head1 USAGE
22              
23             This class represents one of two things:
24              
25             =head3 Arguments in a call to a service
26              
27             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
28             Each attribute should be used as a named argument in the calls that expect this type of object.
29              
30             As an example, if Att1 is expected to be a Paws::EC2::VpnConnection object:
31              
32             $service_obj->Method(Att1 => { CustomerGatewayConfiguration => $value, ..., VpnGatewayId => $value });
33              
34             =head3 Results returned from an API call
35              
36             Use accessors for each attribute. If Att1 is expected to be an Paws::EC2::VpnConnection object:
37              
38             $result = $service_obj->Method(...);
39             $result->Att1->CustomerGatewayConfiguration
40              
41             =head1 DESCRIPTION
42              
43             This class has no description
44              
45             =head1 ATTRIBUTES
46              
47              
48             =head2 CustomerGatewayConfiguration => Str
49              
50             The configuration information for the VPN connection's customer gateway
51             (in the native XML format). This element is always present in the
52             CreateVpnConnection response; however, it's present in the
53             DescribeVpnConnections response only if the VPN connection is in the
54             C<pending> or C<available> state.
55              
56              
57             =head2 CustomerGatewayId => Str
58              
59             The ID of the customer gateway at your end of the VPN connection.
60              
61              
62             =head2 Options => L<Paws::EC2::VpnConnectionOptions>
63              
64             The VPN connection options.
65              
66              
67             =head2 Routes => ArrayRef[L<Paws::EC2::VpnStaticRoute>]
68              
69             The static routes associated with the VPN connection.
70              
71              
72             =head2 State => Str
73              
74             The current state of the VPN connection.
75              
76              
77             =head2 Tags => ArrayRef[L<Paws::EC2::Tag>]
78              
79             Any tags assigned to the VPN connection.
80              
81              
82             =head2 Type => Str
83              
84             The type of VPN connection.
85              
86              
87             =head2 VgwTelemetry => ArrayRef[L<Paws::EC2::VgwTelemetry>]
88              
89             Information about the VPN tunnel.
90              
91              
92             =head2 VpnConnectionId => Str
93              
94             The ID of the VPN connection.
95              
96              
97             =head2 VpnGatewayId => Str
98              
99             The ID of the virtual private gateway at the AWS side of the VPN
100             connection.
101              
102              
103              
104             =head1 SEE ALSO
105              
106             This class forms part of L<Paws>, describing an object used in L<Paws::EC2>
107              
108             =head1 BUGS and CONTRIBUTIONS
109              
110             The source code is located here: https://github.com/pplu/aws-sdk-perl
111              
112             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
113              
114             =cut