查看目录存储桶的接入点的详细信息
本节介绍如何使用 Amazon Command Line Interface或 REST API 查看目录存储桶的接入点的详细信息。
以下 get-access-point
示例命令显示了如何使用 Amazon CLI 来查看接入点的详细信息。
以下命令列出了 Amazon Web Services 账户 111122223333
的接入点
的详细信息。my-access-point
--zoneID
--xa-s3
aws s3control get-access-point --name
--
my-access-point
zoneID
--xa-s3 --account-id111122223333
例 get-access-point
命令的输出
{ "Name": "example-access-point--zoneID--xa-s3", "Bucket": "
amzn-s3-demo-bucket
--zone-id
--x-s3", "NetworkOrigin": "Internet", "PublicAccessBlockConfiguration": { "BlockPublicAcls": true, "IgnorePublicAcls": true, "BlockPublicPolicy": true, "RestrictPublicBuckets": true }, "CreationDate": "2025-04-23T18:26:22.146000+00:00", "Alias": "example-access-point--zoneID--xa-s3", "AccessPointArn": "arn:aws:s3express:region:111122223333:accesspoint/example-access-point--zoneID--xa-s3", "BucketAccountId": "296805379465" }
有关更多信息和示例,请参阅《Amazon CLI 命令参考》中的 get-access-point
可以使用 REST API 查看接入点的详细信息。有关更多信息,请参阅《Amazon Simple Storage Service API 参考》中的 GetAccessPoint。
可以使用 Amazon SDK 查看接入点的详细信息。有关更多信息,请参阅《Amazon Simple Storage Service API Reference》中的 list of supported SDKs。