Safe Haskell | None |
---|---|
Language | Haskell2010 |
Adds a source identifier to an existing RDS event notification subscription.
http://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_AddSourceIdentifierToSubscription.html
- data AddSourceIdentifierToSubscription
- addSourceIdentifierToSubscription :: Text -> Text -> AddSourceIdentifierToSubscription
- asitsSourceIdentifier :: Lens' AddSourceIdentifierToSubscription Text
- asitsSubscriptionName :: Lens' AddSourceIdentifierToSubscription Text
- data AddSourceIdentifierToSubscriptionResponse
- addSourceIdentifierToSubscriptionResponse :: AddSourceIdentifierToSubscriptionResponse
- asitsrEventSubscription :: Lens' AddSourceIdentifierToSubscriptionResponse (Maybe EventSubscription)
Request
data AddSourceIdentifierToSubscription Source
Request constructor
addSourceIdentifierToSubscription Source
AddSourceIdentifierToSubscription
constructor.
The fields accessible through corresponding lenses are:
Request lenses
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.
asitsSubscriptionName :: Lens' AddSourceIdentifierToSubscription Text Source
The name of the RDS event notification subscription you want to add a source identifier to.
Response
Response constructor
addSourceIdentifierToSubscriptionResponse :: AddSourceIdentifierToSubscriptionResponse Source
AddSourceIdentifierToSubscriptionResponse
constructor.
The fields accessible through corresponding lenses are: