Updates the alias configuration for a flow.
Try it now
Test
RAM authorization
Request syntax
POST HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| FlowName |
string |
No |
The name of the flow. |
example-flow-name |
| Name |
string |
No |
The name of the alias. |
alias name |
| Description |
string |
No |
The description of the alias. |
example description |
| RoutingConfigurations |
array<object> |
No |
The weight configuration. |
|
|
object |
No |
The traffic distribution configuration. Configure one or two flow versions. When an execution starts for the alias, the system selects a flow version based on the specified weights. |
||
| Version |
string |
No |
The version. |
1 |
| Weight |
integer |
No |
The weight. |
20 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
Id of the request |
294D68C1-5108-5971-853A-1A9CC87B4816 |
| Alias |
object |
The alias information. |
|
| Name |
string |
The name of the alias. |
my-alias-name |
| Description |
string |
The description of the alias. |
my alias description |
| RoutingConfigurations |
array<object> |
The weight configuration. |
|
|
object |
The traffic distribution configuration. Configure one or two flow versions. When an execution starts for the alias, the system selects a flow version based on the specified weights. |
||
| Version |
string |
The version. |
1 |
| Weight |
integer |
The weight. |
20 |
| CreatedTime |
string |
The time when the alias was created. |
2025-10-24T14:11:26+08:00 |
Examples
Success response
JSON format
{
"RequestId": "294D68C1-5108-5971-853A-1A9CC87B4816",
"Alias": {
"Name": "my-alias-name",
"Description": "my alias description",
"RoutingConfigurations": [
{
"Version": "1",
"Weight": 20
}
],
"CreatedTime": "2025-10-24T14:11:26+08:00"
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.