amazonka-dms-1.6.1: Amazon Database Migration Service 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.DMS.ModifyEventSubscription

Contents

Description

Modifies an existing AWS DMS event notification subscription.

Synopsis

Creating a Request

modifyEventSubscription Source #

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

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

  • mesSNSTopicARN - The Amazon Resource Name (ARN) of the Amazon SNS topic created for event notification. The ARN is created by Amazon SNS when you create a topic and subscribe to it.
  • mesEnabled - A Boolean value; set to true to activate the subscription.
  • mesSourceType - The type of AWS DMS resource that generates the events you want to subscribe to. Valid values: replication-instance | migration-task
  • mesEventCategories - A list of event categories for a source type that you want to subscribe to. Use the DescribeEventCategories action to see a list of event categories.
  • mesSubscriptionName - The name of the AWS DMS event notification subscription to be modified.

data ModifyEventSubscription Source #

See: modifyEventSubscription smart constructor.

Instances
Eq ModifyEventSubscription Source # 
Instance details

Defined in Network.AWS.DMS.ModifyEventSubscription

Data ModifyEventSubscription Source # 
Instance details

Defined in Network.AWS.DMS.ModifyEventSubscription

Methods

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

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

toConstr :: ModifyEventSubscription -> Constr #

dataTypeOf :: ModifyEventSubscription -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ModifyEventSubscription Source # 
Instance details

Defined in Network.AWS.DMS.ModifyEventSubscription

Show ModifyEventSubscription Source # 
Instance details

Defined in Network.AWS.DMS.ModifyEventSubscription

Generic ModifyEventSubscription Source # 
Instance details

Defined in Network.AWS.DMS.ModifyEventSubscription

Associated Types

type Rep ModifyEventSubscription :: Type -> Type #

Hashable ModifyEventSubscription Source # 
Instance details

Defined in Network.AWS.DMS.ModifyEventSubscription

ToJSON ModifyEventSubscription Source # 
Instance details

Defined in Network.AWS.DMS.ModifyEventSubscription

AWSRequest ModifyEventSubscription Source # 
Instance details

Defined in Network.AWS.DMS.ModifyEventSubscription

Associated Types

type Rs ModifyEventSubscription :: Type #

ToHeaders ModifyEventSubscription Source # 
Instance details

Defined in Network.AWS.DMS.ModifyEventSubscription

ToPath ModifyEventSubscription Source # 
Instance details

Defined in Network.AWS.DMS.ModifyEventSubscription

ToQuery ModifyEventSubscription Source # 
Instance details

Defined in Network.AWS.DMS.ModifyEventSubscription

NFData ModifyEventSubscription Source # 
Instance details

Defined in Network.AWS.DMS.ModifyEventSubscription

Methods

rnf :: ModifyEventSubscription -> () #

type Rep ModifyEventSubscription Source # 
Instance details

Defined in Network.AWS.DMS.ModifyEventSubscription

type Rep ModifyEventSubscription = D1 (MetaData "ModifyEventSubscription" "Network.AWS.DMS.ModifyEventSubscription" "amazonka-dms-1.6.1-14neO3bVY9yK6uL0mC7eXy" False) (C1 (MetaCons "ModifyEventSubscription'" PrefixI True) ((S1 (MetaSel (Just "_mesSNSTopicARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_mesEnabled") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 (MetaSel (Just "_mesSourceType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_mesEventCategories") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 (MetaSel (Just "_mesSubscriptionName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))
type Rs ModifyEventSubscription Source # 
Instance details

Defined in Network.AWS.DMS.ModifyEventSubscription

Request Lenses

mesSNSTopicARN :: Lens' ModifyEventSubscription (Maybe Text) Source #

The Amazon Resource Name (ARN) of the Amazon SNS topic created for event notification. The ARN is created by Amazon SNS when you create a topic and subscribe to it.

mesEnabled :: Lens' ModifyEventSubscription (Maybe Bool) Source #

A Boolean value; set to true to activate the subscription.

mesSourceType :: Lens' ModifyEventSubscription (Maybe Text) Source #

The type of AWS DMS resource that generates the events you want to subscribe to. Valid values: replication-instance | migration-task

mesEventCategories :: Lens' ModifyEventSubscription [Text] Source #

A list of event categories for a source type that you want to subscribe to. Use the DescribeEventCategories action to see a list of event categories.

mesSubscriptionName :: Lens' ModifyEventSubscription Text Source #

The name of the AWS DMS event notification subscription to be modified.

Destructuring the Response

modifyEventSubscriptionResponse Source #

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

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

data ModifyEventSubscriptionResponse Source #

See: modifyEventSubscriptionResponse smart constructor.

Instances
Eq ModifyEventSubscriptionResponse Source # 
Instance details

Defined in Network.AWS.DMS.ModifyEventSubscription

Data ModifyEventSubscriptionResponse Source # 
Instance details

Defined in Network.AWS.DMS.ModifyEventSubscription

Methods

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

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

toConstr :: ModifyEventSubscriptionResponse -> Constr #

dataTypeOf :: ModifyEventSubscriptionResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ModifyEventSubscriptionResponse Source # 
Instance details

Defined in Network.AWS.DMS.ModifyEventSubscription

Show ModifyEventSubscriptionResponse Source # 
Instance details

Defined in Network.AWS.DMS.ModifyEventSubscription

Generic ModifyEventSubscriptionResponse Source # 
Instance details

Defined in Network.AWS.DMS.ModifyEventSubscription

Associated Types

type Rep ModifyEventSubscriptionResponse :: Type -> Type #

NFData ModifyEventSubscriptionResponse Source # 
Instance details

Defined in Network.AWS.DMS.ModifyEventSubscription

type Rep ModifyEventSubscriptionResponse Source # 
Instance details

Defined in Network.AWS.DMS.ModifyEventSubscription

type Rep ModifyEventSubscriptionResponse = D1 (MetaData "ModifyEventSubscriptionResponse" "Network.AWS.DMS.ModifyEventSubscription" "amazonka-dms-1.6.1-14neO3bVY9yK6uL0mC7eXy" False) (C1 (MetaCons "ModifyEventSubscriptionResponse'" PrefixI True) (S1 (MetaSel (Just "_mesrsEventSubscription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe EventSubscription)) :*: S1 (MetaSel (Just "_mesrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))

Response Lenses