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 |
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.
UpdateDomainNameservers' | |
|
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.
UpdateDomainNameserversResponse' | |
|
Instances
Eq UpdateDomainNameserversResponse Source # | |
Read UpdateDomainNameserversResponse Source # | |
Show UpdateDomainNameserversResponse Source # | |
Generic UpdateDomainNameserversResponse Source # | |
NFData UpdateDomainNameserversResponse Source # | |
Defined in Amazonka.Route53Domains.UpdateDomainNameservers rnf :: UpdateDomainNameserversResponse -> () # | |
type Rep UpdateDomainNameserversResponse Source # | |
Defined in Amazonka.Route53Domains.UpdateDomainNameservers type Rep UpdateDomainNameserversResponse = D1 ('MetaData "UpdateDomainNameserversResponse" "Amazonka.Route53Domains.UpdateDomainNameservers" "libZSservicesZSamazonka-route53-domainsZSamazonka-route53-domains" 'False) (C1 ('MetaCons "UpdateDomainNameserversResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "operationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) |
newUpdateDomainNameserversResponse Source #
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.