Retrieves the details of a schema synchronization task.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dms:GetStructSyncJobDetail |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| OrderId |
integer |
Yes |
The ticket ID. |
4324321 |
| Tid |
integer |
No |
The tenant ID. Note
To view the tenant ID, hover over the profile picture in the upper-right corner of the Data Management (DMS) console. For more information, see Manage DMS tenants. |
1 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
The request ID. |
48602B78-0DDF-414C-8688-70CAB6070115 |
| Success |
boolean |
Indicates whether the request was successful. |
true |
| ErrorMessage |
string |
The error message. |
UnknownError |
| ErrorCode |
string |
The error code. |
UnknownError |
| StructSyncJobDetail |
object |
The details of the schema synchronization task. |
|
| JobStatus |
string |
The status of the task. Valid values:
|
DBTASK_SUCCESS |
| Message |
string |
The description of the task. |
test |
| TableAnalyzed |
integer |
The number of tables that have been analyzed. |
2 |
| TableCount |
integer |
The total number of tables. |
2 |
| SqlCount |
integer |
The total number of SQL statements. |
1 |
| ExecuteCount |
integer |
The number of SQL statements that have been executed. |
1 |
| SecurityRule |
string |
The type of security rule. Valid values:
|
WITHOUT_APPROVE |
| DBTaskGroupId |
integer |
The ID of the SQL task group. |
12345 |
Examples
Success response
JSON format
{
"RequestId": "48602B78-0DDF-414C-8688-70CAB6070115",
"Success": true,
"ErrorMessage": "UnknownError",
"ErrorCode": "UnknownError",
"StructSyncJobDetail": {
"JobStatus": "DBTASK_SUCCESS",
"Message": "test",
"TableAnalyzed": 2,
"TableCount": 2,
"SqlCount": 1,
"ExecuteCount": 1,
"SecurityRule": "WITHOUT_APPROVE",
"DBTaskGroupId": 12345
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.