查询一个应用接入点的详情。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
请求参数
| 名称 | 类型 | 是否必选 | 示例值 | 描述 | 
| Action | String | 是 | DescribeApplicationAccessPoint | 要执行的操作。取值:DescribeApplicationAccessPoint。 | 
| Name | String | 是 | aap_test | 要查询的应用接入点名称。 | 
返回数据
| 名称 | 类型 | 示例值 | 描述 | 
| RequestId | String | bcfefe15-46f0-44a3-bd96-3d422474b71a | 本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。 | 
| Arn | String | acs:kms:cn-hangzhou:119285303511****:applicationaccesspoint/aap_test | 应用接入点的ARN。 | 
| Name | String | aap_test | 应用接入点名称。 | 
| Description | String | aap description | 描述信息。 | 
| AuthenticationMethod | String | ClientKey | 认证方式。 | 
| Policies | String | ["kst-hzz62ee817bvyyr5x****.efkd","kst-hzz62ee817bvyyr5x****.eyyp"] | 绑定的权限策略。 | 
示例
请求示例
http(s)://[Endpoint]/?Action=DescribeApplicationAccessPoint
&Name=aap_test
&公共请求参数正常返回示例
XML格式
HTTP/1.1 200 OK
Content-Type:application/xml
<DescribeApplicationAccessPointResponse>
    <RequestId>bcfefe15-46f0-44a3-bd96-3d422474b71a</RequestId>
    <Arn>acs:kms:cn-hangzhou:119285303511****:applicationaccesspoint/aap_test</Arn>
    <Name>aap_test</Name>
    <Description>aap description</Description>
    <AuthenticationMethod>ClientKey</AuthenticationMethod>
    <Policies>["kst-hzz62ee817bvyyr5x****.efkd","kst-hzz62ee817bvyyr5x****.eyyp"]</Policies>
</DescribeApplicationAccessPointResponse>JSON格式
HTTP/1.1 200 OK
Content-Type:application/json
{
  "RequestId" : "bcfefe15-46f0-44a3-bd96-3d422474b71a",
  "Arn" : "acs:kms:cn-hangzhou:119285303511****:applicationaccesspoint/aap_test",
  "Name" : "aap_test",
  "Description" : "aap description",
  "AuthenticationMethod" : "ClientKey",
  "Policies" : "[\"kst-hzz62ee817bvyyr5x****.efkd\",\"kst-hzz62ee817bvyyr5x****.eyyp\"]"
}错误码
| HttpCode | 错误码 | 错误信息 | 描述 | 
| 400 | InvalidParameter | The specified parameter is not valid. | 参数非法。 | 
| 404 | InvalidAccessKeyId.NotFound | The Access Key ID provided does not exist in our records. | 提供的 Access Key ID不存在 | 
访问错误中心查看更多错误码。
该文章对您有帮助吗?