{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-kendra/json-schema/amazon-kendra-describe-query-suggestions-block-list-response-schema.json",
  "title": "DescribeQuerySuggestionsBlockListResponse",
  "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/DescribeQuerySuggestionsBlockListResponse",
  "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."
    },
    "Name": {
      "type": "string",
      "description": "The name of the block list."
    },
    "Description": {
      "type": "string",
      "description": "The description for the block list."
    },
    "Status": {
      "type": "string",
      "enum": [
        "ACTIVE",
        "CREATING",
        "DELETING",
        "UPDATING",
        "ACTIVE_BUT_UPDATE_FAILED",
        "FAILED"
      ],
      "description": "The current status of the block list. When the value is ACTIVE, the block list is ready for use."
    },
    "ErrorMessage": {
      "type": "string",
      "description": "The error message containing details if there are issues processing the block list."
    },
    "CreatedAt": {
      "type": "string",
      "format": "date-time",
      "description": "The Unix timestamp when a block list for query suggestions was created."
    },
    "UpdatedAt": {
      "type": "string",
      "format": "date-time",
      "description": "The Unix timestamp when a block list for query suggestions was last updated."
    },
    "SourceS3Path": {
      "$ref": "#/$defs/S3Path"
    },
    "ItemCount": {
      "type": "integer",
      "description": "The current number of valid, non-empty words or phrases in the block list text file."
    },
    "FileSizeBytes": {
      "type": "integer",
      "description": "The current size of the block list text file in S3."
    },
    "RoleArn": {
      "type": "string",
      "description": "The IAM (Identity and Access Management) role used by Amazon Kendra to access the block list text file in S3. The role needs S3 read permissions to your file in S3 and needs to give STS (Security Token Service) assume role permissions to Amazon Kendra."
    }
  },
  "$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"
      ]
    }
  }
}