Copyright | (c) 2013-2021 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 |
Removes a source identifier from an existing RDS event notification subscription.
Synopsis
- data RemoveSourceIdentifierFromSubscription = RemoveSourceIdentifierFromSubscription' {}
- newRemoveSourceIdentifierFromSubscription :: Text -> Text -> RemoveSourceIdentifierFromSubscription
- removeSourceIdentifierFromSubscription_subscriptionName :: Lens' RemoveSourceIdentifierFromSubscription Text
- removeSourceIdentifierFromSubscription_sourceIdentifier :: Lens' RemoveSourceIdentifierFromSubscription Text
- data RemoveSourceIdentifierFromSubscriptionResponse = RemoveSourceIdentifierFromSubscriptionResponse' {}
- newRemoveSourceIdentifierFromSubscriptionResponse :: Int -> RemoveSourceIdentifierFromSubscriptionResponse
- removeSourceIdentifierFromSubscriptionResponse_eventSubscription :: Lens' RemoveSourceIdentifierFromSubscriptionResponse (Maybe EventSubscription)
- removeSourceIdentifierFromSubscriptionResponse_httpStatus :: Lens' RemoveSourceIdentifierFromSubscriptionResponse Int
Creating a Request
data RemoveSourceIdentifierFromSubscription Source #
See: newRemoveSourceIdentifierFromSubscription
smart constructor.
RemoveSourceIdentifierFromSubscription' | |
|
Instances
newRemoveSourceIdentifierFromSubscription Source #
:: Text |
|
-> Text |
|
-> RemoveSourceIdentifierFromSubscription |
Create a value of RemoveSourceIdentifierFromSubscription
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:subscriptionName:RemoveSourceIdentifierFromSubscription'
, removeSourceIdentifierFromSubscription_subscriptionName
- The name of the RDS event notification subscription you want to remove a
source identifier from.
$sel:sourceIdentifier:RemoveSourceIdentifierFromSubscription'
, removeSourceIdentifierFromSubscription_sourceIdentifier
- The source identifier to be removed from the subscription, such as the
DB instance identifier for a DB instance or the name of a security
group.
Request Lenses
removeSourceIdentifierFromSubscription_subscriptionName :: Lens' RemoveSourceIdentifierFromSubscription Text Source #
The name of the RDS event notification subscription you want to remove a source identifier from.
removeSourceIdentifierFromSubscription_sourceIdentifier :: Lens' RemoveSourceIdentifierFromSubscription Text Source #
The source identifier to be removed from the subscription, such as the DB instance identifier for a DB instance or the name of a security group.
Destructuring the Response
data RemoveSourceIdentifierFromSubscriptionResponse Source #
See: newRemoveSourceIdentifierFromSubscriptionResponse
smart constructor.
RemoveSourceIdentifierFromSubscriptionResponse' | |
|
Instances
Eq RemoveSourceIdentifierFromSubscriptionResponse Source # | |
Read RemoveSourceIdentifierFromSubscriptionResponse Source # | |
Show RemoveSourceIdentifierFromSubscriptionResponse Source # | |
Generic RemoveSourceIdentifierFromSubscriptionResponse Source # | |
NFData RemoveSourceIdentifierFromSubscriptionResponse Source # | |
type Rep RemoveSourceIdentifierFromSubscriptionResponse Source # | |
Defined in Amazonka.RDS.RemoveSourceIdentifierFromSubscription type Rep RemoveSourceIdentifierFromSubscriptionResponse = D1 ('MetaData "RemoveSourceIdentifierFromSubscriptionResponse" "Amazonka.RDS.RemoveSourceIdentifierFromSubscription" "libZSservicesZSamazonka-rdsZSamazonka-rds" 'False) (C1 ('MetaCons "RemoveSourceIdentifierFromSubscriptionResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "eventSubscription") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe EventSubscription)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newRemoveSourceIdentifierFromSubscriptionResponse Source #
:: Int |
|
-> RemoveSourceIdentifierFromSubscriptionResponse |
Create a value of RemoveSourceIdentifierFromSubscriptionResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:eventSubscription:RemoveSourceIdentifierFromSubscriptionResponse'
, removeSourceIdentifierFromSubscriptionResponse_eventSubscription
- Undocumented member.
$sel:httpStatus:RemoveSourceIdentifierFromSubscriptionResponse'
, removeSourceIdentifierFromSubscriptionResponse_httpStatus
- The response's http status code.
Response Lenses
removeSourceIdentifierFromSubscriptionResponse_eventSubscription :: Lens' RemoveSourceIdentifierFromSubscriptionResponse (Maybe EventSubscription) Source #
Undocumented member.
removeSourceIdentifierFromSubscriptionResponse_httpStatus :: Lens' RemoveSourceIdentifierFromSubscriptionResponse Int Source #
The response's http status code.