Skip to content

Get Access Grants Instance For Prefix

s3control_get_access_grants_instance_for_prefix R Documentation

Retrieve the S3 Access Grants instance that contains a particular prefix

Description

Retrieve the S3 Access Grants instance that contains a particular prefix.

Permissions

You must have the s3:GetAccessGrantsInstanceForPrefix permission for the caller account to use this operation.

Additional Permissions

The prefix owner account must grant you the following permissions to their S3 Access Grants instance: s3:GetAccessGrantsInstanceForPrefix.

Usage

s3control_get_access_grants_instance_for_prefix(AccountId, S3Prefix)

Arguments

AccountId

[required] The ID of the Amazon Web Services account that is making this request.

S3Prefix

[required] The S3 prefix of the access grants that you would like to retrieve.

Value

A list with the following syntax:

list(
  AccessGrantsInstanceArn = "string",
  AccessGrantsInstanceId = "string"
)

Request syntax

svc$get_access_grants_instance_for_prefix(
  AccountId = "string",
  S3Prefix = "string"
)