Lists the Resource Access Management (RAM) users and RAM roles that are granted permissions on a product portfolio.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
servicecatalog:ListPrincipals |
get |
*Portfolio
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| PortfolioId |
string |
Yes |
The ID of the product portfolio. |
port-bp1yt7582g**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The request ID. |
0FEEF92D-4052-5202-87D0-3D8EC16F81BF |
| Principals |
array<object> |
The list of RAM entities. |
|
|
object |
The information about the RAM entity. |
||
| PrincipalType |
string |
The type of the RAM entity. Valid values:
|
RamUser |
| PrincipalId |
string |
The ID of the RAM entity. |
24477111603637**** |
| PrincipalPattern |
string |
Examples
Success response
JSON format
{
"RequestId": "0FEEF92D-4052-5202-87D0-3D8EC16F81BF",
"Principals": [
{
"PrincipalType": "RamUser",
"PrincipalId": "24477111603637****",
"PrincipalPattern": ""
}
]
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 500 | InternalError | A system error occurred. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.