Copyright | (c) 2013-2017 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@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.
- 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:
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 aDBInstanceIdentifier
must be supplied. * If the source type is a DB security group, aDBSecurityGroupName
must be supplied. * If the source type is a DB parameter group, aDBParameterGroupName
must be supplied. * If the source type is a DB snapshot, aDBSnapshotIdentifier
must be supplied.
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. 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.
Response Lenses
asitsrsEventSubscription :: Lens' AddSourceIdentifierToSubscriptionResponse (Maybe EventSubscription) Source #
Undocumented member.
asitsrsResponseStatus :: Lens' AddSourceIdentifierToSubscriptionResponse Int Source #
- - | The response status code.