AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

RenewDomainInput

import "github.com/aws/aws-sdk-go/service/route53domains"

type RenewDomainInput struct { CurrentExpiryYear *int64 `type:"integer" required:"true"` DomainName *string `type:"string" required:"true"` DurationInYears *int64 `min:"1" type:"integer"` }

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

CurrentExpiryYear

Type: *int64

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

CurrentExpiryYear is a required field

DomainName

Type: *string

The name of the domain that you want to renew.

DomainName is a required field

DurationInYears

Type: *int64

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 (https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/registrar-tld-list.html) in the Amazon Route 53 Developer Guide.

Default: 1

Method

GoString

func (s RenewDomainInput) GoString() string

GoString returns the string representation

SetCurrentExpiryYear

func (s *RenewDomainInput) SetCurrentExpiryYear(v int64) *RenewDomainInput

SetCurrentExpiryYear sets the CurrentExpiryYear field's value.

SetDomainName

func (s *RenewDomainInput) SetDomainName(v string) *RenewDomainInput

SetDomainName sets the DomainName field's value.

SetDurationInYears

func (s *RenewDomainInput) SetDurationInYears(v int64) *RenewDomainInput

SetDurationInYears sets the DurationInYears field's value.

String

func (s RenewDomainInput) String() string

String returns the string representation

Validate

func (s *RenewDomainInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

On this page: