AutoCloseable
@Generated("software.amazon.awssdk:codegen") public interface HealthAsyncClient extends AutoCloseable
builder()
method.
The AWS Health API provides programmatic access to the AWS Health information that is presented in the AWS Personal Health Dashboard. You can get information about events that affect your AWS resources:
DescribeEvents: Summary information about events.
DescribeEventDetails: Detailed information about one or more events.
DescribeAffectedEntities: Information about AWS resources that are affected by one or more events.
In addition, these operations provide information about event types and summary counts of events or affected entities:
DescribeEventTypes: Information about the kinds of events that AWS Health tracks.
DescribeEventAggregates: A count of the number of events that meet specified criteria.
DescribeEntityAggregates: A count of the number of affected entities that meet specified criteria.
The Health API requires a Business or Enterprise support plan from AWS Support. Calling the Health API from an account that does not
have a Business or Enterprise support plan causes a SubscriptionRequiredException
.
For authentication of requests, AWS Health uses the Signature Version 4 Signing Process.
See the AWS Health User Guide for information about how to use the API.
Service Endpoint
The HTTP endpoint for the AWS Health API is:
https://health.us-east-1.amazonaws.com
Modifier and Type | Method | Description |
---|---|---|
static HealthAsyncClientBuilder |
builder() |
Create a builder that can be used to configure and create a
HealthAsyncClient . |
static HealthAsyncClient |
create() |
Create a
HealthAsyncClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider . |
default CompletableFuture<DescribeAffectedEntitiesResponse> |
describeAffectedEntities(DescribeAffectedEntitiesRequest describeAffectedEntitiesRequest) |
Returns a list of entities that have been affected by the specified events, based on the specified filter
criteria.
|
default CompletableFuture<DescribeEntityAggregatesResponse> |
describeEntityAggregates(DescribeEntityAggregatesRequest describeEntityAggregatesRequest) |
Returns the number of entities that are affected by each of the specified events.
|
default CompletableFuture<DescribeEventAggregatesResponse> |
describeEventAggregates(DescribeEventAggregatesRequest describeEventAggregatesRequest) |
Returns the number of events of each event type (issue, scheduled change, and account notification).
|
default CompletableFuture<DescribeEventDetailsResponse> |
describeEventDetails(DescribeEventDetailsRequest describeEventDetailsRequest) |
Returns detailed information about one or more specified events.
|
default CompletableFuture<DescribeEventsResponse> |
describeEvents(DescribeEventsRequest describeEventsRequest) |
Returns information about events that meet the specified filter criteria.
|
default CompletableFuture<DescribeEventTypesResponse> |
describeEventTypes(DescribeEventTypesRequest describeEventTypesRequest) |
Returns the event types that meet the specified filter criteria.
|
close
static HealthAsyncClient create()
HealthAsyncClient
with the region loaded from the
DefaultAwsRegionProviderChain
and credentials loaded from the
DefaultCredentialsProvider
.static HealthAsyncClientBuilder builder()
HealthAsyncClient
.default CompletableFuture<DescribeAffectedEntitiesResponse> describeAffectedEntities(DescribeAffectedEntitiesRequest describeAffectedEntitiesRequest)
Returns a list of entities that have been affected by the specified events, based on the specified filter criteria. Entities can refer to individual customer resources, groups of customer resources, or any other construct, depending on the AWS service. Events that have impact beyond that of the affected entities, or where the extent of impact is unknown, include at least one entity indicating this.
At least one event ARN is required. Results are sorted by the lastUpdatedTime
of the entity,
starting with the most recent.
describeAffectedEntitiesRequest
- nextToken
) is not valid.
default CompletableFuture<DescribeEntityAggregatesResponse> describeEntityAggregates(DescribeEntityAggregatesRequest describeEntityAggregatesRequest)
Returns the number of entities that are affected by each of the specified events. If no events are specified, the counts of all affected entities are returned.
describeEntityAggregatesRequest
- default CompletableFuture<DescribeEventAggregatesResponse> describeEventAggregates(DescribeEventAggregatesRequest describeEventAggregatesRequest)
Returns the number of events of each event type (issue, scheduled change, and account notification). If no filter is specified, the counts of all events in each category are returned.
describeEventAggregatesRequest
- nextToken
) is not valid.
default CompletableFuture<DescribeEventDetailsResponse> describeEventDetails(DescribeEventDetailsRequest describeEventDetailsRequest)
Returns detailed information about one or more specified events. Information includes standard event data (region, service, etc., as returned by DescribeEvents), a detailed event description, and possible additional metadata that depends upon the nature of the event. Affected entities are not included; to retrieve those, use the DescribeAffectedEntities operation.
If a specified event cannot be retrieved, an error message is returned for that event.
describeEventDetailsRequest
- default CompletableFuture<DescribeEventTypesResponse> describeEventTypes(DescribeEventTypesRequest describeEventTypesRequest)
Returns the event types that meet the specified filter criteria. If no filter criteria are specified, all event types are returned, in no particular order.
describeEventTypesRequest
- nextToken
) is not valid.
default CompletableFuture<DescribeEventsResponse> describeEvents(DescribeEventsRequest describeEventsRequest)
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.
describeEventsRequest
- nextToken
) is not valid.
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.