route53domains

package
v1.8.32 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 31, 2017 License: Apache-2.0 Imports: 8 Imported by: 0

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 the client for Amazon Route 53 Domains you will first need to create a new instance of it.

When creating a client for an AWS service you'll first need to have a Session already created. The Session provides configuration that can be shared between multiple service clients. Additional configuration can be applied to the Session and service's client when they are constructed. The aws package's Config type contains several fields such as Region for the AWS Region the client should make API requests too. The optional Config value can be provided as the variadic argument for Sessions and client creation.

Once the service's client is created you can use it to make API requests the AWS service. These clients are safe to use concurrently.

// Create a session to share configuration, and load external configuration.
sess := session.Must(session.NewSession())

// Create the service's client with the session.
svc := route53domains.New(sess)

See the SDK's documentation for more information on how to use service clients. https://docs.aws.amazon.com/sdk-for-go/api/

See aws package's Config type for more information on configuration options. https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config

See the Amazon Route 53 Domains client Route53Domains for more information on creating the service's client. https://docs.aws.amazon.com/sdk-for-go/api/service/route53domains/#New

Once the client is created you can make an API request to the service. Each API method takes a input parameter, and returns the service response and an error.

The API method will document which error codes the service can be returned by the operation if the service models the API operation's errors. These errors will also be available as const strings prefixed with "ErrCode".

result, err := svc.CheckDomainAvailability(params)
if err != nil {
    // Cast err to awserr.Error to handle specific error codes.
    aerr, ok := err.(awserr.Error)
    if ok && aerr.Code() == <error code to check for> {
        // Specific error code handling
    }
    return err
}

fmt.Println("CheckDomainAvailability result:")
fmt.Println(result)

Using the Client with Context

The service's client also provides methods to make API requests with a Context value. This allows you to control the timeout, and cancellation of pending requests. These methods also take request Option as variadic parameter to apply additional configuration to the API request.

ctx := context.Background()

result, err := svc.CheckDomainAvailabilityWithContext(ctx, params)

See the request package documentation for more information on using Context pattern with the SDK. https://docs.aws.amazon.com/sdk-for-go/api/aws/request/

Index

Examples

Constants

View Source
const (
	// ContactTypePerson is a ContactType enum value
	ContactTypePerson = "PERSON"

	// ContactTypeCompany is a ContactType enum value
	ContactTypeCompany = "COMPANY"

	// ContactTypeAssociation is a ContactType enum value
	ContactTypeAssociation = "ASSOCIATION"

	// ContactTypePublicBody is a ContactType enum value
	ContactTypePublicBody = "PUBLIC_BODY"

	// ContactTypeReseller is a ContactType enum value
	ContactTypeReseller = "RESELLER"
)
View Source
const (
	// CountryCodeAd is a CountryCode enum value
	CountryCodeAd = "AD"

	// CountryCodeAe is a CountryCode enum value
	CountryCodeAe = "AE"

	// CountryCodeAf is a CountryCode enum value
	CountryCodeAf = "AF"

	// CountryCodeAg is a CountryCode enum value
	CountryCodeAg = "AG"

	// CountryCodeAi is a CountryCode enum value
	CountryCodeAi = "AI"

	// CountryCodeAl is a CountryCode enum value
	CountryCodeAl = "AL"

	// CountryCodeAm is a CountryCode enum value
	CountryCodeAm = "AM"

	// CountryCodeAn is a CountryCode enum value
	CountryCodeAn = "AN"

	// CountryCodeAo is a CountryCode enum value
	CountryCodeAo = "AO"

	// CountryCodeAq is a CountryCode enum value
	CountryCodeAq = "AQ"

	// CountryCodeAr is a CountryCode enum value
	CountryCodeAr = "AR"

	// CountryCodeAs is a CountryCode enum value
	CountryCodeAs = "AS"

	// CountryCodeAt is a CountryCode enum value
	CountryCodeAt = "AT"

	// CountryCodeAu is a CountryCode enum value
	CountryCodeAu = "AU"

	// CountryCodeAw is a CountryCode enum value
	CountryCodeAw = "AW"

	// CountryCodeAz is a CountryCode enum value
	CountryCodeAz = "AZ"

	// CountryCodeBa is a CountryCode enum value
	CountryCodeBa = "BA"

	// CountryCodeBb is a CountryCode enum value
	CountryCodeBb = "BB"

	// CountryCodeBd is a CountryCode enum value
	CountryCodeBd = "BD"

	// CountryCodeBe is a CountryCode enum value
	CountryCodeBe = "BE"

	// CountryCodeBf is a CountryCode enum value
	CountryCodeBf = "BF"

	// CountryCodeBg is a CountryCode enum value
	CountryCodeBg = "BG"

	// CountryCodeBh is a CountryCode enum value
	CountryCodeBh = "BH"

	// CountryCodeBi is a CountryCode enum value
	CountryCodeBi = "BI"

	// CountryCodeBj is a CountryCode enum value
	CountryCodeBj = "BJ"

	// CountryCodeBl is a CountryCode enum value
	CountryCodeBl = "BL"

	// CountryCodeBm is a CountryCode enum value
	CountryCodeBm = "BM"

	// CountryCodeBn is a CountryCode enum value
	CountryCodeBn = "BN"

	// CountryCodeBo is a CountryCode enum value
	CountryCodeBo = "BO"

	// CountryCodeBr is a CountryCode enum value
	CountryCodeBr = "BR"

	// CountryCodeBs is a CountryCode enum value
	CountryCodeBs = "BS"

	// CountryCodeBt is a CountryCode enum value
	CountryCodeBt = "BT"

	// CountryCodeBw is a CountryCode enum value
	CountryCodeBw = "BW"

	// CountryCodeBy is a CountryCode enum value
	CountryCodeBy = "BY"

	// CountryCodeBz is a CountryCode enum value
	CountryCodeBz = "BZ"

	// CountryCodeCa is a CountryCode enum value
	CountryCodeCa = "CA"

	// CountryCodeCc is a CountryCode enum value
	CountryCodeCc = "CC"

	// CountryCodeCd is a CountryCode enum value
	CountryCodeCd = "CD"

	// CountryCodeCf is a CountryCode enum value
	CountryCodeCf = "CF"

	// CountryCodeCg is a CountryCode enum value
	CountryCodeCg = "CG"

	// CountryCodeCh is a CountryCode enum value
	CountryCodeCh = "CH"

	// CountryCodeCi is a CountryCode enum value
	CountryCodeCi = "CI"

	// CountryCodeCk is a CountryCode enum value
	CountryCodeCk = "CK"

	// CountryCodeCl is a CountryCode enum value
	CountryCodeCl = "CL"

	// CountryCodeCm is a CountryCode enum value
	CountryCodeCm = "CM"

	// CountryCodeCn is a CountryCode enum value
	CountryCodeCn = "CN"

	// CountryCodeCo is a CountryCode enum value
	CountryCodeCo = "CO"

	// CountryCodeCr is a CountryCode enum value
	CountryCodeCr = "CR"

	// CountryCodeCu is a CountryCode enum value
	CountryCodeCu = "CU"

	// CountryCodeCv is a CountryCode enum value
	CountryCodeCv = "CV"

	// CountryCodeCx is a CountryCode enum value
	CountryCodeCx = "CX"

	// CountryCodeCy is a CountryCode enum value
	CountryCodeCy = "CY"

	// CountryCodeCz is a CountryCode enum value
	CountryCodeCz = "CZ"

	// CountryCodeDe is a CountryCode enum value
	CountryCodeDe = "DE"

	// CountryCodeDj is a CountryCode enum value
	CountryCodeDj = "DJ"

	// CountryCodeDk is a CountryCode enum value
	CountryCodeDk = "DK"

	// CountryCodeDm is a CountryCode enum value
	CountryCodeDm = "DM"

	// CountryCodeDo is a CountryCode enum value
	CountryCodeDo = "DO"

	// CountryCodeDz is a CountryCode enum value
	CountryCodeDz = "DZ"

	// CountryCodeEc is a CountryCode enum value
	CountryCodeEc = "EC"

	// CountryCodeEe is a CountryCode enum value
	CountryCodeEe = "EE"

	// CountryCodeEg is a CountryCode enum value
	CountryCodeEg = "EG"

	// CountryCodeEr is a CountryCode enum value
	CountryCodeEr = "ER"

	// CountryCodeEs is a CountryCode enum value
	CountryCodeEs = "ES"

	// CountryCodeEt is a CountryCode enum value
	CountryCodeEt = "ET"

	// CountryCodeFi is a CountryCode enum value
	CountryCodeFi = "FI"

	// CountryCodeFj is a CountryCode enum value
	CountryCodeFj = "FJ"

	// CountryCodeFk is a CountryCode enum value
	CountryCodeFk = "FK"

	// CountryCodeFm is a CountryCode enum value
	CountryCodeFm = "FM"

	// CountryCodeFo is a CountryCode enum value
	CountryCodeFo = "FO"

	// CountryCodeFr is a CountryCode enum value
	CountryCodeFr = "FR"

	// CountryCodeGa is a CountryCode enum value
	CountryCodeGa = "GA"

	// CountryCodeGb is a CountryCode enum value
	CountryCodeGb = "GB"

	// CountryCodeGd is a CountryCode enum value
	CountryCodeGd = "GD"

	// CountryCodeGe is a CountryCode enum value
	CountryCodeGe = "GE"

	// CountryCodeGh is a CountryCode enum value
	CountryCodeGh = "GH"

	// CountryCodeGi is a CountryCode enum value
	CountryCodeGi = "GI"

	// CountryCodeGl is a CountryCode enum value
	CountryCodeGl = "GL"

	// CountryCodeGm is a CountryCode enum value
	CountryCodeGm = "GM"

	// CountryCodeGn is a CountryCode enum value
	CountryCodeGn = "GN"

	// CountryCodeGq is a CountryCode enum value
	CountryCodeGq = "GQ"

	// CountryCodeGr is a CountryCode enum value
	CountryCodeGr = "GR"

	// CountryCodeGt is a CountryCode enum value
	CountryCodeGt = "GT"

	// CountryCodeGu is a CountryCode enum value
	CountryCodeGu = "GU"

	// CountryCodeGw is a CountryCode enum value
	CountryCodeGw = "GW"

	// CountryCodeGy is a CountryCode enum value
	CountryCodeGy = "GY"

	// CountryCodeHk is a CountryCode enum value
	CountryCodeHk = "HK"

	// CountryCodeHn is a CountryCode enum value
	CountryCodeHn = "HN"

	// CountryCodeHr is a CountryCode enum value
	CountryCodeHr = "HR"

	// CountryCodeHt is a CountryCode enum value
	CountryCodeHt = "HT"

	// CountryCodeHu is a CountryCode enum value
	CountryCodeHu = "HU"

	// CountryCodeId is a CountryCode enum value
	CountryCodeId = "ID"

	// CountryCodeIe is a CountryCode enum value
	CountryCodeIe = "IE"

	// CountryCodeIl is a CountryCode enum value
	CountryCodeIl = "IL"

	// CountryCodeIm is a CountryCode enum value
	CountryCodeIm = "IM"

	// CountryCodeIn is a CountryCode enum value
	CountryCodeIn = "IN"

	// CountryCodeIq is a CountryCode enum value
	CountryCodeIq = "IQ"

	// CountryCodeIr is a CountryCode enum value
	CountryCodeIr = "IR"

	// CountryCodeIs is a CountryCode enum value
	CountryCodeIs = "IS"

	// CountryCodeIt is a CountryCode enum value
	CountryCodeIt = "IT"

	// CountryCodeJm is a CountryCode enum value
	CountryCodeJm = "JM"

	// CountryCodeJo is a CountryCode enum value
	CountryCodeJo = "JO"

	// CountryCodeJp is a CountryCode enum value
	CountryCodeJp = "JP"

	// CountryCodeKe is a CountryCode enum value
	CountryCodeKe = "KE"

	// CountryCodeKg is a CountryCode enum value
	CountryCodeKg = "KG"

	// CountryCodeKh is a CountryCode enum value
	CountryCodeKh = "KH"

	// CountryCodeKi is a CountryCode enum value
	CountryCodeKi = "KI"

	// CountryCodeKm is a CountryCode enum value
	CountryCodeKm = "KM"

	// CountryCodeKn is a CountryCode enum value
	CountryCodeKn = "KN"

	// CountryCodeKp is a CountryCode enum value
	CountryCodeKp = "KP"

	// CountryCodeKr is a CountryCode enum value
	CountryCodeKr = "KR"

	// CountryCodeKw is a CountryCode enum value
	CountryCodeKw = "KW"

	// CountryCodeKy is a CountryCode enum value
	CountryCodeKy = "KY"

	// CountryCodeKz is a CountryCode enum value
	CountryCodeKz = "KZ"

	// CountryCodeLa is a CountryCode enum value
	CountryCodeLa = "LA"

	// CountryCodeLb is a CountryCode enum value
	CountryCodeLb = "LB"

	// CountryCodeLc is a CountryCode enum value
	CountryCodeLc = "LC"

	// CountryCodeLi is a CountryCode enum value
	CountryCodeLi = "LI"

	// CountryCodeLk is a CountryCode enum value
	CountryCodeLk = "LK"

	// CountryCodeLr is a CountryCode enum value
	CountryCodeLr = "LR"

	// CountryCodeLs is a CountryCode enum value
	CountryCodeLs = "LS"

	// CountryCodeLt is a CountryCode enum value
	CountryCodeLt = "LT"

	// CountryCodeLu is a CountryCode enum value
	CountryCodeLu = "LU"

	// CountryCodeLv is a CountryCode enum value
	CountryCodeLv = "LV"

	// CountryCodeLy is a CountryCode enum value
	CountryCodeLy = "LY"

	// CountryCodeMa is a CountryCode enum value
	CountryCodeMa = "MA"

	// CountryCodeMc is a CountryCode enum value
	CountryCodeMc = "MC"

	// CountryCodeMd is a CountryCode enum value
	CountryCodeMd = "MD"

	// CountryCodeMe is a CountryCode enum value
	CountryCodeMe = "ME"

	// CountryCodeMf is a CountryCode enum value
	CountryCodeMf = "MF"

	// CountryCodeMg is a CountryCode enum value
	CountryCodeMg = "MG"

	// CountryCodeMh is a CountryCode enum value
	CountryCodeMh = "MH"

	// CountryCodeMk is a CountryCode enum value
	CountryCodeMk = "MK"

	// CountryCodeMl is a CountryCode enum value
	CountryCodeMl = "ML"

	// CountryCodeMm is a CountryCode enum value
	CountryCodeMm = "MM"

	// CountryCodeMn is a CountryCode enum value
	CountryCodeMn = "MN"

	// CountryCodeMo is a CountryCode enum value
	CountryCodeMo = "MO"

	// CountryCodeMp is a CountryCode enum value
	CountryCodeMp = "MP"

	// CountryCodeMr is a CountryCode enum value
	CountryCodeMr = "MR"

	// CountryCodeMs is a CountryCode enum value
	CountryCodeMs = "MS"

	// CountryCodeMt is a CountryCode enum value
	CountryCodeMt = "MT"

	// CountryCodeMu is a CountryCode enum value
	CountryCodeMu = "MU"

	// CountryCodeMv is a CountryCode enum value
	CountryCodeMv = "MV"

	// CountryCodeMw is a CountryCode enum value
	CountryCodeMw = "MW"

	// CountryCodeMx is a CountryCode enum value
	CountryCodeMx = "MX"

	// CountryCodeMy is a CountryCode enum value
	CountryCodeMy = "MY"

	// CountryCodeMz is a CountryCode enum value
	CountryCodeMz = "MZ"

	// CountryCodeNa is a CountryCode enum value
	CountryCodeNa = "NA"

	// CountryCodeNc is a CountryCode enum value
	CountryCodeNc = "NC"

	// CountryCodeNe is a CountryCode enum value
	CountryCodeNe = "NE"

	// CountryCodeNg is a CountryCode enum value
	CountryCodeNg = "NG"

	// CountryCodeNi is a CountryCode enum value
	CountryCodeNi = "NI"

	// CountryCodeNl is a CountryCode enum value
	CountryCodeNl = "NL"

	// CountryCodeNo is a CountryCode enum value
	CountryCodeNo = "NO"

	// CountryCodeNp is a CountryCode enum value
	CountryCodeNp = "NP"

	// CountryCodeNr is a CountryCode enum value
	CountryCodeNr = "NR"

	// CountryCodeNu is a CountryCode enum value
	CountryCodeNu = "NU"

	// CountryCodeNz is a CountryCode enum value
	CountryCodeNz = "NZ"

	// CountryCodeOm is a CountryCode enum value
	CountryCodeOm = "OM"

	// CountryCodePa is a CountryCode enum value
	CountryCodePa = "PA"

	// CountryCodePe is a CountryCode enum value
	CountryCodePe = "PE"

	// CountryCodePf is a CountryCode enum value
	CountryCodePf = "PF"

	// CountryCodePg is a CountryCode enum value
	CountryCodePg = "PG"

	// CountryCodePh is a CountryCode enum value
	CountryCodePh = "PH"

	// CountryCodePk is a CountryCode enum value
	CountryCodePk = "PK"

	// CountryCodePl is a CountryCode enum value
	CountryCodePl = "PL"

	// CountryCodePm is a CountryCode enum value
	CountryCodePm = "PM"

	// CountryCodePn is a CountryCode enum value
	CountryCodePn = "PN"

	// CountryCodePr is a CountryCode enum value
	CountryCodePr = "PR"

	// CountryCodePt is a CountryCode enum value
	CountryCodePt = "PT"

	// CountryCodePw is a CountryCode enum value
	CountryCodePw = "PW"

	// CountryCodePy is a CountryCode enum value
	CountryCodePy = "PY"

	// CountryCodeQa is a CountryCode enum value
	CountryCodeQa = "QA"

	// CountryCodeRo is a CountryCode enum value
	CountryCodeRo = "RO"

	// CountryCodeRs is a CountryCode enum value
	CountryCodeRs = "RS"

	// CountryCodeRu is a CountryCode enum value
	CountryCodeRu = "RU"

	// CountryCodeRw is a CountryCode enum value
	CountryCodeRw = "RW"

	// CountryCodeSa is a CountryCode enum value
	CountryCodeSa = "SA"

	// CountryCodeSb is a CountryCode enum value
	CountryCodeSb = "SB"

	// CountryCodeSc is a CountryCode enum value
	CountryCodeSc = "SC"

	// CountryCodeSd is a CountryCode enum value
	CountryCodeSd = "SD"

	// CountryCodeSe is a CountryCode enum value
	CountryCodeSe = "SE"

	// CountryCodeSg is a CountryCode enum value
	CountryCodeSg = "SG"

	// CountryCodeSh is a CountryCode enum value
	CountryCodeSh = "SH"

	// CountryCodeSi is a CountryCode enum value
	CountryCodeSi = "SI"

	// CountryCodeSk is a CountryCode enum value
	CountryCodeSk = "SK"

	// CountryCodeSl is a CountryCode enum value
	CountryCodeSl = "SL"

	// CountryCodeSm is a CountryCode enum value
	CountryCodeSm = "SM"

	// CountryCodeSn is a CountryCode enum value
	CountryCodeSn = "SN"

	// CountryCodeSo is a CountryCode enum value
	CountryCodeSo = "SO"

	// CountryCodeSr is a CountryCode enum value
	CountryCodeSr = "SR"

	// CountryCodeSt is a CountryCode enum value
	CountryCodeSt = "ST"

	// CountryCodeSv is a CountryCode enum value
	CountryCodeSv = "SV"

	// CountryCodeSy is a CountryCode enum value
	CountryCodeSy = "SY"

	// CountryCodeSz is a CountryCode enum value
	CountryCodeSz = "SZ"

	// CountryCodeTc is a CountryCode enum value
	CountryCodeTc = "TC"

	// CountryCodeTd is a CountryCode enum value
	CountryCodeTd = "TD"

	// CountryCodeTg is a CountryCode enum value
	CountryCodeTg = "TG"

	// CountryCodeTh is a CountryCode enum value
	CountryCodeTh = "TH"

	// CountryCodeTj is a CountryCode enum value
	CountryCodeTj = "TJ"

	// CountryCodeTk is a CountryCode enum value
	CountryCodeTk = "TK"

	// CountryCodeTl is a CountryCode enum value
	CountryCodeTl = "TL"

	// CountryCodeTm is a CountryCode enum value
	CountryCodeTm = "TM"

	// CountryCodeTn is a CountryCode enum value
	CountryCodeTn = "TN"

	// CountryCodeTo is a CountryCode enum value
	CountryCodeTo = "TO"

	// CountryCodeTr is a CountryCode enum value
	CountryCodeTr = "TR"

	// CountryCodeTt is a CountryCode enum value
	CountryCodeTt = "TT"

	// CountryCodeTv is a CountryCode enum value
	CountryCodeTv = "TV"

	// CountryCodeTw is a CountryCode enum value
	CountryCodeTw = "TW"

	// CountryCodeTz is a CountryCode enum value
	CountryCodeTz = "TZ"

	// CountryCodeUa is a CountryCode enum value
	CountryCodeUa = "UA"

	// CountryCodeUg is a CountryCode enum value
	CountryCodeUg = "UG"

	// CountryCodeUs is a CountryCode enum value
	CountryCodeUs = "US"

	// CountryCodeUy is a CountryCode enum value
	CountryCodeUy = "UY"

	// CountryCodeUz is a CountryCode enum value
	CountryCodeUz = "UZ"

	// CountryCodeVa is a CountryCode enum value
	CountryCodeVa = "VA"

	// CountryCodeVc is a CountryCode enum value
	CountryCodeVc = "VC"

	// CountryCodeVe is a CountryCode enum value
	CountryCodeVe = "VE"

	// CountryCodeVg is a CountryCode enum value
	CountryCodeVg = "VG"

	// CountryCodeVi is a CountryCode enum value
	CountryCodeVi = "VI"

	// CountryCodeVn is a CountryCode enum value
	CountryCodeVn = "VN"

	// CountryCodeVu is a CountryCode enum value
	CountryCodeVu = "VU"

	// CountryCodeWf is a CountryCode enum value
	CountryCodeWf = "WF"

	// CountryCodeWs is a CountryCode enum value
	CountryCodeWs = "WS"

	// CountryCodeYe is a CountryCode enum value
	CountryCodeYe = "YE"

	// CountryCodeYt is a CountryCode enum value
	CountryCodeYt = "YT"

	// CountryCodeZa is a CountryCode enum value
	CountryCodeZa = "ZA"

	// CountryCodeZm is a CountryCode enum value
	CountryCodeZm = "ZM"

	// CountryCodeZw is a CountryCode enum value
	CountryCodeZw = "ZW"
)
View Source
const (
	// DomainAvailabilityAvailable is a DomainAvailability enum value
	DomainAvailabilityAvailable = "AVAILABLE"

	// DomainAvailabilityAvailableReserved is a DomainAvailability enum value
	DomainAvailabilityAvailableReserved = "AVAILABLE_RESERVED"

	// DomainAvailabilityAvailablePreorder is a DomainAvailability enum value
	DomainAvailabilityAvailablePreorder = "AVAILABLE_PREORDER"

	// DomainAvailabilityUnavailable is a DomainAvailability enum value
	DomainAvailabilityUnavailable = "UNAVAILABLE"

	// DomainAvailabilityUnavailablePremium is a DomainAvailability enum value
	DomainAvailabilityUnavailablePremium = "UNAVAILABLE_PREMIUM"

	// DomainAvailabilityUnavailableRestricted is a DomainAvailability enum value
	DomainAvailabilityUnavailableRestricted = "UNAVAILABLE_RESTRICTED"

	// DomainAvailabilityReserved is a DomainAvailability enum value
	DomainAvailabilityReserved = "RESERVED"

	// DomainAvailabilityDontKnow is a DomainAvailability enum value
	DomainAvailabilityDontKnow = "DONT_KNOW"
)
View Source
const (
	// ExtraParamNameDunsNumber is a ExtraParamName enum value
	ExtraParamNameDunsNumber = "DUNS_NUMBER"

	// ExtraParamNameBrandNumber is a ExtraParamName enum value
	ExtraParamNameBrandNumber = "BRAND_NUMBER"

	// ExtraParamNameBirthDepartment is a ExtraParamName enum value
	ExtraParamNameBirthDepartment = "BIRTH_DEPARTMENT"

	// ExtraParamNameBirthDateInYyyyMmDd is a ExtraParamName enum value
	ExtraParamNameBirthDateInYyyyMmDd = "BIRTH_DATE_IN_YYYY_MM_DD"

	// ExtraParamNameBirthCountry is a ExtraParamName enum value
	ExtraParamNameBirthCountry = "BIRTH_COUNTRY"

	// ExtraParamNameBirthCity is a ExtraParamName enum value
	ExtraParamNameBirthCity = "BIRTH_CITY"

	// ExtraParamNameDocumentNumber is a ExtraParamName enum value
	ExtraParamNameDocumentNumber = "DOCUMENT_NUMBER"

	// ExtraParamNameAuIdNumber is a ExtraParamName enum value
	ExtraParamNameAuIdNumber = "AU_ID_NUMBER"

	// ExtraParamNameAuIdType is a ExtraParamName enum value
	ExtraParamNameAuIdType = "AU_ID_TYPE"

	// ExtraParamNameCaLegalType is a ExtraParamName enum value
	ExtraParamNameCaLegalType = "CA_LEGAL_TYPE"

	// ExtraParamNameCaBusinessEntityType is a ExtraParamName enum value
	ExtraParamNameCaBusinessEntityType = "CA_BUSINESS_ENTITY_TYPE"

	// ExtraParamNameEsIdentification is a ExtraParamName enum value
	ExtraParamNameEsIdentification = "ES_IDENTIFICATION"

	// ExtraParamNameEsIdentificationType is a ExtraParamName enum value
	ExtraParamNameEsIdentificationType = "ES_IDENTIFICATION_TYPE"

	// ExtraParamNameEsLegalForm is a ExtraParamName enum value
	ExtraParamNameEsLegalForm = "ES_LEGAL_FORM"

	// ExtraParamNameFiBusinessNumber is a ExtraParamName enum value
	ExtraParamNameFiBusinessNumber = "FI_BUSINESS_NUMBER"

	// ExtraParamNameFiIdNumber is a ExtraParamName enum value
	ExtraParamNameFiIdNumber = "FI_ID_NUMBER"

	// ExtraParamNameItPin is a ExtraParamName enum value
	ExtraParamNameItPin = "IT_PIN"

	// ExtraParamNameRuPassportData is a ExtraParamName enum value
	ExtraParamNameRuPassportData = "RU_PASSPORT_DATA"

	// ExtraParamNameSeIdNumber is a ExtraParamName enum value
	ExtraParamNameSeIdNumber = "SE_ID_NUMBER"

	// ExtraParamNameSgIdNumber is a ExtraParamName enum value
	ExtraParamNameSgIdNumber = "SG_ID_NUMBER"

	// ExtraParamNameVatNumber is a ExtraParamName enum value
	ExtraParamNameVatNumber = "VAT_NUMBER"
)
View Source
const (
	// OperationStatusSubmitted is a OperationStatus enum value
	OperationStatusSubmitted = "SUBMITTED"

	// OperationStatusInProgress is a OperationStatus enum value
	OperationStatusInProgress = "IN_PROGRESS"

	// OperationStatusError is a OperationStatus enum value
	OperationStatusError = "ERROR"

	// OperationStatusSuccessful is a OperationStatus enum value
	OperationStatusSuccessful = "SUCCESSFUL"

	// OperationStatusFailed is a OperationStatus enum value
	OperationStatusFailed = "FAILED"
)
View Source
const (
	// OperationTypeRegisterDomain is a OperationType enum value
	OperationTypeRegisterDomain = "REGISTER_DOMAIN"

	// OperationTypeDeleteDomain is a OperationType enum value
	OperationTypeDeleteDomain = "DELETE_DOMAIN"

	// OperationTypeTransferInDomain is a OperationType enum value
	OperationTypeTransferInDomain = "TRANSFER_IN_DOMAIN"

	// OperationTypeUpdateDomainContact is a OperationType enum value
	OperationTypeUpdateDomainContact = "UPDATE_DOMAIN_CONTACT"

	// OperationTypeUpdateNameserver is a OperationType enum value
	OperationTypeUpdateNameserver = "UPDATE_NAMESERVER"

	// OperationTypeChangePrivacyProtection is a OperationType enum value
	OperationTypeChangePrivacyProtection = "CHANGE_PRIVACY_PROTECTION"

	// OperationTypeDomainLock is a OperationType enum value
	OperationTypeDomainLock = "DOMAIN_LOCK"
)
View Source
const (
	// ReachabilityStatusPending is a ReachabilityStatus enum value
	ReachabilityStatusPending = "PENDING"

	// ReachabilityStatusDone is a ReachabilityStatus enum value
	ReachabilityStatusDone = "DONE"

	// ReachabilityStatusExpired is a ReachabilityStatus enum value
	ReachabilityStatusExpired = "EXPIRED"
)
View Source
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 an OperationId it
	// may refer to the ID of an operation that is already completed. For a domain
	// name, it may not be a valid domain name or belong to the requester account.
	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.
	ErrCodeUnsupportedTLD = "UnsupportedTLD"
)
View Source
const (
	ServiceName = "route53domains" // Service endpoint prefix API calls made to.
	EndpointsID = ServiceName      // Service ID for Regions and Endpoints metadata.
)

Service information constants

Variables

This section is empty.

Functions

This section is empty.

Types

type BillingRecord added in v1.2.10

type BillingRecord struct {

	// The date that the operation was billed, in Unix format.
	BillDate *time.Time `type:"timestamp" timestampFormat:"unix"`

	// 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 (http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/DomainNameFormat.html)
	// in the Amazon Route 53 Developer Guidezzz.
	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 *string `type:"string" enum:"OperationType"`

	// 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. Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/BillingRecord

func (BillingRecord) GoString added in v1.2.10

func (s BillingRecord) GoString() string

GoString returns the string representation

func (*BillingRecord) SetBillDate added in v1.5.0

func (s *BillingRecord) SetBillDate(v time.Time) *BillingRecord

SetBillDate sets the BillDate field's value.

func (*BillingRecord) SetDomainName added in v1.5.0

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

SetDomainName sets the DomainName field's value.

func (*BillingRecord) SetInvoiceId added in v1.5.0

func (s *BillingRecord) SetInvoiceId(v string) *BillingRecord

SetInvoiceId sets the InvoiceId field's value.

func (*BillingRecord) SetOperation added in v1.5.0

func (s *BillingRecord) SetOperation(v string) *BillingRecord

SetOperation sets the Operation field's value.

func (*BillingRecord) SetPrice added in v1.5.0

func (s *BillingRecord) SetPrice(v float64) *BillingRecord

SetPrice sets the Price field's value.

func (BillingRecord) String added in v1.2.10

func (s BillingRecord) String() string

String returns the string representation

type CheckDomainAvailabilityInput

type CheckDomainAvailabilityInput struct {

	// The name of the domain that you want to get availability for.
	//
	// Constraints: The domain name can contain only the letters a through z, the
	// numbers 0 through 9, and hyphen (-). Internationalized Domain Names are not
	// supported.
	//
	// 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. Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/CheckDomainAvailabilityRequest

func (CheckDomainAvailabilityInput) GoString added in v0.6.5

func (s CheckDomainAvailabilityInput) GoString() string

GoString returns the string representation

func (*CheckDomainAvailabilityInput) SetDomainName added in v1.5.0

SetDomainName sets the DomainName field's value.

func (*CheckDomainAvailabilityInput) SetIdnLangCode added in v1.5.0

SetIdnLangCode sets the IdnLangCode field's value.

func (CheckDomainAvailabilityInput) String added in v0.6.5

String returns the string representation

func (*CheckDomainAvailabilityInput) Validate added in v1.1.21

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 only register domains designated as AVAILABLE.
	//
	// Valid values:
	//
	// AVAILABLEThe domain name is available.
	//
	// AVAILABLE_RESERVEDThe domain name is reserved under specific conditions.
	//
	// AVAILABLE_PREORDERThe domain name is available and can be preordered.
	//
	// 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.
	// 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.
	// You can resubmit the request immediately.
	//
	// RESERVEDThe domain name has been reserved for another person or organization.
	//
	// UNAVAILABLEThe domain name is not available.
	//
	// UNAVAILABLE_PREMIUMThe domain name is not available.
	//
	// UNAVAILABLE_RESTRICTEDThe domain name is forbidden.
	//
	// Availability is a required field
	Availability *string `type:"string" required:"true" enum:"DomainAvailability"`
	// contains filtered or unexported fields
}

The CheckDomainAvailability response includes the following elements. Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/CheckDomainAvailabilityResponse

func (CheckDomainAvailabilityOutput) GoString added in v0.6.5

GoString returns the string representation

func (*CheckDomainAvailabilityOutput) SetAvailability added in v1.5.0

SetAvailability sets the Availability field's value.

func (CheckDomainAvailabilityOutput) String added in v0.6.5

String returns the string representation

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. If you choose an option other than PERSON, you must enter an
	// organization name, and you can't enable privacy protection for the contact.
	ContactType *string `type:"string" enum:"ContactType"`

	// Code for the country of the contact's address.
	CountryCode *string `type:"string" enum:"CountryCode"`

	// 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. Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/ContactDetail

func (ContactDetail) GoString added in v0.6.5

func (s ContactDetail) GoString() string

GoString returns the string representation

func (*ContactDetail) SetAddressLine1 added in v1.5.0

func (s *ContactDetail) SetAddressLine1(v string) *ContactDetail

SetAddressLine1 sets the AddressLine1 field's value.

func (*ContactDetail) SetAddressLine2 added in v1.5.0

func (s *ContactDetail) SetAddressLine2(v string) *ContactDetail

SetAddressLine2 sets the AddressLine2 field's value.

func (*ContactDetail) SetCity added in v1.5.0

func (s *ContactDetail) SetCity(v string) *ContactDetail

SetCity sets the City field's value.

func (*ContactDetail) SetContactType added in v1.5.0

func (s *ContactDetail) SetContactType(v string) *ContactDetail

SetContactType sets the ContactType field's value.

func (*ContactDetail) SetCountryCode added in v1.5.0

func (s *ContactDetail) SetCountryCode(v string) *ContactDetail

SetCountryCode sets the CountryCode field's value.

func (*ContactDetail) SetEmail added in v1.5.0

func (s *ContactDetail) SetEmail(v string) *ContactDetail

SetEmail sets the Email field's value.

func (*ContactDetail) SetExtraParams added in v1.5.0

func (s *ContactDetail) SetExtraParams(v []*ExtraParam) *ContactDetail

SetExtraParams sets the ExtraParams field's value.

func (*ContactDetail) SetFax added in v1.5.0

func (s *ContactDetail) SetFax(v string) *ContactDetail

SetFax sets the Fax field's value.

func (*ContactDetail) SetFirstName added in v1.5.0

func (s *ContactDetail) SetFirstName(v string) *ContactDetail

SetFirstName sets the FirstName field's value.

func (*ContactDetail) SetLastName added in v1.5.0

func (s *ContactDetail) SetLastName(v string) *ContactDetail

SetLastName sets the LastName field's value.

func (*ContactDetail) SetOrganizationName added in v1.5.0

func (s *ContactDetail) SetOrganizationName(v string) *ContactDetail

SetOrganizationName sets the OrganizationName field's value.

func (*ContactDetail) SetPhoneNumber added in v1.5.0

func (s *ContactDetail) SetPhoneNumber(v string) *ContactDetail

SetPhoneNumber sets the PhoneNumber field's value.

func (*ContactDetail) SetState added in v1.5.0

func (s *ContactDetail) SetState(v string) *ContactDetail

SetState sets the State field's value.

func (*ContactDetail) SetZipCode added in v1.5.0

func (s *ContactDetail) SetZipCode(v string) *ContactDetail

SetZipCode sets the ZipCode field's value.

func (ContactDetail) String added in v0.6.5

func (s ContactDetail) String() string

String returns the string representation

func (*ContactDetail) Validate added in v1.1.21

func (s *ContactDetail) Validate() error

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

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. Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/DeleteTagsForDomainRequest

func (DeleteTagsForDomainInput) GoString added in v0.6.5

func (s DeleteTagsForDomainInput) GoString() string

GoString returns the string representation

func (*DeleteTagsForDomainInput) SetDomainName added in v1.5.0

SetDomainName sets the DomainName field's value.

func (*DeleteTagsForDomainInput) SetTagsToDelete added in v1.5.0

func (s *DeleteTagsForDomainInput) SetTagsToDelete(v []*string) *DeleteTagsForDomainInput

SetTagsToDelete sets the TagsToDelete field's value.

func (DeleteTagsForDomainInput) String added in v0.6.5

func (s DeleteTagsForDomainInput) String() string

String returns the string representation

func (*DeleteTagsForDomainInput) Validate added in v1.1.21

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
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/DeleteTagsForDomainResponse

func (DeleteTagsForDomainOutput) GoString added in v0.6.5

func (s DeleteTagsForDomainOutput) GoString() string

GoString returns the string representation

func (DeleteTagsForDomainOutput) String added in v0.6.5

func (s DeleteTagsForDomainOutput) String() string

String returns the string representation

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
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/DisableDomainAutoRenewRequest

func (DisableDomainAutoRenewInput) GoString added in v0.6.5

func (s DisableDomainAutoRenewInput) GoString() string

GoString returns the string representation

func (*DisableDomainAutoRenewInput) SetDomainName added in v1.5.0

SetDomainName sets the DomainName field's value.

func (DisableDomainAutoRenewInput) String added in v0.6.5

String returns the string representation

func (*DisableDomainAutoRenewInput) Validate added in v1.1.21

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
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/DisableDomainAutoRenewResponse

func (DisableDomainAutoRenewOutput) GoString added in v0.6.5

func (s DisableDomainAutoRenewOutput) GoString() string

GoString returns the string representation

func (DisableDomainAutoRenewOutput) String added in v0.6.5

String returns the string representation

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. Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/DisableDomainTransferLockRequest

func (DisableDomainTransferLockInput) GoString added in v0.6.5

GoString returns the string representation

func (*DisableDomainTransferLockInput) SetDomainName added in v1.5.0

SetDomainName sets the DomainName field's value.

func (DisableDomainTransferLockInput) String added in v0.6.5

String returns the string representation

func (*DisableDomainTransferLockInput) Validate added in v1.1.21

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 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 DisableDomainTransferLock response includes the following element. Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/DisableDomainTransferLockResponse

func (DisableDomainTransferLockOutput) GoString added in v0.6.5

GoString returns the string representation

func (*DisableDomainTransferLockOutput) SetOperationId added in v1.5.0

SetOperationId sets the OperationId field's value.

func (DisableDomainTransferLockOutput) String added in v0.6.5

String returns the string representation

type DomainSuggestion added in v1.2.10

type DomainSuggestion struct {

	// Whether the domain name is available for registering.
	//
	// You can register only the domains that are designated as AVAILABLE.
	//
	// Valid values:
	//
	// AVAILABLEThe domain name is available.
	//
	// AVAILABLE_RESERVEDThe domain name is reserved under specific conditions.
	//
	// AVAILABLE_PREORDERThe domain name is available and can be preordered.
	//
	// 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.
	// 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.
	// You can resubmit the request immediately.
	//
	// RESERVEDThe domain name has been reserved for another person or organization.
	//
	// UNAVAILABLEThe domain name is not available.
	//
	// UNAVAILABLE_PREMIUMThe domain name is not available.
	//
	// UNAVAILABLE_RESTRICTEDThe 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. Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/DomainSuggestion

func (DomainSuggestion) GoString added in v1.2.10

func (s DomainSuggestion) GoString() string

GoString returns the string representation

func (*DomainSuggestion) SetAvailability added in v1.5.0

func (s *DomainSuggestion) SetAvailability(v string) *DomainSuggestion

SetAvailability sets the Availability field's value.

func (*DomainSuggestion) SetDomainName added in v1.5.0

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

SetDomainName sets the DomainName field's value.

func (DomainSuggestion) String added in v1.2.10

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 Coordinated Universal Time (UTC).
	Expiry *time.Time `type:"timestamp" timestampFormat:"unix"`

	// 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. Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/DomainSummary

func (DomainSummary) GoString added in v0.6.5

func (s DomainSummary) GoString() string

GoString returns the string representation

func (*DomainSummary) SetAutoRenew added in v1.5.0

func (s *DomainSummary) SetAutoRenew(v bool) *DomainSummary

SetAutoRenew sets the AutoRenew field's value.

func (*DomainSummary) SetDomainName added in v1.5.0

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

SetDomainName sets the DomainName field's value.

func (*DomainSummary) SetExpiry added in v1.5.0

func (s *DomainSummary) SetExpiry(v time.Time) *DomainSummary

SetExpiry sets the Expiry field's value.

func (*DomainSummary) SetTransferLock added in v1.5.0

func (s *DomainSummary) SetTransferLock(v bool) *DomainSummary

SetTransferLock sets the TransferLock field's value.

func (DomainSummary) String added in v0.6.5

func (s DomainSummary) 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
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/EnableDomainAutoRenewRequest

func (EnableDomainAutoRenewInput) GoString added in v0.6.5

func (s EnableDomainAutoRenewInput) GoString() string

GoString returns the string representation

func (*EnableDomainAutoRenewInput) SetDomainName added in v1.5.0

SetDomainName sets the DomainName field's value.

func (EnableDomainAutoRenewInput) String added in v0.6.5

String returns the string representation

func (*EnableDomainAutoRenewInput) Validate added in v1.1.21

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
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/EnableDomainAutoRenewResponse

func (EnableDomainAutoRenewOutput) GoString added in v0.6.5

func (s EnableDomainAutoRenewOutput) GoString() string

GoString returns the string representation

func (EnableDomainAutoRenewOutput) String added in v0.6.5

String returns the string representation

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. Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/EnableDomainTransferLockRequest

func (EnableDomainTransferLockInput) GoString added in v0.6.5

GoString returns the string representation

func (*EnableDomainTransferLockInput) SetDomainName added in v1.5.0

SetDomainName sets the DomainName field's value.

func (EnableDomainTransferLockInput) String added in v0.6.5

String returns the string representation

func (*EnableDomainTransferLockInput) Validate added in v1.1.21

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. Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/EnableDomainTransferLockResponse

func (EnableDomainTransferLockOutput) GoString added in v0.6.5

GoString returns the string representation

func (*EnableDomainTransferLockOutput) SetOperationId added in v1.5.0

SetOperationId sets the OperationId field's value.

func (EnableDomainTransferLockOutput) String added in v0.6.5

String returns the string representation

type ExtraParam

type ExtraParam struct {

	// Name of the additional parameter required by the top-level domain.
	//
	// Name is a required field
	Name *string `type:"string" required:"true" enum:"ExtraParamName"`

	// Values corresponding to the additional parameter names required by some top-level
	// domains.
	//
	// Value is a required field
	Value *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

ExtraParam includes the following elements. Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/ExtraParam

func (ExtraParam) GoString added in v0.6.5

func (s ExtraParam) GoString() string

GoString returns the string representation

func (*ExtraParam) SetName added in v1.5.0

func (s *ExtraParam) SetName(v string) *ExtraParam

SetName sets the Name field's value.

func (*ExtraParam) SetValue added in v1.5.0

func (s *ExtraParam) SetValue(v string) *ExtraParam

SetValue sets the Value field's value.

func (ExtraParam) String added in v0.6.5

func (s ExtraParam) String() string

String returns the string representation

func (*ExtraParam) Validate added in v1.1.21

func (s *ExtraParam) Validate() error

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

type GetContactReachabilityStatusInput added in v1.1.22

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
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/GetContactReachabilityStatusRequest

func (GetContactReachabilityStatusInput) GoString added in v1.1.22

GoString returns the string representation

func (*GetContactReachabilityStatusInput) SetDomainName added in v1.5.0

SetDomainName sets the DomainName field's value.

func (GetContactReachabilityStatusInput) String added in v1.1.22

String returns the string representation

type GetContactReachabilityStatusOutput added in v1.1.22

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:
	//
	// PENDINGWe sent the confirmation email and haven't received a response yet.
	//
	// DONEWe sent the email and got confirmation from the registrant contact.
	//
	// EXPIREDThe time limit expired before the registrant contact responded.
	Status *string `locationName:"status" type:"string" enum:"ReachabilityStatus"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/GetContactReachabilityStatusResponse

func (GetContactReachabilityStatusOutput) GoString added in v1.1.22

GoString returns the string representation

func (*GetContactReachabilityStatusOutput) SetDomainName added in v1.5.0

SetDomainName sets the DomainName field's value.

func (*GetContactReachabilityStatusOutput) SetStatus added in v1.5.0

SetStatus sets the Status field's value.

func (GetContactReachabilityStatusOutput) String added in v1.1.22

String returns the string representation

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. Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/GetDomainDetailRequest

func (GetDomainDetailInput) GoString added in v0.6.5

func (s GetDomainDetailInput) GoString() string

GoString returns the string representation

func (*GetDomainDetailInput) SetDomainName added in v1.5.0

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

SetDomainName sets the DomainName field's value.

func (GetDomainDetailInput) String added in v0.6.5

func (s GetDomainDetailInput) String() string

String returns the string representation

func (*GetDomainDetailInput) Validate added in v1.1.21

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"`

	// 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.
	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"`

	// 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
	// format is Unix time.
	ExpirationDate *time.Time `type:"timestamp" timestampFormat:"unix"`

	// 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"`

	// 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.
	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".
	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 Amazon 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"`

	// 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.
	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 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. Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/GetDomainDetailResponse

func (GetDomainDetailOutput) GoString added in v0.6.5

func (s GetDomainDetailOutput) GoString() string

GoString returns the string representation

func (*GetDomainDetailOutput) SetAbuseContactEmail added in v1.5.0

func (s *GetDomainDetailOutput) SetAbuseContactEmail(v string) *GetDomainDetailOutput

SetAbuseContactEmail sets the AbuseContactEmail field's value.

func (*GetDomainDetailOutput) SetAbuseContactPhone added in v1.5.0

func (s *GetDomainDetailOutput) SetAbuseContactPhone(v string) *GetDomainDetailOutput

SetAbuseContactPhone sets the AbuseContactPhone field's value.

func (*GetDomainDetailOutput) SetAdminContact added in v1.5.0

SetAdminContact sets the AdminContact field's value.

func (*GetDomainDetailOutput) SetAdminPrivacy added in v1.5.0

func (s *GetDomainDetailOutput) SetAdminPrivacy(v bool) *GetDomainDetailOutput

SetAdminPrivacy sets the AdminPrivacy field's value.

func (*GetDomainDetailOutput) SetAutoRenew added in v1.5.0

func (s *GetDomainDetailOutput) SetAutoRenew(v bool) *GetDomainDetailOutput

SetAutoRenew sets the AutoRenew field's value.

func (*GetDomainDetailOutput) SetCreationDate added in v1.5.0

func (s *GetDomainDetailOutput) SetCreationDate(v time.Time) *GetDomainDetailOutput

SetCreationDate sets the CreationDate field's value.

func (*GetDomainDetailOutput) SetDnsSec added in v1.5.0

SetDnsSec sets the DnsSec field's value.

func (*GetDomainDetailOutput) SetDomainName added in v1.5.0

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

SetDomainName sets the DomainName field's value.

func (*GetDomainDetailOutput) SetExpirationDate added in v1.5.0

func (s *GetDomainDetailOutput) SetExpirationDate(v time.Time) *GetDomainDetailOutput

SetExpirationDate sets the ExpirationDate field's value.

func (*GetDomainDetailOutput) SetNameservers added in v1.5.0

func (s *GetDomainDetailOutput) SetNameservers(v []*Nameserver) *GetDomainDetailOutput

SetNameservers sets the Nameservers field's value.

func (*GetDomainDetailOutput) SetRegistrantContact added in v1.5.0

func (s *GetDomainDetailOutput) SetRegistrantContact(v *ContactDetail) *GetDomainDetailOutput

SetRegistrantContact sets the RegistrantContact field's value.

func (*GetDomainDetailOutput) SetRegistrantPrivacy added in v1.5.0

func (s *GetDomainDetailOutput) SetRegistrantPrivacy(v bool) *GetDomainDetailOutput

SetRegistrantPrivacy sets the RegistrantPrivacy field's value.

func (*GetDomainDetailOutput) SetRegistrarName added in v1.5.0

func (s *GetDomainDetailOutput) SetRegistrarName(v string) *GetDomainDetailOutput

SetRegistrarName sets the RegistrarName field's value.

func (*GetDomainDetailOutput) SetRegistrarUrl added in v1.5.0

func (s *GetDomainDetailOutput) SetRegistrarUrl(v string) *GetDomainDetailOutput

SetRegistrarUrl sets the RegistrarUrl field's value.

func (*GetDomainDetailOutput) SetRegistryDomainId added in v1.5.0

func (s *GetDomainDetailOutput) SetRegistryDomainId(v string) *GetDomainDetailOutput

SetRegistryDomainId sets the RegistryDomainId field's value.

func (*GetDomainDetailOutput) SetReseller added in v1.5.0

SetReseller sets the Reseller field's value.

func (*GetDomainDetailOutput) SetStatusList added in v1.5.0

func (s *GetDomainDetailOutput) SetStatusList(v []*string) *GetDomainDetailOutput

SetStatusList sets the StatusList field's value.

func (*GetDomainDetailOutput) SetTechContact added in v1.5.0

SetTechContact sets the TechContact field's value.

func (*GetDomainDetailOutput) SetTechPrivacy added in v1.5.0

func (s *GetDomainDetailOutput) SetTechPrivacy(v bool) *GetDomainDetailOutput

SetTechPrivacy sets the TechPrivacy field's value.

func (*GetDomainDetailOutput) SetUpdatedDate added in v1.5.0

func (s *GetDomainDetailOutput) SetUpdatedDate(v time.Time) *GetDomainDetailOutput

SetUpdatedDate sets the UpdatedDate field's value.

func (*GetDomainDetailOutput) SetWhoIsServer added in v1.5.0

func (s *GetDomainDetailOutput) SetWhoIsServer(v string) *GetDomainDetailOutput

SetWhoIsServer sets the WhoIsServer field's value.

func (GetDomainDetailOutput) String added in v0.6.5

func (s GetDomainDetailOutput) String() string

String returns the string representation

type GetDomainSuggestionsInput added in v1.2.10

type GetDomainSuggestionsInput struct {

	// A domain name that you want to use as the basis for a list of possible domain
	// names. The domain name must contain a top-level domain (TLD), such as .com,
	// that Amazon Route 53 supports. For a list of TLDs, see Domains that You Can
	// Register with Amazon Route 53 (http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/registrar-tld-list.html)
	// in the Amazon Route 53 Developer Guide.
	//
	// DomainName is a required field
	DomainName *string `type:"string" required:"true"`

	// If OnlyAvailable is true, Amazon Route 53 returns only domain names that
	// are available. If OnlyAvailable is false, Amazon 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 Amazon Route 53 to return.
	//
	// SuggestionCount is a required field
	SuggestionCount *int64 `type:"integer" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/GetDomainSuggestionsRequest

func (GetDomainSuggestionsInput) GoString added in v1.2.10

func (s GetDomainSuggestionsInput) GoString() string

GoString returns the string representation

func (*GetDomainSuggestionsInput) SetDomainName added in v1.5.0

SetDomainName sets the DomainName field's value.

func (*GetDomainSuggestionsInput) SetOnlyAvailable added in v1.5.0

SetOnlyAvailable sets the OnlyAvailable field's value.

func (*GetDomainSuggestionsInput) SetSuggestionCount added in v1.5.0

func (s *GetDomainSuggestionsInput) SetSuggestionCount(v int64) *GetDomainSuggestionsInput

SetSuggestionCount sets the SuggestionCount field's value.

func (GetDomainSuggestionsInput) String added in v1.2.10

func (s GetDomainSuggestionsInput) String() string

String returns the string representation

func (*GetDomainSuggestionsInput) Validate added in v1.2.10

func (s *GetDomainSuggestionsInput) Validate() error

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

type GetDomainSuggestionsOutput added in v1.2.10

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
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/GetDomainSuggestionsResponse

func (GetDomainSuggestionsOutput) GoString added in v1.2.10

func (s GetDomainSuggestionsOutput) GoString() string

GoString returns the string representation

func (*GetDomainSuggestionsOutput) SetSuggestionsList added in v1.5.0

SetSuggestionsList sets the SuggestionsList field's value.

func (GetDomainSuggestionsOutput) String added in v1.2.10

String returns the string representation

type GetOperationDetailInput

type GetOperationDetailInput struct {

	// The identifier for the operation for which you want to get the status. Amazon
	// 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 request includes the following element. Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/GetOperationDetailRequest

func (GetOperationDetailInput) GoString added in v0.6.5

func (s GetOperationDetailInput) GoString() string

GoString returns the string representation

func (*GetOperationDetailInput) SetOperationId added in v1.5.0

SetOperationId sets the OperationId field's value.

func (GetOperationDetailInput) String added in v0.6.5

func (s GetOperationDetailInput) String() string

String returns the string representation

func (*GetOperationDetailInput) Validate added in v1.1.21

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 *string `type:"string" enum:"OperationStatus"`

	// The date when the request was submitted.
	SubmittedDate *time.Time `type:"timestamp" timestampFormat:"unix"`

	// The type of operation that was requested.
	Type *string `type:"string" enum:"OperationType"`
	// contains filtered or unexported fields
}

The GetOperationDetail response includes the following elements. Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/GetOperationDetailResponse

func (GetOperationDetailOutput) GoString added in v0.6.5

func (s GetOperationDetailOutput) GoString() string

GoString returns the string representation

func (*GetOperationDetailOutput) SetDomainName added in v1.5.0

SetDomainName sets the DomainName field's value.

func (*GetOperationDetailOutput) SetMessage added in v1.5.0

SetMessage sets the Message field's value.

func (*GetOperationDetailOutput) SetOperationId added in v1.5.0

SetOperationId sets the OperationId field's value.

func (*GetOperationDetailOutput) SetStatus added in v1.5.0

SetStatus sets the Status field's value.

func (*GetOperationDetailOutput) SetSubmittedDate added in v1.5.0

SetSubmittedDate sets the SubmittedDate field's value.

func (*GetOperationDetailOutput) SetType added in v1.5.0

SetType sets the Type field's value.

func (GetOperationDetailOutput) String added in v0.6.5

func (s GetOperationDetailOutput) String() string

String returns the string representation

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. Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/ListDomainsRequest

func (ListDomainsInput) GoString added in v0.6.5

func (s ListDomainsInput) GoString() string

GoString returns the string representation

func (*ListDomainsInput) SetMarker added in v1.5.0

func (s *ListDomainsInput) SetMarker(v string) *ListDomainsInput

SetMarker sets the Marker field's value.

func (*ListDomainsInput) SetMaxItems added in v1.5.0

func (s *ListDomainsInput) SetMaxItems(v int64) *ListDomainsInput

SetMaxItems sets the MaxItems field's value.

func (ListDomainsInput) String added in v0.6.5

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. Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/ListDomainsResponse

func (ListDomainsOutput) GoString added in v0.6.5

func (s ListDomainsOutput) GoString() string

GoString returns the string representation

func (*ListDomainsOutput) SetDomains added in v1.5.0

func (s *ListDomainsOutput) SetDomains(v []*DomainSummary) *ListDomainsOutput

SetDomains sets the Domains field's value.

func (*ListDomainsOutput) SetNextPageMarker added in v1.5.0

func (s *ListDomainsOutput) SetNextPageMarker(v string) *ListDomainsOutput

SetNextPageMarker sets the NextPageMarker field's value.

func (ListDomainsOutput) String added in v0.6.5

func (s ListDomainsOutput) String() string

String returns the string representation

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"`
	// contains filtered or unexported fields
}

The ListOperations request includes the following elements. Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/ListOperationsRequest

func (ListOperationsInput) GoString added in v0.6.5

func (s ListOperationsInput) GoString() string

GoString returns the string representation

func (*ListOperationsInput) SetMarker added in v1.5.0

SetMarker sets the Marker field's value.

func (*ListOperationsInput) SetMaxItems added in v1.5.0

func (s *ListOperationsInput) SetMaxItems(v int64) *ListOperationsInput

SetMaxItems sets the MaxItems field's value.

func (ListOperationsInput) String added in v0.6.5

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. Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/ListOperationsResponse

func (ListOperationsOutput) GoString added in v0.6.5

func (s ListOperationsOutput) GoString() string

GoString returns the string representation

func (*ListOperationsOutput) SetNextPageMarker added in v1.5.0

func (s *ListOperationsOutput) SetNextPageMarker(v string) *ListOperationsOutput

SetNextPageMarker sets the NextPageMarker field's value.

func (*ListOperationsOutput) SetOperations added in v1.5.0

SetOperations sets the Operations field's value.

func (ListOperationsOutput) String added in v0.6.5

func (s ListOperationsOutput) String() string

String returns the string representation

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. Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/ListTagsForDomainRequest

func (ListTagsForDomainInput) GoString added in v0.6.5

func (s ListTagsForDomainInput) GoString() string

GoString returns the string representation

func (*ListTagsForDomainInput) SetDomainName added in v1.5.0

SetDomainName sets the DomainName field's value.

func (ListTagsForDomainInput) String added in v0.6.5

func (s ListTagsForDomainInput) String() string

String returns the string representation

func (*ListTagsForDomainInput) Validate added in v1.1.21

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. Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/ListTagsForDomainResponse

func (ListTagsForDomainOutput) GoString added in v0.6.5

func (s ListTagsForDomainOutput) GoString() string

GoString returns the string representation

func (*ListTagsForDomainOutput) SetTagList added in v1.5.0

SetTagList sets the TagList field's value.

func (ListTagsForDomainOutput) String added in v0.6.5

func (s ListTagsForDomainOutput) String() string

String returns the string representation

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. Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/Nameserver

func (Nameserver) GoString added in v0.6.5

func (s Nameserver) GoString() string

GoString returns the string representation

func (*Nameserver) SetGlueIps added in v1.5.0

func (s *Nameserver) SetGlueIps(v []*string) *Nameserver

SetGlueIps sets the GlueIps field's value.

func (*Nameserver) SetName added in v1.5.0

func (s *Nameserver) SetName(v string) *Nameserver

SetName sets the Name field's value.

func (Nameserver) String added in v0.6.5

func (s Nameserver) String() string

String returns the string representation

func (*Nameserver) Validate added in v1.1.21

func (s *Nameserver) Validate() error

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

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 *string `type:"string" required:"true" enum:"OperationStatus"`

	// The date when the request was submitted.
	//
	// SubmittedDate is a required field
	SubmittedDate *time.Time `type:"timestamp" timestampFormat:"unix" required:"true"`

	// Type of the action requested.
	//
	// Type is a required field
	Type *string `type:"string" required:"true" enum:"OperationType"`
	// contains filtered or unexported fields
}

OperationSummary includes the following elements. Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/OperationSummary

func (OperationSummary) GoString added in v0.6.5

func (s OperationSummary) GoString() string

GoString returns the string representation

func (*OperationSummary) SetOperationId added in v1.5.0

func (s *OperationSummary) SetOperationId(v string) *OperationSummary

SetOperationId sets the OperationId field's value.

func (*OperationSummary) SetStatus added in v1.5.0

func (s *OperationSummary) SetStatus(v string) *OperationSummary

SetStatus sets the Status field's value.

func (*OperationSummary) SetSubmittedDate added in v1.5.0

func (s *OperationSummary) SetSubmittedDate(v time.Time) *OperationSummary

SetSubmittedDate sets the SubmittedDate field's value.

func (*OperationSummary) SetType added in v1.5.0

func (s *OperationSummary) SetType(v string) *OperationSummary

SetType sets the Type field's value.

func (OperationSummary) String added in v0.6.5

func (s OperationSummary) String() string

String returns the string representation

type RegisterDomainInput

type RegisterDomainInput struct {

	// Provides detailed contact information.
	//
	// AdminContact is a required field
	AdminContact *ContactDetail `type:"structure" required:"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.
	//
	// Constraints: The domain name can contain only the letters a through z, the
	// numbers 0 through 9, and hyphen (-). Internationalized Domain Names are not
	// supported.
	//
	// 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 (http://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 will return contact information for
	// our registrar partner, Gandi, instead of the contact information that you
	// enter.
	//
	// 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.
	//
	// 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.
	//
	// Default: true
	PrivacyProtectTechContact *bool `type:"boolean"`

	// Provides detailed contact information.
	//
	// RegistrantContact is a required field
	RegistrantContact *ContactDetail `type:"structure" required:"true"`

	// Provides detailed contact information.
	//
	// TechContact is a required field
	TechContact *ContactDetail `type:"structure" required:"true"`
	// contains filtered or unexported fields
}

The RegisterDomain request includes the following elements. Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/RegisterDomainRequest

func (RegisterDomainInput) GoString added in v0.6.5

func (s RegisterDomainInput) GoString() string

GoString returns the string representation

func (*RegisterDomainInput) SetAdminContact added in v1.5.0

func (s *RegisterDomainInput) SetAdminContact(v *ContactDetail) *RegisterDomainInput

SetAdminContact sets the AdminContact field's value.

func (*RegisterDomainInput) SetAutoRenew added in v1.5.0

func (s *RegisterDomainInput) SetAutoRenew(v bool) *RegisterDomainInput

SetAutoRenew sets the AutoRenew field's value.

func (*RegisterDomainInput) SetDomainName added in v1.5.0

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

SetDomainName sets the DomainName field's value.

func (*RegisterDomainInput) SetDurationInYears added in v1.5.0

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

SetDurationInYears sets the DurationInYears field's value.

func (*RegisterDomainInput) SetIdnLangCode added in v1.5.0

func (s *RegisterDomainInput) SetIdnLangCode(v string) *RegisterDomainInput

SetIdnLangCode sets the IdnLangCode field's value.

func (*RegisterDomainInput) SetPrivacyProtectAdminContact added in v1.5.0

func (s *RegisterDomainInput) SetPrivacyProtectAdminContact(v bool) *RegisterDomainInput

SetPrivacyProtectAdminContact sets the PrivacyProtectAdminContact field's value.

func (*RegisterDomainInput) SetPrivacyProtectRegistrantContact added in v1.5.0

func (s *RegisterDomainInput) SetPrivacyProtectRegistrantContact(v bool) *RegisterDomainInput

SetPrivacyProtectRegistrantContact sets the PrivacyProtectRegistrantContact field's value.

func (*RegisterDomainInput) SetPrivacyProtectTechContact added in v1.5.0

func (s *RegisterDomainInput) SetPrivacyProtectTechContact(v bool) *RegisterDomainInput

SetPrivacyProtectTechContact sets the PrivacyProtectTechContact field's value.

func (*RegisterDomainInput) SetRegistrantContact added in v1.5.0

func (s *RegisterDomainInput) SetRegistrantContact(v *ContactDetail) *RegisterDomainInput

SetRegistrantContact sets the RegistrantContact field's value.

func (*RegisterDomainInput) SetTechContact added in v1.5.0

func (s *RegisterDomainInput) SetTechContact(v *ContactDetail) *RegisterDomainInput

SetTechContact sets the TechContact field's value.

func (RegisterDomainInput) String added in v0.6.5

func (s RegisterDomainInput) String() string

String returns the string representation

func (*RegisterDomainInput) Validate added in v1.1.21

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 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 RegisterDomain response includes the following element. Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/RegisterDomainResponse

func (RegisterDomainOutput) GoString added in v0.6.5

func (s RegisterDomainOutput) GoString() string

GoString returns the string representation

func (*RegisterDomainOutput) SetOperationId added in v1.5.0

func (s *RegisterDomainOutput) SetOperationId(v string) *RegisterDomainOutput

SetOperationId sets the OperationId field's value.

func (RegisterDomainOutput) String added in v0.6.5

func (s RegisterDomainOutput) String() string

String returns the string representation

type RenewDomainInput added in v1.2.10

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 (http://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. Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/RenewDomainRequest

func (RenewDomainInput) GoString added in v1.2.10

func (s RenewDomainInput) GoString() string

GoString returns the string representation

func (*RenewDomainInput) SetCurrentExpiryYear added in v1.5.0

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

SetCurrentExpiryYear sets the CurrentExpiryYear field's value.

func (*RenewDomainInput) SetDomainName added in v1.5.0

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

SetDomainName sets the DomainName field's value.

func (*RenewDomainInput) SetDurationInYears added in v1.5.0

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

SetDurationInYears sets the DurationInYears field's value.

func (RenewDomainInput) String added in v1.2.10

func (s RenewDomainInput) String() string

String returns the string representation

func (*RenewDomainInput) Validate added in v1.2.10

func (s *RenewDomainInput) Validate() error

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

type RenewDomainOutput added in v1.2.10

type RenewDomainOutput struct {

	// The 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
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/RenewDomainResponse

func (RenewDomainOutput) GoString added in v1.2.10

func (s RenewDomainOutput) GoString() string

GoString returns the string representation

func (*RenewDomainOutput) SetOperationId added in v1.5.0

func (s *RenewDomainOutput) SetOperationId(v string) *RenewDomainOutput

SetOperationId sets the OperationId field's value.

func (RenewDomainOutput) String added in v1.2.10

func (s RenewDomainOutput) String() string

String returns the string representation

type ResendContactReachabilityEmailInput added in v1.1.22

type ResendContactReachabilityEmailInput struct {

	// The name of the domain for which you want Amazon Route 53 to resend a confirmation
	// email to the registrant contact.
	DomainName *string `locationName:"domainName" type:"string"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/ResendContactReachabilityEmailRequest

func (ResendContactReachabilityEmailInput) GoString added in v1.1.22

GoString returns the string representation

func (*ResendContactReachabilityEmailInput) SetDomainName added in v1.5.0

SetDomainName sets the DomainName field's value.

func (ResendContactReachabilityEmailInput) String added in v1.1.22

String returns the string representation

type ResendContactReachabilityEmailOutput added in v1.1.22

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
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/ResendContactReachabilityEmailResponse

func (ResendContactReachabilityEmailOutput) GoString added in v1.1.22

GoString returns the string representation

func (*ResendContactReachabilityEmailOutput) SetDomainName added in v1.5.0

SetDomainName sets the DomainName field's value.

func (*ResendContactReachabilityEmailOutput) SetEmailAddress added in v1.5.0

SetEmailAddress sets the EmailAddress field's value.

func (*ResendContactReachabilityEmailOutput) SetIsAlreadyVerified added in v1.5.0

SetIsAlreadyVerified sets the IsAlreadyVerified field's value.

func (ResendContactReachabilityEmailOutput) String added in v1.1.22

String returns the string representation

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. Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/RetrieveDomainAuthCodeRequest

func (RetrieveDomainAuthCodeInput) GoString added in v0.6.5

func (s RetrieveDomainAuthCodeInput) GoString() string

GoString returns the string representation

func (*RetrieveDomainAuthCodeInput) SetDomainName added in v1.5.0

SetDomainName sets the DomainName field's value.

func (RetrieveDomainAuthCodeInput) String added in v0.6.5

String returns the string representation

func (*RetrieveDomainAuthCodeInput) Validate added in v1.1.21

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"`
	// contains filtered or unexported fields
}

The RetrieveDomainAuthCode response includes the following element. Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/RetrieveDomainAuthCodeResponse

func (RetrieveDomainAuthCodeOutput) GoString added in v0.6.5

func (s RetrieveDomainAuthCodeOutput) GoString() string

GoString returns the string representation

func (*RetrieveDomainAuthCodeOutput) SetAuthCode added in v1.5.0

SetAuthCode sets the AuthCode field's value.

func (RetrieveDomainAuthCodeOutput) String added in v0.6.5

String returns the string representation

type Route53Domains

type Route53Domains struct {
	*client.Client
}

Route53Domains 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.

Route53Domains methods are safe to use concurrently. It is not safe to modify mutate any of the struct's properties though.

func New

func New(p client.ConfigProvider, cfgs ...*aws.Config) *Route53Domains

New creates a new instance of the Route53Domains client with a session. If additional configuration is needed for the client instance use the optional aws.Config parameter to add your extra config.

Example:

// Create a Route53Domains client from just a session.
svc := route53domains.New(mySession)

// Create a Route53Domains client with additional configuration
svc := route53domains.New(mySession, aws.NewConfig().WithRegion("us-west-2"))

func (*Route53Domains) CheckDomainAvailability

func (c *Route53Domains) CheckDomainAvailability(input *CheckDomainAvailabilityInput) (*CheckDomainAvailabilityOutput, error)

CheckDomainAvailability 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.

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 the error.

See the AWS API reference guide for Amazon Route 53 Domains's API operation CheckDomainAvailability for usage and error information.

Returned Error Codes:

  • ErrCodeInvalidInput "InvalidInput" The requested item is not acceptable. For example, for an OperationId it may refer to the ID of an operation that is already completed. For a domain name, it may not be a valid domain name or belong to the requester account.

  • ErrCodeUnsupportedTLD "UnsupportedTLD" Amazon Route 53 does not support this top-level domain.

Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/CheckDomainAvailability

Example
package main

import (
	"fmt"

	"github.com/aws/aws-sdk-go/aws"
	"github.com/aws/aws-sdk-go/aws/session"
	"github.com/aws/aws-sdk-go/service/route53domains"
)

func main() {
	sess := session.Must(session.NewSession())

	svc := route53domains.New(sess)

	params := &route53domains.CheckDomainAvailabilityInput{
		DomainName:  aws.String("DomainName"), // Required
		IdnLangCode: aws.String("LangCode"),
	}
	resp, err := svc.CheckDomainAvailability(params)

	if err != nil {
		// Print the error, cast err to awserr.Error to get the Code and
		// Message from an error.
		fmt.Println(err.Error())
		return
	}

	// Pretty-print the response data.
	fmt.Println(resp)
}
Output:

func (*Route53Domains) CheckDomainAvailabilityRequest

func (c *Route53Domains) CheckDomainAvailabilityRequest(input *CheckDomainAvailabilityInput) (req *request.Request, output *CheckDomainAvailabilityOutput)

CheckDomainAvailabilityRequest generates a "aws/request.Request" representing the client's request for the CheckDomainAvailability operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See CheckDomainAvailability for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the CheckDomainAvailability method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// Example sending a request using the CheckDomainAvailabilityRequest method.
req, resp := client.CheckDomainAvailabilityRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/CheckDomainAvailability

func (*Route53Domains) CheckDomainAvailabilityWithContext added in v1.8.0

func (c *Route53Domains) CheckDomainAvailabilityWithContext(ctx aws.Context, input *CheckDomainAvailabilityInput, opts ...request.Option) (*CheckDomainAvailabilityOutput, error)

CheckDomainAvailabilityWithContext is the same as CheckDomainAvailability with the addition of the ability to pass a context and additional request options.

See CheckDomainAvailability for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Route53Domains) DeleteTagsForDomain

func (c *Route53Domains) DeleteTagsForDomain(input *DeleteTagsForDomainInput) (*DeleteTagsForDomainOutput, error)

DeleteTagsForDomain API operation for Amazon Route 53 Domains.

This operation deletes the specified tags for a domain.

All tag operations are eventually consistent; subsequent operations may not immediately represent all issued operations.

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 the error.

See the AWS API reference guide for Amazon Route 53 Domains's API operation DeleteTagsForDomain for usage and error information.

Returned Error Codes:

  • ErrCodeInvalidInput "InvalidInput" The requested item is not acceptable. For example, for an OperationId it may refer to the ID of an operation that is already completed. For a domain name, it may not be a valid domain name or belong to the requester account.

  • ErrCodeOperationLimitExceeded "OperationLimitExceeded" The number of operations or jobs running exceeded the allowed threshold for the account.

  • ErrCodeUnsupportedTLD "UnsupportedTLD" Amazon Route 53 does not support this top-level domain.

Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/DeleteTagsForDomain

Example
package main

import (
	"fmt"

	"github.com/aws/aws-sdk-go/aws"
	"github.com/aws/aws-sdk-go/aws/session"
	"github.com/aws/aws-sdk-go/service/route53domains"
)

func main() {
	sess := session.Must(session.NewSession())

	svc := route53domains.New(sess)

	params := &route53domains.DeleteTagsForDomainInput{
		DomainName: aws.String("DomainName"), // Required
		TagsToDelete: []*string{ // Required
			aws.String("TagKey"), // Required
			// More values...
		},
	}
	resp, err := svc.DeleteTagsForDomain(params)

	if err != nil {
		// Print the error, cast err to awserr.Error to get the Code and
		// Message from an error.
		fmt.Println(err.Error())
		return
	}

	// Pretty-print the response data.
	fmt.Println(resp)
}
Output:

func (*Route53Domains) DeleteTagsForDomainRequest

func (c *Route53Domains) DeleteTagsForDomainRequest(input *DeleteTagsForDomainInput) (req *request.Request, output *DeleteTagsForDomainOutput)

DeleteTagsForDomainRequest generates a "aws/request.Request" representing the client's request for the DeleteTagsForDomain operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See DeleteTagsForDomain for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the DeleteTagsForDomain method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// Example sending a request using the DeleteTagsForDomainRequest method.
req, resp := client.DeleteTagsForDomainRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/DeleteTagsForDomain

func (*Route53Domains) DeleteTagsForDomainWithContext added in v1.8.0

func (c *Route53Domains) DeleteTagsForDomainWithContext(ctx aws.Context, input *DeleteTagsForDomainInput, opts ...request.Option) (*DeleteTagsForDomainOutput, error)

DeleteTagsForDomainWithContext is the same as DeleteTagsForDomain with the addition of the ability to pass a context and additional request options.

See DeleteTagsForDomain for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Route53Domains) DisableDomainAutoRenew

