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

filter: Statementstmt 0.0% 0 / 22 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 24 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::EC2::ModifyClientVpnEndpoint;
3 use Moose;
4 has ClientConnectOptions => (is => 'ro', isa => 'Paws::EC2::ClientConnectOptions');
5 has ClientVpnEndpointId => (is => 'ro', isa => 'Str', required => 1);
6 has ConnectionLogOptions => (is => 'ro', isa => 'Paws::EC2::ConnectionLogOptions');
7 has Description => (is => 'ro', isa => 'Str');
8 has DnsServers => (is => 'ro', isa => 'Paws::EC2::DnsServersOptionsModifyStructure');
9 has DryRun => (is => 'ro', isa => 'Bool');
10 has SecurityGroupIds => (is => 'ro', isa => 'ArrayRef[Str|Undef]', traits => ['NameInRequest'], request_name => 'SecurityGroupId' );
11 has SelfServicePortal => (is => 'ro', isa => 'Str');
12 has ServerCertificateArn => (is => 'ro', isa => 'Str');
13 has SplitTunnel => (is => 'ro', isa => 'Bool');
14 has VpcId => (is => 'ro', isa => 'Str');
15 has VpnPort => (is => 'ro', isa => 'Int');
16  
17 use MooseX::ClassAttribute;
18  
19 class_has _api_call => (isa => 'Str', is => 'ro', default => 'ModifyClientVpnEndpoint');
20 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::EC2::ModifyClientVpnEndpointResult');
21 class_has _result_key => (isa => 'Str', is => 'ro');
22 1;
23  
24 ### main pod documentation begin ###
25  
26 =head1 NAME
27  
28 Paws::EC2::ModifyClientVpnEndpoint - Arguments for method ModifyClientVpnEndpoint on L<Paws::EC2>
29  
30 =head1 DESCRIPTION
31  
32 This class represents the parameters used for calling the method ModifyClientVpnEndpoint on the
33 L<Amazon Elastic Compute Cloud|Paws::EC2> service. Use the attributes of this class
34 as arguments to method ModifyClientVpnEndpoint.
35  
36 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ModifyClientVpnEndpoint.
37  
38 =head1 SYNOPSIS
39  
40 my $ec2 = Paws->service('EC2');
41 my $ModifyClientVpnEndpointResult = $ec2->ModifyClientVpnEndpoint(
42 ClientVpnEndpointId => 'MyClientVpnEndpointId',
43 ClientConnectOptions => {
44 Enabled => 1, # OPTIONAL
45 LambdaFunctionArn => 'MyString', # OPTIONAL
46 }, # OPTIONAL
47 ConnectionLogOptions => {
48 CloudwatchLogGroup => 'MyString', # OPTIONAL
49 CloudwatchLogStream => 'MyString', # OPTIONAL
50 Enabled => 1, # OPTIONAL
51 }, # OPTIONAL
52 Description => 'MyString', # OPTIONAL
53 DnsServers => {
54 CustomDnsServers => [
55 'MyString', ... # OPTIONAL
56 ], # OPTIONAL
57 Enabled => 1, # OPTIONAL
58 }, # OPTIONAL
59 DryRun => 1, # OPTIONAL
60 SecurityGroupIds => [ 'MySecurityGroupId', ... ], # OPTIONAL
61 SelfServicePortal => 'enabled', # OPTIONAL
62 ServerCertificateArn => 'MyString', # OPTIONAL
63 SplitTunnel => 1, # OPTIONAL
64 VpcId => 'MyVpcId', # OPTIONAL
65 VpnPort => 1, # OPTIONAL
66 );
67  
68 # Results:
69 my $Return = $ModifyClientVpnEndpointResult->Return;
70  
71 # Returns a L<Paws::EC2::ModifyClientVpnEndpointResult> object.
72  
73 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.
74 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/ec2/ModifyClientVpnEndpoint>
75  
76 =head1 ATTRIBUTES
77  
78  
79 =head2 ClientConnectOptions => L<Paws::EC2::ClientConnectOptions>
80  
81 The options for managing connection authorization for new client
82 connections.
83  
84  
85  
86 =head2 B<REQUIRED> ClientVpnEndpointId => Str
87  
88 The ID of the Client VPN endpoint to modify.
89  
90  
91  
92 =head2 ConnectionLogOptions => L<Paws::EC2::ConnectionLogOptions>
93  
94 Information about the client connection logging options.
95  
96 If you enable client connection logging, data about client connections
97 is sent to a Cloudwatch Logs log stream. The following information is
98 logged:
99  
100 =over
101  
102 =item *
103  
104 Client connection requests
105  
106 =item *
107  
108 Client connection results (successful and unsuccessful)
109  
110 =item *
111  
112 Reasons for unsuccessful client connection requests
113  
114 =item *
115  
116 Client connection termination time
117  
118 =back
119  
120  
121  
122  
123 =head2 Description => Str
124  
125 A brief description of the Client VPN endpoint.
126  
127  
128  
129 =head2 DnsServers => L<Paws::EC2::DnsServersOptionsModifyStructure>
130  
131 Information about the DNS servers to be used by Client VPN connections.
132 A Client VPN endpoint can have up to two DNS servers.
133  
134  
135  
136 =head2 DryRun => Bool
137  
138 Checks whether you have the required permissions for the action,
139 without actually making the request, and provides an error response. If
140 you have the required permissions, the error response is
141 C<DryRunOperation>. Otherwise, it is C<UnauthorizedOperation>.
142  
143  
144  
145 =head2 SecurityGroupIds => ArrayRef[Str|Undef]
146  
147 The IDs of one or more security groups to apply to the target network.
148  
149  
150  
151 =head2 SelfServicePortal => Str
152  
153 Specify whether to enable the self-service portal for the Client VPN
154 endpoint.
155  
156 Valid values are: C<"enabled">, C<"disabled">
157  
158 =head2 ServerCertificateArn => Str
159  
160 The ARN of the server certificate to be used. The server certificate
161 must be provisioned in AWS Certificate Manager (ACM).
162  
163  
164  
165 =head2 SplitTunnel => Bool
166  
167 Indicates whether the VPN is split-tunnel.
168  
169 For information about split-tunnel VPN endpoints, see Split-Tunnel AWS
170 Client VPN Endpoint
171 (https://docs.aws.amazon.com/vpn/latest/clientvpn-admin/split-tunnel-vpn.html)
172 in the I<AWS Client VPN Administrator Guide>.
173  
174  
175  
176 =head2 VpcId => Str
177  
178 The ID of the VPC to associate with the Client VPN endpoint.
179  
180  
181  
182 =head2 VpnPort => Int
183  
184 The port number to assign to the Client VPN endpoint for TCP and UDP
185 traffic.
186  
187 Valid Values: C<443> | C<1194>
188  
189 Default Value: C<443>
190  
191  
192  
193  
194 =head1 SEE ALSO
195  
196 This class forms part of L<Paws>, documenting arguments for method ModifyClientVpnEndpoint in L<Paws::EC2>
197  
198 =head1 BUGS and CONTRIBUTIONS
199  
200 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
201  
202 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
203  
204 =cut
205