Returns a list of the access points that are owned by the Amazon Web Services account and that are associated with the specified directory bucket¶
Description¶
Returns a list of the access points that are owned by the Amazon Web Services account and that are associated with the specified directory bucket.
To list access points for general purpose buckets, see ListAccesspoints.
To use this operation, you must have the permission to perform the s3express:ListAccessPointsForDirectoryBuckets action.
For information about REST API errors, see REST error responses.
Usage¶
s3control_list_access_points_for_directory_buckets(AccountId,
DirectoryBucket, NextToken, MaxResults)
Arguments¶
-
AccountId[required] The Amazon Web Services account ID that owns the access points.
-
DirectoryBucketThe name of the directory bucket associated with the access points you want to list.
-
NextTokenIf
NextTokenis returned, there are more access points available than requested in themaxResultsvalue. The value ofNextTokenis a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours. -
MaxResultsThe maximum number of access points that you would like returned in the
list_access_points_for_directory_bucketsresponse. If the directory bucket is associated with more than this number of access points, the results include the pagination tokenNextToken. Make another call using theNextTokento retrieve more results.
Value¶
A list with the following syntax:
list(
AccessPointList = list(
list(
Name = "string",
NetworkOrigin = "Internet"|"VPC",
VpcConfiguration = list(
VpcId = "string"
),
Bucket = "string",
AccessPointArn = "string",
Alias = "string",
BucketAccountId = "string",
DataSourceId = "string",
DataSourceType = "string"
)
),
NextToken = "string"
)