AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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

  • When you call the 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.

  • This API operation uses pagination. Specify the nextToken parameter in the next request to return more results.

Note:

For .NET Core this operation is only available in asynchronous form. Please refer to DescribeEventsAsync.

Namespace: Amazon.AWSHealth
Assembly: AWSSDK.AWSHealth.dll
Version: 3.x.y.z

Syntax

C#
public abstract DescribeEventsResponse DescribeEvents(
         DescribeEventsRequest request
)

Parameters

request
Type: Amazon.AWSHealth.Model.DescribeEventsRequest

Container for the necessary parameters to execute the DescribeEvents service method.

Return Value


The response from the DescribeEvents service method, as returned by AWSHealth.

Exceptions

ExceptionCondition
InvalidPaginationTokenException The specified pagination token (nextToken) is not valid.
UnsupportedLocaleException The specified locale is not supported.

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5

See Also