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

Copyright(c) 2013-2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
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.

See: AWS API Reference for ModifyEventSubscription.

Synopsis

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:

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:

Response Lenses