Adds authorized accounts for cold storage.
Try it now
Test
RAM authorization
Request syntax
GET HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| PfsInstanceId |
string |
Yes |
The cold storage instance ID. |
pfs-xxxxxxxxxxxxxxxxx |
| DBClusterId |
string |
No |
The ID of the PolarDB cluster. |
pc-xxxxxxxxxxxxxxxxx |
| RegionId |
string |
No |
The region ID. |
cn-beijing |
| AuthorizedUserIds |
string |
Yes |
The list of authorized accounts to add, separated by commas. You can pass in UIDs and RAM role ARNs in mixed parameter notation. |
1234567890,acs:ram::123456:role/myrole |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
The request ID. |
F45FFACC-xxx |
| PfsInstanceId |
string |
The cold storage instance ID. |
pfs-xxxxxxxxxxxxxxxxx |
| AuthorizedUserIds |
string |
The updated list of UIDs, separated by commas. |
1234567890,9876543210 |
| AuthorizedUserArnIds |
string |
The updated list of RAM role ARNs, separated by commas. |
arn:sts::123456:assumed-role/myrole/* |
Examples
Success response
JSON format
{
"RequestId": "F45FFACC-xxx",
"PfsInstanceId": "pfs-xxxxxxxxxxxxxxxxx",
"AuthorizedUserIds": "1234567890,9876543210",
"AuthorizedUserArnIds": "arn:sts::123456:assumed-role/myrole/*"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.