ListHealthCheckSources
Retrieves a list of the health check sources that are associated with the current AWS account.
Results are paginated. To get more results, specify the NextToken value from the previous response for NextToken.
Request Syntax
GET /2013-04-01/healthchecksource?maxresults=MaxResults&nexttoken=NextToken HTTP/1.1
URI Request Parameters
The request uses the following URI parameters.
- maxresults
-
The maximum number of health check sources that you want
ListHealthCheckSourcesto return. Route 53 returns a maximum of 100 health check sources. If you specify a value greater than 100, Route 53 returns only the first 100. - nexttoken
-
The
NextTokenvalue from the previous response, if it included one. Specify it to get the next group of health check sources.Length Constraints: Maximum length of 64.
Request Body
The request does not have a request body.
Response Syntax
HTTP/1.1 200
<?xml version="1.0" encoding="UTF-8"?>
<ListHealthCheckSourcesResponse>
<HealthCheckSources>
<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>
</HealthCheckSources>
<NextToken>string</NextToken>
</ListHealthCheckSourcesResponse>
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.
- ListHealthCheckSourcesResponse
-
Root level tag for the ListHealthCheckSourcesResponse parameters.
Required: Yes
- HealthCheckSources
-
A complex type that contains one
HealthCheckSourceelement for each health check source that is associated with the current AWS account.Type: Array of HealthCheckSource objects
- NextToken
-
A pagination token. If there are more health check sources to list, specify this value for
NextTokenin the next request.Type: String
Length Constraints: Maximum length of 64.
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
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: