Updates a Workspace Queue.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
emr-serverless-spark:EditWorkspaceQueue |
create |
*All Resource
|
None | None |
Request syntax
POST /api/v1/workspaces/queues/action/edit HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| body |
object |
No |
The request body. |
|
| workspaceId |
string |
No |
The Workspace ID. |
w-975bcfda9625**** |
| resourceSpec |
object |
No |
The resource specifications. |
|
| cu |
integer |
No |
The maximum resource capacity of the Workspace Queue. |
1000 |
| maxCu |
integer |
No |
0.5 |
|
| gpu |
integer |
No |
100 |
|
| workspaceQueueName |
string |
No |
The name of the Workspace Queue. |
dev_queue |
| environments |
array |
No |
The environment types. |
|
|
string |
No |
The queue environment type. |
prod |
|
| gpuSpec |
array |
No |
||
|
string |
No |
ecs.gn7i-c8g1.2xlarge |
||
| regionId |
string |
No |
The region ID. |
cn-hangzhou |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Returned Data |
||
| RequestId |
string |
The request ID. |
DD6B1B2A-5837-5237-ABE4-FF0C8944**** |
Examples
Success response
JSON format
{
"RequestId": "DD6B1B2A-5837-5237-ABE4-FF0C8944****"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.