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

Copyright(c) 2013-2018 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 # 
Instance details

Defined in Network.AWS.S3.PutBucketRequestPayment

Data PutBucketRequestPayment Source # 
Instance details

Defined in Network.AWS.S3.PutBucketRequestPayment

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 # 
Instance details

Defined in Network.AWS.S3.PutBucketRequestPayment

Show PutBucketRequestPayment Source # 
Instance details

Defined in Network.AWS.S3.PutBucketRequestPayment

Generic PutBucketRequestPayment Source # 
Instance details

Defined in Network.AWS.S3.PutBucketRequestPayment

Associated Types

type Rep PutBucketRequestPayment :: Type -> Type #

Hashable PutBucketRequestPayment Source # 
Instance details

Defined in Network.AWS.S3.PutBucketRequestPayment

AWSRequest PutBucketRequestPayment Source # 
Instance details

Defined in Network.AWS.S3.PutBucketRequestPayment

Associated Types

type Rs PutBucketRequestPayment :: Type #

ToElement PutBucketRequestPayment Source # 
Instance details

Defined in Network.AWS.S3.PutBucketRequestPayment

ToHeaders PutBucketRequestPayment Source # 
Instance details

Defined in Network.AWS.S3.PutBucketRequestPayment

ToPath PutBucketRequestPayment Source # 
Instance details

Defined in Network.AWS.S3.PutBucketRequestPayment

ToQuery PutBucketRequestPayment Source # 
Instance details

Defined in Network.AWS.S3.PutBucketRequestPayment

NFData PutBucketRequestPayment Source # 
Instance details

Defined in Network.AWS.S3.PutBucketRequestPayment

Methods

rnf :: PutBucketRequestPayment -> () #

type Rep PutBucketRequestPayment Source # 
Instance details

Defined in Network.AWS.S3.PutBucketRequestPayment

type Rep PutBucketRequestPayment = D1 (MetaData "PutBucketRequestPayment" "Network.AWS.S3.PutBucketRequestPayment" "amazonka-s3-1.6.1-I7VsiKive605KPmKsVgrUz" False) (C1 (MetaCons "PutBucketRequestPayment'" PrefixI True) (S1 (MetaSel (Just "_pbrpContentMD5") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_pbrpBucket") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 BucketName) :*: S1 (MetaSel (Just "_pbrpRequestPaymentConfiguration") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 RequestPaymentConfiguration))))
type Rs PutBucketRequestPayment Source # 
Instance details

Defined in Network.AWS.S3.PutBucketRequestPayment

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 # 
Instance details

Defined in Network.AWS.S3.PutBucketRequestPayment

Data PutBucketRequestPaymentResponse Source # 
Instance details

Defined in Network.AWS.S3.PutBucketRequestPayment

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 # 
Instance details

Defined in Network.AWS.S3.PutBucketRequestPayment

Show PutBucketRequestPaymentResponse Source # 
Instance details

Defined in Network.AWS.S3.PutBucketRequestPayment

Generic PutBucketRequestPaymentResponse Source # 
Instance details

Defined in Network.AWS.S3.PutBucketRequestPayment

Associated Types

type Rep PutBucketRequestPaymentResponse :: Type -> Type #

NFData PutBucketRequestPaymentResponse Source # 
Instance details

Defined in Network.AWS.S3.PutBucketRequestPayment

type Rep PutBucketRequestPaymentResponse Source # 
Instance details

Defined in Network.AWS.S3.PutBucketRequestPayment

type Rep PutBucketRequestPaymentResponse = D1 (MetaData "PutBucketRequestPaymentResponse" "Network.AWS.S3.PutBucketRequestPayment" "amazonka-s3-1.6.1-I7VsiKive605KPmKsVgrUz" False) (C1 (MetaCons "PutBucketRequestPaymentResponse'" PrefixI False) (U1 :: Type -> Type))