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

filter: Statementstmt 0.0% 0 / 15 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 17 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::EC2::ModifyVpnConnectionOptions;
3 use Moose;
4 has DryRun => (is => 'ro', isa => 'Bool');
5 has LocalIpv4NetworkCidr => (is => 'ro', isa => 'Str');
6 has LocalIpv6NetworkCidr => (is => 'ro', isa => 'Str');
7 has RemoteIpv4NetworkCidr => (is => 'ro', isa => 'Str');
8 has RemoteIpv6NetworkCidr => (is => 'ro', isa => 'Str');
9 has VpnConnectionId => (is => 'ro', isa => 'Str', required => 1);
10  
11 use MooseX::ClassAttribute;
12  
13 class_has _api_call => (isa => 'Str', is => 'ro', default => 'ModifyVpnConnectionOptions');
14 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::EC2::ModifyVpnConnectionOptionsResult');
15 class_has _result_key => (isa => 'Str', is => 'ro');
16 1;
17  
18 ### main pod documentation begin ###
19  
20 =head1 NAME
21  
22 Paws::EC2::ModifyVpnConnectionOptions - Arguments for method ModifyVpnConnectionOptions on L<Paws::EC2>
23  
24 =head1 DESCRIPTION
25  
26 This class represents the parameters used for calling the method ModifyVpnConnectionOptions on the
27 L<Amazon Elastic Compute Cloud|Paws::EC2> service. Use the attributes of this class
28 as arguments to method ModifyVpnConnectionOptions.
29  
30 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ModifyVpnConnectionOptions.
31  
32 =head1 SYNOPSIS
33  
34 my $ec2 = Paws->service('EC2');
35 my $ModifyVpnConnectionOptionsResult = $ec2->ModifyVpnConnectionOptions(
36 VpnConnectionId => 'MyVpnConnectionId',
37 DryRun => 1, # OPTIONAL
38 LocalIpv4NetworkCidr => 'MyString', # OPTIONAL
39 LocalIpv6NetworkCidr => 'MyString', # OPTIONAL
40 RemoteIpv4NetworkCidr => 'MyString', # OPTIONAL
41 RemoteIpv6NetworkCidr => 'MyString', # OPTIONAL
42 );
43  
44 # Results:
45 my $VpnConnection = $ModifyVpnConnectionOptionsResult->VpnConnection;
46  
47 # Returns a L<Paws::EC2::ModifyVpnConnectionOptionsResult> object.
48  
49 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.
50 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/ec2/ModifyVpnConnectionOptions>
51  
52 =head1 ATTRIBUTES
53  
54  
55 =head2 DryRun => Bool
56  
57 Checks whether you have the required permissions for the action,
58 without actually making the request, and provides an error response. If
59 you have the required permissions, the error response is
60 C<DryRunOperation>. Otherwise, it is C<UnauthorizedOperation>.
61  
62  
63  
64 =head2 LocalIpv4NetworkCidr => Str
65  
66 The IPv4 CIDR on the customer gateway (on-premises) side of the VPN
67 connection.
68  
69 Default: C<0.0.0.0/0>
70  
71  
72  
73 =head2 LocalIpv6NetworkCidr => Str
74  
75 The IPv6 CIDR on the customer gateway (on-premises) side of the VPN
76 connection.
77  
78 Default: C<::/0>
79  
80  
81  
82 =head2 RemoteIpv4NetworkCidr => Str
83  
84 The IPv4 CIDR on the AWS side of the VPN connection.
85  
86 Default: C<0.0.0.0/0>
87  
88  
89  
90 =head2 RemoteIpv6NetworkCidr => Str
91  
92 The IPv6 CIDR on the AWS side of the VPN connection.
93  
94 Default: C<::/0>
95  
96  
97  
98 =head2 B<REQUIRED> VpnConnectionId => Str
99  
100 The ID of the Site-to-Site VPN connection.
101  
102  
103  
104  
105 =head1 SEE ALSO
106  
107 This class forms part of L<Paws>, documenting arguments for method ModifyVpnConnectionOptions in L<Paws::EC2>
108  
109 =head1 BUGS and CONTRIBUTIONS
110  
111 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
112  
113 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
114  
115 =cut
116