刪除一個事件來源。
介面說明
刪除一個事件來源。
調試
您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。
調試
授權資訊
|
操作 |
存取層級 |
資源類型 |
條件關鍵字 |
關聯操作 |
|
eventbridge:DeleteEventSource |
delete |
*EventSource
|
無 | 無 |
請求參數
|
名稱 |
類型 |
必填 |
描述 |
樣本值 |
| EventBusName |
string |
否 |
綁定的匯流排 |
|
| EventSourceName |
string |
是 |
事件來源名稱 |
myrabbitmq.source |
返回參數
|
名稱 |
類型 |
描述 |
樣本值 |
|
object |
|||
| Message |
string |
錯誤資訊 |
Remote error. requestId: [78B66E68-E778-1F33-84BD-xxxx], error code: [EventSourceNotExist], message: [The event source in request is not exist! ] |
| RequestId |
string |
阿里雲為該請求產生的唯一識別碼。 |
5f80e9b3-98d5-4f51-8412-c758818a03e4 |
| Code |
string |
介面返回碼:Success:表示成功。 其它:表示錯誤碼。錯誤碼詳情,請參見錯誤碼。 |
Success |
| Success |
boolean |
操作成功返回 true。 |
true |
樣本
正常返回樣本
JSON格式
{
"Message": "Remote error. requestId: [78B66E68-E778-1F33-84BD-xxxx], error code: [EventSourceNotExist], message: [The event source in request is not exist! ]",
"RequestId": "5f80e9b3-98d5-4f51-8412-c758818a03e4",
"Code": "Success",
"Success": true
}
錯誤碼
|
HTTP status code |
錯誤碼 |
錯誤資訊 |
描述 |
|---|---|---|---|
| 403 | ServiceNotEnable | Service not enable |
訪問錯誤中心查看更多錯誤碼。
變更歷史
更多資訊,參考變更詳情。