{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-migration-hub/json-schema/amazon-migration-hub-put-resource-attributes-request-schema.json",
  "title": "PutResourceAttributesRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-migration-hub-aws-migration-hub-api-openapi.yml#/components/schemas/PutResourceAttributesRequest",
  "type": "object",
  "properties": {
    "ProgressUpdateStream": {
      "type": "string",
      "description": "The name of the ProgressUpdateStream."
    },
    "MigrationTaskName": {
      "type": "string",
      "description": "Unique identifier that references the migration task. Do not store personal data in this field."
    },
    "ResourceAttributeList": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/ResourceAttribute"
      },
      "description": "Information about the resource that is being migrated. This data will be used to map the task to a resource in the Application Discovery Service repository. Takes the object array of ResourceAttribute where the Type field is reserved for the following values: IPV4_ADDRESS | IPV6_ADDRESS | MAC_ADDRESS | FQDN | VM_MANAGER_ID | VM_MANAGED_OBJECT_REFERENCE | VM_NAME | VM_PATH | BIOS_ID | MOTHERBOARD_SERIAL_NUMBER where the identifying value can be a string up to 256 characters. If any \"VM\" related value is set for a ResourceAttribute object, it is required that VM_MANAGER_ID, as a minimum, is alwa"
    },
    "DryRun": {
      "type": "boolean",
      "description": "Optional boolean flag to indicate whether any effect should take place. Used to test if the caller has permission to make the call."
    }
  },
  "required": [
    "ProgressUpdateStream",
    "MigrationTaskName",
    "ResourceAttributeList"
  ],
  "$defs": {
    "ResourceAttribute": {
      "type": "object",
      "properties": {
        "Type": {
          "type": "string",
          "enum": [
            "IPV4_ADDRESS",
            "IPV6_ADDRESS",
            "MAC_ADDRESS",
            "FQDN",
            "VM_MANAGER_ID",
            "VM_MANAGED_OBJECT_REFERENCE",
            "VM_NAME",
            "VM_PATH",
            "BIOS_ID",
            "MOTHERBOARD_SERIAL_NUMBER"
          ],
          "description": "Type of resource."
        },
        "Value": {
          "type": "string",
          "description": "Value of the resource type."
        }
      },
      "required": [
        "Type",
        "Value"
      ]
    }
  }
}