Calls the DescribeExpandLogicTableInfoList operation to query shard keys.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
drds:DescribeExpandLogicTableInfoList |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| DrdsInstanceId |
string |
Yes |
The instance ID. |
drds************ |
| DbName |
string |
Yes |
The database name. |
drds_flashback |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| Success |
boolean |
Indicates whether the request was successful. |
true |
| RequestId |
string |
The request ID. |
0B6B7BDC-575D-4A77-A4F8-24B7EF****** |
| Data |
object |
||
| data |
array<object> |
The result. |
|
|
object |
|||
| ShardTbKey |
string |
Indicates the table sharding key. |
address |
| TableName |
string |
Indicates the name of the table. |
employee_split2 |
| ShardDbKey |
string |
Indicates the database sharding key. |
id |
Examples
Success response
JSON format
{
"Success": true,
"RequestId": "0B6B7BDC-575D-4A77-A4F8-24B7EF******",
"Data": {
"data": [
{
"ShardTbKey": "address",
"TableName": "employee_split2",
"ShardDbKey": "id"
}
]
}
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 500 | InternalError | The request processing has failed due to some unknown error. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.