All Products
Search
Document Center

EventBridge:UpdateEventBus

Last Updated:Mar 15, 2024

Modifies an event bus.

Operation description

You can call this API operation to modify an event bus.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
EventBusNamestringYes

The name of the event bus.

eventTest
DescriptionstringNo

The description of the event bus.

test

Response parameters

ParameterTypeDescriptionExample
object
Messagestring

The error message returned if the request failed.

The event bus [xxxx] not existed!
RequestIdstring

The request ID.

f2099962-1628-45f1-9782-2bf6daad823f
Codestring

The returned response code. The value Success indicates that the request is successful. Other values indicate that the request failed. For more information about error codes, see Error codes.

Success
Successboolean

Indicates whether the request is successful. Valid values: true and false.

true

Examples

Sample success responses

JSONformat

{
  "Message": "The event bus [xxxx] not existed!",
  "RequestId": "f2099962-1628-45f1-9782-2bf6daad823f",
  "Code": "Success",
  "Success": true
}

Error codes

HTTP status codeError codeError message
403ServiceNotEnableService not enable

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
2023-08-01The Error code has changedsee changesets
Change itemChange content
Error CodesThe Error code has changed.
    delete Error Codes: 403
2023-04-21The Error code has changedsee changesets
Change itemChange content
Error CodesThe Error code has changed.
    delete Error Codes: 403