AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Container for the parameters to the RenewDomain operation. This operation renews a domain for the specified number of years. The cost of renewing your domain is billed to your Amazon Web Services 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.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.Route53Domains.AmazonRoute53DomainsRequest
      Amazon.Route53Domains.Model.RenewDomainRequest

Namespace: Amazon.Route53Domains.Model
Assembly: AWSSDK.Route53Domains.dll
Version: 3.x.y.z

Syntax

C#
public class RenewDomainRequest : AmazonRoute53DomainsRequest
         IAmazonWebServiceRequest

The RenewDomainRequest type exposes the following members

Constructors

NameDescription
Public Method RenewDomainRequest()

Properties

NameTypeDescription
Public Property CurrentExpiryYear System.Int32

Gets and sets the property CurrentExpiryYear.

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

Public Property DomainName System.String

Gets and sets the property DomainName.

The name of the domain that you want to renew.

Public Property DurationInYears System.Int32

Gets and sets the property 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

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5