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