All Products
Search
Document Center

ApsaraDB RDS:DescribeCharacterSetName

Last Updated:Mar 13, 2024

Queries the character sets that are supported by an instance.

Operation description

Supported database engines

  • MySQL
  • PostgreSQL
  • SQL Server
  • MariaDB

Debugging

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

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
EnginestringYes

The type of the database engine. Valid values:

  • mysql
  • mssql
  • PostgreSQL
  • MariaDB
mysql
RegionIdstringYes

The region ID. You can call the DescribeRegions operation to query the most recent region list.

cn-hangzhou
ResourceGroupIdstringNo

The resource group ID. You can call the DescribeDBInstanceAttribute operation to query the resource group ID.

rg-acfmy*****

Response parameters

ParameterTypeDescriptionExample
object

The response parameters.

Enginestring

The type of the database engine.

mysql
RequestIdstring

The request ID.

1E43AAE0-BEE8-43DA-860D-EAF2AA0724DC
CharacterSetNameItemsarray

The character sets that are supported.

string

The character set that is supported.

gbk

Examples

Sample success responses

JSONformat

{
  "Engine": "mysql",
  "RequestId": "1E43AAE0-BEE8-43DA-860D-EAF2AA0724DC",
  "CharacterSetNameItems": {
    "CharacterSetName": [
      "gbk"
    ]
  }
}

Error codes

HTTP status codeError codeError messageDescription
400InvalidEngine.MalformedSpecified 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 timeSummary of changesOperation
2023-07-21The Error code has changed. The request parameters of the API has changedsee changesets
Change itemChange content
Error CodesThe Error code has changed.
    delete Error Codes: 400
Input ParametersThe request parameters of the API has changed.
    Added Input Parameters: ResourceGroupId