{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-migration-hub/json-schema/amazon-migration-hub-list-environments-response-schema.json",
  "title": "ListEnvironmentsResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-migration-hub-environments-api-openapi.yml#/components/schemas/ListEnvironmentsResponse",
  "type": "object",
  "properties": {
    "EnvironmentSummaryList": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/EnvironmentSummary"
      },
      "description": "The list of EnvironmentSummary objects."
    },
    "NextToken": {
      "type": "string",
      "description": "The token for the next page of results."
    }
  },
  "$defs": {
    "EnvironmentSummary": {
      "type": "object",
      "properties": {
        "Name": {
          "type": "string",
          "description": "The name of the environment."
        },
        "Arn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the environment."
        },
        "Description": {
          "type": "string",
          "description": "A description of the environment."
        },
        "EnvironmentId": {
          "type": "string",
          "description": "The unique identifier of the environment."
        },
        "NetworkFabricType": {
          "type": "string",
          "description": "The network fabric type of the environment."
        },
        "OwnerAccountId": {
          "type": "string",
          "description": "The Amazon Web Services account ID of the environment owner."
        },
        "TransitGatewayId": {
          "type": "string",
          "description": "The ID of the Transit Gateway set up by the environment."
        },
        "State": {
          "type": "string",
          "description": "The current state of the environment."
        },
        "Tags": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          },
          "description": "The tags assigned to the environment."
        },
        "Error": {
          "$ref": "#/$defs/ErrorResponse"
        },
        "LastUpdatedTime": {
          "type": "string",
          "format": "date-time",
          "description": "A timestamp that indicates when the environment was last updated."
        },
        "CreatedTime": {
          "type": "string",
          "format": "date-time",
          "description": "A timestamp that indicates when the environment is created."
        }
      }
    },
    "ErrorResponse": {
      "type": "object",
      "properties": {
        "Code": {
          "type": "string",
          "description": "The error code associated with the error."
        },
        "Message": {
          "type": "string",
          "description": "The message associated with the error."
        },
        "AccountId": {
          "type": "string",
          "description": "The Amazon Web Services account ID of the resource owner."
        },
        "ResourceIdentifier": {
          "type": "string",
          "description": "The ID of the resource."
        },
        "ResourceType": {
          "type": "string",
          "description": "The type of resource."
        },
        "AdditionalDetails": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          },
          "description": "Additional details about the error."
        }
      }
    }
  }
}