Skip to content

Get Access Grant

s3control_get_access_grant R Documentation

Get the details of an access grant from your S3 Access Grants instance

Description

Get the details of an access grant from your S3 Access Grants instance.

Permissions

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

Usage

s3control_get_access_grant(AccountId, AccessGrantId)

Arguments

AccountId

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

AccessGrantId

[required] The ID of the access grant. S3 Access Grants auto-generates this ID when you create the access grant.

Value

A list with the following syntax:

list(
  CreatedAt = as.POSIXct(
    "2015-01-01"
  ),
  AccessGrantId = "string",
  AccessGrantArn = "string",
  Grantee = list(
    GranteeType = "DIRECTORY_USER"|"DIRECTORY_GROUP"|"IAM",
    GranteeIdentifier = "string"
  ),
  Permission = "READ"|"WRITE"|"READWRITE",
  AccessGrantsLocationId = "string",
  AccessGrantsLocationConfiguration = list(
    S3SubPrefix = "string"
  ),
  GrantScope = "string",
  ApplicationArn = "string"
)

Request syntax

svc$get_access_grant(
  AccountId = "string",
  AccessGrantId = "string"
)