Skip to content

GetDiscoveredResourceCountsRequest

Source code in docs_src/capo_config_service/types/get_discovered_resource_counts_request.py
class GetDiscoveredResourceCountsRequest(TypedDict, closed=True):
    resource_types: NotRequired[
        "capo_config_service.types.resource_types.ResourceTypes"
    ]
    """<p>The comma-separated list that specifies the resource types that you want Config to return (for example, <code>"AWS::EC2::Instance"</code>, <code>"AWS::IAM::User"</code>).</p> <p>If a value for <code>resourceTypes</code> is not specified, Config returns all resource types that Config is recording in the region for your account.</p> <note> <p>If the configuration recorder is turned off, Config returns an empty list of <a>ResourceCount</a> objects. If the configuration recorder is not recording a specific resource type (for example, S3 buckets), that resource type is not returned in the list of <a>ResourceCount</a> objects.</p> </note>"""
    limit: "capo_config_service.types.limit.Limit"
    """<p>The maximum number of <a>ResourceCount</a> objects returned on each page. The default is 100. You cannot specify a number greater than 100. If you specify 0, Config uses the default.</p>"""
    next_token: NotRequired["capo_config_service.types.next_token.NextToken"]
    """<p>The <code>nextToken</code> string returned on a previous page that you use to get the next page of results in a paginated response.</p>"""

limit instance-attribute

limit: Limit

The maximum number of ResourceCount objects returned on each page. The default is 100. You cannot specify a number greater than 100. If you specify 0, Config uses the default.

next_token instance-attribute

next_token: NotRequired[NextToken]

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

resource_types instance-attribute

resource_types: NotRequired[ResourceTypes]

The comma-separated list that specifies the resource types that you want Config to return (for example, "AWS::EC2::Instance", "AWS::IAM::User").

If a value for resourceTypes is not specified, Config returns all resource types that Config is recording in the region for your account.

If the configuration recorder is turned off, Config returns an empty list of ResourceCount objects. If the configuration recorder is not recording a specific resource type (for example, S3 buckets), that resource type is not returned in the list of ResourceCount objects.