1 2package Paws::EC2::CreateVpcEndpoint { 3 use Moose; 4 has ClientToken => (is => 'ro', isa => 'Str'); 5 has DryRun => (is => 'ro', isa => 'Bool'); 6 has PolicyDocument => (is => 'ro', isa => 'Str'); 7 has RouteTableIds => (is => 'ro', isa => 'ArrayRef[Str]', traits => ['NameInRequest'], request_name => 'RouteTableId' ); 8 has ServiceName => (is => 'ro', isa => 'Str', required => 1); 9 has VpcId => (is => 'ro', isa => 'Str', required => 1); 10 11 use MooseX::ClassAttribute; 12 13 class_has _api_call => (isa => 'Str', is => 'ro', default => 'CreateVpcEndpoint'); 14 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::EC2::CreateVpcEndpointResult'); 15 class_has _result_key => (isa => 'Str', is => 'ro'); 16} 171; 18 19### main pod documentation begin ### 20 21=head1 NAME 22 23Paws::EC2::CreateVpcEndpoint - Arguments for method CreateVpcEndpoint on Paws::EC2 24 25=head1 DESCRIPTION 26 27This class represents the parameters used for calling the method CreateVpcEndpoint on the 28Amazon Elastic Compute Cloud service. Use the attributes of this class 29as arguments to method CreateVpcEndpoint. 30 31You shouln't make instances of this class. Each attribute should be used as a named argument in the call to CreateVpcEndpoint. 32 33As an example: 34 35 $service_obj->CreateVpcEndpoint(Att1 => $value1, Att2 => $value2, ...); 36 37Values 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. 38 39=head1 ATTRIBUTES 40 41=head2 ClientToken => Str 42 43 44 45Unique, case-sensitive identifier you provide to ensure the idempotency 46of the request. For more information, see How to Ensure Idempotency. 47 48 49 50 51 52 53 54 55 56 57=head2 DryRun => Bool 58 59 60 61Checks whether you have the required permissions for the action, 62without actually making the request, and provides an error response. If 63you have the required permissions, the error response is 64C<DryRunOperation>. Otherwise, it is C<UnauthorizedOperation>. 65 66 67 68 69 70 71 72 73 74 75=head2 PolicyDocument => Str 76 77 78 79A policy to attach to the endpoint that controls access to the service. 80The policy must be in valid JSON format. If this parameter is not 81specified, we attach a default policy that allows full access to the 82service. 83 84 85 86 87 88 89 90 91 92 93=head2 RouteTableIds => ArrayRef[Str] 94 95 96 97One or more route table IDs. 98 99 100 101 102 103 104 105 106 107 108=head2 B<REQUIRED> ServiceName => Str 109 110 111 112The AWS service name, in the form 113C<com.amazonaws.I<region>.I<service>>. To get a list of available 114services, use the DescribeVpcEndpointServices request. 115 116 117 118 119 120 121 122 123 124 125=head2 B<REQUIRED> VpcId => Str 126 127 128 129The ID of the VPC in which the endpoint will be used. 130 131 132 133 134 135 136 137 138 139 140 141 142=head1 SEE ALSO 143 144This class forms part of L<Paws>, documenting arguments for method CreateVpcEndpoint in L<Paws::EC2> 145 146=head1 BUGS and CONTRIBUTIONS 147 148The source code is located here: https://github.com/pplu/aws-sdk-perl 149 150Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues 151 152=cut 153 154