libZSservicesZSamazonka-mediastoreZSamazonka-mediastore
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.MediaStore.Types.MetricPolicyRule

Description

 
Synopsis

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.

Constructors

MetricPolicyRule' 

Fields

  • objectGroup :: Text

    A path or file name that defines which objects to include in the group. Wildcards (*) are acceptable.

  • objectGroupName :: Text

    A name that allows you to refer to the object group.

Instances

Instances details
Eq MetricPolicyRule Source # 
Instance details

Defined in Amazonka.MediaStore.Types.MetricPolicyRule

Read MetricPolicyRule Source # 
Instance details

Defined in Amazonka.MediaStore.Types.MetricPolicyRule

Show MetricPolicyRule Source # 
Instance details

Defined in Amazonka.MediaStore.Types.MetricPolicyRule

Generic MetricPolicyRule Source # 
Instance details

Defined in Amazonka.MediaStore.Types.MetricPolicyRule

Associated Types

type Rep MetricPolicyRule :: Type -> Type #

NFData MetricPolicyRule Source # 
Instance details

Defined in Amazonka.MediaStore.Types.MetricPolicyRule

Methods

rnf :: MetricPolicyRule -> () #

Hashable MetricPolicyRule Source # 
Instance details

Defined in Amazonka.MediaStore.Types.MetricPolicyRule

ToJSON MetricPolicyRule Source # 
Instance details

Defined in Amazonka.MediaStore.Types.MetricPolicyRule

FromJSON MetricPolicyRule Source # 
Instance details

Defined in Amazonka.MediaStore.Types.MetricPolicyRule

type Rep MetricPolicyRule Source # 
Instance details

Defined in Amazonka.MediaStore.Types.MetricPolicyRule

type Rep MetricPolicyRule = D1 ('MetaData "MetricPolicyRule" "Amazonka.MediaStore.Types.MetricPolicyRule" "libZSservicesZSamazonka-mediastoreZSamazonka-mediastore" 'False) (C1 ('MetaCons "MetricPolicyRule'" 'PrefixI 'True) (S1 ('MetaSel ('Just "objectGroup") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "objectGroupName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newMetricPolicyRule Source #

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.