| Copyright | (c) 2013-2018 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.AWS.S3.DeleteBucketMetricsConfiguration
Description
Deletes a metrics configuration (specified by the metrics configuration ID) from the bucket.
Synopsis
- deleteBucketMetricsConfiguration :: BucketName -> Text -> DeleteBucketMetricsConfiguration
- data DeleteBucketMetricsConfiguration
- dbmcBucket :: Lens' DeleteBucketMetricsConfiguration BucketName
- dbmcId :: Lens' DeleteBucketMetricsConfiguration Text
- deleteBucketMetricsConfigurationResponse :: DeleteBucketMetricsConfigurationResponse
- data DeleteBucketMetricsConfigurationResponse
Creating a Request
deleteBucketMetricsConfiguration Source #
Arguments
| :: BucketName | |
| -> Text | |
| -> DeleteBucketMetricsConfiguration |
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
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
deleteBucketMetricsConfigurationResponse :: DeleteBucketMetricsConfigurationResponse Source #
Creates a value of DeleteBucketMetricsConfigurationResponse with the minimum fields required to make a request.
data DeleteBucketMetricsConfigurationResponse Source #
See: deleteBucketMetricsConfigurationResponse smart constructor.