func (c *Route53Domains) DisableDomainAutoRenew(input *DisableDomainAutoRenewInput) (*DisableDomainAutoRenewOutput, error)

DisableDomainAutoRenew API operation for Amazon Route 53 Domains.

This operation disables automatic renewal of domain registration for the specified domain.

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 the error.

See the AWS API reference guide for Amazon Route 53 Domains's API operation DisableDomainAutoRenew for usage and error information.

Returned Error Codes:

  • ErrCodeInvalidInput "InvalidInput" The requested item is not acceptable. For example, for an OperationId it may refer to the ID of an operation that is already completed. For a domain name, it may not be a valid domain name or belong to the requester account.

  • ErrCodeUnsupportedTLD "UnsupportedTLD" Amazon Route 53 does not support this top-level domain.

Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/DisableDomainAutoRenew

Example
package main

import (
	"fmt"

	"github.com/aws/aws-sdk-go/aws"
	"github.com/aws/aws-sdk-go/aws/session"
	"github.com/aws/aws-sdk-go/service/route53domains"
)

func main() {
	sess := session.Must(session.NewSession())

	svc := route53domains.New(sess)

	params := &route53domains.DisableDomainAutoRenewInput{
		DomainName: aws.String("DomainName"), // Required
	}
	resp, err := svc.DisableDomainAutoRenew(params)

	if err != nil {
		// Print the error, cast err to awserr.Error to get the Code and
		// Message from an error.
		fmt.Println(err.Error())
		return
	}

	// Pretty-print the response data.
	fmt.Println(resp)
}
Output:

