Queries the status of the cross-account resource search feature by using the management account of a resource directory or a delegated administrator account of Resource Center.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
resourcecenter:GetMultiAccountResourceCenterServiceStatus |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
No parameters required.
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The returned result. |
||
| InitialStatus |
string |
The initialization status of the feature. Valid values:
|
Pending |
| RequestId |
string |
The ID of the request. |
81671397-1425-51F1-A144-4799E01BEBFF |
| ServiceStatus |
string |
The status of the feature. Valid values:
|
Enabled |
Examples
Success response
JSON format
{
"InitialStatus": "Pending",
"RequestId": "81671397-1425-51F1-A144-4799E01BEBFF",
"ServiceStatus": "Enabled"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | NoPermission | You are not authorized to perform this operation. | |
| 400 | MultiAccountServiceNotEnabled | Mulit account ResourceCenter service is not enabled. | |
| 404 | NotExists.ResourceDirectory | The resource directory for the account is not enabled. | No resource directory is enabled for the account. |
| 409 | InvalidParameter.Scope | The Scope is invalid. | |
| 409 | NoPermission.ResourceDirectory.MemberAccount | ResourceDirectory Member Account is not authorized to perform this operation. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.