amazonka-ec2-0.3.6.1: Amazon Elastic Compute Cloud SDK.

Safe HaskellNone
LanguageHaskell2010

Network.AWS.EC2.ModifyVpcEndpoint

Contents

Description

Modifies attributes of a specified VPC endpoint. You can modify the policy associated with the endpoint, and you can add and remove route tables associated with the endpoint.

http://docs.aws.amazon.com/AWSEC2/latest/APIReference/ApiReference-query-ModifyVpcEndpoint.html

Synopsis

Request

Request constructor

Request lenses

mveAddRouteTableIds :: Lens' ModifyVpcEndpoint [Text] Source

One or more route tables IDs to associate with the endpoint.

mveDryRun :: Lens' ModifyVpcEndpoint (Maybe Bool) Source

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

mvePolicyDocument :: Lens' ModifyVpcEndpoint (Maybe Text) Source

A policy document to attach to the endpoint. The policy must be in valid JSON format.

mveRemoveRouteTableIds :: Lens' ModifyVpcEndpoint [Text] Source

One or more route table IDs to disassociate from the endpoint.

mveResetPolicy :: Lens' ModifyVpcEndpoint (Maybe Bool) Source

Specify true to reset the policy document to the default policy. The default policy allows access to the service.

Response

Response constructor

modifyVpcEndpointResponse :: ModifyVpcEndpointResponse Source

ModifyVpcEndpointResponse constructor.

The fields accessible through corresponding lenses are:

Response lenses

mverReturn :: Lens' ModifyVpcEndpointResponse (Maybe Bool) Source

Returns true if the request succeeds; otherwise, it returns an error.