amazonka-route53-1.6.0: Amazon Route 53 SDK.

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

Network.AWS.Route53.CreateReusableDelegationSet

Contents

Description

Creates a delegation set (a group of four name servers) that can be reused by multiple hosted zones. If a hosted zoned ID is specified, CreateReusableDelegationSet marks the delegation set associated with that zone as reusable.

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:

  • Create a reusable delegation set.
  • Recreate hosted zones, and reduce the TTL to 60 seconds or less.
  • Recreate resource record sets in the new hosted zones.
  • Change the registrar's name servers to use the name servers for the new hosted zones.
  • Monitor traffic for the website or application.
  • 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

createReusableDelegationSet Source #

Creates a value of CreateReusableDelegationSet with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • crdsHostedZoneId - If you want to mark the delegation set for an existing hosted zone as reusable, the ID for that hosted zone.
  • crdsCallerReference - 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.

data CreateReusableDelegationSet Source #

See: createReusableDelegationSet smart constructor.

Instances

Eq CreateReusableDelegationSet Source # 
Data CreateReusableDelegationSet Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> CreateReusableDelegationSet -> c CreateReusableDelegationSet #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c CreateReusableDelegationSet #

toConstr :: CreateReusableDelegationSet -> Constr #

dataTypeOf :: CreateReusableDelegationSet -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c CreateReusableDelegationSet) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c CreateReusableDelegationSet) #

gmapT :: (forall b. Data b => b -> b) -> CreateReusableDelegationSet -> CreateReusableDelegationSet #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> CreateReusableDelegationSet -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> CreateReusableDelegationSet -> r #

gmapQ :: (forall d. Data d => d -> u) -> CreateReusableDelegationSet -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> CreateReusableDelegationSet -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> CreateReusableDelegationSet -> m CreateReusableDelegationSet #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> CreateReusableDelegationSet -> m CreateReusableDelegationSet #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> CreateReusableDelegationSet -> m CreateReusableDelegationSet #

Read CreateReusableDelegationSet Source # 
Show CreateReusableDelegationSet Source # 
Generic CreateReusableDelegationSet Source # 
Hashable CreateReusableDelegationSet Source # 
NFData CreateReusableDelegationSet Source # 
AWSRequest CreateReusableDelegationSet Source # 
ToElement CreateReusableDelegationSet Source # 
ToXML CreateReusableDelegationSet Source # 
ToHeaders CreateReusableDelegationSet Source # 
ToPath CreateReusableDelegationSet Source # 
ToQuery CreateReusableDelegationSet Source # 
type Rep CreateReusableDelegationSet Source # 
type Rep CreateReusableDelegationSet = D1 * (MetaData "CreateReusableDelegationSet" "Network.AWS.Route53.CreateReusableDelegationSet" "amazonka-route53-1.6.0-Ak5sZypnFS3AFXHlAYIveI" False) (C1 * (MetaCons "CreateReusableDelegationSet'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_crdsHostedZoneId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe ResourceId))) (S1 * (MetaSel (Just Symbol "_crdsCallerReference") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text))))
type Rs CreateReusableDelegationSet Source # 

Request Lenses

crdsHostedZoneId :: 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.

crdsCallerReference :: 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

createReusableDelegationSetResponse Source #

Creates a value of CreateReusableDelegationSetResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data CreateReusableDelegationSetResponse Source #

See: createReusableDelegationSetResponse smart constructor.

Instances

Eq CreateReusableDelegationSetResponse Source # 
Data CreateReusableDelegationSetResponse Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> CreateReusableDelegationSetResponse -> c CreateReusableDelegationSetResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c CreateReusableDelegationSetResponse #

toConstr :: CreateReusableDelegationSetResponse -> Constr #

dataTypeOf :: CreateReusableDelegationSetResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c CreateReusableDelegationSetResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c CreateReusableDelegationSetResponse) #

gmapT :: (forall b. Data b => b -> b) -> CreateReusableDelegationSetResponse -> CreateReusableDelegationSetResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> CreateReusableDelegationSetResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> CreateReusableDelegationSetResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> CreateReusableDelegationSetResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> CreateReusableDelegationSetResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> CreateReusableDelegationSetResponse -> m CreateReusableDelegationSetResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> CreateReusableDelegationSetResponse -> m CreateReusableDelegationSetResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> CreateReusableDelegationSetResponse -> m CreateReusableDelegationSetResponse #

Read CreateReusableDelegationSetResponse Source # 
Show CreateReusableDelegationSetResponse Source # 
Generic CreateReusableDelegationSetResponse Source # 
NFData CreateReusableDelegationSetResponse Source # 
type Rep CreateReusableDelegationSetResponse Source # 
type Rep CreateReusableDelegationSetResponse = D1 * (MetaData "CreateReusableDelegationSetResponse" "Network.AWS.Route53.CreateReusableDelegationSet" "amazonka-route53-1.6.0-Ak5sZypnFS3AFXHlAYIveI" False) (C1 * (MetaCons "CreateReusableDelegationSetResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_crdsrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int)) ((:*:) * (S1 * (MetaSel (Just Symbol "_crdsrsDelegationSet") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * DelegationSet)) (S1 * (MetaSel (Just Symbol "_crdsrsLocation") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)))))

Response Lenses

crdsrsDelegationSet :: Lens' CreateReusableDelegationSetResponse DelegationSet Source #

A complex type that contains name server information.

crdsrsLocation :: Lens' CreateReusableDelegationSetResponse Text Source #

The unique URL representing the new reusable delegation set.