All Products
Search
Document Center

Application Real-Time Monitoring Service:CreateOrUpdateEventBridgeIntegration

Last Updated:Nov 05, 2024

Creates or modifies an EventBridge integration that is used to push notifications.

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

Authorization information

The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:

  • Operation: the value that you can use in the Action element to specify the operation on a resource.
  • Access level: the access level of each operation. The levels are read, write, and list.
  • Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
    • The required resource types are displayed in bold characters.
    • If the permissions cannot be granted at the resource level, All Resources is used in the Resource type column of the operation.
  • Condition Key: the condition key that is defined by the cloud service.
  • Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
OperationAccess levelResource typeCondition keyAssociated operation
arms:CreateOrUpdateEventBridgeIntegrationnone
  • All Resources
    *
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
IdlongNo

The ID of the EventBridge integration.

  • If you do not specify this parameter, an EventBridge integration is created.
  • If you specify this parameter, the specified EventBridge integration is modified.
123
NamestringNo

The name of the EventBridge integration.

EventBridge_Test
DescriptionstringNo

The description of the EventBridge integration.

test
EndpointstringNo

The public endpoint of EventBridge.

http://xxxxx
AccessKeystringNo

The AccessKey ID that is used to connect to EventBridge.

abc******************
AccessSecretstringNo

The AccessKey secret that is used to connect to EventBridge.

abc******************
EventBusNamestringNo

The name of the event bus.

EventBus_Test
SourcestringNo

The event source.

arms
EventBusRegionIdstringNo

The region ID of the event bus.

cn-hangzhou

Response parameters

ParameterTypeDescriptionExample
object

Schema of Response

RequestIdstring

The request ID.

2B289756-E791-5842-BCBD-AD414C******
EventBridgeIntegrationobject

The information about the EventBridge integration.

Idlong

The ID of the EventBridge integration.

123
Namestring

The name of the EventBridge integration.

EventBridge_Test
Descriptionstring

The description of the EventBridge integration.

test
Endpointstring

The public endpoint of EventBridge.

http://xxxxx
AccessKeystring

The AccessKey ID that is used to connect to EventBridge.

abc******************
AccessSecretstring

The AccessKey secret that is used to connect to EventBridge.

abc******************
EventBusNamestring

The name of the event bus.

EventBus_Test
Sourcestring

The event source.

arms
EventBusRegionIdstring

The region ID of the event bus.

cn-hangzhou

Examples

Sample success responses

JSONformat

{
  "RequestId": "2B289756-E791-5842-BCBD-AD414C******",
  "EventBridgeIntegration": {
    "Id": 123,
    "Name": "EventBridge_Test",
    "Description": "test",
    "Endpoint": "http://xxxxx",
    "AccessKey": "abc******************",
    "AccessSecret": "abc******************",
    "EventBusName": "EventBus_Test",
    "Source": "arms",
    "EventBusRegionId": "cn-hangzhou"
  }
}

Error codes

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

Change history

Change timeSummary of changesOperation
2024-07-30The internal configuration of the API is changed, but the call is not affectedView Change Details