amazonka-s3-1.5.0: Amazon Simple Storage Service SDK.

Copyright(c) 2013-2017 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.S3.PutBucketRequestPayment

Contents

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

Synopsis

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:

data PutBucketRequestPayment Source #

See: putBucketRequestPayment smart constructor.

Instances

Eq PutBucketRequestPayment Source # 
Data PutBucketRequestPayment Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> PutBucketRequestPayment -> c PutBucketRequestPayment #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c PutBucketRequestPayment #

toConstr :: PutBucketRequestPayment -> Constr #

dataTypeOf :: PutBucketRequestPayment -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c PutBucketRequestPayment) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c PutBucketRequestPayment) #

gmapT :: (forall b. Data b => b -> b) -> PutBucketRequestPayment -> PutBucketRequestPayment #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> PutBucketRequestPayment -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> PutBucketRequestPayment -> r #

gmapQ :: (forall d. Data d => d -> u) -> PutBucketRequestPayment -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> PutBucketRequestPayment -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> PutBucketRequestPayment -> m PutBucketRequestPayment #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> PutBucketRequestPayment -> m PutBucketRequestPayment #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> PutBucketRequestPayment -> m PutBucketRequestPayment #

Read PutBucketRequestPayment Source # 
Show PutBucketRequestPayment Source # 
Generic PutBucketRequestPayment Source # 
Hashable PutBucketRequestPayment Source # 
NFData PutBucketRequestPayment Source # 

Methods

rnf :: PutBucketRequestPayment -> () #

AWSRequest PutBucketRequestPayment Source # 
ToElement PutBucketRequestPayment Source # 
ToQuery PutBucketRequestPayment Source # 
ToPath PutBucketRequestPayment Source # 
ToHeaders PutBucketRequestPayment Source # 
type Rep PutBucketRequestPayment Source # 
type Rep PutBucketRequestPayment = D1 (MetaData "PutBucketRequestPayment" "Network.AWS.S3.PutBucketRequestPayment" "amazonka-s3-1.5.0-4i2REsRgyXL98WvgynC9is" False) (C1 (MetaCons "PutBucketRequestPayment'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_pbrpContentMD5") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_pbrpBucket") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 BucketName)) (S1 (MetaSel (Just Symbol "_pbrpRequestPaymentConfiguration") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 RequestPaymentConfiguration)))))
type Rs PutBucketRequestPayment Source # 

Request Lenses

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.

Instances

Eq PutBucketRequestPaymentResponse Source # 
Data PutBucketRequestPaymentResponse Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> PutBucketRequestPaymentResponse -> c PutBucketRequestPaymentResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c PutBucketRequestPaymentResponse #

toConstr :: PutBucketRequestPaymentResponse -> Constr #

dataTypeOf :: PutBucketRequestPaymentResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c PutBucketRequestPaymentResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c PutBucketRequestPaymentResponse) #

gmapT :: (forall b. Data b => b -> b) -> PutBucketRequestPaymentResponse -> PutBucketRequestPaymentResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> PutBucketRequestPaymentResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> PutBucketRequestPaymentResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> PutBucketRequestPaymentResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> PutBucketRequestPaymentResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> PutBucketRequestPaymentResponse -> m PutBucketRequestPaymentResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> PutBucketRequestPaymentResponse -> m PutBucketRequestPaymentResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> PutBucketRequestPaymentResponse -> m PutBucketRequestPaymentResponse #

Read PutBucketRequestPaymentResponse Source # 
Show PutBucketRequestPaymentResponse Source # 
Generic PutBucketRequestPaymentResponse Source # 
NFData PutBucketRequestPaymentResponse Source # 
type Rep PutBucketRequestPaymentResponse Source # 
type Rep PutBucketRequestPaymentResponse = D1 (MetaData "PutBucketRequestPaymentResponse" "Network.AWS.S3.PutBucketRequestPayment" "amazonka-s3-1.5.0-4i2REsRgyXL98WvgynC9is" False) (C1 (MetaCons "PutBucketRequestPaymentResponse'" PrefixI False) U1)