Amazon.ConfigService.AmazonConfigServiceClient.ListDiscoveredResources C# (CSharp) Method

ListDiscoveredResources() public method

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.

/// The specified limit is outside the allowable range. /// /// The specified next token is invalid. Specify the nextToken string that /// was returned in the previous response to get the next page of results. /// /// There are no configuration recorders available to provide the role needed to describe /// your resources. Create a configuration recorder. /// /// The requested action is not valid. ///
public ListDiscoveredResources ( ListDiscoveredResourcesRequest request ) : Amazon.ConfigService.Model.ListDiscoveredResourcesResponse
request Amazon.ConfigService.Model.ListDiscoveredResourcesRequest Container for the necessary parameters to execute the ListDiscoveredResources service method.
return Amazon.ConfigService.Model.ListDiscoveredResourcesResponse
        public ListDiscoveredResourcesResponse ListDiscoveredResources(ListDiscoveredResourcesRequest request)
        {
            var marshaller = new ListDiscoveredResourcesRequestMarshaller();
            var unmarshaller = ListDiscoveredResourcesResponseUnmarshaller.Instance;

            return Invoke<ListDiscoveredResourcesRequest,ListDiscoveredResourcesResponse>(request, marshaller, unmarshaller);
        }
AmazonConfigServiceClient