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

filter: Statementstmt 0.0% 0 / 19 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 21 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::EC2::CreateVpcEndpointServiceConfiguration;
3 use Moose;
4 has AcceptanceRequired => (is => 'ro', isa => 'Bool');
5 has ClientToken => (is => 'ro', isa => 'Str');
6 has DryRun => (is => 'ro', isa => 'Bool');
7 has GatewayLoadBalancerArns => (is => 'ro', isa => 'ArrayRef[Str|Undef]', traits => ['NameInRequest'], request_name => 'GatewayLoadBalancerArn' );
8 has NetworkLoadBalancerArns => (is => 'ro', isa => 'ArrayRef[Str|Undef]', traits => ['NameInRequest'], request_name => 'NetworkLoadBalancerArn' );
9 has PrivateDnsName => (is => 'ro', isa => 'Str');
10 has TagSpecifications => (is => 'ro', isa => 'ArrayRef[Paws::EC2::TagSpecification]', traits => ['NameInRequest'], request_name => 'TagSpecification' );
11  
12 use MooseX::ClassAttribute;
13  
14 class_has _api_call => (isa => 'Str', is => 'ro', default => 'CreateVpcEndpointServiceConfiguration');
15 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::EC2::CreateVpcEndpointServiceConfigurationResult');
16 class_has _result_key => (isa => 'Str', is => 'ro');
17 1;
18  
19 ### main pod documentation begin ###
20  
21 =head1 NAME
22  
23 Paws::EC2::CreateVpcEndpointServiceConfiguration - Arguments for method CreateVpcEndpointServiceConfiguration on L<Paws::EC2>
24  
25 =head1 DESCRIPTION
26  
27 This class represents the parameters used for calling the method CreateVpcEndpointServiceConfiguration on the
28 L<Amazon Elastic Compute Cloud|Paws::EC2> service. Use the attributes of this class
29 as arguments to method CreateVpcEndpointServiceConfiguration.
30  
31 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateVpcEndpointServiceConfiguration.
32  
33 =head1 SYNOPSIS
34  
35 my $ec2 = Paws->service('EC2');
36 my $CreateVpcEndpointServiceConfigurationResult =
37 $ec2->CreateVpcEndpointServiceConfiguration(
38 AcceptanceRequired => 1, # OPTIONAL
39 ClientToken => 'MyString', # OPTIONAL
40 DryRun => 1, # OPTIONAL
41 GatewayLoadBalancerArns => [ 'MyString', ... ], # OPTIONAL
42 NetworkLoadBalancerArns => [ 'MyString', ... ], # OPTIONAL
43 PrivateDnsName => 'MyString', # OPTIONAL
44 TagSpecifications => [
45 {
46 ResourceType => 'client-vpn-endpoint'
47 , # values: client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log; OPTIONAL
48 Tags => [
49 {
50 Key => 'MyString',
51 Value => 'MyString',
52 },
53 ...
54 ], # OPTIONAL
55 },
56 ...
57 ], # OPTIONAL
58 );
59  
60 # Results:
61 my $ClientToken = $CreateVpcEndpointServiceConfigurationResult->ClientToken;
62 my $ServiceConfiguration =
63 $CreateVpcEndpointServiceConfigurationResult->ServiceConfiguration;
64  
65 # Returns a L<Paws::EC2::CreateVpcEndpointServiceConfigurationResult> object.
66  
67 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.
68 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/ec2/CreateVpcEndpointServiceConfiguration>
69  
70 =head1 ATTRIBUTES
71  
72  
73 =head2 AcceptanceRequired => Bool
74  
75 Indicates whether requests from service consumers to create an endpoint
76 to your service must be accepted. To accept a request, use
77 AcceptVpcEndpointConnections.
78  
79  
80  
81 =head2 ClientToken => Str
82  
83 Unique, case-sensitive identifier that you provide to ensure the
84 idempotency of the request. For more information, see How to Ensure
85 Idempotency
86 (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Run_Instance_Idempotency.html).
87  
88  
89  
90 =head2 DryRun => Bool
91  
92 Checks whether you have the required permissions for the action,
93 without actually making the request, and provides an error response. If
94 you have the required permissions, the error response is
95 C<DryRunOperation>. Otherwise, it is C<UnauthorizedOperation>.
96  
97  
98  
99 =head2 GatewayLoadBalancerArns => ArrayRef[Str|Undef]
100  
101 The Amazon Resource Names (ARNs) of one or more Gateway Load Balancers.
102  
103  
104  
105 =head2 NetworkLoadBalancerArns => ArrayRef[Str|Undef]
106  
107 The Amazon Resource Names (ARNs) of one or more Network Load Balancers
108 for your service.
109  
110  
111  
112 =head2 PrivateDnsName => Str
113  
114 (Interface endpoint configuration) The private DNS name to assign to
115 the VPC endpoint service.
116  
117  
118  
119 =head2 TagSpecifications => ArrayRef[L<Paws::EC2::TagSpecification>]
120  
121 The tags to associate with the service.
122  
123  
124  
125  
126 =head1 SEE ALSO
127  
128 This class forms part of L<Paws>, documenting arguments for method CreateVpcEndpointServiceConfiguration in L<Paws::EC2>
129  
130 =head1 BUGS and CONTRIBUTIONS
131  
132 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
133  
134 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
135  
136 =cut
137