v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1426158150.9 KB

Gets the settings for a specified service.

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

Headers

X-Amz-Target'Route53AutoNaming_v20170314.GetService' required

Request body

Idstring required

The ID of the service that you want to get settings for.

Response

Success

Example response

{
  "Service": {
    "Arn": "arn:aws:servicediscovery:us-west-2:123456789012:service/srv-e4anhexample0004",
    "CreateDate": "20181118T211707Z",
    "CreatorRequestId": "example-creator-request-id-0004",
    "Description": "Example.com AWS Cloud Map HTTP Service",
    "HealthCheckConfig": {
      "FailureThreshold": 3,
      "ResourcePath": "/",
      "Type": "HTTPS"
    },
    "Id": "srv-e4anhexample0004",
    "Name": "example-http-service",
    "NamespaceId": "ns-e4anhexample0004"
  }
}