func (*Route53Domains) DisableDomainAutoRenewRequest

func (c *Route53Domains) DisableDomainAutoRenewRequest(input *DisableDomainAutoRenewInput) (req *request.Request, output *DisableDomainAutoRenewOutput)

DisableDomainAutoRenewRequest generates a "aws/request.Request" representing the client's request for the DisableDomainAutoRenew operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See DisableDomainAutoRenew for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the DisableDomainAutoRenew method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// Example sending a request using the DisableDomainAutoRenewRequest method.
req, resp := client.DisableDomainAutoRenewRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/DisableDomainAutoRenew

func (*Route53Domains) DisableDomainAutoRenewWithContext added in v1.8.0

func (c *Route53Domains) DisableDomainAutoRenewWithContext(ctx aws.Context, input *DisableDomainAutoRenewInput, opts ...request.Option) (*DisableDomainAutoRenewOutput, error)

DisableDomainAutoRenewWithContext is the same as DisableDomainAutoRenew with the addition of the ability to pass a context and additional request options.

See DisableDomainAutoRenew for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Route53Domains) DisableDomainTransferLock

DisableDomainTransferLock 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.

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 the error.

See the AWS API reference guide for Amazon Route 53 Domains's API operation DisableDomainTransferLock for usage and error information.

Returned Error Codes:

  • ErrCodeInvalidInput "InvalidInput" The requested item is not acceptable. For example, for an OperationId it may refer to the ID of an operation that is already completed. For a domain name, it may not be a valid domain name or belong to the requester account.

  • ErrCodeDuplicateRequest "DuplicateRequest" The request is already in progress for the domain.

  • ErrCodeTLDRulesViolation "TLDRulesViolation" The top-level domain does not support this operation.

  • ErrCodeOperationLimitExceeded "OperationLimitExceeded" The number of operations or jobs running exceeded the allowed threshold for the account.

  • ErrCodeUnsupportedTLD "UnsupportedTLD" Amazon Route 53 does not support this top-level domain.

Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/DisableDomainTransferLock

Example
package main

import (
	"fmt"

	"github.com/aws/aws-sdk-go/aws"
	"github.com/aws/aws-sdk-go/aws/session"
	"github.com/aws/aws-sdk-go/service/route53domains"
)

func main() {
	sess := session.Must(session.NewSession())

	svc := route53domains.New(sess)

	params := &route53domains.DisableDomainTransferLockInput{
		DomainName: aws.String("DomainName"), // Required
	}
	resp, err := svc.DisableDomainTransferLock(params)

	if err != nil {
		// Print the error, cast err to awserr.Error to get the Code and
		// Message from an error.
		fmt.Println(err.Error())
		return
	}

	// Pretty-print the response data.
	fmt.Println(resp)
}
Output:

func (*Route53Domains) DisableDomainTransferLockRequest

func (c *Route53Domains) DisableDomainTransferLockRequest(input *DisableDomainTransferLockInput) (req *request.Request, output *DisableDomainTransferLockOutput)

DisableDomainTransferLockRequest generates a "aws/request.Request" representing the client's request for the DisableDomainTransferLock operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See DisableDomainTransferLock for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the DisableDomainTransferLock method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// Example sending a request using the DisableDomainTransferLockRequest method.
req, resp := client.DisableDomainTransferLockRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/DisableDomainTransferLock

func (*Route53Domains) DisableDomainTransferLockWithContext added in v1.8.0

func (c *Route53Domains) DisableDomainTransferLockWithContext(ctx aws.Context, input *DisableDomainTransferLockInput, opts ...request.Option) (*DisableDomainTransferLockOutput, error)

DisableDomainTransferLockWithContext is the same as DisableDomainTransferLock with the addition of the ability to pass a context and additional request options.

See DisableDomainTransferLock for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Route53Domains) EnableDomainAutoRenew

func (c *Route53Domains) EnableDomainAutoRenew(input *EnableDomainAutoRenewInput) (*EnableDomainAutoRenewOutput, error)

EnableDomainAutoRenew 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 "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.

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 the error.

See the AWS API reference guide for Amazon Route 53 Domains's API operation EnableDomainAutoRenew for usage and error information.

Returned Error Codes:

  • ErrCodeInvalidInput "InvalidInput" The requested item is not acceptable. For example, for an OperationId it may refer to the ID of an operation that is already completed. For a domain name, it may not be a valid domain name or belong to the requester account.

  • ErrCodeUnsupportedTLD "UnsupportedTLD" Amazon Route 53 does not support this top-level domain.

  • ErrCodeTLDRulesViolation "TLDRulesViolation" The top-level domain does not support this operation.

Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/EnableDomainAutoRenew

Example
package main

import (
	"fmt"

	"github.com/aws/aws-sdk-go/aws"
	"github.com/aws/aws-sdk-go/aws/session"
	"github.com/aws/aws-sdk-go/service/route53domains"
)

func main() {
	sess := session.Must(session.NewSession())

	svc := route53domains.New(sess)

	params := &route53domains.EnableDomainAutoRenewInput{
		DomainName: aws.String("DomainName"), // Required
	}
	resp, err := svc.EnableDomainAutoRenew(params)

	if err != nil {
		// Print the error, cast err to awserr.Error to get the Code and
		// Message from an error.
		fmt.Println(err.Error())
		return
	}

	// Pretty-print the response data.
	fmt.Println(resp)
}
Output:

func (*Route53Domains) EnableDomainAutoRenewRequest

func (c *Route53Domains) EnableDomainAutoRenewRequest(input *EnableDomainAutoRenewInput) (req *request.Request, output *EnableDomainAutoRenewOutput)

EnableDomainAutoRenewRequest generates a "aws/request.Request" representing the client's request for the EnableDomainAutoRenew operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See EnableDomainAutoRenew for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the EnableDomainAutoRenew method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// Example sending a request using the EnableDomainAutoRenewRequest method.
req, resp := client.EnableDomainAutoRenewRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/EnableDomainAutoRenew

func (*Route53Domains) EnableDomainAutoRenewWithContext added in v1.8.0

func (c *Route53Domains) EnableDomainAutoRenewWithContext(ctx aws.Context, input *EnableDomainAutoRenewInput, opts ...request.Option) (*EnableDomainAutoRenewOutput, error)

EnableDomainAutoRenewWithContext is the same as EnableDomainAutoRenew with the addition of the ability to pass a context and additional request options.

See EnableDomainAutoRenew for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Route53Domains) EnableDomainTransferLock

func (c *Route53Domains) EnableDomainTransferLock(input *EnableDomainTransferLockInput) (*EnableDomainTransferLockOutput, error)

EnableDomainTransferLock 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.

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 the error.

See the AWS API reference guide for Amazon Route 53 Domains's API operation EnableDomainTransferLock for usage and error information.

Returned Error Codes:

  • ErrCodeInvalidInput "InvalidInput" The requested item is not acceptable. For example, for an OperationId it may refer to the ID of an operation that is already completed. For a domain name, it may not be a valid domain name or belong to the requester account.

  • ErrCodeDuplicateRequest "DuplicateRequest" The request is already in progress for the domain.

  • ErrCodeTLDRulesViolation "TLDRulesViolation" The top-level domain does not support this operation.

  • ErrCodeOperationLimitExceeded "OperationLimitExceeded" The number of operations or jobs running exceeded the allowed threshold for the account.

  • ErrCodeUnsupportedTLD "UnsupportedTLD" Amazon Route 53 does not support this top-level domain.

Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/EnableDomainTransferLock

Example
package main

import (
	"fmt"

	"github.com/aws/aws-sdk-go/aws"
	"github.com/aws/aws-sdk-go/aws/session"
	"github.com/aws/aws-sdk-go/service/route53domains"
)

func main() {
	sess := session.Must(session.NewSession())

	svc := route53domains.New(sess)

	params := &route53domains.EnableDomainTransferLockInput{
		DomainName: aws.String("DomainName"), // Required
	}
	resp, err := svc.EnableDomainTransferLock(params)

	if err != nil {
		// Print the error, cast err to awserr.Error to get the Code and
		// Message from an error.
		fmt.Println(err.Error())
		return
	}

	// Pretty-print the response data.
	fmt.Println(resp)
}
Output:

func (*Route53Domains) EnableDomainTransferLockRequest

func (c *Route53Domains) EnableDomainTransferLockRequest(input *EnableDomainTransferLockInput) (req *request.Request, output *EnableDomainTransferLockOutput)

EnableDomainTransferLockRequest generates a "aws/request.Request" representing the client's request for the EnableDomainTransferLock operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See EnableDomainTransferLock for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the EnableDomainTransferLock method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// Example sending a request using the EnableDomainTransferLockRequest method.
req, resp := client.EnableDomainTransferLockRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/EnableDomainTransferLock

func (*Route53Domains) EnableDomainTransferLockWithContext added in v1.8.0

func (c *Route53Domains) EnableDomainTransferLockWithContext(ctx aws.Context, input *EnableDomainTransferLockInput, opts ...request.Option) (*EnableDomainTransferLockOutput, error)

EnableDomainTransferLockWithContext is the same as EnableDomainTransferLock with the addition of the ability to pass a context and additional request options.

See EnableDomainTransferLock for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Route53Domains) GetContactReachabilityStatus added in v1.1.22

GetContactReachabilityStatus 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.

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 the error.

See the AWS API reference guide for Amazon Route 53 Domains's API operation GetContactReachabilityStatus for usage and error information.

Returned Error Codes:

  • ErrCodeInvalidInput "InvalidInput" The requested item is not acceptable. For example, for an OperationId it may refer to the ID of an operation that is already completed. For a domain name, it may not be a valid domain name or belong to the requester account.

  • ErrCodeOperationLimitExceeded "OperationLimitExceeded" The number of operations or jobs running exceeded the allowed threshold for the account.

  • ErrCodeUnsupportedTLD "UnsupportedTLD" Amazon Route 53 does not support this top-level domain.

Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/GetContactReachabilityStatus

Example
package main

import (
	"fmt"

	"github.com/aws/aws-sdk-go/aws"
	"github.com/aws/aws-sdk-go/aws/session"
	"github.com/aws/aws-sdk-go/service/route53domains"
)

func main() {
	sess := session.Must(session.NewSession())

	svc := route53domains.New(sess)

	params := &route53domains.GetContactReachabilityStatusInput{
		DomainName: aws.String("DomainName"),
	}
	resp, err := svc.GetContactReachabilityStatus(params)

	if err != nil {
		// Print the error, cast err to awserr.Error to get the Code and
		// Message from an error.
		fmt.Println(err.Error())
		return
	}

	// Pretty-print the response data.
	fmt.Println(resp)
}
Output:

func (*Route53Domains) GetContactReachabilityStatusRequest added in v1.1.22

func (c *Route53Domains) GetContactReachabilityStatusRequest(input *GetContactReachabilityStatusInput) (req *request.Request, output *GetContactReachabilityStatusOutput)

GetContactReachabilityStatusRequest generates a "aws/request.Request" representing the client's request for the GetContactReachabilityStatus operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See GetContactReachabilityStatus for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the GetContactReachabilityStatus method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// Example sending a request using the GetContactReachabilityStatusRequest method.
req, resp := client.GetContactReachabilityStatusRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/GetContactReachabilityStatus

func (*Route53Domains) GetContactReachabilityStatusWithContext added in v1.8.0

func (c *Route53Domains) GetContactReachabilityStatusWithContext(ctx aws.Context, input *GetContactReachabilityStatusInput, opts ...request.Option) (*GetContactReachabilityStatusOutput, error)

GetContactReachabilityStatusWithContext is the same as GetContactReachabilityStatus with the addition of the ability to pass a context and additional request options.

See GetContactReachabilityStatus for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Route53Domains) GetDomainDetail

func (c *Route53Domains) GetDomainDetail(input *GetDomainDetailInput) (*GetDomainDetailOutput, error)

GetDomainDetail 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.

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 the error.

See the AWS API reference guide for Amazon Route 53 Domains's API operation GetDomainDetail for usage and error information.

Returned Error Codes:

  • ErrCodeInvalidInput "InvalidInput" The requested item is not acceptable. For example, for an OperationId it may refer to the ID of an operation that is already completed. For a domain name, it may not be a valid domain name or belong to the requester account.

  • ErrCodeUnsupportedTLD "UnsupportedTLD" Amazon Route 53 does not support this top-level domain.

Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/GetDomainDetail

Example
package main

import (
	"fmt"

	"github.com/aws/aws-sdk-go/aws"
	"github.com/aws/aws-sdk-go/aws/session"
	"github.com/aws/aws-sdk-go/service/route53domains"
)

func main() {
	sess := session.Must(session.NewSession())

	svc := route53domains.New(sess)

	params := &route53domains.GetDomainDetailInput{
		DomainName: aws.String("DomainName"), // Required
	}
	resp, err := svc.GetDomainDetail(params)

	if err != nil {
		// Print the error, cast err to awserr.Error to get the Code and
		// Message from an error.
		fmt.Println(err.Error())
		return
	}

	// Pretty-print the response data.
	fmt.Println(resp)
}
Output:

func (*Route53Domains) GetDomainDetailRequest

func (c *Route53Domains) GetDomainDetailRequest(input *GetDomainDetailInput) (req *request.Request, output *GetDomainDetailOutput)

GetDomainDetailRequest generates a "aws/request.Request" representing the client's request for the GetDomainDetail operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See GetDomainDetail for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the GetDomainDetail method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// Example sending a request using the GetDomainDetailRequest method.
req, resp := client.GetDomainDetailRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/GetDomainDetail

func (*Route53Domains) GetDomainDetailWithContext added in v1.8.0

func (c *Route53Domains) GetDomainDetailWithContext(ctx aws.Context, input *GetDomainDetailInput, opts ...request.Option) (*GetDomainDetailOutput, error)

GetDomainDetailWithContext is the same as GetDomainDetail with the addition of the ability to pass a context and additional request options.

See GetDomainDetail for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Route53Domains) GetDomainSuggestions added in v1.2.10

func (c *Route53Domains) GetDomainSuggestions(input *GetDomainSuggestionsInput) (*GetDomainSuggestionsOutput, error)

GetDomainSuggestions API operation for Amazon Route 53 Domains.

The GetDomainSuggestions operation returns a list of suggested domain names given a string, which can either be a domain name or simply a word or phrase (without spaces).

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 the error.

See the AWS API reference guide for Amazon Route 53 Domains's API operation GetDomainSuggestions for usage and error information.

Returned Error Codes:

  • ErrCodeInvalidInput "InvalidInput" The requested item is not acceptable. For example, for an OperationId it may refer to the ID of an operation that is already completed. For a domain name, it may not be a valid domain name or belong to the requester account.

  • ErrCodeUnsupportedTLD "UnsupportedTLD" Amazon Route 53 does not support this top-level domain.

Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/GetDomainSuggestions

Example
package main

import (
	"fmt"

	"github.com/aws/aws-sdk-go/aws"
	"github.com/aws/aws-sdk-go/aws/session"
	"github.com/aws/aws-sdk-go/service/route53domains"
)

func main() {
	sess := session.Must(session.NewSession())

	svc := route53domains.New(sess)

	params := &route53domains.GetDomainSuggestionsInput{
		DomainName:      aws.String("DomainName"), // Required
		OnlyAvailable:   aws.Bool(true),           // Required
		SuggestionCount: aws.Int64(1),             // Required
	}
	resp, err := svc.GetDomainSuggestions(params)

	if err != nil {
		// Print the error, cast err to awserr.Error to get the Code and
		// Message from an error.
		fmt.Println(err.Error())
		return
	}

	// Pretty-print the response data.
	fmt.Println(resp)
}
Output:

func (*Route53Domains) GetDomainSuggestionsRequest added in v1.2.10

func (c *Route53Domains) GetDomainSuggestionsRequest(input *GetDomainSuggestionsInput) (req *request.Request, output *GetDomainSuggestionsOutput)

GetDomainSuggestionsRequest generates a "aws/request.Request" representing the client's request for the GetDomainSuggestions operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See GetDomainSuggestions for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the GetDomainSuggestions method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// Example sending a request using the GetDomainSuggestionsRequest method.
req, resp := client.GetDomainSuggestionsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/GetDomainSuggestions

func (*Route53Domains) GetDomainSuggestionsWithContext added in v1.8.0

func (c *Route53Domains) GetDomainSuggestionsWithContext(ctx aws.Context, input *GetDomainSuggestionsInput, opts ...request.Option) (*GetDomainSuggestionsOutput, error)

GetDomainSuggestionsWithContext is the same as GetDomainSuggestions with the addition of the ability to pass a context and additional request options.

See GetDomainSuggestions for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Route53Domains) GetOperationDetail

func (c *Route53Domains) GetOperationDetail(input *GetOperationDetailInput) (*GetOperationDetailOutput, error)

GetOperationDetail API operation for Amazon Route 53 Domains.

This operation returns the current status of an operation that is not completed.

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 the error.

See the AWS API reference guide for Amazon Route 53 Domains's API operation GetOperationDetail for usage and error information.

Returned Error Codes:

  • ErrCodeInvalidInput "InvalidInput" The requested item is not acceptable. For example, for an OperationId it may refer to the ID of an operation that is already completed. For a domain name, it may not be a valid domain name or belong to the requester account.

Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/GetOperationDetail

Example
package main

import (
	"fmt"

	"github.com/aws/aws-sdk-go/aws"
	"github.com/aws/aws-sdk-go/aws/session"
	"github.com/aws/aws-sdk-go/service/route53domains"
)

func main() {
	sess := session.Must(session.NewSession())

	svc := route53domains.New(sess)

	params := &route53domains.GetOperationDetailInput{
		OperationId: aws.String("OperationId"), // Required
	}
	resp, err := svc.GetOperationDetail(params)

	if err != nil {
		// Print the error, cast err to awserr.Error to get the Code and
		// Message from an error.
		fmt.Println(err.Error())
		return
	}

	// Pretty-print the response data.
	fmt.Println(resp)
}
Output:

func (*Route53Domains) GetOperationDetailRequest

func (c *Route53Domains) GetOperationDetailRequest(input *GetOperationDetailInput) (req *request.Request, output *GetOperationDetailOutput)

GetOperationDetailRequest generates a "aws/request.Request" representing the client's request for the GetOperationDetail operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See GetOperationDetail for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the GetOperationDetail method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// Example sending a request using the GetOperationDetailRequest method.
req, resp := client.GetOperationDetailRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/GetOperationDetail

func (*Route53Domains) GetOperationDetailWithContext added in v1.8.0

func (c *Route53Domains) GetOperationDetailWithContext(ctx aws.Context, input *GetOperationDetailInput, opts ...request.Option) (*GetOperationDetailOutput, error)

GetOperationDetailWithContext is the same as GetOperationDetail with the addition of the ability to pass a context and additional request options.

See GetOperationDetail for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Route53Domains) ListDomains

func (c *Route53Domains) ListDomains(input *ListDomainsInput) (*ListDomainsOutput, error)

ListDomains API operation for Amazon Route 53 Domains.

This operation returns all the domain names registered with Amazon Route 53 for the current AWS account.

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 the error.

See the AWS API reference guide for Amazon Route 53 Domains's API operation ListDomains for usage and error information.

Returned Error Codes:

  • ErrCodeInvalidInput "InvalidInput" The requested item is not acceptable. For example, for an OperationId it may refer to the ID of an operation that is already completed. For a domain name, it may not be a valid domain name or belong to the requester account.

Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/ListDomains

Example
package main

import (
	"fmt"

	"github.com/aws/aws-sdk-go/aws"
	"github.com/aws/aws-sdk-go/aws/session"
	"github.com/aws/aws-sdk-go/service/route53domains"
)

func main() {
	sess := session.Must(session.NewSession())

	svc := route53domains.New(sess)

	params := &route53domains.ListDomainsInput{
		Marker:   aws.String("PageMarker"),
		MaxItems: aws.Int64(1),
	}
	resp, err := svc.ListDomains(params)

	if err != nil {
		// Print the error, cast err to awserr.Error to get the Code and
		// Message from an error.
		fmt.Println(err.Error())
		return
	}

	// Pretty-print the response data.
	fmt.Println(resp)
}
Output:

func (*Route53Domains) ListDomainsPages

func (c *Route53Domains) ListDomainsPages(input *ListDomainsInput, fn func(*ListDomainsOutput, bool) bool) error

ListDomainsPages iterates over the pages of a ListDomains operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListDomains method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListDomains operation.
pageNum := 0
err := client.ListDomainsPages(params,
    func(page *ListDomainsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*Route53Domains) ListDomainsPagesWithContext added in v1.8.0

func (c *Route53Domains) ListDomainsPagesWithContext(ctx aws.Context, input *ListDomainsInput, fn func(*ListDomainsOutput, bool) bool, opts ...request.Option) error

ListDomainsPagesWithContext same as ListDomainsPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Route53Domains) ListDomainsRequest

func (c *Route53Domains) ListDomainsRequest(input *ListDomainsInput) (req *request.Request, output *ListDomainsOutput)

ListDomainsRequest generates a "aws/request.Request" representing the client's request for the ListDomains operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See ListDomains for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the ListDomains method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// Example sending a request using the ListDomainsRequest method.
req, resp := client.ListDomainsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/ListDomains

func (*Route53Domains) ListDomainsWithContext added in v1.8.0

func (c *Route53Domains) ListDomainsWithContext(ctx aws.Context, input *ListDomainsInput, opts ...request.Option) (*ListDomainsOutput, error)

ListDomainsWithContext is the same as ListDomains with the addition of the ability to pass a context and additional request options.

See ListDomains for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Route53Domains) ListOperations

func (c *Route53Domains) ListOperations(input *ListOperationsInput) (*ListOperationsOutput, error)

ListOperations API operation for Amazon Route 53 Domains.

This operation returns the operation IDs of operations that are not yet complete.

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 the error.

See the AWS API reference guide for Amazon Route 53 Domains's API operation ListOperations for usage and error information.

Returned Error Codes:

  • ErrCodeInvalidInput "InvalidInput" The requested item is not acceptable. For example, for an OperationId it may refer to the ID of an operation that is already completed. For a domain name, it may not be a valid domain name or belong to the requester account.

Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/ListOperations

Example
package main

import (
	"fmt"

	"github.com/aws/aws-sdk-go/aws"
	"github.com/aws/aws-sdk-go/aws/session"
	"github.com/aws/aws-sdk-go/service/route53domains"
)

func main() {
	sess := session.Must(session.NewSession())

	svc := route53domains.New(sess)

	params := &route53domains.ListOperationsInput{
		Marker:   aws.String("PageMarker"),
		MaxItems: aws.Int64(1),
	}
	resp, err := svc.ListOperations(params)

	if err != nil {
		// Print the error, cast err to awserr.Error to get the Code and
		// Message from an error.
		fmt.Println(err.Error())
		return
	}

	// Pretty-print the response data.
	fmt.Println(resp)
}
Output:

func (*Route53Domains) ListOperationsPages

func (c *Route53Domains) ListOperationsPages(input *ListOperationsInput, fn func(*ListOperationsOutput, bool) bool) error

ListOperationsPages iterates over the pages of a ListOperations operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListOperations method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListOperations operation.
pageNum := 0
err := client.ListOperationsPages(params,
    func(page *ListOperationsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*Route53Domains) ListOperationsPagesWithContext added in v1.8.0

func (c *Route53Domains) ListOperationsPagesWithContext(ctx aws.Context, input *ListOperationsInput, fn func(*ListOperationsOutput, bool) bool, opts ...request.Option) error

ListOperationsPagesWithContext same as ListOperationsPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Route53Domains) ListOperationsRequest

func (c *Route53Domains) ListOperationsRequest(input *ListOperationsInput) (req *request.Request, output *ListOperationsOutput)

ListOperationsRequest generates a "aws/request.Request" representing the client's request for the ListOperations operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See ListOperations for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the ListOperations method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// Example sending a request using the ListOperationsRequest method.
req, resp := client.ListOperationsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/ListOperations

func (*Route53Domains) ListOperationsWithContext added in v1.8.0

func (c *Route53Domains) ListOperationsWithContext(ctx aws.Context, input *ListOperationsInput, opts ...request.Option) (*ListOperationsOutput, error)

ListOperationsWithContext is the same as ListOperations with the addition of the ability to pass a context and additional request options.

See ListOperations for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Route53Domains) ListTagsForDomain

func (c *Route53Domains) ListTagsForDomain(input *ListTagsForDomainInput) (*ListTagsForDomainOutput, error)

ListTagsForDomain 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 may not immediately represent all issued operations.

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 the error.

See the AWS API reference guide for Amazon Route 53 Domains's API operation ListTagsForDomain for usage and error information.

Returned Error Codes:

  • ErrCodeInvalidInput "InvalidInput" The requested item is not acceptable. For example, for an OperationId it may refer to the ID of an operation that is already completed. For a domain name, it may not be a valid domain name or belong to the requester account.

  • ErrCodeOperationLimitExceeded "OperationLimitExceeded" The number of operations or jobs running exceeded the allowed threshold for the account.

  • ErrCodeUnsupportedTLD "UnsupportedTLD" Amazon Route 53 does not support this top-level domain.

Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/ListTagsForDomain

Example
package main

import (
	"fmt"

	"github.com/aws/aws-sdk-go/aws"
	"github.com/aws/aws-sdk-go/aws/session"
	"github.com/aws/aws-sdk-go/service/route53domains"
)

func main() {
	sess := session.Must(session.NewSession())

	svc := route53domains.New(sess)

	params := &route53domains.ListTagsForDomainInput{
		DomainName: aws.String("DomainName"), // Required
	}
	resp, err := svc.ListTagsForDomain(params)

	if err != nil {
		// Print the error, cast err to awserr.Error to get the Code and
		// Message from an error.
		fmt.Println(err.Error())
		return
	}

	// Pretty-print the response data.
	fmt.Println(resp)
}
Output:

func (*Route53Domains) ListTagsForDomainRequest

func (c *Route53Domains) ListTagsForDomainRequest(input *ListTagsForDomainInput) (req *request.Request, output *ListTagsForDomainOutput)

ListTagsForDomainRequest generates a "aws/request.Request" representing the client's request for the ListTagsForDomain operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See ListTagsForDomain for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the ListTagsForDomain method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// Example sending a request using the ListTagsForDomainRequest method.
req, resp := client.ListTagsForDomainRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/ListTagsForDomain

func (*Route53Domains) ListTagsForDomainWithContext added in v1.8.0

func (c *Route53Domains) ListTagsForDomainWithContext(ctx aws.Context, input *ListTagsForDomainInput, opts ...request.Option) (*ListTagsForDomainOutput, error)

ListTagsForDomainWithContext is the same as ListTagsForDomain with the addition of the ability to pass a context and additional request options.

See ListTagsForDomain for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Route53Domains) RegisterDomain

func (c *Route53Domains) RegisterDomain(input *RegisterDomainInput) (*RegisterDomainOutput, error)

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.

When you register a domain, Amazon Route 53 does the following:

  • Creates a Amazon Route 53 hosted zone that has the same name as the domain. Amazon 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 for our registrar partner, Gandi, instead of the information you entered for 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/).

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 the error.

See the AWS API reference guide for Amazon Route 53 Domains's API operation RegisterDomain for usage and error information.

Returned Error Codes:

  • ErrCodeInvalidInput "InvalidInput" The requested item is not acceptable. For example, for an OperationId it may refer to the ID of an operation that is already completed. For a domain name, it may not be a valid domain name or belong to the requester account.

  • ErrCodeUnsupportedTLD "UnsupportedTLD" Amazon Route 53 does not support this top-level domain.

  • ErrCodeDuplicateRequest "DuplicateRequest" The request is already in progress for the domain.

  • ErrCodeTLDRulesViolation "TLDRulesViolation" The top-level domain does not support this operation.

  • ErrCodeDomainLimitExceeded "DomainLimitExceeded" The number of domains has exceeded the allowed threshold for the account.

  • ErrCodeOperationLimitExceeded "OperationLimitExceeded" The number of operations or jobs running exceeded the allowed threshold for the account.

Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/RegisterDomain

Example
package main

import (
	"fmt"

	"github.com/aws/aws-sdk-go/aws"
	"github.com/aws/aws-sdk-go/aws/session"
	"github.com/aws/aws-sdk-go/service/route53domains"
)

func main() {
	sess := session.Must(session.NewSession())

	svc := route53domains.New(sess)

	params := &route53domains.RegisterDomainInput{
		AdminContact: &route53domains.ContactDetail{ // Required
			AddressLine1: aws.String("AddressLine"),
			AddressLine2: aws.String("AddressLine"),
			City:         aws.String("City"),
			ContactType:  aws.String("ContactType"),
			CountryCode:  aws.String("CountryCode"),
			Email:        aws.String("Email"),
			ExtraParams: []*route53domains.ExtraParam{
				{ // Required
					Name:  aws.String("ExtraParamName"),  // Required
					Value: aws.String("ExtraParamValue"), // Required
				},
				// More values...
			},
			Fax:              aws.String("ContactNumber"),
			FirstName:        aws.String("ContactName"),
			LastName:         aws.String("ContactName"),
			OrganizationName: aws.String("ContactName"),
			PhoneNumber:      aws.String("ContactNumber"),
			State:            aws.String("State"),
			ZipCode:          aws.String("ZipCode"),
		},
		DomainName:      aws.String("DomainName"), // Required
		DurationInYears: aws.Int64(1),             // Required
		RegistrantContact: &route53domains.ContactDetail{ // Required
			AddressLine1: aws.String("AddressLine"),
			AddressLine2: aws.String("AddressLine"),
			City:         aws.String("City"),
			ContactType:  aws.String("ContactType"),
			CountryCode:  aws.String("CountryCode"),
			Email:        aws.String("Email"),
			ExtraParams: []*route53domains.ExtraParam{
				{ // Required
					Name:  aws.String("ExtraParamName"),  // Required
					Value: aws.String("ExtraParamValue"), // Required
				},
				// More values...
			},
			Fax:              aws.String("ContactNumber"),
			FirstName:        aws.String("ContactName"),
			LastName:         aws.String("ContactName"),
			OrganizationName: aws.String("ContactName"),
			PhoneNumber:      aws.String("ContactNumber"),
			State:            aws.String("State"),
			ZipCode:          aws.String("ZipCode"),
		},
		TechContact: &route53domains.ContactDetail{ // Required
			AddressLine1: aws.String("AddressLine"),
			AddressLine2: aws.String("AddressLine"),
			City:         aws.String("City"),
			ContactType:  aws.String("ContactType"),
			CountryCode:  aws.String("CountryCode"),
			Email:        aws.String("Email"),
			ExtraParams: []*route53domains.ExtraParam{
				{ // Required
					Name:  aws.String("ExtraParamName"),  // Required
					Value: aws.String("ExtraParamValue"), // Required
				},
				// More values...
			},
			Fax:              aws.String("ContactNumber"),
			FirstName:        aws.String("ContactName"),
			LastName:         aws.String("ContactName"),
			OrganizationName: aws.String("ContactName"),
			PhoneNumber:      aws.String("ContactNumber"),
			State:            aws.String("State"),
			ZipCode:          aws.String("ZipCode"),
		},
		AutoRenew:                       aws.Bool(true),
		IdnLangCode:                     aws.String("LangCode"),
		PrivacyProtectAdminContact:      aws.Bool(true),
		PrivacyProtectRegistrantContact: aws.Bool(true),
		PrivacyProtectTechContact:       aws.Bool(true),
	}
	resp, err := svc.RegisterDomain(params)

	if err != nil {
		// Print the error, cast err to awserr.Error to get the Code and
		// Message from an error.
		fmt.Println(err.Error())
		return
	}

	// Pretty-print the response data.
	fmt.Println(resp)
}
Output:

func (*Route53Domains) RegisterDomainRequest

func (c *Route53Domains) RegisterDomainRequest(input *RegisterDomainInput) (req *request.Request, output *RegisterDomainOutput)

RegisterDomainRequest generates a "aws/request.Request" representing the client's request for the RegisterDomain operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See RegisterDomain for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the RegisterDomain method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// Example sending a request using the RegisterDomainRequest method.
req, resp := client.RegisterDomainRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/RegisterDomain

func (*Route53Domains) RegisterDomainWithContext added in v1.8.0

func (c *Route53Domains) RegisterDomainWithContext(ctx aws.Context, input *RegisterDomainInput, opts ...request.Option) (*RegisterDomainOutput, error)

RegisterDomainWithContext is the same as RegisterDomain with the addition of the ability to pass a context and additional request options.

See RegisterDomain for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Route53Domains) RenewDomain added in v1.2.10

func (c *Route53Domains) RenewDomain(input *RenewDomainInput) (*RenewDomainOutput, error)

RenewDomain 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 (http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/domain-renew.html) in the Amazon Route 53 Developer Guide.

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 the error.

See the AWS API reference guide for Amazon Route 53 Domains's API operation RenewDomain for usage and error information.

Returned Error Codes:

  • ErrCodeInvalidInput "InvalidInput" The requested item is not acceptable. For example, for an OperationId it may refer to the ID of an operation that is already completed. For a domain name, it may not be a valid domain name or belong to the requester account.

  • ErrCodeUnsupportedTLD "UnsupportedTLD" Amazon Route 53 does not support this top-level domain.

  • ErrCodeDuplicateRequest "DuplicateRequest" The request is already in progress for the domain.

  • ErrCodeTLDRulesViolation "TLDRulesViolation" The top-level domain does not support this operation.

  • ErrCodeOperationLimitExceeded "OperationLimitExceeded" The number of operations or jobs running exceeded the allowed threshold for the account.

Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/RenewDomain

Example
package main

import (
	"fmt"

	"github.com/aws/aws-sdk-go/aws"
	"github.com/aws/aws-sdk-go/aws/session"
	"github.com/aws/aws-sdk-go/service/route53domains"
)

func main() {
	sess := session.Must(session.NewSession())

	svc := route53domains.New(sess)

	params := &route53domains.RenewDomainInput{
		CurrentExpiryYear: aws.Int64(1),             // Required
		DomainName:        aws.String("DomainName"), // Required
		DurationInYears:   aws.Int64(1),
	}
	resp, err := svc.RenewDomain(params)

	if err != nil {
		// Print the error, cast err to awserr.Error to get the Code and
		// Message from an error.
		fmt.Println(err.Error())
		return
	}

	// Pretty-print the response data.
	fmt.Println(resp)
}
Output:

func (*Route53Domains) RenewDomainRequest added in v1.2.10

func (c *Route53Domains) RenewDomainRequest(input *RenewDomainInput) (req *request.Request, output *RenewDomainOutput)

RenewDomainRequest generates a "aws/request.Request" representing the client's request for the RenewDomain operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See RenewDomain for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the RenewDomain method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// Example sending a request using the RenewDomainRequest method.
req, resp := client.RenewDomainRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/RenewDomain

func (*Route53Domains) RenewDomainWithContext added in v1.8.0

func (c *Route53Domains) RenewDomainWithContext(ctx aws.Context, input *RenewDomainInput, opts ...request.Option) (*RenewDomainOutput, error)

RenewDomainWithContext is the same as RenewDomain with the addition of the ability to pass a context and additional request options.

See RenewDomain for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Route53Domains) ResendContactReachabilityEmail added in v1.1.22

ResendContactReachabilityEmail 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.

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 the error.

See the AWS API reference guide for Amazon Route 53 Domains's API operation ResendContactReachabilityEmail for usage and error information.

Returned Error Codes:

  • ErrCodeInvalidInput "InvalidInput" The requested item is not acceptable. For example, for an OperationId it may refer to the ID of an operation that is already completed. For a domain name, it may not be a valid domain name or belong to the requester account.

  • ErrCodeOperationLimitExceeded "OperationLimitExceeded" The number of operations or jobs running exceeded the allowed threshold for the account.

  • ErrCodeUnsupportedTLD "UnsupportedTLD" Amazon Route 53 does not support this top-level domain.

Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/ResendContactReachabilityEmail

Example
package main

import (
	"fmt"

	"github.com/aws/aws-sdk-go/aws"
	"github.com/aws/aws-sdk-go/aws/session"
	"github.com/aws/aws-sdk-go/service/route53domains"
)

func main() {
	sess := session.Must(session.NewSession())

	svc := route53domains.New(sess)

	params := &route53domains.ResendContactReachabilityEmailInput{
		DomainName: aws.String("DomainName"),
	}
	resp, err := svc.ResendContactReachabilityEmail(params)

	if err != nil {
		// Print the error, cast err to awserr.Error to get the Code and
		// Message from an error.
		fmt.Println(err.Error())
		return
	}

	// Pretty-print the response data.
	fmt.Println(resp)
}
Output:

func (*Route53Domains) ResendContactReachabilityEmailRequest added in v1.1.22

func (c *Route53Domains) ResendContactReachabilityEmailRequest(input *ResendContactReachabilityEmailInput) (req *request.Request, output *ResendContactReachabilityEmailOutput)

ResendContactReachabilityEmailRequest generates a "aws/request.Request" representing the client's request for the ResendContactReachabilityEmail operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See ResendContactReachabilityEmail for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the ResendContactReachabilityEmail method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// Example sending a request using the ResendContactReachabilityEmailRequest method.
req, resp := client.ResendContactReachabilityEmailRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/ResendContactReachabilityEmail

func (*Route53Domains) ResendContactReachabilityEmailWithContext added in v1.8.0

func (c *Route53Domains) ResendContactReachabilityEmailWithContext(ctx aws.Context, input *ResendContactReachabilityEmailInput, opts ...request.Option) (*ResendContactReachabilityEmailOutput, error)

