All Products
Search
Document Center

Resource Management:ListTagKeys

Last Updated:Dec 18, 2023

Queries tag keys.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Debug

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
NextTokenstringNo

The pagination token that is used in the next request to retrieve a new page of results. You do not need to specify this parameter for the first request.

TGlzdFJlc291cm****
MaxResultsintegerNo

The maximum number of entries to return for a single request.

Valid values: 1 to 100. Default value: 10.

10
ResourceTypestringYes

The resource type.

The value Account indicates the members of the resource directory.

Account
KeyFilterstringNo

The tag key for a fuzzy query.

team

Response parameters

ParameterTypeDescriptionExample
object

The returned result.

NextTokenstring

Indicates whether the next query is required.

  • If the value of this parameter is empty ("NextToken": ""), all results are returned, and the next query is not required.
  • If the value of this parameter is not empty, the next query is required, and the value is the token used to start the next query.
TGlzdFJlc291cm****
RequestIdstring

The request ID.

DC09A6AA-2713-4E10-A2E9-E6C5C43A8842
Tagsobject []

The information about the tag keys.

Keystring

The tag key.

team

Examples

Sample success responses

JSONformat

{
  "NextToken": "TGlzdFJlc291cm****",
  "RequestId": "DC09A6AA-2713-4E10-A2E9-E6C5C43A8842",
  "Tags": [
    {
      "Key": "team"
    }
  ]
}

Error codes

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