Queries the information about a DMS data warehouse development project workspace by workspace name.
Operation description
The user role must be administrator or DBA.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dms:GetLhSpaceByName |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| SpaceName |
string |
Yes |
The name of the project workspace. |
test_space |
| Tid |
integer |
No |
The tenant ID. You can call the GetUserActiveTenant or ListUserTenants operation to obtain this parameter. |
3000 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
FE8CA4A8-AB2D-55B7-BD30-01A4609F40D8 |
| ErrorCode |
string |
The error code. |
UnknownError |
| ErrorMessage |
string |
The error message. |
UnknownError |
| Success |
boolean |
Indicates whether the request is successful. Valid values:
|
true |
| LakehouseSpace |
object |
The data warehouse development project workspace. |
|
| Id |
integer |
The ID of the project workspace. |
1 |
| SpaceName |
string |
The name of the project workspace. |
test_space |
| CreatorId |
string |
The user ID of the project workspace creator. |
51*** |
| TenantId |
string |
The tenant ID of the project workspace. |
3*** |
| Description |
string |
The description of the project workspace. |
test |
| Mode |
integer |
The mode of the project workspace. Valid values:
|
1 |
| DwDbType |
string |
The database type. Currently, only the following types are supported:
|
14 |
| SpaceConfig |
string |
The project workspace configuration. The following configuration items are supported:
|
{\"skipManualRunCheck\":true,\"skipPublishApprove\":true} |
| DevDbId |
integer |
The database ID of the development database. |
2435**** |
| ProdDbId |
integer |
The database ID of the production database. |
2442**** |
| IsDeleted |
boolean |
Indicates whether the project workspace is deleted. Valid values:
|
false |
Examples
Success response
JSON format
{
"RequestId": "FE8CA4A8-AB2D-55B7-BD30-01A4609F40D8",
"ErrorCode": "UnknownError",
"ErrorMessage": "UnknownError",
"Success": true,
"LakehouseSpace": {
"Id": 1,
"SpaceName": "test_space",
"CreatorId": "51***",
"TenantId": "3***",
"Description": "test",
"Mode": 1,
"DwDbType": "14",
"SpaceConfig": "{\\\"skipManualRunCheck\\\":true,\\\"skipPublishApprove\\\":true}",
"DevDbId": 0,
"ProdDbId": 0,
"IsDeleted": false
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.