Debugging
Authorization information
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
RegionId | string | Yes | The region ID. | cn-hangzhou |
ClientToken | string | No | The client token that you want to use to ensure the idempotence of the request. You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length. For more information, see Ensure idempotence | 123e4567-e89b-12d3-a456-426655440000 |
NextToken | string | No | The pagination token that is used in the next request to retrieve a new page of results. | AAAAAV3MpHK1AP0pfERHZN5pu6nOc1nj4M9UaAZ/I8db*** |
ResourceType | string | Yes | The resource type. Valid values:
| instance |
ResourceId | array | No | The resource IDs. You can specify up to 50 resource IDs. | |
string | No | The resource ID. | s-bw526m1vi6x20c6g**** | |
Tag | object [] | No | The tags. You can specify up to 20 tags. | |
Key | string | No | The key of tag N that you want to add to the simple application server. A tag key can be 1 to 64 characters in length. Valid values of N: 1 to 20. | TestKey |
Value | string | No | The value of tag N that you want to add to the simple application server. A tag value can be up to 64 characters in length. Valid values of N: 1 to 20. | TestValue |
Response parameters
Examples
Sample success responses
JSON
format
{
"NextToken": "AAAAAV3MpHK1AP0pfERHZN5pu6nOc1nj4M9UaAZ/I8db***",
"RequestId": "20758A-585D-4A41-A9B2-28DA8F4F534F\t",
"TagResources": {
"TagResource": [
{
"ResourceType": "ALIYUN::SWAS::INSTANCE",
"TagValue": "TestValue",
"ResourceId": "s-bw526m1vi6x20c6g****\n",
"TagKey": "TestKey"
}
]
}
}
Error codes
For a list of error codes, visit the Service error codes.