Checks whether a service-linked role is created for Security Center.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sas:DescribeServiceLinkedRoleStatus |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ServiceLinkedRole |
string |
No |
The service-linked role. Default value: AliyunServiceRoleForSas. Valid values:
|
AliyunServiceRoleForSas |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The data returned. |
||
| RequestId |
string |
The ID of the request, which is used to locate and troubleshoot issues. |
39CE98F4-88C0-4539-B906-6B542E5C07B9 |
| RoleStatus |
object |
The status information about the service-linked role. |
|
| Status |
boolean |
Indicates whether the service-linked role is created. Valid values:
|
true |
Examples
Success response
JSON format
{
"RequestId": "39CE98F4-88C0-4539-B906-6B542E5C07B9",
"RoleStatus": {
"Status": true
}
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | NoPermission | no permission | |
| 500 | ServerError | ServerError | |
| 403 | NoPermission | caller has no permission | You are not authorized to do this operation. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.