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 MetricPolicyRule Source #
A setting that enables metrics at the object level. Each rule contains an object group and an object group name. If the policy includes the MetricPolicyRules parameter, you must include at least one rule. Each metric policy can include up to five rules by default. You can also request a quota increase to allow up to 300 rules per policy.
See: newMetricPolicyRule
smart constructor.
MetricPolicyRule' | |
|
Instances
:: Text | |
-> Text | |
-> MetricPolicyRule |
Create a value of MetricPolicyRule
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:objectGroup:MetricPolicyRule'
, metricPolicyRule_objectGroup
- A path or file name that defines which objects to include in the group.
Wildcards (*) are acceptable.
$sel:objectGroupName:MetricPolicyRule'
, metricPolicyRule_objectGroupName
- A name that allows you to refer to the object group.
metricPolicyRule_objectGroup :: Lens' MetricPolicyRule Text Source #
A path or file name that defines which objects to include in the group. Wildcards (*) are acceptable.
metricPolicyRule_objectGroupName :: Lens' MetricPolicyRule Text Source #
A name that allows you to refer to the object group.