Copyright | (c) 2013-2017 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 |
Sets a metrics configuration (specified by the metrics configuration ID) for the bucket.
- putBucketMetricsConfiguration :: BucketName -> Text -> MetricsConfiguration -> PutBucketMetricsConfiguration
- data PutBucketMetricsConfiguration
- pbmcBucket :: Lens' PutBucketMetricsConfiguration BucketName
- pbmcId :: Lens' PutBucketMetricsConfiguration Text
- pbmcMetricsConfiguration :: Lens' PutBucketMetricsConfiguration MetricsConfiguration
- putBucketMetricsConfigurationResponse :: PutBucketMetricsConfigurationResponse
- data PutBucketMetricsConfigurationResponse
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.
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.
pbmcMetricsConfiguration :: Lens' PutBucketMetricsConfiguration MetricsConfiguration Source #
Specifies the metrics configuration.
Destructuring the Response
putBucketMetricsConfigurationResponse :: PutBucketMetricsConfigurationResponse Source #
Creates a value of PutBucketMetricsConfigurationResponse
with the minimum fields required to make a request.
data PutBucketMetricsConfigurationResponse Source #
See: putBucketMetricsConfigurationResponse
smart constructor.