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

Copyright(c) 2013-2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@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.

See: AWS API Reference for AddSourceIdentifierToSubscription.

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:

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. An identifier must begin with a letter and must contain only ASCII letters, digits, and hyphens; it cannot end with a hyphen or contain two consecutive hyphens.

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:

Response Lenses