Smaws_Client_Health.DescribeEventsReturns information about events that meet the specified filter criteria. Events are returned in a summary form and do not include the detailed description, any additional metadata that depends on the event type, or any affected resources. To retrieve that information, use the DescribeEventDetails and DescribeAffectedEntities operations.
If no filter criteria are specified, all events are returned. Results are sorted by lastModifiedTime, starting with the most recent event.
DescribeEvents operation and specify an entity for the entityValues parameter, Health might return public events that aren't specific to that resource. For example, if you call DescribeEvents and specify an ID for an Amazon Elastic Compute Cloud (Amazon EC2) instance, Health might return events that aren't specific to that resource or service. To get events that are specific to a service, use the services parameter in the filter object. For more information, see Event.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_events_request ->
(Types.describe_events_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_events_request ->
(Types.describe_events_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