This operation replaces the current set of name servers for the domain with the specified set of name servers
Source:R/route53domains_operations.R
route53domains_update_domain_nameservers.RdThis 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.
See https://www.paws-r-sdk.com/docs/route53domains_update_domain_nameservers/ for full documentation.