All Products
Search
Document Center

Resource Management:ListExampleQueries

Last Updated:Jun 20, 2025

Queries all sample query templates.

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
MaxResultsstringNo

The maximum number of entries per page.

Valid values: 1 to 50.

Default value: 50.

10
NextTokenstringNo

The pagination token that is used in the next request to retrieve a new page of results.

eyJzZWFyY2hBZnRlcnMiOlsiMTAwMTU2Nzk4MTU1OSJd****

Response parameters

ParameterTypeDescriptionExample
object

The returned result.

RequestIdstring

The request ID.

D696E6EF-3A6D-5770-801E-4982081FE4D0
MaxResultsstring

The maximum number of entries per page.

10
NextTokenstring

The pagination token that is used in the next request to retrieve a new page of results.

eyJzZWFyY2hBZnRlcnMiOlsiMTAwMTU2Nzk4MTU1OSJd****
ExampleQueriesarray<object>

The information about the sample query templates.

ExampleQueryobject
QueryIdstring

The ID of the template.

sq-0PfKy****
Namestring

The name of the template.

Query of All Alibaba Cloud Resources
Descriptionstring

The description of the template.

Queries all resources on which you have permissions and sorts the resources by resource type and resource ID.

Examples

Sample success responses

JSONformat

{
  "RequestId": "D696E6EF-3A6D-5770-801E-4982081FE4D0",
  "MaxResults": 10,
  "NextToken": "eyJzZWFyY2hBZnRlcnMiOlsiMTAwMTU2Nzk4MTU1OSJd****",
  "ExampleQueries": [
    {
      "QueryId": "sq-0PfKy****",
      "Name": "Query of All Alibaba Cloud Resources",
      "Description": "Queries all resources on which you have permissions and sorts the resources by resource type and resource ID. "
    }
  ]
}

Error codes

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
No change history