Skip to content

Get Access Grants Instance Resource Policy

s3control_get_access_grants_instance_resource_policy R Documentation

Returns the resource policy of the S3 Access Grants instance

Description

Returns the resource policy of the S3 Access Grants instance.

Permissions

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

Usage

s3control_get_access_grants_instance_resource_policy(AccountId)

Arguments

AccountId

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

Value

A list with the following syntax:

list(
  Policy = "string",
  Organization = "string",
  CreatedAt = as.POSIXct(
    "2015-01-01"
  )
)

Request syntax

svc$get_access_grants_instance_resource_policy(
  AccountId = "string"
)