ResendContactReachabilityEmailWithContext is the same as ResendContactReachabilityEmail with the addition of the ability to pass a context and additional request options.

See ResendContactReachabilityEmail for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Route53Domains) RetrieveDomainAuthCode

func (c *Route53Domains) RetrieveDomainAuthCode(input *RetrieveDomainAuthCodeInput) (*RetrieveDomainAuthCodeOutput, error)

RetrieveDomainAuthCode 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.

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 the error.

See the AWS API reference guide for Amazon Route 53 Domains's API operation RetrieveDomainAuthCode for usage and error information.

Returned Error Codes:

  • ErrCodeInvalidInput "InvalidInput" The requested item is not acceptable. For example, for an OperationId it may refer to the ID of an operation that is already completed. For a domain name, it may not be a valid domain name or belong to the requester account.

  • ErrCodeUnsupportedTLD "UnsupportedTLD" Amazon Route 53 does not support this top-level domain.

Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/RetrieveDomainAuthCode

Example
package main

import (
	"fmt"

	"github.com/aws/aws-sdk-go/aws"
	"github.com/aws/aws-sdk-go/aws/session"
	"github.com/aws/aws-sdk-go/service/route53domains"
)

func main() {
	sess := session.Must(session.NewSession())

	svc := route53domains.New(sess)

	params := &route53domains.RetrieveDomainAuthCodeInput{
		DomainName: aws.String("DomainName"), // Required
	}
	resp, err := svc.RetrieveDomainAuthCode(params)

	if err != nil {
		// Print the error, cast err to awserr.Error to get the Code and
		// Message from an error.
		fmt.Println(err.Error())
		return
	}

	// Pretty-print the response data.
	fmt.Println(resp)
}
Output:

func (*Route53Domains) RetrieveDomainAuthCodeRequest

func (c *Route53Domains) RetrieveDomainAuthCodeRequest(input *RetrieveDomainAuthCodeInput) (req *request.Request, output *RetrieveDomainAuthCodeOutput)

RetrieveDomainAuthCodeRequest generates a "aws/request.Request" representing the client's request for the RetrieveDomainAuthCode operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See RetrieveDomainAuthCode for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the RetrieveDomainAuthCode method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// Example sending a request using the RetrieveDomainAuthCodeRequest method.
req, resp := client.RetrieveDomainAuthCodeRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/RetrieveDomainAuthCode

func (*Route53Domains) RetrieveDomainAuthCodeWithContext added in v1.8.0

func (c *Route53Domains) RetrieveDomainAuthCodeWithContext(ctx aws.Context, input *RetrieveDomainAuthCodeInput, opts ...request.Option) (*RetrieveDomainAuthCodeOutput, error)

RetrieveDomainAuthCodeWithContext is the same as RetrieveDomainAuthCode with the addition of the ability to pass a context and additional request options.

See RetrieveDomainAuthCode for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Route53Domains) TransferDomain

func (c *Route53Domains) TransferDomain(input *TransferDomainInput) (*TransferDomainOutput, error)

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.

For transfer requirements, a detailed procedure, and information about viewing the status of a domain transfer, see Transferring Registration for a Domain to Amazon Route 53 (http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/domain-transfer-to-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 consider transferring your DNS service to Amazon 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.

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 the error.

See the AWS API reference guide for Amazon Route 53 Domains's API operation TransferDomain for usage and error information.

Returned Error Codes:

  • ErrCodeInvalidInput "InvalidInput" The requested item is not acceptable. For example, for an OperationId it may refer to the ID of an operation that is already completed. For a domain name, it may not be a valid domain name or belong to the requester account.

  • ErrCodeUnsupportedTLD "UnsupportedTLD" Amazon Route 53 does not support this top-level domain.

  • ErrCodeDuplicateRequest "DuplicateRequest" The request is already in progress for the domain.

  • ErrCodeTLDRulesViolation "TLDRulesViolation" The top-level domain does not support this operation.

  • ErrCodeDomainLimitExceeded "DomainLimitExceeded" The number of domains has exceeded the allowed threshold for the account.

  • ErrCodeOperationLimitExceeded "OperationLimitExceeded" The number of operations or jobs running exceeded the allowed threshold for the account.

Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/TransferDomain

Example
package main

import (
	"fmt"

	"github.com/aws/aws-sdk-go/aws"
	"github.com/aws/aws-sdk-go/aws/session"
	"github.com/aws/aws-sdk-go/service/route53domains"
)

func main() {
	sess := session.Must(session.NewSession())

	svc := route53domains.New(sess)

	params := &route53domains.TransferDomainInput{
		AdminContact: &route53domains.ContactDetail{ // Required
			AddressLine1: aws.String("AddressLine"),
			AddressLine2: aws.String("AddressLine"),
			City:         aws.String("City"),
			ContactType:  aws.String("ContactType"),
			CountryCode:  aws.String("CountryCode"),
			Email:        aws.String("Email"),
			ExtraParams: []*route53domains.ExtraParam{
				{ // Required
					Name:  aws.String("ExtraParamName"),  // Required
					Value: aws.String("ExtraParamValue"), // Required
				},
				// More values...
			},
			Fax:              aws.String("ContactNumber"),
			FirstName:        aws.String("ContactName"),
			LastName:         aws.String("ContactName"),
			OrganizationName: aws.String("ContactName"),
			PhoneNumber:      aws.String("ContactNumber"),
			State:            aws.String("State"),
			ZipCode:          aws.String("ZipCode"),
		},
		DomainName:      aws.String("DomainName"), // Required
		DurationInYears: aws.Int64(1),             // Required
		RegistrantContact: &route53domains.ContactDetail{ // Required
			AddressLine1: aws.String("AddressLine"),
			AddressLine2: aws.String("AddressLine"),
			City:         aws.String("City"),
			ContactType:  aws.String("ContactType"),
			CountryCode:  aws.String("CountryCode"),
			Email:        aws.String("Email"),
			ExtraParams: []*route53domains.ExtraParam{
				{ // Required
					Name:  aws.String("ExtraParamName"),  // Required
					Value: aws.String("ExtraParamValue"), // Required
				},
				// More values...
			},
			Fax:              aws.String("ContactNumber"),
			FirstName:        aws.String("ContactName"),
			LastName:         aws.String("ContactName"),
			OrganizationName: aws.String("ContactName"),
			PhoneNumber:      aws.String("ContactNumber"),
			State:            aws.String("State"),
			ZipCode:          aws.String("ZipCode"),
		},
		TechContact: &route53domains.ContactDetail{ // Required
			AddressLine1: aws.String("AddressLine"),
			AddressLine2: aws.String("AddressLine"),
			City:         aws.String("City"),
			ContactType:  aws.String("ContactType"),
			CountryCode:  aws.String("CountryCode"),
			Email:        aws.String("Email"),
			ExtraParams: []*route53domains.ExtraParam{
				{ // Required
					Name:  aws.String("ExtraParamName"),  // Required
					Value: aws.String("ExtraParamValue"), // Required
				},
				// More values...
			},
			Fax:              aws.String("ContactNumber"),
			FirstName:        aws.String("ContactName"),
			LastName:         aws.String("ContactName"),
			OrganizationName: aws.String("ContactName"),
			PhoneNumber:      aws.String("ContactNumber"),
			State:            aws.String("State"),
			ZipCode:          aws.String("ZipCode"),
		},
		AuthCode:    aws.String("DomainAuthCode"),
		AutoRenew:   aws.Bool(true),
		IdnLangCode: aws.String("LangCode"),
		Nameservers: []*route53domains.Nameserver{
			{ // Required
				Name: aws.String("HostName"), // Required
				GlueIps: []*string{
					aws.String("GlueIp"), // Required
					// More values...
				},
			},
			// More values...
		},
		PrivacyProtectAdminContact:      aws.Bool(true),
		PrivacyProtectRegistrantContact: aws.Bool(true),
		PrivacyProtectTechContact:       aws.Bool(true),
	}
	resp, err := svc.TransferDomain(params)

	if err != nil {
		// Print the error, cast err to awserr.Error to get the Code and
		// Message from an error.
		fmt.Println(err.Error())
		return
	}

	// Pretty-print the response data.
	fmt.Println(resp)
}
Output:

func (*Route53Domains) TransferDomainRequest

func (c *Route53Domains) TransferDomainRequest(input *TransferDomainInput) (req *request.Request, output *TransferDomainOutput)

TransferDomainRequest generates a "aws/request.Request" representing the client's request for the TransferDomain operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See TransferDomain for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the TransferDomain method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// Example sending a request using the TransferDomainRequest method.
req, resp := client.TransferDomainRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/TransferDomain

func (*Route53Domains) TransferDomainWithContext added in v1.8.0

func (c *Route53Domains) TransferDomainWithContext(ctx aws.Context, input *TransferDomainInput, opts ...request.Option) (*TransferDomainOutput, error)

TransferDomainWithContext is the same as TransferDomain with the addition of the ability to pass a context and additional request options.

See TransferDomain for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Route53Domains) UpdateDomainContact

func (c *Route53Domains) UpdateDomainContact(input *UpdateDomainContactInput) (*UpdateDomainContactOutput, error)

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.

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.

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 the error.

See the AWS API reference guide for Amazon Route 53 Domains's API operation UpdateDomainContact for usage and error information.

Returned Error Codes:

  • ErrCodeInvalidInput "InvalidInput" The requested item is not acceptable. For example, for an OperationId it may refer to the ID of an operation that is already completed. For a domain name, it may not be a valid domain name or belong to the requester account.

  • ErrCodeDuplicateRequest "DuplicateRequest" The request is already in progress for the domain.

  • ErrCodeTLDRulesViolation "TLDRulesViolation" The top-level domain does not support this operation.

  • ErrCodeOperationLimitExceeded "OperationLimitExceeded" The number of operations or jobs running exceeded the allowed threshold for the account.

  • ErrCodeUnsupportedTLD "UnsupportedTLD" Amazon Route 53 does not support this top-level domain.

Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/UpdateDomainContact

Example
package main

import (
	"fmt"

	"github.com/aws/aws-sdk-go/aws"
	"github.com/aws/aws-sdk-go/aws/session"
	"github.com/aws/aws-sdk-go/service/route53domains"
)

func main() {
	sess := session.Must(session.NewSession())

	svc := route53domains.New(sess)

	params := &route53domains.UpdateDomainContactInput{
		DomainName: aws.String("DomainName"), // Required
		AdminContact: &route53domains.ContactDetail{
			AddressLine1: aws.String("AddressLine"),
			AddressLine2: aws.String("AddressLine"),
			City:         aws.String("City"),
			ContactType:  aws.String("ContactType"),
			CountryCode:  aws.String("CountryCode"),
			Email:        aws.String("Email"),
			ExtraParams: []*route53domains.ExtraParam{
				{ // Required
					Name:  aws.String("ExtraParamName"),  // Required
					Value: aws.String("ExtraParamValue"), // Required
				},
				// More values...
			},
			Fax:              aws.String("ContactNumber"),
			FirstName:        aws.String("ContactName"),
			LastName:         aws.String("ContactName"),
			OrganizationName: aws.String("ContactName"),
			PhoneNumber:      aws.String("ContactNumber"),
			State:            aws.String("State"),
			ZipCode:          aws.String("ZipCode"),
		},
		RegistrantContact: &route53domains.ContactDetail{
			AddressLine1: aws.String("AddressLine"),
			AddressLine2: aws.String("AddressLine"),
			City:         aws.String("City"),
			ContactType:  aws.String("ContactType"),
			CountryCode:  aws.String("CountryCode"),
			Email:        aws.String("Email"),
			ExtraParams: []*route53domains.ExtraParam{
				{ // Required
					Name:  aws.String("ExtraParamName"),  // Required
					Value: aws.String("ExtraParamValue"), // Required
				},
				// More values...
			},
			Fax:              aws.String("ContactNumber"),
			FirstName:        aws.String("ContactName"),
			LastName:         aws.String("ContactName"),
			OrganizationName: aws.String("ContactName"),
			PhoneNumber:      aws.String("ContactNumber"),
			State:            aws.String("State"),
			ZipCode:          aws.String("ZipCode"),
		},
		TechContact: &route53domains.ContactDetail{
			AddressLine1: aws.String("AddressLine"),
			AddressLine2: aws.String("AddressLine"),
			City:         aws.String("City"),
			ContactType:  aws.String("ContactType"),
			CountryCode:  aws.String("CountryCode"),
			Email:        aws.String("Email"),
			ExtraParams: []*route53domains.ExtraParam{
				{ // Required
					Name:  aws.String("ExtraParamName"),  // Required
					Value: aws.String("ExtraParamValue"), // Required
				},
				// More values...
			},
			Fax:              aws.String("ContactNumber"),
			FirstName:        aws.String("ContactName"),
			LastName:         aws.String("ContactName"),
			OrganizationName: aws.String("ContactName"),
			PhoneNumber:      aws.String("ContactNumber"),
			State:            aws.String("State"),
			ZipCode:          aws.String("ZipCode"),
		},
	}
	resp, err := svc.UpdateDomainContact(params)

	if err != nil {
		// Print the error, cast err to awserr.Error to get the Code and
		// Message from an error.
		fmt.Println(err.Error())
		return
	}

	// Pretty-print the response data.
	fmt.Println(resp)
}
Output:

func (*Route53Domains) UpdateDomainContactPrivacy

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

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.

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 the error.

See the AWS API reference guide for Amazon Route 53 Domains's API operation UpdateDomainContactPrivacy for usage and error information.

Returned Error Codes:

  • ErrCodeInvalidInput "InvalidInput" The requested item is not acceptable. For example, for an OperationId it may refer to the ID of an operation that is already completed. For a domain name, it may not be a valid domain name or belong to the requester account.

  • ErrCodeDuplicateRequest "DuplicateRequest" The request is already in progress for the domain.

  • ErrCodeTLDRulesViolation "TLDRulesViolation" The top-level domain does not support this operation.

  • ErrCodeOperationLimitExceeded "OperationLimitExceeded" The number of operations or jobs running exceeded the allowed threshold for the account.

  • ErrCodeUnsupportedTLD "UnsupportedTLD" Amazon Route 53 does not support this top-level domain.

Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/UpdateDomainContactPrivacy

Example
package main

import (
	"fmt"

	"github.com/aws/aws-sdk-go/aws"
	"github.com/aws/aws-sdk-go/aws/session"
	"github.com/aws/aws-sdk-go/service/route53domains"
)

func main() {
	sess := session.Must(session.NewSession())

	svc := route53domains.New(sess)

	params := &route53domains.UpdateDomainContactPrivacyInput{
		DomainName:        aws.String("DomainName"), // Required
		AdminPrivacy:      aws.Bool(true),
		RegistrantPrivacy: aws.Bool(true),
		TechPrivacy:       aws.Bool(true),
	}
	resp, err := svc.UpdateDomainContactPrivacy(params)

	if err != nil {
		// Print the error, cast err to awserr.Error to get the Code and
		// Message from an error.
		fmt.Println(err.Error())
		return
	}

	// Pretty-print the response data.
	fmt.Println(resp)
}
Output:

func (*Route53Domains) UpdateDomainContactPrivacyRequest

func (c *Route53Domains) UpdateDomainContactPrivacyRequest(input *UpdateDomainContactPrivacyInput) (req *request.Request, output *UpdateDomainContactPrivacyOutput)

UpdateDomainContactPrivacyRequest generates a "aws/request.Request" representing the client's request for the UpdateDomainContactPrivacy operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See UpdateDomainContactPrivacy for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the UpdateDomainContactPrivacy method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// Example sending a request using the UpdateDomainContactPrivacyRequest method.
req, resp := client.UpdateDomainContactPrivacyRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/UpdateDomainContactPrivacy

func (*Route53Domains) UpdateDomainContactPrivacyWithContext added in v1.8.0

func (c *Route53Domains) UpdateDomainContactPrivacyWithContext(ctx aws.Context, input *UpdateDomainContactPrivacyInput, opts ...request.Option) (*UpdateDomainContactPrivacyOutput, error)

UpdateDomainContactPrivacyWithContext is the same as UpdateDomainContactPrivacy with the addition of the ability to pass a context and additional request options.

See UpdateDomainContactPrivacy for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Route53Domains) UpdateDomainContactRequest

func (c *Route53Domains) UpdateDomainContactRequest(input *UpdateDomainContactInput) (req *request.Request, output *UpdateDomainContactOutput)

UpdateDomainContactRequest generates a "aws/request.Request" representing the client's request for the UpdateDomainContact operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See UpdateDomainContact for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the UpdateDomainContact method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// Example sending a request using the UpdateDomainContactRequest method.
req, resp := client.UpdateDomainContactRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/UpdateDomainContact

func (*Route53Domains) UpdateDomainContactWithContext added in v1.8.0

func (c *Route53Domains) UpdateDomainContactWithContext(ctx aws.Context, input *UpdateDomainContactInput, opts ...request.Option) (*UpdateDomainContactOutput, error)

UpdateDomainContactWithContext is the same as UpdateDomainContact with the addition of the ability to pass a context and additional request options.

See UpdateDomainContact for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Route53Domains) UpdateDomainNameservers

func (c *Route53Domains) UpdateDomainNameservers(input *UpdateDomainNameserversInput) (*UpdateDomainNameserversOutput, error)

UpdateDomainNameservers 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.

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 the error.

See the AWS API reference guide for Amazon Route 53 Domains's API operation UpdateDomainNameservers for usage and error information.

Returned Error Codes:

  • ErrCodeInvalidInput "InvalidInput" The requested item is not acceptable. For example, for an OperationId it may refer to the ID of an operation that is already completed. For a domain name, it may not be a valid domain name or belong to the requester account.

  • ErrCodeDuplicateRequest "DuplicateRequest" The request is already in progress for the domain.

  • ErrCodeTLDRulesViolation "TLDRulesViolation" The top-level domain does not support this operation.

  • ErrCodeOperationLimitExceeded "OperationLimitExceeded" The number of operations or jobs running exceeded the allowed threshold for the account.

  • ErrCodeUnsupportedTLD "UnsupportedTLD" Amazon Route 53 does not support this top-level domain.

Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/UpdateDomainNameservers

Example
package main

import (
	"fmt"

	"github.com/aws/aws-sdk-go/aws"
	"github.com/aws/aws-sdk-go/aws/session"
	"github.com/aws/aws-sdk-go/service/route53domains"
)

func main() {
	sess := session.Must(session.NewSession())

	svc := route53domains.New(sess)

	params := &route53domains.UpdateDomainNameserversInput{
		DomainName: aws.String("DomainName"), // Required
		Nameservers: []*route53domains.Nameserver{ // Required
			{ // Required
				Name: aws.String("HostName"), // Required
				GlueIps: []*string{
					aws.String("GlueIp"), // Required
					// More values...
				},
			},
			// More values...
		},
		FIAuthKey: aws.String("FIAuthKey"),
	}
	resp, err := svc.UpdateDomainNameservers(params)

	if err != nil {
		// Print the error, cast err to awserr.Error to get the Code and
		// Message from an error.
		fmt.Println(err.Error())
		return
	}

	// Pretty-print the response data.
	fmt.Println(resp)
}
Output:

func (*Route53Domains) UpdateDomainNameserversRequest

func (c *Route53Domains) UpdateDomainNameserversRequest(input *UpdateDomainNameserversInput) (req *request.Request, output *UpdateDomainNameserversOutput)

UpdateDomainNameserversRequest generates a "aws/request.Request" representing the client's request for the UpdateDomainNameservers operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See UpdateDomainNameservers for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the UpdateDomainNameservers method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// Example sending a request using the UpdateDomainNameserversRequest method.
req, resp := client.UpdateDomainNameserversRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/UpdateDomainNameservers

func (*Route53Domains) UpdateDomainNameserversWithContext added in v1.8.0

func (c *Route53Domains) UpdateDomainNameserversWithContext(ctx aws.Context, input *UpdateDomainNameserversInput, opts ...request.Option) (*UpdateDomainNameserversOutput, error)

UpdateDomainNameserversWithContext is the same as UpdateDomainNameservers with the addition of the ability to pass a context and additional request options.

See UpdateDomainNameservers for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Route53Domains) UpdateTagsForDomain

func (c *Route53Domains) UpdateTagsForDomain(input *UpdateTagsForDomainInput) (*UpdateTagsForDomainOutput, error)

UpdateTagsForDomain 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 may not immediately represent all issued operations.

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 the error.

See the AWS API reference guide for Amazon Route 53 Domains's API operation UpdateTagsForDomain for usage and error information.

Returned Error Codes:

  • ErrCodeInvalidInput "InvalidInput" The requested item is not acceptable. For example, for an OperationId it may refer to the ID of an operation that is already completed. For a domain name, it may not be a valid domain name or belong to the requester account.

  • ErrCodeOperationLimitExceeded "OperationLimitExceeded" The number of operations or jobs running exceeded the allowed threshold for the account.

  • ErrCodeUnsupportedTLD "UnsupportedTLD" Amazon Route 53 does not support this top-level domain.

Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/UpdateTagsForDomain

Example
package main

import (
	"fmt"

	"github.com/aws/aws-sdk-go/aws"
	"github.com/aws/aws-sdk-go/aws/session"
	"github.com/aws/aws-sdk-go/service/route53domains"
)

func main() {
	sess := session.Must(session.NewSession())

	svc := route53domains.New(sess)

	params := &route53domains.UpdateTagsForDomainInput{
		DomainName: aws.String("DomainName"), // Required
		TagsToUpdate: []*route53domains.Tag{
			{ // Required
				Key:   aws.String("TagKey"),
				Value: aws.String("TagValue"),
			},
			// More values...
		},
	}
	resp, err := svc.UpdateTagsForDomain(params)

	if err != nil {
		// Print the error, cast err to awserr.Error to get the Code and
		// Message from an error.
		fmt.Println(err.Error())
		return
	}

	// Pretty-print the response data.
	fmt.Println(resp)
}
Output:

func (*Route53Domains) UpdateTagsForDomainRequest

func (c *Route53Domains) UpdateTagsForDomainRequest(input *UpdateTagsForDomainInput) (req *request.Request, output *UpdateTagsForDomainOutput)

UpdateTagsForDomainRequest generates a "aws/request.Request" representing the client's request for the UpdateTagsForDomain operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See UpdateTagsForDomain for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the UpdateTagsForDomain method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// Example sending a request using the UpdateTagsForDomainRequest method.
req, resp := client.UpdateTagsForDomainRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/UpdateTagsForDomain

func (*Route53Domains) UpdateTagsForDomainWithContext added in v1.8.0

func (c *Route53Domains) UpdateTagsForDomainWithContext(ctx aws.Context, input *UpdateTagsForDomainInput, opts ...request.Option) (*UpdateTagsForDomainOutput, error)

UpdateTagsForDomainWithContext is the same as UpdateTagsForDomain with the addition of the ability to pass a context and additional request options.

See UpdateTagsForDomain for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Route53Domains) ViewBilling added in v1.2.10

func (c *Route53Domains) ViewBilling(input *ViewBillingInput) (*ViewBillingOutput, error)

ViewBilling API operation for Amazon Route 53 Domains.

Returns all the domain-related billing records for the current AWS account for a specified period

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 the error.

See the AWS API reference guide for Amazon Route 53 Domains's API operation ViewBilling for usage and error information.

Returned Error Codes:

  • ErrCodeInvalidInput "InvalidInput" The requested item is not acceptable. For example, for an OperationId it may refer to the ID of an operation that is already completed. For a domain name, it may not be a valid domain name or belong to the requester account.

Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/ViewBilling

Example
package main

import (
	"fmt"
	"time"

	"github.com/aws/aws-sdk-go/aws"
	"github.com/aws/aws-sdk-go/aws/session"
	"github.com/aws/aws-sdk-go/service/route53domains"
)

func main() {
	sess := session.Must(session.NewSession())

	svc := route53domains.New(sess)

	params := &route53domains.ViewBillingInput{
		End:      aws.Time(time.Now()),
		Marker:   aws.String("PageMarker"),
		MaxItems: aws.Int64(1),
		Start:    aws.Time(time.Now()),
	}
	resp, err := svc.ViewBilling(params)

	if err != nil {
		// Print the error, cast err to awserr.Error to get the Code and
		// Message from an error.
		fmt.Println(err.Error())
		return
	}

	// Pretty-print the response data.
	fmt.Println(resp)
}
Output:

func (*Route53Domains) ViewBillingRequest added in v1.2.10

func (c *Route53Domains) ViewBillingRequest(input *ViewBillingInput) (req *request.Request, output *ViewBillingOutput)

ViewBillingRequest generates a "aws/request.Request" representing the client's request for the ViewBilling operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See ViewBilling for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the ViewBilling method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// Example sending a request using the ViewBillingRequest method.
req, resp := client.ViewBillingRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/ViewBilling

func (*Route53Domains) ViewBillingWithContext added in v1.8.0

func (c *Route53Domains) ViewBillingWithContext(ctx aws.Context, input *ViewBillingInput, opts ...request.Option) (*ViewBillingOutput, error)

ViewBillingWithContext is the same as ViewBilling with the addition of the ability to pass a context and additional request options.

See ViewBilling for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

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. Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/Tag

func (Tag) GoString added in v0.6.5

func (s Tag) GoString() string

GoString returns the string representation

func (*Tag) SetKey added in v1.5.0

func (s *Tag) SetKey(v string) *Tag

SetKey sets the Key field's value.

func (*Tag) SetValue added in v1.5.0

func (s *Tag) SetValue(v string) *Tag

SetValue sets the Value field's value.

func (Tag) String added in v0.6.5

func (s Tag) String() string

String returns the string representation

type TransferDomainInput

type TransferDomainInput struct {

	// Provides detailed contact information.
	//
	// AdminContact is a required field
	AdminContact *ContactDetail `type:"structure" required:"true"`

	// The authorization code for the domain. You get this value from the current
	// registrar.
	AuthCode *string `type:"string"`

	// 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 Amazon Route 53.
	//
	// Constraints: The domain name can contain only the letters a through z, the
	// numbers 0 through 9, and hyphen (-). Internationalized Domain Names are not
	// supported.
	//
	// 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 will return contact information for
	// our registrar partner, Gandi, instead of the contact information that you
	// enter.
	//
	// 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.
	//
	// 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.
	//
	// Default: true
	PrivacyProtectTechContact *bool `type:"boolean"`

	// Provides detailed contact information.
	//
	// RegistrantContact is a required field
	RegistrantContact *ContactDetail `type:"structure" required:"true"`

	// Provides detailed contact information.
	//
	// TechContact is a required field
	TechContact *ContactDetail `type:"structure" required:"true"`
	// contains filtered or unexported fields
}

The TransferDomain request includes the following elements. Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/TransferDomainRequest

func (TransferDomainInput) GoString added in v0.6.5

func (s TransferDomainInput) GoString() string

GoString returns the string representation

func (*TransferDomainInput) SetAdminContact added in v1.5.0

func (s *TransferDomainInput) SetAdminContact(v *ContactDetail) *TransferDomainInput

SetAdminContact sets the AdminContact field's value.

func (*TransferDomainInput) SetAuthCode added in v1.5.0

func (s *TransferDomainInput) SetAuthCode(v string) *TransferDomainInput

SetAuthCode sets the AuthCode field's value.

func (*TransferDomainInput) SetAutoRenew added in v1.5.0

func (s *TransferDomainInput) SetAutoRenew(v bool) *TransferDomainInput

SetAutoRenew sets the AutoRenew field's value.

func (*TransferDomainInput) SetDomainName added in v1.5.0

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

SetDomainName sets the DomainName field's value.

func (*TransferDomainInput) SetDurationInYears added in v1.5.0

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

SetDurationInYears sets the DurationInYears field's value.

func (*TransferDomainInput) SetIdnLangCode added in v1.5.0

func (s *TransferDomainInput) SetIdnLangCode(v string) *TransferDomainInput

SetIdnLangCode sets the IdnLangCode field's value.

func (*TransferDomainInput) SetNameservers added in v1.5.0

func (s *TransferDomainInput) SetNameservers(v []*Nameserver) *TransferDomainInput

SetNameservers sets the Nameservers field's value.

func (*TransferDomainInput) SetPrivacyProtectAdminContact added in v1.5.0

func (s *TransferDomainInput) SetPrivacyProtectAdminContact(v bool) *TransferDomainInput

SetPrivacyProtectAdminContact sets the PrivacyProtectAdminContact field's value.

func (*TransferDomainInput) SetPrivacyProtectRegistrantContact added in v1.5.0

func (s *TransferDomainInput) SetPrivacyProtectRegistrantContact(v bool) *TransferDomainInput

SetPrivacyProtectRegistrantContact sets the PrivacyProtectRegistrantContact field's value.

func (*TransferDomainInput) SetPrivacyProtectTechContact added in v1.5.0

func (s *TransferDomainInput) SetPrivacyProtectTechContact(v bool) *TransferDomainInput

SetPrivacyProtectTechContact sets the PrivacyProtectTechContact field's value.

func (*TransferDomainInput) SetRegistrantContact added in v1.5.0

func (s *TransferDomainInput) SetRegistrantContact(v *ContactDetail) *TransferDomainInput

SetRegistrantContact sets the RegistrantContact field's value.

func (*TransferDomainInput) SetTechContact added in v1.5.0

func (s *TransferDomainInput) SetTechContact(v *ContactDetail) *TransferDomainInput

SetTechContact sets the TechContact field's value.

func (TransferDomainInput) String added in v0.6.5

func (s TransferDomainInput) String() string

String returns the string representation

func (*TransferDomainInput) Validate added in v1.1.21

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 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 TranserDomain response includes the following element. Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/TransferDomainResponse

func (TransferDomainOutput) GoString added in v0.6.5

func (s TransferDomainOutput) GoString() string

GoString returns the string representation

func (*TransferDomainOutput) SetOperationId added in v1.5.0

func (s *TransferDomainOutput) SetOperationId(v string) *TransferDomainOutput

SetOperationId sets the OperationId field's value.

func (TransferDomainOutput) String added in v0.6.5

func (s TransferDomainOutput) String() string

String returns the string representation

type UpdateDomainContactInput

type UpdateDomainContactInput struct {

	// Provides detailed contact information.
	AdminContact *ContactDetail `type:"structure"`

	// 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"`

	// Provides detailed contact information.
	TechContact *ContactDetail `type:"structure"`
	// contains filtered or unexported fields
}

The UpdateDomainContact request includes the following elements. Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/UpdateDomainContactRequest

func (UpdateDomainContactInput) GoString added in v0.6.5

func (s UpdateDomainContactInput) GoString() string

GoString returns the string representation

func (*UpdateDomainContactInput) SetAdminContact added in v1.5.0

SetAdminContact sets the AdminContact field's value.

func (*UpdateDomainContactInput) SetDomainName added in v1.5.0

SetDomainName sets the DomainName field's value.

func (*UpdateDomainContactInput) SetRegistrantContact added in v1.5.0

SetRegistrantContact sets the RegistrantContact field's value.

func (*UpdateDomainContactInput) SetTechContact added in v1.5.0

SetTechContact sets the TechContact field's value.

func (UpdateDomainContactInput) String added in v0.6.5

func (s UpdateDomainContactInput) String() string

String returns the string representation

func (*UpdateDomainContactInput) Validate added in v1.1.21

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 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 UpdateDomainContact response includes the following element. Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/UpdateDomainContactResponse

func (UpdateDomainContactOutput) GoString added in v0.6.5

func (s UpdateDomainContactOutput) GoString() string

GoString returns the string representation

func (*UpdateDomainContactOutput) SetOperationId added in v1.5.0

SetOperationId sets the OperationId field's value.

func (UpdateDomainContactOutput) String added in v0.6.5

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 will return contact information for
	// our registrar partner, Gandi, instead of the contact information that you
	// enter.
	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 will return contact information for
	// our registrar partner, Gandi, instead of the contact information that you
	// enter.
	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.
	TechPrivacy *bool `type:"boolean"`
	// contains filtered or unexported fields
}

The UpdateDomainContactPrivacy request includes the following elements. Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/UpdateDomainContactPrivacyRequest

func (UpdateDomainContactPrivacyInput) GoString added in v0.6.5

GoString returns the string representation

func (*UpdateDomainContactPrivacyInput) SetAdminPrivacy added in v1.5.0

SetAdminPrivacy sets the AdminPrivacy field's value.

func (*UpdateDomainContactPrivacyInput) SetDomainName added in v1.5.0

SetDomainName sets the DomainName field's value.

func (*UpdateDomainContactPrivacyInput) SetRegistrantPrivacy added in v1.5.0

SetRegistrantPrivacy sets the RegistrantPrivacy field's value.

func (*UpdateDomainContactPrivacyInput) SetTechPrivacy added in v1.5.0

SetTechPrivacy sets the TechPrivacy field's value.

func (UpdateDomainContactPrivacyInput) String added in v0.6.5

String returns the string representation

func (*UpdateDomainContactPrivacyInput) Validate added in v1.1.21

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. Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/UpdateDomainContactPrivacyResponse

func (UpdateDomainContactPrivacyOutput) GoString added in v0.6.5

GoString returns the string representation

func (*UpdateDomainContactPrivacyOutput) SetOperationId added in v1.5.0

SetOperationId sets the OperationId field's value.

func (UpdateDomainContactPrivacyOutput) String added in v0.6.5

String returns the string representation

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 `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. Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/UpdateDomainNameserversRequest

func (UpdateDomainNameserversInput) GoString added in v0.6.5

func (s UpdateDomainNameserversInput) GoString() string

GoString returns the string representation

func (*UpdateDomainNameserversInput) SetDomainName added in v1.5.0

SetDomainName sets the DomainName field's value.

func (*UpdateDomainNameserversInput) SetFIAuthKey added in v1.5.0

SetFIAuthKey sets the FIAuthKey field's value.

func (*UpdateDomainNameserversInput) SetNameservers added in v1.5.0

SetNameservers sets the Nameservers field's value.

func (UpdateDomainNameserversInput) String added in v0.6.5

String returns the string representation

func (*UpdateDomainNameserversInput) Validate added in v1.1.21

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 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 UpdateDomainNameservers response includes the following element. Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/UpdateDomainNameserversResponse

func (UpdateDomainNameserversOutput) GoString added in v0.6.5

GoString returns the string representation

func (*UpdateDomainNameserversOutput) SetOperationId added in v1.5.0

SetOperationId sets the OperationId field's value.

func (UpdateDomainNameserversOutput) String added in v0.6.5

String returns the string representation

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. Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/UpdateTagsForDomainRequest

func (UpdateTagsForDomainInput) GoString added in v0.6.5

func (s UpdateTagsForDomainInput) GoString() string

GoString returns the string representation

func (*UpdateTagsForDomainInput) SetDomainName added in v1.5.0

SetDomainName sets the DomainName field's value.

func (*UpdateTagsForDomainInput) SetTagsToUpdate added in v1.5.0

func (s *UpdateTagsForDomainInput) SetTagsToUpdate(v []*Tag) *UpdateTagsForDomainInput

SetTagsToUpdate sets the TagsToUpdate field's value.

func (UpdateTagsForDomainInput) String added in v0.6.5

func (s UpdateTagsForDomainInput) String() string

String returns the string representation

func (*UpdateTagsForDomainInput) Validate added in v1.1.21

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
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/UpdateTagsForDomainResponse

func (UpdateTagsForDomainOutput) GoString added in v0.6.5

func (s UpdateTagsForDomainOutput) GoString() string

GoString returns the string representation

func (UpdateTagsForDomainOutput) String added in v0.6.5

func (s UpdateTagsForDomainOutput) String() string

String returns the string representation

type ViewBillingInput added in v1.2.10

type ViewBillingInput struct {

	// 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"`

	// 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 in Unix time format.
	Start *time.Time `type:"timestamp" timestampFormat:"unix"`
	// contains filtered or unexported fields
}

The ViewBilling request includes the following elements. Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/ViewBillingRequest

func (ViewBillingInput) GoString added in v1.2.10

func (s ViewBillingInput) GoString() string

GoString returns the string representation

func (*ViewBillingInput) SetEnd added in v1.5.0

SetEnd sets the End field's value.

func (*ViewBillingInput) SetMarker added in v1.5.0

func (s *ViewBillingInput) SetMarker(v string) *ViewBillingInput

SetMarker sets the Marker field's value.

func (*ViewBillingInput) SetMaxItems added in v1.5.0

func (s *ViewBillingInput) SetMaxItems(v int64) *ViewBillingInput

SetMaxItems sets the MaxItems field's value.

func (*ViewBillingInput) SetStart added in v1.5.0

func (s *ViewBillingInput) SetStart(v time.Time) *ViewBillingInput

SetStart sets the Start field's value.

func (ViewBillingInput) String added in v1.2.10

func (s ViewBillingInput) String() string

String returns the string representation

type ViewBillingOutput added in v1.2.10

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. Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/ViewBillingResponse

func (ViewBillingOutput) GoString added in v1.2.10

func (s ViewBillingOutput) GoString() string

GoString returns the string representation

func (*ViewBillingOutput) SetBillingRecords added in v1.5.0

func (s *ViewBillingOutput) SetBillingRecords(v []*BillingRecord) *ViewBillingOutput

SetBillingRecords sets the BillingRecords field's value.

func (*ViewBillingOutput) SetNextPageMarker added in v1.5.0

func (s *ViewBillingOutput) SetNextPageMarker(v string) *ViewBillingOutput

SetNextPageMarker sets the NextPageMarker field's value.

func (ViewBillingOutput) String added in v1.2.10

func (s ViewBillingOutput) String() string

String returns the string representation

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL