{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-migration-hub/json-schema/amazon-migration-hub-get-environment-response-schema.json",
  "title": "GetEnvironmentResponse",
  "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/GetEnvironmentResponse",
  "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": "The 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, if applicable."
    },
    "State": {
      "type": "string",
      "description": "The current state of the environment."
    },
    "Tags": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      },
      "description": "The tags to assign to the environment. A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key-value pair."
    },
    "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."
    }
  },
  "$defs": {
    "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."
        }
      }
    }
  }
}