Copyright | (c) 2013-2017 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
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
- putBucketRequestPayment :: BucketName -> RequestPaymentConfiguration -> PutBucketRequestPayment
- data PutBucketRequestPayment
- pbrpContentMD5 :: Lens' PutBucketRequestPayment (Maybe Text)
- pbrpBucket :: Lens' PutBucketRequestPayment BucketName
- pbrpRequestPaymentConfiguration :: Lens' PutBucketRequestPayment RequestPaymentConfiguration
- putBucketRequestPaymentResponse :: PutBucketRequestPaymentResponse
- data PutBucketRequestPaymentResponse
Creating a Request
putBucketRequestPayment Source #
Creates a value of PutBucketRequestPayment
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
pbrpContentMD5
- Undocumented member.pbrpBucket
- Undocumented member.pbrpRequestPaymentConfiguration
- Undocumented member.
data PutBucketRequestPayment Source #
See: putBucketRequestPayment
smart constructor.
Request Lenses
pbrpContentMD5 :: Lens' PutBucketRequestPayment (Maybe Text) Source #
Undocumented member.
pbrpBucket :: Lens' PutBucketRequestPayment BucketName Source #
Undocumented member.
pbrpRequestPaymentConfiguration :: Lens' PutBucketRequestPayment RequestPaymentConfiguration Source #
Undocumented member.
Destructuring the Response
putBucketRequestPaymentResponse :: PutBucketRequestPaymentResponse Source #
Creates a value of PutBucketRequestPaymentResponse
with the minimum fields required to make a request.
data PutBucketRequestPaymentResponse Source #
See: putBucketRequestPaymentResponse
smart constructor.