| Copyright | (c) 2013-2016 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 |
Network.AWS.RDS.AddSourceIdentifierToSubscription
Description
Adds a source identifier to an existing RDS event notification subscription.
- 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 #
Arguments
| :: Text | |
| -> Text | |
| -> AddSourceIdentifierToSubscription |
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. 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 aDBInstanceIdentifiermust be supplied. * If the source type is a DB security group, aDBSecurityGroupNamemust be supplied. * If the source type is a DB parameter group, aDBParameterGroupNamemust be supplied. * If the source type is a DB snapshot, aDBSnapshotIdentifiermust be supplied.
data AddSourceIdentifierToSubscription Source #
See: addSourceIdentifierToSubscription smart constructor.
Instances
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:
asitsrsEventSubscription- Undocumented member.asitsrsResponseStatus- -- | The response status code.
data AddSourceIdentifierToSubscriptionResponse Source #
See: addSourceIdentifierToSubscriptionResponse smart constructor.
Instances
Response Lenses
asitsrsEventSubscription :: Lens' AddSourceIdentifierToSubscriptionResponse (Maybe EventSubscription) Source #
Undocumented member.
asitsrsResponseStatus :: Lens' AddSourceIdentifierToSubscriptionResponse Int Source #
- - | The response status code.