You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::S3::BucketRequestPayment
- Inherits:
-
Resources::Resource
- Object
- Resources::Resource
- Aws::S3::BucketRequestPayment
- Defined in:
- (unknown)
Instance Attribute Summary collapse
-
#bucket_name ⇒ String
readonly
-
#payer ⇒ String
readonly
Specifies who pays for the download and request fees.
Attributes inherited from Resources::Resource
Instance Method Summary collapse
-
#bucket ⇒ Bucket
-
#initialize ⇒ Object
constructor
-
#put(options = {}) ⇒ Struct
Sets the request payment configuration for a bucket.
Methods inherited from Resources::Resource
add_data_attribute, add_identifier, #data, data_attributes, #data_loaded?, identifiers, #load, #wait_until
Methods included from Resources::OperationMethods
#add_batch_operation, #add_operation, #batch_operation, #batch_operation_names, #batch_operations, #operation, #operation_names, #operations
Constructor Details
Instance Attribute Details
#bucket_name ⇒ String (readonly)
#payer ⇒ String (readonly)
Specifies who pays for the download and request fees.
Possible values:
- Requester
- BucketOwner
Instance Method Details
#bucket ⇒ Bucket
#put(options = {}) ⇒ Struct
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. For more information, see Requester Pays Buckets.
The following operations are related to PutBucketRequestPayment
: