| Copyright | (c) 2013-2016 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.AWS.Route53.CreateReusableDelegationSet
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
Send a POST request to the 2013-04-01delegationset resource. The request body must include a document with a CreateReusableDelegationSetRequest element.
For more information, including a procedure on how to create and configure a reusable delegation set (also known as white label name servers), see Configuring White Label Name Servers .
- createReusableDelegationSet :: Text -> CreateReusableDelegationSet
- data CreateReusableDelegationSet
- crdsHostedZoneId :: Lens' CreateReusableDelegationSet (Maybe ResourceId)
- crdsCallerReference :: Lens' CreateReusableDelegationSet Text
- createReusableDelegationSetResponse :: Int -> DelegationSet -> Text -> CreateReusableDelegationSetResponse
- data CreateReusableDelegationSetResponse
- crdsrsResponseStatus :: Lens' CreateReusableDelegationSetResponse Int
- crdsrsDelegationSet :: Lens' CreateReusableDelegationSetResponse DelegationSet
- crdsrsLocation :: Lens' CreateReusableDelegationSetResponse Text
Creating a Request
createReusableDelegationSet Source #
Arguments
| :: Text | |
| -> CreateReusableDelegationSet |
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 failedCreateReusableDelegationSetrequests without the risk of executing the operation twice. You must use a uniqueCallerReferencestring every time you submit aCreateReusableDelegationSetrequest.CallerReferencecan be any unique string, for example a date/time stamp.
data CreateReusableDelegationSet Source #
See: createReusableDelegationSet smart constructor.
Instances
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 #
Arguments
| :: Int | |
| -> DelegationSet | |
| -> Text | |
| -> CreateReusableDelegationSetResponse |
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:
crdsrsResponseStatus- -- | The response status code.crdsrsDelegationSet- A complex type that contains name server information.crdsrsLocation- The unique URL representing the new reusable delegation set.
data CreateReusableDelegationSetResponse Source #
See: createReusableDelegationSetResponse smart constructor.
Instances
Response Lenses
crdsrsResponseStatus :: Lens' CreateReusableDelegationSetResponse Int Source #
- - | The response status code.
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.