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

Contents

Description

Returns the logging status of a bucket and the permissions users have to view and modify that status. To use GET, you must be the bucket owner.

Synopsis

Creating a Request

getBucketLogging Source #

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

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

data GetBucketLogging Source #

See: getBucketLogging smart constructor.

Instances

Eq GetBucketLogging Source # 
Data GetBucketLogging Source # 

Methods

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

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

toConstr :: GetBucketLogging -> Constr #

dataTypeOf :: GetBucketLogging -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetBucketLogging Source # 
Show GetBucketLogging Source # 
Generic GetBucketLogging Source # 
Hashable GetBucketLogging Source # 
NFData GetBucketLogging Source # 

Methods

rnf :: GetBucketLogging -> () #

AWSRequest GetBucketLogging Source # 
ToQuery GetBucketLogging Source # 
ToPath GetBucketLogging Source # 
ToHeaders GetBucketLogging Source # 
type Rep GetBucketLogging Source # 
type Rep GetBucketLogging = D1 (MetaData "GetBucketLogging" "Network.AWS.S3.GetBucketLogging" "amazonka-s3-1.5.0-4i2REsRgyXL98WvgynC9is" True) (C1 (MetaCons "GetBucketLogging'" PrefixI True) (S1 (MetaSel (Just Symbol "_gBucket") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 BucketName)))
type Rs GetBucketLogging Source # 

Request Lenses

Destructuring the Response

getBucketLoggingResponse Source #

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

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

data GetBucketLoggingResponse Source #

See: getBucketLoggingResponse smart constructor.

Instances

Eq GetBucketLoggingResponse Source # 
Data GetBucketLoggingResponse Source # 

Methods

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

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

toConstr :: GetBucketLoggingResponse -> Constr #

dataTypeOf :: GetBucketLoggingResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetBucketLoggingResponse Source # 
Show GetBucketLoggingResponse Source # 
Generic GetBucketLoggingResponse Source # 
NFData GetBucketLoggingResponse Source # 
type Rep GetBucketLoggingResponse Source # 
type Rep GetBucketLoggingResponse = D1 (MetaData "GetBucketLoggingResponse" "Network.AWS.S3.GetBucketLogging" "amazonka-s3-1.5.0-4i2REsRgyXL98WvgynC9is" False) (C1 (MetaCons "GetBucketLoggingResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_gblrsLoggingEnabled") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe LoggingEnabled))) (S1 (MetaSel (Just Symbol "_gblrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses