Learn R Programming

paws.storage (version 0.1.11)

s3_get_bucket_request_payment: Returns the request payment configuration of a bucket

Description

Returns the request payment configuration of a bucket. To use this version of the operation, you must be the bucket owner. For more information, see Requester Pays Buckets.

The following operations are related to get_bucket_request_payment:

Usage

s3_get_bucket_request_payment(Bucket, ExpectedBucketOwner)

Arguments

Bucket

[required] The name of the bucket for which to get the payment request configuration

ExpectedBucketOwner

The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

Value

A list with the following syntax:

list(
  Payer = "Requester"|"BucketOwner"
)

Request syntax

svc$get_bucket_request_payment(
  Bucket = "string",
  ExpectedBucketOwner = "string"
)

Examples

Run this code
# NOT RUN {
# The following example retrieves bucket versioning configuration.
svc$get_bucket_request_payment(
  Bucket = "examplebucket"
)
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab