{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-lex/json-schema/amazon-lex-get-migrations-request-schema.json",
  "title": "GetMigrationsRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-lex-migrations-api-openapi.yml#/components/schemas/GetMigrationsRequest",
  "type": "object",
  "properties": {
    "sortByAttribute": {
      "type": "string",
      "enum": [
        "V1_BOT_NAME",
        "MIGRATION_DATE_TIME"
      ],
      "description": "The field to sort the list of migrations by. You can sort by the Amazon Lex V1 bot name or the date and time that the migration was started."
    },
    "sortByOrder": {
      "type": "string",
      "enum": [
        "ASCENDING",
        "DESCENDING"
      ],
      "description": "The order so sort the list."
    },
    "v1BotNameContains": {
      "type": "string",
      "description": "Filters the list to contain only bots whose name contains the specified string. The string is matched anywhere in bot name."
    },
    "migrationStatusEquals": {
      "type": "string",
      "enum": [
        "IN_PROGRESS",
        "COMPLETED",
        "FAILED"
      ],
      "description": "Filters the list to contain only migrations in the specified state."
    },
    "maxResults": {
      "type": "integer",
      "description": "The maximum number of migrations to return in the response. The default is 10."
    },
    "nextToken": {
      "type": "string",
      "description": "A pagination token that fetches the next page of migrations. If the response to this operation is truncated, Amazon Lex returns a pagination token in the response. To fetch the next page of migrations, specify the pagination token in the request."
    }
  }
}