@datafire/amazonaws_health

5.0.0 • Public • Published

@datafire/amazonaws_health

Client library for AWS Health APIs and Notifications

Installation and Usage

npm install --save @datafire/amazonaws_health
let amazonaws_health = require('@datafire/amazonaws_health').create({
  accessKeyId: "",
  secretAccessKey: "",
  region: ""
});

amazonaws_health.DescribeAffectedEntities({
  "filter": {
    "eventArns": []
  }
}).then(data => {
  console.log(data);
});

Description

AWS Health

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:

Actions

DescribeAffectedEntities

amazonaws_health.DescribeAffectedEntities({
  "filter": {
    "eventArns": []
  }
}, context)

Input

Output

DescribeEntityAggregates

amazonaws_health.DescribeEntityAggregates({}, context)

Input

Output

DescribeEventAggregates

amazonaws_health.DescribeEventAggregates({
  "aggregateField": ""
}, context)

Input

Output

DescribeEventDetails

amazonaws_health.DescribeEventDetails({
  "eventArns": []
}, context)

Input

Output

DescribeEventTypes

amazonaws_health.DescribeEventTypes({}, context)

Input

Output

DescribeEvents

amazonaws_health.DescribeEvents({}, context)

Input

Output

Definitions

AffectedEntity

DateTimeRange

  • DateTimeRange object: A range of dates and times that is used by the EventFilter and EntityFilter objects. If from is set and to is set: match items where the timestamp (startTime, endTime, or lastUpdatedTime) is between from and to inclusive. If from is set and to is not set: match items where the timestamp value is equal to or after from. If from is not set and to is set: match items where the timestamp value is equal to or before to.

DescribeAffectedEntitiesRequest

DescribeAffectedEntitiesResponse

DescribeEntityAggregatesRequest

DescribeEntityAggregatesResponse

DescribeEventAggregatesRequest

DescribeEventAggregatesResponse

DescribeEventDetailsFailedSet

DescribeEventDetailsRequest

DescribeEventDetailsResponse

DescribeEventDetailsSuccessfulSet

  • DescribeEventDetailsSuccessfulSet array

DescribeEventTypesRequest

DescribeEventTypesResponse

DescribeEventsRequest

DescribeEventsResponse

EntityAggregate

  • EntityAggregate object: The number of entities that are affected by one or more events. Returned by the DescribeEntityAggregates operation.

EntityAggregateList

EntityFilter

EntityList

Event

EventAggregate

  • EventAggregate object: The number of events of each issue type. Returned by the DescribeEventAggregates operation.

EventAggregateList

EventArnsList

EventDescription

  • EventDescription object: The detailed description of the event. Included in the information returned by the DescribeEventDetails operation.

EventDetails

  • EventDetails object: Detailed information about an event. A combination of an Event object, an EventDescription object, and additional metadata about the event. Returned by the DescribeEventDetails operation.

EventDetailsErrorItem

  • EventDetailsErrorItem object: Error information returned when a DescribeEventDetails operation cannot find a specified event.

EventFilter

EventList

  • EventList array

EventType

  • EventType object: Metadata about a type of event that is reported by AWS Health. Data consists of the category (for example, issue), the service (for example, EC2), and the event type code (for example, AWS_EC2_SYSTEM_MAINTENANCE_EVENT).

EventTypeCategoryList

EventTypeCodeList

EventTypeFilter

EventTypeList

InvalidPaginationToken

  • InvalidPaginationToken object: The specified pagination token (nextToken) is not valid.

UnsupportedLocale

  • UnsupportedLocale object: The specified locale is not supported.

accountId

  • accountId string

aggregateValue

  • aggregateValue string

availabilityZone

  • availabilityZone string

availabilityZones

count

  • count integer

dateTimeRangeList

entityArn

  • entityArn string

entityArnList

entityStatusCode

  • entityStatusCode string (values: IMPAIRED, UNIMPAIRED, UNKNOWN)

entityStatusCodeList

entityValue

  • entityValue string

entityValueList

eventAggregateField

  • eventAggregateField string (values: eventTypeCategory)

eventArn

  • eventArn string

eventArnList

eventDescription

  • eventDescription string

eventMetadata

eventStatusCode

  • eventStatusCode string (values: open, closed, upcoming)

eventStatusCodeList

eventType

  • eventType string

eventTypeCategory

  • eventTypeCategory string (values: issue, accountNotification, scheduledChange)

eventTypeCategoryList

eventTypeCode

  • eventTypeCode string

eventTypeList

locale

  • locale string

maxResults

  • maxResults integer

metadataKey

  • metadataKey string

metadataValue

  • metadataValue string

nextToken

  • nextToken string

region

  • region string

regionList

  • regionList array

service

  • service string

serviceList

string

  • string string

tagFilter

  • tagFilter array

tagKey

  • tagKey string

tagSet

tagValue

  • tagValue string

timestamp

  • timestamp string

Readme

Keywords

none

Package Sidebar

Install

npm i @datafire/amazonaws_health

Weekly Downloads

1

Version

5.0.0

License

MIT

Unpacked Size

67 kB

Total Files

4

Last publish

Collaborators

  • datafire