Amazon Personalize · Schema

UpdateMetricAttributionRequest

Artificial IntelligenceAmazon Web ServicesCustomer ExperienceMachine LearningPersonalizationRecommendations

Properties

Name Type Description
addMetrics array Add new metric attributes to the metric attribution.
removeMetrics array Remove metric attributes from the metric attribution.
metricsOutputConfig object
metricAttributionArn string The Amazon Resource Name (ARN) for the metric attribution to update.
View JSON Schema on GitHub

JSON Schema

amazon-personalize-update-metric-attribution-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-personalize/json-schema/amazon-personalize-update-metric-attribution-request-schema.json",
  "title": "UpdateMetricAttributionRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-personalize-metric-attribution-api-openapi.yml#/components/schemas/UpdateMetricAttributionRequest",
  "type": "object",
  "properties": {
    "addMetrics": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/MetricAttribute"
      },
      "description": "Add new metric attributes to the metric attribution."
    },
    "removeMetrics": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Remove metric attributes from the metric attribution."
    },
    "metricsOutputConfig": {
      "$ref": "#/$defs/MetricAttributionOutput"
    },
    "metricAttributionArn": {
      "type": "string",
      "description": "The Amazon Resource Name (ARN) for the metric attribution to update."
    }
  },
  "$defs": {
    "MetricAttribute": {
      "type": "object",
      "properties": {
        "eventType": {
          "type": "string",
          "description": "The metric's event type."
        },
        "metricName": {
          "type": "string",
          "description": "The metric's name. The name helps you identify the metric in Amazon CloudWatch or Amazon S3."
        },
        "expression": {
          "type": "string",
          "description": "The attribute's expression. Available functions are SUM() or SAMPLECOUNT(). For SUM() functions, provide the dataset type (either Interactions or Items) and column to sum as a parameter. For example SUM(Items.PRICE)."
        }
      },
      "required": [
        "eventType",
        "metricName",
        "expression"
      ]
    },
    "MetricAttributionOutput": {
      "type": "object",
      "properties": {
        "s3DataDestination": {
          "$ref": "#/$defs/S3DataConfig"
        },
        "roleArn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the IAM service role that has permissions to add data to your output Amazon S3 bucket and add metrics to Amazon CloudWatch. For more information, see Measuring impact of recommendations."
        }
      },
      "required": [
        "roleArn"
      ]
    },
    "S3DataConfig": {
      "type": "object",
      "properties": {
        "path": {
          "type": "string",
          "description": "The file path of the Amazon S3 bucket."
        },
        "kmsKeyArn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the Key Management Service (KMS) key that Amazon Personalize uses to encrypt or decrypt the input and output files."
        }
      },
      "required": [
        "path"
      ]
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/amazon-personalize-update-metric-attribution-request"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.