blib/lib/Paws/EC2/ModifyVpcEndpointServiceConfiguration.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::ModifyVpcEndpointServiceConfiguration;
3 use Moose;
4 has AcceptanceRequired => (is => 'ro', isa => 'Bool');
5 has AddGatewayLoadBalancerArns => (is => 'ro', isa => 'ArrayRef[Str|Undef]', traits => ['NameInRequest'], request_name => 'AddGatewayLoadBalancerArn' );
6 has AddNetworkLoadBalancerArns => (is => 'ro', isa => 'ArrayRef[Str|Undef]', traits => ['NameInRequest'], request_name => 'AddNetworkLoadBalancerArn' );
7 has DryRun => (is => 'ro', isa => 'Bool');
8 has PrivateDnsName => (is => 'ro', isa => 'Str');
9 has RemoveGatewayLoadBalancerArns => (is => 'ro', isa => 'ArrayRef[Str|Undef]', traits => ['NameInRequest'], request_name => 'RemoveGatewayLoadBalancerArn' );
10 has RemoveNetworkLoadBalancerArns => (is => 'ro', isa => 'ArrayRef[Str|Undef]', traits => ['NameInRequest'], request_name => 'RemoveNetworkLoadBalancerArn' );
11 has RemovePrivateDnsName => (is => 'ro', isa => 'Bool');
12 has ServiceId => (is => 'ro', isa => 'Str', required => 1);
13  
14 use MooseX::ClassAttribute;
15  
16 class_has _api_call => (isa => 'Str', is => 'ro', default => 'ModifyVpcEndpointServiceConfiguration');
17 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::EC2::ModifyVpcEndpointServiceConfigurationResult');
18 class_has _result_key => (isa => 'Str', is => 'ro');
19 1;
20  
21 ### main pod documentation begin ###
22  
23 =head1 NAME
24  
25 Paws::EC2::ModifyVpcEndpointServiceConfiguration - Arguments for method ModifyVpcEndpointServiceConfiguration on L<Paws::EC2>
26  
27 =head1 DESCRIPTION
28  
29 This class represents the parameters used for calling the method ModifyVpcEndpointServiceConfiguration on the
30 L<Amazon Elastic Compute Cloud|Paws::EC2> service. Use the attributes of this class
31 as arguments to method ModifyVpcEndpointServiceConfiguration.
32  
33 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ModifyVpcEndpointServiceConfiguration.
34  
35 =head1 SYNOPSIS
36  
37 my $ec2 = Paws->service('EC2');
38 my $ModifyVpcEndpointServiceConfigurationResult =
39 $ec2->ModifyVpcEndpointServiceConfiguration(
40 ServiceId => 'MyVpcEndpointServiceId',
41 AcceptanceRequired => 1, # OPTIONAL
42 AddGatewayLoadBalancerArns => [ 'MyString', ... ], # OPTIONAL
43 AddNetworkLoadBalancerArns => [ 'MyString', ... ], # OPTIONAL
44 DryRun => 1, # OPTIONAL
45 PrivateDnsName => 'MyString', # OPTIONAL
46 RemoveGatewayLoadBalancerArns => [ 'MyString', ... ], # OPTIONAL
47 RemoveNetworkLoadBalancerArns => [ 'MyString', ... ], # OPTIONAL
48 RemovePrivateDnsName => 1, # OPTIONAL
49 );
50  
51 # Results:
52 my $Return = $ModifyVpcEndpointServiceConfigurationResult->Return;
53  
54 # Returns a L<Paws::EC2::ModifyVpcEndpointServiceConfigurationResult> object.
55  
56 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.
57 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/ec2/ModifyVpcEndpointServiceConfiguration>
58  
59 =head1 ATTRIBUTES
60  
61  
62 =head2 AcceptanceRequired => Bool
63  
64 Indicates whether requests to create an endpoint to your service must
65 be accepted.
66  
67  
68  
69 =head2 AddGatewayLoadBalancerArns => ArrayRef[Str|Undef]
70  
71 The Amazon Resource Names (ARNs) of Gateway Load Balancers to add to
72 your service configuration.
73  
74  
75  
76 =head2 AddNetworkLoadBalancerArns => ArrayRef[Str|Undef]
77  
78 The Amazon Resource Names (ARNs) of Network Load Balancers to add to
79 your service configuration.
80  
81  
82  
83 =head2 DryRun => Bool
84  
85 Checks whether you have the required permissions for the action,
86 without actually making the request, and provides an error response. If
87 you have the required permissions, the error response is
88 C<DryRunOperation>. Otherwise, it is C<UnauthorizedOperation>.
89  
90  
91  
92 =head2 PrivateDnsName => Str
93  
94 (Interface endpoint configuration) The private DNS name to assign to
95 the endpoint service.
96  
97  
98  
99 =head2 RemoveGatewayLoadBalancerArns => ArrayRef[Str|Undef]
100  
101 The Amazon Resource Names (ARNs) of Gateway Load Balancers to remove
102 from your service configuration.
103  
104  
105  
106 =head2 RemoveNetworkLoadBalancerArns => ArrayRef[Str|Undef]
107  
108 The Amazon Resource Names (ARNs) of Network Load Balancers to remove
109 from your service configuration.
110  
111  
112  
113 =head2 RemovePrivateDnsName => Bool
114  
115 (Interface endpoint configuration) Removes the private DNS name of the
116 endpoint service.
117  
118  
119  
120 =head2 B<REQUIRED> ServiceId => Str
121  
122 The ID of the service.
123  
124  
125  
126  
127 =head1 SEE ALSO
128  
129 This class forms part of L<Paws>, documenting arguments for method ModifyVpcEndpointServiceConfiguration in L<Paws::EC2>
130  
131 =head1 BUGS and CONTRIBUTIONS
132  
133 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
134  
135 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
136  
137 =cut
138