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.CreateVPCEndpointConnectionNotification

Contents

Description

Creates a connection notification for a specified VPC endpoint or VPC endpoint service. A connection notification notifies you of specific endpoint events. You must create an SNS topic to receive notifications. For more information, see Create a Topic in the Amazon Simple Notification Service Developer Guide .

You can create a connection notification for interface endpoints only.

Synopsis

Creating a Request

createVPCEndpointConnectionNotification Source #

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

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

  • cvecnClientToken - Unique, case-sensitive identifier you provide to ensure the idempotency of the request. For more information, see How to Ensure Idempotency .
  • cvecnServiceId - The ID of the endpoint service.
  • cvecnVPCEndpointId - The ID of the endpoint.
  • cvecnDryRun - 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 .
  • cvecnConnectionNotificationARN - The ARN of the SNS topic for the notifications.
  • cvecnConnectionEvents - One or more endpoint events for which to receive notifications. Valid values are Accept , Connect , Delete , and Reject .

data CreateVPCEndpointConnectionNotification Source #

Instances
Eq CreateVPCEndpointConnectionNotification Source # 
Instance details

Defined in Network.AWS.EC2.CreateVPCEndpointConnectionNotification

Data CreateVPCEndpointConnectionNotification Source # 
Instance details

Defined in Network.AWS.EC2.CreateVPCEndpointConnectionNotification

Methods

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

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

toConstr :: CreateVPCEndpointConnectionNotification -> Constr #

dataTypeOf :: CreateVPCEndpointConnectionNotification -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CreateVPCEndpointConnectionNotification Source # 
Instance details

Defined in Network.AWS.EC2.CreateVPCEndpointConnectionNotification

Show CreateVPCEndpointConnectionNotification Source # 
Instance details

Defined in Network.AWS.EC2.CreateVPCEndpointConnectionNotification

Generic CreateVPCEndpointConnectionNotification Source # 
Instance details

Defined in Network.AWS.EC2.CreateVPCEndpointConnectionNotification

Hashable CreateVPCEndpointConnectionNotification Source # 
Instance details

Defined in Network.AWS.EC2.CreateVPCEndpointConnectionNotification

AWSRequest CreateVPCEndpointConnectionNotification Source # 
Instance details

Defined in Network.AWS.EC2.CreateVPCEndpointConnectionNotification

ToHeaders CreateVPCEndpointConnectionNotification Source # 
Instance details

Defined in Network.AWS.EC2.CreateVPCEndpointConnectionNotification

ToPath CreateVPCEndpointConnectionNotification Source # 
Instance details

Defined in Network.AWS.EC2.CreateVPCEndpointConnectionNotification

ToQuery CreateVPCEndpointConnectionNotification Source # 
Instance details

Defined in Network.AWS.EC2.CreateVPCEndpointConnectionNotification

NFData CreateVPCEndpointConnectionNotification Source # 
Instance details

Defined in Network.AWS.EC2.CreateVPCEndpointConnectionNotification

type Rep CreateVPCEndpointConnectionNotification Source # 
Instance details

Defined in Network.AWS.EC2.CreateVPCEndpointConnectionNotification

type Rep CreateVPCEndpointConnectionNotification = D1 (MetaData "CreateVPCEndpointConnectionNotification" "Network.AWS.EC2.CreateVPCEndpointConnectionNotification" "amazonka-ec2-1.6.1-GgG1M0FWcBrE5I5IM2QktE" False) (C1 (MetaCons "CreateVPCEndpointConnectionNotification'" PrefixI True) ((S1 (MetaSel (Just "_cvecnClientToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_cvecnServiceId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_cvecnVPCEndpointId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "_cvecnDryRun") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 (MetaSel (Just "_cvecnConnectionNotificationARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_cvecnConnectionEvents") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 [Text])))))
type Rs CreateVPCEndpointConnectionNotification Source # 
Instance details

Defined in Network.AWS.EC2.CreateVPCEndpointConnectionNotification

Request Lenses

cvecnClientToken :: Lens' CreateVPCEndpointConnectionNotification (Maybe Text) Source #

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

cvecnDryRun :: Lens' CreateVPCEndpointConnectionNotification (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 .

cvecnConnectionEvents :: Lens' CreateVPCEndpointConnectionNotification [Text] Source #

One or more endpoint events for which to receive notifications. Valid values are Accept , Connect , Delete , and Reject .

Destructuring the Response

createVPCEndpointConnectionNotificationResponse Source #

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

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

data CreateVPCEndpointConnectionNotificationResponse Source #

Instances
Eq CreateVPCEndpointConnectionNotificationResponse Source # 
Instance details

Defined in Network.AWS.EC2.CreateVPCEndpointConnectionNotification

Data CreateVPCEndpointConnectionNotificationResponse Source # 
Instance details

Defined in Network.AWS.EC2.CreateVPCEndpointConnectionNotification

Methods

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

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

toConstr :: CreateVPCEndpointConnectionNotificationResponse -> Constr #

dataTypeOf :: CreateVPCEndpointConnectionNotificationResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CreateVPCEndpointConnectionNotificationResponse Source # 
Instance details

Defined in Network.AWS.EC2.CreateVPCEndpointConnectionNotification

Show CreateVPCEndpointConnectionNotificationResponse Source # 
Instance details

Defined in Network.AWS.EC2.CreateVPCEndpointConnectionNotification

Generic CreateVPCEndpointConnectionNotificationResponse Source # 
Instance details

Defined in Network.AWS.EC2.CreateVPCEndpointConnectionNotification

NFData CreateVPCEndpointConnectionNotificationResponse Source # 
Instance details

Defined in Network.AWS.EC2.CreateVPCEndpointConnectionNotification

type Rep CreateVPCEndpointConnectionNotificationResponse Source # 
Instance details

Defined in Network.AWS.EC2.CreateVPCEndpointConnectionNotification

type Rep CreateVPCEndpointConnectionNotificationResponse = D1 (MetaData "CreateVPCEndpointConnectionNotificationResponse" "Network.AWS.EC2.CreateVPCEndpointConnectionNotification" "amazonka-ec2-1.6.1-GgG1M0FWcBrE5I5IM2QktE" False) (C1 (MetaCons "CreateVPCEndpointConnectionNotificationResponse'" PrefixI True) (S1 (MetaSel (Just "_cvecnrsClientToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_cvecnrsConnectionNotification") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ConnectionNotification)) :*: S1 (MetaSel (Just "_cvecnrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses

cvecnrsClientToken :: Lens' CreateVPCEndpointConnectionNotificationResponse (Maybe Text) Source #

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