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.
{
"$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"
]
}
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. See our Privacy Policy and
Terms.