libZSservicesZSamazonka-codestar-notificationsZSamazonka-codestar-notifications
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.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.

  • nextToken :: Maybe Text

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

  • 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.

Instances

Instances details
Eq ListEventTypes Source # 
Instance details

Defined in Amazonka.CodeStarNotifications.ListEventTypes

Read ListEventTypes Source # 
Instance details

Defined in Amazonka.CodeStarNotifications.ListEventTypes

Show ListEventTypes Source # 
Instance details

Defined in Amazonka.CodeStarNotifications.ListEventTypes

Generic ListEventTypes Source # 
Instance details

Defined in Amazonka.CodeStarNotifications.ListEventTypes

Associated Types

type Rep ListEventTypes :: Type -> Type #

NFData ListEventTypes Source # 
Instance details

Defined in Amazonka.CodeStarNotifications.ListEventTypes

Methods

rnf :: ListEventTypes -> () #

Hashable ListEventTypes Source # 
Instance details

Defined in Amazonka.CodeStarNotifications.ListEventTypes

ToJSON 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 #

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

type Rep ListEventTypes Source # 
Instance details

Defined in Amazonka.CodeStarNotifications.ListEventTypes

type Rep ListEventTypes = D1 ('MetaData "ListEventTypes" "Amazonka.CodeStarNotifications.ListEventTypes" "libZSservicesZSamazonka-codestar-notificationsZSamazonka-codestar-notifications" 'False) (C1 ('MetaCons "ListEventTypes'" 'PrefixI 'True) (S1 ('MetaSel ('Just "filters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ListEventTypesFilter])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)))))
type AWSResponse ListEventTypes Source # 
Instance details

Defined in Amazonka.CodeStarNotifications.ListEventTypes

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:nextToken:ListEventTypes', listEventTypes_nextToken - An enumeration token that, when provided in a request, returns the next batch of the results.

$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.

Request Lenses

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

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

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

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

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.

Destructuring the Response

data ListEventTypesResponse Source #

See: newListEventTypesResponse smart constructor.

Constructors

ListEventTypesResponse' 

Fields

Instances

Instances details
Eq ListEventTypesResponse Source # 
Instance details

Defined in Amazonka.CodeStarNotifications.ListEventTypes

Read ListEventTypesResponse Source # 
Instance details

Defined in Amazonka.CodeStarNotifications.ListEventTypes

Show ListEventTypesResponse Source # 
Instance details

Defined in Amazonka.CodeStarNotifications.ListEventTypes

Generic ListEventTypesResponse Source # 
Instance details

Defined in Amazonka.CodeStarNotifications.ListEventTypes

Associated Types

type Rep ListEventTypesResponse :: Type -> Type #

NFData ListEventTypesResponse Source # 
Instance details

Defined in Amazonka.CodeStarNotifications.ListEventTypes

Methods

rnf :: ListEventTypesResponse -> () #

type Rep ListEventTypesResponse Source # 
Instance details

Defined in Amazonka.CodeStarNotifications.ListEventTypes

type Rep ListEventTypesResponse = D1 ('MetaData "ListEventTypesResponse" "Amazonka.CodeStarNotifications.ListEventTypes" "libZSservicesZSamazonka-codestar-notificationsZSamazonka-codestar-notifications" '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.

$sel:nextToken: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.