查詢一個應用存取點的詳情。
調試
您可以在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不存在 |
訪問錯誤中心查看更多錯誤碼。