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

Copyright(c) 2013-2018 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.EC2.ModifyVPCEndpoint

Contents

Description

Modifies attributes of a specified VPC endpoint. The attributes that you can modify depend on the type of VPC endpoint (interface or gateway). For more information, see VPC Endpoints in the Amazon Virtual Private Cloud User Guide .

Synopsis

Creating a Request

modifyVPCEndpoint #

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:

  • mvePolicyDocument - (Gateway endpoint) A policy document to attach to the endpoint. The policy must be in valid JSON format.
  • mveRemoveRouteTableIds - (Gateway endpoint) One or more route table IDs to disassociate from the endpoint.
  • mveResetPolicy - (Gateway endpoint) Specify true to reset the policy document to the default policy. The default policy allows full access to the service.
  • mveAddRouteTableIds - (Gateway endpoint) One or more route tables IDs to associate with the endpoint.
  • mvePrivateDNSEnabled - (Interface endpoint) Indicate whether a private hosted zone is associated with the VPC.
  • mveAddSubnetIds - (Interface endpoint) One or more subnet IDs in which to serve the endpoint.
  • mveRemoveSubnetIds - (Interface endpoint) One or more subnets IDs in which to remove the endpoint.
  • mveAddSecurityGroupIds - (Interface endpoint) One or more security group IDs to associate with the network interface.
  • mveDryRun - 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 .
  • mveRemoveSecurityGroupIds - (Interface endpoint) One or more security group IDs to disassociate from the network interface.
  • mveVPCEndpointId - The ID of the endpoint.

data ModifyVPCEndpoint #

Contains the parameters for ModifyVpcEndpoint.

See: modifyVPCEndpoint smart constructor.

Instances
Eq ModifyVPCEndpoint # 
Instance details

Defined in Network.AWS.EC2.ModifyVPCEndpoint

Data ModifyVPCEndpoint # 
Instance details

Defined in Network.AWS.EC2.ModifyVPCEndpoint

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 # 
Instance details

Defined in Network.AWS.EC2.ModifyVPCEndpoint

Show ModifyVPCEndpoint # 
Instance details

Defined in Network.AWS.EC2.ModifyVPCEndpoint

Generic ModifyVPCEndpoint # 
Instance details

Defined in Network.AWS.EC2.ModifyVPCEndpoint

Associated Types

type Rep ModifyVPCEndpoint :: Type -> Type #

Hashable ModifyVPCEndpoint # 
Instance details

Defined in Network.AWS.EC2.ModifyVPCEndpoint

AWSRequest ModifyVPCEndpoint # 
Instance details

Defined in Network.AWS.EC2.ModifyVPCEndpoint

Associated Types

type Rs ModifyVPCEndpoint :: Type #

ToHeaders ModifyVPCEndpoint # 
Instance details

Defined in Network.AWS.EC2.ModifyVPCEndpoint

ToPath ModifyVPCEndpoint # 
Instance details

Defined in Network.AWS.EC2.ModifyVPCEndpoint

ToQuery ModifyVPCEndpoint # 
Instance details

Defined in Network.AWS.EC2.ModifyVPCEndpoint

NFData ModifyVPCEndpoint # 
Instance details

Defined in Network.AWS.EC2.ModifyVPCEndpoint

Methods

rnf :: ModifyVPCEndpoint -> () #

type Rep ModifyVPCEndpoint # 
Instance details

Defined in Network.AWS.EC2.ModifyVPCEndpoint

