amazonka-rds-1.5.0: Amazon Relational Database Service SDK.

Copyright(c) 2013-2017 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 # 
Data AddSourceIdentifierToSubscription Source # 

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 # 
Show AddSourceIdentifierToSubscription Source # 
Generic AddSourceIdentifierToSubscription Source # 
Hashable AddSourceIdentifierToSubscription Source # 
NFData AddSourceIdentifierToSubscription Source # 
AWSRequest AddSourceIdentifierToSubscription Source # 
ToQuery AddSourceIdentifierToSubscription Source # 
ToPath AddSourceIdentifierToSubscription Source # 
ToHeaders AddSourceIdentifierToSubscription Source # 
type Rep AddSourceIdentifierToSubscription Source # 
type Rep AddSourceIdentifierToSubscription = D1 (MetaData "AddSourceIdentifierToSubscription" "Network.AWS.RDS.AddSourceIdentifierToSubscription" "amazonka-rds-1.5.0-4pv5DetELOaBXetw2fB1GM" False) (C1 (MetaCons "AddSourceIdentifierToSubscription'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_asitsSubscriptionName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_asitsSourceIdentifier") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs AddSourceIdentifierToSubscription Source # 

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

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 # 
Show AddSourceIdentifierToSubscriptionResponse Source # 
Generic AddSourceIdentifierToSubscriptionResponse Source # 
NFData AddSourceIdentifierToSubscriptionResponse Source # 
type Rep AddSourceIdentifierToSubscriptionResponse Source # 
type Rep AddSourceIdentifierToSubscriptionResponse = D1 (MetaData "AddSourceIdentifierToSubscriptionResponse" "Network.AWS.RDS.AddSourceIdentifierToSubscription" "amazonka-rds-1.5.0-4pv5DetELOaBXetw2fB1GM" False) (C1 (MetaCons "AddSourceIdentifierToSubscriptionResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_asitsrsEventSubscription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe EventSubscription))) (S1 (MetaSel (Just Symbol "_asitsrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses