Updates the canary release configurations for messaging.
Try it now
Test
RAM authorization
Action | Access level | Resource type | Condition key | Dependent action |
mse:UpdateMessageQueueRoute | get | *All Resource
| None | None |
Request parameters
Parameter | Type | Required | Description | Example |
| Tags | array | No | Untagged environment of the application. Ignored tags. | |
string | No | Untagged environment of the application. Ignored tags. | gray | |
Region | string | Yes | The region. | cn-hangzhou |
Enable | boolean | No | Specifies whether the canary release for messaging feature is enabled for the application. Valid values:
| true |
AppId | string | Yes | The application ID. | hkhon1po62@c3df23522baa898 |
FilterSide | string | No | The side for message filtering when the canary release for messaging feature is enabled. | Server |
Namespace | string | No | The name of the Microservices Engine (MSE) namespace. | default |
AppName | string | No | The application name | example-app |
AcceptLanguage | string | No | The language of the response. Valid values:
| zh |
Response elements
Parameter | Type | Description | Example |
object | The data structure. | ||
HttpStatusCode | integer | The HTTP status code. | 200 |
RequestId | string | The ID of the request. | E3919C62-876A-5926-A0BC-18351A24FA35 |
Message | string | The message. | success |
Data | string | The node data. | True |
Code | integer | The status code. 200 indicates that the request was successful. Other values indicate that the request failed. | 200 |
Success | boolean | Indicates whether the request was successful. Valid values:
| true |
Examples
Success response
JSON format
{
"HttpStatusCode": 200,
"RequestId": "E3919C62-876A-5926-A0BC-18351A24FA35",
"Message": "success",
"Data": "True",
"Code": 200,
"Success": true
}Error codes
HTTP status code | Error code | Error message | Description |
400 | IllegalRequest | Invalid request:%s | Invalid request: %s |
400 | InvalidParameter | Parameter error:%s | Request parameter error: %s |
500 | InternalError | Console error. Try again later:%s | Console error. Try again later: %s |
403 | NoPermission | You are not authorized to perform this operation:%s | You do not have the permission to use this interface:%s |
404 | NotFound | Not found:%s | The resource does not exist:%s |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.