This operation creates the AliyunServiceRoleForEMRStarRocks role.
Try it now
Test
RAM authorization
Action | Access level | Resource type | Condition key | Dependent action |
sr:CreateServiceLinkedRole | none | *All Resource
| None | None |
Request syntax
POST /webapi/user/create_default_role HTTP/1.1Request parameters
Parameter | Type | Required | Description | Example |
No parameters required.
Response elements
Element | Type | Description | Example |
object | |||
HttpStatusCode | integer | The HTTP status code of the request. | 200 |
RequestId | string | The request ID. | 32A44F0D-BFF6-5664-999A-218BBDE7**** |
Success | boolean | Indicates whether the request is successful. | false |
ErrCode | string | The error code. | InvalidParams |
ErrMessage | string | The error message. | null |
Total | integer | The total number of instances. | 3 |
Data | boolean | Indicates whether the role was successfully created. | true |
AccessDeniedDetail | string | AccessDeniedDetail | { "PolicyType": "AccountLevelIdentityBasedPolicy", "AuthPrincipalOwnerId": "xxx", "EncodedDiagnosticMessage": "xxx", "AuthPrincipalType": "xxx", "AuthPrincipalDisplayName": "xxx", "NoPermissionType": "ImplicitDeny", "AuthAction": "sr:xxx" } |
Examples
Success response
JSON format
{
"HttpStatusCode": 200,
"RequestId": "32A44F0D-BFF6-5664-999A-218BBDE7****",
"Success": false,
"ErrCode": "InvalidParams",
"ErrMessage": "null",
"Total": 3,
"Data": true,
"AccessDeniedDetail": "{ \"PolicyType\": \"AccountLevelIdentityBasedPolicy\", \"AuthPrincipalOwnerId\": \"xxx\", \"EncodedDiagnosticMessage\": \"xxx\", \"AuthPrincipalType\": \"xxx\", \"AuthPrincipalDisplayName\": \"xxx\", \"NoPermissionType\": \"ImplicitDeny\", \"AuthAction\": \"sr:xxx\" }"
}Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.