paws.storage (version 0.1.0)

s3_get_object_acl: Returns the access control list (ACL) of an object

Description

Returns the access control list (ACL) of an object.

Usage

s3_get_object_acl(Bucket, Key, VersionId, RequestPayer)

Arguments

Bucket

[required]

Key

[required]

VersionId

VersionId used to reference a specific version of the object.

RequestPayer

Request syntax

svc$get_object_acl(
  Bucket = "string",
  Key = "string",
  VersionId = "string",
  RequestPayer = "requester"
)

Examples

Run this code
# NOT RUN {
# The following example retrieves access control list (ACL) of an object.
# }
# NOT RUN {
svc$get_object_acl(
  Bucket = "examplebucket",
  Key = "HappyFace.jpg"
)
# }
# NOT RUN {
# }

Run the code above in your browser using DataCamp Workspace