create_reusable_delegation_set
(**kwargs)¶Creates a delegation set (a group of four name servers) that can be reused by multiple hosted zones that were created by the same Amazon Web Services account.
You can also create a reusable delegation set that uses the four name servers that are associated with an existing hosted zone. Specify the hosted zone ID in the CreateReusableDelegationSet
request.
Note
You can't associate a reusable delegation set with a private hosted zone.
For information about using a reusable delegation set to configure white label name servers, see Configuring White Label Name Servers.
The process for migrating existing hosted zones to use a reusable delegation set is comparable to the process for configuring white label name servers. You need to perform the following steps:
If you want to migrate existing hosted zones to use a reusable delegation set, the existing hosted zones can't use any of the name servers that are assigned to the reusable delegation set. If one or more hosted zones do use one or more name servers that are assigned to the reusable delegation set, you can do one of the following:
See also: AWS API Documentation
Request Syntax
response = client.create_reusable_delegation_set(
CallerReference='string',
HostedZoneId='string'
)
[REQUIRED]
A unique string that identifies the request, and that allows you to retry failed CreateReusableDelegationSet
requests without the risk of executing the operation twice. You must use a unique CallerReference
string every time you submit a CreateReusableDelegationSet
request. CallerReference
can be any unique string, for example a date/time stamp.
dict
Response Syntax
{
'DelegationSet': {
'Id': 'string',
'CallerReference': 'string',
'NameServers': [
'string',
]
},
'Location': 'string'
}
Response Structure
(dict) --
DelegationSet (dict) --
A complex type that contains name server information.
Id (string) --
The ID that Amazon Route 53 assigns to a reusable delegation set.
CallerReference (string) --
The value that you specified for CallerReference
when you created the reusable delegation set.
NameServers (list) --
A complex type that contains a list of the authoritative name servers for a hosted zone or for a reusable delegation set.
Location (string) --
The unique URL representing the new reusable delegation set.
Exceptions
Route53.Client.exceptions.DelegationSetAlreadyCreated
Route53.Client.exceptions.LimitsExceeded
Route53.Client.exceptions.HostedZoneNotFound
Route53.Client.exceptions.InvalidArgument
Route53.Client.exceptions.InvalidInput
Route53.Client.exceptions.DelegationSetNotAvailable
Route53.Client.exceptions.DelegationSetAlreadyReusable