Queries all application access points (AAPs) in the current region.
Operation description
For more information about the access policy required by a RAM user or RAM role to call this API, see Resource Access Management.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| PageNumber |
integer |
No |
The page number. Default value: 1. |
1 |
| PageSize |
integer |
No |
The number of entries per page. Valid values: 1 to 100. Default value: 20. |
10 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
bcfefe15-46f0-44a3-bd96-3d422474b71a |
| PageNumber |
integer |
The page number. |
1 |
| PageSize |
integer |
The number of entries per page. |
10 |
| TotalCount |
integer |
The total number of entries returned. |
1 |
| ApplicationAccessPoints |
object |
||
| ApplicationAccessPoint |
array<object> |
A list of AAPs. |
|
|
object |
A list of AAPs. |
||
| Name |
string |
The name of the AAP. |
aap_test |
| AuthenticationMethod |
string |
The authentication method. |
ClientKey |
Examples
Success response
JSON format
{
"RequestId": "bcfefe15-46f0-44a3-bd96-3d422474b71a",
"PageNumber": 1,
"PageSize": 10,
"TotalCount": 1,
"ApplicationAccessPoints": {
"ApplicationAccessPoint": [
{
"Name": "aap_test",
"AuthenticationMethod": "ClientKey"
}
]
}
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidParameter | The specified parameter is not valid. | An invalid value is specified for the parameter. |
| 404 | InvalidAccessKeyId.NotFound | The Access Key ID provided does not exist in our records. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.