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

Contents

Description

Modifies a connection notification for VPC endpoint or VPC endpoint service. You can change the SNS topic for the notification, or the events for which to be notified.

Synopsis

Creating a Request

modifyVPCEndpointConnectionNotification #

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

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

  • mvecnConnectionEvents - One or more events for the endpoint. Valid values are Accept , Connect , Delete , and Reject .
  • mvecnConnectionNotificationARN - The ARN for the SNS topic for the notification.
  • mvecnDryRun - 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 .
  • mvecnConnectionNotificationId - The ID of the notification.

data ModifyVPCEndpointConnectionNotification #

Instances
Eq ModifyVPCEndpointConnectionNotification # 
Instance details

Defined in Network.AWS.EC2.ModifyVPCEndpointConnectionNotification

Data ModifyVPCEndpointConnectionNotification # 
Instance details

Defined in Network.AWS.EC2.ModifyVPCEndpointConnectionNotification

Methods

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

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

toConstr :: ModifyVPCEndpointConnectionNotification -> Constr #

dataTypeOf :: ModifyVPCEndpointConnectionNotification -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ModifyVPCEndpointConnectionNotification # 
Instance details

Defined in Network.AWS.EC2.ModifyVPCEndpointConnectionNotification

Show ModifyVPCEndpointConnectionNotification # 
Instance details

Defined in Network.AWS.EC2.ModifyVPCEndpointConnectionNotification

Generic ModifyVPCEndpointConnectionNotification # 
Instance details

Defined in Network.AWS.EC2.ModifyVPCEndpointConnectionNotification

Hashable ModifyVPCEndpointConnectionNotification # 
Instance details

Defined in Network.AWS.EC2.ModifyVPCEndpointConnectionNotification

AWSRequest ModifyVPCEndpointConnectionNotification # 
Instance details

Defined in Network.AWS.EC2.ModifyVPCEndpointConnectionNotification

ToHeaders ModifyVPCEndpointConnectionNotification # 
Instance details

Defined in Network.AWS.EC2.ModifyVPCEndpointConnectionNotification

ToPath ModifyVPCEndpointConnectionNotification # 
Instance details

Defined in Network.AWS.EC2.ModifyVPCEndpointConnectionNotification

ToQuery ModifyVPCEndpointConnectionNotification # 
Instance details

Defined in Network.AWS.EC2.ModifyVPCEndpointConnectionNotification

NFData ModifyVPCEndpointConnectionNotification # 
Instance details

Defined in Network.AWS.EC2.ModifyVPCEndpointConnectionNotification

type Rep ModifyVPCEndpointConnectionNotification # 
Instance details

Defined in Network.AWS.EC2.ModifyVPCEndpointConnectionNotification

type Rep ModifyVPCEndpointConnectionNotification = D1 (MetaData "ModifyVPCEndpointConnectionNotification" "Network.AWS.EC2.ModifyVPCEndpointConnectionNotification" "amazonka-ec2-1.6.1-H98Zd65xIYr2z4e5UhW9ck" False) (C1 (MetaCons "ModifyVPCEndpointConnectionNotification'" PrefixI True) ((S1 (MetaSel (Just "_mvecnConnectionEvents") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 (MetaSel (Just "_mvecnConnectionNotificationARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_mvecnDryRun") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_mvecnConnectionNotificationId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs ModifyVPCEndpointConnectionNotification # 
Instance details

Defined in Network.AWS.EC2.ModifyVPCEndpointConnectionNotification

Request Lenses

mvecnConnectionEvents :: Lens' ModifyVPCEndpointConnectionNotification [Text] #

One or more events for the endpoint. Valid values are Accept , Connect , Delete , and Reject .

mvecnConnectionNotificationARN :: Lens' ModifyVPCEndpointConnectionNotification (Maybe Text) #

The ARN for the SNS topic for the notification.

mvecnDryRun :: Lens' ModifyVPCEndpointConnectionNotification (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 .

Destructuring the Response

modifyVPCEndpointConnectionNotificationResponse #

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

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

data ModifyVPCEndpointConnectionNotificationResponse #

Instances
Eq ModifyVPCEndpointConnectionNotificationResponse # 
Instance details

Defined in Network.AWS.EC2.ModifyVPCEndpointConnectionNotification

Data ModifyVPCEndpointConnectionNotificationResponse # 
Instance details

Defined in Network.AWS.EC2.ModifyVPCEndpointConnectionNotification

Methods

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

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

toConstr :: ModifyVPCEndpointConnectionNotificationResponse -> Constr #

dataTypeOf :: ModifyVPCEndpointConnectionNotificationResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ModifyVPCEndpointConnectionNotificationResponse # 
Instance details

Defined in Network.AWS.EC2.ModifyVPCEndpointConnectionNotification

Show ModifyVPCEndpointConnectionNotificationResponse # 
Instance details

Defined in Network.AWS.EC2.ModifyVPCEndpointConnectionNotification

Generic ModifyVPCEndpointConnectionNotificationResponse # 
Instance details

Defined in Network.AWS.EC2.ModifyVPCEndpointConnectionNotification

NFData ModifyVPCEndpointConnectionNotificationResponse # 
Instance details

Defined in Network.AWS.EC2.ModifyVPCEndpointConnectionNotification

type Rep ModifyVPCEndpointConnectionNotificationResponse # 
Instance details

Defined in Network.AWS.EC2.ModifyVPCEndpointConnectionNotification

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

Response Lenses

mvecnrsReturnValue :: Lens' ModifyVPCEndpointConnectionNotificationResponse (Maybe Bool) #

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