{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-kendra/json-schema/amazon-kendra-update-query-suggestions-block-list-request-schema.json",
  "title": "UpdateQuerySuggestionsBlockListRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-kendra-query-suggestions-block-list-api-openapi.yml#/components/schemas/UpdateQuerySuggestionsBlockListRequest",
  "type": "object",
  "properties": {
    "IndexId": {
      "type": "string",
      "description": "The identifier of the index for the block list."
    },
    "Id": {
      "type": "string",
      "description": "The identifier of the block list you want to update."
    },
    "Name": {
      "type": "string",
      "description": "A new name for the block list."
    },
    "Description": {
      "type": "string",
      "description": "A new description for the block list."
    },
    "SourceS3Path": {
      "$ref": "#/$defs/S3Path"
    },
    "RoleArn": {
      "type": "string",
      "description": "The IAM (Identity and Access Management) role used to access the block list text file in S3."
    }
  },
  "required": [
    "IndexId",
    "Id"
  ],
  "$defs": {
    "S3Path": {
      "type": "object",
      "properties": {
        "Bucket": {
          "type": "string",
          "description": "The name of the S3 bucket that contains the file."
        },
        "Key": {
          "type": "string",
          "description": "The name of the file."
        }
      },
      "required": [
        "Bucket",
        "Key"
      ]
    }
  }
}