You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::Route53Domains::Types::RenewDomainRequest

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing RenewDomainRequest as input to an Aws::Client method, you can use a vanilla Hash:

{
  domain_name: "DomainName", # required
  duration_in_years: 1,
  current_expiry_year: 1, # required
}

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

Instance Attribute Summary collapse

Instance Attribute Details

#current_expiry_yearInteger

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

Returns:

  • (Integer)

    The year when the registration for the domain is set to expire.

#domain_nameString

The name of the domain that you want to renew.

Returns:

  • (String)

    The name of the domain that you want to renew.

#duration_in_yearsInteger

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

Returns:

  • (Integer)

    The number of years that you want to renew the domain for.