{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-connect/json-schema/amazon-connect-voiceid-list-domains-response-schema.json",
  "title": "VoiceidListDomainsResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-connect-domain-api-openapi.yml#/components/schemas/VoiceidListDomainsResponse",
  "type": "object",
  "properties": {
    "DomainSummaries": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/VoiceidDomainSummary"
      },
      "description": "A list containing details about each domain in the Amazon Web Services account."
    },
    "NextToken": {
      "type": "string",
      "description": "If NextToken is returned, there are more results available. The value of NextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours."
    }
  },
  "$defs": {
    "ServerSideEncryptionConfiguration": {
      "type": "object",
      "properties": {
        "KmsKeyId": {
          "type": "string",
          "description": "The identifier of the KMS key to use to encrypt data stored by Voice ID. Voice ID doesn't support asymmetric customer managed keys."
        }
      },
      "required": [
        "KmsKeyId"
      ]
    },
    "ServerSideEncryptionUpdateDetails": {
      "type": "object",
      "properties": {
        "OldKmsKeyId": {
          "type": "string",
          "description": "The previous KMS key ID the domain was encrypted with, before ServerSideEncryptionConfiguration was updated to a new KMS key ID."
        },
        "UpdateStatus": {
          "type": "string",
          "description": "Status of the server-side encryption update. During an update, if there is an issue with the domain's current or old KMS key ID, such as an inaccessible or disabled key, then the status is FAILED. In order to resolve this, the key needs to be made accessible, and then an UpdateDomain call with the existing server-side encryption configuration will re-attempt this update process."
        },
        "Message": {
          "type": "string",
          "description": "Message explaining the current UpdateStatus. When the UpdateStatus is FAILED, this message explains the cause of the failure."
        }
      }
    },
    "VoiceidDomainSummary": {
      "type": "object",
      "properties": {
        "DomainId": {
          "type": "string",
          "description": "The identifier of the domain."
        },
        "Arn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) for the domain."
        },
        "Name": {
          "type": "string",
          "description": "The client-provided name for the domain."
        },
        "Description": {
          "type": "string",
          "description": "The description of the domain."
        },
        "DomainStatus": {
          "type": "string",
          "description": "The current status of the domain."
        },
        "ServerSideEncryptionConfiguration": {
          "$ref": "#/$defs/ServerSideEncryptionConfiguration"
        },
        "CreatedAt": {
          "type": "string",
          "format": "date-time",
          "description": "The timestamp of when the domain was created."
        },
        "UpdatedAt": {
          "type": "string",
          "format": "date-time",
          "description": "The timestamp of when the domain was last updated."
        },
        "ServerSideEncryptionUpdateDetails": {
          "$ref": "#/$defs/ServerSideEncryptionUpdateDetails"
        },
        "WatchlistDetails": {
          "$ref": "#/$defs/WatchlistDetails"
        }
      }
    },
    "WatchlistDetails": {
      "type": "object",
      "properties": {
        "DefaultWatchlistId": {
          "type": "string",
          "description": "The identifier of the default watchlist."
        }
      },
      "required": [
        "DefaultWatchlistId"
      ]
    }
  }
}