All Products
Search
Document Center

Key Management Service:ListApplicationAccessPoints

更新時間:Oct 11, 2023

Queries a list of application access points (AAPs).

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter

Type

Required

Example

Description

Action String Yes ListApplicationAccessPoints

The operation that you want to perform. Set the value to ListApplicationAccessPoints.

PageNumber Integer No 1

The page number. Default value: 1.

PageSize Integer No 10

The number of entries per page. Valid values: 1 to 100. Default value: 20.

Response parameters

Parameter

Type

Example

Description

RequestId String bcfefe15-46f0-44a3-bd96-3d422474b71a

The ID of the request, which is used to locate and troubleshoot issues.

PageNumber Integer 1

The page number.

PageSize Integer 10

The number of entries per page.

TotalCount Integer 1

The total number of entries returned.

ApplicationAccessPoints Array of ApplicationAccessPoint

A list of AAPs.

ApplicationAccessPoint
Name String aap_test

The name of the AAP.

AuthenticationMethod String ClientKey

The authentication method.

Examples

Sample requests

http(s)://[Endpoint]/?Action=ListApplicationAccessPoints
&PageNumber=1
&PageSize=10
&Common request parameters

Sample success responses

XML format

HTTP/1.1 200 OK
Content-Type:application/xml

<ListApplicationAccessPointsResponse>
    <RequestId>bcfefe15-46f0-44a3-bd96-3d422474b71a</RequestId>
    <PageNumber>1</PageNumber>
    <PageSize>10</PageSize>
    <TotalCount>1</TotalCount>
    <ApplicationAccessPoints>
        <Name>aap_test</Name>
        <AuthenticationMethod>ClientKey</AuthenticationMethod>
    </ApplicationAccessPoints>
</ListApplicationAccessPointsResponse>

JSON format

HTTP/1.1 200 OK
Content-Type:application/json

{
  "RequestId" : "bcfefe15-46f0-44a3-bd96-3d422474b71a",
  "PageNumber" : 1,
  "PageSize" : 10,
  "TotalCount" : 1,
  "ApplicationAccessPoints" : [ {
    "Name" : "aap_test",
    "AuthenticationMethod" : "ClientKey"
  } ]
}

Error codes

HTTP status code

Error code

Error message

Description

400 InvalidParameter The specified parameter is not valid. The specified parameter is invalid.
404 InvalidAccessKeyId.NotFound The Access Key ID provided does not exist in our records. The specified AccessKey ID does not exist.

For a list of error codes, see Service error codes.