Table of Contents

Class PutBucketRequestPaymentRequest

Namespace
Amazon.S3.Model
Assembly
AWSSDK.S3.dll

Container for the parameters to the PutBucketRequestPayment operation.

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.

public class PutBucketRequestPaymentRequest : AmazonWebServiceRequest
Inheritance
PutBucketRequestPaymentRequest

Constructors

PutBucketRequestPaymentRequest()

public PutBucketRequestPaymentRequest()

Properties

BucketName

The name of the bucket to set payment config.

public string BucketName { get; set; }

Property Value

string

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.

public string ExpectedBucketOwner { get; set; }

Property Value

string

RequestPaymentConfiguration

Gets and sets request payment configuration

public RequestPaymentConfiguration RequestPaymentConfiguration { get; set; }

Property Value

RequestPaymentConfiguration