Amazon Cloud Map · Schema
DiscoverInstancesRequest
Amazon Web ServicesCloud MapService DiscoveryMicroservicesDNS
Properties
| Name | Type | Description |
|---|---|---|
| NamespaceName | string | The HttpName name of the namespace. The HttpName is found in the HttpProperties member of the Properties member of the namespace. In most cases, Name and HttpName match. However, if you reuse Name for |
| ServiceName | string | The name of the service that you specified when you registered the instance. |
| MaxResults | integer | The maximum number of instances that you want Cloud Map to return in the response to a DiscoverInstances request. If you don't specify a value for MaxResults, Cloud Map returns up to 100 instances. |
| QueryParameters | object | Filters to scope the results based on custom attributes for the instance (for example, {version=v1, az=1a}). Only instances that match all the specified key-value pairs are returned. |
| OptionalParameters | object | Opportunistic filters to scope the results based on custom attributes. If there are instances that match both the filters specified in both the QueryParameters parameter and this parameter, all of the |
| HealthStatus | string | The health status of the instances that you want to discover. This parameter is ignored for services that don't have a health check configured, and all instances are returned. HEALTHY Returns healthy |
| OwnerAccount | string | The ID of the Amazon Web Services account that owns the namespace associated with the instance, as specified in the namespace ResourceOwner field. For instances associated with namespaces that are sha |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/amazon-cloud-map/json-schema/amazon-cloud-map-discover-instances-request-schema.json",
"title": "DiscoverInstancesRequest",
"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/DiscoverInstancesRequest",
"type": "object",
"properties": {
"NamespaceName": {
"type": "string",
"description": "The HttpName name of the namespace. The HttpName is found in the HttpProperties member of the Properties member of the namespace. In most cases, Name and HttpName match. However, if you reuse Name for namespace creation, a generated hash is added to HttpName to distinguish the two."
},
"ServiceName": {
"type": "string",
"description": "The name of the service that you specified when you registered the instance."
},
"MaxResults": {
"type": "integer",
"description": "The maximum number of instances that you want Cloud Map to return in the response to a DiscoverInstances request. If you don't specify a value for MaxResults, Cloud Map returns up to 100 instances."
},
"QueryParameters": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "Filters to scope the results based on custom attributes for the instance (for example, {version=v1, az=1a}). Only instances that match all the specified key-value pairs are returned."
},
"OptionalParameters": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "Opportunistic filters to scope the results based on custom attributes. If there are instances that match both the filters specified in both the QueryParameters parameter and this parameter, all of these instances are returned. Otherwise, the filters are ignored, and only instances that match the filters that are specified in the QueryParameters parameter are returned."
},
"HealthStatus": {
"type": "string",
"enum": [
"HEALTHY",
"UNHEALTHY",
"ALL",
"HEALTHY_OR_ELSE_ALL"
],
"description": "The health status of the instances that you want to discover. This parameter is ignored for services that don't have a health check configured, and all instances are returned. HEALTHY Returns healthy instances. UNHEALTHY Returns unhealthy instances. ALL Returns all instances. HEALTHY_OR_ELSE_ALL Returns healthy instances, unless none are reporting a healthy state. In that case, return all instances. This is also called failing open."
},
"OwnerAccount": {
"type": "string",
"description": "The ID of the Amazon Web Services account that owns the namespace associated with the instance, as specified in the namespace ResourceOwner field. For instances associated with namespaces that are shared with your account, you must specify an OwnerAccount."
}
},
"required": [
"NamespaceName",
"ServiceName"
]
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/amazon-cloud-map-discover-instances-request"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.