BatchGetAggregateResourceConfig - AWS Config

BatchGetAggregateResourceConfig

Returns the current configuration items for resources that are present in your AWS Config aggregator. The operation also returns a list of resources that are not processed in the current request. If there are no unprocessed resources, the operation returns an empty unprocessedResourceIdentifiers list.

Note
  • The API does not return results for deleted resources.

  • The API does not return tags and relationships.

Request Syntax

{ "ConfigurationAggregatorName": "string", "ResourceIdentifiers": [ { "ResourceId": "string", "ResourceName": "string", "ResourceType": "string", "SourceAccountId": "string", "SourceRegion": "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.

ConfigurationAggregatorName

The name of the configuration aggregator.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 256.

Pattern: [\w\-]+

Required: Yes

ResourceIdentifiers

A list of aggregate ResourceIdentifiers objects.

Type: Array of AggregateResourceIdentifier objects

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

Required: Yes

Response Syntax

{ "BaseConfigurationItems": [ { "accountId": "string", "arn": "string", "availabilityZone": "string", "awsRegion": "string", "configuration": "string", "configurationItemCaptureTime": number, "configurationItemDeliveryTime": number, "configurationItemStatus": "string", "configurationStateId": "string", "recordingFrequency": "string", "resourceCreationTime": number, "resourceId": "string", "resourceName": "string", "resourceType": "string", "supplementaryConfiguration": { "string" : "string" }, "version": "string" } ], "UnprocessedResourceIdentifiers": [ { "ResourceId": "string", "ResourceName": "string", "ResourceType": "string", "SourceAccountId": "string", "SourceRegion": "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.

BaseConfigurationItems

A list that contains the current configuration of one or more resources.

Type: Array of BaseConfigurationItem objects

UnprocessedResourceIdentifiers

A list of resource identifiers that were not processed with current scope. The list is empty if all the resources are processed.

Type: Array of AggregateResourceIdentifier objects

Errors

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

NoSuchConfigurationAggregatorException

You have specified a configuration aggregator that does not exist.

HTTP Status Code: 400

ValidationException

The requested action is not valid.

For PutStoredQuery, you will see this exception if there are missing required fields or if the input value fails the validation, or if you are trying to create more than 300 queries.

For GetStoredQuery, ListStoredQuery, and DeleteStoredQuery you will see this exception if there are missing required fields or if the input value fails the validation.

HTTP Status Code: 400

See Also

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