amazonka-route53-1.4.3: Amazon Route 53 SDK.

Copyright(c) 2013-2016 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 '/Route 53 API version/delegationset' resource. The request body must include a 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.

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:

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 # 
ToPath CreateReusableDelegationSet Source # 
ToHeaders CreateReusableDelegationSet Source # 
ToElement CreateReusableDelegationSet Source # 
ToXML CreateReusableDelegationSet Source # 
ToQuery CreateReusableDelegationSet Source # 
type Rep CreateReusableDelegationSet Source # 
type Rep CreateReusableDelegationSet = D1 (MetaData "CreateReusableDelegationSet" "Network.AWS.Route53.CreateReusableDelegationSet" "amazonka-route53-1.4.3-GVCZrM1VgYbI4WdWSABHKg" False) (C1 (MetaCons "CreateReusableDelegationSet'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_crdsHostedZoneId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_crdsCallerReference") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs CreateReusableDelegationSet Source # 

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:

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