Documentation ¶
Overview ¶
Package route53domains provides the client and types for making API requests to Amazon Route 53 Domains.
Amazon Route 53 API actions let you register domain names and perform related operations.
See https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15 for more information on this service.
See route53domains package documentation for more information. https://docs.aws.amazon.com/sdk-for-go/api/service/route53domains/
Using the Client ¶
To use Amazon Route 53 Domains with the SDK use the New function to create a new service client. With that client you can make API requests to the service. These clients are safe to use concurrently.
See the SDK's documentation for more information on how to use the SDK. https://docs.aws.amazon.com/sdk-for-go/api/
See aws.Config documentation for more information on configuring SDK clients. https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config
See the Amazon Route 53 Domains client for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/route53domains/#New
Index ¶
- Constants
- type AcceptDomainTransferFromAnotherAwsAccountInput
- type AcceptDomainTransferFromAnotherAwsAccountOutput
- type AcceptDomainTransferFromAnotherAwsAccountRequest
- type AcceptDomainTransferFromAnotherAwsAccountResponse
- type BillingRecord
- type CancelDomainTransferToAnotherAwsAccountInput
- type CancelDomainTransferToAnotherAwsAccountOutput
- type CancelDomainTransferToAnotherAwsAccountRequest
- type CancelDomainTransferToAnotherAwsAccountResponse
- type CheckDomainAvailabilityInput
- type CheckDomainAvailabilityOutput
- type CheckDomainAvailabilityRequest
- type CheckDomainAvailabilityResponse
- type CheckDomainTransferabilityInput
- type CheckDomainTransferabilityOutput
- type CheckDomainTransferabilityRequest
- type CheckDomainTransferabilityResponse
- type Client
- func (c *Client) AcceptDomainTransferFromAnotherAwsAccountRequest(input *AcceptDomainTransferFromAnotherAwsAccountInput) AcceptDomainTransferFromAnotherAwsAccountRequest
- func (c *Client) CancelDomainTransferToAnotherAwsAccountRequest(input *CancelDomainTransferToAnotherAwsAccountInput) CancelDomainTransferToAnotherAwsAccountRequest
- func (c *Client) CheckDomainAvailabilityRequest(input *CheckDomainAvailabilityInput) CheckDomainAvailabilityRequest
- func (c *Client) CheckDomainTransferabilityRequest(input *CheckDomainTransferabilityInput) CheckDomainTransferabilityRequest
- func (c *Client) DeleteTagsForDomainRequest(input *DeleteTagsForDomainInput) DeleteTagsForDomainRequest
- func (c *Client) DisableDomainAutoRenewRequest(input *DisableDomainAutoRenewInput) DisableDomainAutoRenewRequest
- func (c *Client) DisableDomainTransferLockRequest(input *DisableDomainTransferLockInput) DisableDomainTransferLockRequest
- func (c *Client) EnableDomainAutoRenewRequest(input *EnableDomainAutoRenewInput) EnableDomainAutoRenewRequest
- func (c *Client) EnableDomainTransferLockRequest(input *EnableDomainTransferLockInput) EnableDomainTransferLockRequest
- func (c *Client) GetContactReachabilityStatusRequest(input *GetContactReachabilityStatusInput) GetContactReachabilityStatusRequest
- func (c *Client) GetDomainDetailRequest(input *GetDomainDetailInput) GetDomainDetailRequest
- func (c *Client) GetDomainSuggestionsRequest(input *GetDomainSuggestionsInput) GetDomainSuggestionsRequest
- func (c *Client) GetOperationDetailRequest(input *GetOperationDetailInput) GetOperationDetailRequest
- func (c *Client) ListDomainsRequest(input *ListDomainsInput) ListDomainsRequest
- func (c *Client) ListOperationsRequest(input *ListOperationsInput) ListOperationsRequest
- func (c *Client) ListTagsForDomainRequest(input *ListTagsForDomainInput) ListTagsForDomainRequest
- func (c *Client) RegisterDomainRequest(input *RegisterDomainInput) RegisterDomainRequest
- func (c *Client) RejectDomainTransferFromAnotherAwsAccountRequest(input *RejectDomainTransferFromAnotherAwsAccountInput) RejectDomainTransferFromAnotherAwsAccountRequest
- func (c *Client) RenewDomainRequest(input *RenewDomainInput) RenewDomainRequest
- func (c *Client) ResendContactReachabilityEmailRequest(input *ResendContactReachabilityEmailInput) ResendContactReachabilityEmailRequest
- func (c *Client) RetrieveDomainAuthCodeRequest(input *RetrieveDomainAuthCodeInput) RetrieveDomainAuthCodeRequest
- func (c *Client) TransferDomainRequest(input *TransferDomainInput) TransferDomainRequest
- func (c *Client) TransferDomainToAnotherAwsAccountRequest(input *TransferDomainToAnotherAwsAccountInput) TransferDomainToAnotherAwsAccountRequest
- func (c *Client) UpdateDomainContactPrivacyRequest(input *UpdateDomainContactPrivacyInput) UpdateDomainContactPrivacyRequest
- func (c *Client) UpdateDomainContactRequest(input *UpdateDomainContactInput) UpdateDomainContactRequest
- func (c *Client) UpdateDomainNameserversRequest(input *UpdateDomainNameserversInput) UpdateDomainNameserversRequest
- func (c *Client) UpdateTagsForDomainRequest(input *UpdateTagsForDomainInput) UpdateTagsForDomainRequest
- func (c *Client) ViewBillingRequest(input *ViewBillingInput) ViewBillingRequest
- type ContactDetail
- type ContactType
- type CountryCode
- type DeleteTagsForDomainInput
- type DeleteTagsForDomainOutput
- type DeleteTagsForDomainRequest
- type DeleteTagsForDomainResponse
- type DisableDomainAutoRenewInput
- type DisableDomainAutoRenewOutput
- type DisableDomainAutoRenewRequest
- type DisableDomainAutoRenewResponse
- type DisableDomainTransferLockInput
- type DisableDomainTransferLockOutput
- type DisableDomainTransferLockRequest
- type DisableDomainTransferLockResponse
- type DomainAvailability
- type DomainSuggestion
- type DomainSummary
- type DomainTransferability
- type EnableDomainAutoRenewInput
- type EnableDomainAutoRenewOutput
- type EnableDomainAutoRenewRequest
- type EnableDomainAutoRenewResponse
- type EnableDomainTransferLockInput
- type EnableDomainTransferLockOutput
- type EnableDomainTransferLockRequest
- type EnableDomainTransferLockResponse
- type ExtraParam
- type ExtraParamName
- type GetContactReachabilityStatusInput
- type GetContactReachabilityStatusOutput
- type GetContactReachabilityStatusRequest
- type GetContactReachabilityStatusResponse
- type GetDomainDetailInput
- type GetDomainDetailOutput
- type GetDomainDetailRequest
- type GetDomainDetailResponse
- type GetDomainSuggestionsInput
- type GetDomainSuggestionsOutput
- type GetDomainSuggestionsRequest
- type GetDomainSuggestionsResponse
- type GetOperationDetailInput
- type GetOperationDetailOutput
- type GetOperationDetailRequest
- type GetOperationDetailResponse
- type ListDomainsInput
- type ListDomainsOutput
- type ListDomainsPaginator
- type ListDomainsRequest
- type ListDomainsResponse
- type ListOperationsInput
- type ListOperationsOutput
- type ListOperationsPaginator
- type ListOperationsRequest
- type ListOperationsResponse
- type ListTagsForDomainInput
- type ListTagsForDomainOutput
- type ListTagsForDomainRequest
- type ListTagsForDomainResponse
- type Nameserver
- type OperationStatus
- type OperationSummary
- type OperationType
- type ReachabilityStatus
- type RegisterDomainInput
- type RegisterDomainOutput
- type RegisterDomainRequest
- type RegisterDomainResponse
- type RejectDomainTransferFromAnotherAwsAccountInput
- type RejectDomainTransferFromAnotherAwsAccountOutput
- type RejectDomainTransferFromAnotherAwsAccountRequest
- type RejectDomainTransferFromAnotherAwsAccountResponse
- type RenewDomainInput
- type RenewDomainOutput
- type RenewDomainRequest
- type RenewDomainResponse
- type ResendContactReachabilityEmailInput
- type ResendContactReachabilityEmailOutput
- type ResendContactReachabilityEmailRequest
- type ResendContactReachabilityEmailResponse
- type RetrieveDomainAuthCodeInput
- type RetrieveDomainAuthCodeOutput
- type RetrieveDomainAuthCodeRequest
- type RetrieveDomainAuthCodeResponse
- type Tag
- type TransferDomainInput
- type TransferDomainOutput
- type TransferDomainRequest
- type TransferDomainResponse
- type TransferDomainToAnotherAwsAccountInput
- type TransferDomainToAnotherAwsAccountOutput
- type TransferDomainToAnotherAwsAccountRequest
- type TransferDomainToAnotherAwsAccountResponse
- type Transferable
- type UpdateDomainContactInput
- type UpdateDomainContactOutput
- type UpdateDomainContactPrivacyInput
- type UpdateDomainContactPrivacyOutput
- type UpdateDomainContactPrivacyRequest
- type UpdateDomainContactPrivacyResponse
- type UpdateDomainContactRequest
- type UpdateDomainContactResponse
- type UpdateDomainNameserversInput
- type UpdateDomainNameserversOutput
- type UpdateDomainNameserversRequest
- type UpdateDomainNameserversResponse
- type UpdateTagsForDomainInput
- type UpdateTagsForDomainOutput
- type UpdateTagsForDomainRequest
- type UpdateTagsForDomainResponse
- type ViewBillingInput
- type ViewBillingOutput
- type ViewBillingRequest
- type ViewBillingResponse
Constants ¶
const ( ServiceName = "Amazon Route 53 Domains" // Service's name ServiceID = "Route53Domains" // Service's identifier EndpointsID = "route53domains" // Service's Endpoint identifier )
const ( // ErrCodeDomainLimitExceeded for service response error code // "DomainLimitExceeded". // // The number of domains has exceeded the allowed threshold for the account. ErrCodeDomainLimitExceeded = "DomainLimitExceeded" // ErrCodeDuplicateRequest for service response error code // "DuplicateRequest". // // The request is already in progress for the domain. ErrCodeDuplicateRequest = "DuplicateRequest" // ErrCodeInvalidInput for service response error code // "InvalidInput". // // The requested item is not acceptable. For example, for APIs that accept a // domain name, the request might specify a domain name that doesn't belong // to the account that submitted the request. For AcceptDomainTransferFromAnotherAwsAccount, // the password might be invalid. ErrCodeInvalidInput = "InvalidInput" // ErrCodeOperationLimitExceeded for service response error code // "OperationLimitExceeded". // // The number of operations or jobs running exceeded the allowed threshold for // the account. ErrCodeOperationLimitExceeded = "OperationLimitExceeded" // ErrCodeTLDRulesViolation for service response error code // "TLDRulesViolation". // // The top-level domain does not support this operation. ErrCodeTLDRulesViolation = "TLDRulesViolation" // ErrCodeUnsupportedTLD for service response error code // "UnsupportedTLD". // // Amazon Route 53 does not support this top-level domain (TLD). ErrCodeUnsupportedTLD = "UnsupportedTLD" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AcceptDomainTransferFromAnotherAwsAccountInput ¶ added in v0.21.0
type AcceptDomainTransferFromAnotherAwsAccountInput struct { // The name of the domain that was specified when another AWS account submitted // a TransferDomainToAnotherAwsAccount (https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_TransferDomainToAnotherAwsAccount.html) // request. // // DomainName is a required field DomainName *string `type:"string" required:"true"` // The password that was returned by the TransferDomainToAnotherAwsAccount (https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_TransferDomainToAnotherAwsAccount.html) // request. // // Password is a required field Password *string `type:"string" required:"true"` // contains filtered or unexported fields }
The AcceptDomainTransferFromAnotherAwsAccount request includes the following elements.
func (AcceptDomainTransferFromAnotherAwsAccountInput) String ¶ added in v0.21.0
func (s AcceptDomainTransferFromAnotherAwsAccountInput) String() string
String returns the string representation
func (*AcceptDomainTransferFromAnotherAwsAccountInput) Validate ¶ added in v0.21.0
func (s *AcceptDomainTransferFromAnotherAwsAccountInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type AcceptDomainTransferFromAnotherAwsAccountOutput ¶ added in v0.21.0
type AcceptDomainTransferFromAnotherAwsAccountOutput struct { // Identifier for tracking the progress of the request. To query the operation // status, use GetOperationDetail (https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_GetOperationDetail.html). OperationId *string `type:"string"` // contains filtered or unexported fields }
The AcceptDomainTransferFromAnotherAwsAccount response includes the following element.
func (AcceptDomainTransferFromAnotherAwsAccountOutput) String ¶ added in v0.21.0
func (s AcceptDomainTransferFromAnotherAwsAccountOutput) String() string
String returns the string representation
type AcceptDomainTransferFromAnotherAwsAccountRequest ¶ added in v0.21.0
type AcceptDomainTransferFromAnotherAwsAccountRequest struct { *aws.Request Input *AcceptDomainTransferFromAnotherAwsAccountInput Copy func(*AcceptDomainTransferFromAnotherAwsAccountInput) AcceptDomainTransferFromAnotherAwsAccountRequest }
AcceptDomainTransferFromAnotherAwsAccountRequest is the request type for the AcceptDomainTransferFromAnotherAwsAccount API operation.
func (AcceptDomainTransferFromAnotherAwsAccountRequest) Send ¶ added in v0.21.0
func (r AcceptDomainTransferFromAnotherAwsAccountRequest) Send(ctx context.Context) (*AcceptDomainTransferFromAnotherAwsAccountResponse, error)
Send marshals and sends the AcceptDomainTransferFromAnotherAwsAccount API request.
type AcceptDomainTransferFromAnotherAwsAccountResponse ¶ added in v0.21.0
type AcceptDomainTransferFromAnotherAwsAccountResponse struct { *AcceptDomainTransferFromAnotherAwsAccountOutput // contains filtered or unexported fields }
AcceptDomainTransferFromAnotherAwsAccountResponse is the response type for the AcceptDomainTransferFromAnotherAwsAccount API operation.
func (*AcceptDomainTransferFromAnotherAwsAccountResponse) SDKResponseMetdata ¶ added in v0.21.0
func (r *AcceptDomainTransferFromAnotherAwsAccountResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the AcceptDomainTransferFromAnotherAwsAccount request.
type BillingRecord ¶
type BillingRecord struct { // The date that the operation was billed, in Unix format. BillDate *time.Time `type:"timestamp"` // The name of the domain that the billing record applies to. If the domain // name contains characters other than a-z, 0-9, and - (hyphen), such as an // internationalized domain name, then this value is in Punycode. For more information, // see DNS Domain Name Format (https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/DomainNameFormat.html) // in the Amazon Route 53 Developer Guide. DomainName *string `type:"string"` // The ID of the invoice that is associated with the billing record. InvoiceId *string `type:"string"` // The operation that you were charged for. Operation OperationType `type:"string" enum:"true"` // The price that you were charged for the operation, in US dollars. // // Example value: 12.0 Price *float64 `type:"double"` // contains filtered or unexported fields }
Information for one billing record.
func (BillingRecord) String ¶
func (s BillingRecord) String() string
String returns the string representation
type CancelDomainTransferToAnotherAwsAccountInput ¶ added in v0.21.0
type CancelDomainTransferToAnotherAwsAccountInput struct { // The name of the domain for which you want to cancel the transfer to another // AWS account. // // DomainName is a required field DomainName *string `type:"string" required:"true"` // contains filtered or unexported fields }
The CancelDomainTransferToAnotherAwsAccount request includes the following element.
func (CancelDomainTransferToAnotherAwsAccountInput) String ¶ added in v0.21.0
func (s CancelDomainTransferToAnotherAwsAccountInput) String() string
String returns the string representation
func (*CancelDomainTransferToAnotherAwsAccountInput) Validate ¶ added in v0.21.0
func (s *CancelDomainTransferToAnotherAwsAccountInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CancelDomainTransferToAnotherAwsAccountOutput ¶ added in v0.21.0
type CancelDomainTransferToAnotherAwsAccountOutput struct { // The identifier that TransferDomainToAnotherAwsAccount returned to track the // progress of the request. Because the transfer request was canceled, the value // is no longer valid, and you can't use GetOperationDetail to query the operation // status. OperationId *string `type:"string"` // contains filtered or unexported fields }
The CancelDomainTransferToAnotherAwsAccount response includes the following element.
func (CancelDomainTransferToAnotherAwsAccountOutput) String ¶ added in v0.21.0
func (s CancelDomainTransferToAnotherAwsAccountOutput) String() string
String returns the string representation
type CancelDomainTransferToAnotherAwsAccountRequest ¶ added in v0.21.0
type CancelDomainTransferToAnotherAwsAccountRequest struct { *aws.Request Input *CancelDomainTransferToAnotherAwsAccountInput Copy func(*CancelDomainTransferToAnotherAwsAccountInput) CancelDomainTransferToAnotherAwsAccountRequest }
CancelDomainTransferToAnotherAwsAccountRequest is the request type for the CancelDomainTransferToAnotherAwsAccount API operation.
func (CancelDomainTransferToAnotherAwsAccountRequest) Send ¶ added in v0.21.0
func (r CancelDomainTransferToAnotherAwsAccountRequest) Send(ctx context.Context) (*CancelDomainTransferToAnotherAwsAccountResponse, error)
Send marshals and sends the CancelDomainTransferToAnotherAwsAccount API request.
type CancelDomainTransferToAnotherAwsAccountResponse ¶ added in v0.21.0
type CancelDomainTransferToAnotherAwsAccountResponse struct { *CancelDomainTransferToAnotherAwsAccountOutput // contains filtered or unexported fields }
CancelDomainTransferToAnotherAwsAccountResponse is the response type for the CancelDomainTransferToAnotherAwsAccount API operation.
func (*CancelDomainTransferToAnotherAwsAccountResponse) SDKResponseMetdata ¶ added in v0.21.0
func (r *CancelDomainTransferToAnotherAwsAccountResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the CancelDomainTransferToAnotherAwsAccount request.
type CheckDomainAvailabilityInput ¶
type CheckDomainAvailabilityInput struct { // The name of the domain that you want to get availability for. The top-level // domain (TLD), such as .com, must be a TLD that Route 53 supports. For a list // of supported TLDs, 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. // // The domain name can contain only the following characters: // // * Letters a through z. Domain names are not case sensitive. // // * Numbers 0 through 9. // // * Hyphen (-). You can't specify a hyphen at the beginning or end of a // label. // // * Period (.) to separate the labels in the name, such as the . in example.com. // // Internationalized domain names are not supported for some top-level domains. // To determine whether the TLD that you want to use supports internationalized // domain names, see Domains that You Can Register with Amazon Route 53 (https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/registrar-tld-list.html). // For more information, see Formatting Internationalized Domain Names (https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/DomainNameFormat.html#domain-name-format-idns). // // DomainName is a required field DomainName *string `type:"string" required:"true"` // Reserved for future use. IdnLangCode *string `type:"string"` // contains filtered or unexported fields }
The CheckDomainAvailability request contains the following elements.
func (CheckDomainAvailabilityInput) String ¶
func (s CheckDomainAvailabilityInput) String() string
String returns the string representation
func (*CheckDomainAvailabilityInput) Validate ¶
func (s *CheckDomainAvailabilityInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CheckDomainAvailabilityOutput ¶
type CheckDomainAvailabilityOutput struct { // Whether the domain name is available for registering. // // You can register only domains designated as AVAILABLE. // // Valid values: // // AVAILABLE // // The domain name is available. // // AVAILABLE_RESERVED // // The domain name is reserved under specific conditions. // // AVAILABLE_PREORDER // // The domain name is available and can be preordered. // // DONT_KNOW // // The TLD registry didn't reply with a definitive answer about whether the // domain name is available. Route 53 can return this response for a variety // of reasons, for example, the registry is performing maintenance. Try again // later. // // PENDING // // The TLD registry didn't return a response in the expected amount of time. // When the response is delayed, it usually takes just a few extra seconds. // You can resubmit the request immediately. // // RESERVED // // The domain name has been reserved for another person or organization. // // UNAVAILABLE // // The domain name is not available. // // UNAVAILABLE_PREMIUM // // The domain name is not available. // // UNAVAILABLE_RESTRICTED // // The domain name is forbidden. // // Availability is a required field Availability DomainAvailability `type:"string" required:"true" enum:"true"` // contains filtered or unexported fields }
The CheckDomainAvailability response includes the following elements.
func (CheckDomainAvailabilityOutput) String ¶
func (s CheckDomainAvailabilityOutput) String() string
String returns the string representation
type CheckDomainAvailabilityRequest ¶
type CheckDomainAvailabilityRequest struct { *aws.Request Input *CheckDomainAvailabilityInput Copy func(*CheckDomainAvailabilityInput) CheckDomainAvailabilityRequest }
CheckDomainAvailabilityRequest is the request type for the CheckDomainAvailability API operation.
func (CheckDomainAvailabilityRequest) Send ¶
func (r CheckDomainAvailabilityRequest) Send(ctx context.Context) (*CheckDomainAvailabilityResponse, error)
Send marshals and sends the CheckDomainAvailability API request.
type CheckDomainAvailabilityResponse ¶ added in v0.9.0
type CheckDomainAvailabilityResponse struct { *CheckDomainAvailabilityOutput // contains filtered or unexported fields }
CheckDomainAvailabilityResponse is the response type for the CheckDomainAvailability API operation.
func (*CheckDomainAvailabilityResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *CheckDomainAvailabilityResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the CheckDomainAvailability request.
type CheckDomainTransferabilityInput ¶
type CheckDomainTransferabilityInput struct { // If the registrar for the top-level domain (TLD) requires an authorization // code to transfer the domain, the code that you got from the current registrar // for the domain. AuthCode *string `type:"string" sensitive:"true"` // The name of the domain that you want to transfer to Route 53. The top-level // domain (TLD), such as .com, must be a TLD that Route 53 supports. For a list // of supported TLDs, 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. // // The domain name can contain only the following characters: // // * Letters a through z. Domain names are not case sensitive. // // * Numbers 0 through 9. // // * Hyphen (-). You can't specify a hyphen at the beginning or end of a // label. // // * Period (.) to separate the labels in the name, such as the . in example.com. // // DomainName is a required field DomainName *string `type:"string" required:"true"` // contains filtered or unexported fields }
The CheckDomainTransferability request contains the following elements.
func (CheckDomainTransferabilityInput) String ¶
func (s CheckDomainTransferabilityInput) String() string
String returns the string representation
func (*CheckDomainTransferabilityInput) Validate ¶
func (s *CheckDomainTransferabilityInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CheckDomainTransferabilityOutput ¶
type CheckDomainTransferabilityOutput struct { // A complex type that contains information about whether the specified domain // can be transferred to Route 53. // // Transferability is a required field Transferability *DomainTransferability `type:"structure" required:"true"` // contains filtered or unexported fields }
The CheckDomainTransferability response includes the following elements.
func (CheckDomainTransferabilityOutput) String ¶
func (s CheckDomainTransferabilityOutput) String() string
String returns the string representation
type CheckDomainTransferabilityRequest ¶
type CheckDomainTransferabilityRequest struct { *aws.Request Input *CheckDomainTransferabilityInput Copy func(*CheckDomainTransferabilityInput) CheckDomainTransferabilityRequest }
CheckDomainTransferabilityRequest is the request type for the CheckDomainTransferability API operation.
func (CheckDomainTransferabilityRequest) Send ¶
func (r CheckDomainTransferabilityRequest) Send(ctx context.Context) (*CheckDomainTransferabilityResponse, error)
Send marshals and sends the CheckDomainTransferability API request.
type CheckDomainTransferabilityResponse ¶ added in v0.9.0
type CheckDomainTransferabilityResponse struct { *CheckDomainTransferabilityOutput // contains filtered or unexported fields }
CheckDomainTransferabilityResponse is the response type for the CheckDomainTransferability API operation.
func (*CheckDomainTransferabilityResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *CheckDomainTransferabilityResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the CheckDomainTransferability request.
type Client ¶ added in v0.9.0
Client provides the API operation methods for making requests to Amazon Route 53 Domains. See this package's package overview docs for details on the service.
The client's methods are safe to use concurrently. It is not safe to modify mutate any of the struct's properties though.
func New ¶
New creates a new instance of the client from the provided Config.
Example:
// Create a client from just a config. svc := route53domains.New(myConfig)
func (*Client) AcceptDomainTransferFromAnotherAwsAccountRequest ¶ added in v0.21.0
func (c *Client) AcceptDomainTransferFromAnotherAwsAccountRequest(input *AcceptDomainTransferFromAnotherAwsAccountInput) AcceptDomainTransferFromAnotherAwsAccountRequest
AcceptDomainTransferFromAnotherAwsAccountRequest returns a request value for making API operation for Amazon Route 53 Domains.
Accepts the transfer of a domain from another AWS account to the current AWS account. You initiate a transfer between AWS accounts using TransferDomainToAnotherAwsAccount (https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_TransferDomainToAnotherAwsAccount.html).
Use either ListOperations (https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_ListOperations.html) or GetOperationDetail (https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_GetOperationDetail.html) to determine whether the operation succeeded. GetOperationDetail (https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_GetOperationDetail.html) provides additional information, for example, Domain Transfer from Aws Account 111122223333 has been cancelled.
// Example sending a request using AcceptDomainTransferFromAnotherAwsAccountRequest. req := client.AcceptDomainTransferFromAnotherAwsAccountRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/AcceptDomainTransferFromAnotherAwsAccount
func (*Client) CancelDomainTransferToAnotherAwsAccountRequest ¶ added in v0.21.0
func (c *Client) CancelDomainTransferToAnotherAwsAccountRequest(input *CancelDomainTransferToAnotherAwsAccountInput) CancelDomainTransferToAnotherAwsAccountRequest
CancelDomainTransferToAnotherAwsAccountRequest returns a request value for making API operation for Amazon Route 53 Domains.
Cancels the transfer of a domain from the current AWS account to another AWS account. You initiate a transfer between AWS accounts using TransferDomainToAnotherAwsAccount (https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_TransferDomainToAnotherAwsAccount.html).
You must cancel the transfer before the other AWS account accepts the transfer using AcceptDomainTransferFromAnotherAwsAccount (https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_AcceptDomainTransferFromAnotherAwsAccount.html).
Use either ListOperations (https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_ListOperations.html) or GetOperationDetail (https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_GetOperationDetail.html) to determine whether the operation succeeded. GetOperationDetail (https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_GetOperationDetail.html) provides additional information, for example, Domain Transfer from Aws Account 111122223333 has been cancelled.
// Example sending a request using CancelDomainTransferToAnotherAwsAccountRequest. req := client.CancelDomainTransferToAnotherAwsAccountRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/CancelDomainTransferToAnotherAwsAccount
func (*Client) CheckDomainAvailabilityRequest ¶ added in v0.9.0
func (c *Client) CheckDomainAvailabilityRequest(input *CheckDomainAvailabilityInput) CheckDomainAvailabilityRequest
CheckDomainAvailabilityRequest returns a request value for making API operation for Amazon Route 53 Domains.
This operation checks the availability of one domain name. Note that if the availability status of a domain is pending, you must submit another request to determine the availability of the domain name.
// Example sending a request using CheckDomainAvailabilityRequest. req := client.CheckDomainAvailabilityRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/CheckDomainAvailability
func (*Client) CheckDomainTransferabilityRequest ¶ added in v0.9.0
func (c *Client) CheckDomainTransferabilityRequest(input *CheckDomainTransferabilityInput) CheckDomainTransferabilityRequest
CheckDomainTransferabilityRequest returns a request value for making API operation for Amazon Route 53 Domains.
Checks whether a domain name can be transferred to Amazon Route 53.
// Example sending a request using CheckDomainTransferabilityRequest. req := client.CheckDomainTransferabilityRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/CheckDomainTransferability
func (*Client) DeleteTagsForDomainRequest ¶ added in v0.9.0
func (c *Client) DeleteTagsForDomainRequest(input *DeleteTagsForDomainInput) DeleteTagsForDomainRequest
DeleteTagsForDomainRequest returns a request value for making API operation for Amazon Route 53 Domains.
This operation deletes the specified tags for a domain.
All tag operations are eventually consistent; subsequent operations might not immediately represent all issued operations.
// Example sending a request using DeleteTagsForDomainRequest. req := client.DeleteTagsForDomainRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/DeleteTagsForDomain
func (*Client) DisableDomainAutoRenewRequest ¶ added in v0.9.0
func (c *Client) DisableDomainAutoRenewRequest(input *DisableDomainAutoRenewInput) DisableDomainAutoRenewRequest
DisableDomainAutoRenewRequest returns a request value for making API operation for Amazon Route 53 Domains.
This operation disables automatic renewal of domain registration for the specified domain.
// Example sending a request using DisableDomainAutoRenewRequest. req := client.DisableDomainAutoRenewRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/DisableDomainAutoRenew
func (*Client) DisableDomainTransferLockRequest ¶ added in v0.9.0
func (c *Client) DisableDomainTransferLockRequest(input *DisableDomainTransferLockInput) DisableDomainTransferLockRequest
DisableDomainTransferLockRequest returns a request value for making API operation for Amazon Route 53 Domains.
This operation removes the transfer lock on the domain (specifically the clientTransferProhibited status) to allow domain transfers. We recommend you refrain from performing this action unless you intend to transfer the domain to a different registrar. Successful submission returns an operation ID that you can use to track the progress and completion of the action. If the request is not completed successfully, the domain registrant will be notified by email.
// Example sending a request using DisableDomainTransferLockRequest. req := client.DisableDomainTransferLockRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/DisableDomainTransferLock
func (*Client) EnableDomainAutoRenewRequest ¶ added in v0.9.0
func (c *Client) EnableDomainAutoRenewRequest(input *EnableDomainAutoRenewInput) EnableDomainAutoRenewRequest
EnableDomainAutoRenewRequest returns a request value for making API operation for Amazon Route 53 Domains.
This operation configures Amazon Route 53 to automatically renew the specified domain before the domain registration expires. The cost of renewing your domain registration is billed to your AWS account.
The period during which you can renew a domain name varies by TLD. For a list of TLDs and their renewal policies, 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. Route 53 requires that you renew before the end of the renewal period so we can complete processing before the deadline.
// Example sending a request using EnableDomainAutoRenewRequest. req := client.EnableDomainAutoRenewRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/EnableDomainAutoRenew
func (*Client) EnableDomainTransferLockRequest ¶ added in v0.9.0
func (c *Client) EnableDomainTransferLockRequest(input *EnableDomainTransferLockInput) EnableDomainTransferLockRequest
EnableDomainTransferLockRequest returns a request value for making API operation for Amazon Route 53 Domains.
This operation sets the transfer lock on the domain (specifically the clientTransferProhibited status) to prevent domain transfers. Successful submission returns an operation ID that you can use to track the progress and completion of the action. If the request is not completed successfully, the domain registrant will be notified by email.
// Example sending a request using EnableDomainTransferLockRequest. req := client.EnableDomainTransferLockRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/EnableDomainTransferLock
func (*Client) GetContactReachabilityStatusRequest ¶ added in v0.9.0
func (c *Client) GetContactReachabilityStatusRequest(input *GetContactReachabilityStatusInput) GetContactReachabilityStatusRequest
GetContactReachabilityStatusRequest returns a request value for making API operation for Amazon Route 53 Domains.
For operations that require confirmation that the email address for the registrant contact is valid, such as registering a new domain, this operation returns information about whether the registrant contact has responded.
If you want us to resend the email, use the ResendContactReachabilityEmail operation.
// Example sending a request using GetContactReachabilityStatusRequest. req := client.GetContactReachabilityStatusRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/GetContactReachabilityStatus
func (*Client) GetDomainDetailRequest ¶ added in v0.9.0
func (c *Client) GetDomainDetailRequest(input *GetDomainDetailInput) GetDomainDetailRequest
GetDomainDetailRequest returns a request value for making API operation for Amazon Route 53 Domains.
This operation returns detailed information about a specified domain that is associated with the current AWS account. Contact information for the domain is also returned as part of the output.
// Example sending a request using GetDomainDetailRequest. req := client.GetDomainDetailRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/GetDomainDetail
func (*Client) GetDomainSuggestionsRequest ¶ added in v0.9.0
func (c *Client) GetDomainSuggestionsRequest(input *GetDomainSuggestionsInput) GetDomainSuggestionsRequest
GetDomainSuggestionsRequest returns a request value for making API operation for Amazon Route 53 Domains.
The GetDomainSuggestions operation returns a list of suggested domain names.
// Example sending a request using GetDomainSuggestionsRequest. req := client.GetDomainSuggestionsRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/GetDomainSuggestions
func (*Client) GetOperationDetailRequest ¶ added in v0.9.0
func (c *Client) GetOperationDetailRequest(input *GetOperationDetailInput) GetOperationDetailRequest
GetOperationDetailRequest returns a request value for making API operation for Amazon Route 53 Domains.
This operation returns the current status of an operation that is not completed.
// Example sending a request using GetOperationDetailRequest. req := client.GetOperationDetailRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/GetOperationDetail
func (*Client) ListDomainsRequest ¶ added in v0.9.0
func (c *Client) ListDomainsRequest(input *ListDomainsInput) ListDomainsRequest
ListDomainsRequest returns a request value for making API operation for Amazon Route 53 Domains.
This operation returns all the domain names registered with Amazon Route 53 for the current AWS account.
// Example sending a request using ListDomainsRequest. req := client.ListDomainsRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/ListDomains
func (*Client) ListOperationsRequest ¶ added in v0.9.0
func (c *Client) ListOperationsRequest(input *ListOperationsInput) ListOperationsRequest
ListOperationsRequest returns a request value for making API operation for Amazon Route 53 Domains.
Returns information about all of the operations that return an operation ID and that have ever been performed on domains that were registered by the current account.
// Example sending a request using ListOperationsRequest. req := client.ListOperationsRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/ListOperations
func (*Client) ListTagsForDomainRequest ¶ added in v0.9.0
func (c *Client) ListTagsForDomainRequest(input *ListTagsForDomainInput) ListTagsForDomainRequest
ListTagsForDomainRequest returns a request value for making API operation for Amazon Route 53 Domains.
This operation returns all of the tags that are associated with the specified domain.
All tag operations are eventually consistent; subsequent operations might not immediately represent all issued operations.
// Example sending a request using ListTagsForDomainRequest. req := client.ListTagsForDomainRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/ListTagsForDomain
func (*Client) RegisterDomainRequest ¶ added in v0.9.0
func (c *Client) RegisterDomainRequest(input *RegisterDomainInput) RegisterDomainRequest
RegisterDomainRequest returns a request value for making API operation for Amazon Route 53 Domains.
This operation registers a domain. Domains are registered either by Amazon Registrar (for .com, .net, and .org domains) or by our registrar associate, Gandi (for all other domains). For some top-level domains (TLDs), this operation requires extra parameters.
When you register a domain, Amazon Route 53 does the following:
Creates a Route 53 hosted zone that has the same name as the domain. Route 53 assigns four name servers to your hosted zone and automatically updates your domain registration with the names of these name servers.
Enables autorenew, so your domain registration will renew automatically each year. We'll notify you in advance of the renewal date so you can choose whether to renew the registration.
Optionally enables privacy protection, so WHOIS queries return contact information either for Amazon Registrar (for .com, .net, and .org domains) or for our registrar associate, Gandi (for all other TLDs). If you don't enable privacy protection, WHOIS queries return the information that you entered for the registrant, admin, and tech contacts.
If registration is successful, returns an operation ID that you can use to track the progress and completion of the action. If the request is not completed successfully, the domain registrant is notified by email.
Charges your AWS account an amount based on the top-level domain. For more information, see Amazon Route 53 Pricing (http://aws.amazon.com/route53/pricing/).
// Example sending a request using RegisterDomainRequest. req := client.RegisterDomainRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/RegisterDomain
func (*Client) RejectDomainTransferFromAnotherAwsAccountRequest ¶ added in v0.21.0
func (c *Client) RejectDomainTransferFromAnotherAwsAccountRequest(input *RejectDomainTransferFromAnotherAwsAccountInput) RejectDomainTransferFromAnotherAwsAccountRequest
RejectDomainTransferFromAnotherAwsAccountRequest returns a request value for making API operation for Amazon Route 53 Domains.
Rejects the transfer of a domain from another AWS account to the current AWS account. You initiate a transfer between AWS accounts using TransferDomainToAnotherAwsAccount (https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_TransferDomainToAnotherAwsAccount.html).
Use either ListOperations (https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_ListOperations.html) or GetOperationDetail (https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_GetOperationDetail.html) to determine whether the operation succeeded. GetOperationDetail (https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_GetOperationDetail.html) provides additional information, for example, Domain Transfer from Aws Account 111122223333 has been cancelled.
// Example sending a request using RejectDomainTransferFromAnotherAwsAccountRequest. req := client.RejectDomainTransferFromAnotherAwsAccountRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/RejectDomainTransferFromAnotherAwsAccount
func (*Client) RenewDomainRequest ¶ added in v0.9.0
func (c *Client) RenewDomainRequest(input *RenewDomainInput) RenewDomainRequest
RenewDomainRequest returns a request value for making API operation for Amazon Route 53 Domains.
This operation renews a domain for the specified number of years. The cost of renewing your domain is billed to your AWS 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 (https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/domain-renew.html) in the Amazon Route 53 Developer Guide.
// Example sending a request using RenewDomainRequest. req := client.RenewDomainRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/RenewDomain
func (*Client) ResendContactReachabilityEmailRequest ¶ added in v0.9.0
func (c *Client) ResendContactReachabilityEmailRequest(input *ResendContactReachabilityEmailInput) ResendContactReachabilityEmailRequest
ResendContactReachabilityEmailRequest returns a request value for making API operation for Amazon Route 53 Domains.
For operations that require confirmation that the email address for the registrant contact is valid, such as registering a new domain, this operation resends the confirmation email to the current email address for the registrant contact.
// Example sending a request using ResendContactReachabilityEmailRequest. req := client.ResendContactReachabilityEmailRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/ResendContactReachabilityEmail
func (*Client) RetrieveDomainAuthCodeRequest ¶ added in v0.9.0
func (c *Client) RetrieveDomainAuthCodeRequest(input *RetrieveDomainAuthCodeInput) RetrieveDomainAuthCodeRequest
RetrieveDomainAuthCodeRequest returns a request value for making API operation for Amazon Route 53 Domains.
This operation returns the AuthCode for the domain. To transfer a domain to another registrar, you provide this value to the new registrar.
// Example sending a request using RetrieveDomainAuthCodeRequest. req := client.RetrieveDomainAuthCodeRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/RetrieveDomainAuthCode
func (*Client) TransferDomainRequest ¶ added in v0.9.0
func (c *Client) TransferDomainRequest(input *TransferDomainInput) TransferDomainRequest
TransferDomainRequest returns a request value for making API operation for Amazon Route 53 Domains.
Transfers a domain from another registrar to Amazon Route 53. When the transfer is complete, the domain is registered either with Amazon Registrar (for .com, .net, and .org domains) or with our registrar associate, Gandi (for all other TLDs).
For more information about transferring domains, see the following topics:
For transfer requirements, a detailed procedure, and information about viewing the status of a domain that you're transferring to Route 53, see Transferring Registration for a Domain to Amazon Route 53 (https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/domain-transfer-to-route-53.html) in the Amazon Route 53 Developer Guide.
For information about how to transfer a domain from one AWS account to another, see TransferDomainToAnotherAwsAccount (https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_TransferDomainToAnotherAwsAccount.html).
For information about how to transfer a domain to another domain registrar, see Transferring a Domain from Amazon Route 53 to Another Registrar (https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/domain-transfer-from-route-53.html) in the Amazon Route 53 Developer Guide.
If the registrar for your domain is also the DNS service provider for the domain, we highly recommend that you transfer your DNS service to Route 53 or to another DNS service provider before you transfer your registration. Some registrars provide free DNS service when you purchase a domain registration. When you transfer the registration, the previous registrar will not renew your domain registration and could end your DNS service at any time.
If the registrar for your domain is also the DNS service provider for the domain and you don't transfer DNS service to another provider, your website, email, and the web applications associated with the domain might become unavailable.
If the transfer is successful, this method returns an operation ID that you can use to track the progress and completion of the action. If the transfer doesn't complete successfully, the domain registrant will be notified by email.
// Example sending a request using TransferDomainRequest. req := client.TransferDomainRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/TransferDomain
func (*Client) TransferDomainToAnotherAwsAccountRequest ¶ added in v0.21.0
func (c *Client) TransferDomainToAnotherAwsAccountRequest(input *TransferDomainToAnotherAwsAccountInput) TransferDomainToAnotherAwsAccountRequest
TransferDomainToAnotherAwsAccountRequest returns a request value for making API operation for Amazon Route 53 Domains.
Transfers a domain from the current AWS account to another AWS account. Note the following:
The AWS account that you're transferring the domain to must accept the transfer. If the other account doesn't accept the transfer within 3 days, we cancel the transfer. See AcceptDomainTransferFromAnotherAwsAccount (https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_AcceptDomainTransferFromAnotherAwsAccount.html).
You can cancel the transfer before the other account accepts it. See CancelDomainTransferToAnotherAwsAccount (https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_CancelDomainTransferToAnotherAwsAccount.html).
The other account can reject the transfer. See RejectDomainTransferFromAnotherAwsAccount (https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_RejectDomainTransferFromAnotherAwsAccount.html).
When you transfer a domain from one AWS account to another, Route 53 doesn't transfer the hosted zone that is associated with the domain. DNS resolution isn't affected if the domain and the hosted zone are owned by separate accounts, so transferring the hosted zone is optional. For information about transferring the hosted zone to another AWS account, see Migrating a Hosted Zone to a Different AWS Account (https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/hosted-zones-migrating.html) in the Amazon Route 53 Developer Guide.
Use either ListOperations (https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_ListOperations.html) or GetOperationDetail (https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_GetOperationDetail.html) to determine whether the operation succeeded. GetOperationDetail (https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_GetOperationDetail.html) provides additional information, for example, Domain Transfer from Aws Account 111122223333 has been cancelled.
// Example sending a request using TransferDomainToAnotherAwsAccountRequest. req := client.TransferDomainToAnotherAwsAccountRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/TransferDomainToAnotherAwsAccount
func (*Client) UpdateDomainContactPrivacyRequest ¶ added in v0.9.0
func (c *Client) UpdateDomainContactPrivacyRequest(input *UpdateDomainContactPrivacyInput) UpdateDomainContactPrivacyRequest
UpdateDomainContactPrivacyRequest returns a request value for making API operation for Amazon Route 53 Domains.
This operation updates the specified domain contact's privacy setting. When privacy protection is enabled, contact information such as email address is replaced either with contact information for Amazon Registrar (for .com, .net, and .org domains) or with contact information for our registrar associate, Gandi.
This operation affects only the contact information for the specified contact type (registrant, administrator, or tech). If the request succeeds, Amazon Route 53 returns an operation ID that you can use with GetOperationDetail (https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_GetOperationDetail.html) to track the progress and completion of the action. If the request doesn't complete successfully, the domain registrant will be notified by email.
By disabling the privacy service via API, you consent to the publication of the contact information provided for this domain via the public WHOIS database. You certify that you are the registrant of this domain name and have the authority to make this decision. You may withdraw your consent at any time by enabling privacy protection using either UpdateDomainContactPrivacy or the Route 53 console. Enabling privacy protection removes the contact information provided for this domain from the WHOIS database. For more information on our privacy practices, see https://aws.amazon.com/privacy/ (https://aws.amazon.com/privacy/).
// Example sending a request using UpdateDomainContactPrivacyRequest. req := client.UpdateDomainContactPrivacyRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/UpdateDomainContactPrivacy
func (*Client) UpdateDomainContactRequest ¶ added in v0.9.0
func (c *Client) UpdateDomainContactRequest(input *UpdateDomainContactInput) UpdateDomainContactRequest
UpdateDomainContactRequest returns a request value for making API operation for Amazon Route 53 Domains.
This operation updates the contact information for a particular domain. You must specify information for at least one contact: registrant, administrator, or technical.
If the update is successful, this method returns an operation ID that you can use to track the progress and completion of the action. If the request is not completed successfully, the domain registrant will be notified by email.
// Example sending a request using UpdateDomainContactRequest. req := client.UpdateDomainContactRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/UpdateDomainContact
func (*Client) UpdateDomainNameserversRequest ¶ added in v0.9.0
func (c *Client) UpdateDomainNameserversRequest(input *UpdateDomainNameserversInput) UpdateDomainNameserversRequest
UpdateDomainNameserversRequest returns a request value for making API operation for Amazon Route 53 Domains.
This operation replaces the current set of name servers for the domain with the specified set of name servers. If you use Amazon Route 53 as your DNS service, specify the four name servers in the delegation set for the hosted zone for the domain.
If successful, this operation returns an operation ID that you can use to track the progress and completion of the action. If the request is not completed successfully, the domain registrant will be notified by email.
// Example sending a request using UpdateDomainNameserversRequest. req := client.UpdateDomainNameserversRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/UpdateDomainNameservers
func (*Client) UpdateTagsForDomainRequest ¶ added in v0.9.0
func (c *Client) UpdateTagsForDomainRequest(input *UpdateTagsForDomainInput) UpdateTagsForDomainRequest
UpdateTagsForDomainRequest returns a request value for making API operation for Amazon Route 53 Domains.
This operation adds or updates tags for a specified domain.
All tag operations are eventually consistent; subsequent operations might not immediately represent all issued operations.
// Example sending a request using UpdateTagsForDomainRequest. req := client.UpdateTagsForDomainRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/UpdateTagsForDomain
func (*Client) ViewBillingRequest ¶ added in v0.9.0
func (c *Client) ViewBillingRequest(input *ViewBillingInput) ViewBillingRequest
ViewBillingRequest returns a request value for making API operation for Amazon Route 53 Domains.
Returns all the domain-related billing records for the current AWS account for a specified period
// Example sending a request using ViewBillingRequest. req := client.ViewBillingRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/ViewBilling
type ContactDetail ¶
type ContactDetail struct { // First line of the contact's address. AddressLine1 *string `type:"string"` // Second line of contact's address, if any. AddressLine2 *string `type:"string"` // The city of the contact's address. City *string `type:"string"` // Indicates whether the contact is a person, company, association, or public // organization. Note the following: // // * If you specify a value other than PERSON, you must also specify a value // for OrganizationName. // // * For some TLDs, the privacy protection available depends on the value // that you specify for Contact Type. For the privacy protection settings // for your TLD, 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 // // * For .es domains, if you specify PERSON, you must specify INDIVIDUAL // for the value of ES_LEGAL_FORM. ContactType ContactType `type:"string" enum:"true"` // Code for the country of the contact's address. CountryCode CountryCode `type:"string" enum:"true"` // Email address of the contact. Email *string `type:"string"` // A list of name-value pairs for parameters required by certain top-level domains. ExtraParams []ExtraParam `type:"list"` // Fax number of the contact. // // Constraints: Phone number must be specified in the format "+[country dialing // code].[number including any area code]". For example, a US phone number might // appear as "+1.1234567890". Fax *string `type:"string"` // First name of contact. FirstName *string `type:"string"` // Last name of contact. LastName *string `type:"string"` // Name of the organization for contact types other than PERSON. OrganizationName *string `type:"string"` // The phone number of the contact. // // Constraints: Phone number must be specified in the format "+[country dialing // code].[number including any area code>]". For example, a US phone number // might appear as "+1.1234567890". PhoneNumber *string `type:"string"` // The state or province of the contact's city. State *string `type:"string"` // The zip or postal code of the contact's address. ZipCode *string `type:"string"` // contains filtered or unexported fields }
ContactDetail includes the following elements.
func (ContactDetail) String ¶
func (s ContactDetail) String() string
String returns the string representation
func (*ContactDetail) Validate ¶
func (s *ContactDetail) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ContactType ¶
type ContactType string
const ( ContactTypePerson ContactType = "PERSON" ContactTypeCompany ContactType = "COMPANY" ContactTypeAssociation ContactType = "ASSOCIATION" ContactTypePublicBody ContactType = "PUBLIC_BODY" ContactTypeReseller ContactType = "RESELLER" )
Enum values for ContactType
func (ContactType) MarshalValue ¶ added in v0.3.0
func (enum ContactType) MarshalValue() (string, error)
func (ContactType) MarshalValueBuf ¶ added in v0.3.0
func (enum ContactType) MarshalValueBuf(b []byte) ([]byte, error)
type CountryCode ¶
type CountryCode string
const ( CountryCodeAd CountryCode = "AD" CountryCodeAe CountryCode = "AE" CountryCodeAf CountryCode = "AF" CountryCodeAg CountryCode = "AG" CountryCodeAi CountryCode = "AI" CountryCodeAl CountryCode = "AL" CountryCodeAm CountryCode = "AM" CountryCodeAn CountryCode = "AN" CountryCodeAo CountryCode = "AO" CountryCodeAq CountryCode = "AQ" CountryCodeAr CountryCode = "AR" CountryCodeAs CountryCode = "AS" CountryCodeAt CountryCode = "AT" CountryCodeAu CountryCode = "AU" CountryCodeAw CountryCode = "AW" CountryCodeAz CountryCode = "AZ" CountryCodeBa CountryCode = "BA" CountryCodeBb CountryCode = "BB" CountryCodeBd CountryCode = "BD" CountryCodeBe CountryCode = "BE" CountryCodeBf CountryCode = "BF" CountryCodeBg CountryCode = "BG" CountryCodeBh CountryCode = "BH" CountryCodeBi CountryCode = "BI" CountryCodeBj CountryCode = "BJ" CountryCodeBl CountryCode = "BL" CountryCodeBm CountryCode = "BM" CountryCodeBn CountryCode = "BN" CountryCodeBo CountryCode = "BO" CountryCodeBr CountryCode = "BR" CountryCodeBs CountryCode = "BS" CountryCodeBt CountryCode = "BT" CountryCodeBw CountryCode = "BW" CountryCodeBy CountryCode = "BY" CountryCodeBz CountryCode = "BZ" CountryCodeCa CountryCode = "CA" CountryCodeCc CountryCode = "CC" CountryCodeCd CountryCode = "CD" CountryCodeCf CountryCode = "CF" CountryCodeCg CountryCode = "CG" CountryCodeCh CountryCode = "CH" CountryCodeCi CountryCode = "CI" CountryCodeCk CountryCode = "CK" CountryCodeCl CountryCode = "CL" CountryCodeCm CountryCode = "CM" CountryCodeCn CountryCode = "CN" CountryCodeCo CountryCode = "CO" CountryCodeCr CountryCode = "CR" CountryCodeCu CountryCode = "CU" CountryCodeCv CountryCode = "CV" CountryCodeCx CountryCode = "CX" CountryCodeCy CountryCode = "CY" CountryCodeCz CountryCode = "CZ" CountryCodeDe CountryCode = "DE" CountryCodeDj CountryCode = "DJ" CountryCodeDk CountryCode = "DK" CountryCodeDm CountryCode = "DM" CountryCodeDo CountryCode = "DO" CountryCodeDz CountryCode = "DZ" CountryCodeEc CountryCode = "EC" CountryCodeEe CountryCode = "EE" CountryCodeEg CountryCode = "EG" CountryCodeEr CountryCode = "ER" CountryCodeEs CountryCode = "ES" CountryCodeEt CountryCode = "ET" CountryCodeFi CountryCode = "FI" CountryCodeFj CountryCode = "FJ" CountryCodeFk CountryCode = "FK" CountryCodeFm CountryCode = "FM" CountryCodeFo CountryCode = "FO" CountryCodeFr CountryCode = "FR" CountryCodeGa CountryCode = "GA" CountryCodeGb CountryCode = "GB" CountryCodeGd CountryCode = "GD" CountryCodeGe CountryCode = "GE" CountryCodeGh CountryCode = "GH" CountryCodeGi CountryCode = "GI" CountryCodeGl CountryCode = "GL" CountryCodeGm CountryCode = "GM" CountryCodeGn CountryCode = "GN" CountryCodeGq CountryCode = "GQ" CountryCodeGr CountryCode = "GR" CountryCodeGt CountryCode = "GT" CountryCodeGu CountryCode = "GU" CountryCodeGw CountryCode = "GW" CountryCodeGy CountryCode = "GY" CountryCodeHk CountryCode = "HK" CountryCodeHn CountryCode = "HN" CountryCodeHr CountryCode = "HR" CountryCodeHt CountryCode = "HT" CountryCodeHu CountryCode = "HU" CountryCodeId CountryCode = "ID" CountryCodeIe CountryCode = "IE" CountryCodeIl CountryCode = "IL" CountryCodeIm CountryCode = "IM" CountryCodeIn CountryCode = "IN" CountryCodeIq CountryCode = "IQ" CountryCodeIr CountryCode = "IR" CountryCodeIs CountryCode = "IS" CountryCodeIt CountryCode = "IT" CountryCodeJm CountryCode = "JM" CountryCodeJo CountryCode = "JO" CountryCodeJp CountryCode = "JP" CountryCodeKe CountryCode = "KE" CountryCodeKg CountryCode = "KG" CountryCodeKh CountryCode = "KH" CountryCodeKi CountryCode = "KI" CountryCodeKm CountryCode = "KM" CountryCodeKn CountryCode = "KN" CountryCodeKp CountryCode = "KP" CountryCodeKr CountryCode = "KR" CountryCodeKw CountryCode = "KW" CountryCodeKy CountryCode = "KY" CountryCodeKz CountryCode = "KZ" CountryCodeLa CountryCode = "LA" CountryCodeLb CountryCode = "LB" CountryCodeLc CountryCode = "LC" CountryCodeLi CountryCode = "LI" CountryCodeLk CountryCode = "LK" CountryCodeLr CountryCode = "LR" CountryCodeLs CountryCode = "LS" CountryCodeLt CountryCode = "LT" CountryCodeLu CountryCode = "LU" CountryCodeLv CountryCode = "LV" CountryCodeLy CountryCode = "LY" CountryCodeMa CountryCode = "MA" CountryCodeMc CountryCode = "MC" CountryCodeMd CountryCode = "MD" CountryCodeMe CountryCode = "ME" CountryCodeMf CountryCode = "MF" CountryCodeMg CountryCode = "MG" CountryCodeMh CountryCode = "MH" CountryCodeMk CountryCode = "MK" CountryCodeMl CountryCode = "ML" CountryCodeMm CountryCode = "MM" CountryCodeMn CountryCode = "MN" CountryCodeMo CountryCode = "MO" CountryCodeMp CountryCode = "MP" CountryCodeMr CountryCode = "MR" CountryCodeMs CountryCode = "MS" CountryCodeMt CountryCode = "MT" CountryCodeMu CountryCode = "MU" CountryCodeMv CountryCode = "MV" CountryCodeMw CountryCode = "MW" CountryCodeMx CountryCode = "MX" CountryCodeMy CountryCode = "MY" CountryCodeMz CountryCode = "MZ" CountryCodeNa CountryCode = "NA" CountryCodeNc CountryCode = "NC" CountryCodeNe CountryCode = "NE" CountryCodeNg CountryCode = "NG" CountryCodeNi CountryCode = "NI" CountryCodeNl CountryCode = "NL" CountryCodeNo CountryCode = "NO" CountryCodeNp CountryCode = "NP" CountryCodeNr CountryCode = "NR" CountryCodeNu CountryCode = "NU" CountryCodeNz CountryCode = "NZ" CountryCodeOm CountryCode = "OM" CountryCodePa CountryCode = "PA" CountryCodePe CountryCode = "PE" CountryCodePf CountryCode = "PF" CountryCodePg CountryCode = "PG" CountryCodePh CountryCode = "PH" CountryCodePk CountryCode = "PK" CountryCodePl CountryCode = "PL" CountryCodePm CountryCode = "PM" CountryCodePn CountryCode = "PN" CountryCodePr CountryCode = "PR" CountryCodePt CountryCode = "PT" CountryCodePw CountryCode = "PW" CountryCodePy CountryCode = "PY" CountryCodeQa CountryCode = "QA" CountryCodeRo CountryCode = "RO" CountryCodeRs CountryCode = "RS" CountryCodeRu CountryCode = "RU" CountryCodeRw CountryCode = "RW" CountryCodeSa CountryCode = "SA" CountryCodeSb CountryCode = "SB" CountryCodeSc CountryCode = "SC" CountryCodeSd CountryCode = "SD" CountryCodeSe CountryCode = "SE" CountryCodeSg CountryCode = "SG" CountryCodeSh CountryCode = "SH" CountryCodeSi CountryCode = "SI" CountryCodeSk CountryCode = "SK" CountryCodeSl CountryCode = "SL" CountryCodeSm CountryCode = "SM" CountryCodeSn CountryCode = "SN" CountryCodeSo CountryCode = "SO" CountryCodeSr CountryCode = "SR" CountryCodeSt CountryCode = "ST" CountryCodeSv CountryCode = "SV" CountryCodeSy CountryCode = "SY" CountryCodeSz CountryCode = "SZ" CountryCodeTc CountryCode = "TC" CountryCodeTd CountryCode = "TD" CountryCodeTg CountryCode = "TG" CountryCodeTh CountryCode = "TH" CountryCodeTj CountryCode = "TJ" CountryCodeTk CountryCode = "TK" CountryCodeTl CountryCode = "TL" CountryCodeTm CountryCode = "TM" CountryCodeTn CountryCode = "TN" CountryCodeTo CountryCode = "TO" CountryCodeTr CountryCode = "TR" CountryCodeTt CountryCode = "TT" CountryCodeTv CountryCode = "TV" CountryCodeTw CountryCode = "TW" CountryCodeTz CountryCode = "TZ" CountryCodeUa CountryCode = "UA" CountryCodeUg CountryCode = "UG" CountryCodeUs CountryCode = "US" CountryCodeUy CountryCode = "UY" CountryCodeUz CountryCode = "UZ" CountryCodeVa CountryCode = "VA" CountryCodeVc CountryCode = "VC" CountryCodeVe CountryCode = "VE" CountryCodeVg CountryCode = "VG" CountryCodeVi CountryCode = "VI" CountryCodeVn CountryCode = "VN" CountryCodeVu CountryCode = "VU" CountryCodeWf CountryCode = "WF" CountryCodeWs CountryCode = "WS" CountryCodeYe CountryCode = "YE" CountryCodeYt CountryCode = "YT" CountryCodeZa CountryCode = "ZA" CountryCodeZm CountryCode = "ZM" CountryCodeZw CountryCode = "ZW" )
Enum values for CountryCode
func (CountryCode) MarshalValue ¶ added in v0.3.0
func (enum CountryCode) MarshalValue() (string, error)
func (CountryCode) MarshalValueBuf ¶ added in v0.3.0
func (enum CountryCode) MarshalValueBuf(b []byte) ([]byte, error)
type DeleteTagsForDomainInput ¶
type DeleteTagsForDomainInput struct { // The domain for which you want to delete one or more tags. // // DomainName is a required field DomainName *string `type:"string" required:"true"` // A list of tag keys to delete. // // TagsToDelete is a required field TagsToDelete []string `type:"list" required:"true"` // contains filtered or unexported fields }
The DeleteTagsForDomainRequest includes the following elements.
func (DeleteTagsForDomainInput) String ¶
func (s DeleteTagsForDomainInput) String() string
String returns the string representation
func (*DeleteTagsForDomainInput) Validate ¶
func (s *DeleteTagsForDomainInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteTagsForDomainOutput ¶
type DeleteTagsForDomainOutput struct {
// contains filtered or unexported fields
}
func (DeleteTagsForDomainOutput) String ¶
func (s DeleteTagsForDomainOutput) String() string
String returns the string representation
type DeleteTagsForDomainRequest ¶
type DeleteTagsForDomainRequest struct { *aws.Request Input *DeleteTagsForDomainInput Copy func(*DeleteTagsForDomainInput) DeleteTagsForDomainRequest }
DeleteTagsForDomainRequest is the request type for the DeleteTagsForDomain API operation.
func (DeleteTagsForDomainRequest) Send ¶
func (r DeleteTagsForDomainRequest) Send(ctx context.Context) (*DeleteTagsForDomainResponse, error)
Send marshals and sends the DeleteTagsForDomain API request.
type DeleteTagsForDomainResponse ¶ added in v0.9.0
type DeleteTagsForDomainResponse struct { *DeleteTagsForDomainOutput // contains filtered or unexported fields }
DeleteTagsForDomainResponse is the response type for the DeleteTagsForDomain API operation.
func (*DeleteTagsForDomainResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DeleteTagsForDomainResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DeleteTagsForDomain request.
type DisableDomainAutoRenewInput ¶
type DisableDomainAutoRenewInput struct { // The name of the domain that you want to disable automatic renewal for. // // DomainName is a required field DomainName *string `type:"string" required:"true"` // contains filtered or unexported fields }
func (DisableDomainAutoRenewInput) String ¶
func (s DisableDomainAutoRenewInput) String() string
String returns the string representation
func (*DisableDomainAutoRenewInput) Validate ¶
func (s *DisableDomainAutoRenewInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DisableDomainAutoRenewOutput ¶
type DisableDomainAutoRenewOutput struct {
// contains filtered or unexported fields
}
func (DisableDomainAutoRenewOutput) String ¶
func (s DisableDomainAutoRenewOutput) String() string
String returns the string representation
type DisableDomainAutoRenewRequest ¶
type DisableDomainAutoRenewRequest struct { *aws.Request Input *DisableDomainAutoRenewInput Copy func(*DisableDomainAutoRenewInput) DisableDomainAutoRenewRequest }
DisableDomainAutoRenewRequest is the request type for the DisableDomainAutoRenew API operation.
func (DisableDomainAutoRenewRequest) Send ¶
func (r DisableDomainAutoRenewRequest) Send(ctx context.Context) (*DisableDomainAutoRenewResponse, error)
Send marshals and sends the DisableDomainAutoRenew API request.
type DisableDomainAutoRenewResponse ¶ added in v0.9.0
type DisableDomainAutoRenewResponse struct { *DisableDomainAutoRenewOutput // contains filtered or unexported fields }
DisableDomainAutoRenewResponse is the response type for the DisableDomainAutoRenew API operation.
func (*DisableDomainAutoRenewResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DisableDomainAutoRenewResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DisableDomainAutoRenew request.
type DisableDomainTransferLockInput ¶
type DisableDomainTransferLockInput struct { // The name of the domain that you want to remove the transfer lock for. // // DomainName is a required field DomainName *string `type:"string" required:"true"` // contains filtered or unexported fields }
The DisableDomainTransferLock request includes the following element.
func (DisableDomainTransferLockInput) String ¶
func (s DisableDomainTransferLockInput) String() string
String returns the string representation
func (*DisableDomainTransferLockInput) Validate ¶
func (s *DisableDomainTransferLockInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DisableDomainTransferLockOutput ¶
type DisableDomainTransferLockOutput struct { // Identifier for tracking the progress of the request. To query the operation // status, use GetOperationDetail (https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_GetOperationDetail.html). // // OperationId is a required field OperationId *string `type:"string" required:"true"` // contains filtered or unexported fields }
The DisableDomainTransferLock response includes the following element.
func (DisableDomainTransferLockOutput) String ¶
func (s DisableDomainTransferLockOutput) String() string
String returns the string representation
type DisableDomainTransferLockRequest ¶
type DisableDomainTransferLockRequest struct { *aws.Request Input *DisableDomainTransferLockInput Copy func(*DisableDomainTransferLockInput) DisableDomainTransferLockRequest }
DisableDomainTransferLockRequest is the request type for the DisableDomainTransferLock API operation.
func (DisableDomainTransferLockRequest) Send ¶
func (r DisableDomainTransferLockRequest) Send(ctx context.Context) (*DisableDomainTransferLockResponse, error)
Send marshals and sends the DisableDomainTransferLock API request.
type DisableDomainTransferLockResponse ¶ added in v0.9.0
type DisableDomainTransferLockResponse struct { *DisableDomainTransferLockOutput // contains filtered or unexported fields }
DisableDomainTransferLockResponse is the response type for the DisableDomainTransferLock API operation.
func (*DisableDomainTransferLockResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DisableDomainTransferLockResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DisableDomainTransferLock request.
type DomainAvailability ¶
type DomainAvailability string
const ( DomainAvailabilityAvailable DomainAvailability = "AVAILABLE" DomainAvailabilityAvailableReserved DomainAvailability = "AVAILABLE_RESERVED" DomainAvailabilityAvailablePreorder DomainAvailability = "AVAILABLE_PREORDER" DomainAvailabilityReserved DomainAvailability = "RESERVED" DomainAvailabilityDontKnow DomainAvailability = "DONT_KNOW" )
Enum values for DomainAvailability
func (DomainAvailability) MarshalValue ¶ added in v0.3.0
func (enum DomainAvailability) MarshalValue() (string, error)
func (DomainAvailability) MarshalValueBuf ¶ added in v0.3.0
func (enum DomainAvailability) MarshalValueBuf(b []byte) ([]byte, error)
type DomainSuggestion ¶
type DomainSuggestion struct { // Whether the domain name is available for registering. // // You can register only the domains that are designated as AVAILABLE. // // Valid values: // // AVAILABLE // // The domain name is available. // // AVAILABLE_RESERVED // // The domain name is reserved under specific conditions. // // AVAILABLE_PREORDER // // The domain name is available and can be preordered. // // DONT_KNOW // // The TLD registry didn't reply with a definitive answer about whether the // domain name is available. Route 53 can return this response for a variety // of reasons, for example, the registry is performing maintenance. Try again // later. // // PENDING // // The TLD registry didn't return a response in the expected amount of time. // When the response is delayed, it usually takes just a few extra seconds. // You can resubmit the request immediately. // // RESERVED // // The domain name has been reserved for another person or organization. // // UNAVAILABLE // // The domain name is not available. // // UNAVAILABLE_PREMIUM // // The domain name is not available. // // UNAVAILABLE_RESTRICTED // // The domain name is forbidden. Availability *string `type:"string"` // A suggested domain name. DomainName *string `type:"string"` // contains filtered or unexported fields }
Information about one suggested domain name.
func (DomainSuggestion) String ¶
func (s DomainSuggestion) String() string
String returns the string representation
type DomainSummary ¶
type DomainSummary struct { // Indicates whether the domain is automatically renewed upon expiration. AutoRenew *bool `type:"boolean"` // The name of the domain that the summary information applies to. // // DomainName is a required field DomainName *string `type:"string" required:"true"` // Expiration date of the domain in Unix time format and Coordinated Universal // Time (UTC). Expiry *time.Time `type:"timestamp"` // Indicates whether a domain is locked from unauthorized transfer to another // party. TransferLock *bool `type:"boolean"` // contains filtered or unexported fields }
Summary information about one domain.
func (DomainSummary) String ¶
func (s DomainSummary) String() string
String returns the string representation
type DomainTransferability ¶
type DomainTransferability struct { // Whether the domain name can be transferred to Route 53. // // You can transfer only domains that have a value of TRANSFERABLE for Transferable. // // Valid values: // // TRANSFERABLE // // The domain name can be transferred to Route 53. // // UNTRANSFERRABLE // // The domain name can't be transferred to Route 53. // // DONT_KNOW // // Reserved for future use. Transferable Transferable `type:"string" enum:"true"` // contains filtered or unexported fields }
A complex type that contains information about whether the specified domain can be transferred to Route 53.
func (DomainTransferability) String ¶
func (s DomainTransferability) String() string
String returns the string representation
type EnableDomainAutoRenewInput ¶
type EnableDomainAutoRenewInput struct { // The name of the domain that you want to enable automatic renewal for. // // DomainName is a required field DomainName *string `type:"string" required:"true"` // contains filtered or unexported fields }
func (EnableDomainAutoRenewInput) String ¶
func (s EnableDomainAutoRenewInput) String() string
String returns the string representation
func (*EnableDomainAutoRenewInput) Validate ¶
func (s *EnableDomainAutoRenewInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type EnableDomainAutoRenewOutput ¶
type EnableDomainAutoRenewOutput struct {
// contains filtered or unexported fields
}
func (EnableDomainAutoRenewOutput) String ¶
func (s EnableDomainAutoRenewOutput) String() string
String returns the string representation
type EnableDomainAutoRenewRequest ¶
type EnableDomainAutoRenewRequest struct { *aws.Request Input *EnableDomainAutoRenewInput Copy func(*EnableDomainAutoRenewInput) EnableDomainAutoRenewRequest }
EnableDomainAutoRenewRequest is the request type for the EnableDomainAutoRenew API operation.
func (EnableDomainAutoRenewRequest) Send ¶
func (r EnableDomainAutoRenewRequest) Send(ctx context.Context) (*EnableDomainAutoRenewResponse, error)
Send marshals and sends the EnableDomainAutoRenew API request.
type EnableDomainAutoRenewResponse ¶ added in v0.9.0
type EnableDomainAutoRenewResponse struct { *EnableDomainAutoRenewOutput // contains filtered or unexported fields }
EnableDomainAutoRenewResponse is the response type for the EnableDomainAutoRenew API operation.
func (*EnableDomainAutoRenewResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *EnableDomainAutoRenewResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the EnableDomainAutoRenew request.
type EnableDomainTransferLockInput ¶
type EnableDomainTransferLockInput struct { // The name of the domain that you want to set the transfer lock for. // // DomainName is a required field DomainName *string `type:"string" required:"true"` // contains filtered or unexported fields }
A request to set the transfer lock for the specified domain.
func (EnableDomainTransferLockInput) String ¶
func (s EnableDomainTransferLockInput) String() string
String returns the string representation
func (*EnableDomainTransferLockInput) Validate ¶
func (s *EnableDomainTransferLockInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type EnableDomainTransferLockOutput ¶
type EnableDomainTransferLockOutput struct { // Identifier for tracking the progress of the request. To use this ID to query // the operation status, use GetOperationDetail. // // OperationId is a required field OperationId *string `type:"string" required:"true"` // contains filtered or unexported fields }
The EnableDomainTransferLock response includes the following elements.
func (EnableDomainTransferLockOutput) String ¶
func (s EnableDomainTransferLockOutput) String() string
String returns the string representation
type EnableDomainTransferLockRequest ¶
type EnableDomainTransferLockRequest struct { *aws.Request Input *EnableDomainTransferLockInput Copy func(*EnableDomainTransferLockInput) EnableDomainTransferLockRequest }
EnableDomainTransferLockRequest is the request type for the EnableDomainTransferLock API operation.
func (EnableDomainTransferLockRequest) Send ¶
func (r EnableDomainTransferLockRequest) Send(ctx context.Context) (*EnableDomainTransferLockResponse, error)
Send marshals and sends the EnableDomainTransferLock API request.
type EnableDomainTransferLockResponse ¶ added in v0.9.0
type EnableDomainTransferLockResponse struct { *EnableDomainTransferLockOutput // contains filtered or unexported fields }
EnableDomainTransferLockResponse is the response type for the EnableDomainTransferLock API operation.
func (*EnableDomainTransferLockResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *EnableDomainTransferLockResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the EnableDomainTransferLock request.
type ExtraParam ¶
type ExtraParam struct { // The name of an additional parameter that is required by a top-level domain. // Here are the top-level domains that require additional parameters and the // names of the parameters that they require: // // .com.au and .net.au // // * AU_ID_NUMBER // // * AU_ID_TYPE Valid values include the following: ABN (Australian business // number) ACN (Australian company number) TM (Trademark number) // // .ca // // * BRAND_NUMBER // // * CA_BUSINESS_ENTITY_TYPE Valid values include the following: BANK (Bank) // COMMERCIAL_COMPANY (Commercial company) COMPANY (Company) COOPERATION // (Cooperation) COOPERATIVE (Cooperative) COOPRIX (Cooprix) CORP (Corporation) // CREDIT_UNION (Credit union) FOMIA (Federation of mutual insurance associations) // INC (Incorporated) LTD (Limited) LTEE (Limitée) LLC (Limited liability // corporation) LLP (Limited liability partnership) LTE (Lte.) MBA (Mutual // benefit association) MIC (Mutual insurance company) NFP (Not-for-profit // corporation) SA (S.A.) SAVINGS_COMPANY (Savings company) SAVINGS_UNION // (Savings union) SARL (Société à responsabilité limitée) TRUST (Trust) // ULC (Unlimited liability corporation) // // * CA_LEGAL_TYPE When ContactType is PERSON, valid values include the following: // ABO (Aboriginal Peoples indigenous to Canada) CCT (Canadian citizen) LGR // (Legal Representative of a Canadian Citizen or Permanent Resident) RES // (Permanent resident of Canada) When ContactType is a value other than // PERSON, valid values include the following: ASS (Canadian unincorporated // association) CCO (Canadian corporation) EDU (Canadian educational institution) // GOV (Government or government entity in Canada) HOP (Canadian Hospital) // INB (Indian Band recognized by the Indian Act of Canada) LAM (Canadian // Library, Archive, or Museum) MAJ (Her/His Majesty the Queen/King) OMK // (Official mark registered in Canada) PLT (Canadian Political Party) PRT // (Partnership Registered in Canada) TDM (Trademark registered in Canada) // TRD (Canadian Trade Union) TRS (Trust established in Canada) // // .es // // * ES_IDENTIFICATION Specify the applicable value: For contacts inside // Spain: Enter your passport ID. For contacts outside of Spain: Enter the // VAT identification number for the company. For .es domains, the value // of ContactType must be PERSON. // // * ES_IDENTIFICATION_TYPE Valid values include the following: DNI_AND_NIF // (For Spanish contacts) NIE (For foreigners with legal residence) OTHER // (For contacts outside of Spain) // // * ES_LEGAL_FORM Valid values include the following: ASSOCIATION CENTRAL_GOVERNMENT_BODY // CIVIL_SOCIETY COMMUNITY_OF_OWNERS COMMUNITY_PROPERTY CONSULATE COOPERATIVE // DESIGNATION_OF_ORIGIN_SUPERVISORY_COUNCIL ECONOMIC_INTEREST_GROUP EMBASSY // ENTITY_MANAGING_NATURAL_AREAS FARM_PARTNERSHIP FOUNDATION GENERAL_AND_LIMITED_PARTNERSHIP // GENERAL_PARTNERSHIP INDIVIDUAL LIMITED_COMPANY LOCAL_AUTHORITY LOCAL_PUBLIC_ENTITY // MUTUAL_INSURANCE_COMPANY NATIONAL_PUBLIC_ENTITY ORDER_OR_RELIGIOUS_INSTITUTION // OTHERS (Only for contacts outside of Spain) POLITICAL_PARTY PROFESSIONAL_ASSOCIATION // PUBLIC_LAW_ASSOCIATION PUBLIC_LIMITED_COMPANY REGIONAL_GOVERNMENT_BODY // REGIONAL_PUBLIC_ENTITY SAVINGS_BANK SPANISH_OFFICE SPORTS_ASSOCIATION // SPORTS_FEDERATION SPORTS_LIMITED_COMPANY TEMPORARY_ALLIANCE_OF_ENTERPRISES // TRADE_UNION WORKER_OWNED_COMPANY WORKER_OWNED_LIMITED_COMPANY // // .fi // // * BIRTH_DATE_IN_YYYY_MM_DD // // * FI_BUSINESS_NUMBER // // * FI_ID_NUMBER // // * FI_NATIONALITY Valid values include the following: FINNISH NOT_FINNISH // // * FI_ORGANIZATION_TYPE Valid values include the following: COMPANY CORPORATION // GOVERNMENT INSTITUTION POLITICAL_PARTY PUBLIC_COMMUNITY TOWNSHIP // // .fr // // * BIRTH_CITY // // * BIRTH_COUNTRY // // * BIRTH_DATE_IN_YYYY_MM_DD // // * BIRTH_DEPARTMENT: Specify the INSEE code that corresponds with the department // where the contact was born. If the contact was born somewhere other than // France or its overseas departments, specify 99. For more information, // including a list of departments and the corresponding INSEE numbers, see // the Wikipedia entry Departments of France (https://en.wikipedia.org/wiki/Departments_of_France). // // * BRAND_NUMBER // // .it // // * IT_NATIONALITY // // * IT_PIN // // * IT_REGISTRANT_ENTITY_TYPE Valid values include the following: FOREIGNERS // FREELANCE_WORKERS (Freelance workers and professionals) ITALIAN_COMPANIES // (Italian companies and one-person companies) NON_PROFIT_ORGANIZATIONS // OTHER_SUBJECTS PUBLIC_ORGANIZATIONS // // .ru // // * BIRTH_DATE_IN_YYYY_MM_DD // // * RU_PASSPORT_DATA // // .se // // * BIRTH_COUNTRY // // * SE_ID_NUMBER // // .sg // // * SG_ID_NUMBER // // .co.uk, .me.uk, and .org.uk // // * UK_CONTACT_TYPE Valid values include the following: CRC (UK Corporation // by Royal Charter) FCORP (Non-UK Corporation) FIND (Non-UK Individual, // representing self) FOTHER (Non-UK Entity that does not fit into any other // category) GOV (UK Government Body) IND (UK Individual (representing self)) // IP (UK Industrial/Provident Registered Company) LLP (UK Limited Liability // Partnership) LTD (UK Limited Company) OTHER (UK Entity that does not fit // into any other category) PLC (UK Public Limited Company) PTNR (UK Partnership) // RCHAR (UK Registered Charity) SCH (UK School) STAT (UK Statutory Body) // STRA (UK Sole Trader) // // * UK_COMPANY_NUMBER // // In addition, many TLDs require a VAT_NUMBER. // // Name is a required field Name ExtraParamName `type:"string" required:"true" enum:"true"` // The value that corresponds with the name of an extra parameter. // // Value is a required field Value *string `type:"string" required:"true"` // contains filtered or unexported fields }
ExtraParam includes the following elements.
func (ExtraParam) String ¶
func (s ExtraParam) String() string
String returns the string representation
func (*ExtraParam) Validate ¶
func (s *ExtraParam) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ExtraParamName ¶
type ExtraParamName string
const ( ExtraParamNameDunsNumber ExtraParamName = "DUNS_NUMBER" ExtraParamNameBrandNumber ExtraParamName = "BRAND_NUMBER" ExtraParamNameBirthDepartment ExtraParamName = "BIRTH_DEPARTMENT" ExtraParamNameBirthDateInYyyyMmDd ExtraParamName = "BIRTH_DATE_IN_YYYY_MM_DD" ExtraParamNameBirthCountry ExtraParamName = "BIRTH_COUNTRY" ExtraParamNameBirthCity ExtraParamName = "BIRTH_CITY" ExtraParamNameDocumentNumber ExtraParamName = "DOCUMENT_NUMBER" ExtraParamNameAuIdNumber ExtraParamName = "AU_ID_NUMBER" ExtraParamNameAuIdType ExtraParamName = "AU_ID_TYPE" ExtraParamNameCaLegalType ExtraParamName = "CA_LEGAL_TYPE" ExtraParamNameCaBusinessEntityType ExtraParamName = "CA_BUSINESS_ENTITY_TYPE" ExtraParamNameCaLegalRepresentative ExtraParamName = "CA_LEGAL_REPRESENTATIVE" ExtraParamNameCaLegalRepresentativeCapacity ExtraParamName = "CA_LEGAL_REPRESENTATIVE_CAPACITY" ExtraParamNameEsIdentification ExtraParamName = "ES_IDENTIFICATION" ExtraParamNameEsIdentificationType ExtraParamName = "ES_IDENTIFICATION_TYPE" ExtraParamNameEsLegalForm ExtraParamName = "ES_LEGAL_FORM" ExtraParamNameFiBusinessNumber ExtraParamName = "FI_BUSINESS_NUMBER" ExtraParamNameFiIdNumber ExtraParamName = "FI_ID_NUMBER" ExtraParamNameFiNationality ExtraParamName = "FI_NATIONALITY" ExtraParamNameFiOrganizationType ExtraParamName = "FI_ORGANIZATION_TYPE" ExtraParamNameItNationality ExtraParamName = "IT_NATIONALITY" ExtraParamNameItPin ExtraParamName = "IT_PIN" ExtraParamNameItRegistrantEntityType ExtraParamName = "IT_REGISTRANT_ENTITY_TYPE" ExtraParamNameRuPassportData ExtraParamName = "RU_PASSPORT_DATA" ExtraParamNameSeIdNumber ExtraParamName = "SE_ID_NUMBER" ExtraParamNameSgIdNumber ExtraParamName = "SG_ID_NUMBER" ExtraParamNameVatNumber ExtraParamName = "VAT_NUMBER" ExtraParamNameUkContactType ExtraParamName = "UK_CONTACT_TYPE" ExtraParamNameUkCompanyNumber ExtraParamName = "UK_COMPANY_NUMBER" )
Enum values for ExtraParamName
func (ExtraParamName) MarshalValue ¶ added in v0.3.0
func (enum ExtraParamName) MarshalValue() (string, error)
func (ExtraParamName) MarshalValueBuf ¶ added in v0.3.0
func (enum ExtraParamName) MarshalValueBuf(b []byte) ([]byte, error)
type GetContactReachabilityStatusInput ¶
type GetContactReachabilityStatusInput struct { // The name of the domain for which you want to know whether the registrant // contact has confirmed that the email address is valid. DomainName *string `locationName:"domainName" type:"string"` // contains filtered or unexported fields }
func (GetContactReachabilityStatusInput) String ¶
func (s GetContactReachabilityStatusInput) String() string
String returns the string representation
type GetContactReachabilityStatusOutput ¶
type GetContactReachabilityStatusOutput struct { // The domain name for which you requested the reachability status. DomainName *string `locationName:"domainName" type:"string"` // Whether the registrant contact has responded. Values include the following: // // PENDING // // We sent the confirmation email and haven't received a response yet. // // DONE // // We sent the email and got confirmation from the registrant contact. // // EXPIRED // // The time limit expired before the registrant contact responded. Status ReachabilityStatus `locationName:"status" type:"string" enum:"true"` // contains filtered or unexported fields }
func (GetContactReachabilityStatusOutput) String ¶
func (s GetContactReachabilityStatusOutput) String() string
String returns the string representation
type GetContactReachabilityStatusRequest ¶
type GetContactReachabilityStatusRequest struct { *aws.Request Input *GetContactReachabilityStatusInput Copy func(*GetContactReachabilityStatusInput) GetContactReachabilityStatusRequest }
GetContactReachabilityStatusRequest is the request type for the GetContactReachabilityStatus API operation.
func (GetContactReachabilityStatusRequest) Send ¶
func (r GetContactReachabilityStatusRequest) Send(ctx context.Context) (*GetContactReachabilityStatusResponse, error)
Send marshals and sends the GetContactReachabilityStatus API request.
type GetContactReachabilityStatusResponse ¶ added in v0.9.0
type GetContactReachabilityStatusResponse struct { *GetContactReachabilityStatusOutput // contains filtered or unexported fields }
GetContactReachabilityStatusResponse is the response type for the GetContactReachabilityStatus API operation.
func (*GetContactReachabilityStatusResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *GetContactReachabilityStatusResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the GetContactReachabilityStatus request.
type GetDomainDetailInput ¶
type GetDomainDetailInput struct { // The name of the domain that you want to get detailed information about. // // DomainName is a required field DomainName *string `type:"string" required:"true"` // contains filtered or unexported fields }
The GetDomainDetail request includes the following element.
func (GetDomainDetailInput) String ¶
func (s GetDomainDetailInput) String() string
String returns the string representation
func (*GetDomainDetailInput) Validate ¶
func (s *GetDomainDetailInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetDomainDetailOutput ¶
type GetDomainDetailOutput struct { // Email address to contact to report incorrect contact information for a domain, // to report that the domain is being used to send spam, to report that someone // is cybersquatting on a domain name, or report some other type of abuse. AbuseContactEmail *string `type:"string"` // Phone number for reporting abuse. AbuseContactPhone *string `type:"string"` // Provides details about the domain administrative contact. // // AdminContact is a required field AdminContact *ContactDetail `type:"structure" required:"true" sensitive:"true"` // Specifies whether contact information is concealed from WHOIS queries. If // the value is true, WHOIS ("who is") queries return contact information either // for Amazon Registrar (for .com, .net, and .org domains) or for our registrar // associate, Gandi (for all other TLDs). If the value is false, WHOIS queries // return the information that you entered for the admin contact. AdminPrivacy *bool `type:"boolean"` // Specifies whether the domain registration is set to renew automatically. AutoRenew *bool `type:"boolean"` // The date when the domain was created as found in the response to a WHOIS // query. The date and time is in Unix time format and Coordinated Universal // time (UTC). CreationDate *time.Time `type:"timestamp"` // Reserved for future use. DnsSec *string `type:"string"` // The name of a domain. // // DomainName is a required field DomainName *string `type:"string" required:"true"` // The date when the registration for the domain is set to expire. The date // and time is in Unix time format and Coordinated Universal time (UTC). ExpirationDate *time.Time `type:"timestamp"` // The name of the domain. // // Nameservers is a required field Nameservers []Nameserver `type:"list" required:"true"` // Provides details about the domain registrant. // // RegistrantContact is a required field RegistrantContact *ContactDetail `type:"structure" required:"true" sensitive:"true"` // Specifies whether contact information is concealed from WHOIS queries. If // the value is true, WHOIS ("who is") queries return contact information either // for Amazon Registrar (for .com, .net, and .org domains) or for our registrar // associate, Gandi (for all other TLDs). If the value is false, WHOIS queries // return the information that you entered for the registrant contact (domain // owner). RegistrantPrivacy *bool `type:"boolean"` // Name of the registrar of the domain as identified in the registry. Domains // with a .com, .net, or .org TLD are registered by Amazon Registrar. All other // domains are registered by our registrar associate, Gandi. The value for domains // that are registered by Gandi is "GANDI SAS". RegistrarName *string `type:"string"` // Web address of the registrar. RegistrarUrl *string `type:"string"` // Reserved for future use. RegistryDomainId *string `type:"string"` // Reseller of the domain. Domains registered or transferred using Route 53 // domains will have "Amazon" as the reseller. Reseller *string `type:"string"` // An array of domain name status codes, also known as Extensible Provisioning // Protocol (EPP) status codes. // // ICANN, the organization that maintains a central database of domain names, // has developed a set of domain name status codes that tell you the status // of a variety of operations on a domain name, for example, registering a domain // name, transferring a domain name to another registrar, renewing the registration // for a domain name, and so on. All registrars use this same set of status // codes. // // For a current list of domain name status codes and an explanation of what // each code means, go to the ICANN website (https://www.icann.org/) and search // for epp status codes. (Search on the ICANN website; web searches sometimes // return an old version of the document.) StatusList []string `type:"list"` // Provides details about the domain technical contact. // // TechContact is a required field TechContact *ContactDetail `type:"structure" required:"true" sensitive:"true"` // Specifies whether contact information is concealed from WHOIS queries. If // the value is true, WHOIS ("who is") queries return contact information either // for Amazon Registrar (for .com, .net, and .org domains) or for our registrar // associate, Gandi (for all other TLDs). If the value is false, WHOIS queries // return the information that you entered for the technical contact. TechPrivacy *bool `type:"boolean"` // The last updated date of the domain as found in the response to a WHOIS query. // The date and time is in Unix time format and Coordinated Universal time (UTC). UpdatedDate *time.Time `type:"timestamp"` // The fully qualified name of the WHOIS server that can answer the WHOIS query // for the domain. WhoIsServer *string `type:"string"` // contains filtered or unexported fields }
The GetDomainDetail response includes the following elements.
func (GetDomainDetailOutput) String ¶
func (s GetDomainDetailOutput) String() string
String returns the string representation
type GetDomainDetailRequest ¶
type GetDomainDetailRequest struct { *aws.Request Input *GetDomainDetailInput Copy func(*GetDomainDetailInput) GetDomainDetailRequest }
GetDomainDetailRequest is the request type for the GetDomainDetail API operation.
func (GetDomainDetailRequest) Send ¶
func (r GetDomainDetailRequest) Send(ctx context.Context) (*GetDomainDetailResponse, error)
Send marshals and sends the GetDomainDetail API request.
type GetDomainDetailResponse ¶ added in v0.9.0
type GetDomainDetailResponse struct { *GetDomainDetailOutput // contains filtered or unexported fields }
GetDomainDetailResponse is the response type for the GetDomainDetail API operation.
func (*GetDomainDetailResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *GetDomainDetailResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the GetDomainDetail request.
type GetDomainSuggestionsInput ¶
type GetDomainSuggestionsInput struct { // A domain name that you want to use as the basis for a list of possible domain // names. The top-level domain (TLD), such as .com, must be a TLD that Route // 53 supports. For a list of supported TLDs, 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. // // The domain name can contain only the following characters: // // * Letters a through z. Domain names are not case sensitive. // // * Numbers 0 through 9. // // * Hyphen (-). You can't specify a hyphen at the beginning or end of a // label. // // * Period (.) to separate the labels in the name, such as the . in example.com. // // Internationalized domain names are not supported for some top-level domains. // To determine whether the TLD that you want to use supports internationalized // domain names, see Domains that You Can Register with Amazon Route 53 (https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/registrar-tld-list.html). // // DomainName is a required field DomainName *string `type:"string" required:"true"` // If OnlyAvailable is true, Route 53 returns only domain names that are available. // If OnlyAvailable is false, Route 53 returns domain names without checking // whether they're available to be registered. To determine whether the domain // is available, you can call checkDomainAvailability for each suggestion. // // OnlyAvailable is a required field OnlyAvailable *bool `type:"boolean" required:"true"` // The number of suggested domain names that you want Route 53 to return. Specify // a value between 1 and 50. // // SuggestionCount is a required field SuggestionCount *int64 `type:"integer" required:"true"` // contains filtered or unexported fields }
func (GetDomainSuggestionsInput) String ¶
func (s GetDomainSuggestionsInput) String() string
String returns the string representation
func (*GetDomainSuggestionsInput) Validate ¶
func (s *GetDomainSuggestionsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetDomainSuggestionsOutput ¶
type GetDomainSuggestionsOutput struct { // A list of possible domain names. If you specified true for OnlyAvailable // in the request, the list contains only domains that are available for registration. SuggestionsList []DomainSuggestion `type:"list"` // contains filtered or unexported fields }
func (GetDomainSuggestionsOutput) String ¶
func (s GetDomainSuggestionsOutput) String() string
String returns the string representation
type GetDomainSuggestionsRequest ¶
type GetDomainSuggestionsRequest struct { *aws.Request Input *GetDomainSuggestionsInput Copy func(*GetDomainSuggestionsInput) GetDomainSuggestionsRequest }
GetDomainSuggestionsRequest is the request type for the GetDomainSuggestions API operation.
func (GetDomainSuggestionsRequest) Send ¶
func (r GetDomainSuggestionsRequest) Send(ctx context.Context) (*GetDomainSuggestionsResponse, error)
Send marshals and sends the GetDomainSuggestions API request.
type GetDomainSuggestionsResponse ¶ added in v0.9.0
type GetDomainSuggestionsResponse struct { *GetDomainSuggestionsOutput // contains filtered or unexported fields }
GetDomainSuggestionsResponse is the response type for the GetDomainSuggestions API operation.
func (*GetDomainSuggestionsResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *GetDomainSuggestionsResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the GetDomainSuggestions request.
type GetOperationDetailInput ¶
type GetOperationDetailInput struct { // The identifier for the operation for which you want to get the status. Route // 53 returned the identifier in the response to the original request. // // OperationId is a required field OperationId *string `type:"string" required:"true"` // contains filtered or unexported fields }
The GetOperationDetail (https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_GetOperationDetail.html) request includes the following element.
func (GetOperationDetailInput) String ¶
func (s GetOperationDetailInput) String() string
String returns the string representation
func (*GetOperationDetailInput) Validate ¶
func (s *GetOperationDetailInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetOperationDetailOutput ¶
type GetOperationDetailOutput struct { // The name of a domain. DomainName *string `type:"string"` // Detailed information on the status including possible errors. Message *string `type:"string"` // The identifier for the operation. OperationId *string `type:"string"` // The current status of the requested operation in the system. Status OperationStatus `type:"string" enum:"true"` // The date when the request was submitted. SubmittedDate *time.Time `type:"timestamp"` // The type of operation that was requested. Type OperationType `type:"string" enum:"true"` // contains filtered or unexported fields }
The GetOperationDetail response includes the following elements.
func (GetOperationDetailOutput) String ¶
func (s GetOperationDetailOutput) String() string
String returns the string representation
type GetOperationDetailRequest ¶
type GetOperationDetailRequest struct { *aws.Request Input *GetOperationDetailInput Copy func(*GetOperationDetailInput) GetOperationDetailRequest }
GetOperationDetailRequest is the request type for the GetOperationDetail API operation.
func (GetOperationDetailRequest) Send ¶
func (r GetOperationDetailRequest) Send(ctx context.Context) (*GetOperationDetailResponse, error)
Send marshals and sends the GetOperationDetail API request.
type GetOperationDetailResponse ¶ added in v0.9.0
type GetOperationDetailResponse struct { *GetOperationDetailOutput // contains filtered or unexported fields }
GetOperationDetailResponse is the response type for the GetOperationDetail API operation.
func (*GetOperationDetailResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *GetOperationDetailResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the GetOperationDetail request.
type ListDomainsInput ¶
type ListDomainsInput struct { // For an initial request for a list of domains, omit this element. If the number // of domains that are associated with the current AWS account is greater than // the value that you specified for MaxItems, you can use Marker to return additional // domains. Get the value of NextPageMarker from the previous response, and // submit another request that includes the value of NextPageMarker in the Marker // element. // // Constraints: The marker must match the value specified in the previous request. Marker *string `type:"string"` // Number of domains to be returned. // // Default: 20 MaxItems *int64 `type:"integer"` // contains filtered or unexported fields }
The ListDomains request includes the following elements.
func (ListDomainsInput) String ¶
func (s ListDomainsInput) String() string
String returns the string representation
type ListDomainsOutput ¶
type ListDomainsOutput struct { // A summary of domains. // // Domains is a required field Domains []DomainSummary `type:"list" required:"true"` // If there are more domains than you specified for MaxItems in the request, // submit another request and include the value of NextPageMarker in the value // of Marker. NextPageMarker *string `type:"string"` // contains filtered or unexported fields }
The ListDomains response includes the following elements.
func (ListDomainsOutput) String ¶
func (s ListDomainsOutput) String() string
String returns the string representation
type ListDomainsPaginator ¶ added in v0.9.0
ListDomainsPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.
func NewListDomainsPaginator ¶ added in v0.9.0
func NewListDomainsPaginator(req ListDomainsRequest) ListDomainsPaginator
NewListDomainsRequestPaginator returns a paginator for ListDomains. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.
Note: This operation can generate multiple requests to a service.
// Example iterating over pages. req := client.ListDomainsRequest(input) p := route53domains.NewListDomainsRequestPaginator(req) for p.Next(context.TODO()) { page := p.CurrentPage() } if err := p.Err(); err != nil { return err }
func (*ListDomainsPaginator) CurrentPage ¶ added in v0.9.0
func (p *ListDomainsPaginator) CurrentPage() *ListDomainsOutput
type ListDomainsRequest ¶
type ListDomainsRequest struct { *aws.Request Input *ListDomainsInput Copy func(*ListDomainsInput) ListDomainsRequest }
ListDomainsRequest is the request type for the ListDomains API operation.
func (ListDomainsRequest) Send ¶
func (r ListDomainsRequest) Send(ctx context.Context) (*ListDomainsResponse, error)
Send marshals and sends the ListDomains API request.
type ListDomainsResponse ¶ added in v0.9.0
type ListDomainsResponse struct { *ListDomainsOutput // contains filtered or unexported fields }
ListDomainsResponse is the response type for the ListDomains API operation.
func (*ListDomainsResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *ListDomainsResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ListDomains request.
type ListOperationsInput ¶
type ListOperationsInput struct { // For an initial request for a list of operations, omit this element. If the // number of operations that are not yet complete is greater than the value // that you specified for MaxItems, you can use Marker to return additional // operations. Get the value of NextPageMarker from the previous response, and // submit another request that includes the value of NextPageMarker in the Marker // element. Marker *string `type:"string"` // Number of domains to be returned. // // Default: 20 MaxItems *int64 `type:"integer"` // An optional parameter that lets you get information about all the operations // that you submitted after a specified date and time. Specify the date and // time in Unix time format and Coordinated Universal time (UTC). SubmittedSince *time.Time `type:"timestamp"` // contains filtered or unexported fields }
The ListOperations request includes the following elements.
func (ListOperationsInput) String ¶
func (s ListOperationsInput) String() string
String returns the string representation
type ListOperationsOutput ¶
type ListOperationsOutput struct { // If there are more operations than you specified for MaxItems in the request, // submit another request and include the value of NextPageMarker in the value // of Marker. NextPageMarker *string `type:"string"` // Lists summaries of the operations. // // Operations is a required field Operations []OperationSummary `type:"list" required:"true"` // contains filtered or unexported fields }
The ListOperations response includes the following elements.
func (ListOperationsOutput) String ¶
func (s ListOperationsOutput) String() string
String returns the string representation
type ListOperationsPaginator ¶ added in v0.9.0
ListOperationsPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.
func NewListOperationsPaginator ¶ added in v0.9.0
func NewListOperationsPaginator(req ListOperationsRequest) ListOperationsPaginator
NewListOperationsRequestPaginator returns a paginator for ListOperations. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.
Note: This operation can generate multiple requests to a service.
// Example iterating over pages. req := client.ListOperationsRequest(input) p := route53domains.NewListOperationsRequestPaginator(req) for p.Next(context.TODO()) { page := p.CurrentPage() } if err := p.Err(); err != nil { return err }
func (*ListOperationsPaginator) CurrentPage ¶ added in v0.9.0
func (p *ListOperationsPaginator) CurrentPage() *ListOperationsOutput
type ListOperationsRequest ¶
type ListOperationsRequest struct { *aws.Request Input *ListOperationsInput Copy func(*ListOperationsInput) ListOperationsRequest }
ListOperationsRequest is the request type for the ListOperations API operation.
func (ListOperationsRequest) Send ¶
func (r ListOperationsRequest) Send(ctx context.Context) (*ListOperationsResponse, error)
Send marshals and sends the ListOperations API request.
type ListOperationsResponse ¶ added in v0.9.0
type ListOperationsResponse struct { *ListOperationsOutput // contains filtered or unexported fields }
ListOperationsResponse is the response type for the ListOperations API operation.
func (*ListOperationsResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *ListOperationsResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ListOperations request.
type ListTagsForDomainInput ¶
type ListTagsForDomainInput struct { // The domain for which you want to get a list of tags. // // DomainName is a required field DomainName *string `type:"string" required:"true"` // contains filtered or unexported fields }
The ListTagsForDomainRequest includes the following elements.
func (ListTagsForDomainInput) String ¶
func (s ListTagsForDomainInput) String() string
String returns the string representation
func (*ListTagsForDomainInput) Validate ¶
func (s *ListTagsForDomainInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListTagsForDomainOutput ¶
type ListTagsForDomainOutput struct { // A list of the tags that are associated with the specified domain. // // TagList is a required field TagList []Tag `type:"list" required:"true"` // contains filtered or unexported fields }
The ListTagsForDomain response includes the following elements.
func (ListTagsForDomainOutput) String ¶
func (s ListTagsForDomainOutput) String() string
String returns the string representation
type ListTagsForDomainRequest ¶
type ListTagsForDomainRequest struct { *aws.Request Input *ListTagsForDomainInput Copy func(*ListTagsForDomainInput) ListTagsForDomainRequest }
ListTagsForDomainRequest is the request type for the ListTagsForDomain API operation.
func (ListTagsForDomainRequest) Send ¶
func (r ListTagsForDomainRequest) Send(ctx context.Context) (*ListTagsForDomainResponse, error)
Send marshals and sends the ListTagsForDomain API request.
type ListTagsForDomainResponse ¶ added in v0.9.0
type ListTagsForDomainResponse struct { *ListTagsForDomainOutput // contains filtered or unexported fields }
ListTagsForDomainResponse is the response type for the ListTagsForDomain API operation.
func (*ListTagsForDomainResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *ListTagsForDomainResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ListTagsForDomain request.
type Nameserver ¶
type Nameserver struct { // Glue IP address of a name server entry. Glue IP addresses are required only // when the name of the name server is a subdomain of the domain. For example, // if your domain is example.com and the name server for the domain is ns.example.com, // you need to specify the IP address for ns.example.com. // // Constraints: The list can contain only one IPv4 and one IPv6 address. GlueIps []string `type:"list"` // The fully qualified host name of the name server. // // Constraint: Maximum 255 characters // // Name is a required field Name *string `type:"string" required:"true"` // contains filtered or unexported fields }
Nameserver includes the following elements.
func (Nameserver) String ¶
func (s Nameserver) String() string
String returns the string representation
func (*Nameserver) Validate ¶
func (s *Nameserver) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type OperationStatus ¶
type OperationStatus string
const ( OperationStatusSubmitted OperationStatus = "SUBMITTED" OperationStatusInProgress OperationStatus = "IN_PROGRESS" OperationStatusError OperationStatus = "ERROR" OperationStatusSuccessful OperationStatus = "SUCCESSFUL" OperationStatusFailed OperationStatus = "FAILED" )
Enum values for OperationStatus
func (OperationStatus) MarshalValue ¶ added in v0.3.0
func (enum OperationStatus) MarshalValue() (string, error)
func (OperationStatus) MarshalValueBuf ¶ added in v0.3.0
func (enum OperationStatus) MarshalValueBuf(b []byte) ([]byte, error)
type OperationSummary ¶
type OperationSummary struct { // Identifier returned to track the requested action. // // OperationId is a required field OperationId *string `type:"string" required:"true"` // The current status of the requested operation in the system. // // Status is a required field Status OperationStatus `type:"string" required:"true" enum:"true"` // The date when the request was submitted. // // SubmittedDate is a required field SubmittedDate *time.Time `type:"timestamp" required:"true"` // Type of the action requested. // // Type is a required field Type OperationType `type:"string" required:"true" enum:"true"` // contains filtered or unexported fields }
OperationSummary includes the following elements.
func (OperationSummary) String ¶
func (s OperationSummary) String() string
String returns the string representation
type OperationType ¶
type OperationType string
const ( OperationTypeRegisterDomain OperationType = "REGISTER_DOMAIN" OperationTypeDeleteDomain OperationType = "DELETE_DOMAIN" OperationTypeTransferInDomain OperationType = "TRANSFER_IN_DOMAIN" OperationTypeUpdateDomainContact OperationType = "UPDATE_DOMAIN_CONTACT" OperationTypeUpdateNameserver OperationType = "UPDATE_NAMESERVER" OperationTypeChangePrivacyProtection OperationType = "CHANGE_PRIVACY_PROTECTION" OperationTypeDomainLock OperationType = "DOMAIN_LOCK" OperationTypeEnableAutorenew OperationType = "ENABLE_AUTORENEW" OperationTypeDisableAutorenew OperationType = "DISABLE_AUTORENEW" OperationTypeAddDnssec OperationType = "ADD_DNSSEC" OperationTypeRemoveDnssec OperationType = "REMOVE_DNSSEC" OperationTypeExpireDomain OperationType = "EXPIRE_DOMAIN" OperationTypeTransferOutDomain OperationType = "TRANSFER_OUT_DOMAIN" OperationTypeChangeDomainOwner OperationType = "CHANGE_DOMAIN_OWNER" OperationTypeRenewDomain OperationType = "RENEW_DOMAIN" OperationTypePushDomain OperationType = "PUSH_DOMAIN" OperationTypeInternalTransferOutDomain OperationType = "INTERNAL_TRANSFER_OUT_DOMAIN" OperationTypeInternalTransferInDomain OperationType = "INTERNAL_TRANSFER_IN_DOMAIN" )
Enum values for OperationType
func (OperationType) MarshalValue ¶ added in v0.3.0
func (enum OperationType) MarshalValue() (string, error)
func (OperationType) MarshalValueBuf ¶ added in v0.3.0
func (enum OperationType) MarshalValueBuf(b []byte) ([]byte, error)
type ReachabilityStatus ¶
type ReachabilityStatus string
const ( ReachabilityStatusPending ReachabilityStatus = "PENDING" ReachabilityStatusDone ReachabilityStatus = "DONE" ReachabilityStatusExpired ReachabilityStatus = "EXPIRED" )
Enum values for ReachabilityStatus
func (ReachabilityStatus) MarshalValue ¶ added in v0.3.0
func (enum ReachabilityStatus) MarshalValue() (string, error)
func (ReachabilityStatus) MarshalValueBuf ¶ added in v0.3.0
func (enum ReachabilityStatus) MarshalValueBuf(b []byte) ([]byte, error)
type RegisterDomainInput ¶
type RegisterDomainInput struct { // Provides detailed contact information. For information about the values that // you specify for each element, see ContactDetail (https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_ContactDetail.html). // // AdminContact is a required field AdminContact *ContactDetail `type:"structure" required:"true" sensitive:"true"` // Indicates whether the domain will be automatically renewed (true) or not // (false). Autorenewal only takes effect after the account is charged. // // Default: true AutoRenew *bool `type:"boolean"` // The domain name that you want to register. The top-level domain (TLD), such // as .com, must be a TLD that Route 53 supports. For a list of supported TLDs, // 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. // // The domain name can contain only the following characters: // // * Letters a through z. Domain names are not case sensitive. // // * Numbers 0 through 9. // // * Hyphen (-). You can't specify a hyphen at the beginning or end of a // label. // // * Period (.) to separate the labels in the name, such as the . in example.com. // // Internationalized domain names are not supported for some top-level domains. // To determine whether the TLD that you want to use supports internationalized // domain names, see Domains that You Can Register with Amazon Route 53 (https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/registrar-tld-list.html). // For more information, see Formatting Internationalized Domain Names (https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/DomainNameFormat.html#domain-name-format-idns). // // DomainName is a required field DomainName *string `type:"string" required:"true"` // The number of years that you want to register the domain for. Domains are // registered for a minimum of one year. The maximum period 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 // // DurationInYears is a required field DurationInYears *int64 `min:"1" type:"integer" required:"true"` // Reserved for future use. IdnLangCode *string `type:"string"` // Whether you want to conceal contact information from WHOIS queries. If you // specify true, WHOIS ("who is") queries return contact information either // for Amazon Registrar (for .com, .net, and .org domains) or for our registrar // associate, Gandi (for all other TLDs). If you specify false, WHOIS queries // return the information that you entered for the admin contact. // // Default: true PrivacyProtectAdminContact *bool `type:"boolean"` // Whether you want to conceal contact information from WHOIS queries. If you // specify true, WHOIS ("who is") queries return contact information either // for Amazon Registrar (for .com, .net, and .org domains) or for our registrar // associate, Gandi (for all other TLDs). If you specify false, WHOIS queries // return the information that you entered for the registrant contact (the domain // owner). // // Default: true PrivacyProtectRegistrantContact *bool `type:"boolean"` // Whether you want to conceal contact information from WHOIS queries. If you // specify true, WHOIS ("who is") queries return contact information either // for Amazon Registrar (for .com, .net, and .org domains) or for our registrar // associate, Gandi (for all other TLDs). If you specify false, WHOIS queries // return the information that you entered for the technical contact. // // Default: true PrivacyProtectTechContact *bool `type:"boolean"` // Provides detailed contact information. For information about the values that // you specify for each element, see ContactDetail (https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_ContactDetail.html). // // RegistrantContact is a required field RegistrantContact *ContactDetail `type:"structure" required:"true" sensitive:"true"` // Provides detailed contact information. For information about the values that // you specify for each element, see ContactDetail (https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_ContactDetail.html). // // TechContact is a required field TechContact *ContactDetail `type:"structure" required:"true" sensitive:"true"` // contains filtered or unexported fields }
The RegisterDomain request includes the following elements.
func (RegisterDomainInput) String ¶
func (s RegisterDomainInput) String() string
String returns the string representation
func (*RegisterDomainInput) Validate ¶
func (s *RegisterDomainInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type RegisterDomainOutput ¶
type RegisterDomainOutput struct { // Identifier for tracking the progress of the request. To query the operation // status, use GetOperationDetail (https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_GetOperationDetail.html). // // OperationId is a required field OperationId *string `type:"string" required:"true"` // contains filtered or unexported fields }
The RegisterDomain response includes the following element.
func (RegisterDomainOutput) String ¶
func (s RegisterDomainOutput) String() string
String returns the string representation
type RegisterDomainRequest ¶
type RegisterDomainRequest struct { *aws.Request Input *RegisterDomainInput Copy func(*RegisterDomainInput) RegisterDomainRequest }
RegisterDomainRequest is the request type for the RegisterDomain API operation.
func (RegisterDomainRequest) Send ¶
func (r RegisterDomainRequest) Send(ctx context.Context) (*RegisterDomainResponse, error)
Send marshals and sends the RegisterDomain API request.
type RegisterDomainResponse ¶ added in v0.9.0
type RegisterDomainResponse struct { *RegisterDomainOutput // contains filtered or unexported fields }
RegisterDomainResponse is the response type for the RegisterDomain API operation.
func (*RegisterDomainResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *RegisterDomainResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the RegisterDomain request.
type RejectDomainTransferFromAnotherAwsAccountInput ¶ added in v0.21.0
type RejectDomainTransferFromAnotherAwsAccountInput struct { // The name of the domain that was specified when another AWS account submitted // a TransferDomainToAnotherAwsAccount (https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_TransferDomainToAnotherAwsAccount.html) // request. // // DomainName is a required field DomainName *string `type:"string" required:"true"` // contains filtered or unexported fields }
The RejectDomainTransferFromAnotherAwsAccount request includes the following element.
func (RejectDomainTransferFromAnotherAwsAccountInput) String ¶ added in v0.21.0
func (s RejectDomainTransferFromAnotherAwsAccountInput) String() string
String returns the string representation
func (*RejectDomainTransferFromAnotherAwsAccountInput) Validate ¶ added in v0.21.0
func (s *RejectDomainTransferFromAnotherAwsAccountInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type RejectDomainTransferFromAnotherAwsAccountOutput ¶ added in v0.21.0
type RejectDomainTransferFromAnotherAwsAccountOutput struct { // The identifier that TransferDomainToAnotherAwsAccount returned to track the // progress of the request. Because the transfer request was rejected, the value // is no longer valid, and you can't use GetOperationDetail to query the operation // status. OperationId *string `type:"string"` // contains filtered or unexported fields }
The RejectDomainTransferFromAnotherAwsAccount response includes the following element.
func (RejectDomainTransferFromAnotherAwsAccountOutput) String ¶ added in v0.21.0
func (s RejectDomainTransferFromAnotherAwsAccountOutput) String() string
String returns the string representation
type RejectDomainTransferFromAnotherAwsAccountRequest ¶ added in v0.21.0
type RejectDomainTransferFromAnotherAwsAccountRequest struct { *aws.Request Input *RejectDomainTransferFromAnotherAwsAccountInput Copy func(*RejectDomainTransferFromAnotherAwsAccountInput) RejectDomainTransferFromAnotherAwsAccountRequest }
RejectDomainTransferFromAnotherAwsAccountRequest is the request type for the RejectDomainTransferFromAnotherAwsAccount API operation.
func (RejectDomainTransferFromAnotherAwsAccountRequest) Send ¶ added in v0.21.0
func (r RejectDomainTransferFromAnotherAwsAccountRequest) Send(ctx context.Context) (*RejectDomainTransferFromAnotherAwsAccountResponse, error)
Send marshals and sends the RejectDomainTransferFromAnotherAwsAccount API request.
type RejectDomainTransferFromAnotherAwsAccountResponse ¶ added in v0.21.0
type RejectDomainTransferFromAnotherAwsAccountResponse struct { *RejectDomainTransferFromAnotherAwsAccountOutput // contains filtered or unexported fields }
RejectDomainTransferFromAnotherAwsAccountResponse is the response type for the RejectDomainTransferFromAnotherAwsAccount API operation.
func (*RejectDomainTransferFromAnotherAwsAccountResponse) SDKResponseMetdata ¶ added in v0.21.0
func (r *RejectDomainTransferFromAnotherAwsAccountResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the RejectDomainTransferFromAnotherAwsAccount request.
type RenewDomainInput ¶
type RenewDomainInput struct { // 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 CurrentExpiryYear *int64 `type:"integer" required:"true"` // The name of the domain that you want to renew. // // DomainName is a required field DomainName *string `type:"string" required:"true"` // 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 DurationInYears *int64 `min:"1" type:"integer"` // contains filtered or unexported fields }
A RenewDomain request includes the number of years that you want to renew for and the current expiration year.
func (RenewDomainInput) String ¶
func (s RenewDomainInput) String() string
String returns the string representation
func (*RenewDomainInput) Validate ¶
func (s *RenewDomainInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type RenewDomainOutput ¶
type RenewDomainOutput struct { // Identifier for tracking the progress of the request. To query the operation // status, use GetOperationDetail (https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_GetOperationDetail.html). // // OperationId is a required field OperationId *string `type:"string" required:"true"` // contains filtered or unexported fields }
func (RenewDomainOutput) String ¶
func (s RenewDomainOutput) String() string
String returns the string representation
type RenewDomainRequest ¶
type RenewDomainRequest struct { *aws.Request Input *RenewDomainInput Copy func(*RenewDomainInput) RenewDomainRequest }
RenewDomainRequest is the request type for the RenewDomain API operation.
func (RenewDomainRequest) Send ¶
func (r RenewDomainRequest) Send(ctx context.Context) (*RenewDomainResponse, error)
Send marshals and sends the RenewDomain API request.
type RenewDomainResponse ¶ added in v0.9.0
type RenewDomainResponse struct { *RenewDomainOutput // contains filtered or unexported fields }
RenewDomainResponse is the response type for the RenewDomain API operation.
func (*RenewDomainResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *RenewDomainResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the RenewDomain request.
type ResendContactReachabilityEmailInput ¶
type ResendContactReachabilityEmailInput struct { // The name of the domain for which you want Route 53 to resend a confirmation // email to the registrant contact. DomainName *string `locationName:"domainName" type:"string"` // contains filtered or unexported fields }
func (ResendContactReachabilityEmailInput) String ¶
func (s ResendContactReachabilityEmailInput) String() string
String returns the string representation
type ResendContactReachabilityEmailOutput ¶
type ResendContactReachabilityEmailOutput struct { // The domain name for which you requested a confirmation email. DomainName *string `locationName:"domainName" type:"string"` // The email address for the registrant contact at the time that we sent the // verification email. EmailAddress *string `locationName:"emailAddress" type:"string"` // True if the email address for the registrant contact has already been verified, // and false otherwise. If the email address has already been verified, we don't // send another confirmation email. IsAlreadyVerified *bool `locationName:"isAlreadyVerified" type:"boolean"` // contains filtered or unexported fields }
func (ResendContactReachabilityEmailOutput) String ¶
func (s ResendContactReachabilityEmailOutput) String() string
String returns the string representation
type ResendContactReachabilityEmailRequest ¶
type ResendContactReachabilityEmailRequest struct { *aws.Request Input *ResendContactReachabilityEmailInput Copy func(*ResendContactReachabilityEmailInput) ResendContactReachabilityEmailRequest }
ResendContactReachabilityEmailRequest is the request type for the ResendContactReachabilityEmail API operation.
func (ResendContactReachabilityEmailRequest) Send ¶
func (r ResendContactReachabilityEmailRequest) Send(ctx context.Context) (*ResendContactReachabilityEmailResponse, error)
Send marshals and sends the ResendContactReachabilityEmail API request.
type ResendContactReachabilityEmailResponse ¶ added in v0.9.0
type ResendContactReachabilityEmailResponse struct { *ResendContactReachabilityEmailOutput // contains filtered or unexported fields }
ResendContactReachabilityEmailResponse is the response type for the ResendContactReachabilityEmail API operation.
func (*ResendContactReachabilityEmailResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *ResendContactReachabilityEmailResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ResendContactReachabilityEmail request.
type RetrieveDomainAuthCodeInput ¶
type RetrieveDomainAuthCodeInput struct { // The name of the domain that you want to get an authorization code for. // // DomainName is a required field DomainName *string `type:"string" required:"true"` // contains filtered or unexported fields }
A request for the authorization code for the specified domain. To transfer a domain to another registrar, you provide this value to the new registrar.
func (RetrieveDomainAuthCodeInput) String ¶
func (s RetrieveDomainAuthCodeInput) String() string
String returns the string representation
func (*RetrieveDomainAuthCodeInput) Validate ¶
func (s *RetrieveDomainAuthCodeInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type RetrieveDomainAuthCodeOutput ¶
type RetrieveDomainAuthCodeOutput struct { // The authorization code for the domain. // // AuthCode is a required field AuthCode *string `type:"string" required:"true" sensitive:"true"` // contains filtered or unexported fields }
The RetrieveDomainAuthCode response includes the following element.
func (RetrieveDomainAuthCodeOutput) String ¶
func (s RetrieveDomainAuthCodeOutput) String() string
String returns the string representation
type RetrieveDomainAuthCodeRequest ¶
type RetrieveDomainAuthCodeRequest struct { *aws.Request Input *RetrieveDomainAuthCodeInput Copy func(*RetrieveDomainAuthCodeInput) RetrieveDomainAuthCodeRequest }
RetrieveDomainAuthCodeRequest is the request type for the RetrieveDomainAuthCode API operation.
func (RetrieveDomainAuthCodeRequest) Send ¶
func (r RetrieveDomainAuthCodeRequest) Send(ctx context.Context) (*RetrieveDomainAuthCodeResponse, error)
Send marshals and sends the RetrieveDomainAuthCode API request.
type RetrieveDomainAuthCodeResponse ¶ added in v0.9.0
type RetrieveDomainAuthCodeResponse struct { *RetrieveDomainAuthCodeOutput // contains filtered or unexported fields }
RetrieveDomainAuthCodeResponse is the response type for the RetrieveDomainAuthCode API operation.
func (*RetrieveDomainAuthCodeResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *RetrieveDomainAuthCodeResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the RetrieveDomainAuthCode request.
type Tag ¶
type Tag struct { // The key (name) of a tag. // // Valid values: A-Z, a-z, 0-9, space, ".:/=+\-@" // // Constraints: Each key can be 1-128 characters long. Key *string `type:"string"` // The value of a tag. // // Valid values: A-Z, a-z, 0-9, space, ".:/=+\-@" // // Constraints: Each value can be 0-256 characters long. Value *string `type:"string"` // contains filtered or unexported fields }
Each tag includes the following elements.
type TransferDomainInput ¶
type TransferDomainInput struct { // Provides detailed contact information. // // AdminContact is a required field AdminContact *ContactDetail `type:"structure" required:"true" sensitive:"true"` // The authorization code for the domain. You get this value from the current // registrar. AuthCode *string `type:"string" sensitive:"true"` // Indicates whether the domain will be automatically renewed (true) or not // (false). Autorenewal only takes effect after the account is charged. // // Default: true AutoRenew *bool `type:"boolean"` // The name of the domain that you want to transfer to Route 53. The top-level // domain (TLD), such as .com, must be a TLD that Route 53 supports. For a list // of supported TLDs, 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. // // The domain name can contain only the following characters: // // * Letters a through z. Domain names are not case sensitive. // // * Numbers 0 through 9. // // * Hyphen (-). You can't specify a hyphen at the beginning or end of a // label. // // * Period (.) to separate the labels in the name, such as the . in example.com. // // DomainName is a required field DomainName *string `type:"string" required:"true"` // The number of years that you want to register the domain for. Domains are // registered for a minimum of one year. The maximum period depends on the top-level // domain. // // Default: 1 // // DurationInYears is a required field DurationInYears *int64 `min:"1" type:"integer" required:"true"` // Reserved for future use. IdnLangCode *string `type:"string"` // Contains details for the host and glue IP addresses. Nameservers []Nameserver `type:"list"` // Whether you want to conceal contact information from WHOIS queries. If you // specify true, WHOIS ("who is") queries return contact information either // for Amazon Registrar (for .com, .net, and .org domains) or for our registrar // associate, Gandi (for all other TLDs). If you specify false, WHOIS queries // return the information that you entered for the admin contact. // // Default: true PrivacyProtectAdminContact *bool `type:"boolean"` // Whether you want to conceal contact information from WHOIS queries. If you // specify true, WHOIS ("who is") queries return contact information either // for Amazon Registrar (for .com, .net, and .org domains) or for our registrar // associate, Gandi (for all other TLDs). If you specify false, WHOIS queries // return the information that you entered for the registrant contact (domain // owner). // // Default: true PrivacyProtectRegistrantContact *bool `type:"boolean"` // Whether you want to conceal contact information from WHOIS queries. If you // specify true, WHOIS ("who is") queries return contact information either // for Amazon Registrar (for .com, .net, and .org domains) or for our registrar // associate, Gandi (for all other TLDs). If you specify false, WHOIS queries // return the information that you entered for the technical contact. // // Default: true PrivacyProtectTechContact *bool `type:"boolean"` // Provides detailed contact information. // // RegistrantContact is a required field RegistrantContact *ContactDetail `type:"structure" required:"true" sensitive:"true"` // Provides detailed contact information. // // TechContact is a required field TechContact *ContactDetail `type:"structure" required:"true" sensitive:"true"` // contains filtered or unexported fields }
The TransferDomain request includes the following elements.
func (TransferDomainInput) String ¶
func (s TransferDomainInput) String() string
String returns the string representation
func (*TransferDomainInput) Validate ¶
func (s *TransferDomainInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type TransferDomainOutput ¶
type TransferDomainOutput struct { // Identifier for tracking the progress of the request. To query the operation // status, use GetOperationDetail (https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_GetOperationDetail.html). // // OperationId is a required field OperationId *string `type:"string" required:"true"` // contains filtered or unexported fields }
The TransferDomain response includes the following element.
func (TransferDomainOutput) String ¶
func (s TransferDomainOutput) String() string
String returns the string representation
type TransferDomainRequest ¶
type TransferDomainRequest struct { *aws.Request Input *TransferDomainInput Copy func(*TransferDomainInput) TransferDomainRequest }
TransferDomainRequest is the request type for the TransferDomain API operation.
func (TransferDomainRequest) Send ¶
func (r TransferDomainRequest) Send(ctx context.Context) (*TransferDomainResponse, error)
Send marshals and sends the TransferDomain API request.
type TransferDomainResponse ¶ added in v0.9.0
type TransferDomainResponse struct { *TransferDomainOutput // contains filtered or unexported fields }
TransferDomainResponse is the response type for the TransferDomain API operation.
func (*TransferDomainResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *TransferDomainResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the TransferDomain request.
type TransferDomainToAnotherAwsAccountInput ¶ added in v0.21.0
type TransferDomainToAnotherAwsAccountInput struct { // The account ID of the AWS account that you want to transfer the domain to, // for example, 111122223333. // // AccountId is a required field AccountId *string `type:"string" required:"true"` // The name of the domain that you want to transfer from the current AWS account // to another account. // // DomainName is a required field DomainName *string `type:"string" required:"true"` // contains filtered or unexported fields }
The TransferDomainToAnotherAwsAccount request includes the following elements.
func (TransferDomainToAnotherAwsAccountInput) String ¶ added in v0.21.0
func (s TransferDomainToAnotherAwsAccountInput) String() string
String returns the string representation
func (*TransferDomainToAnotherAwsAccountInput) Validate ¶ added in v0.21.0
func (s *TransferDomainToAnotherAwsAccountInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type TransferDomainToAnotherAwsAccountOutput ¶ added in v0.21.0
type TransferDomainToAnotherAwsAccountOutput struct { // Identifier for tracking the progress of the request. To query the operation // status, use GetOperationDetail (https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_GetOperationDetail.html). OperationId *string `type:"string"` // To finish transferring a domain to another AWS account, the account that // the domain is being transferred to must submit an AcceptDomainTransferFromAnotherAwsAccount // (https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_AcceptDomainTransferFromAnotherAwsAccount.html) // request. The request must include the value of the Password element that // was returned in the TransferDomainToAnotherAwsAccount response. Password *string `type:"string"` // contains filtered or unexported fields }
The TransferDomainToAnotherAwsAccount response includes the following elements.
func (TransferDomainToAnotherAwsAccountOutput) String ¶ added in v0.21.0
func (s TransferDomainToAnotherAwsAccountOutput) String() string
String returns the string representation
type TransferDomainToAnotherAwsAccountRequest ¶ added in v0.21.0
type TransferDomainToAnotherAwsAccountRequest struct { *aws.Request Input *TransferDomainToAnotherAwsAccountInput Copy func(*TransferDomainToAnotherAwsAccountInput) TransferDomainToAnotherAwsAccountRequest }
TransferDomainToAnotherAwsAccountRequest is the request type for the TransferDomainToAnotherAwsAccount API operation.
func (TransferDomainToAnotherAwsAccountRequest) Send ¶ added in v0.21.0
func (r TransferDomainToAnotherAwsAccountRequest) Send(ctx context.Context) (*TransferDomainToAnotherAwsAccountResponse, error)
Send marshals and sends the TransferDomainToAnotherAwsAccount API request.
type TransferDomainToAnotherAwsAccountResponse ¶ added in v0.21.0
type TransferDomainToAnotherAwsAccountResponse struct { *TransferDomainToAnotherAwsAccountOutput // contains filtered or unexported fields }
TransferDomainToAnotherAwsAccountResponse is the response type for the TransferDomainToAnotherAwsAccount API operation.
func (*TransferDomainToAnotherAwsAccountResponse) SDKResponseMetdata ¶ added in v0.21.0
func (r *TransferDomainToAnotherAwsAccountResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the TransferDomainToAnotherAwsAccount request.
type Transferable ¶
type Transferable string
Whether the domain name can be transferred to Route 53.
You can transfer only domains that have a value of TRANSFERABLE for Transferable.
Valid values:
TRANSFERABLE ¶
The domain name can be transferred to Route 53.
UNTRANSFERRABLE ¶
The domain name can't be transferred to Route 53.
DONT_KNOW
Reserved for future use.
const ( TransferableTransferable Transferable = "TRANSFERABLE" TransferableUntransferable Transferable = "UNTRANSFERABLE" TransferableDontKnow Transferable = "DONT_KNOW" )
Enum values for Transferable
func (Transferable) MarshalValue ¶ added in v0.3.0
func (enum Transferable) MarshalValue() (string, error)
func (Transferable) MarshalValueBuf ¶ added in v0.3.0
func (enum Transferable) MarshalValueBuf(b []byte) ([]byte, error)
type UpdateDomainContactInput ¶
type UpdateDomainContactInput struct { // Provides detailed contact information. AdminContact *ContactDetail `type:"structure" sensitive:"true"` // The name of the domain that you want to update contact information for. // // DomainName is a required field DomainName *string `type:"string" required:"true"` // Provides detailed contact information. RegistrantContact *ContactDetail `type:"structure" sensitive:"true"` // Provides detailed contact information. TechContact *ContactDetail `type:"structure" sensitive:"true"` // contains filtered or unexported fields }
The UpdateDomainContact request includes the following elements.
func (UpdateDomainContactInput) String ¶
func (s UpdateDomainContactInput) String() string
String returns the string representation
func (*UpdateDomainContactInput) Validate ¶
func (s *UpdateDomainContactInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateDomainContactOutput ¶
type UpdateDomainContactOutput struct { // Identifier for tracking the progress of the request. To query the operation // status, use GetOperationDetail (https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_GetOperationDetail.html). // // OperationId is a required field OperationId *string `type:"string" required:"true"` // contains filtered or unexported fields }
The UpdateDomainContact response includes the following element.
func (UpdateDomainContactOutput) String ¶
func (s UpdateDomainContactOutput) String() string
String returns the string representation
type UpdateDomainContactPrivacyInput ¶
type UpdateDomainContactPrivacyInput struct { // Whether you want to conceal contact information from WHOIS queries. If you // specify true, WHOIS ("who is") queries return contact information either // for Amazon Registrar (for .com, .net, and .org domains) or for our registrar // associate, Gandi (for all other TLDs). If you specify false, WHOIS queries // return the information that you entered for the admin contact. AdminPrivacy *bool `type:"boolean"` // The name of the domain that you want to update the privacy setting for. // // DomainName is a required field DomainName *string `type:"string" required:"true"` // Whether you want to conceal contact information from WHOIS queries. If you // specify true, WHOIS ("who is") queries return contact information either // for Amazon Registrar (for .com, .net, and .org domains) or for our registrar // associate, Gandi (for all other TLDs). If you specify false, WHOIS queries // return the information that you entered for the registrant contact (domain // owner). RegistrantPrivacy *bool `type:"boolean"` // Whether you want to conceal contact information from WHOIS queries. If you // specify true, WHOIS ("who is") queries return contact information either // for Amazon Registrar (for .com, .net, and .org domains) or for our registrar // associate, Gandi (for all other TLDs). If you specify false, WHOIS queries // return the information that you entered for the technical contact. TechPrivacy *bool `type:"boolean"` // contains filtered or unexported fields }
The UpdateDomainContactPrivacy request includes the following elements.
func (UpdateDomainContactPrivacyInput) String ¶
func (s UpdateDomainContactPrivacyInput) String() string
String returns the string representation
func (*UpdateDomainContactPrivacyInput) Validate ¶
func (s *UpdateDomainContactPrivacyInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateDomainContactPrivacyOutput ¶
type UpdateDomainContactPrivacyOutput struct { // Identifier for tracking the progress of the request. To use this ID to query // the operation status, use GetOperationDetail. // // OperationId is a required field OperationId *string `type:"string" required:"true"` // contains filtered or unexported fields }
The UpdateDomainContactPrivacy response includes the following element.
func (UpdateDomainContactPrivacyOutput) String ¶
func (s UpdateDomainContactPrivacyOutput) String() string
String returns the string representation
type UpdateDomainContactPrivacyRequest ¶
type UpdateDomainContactPrivacyRequest struct { *aws.Request Input *UpdateDomainContactPrivacyInput Copy func(*UpdateDomainContactPrivacyInput) UpdateDomainContactPrivacyRequest }
UpdateDomainContactPrivacyRequest is the request type for the UpdateDomainContactPrivacy API operation.
func (UpdateDomainContactPrivacyRequest) Send ¶
func (r UpdateDomainContactPrivacyRequest) Send(ctx context.Context) (*UpdateDomainContactPrivacyResponse, error)
Send marshals and sends the UpdateDomainContactPrivacy API request.
type UpdateDomainContactPrivacyResponse ¶ added in v0.9.0
type UpdateDomainContactPrivacyResponse struct { *UpdateDomainContactPrivacyOutput // contains filtered or unexported fields }
UpdateDomainContactPrivacyResponse is the response type for the UpdateDomainContactPrivacy API operation.
func (*UpdateDomainContactPrivacyResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *UpdateDomainContactPrivacyResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the UpdateDomainContactPrivacy request.
type UpdateDomainContactRequest ¶
type UpdateDomainContactRequest struct { *aws.Request Input *UpdateDomainContactInput Copy func(*UpdateDomainContactInput) UpdateDomainContactRequest }
UpdateDomainContactRequest is the request type for the UpdateDomainContact API operation.
func (UpdateDomainContactRequest) Send ¶
func (r UpdateDomainContactRequest) Send(ctx context.Context) (*UpdateDomainContactResponse, error)
Send marshals and sends the UpdateDomainContact API request.
type UpdateDomainContactResponse ¶ added in v0.9.0
type UpdateDomainContactResponse struct { *UpdateDomainContactOutput // contains filtered or unexported fields }
UpdateDomainContactResponse is the response type for the UpdateDomainContact API operation.
func (*UpdateDomainContactResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *UpdateDomainContactResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the UpdateDomainContact request.
type UpdateDomainNameserversInput ¶
type UpdateDomainNameserversInput struct { // The name of the domain that you want to change name servers for. // // DomainName is a required field DomainName *string `type:"string" required:"true"` // The authorization key for .fi domains FIAuthKey *string `deprecated:"true" type:"string"` // A list of new name servers for the domain. // // Nameservers is a required field Nameservers []Nameserver `type:"list" required:"true"` // contains filtered or unexported fields }
Replaces the current set of name servers for the domain with the specified set of name servers. If you use Amazon Route 53 as your DNS service, specify the four name servers in the delegation set for the hosted zone for the domain.
If successful, this operation returns an operation ID that you can use to track the progress and completion of the action. If the request is not completed successfully, the domain registrant will be notified by email.
func (UpdateDomainNameserversInput) String ¶
func (s UpdateDomainNameserversInput) String() string
String returns the string representation
func (*UpdateDomainNameserversInput) Validate ¶
func (s *UpdateDomainNameserversInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateDomainNameserversOutput ¶
type UpdateDomainNameserversOutput struct { // Identifier for tracking the progress of the request. To query the operation // status, use GetOperationDetail (https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_GetOperationDetail.html). // // OperationId is a required field OperationId *string `type:"string" required:"true"` // contains filtered or unexported fields }
The UpdateDomainNameservers response includes the following element.
func (UpdateDomainNameserversOutput) String ¶
func (s UpdateDomainNameserversOutput) String() string
String returns the string representation
type UpdateDomainNameserversRequest ¶
type UpdateDomainNameserversRequest struct { *aws.Request Input *UpdateDomainNameserversInput Copy func(*UpdateDomainNameserversInput) UpdateDomainNameserversRequest }
UpdateDomainNameserversRequest is the request type for the UpdateDomainNameservers API operation.
func (UpdateDomainNameserversRequest) Send ¶
func (r UpdateDomainNameserversRequest) Send(ctx context.Context) (*UpdateDomainNameserversResponse, error)
Send marshals and sends the UpdateDomainNameservers API request.
type UpdateDomainNameserversResponse ¶ added in v0.9.0
type UpdateDomainNameserversResponse struct { *UpdateDomainNameserversOutput // contains filtered or unexported fields }
UpdateDomainNameserversResponse is the response type for the UpdateDomainNameservers API operation.
func (*UpdateDomainNameserversResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *UpdateDomainNameserversResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the UpdateDomainNameservers request.
type UpdateTagsForDomainInput ¶
type UpdateTagsForDomainInput struct { // The domain for which you want to add or update tags. // // DomainName is a required field DomainName *string `type:"string" required:"true"` // A list of the tag keys and values that you want to add or update. If you // specify a key that already exists, the corresponding value will be replaced. TagsToUpdate []Tag `type:"list"` // contains filtered or unexported fields }
The UpdateTagsForDomainRequest includes the following elements.
func (UpdateTagsForDomainInput) String ¶
func (s UpdateTagsForDomainInput) String() string
String returns the string representation
func (*UpdateTagsForDomainInput) Validate ¶
func (s *UpdateTagsForDomainInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateTagsForDomainOutput ¶
type UpdateTagsForDomainOutput struct {
// contains filtered or unexported fields
}
func (UpdateTagsForDomainOutput) String ¶
func (s UpdateTagsForDomainOutput) String() string
String returns the string representation
type UpdateTagsForDomainRequest ¶
type UpdateTagsForDomainRequest struct { *aws.Request Input *UpdateTagsForDomainInput Copy func(*UpdateTagsForDomainInput) UpdateTagsForDomainRequest }
UpdateTagsForDomainRequest is the request type for the UpdateTagsForDomain API operation.
func (UpdateTagsForDomainRequest) Send ¶
func (r UpdateTagsForDomainRequest) Send(ctx context.Context) (*UpdateTagsForDomainResponse, error)
Send marshals and sends the UpdateTagsForDomain API request.
type UpdateTagsForDomainResponse ¶ added in v0.9.0
type UpdateTagsForDomainResponse struct { *UpdateTagsForDomainOutput // contains filtered or unexported fields }
UpdateTagsForDomainResponse is the response type for the UpdateTagsForDomain API operation.
func (*UpdateTagsForDomainResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *UpdateTagsForDomainResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the UpdateTagsForDomain request.
type ViewBillingInput ¶
type ViewBillingInput struct { // The end date and time for the time period for which you want a list of billing // records. Specify the date and time in Unix time format and Coordinated Universal // time (UTC). End *time.Time `type:"timestamp"` // For an initial request for a list of billing records, omit this element. // If the number of billing records that are associated with the current AWS // account during the specified period is greater than the value that you specified // for MaxItems, you can use Marker to return additional billing records. Get // the value of NextPageMarker from the previous response, and submit another // request that includes the value of NextPageMarker in the Marker element. // // Constraints: The marker must match the value of NextPageMarker that was returned // in the previous response. Marker *string `type:"string"` // The number of billing records to be returned. // // Default: 20 MaxItems *int64 `type:"integer"` // The beginning date and time for the time period for which you want a list // of billing records. Specify the date and time in Unix time format and Coordinated // Universal time (UTC). Start *time.Time `type:"timestamp"` // contains filtered or unexported fields }
The ViewBilling request includes the following elements.
func (ViewBillingInput) String ¶
func (s ViewBillingInput) String() string
String returns the string representation
type ViewBillingOutput ¶
type ViewBillingOutput struct { // A summary of billing records. BillingRecords []BillingRecord `type:"list"` // If there are more billing records than you specified for MaxItems in the // request, submit another request and include the value of NextPageMarker in // the value of Marker. NextPageMarker *string `type:"string"` // contains filtered or unexported fields }
The ViewBilling response includes the following elements.
func (ViewBillingOutput) String ¶
func (s ViewBillingOutput) String() string
String returns the string representation
type ViewBillingRequest ¶
type ViewBillingRequest struct { *aws.Request Input *ViewBillingInput Copy func(*ViewBillingInput) ViewBillingRequest }
ViewBillingRequest is the request type for the ViewBilling API operation.
func (ViewBillingRequest) Send ¶
func (r ViewBillingRequest) Send(ctx context.Context) (*ViewBillingResponse, error)
Send marshals and sends the ViewBilling API request.
type ViewBillingResponse ¶ added in v0.9.0
type ViewBillingResponse struct { *ViewBillingOutput // contains filtered or unexported fields }
ViewBillingResponse is the response type for the ViewBilling API operation.
func (*ViewBillingResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *ViewBillingResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ViewBilling request.
Source Files ¶
- api_client.go
- api_doc.go
- api_enums.go
- api_errors.go
- api_op_AcceptDomainTransferFromAnotherAwsAccount.go
- api_op_CancelDomainTransferToAnotherAwsAccount.go
- api_op_CheckDomainAvailability.go
- api_op_CheckDomainTransferability.go
- api_op_DeleteTagsForDomain.go
- api_op_DisableDomainAutoRenew.go
- api_op_DisableDomainTransferLock.go
- api_op_EnableDomainAutoRenew.go
- api_op_EnableDomainTransferLock.go
- api_op_GetContactReachabilityStatus.go
- api_op_GetDomainDetail.go
- api_op_GetDomainSuggestions.go
- api_op_GetOperationDetail.go
- api_op_ListDomains.go
- api_op_ListOperations.go
- api_op_ListTagsForDomain.go
- api_op_RegisterDomain.go
- api_op_RejectDomainTransferFromAnotherAwsAccount.go
- api_op_RenewDomain.go
- api_op_ResendContactReachabilityEmail.go
- api_op_RetrieveDomainAuthCode.go
- api_op_TransferDomain.go
- api_op_TransferDomainToAnotherAwsAccount.go
- api_op_UpdateDomainContact.go
- api_op_UpdateDomainContactPrivacy.go
- api_op_UpdateDomainNameservers.go
- api_op_UpdateTagsForDomain.go
- api_op_ViewBilling.go
- api_types.go
Directories ¶
Path | Synopsis |
---|---|
Package route53domainsiface provides an interface to enable mocking the Amazon Route 53 Domains service client for testing your code.
|
Package route53domainsiface provides an interface to enable mocking the Amazon Route 53 Domains service client for testing your code. |