Creates a Microservices Engine (MSE) service-linked role.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
mse:InitializeServiceLinkRole |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Token |
string |
No |
This parameter is reserved and not in use. |
"" |
| RoleName |
string |
No |
The name of the server-linked role. Set this parameter to AliyunServiceRoleForMSE |
AliyunServiceRoleForMSE |
| AcceptLanguage |
string |
No |
The language in which the returned results are displayed. Valid values: zh (default): Chinese. en: English. |
zh |
Response elements
|
Parameter |
Type |
Description |
Example |
|
object |
|||
| Message |
string |
The message. |
OK |
| RequestId |
string |
The request ID. |
A5E7D4E3-D30C-56C1-817F-F2B8CE6BXXXX |
| Data |
object |
The response parameters. |
|
| RoleName |
string |
The name of the created service-linked role. |
AliyunServiceRoleForMSE |
| RequiredPermission |
string |
The permission that is granted to the RAM user to call the API operation. |
ram:CreateServiceLinkedRole |
| ServiceName |
string |
The service to which the service-linked role belongs. |
mse.aliyuncs.com |
| Code |
string |
The error code. |
200 |
| Success |
boolean |
Indicates whether the request was successful. Valid values:
|
true |
Examples
Success response
JSON format
{
"Message": "OK",
"RequestId": "A5E7D4E3-D30C-56C1-817F-F2B8CE6BXXXX",
"Data": {
"RoleName": "AliyunServiceRoleForMSE",
"RequiredPermission": "ram:CreateServiceLinkedRole",
"ServiceName": "mse.aliyuncs.com"
},
"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.