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

Copyright(c) 2013-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
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.

Synopsis

Creating a Request

modifyVPCEndpoint Source #

Creates a value of ModifyVPCEndpoint with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data ModifyVPCEndpoint Source #

Contains the parameters for ModifyVpcEndpoint.

See: modifyVPCEndpoint smart constructor.

Instances

Eq ModifyVPCEndpoint Source # 
Data ModifyVPCEndpoint Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ModifyVPCEndpoint -> c ModifyVPCEndpoint #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ModifyVPCEndpoint #

toConstr :: ModifyVPCEndpoint -> Constr #

dataTypeOf :: ModifyVPCEndpoint -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c ModifyVPCEndpoint) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ModifyVPCEndpoint) #

gmapT :: (forall b. Data b => b -> b) -> ModifyVPCEndpoint -> ModifyVPCEndpoint #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ModifyVPCEndpoint -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ModifyVPCEndpoint -> r #

gmapQ :: (forall d. Data d => d -> u) -> ModifyVPCEndpoint -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ModifyVPCEndpoint -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ModifyVPCEndpoint -> m ModifyVPCEndpoint #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ModifyVPCEndpoint -> m ModifyVPCEndpoint #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ModifyVPCEndpoint -> m ModifyVPCEndpoint #

Read ModifyVPCEndpoint Source # 
Show ModifyVPCEndpoint Source # 
Generic ModifyVPCEndpoint Source # 
Hashable ModifyVPCEndpoint Source # 
NFData ModifyVPCEndpoint Source # 

Methods

rnf :: ModifyVPCEndpoint -> () #

AWSRequest ModifyVPCEndpoint Source # 
ToPath ModifyVPCEndpoint Source # 
ToHeaders ModifyVPCEndpoint Source # 
ToQuery ModifyVPCEndpoint Source # 
type Rep ModifyVPCEndpoint Source # 
type Rep ModifyVPCEndpoint = D1 (MetaData "ModifyVPCEndpoint" "Network.AWS.EC2.ModifyVPCEndpoint" "amazonka-ec2-1.4.2-6EJAAVBh1q13dHrwE82a1F" False) (C1 (MetaCons "ModifyVPCEndpoint'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_mvePolicyDocument") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_mveRemoveRouteTableIds") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text]))) (S1 (MetaSel (Just Symbol "_mveResetPolicy") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))))) ((:*:) (S1 (MetaSel (Just Symbol "_mveAddRouteTableIds") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text]))) ((:*:) (S1 (MetaSel (Just Symbol "_mveDryRun") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) (S1 (MetaSel (Just Symbol "_mveVPCEndpointId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))))
type Rs ModifyVPCEndpoint Source # 

Request Lenses

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.

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.

Destructuring the Response

modifyVPCEndpointResponse Source #

Creates a value of ModifyVPCEndpointResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data ModifyVPCEndpointResponse Source #

Contains the output of ModifyVpcEndpoint.

See: modifyVPCEndpointResponse smart constructor.

Instances

Eq ModifyVPCEndpointResponse Source # 
Data ModifyVPCEndpointResponse Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ModifyVPCEndpointResponse -> c ModifyVPCEndpointResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ModifyVPCEndpointResponse #

toConstr :: ModifyVPCEndpointResponse -> Constr #

dataTypeOf :: ModifyVPCEndpointResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c ModifyVPCEndpointResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ModifyVPCEndpointResponse) #

gmapT :: (forall b. Data b => b -> b) -> ModifyVPCEndpointResponse -> ModifyVPCEndpointResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ModifyVPCEndpointResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ModifyVPCEndpointResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> ModifyVPCEndpointResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ModifyVPCEndpointResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ModifyVPCEndpointResponse -> m ModifyVPCEndpointResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ModifyVPCEndpointResponse -> m ModifyVPCEndpointResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ModifyVPCEndpointResponse -> m ModifyVPCEndpointResponse #

Read ModifyVPCEndpointResponse Source # 
Show ModifyVPCEndpointResponse Source # 
Generic ModifyVPCEndpointResponse Source # 
NFData ModifyVPCEndpointResponse Source # 
type Rep ModifyVPCEndpointResponse Source # 
type Rep ModifyVPCEndpointResponse = D1 (MetaData "ModifyVPCEndpointResponse" "Network.AWS.EC2.ModifyVPCEndpoint" "amazonka-ec2-1.4.2-6EJAAVBh1q13dHrwE82a1F" False) (C1 (MetaCons "ModifyVPCEndpointResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_mversReturn") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) (S1 (MetaSel (Just Symbol "_mversResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses

mversReturn :: Lens' ModifyVPCEndpointResponse (Maybe Bool) Source #

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