Skip to content

Put Access Grants Instance Resource Policy

s3control_put_access_grants_instance_resource_policy R Documentation

Updates the resource policy of the S3 Access Grants instance

Description

Updates the resource policy of the S3 Access Grants instance.

Permissions

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

Usage

s3control_put_access_grants_instance_resource_policy(AccountId, Policy,
  Organization)

Arguments

AccountId

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

Policy

[required] The resource policy of the S3 Access Grants instance that you are updating.

Organization

The Organization of the resource policy of the S3 Access Grants instance.

Value

A list with the following syntax:

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

Request syntax

svc$put_access_grants_instance_resource_policy(
  AccountId = "string",
  Policy = "string",
  Organization = "string"
)