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.

Container for the parameters to the DescribeEventCategories operation. Displays a list of event categories for all event source types, or for a specified source type. For a list of the event categories and source types, go to Amazon Redshift Event Notifications.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.Redshift.AmazonRedshiftRequest
      Amazon.Redshift.Model.DescribeEventCategoriesRequest

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

Syntax

C#
public class DescribeEventCategoriesRequest : AmazonRedshiftRequest
         IAmazonWebServiceRequest

The DescribeEventCategoriesRequest type exposes the following members

Constructors

Properties

NameTypeDescription
Public Property SourceType System.String

Gets and sets the property SourceType.

The source type, such as cluster or parameter group, to which the described event categories apply.

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

Examples

This example returns a description event categories for the "cluster" source type.

To get a description of event categories


var client = new AmazonRedshiftClient();
var response = client.DescribeEventCategories(new DescribeEventCategoriesRequest 
{
    SourceType = "cluster"
});

List<EventCategoriesMap> eventCategoriesMapList = response.EventCategoriesMapList;

            

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

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