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.
http://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_ModifyEventSubscription.html
- data ModifyEventSubscription
- modifyEventSubscription :: Text -> ModifyEventSubscription
- mesEnabled :: Lens' ModifyEventSubscription (Maybe Bool)
- mesEventCategories :: Lens' ModifyEventSubscription [Text]
- mesSnsTopicArn :: Lens' ModifyEventSubscription (Maybe Text)
- mesSourceType :: Lens' ModifyEventSubscription (Maybe Text)
- mesSubscriptionName :: Lens' ModifyEventSubscription Text
- data ModifyEventSubscriptionResponse
- modifyEventSubscriptionResponse :: ModifyEventSubscriptionResponse
- mesrEventSubscription :: Lens' ModifyEventSubscriptionResponse (Maybe EventSubscription)
Request
data ModifyEventSubscription Source
Request constructor
modifyEventSubscription Source
ModifyEventSubscription
constructor.
The fields accessible through corresponding lenses are:
Request lenses
mesEnabled :: Lens' ModifyEventSubscription (Maybe Bool) Source
A Boolean value; set to true to activate the subscription.
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.
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.
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
mesSubscriptionName :: Lens' ModifyEventSubscription Text Source
The name of the RDS event notification subscription.
Response
Response constructor
modifyEventSubscriptionResponse :: ModifyEventSubscriptionResponse Source
ModifyEventSubscriptionResponse
constructor.
The fields accessible through corresponding lenses are: