{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-datasync/json-schema/amazon-datasync-tag-resource-request-schema.json",
  "title": "TagResourceRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-datasync-operations-api-openapi.yml#/components/schemas/TagResourceRequest",
  "type": "object",
  "properties": {
    "ResourceArn": {
      "type": "string",
      "description": "Specifies the Amazon Resource Name (ARN) of the resource to apply the tag to."
    },
    "Tags": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/TagListEntry"
      },
      "description": "Specifies the tags that you want to apply to the resource."
    }
  },
  "required": [
    "ResourceArn",
    "Tags"
  ],
  "$defs": {
    "TagListEntry": {
      "type": "object",
      "properties": {
        "Key": {
          "type": "string",
          "description": "The key for an Amazon Web Services resource tag."
        },
        "Value": {
          "type": "string",
          "description": "The value for an Amazon Web Services resource tag."
        }
      },
      "required": [
        "Key"
      ]
    }
  }
}