Activates Message Queue for Apache RocketMQ.

Usage notes

Message Queue for Apache RocketMQ can be activated only in the China (Hangzhou) region. Service activation is not billed.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes OpenOnsService

The operation that you want to perform. Set the value to OpenOnsService.

Response parameters

Parameter Type Example Description
OrderId String 2068689****0272

The order ID for the service activation.

RequestId String 8C5B4603-8977-4513-AB60-9C3E2F88****

The ID of the request.

Examples

Sample requests

http(s)://ons.cn-hangzhou.aliyuncs.com/? Action=OpenOnsService
&<Common request parameters>

Sample success responses

XML format

<OpenOnsServiceResponse>
  <RequestId>8C5B4603-8977-4513-AB60-9C3E2F88****</RequestId>
  <OrderId>2068689****0272</OrderId>
</OpenOnsServiceResponse>

JSON format

{
    "RequestId": "8C5B4603-8977-4513-AB60-9C3E2F88****",
    "OrderId": "2068689****0272"
}

Error codes

For a list of error codes, visit the API Error Center.