Edits a workspace queue.
Try it now
Test
RAM authorization
Action | Access level | Resource type | Condition key | Dependent action |
emr-serverless-spark:EditWorkspaceQueue | *All Resource
| None | None |
Request syntax
POST /api/v1/workspaces/queues/action/edit HTTP/1.1Request 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 amount of resources for the workspace queue. | 1000 |
maxCu | integer | No | 0.5 | |
workspaceQueueName | string | No | The name of the workspace queue. | dev_queue |
| environments | array | No | The environment type of the queue. | |
string | No | The environment type of the queue. | prod | |
regionId | string | No | The region ID. | cn-hangzhou |
Response elements
Element | Type | Description | Example |
object | The 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.