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