libZSservicesZSamazonka-route53ZSamazonka-route53
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.Route53.CreateReusableDelegationSet

Description

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.

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:

  1. Create a reusable delegation set.
  2. Recreate hosted zones, and reduce the TTL to 60 seconds or less.
  3. Recreate resource record sets in the new hosted zones.
  4. Change the registrar's name servers to use the name servers for the new hosted zones.
  5. Monitor traffic for the website or application.
  6. Change TTLs back to their original values.

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:

  • For small numbers of hosted zones—up to a few hundred—it's relatively easy to create reusable delegation sets until you get one that has four name servers that don't overlap with any of the name servers in your hosted zones.
  • For larger numbers of hosted zones, the easiest solution is to use more than one reusable delegation set.
  • For larger numbers of hosted zones, you can also migrate hosted zones that have overlapping name servers to hosted zones that don't have overlapping name servers, then migrate the hosted zones again to use the reusable delegation set.
Synopsis

Creating a Request

data CreateReusableDelegationSet Source #

See: newCreateReusableDelegationSet smart constructor.

Constructors

CreateReusableDelegationSet' 

Fields

  • hostedZoneId :: Maybe ResourceId

    If you want to mark the delegation set for an existing hosted zone as reusable, the ID for that hosted zone.

  • callerReference :: Text

    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.

Instances

Instances details
Eq CreateReusableDelegationSet Source # 
Instance details

Defined in Amazonka.Route53.CreateReusableDelegationSet

Read CreateReusableDelegationSet Source # 
Instance details

Defined in Amazonka.Route53.CreateReusableDelegationSet

Show CreateReusableDelegationSet Source # 
Instance details

Defined in Amazonka.Route53.CreateReusableDelegationSet

Generic CreateReusableDelegationSet Source # 
Instance details

Defined in Amazonka.Route53.CreateReusableDelegationSet

Associated Types

type Rep CreateReusableDelegationSet :: Type -> Type #

NFData CreateReusableDelegationSet Source # 
Instance details

Defined in Amazonka.Route53.CreateReusableDelegationSet

Hashable CreateReusableDelegationSet Source # 
Instance details

Defined in Amazonka.Route53.CreateReusableDelegationSet

AWSRequest CreateReusableDelegationSet Source # 
Instance details

Defined in Amazonka.Route53.CreateReusableDelegationSet

ToHeaders CreateReusableDelegationSet Source # 
Instance details

Defined in Amazonka.Route53.CreateReusableDelegationSet

ToPath CreateReusableDelegationSet Source # 
Instance details

Defined in Amazonka.Route53.CreateReusableDelegationSet

ToQuery CreateReusableDelegationSet Source # 
Instance details

Defined in Amazonka.Route53.CreateReusableDelegationSet

ToElement CreateReusableDelegationSet Source # 
Instance details

Defined in Amazonka.Route53.CreateReusableDelegationSet

ToXML CreateReusableDelegationSet Source # 
Instance details

Defined in Amazonka.Route53.CreateReusableDelegationSet

type Rep CreateReusableDelegationSet Source # 
Instance details

Defined in Amazonka.Route53.CreateReusableDelegationSet

type Rep CreateReusableDelegationSet = D1 ('MetaData "CreateReusableDelegationSet" "Amazonka.Route53.CreateReusableDelegationSet" "libZSservicesZSamazonka-route53ZSamazonka-route53" 'False) (C1 ('MetaCons "CreateReusableDelegationSet'" 'PrefixI 'True) (S1 ('MetaSel ('Just "hostedZoneId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ResourceId)) :*: S1 ('MetaSel ('Just "callerReference") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse CreateReusableDelegationSet Source # 
Instance details

Defined in Amazonka.Route53.CreateReusableDelegationSet

newCreateReusableDelegationSet Source #

Create a value of CreateReusableDelegationSet with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:hostedZoneId:CreateReusableDelegationSet', createReusableDelegationSet_hostedZoneId - If you want to mark the delegation set for an existing hosted zone as reusable, the ID for that hosted zone.

$sel:callerReference:CreateReusableDelegationSet', createReusableDelegationSet_callerReference - 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.

Request Lenses

createReusableDelegationSet_hostedZoneId :: Lens' CreateReusableDelegationSet (Maybe ResourceId) Source #

If you want to mark the delegation set for an existing hosted zone as reusable, the ID for that hosted zone.

createReusableDelegationSet_callerReference :: Lens' CreateReusableDelegationSet Text Source #

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.

Destructuring the Response

data CreateReusableDelegationSetResponse Source #

Constructors

CreateReusableDelegationSetResponse' 

Fields

Instances

Instances details
Eq CreateReusableDelegationSetResponse Source # 
Instance details

Defined in Amazonka.Route53.CreateReusableDelegationSet

Read CreateReusableDelegationSetResponse Source # 
Instance details

Defined in Amazonka.Route53.CreateReusableDelegationSet

Show CreateReusableDelegationSetResponse Source # 
Instance details

Defined in Amazonka.Route53.CreateReusableDelegationSet

Generic CreateReusableDelegationSetResponse Source # 
Instance details

Defined in Amazonka.Route53.CreateReusableDelegationSet

NFData CreateReusableDelegationSetResponse Source # 
Instance details

Defined in Amazonka.Route53.CreateReusableDelegationSet

type Rep CreateReusableDelegationSetResponse Source # 
Instance details

Defined in Amazonka.Route53.CreateReusableDelegationSet

type Rep CreateReusableDelegationSetResponse = D1 ('MetaData "CreateReusableDelegationSetResponse" "Amazonka.Route53.CreateReusableDelegationSet" "libZSservicesZSamazonka-route53ZSamazonka-route53" 'False) (C1 ('MetaCons "CreateReusableDelegationSetResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: (S1 ('MetaSel ('Just "delegationSet") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 DelegationSet) :*: S1 ('MetaSel ('Just "location") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

Response Lenses

createReusableDelegationSetResponse_location :: Lens' CreateReusableDelegationSetResponse Text Source #

The unique URL representing the new reusable delegation set.