Skip to content

Retrieves the details of a particular location registered in your S3 Access Grants instance

Description

Retrieves the details of a particular location registered in your S3 Access Grants instance.

Permissions

You must have the s3:GetAccessGrantsLocation permission to use this operation.

Usage

s3control_get_access_grants_location(AccountId, AccessGrantsLocationId)

Arguments

  • AccountId

    [required] The Amazon Web Services account ID of the S3 Access Grants instance.

  • AccessGrantsLocationId

    [required] The ID of the registered location that you are retrieving. S3 Access Grants assigns this ID when you register the location. S3 Access Grants assigns the ID default to the default location s3:// and assigns an auto-generated ID to other locations that you register.

Value

A list with the following syntax:

list(
  CreatedAt = as.POSIXct(
    "2015-01-01"
  ),
  AccessGrantsLocationId = "string",
  AccessGrantsLocationArn = "string",
  LocationScope = "string",
  IAMRoleArn = "string"
)

Request syntax

svc$get_access_grants_location(
  AccountId = "string",
  AccessGrantsLocationId = "string"
)