全部產品
Search
文件中心

EventBridge:UpdateEventStreamingBusinessOption - 編輯事件流計費模式

更新時間:Sep 18, 2025

查詢事件流

介面說明

修改一個事件流的計費形態,cu 資源等配置

調試

您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。

調試

授權資訊

當前API暫無授權資訊透出。

請求文法

POST  HTTP/1.1

請求參數

名稱

類型

必填

描述

樣本值

EventStreamingName

string

名稱

rocketmq-sync

BusinessMode

string

計費模式,枚舉值包括: CapacityUnitMode 即 CU 模式 EventNumMode 即按事件量計費

CapacityUnitMode

MinCapacityUnitCount

integer

最小 CU 數量

1

MaxCapacityUnitCount

integer

最大 cu 數量

2

返回參數

名稱

類型

描述

樣本值

object

Schema of Response

Message

string

錯誤資訊。

Success

RequestId

string

阿里雲為該請求產生的唯一識別碼。

34AD682D-5B91-5773-8132-AA38C130****

Code

string

介面返回碼:

  • Success:表示成功。

  • 其它:表示錯誤碼。錯誤碼詳情,請參見錯誤碼。

Success

Success

boolean

操作成功返回 true。

true

Data

boolean

更新結果。

true

樣本

正常返回樣本

JSON格式

{
  "Message": "Success",
  "RequestId": "34AD682D-5B91-5773-8132-AA38C130****",
  "Code": "Success",
  "Success": true,
  "Data": true
}

錯誤碼

HTTP status code

錯誤碼

錯誤資訊

描述

403 ServiceNotEnable Service not enable
404 EventStreamingNotExisted the event streaming is not existed.

訪問錯誤中心查看更多錯誤碼。

變更歷史

更多資訊,參考變更詳情