ListEventTypes - AWS CodeStar Notifications


Returns information about the event types available for configuring notifications.

Request Syntax

POST /listEventTypes HTTP/1.1 Content-type: application/json { "Filters": [ { "Name": "string", "Value": "string" } ], "MaxResults": number, "NextToken": "string" }

URI Request Parameters

The request does not use any URI parameters.

Request Body

The request accepts the following data in JSON format.


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

Type: Array of ListEventTypesFilter objects

Required: No


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.

Type: Integer

Valid Range: Minimum value of 1. Maximum value of 100.

Required: No


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

Type: String

Pattern: ^[\w/+=]+$

Required: No

Response Syntax

HTTP/1.1 200 Content-type: application/json { "EventTypes": [ { "EventTypeId": "string", "EventTypeName": "string", "ResourceType": "string", "ServiceName": "string" } ], "NextToken": "string" }

Response Elements

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.


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

Type: Array of EventTypeSummary objects


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

Type: String

Pattern: ^[\w/+=]+$


For information about the errors that are common to all actions, see Common Errors.


The value for the enumeration token used in the request to return the next batch of the results is not valid.

HTTP Status Code: 400


One or more parameter values are not valid.

HTTP Status Code: 400

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: