调用PauseEventStreaming接口停用一个运行中的事件流。

URI

/eventstreaming/pauseEventStreaming

请求参数

名称 类型 是否必选 示例值 描述
EventStreamingName String rocketmq-sync 要停用的事件流的名称。

返回参数

停用成功的情况下,HTTP状态码为200,没有Response Body。

示例

请求示例

POST /eventstreaming/pauseEventStreaming HTTP/1.1
Host: 164901546557****.eventbridge.cn-hangzhou.aliyuncs.com
Date: Sat, 18 Apr 2020 05:30:41 GMT
x-eventbridge-version: 2020-04-01
Authorization: acs vZ3VL0SuJdHi****:Jo2PbT******azYAYoYslKLvWzg=
Content-Type: application/json;charset=UTF-8
Content-Length: 26

{
    "EventStreamingName":"myeventstreaming"
}

返回示例

HTTP/1.1 200 OK
Server: AliyunEventBridge
Connection: keep-alive
Content-Type: application/json;charset=utf-8
Content-Length: 79
x-eventbridge-request-id: 7F106164-6F27-173A-B123-79035DFB****
Date: Sat, 18 Apr 2020 05:30:41 GMT

{
    "code":"200",
    "data":{
        "RequestId":"7F106164-6F27-173A-B123-79035DFB****",
        "Data":true,
        "Code":"Success",
        "Success":true
    },
    "httpStatusCode":"200",
    "requestId":"7F106164-6F27-173A-B123-79035DFB****",
    "successResponse":true
}