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

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

Instances
Eq ModifyVPCEndpointConnectionNotification Source # 
Instance details

Defined in Network.AWS.EC2.ModifyVPCEndpointConnectionNotification

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

Defined in Network.AWS.EC2.ModifyVPCEndpointConnectionNotification

Show ModifyVPCEndpointConnectionNotification Source # 
Instance details

Defined in Network.AWS.EC2.ModifyVPCEndpointConnectionNotification

Generic ModifyVPCEndpointConnectionNotification Source # 
Instance details

Defined in Network.AWS.EC2.ModifyVPCEndpointConnectionNotification

Hashable ModifyVPCEndpointConnectionNotification Source # 
Instance details

Defined in Network.AWS.EC2.ModifyVPCEndpointConnectionNotification

AWSRequest ModifyVPCEndpointConnectionNotification Source # 
Instance details

Defined in Network.AWS.EC2.ModifyVPCEndpointConnectionNotification

ToHeaders ModifyVPCEndpointConnectionNotification Source # 
Instance details

Defined in Network.AWS.EC2.ModifyVPCEndpointConnectionNotification

ToPath ModifyVPCEndpointConnectionNotification Source # 
Instance details

Defined in Network.AWS.EC2.ModifyVPCEndpointConnectionNotification

ToQuery ModifyVPCEndpointConnectionNotification Source # 
Instance details

Defined in Network.AWS.EC2.ModifyVPCEndpointConnectionNotification

NFData ModifyVPCEndpointConnectionNotification Source # 
Instance details

Defined in Network.AWS.EC2.ModifyVPCEndpointConnectionNotification

type Rep ModifyVPCEndpointConnectionNotification Source # 
Instance details

Defined in Network.AWS.EC2.ModifyVPCEndpointConnectionNotification

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

Defined in Network.AWS.EC2.ModifyVPCEndpointConnectionNotification

Request Lenses

mvecnConnectionEvents :: Lens' ModifyVPCEndpointConnectionNotification [Text] Source #

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

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

Destructuring the Response

modifyVPCEndpointConnectionNotificationResponse Source #

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

Instances
Eq ModifyVPCEndpointConnectionNotificationResponse Source # 
Instance details

Defined in Network.AWS.EC2.ModifyVPCEndpointConnectionNotification

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

Defined in Network.AWS.EC2.ModifyVPCEndpointConnectionNotification

Show ModifyVPCEndpointConnectionNotificationResponse Source # 
Instance details

Defined in Network.AWS.EC2.ModifyVPCEndpointConnectionNotification

Generic ModifyVPCEndpointConnectionNotificationResponse Source # 
Instance details

Defined in Network.AWS.EC2.ModifyVPCEndpointConnectionNotification

NFData ModifyVPCEndpointConnectionNotificationResponse Source # 
Instance details

Defined in Network.AWS.EC2.ModifyVPCEndpointConnectionNotification

type Rep ModifyVPCEndpointConnectionNotificationResponse Source # 
Instance details

Defined in Network.AWS.EC2.ModifyVPCEndpointConnectionNotification

type Rep ModifyVPCEndpointConnectionNotificationResponse = D1 (MetaData "ModifyVPCEndpointConnectionNotificationResponse" "Network.AWS.EC2.ModifyVPCEndpointConnectionNotification" "amazonka-ec2-1.6.1-GgG1M0FWcBrE5I5IM2QktE" 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) Source #

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