Amazon MediaStore · JSON Structure

Mediastore Api Metric Policy Rule Structure

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.

Type: object Properties: 2 Required: 2
BroadcastingMedia ProcessingMedia

MetricPolicyRule is a JSON Structure definition published by Amazon MediaStore, describing 2 properties, of which 2 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

ObjectGroup ObjectGroupName

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-mediastore/refs/heads/main/json-structure/mediastore-api-metric-policy-rule-structure.json",
  "name": "MetricPolicyRule",
  "type": "object",
  "description": "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 <a href=\"https://console.aws.amazon.com/servicequotas/home?region=us-east-1#!/services/mediastore/quotas\">request a quota increase</a> to allow up to 300 rules per policy.",
  "properties": {
    "ObjectGroup": {
      "allOf": [
        {
          "$ref": "#/components/schemas/ObjectGroup"
        },
        {
          "description": "A path or file name that defines which objects to include in the group. Wildcards (*) are acceptable."
        }
      ]
    },
    "ObjectGroupName": {
      "allOf": [
        {
          "$ref": "#/components/schemas/ObjectGroupName"
        },
        {
          "description": "A name that allows you to refer to the object group."
        }
      ]
    }
  },
  "required": [
    "ObjectGroup",
    "ObjectGroupName"
  ]
}