Learn R Programming

aws.s3 (version 0.2.2)

get_requestpayment: requestPayment

Description

Get/Put the requestPayment subresource for a bucket.

Usage

get_requestpayment(bucket, ...)

put_requestpayment(bucket, ...)

Arguments

bucket
Character string with the name of the bucket, or an object of class “s3_bucket”.
Additional arguments passed to s3HTTP.

Value

A list containing the requestPayment information, if set.

References

http://docs.aws.amazon.com/AmazonS3/latest/API/RESTrequestPaymentGET.html