{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-transcribe/json-schema/amazon-transcribe-update-language-model-request-schema.json",
  "title": "UpdateLanguageModelRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-transcribe-language-model-api-openapi.yml#/components/schemas/UpdateLanguageModelRequest",
  "type": "object",
  "properties": {
    "ModelName": {
      "type": "string",
      "description": "The name of the custom language model you want to update. Model names are case sensitive."
    },
    "DataAccessRoleArn": {
      "type": "string",
      "description": "The Amazon Resource Name (ARN) of an IAM role. If you include EncryptionConfiguration in your request, this role must have permissions to access the specified KMS key. If the role that you specify doesn't have the appropriate permissions, your request fails. IAM role ARNs have the format arn:partition:iam::account:role/role-name-with-path. For example: arn:aws:iam::111122223333:role/Admin. For more information, see IAM ARNs."
    },
    "EncryptionConfiguration": {
      "$ref": "#/$defs/EncryptionConfiguration"
    }
  },
  "required": [
    "ModelName"
  ],
  "$defs": {
    "EncryptionConfiguration": {
      "type": "object",
      "properties": {
        "KMSEncryptionContext": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          },
          "description": "A map of plain text, non-secret key:value pairs, known as encryption context pairs, that provide an added layer of security for your data. For more information, see KMS encryption context."
        },
        "KMSKey": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the KMS key you want to use to encrypt your resource artifacts. Only full KMS key ARN format is supported. KMS key ARNs have the format arn:partition:kms:region:account:key/key-id. For example: arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab. For more information, see KMS key ARNs."
        }
      },
      "required": [
        "KMSKey"
      ]
    }
  }
}