code: func (c *ConfigService) GetAggregateDiscoveredResourceCounts(input *GetAggregateDiscoveredResourceCountsInput) (*GetAggregateDiscoveredResourceCountsOutput, error) {
  	req, out := c.GetAggregateDiscoveredResourceCountsRequest(input)
  	return out, req.Send()
  }
docs: // GetAggregateDiscoveredResourceCounts API operation for AWS Config.
  //
  // Returns the resource counts across accounts and regions that are present
  // in your AWS 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.
  //
  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  // with awserr.Error's Code and Message methods to get detailed information about
  // the error.
  //
  // See the AWS API reference guide for AWS Config's
  // API operation GetAggregateDiscoveredResourceCounts for usage and error information.
  //
  // Returned Error Codes:
  //   * ErrCodeValidationException "ValidationException"
  //   The requested action is not valid.
  //
  //   * ErrCodeInvalidLimitException "InvalidLimitException"
  //   The specified limit is outside the allowable range.
  //
  //   * ErrCodeInvalidNextTokenException "InvalidNextTokenException"
  //   The specified next token is invalid. Specify the nextToken string that was
  //   returned in the previous response to get the next page of results.
  //
  //   * ErrCodeNoSuchConfigurationAggregatorException "NoSuchConfigurationAggregatorException"
  //   You have specified a configuration aggregator that does not exist.
  //
  // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/GetAggregateDiscoveredResourceCounts