amazonka-route53-domains-1.4.5: Amazon Route 53 Domains SDK.

Copyright(c) 2013-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.Route53Domains.UpdateDomainNameservers

Contents

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

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:

  • udnFIAuthKey - The authorization key for .fi domains
  • udnDomainName - 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 - A list of new name servers for the domain. Type: Complex Children: Name , GlueIps Required: Yes

data UpdateDomainNameservers Source #

The UpdateDomainNameserver request includes the following elements.

See: updateDomainNameservers smart constructor.

Instances

Eq UpdateDomainNameservers Source # 
Data UpdateDomainNameservers Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> UpdateDomainNameservers -> c UpdateDomainNameservers #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c UpdateDomainNameservers #

toConstr :: UpdateDomainNameservers -> Constr #

dataTypeOf :: UpdateDomainNameservers -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c UpdateDomainNameservers) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c UpdateDomainNameservers) #

gmapT :: (forall b. Data b => b -> b) -> UpdateDomainNameservers -> UpdateDomainNameservers #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> UpdateDomainNameservers -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> UpdateDomainNameservers -> r #

gmapQ :: (forall d. Data d => d -> u) -> UpdateDomainNameservers -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> UpdateDomainNameservers -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> UpdateDomainNameservers -> m UpdateDomainNameservers #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> UpdateDomainNameservers -> m UpdateDomainNameservers #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> UpdateDomainNameservers -> m UpdateDomainNameservers #

Read UpdateDomainNameservers Source # 
Show UpdateDomainNameservers Source # 
Generic UpdateDomainNameservers Source # 
Hashable UpdateDomainNameservers Source # 
ToJSON UpdateDomainNameservers Source # 
NFData UpdateDomainNameservers Source # 

Methods

rnf :: UpdateDomainNameservers -> () #

AWSRequest UpdateDomainNameservers Source # 
ToPath UpdateDomainNameservers Source # 
ToHeaders UpdateDomainNameservers Source # 
ToQuery UpdateDomainNameservers Source # 
type Rep UpdateDomainNameservers Source # 
type Rep UpdateDomainNameservers = D1 (MetaData "UpdateDomainNameservers" "Network.AWS.Route53Domains.UpdateDomainNameservers" "amazonka-route53-domains-1.4.5-4CnKMt89RB29537pw6MzaN" False) (C1 (MetaCons "UpdateDomainNameservers'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_udnFIAuthKey") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_udnDomainName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_udnNameservers") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 [Nameserver])))))
type Rs UpdateDomainNameservers Source # 

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:

  • udnrsResponseStatus - -- | The response status code.
  • udnrsOperationId - 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.

data UpdateDomainNameserversResponse Source #

The UpdateDomainNameservers response includes the following element.

See: updateDomainNameserversResponse smart constructor.

Instances

Eq UpdateDomainNameserversResponse Source # 
Data UpdateDomainNameserversResponse Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> UpdateDomainNameserversResponse -> c UpdateDomainNameserversResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c UpdateDomainNameserversResponse #

toConstr :: UpdateDomainNameserversResponse -> Constr #

dataTypeOf :: UpdateDomainNameserversResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c UpdateDomainNameserversResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c UpdateDomainNameserversResponse) #

gmapT :: (forall b. Data b => b -> b) -> UpdateDomainNameserversResponse -> UpdateDomainNameserversResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> UpdateDomainNameserversResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> UpdateDomainNameserversResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> UpdateDomainNameserversResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> UpdateDomainNameserversResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> UpdateDomainNameserversResponse -> m UpdateDomainNameserversResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> UpdateDomainNameserversResponse -> m UpdateDomainNameserversResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> UpdateDomainNameserversResponse -> m UpdateDomainNameserversResponse #

Read UpdateDomainNameserversResponse Source # 
Show UpdateDomainNameserversResponse Source # 
Generic UpdateDomainNameserversResponse Source # 
NFData UpdateDomainNameserversResponse Source # 
type Rep UpdateDomainNameserversResponse Source # 
type Rep UpdateDomainNameserversResponse = D1 (MetaData "UpdateDomainNameserversResponse" "Network.AWS.Route53Domains.UpdateDomainNameservers" "amazonka-route53-domains-1.4.5-4CnKMt89RB29537pw6MzaN" False) (C1 (MetaCons "UpdateDomainNameserversResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_udnrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int)) (S1 (MetaSel (Just Symbol "_udnrsOperationId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))

Response Lenses

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.