Copyright | (c) 2013-2015 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Adds a source identifier to an existing RDS event notification subscription.
See: AWS API Reference for AddSourceIdentifierToSubscription.
- addSourceIdentifierToSubscription :: Text -> Text -> AddSourceIdentifierToSubscription
- data AddSourceIdentifierToSubscription
- asitsSubscriptionName :: Lens' AddSourceIdentifierToSubscription Text
- asitsSourceIdentifier :: Lens' AddSourceIdentifierToSubscription Text
- addSourceIdentifierToSubscriptionResponse :: Int -> AddSourceIdentifierToSubscriptionResponse
- data AddSourceIdentifierToSubscriptionResponse
- asitsrsEventSubscription :: Lens' AddSourceIdentifierToSubscriptionResponse (Maybe EventSubscription)
- asitsrsResponseStatus :: Lens' AddSourceIdentifierToSubscriptionResponse Int
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:
data AddSourceIdentifierToSubscription Source
See: addSourceIdentifierToSubscription
smart constructor.
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:
data AddSourceIdentifierToSubscriptionResponse Source
See: addSourceIdentifierToSubscriptionResponse
smart constructor.
Response Lenses
asitsrsEventSubscription :: Lens' AddSourceIdentifierToSubscriptionResponse (Maybe EventSubscription) Source
Undocumented member.
asitsrsResponseStatus :: Lens' AddSourceIdentifierToSubscriptionResponse Int Source
The response status code.