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.PutBucketLogging

Contents

Description

Set the logging parameters for a bucket and to specify permissions for who can view and modify the logging parameters. To set the logging status of a bucket, you must be the bucket owner.

Synopsis

Creating a Request

putBucketLogging Source #

Creates a value of PutBucketLogging with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data PutBucketLogging Source #

See: putBucketLogging smart constructor.

Instances

Eq PutBucketLogging Source # 
Data PutBucketLogging Source # 

Methods

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

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

toConstr :: PutBucketLogging -> Constr #

dataTypeOf :: PutBucketLogging -> DataType #

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

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

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

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

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

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

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

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

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

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

Read PutBucketLogging Source # 
Show PutBucketLogging Source # 
Generic PutBucketLogging Source # 
Hashable PutBucketLogging Source # 
NFData PutBucketLogging Source # 

Methods

rnf :: PutBucketLogging -> () #

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

Request Lenses

Destructuring the Response

putBucketLoggingResponse :: PutBucketLoggingResponse Source #

Creates a value of PutBucketLoggingResponse with the minimum fields required to make a request.

data PutBucketLoggingResponse Source #

See: putBucketLoggingResponse smart constructor.

Instances

Eq PutBucketLoggingResponse Source # 
Data PutBucketLoggingResponse Source # 

Methods

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

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

toConstr :: PutBucketLoggingResponse -> Constr #

dataTypeOf :: PutBucketLoggingResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

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