AWS SDK Version 2 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

.NET Framework 3.5
 
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 AWS Config has discovered, including those that AWS 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, and by default AWS Config lists 100 resource identifiers on each page. You can customize this number with the limit parameter. The response includes a nextToken string, and to get the next page of results, run the request again and enter this string for the nextToken parameter.

Namespace: Amazon.ConfigService
Assembly: AWSSDK.dll
Version: (assembly version)

Syntax

C#
public virtual ListDiscoveredResourcesResponse ListDiscoveredResources(
         ListDiscoveredResourcesRequest request
)

Parameters

request
Type: Amazon.ConfigService.Model.ListDiscoveredResourcesRequest

Container for the necessary parameters to execute the ListDiscoveredResources service method.

Return Value
Type: Amazon.ConfigService.Model.ListDiscoveredResourcesResponse
The response from the ListDiscoveredResources service method, as returned by ConfigService.

Exceptions

ExceptionCondition
InvalidLimitException The specified limit is outside the allowable range.
InvalidNextTokenException The specified next token is invalid. Specify the nextToken string that was returned in the previous response to get the next page of results.
NoAvailableConfigurationRecorderException There are no configuration recorders available to provide the role needed to describe your resources. Create a configuration recorder.
ValidationException The requested action is not valid.

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5