Route53Domains / Client / renew_domain



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.

See also: AWS API Documentation

Request Syntax

response = client.renew_domain(
  • DomainName (string) –


    The name of the domain that you want to renew.

  • DurationInYears (integer) –

    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

  • CurrentExpiryYear (integer) –


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

Return type:



Response Syntax

    'OperationId': 'string'

Response Structure

  • (dict) –

    • OperationId (string) –

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


  • Route53Domains.Client.exceptions.InvalidInput

  • Route53Domains.Client.exceptions.UnsupportedTLD

  • Route53Domains.Client.exceptions.DuplicateRequest

  • Route53Domains.Client.exceptions.TLDRulesViolation

  • Route53Domains.Client.exceptions.OperationLimitExceeded