GetDiscoveredResourceCounts action and specify that you want all resource types. limit parameter. The response includes a nextToken string. To get the next page of results, run the request again and specify the string for the nextToken parameter.curl --location --request POST '/' \
--header 'X-Amz-Target;' \
--header 'Content-Type: application/json' \
--data-raw '{
    "resourceTypes": [],
    "limit": 0,
    "nextToken": "string"
}'{
    "totalDiscoveredResources": 0,
    "resourceCounts": [],
    "nextToken": "string"
}