paws.storage (version 0.1.0)

s3_put_bucket_request_payment: Sets the request payment configuration for a bucket

Description

Sets the request payment configuration for a bucket. By default, the bucket owner pays for downloads from the bucket. This configuration parameter enables the bucket owner (only) to specify that the person requesting the download will be charged for the download. Documentation on requester pays buckets can be found at http://docs.aws.amazon.com/AmazonS3/latest/dev/RequesterPaysBuckets.html

Usage

s3_put_bucket_request_payment(Bucket, ContentMD5,
  RequestPaymentConfiguration)

Arguments

Bucket

[required]

ContentMD5
RequestPaymentConfiguration

[required]

Request syntax

svc$put_bucket_request_payment(
  Bucket = "string",
  ContentMD5 = "string",
  RequestPaymentConfiguration = list(
    Payer = "Requester"|"BucketOwner"
  )
)

Examples

Run this code
# NOT RUN {
# The following example sets request payment configuration on a bucket so
# that person requesting the download is charged.
# }
# NOT RUN {
svc$put_bucket_request_payment(
  Bucket = "examplebucket",
  RequestPaymentConfiguration = list(
    Payer = "Requester"
  )
)
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab