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 #

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 #

Instances
Eq CreateVPCEndpointConnectionNotification # 
Instance details

Defined in Network.AWS.EC2.CreateVPCEndpointConnectionNotification

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

Defined in Network.AWS.EC2.CreateVPCEndpointConnectionNotification

Show CreateVPCEndpointConnectionNotification # 
Instance details

Defined in Network.AWS.EC2.CreateVPCEndpointConnectionNotification

Generic CreateVPCEndpointConnectionNotification # 
Instance details

Defined in Network.AWS.EC2.CreateVPCEndpointConnectionNotification

Hashable CreateVPCEndpointConnectionNotification # 
Instance details

Defined in Network.AWS.EC2.CreateVPCEndpointConnectionNotification

AWSRequest CreateVPCEndpointConnectionNotification # 
Instance details

Defined in Network.AWS.EC2.CreateVPCEndpointConnectionNotification

ToHeaders CreateVPCEndpointConnectionNotification # 
Instance details

Defined in Network.AWS.EC2.CreateVPCEndpointConnectionNotification

ToPath CreateVPCEndpointConnectionNotification # 
Instance details

Defined in Network.AWS.EC2.CreateVPCEndpointConnectionNotification

ToQuery CreateVPCEndpointConnectionNotification # 
Instance details

Defined in Network.AWS.EC2.CreateVPCEndpointConnectionNotification

NFData CreateVPCEndpointConnectionNotification # 
Instance details

Defined in Network.AWS.EC2.CreateVPCEndpointConnectionNotification

type Rep CreateVPCEndpointConnectionNotification # 
Instance details

Defined in Network.AWS.EC2.CreateVPCEndpointConnectionNotification

type Rep CreateVPCEndpointConnectionNotification = D1 (MetaData "CreateVPCEndpointConnectionNotification" "Network.AWS.EC2.CreateVPCEndpointConnectionNotification" "amazonka-ec2-1.6.1-H98Zd65xIYr2z4e5UhW9ck" 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 # 
Instance details

Defined in Network.AWS.EC2.CreateVPCEndpointConnectionNotification

Request Lenses

cvecnClientToken :: Lens' CreateVPCEndpointConnectionNotification (Maybe Text) #

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) #

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 :: Lens' CreateVPCEndpointConnectionNotification Text #

The ARN of the SNS topic for the notifications.

cvecnConnectionEvents :: Lens' CreateVPCEndpointConnectionNotification [Text] #

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

Destructuring the Response

createVPCEndpointConnectionNotificationResponse #

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 #

Instances
Eq CreateVPCEndpointConnectionNotificationResponse # 
Instance details

Defined in Network.AWS.EC2.CreateVPCEndpointConnectionNotification

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

Defined in Network.AWS.EC2.CreateVPCEndpointConnectionNotification

Show CreateVPCEndpointConnectionNotificationResponse # 
Instance details

Defined in Network.AWS.EC2.CreateVPCEndpointConnectionNotification

Generic CreateVPCEndpointConnectionNotificationResponse # 
Instance details

Defined in Network.AWS.EC2.CreateVPCEndpointConnectionNotification

NFData CreateVPCEndpointConnectionNotificationResponse # 
Instance details

Defined in Network.AWS.EC2.CreateVPCEndpointConnectionNotification

type Rep CreateVPCEndpointConnectionNotificationResponse # 
Instance details

Defined in Network.AWS.EC2.CreateVPCEndpointConnectionNotification

type Rep CreateVPCEndpointConnectionNotificationResponse = D1 (MetaData "CreateVPCEndpointConnectionNotificationResponse" "Network.AWS.EC2.CreateVPCEndpointConnectionNotification" "amazonka-ec2-1.6.1-H98Zd65xIYr2z4e5UhW9ck" 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) #

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