文档

QueryEventTraces - 查询事件轨迹推送详情

更新时间:

查询事件轨迹。

接口说明

查询事件轨迹。

调试

您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

授权信息

当前API暂无授权信息透出。

请求参数

名称类型必填描述示例值
EventBusNamestring

事件总线的名称。

MyEventBus
EventIdstring

事件 ID。

1935debf-ddac-49dc-a090-d4f2857a046d

返回参数

名称类型描述示例值
object
Messagestring

错误信息。

EventBusNotExist
RequestIdstring

阿里云为该请求生成的唯一标识符。

BB934571-1F5A-5E17-91DD-E2BC3E1BFBFF
Dataobject []

事件轨迹信息。

Actionstring

事件轨迹类型。取值说明如下: PutEvent:投递事件。 FilterEvent:过滤事件。 PushEvent:推送事件。

PutEvent
ReceivedTimelong

事件投递到总线的时间。Action 取值为 PutEvent 时的 EventTrace 属性。

1659495343896
RuleMatchingTimestring

事件规则匹配通过时间。Action 取值为 FilterEvent 时的 EventTrace 属性。

1659495343896
ActionTimelong

轨迹事件执行时间。

1659495343896
NotifyStatusstring

事件目标投递状态

[200]Ok
RuleNamestring

事件规则的名称

ramrolechange-mns
EventIdstring

事件 ID。

a5747e4f-2af2-40b6-b262-d0140e995bf7
EventBusNamestring

事件总线的名称。

demo
Endpointstring

事件目标的接入点。Action 取值为 PushEvent 时的 EventTrace 属性。

acs:mns:cn-zhangjiakou:123456789098****:queues/testQueue
NotifyLatencystring

事件目标投递延迟。Action 取值为 PushEvent 时的 EventTrace 属性。

80
NotifyTimelong

事件目标投递时间。Action 取值为 PushEvent 时的 EventTrace 属性。

1659495343896
EventSourcestring

事件源名称。

cert-api
Codestring

接口返回码:

Success:表示成功。

其它:表示错误码。错误码详情,请参见错误码。

200
Successboolean

操作成功返回 true。

true

示例

正常返回示例

JSON格式

{
  "Message": "EventBusNotExist",
  "RequestId": "BB934571-1F5A-5E17-91DD-E2BC3E1BFBFF",
  "Data": [
    {
      "Action": "PutEvent",
      "ReceivedTime": 1659495343896,
      "RuleMatchingTime": "1659495343896",
      "ActionTime": 1659495343896,
      "NotifyStatus": "[200]Ok",
      "RuleName": "ramrolechange-mns",
      "EventId": "a5747e4f-2af2-40b6-b262-d0140e995bf7",
      "EventBusName": "demo",
      "Endpoint": "acs:mns:cn-zhangjiakou:123456789098****:queues/testQueue",
      "NotifyLatency": "80",
      "NotifyTime": 1659495343896,
      "EventSource": "cert-api"
    }
  ],
  "Code": "200",
  "Success": true
}

错误码

HTTP status code错误码错误信息
403ServiceNotEnableService not enable

访问错误中心查看更多错误码。

  • 本页导读 (1)
文档反馈