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

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

Network.AWS.Route53Domains.RenewDomain

Contents

Description

This operation renews a domain for the specified number of years. The cost of renewing your domain is billed to your AWS account.

We recommend that you renew your domain several weeks before the expiration date. Some TLD registries delete domains before the expiration date if you haven't renewed far enough in advance. For more information about renewing domain registration, see Renewing Registration for a Domain in the Amazon Route 53 Developer Guide.

Synopsis

Creating a Request

renewDomain #

Creates a value of RenewDomain with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • rdDurationInYears - The number of years that you want to renew the domain for. The maximum number of years depends on the top-level domain. For the range of valid values for your domain, see Domains that You Can Register with Amazon Route 53 in the Amazon Route 53 Developer Guide . Default: 1
  • rdDomainName - The name of the domain that you want to renew.
  • rdCurrentExpiryYear - The year when the registration for the domain is set to expire. This value must match the current expiration date for the domain.

data RenewDomain #

A RenewDomain request includes the number of years that you want to renew for and the current expiration year.

See: renewDomain smart constructor.

Instances

Eq RenewDomain # 
Data RenewDomain # 

Methods

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

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

toConstr :: RenewDomain -> Constr #

dataTypeOf :: RenewDomain -> DataType #

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

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

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

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

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

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

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

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

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

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

Read RenewDomain # 
Show RenewDomain # 
Generic RenewDomain # 

Associated Types

type Rep RenewDomain :: * -> * #

Hashable RenewDomain # 
ToJSON RenewDomain # 
NFData RenewDomain # 

Methods

rnf :: RenewDomain -> () #

AWSRequest RenewDomain # 
ToHeaders RenewDomain # 

Methods

toHeaders :: RenewDomain -> [Header] #

ToPath RenewDomain # 
ToQuery RenewDomain # 
type Rep RenewDomain # 
type Rep RenewDomain = D1 * (MetaData "RenewDomain" "Network.AWS.Route53Domains.RenewDomain" "amazonka-route53-domains-1.6.0-B5QWq1ndTGTHKssuUP1blk" False) (C1 * (MetaCons "RenewDomain'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_rdDurationInYears") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Nat))) ((:*:) * (S1 * (MetaSel (Just Symbol "_rdDomainName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)) (S1 * (MetaSel (Just Symbol "_rdCurrentExpiryYear") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int)))))
type Rs RenewDomain # 

Request Lenses

rdDurationInYears :: Lens' RenewDomain (Maybe Natural) #

The number of years that you want to renew the domain for. The maximum number of years depends on the top-level domain. For the range of valid values for your domain, see Domains that You Can Register with Amazon Route 53 in the Amazon Route 53 Developer Guide . Default: 1

rdDomainName :: Lens' RenewDomain Text #

The name of the domain that you want to renew.

rdCurrentExpiryYear :: Lens' RenewDomain Int #

The year when the registration for the domain is set to expire. This value must match the current expiration date for the domain.

Destructuring the Response

renewDomainResponse #

Creates a value of RenewDomainResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • rrsResponseStatus - -- | The response status code.
  • rrsOperationId - The identifier for tracking the progress of the request. To use this ID to query the operation status, use GetOperationDetail .

data RenewDomainResponse #

See: renewDomainResponse smart constructor.

Instances

Eq RenewDomainResponse # 
Data RenewDomainResponse # 

Methods

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

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

toConstr :: RenewDomainResponse -> Constr #

dataTypeOf :: RenewDomainResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read RenewDomainResponse # 
Show RenewDomainResponse # 
Generic RenewDomainResponse # 
NFData RenewDomainResponse # 

Methods

rnf :: RenewDomainResponse -> () #

type Rep RenewDomainResponse # 
type Rep RenewDomainResponse = D1 * (MetaData "RenewDomainResponse" "Network.AWS.Route53Domains.RenewDomain" "amazonka-route53-domains-1.6.0-B5QWq1ndTGTHKssuUP1blk" False) (C1 * (MetaCons "RenewDomainResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_rrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int)) (S1 * (MetaSel (Just Symbol "_rrsOperationId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text))))

Response Lenses

rrsResponseStatus :: Lens' RenewDomainResponse Int #

  • - | The response status code.

rrsOperationId :: Lens' RenewDomainResponse Text #

The identifier for tracking the progress of the request. To use this ID to query the operation status, use GetOperationDetail .