Config Get Discovered Resource Counts Response Structure
GetDiscoveredResourceCountsResponse schema
Type: objectProperties: 3
AuditingAmazon Web ServicesComplianceConfiguration ManagementGovernanceSecurity
GetDiscoveredResourceCountsResponse is a JSON Structure definition published by Amazon Config, describing 3 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.
{
"$schema": "https://json-structure.org/meta/core/v0/#",
"$id": "https://raw.githubusercontent.com/api-evangelist/amazon-config/refs/heads/main/json-structure/config-get-discovered-resource-counts-response-structure.json",
"name": "GetDiscoveredResourceCountsResponse",
"description": "GetDiscoveredResourceCountsResponse schema",
"type": "object",
"properties": {
"totalDiscoveredResources": {
"allOf": [
{
"$ref": "#/components/schemas/Long"
},
{
"description": "<p>The total number of resources that Config is recording in the region for your account. If you specify resource types in the request, Config returns only the total number of resources for those resource types.</p> <p class=\"title\"> <b>Example</b> </p> <ol> <li> <p>Config is recording three resource types in the US East (Ohio) Region for your account: 25 EC2 instances, 20 IAM users, and 15 S3 buckets, for a total of 60 resources.</p> </li> <li> <p>You make a call to the <code>GetDiscoveredResourceCounts</code> action and specify the resource type, <code>\"AWS::EC2::Instances\"</code>, in the request.</p> </li> <li> <p>Config returns 25 for <code>totalDiscoveredResources</code>.</p> </li> </ol>"
}
]
},
"resourceCounts": {
"allOf": [
{
"$ref": "#/components/schemas/ResourceCounts"
},
{
"description": "The list of <code>ResourceCount</code> objects. Each object is listed in descending order by the number of resources."
}
]
},
"nextToken": {
"allOf": [
{
"$ref": "#/components/schemas/NextToken"
},
{
"description": "The string that you use in a subsequent request to get the next page of results in a paginated response."
}
]
}
}
}
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.