amazonka-route53-1.3.3: Amazon Route 53 SDK.

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

Network.AWS.Route53.CreateReusableDelegationSet

Contents

Description

This action creates a reusable delegationSet.

To create a new reusable delegationSet, send a POST request to the '2013-04-01\/delegationset' resource. The request body must include an XML document with a CreateReusableDelegationSetRequest element. The response returns the CreateReusableDelegationSetResponse element that contains metadata about the delegationSet.

If the optional parameter HostedZoneId is specified, it marks the delegationSet associated with that particular hosted zone as reusable.

See: AWS API Reference for CreateReusableDelegationSet.

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:

Request Lenses

crdsHostedZoneId :: Lens' CreateReusableDelegationSet (Maybe Text) Source

The ID of the hosted zone whose delegation set you want to mark as reusable. It is an optional parameter.

crdsCallerReference :: Lens' CreateReusableDelegationSet Text Source

A unique string that identifies the request and that allows failed CreateReusableDelegationSet requests to be retried without the risk of executing the operation twice. You must use a unique CallerReference string every time you create a reusable delegation set. CallerReference can be any unique string; you might choose to use a string that identifies your project, such as DNSMigration_01.

Valid characters are any Unicode code points that are legal in an XML 1.0 document. The UTF-8 encoding of the value must be less than 128 bytes.

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:

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 reusbale delegation set.