amazonka-ec2-1.6.0: 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.CreateVPCEndpointServiceConfiguration

Contents

Description

Creates a VPC endpoint service configuration to which service consumers (AWS accounts, IAM users, and IAM roles) can connect. Service consumers can create an interface VPC endpoint to connect to your service.

To create an endpoint service configuration, you must first create a Network Load Balancer for your service. For more information, see VPC Endpoint Services in the Amazon Virtual Private Cloud User Guide .

Synopsis

Creating a Request

createVPCEndpointServiceConfiguration :: CreateVPCEndpointServiceConfiguration Source #

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

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

  • cvescClientToken - Unique, case-sensitive identifier you provide to ensure the idempotency of the request. For more information, see How to Ensure Idempotency .
  • cvescAcceptanceRequired - Indicate whether requests from service consumers to create an endpoint to your service must be accepted. To accept a request, use AcceptVpcEndpointConnections .
  • cvescDryRun - 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 .
  • cvescNetworkLoadBalancerARNs - The Amazon Resource Names (ARNs) of one or more Network Load Balancers for your service.

data CreateVPCEndpointServiceConfiguration Source #

Instances

Eq CreateVPCEndpointServiceConfiguration Source # 
Data CreateVPCEndpointServiceConfiguration Source # 

Methods

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

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

toConstr :: CreateVPCEndpointServiceConfiguration -> Constr #

dataTypeOf :: CreateVPCEndpointServiceConfiguration -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CreateVPCEndpointServiceConfiguration Source # 
Show CreateVPCEndpointServiceConfiguration Source # 
Generic CreateVPCEndpointServiceConfiguration Source # 
Hashable CreateVPCEndpointServiceConfiguration Source # 
NFData CreateVPCEndpointServiceConfiguration Source # 
AWSRequest CreateVPCEndpointServiceConfiguration Source # 
ToHeaders CreateVPCEndpointServiceConfiguration Source # 
ToPath CreateVPCEndpointServiceConfiguration Source # 
ToQuery CreateVPCEndpointServiceConfiguration Source # 
type Rep CreateVPCEndpointServiceConfiguration Source # 
type Rep CreateVPCEndpointServiceConfiguration = D1 * (MetaData "CreateVPCEndpointServiceConfiguration" "Network.AWS.EC2.CreateVPCEndpointServiceConfiguration" "amazonka-ec2-1.6.0-Kkew7Kpgof6EYi20Z0WOzs" False) (C1 * (MetaCons "CreateVPCEndpointServiceConfiguration'" PrefixI True) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_cvescClientToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_cvescAcceptanceRequired") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Bool)))) ((:*:) * (S1 * (MetaSel (Just Symbol "_cvescDryRun") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Bool))) (S1 * (MetaSel (Just Symbol "_cvescNetworkLoadBalancerARNs") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * [Text])))))
type Rs CreateVPCEndpointServiceConfiguration Source # 

Request Lenses

cvescClientToken :: Lens' CreateVPCEndpointServiceConfiguration (Maybe Text) Source #

Unique, case-sensitive identifier you provide to ensure the idempotency of the request. For more information, see How to Ensure Idempotency .

cvescAcceptanceRequired :: Lens' CreateVPCEndpointServiceConfiguration (Maybe Bool) Source #

Indicate whether requests from service consumers to create an endpoint to your service must be accepted. To accept a request, use AcceptVpcEndpointConnections .

cvescDryRun :: Lens' CreateVPCEndpointServiceConfiguration (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 .

cvescNetworkLoadBalancerARNs :: Lens' CreateVPCEndpointServiceConfiguration [Text] Source #

The Amazon Resource Names (ARNs) of one or more Network Load Balancers for your service.

Destructuring the Response

createVPCEndpointServiceConfigurationResponse Source #

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

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

data CreateVPCEndpointServiceConfigurationResponse Source #

Instances

Eq CreateVPCEndpointServiceConfigurationResponse Source # 
Data CreateVPCEndpointServiceConfigurationResponse Source # 

Methods

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

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

toConstr :: CreateVPCEndpointServiceConfigurationResponse -> Constr #

dataTypeOf :: CreateVPCEndpointServiceConfigurationResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CreateVPCEndpointServiceConfigurationResponse Source # 
Show CreateVPCEndpointServiceConfigurationResponse Source # 
Generic CreateVPCEndpointServiceConfigurationResponse Source # 
NFData CreateVPCEndpointServiceConfigurationResponse Source # 
type Rep CreateVPCEndpointServiceConfigurationResponse Source # 
type Rep CreateVPCEndpointServiceConfigurationResponse = D1 * (MetaData "CreateVPCEndpointServiceConfigurationResponse" "Network.AWS.EC2.CreateVPCEndpointServiceConfiguration" "amazonka-ec2-1.6.0-Kkew7Kpgof6EYi20Z0WOzs" False) (C1 * (MetaCons "CreateVPCEndpointServiceConfigurationResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_cvescrsClientToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_cvescrsServiceConfiguration") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe ServiceConfiguration))) (S1 * (MetaSel (Just Symbol "_cvescrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int)))))

Response Lenses

cvescrsClientToken :: Lens' CreateVPCEndpointServiceConfigurationResponse (Maybe Text) Source #

Unique, case-sensitive identifier you provide to ensure the idempotency of the request.