Amazon MediaStore · Schema

MetricPolicyRule

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.

BroadcastingMedia ProcessingMedia

Properties

Name Type Description
ObjectGroup object
ObjectGroupName object
View JSON Schema on GitHub

JSON Schema

mediastore-api-metric-policy-rule-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-mediastore/refs/heads/main/json-schema/mediastore-api-metric-policy-rule-schema.json",
  "title": "MetricPolicyRule",
  "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.",
  "type": "object",
  "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"
  ]
}