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 Amazon DocumentDB 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 #
Represents the input to RemoveSourceIdentifierFromSubscription.
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 Amazon DocumentDB event notification subscription that
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
instance identifier for an instance, or the name of a security group.
Request Lenses
removeSourceIdentifierFromSubscription_subscriptionName :: Lens' RemoveSourceIdentifierFromSubscription Text Source #
The name of the Amazon DocumentDB event notification subscription that 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 instance identifier for an instance, or the name of a security group.
Destructuring the Response
data RemoveSourceIdentifierFromSubscriptionResponse Source #
See: newRemoveSourceIdentifierFromSubscriptionResponse
smart constructor.
RemoveSourceIdentifierFromSubscriptionResponse' | |
|
Instances
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.