Select your cookie preferences

We use cookies and similar tools to enhance your experience, provide our services, deliver relevant advertising, and make improvements. Approved third parties also use these tools to help us deliver advertising and provide certain site features.

get_hosted_zone_count

get_hosted_zone_count()

Retrieves the number of hosted zones that are associated with the current Amazon Web Services account.

See also: AWS API Documentation

Request Syntax

response = client.get_hosted_zone_count()
Return type
dict
Returns
Response Syntax
{
    'HostedZoneCount': 123
}

Response Structure

  • (dict) --

    A complex type that contains the response to a GetHostedZoneCount request.

    • HostedZoneCount (integer) --

      The total number of public and private hosted zones that are associated with the current Amazon Web Services account.

Exceptions

  • Route53.Client.exceptions.InvalidInput