amazonka-codestar-notifications-2.0: Amazon CodeStar Notifications SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.CodeStarNotifications.ListEventTypes

Description

Returns information about the event types available for configuring notifications.

This operation returns paginated results.

Synopsis

Creating a Request

data ListEventTypes Source #

See: newListEventTypes smart constructor.

Constructors

ListEventTypes' 

Fields

  • filters :: Maybe [ListEventTypesFilter]

    The filters to use to return information by service or resource type.

  • maxResults :: Maybe Natural

    A non-negative integer used to limit the number of returned results. The default number is 50. The maximum number of results that can be returned is 100.

  • nextToken :: Maybe Text

    An enumeration token that, when provided in a request, returns the next batch of the results.

Instances

Instances details
ToJSON ListEventTypes Source # 
Instance details

Defined in Amazonka.CodeStarNotifications.ListEventTypes

ToHeaders ListEventTypes Source # 
Instance details

Defined in Amazonka.CodeStarNotifications.ListEventTypes

ToPath ListEventTypes Source # 
Instance details

Defined in Amazonka.CodeStarNotifications.ListEventTypes

ToQuery ListEventTypes Source # 
Instance details

Defined in Amazonka.CodeStarNotifications.ListEventTypes

AWSPager ListEventTypes Source # 
Instance details

Defined in Amazonka.CodeStarNotifications.ListEventTypes

AWSRequest ListEventTypes Source # 
Instance details

Defined in Amazonka.CodeStarNotifications.ListEventTypes

Associated Types

type AWSResponse ListEventTypes #

Generic ListEventTypes Source # 
Instance details

Defined in Amazonka.CodeStarNotifications.ListEventTypes

Associated Types

type Rep ListEventTypes :: Type -> Type #

Read ListEventTypes Source # 
Instance details

Defined in Amazonka.CodeStarNotifications.ListEventTypes

Show ListEventTypes Source # 
Instance details

Defined in Amazonka.CodeStarNotifications.ListEventTypes

NFData ListEventTypes Source # 
Instance details

Defined in Amazonka.CodeStarNotifications.ListEventTypes

Methods

rnf :: ListEventTypes -> () #

Eq ListEventTypes Source # 
Instance details

Defined in Amazonka.CodeStarNotifications.ListEventTypes

Hashable ListEventTypes Source # 
Instance details

Defined in Amazonka.CodeStarNotifications.ListEventTypes

type AWSResponse ListEventTypes Source # 
Instance details

Defined in Amazonka.CodeStarNotifications.ListEventTypes

type Rep ListEventTypes Source # 
Instance details

Defined in Amazonka.CodeStarNotifications.ListEventTypes

type Rep ListEventTypes = D1 ('MetaData "ListEventTypes" "Amazonka.CodeStarNotifications.ListEventTypes" "amazonka-codestar-notifications-2.0-1YU4g2Ny2gz2roMHW6JQnw" 'False) (C1 ('MetaCons "ListEventTypes'" 'PrefixI 'True) (S1 ('MetaSel ('Just "filters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ListEventTypesFilter])) :*: (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newListEventTypes :: ListEventTypes Source #

Create a value of ListEventTypes 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:filters:ListEventTypes', listEventTypes_filters - The filters to use to return information by service or resource type.

$sel:maxResults:ListEventTypes', listEventTypes_maxResults - A non-negative integer used to limit the number of returned results. The default number is 50. The maximum number of results that can be returned is 100.

ListEventTypes, listEventTypes_nextToken - An enumeration token that, when provided in a request, returns the next batch of the results.

Request Lenses

listEventTypes_filters :: Lens' ListEventTypes (Maybe [ListEventTypesFilter]) Source #

The filters to use to return information by service or resource type.

listEventTypes_maxResults :: Lens' ListEventTypes (Maybe Natural) Source #

A non-negative integer used to limit the number of returned results. The default number is 50. The maximum number of results that can be returned is 100.

listEventTypes_nextToken :: Lens' ListEventTypes (Maybe Text) Source #

An enumeration token that, when provided in a request, returns the next batch of the results.

Destructuring the Response

data ListEventTypesResponse Source #

See: newListEventTypesResponse smart constructor.

Constructors

ListEventTypesResponse' 

Fields

Instances

Instances details
Generic ListEventTypesResponse Source # 
Instance details

Defined in Amazonka.CodeStarNotifications.ListEventTypes

Associated Types

type Rep ListEventTypesResponse :: Type -> Type #

Read ListEventTypesResponse Source # 
Instance details

Defined in Amazonka.CodeStarNotifications.ListEventTypes

Show ListEventTypesResponse Source # 
Instance details

Defined in Amazonka.CodeStarNotifications.ListEventTypes

NFData ListEventTypesResponse Source # 
Instance details

Defined in Amazonka.CodeStarNotifications.ListEventTypes

Methods

rnf :: ListEventTypesResponse -> () #

Eq ListEventTypesResponse Source # 
Instance details

Defined in Amazonka.CodeStarNotifications.ListEventTypes

type Rep ListEventTypesResponse Source # 
Instance details

Defined in Amazonka.CodeStarNotifications.ListEventTypes

type Rep ListEventTypesResponse = D1 ('MetaData "ListEventTypesResponse" "Amazonka.CodeStarNotifications.ListEventTypes" "amazonka-codestar-notifications-2.0-1YU4g2Ny2gz2roMHW6JQnw" 'False) (C1 ('MetaCons "ListEventTypesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "eventTypes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [EventTypeSummary])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListEventTypesResponse Source #

Create a value of ListEventTypesResponse 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:eventTypes:ListEventTypesResponse', listEventTypesResponse_eventTypes - Information about each event, including service name, resource type, event ID, and event name.

ListEventTypes, listEventTypesResponse_nextToken - An enumeration token that can be used in a request to return the next batch of the results.

$sel:httpStatus:ListEventTypesResponse', listEventTypesResponse_httpStatus - The response's http status code.

Response Lenses

listEventTypesResponse_eventTypes :: Lens' ListEventTypesResponse (Maybe [EventTypeSummary]) Source #

Information about each event, including service name, resource type, event ID, and event name.

listEventTypesResponse_nextToken :: Lens' ListEventTypesResponse (Maybe Text) Source #

An enumeration token that can be used in a request to return the next batch of the results.