amazonka-redshift-1.4.1: Amazon Redshift SDK.

Copyright(c) 2013-2016 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.

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:

data ModifyEventSubscription Source #

See: modifyEventSubscription smart constructor.

Instances

Eq ModifyEventSubscription Source # 
Data ModifyEventSubscription Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ModifyEventSubscription -> c ModifyEventSubscription #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ModifyEventSubscription #

toConstr :: ModifyEventSubscription -> Constr #

dataTypeOf :: ModifyEventSubscription -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c ModifyEventSubscription) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ModifyEventSubscription) #

gmapT :: (forall b. Data b => b -> b) -> ModifyEventSubscription -> ModifyEventSubscription #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ModifyEventSubscription -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ModifyEventSubscription -> r #

gmapQ :: (forall d. Data d => d -> u) -> ModifyEventSubscription -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ModifyEventSubscription -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ModifyEventSubscription -> m ModifyEventSubscription #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ModifyEventSubscription -> m ModifyEventSubscription #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ModifyEventSubscription -> m ModifyEventSubscription #

Read ModifyEventSubscription Source # 
Show ModifyEventSubscription Source # 
Generic ModifyEventSubscription Source # 
Hashable ModifyEventSubscription Source # 
NFData ModifyEventSubscription Source # 

Methods

rnf :: ModifyEventSubscription -> () #

AWSRequest ModifyEventSubscription Source # 
ToQuery ModifyEventSubscription Source # 
ToPath ModifyEventSubscription Source # 
ToHeaders ModifyEventSubscription Source # 
type Rep ModifyEventSubscription Source # 
type Rep ModifyEventSubscription = D1 (MetaData "ModifyEventSubscription" "Network.AWS.Redshift.ModifyEventSubscription" "amazonka-redshift-1.4.1-6kPkaOfgvaC7rEqhDOralh" False) (C1 (MetaCons "ModifyEventSubscription'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_mesSNSTopicARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_mesEnabled") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) (S1 (MetaSel (Just Symbol "_mesSourceType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_mesSeverity") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_mesEventCategories") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text])))) ((:*:) (S1 (MetaSel (Just Symbol "_mesSourceIds") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text]))) (S1 (MetaSel (Just Symbol "_mesSubscriptionName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))))
type Rs ModifyEventSubscription Source # 

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:

data ModifyEventSubscriptionResponse Source #

See: modifyEventSubscriptionResponse smart constructor.

Instances

Eq ModifyEventSubscriptionResponse Source # 
Data ModifyEventSubscriptionResponse Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ModifyEventSubscriptionResponse -> c ModifyEventSubscriptionResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ModifyEventSubscriptionResponse #

toConstr :: ModifyEventSubscriptionResponse -> Constr #

dataTypeOf :: ModifyEventSubscriptionResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c ModifyEventSubscriptionResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ModifyEventSubscriptionResponse) #

gmapT :: (forall b. Data b => b -> b) -> ModifyEventSubscriptionResponse -> ModifyEventSubscriptionResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ModifyEventSubscriptionResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ModifyEventSubscriptionResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> ModifyEventSubscriptionResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ModifyEventSubscriptionResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ModifyEventSubscriptionResponse -> m ModifyEventSubscriptionResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ModifyEventSubscriptionResponse -> m ModifyEventSubscriptionResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ModifyEventSubscriptionResponse -> m ModifyEventSubscriptionResponse #

Read ModifyEventSubscriptionResponse Source # 
Show ModifyEventSubscriptionResponse Source # 
Generic ModifyEventSubscriptionResponse Source # 
NFData ModifyEventSubscriptionResponse Source # 
type Rep ModifyEventSubscriptionResponse Source # 
type Rep ModifyEventSubscriptionResponse = D1 (MetaData "ModifyEventSubscriptionResponse" "Network.AWS.Redshift.ModifyEventSubscription" "amazonka-redshift-1.4.1-6kPkaOfgvaC7rEqhDOralh" False) (C1 (MetaCons "ModifyEventSubscriptionResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_mesrsEventSubscription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe EventSubscription))) (S1 (MetaSel (Just Symbol "_mesrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses