Queries the character sets that are supported by an instance.
Operation description
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
Engine | string | Yes | The type of the database engine. Valid values:
| mysql |
RegionId | string | Yes | The region ID. You can call the DescribeRegions operation to query the most recent region list. | cn-hangzhou |
ResourceGroupId | string | No | The resource group ID. You can call the DescribeDBInstanceAttribute operation to query the resource group ID. | rg-acfmy***** |
Response parameters
Examples
Sample success responses
JSON
format
{
"Engine": "mysql",
"RequestId": "1E43AAE0-BEE8-43DA-860D-EAF2AA0724DC",
"CharacterSetNameItems": {
"CharacterSetName": [
"gbk"
]
}
}
Error codes
HTTP status code | Error code | Error message | Description |
---|---|---|---|
400 | InvalidEngine.Malformed | Specified engine is not valid. | The database engine is invalid. Specify a valid database engine. |
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation | ||||||||
---|---|---|---|---|---|---|---|---|---|---|
2023-07-21 | The Error code has changed. The request parameters of the API has changed | see changesets | ||||||||
|