v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1492542448.2 KB

Returns the resource counts across accounts and regions that are present in your Config aggregator. You can request the resource counts by providing filters and GroupByKey.

For example, if the input contains accountID 12345678910 and region us-east-1 in filters, the API returns the count of resources in account ID 12345678910 and region us-east-1. If the input contains ACCOUNT_ID as a GroupByKey, the API returns resource counts for all source accounts that are present in your aggregator.

post/#X-Amz-Target=StarlingDoveService.GetAggregateDiscoveredResourceCounts

Query parameters

Limitstring

Pagination limit

NextTokenstring

Pagination token

Headers

X-Amz-Target'StarlingDoveService.GetAggregateDiscoveredResourceCounts' required

Request body

ConfigurationAggregatorNamestring required

The name of the configuration aggregator.

GroupByKey'RESOURCE_TYPE' | 'ACCOUNT_ID' | 'AWS_REGION'

The key to group the resource counts.

Limitinteger

The maximum number of <a>GroupedResourceCount</a> objects returned on each page. The default is 1000. You cannot specify a number greater than 1000. If you specify 0, Config uses the default.

NextTokenstring

The <code>nextToken</code> string returned on a previous page that you use to get the next page of results in a paginated response.

Response

Success

TotalDiscoveredResourcesinteger required

The total number of resources that are present in an aggregator with the filters that you provide.

GroupByKeystring

The key passed into the request object. If <code>GroupByKey</code> is not provided, the result will be empty.

NextTokenstring

The <code>nextToken</code> string returned on a previous page that you use to get the next page of results in a paginated response.