« blib/lib/Paws/EC2/ModifyVpcAttribute.pm
↑ Summary
blib/lib/Paws/EC2/ModifyVpcEndpointConnectionNotification.pm »
| 1 | |||
| 2 | package Paws::EC2::ModifyVpcEndpoint; | ||
| 3 | use Moose; | ||
| 4 | has AddRouteTableIds => (is => 'ro', isa => 'ArrayRef[Str|Undef]', traits => ['NameInRequest'], request_name => 'AddRouteTableId' ); | ||
| 5 | has AddSecurityGroupIds => (is => 'ro', isa => 'ArrayRef[Str|Undef]', traits => ['NameInRequest'], request_name => 'AddSecurityGroupId' ); | ||
| 6 | has AddSubnetIds => (is => 'ro', isa => 'ArrayRef[Str|Undef]', traits => ['NameInRequest'], request_name => 'AddSubnetId' ); | ||
| 7 | has DryRun => (is => 'ro', isa => 'Bool'); | ||
| 8 | has PolicyDocument => (is => 'ro', isa => 'Str'); | ||
| 9 | has PrivateDnsEnabled => (is => 'ro', isa => 'Bool'); | ||
| 10 | has RemoveRouteTableIds => (is => 'ro', isa => 'ArrayRef[Str|Undef]', traits => ['NameInRequest'], request_name => 'RemoveRouteTableId' ); | ||
| 11 | has RemoveSecurityGroupIds => (is => 'ro', isa => 'ArrayRef[Str|Undef]', traits => ['NameInRequest'], request_name => 'RemoveSecurityGroupId' ); | ||
| 12 | has RemoveSubnetIds => (is => 'ro', isa => 'ArrayRef[Str|Undef]', traits => ['NameInRequest'], request_name => 'RemoveSubnetId' ); | ||
| 13 | has ResetPolicy => (is => 'ro', isa => 'Bool'); | ||
| 14 | has VpcEndpointId => (is => 'ro', isa => 'Str', required => 1); | ||
| 15 | |||
| 16 | use MooseX::ClassAttribute; | ||
| 17 | |||
| 18 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'ModifyVpcEndpoint'); | ||
| 19 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::EC2::ModifyVpcEndpointResult'); | ||
| 20 | class_has _result_key => (isa => 'Str', is => 'ro'); | ||
| 21 | 1; | ||
| 22 | |||
| 23 | ### main pod documentation begin ### | ||
| 24 | |||
| 25 | =head1 NAME | ||
| 26 | |||
| 27 | Paws::EC2::ModifyVpcEndpoint - Arguments for method ModifyVpcEndpoint on L<Paws::EC2> | ||
| 28 | |||
| 29 | =head1 DESCRIPTION | ||
| 30 | |||
| 31 | This class represents the parameters used for calling the method ModifyVpcEndpoint on the | ||
| 32 | L<Amazon Elastic Compute Cloud|Paws::EC2> service. Use the attributes of this class | ||
| 33 | as arguments to method ModifyVpcEndpoint. | ||
| 34 | |||
| 35 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ModifyVpcEndpoint. | ||
| 36 | |||
| 37 | =head1 SYNOPSIS | ||
| 38 | |||
| 39 | my $ec2 = Paws->service('EC2'); | ||
| 40 | my $ModifyVpcEndpointResult = $ec2->ModifyVpcEndpoint( | ||
| 41 | VpcEndpointId => 'MyVpcEndpointId', | ||
| 42 | AddRouteTableIds => [ 'MyRouteTableId', ... ], # OPTIONAL | ||
| 43 | AddSecurityGroupIds => [ 'MySecurityGroupId', ... ], # OPTIONAL | ||
| 44 | AddSubnetIds => [ 'MySubnetId', ... ], # OPTIONAL | ||
| 45 | DryRun => 1, # OPTIONAL | ||
| 46 | PolicyDocument => 'MyString', # OPTIONAL | ||
| 47 | PrivateDnsEnabled => 1, # OPTIONAL | ||
| 48 | RemoveRouteTableIds => [ 'MyRouteTableId', ... ], # OPTIONAL | ||
| 49 | RemoveSecurityGroupIds => [ 'MySecurityGroupId', ... ], # OPTIONAL | ||
| 50 | RemoveSubnetIds => [ 'MySubnetId', ... ], # OPTIONAL | ||
| 51 | ResetPolicy => 1, # OPTIONAL | ||
| 52 | ); | ||
| 53 | |||
| 54 | # Results: | ||
| 55 | my $Return = $ModifyVpcEndpointResult->Return; | ||
| 56 | |||
| 57 | # Returns a L<Paws::EC2::ModifyVpcEndpointResult> object. | ||
| 58 | |||
| 59 | 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. | ||
| 60 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/ec2/ModifyVpcEndpoint> | ||
| 61 | |||
| 62 | =head1 ATTRIBUTES | ||
| 63 | |||
| 64 | |||
| 65 | =head2 AddRouteTableIds => ArrayRef[Str|Undef] | ||
| 66 | |||
| 67 | (Gateway endpoint) One or more route tables IDs to associate with the | ||
| 68 | endpoint. | ||
| 69 | |||
| 70 | |||
| 71 | |||
| 72 | =head2 AddSecurityGroupIds => ArrayRef[Str|Undef] | ||
| 73 | |||
| 74 | (Interface endpoint) One or more security group IDs to associate with | ||
| 75 | the network interface. | ||
| 76 | |||
| 77 | |||
| 78 | |||
| 79 | =head2 AddSubnetIds => ArrayRef[Str|Undef] | ||
| 80 | |||
| 81 | (Interface and Gateway Load Balancer endpoints) One or more subnet IDs | ||
| 82 | in which to serve the endpoint. For a Gateway Load Balancer endpoint, | ||
| 83 | you can specify only one subnet. | ||
| 84 | |||
| 85 | |||
| 86 | |||
| 87 | =head2 DryRun => Bool | ||
| 88 | |||
| 89 | Checks whether you have the required permissions for the action, | ||
| 90 | without actually making the request, and provides an error response. If | ||
| 91 | you have the required permissions, the error response is | ||
| 92 | C<DryRunOperation>. Otherwise, it is C<UnauthorizedOperation>. | ||
| 93 | |||
| 94 | |||
| 95 | |||
| 96 | =head2 PolicyDocument => Str | ||
| 97 | |||
| 98 | (Interface and gateway endpoints) A policy to attach to the endpoint | ||
| 99 | that controls access to the service. The policy must be in valid JSON | ||
| 100 | format. | ||
| 101 | |||
| 102 | |||
| 103 | |||
| 104 | =head2 PrivateDnsEnabled => Bool | ||
| 105 | |||
| 106 | (Interface endpoint) Indicates whether a private hosted zone is | ||
| 107 | associated with the VPC. | ||
| 108 | |||
| 109 | |||
| 110 | |||
| 111 | =head2 RemoveRouteTableIds => ArrayRef[Str|Undef] | ||
| 112 | |||
| 113 | (Gateway endpoint) One or more route table IDs to disassociate from the | ||
| 114 | endpoint. | ||
| 115 | |||
| 116 | |||
| 117 | |||
| 118 | =head2 RemoveSecurityGroupIds => ArrayRef[Str|Undef] | ||
| 119 | |||
| 120 | (Interface endpoint) One or more security group IDs to disassociate | ||
| 121 | from the network interface. | ||
| 122 | |||
| 123 | |||
| 124 | |||
| 125 | =head2 RemoveSubnetIds => ArrayRef[Str|Undef] | ||
| 126 | |||
| 127 | (Interface endpoint) One or more subnets IDs in which to remove the | ||
| 128 | endpoint. | ||
| 129 | |||
| 130 | |||
| 131 | |||
| 132 | =head2 ResetPolicy => Bool | ||
| 133 | |||
| 134 | (Gateway endpoint) Specify C<true> to reset the policy document to the | ||
| 135 | default policy. The default policy allows full access to the service. | ||
| 136 | |||
| 137 | |||
| 138 | |||
| 139 | =head2 B<REQUIRED> VpcEndpointId => Str | ||
| 140 | |||
| 141 | The ID of the endpoint. | ||
| 142 | |||
| 143 | |||
| 144 | |||
| 145 | |||
| 146 | =head1 SEE ALSO | ||
| 147 | |||
| 148 | This class forms part of L<Paws>, documenting arguments for method ModifyVpcEndpoint in L<Paws::EC2> | ||
| 149 | |||
| 150 | =head1 BUGS and CONTRIBUTIONS | ||
| 151 | |||
| 152 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 153 | |||
| 154 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 155 | |||
| 156 | =cut | ||
| 157 |