amazonka-rds-1.6.1: Amazon Relational Database 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.RDS.AddSourceIdentifierToSubscription

Contents

Description

Adds a source identifier to an existing RDS event notification subscription.

Synopsis

Creating a Request

addSourceIdentifierToSubscription Source #

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

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

  • asitsSubscriptionName - The name of the RDS event notification subscription you want to add a source identifier to.
  • asitsSourceIdentifier - The identifier of the event source to be added. Constraints: * If the source type is a DB instance, then a DBInstanceIdentifier must be supplied. * If the source type is a DB security group, a DBSecurityGroupName must be supplied. * If the source type is a DB parameter group, a DBParameterGroupName must be supplied. * If the source type is a DB snapshot, a DBSnapshotIdentifier must be supplied.

data AddSourceIdentifierToSubscription Source #

See: addSourceIdentifierToSubscription smart constructor.

Instances
Eq AddSourceIdentifierToSubscription Source # 
Instance details

Defined in Network.AWS.RDS.AddSourceIdentifierToSubscription

Data AddSourceIdentifierToSubscription Source # 
Instance details

Defined in Network.AWS.RDS.AddSourceIdentifierToSubscription

Methods

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

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

toConstr :: AddSourceIdentifierToSubscription -> Constr #

dataTypeOf :: AddSourceIdentifierToSubscription -> DataType #

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

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

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

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

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

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

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

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

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

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

Read AddSourceIdentifierToSubscription Source # 
Instance details

Defined in Network.AWS.RDS.AddSourceIdentifierToSubscription

Show AddSourceIdentifierToSubscription Source # 
Instance details

Defined in Network.AWS.RDS.AddSourceIdentifierToSubscription

Generic AddSourceIdentifierToSubscription Source # 
Instance details

Defined in Network.AWS.RDS.AddSourceIdentifierToSubscription

Associated Types

type Rep AddSourceIdentifierToSubscription :: Type -> Type #

Hashable AddSourceIdentifierToSubscription Source # 
Instance details

Defined in Network.AWS.RDS.AddSourceIdentifierToSubscription

AWSRequest AddSourceIdentifierToSubscription Source # 
Instance details

Defined in Network.AWS.RDS.AddSourceIdentifierToSubscription

Associated Types

type Rs AddSourceIdentifierToSubscription :: Type #

ToHeaders AddSourceIdentifierToSubscription Source # 
Instance details

Defined in Network.AWS.RDS.AddSourceIdentifierToSubscription

ToPath AddSourceIdentifierToSubscription Source # 
Instance details

Defined in Network.AWS.RDS.AddSourceIdentifierToSubscription

ToQuery AddSourceIdentifierToSubscription Source # 
Instance details

Defined in Network.AWS.RDS.AddSourceIdentifierToSubscription

NFData AddSourceIdentifierToSubscription Source # 
Instance details

Defined in Network.AWS.RDS.AddSourceIdentifierToSubscription

type Rep AddSourceIdentifierToSubscription Source # 
Instance details

Defined in Network.AWS.RDS.AddSourceIdentifierToSubscription

type Rep AddSourceIdentifierToSubscription = D1 (MetaData "AddSourceIdentifierToSubscription" "Network.AWS.RDS.AddSourceIdentifierToSubscription" "amazonka-rds-1.6.1-GvYb6r2di9RGFKQcoJXq1A" False) (C1 (MetaCons "AddSourceIdentifierToSubscription'" PrefixI True) (S1 (MetaSel (Just "_asitsSubscriptionName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_asitsSourceIdentifier") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))
type Rs AddSourceIdentifierToSubscription Source # 
Instance details

Defined in Network.AWS.RDS.AddSourceIdentifierToSubscription

Request Lenses

asitsSubscriptionName :: Lens' AddSourceIdentifierToSubscription Text Source #

The name of the RDS event notification subscription you want to add a source identifier to.

asitsSourceIdentifier :: Lens' AddSourceIdentifierToSubscription Text Source #

The identifier of the event source to be added. Constraints: * If the source type is a DB instance, then a DBInstanceIdentifier must be supplied. * If the source type is a DB security group, a DBSecurityGroupName must be supplied. * If the source type is a DB parameter group, a DBParameterGroupName must be supplied. * If the source type is a DB snapshot, a DBSnapshotIdentifier must be supplied.

Destructuring the Response

addSourceIdentifierToSubscriptionResponse Source #

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

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

data AddSourceIdentifierToSubscriptionResponse Source #

Instances
Eq AddSourceIdentifierToSubscriptionResponse Source # 
Instance details

Defined in Network.AWS.RDS.AddSourceIdentifierToSubscription

Data AddSourceIdentifierToSubscriptionResponse Source # 
Instance details

Defined in Network.AWS.RDS.AddSourceIdentifierToSubscription

Methods

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

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

toConstr :: AddSourceIdentifierToSubscriptionResponse -> Constr #

dataTypeOf :: AddSourceIdentifierToSubscriptionResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read AddSourceIdentifierToSubscriptionResponse Source # 
Instance details

Defined in Network.AWS.RDS.AddSourceIdentifierToSubscription

Show AddSourceIdentifierToSubscriptionResponse Source # 
Instance details

Defined in Network.AWS.RDS.AddSourceIdentifierToSubscription

Generic AddSourceIdentifierToSubscriptionResponse Source # 
Instance details

Defined in Network.AWS.RDS.AddSourceIdentifierToSubscription

NFData AddSourceIdentifierToSubscriptionResponse Source # 
Instance details

Defined in Network.AWS.RDS.AddSourceIdentifierToSubscription

type Rep AddSourceIdentifierToSubscriptionResponse Source # 
Instance details

Defined in Network.AWS.RDS.AddSourceIdentifierToSubscription

type Rep AddSourceIdentifierToSubscriptionResponse = D1 (MetaData "AddSourceIdentifierToSubscriptionResponse" "Network.AWS.RDS.AddSourceIdentifierToSubscription" "amazonka-rds-1.6.1-GvYb6r2di9RGFKQcoJXq1A" False) (C1 (MetaCons "AddSourceIdentifierToSubscriptionResponse'" PrefixI True) (S1 (MetaSel (Just "_asitsrsEventSubscription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe EventSubscription)) :*: S1 (MetaSel (Just "_asitsrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))

Response Lenses