Memperbarui opsi bisnis aliran acara.
Deskripsi operasi
Updates the billing method, compute unit (CU) resources, and other configurations of an event stream.
Coba sekarang
Test
RAM authorization
Sintaks permintaan
POST HTTP/1.1
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| EventStreamingName |
string |
Yes |
Nama aliran acara. |
rocketmq-sync |
| BusinessMode |
string |
Yes |
Mode penagihan. Nilai valid:
|
CapacityUnitMode |
| MinCapacityUnitCount |
integer |
No |
Jumlah CU minimum. |
1 |
| MaxCapacityUnitCount |
integer |
No |
Jumlah CU maksimum. |
2 |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
The data returned. |
||
| Message |
string |
The error message returned if the request fails. |
Success |
| RequestId |
string |
The ID of the request. |
34AD682D-5B91-5773-8132-AA38C130**** |
| Code |
string |
The status code returned.
|
Success |
| Success |
boolean |
Indicates whether the request was successful. Valid values: true and false. |
true |
| Data |
boolean |
Indicates whether the configuration was updated. Valid values: true and false. |
true |
Contoh
Respons sukses
JSONformat
{
"Message": "Success",
"RequestId": "34AD682D-5B91-5773-8132-AA38C130****",
"Code": "Success",
"Success": true,
"Data": true
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 403 | ServiceNotEnable | Service not enable | |
| 404 | EventStreamingNotExisted | the event streaming is not existed. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.