v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1426158150.9 KB

Gets information about a specified instance.

post/#X-Amz-Target=Route53AutoNaming_v20170314.GetInstance

Headers

X-Amz-Target'Route53AutoNaming_v20170314.GetInstance' required

Request body

ServiceIdstring required

The ID of the service that the instance is associated with.

InstanceIdstring required

The ID of the instance that you want to get information about.

Response

Success

Example response

{
  "Instance": {
    "Attributes": {
      "AWS_INSTANCE_IPV4": "192.0.2.44",
      "AWS_INSTANCE_PORT": "80",
      "color": "green",
      "region": "us-west-2",
      "stage": "beta"
    },
    "Id": "i-abcd1234"
  }
}