get_hosted_zone_limit
(**kwargs)¶Gets the specified limit for a specified hosted zone, for example, the maximum number of records that you can create in the hosted zone.
For the default limit, see Limits in the Amazon Route 53 Developer Guide . To request a higher limit, open a case.
See also: AWS API Documentation
Request Syntax
response = client.get_hosted_zone_limit(
Type='MAX_RRSETS_BY_ZONE'|'MAX_VPCS_ASSOCIATED_BY_ZONE',
HostedZoneId='string'
)
[REQUIRED]
The limit that you want to get. Valid values include the following:
[REQUIRED]
The ID of the hosted zone that you want to get a limit for.
dict
Response Syntax
{
'Limit': {
'Type': 'MAX_RRSETS_BY_ZONE'|'MAX_VPCS_ASSOCIATED_BY_ZONE',
'Value': 123
},
'Count': 123
}
Response Structure
(dict) --
A complex type that contains the requested limit.
Limit (dict) --
The current setting for the specified limit. For example, if you specified MAX_RRSETS_BY_ZONE
for the value of Type
in the request, the value of Limit
is the maximum number of records that you can create in the specified hosted zone.
Type (string) --
The limit that you requested. Valid values include the following:
Value (integer) --
The current value for the limit that is specified by Type
.
Count (integer) --
The current number of entities that you have created of the specified type. For example, if you specified MAX_RRSETS_BY_ZONE
for the value of Type
in the request, the value of Count
is the current number of records that you have created in the specified hosted zone.
Exceptions
Route53.Client.exceptions.NoSuchHostedZone
Route53.Client.exceptions.InvalidInput
Route53.Client.exceptions.HostedZoneNotPrivate