libZSservicesZSamazonka-redshiftZSamazonka-redshift
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.Redshift.DescribeEventCategories

Description

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.

Synopsis

Creating a Request

data DescribeEventCategories Source #

See: newDescribeEventCategories smart constructor.

Constructors

DescribeEventCategories' 

Fields

  • sourceType :: Maybe Text

    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.

Instances

Instances details
Eq DescribeEventCategories Source # 
Instance details

Defined in Amazonka.Redshift.DescribeEventCategories

Read DescribeEventCategories Source # 
Instance details

Defined in Amazonka.Redshift.DescribeEventCategories

Show DescribeEventCategories Source # 
Instance details

Defined in Amazonka.Redshift.DescribeEventCategories

Generic DescribeEventCategories Source # 
Instance details

Defined in Amazonka.Redshift.DescribeEventCategories

Associated Types

type Rep DescribeEventCategories :: Type -> Type #

NFData DescribeEventCategories Source # 
Instance details

Defined in Amazonka.Redshift.DescribeEventCategories

Methods

rnf :: DescribeEventCategories -> () #

Hashable DescribeEventCategories Source # 
Instance details

Defined in Amazonka.Redshift.DescribeEventCategories

AWSRequest DescribeEventCategories Source # 
Instance details

Defined in Amazonka.Redshift.DescribeEventCategories

ToHeaders DescribeEventCategories Source # 
Instance details

Defined in Amazonka.Redshift.DescribeEventCategories

ToPath DescribeEventCategories Source # 
Instance details

Defined in Amazonka.Redshift.DescribeEventCategories

ToQuery DescribeEventCategories Source # 
Instance details

Defined in Amazonka.Redshift.DescribeEventCategories

type Rep DescribeEventCategories Source # 
Instance details

Defined in Amazonka.Redshift.DescribeEventCategories

type Rep DescribeEventCategories = D1 ('MetaData "DescribeEventCategories" "Amazonka.Redshift.DescribeEventCategories" "libZSservicesZSamazonka-redshiftZSamazonka-redshift" 'False) (C1 ('MetaCons "DescribeEventCategories'" 'PrefixI 'True) (S1 ('MetaSel ('Just "sourceType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))
type AWSResponse DescribeEventCategories Source # 
Instance details

Defined in Amazonka.Redshift.DescribeEventCategories

newDescribeEventCategories :: DescribeEventCategories Source #

Create a value of DescribeEventCategories with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:sourceType:DescribeEventCategories', describeEventCategories_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.

Request Lenses

describeEventCategories_sourceType :: Lens' DescribeEventCategories (Maybe Text) Source #

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.

Destructuring the Response

data DescribeEventCategoriesResponse Source #

See: newDescribeEventCategoriesResponse smart constructor.

Constructors

DescribeEventCategoriesResponse' 

Fields

Instances

Instances details
Eq DescribeEventCategoriesResponse Source # 
Instance details

Defined in Amazonka.Redshift.DescribeEventCategories

Read DescribeEventCategoriesResponse Source # 
Instance details

Defined in Amazonka.Redshift.DescribeEventCategories

Show DescribeEventCategoriesResponse Source # 
Instance details

Defined in Amazonka.Redshift.DescribeEventCategories

Generic DescribeEventCategoriesResponse Source # 
Instance details

Defined in Amazonka.Redshift.DescribeEventCategories

Associated Types

type Rep DescribeEventCategoriesResponse :: Type -> Type #

NFData DescribeEventCategoriesResponse Source # 
Instance details

Defined in Amazonka.Redshift.DescribeEventCategories

type Rep DescribeEventCategoriesResponse Source # 
Instance details

Defined in Amazonka.Redshift.DescribeEventCategories

type Rep DescribeEventCategoriesResponse = D1 ('MetaData "DescribeEventCategoriesResponse" "Amazonka.Redshift.DescribeEventCategories" "libZSservicesZSamazonka-redshiftZSamazonka-redshift" 'False) (C1 ('MetaCons "DescribeEventCategoriesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "eventCategoriesMapList") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [EventCategoriesMap])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDescribeEventCategoriesResponse Source #

Create a value of DescribeEventCategoriesResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:eventCategoriesMapList:DescribeEventCategoriesResponse', describeEventCategoriesResponse_eventCategoriesMapList - A list of event categories descriptions.

$sel:httpStatus:DescribeEventCategoriesResponse', describeEventCategoriesResponse_httpStatus - The response's http status code.

Response Lenses