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 |
Gets a metrics configuration (specified by the metrics configuration ID) from the bucket.
Synopsis
- getBucketMetricsConfiguration :: BucketName -> Text -> GetBucketMetricsConfiguration
- data GetBucketMetricsConfiguration
- gbmcBucket :: Lens' GetBucketMetricsConfiguration BucketName
- gbmcId :: Lens' GetBucketMetricsConfiguration Text
- getBucketMetricsConfigurationResponse :: Int -> GetBucketMetricsConfigurationResponse
- data GetBucketMetricsConfigurationResponse
- gbmcrsMetricsConfiguration :: Lens' GetBucketMetricsConfigurationResponse (Maybe MetricsConfiguration)
- gbmcrsResponseStatus :: Lens' GetBucketMetricsConfigurationResponse Int
Creating a Request
getBucketMetricsConfiguration Source #
Creates a value of GetBucketMetricsConfiguration
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gbmcBucket
- The name of the bucket containing the metrics configuration to retrieve.gbmcId
- The ID used to identify the metrics configuration.
data GetBucketMetricsConfiguration Source #
See: getBucketMetricsConfiguration
smart constructor.
Instances
Request Lenses
gbmcBucket :: Lens' GetBucketMetricsConfiguration BucketName Source #
The name of the bucket containing the metrics configuration to retrieve.
gbmcId :: Lens' GetBucketMetricsConfiguration Text Source #
The ID used to identify the metrics configuration.
Destructuring the Response
getBucketMetricsConfigurationResponse Source #
Creates a value of GetBucketMetricsConfigurationResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gbmcrsMetricsConfiguration
- Specifies the metrics configuration.gbmcrsResponseStatus
- -- | The response status code.
data GetBucketMetricsConfigurationResponse Source #
See: getBucketMetricsConfigurationResponse
smart constructor.
Instances
Response Lenses
gbmcrsMetricsConfiguration :: Lens' GetBucketMetricsConfigurationResponse (Maybe MetricsConfiguration) Source #
Specifies the metrics configuration.
gbmcrsResponseStatus :: Lens' GetBucketMetricsConfigurationResponse Int Source #
- - | The response status code.