Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
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.
Synopsis
- data UpdateDomainNameservers = UpdateDomainNameservers' {
- fIAuthKey :: Maybe (Sensitive 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' {
- operationId :: Maybe Text
- httpStatus :: Int
- newUpdateDomainNameserversResponse :: Int -> UpdateDomainNameserversResponse
- updateDomainNameserversResponse_operationId :: Lens' UpdateDomainNameserversResponse (Maybe Text)
- updateDomainNameserversResponse_httpStatus :: Lens' UpdateDomainNameserversResponse Int
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
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
Generic UpdateDomainNameserversResponse Source # | |
Read UpdateDomainNameserversResponse Source # | |
Show UpdateDomainNameserversResponse Source # | |
NFData UpdateDomainNameserversResponse Source # | |
Defined in Amazonka.Route53Domains.UpdateDomainNameservers rnf :: UpdateDomainNameserversResponse -> () # | |
Eq UpdateDomainNameserversResponse Source # | |
type Rep UpdateDomainNameserversResponse Source # | |
Defined in Amazonka.Route53Domains.UpdateDomainNameservers type Rep UpdateDomainNameserversResponse = D1 ('MetaData "UpdateDomainNameserversResponse" "Amazonka.Route53Domains.UpdateDomainNameservers" "amazonka-route53-domains-2.0-6iruRSkjgLuDp958hFs0e" 'False) (C1 ('MetaCons "UpdateDomainNameserversResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "operationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
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:
UpdateDomainNameserversResponse
, updateDomainNameserversResponse_operationId
- Identifier for tracking the progress of the request. To query the
operation status, use
GetOperationDetail.
$sel:httpStatus:UpdateDomainNameserversResponse'
, updateDomainNameserversResponse_httpStatus
- The response's http status code.
Response Lenses
updateDomainNameserversResponse_operationId :: Lens' UpdateDomainNameserversResponse (Maybe Text) Source #
Identifier for tracking the progress of the request. To query the operation status, use GetOperationDetail.
updateDomainNameserversResponse_httpStatus :: Lens' UpdateDomainNameserversResponse Int Source #
The response's http status code.