HealthClient Class

(QtAws::Health::HealthClient)

The HealthClient class provides access to the AWS Health APIs and Notifications service. More...

Header: #include <HealthClient>
Inherits: QtAws::Core::AwsAbstractClient

Public Functions

HealthClient(const QtAws::Core::AwsRegion::Region region = QtAws::Core::AwsRegion::InvalidRegion, QtAws::Core::AwsAbstractCredentials *credentials = NULL, QNetworkAccessManager * const manager = NULL, QObject * const parent = 0)
HealthClient(const QUrl &endpoint, QtAws::Core::AwsAbstractCredentials *credentials = NULL, QNetworkAccessManager * const manager = NULL, QObject * const parent = 0)

Public Slots

DescribeAffectedEntitiesResponse *describeAffectedEntities(const DescribeAffectedEntitiesRequest &request)
DescribeEntityAggregatesResponse *describeEntityAggregates(const DescribeEntityAggregatesRequest &request)
DescribeEventAggregatesResponse *describeEventAggregates(const DescribeEventAggregatesRequest &request)
DescribeEventDetailsResponse *describeEventDetails(const DescribeEventDetailsRequest &request)
DescribeEventTypesResponse *describeEventTypes(const DescribeEventTypesRequest &request)
DescribeEventsResponse *describeEvents(const DescribeEventsRequest &request)

Additional Inherited Members

Detailed Description

The HealthClient class provides access to the AWS Health APIs and Notifications service.

<fullname>AWS Health</fullname>

The AWS Health API provides programmatic access to the AWS Health information that is presented in the <a href="https://phd.aws.amazon.com/phd/home#/">AWS Personal Health Dashboard</a>. You can get information about events that affect your AWS

resources> <ul> <li>

<a>DescribeEvents</a>: Summary information about

events> </li> <li>

<a>DescribeEventDetails</a>: Detailed information about one or more

events> </li> <li>

<a>DescribeAffectedEntities</a>: Information about AWS resources that are affected by one or more

events> </li> </ul>

In addition, these operations provide information about event types and summary counts of events or affected

entities> <ul> <li>

<a>DescribeEventTypes</a>: Information about the kinds of events that AWS Health

tracks> </li> <li>

<a>DescribeEventAggregates</a>: A count of the number of events that meet specified

criteria> </li> <li>

<a>DescribeEntityAggregates</a>: A count of the number of affected entities that meet specified

criteria> </li> </ul>

The Health API requires a Business or Enterprise support plan from <a href="http://aws.amazon.com/premiumsupport/">AWS Support</a>. Calling the Health API from an account that does not have a Business or Enterprise support plan causes a <code>SubscriptionRequiredException</code>.

</p

For authentication of requests, AWS Health uses the <a href="http://docs.aws.amazon.com/general/latest/gr/signature-version-4.html">Signature Version 4 Signing

Process</a>>

See the <a href="http://docs.aws.amazon.com/health/latest/ug/what-is-aws-health.html">AWS Health User Guide</a> for information about how to use the

API>

<b>Service Endpoint</b>

</p

The HTTP endpoint for the AWS Health API

is> <ul> <li>

https://health.us-east-1.amazonaws.com

Member Function Documentation

HealthClient::HealthClient(const QtAws::Core::AwsRegion::Region region = QtAws::Core::AwsRegion::InvalidRegion, QtAws::Core::AwsAbstractCredentials *credentials = NULL, QNetworkAccessManager * const manager = NULL, QObject * const parent = 0)

Constructs a HealthClient object.

The new client object will region, credentials, and manager for network operations.

The new object will be owned by parent, if set.

HealthClient::HealthClient(const QUrl &endpoint, QtAws::Core::AwsAbstractCredentials *credentials = NULL, QNetworkAccessManager * const manager = NULL, QObject * const parent = 0)

This function overloads HealthClient().

This overload allows the caller to specify the specific endpoint to send requests to. Typically, it is easier to use the alternative constructor, which allows the caller to specify an AWS region instead, in which case this client will determine the correct endpoint for the given region automatically (via AwsEndpoint::getEndpoint).

See also QtAws::Core::AwsEndpoint::getEndpoint.

[slot] DescribeAffectedEntitiesResponse *HealthClient::describeAffectedEntities(const DescribeAffectedEntitiesRequest &request)

Sends request to the HealthClient service, and returns a pointer to an DescribeAffectedEntitiesResponse object to track the result.

Note: The caller is to take responsbility for the resulting pointer.

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 <code>lastUpdatedTime</code> of the entity, starting with the most

[slot] DescribeEntityAggregatesResponse *HealthClient::describeEntityAggregates(const DescribeEntityAggregatesRequest &request)

Sends request to the HealthClient service, and returns a pointer to an DescribeEntityAggregatesResponse object to track the result.

Note: The caller is to take responsbility for the resulting pointer.

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

[slot] DescribeEventAggregatesResponse *HealthClient::describeEventAggregates(const DescribeEventAggregatesRequest &request)

Sends request to the HealthClient service, and returns a pointer to an DescribeEventAggregatesResponse object to track the result.

Note: The caller is to take responsbility for the resulting pointer.

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

[slot] DescribeEventDetailsResponse *HealthClient::describeEventDetails(const DescribeEventDetailsRequest &request)

Sends request to the HealthClient service, and returns a pointer to an DescribeEventDetailsResponse object to track the result.

Note: The caller is to take responsbility for the resulting pointer.

Returns detailed information about one or more specified events. Information includes standard event data (region, service, etc., as returned by <a>DescribeEvents</a>), 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 <a>DescribeAffectedEntities</a>

operation>

If a specified event cannot be retrieved, an error message is returned for that

[slot] DescribeEventTypesResponse *HealthClient::describeEventTypes(const DescribeEventTypesRequest &request)

Sends request to the HealthClient service, and returns a pointer to an DescribeEventTypesResponse object to track the result.

Note: The caller is to take responsbility for the resulting pointer.

Returns the event types that meet the specified filter criteria. If no filter criteria are specified, all event types are returned, in no particular

[slot] DescribeEventsResponse *HealthClient::describeEvents(const DescribeEventsRequest &request)

Sends request to the HealthClient service, and returns a pointer to an DescribeEventsResponse object to track the result.

Note: The caller is to take responsbility for the resulting pointer.

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 <a>DescribeEventDetails</a> and <a>DescribeAffectedEntities</a>

operations>

If no filter criteria are specified, all events are returned. Results are sorted by <code>lastModifiedTime</code>, starting with the most

© 2018 Paul Colby Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.