View a markdown version of this page

GetHealthCheckSource - Amazon Route 53

GetHealthCheckSource

Gets information about a specified health check source, including its status and the virtual private cloud (VPC), subnets, and security groups that it uses.

Request Syntax

GET /2013-04-01/healthchecksource/HealthCheckSourceId HTTP/1.1

URI Request Parameters

The request uses the following URI parameters.

HealthCheckSourceId

The ID of the health check source that you want to get information about.

Length Constraints: Minimum length of 1. Maximum length of 64.

Required: Yes

Request Body

The request does not have a request body.

Response Syntax

HTTP/1.1 200 <?xml version="1.0" encoding="UTF-8"?> <GetHealthCheckSourceResponse> <HealthCheckSource> <HealthCheckSourceConfig> <SubnetConfigurationList> <SubnetConfiguration> <AvailabilityZoneId>string</AvailabilityZoneId> <SecurityGroupIdList> <SecurityGroupId>string</SecurityGroupId> </SecurityGroupIdList> <SubnetId>string</SubnetId> </SubnetConfiguration> </SubnetConfigurationList> <VpcId>string</VpcId> </HealthCheckSourceConfig> <HealthCheckSourceId>string</HealthCheckSourceId> <HealthCheckSourceStatus>string</HealthCheckSourceStatus> <StatusReason>string</StatusReason> <StatusReasonCode>string</StatusReasonCode> </HealthCheckSource> </GetHealthCheckSourceResponse>

Response Elements

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in XML format by the service.

GetHealthCheckSourceResponse

Root level tag for the GetHealthCheckSourceResponse parameters.

Required: Yes

HealthCheckSource

A complex type that contains information about the specified health check source.

Type: HealthCheckSource object

Errors

For information about the errors that are common to all actions, see Common Error Types.

InvalidInput

The input is not valid.

message

HTTP Status Code: 400

NoSuchHealthCheckSource

No health check source exists with the specified ID. Verify that the ID is correct and that the health check source hasn't been deleted.

HTTP Status Code: 404

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: