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

Defined in Network.AWS.S3.GetBucketMetricsConfiguration

Data GetBucketMetricsConfiguration Source # 
Instance details

Defined in Network.AWS.S3.GetBucketMetricsConfiguration

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

Defined in Network.AWS.S3.GetBucketMetricsConfiguration

Show GetBucketMetricsConfiguration Source # 
Instance details

Defined in Network.AWS.S3.GetBucketMetricsConfiguration

Generic GetBucketMetricsConfiguration Source # 
Instance details

Defined in Network.AWS.S3.GetBucketMetricsConfiguration

Associated Types

type Rep GetBucketMetricsConfiguration :: Type -> Type #

Hashable GetBucketMetricsConfiguration Source # 
Instance details

Defined in Network.AWS.S3.GetBucketMetricsConfiguration

AWSRequest GetBucketMetricsConfiguration Source # 
Instance details

Defined in Network.AWS.S3.GetBucketMetricsConfiguration

Associated Types

type Rs GetBucketMetricsConfiguration :: Type #

ToHeaders GetBucketMetricsConfiguration Source # 
Instance details

Defined in Network.AWS.S3.GetBucketMetricsConfiguration

ToPath GetBucketMetricsConfiguration Source # 
Instance details

Defined in Network.AWS.S3.GetBucketMetricsConfiguration

ToQuery GetBucketMetricsConfiguration Source # 
Instance details

Defined in Network.AWS.S3.GetBucketMetricsConfiguration

NFData GetBucketMetricsConfiguration Source # 
Instance details

Defined in Network.AWS.S3.GetBucketMetricsConfiguration

type Rep GetBucketMetricsConfiguration Source # 
Instance details

Defined in Network.AWS.S3.GetBucketMetricsConfiguration

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

Defined in Network.AWS.S3.GetBucketMetricsConfiguration

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

Defined in Network.AWS.S3.GetBucketMetricsConfiguration

Data GetBucketMetricsConfigurationResponse Source # 
Instance details

Defined in Network.AWS.S3.GetBucketMetricsConfiguration

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

Defined in Network.AWS.S3.GetBucketMetricsConfiguration

Show GetBucketMetricsConfigurationResponse Source # 
Instance details

Defined in Network.AWS.S3.GetBucketMetricsConfiguration

Generic GetBucketMetricsConfigurationResponse Source # 
Instance details

Defined in Network.AWS.S3.GetBucketMetricsConfiguration

NFData GetBucketMetricsConfigurationResponse Source # 
Instance details

Defined in Network.AWS.S3.GetBucketMetricsConfiguration

type Rep GetBucketMetricsConfigurationResponse Source # 
Instance details

Defined in Network.AWS.S3.GetBucketMetricsConfiguration

type Rep GetBucketMetricsConfigurationResponse = D1 (MetaData "GetBucketMetricsConfigurationResponse" "Network.AWS.S3.GetBucketMetricsConfiguration" "amazonka-s3-1.6.1-I7VsiKive605KPmKsVgrUz" False) (C1 (MetaCons "GetBucketMetricsConfigurationResponse'" PrefixI True) (S1 (MetaSel (Just "_gbmcrsMetricsConfiguration") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe MetricsConfiguration)) :*: S1 (MetaSel (Just "_gbmcrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))

Response Lenses