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 #

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 # 
Data 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 # 
Show ModifyVPCEndpointConnectionNotification # 
Generic ModifyVPCEndpointConnectionNotification # 
Hashable ModifyVPCEndpointConnectionNotification # 
NFData ModifyVPCEndpointConnectionNotification # 
AWSRequest ModifyVPCEndpointConnectionNotification # 
ToHeaders ModifyVPCEndpointConnectionNotification # 
ToPath ModifyVPCEndpointConnectionNotification # 
ToQuery ModifyVPCEndpointConnectionNotification # 
type Rep ModifyVPCEndpointConnectionNotification # 
type Rep ModifyVPCEndpointConnectionNotification = D1 * (MetaData "ModifyVPCEndpointConnectionNotification" "Network.AWS.EC2.ModifyVPCEndpointConnectionNotification" "amazonka-ec2-1.6.0-Dm9BQRbqSOK72xbfLZMG4m" 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 # 

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

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 # 
Show ModifyVPCEndpointConnectionNotificationResponse # 
Generic ModifyVPCEndpointConnectionNotificationResponse # 
NFData ModifyVPCEndpointConnectionNotificationResponse # 
type Rep ModifyVPCEndpointConnectionNotificationResponse # 
type Rep ModifyVPCEndpointConnectionNotificationResponse = D1 * (MetaData "ModifyVPCEndpointConnectionNotificationResponse" "Network.AWS.EC2.ModifyVPCEndpointConnectionNotification" "amazonka-ec2-1.6.0-Dm9BQRbqSOK72xbfLZMG4m" 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) #

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