AWS SDK Version 3 for .NET
API Reference

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.

Lists descriptions of all the Amazon Redshift event notification subscriptions for a customer account. If you specify a subscription name, lists the description for that subscription.

If you specify both tag keys and tag values in the same request, Amazon Redshift returns all event notification subscriptions that match any combination of the specified keys and values. For example, if you have owner and environment for tag keys, and admin and test for tag values, all subscriptions that have any combination of those values are returned.

If both tag keys and values are omitted from the request, subscriptions are returned regardless of whether they have tag keys or values associated with them.

Note:

For .NET Core and PCL this operation is only available in asynchronous form. Please refer to DescribeEventSubscriptionsAsync.

Namespace: Amazon.Redshift
Assembly: AWSSDK.Redshift.dll
Version: 3.x.y.z

Syntax

C#
public abstract DescribeEventSubscriptionsResponse DescribeEventSubscriptions(
         DescribeEventSubscriptionsRequest request
)
Parameters
request
Type: Amazon.Redshift.Model.DescribeEventSubscriptionsRequest

Container for the necessary parameters to execute the DescribeEventSubscriptions service method.

Return Value
The response from the DescribeEventSubscriptions service method, as returned by Redshift.

Exceptions

ExceptionCondition
InvalidTagException The tag is invalid.
SubscriptionNotFoundException An Amazon Redshift event notification subscription with the specified name does not exist.

Examples

This example shows how to describe event subscriptions.

To describe an event subscription


var response = client.DescribeEventSubscriptions(new DescribeEventSubscriptionsRequest 
{
    SubscriptionName = "mysubscription"
});

List eventSubscriptionsList = response.EventSubscriptionsList;

            

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5

Portable Class Library:
Supported in: Windows Store Apps
Supported in: Windows Phone 8.1
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms

See Also