Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Amazonka.Route53Domains.UpdateDomainNameservers
Description
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.
Synopsis
- data UpdateDomainNameservers = UpdateDomainNameservers' {
- fIAuthKey :: Maybe Text
- domainName :: Text
- nameservers :: [Nameserver]
- newUpdateDomainNameservers :: Text -> UpdateDomainNameservers
- updateDomainNameservers_fIAuthKey :: Lens' UpdateDomainNameservers (Maybe Text)
- updateDomainNameservers_domainName :: Lens' UpdateDomainNameservers Text
- updateDomainNameservers_nameservers :: Lens' UpdateDomainNameservers [Nameserver]
- data UpdateDomainNameserversResponse = UpdateDomainNameserversResponse' {
- httpStatus :: Int
- operationId :: Text
- newUpdateDomainNameserversResponse :: Int -> Text -> UpdateDomainNameserversResponse
- updateDomainNameserversResponse_httpStatus :: Lens' UpdateDomainNameserversResponse Int
- updateDomainNameserversResponse_operationId :: Lens' UpdateDomainNameserversResponse Text
Creating a Request
data UpdateDomainNameservers Source #
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: newUpdateDomainNameservers
smart constructor.
Constructors
UpdateDomainNameservers' | |
Fields
|
Instances
newUpdateDomainNameservers Source #
Create a value of UpdateDomainNameservers
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:fIAuthKey:UpdateDomainNameservers'
, updateDomainNameservers_fIAuthKey
- The authorization key for .fi domains
$sel:domainName:UpdateDomainNameservers'
, updateDomainNameservers_domainName
- The name of the domain that you want to change name servers for.
$sel:nameservers:UpdateDomainNameservers'
, updateDomainNameservers_nameservers
- A list of new name servers for the domain.
Request Lenses
updateDomainNameservers_fIAuthKey :: Lens' UpdateDomainNameservers (Maybe Text) Source #
The authorization key for .fi domains
updateDomainNameservers_domainName :: Lens' UpdateDomainNameservers Text Source #
The name of the domain that you want to change name servers for.
updateDomainNameservers_nameservers :: Lens' UpdateDomainNameservers [Nameserver] Source #
A list of new name servers for the domain.
Destructuring the Response
data UpdateDomainNameserversResponse Source #
The UpdateDomainNameservers response includes the following element.
See: newUpdateDomainNameserversResponse
smart constructor.
Constructors
UpdateDomainNameserversResponse' | |
Fields
|
Instances
newUpdateDomainNameserversResponse Source #
Arguments
:: Int | |
-> Text | |
-> UpdateDomainNameserversResponse |
Create a value of UpdateDomainNameserversResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:httpStatus:UpdateDomainNameserversResponse'
, updateDomainNameserversResponse_httpStatus
- The response's http status code.
$sel:operationId:UpdateDomainNameserversResponse'
, updateDomainNameserversResponse_operationId
- Identifier for tracking the progress of the request. To query the
operation status, use
GetOperationDetail.
Response Lenses
updateDomainNameserversResponse_httpStatus :: Lens' UpdateDomainNameserversResponse Int Source #
The response's http status code.
updateDomainNameserversResponse_operationId :: Lens' UpdateDomainNameserversResponse Text Source #
Identifier for tracking the progress of the request. To query the operation status, use GetOperationDetail.