blib/lib/Paws/EC2/ModifyVpnTunnelOptions.pm untested

filter: Statementstmt 0.0% 0 / 13 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 15 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::EC2::ModifyVpnTunnelOptions;
3 use Moose;
4 has DryRun => (is => 'ro', isa => 'Bool');
5 has TunnelOptions => (is => 'ro', isa => 'Paws::EC2::ModifyVpnTunnelOptionsSpecification', required => 1);
6 has VpnConnectionId => (is => 'ro', isa => 'Str', required => 1);
7 has VpnTunnelOutsideIpAddress => (is => 'ro', isa => 'Str', required => 1);
8  
9 use MooseX::ClassAttribute;
10  
11 class_has _api_call => (isa => 'Str', is => 'ro', default => 'ModifyVpnTunnelOptions');
12 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::EC2::ModifyVpnTunnelOptionsResult');
13 class_has _result_key => (isa => 'Str', is => 'ro');
14 1;
15  
16 ### main pod documentation begin ###
17  
18 =head1 NAME
19  
20 Paws::EC2::ModifyVpnTunnelOptions - Arguments for method ModifyVpnTunnelOptions on L<Paws::EC2>
21  
22 =head1 DESCRIPTION
23  
24 This class represents the parameters used for calling the method ModifyVpnTunnelOptions on the
25 L<Amazon Elastic Compute Cloud|Paws::EC2> service. Use the attributes of this class
26 as arguments to method ModifyVpnTunnelOptions.
27  
28 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ModifyVpnTunnelOptions.
29  
30 =head1 SYNOPSIS
31  
32 my $ec2 = Paws->service('EC2');
33 my $ModifyVpnTunnelOptionsResult = $ec2->ModifyVpnTunnelOptions(
34 TunnelOptions => {
35 DPDTimeoutAction => 'MyString', # OPTIONAL
36 DPDTimeoutSeconds => 1, # OPTIONAL
37 IKEVersions => [
38 {
39 Value => 'MyString', # OPTIONAL
40 },
41 ...
42 ], # OPTIONAL
43 Phase1DHGroupNumbers => [
44 {
45 Value => 1, # OPTIONAL
46 },
47 ...
48 ], # OPTIONAL
49 Phase1EncryptionAlgorithms => [
50 {
51 Value => 'MyString', # OPTIONAL
52 },
53 ...
54 ], # OPTIONAL
55 Phase1IntegrityAlgorithms => [
56 {
57 Value => 'MyString', # OPTIONAL
58 },
59 ...
60 ], # OPTIONAL
61 Phase1LifetimeSeconds => 1, # OPTIONAL
62 Phase2DHGroupNumbers => [
63 {
64 Value => 1, # OPTIONAL
65 },
66 ...
67 ], # OPTIONAL
68 Phase2EncryptionAlgorithms => [
69 {
70 Value => 'MyString', # OPTIONAL
71 },
72 ...
73 ], # OPTIONAL
74 Phase2IntegrityAlgorithms => [
75 {
76 Value => 'MyString', # OPTIONAL
77 },
78 ...
79 ], # OPTIONAL
80 Phase2LifetimeSeconds => 1, # OPTIONAL
81 PreSharedKey => 'MyString', # OPTIONAL
82 RekeyFuzzPercentage => 1, # OPTIONAL
83 RekeyMarginTimeSeconds => 1, # OPTIONAL
84 ReplayWindowSize => 1, # OPTIONAL
85 StartupAction => 'MyString', # OPTIONAL
86 TunnelInsideCidr => 'MyString', # OPTIONAL
87 TunnelInsideIpv6Cidr => 'MyString', # OPTIONAL
88 },
89 VpnConnectionId => 'MyVpnConnectionId',
90 VpnTunnelOutsideIpAddress => 'MyString',
91 DryRun => 1, # OPTIONAL
92 );
93  
94 # Results:
95 my $VpnConnection = $ModifyVpnTunnelOptionsResult->VpnConnection;
96  
97 # Returns a L<Paws::EC2::ModifyVpnTunnelOptionsResult> object.
98  
99 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.
100 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/ec2/ModifyVpnTunnelOptions>
101  
102 =head1 ATTRIBUTES
103  
104  
105 =head2 DryRun => Bool
106  
107 Checks whether you have the required permissions for the action,
108 without actually making the request, and provides an error response. If
109 you have the required permissions, the error response is
110 C<DryRunOperation>. Otherwise, it is C<UnauthorizedOperation>.
111  
112  
113  
114 =head2 B<REQUIRED> TunnelOptions => L<Paws::EC2::ModifyVpnTunnelOptionsSpecification>
115  
116 The tunnel options to modify.
117  
118  
119  
120 =head2 B<REQUIRED> VpnConnectionId => Str
121  
122 The ID of the AWS Site-to-Site VPN connection.
123  
124  
125  
126 =head2 B<REQUIRED> VpnTunnelOutsideIpAddress => Str
127  
128 The external IP address of the VPN tunnel.
129  
130  
131  
132  
133 =head1 SEE ALSO
134  
135 This class forms part of L<Paws>, documenting arguments for method ModifyVpnTunnelOptions in L<Paws::EC2>
136  
137 =head1 BUGS and CONTRIBUTIONS
138  
139 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
140  
141 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
142  
143 =cut
144