AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
You can specify the source type, and lists of Amazon Redshift source IDs, event categories, and event severities. Notifications will be sent for all events you want that match those criteria. For example, you can specify source type = cluster, source ID = my-cluster-1 and mycluster2, event categories = Availability, Backup, and severity = ERROR. The subscription will only send notifications for those ERROR events in the Availability and Backup categories for the specified clusters.
If you specify both the source type and source IDs, such as source type = cluster and source identifier = my-cluster-1, notifications will be sent for all the cluster events for my-cluster-1. If you specify a source type but do not specify a source identifier, you will receive notice of the events for the objects of that type in your AWS account. If you do not specify either the SourceType nor the SourceIdentifier, you will be notified of events generated from all Amazon Redshift sources belonging to your AWS account. You must specify a source type if you specify a source ID.
Version: (assembly version)
public virtual CreateEventSubscriptionResponse CreateEventSubscription( CreateEventSubscriptionRequest request )
Container for the necessary parameters to execute the CreateEventSubscription service method.
|EventSubscriptionQuotaExceededException||The request would exceed the allowed number of event subscriptions for this account. For information about increasing your quota, go to Limits in Amazon Redshift in the Amazon Redshift Cluster Management Guide.|
|InvalidTagException||The tag is invalid.|
|SNSInvalidTopicException||Amazon SNS has responded that there is a problem with the specified Amazon SNS topic.|
|SNSNoAuthorizationException||You do not have permission to publish to the specified Amazon SNS topic.|
|SNSTopicArnNotFoundException||An Amazon SNS topic with the specified Amazon Resource Name (ARN) does not exist.|
|SourceNotFoundException||The specified Amazon Redshift event source could not be found.|
|SubscriptionAlreadyExistException||There is already an existing event notification subscription with the specified name.|
|SubscriptionCategoryNotFoundException||The value specified for the event category was not one of the allowed values, or it specified a category that does not apply to the specified source type. The allowed values are Configuration, Management, Monitoring, and Security.|
|SubscriptionEventIdNotFoundException||An Amazon Redshift event with the specified event ID does not exist.|
|SubscriptionSeverityNotFoundException||The value specified for the event severity was not one of the allowed values, or it specified a severity that does not apply to the specified source type. The allowed values are ERROR and INFO.|
|TagLimitExceededException||The request exceeds the limit of 10 tags for the resource.|
Supported in: 4.5, 4.0, 3.5