mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-06-01 04:40:38 +00:00
Update Go AWS SDK to the latest version
This commit is contained in:
committed by
Andrey Smirnov
parent
d08be990ef
commit
94a72b23ff
+277
-153
@@ -9,6 +9,8 @@ import (
|
||||
"github.com/aws/aws-sdk-go/aws"
|
||||
"github.com/aws/aws-sdk-go/aws/awsutil"
|
||||
"github.com/aws/aws-sdk-go/aws/request"
|
||||
"github.com/aws/aws-sdk-go/private/protocol"
|
||||
"github.com/aws/aws-sdk-go/private/protocol/jsonrpc"
|
||||
)
|
||||
|
||||
const opCheckDomainAvailability = "CheckDomainAvailability"
|
||||
@@ -16,7 +18,7 @@ const opCheckDomainAvailability = "CheckDomainAvailability"
|
||||
// CheckDomainAvailabilityRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the CheckDomainAvailability operation. The "output" return
|
||||
// value will be populated with the request's response once the request completes
|
||||
// successfuly.
|
||||
// successfully.
|
||||
//
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
@@ -102,7 +104,7 @@ const opCheckDomainTransferability = "CheckDomainTransferability"
|
||||
// CheckDomainTransferabilityRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the CheckDomainTransferability operation. The "output" return
|
||||
// value will be populated with the request's response once the request completes
|
||||
// successfuly.
|
||||
// successfully.
|
||||
//
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
@@ -186,7 +188,7 @@ const opDeleteTagsForDomain = "DeleteTagsForDomain"
|
||||
// DeleteTagsForDomainRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the DeleteTagsForDomain operation. The "output" return
|
||||
// value will be populated with the request's response once the request completes
|
||||
// successfuly.
|
||||
// successfully.
|
||||
//
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
@@ -220,6 +222,7 @@ func (c *Route53Domains) DeleteTagsForDomainRequest(input *DeleteTagsForDomainIn
|
||||
|
||||
output = &DeleteTagsForDomainOutput{}
|
||||
req = c.newRequest(op, input, output)
|
||||
req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
|
||||
return
|
||||
}
|
||||
|
||||
@@ -277,7 +280,7 @@ const opDisableDomainAutoRenew = "DisableDomainAutoRenew"
|
||||
// DisableDomainAutoRenewRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the DisableDomainAutoRenew operation. The "output" return
|
||||
// value will be populated with the request's response once the request completes
|
||||
// successfuly.
|
||||
// successfully.
|
||||
//
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
@@ -311,6 +314,7 @@ func (c *Route53Domains) DisableDomainAutoRenewRequest(input *DisableDomainAutoR
|
||||
|
||||
output = &DisableDomainAutoRenewOutput{}
|
||||
req = c.newRequest(op, input, output)
|
||||
req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
|
||||
return
|
||||
}
|
||||
|
||||
@@ -362,7 +366,7 @@ const opDisableDomainTransferLock = "DisableDomainTransferLock"
|
||||
// DisableDomainTransferLockRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the DisableDomainTransferLock operation. The "output" return
|
||||
// value will be populated with the request's response once the request completes
|
||||
// successfuly.
|
||||
// successfully.
|
||||
//
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
@@ -462,7 +466,7 @@ const opEnableDomainAutoRenew = "EnableDomainAutoRenew"
|
||||
// EnableDomainAutoRenewRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the EnableDomainAutoRenew operation. The "output" return
|
||||
// value will be populated with the request's response once the request completes
|
||||
// successfuly.
|
||||
// successfully.
|
||||
//
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
@@ -496,6 +500,7 @@ func (c *Route53Domains) EnableDomainAutoRenewRequest(input *EnableDomainAutoRen
|
||||
|
||||
output = &EnableDomainAutoRenewOutput{}
|
||||
req = c.newRequest(op, input, output)
|
||||
req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
|
||||
return
|
||||
}
|
||||
|
||||
@@ -508,9 +513,9 @@ func (c *Route53Domains) EnableDomainAutoRenewRequest(input *EnableDomainAutoRen
|
||||
// The period during which you can renew a domain name varies by TLD. For a
|
||||
// list of TLDs and their renewal policies, see "Renewal, restoration, and deletion
|
||||
// times" (http://wiki.gandi.net/en/domains/renew#renewal_restoration_and_deletion_times)
|
||||
// on the website for our registrar partner, Gandi. Route 53 requires that you
|
||||
// renew before the end of the renewal period that is listed on the Gandi website
|
||||
// so we can complete processing before the deadline.
|
||||
// on the website for our registrar associate, Gandi. Amazon Route 53 requires
|
||||
// that you renew before the end of the renewal period that is listed on the
|
||||
// Gandi website so we can complete processing before the deadline.
|
||||
//
|
||||
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
|
||||
// with awserr.Error's Code and Message methods to get detailed information about
|
||||
@@ -558,7 +563,7 @@ const opEnableDomainTransferLock = "EnableDomainTransferLock"
|
||||
// EnableDomainTransferLockRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the EnableDomainTransferLock operation. The "output" return
|
||||
// value will be populated with the request's response once the request completes
|
||||
// successfuly.
|
||||
// successfully.
|
||||
//
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
@@ -656,7 +661,7 @@ const opGetContactReachabilityStatus = "GetContactReachabilityStatus"
|
||||
// GetContactReachabilityStatusRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the GetContactReachabilityStatus operation. The "output" return
|
||||
// value will be populated with the request's response once the request completes
|
||||
// successfuly.
|
||||
// successfully.
|
||||
//
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
@@ -749,7 +754,7 @@ const opGetDomainDetail = "GetDomainDetail"
|
||||
// GetDomainDetailRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the GetDomainDetail operation. The "output" return
|
||||
// value will be populated with the request's response once the request completes
|
||||
// successfuly.
|
||||
// successfully.
|
||||
//
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
@@ -835,7 +840,7 @@ const opGetDomainSuggestions = "GetDomainSuggestions"
|
||||
// GetDomainSuggestionsRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the GetDomainSuggestions operation. The "output" return
|
||||
// value will be populated with the request's response once the request completes
|
||||
// successfuly.
|
||||
// successfully.
|
||||
//
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
@@ -921,7 +926,7 @@ const opGetOperationDetail = "GetOperationDetail"
|
||||
// GetOperationDetailRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the GetOperationDetail operation. The "output" return
|
||||
// value will be populated with the request's response once the request completes
|
||||
// successfuly.
|
||||
// successfully.
|
||||
//
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
@@ -1002,7 +1007,7 @@ const opListDomains = "ListDomains"
|
||||
// ListDomainsRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the ListDomains operation. The "output" return
|
||||
// value will be populated with the request's response once the request completes
|
||||
// successfuly.
|
||||
// successfully.
|
||||
//
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
@@ -1096,7 +1101,7 @@ func (c *Route53Domains) ListDomainsWithContext(ctx aws.Context, input *ListDoma
|
||||
// // Example iterating over at most 3 pages of a ListDomains operation.
|
||||
// pageNum := 0
|
||||
// err := client.ListDomainsPages(params,
|
||||
// func(page *ListDomainsOutput, lastPage bool) bool {
|
||||
// func(page *route53domains.ListDomainsOutput, lastPage bool) bool {
|
||||
// pageNum++
|
||||
// fmt.Println(page)
|
||||
// return pageNum <= 3
|
||||
@@ -1140,7 +1145,7 @@ const opListOperations = "ListOperations"
|
||||
// ListOperationsRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the ListOperations operation. The "output" return
|
||||
// value will be populated with the request's response once the request completes
|
||||
// successfuly.
|
||||
// successfully.
|
||||
//
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
@@ -1233,7 +1238,7 @@ func (c *Route53Domains) ListOperationsWithContext(ctx aws.Context, input *ListO
|
||||
// // Example iterating over at most 3 pages of a ListOperations operation.
|
||||
// pageNum := 0
|
||||
// err := client.ListOperationsPages(params,
|
||||
// func(page *ListOperationsOutput, lastPage bool) bool {
|
||||
// func(page *route53domains.ListOperationsOutput, lastPage bool) bool {
|
||||
// pageNum++
|
||||
// fmt.Println(page)
|
||||
// return pageNum <= 3
|
||||
@@ -1277,7 +1282,7 @@ const opListTagsForDomain = "ListTagsForDomain"
|
||||
// ListTagsForDomainRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the ListTagsForDomain operation. The "output" return
|
||||
// value will be populated with the request's response once the request completes
|
||||
// successfuly.
|
||||
// successfully.
|
||||
//
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
@@ -1369,7 +1374,7 @@ const opRegisterDomain = "RegisterDomain"
|
||||
// RegisterDomainRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the RegisterDomain operation. The "output" return
|
||||
// value will be populated with the request's response once the request completes
|
||||
// successfuly.
|
||||
// successfully.
|
||||
//
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
@@ -1408,9 +1413,10 @@ func (c *Route53Domains) RegisterDomainRequest(input *RegisterDomainInput) (req
|
||||
|
||||
// RegisterDomain API operation for Amazon Route 53 Domains.
|
||||
//
|
||||
// This operation registers a domain. Domains are registered by the AWS registrar
|
||||
// partner, Gandi. For some top-level domains (TLDs), this operation requires
|
||||
// extra parameters.
|
||||
// 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:
|
||||
//
|
||||
@@ -1424,8 +1430,10 @@ func (c *Route53Domains) RegisterDomainRequest(input *RegisterDomainInput) (req
|
||||
// choose whether to renew the registration.
|
||||
//
|
||||
// * Optionally enables privacy protection, so WHOIS queries return contact
|
||||
// information for our registrar partner, Gandi, instead of the information
|
||||
// you entered for registrant, admin, and tech contacts.
|
||||
// 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
|
||||
@@ -1490,7 +1498,7 @@ const opRenewDomain = "RenewDomain"
|
||||
// RenewDomainRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the RenewDomain operation. The "output" return
|
||||
// value will be populated with the request's response once the request completes
|
||||
// successfuly.
|
||||
// successfully.
|
||||
//
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
@@ -1591,7 +1599,7 @@ const opResendContactReachabilityEmail = "ResendContactReachabilityEmail"
|
||||
// ResendContactReachabilityEmailRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the ResendContactReachabilityEmail operation. The "output" return
|
||||
// value will be populated with the request's response once the request completes
|
||||
// successfuly.
|
||||
// successfully.
|
||||
//
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
@@ -1681,7 +1689,7 @@ const opRetrieveDomainAuthCode = "RetrieveDomainAuthCode"
|
||||
// RetrieveDomainAuthCodeRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the RetrieveDomainAuthCode operation. The "output" return
|
||||
// value will be populated with the request's response once the request completes
|
||||
// successfuly.
|
||||
// successfully.
|
||||
//
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
@@ -1766,7 +1774,7 @@ const opTransferDomain = "TransferDomain"
|
||||
// TransferDomainRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the TransferDomain operation. The "output" return
|
||||
// value will be populated with the request's response once the request completes
|
||||
// successfuly.
|
||||
// successfully.
|
||||
//
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
@@ -1806,8 +1814,9 @@ func (c *Route53Domains) TransferDomainRequest(input *TransferDomainInput) (req
|
||||
// TransferDomain API operation for Amazon Route 53 Domains.
|
||||
//
|
||||
// This operation transfers a domain from another registrar to Amazon Route
|
||||
// 53. When the transfer is complete, the domain is registered with the AWS
|
||||
// registrar partner, Gandi.
|
||||
// 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 transfer requirements, a detailed procedure, and information about viewing
|
||||
// the status of a domain transfer, see Transferring Registration for a Domain
|
||||
@@ -1887,7 +1896,7 @@ const opUpdateDomainContact = "UpdateDomainContact"
|
||||
// UpdateDomainContactRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the UpdateDomainContact operation. The "output" return
|
||||
// value will be populated with the request's response once the request completes
|
||||
// successfuly.
|
||||
// successfully.
|
||||
//
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
@@ -1926,9 +1935,9 @@ func (c *Route53Domains) UpdateDomainContactRequest(input *UpdateDomainContactIn
|
||||
|
||||
// UpdateDomainContact API operation for Amazon Route 53 Domains.
|
||||
//
|
||||
// This operation updates the contact information for a particular domain. Information
|
||||
// for at least one contact (registrant, administrator, or technical) must be
|
||||
// supplied for update.
|
||||
// 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
|
||||
@@ -1988,7 +1997,7 @@ const opUpdateDomainContactPrivacy = "UpdateDomainContactPrivacy"
|
||||
// UpdateDomainContactPrivacyRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the UpdateDomainContactPrivacy operation. The "output" return
|
||||
// value will be populated with the request's response once the request completes
|
||||
// successfuly.
|
||||
// successfully.
|
||||
//
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
@@ -2028,16 +2037,16 @@ func (c *Route53Domains) UpdateDomainContactPrivacyRequest(input *UpdateDomainCo
|
||||
// UpdateDomainContactPrivacy API operation for Amazon Route 53 Domains.
|
||||
//
|
||||
// This operation updates the specified domain contact's privacy setting. When
|
||||
// the privacy option is enabled, personal information such as postal or email
|
||||
// address is hidden from the results of a public WHOIS query. The privacy services
|
||||
// are provided by the AWS registrar, Gandi. For more information, see the Gandi
|
||||
// privacy features (http://www.gandi.net/domain/whois/?currency=USD&lang=en).
|
||||
// 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 only affects the privacy of the specified contact type (registrant,
|
||||
// administrator, or tech). Successful acceptance returns an operation ID that
|
||||
// you can use with GetOperationDetail to track the progress and completion
|
||||
// of the action. If the request is not completed successfully, the domain registrant
|
||||
// will be notified by email.
|
||||
// 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
|
||||
// to track the progress and completion of the action. If the request doesn't
|
||||
// complete successfully, the domain registrant will be notified by email.
|
||||
//
|
||||
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
|
||||
// with awserr.Error's Code and Message methods to get detailed information about
|
||||
@@ -2092,7 +2101,7 @@ const opUpdateDomainNameservers = "UpdateDomainNameservers"
|
||||
// UpdateDomainNameserversRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the UpdateDomainNameservers operation. The "output" return
|
||||
// value will be populated with the request's response once the request completes
|
||||
// successfuly.
|
||||
// successfully.
|
||||
//
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
@@ -2193,7 +2202,7 @@ const opUpdateTagsForDomain = "UpdateTagsForDomain"
|
||||
// UpdateTagsForDomainRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the UpdateTagsForDomain operation. The "output" return
|
||||
// value will be populated with the request's response once the request completes
|
||||
// successfuly.
|
||||
// successfully.
|
||||
//
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
@@ -2227,6 +2236,7 @@ func (c *Route53Domains) UpdateTagsForDomainRequest(input *UpdateTagsForDomainIn
|
||||
|
||||
output = &UpdateTagsForDomainOutput{}
|
||||
req = c.newRequest(op, input, output)
|
||||
req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
|
||||
return
|
||||
}
|
||||
|
||||
@@ -2284,7 +2294,7 @@ const opViewBilling = "ViewBilling"
|
||||
// ViewBillingRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the ViewBilling operation. The "output" return
|
||||
// value will be populated with the request's response once the request completes
|
||||
// successfuly.
|
||||
// successfully.
|
||||
//
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
@@ -2366,7 +2376,7 @@ type BillingRecord struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
// The date that the operation was billed, in Unix format.
|
||||
BillDate *time.Time `type:"timestamp" timestampFormat:"unix"`
|
||||
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
|
||||
@@ -2489,28 +2499,46 @@ type CheckDomainAvailabilityOutput struct {
|
||||
//
|
||||
// Valid values:
|
||||
//
|
||||
// AVAILABLEThe domain name is available.
|
||||
// AVAILABLE
|
||||
//
|
||||
// AVAILABLE_RESERVEDThe domain name is reserved under specific conditions.
|
||||
// The domain name is available.
|
||||
//
|
||||
// AVAILABLE_PREORDERThe domain name is available and can be preordered.
|
||||
// AVAILABLE_RESERVED
|
||||
//
|
||||
// DONT_KNOWThe TLD registry didn't reply with a definitive answer about whether
|
||||
// the domain name is available. Amazon Route 53 can return this response for
|
||||
// a variety of reasons, for example, the registry is performing maintenance.
|
||||
// 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. Amazon Route 53 can return this response for a
|
||||
// variety of reasons, for example, the registry is performing maintenance.
|
||||
// Try again later.
|
||||
//
|
||||
// PENDINGThe 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.
|
||||
// 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.
|
||||
//
|
||||
// RESERVEDThe domain name has been reserved for another person or organization.
|
||||
// RESERVED
|
||||
//
|
||||
// UNAVAILABLEThe domain name is not available.
|
||||
// The domain name has been reserved for another person or organization.
|
||||
//
|
||||
// UNAVAILABLE_PREMIUMThe domain name is not available.
|
||||
// UNAVAILABLE
|
||||
//
|
||||
// UNAVAILABLE_RESTRICTEDThe domain name is forbidden.
|
||||
// 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 *string `type:"string" required:"true" enum:"DomainAvailability"`
|
||||
@@ -2539,7 +2567,7 @@ 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"`
|
||||
AuthCode *string `type:"string" sensitive:"true"`
|
||||
|
||||
// The name of the domain that you want to transfer to Amazon Route 53.
|
||||
//
|
||||
@@ -2615,7 +2643,7 @@ func (s *CheckDomainTransferabilityOutput) SetTransferability(v *DomainTransfera
|
||||
|
||||
// ContactDetail includes the following elements.
|
||||
type ContactDetail struct {
|
||||
_ struct{} `type:"structure"`
|
||||
_ struct{} `type:"structure" sensitive:"true"`
|
||||
|
||||
// First line of the contact's address.
|
||||
AddressLine1 *string `type:"string"`
|
||||
@@ -2979,28 +3007,46 @@ type DomainSuggestion struct {
|
||||
//
|
||||
// Valid values:
|
||||
//
|
||||
// AVAILABLEThe domain name is available.
|
||||
// AVAILABLE
|
||||
//
|
||||
// AVAILABLE_RESERVEDThe domain name is reserved under specific conditions.
|
||||
// The domain name is available.
|
||||
//
|
||||
// AVAILABLE_PREORDERThe domain name is available and can be preordered.
|
||||
// AVAILABLE_RESERVED
|
||||
//
|
||||
// DONT_KNOWThe TLD registry didn't reply with a definitive answer about whether
|
||||
// the domain name is available. Amazon Route 53 can return this response for
|
||||
// a variety of reasons, for example, the registry is performing maintenance.
|
||||
// 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. Amazon Route 53 can return this response for a
|
||||
// variety of reasons, for example, the registry is performing maintenance.
|
||||
// Try again later.
|
||||
//
|
||||
// PENDINGThe 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.
|
||||
// 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.
|
||||
//
|
||||
// RESERVEDThe domain name has been reserved for another person or organization.
|
||||
// RESERVED
|
||||
//
|
||||
// UNAVAILABLEThe domain name is not available.
|
||||
// The domain name has been reserved for another person or organization.
|
||||
//
|
||||
// UNAVAILABLE_PREMIUMThe domain name is not available.
|
||||
// UNAVAILABLE
|
||||
//
|
||||
// UNAVAILABLE_RESTRICTEDThe domain name is forbidden.
|
||||
// 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.
|
||||
@@ -3042,7 +3088,7 @@ type DomainSummary struct {
|
||||
DomainName *string `type:"string" required:"true"`
|
||||
|
||||
// Expiration date of the domain in Coordinated Universal Time (UTC).
|
||||
Expiry *time.Time `type:"timestamp" timestampFormat:"unix"`
|
||||
Expiry *time.Time `type:"timestamp"`
|
||||
|
||||
// Indicates whether a domain is locked from unauthorized transfer to another
|
||||
// party.
|
||||
@@ -3083,6 +3129,8 @@ func (s *DomainSummary) SetTransferLock(v bool) *DomainSummary {
|
||||
return s
|
||||
}
|
||||
|
||||
// A complex type that contains information about whether the specified domain
|
||||
// can be transferred to Amazon Route 53.
|
||||
type DomainTransferability struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
@@ -3092,11 +3140,17 @@ type DomainTransferability struct {
|
||||
//
|
||||
// Valid values:
|
||||
//
|
||||
// TRANSFERABLEThe domain name can be transferred to Amazon Route 53.
|
||||
// TRANSFERABLE
|
||||
//
|
||||
// UNTRANSFERRABLEThe domain name can't be transferred to Amazon Route 53.
|
||||
// The domain name can be transferred to Amazon Route 53.
|
||||
//
|
||||
// DONT_KNOWReserved for future use.
|
||||
// UNTRANSFERRABLE
|
||||
//
|
||||
// The domain name can't be transferred to Amazon Route 53.
|
||||
//
|
||||
// DONT_KNOW
|
||||
//
|
||||
// Reserved for future use.
|
||||
Transferable *string `type:"string" enum:"Transferable"`
|
||||
}
|
||||
|
||||
@@ -3238,7 +3292,33 @@ func (s *EnableDomainTransferLockOutput) SetOperationId(v string) *EnableDomainT
|
||||
type ExtraParam struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
// Name of the additional parameter required by the top-level domain.
|
||||
// Name of the additional parameter required by the top-level domain. Here are
|
||||
// the top-level domains that require additional parameters and which parameters
|
||||
// they require:
|
||||
//
|
||||
// * .com.au and .net.au: AU_ID_NUMBER and AU_ID_TYPE
|
||||
//
|
||||
// * .ca: BRAND_NUMBER, CA_LEGAL_TYPE, and CA_BUSINESS_ENTITY_TYPE
|
||||
//
|
||||
// * .es: ES_IDENTIFICATION, ES_IDENTIFICATION_TYPE, and ES_LEGAL_FORM
|
||||
//
|
||||
// * .fi: BIRTH_DATE_IN_YYYY_MM_DD, FI_BUSINESS_NUMBER, FI_ID_NUMBER, FI_NATIONALITY,
|
||||
// and FI_ORGANIZATION_TYPE
|
||||
//
|
||||
// * .fr: BRAND_NUMBER, BIRTH_DEPARTMENT, BIRTH_DATE_IN_YYYY_MM_DD, BIRTH_COUNTRY,
|
||||
// and BIRTH_CITY
|
||||
//
|
||||
// * .it: BIRTH_COUNTRY, IT_PIN, and IT_REGISTRANT_ENTITY_TYPE
|
||||
//
|
||||
// * .ru: BIRTH_DATE_IN_YYYY_MM_DD and RU_PASSPORT_DATA
|
||||
//
|
||||
// * .se: BIRTH_COUNTRY and SE_ID_NUMBER
|
||||
//
|
||||
// * .sg: SG_ID_NUMBER
|
||||
//
|
||||
// * .co.uk, .me.uk, and .org.uk: UK_CONTACT_TYPE and UK_COMPANY_NUMBER
|
||||
//
|
||||
// In addition, many TLDs require VAT_NUMBER.
|
||||
//
|
||||
// Name is a required field
|
||||
Name *string `type:"string" required:"true" enum:"ExtraParamName"`
|
||||
@@ -3320,11 +3400,17 @@ type GetContactReachabilityStatusOutput struct {
|
||||
|
||||
// Whether the registrant contact has responded. Values include the following:
|
||||
//
|
||||
// PENDINGWe sent the confirmation email and haven't received a response yet.
|
||||
// PENDING
|
||||
//
|
||||
// DONEWe sent the email and got confirmation from the registrant contact.
|
||||
// We sent the confirmation email and haven't received a response yet.
|
||||
//
|
||||
// EXPIREDThe time limit expired before the registrant contact responded.
|
||||
// DONE
|
||||
//
|
||||
// We sent the email and got confirmation from the registrant contact.
|
||||
//
|
||||
// EXPIRED
|
||||
//
|
||||
// The time limit expired before the registrant contact responded.
|
||||
Status *string `locationName:"status" type:"string" enum:"ReachabilityStatus"`
|
||||
}
|
||||
|
||||
@@ -3404,20 +3490,21 @@ type GetDomainDetailOutput struct {
|
||||
// Provides details about the domain administrative contact.
|
||||
//
|
||||
// AdminContact is a required field
|
||||
AdminContact *ContactDetail `type:"structure" required:"true"`
|
||||
AdminContact *ContactDetail `type:"structure" required:"true" sensitive:"true"`
|
||||
|
||||
// Specifies whether contact information for the admin contact is concealed
|
||||
// from WHOIS queries. If the value is true, WHOIS ("who is") queries will return
|
||||
// contact information for our registrar partner, Gandi, instead of the contact
|
||||
// information that you enter.
|
||||
// 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 format is Unix time.
|
||||
CreationDate *time.Time `type:"timestamp" timestampFormat:"unix"`
|
||||
// query. The date and time is in Coordinated Universal time (UTC).
|
||||
CreationDate *time.Time `type:"timestamp"`
|
||||
|
||||
// Reserved for future use.
|
||||
DnsSec *string `type:"string"`
|
||||
@@ -3428,8 +3515,8 @@ type GetDomainDetailOutput struct {
|
||||
DomainName *string `type:"string" required:"true"`
|
||||
|
||||
// The date when the registration for the domain is set to expire. The date
|
||||
// format is Unix time.
|
||||
ExpirationDate *time.Time `type:"timestamp" timestampFormat:"unix"`
|
||||
// and time is in Coordinated Universal time (UTC).
|
||||
ExpirationDate *time.Time `type:"timestamp"`
|
||||
|
||||
// The name of the domain.
|
||||
//
|
||||
@@ -3439,16 +3526,20 @@ type GetDomainDetailOutput struct {
|
||||
// Provides details about the domain registrant.
|
||||
//
|
||||
// RegistrantContact is a required field
|
||||
RegistrantContact *ContactDetail `type:"structure" required:"true"`
|
||||
RegistrantContact *ContactDetail `type:"structure" required:"true" sensitive:"true"`
|
||||
|
||||
// Specifies whether contact information for the registrant contact is concealed
|
||||
// from WHOIS queries. If the value is true, WHOIS ("who is") queries will return
|
||||
// contact information for our registrar partner, Gandi, instead of the contact
|
||||
// information that you enter.
|
||||
// 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. Amazon
|
||||
// Route 53 domains are registered by registrar Gandi. The value is "GANDI SAS".
|
||||
// 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.
|
||||
@@ -3480,17 +3571,18 @@ type GetDomainDetailOutput struct {
|
||||
// Provides details about the domain technical contact.
|
||||
//
|
||||
// TechContact is a required field
|
||||
TechContact *ContactDetail `type:"structure" required:"true"`
|
||||
TechContact *ContactDetail `type:"structure" required:"true" sensitive:"true"`
|
||||
|
||||
// Specifies whether contact information for the tech contact is concealed from
|
||||
// WHOIS queries. If the value is true, WHOIS ("who is") queries will return
|
||||
// contact information for our registrar partner, Gandi, instead of the contact
|
||||
// information that you enter.
|
||||
// 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 format is Unix time.
|
||||
UpdatedDate *time.Time `type:"timestamp" timestampFormat:"unix"`
|
||||
// The date and time is in 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.
|
||||
@@ -3788,7 +3880,7 @@ type GetOperationDetailOutput struct {
|
||||
Status *string `type:"string" enum:"OperationStatus"`
|
||||
|
||||
// The date when the request was submitted.
|
||||
SubmittedDate *time.Time `type:"timestamp" timestampFormat:"unix"`
|
||||
SubmittedDate *time.Time `type:"timestamp"`
|
||||
|
||||
// The type of operation that was requested.
|
||||
Type *string `type:"string" enum:"OperationType"`
|
||||
@@ -3935,6 +4027,11 @@ type ListOperationsInput struct {
|
||||
//
|
||||
// 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 Coordinated Universal time (UTC).
|
||||
SubmittedSince *time.Time `type:"timestamp"`
|
||||
}
|
||||
|
||||
// String returns the string representation
|
||||
@@ -3959,6 +4056,12 @@ func (s *ListOperationsInput) SetMaxItems(v int64) *ListOperationsInput {
|
||||
return s
|
||||
}
|
||||
|
||||
// SetSubmittedSince sets the SubmittedSince field's value.
|
||||
func (s *ListOperationsInput) SetSubmittedSince(v time.Time) *ListOperationsInput {
|
||||
s.SubmittedSince = &v
|
||||
return s
|
||||
}
|
||||
|
||||
// The ListOperations response includes the following elements.
|
||||
type ListOperationsOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
@@ -4133,7 +4236,7 @@ type OperationSummary struct {
|
||||
// The date when the request was submitted.
|
||||
//
|
||||
// SubmittedDate is a required field
|
||||
SubmittedDate *time.Time `type:"timestamp" timestampFormat:"unix" required:"true"`
|
||||
SubmittedDate *time.Time `type:"timestamp" required:"true"`
|
||||
|
||||
// Type of the action requested.
|
||||
//
|
||||
@@ -4182,7 +4285,7 @@ type RegisterDomainInput struct {
|
||||
// Provides detailed contact information.
|
||||
//
|
||||
// AdminContact is a required field
|
||||
AdminContact *ContactDetail `type:"structure" required:"true"`
|
||||
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.
|
||||
@@ -4214,25 +4317,29 @@ type RegisterDomainInput struct {
|
||||
IdnLangCode *string `type:"string"`
|
||||
|
||||
// Whether you want to conceal contact information from WHOIS queries. If you
|
||||
// specify true, WHOIS ("who is") queries will return contact information for
|
||||
// our registrar partner, Gandi, instead of the contact information that you
|
||||
// enter.
|
||||
// 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 will return contact information for
|
||||
// our registrar partner, Gandi, instead of the contact information that you
|
||||
// enter.
|
||||
// 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 will return contact information for
|
||||
// our registrar partner, Gandi, instead of the contact information that you
|
||||
// enter.
|
||||
// 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"`
|
||||
@@ -4240,12 +4347,12 @@ type RegisterDomainInput struct {
|
||||
// Provides detailed contact information.
|
||||
//
|
||||
// RegistrantContact is a required field
|
||||
RegistrantContact *ContactDetail `type:"structure" required:"true"`
|
||||
RegistrantContact *ContactDetail `type:"structure" required:"true" sensitive:"true"`
|
||||
|
||||
// Provides detailed contact information.
|
||||
//
|
||||
// TechContact is a required field
|
||||
TechContact *ContactDetail `type:"structure" required:"true"`
|
||||
TechContact *ContactDetail `type:"structure" required:"true" sensitive:"true"`
|
||||
}
|
||||
|
||||
// String returns the string representation
|
||||
@@ -4601,7 +4708,7 @@ type RetrieveDomainAuthCodeOutput struct {
|
||||
// The authorization code for the domain.
|
||||
//
|
||||
// AuthCode is a required field
|
||||
AuthCode *string `type:"string" required:"true"`
|
||||
AuthCode *string `type:"string" required:"true" sensitive:"true"`
|
||||
}
|
||||
|
||||
// String returns the string representation
|
||||
@@ -4668,11 +4775,11 @@ type TransferDomainInput struct {
|
||||
// Provides detailed contact information.
|
||||
//
|
||||
// AdminContact is a required field
|
||||
AdminContact *ContactDetail `type:"structure" required:"true"`
|
||||
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"`
|
||||
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.
|
||||
@@ -4705,25 +4812,29 @@ type TransferDomainInput struct {
|
||||
Nameservers []*Nameserver `type:"list"`
|
||||
|
||||
// Whether you want to conceal contact information from WHOIS queries. If you
|
||||
// specify true, WHOIS ("who is") queries will return contact information for
|
||||
// our registrar partner, Gandi, instead of the contact information that you
|
||||
// enter.
|
||||
// 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 will return contact information for
|
||||
// our registrar partner, Gandi, instead of the contact information that you
|
||||
// enter.
|
||||
// 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 will return contact information for
|
||||
// our registrar partner, Gandi, instead of the contact information that you
|
||||
// enter.
|
||||
// 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"`
|
||||
@@ -4731,12 +4842,12 @@ type TransferDomainInput struct {
|
||||
// Provides detailed contact information.
|
||||
//
|
||||
// RegistrantContact is a required field
|
||||
RegistrantContact *ContactDetail `type:"structure" required:"true"`
|
||||
RegistrantContact *ContactDetail `type:"structure" required:"true" sensitive:"true"`
|
||||
|
||||
// Provides detailed contact information.
|
||||
//
|
||||
// TechContact is a required field
|
||||
TechContact *ContactDetail `type:"structure" required:"true"`
|
||||
TechContact *ContactDetail `type:"structure" required:"true" sensitive:"true"`
|
||||
}
|
||||
|
||||
// String returns the string representation
|
||||
@@ -4906,7 +5017,7 @@ type UpdateDomainContactInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
// Provides detailed contact information.
|
||||
AdminContact *ContactDetail `type:"structure"`
|
||||
AdminContact *ContactDetail `type:"structure" sensitive:"true"`
|
||||
|
||||
// The name of the domain that you want to update contact information for.
|
||||
//
|
||||
@@ -4914,10 +5025,10 @@ type UpdateDomainContactInput struct {
|
||||
DomainName *string `type:"string" required:"true"`
|
||||
|
||||
// Provides detailed contact information.
|
||||
RegistrantContact *ContactDetail `type:"structure"`
|
||||
RegistrantContact *ContactDetail `type:"structure" sensitive:"true"`
|
||||
|
||||
// Provides detailed contact information.
|
||||
TechContact *ContactDetail `type:"structure"`
|
||||
TechContact *ContactDetail `type:"structure" sensitive:"true"`
|
||||
}
|
||||
|
||||
// String returns the string representation
|
||||
@@ -5014,9 +5125,10 @@ type UpdateDomainContactPrivacyInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
// Whether you want to conceal contact information from WHOIS queries. If you
|
||||
// specify true, WHOIS ("who is") queries will return contact information for
|
||||
// our registrar partner, Gandi, instead of the contact information that you
|
||||
// enter.
|
||||
// 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.
|
||||
@@ -5025,15 +5137,18 @@ type UpdateDomainContactPrivacyInput struct {
|
||||
DomainName *string `type:"string" required:"true"`
|
||||
|
||||
// Whether you want to conceal contact information from WHOIS queries. If you
|
||||
// specify true, WHOIS ("who is") queries will return contact information for
|
||||
// our registrar partner, Gandi, instead of the contact information that you
|
||||
// enter.
|
||||
// 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 will return contact information for
|
||||
// our registrar partner, Gandi, instead of the contact information that you
|
||||
// enter.
|
||||
// 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"`
|
||||
}
|
||||
|
||||
@@ -5127,6 +5242,8 @@ type UpdateDomainNameserversInput struct {
|
||||
DomainName *string `type:"string" required:"true"`
|
||||
|
||||
// The authorization key for .fi domains
|
||||
//
|
||||
// Deprecated: FIAuthKey has been deprecated
|
||||
FIAuthKey *string `deprecated:"true" type:"string"`
|
||||
|
||||
// A list of new name servers for the domain.
|
||||
@@ -5284,8 +5401,8 @@ type ViewBillingInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
// The end date and time for the time period for which you want a list of billing
|
||||
// records. Specify the date in Unix time format.
|
||||
End *time.Time `type:"timestamp" timestampFormat:"unix"`
|
||||
// records. Specify the date and time in 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
|
||||
@@ -5304,8 +5421,9 @@ type ViewBillingInput struct {
|
||||
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 in Unix time format.
|
||||
Start *time.Time `type:"timestamp" timestampFormat:"unix"`
|
||||
// of billing records. Specify the date and time in Coordinated Universal time
|
||||
// (UTC).
|
||||
Start *time.Time `type:"timestamp"`
|
||||
}
|
||||
|
||||
// String returns the string representation
|
||||
@@ -6273,11 +6391,17 @@ const (
|
||||
//
|
||||
// Valid values:
|
||||
//
|
||||
// TRANSFERABLEThe domain name can be transferred to Amazon Route 53.
|
||||
// TRANSFERABLE
|
||||
//
|
||||
// UNTRANSFERRABLEThe domain name can't be transferred to Amazon Route 53.
|
||||
// The domain name can be transferred to Amazon Route 53.
|
||||
//
|
||||
// DONT_KNOWReserved for future use.
|
||||
// UNTRANSFERRABLE
|
||||
//
|
||||
// The domain name can't be transferred to Amazon Route 53.
|
||||
//
|
||||
// DONT_KNOW
|
||||
//
|
||||
// Reserved for future use.
|
||||
const (
|
||||
// TransferableTransferable is a Transferable enum value
|
||||
TransferableTransferable = "TRANSFERABLE"
|
||||
|
||||
+4
-2
@@ -29,8 +29,9 @@ var initRequest func(*request.Request)
|
||||
|
||||
// Service information constants
|
||||
const (
|
||||
ServiceName = "route53domains" // Service endpoint prefix API calls made to.
|
||||
EndpointsID = ServiceName // Service ID for Regions and Endpoints metadata.
|
||||
ServiceName = "route53domains" // Name of service.
|
||||
EndpointsID = ServiceName // ID to lookup a service endpoint with.
|
||||
ServiceID = "Route 53 Domains" // ServiceID is a unique identifer of a specific service.
|
||||
)
|
||||
|
||||
// New creates a new instance of the Route53Domains client with a session.
|
||||
@@ -55,6 +56,7 @@ func newClient(cfg aws.Config, handlers request.Handlers, endpoint, signingRegio
|
||||
cfg,
|
||||
metadata.ClientInfo{
|
||||
ServiceName: ServiceName,
|
||||
ServiceID: ServiceID,
|
||||
SigningName: signingName,
|
||||
SigningRegion: signingRegion,
|
||||
Endpoint: endpoint,
|
||||
|
||||
Reference in New Issue
Block a user