Safe Haskell | None |
---|---|
Language | Haskell2010 |
Network.AWS.Redshift.ModifyEventSubscription
Description
Modifies an existing Amazon Redshift event notification subscription.
http://docs.aws.amazon.com/redshift/latest/APIReference/API_ModifyEventSubscription.html
- data ModifyEventSubscription
- modifyEventSubscription :: Text -> ModifyEventSubscription
- mesEnabled :: Lens' ModifyEventSubscription (Maybe Bool)
- mesEventCategories :: Lens' ModifyEventSubscription [Text]
- mesSeverity :: Lens' ModifyEventSubscription (Maybe Text)
- mesSnsTopicArn :: Lens' ModifyEventSubscription (Maybe Text)
- mesSourceIds :: Lens' ModifyEventSubscription [Text]
- mesSourceType :: Lens' ModifyEventSubscription (Maybe Text)
- mesSubscriptionName :: Lens' ModifyEventSubscription Text
- data ModifyEventSubscriptionResponse
- modifyEventSubscriptionResponse :: ModifyEventSubscriptionResponse
- mesrEventSubscription :: Lens' ModifyEventSubscriptionResponse (Maybe EventSubscription)
Request
data ModifyEventSubscription Source
Instances
Request constructor
modifyEventSubscription Source
Arguments
:: Text | |
-> ModifyEventSubscription |
ModifyEventSubscription
constructor.
The fields accessible through corresponding lenses are:
Request lenses
mesEnabled :: Lens' ModifyEventSubscription (Maybe Bool) Source
A Boolean value indicating if the subscription is enabled. true
indicates
the subscription is enabled
mesEventCategories :: Lens' ModifyEventSubscription [Text] Source
Specifies the Amazon Redshift event categories to be published by the event notification subscription.
Values: Configuration, Management, Monitoring, Security
mesSeverity :: Lens' ModifyEventSubscription (Maybe Text) Source
Specifies the Amazon Redshift event severity to be published by the event notification subscription.
Values: ERROR, INFO
mesSnsTopicArn :: Lens' ModifyEventSubscription (Maybe Text) Source
The Amazon Resource Name (ARN) of the SNS topic to be used by the event notification subscription.
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
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.
mesSubscriptionName :: Lens' ModifyEventSubscription Text Source
The name of the modified Amazon Redshift event notification subscription.
Response
Response constructor
modifyEventSubscriptionResponse :: ModifyEventSubscriptionResponse Source
ModifyEventSubscriptionResponse
constructor.
The fields accessible through corresponding lenses are: