Smaws_Client_Health.DescribeEventTypesReturns the event types that meet the specified filter criteria. You can use this API operation to find information about the Health event, such as the category, Amazon Web Services service, and event code. The metadata for each event appears in the EventType object.
If you don't specify a filter criteria, the API operation returns all event types, in no particular order.
This API operation uses pagination. Specify the nextToken parameter in the next request to return more results.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `InvalidPaginationToken of Types.invalid_pagination_token
| `UnsupportedLocale of Types.unsupported_locale ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.describe_event_types_request ->
(Types.describe_event_types_response,
[> Smaws_Lib.Protocols.AwsJson.error
| `InvalidPaginationToken of Types.invalid_pagination_token
| `UnsupportedLocale of Types.unsupported_locale ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.describe_event_types_request ->
(Types.describe_event_types_response Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `InvalidPaginationToken of Types.invalid_pagination_token
| `UnsupportedLocale of Types.unsupported_locale ]
* Smaws_Lib.Response.metadata)
Stdlib.result