{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-cloud-map/json-schema/amazon-cloud-map-list-instances-request-schema.json",
  "title": "ListInstancesRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-cloud-map-instances-api-openapi.yml#/components/schemas/ListInstancesRequest",
  "type": "object",
  "properties": {
    "ServiceId": {
      "type": "string",
      "description": "The ID or Amazon Resource Name (ARN) of the service that you want to list instances for. For services created in a shared namespace, specify the service ARN. For more information about shared namespaces, see Cross-account Cloud Map namespace sharing in the Cloud Map Developer Guide."
    },
    "NextToken": {
      "type": "string",
      "description": "For the first ListInstances request, omit this value. If more than MaxResults instances match the specified criteria, you can submit another ListInstances request to get the next group of results. Specify the value of NextToken from the previous response in the next request."
    },
    "MaxResults": {
      "type": "integer",
      "description": "The maximum number of instances that you want Cloud Map to return in the response to a ListInstances request. If you don't specify a value for MaxResults, Cloud Map returns up to 100 instances."
    }
  },
  "required": [
    "ServiceId"
  ]
}