{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-systems-manager/json-schema/amazon-systems-manager-describe-instance-information-request-schema.json",
  "title": "DescribeInstanceInformationRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-systems-manager-managed-instances-api-openapi.yml#/components/schemas/DescribeInstanceInformationRequest",
  "type": "object",
  "properties": {
    "InstanceInformationFilterList": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/InstanceInformationFilter"
      },
      "description": "This is a legacy method. We recommend that you don't use this method. Instead, use the Filters data type. Filters enables you to return node information by filtering based on tags applied to managed nodes. Attempting to use InstanceInformationFilterList and Filters leads to an exception error."
    },
    "Filters": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/InstanceInformationStringFilter"
      },
      "description": "One or more filters. Use a filter to return a more specific list of managed nodes. You can filter based on tags applied to your managed nodes. Tag filters can't be combined with other filter types. Use this Filters data type instead of InstanceInformationFilterList, which is deprecated."
    },
    "MaxResults": {
      "type": "integer",
      "description": "The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results. The default value is 10 items."
    },
    "NextToken": {
      "type": "string",
      "description": "The token for the next set of items to return. (You received this token from a previous call.)"
    }
  },
  "$defs": {
    "InstanceInformationFilter": {
      "type": "object",
      "properties": {
        "key": {
          "type": "string",
          "enum": [
            "InstanceIds",
            "AgentVersion",
            "PingStatus",
            "PlatformTypes",
            "ActivationIds",
            "IamRole",
            "ResourceType",
            "AssociationStatus"
          ],
          "description": "The name of the filter."
        },
        "valueSet": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The filter values."
        }
      },
      "required": [
        "key",
        "valueSet"
      ]
    },
    "InstanceInformationStringFilter": {
      "type": "object",
      "properties": {
        "Key": {
          "type": "string",
          "description": "The filter key name to describe your managed nodes. Valid filter key values: ActivationIds | AgentVersion | AssociationStatus | IamRole | InstanceIds | PingStatus | PlatformTypes | ResourceType | SourceIds | SourceTypes | \"tag-key\" | \"tag:{keyname} Valid values for the AssociationStatus filter key: Success | Pending | Failed Valid values for the PingStatus filter key: Online | ConnectionLost | Inactive (deprecated) Valid values for the PlatformTypes filter key: Windows | Linux | MacOS Valid values for the ResourceType filter key: EC2Instance | ManagedInstance Valid values for the SourceType fi"
        },
        "Values": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The filter values."
        }
      },
      "required": [
        "Key",
        "Values"
      ]
    }
  }
}