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

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 # 
Show ModifyVPCEndpointConnectionNotification Source # 
Generic ModifyVPCEndpointConnectionNotification Source # 
Hashable ModifyVPCEndpointConnectionNotification Source # 
NFData ModifyVPCEndpointConnectionNotification Source # 
AWSRequest ModifyVPCEndpointConnectionNotification Source # 
ToHeaders ModifyVPCEndpointConnectionNotification Source # 
ToPath ModifyVPCEndpointConnectionNotification Source # 
ToQuery ModifyVPCEndpointConnectionNotification Source # 
type Rep ModifyVPCEndpointConnectionNotification Source # 
type Rep ModifyVPCEndpointConnectionNotification = D1 * (MetaData "ModifyVPCEndpointConnectionNotification" "Network.AWS.EC2.ModifyVPCEndpointConnectionNotification" "amazonka-ec2-1.6.0-Kkew7Kpgof6EYi20Z0WOzs" False) (C1 * (MetaCons "ModifyVPCEndpointConnectionNotification'" PrefixI True) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_mvecnConnectionEvents") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [Text]))) (S1 * (MetaSel (Just Symbol "_mvecnConnectionNotificationARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text)))) ((:*:) * (S1 * (MetaSel (Just Symbol "_mvecnDryRun") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Bool))) (S1 * (MetaSel (Just Symbol "_mvecnConnectionNotificationId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)))))
type Rs ModifyVPCEndpointConnectionNotification Source # 

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

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 # 
Show ModifyVPCEndpointConnectionNotificationResponse Source # 
Generic ModifyVPCEndpointConnectionNotificationResponse Source # 
NFData ModifyVPCEndpointConnectionNotificationResponse Source # 
type Rep ModifyVPCEndpointConnectionNotificationResponse Source # 
type Rep ModifyVPCEndpointConnectionNotificationResponse = D1 * (MetaData "ModifyVPCEndpointConnectionNotificationResponse" "Network.AWS.EC2.ModifyVPCEndpointConnectionNotification" "amazonka-ec2-1.6.0-Kkew7Kpgof6EYi20Z0WOzs" False) (C1 * (MetaCons "ModifyVPCEndpointConnectionNotificationResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_mvecnrsReturnValue") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Bool))) (S1 * (MetaSel (Just Symbol "_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.