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

Defined in Network.AWS.S3.PutBucketMetricsConfiguration

Data PutBucketMetricsConfiguration Source # 
Instance details

Defined in Network.AWS.S3.PutBucketMetricsConfiguration

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

Defined in Network.AWS.S3.PutBucketMetricsConfiguration

Show PutBucketMetricsConfiguration Source # 
Instance details

Defined in Network.AWS.S3.PutBucketMetricsConfiguration

Generic PutBucketMetricsConfiguration Source # 
Instance details

Defined in Network.AWS.S3.PutBucketMetricsConfiguration

Associated Types

type Rep PutBucketMetricsConfiguration :: Type -> Type #

Hashable PutBucketMetricsConfiguration Source # 
Instance details

Defined in Network.AWS.S3.PutBucketMetricsConfiguration

AWSRequest PutBucketMetricsConfiguration Source # 
Instance details

Defined in Network.AWS.S3.PutBucketMetricsConfiguration

Associated Types

type Rs PutBucketMetricsConfiguration :: Type #

ToElement PutBucketMetricsConfiguration Source # 
Instance details

Defined in Network.AWS.S3.PutBucketMetricsConfiguration

ToHeaders PutBucketMetricsConfiguration Source # 
Instance details

Defined in Network.AWS.S3.PutBucketMetricsConfiguration

ToPath PutBucketMetricsConfiguration Source # 
Instance details

Defined in Network.AWS.S3.PutBucketMetricsConfiguration

ToQuery PutBucketMetricsConfiguration Source # 
Instance details

Defined in Network.AWS.S3.PutBucketMetricsConfiguration

NFData PutBucketMetricsConfiguration Source # 
Instance details

Defined in Network.AWS.S3.PutBucketMetricsConfiguration

type Rep PutBucketMetricsConfiguration Source # 
Instance details

Defined in Network.AWS.S3.PutBucketMetricsConfiguration

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

Defined in Network.AWS.S3.PutBucketMetricsConfiguration

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

Defined in Network.AWS.S3.PutBucketMetricsConfiguration

Data PutBucketMetricsConfigurationResponse Source # 
Instance details

Defined in Network.AWS.S3.PutBucketMetricsConfiguration

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

Defined in Network.AWS.S3.PutBucketMetricsConfiguration

Show PutBucketMetricsConfigurationResponse Source # 
Instance details

Defined in Network.AWS.S3.PutBucketMetricsConfiguration

Generic PutBucketMetricsConfigurationResponse Source # 
Instance details

Defined in Network.AWS.S3.PutBucketMetricsConfiguration

NFData PutBucketMetricsConfigurationResponse Source # 
Instance details

Defined in Network.AWS.S3.PutBucketMetricsConfiguration

type Rep PutBucketMetricsConfigurationResponse Source # 
Instance details

Defined in Network.AWS.S3.PutBucketMetricsConfiguration

type Rep PutBucketMetricsConfigurationResponse = D1 (MetaData "PutBucketMetricsConfigurationResponse" "Network.AWS.S3.PutBucketMetricsConfiguration" "amazonka-s3-1.6.1-I7VsiKive605KPmKsVgrUz" False) (C1 (MetaCons "PutBucketMetricsConfigurationResponse'" PrefixI False) (U1 :: Type -> Type))