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

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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-route53domains/lib/aws-sdk-route53domains/types.rb

Overview

Note:

When making an API call, you may pass RenewDomainRequest data as a 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)


1371
1372
1373
1374
1375
1376
# File 'gems/aws-sdk-route53domains/lib/aws-sdk-route53domains/types.rb', line 1371

class RenewDomainRequest < Struct.new(
  :domain_name,
  :duration_in_years,
  :current_expiry_year)
  include Aws::Structure
end

#domain_nameString

The name of the domain that you want to renew.

Returns:

  • (String)


1371
1372
1373
1374
1375
1376
# File 'gems/aws-sdk-route53domains/lib/aws-sdk-route53domains/types.rb', line 1371

class RenewDomainRequest < Struct.new(
  :domain_name,
  :duration_in_years,
  :current_expiry_year)
  include Aws::Structure
end

#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)


1371
1372
1373
1374
1375
1376
# File 'gems/aws-sdk-route53domains/lib/aws-sdk-route53domains/types.rb', line 1371

class RenewDomainRequest < Struct.new(
  :domain_name,
  :duration_in_years,
  :current_expiry_year)
  include Aws::Structure
end