Memperbarui Antrian Ruang Kerja.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
emr-serverless-spark:EditWorkspaceQueue |
create |
*全部资源
|
None | None |
Sintaks permintaan
POST /api/v1/workspaces/queues/action/edit HTTP/1.1
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| body |
object |
No |
Badan permintaan. |
|
| 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 |
ID wilayah. |
cn-hangzhou |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Returned Data |
||
| RequestId |
string |
The request ID. |
DD6B1B2A-5837-5237-ABE4-FF0C8944**** |
Contoh
Respons sukses
JSONformat
{
"RequestId": "DD6B1B2A-5837-5237-ABE4-FF0C8944****"
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.