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.
Container for the parameters to the SearchResources operation. Returns a list of Amazon Web Services resource identifiers that matches the specified query. The query uses the same format as a resource query in a CreateGroup or UpdateGroupQuery operation.
Minimum permissions
To run this command, you must have the following permissions:
resource-groups:SearchResources
cloudformation:DescribeStacks
cloudformation:ListStackResources
tag:GetResources
Namespace: Amazon.ResourceGroups.Model
Assembly: AWSSDK.ResourceGroups.dll
Version: 3.x.y.z
public class SearchResourcesRequest : AmazonResourceGroupsRequest IAmazonWebServiceRequest
The SearchResourcesRequest type exposes the following members
| Name | Description | |
|---|---|---|
|
SearchResourcesRequest() |
| Name | Type | Description | |
|---|---|---|---|
|
MaxResults | System.Int32 |
Gets and sets the property MaxResults.
The total number of results that you want included on each page of the response. If
you do not include this parameter, it defaults to a value that is specific to the
operation. If additional items exist beyond the maximum you specify, the |
|
NextToken | System.String |
Gets and sets the property NextToken.
The parameter for receiving additional results if you receive a |
|
ResourceQuery | Amazon.ResourceGroups.Model.ResourceQuery |
Gets and sets the property ResourceQuery. The search query, using the same formats that are supported for resource group definition. For more information, see CreateGroup. |
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5 and newer, 3.5