Smaws_Client_ConfigService.ListDiscoveredResources
val request :
Smaws_Lib.Context.t ->
list_discovered_resources_request ->
(list_discovered_resources_response,
[> Smaws_Lib.Protocols.AwsJson.error
| `InvalidLimitException of invalid_limit_exception
| `InvalidNextTokenException of invalid_next_token_exception
| `NoAvailableConfigurationRecorderException of
no_available_configuration_recorder_exception
| `ValidationException of validation_exception ])
Stdlib.result
Accepts a resource type and returns a list of resource identifiers for the resources of that type. A resource identifier includes the resource type, ID, and (if available) the custom resource name. The results consist of resources that Config has discovered, including those that Config is not currently recording. You can narrow the results to include only resources that have specific resource IDs or a resource name.
You can specify either resource IDs or a resource name, but not both, in the same request.
The response is paginated. By default, Config lists 100 resource identifiers on each page. You can customize this number with the 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.