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

Contents

Description

Gets a metrics configuration (specified by the metrics configuration ID) from the bucket.

Synopsis

Creating a Request

getBucketMetricsConfiguration Source #

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

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

  • gbmcBucket - The name of the bucket containing the metrics configuration to retrieve.
  • gbmcId - The ID used to identify the metrics configuration.

data GetBucketMetricsConfiguration Source #

See: getBucketMetricsConfiguration smart constructor.

Instances

Eq GetBucketMetricsConfiguration Source # 
Data GetBucketMetricsConfiguration Source # 

Methods

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

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

toConstr :: GetBucketMetricsConfiguration -> Constr #

dataTypeOf :: GetBucketMetricsConfiguration -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetBucketMetricsConfiguration Source # 
Show GetBucketMetricsConfiguration Source # 
Generic GetBucketMetricsConfiguration Source # 
Hashable GetBucketMetricsConfiguration Source # 
NFData GetBucketMetricsConfiguration Source # 
AWSRequest GetBucketMetricsConfiguration Source # 
ToQuery GetBucketMetricsConfiguration Source # 
ToPath GetBucketMetricsConfiguration Source # 
ToHeaders GetBucketMetricsConfiguration Source # 
type Rep GetBucketMetricsConfiguration Source # 
type Rep GetBucketMetricsConfiguration = D1 (MetaData "GetBucketMetricsConfiguration" "Network.AWS.S3.GetBucketMetricsConfiguration" "amazonka-s3-1.5.0-4i2REsRgyXL98WvgynC9is" False) (C1 (MetaCons "GetBucketMetricsConfiguration'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_gbmcBucket") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 BucketName)) (S1 (MetaSel (Just Symbol "_gbmcId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs GetBucketMetricsConfiguration Source # 

Request Lenses

gbmcBucket :: Lens' GetBucketMetricsConfiguration BucketName Source #

The name of the bucket containing the metrics configuration to retrieve.

gbmcId :: Lens' GetBucketMetricsConfiguration Text Source #

The ID used to identify the metrics configuration.

Destructuring the Response

getBucketMetricsConfigurationResponse Source #

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

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

data GetBucketMetricsConfigurationResponse Source #

Instances

Eq GetBucketMetricsConfigurationResponse Source # 
Data GetBucketMetricsConfigurationResponse Source # 

Methods

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

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

toConstr :: GetBucketMetricsConfigurationResponse -> Constr #

dataTypeOf :: GetBucketMetricsConfigurationResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Response Lenses