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

Contents

Description

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

Synopsis

Creating a Request

deleteBucketMetricsConfiguration Source #

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

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

  • dbmcBucket - The name of the bucket containing the metrics configuration to delete.
  • dbmcId - The ID used to identify the metrics configuration.

data DeleteBucketMetricsConfiguration Source #

See: deleteBucketMetricsConfiguration smart constructor.

Instances

Eq DeleteBucketMetricsConfiguration Source # 
Data DeleteBucketMetricsConfiguration Source # 

Methods

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

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

toConstr :: DeleteBucketMetricsConfiguration -> Constr #

dataTypeOf :: DeleteBucketMetricsConfiguration -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Request Lenses

dbmcBucket :: Lens' DeleteBucketMetricsConfiguration BucketName Source #

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

dbmcId :: Lens' DeleteBucketMetricsConfiguration Text Source #

The ID used to identify the metrics configuration.

Destructuring the Response

data DeleteBucketMetricsConfigurationResponse Source #

Instances

Eq DeleteBucketMetricsConfigurationResponse Source # 
Data DeleteBucketMetricsConfigurationResponse Source # 

Methods

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

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

toConstr :: DeleteBucketMetricsConfigurationResponse -> Constr #

dataTypeOf :: DeleteBucketMetricsConfigurationResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

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