amazonka-redshift-1.1.0: Amazon Redshift 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.Redshift.ModifyEventSubscription

Contents

Description

Modifies an existing Amazon Redshift event notification subscription.

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 to be used by the event notification subscription.

mesEnabled :: Lens' ModifyEventSubscription (Maybe Bool) Source

A Boolean value indicating if the subscription is enabled. true indicates the subscription is enabled

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 cluster, you would set this parameter to cluster. If this value is not specified, events are returned for all Amazon Redshift objects in your AWS account. You must specify a source type in order to specify source IDs.

Valid values: cluster, cluster-parameter-group, cluster-security-group, and cluster-snapshot.

mesSeverity :: Lens' ModifyEventSubscription (Maybe Text) Source

Specifies the Amazon Redshift event severity to be published by the event notification subscription.

Values: ERROR, INFO

mesEventCategories :: Lens' ModifyEventSubscription [Text] Source

Specifies the Amazon Redshift event categories to be published by the event notification subscription.

Values: Configuration, Management, Monitoring, Security

mesSourceIds :: Lens' ModifyEventSubscription [Text] Source

A list of one or more identifiers of Amazon Redshift source objects. All of the objects must be of the same type as was specified in the source type parameter. The event subscription will return only events generated by the specified objects. If not specified, then events are returned for all objects within the source type specified.

Example: my-cluster-1, my-cluster-2

Example: my-snapshot-20131010

mesSubscriptionName :: Lens' ModifyEventSubscription Text Source

The name of the modified Amazon Redshift 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