All Products
Search
Document Center

Key Management Service:UpdateApplicationAccessPoint

更新時間:Oct 11, 2023

Updates the information about an application access point (AAP).

The update takes effect immediately after an AAP information is updated. Exercise caution when you perform this operation. You can update the description of an AAP and the permission policies that are associated with the AAP. You cannot update the name of the AAP.

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

UpdateApplicationAccessPoint

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

Name

String

Yes

aap_test

The name of the AAP that you want to update.

Description

String

No

aap description

The description.

Policies

String

No

["kst-hzz62ee817bvyyr5x****.efkd","kst-hzz62ee817bvyyr5x****.eyyp"]

The permission policy that you want to update

Note

You can associate up to three permission policies with each AAP.

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.

Examples

Sample requests

http(s)://[Endpoint]/?Action=UpdateApplicationAccessPoint
&Name=aap_test
&Description=aap description
&Policies=["kst-hzz62ee817bvyyr5x****.efkd","kst-hzz62ee817bvyyr5x****.eyyp"]
&Common request parameters

Sample success responses

XML format

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

<UpdateApplicationAccessPointResponse>
    <RequestId>bcfefe15-46f0-44a3-bd96-3d422474b71a</RequestId>
</UpdateApplicationAccessPointResponse>

JSON format

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

{
  "RequestId" : "bcfefe15-46f0-44a3-bd96-3d422474b71a"
}

Error codes

HTTP status code

Error code

Error message

Description

400

InvalidParameter

The specified parameter is invalid.

The specified parameter is invalid.

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