amazonka-route53-domains-1.4.4: 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.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 documentation.

Synopsis

Creating a Request

renewDomain Source #

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:

data RenewDomain Source #

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 Source # 
Data RenewDomain Source # 

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 Source # 
Show RenewDomain Source # 
Generic RenewDomain Source # 

Associated Types

type Rep RenewDomain :: * -> * #

Hashable RenewDomain Source # 
NFData RenewDomain Source # 

Methods

rnf :: RenewDomain -> () #

AWSRequest RenewDomain Source # 
ToPath RenewDomain Source # 
ToHeaders RenewDomain Source # 

Methods

toHeaders :: RenewDomain -> [Header] #

ToQuery RenewDomain Source # 
ToJSON RenewDomain Source # 

Methods

toJSON :: RenewDomain -> Value #

toEncoding :: RenewDomain -> Encoding #

type Rep RenewDomain Source # 
type Rep RenewDomain = D1 (MetaData "RenewDomain" "Network.AWS.Route53Domains.RenewDomain" "amazonka-route53-domains-1.4.4-7gX3OlThZKiIFGIY11fL8" 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 DecidedUnpack) (Rec0 Int)))))
type Rs RenewDomain Source # 

Request Lenses

rdDurationInYears :: Lens' RenewDomain (Maybe Natural) Source #

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 documentation.

Type: Integer

Default: 1

Valid values: Integer from 1 to 10

Required: No

rdDomainName :: Lens' RenewDomain Text Source #

Undocumented member.

rdCurrentExpiryYear :: Lens' RenewDomain Int Source #

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

Type: Integer

Default: None

Valid values: Integer

Required: Yes

Destructuring the Response

renewDomainResponse Source #

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:

data RenewDomainResponse Source #

See: renewDomainResponse smart constructor.

Instances

Eq RenewDomainResponse Source # 
Data RenewDomainResponse Source # 

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 Source # 
Show RenewDomainResponse Source # 
Generic RenewDomainResponse Source # 
NFData RenewDomainResponse Source # 

Methods

rnf :: RenewDomainResponse -> () #

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

Response Lenses