amazonka-rds-0.0.3: Amazon Relational Database Service SDK.

Safe HaskellNone
LanguageHaskell2010

Network.AWS.RDS.ModifyEventSubscription

Contents

Description

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

Synopsis

Request

Request constructor

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

Response lenses