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

Contents

Description

Sets a metrics configuration (specified by the metrics configuration ID) for the bucket.

Synopsis

Creating a Request

putBucketMetricsConfiguration Source #

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

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

  • pbmcBucket - The name of the bucket for which the metrics configuration is set.
  • pbmcId - The ID used to identify the metrics configuration.
  • pbmcMetricsConfiguration - Specifies the metrics configuration.

data PutBucketMetricsConfiguration Source #

See: putBucketMetricsConfiguration smart constructor.

Instances

Eq PutBucketMetricsConfiguration Source # 
Data PutBucketMetricsConfiguration Source # 

Methods

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

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

toConstr :: PutBucketMetricsConfiguration -> Constr #

dataTypeOf :: PutBucketMetricsConfiguration -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Request Lenses

pbmcBucket :: Lens' PutBucketMetricsConfiguration BucketName Source #

The name of the bucket for which the metrics configuration is set.

pbmcId :: Lens' PutBucketMetricsConfiguration Text Source #

The ID used to identify the metrics configuration.

Destructuring the Response

data PutBucketMetricsConfigurationResponse Source #

Instances

Eq PutBucketMetricsConfigurationResponse Source # 
Data PutBucketMetricsConfigurationResponse Source # 

Methods

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

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

toConstr :: PutBucketMetricsConfigurationResponse -> Constr #

dataTypeOf :: PutBucketMetricsConfigurationResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read PutBucketMetricsConfigurationResponse Source # 
Show PutBucketMetricsConfigurationResponse Source # 
Generic PutBucketMetricsConfigurationResponse Source # 
NFData PutBucketMetricsConfigurationResponse Source # 
type Rep PutBucketMetricsConfigurationResponse Source # 
type Rep PutBucketMetricsConfigurationResponse = D1 (MetaData "PutBucketMetricsConfigurationResponse" "Network.AWS.S3.PutBucketMetricsConfiguration" "amazonka-s3-1.5.0-4i2REsRgyXL98WvgynC9is" False) (C1 (MetaCons "PutBucketMetricsConfigurationResponse'" PrefixI False) U1)