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

Defined in Network.AWS.S3.GetBucketLogging

Data GetBucketLogging Source # 
Instance details

Defined in Network.AWS.S3.GetBucketLogging

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

Defined in Network.AWS.S3.GetBucketLogging

Show GetBucketLogging Source # 
Instance details

Defined in Network.AWS.S3.GetBucketLogging

Generic GetBucketLogging Source # 
Instance details

Defined in Network.AWS.S3.GetBucketLogging

Associated Types

type Rep GetBucketLogging :: Type -> Type #

Hashable GetBucketLogging Source # 
Instance details

Defined in Network.AWS.S3.GetBucketLogging

AWSRequest GetBucketLogging Source # 
Instance details

Defined in Network.AWS.S3.GetBucketLogging

Associated Types

type Rs GetBucketLogging :: Type #

ToHeaders GetBucketLogging Source # 
Instance details

Defined in Network.AWS.S3.GetBucketLogging

ToPath GetBucketLogging Source # 
Instance details

Defined in Network.AWS.S3.GetBucketLogging

ToQuery GetBucketLogging Source # 
Instance details

Defined in Network.AWS.S3.GetBucketLogging

NFData GetBucketLogging Source # 
Instance details

Defined in Network.AWS.S3.GetBucketLogging

Methods

rnf :: GetBucketLogging -> () #

type Rep GetBucketLogging Source # 
Instance details

Defined in Network.AWS.S3.GetBucketLogging

type Rep GetBucketLogging = D1 (MetaData "GetBucketLogging" "Network.AWS.S3.GetBucketLogging" "amazonka-s3-1.6.1-I7VsiKive605KPmKsVgrUz" True) (C1 (MetaCons "GetBucketLogging'" PrefixI True) (S1 (MetaSel (Just "_gBucket") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 BucketName)))
type Rs GetBucketLogging Source # 
Instance details

Defined in Network.AWS.S3.GetBucketLogging

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

Defined in Network.AWS.S3.GetBucketLogging

Data GetBucketLoggingResponse Source # 
Instance details

Defined in Network.AWS.S3.GetBucketLogging

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

Defined in Network.AWS.S3.GetBucketLogging

Show GetBucketLoggingResponse Source # 
Instance details

Defined in Network.AWS.S3.GetBucketLogging

Generic GetBucketLoggingResponse Source # 
Instance details

Defined in Network.AWS.S3.GetBucketLogging

Associated Types

type Rep GetBucketLoggingResponse :: Type -> Type #

NFData GetBucketLoggingResponse Source # 
Instance details

Defined in Network.AWS.S3.GetBucketLogging

type Rep GetBucketLoggingResponse Source # 
Instance details

Defined in Network.AWS.S3.GetBucketLogging

type Rep GetBucketLoggingResponse = D1 (MetaData "GetBucketLoggingResponse" "Network.AWS.S3.GetBucketLogging" "amazonka-s3-1.6.1-I7VsiKive605KPmKsVgrUz" False) (C1 (MetaCons "GetBucketLoggingResponse'" PrefixI True) (S1 (MetaSel (Just "_gblrsLoggingEnabled") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe LoggingEnabled)) :*: S1 (MetaSel (Just "_gblrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))

Response Lenses