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 operation replaces the current set of name servers for the domain with the specified set of name servers. If you use Amazon Route 53 as your DNS service, specify the four name servers in the delegation set for the hosted zone for the domain.
If successful, this operation returns an operation ID that you can use to track the progress and completion of the action. If the request is not completed successfully, the domain registrant will be notified by email.
See: AWS API Reference for UpdateDomainNameservers.
- updateDomainNameservers :: Text -> UpdateDomainNameservers
- data UpdateDomainNameservers
- udnFIAuthKey :: Lens' UpdateDomainNameservers (Maybe Text)
- udnDomainName :: Lens' UpdateDomainNameservers Text
- udnNameservers :: Lens' UpdateDomainNameservers [Nameserver]
- updateDomainNameserversResponse :: Int -> Text -> UpdateDomainNameserversResponse
- data UpdateDomainNameserversResponse
- udnrsStatus :: Lens' UpdateDomainNameserversResponse Int
- udnrsOperationId :: Lens' UpdateDomainNameserversResponse Text
Creating a Request
updateDomainNameservers Source
Creates a value of UpdateDomainNameservers
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data UpdateDomainNameservers Source
The UpdateDomainNameserver request includes the following elements.
See: updateDomainNameservers
smart constructor.
Request Lenses
udnFIAuthKey :: Lens' UpdateDomainNameservers (Maybe Text) Source
The authorization key for .fi domains
udnDomainName :: Lens' UpdateDomainNameservers Text Source
The name of a domain.
Type: String
Default: None
Constraints: The domain name can contain only the letters a through z, the numbers 0 through 9, and hyphen (-). Internationalized Domain Names are not supported.
Required: Yes
udnNameservers :: Lens' UpdateDomainNameservers [Nameserver] Source
A list of new name servers for the domain.
Type: Complex
Children: Name
, GlueIps
Required: Yes
Destructuring the Response
updateDomainNameserversResponse Source
Creates a value of UpdateDomainNameserversResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data UpdateDomainNameserversResponse Source
The UpdateDomainNameservers response includes the following element.
See: updateDomainNameserversResponse
smart constructor.
Response Lenses
udnrsStatus :: Lens' UpdateDomainNameserversResponse Int Source
The response status code.
udnrsOperationId :: Lens' UpdateDomainNameserversResponse Text Source
Identifier for tracking the progress of the request. To use this ID to query the operation status, use GetOperationDetail.
Type: String
Default: None
Constraints: Maximum 255 characters.