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

Amazonka.Route53Domains.RenewDomain

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

data RenewDomain Source #

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

See: newRenewDomain smart constructor.

Constructors

RenewDomain' 

Fields

Instances

Instances details
Eq RenewDomain Source # 
Instance details

Defined in Amazonka.Route53Domains.RenewDomain

Read RenewDomain Source # 
Instance details

Defined in Amazonka.Route53Domains.RenewDomain

Show RenewDomain Source # 
Instance details

Defined in Amazonka.Route53Domains.RenewDomain

Generic RenewDomain Source # 
Instance details

Defined in Amazonka.Route53Domains.RenewDomain

Associated Types

type Rep RenewDomain :: Type -> Type #

NFData RenewDomain Source # 
Instance details

Defined in Amazonka.Route53Domains.RenewDomain

Methods

rnf :: RenewDomain -> () #

Hashable RenewDomain Source # 
Instance details

Defined in Amazonka.Route53Domains.RenewDomain

ToJSON RenewDomain Source # 
Instance details

Defined in Amazonka.Route53Domains.RenewDomain

AWSRequest RenewDomain Source # 
Instance details

Defined in Amazonka.Route53Domains.RenewDomain

Associated Types

type AWSResponse RenewDomain #

ToHeaders RenewDomain Source # 
Instance details

Defined in Amazonka.Route53Domains.RenewDomain

Methods

toHeaders :: RenewDomain -> [Header] #

ToPath RenewDomain Source # 
Instance details

Defined in Amazonka.Route53Domains.RenewDomain

ToQuery RenewDomain Source # 
Instance details

Defined in Amazonka.Route53Domains.RenewDomain

type Rep RenewDomain Source # 
Instance details

Defined in Amazonka.Route53Domains.RenewDomain

type Rep RenewDomain = D1 ('MetaData "RenewDomain" "Amazonka.Route53Domains.RenewDomain" "libZSservicesZSamazonka-route53-domainsZSamazonka-route53-domains" 'False) (C1 ('MetaCons "RenewDomain'" 'PrefixI 'True) (S1 ('MetaSel ('Just "durationInYears") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: (S1 ('MetaSel ('Just "domainName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "currentExpiryYear") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))
type AWSResponse RenewDomain Source # 
Instance details

Defined in Amazonka.Route53Domains.RenewDomain

newRenewDomain Source #

Create a value of RenewDomain with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:durationInYears:RenewDomain', renewDomain_durationInYears - 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

$sel:domainName:RenewDomain', renewDomain_domainName - The name of the domain that you want to renew.

$sel:currentExpiryYear:RenewDomain', renewDomain_currentExpiryYear - The year when the registration for the domain is set to expire. This value must match the current expiration date for the domain.

Request Lenses

renewDomain_durationInYears :: 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

renewDomain_domainName :: Lens' RenewDomain Text Source #

The name of the domain that you want to renew.

renewDomain_currentExpiryYear :: 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

data RenewDomainResponse Source #

See: newRenewDomainResponse smart constructor.

Constructors

RenewDomainResponse' 

Fields

Instances

Instances details
Eq RenewDomainResponse Source # 
Instance details

Defined in Amazonka.Route53Domains.RenewDomain

Read RenewDomainResponse Source # 
Instance details

Defined in Amazonka.Route53Domains.RenewDomain

Show RenewDomainResponse Source # 
Instance details

Defined in Amazonka.Route53Domains.RenewDomain

Generic RenewDomainResponse Source # 
Instance details

Defined in Amazonka.Route53Domains.RenewDomain

Associated Types

type Rep RenewDomainResponse :: Type -> Type #

NFData RenewDomainResponse Source # 
Instance details

Defined in Amazonka.Route53Domains.RenewDomain

Methods

rnf :: RenewDomainResponse -> () #

type Rep RenewDomainResponse Source # 
Instance details

Defined in Amazonka.Route53Domains.RenewDomain

type Rep RenewDomainResponse = D1 ('MetaData "RenewDomainResponse" "Amazonka.Route53Domains.RenewDomain" "libZSservicesZSamazonka-route53-domainsZSamazonka-route53-domains" 'False) (C1 ('MetaCons "RenewDomainResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "operationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newRenewDomainResponse Source #

Create a value of RenewDomainResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:httpStatus:RenewDomainResponse', renewDomainResponse_httpStatus - The response's http status code.

$sel:operationId:RenewDomainResponse', renewDomainResponse_operationId - Identifier for tracking the progress of the request. To query the operation status, use GetOperationDetail.

Response Lenses

renewDomainResponse_operationId :: Lens' RenewDomainResponse Text Source #

Identifier for tracking the progress of the request. To query the operation status, use GetOperationDetail.