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 |
Modifies an existing RDS event notification subscription. Note that you cannot modify the source identifiers using this call; to change source identifiers for a subscription, use the AddSourceIdentifierToSubscription and RemoveSourceIdentifierFromSubscription calls.
You can see a list of the event categories for a given SourceType in the Events topic in the Amazon RDS User Guide or by using the DescribeEventCategories action.
- modifyEventSubscription :: Text -> ModifyEventSubscription
- data ModifyEventSubscription
- mesSNSTopicARN :: Lens' ModifyEventSubscription (Maybe Text)
- mesEnabled :: Lens' ModifyEventSubscription (Maybe Bool)
- mesSourceType :: Lens' ModifyEventSubscription (Maybe Text)
- mesEventCategories :: Lens' ModifyEventSubscription [Text]
- mesSubscriptionName :: Lens' ModifyEventSubscription Text
- modifyEventSubscriptionResponse :: Int -> ModifyEventSubscriptionResponse
- data ModifyEventSubscriptionResponse
- mesrsEventSubscription :: Lens' ModifyEventSubscriptionResponse (Maybe EventSubscription)
- mesrsResponseStatus :: Lens' ModifyEventSubscriptionResponse Int
Creating a Request
modifyEventSubscription Source #
Creates a value of ModifyEventSubscription
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ModifyEventSubscription Source #
See: modifyEventSubscription
smart constructor.
Request Lenses
mesSNSTopicARN :: Lens' ModifyEventSubscription (Maybe Text) Source #
The Amazon Resource Name (ARN) of the SNS topic created for event notification. The ARN is created by Amazon SNS when you create a topic and subscribe to it.
mesEnabled :: Lens' ModifyEventSubscription (Maybe Bool) Source #
A Boolean value; set to true to activate the subscription.
mesSourceType :: Lens' ModifyEventSubscription (Maybe Text) Source #
The type of source that will be generating the events. For example, if you want to be notified of events generated by a DB instance, you would set this parameter to db-instance. if this value is not specified, all events are returned.
Valid values: db-instance | db-parameter-group | db-security-group | db-snapshot
mesEventCategories :: Lens' ModifyEventSubscription [Text] Source #
A list of event categories for a SourceType that you want to subscribe to. You can see a list of the categories for a given SourceType in the Events topic in the Amazon RDS User Guide or by using the DescribeEventCategories action.
mesSubscriptionName :: Lens' ModifyEventSubscription Text Source #
The name of the RDS event notification subscription.
Destructuring the Response
modifyEventSubscriptionResponse Source #
Creates a value of ModifyEventSubscriptionResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ModifyEventSubscriptionResponse Source #
See: modifyEventSubscriptionResponse
smart constructor.
Response Lenses
mesrsEventSubscription :: Lens' ModifyEventSubscriptionResponse (Maybe EventSubscription) Source #
Undocumented member.
mesrsResponseStatus :: Lens' ModifyEventSubscriptionResponse Int Source #
The response status code.