Module Smaws_Client_ConfigService.GetAggregateDiscoveredResourceCounts

val request : Smaws_Lib.Context.t -> get_aggregate_discovered_resource_counts_request -> (get_aggregate_discovered_resource_counts_response, [> Smaws_Lib.Protocols.AwsJson.error | `InvalidLimitException of invalid_limit_exception | `InvalidNextTokenException of invalid_next_token_exception | `NoSuchConfigurationAggregatorException of no_such_configuration_aggregator_exception | `ValidationException of validation_exception ]) Stdlib.result

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.