Copyright | (c) 2013-2021 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 |
Documentation
data MetricsConfiguration Source #
Specifies a metrics configuration for the CloudWatch request metrics (specified by the metrics configuration ID) from an Amazon S3 bucket. If you're updating an existing metrics configuration, note that this is a full replacement of the existing metrics configuration. If you don't include the elements you want to keep, they are erased. For more information, see PutBucketMetricsConfiguration.
See: newMetricsConfiguration
smart constructor.
MetricsConfiguration' | |
|
Instances
newMetricsConfiguration Source #
Create a value of MetricsConfiguration
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:filter':MetricsConfiguration'
, metricsConfiguration_filter
- Specifies a metrics configuration filter. The metrics configuration will
only include objects that meet the filter's criteria. A filter must be
a prefix, an object tag, an access point ARN, or a conjunction
(MetricsAndOperator).
$sel:id:MetricsConfiguration'
, metricsConfiguration_id
- The ID used to identify the metrics configuration.
metricsConfiguration_filter :: Lens' MetricsConfiguration (Maybe MetricsFilter) Source #
Specifies a metrics configuration filter. The metrics configuration will only include objects that meet the filter's criteria. A filter must be a prefix, an object tag, an access point ARN, or a conjunction (MetricsAndOperator).
metricsConfiguration_id :: Lens' MetricsConfiguration Text Source #
The ID used to identify the metrics configuration.