DiscoverInstancesRequest is a JSON Structure definition published by Amazon Cloud Map, describing 4 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.
{
"$schema": "https://json-structure.org/meta/core/v0/#",
"$id": "https://raw.githubusercontent.com/api-evangelist/amazon-cloud-map/refs/heads/main/json-structure/cloud-map-discover-instances-request-structure.json",
"name": "DiscoverInstancesRequest",
"description": "Request body for discovering instances.",
"type": "object",
"properties": {
"NamespaceName": {
"type": "string",
"description": "The HttpName name of the namespace.",
"example": "production.internal"
},
"ServiceName": {
"type": "string",
"description": "The name of the service that you specified when you registered the instance.",
"example": "payment-service"
},
"MaxResults": {
"type": "int32",
"description": "The maximum number of instances that you want Cloud Map to return."
},
"HealthStatus": {
"type": "string",
"enum": [
"HEALTHY",
"UNHEALTHY",
"ALL",
"HEALTHY_OR_ELSE_ALL"
],
"description": "The health status of the instances that you want to discover."
}
}
}
Discovery needs no key. Ratings and market analysis are Pro.
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.