amazonka-route53-domains-1.6.1: 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 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:

  • 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 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 # 
Instance details

Defined in Network.AWS.Route53Domains.RenewDomain

Data RenewDomain Source # 
Instance details

Defined in Network.AWS.Route53Domains.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 Source # 
Instance details

Defined in Network.AWS.Route53Domains.RenewDomain

Show RenewDomain Source # 
Instance details

Defined in Network.AWS.Route53Domains.RenewDomain

Generic RenewDomain Source # 
Instance details

Defined in Network.AWS.Route53Domains.RenewDomain

Associated Types

type Rep RenewDomain :: Type -> Type #

Hashable RenewDomain Source # 
Instance details

Defined in Network.AWS.Route53Domains.RenewDomain

ToJSON RenewDomain Source # 
Instance details

Defined in Network.AWS.Route53Domains.RenewDomain

AWSRequest RenewDomain Source # 
Instance details

Defined in Network.AWS.Route53Domains.RenewDomain

Associated Types

type Rs RenewDomain :: Type #

ToHeaders RenewDomain Source # 
Instance details

Defined in Network.AWS.Route53Domains.RenewDomain

Methods

toHeaders :: RenewDomain -> [Header] #

ToPath RenewDomain Source # 
Instance details

Defined in Network.AWS.Route53Domains.RenewDomain

ToQuery RenewDomain Source # 
Instance details

Defined in Network.AWS.Route53Domains.RenewDomain

NFData RenewDomain Source # 
Instance details

Defined in Network.AWS.Route53Domains.RenewDomain

Methods

rnf :: RenewDomain -> () #

type Rep RenewDomain Source # 
Instance details

Defined in Network.AWS.Route53Domains.RenewDomain

type Rep RenewDomain = D1 (MetaData "RenewDomain" "Network.AWS.Route53Domains.RenewDomain" "amazonka-route53-domains-1.6.1-1AoNz7bHDzI3lZpMthxnFZ" False) (C1 (MetaCons "RenewDomain'" PrefixI True) (S1 (MetaSel (Just "_rdDurationInYears") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat)) :*: (S1 (MetaSel (Just "_rdDomainName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_rdCurrentExpiryYear") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))
type Rs RenewDomain Source # 
Instance details

Defined in Network.AWS.Route53Domains.RenewDomain

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 Developer Guide . Default: 1

rdDomainName :: Lens' RenewDomain Text Source #

The name of the domain that you want to renew.

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.

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:

  • 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 Source #

See: renewDomainResponse smart constructor.

Instances
Eq RenewDomainResponse Source # 
Instance details

Defined in Network.AWS.Route53Domains.RenewDomain

Data RenewDomainResponse Source # 
Instance details

Defined in Network.AWS.Route53Domains.RenewDomain

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 # 
Instance details

Defined in Network.AWS.Route53Domains.RenewDomain

Show RenewDomainResponse Source # 
Instance details

Defined in Network.AWS.Route53Domains.RenewDomain

Generic RenewDomainResponse Source # 
Instance details

Defined in Network.AWS.Route53Domains.RenewDomain

Associated Types

type Rep RenewDomainResponse :: Type -> Type #

NFData RenewDomainResponse Source # 
Instance details

Defined in Network.AWS.Route53Domains.RenewDomain

Methods

rnf :: RenewDomainResponse -> () #

type Rep RenewDomainResponse Source # 
Instance details

Defined in Network.AWS.Route53Domains.RenewDomain

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

Response Lenses

rrsResponseStatus :: Lens' RenewDomainResponse Int Source #

  • - | The response status code.

rrsOperationId :: Lens' RenewDomainResponse Text Source #

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