Disables an EventStreaming that is enabled.
URI
/eventstreaming/pauseEventStreaming
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
EventStreamingName | String | Yes | rocketmq-sync | The name of the EventStreaming to be disabled. |
Response parameters
If the EventStreaming is disabled, the HTTP status code 200 is returned and no response body is returned.
Examples
Sample requests
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"
}
Sample responses
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
}