Copyright | (c) 2013-2015 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 |
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.
- createReusableDelegationSet :: Text -> CreateReusableDelegationSet
- data CreateReusableDelegationSet
- crdsHostedZoneId :: Lens' CreateReusableDelegationSet (Maybe Text)
- crdsCallerReference :: Lens' CreateReusableDelegationSet Text
- createReusableDelegationSetResponse :: Int -> DelegationSet -> Text -> CreateReusableDelegationSetResponse
- data CreateReusableDelegationSetResponse
- crdsrsStatus :: Lens' CreateReusableDelegationSetResponse Int
- crdsrsDelegationSet :: Lens' CreateReusableDelegationSetResponse DelegationSet
- crdsrsLocation :: Lens' CreateReusableDelegationSetResponse Text
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.
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.
Response Lenses
crdsrsStatus :: 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 reusbale delegation set.