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

Defined in Network.AWS.S3.PutBucketLogging

Data PutBucketLogging Source # 
Instance details

Defined in Network.AWS.S3.PutBucketLogging

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

Defined in Network.AWS.S3.PutBucketLogging

Show PutBucketLogging Source # 
Instance details

Defined in Network.AWS.S3.PutBucketLogging

Generic PutBucketLogging Source # 
Instance details

Defined in Network.AWS.S3.PutBucketLogging

Associated Types

type Rep PutBucketLogging :: Type -> Type #

Hashable PutBucketLogging Source # 
Instance details

Defined in Network.AWS.S3.PutBucketLogging

AWSRequest PutBucketLogging Source # 
Instance details

Defined in Network.AWS.S3.PutBucketLogging

Associated Types

type Rs PutBucketLogging :: Type #

ToElement PutBucketLogging Source # 
Instance details

Defined in Network.AWS.S3.PutBucketLogging

ToHeaders PutBucketLogging Source # 
Instance details

Defined in Network.AWS.S3.PutBucketLogging

ToPath PutBucketLogging Source # 
Instance details

Defined in Network.AWS.S3.PutBucketLogging

ToQuery PutBucketLogging Source # 
Instance details

Defined in Network.AWS.S3.PutBucketLogging

NFData PutBucketLogging Source # 
Instance details

Defined in Network.AWS.S3.PutBucketLogging

Methods

rnf :: PutBucketLogging -> () #

type Rep PutBucketLogging Source # 
Instance details

Defined in Network.AWS.S3.PutBucketLogging

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

Defined in Network.AWS.S3.PutBucketLogging

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

Defined in Network.AWS.S3.PutBucketLogging

Data PutBucketLoggingResponse Source # 
Instance details

Defined in Network.AWS.S3.PutBucketLogging

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

Defined in Network.AWS.S3.PutBucketLogging

Show PutBucketLoggingResponse Source # 
Instance details

Defined in Network.AWS.S3.PutBucketLogging

Generic PutBucketLoggingResponse Source # 
Instance details

Defined in Network.AWS.S3.PutBucketLogging

Associated Types

type Rep PutBucketLoggingResponse :: Type -> Type #

NFData PutBucketLoggingResponse Source # 
Instance details

Defined in Network.AWS.S3.PutBucketLogging

type Rep PutBucketLoggingResponse Source # 
Instance details

Defined in Network.AWS.S3.PutBucketLogging

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