Skip to content

List Access Points For Directory Buckets

s3control_list_access_points_for_directory_buckets R Documentation

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.

DirectoryBucket

The name of the directory bucket associated with the access points you want to list.

NextToken

If NextToken is returned, there are more access points available than requested in the maxResults value. The value of NextToken is 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.

MaxResults

The maximum number of access points that you would like returned in the list_access_points_for_directory_buckets response. If the directory bucket is associated with more than this number of access points, the results include the pagination token NextToken. Make another call using the NextToken to 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"
    )
  ),
  NextToken = "string"
)

Request syntax

svc$list_access_points_for_directory_buckets(
  AccountId = "string",
  DirectoryBucket = "string",
  NextToken = "string",
  MaxResults = 123
)