type Rep ModifyVPCEndpoint = D1 (MetaData "ModifyVPCEndpoint" "Network.AWS.EC2.ModifyVPCEndpoint" "amazonka-ec2-1.6.1-H98Zd65xIYr2z4e5UhW9ck" False) (C1 (MetaCons "ModifyVPCEndpoint'" PrefixI True) (((S1 (MetaSel (Just "_mvePolicyDocument") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_mveRemoveRouteTableIds") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text]))) :*: (S1 (MetaSel (Just "_mveResetPolicy") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 (MetaSel (Just "_mveAddRouteTableIds") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 (MetaSel (Just "_mvePrivateDNSEnabled") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))))) :*: ((S1 (MetaSel (Just "_mveAddSubnetIds") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 (MetaSel (Just "_mveRemoveSubnetIds") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 (MetaSel (Just "_mveAddSecurityGroupIds") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text])))) :*: (S1 (MetaSel (Just "_mveDryRun") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 (MetaSel (Just "_mveRemoveSecurityGroupIds") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 (MetaSel (Just "_mveVPCEndpointId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))))
type Rs ModifyVPCEndpoint # 
Instance details

Defined in Network.AWS.EC2.ModifyVPCEndpoint

Request Lenses

mvePolicyDocument :: Lens' ModifyVPCEndpoint (Maybe Text) #

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

mveRemoveRouteTableIds :: Lens' ModifyVPCEndpoint [Text] #

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

mveResetPolicy :: Lens' ModifyVPCEndpoint (Maybe Bool) #

(Gateway endpoint) Specify true to reset the policy document to the default policy. The default policy allows full access to the service.

mveAddRouteTableIds :: Lens' ModifyVPCEndpoint [Text] #

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

mvePrivateDNSEnabled :: Lens' ModifyVPCEndpoint (Maybe Bool) #

(Interface endpoint) Indicate whether a private hosted zone is associated with the VPC.

mveAddSubnetIds :: Lens' ModifyVPCEndpoint [Text] #

(Interface endpoint) One or more subnet IDs in which to serve the endpoint.

mveRemoveSubnetIds :: Lens' ModifyVPCEndpoint [Text] #

(Interface endpoint) One or more subnets IDs in which to remove the endpoint.

mveAddSecurityGroupIds :: Lens' ModifyVPCEndpoint [Text] #

(Interface endpoint) One or more security group IDs to associate with the network interface.

mveDryRun :: Lens' ModifyVPCEndpoint (Maybe Bool) #

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 .

mveRemoveSecurityGroupIds :: Lens' ModifyVPCEndpoint [Text] #

(Interface endpoint) One or more security group IDs to disassociate from the network interface.

mveVPCEndpointId :: Lens' ModifyVPCEndpoint Text #

The ID of the endpoint.

Destructuring the Response

modifyVPCEndpointResponse #

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 #

See: modifyVPCEndpointResponse smart constructor.

Instances
Eq ModifyVPCEndpointResponse # 
Instance details

Defined in Network.AWS.EC2.ModifyVPCEndpoint

Data ModifyVPCEndpointResponse # 
Instance details

Defined in Network.AWS.EC2.ModifyVPCEndpoint

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 # 
Instance details

Defined in Network.AWS.EC2.ModifyVPCEndpoint

Show ModifyVPCEndpointResponse # 
Instance details

Defined in Network.AWS.EC2.ModifyVPCEndpoint

Generic ModifyVPCEndpointResponse # 
Instance details

Defined in Network.AWS.EC2.ModifyVPCEndpoint

Associated Types

type Rep ModifyVPCEndpointResponse :: Type -> Type #

NFData ModifyVPCEndpointResponse # 
Instance details

Defined in Network.AWS.EC2.ModifyVPCEndpoint

type Rep ModifyVPCEndpointResponse # 
Instance details

Defined in Network.AWS.EC2.ModifyVPCEndpoint

type Rep ModifyVPCEndpointResponse = D1 (MetaData "ModifyVPCEndpointResponse" "Network.AWS.EC2.ModifyVPCEndpoint" "amazonka-ec2-1.6.1-H98Zd65xIYr2z4e5UhW9ck" False) (C1 (MetaCons "ModifyVPCEndpointResponse'" PrefixI True) (S1 (MetaSel (Just "_mversReturn") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_mversResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))

Response Lenses

mversReturn :: Lens' ModifyVPCEndpointResponse (Maybe Bool) #

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

mversResponseStatus :: Lens' ModifyVPCEndpointResponse Int #

  • - | The response status code.