Menu
AWS Health
API Reference (API Version 2016-08-04)

DescribeEntityAggregates

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.

Request Syntax

{
   "eventArns": [ "string" ]
}

Request Parameters

For information about the parameters that are common to all actions, see Common Parameters.

The request accepts the following data in JSON format.

eventArns

A list of event ARNs (unique identifiers). For example: "arn:aws:health:us-east-1::event/AWS_EC2_MAINTENANCE_5331", "arn:aws:health:us-west-1::event/AWS_EBS_LOST_VOLUME_xyz"

Type: Array of strings

Array Members: Minimum number of 1 item. Maximum number of 50 items.

Length Constraints: Maximum length of 1600.

Pattern: arn:aws:health:[^:]*:[^:]*:event/[\w-]+

Required: No

Response Syntax

{
   "entityAggregates": [ 
      { 
         "count": number,
         "eventArn": "string"
      }
   ]
}

Response Elements

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

entityAggregates

The number of entities that are affected by each of the specified events.

Type: Array of EntityAggregate objects

Errors

For information about the errors that are common to all actions, see Common Errors.

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: