api.go 132 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472
  1. // THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT.
  2. // Package route53domains provides a client for Amazon Route 53 Domains.
  3. package route53domains
  4. import (
  5. "fmt"
  6. "time"
  7. "github.com/aws/aws-sdk-go/aws/awsutil"
  8. "github.com/aws/aws-sdk-go/aws/request"
  9. )
  10. const opCheckDomainAvailability = "CheckDomainAvailability"
  11. // CheckDomainAvailabilityRequest generates a "aws/request.Request" representing the
  12. // client's request for the CheckDomainAvailability operation. The "output" return
  13. // value can be used to capture response data after the request's "Send" method
  14. // is called.
  15. //
  16. // Creating a request object using this method should be used when you want to inject
  17. // custom logic into the request's lifecycle using a custom handler, or if you want to
  18. // access properties on the request object before or after sending the request. If
  19. // you just want the service response, call the CheckDomainAvailability method directly
  20. // instead.
  21. //
  22. // Note: You must call the "Send" method on the returned request object in order
  23. // to execute the request.
  24. //
  25. // // Example sending a request using the CheckDomainAvailabilityRequest method.
  26. // req, resp := client.CheckDomainAvailabilityRequest(params)
  27. //
  28. // err := req.Send()
  29. // if err == nil { // resp is now filled
  30. // fmt.Println(resp)
  31. // }
  32. //
  33. func (c *Route53Domains) CheckDomainAvailabilityRequest(input *CheckDomainAvailabilityInput) (req *request.Request, output *CheckDomainAvailabilityOutput) {
  34. op := &request.Operation{
  35. Name: opCheckDomainAvailability,
  36. HTTPMethod: "POST",
  37. HTTPPath: "/",
  38. }
  39. if input == nil {
  40. input = &CheckDomainAvailabilityInput{}
  41. }
  42. req = c.newRequest(op, input, output)
  43. output = &CheckDomainAvailabilityOutput{}
  44. req.Data = output
  45. return
  46. }
  47. // This operation checks the availability of one domain name. Note that if the
  48. // availability status of a domain is pending, you must submit another request
  49. // to determine the availability of the domain name.
  50. func (c *Route53Domains) CheckDomainAvailability(input *CheckDomainAvailabilityInput) (*CheckDomainAvailabilityOutput, error) {
  51. req, out := c.CheckDomainAvailabilityRequest(input)
  52. err := req.Send()
  53. return out, err
  54. }
  55. const opDeleteTagsForDomain = "DeleteTagsForDomain"
  56. // DeleteTagsForDomainRequest generates a "aws/request.Request" representing the
  57. // client's request for the DeleteTagsForDomain operation. The "output" return
  58. // value can be used to capture response data after the request's "Send" method
  59. // is called.
  60. //
  61. // Creating a request object using this method should be used when you want to inject
  62. // custom logic into the request's lifecycle using a custom handler, or if you want to
  63. // access properties on the request object before or after sending the request. If
  64. // you just want the service response, call the DeleteTagsForDomain method directly
  65. // instead.
  66. //
  67. // Note: You must call the "Send" method on the returned request object in order
  68. // to execute the request.
  69. //
  70. // // Example sending a request using the DeleteTagsForDomainRequest method.
  71. // req, resp := client.DeleteTagsForDomainRequest(params)
  72. //
  73. // err := req.Send()
  74. // if err == nil { // resp is now filled
  75. // fmt.Println(resp)
  76. // }
  77. //
  78. func (c *Route53Domains) DeleteTagsForDomainRequest(input *DeleteTagsForDomainInput) (req *request.Request, output *DeleteTagsForDomainOutput) {
  79. op := &request.Operation{
  80. Name: opDeleteTagsForDomain,
  81. HTTPMethod: "POST",
  82. HTTPPath: "/",
  83. }
  84. if input == nil {
  85. input = &DeleteTagsForDomainInput{}
  86. }
  87. req = c.newRequest(op, input, output)
  88. output = &DeleteTagsForDomainOutput{}
  89. req.Data = output
  90. return
  91. }
  92. // This operation deletes the specified tags for a domain.
  93. //
  94. // All tag operations are eventually consistent; subsequent operations may
  95. // not immediately represent all issued operations.
  96. func (c *Route53Domains) DeleteTagsForDomain(input *DeleteTagsForDomainInput) (*DeleteTagsForDomainOutput, error) {
  97. req, out := c.DeleteTagsForDomainRequest(input)
  98. err := req.Send()
  99. return out, err
  100. }
  101. const opDisableDomainAutoRenew = "DisableDomainAutoRenew"
  102. // DisableDomainAutoRenewRequest generates a "aws/request.Request" representing the
  103. // client's request for the DisableDomainAutoRenew operation. The "output" return
  104. // value can be used to capture response data after the request's "Send" method
  105. // is called.
  106. //
  107. // Creating a request object using this method should be used when you want to inject
  108. // custom logic into the request's lifecycle using a custom handler, or if you want to
  109. // access properties on the request object before or after sending the request. If
  110. // you just want the service response, call the DisableDomainAutoRenew method directly
  111. // instead.
  112. //
  113. // Note: You must call the "Send" method on the returned request object in order
  114. // to execute the request.
  115. //
  116. // // Example sending a request using the DisableDomainAutoRenewRequest method.
  117. // req, resp := client.DisableDomainAutoRenewRequest(params)
  118. //
  119. // err := req.Send()
  120. // if err == nil { // resp is now filled
  121. // fmt.Println(resp)
  122. // }
  123. //
  124. func (c *Route53Domains) DisableDomainAutoRenewRequest(input *DisableDomainAutoRenewInput) (req *request.Request, output *DisableDomainAutoRenewOutput) {
  125. op := &request.Operation{
  126. Name: opDisableDomainAutoRenew,
  127. HTTPMethod: "POST",
  128. HTTPPath: "/",
  129. }
  130. if input == nil {
  131. input = &DisableDomainAutoRenewInput{}
  132. }
  133. req = c.newRequest(op, input, output)
  134. output = &DisableDomainAutoRenewOutput{}
  135. req.Data = output
  136. return
  137. }
  138. // This operation disables automatic renewal of domain registration for the
  139. // specified domain.
  140. func (c *Route53Domains) DisableDomainAutoRenew(input *DisableDomainAutoRenewInput) (*DisableDomainAutoRenewOutput, error) {
  141. req, out := c.DisableDomainAutoRenewRequest(input)
  142. err := req.Send()
  143. return out, err
  144. }
  145. const opDisableDomainTransferLock = "DisableDomainTransferLock"
  146. // DisableDomainTransferLockRequest generates a "aws/request.Request" representing the
  147. // client's request for the DisableDomainTransferLock operation. The "output" return
  148. // value can be used to capture response data after the request's "Send" method
  149. // is called.
  150. //
  151. // Creating a request object using this method should be used when you want to inject
  152. // custom logic into the request's lifecycle using a custom handler, or if you want to
  153. // access properties on the request object before or after sending the request. If
  154. // you just want the service response, call the DisableDomainTransferLock method directly
  155. // instead.
  156. //
  157. // Note: You must call the "Send" method on the returned request object in order
  158. // to execute the request.
  159. //
  160. // // Example sending a request using the DisableDomainTransferLockRequest method.
  161. // req, resp := client.DisableDomainTransferLockRequest(params)
  162. //
  163. // err := req.Send()
  164. // if err == nil { // resp is now filled
  165. // fmt.Println(resp)
  166. // }
  167. //
  168. func (c *Route53Domains) DisableDomainTransferLockRequest(input *DisableDomainTransferLockInput) (req *request.Request, output *DisableDomainTransferLockOutput) {
  169. op := &request.Operation{
  170. Name: opDisableDomainTransferLock,
  171. HTTPMethod: "POST",
  172. HTTPPath: "/",
  173. }
  174. if input == nil {
  175. input = &DisableDomainTransferLockInput{}
  176. }
  177. req = c.newRequest(op, input, output)
  178. output = &DisableDomainTransferLockOutput{}
  179. req.Data = output
  180. return
  181. }
  182. // This operation removes the transfer lock on the domain (specifically the
  183. // clientTransferProhibited status) to allow domain transfers. We recommend
  184. // you refrain from performing this action unless you intend to transfer the
  185. // domain to a different registrar. Successful submission returns an operation
  186. // ID that you can use to track the progress and completion of the action. If
  187. // the request is not completed successfully, the domain registrant will be
  188. // notified by email.
  189. func (c *Route53Domains) DisableDomainTransferLock(input *DisableDomainTransferLockInput) (*DisableDomainTransferLockOutput, error) {
  190. req, out := c.DisableDomainTransferLockRequest(input)
  191. err := req.Send()
  192. return out, err
  193. }
  194. const opEnableDomainAutoRenew = "EnableDomainAutoRenew"
  195. // EnableDomainAutoRenewRequest generates a "aws/request.Request" representing the
  196. // client's request for the EnableDomainAutoRenew operation. The "output" return
  197. // value can be used to capture response data after the request's "Send" method
  198. // is called.
  199. //
  200. // Creating a request object using this method should be used when you want to inject
  201. // custom logic into the request's lifecycle using a custom handler, or if you want to
  202. // access properties on the request object before or after sending the request. If
  203. // you just want the service response, call the EnableDomainAutoRenew method directly
  204. // instead.
  205. //
  206. // Note: You must call the "Send" method on the returned request object in order
  207. // to execute the request.
  208. //
  209. // // Example sending a request using the EnableDomainAutoRenewRequest method.
  210. // req, resp := client.EnableDomainAutoRenewRequest(params)
  211. //
  212. // err := req.Send()
  213. // if err == nil { // resp is now filled
  214. // fmt.Println(resp)
  215. // }
  216. //
  217. func (c *Route53Domains) EnableDomainAutoRenewRequest(input *EnableDomainAutoRenewInput) (req *request.Request, output *EnableDomainAutoRenewOutput) {
  218. op := &request.Operation{
  219. Name: opEnableDomainAutoRenew,
  220. HTTPMethod: "POST",
  221. HTTPPath: "/",
  222. }
  223. if input == nil {
  224. input = &EnableDomainAutoRenewInput{}
  225. }
  226. req = c.newRequest(op, input, output)
  227. output = &EnableDomainAutoRenewOutput{}
  228. req.Data = output
  229. return
  230. }
  231. // This operation configures Amazon Route 53 to automatically renew the specified
  232. // domain before the domain registration expires. The cost of renewing your
  233. // domain registration is billed to your AWS account.
  234. //
  235. // The period during which you can renew a domain name varies by TLD. For a
  236. // list of TLDs and their renewal policies, see "Renewal, restoration, and deletion
  237. // times" (http://wiki.gandi.net/en/domains/renew#renewal_restoration_and_deletion_times)
  238. // on the website for our registrar partner, Gandi. Route 53 requires that you
  239. // renew before the end of the renewal period that is listed on the Gandi website
  240. // so we can complete processing before the deadline.
  241. func (c *Route53Domains) EnableDomainAutoRenew(input *EnableDomainAutoRenewInput) (*EnableDomainAutoRenewOutput, error) {
  242. req, out := c.EnableDomainAutoRenewRequest(input)
  243. err := req.Send()
  244. return out, err
  245. }
  246. const opEnableDomainTransferLock = "EnableDomainTransferLock"
  247. // EnableDomainTransferLockRequest generates a "aws/request.Request" representing the
  248. // client's request for the EnableDomainTransferLock operation. The "output" return
  249. // value can be used to capture response data after the request's "Send" method
  250. // is called.
  251. //
  252. // Creating a request object using this method should be used when you want to inject
  253. // custom logic into the request's lifecycle using a custom handler, or if you want to
  254. // access properties on the request object before or after sending the request. If
  255. // you just want the service response, call the EnableDomainTransferLock method directly
  256. // instead.
  257. //
  258. // Note: You must call the "Send" method on the returned request object in order
  259. // to execute the request.
  260. //
  261. // // Example sending a request using the EnableDomainTransferLockRequest method.
  262. // req, resp := client.EnableDomainTransferLockRequest(params)
  263. //
  264. // err := req.Send()
  265. // if err == nil { // resp is now filled
  266. // fmt.Println(resp)
  267. // }
  268. //
  269. func (c *Route53Domains) EnableDomainTransferLockRequest(input *EnableDomainTransferLockInput) (req *request.Request, output *EnableDomainTransferLockOutput) {
  270. op := &request.Operation{
  271. Name: opEnableDomainTransferLock,
  272. HTTPMethod: "POST",
  273. HTTPPath: "/",
  274. }
  275. if input == nil {
  276. input = &EnableDomainTransferLockInput{}
  277. }
  278. req = c.newRequest(op, input, output)
  279. output = &EnableDomainTransferLockOutput{}
  280. req.Data = output
  281. return
  282. }
  283. // This operation sets the transfer lock on the domain (specifically the clientTransferProhibited
  284. // status) to prevent domain transfers. Successful submission returns an operation
  285. // ID that you can use to track the progress and completion of the action. If
  286. // the request is not completed successfully, the domain registrant will be
  287. // notified by email.
  288. func (c *Route53Domains) EnableDomainTransferLock(input *EnableDomainTransferLockInput) (*EnableDomainTransferLockOutput, error) {
  289. req, out := c.EnableDomainTransferLockRequest(input)
  290. err := req.Send()
  291. return out, err
  292. }
  293. const opGetContactReachabilityStatus = "GetContactReachabilityStatus"
  294. // GetContactReachabilityStatusRequest generates a "aws/request.Request" representing the
  295. // client's request for the GetContactReachabilityStatus operation. The "output" return
  296. // value can be used to capture response data after the request's "Send" method
  297. // is called.
  298. //
  299. // Creating a request object using this method should be used when you want to inject
  300. // custom logic into the request's lifecycle using a custom handler, or if you want to
  301. // access properties on the request object before or after sending the request. If
  302. // you just want the service response, call the GetContactReachabilityStatus method directly
  303. // instead.
  304. //
  305. // Note: You must call the "Send" method on the returned request object in order
  306. // to execute the request.
  307. //
  308. // // Example sending a request using the GetContactReachabilityStatusRequest method.
  309. // req, resp := client.GetContactReachabilityStatusRequest(params)
  310. //
  311. // err := req.Send()
  312. // if err == nil { // resp is now filled
  313. // fmt.Println(resp)
  314. // }
  315. //
  316. func (c *Route53Domains) GetContactReachabilityStatusRequest(input *GetContactReachabilityStatusInput) (req *request.Request, output *GetContactReachabilityStatusOutput) {
  317. op := &request.Operation{
  318. Name: opGetContactReachabilityStatus,
  319. HTTPMethod: "POST",
  320. HTTPPath: "/",
  321. }
  322. if input == nil {
  323. input = &GetContactReachabilityStatusInput{}
  324. }
  325. req = c.newRequest(op, input, output)
  326. output = &GetContactReachabilityStatusOutput{}
  327. req.Data = output
  328. return
  329. }
  330. // For operations that require confirmation that the email address for the registrant
  331. // contact is valid, such as registering a new domain, this operation returns
  332. // information about whether the registrant contact has responded.
  333. //
  334. // If you want us to resend the email, use the ResendContactReachabilityEmail
  335. // operation.
  336. func (c *Route53Domains) GetContactReachabilityStatus(input *GetContactReachabilityStatusInput) (*GetContactReachabilityStatusOutput, error) {
  337. req, out := c.GetContactReachabilityStatusRequest(input)
  338. err := req.Send()
  339. return out, err
  340. }
  341. const opGetDomainDetail = "GetDomainDetail"
  342. // GetDomainDetailRequest generates a "aws/request.Request" representing the
  343. // client's request for the GetDomainDetail operation. The "output" return
  344. // value can be used to capture response data after the request's "Send" method
  345. // is called.
  346. //
  347. // Creating a request object using this method should be used when you want to inject
  348. // custom logic into the request's lifecycle using a custom handler, or if you want to
  349. // access properties on the request object before or after sending the request. If
  350. // you just want the service response, call the GetDomainDetail method directly
  351. // instead.
  352. //
  353. // Note: You must call the "Send" method on the returned request object in order
  354. // to execute the request.
  355. //
  356. // // Example sending a request using the GetDomainDetailRequest method.
  357. // req, resp := client.GetDomainDetailRequest(params)
  358. //
  359. // err := req.Send()
  360. // if err == nil { // resp is now filled
  361. // fmt.Println(resp)
  362. // }
  363. //
  364. func (c *Route53Domains) GetDomainDetailRequest(input *GetDomainDetailInput) (req *request.Request, output *GetDomainDetailOutput) {
  365. op := &request.Operation{
  366. Name: opGetDomainDetail,
  367. HTTPMethod: "POST",
  368. HTTPPath: "/",
  369. }
  370. if input == nil {
  371. input = &GetDomainDetailInput{}
  372. }
  373. req = c.newRequest(op, input, output)
  374. output = &GetDomainDetailOutput{}
  375. req.Data = output
  376. return
  377. }
  378. // This operation returns detailed information about the domain. The domain's
  379. // contact information is also returned as part of the output.
  380. func (c *Route53Domains) GetDomainDetail(input *GetDomainDetailInput) (*GetDomainDetailOutput, error) {
  381. req, out := c.GetDomainDetailRequest(input)
  382. err := req.Send()
  383. return out, err
  384. }
  385. const opGetDomainSuggestions = "GetDomainSuggestions"
  386. // GetDomainSuggestionsRequest generates a "aws/request.Request" representing the
  387. // client's request for the GetDomainSuggestions operation. The "output" return
  388. // value can be used to capture response data after the request's "Send" method
  389. // is called.
  390. //
  391. // Creating a request object using this method should be used when you want to inject
  392. // custom logic into the request's lifecycle using a custom handler, or if you want to
  393. // access properties on the request object before or after sending the request. If
  394. // you just want the service response, call the GetDomainSuggestions method directly
  395. // instead.
  396. //
  397. // Note: You must call the "Send" method on the returned request object in order
  398. // to execute the request.
  399. //
  400. // // Example sending a request using the GetDomainSuggestionsRequest method.
  401. // req, resp := client.GetDomainSuggestionsRequest(params)
  402. //
  403. // err := req.Send()
  404. // if err == nil { // resp is now filled
  405. // fmt.Println(resp)
  406. // }
  407. //
  408. func (c *Route53Domains) GetDomainSuggestionsRequest(input *GetDomainSuggestionsInput) (req *request.Request, output *GetDomainSuggestionsOutput) {
  409. op := &request.Operation{
  410. Name: opGetDomainSuggestions,
  411. HTTPMethod: "POST",
  412. HTTPPath: "/",
  413. }
  414. if input == nil {
  415. input = &GetDomainSuggestionsInput{}
  416. }
  417. req = c.newRequest(op, input, output)
  418. output = &GetDomainSuggestionsOutput{}
  419. req.Data = output
  420. return
  421. }
  422. // The GetDomainSuggestions operation returns a list of suggested domain names
  423. // given a string, which can either be a domain name or simply a word or phrase
  424. // (without spaces).
  425. //
  426. // Parameters: DomainName (string): The basis for your domain suggestion search,
  427. // a string with (or without) top-level domain specified. SuggestionCount (int):
  428. // The number of domain suggestions to be returned, maximum 50, minimum 1. OnlyAvailable
  429. // (bool): If true, availability check will be performed on suggestion results,
  430. // and only available domains will be returned. If false, suggestions will be
  431. // returned without checking whether the domain is actually available, and caller
  432. // will have to call checkDomainAvailability for each suggestion to determine
  433. // availability for registration.
  434. func (c *Route53Domains) GetDomainSuggestions(input *GetDomainSuggestionsInput) (*GetDomainSuggestionsOutput, error) {
  435. req, out := c.GetDomainSuggestionsRequest(input)
  436. err := req.Send()
  437. return out, err
  438. }
  439. const opGetOperationDetail = "GetOperationDetail"
  440. // GetOperationDetailRequest generates a "aws/request.Request" representing the
  441. // client's request for the GetOperationDetail operation. The "output" return
  442. // value can be used to capture response data after the request's "Send" method
  443. // is called.
  444. //
  445. // Creating a request object using this method should be used when you want to inject
  446. // custom logic into the request's lifecycle using a custom handler, or if you want to
  447. // access properties on the request object before or after sending the request. If
  448. // you just want the service response, call the GetOperationDetail method directly
  449. // instead.
  450. //
  451. // Note: You must call the "Send" method on the returned request object in order
  452. // to execute the request.
  453. //
  454. // // Example sending a request using the GetOperationDetailRequest method.
  455. // req, resp := client.GetOperationDetailRequest(params)
  456. //
  457. // err := req.Send()
  458. // if err == nil { // resp is now filled
  459. // fmt.Println(resp)
  460. // }
  461. //
  462. func (c *Route53Domains) GetOperationDetailRequest(input *GetOperationDetailInput) (req *request.Request, output *GetOperationDetailOutput) {
  463. op := &request.Operation{
  464. Name: opGetOperationDetail,
  465. HTTPMethod: "POST",
  466. HTTPPath: "/",
  467. }
  468. if input == nil {
  469. input = &GetOperationDetailInput{}
  470. }
  471. req = c.newRequest(op, input, output)
  472. output = &GetOperationDetailOutput{}
  473. req.Data = output
  474. return
  475. }
  476. // This operation returns the current status of an operation that is not completed.
  477. func (c *Route53Domains) GetOperationDetail(input *GetOperationDetailInput) (*GetOperationDetailOutput, error) {
  478. req, out := c.GetOperationDetailRequest(input)
  479. err := req.Send()
  480. return out, err
  481. }
  482. const opListDomains = "ListDomains"
  483. // ListDomainsRequest generates a "aws/request.Request" representing the
  484. // client's request for the ListDomains operation. The "output" return
  485. // value can be used to capture response data after the request's "Send" method
  486. // is called.
  487. //
  488. // Creating a request object using this method should be used when you want to inject
  489. // custom logic into the request's lifecycle using a custom handler, or if you want to
  490. // access properties on the request object before or after sending the request. If
  491. // you just want the service response, call the ListDomains method directly
  492. // instead.
  493. //
  494. // Note: You must call the "Send" method on the returned request object in order
  495. // to execute the request.
  496. //
  497. // // Example sending a request using the ListDomainsRequest method.
  498. // req, resp := client.ListDomainsRequest(params)
  499. //
  500. // err := req.Send()
  501. // if err == nil { // resp is now filled
  502. // fmt.Println(resp)
  503. // }
  504. //
  505. func (c *Route53Domains) ListDomainsRequest(input *ListDomainsInput) (req *request.Request, output *ListDomainsOutput) {
  506. op := &request.Operation{
  507. Name: opListDomains,
  508. HTTPMethod: "POST",
  509. HTTPPath: "/",
  510. Paginator: &request.Paginator{
  511. InputTokens: []string{"Marker"},
  512. OutputTokens: []string{"NextPageMarker"},
  513. LimitToken: "MaxItems",
  514. TruncationToken: "",
  515. },
  516. }
  517. if input == nil {
  518. input = &ListDomainsInput{}
  519. }
  520. req = c.newRequest(op, input, output)
  521. output = &ListDomainsOutput{}
  522. req.Data = output
  523. return
  524. }
  525. // This operation returns all the domain names registered with Amazon Route
  526. // 53 for the current AWS account.
  527. func (c *Route53Domains) ListDomains(input *ListDomainsInput) (*ListDomainsOutput, error) {
  528. req, out := c.ListDomainsRequest(input)
  529. err := req.Send()
  530. return out, err
  531. }
  532. // ListDomainsPages iterates over the pages of a ListDomains operation,
  533. // calling the "fn" function with the response data for each page. To stop
  534. // iterating, return false from the fn function.
  535. //
  536. // See ListDomains method for more information on how to use this operation.
  537. //
  538. // Note: This operation can generate multiple requests to a service.
  539. //
  540. // // Example iterating over at most 3 pages of a ListDomains operation.
  541. // pageNum := 0
  542. // err := client.ListDomainsPages(params,
  543. // func(page *ListDomainsOutput, lastPage bool) bool {
  544. // pageNum++
  545. // fmt.Println(page)
  546. // return pageNum <= 3
  547. // })
  548. //
  549. func (c *Route53Domains) ListDomainsPages(input *ListDomainsInput, fn func(p *ListDomainsOutput, lastPage bool) (shouldContinue bool)) error {
  550. page, _ := c.ListDomainsRequest(input)
  551. page.Handlers.Build.PushBack(request.MakeAddToUserAgentFreeFormHandler("Paginator"))
  552. return page.EachPage(func(p interface{}, lastPage bool) bool {
  553. return fn(p.(*ListDomainsOutput), lastPage)
  554. })
  555. }
  556. const opListOperations = "ListOperations"
  557. // ListOperationsRequest generates a "aws/request.Request" representing the
  558. // client's request for the ListOperations operation. The "output" return
  559. // value can be used to capture response data after the request's "Send" method
  560. // is called.
  561. //
  562. // Creating a request object using this method should be used when you want to inject
  563. // custom logic into the request's lifecycle using a custom handler, or if you want to
  564. // access properties on the request object before or after sending the request. If
  565. // you just want the service response, call the ListOperations method directly
  566. // instead.
  567. //
  568. // Note: You must call the "Send" method on the returned request object in order
  569. // to execute the request.
  570. //
  571. // // Example sending a request using the ListOperationsRequest method.
  572. // req, resp := client.ListOperationsRequest(params)
  573. //
  574. // err := req.Send()
  575. // if err == nil { // resp is now filled
  576. // fmt.Println(resp)
  577. // }
  578. //
  579. func (c *Route53Domains) ListOperationsRequest(input *ListOperationsInput) (req *request.Request, output *ListOperationsOutput) {
  580. op := &request.Operation{
  581. Name: opListOperations,
  582. HTTPMethod: "POST",
  583. HTTPPath: "/",
  584. Paginator: &request.Paginator{
  585. InputTokens: []string{"Marker"},
  586. OutputTokens: []string{"NextPageMarker"},
  587. LimitToken: "MaxItems",
  588. TruncationToken: "",
  589. },
  590. }
  591. if input == nil {
  592. input = &ListOperationsInput{}
  593. }
  594. req = c.newRequest(op, input, output)
  595. output = &ListOperationsOutput{}
  596. req.Data = output
  597. return
  598. }
  599. // This operation returns the operation IDs of operations that are not yet complete.
  600. func (c *Route53Domains) ListOperations(input *ListOperationsInput) (*ListOperationsOutput, error) {
  601. req, out := c.ListOperationsRequest(input)
  602. err := req.Send()
  603. return out, err
  604. }
  605. // ListOperationsPages iterates over the pages of a ListOperations operation,
  606. // calling the "fn" function with the response data for each page. To stop
  607. // iterating, return false from the fn function.
  608. //
  609. // See ListOperations method for more information on how to use this operation.
  610. //
  611. // Note: This operation can generate multiple requests to a service.
  612. //
  613. // // Example iterating over at most 3 pages of a ListOperations operation.
  614. // pageNum := 0
  615. // err := client.ListOperationsPages(params,
  616. // func(page *ListOperationsOutput, lastPage bool) bool {
  617. // pageNum++
  618. // fmt.Println(page)
  619. // return pageNum <= 3
  620. // })
  621. //
  622. func (c *Route53Domains) ListOperationsPages(input *ListOperationsInput, fn func(p *ListOperationsOutput, lastPage bool) (shouldContinue bool)) error {
  623. page, _ := c.ListOperationsRequest(input)
  624. page.Handlers.Build.PushBack(request.MakeAddToUserAgentFreeFormHandler("Paginator"))
  625. return page.EachPage(func(p interface{}, lastPage bool) bool {
  626. return fn(p.(*ListOperationsOutput), lastPage)
  627. })
  628. }
  629. const opListTagsForDomain = "ListTagsForDomain"
  630. // ListTagsForDomainRequest generates a "aws/request.Request" representing the
  631. // client's request for the ListTagsForDomain operation. The "output" return
  632. // value can be used to capture response data after the request's "Send" method
  633. // is called.
  634. //
  635. // Creating a request object using this method should be used when you want to inject
  636. // custom logic into the request's lifecycle using a custom handler, or if you want to
  637. // access properties on the request object before or after sending the request. If
  638. // you just want the service response, call the ListTagsForDomain method directly
  639. // instead.
  640. //
  641. // Note: You must call the "Send" method on the returned request object in order
  642. // to execute the request.
  643. //
  644. // // Example sending a request using the ListTagsForDomainRequest method.
  645. // req, resp := client.ListTagsForDomainRequest(params)
  646. //
  647. // err := req.Send()
  648. // if err == nil { // resp is now filled
  649. // fmt.Println(resp)
  650. // }
  651. //
  652. func (c *Route53Domains) ListTagsForDomainRequest(input *ListTagsForDomainInput) (req *request.Request, output *ListTagsForDomainOutput) {
  653. op := &request.Operation{
  654. Name: opListTagsForDomain,
  655. HTTPMethod: "POST",
  656. HTTPPath: "/",
  657. }
  658. if input == nil {
  659. input = &ListTagsForDomainInput{}
  660. }
  661. req = c.newRequest(op, input, output)
  662. output = &ListTagsForDomainOutput{}
  663. req.Data = output
  664. return
  665. }
  666. // This operation returns all of the tags that are associated with the specified
  667. // domain.
  668. //
  669. // All tag operations are eventually consistent; subsequent operations may
  670. // not immediately represent all issued operations.
  671. func (c *Route53Domains) ListTagsForDomain(input *ListTagsForDomainInput) (*ListTagsForDomainOutput, error) {
  672. req, out := c.ListTagsForDomainRequest(input)
  673. err := req.Send()
  674. return out, err
  675. }
  676. const opRegisterDomain = "RegisterDomain"
  677. // RegisterDomainRequest generates a "aws/request.Request" representing the
  678. // client's request for the RegisterDomain operation. The "output" return
  679. // value can be used to capture response data after the request's "Send" method
  680. // is called.
  681. //
  682. // Creating a request object using this method should be used when you want to inject
  683. // custom logic into the request's lifecycle using a custom handler, or if you want to
  684. // access properties on the request object before or after sending the request. If
  685. // you just want the service response, call the RegisterDomain method directly
  686. // instead.
  687. //
  688. // Note: You must call the "Send" method on the returned request object in order
  689. // to execute the request.
  690. //
  691. // // Example sending a request using the RegisterDomainRequest method.
  692. // req, resp := client.RegisterDomainRequest(params)
  693. //
  694. // err := req.Send()
  695. // if err == nil { // resp is now filled
  696. // fmt.Println(resp)
  697. // }
  698. //
  699. func (c *Route53Domains) RegisterDomainRequest(input *RegisterDomainInput) (req *request.Request, output *RegisterDomainOutput) {
  700. op := &request.Operation{
  701. Name: opRegisterDomain,
  702. HTTPMethod: "POST",
  703. HTTPPath: "/",
  704. }
  705. if input == nil {
  706. input = &RegisterDomainInput{}
  707. }
  708. req = c.newRequest(op, input, output)
  709. output = &RegisterDomainOutput{}
  710. req.Data = output
  711. return
  712. }
  713. // This operation registers a domain. Domains are registered by the AWS registrar
  714. // partner, Gandi. For some top-level domains (TLDs), this operation requires
  715. // extra parameters.
  716. //
  717. // When you register a domain, Amazon Route 53 does the following:
  718. //
  719. // Creates a Amazon Route 53 hosted zone that has the same name as the domain.
  720. // Amazon Route 53 assigns four name servers to your hosted zone and automatically
  721. // updates your domain registration with the names of these name servers. Enables
  722. // autorenew, so your domain registration will renew automatically each year.
  723. // We'll notify you in advance of the renewal date so you can choose whether
  724. // to renew the registration. Optionally enables privacy protection, so WHOIS
  725. // queries return contact information for our registrar partner, Gandi, instead
  726. // of the information you entered for registrant, admin, and tech contacts.
  727. // If registration is successful, returns an operation ID that you can use to
  728. // track the progress and completion of the action. If the request is not completed
  729. // successfully, the domain registrant is notified by email. Charges your AWS
  730. // account an amount based on the top-level domain. For more information, see
  731. // Amazon Route 53 Pricing (http://aws.amazon.com/route53/pricing/).
  732. func (c *Route53Domains) RegisterDomain(input *RegisterDomainInput) (*RegisterDomainOutput, error) {
  733. req, out := c.RegisterDomainRequest(input)
  734. err := req.Send()
  735. return out, err
  736. }
  737. const opRenewDomain = "RenewDomain"
  738. // RenewDomainRequest generates a "aws/request.Request" representing the
  739. // client's request for the RenewDomain operation. The "output" return
  740. // value can be used to capture response data after the request's "Send" method
  741. // is called.
  742. //
  743. // Creating a request object using this method should be used when you want to inject
  744. // custom logic into the request's lifecycle using a custom handler, or if you want to
  745. // access properties on the request object before or after sending the request. If
  746. // you just want the service response, call the RenewDomain method directly
  747. // instead.
  748. //
  749. // Note: You must call the "Send" method on the returned request object in order
  750. // to execute the request.
  751. //
  752. // // Example sending a request using the RenewDomainRequest method.
  753. // req, resp := client.RenewDomainRequest(params)
  754. //
  755. // err := req.Send()
  756. // if err == nil { // resp is now filled
  757. // fmt.Println(resp)
  758. // }
  759. //
  760. func (c *Route53Domains) RenewDomainRequest(input *RenewDomainInput) (req *request.Request, output *RenewDomainOutput) {
  761. op := &request.Operation{
  762. Name: opRenewDomain,
  763. HTTPMethod: "POST",
  764. HTTPPath: "/",
  765. }
  766. if input == nil {
  767. input = &RenewDomainInput{}
  768. }
  769. req = c.newRequest(op, input, output)
  770. output = &RenewDomainOutput{}
  771. req.Data = output
  772. return
  773. }
  774. // This operation renews a domain for the specified number of years. The cost
  775. // of renewing your domain is billed to your AWS account.
  776. //
  777. // We recommend that you renew your domain several weeks before the expiration
  778. // date. Some TLD registries delete domains before the expiration date if you
  779. // haven't renewed far enough in advance. For more information about renewing
  780. // domain registration, see Renewing Registration for a Domain (http://docs.aws.amazon.com/console/route53/domain-renew)
  781. // in the Amazon Route 53 documentation.
  782. func (c *Route53Domains) RenewDomain(input *RenewDomainInput) (*RenewDomainOutput, error) {
  783. req, out := c.RenewDomainRequest(input)
  784. err := req.Send()
  785. return out, err
  786. }
  787. const opResendContactReachabilityEmail = "ResendContactReachabilityEmail"
  788. // ResendContactReachabilityEmailRequest generates a "aws/request.Request" representing the
  789. // client's request for the ResendContactReachabilityEmail operation. The "output" return
  790. // value can be used to capture response data after the request's "Send" method
  791. // is called.
  792. //
  793. // Creating a request object using this method should be used when you want to inject
  794. // custom logic into the request's lifecycle using a custom handler, or if you want to
  795. // access properties on the request object before or after sending the request. If
  796. // you just want the service response, call the ResendContactReachabilityEmail method directly
  797. // instead.
  798. //
  799. // Note: You must call the "Send" method on the returned request object in order
  800. // to execute the request.
  801. //
  802. // // Example sending a request using the ResendContactReachabilityEmailRequest method.
  803. // req, resp := client.ResendContactReachabilityEmailRequest(params)
  804. //
  805. // err := req.Send()
  806. // if err == nil { // resp is now filled
  807. // fmt.Println(resp)
  808. // }
  809. //
  810. func (c *Route53Domains) ResendContactReachabilityEmailRequest(input *ResendContactReachabilityEmailInput) (req *request.Request, output *ResendContactReachabilityEmailOutput) {
  811. op := &request.Operation{
  812. Name: opResendContactReachabilityEmail,
  813. HTTPMethod: "POST",
  814. HTTPPath: "/",
  815. }
  816. if input == nil {
  817. input = &ResendContactReachabilityEmailInput{}
  818. }
  819. req = c.newRequest(op, input, output)
  820. output = &ResendContactReachabilityEmailOutput{}
  821. req.Data = output
  822. return
  823. }
  824. // For operations that require confirmation that the email address for the registrant
  825. // contact is valid, such as registering a new domain, this operation resends
  826. // the confirmation email to the current email address for the registrant contact.
  827. func (c *Route53Domains) ResendContactReachabilityEmail(input *ResendContactReachabilityEmailInput) (*ResendContactReachabilityEmailOutput, error) {
  828. req, out := c.ResendContactReachabilityEmailRequest(input)
  829. err := req.Send()
  830. return out, err
  831. }
  832. const opRetrieveDomainAuthCode = "RetrieveDomainAuthCode"
  833. // RetrieveDomainAuthCodeRequest generates a "aws/request.Request" representing the
  834. // client's request for the RetrieveDomainAuthCode operation. The "output" return
  835. // value can be used to capture response data after the request's "Send" method
  836. // is called.
  837. //
  838. // Creating a request object using this method should be used when you want to inject
  839. // custom logic into the request's lifecycle using a custom handler, or if you want to
  840. // access properties on the request object before or after sending the request. If
  841. // you just want the service response, call the RetrieveDomainAuthCode method directly
  842. // instead.
  843. //
  844. // Note: You must call the "Send" method on the returned request object in order
  845. // to execute the request.
  846. //
  847. // // Example sending a request using the RetrieveDomainAuthCodeRequest method.
  848. // req, resp := client.RetrieveDomainAuthCodeRequest(params)
  849. //
  850. // err := req.Send()
  851. // if err == nil { // resp is now filled
  852. // fmt.Println(resp)
  853. // }
  854. //
  855. func (c *Route53Domains) RetrieveDomainAuthCodeRequest(input *RetrieveDomainAuthCodeInput) (req *request.Request, output *RetrieveDomainAuthCodeOutput) {
  856. op := &request.Operation{
  857. Name: opRetrieveDomainAuthCode,
  858. HTTPMethod: "POST",
  859. HTTPPath: "/",
  860. }
  861. if input == nil {
  862. input = &RetrieveDomainAuthCodeInput{}
  863. }
  864. req = c.newRequest(op, input, output)
  865. output = &RetrieveDomainAuthCodeOutput{}
  866. req.Data = output
  867. return
  868. }
  869. // This operation returns the AuthCode for the domain. To transfer a domain
  870. // to another registrar, you provide this value to the new registrar.
  871. func (c *Route53Domains) RetrieveDomainAuthCode(input *RetrieveDomainAuthCodeInput) (*RetrieveDomainAuthCodeOutput, error) {
  872. req, out := c.RetrieveDomainAuthCodeRequest(input)
  873. err := req.Send()
  874. return out, err
  875. }
  876. const opTransferDomain = "TransferDomain"
  877. // TransferDomainRequest generates a "aws/request.Request" representing the
  878. // client's request for the TransferDomain operation. The "output" return
  879. // value can be used to capture response data after the request's "Send" method
  880. // is called.
  881. //
  882. // Creating a request object using this method should be used when you want to inject
  883. // custom logic into the request's lifecycle using a custom handler, or if you want to
  884. // access properties on the request object before or after sending the request. If
  885. // you just want the service response, call the TransferDomain method directly
  886. // instead.
  887. //
  888. // Note: You must call the "Send" method on the returned request object in order
  889. // to execute the request.
  890. //
  891. // // Example sending a request using the TransferDomainRequest method.
  892. // req, resp := client.TransferDomainRequest(params)
  893. //
  894. // err := req.Send()
  895. // if err == nil { // resp is now filled
  896. // fmt.Println(resp)
  897. // }
  898. //
  899. func (c *Route53Domains) TransferDomainRequest(input *TransferDomainInput) (req *request.Request, output *TransferDomainOutput) {
  900. op := &request.Operation{
  901. Name: opTransferDomain,
  902. HTTPMethod: "POST",
  903. HTTPPath: "/",
  904. }
  905. if input == nil {
  906. input = &TransferDomainInput{}
  907. }
  908. req = c.newRequest(op, input, output)
  909. output = &TransferDomainOutput{}
  910. req.Data = output
  911. return
  912. }
  913. // This operation transfers a domain from another registrar to Amazon Route
  914. // 53. When the transfer is complete, the domain is registered with the AWS
  915. // registrar partner, Gandi.
  916. //
  917. // For transfer requirements, a detailed procedure, and information about viewing
  918. // the status of a domain transfer, see Transferring Registration for a Domain
  919. // to Amazon Route 53 (http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/domain-transfer-to-route-53.html)
  920. // in the Amazon Route 53 Developer Guide.
  921. //
  922. // If the registrar for your domain is also the DNS service provider for the
  923. // domain, we highly recommend that you consider transferring your DNS service
  924. // to Amazon Route 53 or to another DNS service provider before you transfer
  925. // your registration. Some registrars provide free DNS service when you purchase
  926. // a domain registration. When you transfer the registration, the previous registrar
  927. // will not renew your domain registration and could end your DNS service at
  928. // any time.
  929. //
  930. // Caution! If the registrar for your domain is also the DNS service provider
  931. // for the domain and you don't transfer DNS service to another provider, your
  932. // website, email, and the web applications associated with the domain might
  933. // become unavailable. If the transfer is successful, this method returns an
  934. // operation ID that you can use to track the progress and completion of the
  935. // action. If the transfer doesn't complete successfully, the domain registrant
  936. // will be notified by email.
  937. func (c *Route53Domains) TransferDomain(input *TransferDomainInput) (*TransferDomainOutput, error) {
  938. req, out := c.TransferDomainRequest(input)
  939. err := req.Send()
  940. return out, err
  941. }
  942. const opUpdateDomainContact = "UpdateDomainContact"
  943. // UpdateDomainContactRequest generates a "aws/request.Request" representing the
  944. // client's request for the UpdateDomainContact operation. The "output" return
  945. // value can be used to capture response data after the request's "Send" method
  946. // is called.
  947. //
  948. // Creating a request object using this method should be used when you want to inject
  949. // custom logic into the request's lifecycle using a custom handler, or if you want to
  950. // access properties on the request object before or after sending the request. If
  951. // you just want the service response, call the UpdateDomainContact method directly
  952. // instead.
  953. //
  954. // Note: You must call the "Send" method on the returned request object in order
  955. // to execute the request.
  956. //
  957. // // Example sending a request using the UpdateDomainContactRequest method.
  958. // req, resp := client.UpdateDomainContactRequest(params)
  959. //
  960. // err := req.Send()
  961. // if err == nil { // resp is now filled
  962. // fmt.Println(resp)
  963. // }
  964. //
  965. func (c *Route53Domains) UpdateDomainContactRequest(input *UpdateDomainContactInput) (req *request.Request, output *UpdateDomainContactOutput) {
  966. op := &request.Operation{
  967. Name: opUpdateDomainContact,
  968. HTTPMethod: "POST",
  969. HTTPPath: "/",
  970. }
  971. if input == nil {
  972. input = &UpdateDomainContactInput{}
  973. }
  974. req = c.newRequest(op, input, output)
  975. output = &UpdateDomainContactOutput{}
  976. req.Data = output
  977. return
  978. }
  979. // This operation updates the contact information for a particular domain. Information
  980. // for at least one contact (registrant, administrator, or technical) must be
  981. // supplied for update.
  982. //
  983. // If the update is successful, this method returns an operation ID that you
  984. // can use to track the progress and completion of the action. If the request
  985. // is not completed successfully, the domain registrant will be notified by
  986. // email.
  987. func (c *Route53Domains) UpdateDomainContact(input *UpdateDomainContactInput) (*UpdateDomainContactOutput, error) {
  988. req, out := c.UpdateDomainContactRequest(input)
  989. err := req.Send()
  990. return out, err
  991. }
  992. const opUpdateDomainContactPrivacy = "UpdateDomainContactPrivacy"
  993. // UpdateDomainContactPrivacyRequest generates a "aws/request.Request" representing the
  994. // client's request for the UpdateDomainContactPrivacy operation. The "output" return
  995. // value can be used to capture response data after the request's "Send" method
  996. // is called.
  997. //
  998. // Creating a request object using this method should be used when you want to inject
  999. // custom logic into the request's lifecycle using a custom handler, or if you want to
  1000. // access properties on the request object before or after sending the request. If
  1001. // you just want the service response, call the UpdateDomainContactPrivacy method directly
  1002. // instead.
  1003. //
  1004. // Note: You must call the "Send" method on the returned request object in order
  1005. // to execute the request.
  1006. //
  1007. // // Example sending a request using the UpdateDomainContactPrivacyRequest method.
  1008. // req, resp := client.UpdateDomainContactPrivacyRequest(params)
  1009. //
  1010. // err := req.Send()
  1011. // if err == nil { // resp is now filled
  1012. // fmt.Println(resp)
  1013. // }
  1014. //
  1015. func (c *Route53Domains) UpdateDomainContactPrivacyRequest(input *UpdateDomainContactPrivacyInput) (req *request.Request, output *UpdateDomainContactPrivacyOutput) {
  1016. op := &request.Operation{
  1017. Name: opUpdateDomainContactPrivacy,
  1018. HTTPMethod: "POST",
  1019. HTTPPath: "/",
  1020. }
  1021. if input == nil {
  1022. input = &UpdateDomainContactPrivacyInput{}
  1023. }
  1024. req = c.newRequest(op, input, output)
  1025. output = &UpdateDomainContactPrivacyOutput{}
  1026. req.Data = output
  1027. return
  1028. }
  1029. // This operation updates the specified domain contact's privacy setting. When
  1030. // the privacy option is enabled, personal information such as postal or email
  1031. // address is hidden from the results of a public WHOIS query. The privacy services
  1032. // are provided by the AWS registrar, Gandi. For more information, see the Gandi
  1033. // privacy features (http://www.gandi.net/domain/whois/?currency=USD&amp;lang=en).
  1034. //
  1035. // This operation only affects the privacy of the specified contact type (registrant,
  1036. // administrator, or tech). Successful acceptance returns an operation ID that
  1037. // you can use with GetOperationDetail to track the progress and completion
  1038. // of the action. If the request is not completed successfully, the domain registrant
  1039. // will be notified by email.
  1040. func (c *Route53Domains) UpdateDomainContactPrivacy(input *UpdateDomainContactPrivacyInput) (*UpdateDomainContactPrivacyOutput, error) {
  1041. req, out := c.UpdateDomainContactPrivacyRequest(input)
  1042. err := req.Send()
  1043. return out, err
  1044. }
  1045. const opUpdateDomainNameservers = "UpdateDomainNameservers"
  1046. // UpdateDomainNameserversRequest generates a "aws/request.Request" representing the
  1047. // client's request for the UpdateDomainNameservers operation. The "output" return
  1048. // value can be used to capture response data after the request's "Send" method
  1049. // is called.
  1050. //
  1051. // Creating a request object using this method should be used when you want to inject
  1052. // custom logic into the request's lifecycle using a custom handler, or if you want to
  1053. // access properties on the request object before or after sending the request. If
  1054. // you just want the service response, call the UpdateDomainNameservers method directly
  1055. // instead.
  1056. //
  1057. // Note: You must call the "Send" method on the returned request object in order
  1058. // to execute the request.
  1059. //
  1060. // // Example sending a request using the UpdateDomainNameserversRequest method.
  1061. // req, resp := client.UpdateDomainNameserversRequest(params)
  1062. //
  1063. // err := req.Send()
  1064. // if err == nil { // resp is now filled
  1065. // fmt.Println(resp)
  1066. // }
  1067. //
  1068. func (c *Route53Domains) UpdateDomainNameserversRequest(input *UpdateDomainNameserversInput) (req *request.Request, output *UpdateDomainNameserversOutput) {
  1069. op := &request.Operation{
  1070. Name: opUpdateDomainNameservers,
  1071. HTTPMethod: "POST",
  1072. HTTPPath: "/",
  1073. }
  1074. if input == nil {
  1075. input = &UpdateDomainNameserversInput{}
  1076. }
  1077. req = c.newRequest(op, input, output)
  1078. output = &UpdateDomainNameserversOutput{}
  1079. req.Data = output
  1080. return
  1081. }
  1082. // This operation replaces the current set of name servers for the domain with
  1083. // the specified set of name servers. If you use Amazon Route 53 as your DNS
  1084. // service, specify the four name servers in the delegation set for the hosted
  1085. // zone for the domain.
  1086. //
  1087. // If successful, this operation returns an operation ID that you can use to
  1088. // track the progress and completion of the action. If the request is not completed
  1089. // successfully, the domain registrant will be notified by email.
  1090. func (c *Route53Domains) UpdateDomainNameservers(input *UpdateDomainNameserversInput) (*UpdateDomainNameserversOutput, error) {
  1091. req, out := c.UpdateDomainNameserversRequest(input)
  1092. err := req.Send()
  1093. return out, err
  1094. }
  1095. const opUpdateTagsForDomain = "UpdateTagsForDomain"
  1096. // UpdateTagsForDomainRequest generates a "aws/request.Request" representing the
  1097. // client's request for the UpdateTagsForDomain operation. The "output" return
  1098. // value can be used to capture response data after the request's "Send" method
  1099. // is called.
  1100. //
  1101. // Creating a request object using this method should be used when you want to inject
  1102. // custom logic into the request's lifecycle using a custom handler, or if you want to
  1103. // access properties on the request object before or after sending the request. If
  1104. // you just want the service response, call the UpdateTagsForDomain method directly
  1105. // instead.
  1106. //
  1107. // Note: You must call the "Send" method on the returned request object in order
  1108. // to execute the request.
  1109. //
  1110. // // Example sending a request using the UpdateTagsForDomainRequest method.
  1111. // req, resp := client.UpdateTagsForDomainRequest(params)
  1112. //
  1113. // err := req.Send()
  1114. // if err == nil { // resp is now filled
  1115. // fmt.Println(resp)
  1116. // }
  1117. //
  1118. func (c *Route53Domains) UpdateTagsForDomainRequest(input *UpdateTagsForDomainInput) (req *request.Request, output *UpdateTagsForDomainOutput) {
  1119. op := &request.Operation{
  1120. Name: opUpdateTagsForDomain,
  1121. HTTPMethod: "POST",
  1122. HTTPPath: "/",
  1123. }
  1124. if input == nil {
  1125. input = &UpdateTagsForDomainInput{}
  1126. }
  1127. req = c.newRequest(op, input, output)
  1128. output = &UpdateTagsForDomainOutput{}
  1129. req.Data = output
  1130. return
  1131. }
  1132. // This operation adds or updates tags for a specified domain.
  1133. //
  1134. // All tag operations are eventually consistent; subsequent operations may
  1135. // not immediately represent all issued operations.
  1136. func (c *Route53Domains) UpdateTagsForDomain(input *UpdateTagsForDomainInput) (*UpdateTagsForDomainOutput, error) {
  1137. req, out := c.UpdateTagsForDomainRequest(input)
  1138. err := req.Send()
  1139. return out, err
  1140. }
  1141. const opViewBilling = "ViewBilling"
  1142. // ViewBillingRequest generates a "aws/request.Request" representing the
  1143. // client's request for the ViewBilling operation. The "output" return
  1144. // value can be used to capture response data after the request's "Send" method
  1145. // is called.
  1146. //
  1147. // Creating a request object using this method should be used when you want to inject
  1148. // custom logic into the request's lifecycle using a custom handler, or if you want to
  1149. // access properties on the request object before or after sending the request. If
  1150. // you just want the service response, call the ViewBilling method directly
  1151. // instead.
  1152. //
  1153. // Note: You must call the "Send" method on the returned request object in order
  1154. // to execute the request.
  1155. //
  1156. // // Example sending a request using the ViewBillingRequest method.
  1157. // req, resp := client.ViewBillingRequest(params)
  1158. //
  1159. // err := req.Send()
  1160. // if err == nil { // resp is now filled
  1161. // fmt.Println(resp)
  1162. // }
  1163. //
  1164. func (c *Route53Domains) ViewBillingRequest(input *ViewBillingInput) (req *request.Request, output *ViewBillingOutput) {
  1165. op := &request.Operation{
  1166. Name: opViewBilling,
  1167. HTTPMethod: "POST",
  1168. HTTPPath: "/",
  1169. }
  1170. if input == nil {
  1171. input = &ViewBillingInput{}
  1172. }
  1173. req = c.newRequest(op, input, output)
  1174. output = &ViewBillingOutput{}
  1175. req.Data = output
  1176. return
  1177. }
  1178. // This operation returns all the domain-related billing records for the current
  1179. // AWS account for a specified period
  1180. func (c *Route53Domains) ViewBilling(input *ViewBillingInput) (*ViewBillingOutput, error) {
  1181. req, out := c.ViewBillingRequest(input)
  1182. err := req.Send()
  1183. return out, err
  1184. }
  1185. type BillingRecord struct {
  1186. _ struct{} `type:"structure"`
  1187. // The date that the operation was billed, in Unix format.
  1188. //
  1189. // Type: Double
  1190. BillDate *time.Time `type:"timestamp" timestampFormat:"unix"`
  1191. // The name of a domain.
  1192. //
  1193. // Type: String
  1194. DomainName *string `type:"string"`
  1195. // The ID of the invoice that is associated with the billing record.
  1196. //
  1197. // Type: String
  1198. InvoiceId *string `type:"string"`
  1199. // The operation that you were charged for.
  1200. //
  1201. // Type: String
  1202. //
  1203. // Valid values: REGISTER_DOMAIN TRANSFER_IN_DOMAIN RENEW_DOMAIN CHANGE_DOMAIN_OWNER
  1204. Operation *string `type:"string" enum:"OperationType"`
  1205. // The price that you were charged for the operation, in US dollars.
  1206. //
  1207. // Type: Double
  1208. //
  1209. // Example value: 12.0
  1210. Price *float64 `type:"double"`
  1211. }
  1212. // String returns the string representation
  1213. func (s BillingRecord) String() string {
  1214. return awsutil.Prettify(s)
  1215. }
  1216. // GoString returns the string representation
  1217. func (s BillingRecord) GoString() string {
  1218. return s.String()
  1219. }
  1220. // The CheckDomainAvailability request contains the following elements.
  1221. type CheckDomainAvailabilityInput struct {
  1222. _ struct{} `type:"structure"`
  1223. // The name of a domain.
  1224. //
  1225. // Type: String
  1226. //
  1227. // Default: None
  1228. //
  1229. // Constraints: The domain name can contain only the letters a through z, the
  1230. // numbers 0 through 9, and hyphen (-). Internationalized Domain Names are not
  1231. // supported.
  1232. //
  1233. // Required: Yes
  1234. DomainName *string `type:"string" required:"true"`
  1235. // Reserved for future use.
  1236. IdnLangCode *string `type:"string"`
  1237. }
  1238. // String returns the string representation
  1239. func (s CheckDomainAvailabilityInput) String() string {
  1240. return awsutil.Prettify(s)
  1241. }
  1242. // GoString returns the string representation
  1243. func (s CheckDomainAvailabilityInput) GoString() string {
  1244. return s.String()
  1245. }
  1246. // Validate inspects the fields of the type to determine if they are valid.
  1247. func (s *CheckDomainAvailabilityInput) Validate() error {
  1248. invalidParams := request.ErrInvalidParams{Context: "CheckDomainAvailabilityInput"}
  1249. if s.DomainName == nil {
  1250. invalidParams.Add(request.NewErrParamRequired("DomainName"))
  1251. }
  1252. if invalidParams.Len() > 0 {
  1253. return invalidParams
  1254. }
  1255. return nil
  1256. }
  1257. // The CheckDomainAvailability response includes the following elements.
  1258. type CheckDomainAvailabilityOutput struct {
  1259. _ struct{} `type:"structure"`
  1260. // Whether the domain name is available for registering.
  1261. //
  1262. // You can only register domains designated as AVAILABLE.
  1263. //
  1264. // Type: String
  1265. //
  1266. // Valid values:
  1267. //
  1268. // AVAILABLE – The domain name is available. AVAILABLE_RESERVED – The domain
  1269. // name is reserved under specific conditions. AVAILABLE_PREORDER – The domain
  1270. // name is available and can be preordered. UNAVAILABLE – The domain name is
  1271. // not available. UNAVAILABLE_PREMIUM – The domain name is not available. UNAVAILABLE_RESTRICTED
  1272. // – The domain name is forbidden. RESERVED – The domain name has been reserved
  1273. // for another person or organization. DONT_KNOW – The TLD registry didn't reply
  1274. // with a definitive answer about whether the domain name is available. Amazon
  1275. // Route 53 can return this response for a variety of reasons, for example,
  1276. // the registry is performing maintenance. Try again later.
  1277. Availability *string `type:"string" required:"true" enum:"DomainAvailability"`
  1278. }
  1279. // String returns the string representation
  1280. func (s CheckDomainAvailabilityOutput) String() string {
  1281. return awsutil.Prettify(s)
  1282. }
  1283. // GoString returns the string representation
  1284. func (s CheckDomainAvailabilityOutput) GoString() string {
  1285. return s.String()
  1286. }
  1287. // ContactDetail includes the following elements.
  1288. type ContactDetail struct {
  1289. _ struct{} `type:"structure"`
  1290. // First line of the contact's address.
  1291. //
  1292. // Type: String
  1293. //
  1294. // Default: None
  1295. //
  1296. // Constraints: Maximum 255 characters.
  1297. //
  1298. // Parents: RegistrantContact, AdminContact, TechContact
  1299. //
  1300. // Required: Yes
  1301. AddressLine1 *string `type:"string"`
  1302. // Second line of contact's address, if any.
  1303. //
  1304. // Type: String
  1305. //
  1306. // Default: None
  1307. //
  1308. // Constraints: Maximum 255 characters.
  1309. //
  1310. // Parents: RegistrantContact, AdminContact, TechContact
  1311. //
  1312. // Required: No
  1313. AddressLine2 *string `type:"string"`
  1314. // The city of the contact's address.
  1315. //
  1316. // Type: String
  1317. //
  1318. // Default: None
  1319. //
  1320. // Constraints: Maximum 255 characters.
  1321. //
  1322. // Parents: RegistrantContact, AdminContact, TechContact
  1323. //
  1324. // Required: Yes
  1325. City *string `type:"string"`
  1326. // Indicates whether the contact is a person, company, association, or public
  1327. // organization. If you choose an option other than PERSON, you must enter an
  1328. // organization name, and you can't enable privacy protection for the contact.
  1329. //
  1330. // Type: String
  1331. //
  1332. // Default: None
  1333. //
  1334. // Constraints: Maximum 255 characters.
  1335. //
  1336. // Valid values: PERSON | COMPANY | ASSOCIATION | PUBLIC_BODY
  1337. //
  1338. // Parents: RegistrantContact, AdminContact, TechContact
  1339. //
  1340. // Required: Yes
  1341. ContactType *string `type:"string" enum:"ContactType"`
  1342. // Code for the country of the contact's address.
  1343. //
  1344. // Type: String
  1345. //
  1346. // Default: None
  1347. //
  1348. // Constraints: Maximum 255 characters.
  1349. //
  1350. // Parents: RegistrantContact, AdminContact, TechContact
  1351. //
  1352. // Required: Yes
  1353. CountryCode *string `type:"string" enum:"CountryCode"`
  1354. // Email address of the contact.
  1355. //
  1356. // Type: String
  1357. //
  1358. // Default: None
  1359. //
  1360. // Constraints: Maximum 254 characters.
  1361. //
  1362. // Parents: RegistrantContact, AdminContact, TechContact
  1363. //
  1364. // Required: Yes
  1365. Email *string `type:"string"`
  1366. // A list of name-value pairs for parameters required by certain top-level domains.
  1367. //
  1368. // Type: Complex
  1369. //
  1370. // Default: None
  1371. //
  1372. // Parents: RegistrantContact, AdminContact, TechContact
  1373. //
  1374. // Children: Name, Value
  1375. //
  1376. // Required: No
  1377. ExtraParams []*ExtraParam `type:"list"`
  1378. // Fax number of the contact.
  1379. //
  1380. // Type: String
  1381. //
  1382. // Default: None
  1383. //
  1384. // Constraints: Phone number must be specified in the format "+[country dialing
  1385. // code].[number including any area code]". For example, a US phone number might
  1386. // appear as "+1.1234567890".
  1387. //
  1388. // Parents: RegistrantContact, AdminContact, TechContact
  1389. //
  1390. // Required: No
  1391. Fax *string `type:"string"`
  1392. // First name of contact.
  1393. //
  1394. // Type: String
  1395. //
  1396. // Default: None
  1397. //
  1398. // Constraints: Maximum 255 characters.
  1399. //
  1400. // Parents: RegistrantContact, AdminContact, TechContact
  1401. //
  1402. // Required: Yes
  1403. FirstName *string `type:"string"`
  1404. // Last name of contact.
  1405. //
  1406. // Type: String
  1407. //
  1408. // Default: None
  1409. //
  1410. // Constraints: Maximum 255 characters.
  1411. //
  1412. // Parents: RegistrantContact, AdminContact, TechContact
  1413. //
  1414. // Required: Yes
  1415. LastName *string `type:"string"`
  1416. // Name of the organization for contact types other than PERSON.
  1417. //
  1418. // Type: String
  1419. //
  1420. // Default: None
  1421. //
  1422. // Constraints: Maximum 255 characters. Contact type must not be PERSON.
  1423. //
  1424. // Parents: RegistrantContact, AdminContact, TechContact
  1425. //
  1426. // Required: No
  1427. OrganizationName *string `type:"string"`
  1428. // The phone number of the contact.
  1429. //
  1430. // Type: String
  1431. //
  1432. // Default: None
  1433. //
  1434. // Constraints: Phone number must be specified in the format "+[country dialing
  1435. // code].[number including any area code>]". For example, a US phone number
  1436. // might appear as "+1.1234567890".
  1437. //
  1438. // Parents: RegistrantContact, AdminContact, TechContact
  1439. //
  1440. // Required: Yes
  1441. PhoneNumber *string `type:"string"`
  1442. // The state or province of the contact's city.
  1443. //
  1444. // Type: String
  1445. //
  1446. // Default: None
  1447. //
  1448. // Constraints: Maximum 255 characters.
  1449. //
  1450. // Parents: RegistrantContact, AdminContact, TechContact
  1451. //
  1452. // Required: No
  1453. State *string `type:"string"`
  1454. // The zip or postal code of the contact's address.
  1455. //
  1456. // Type: String
  1457. //
  1458. // Default: None
  1459. //
  1460. // Constraints: Maximum 255 characters.
  1461. //
  1462. // Parents: RegistrantContact, AdminContact, TechContact
  1463. //
  1464. // Required: No
  1465. ZipCode *string `type:"string"`
  1466. }
  1467. // String returns the string representation
  1468. func (s ContactDetail) String() string {
  1469. return awsutil.Prettify(s)
  1470. }
  1471. // GoString returns the string representation
  1472. func (s ContactDetail) GoString() string {
  1473. return s.String()
  1474. }
  1475. // Validate inspects the fields of the type to determine if they are valid.
  1476. func (s *ContactDetail) Validate() error {
  1477. invalidParams := request.ErrInvalidParams{Context: "ContactDetail"}
  1478. if s.ExtraParams != nil {
  1479. for i, v := range s.ExtraParams {
  1480. if v == nil {
  1481. continue
  1482. }
  1483. if err := v.Validate(); err != nil {
  1484. invalidParams.AddNested(fmt.Sprintf("%s[%v]", "ExtraParams", i), err.(request.ErrInvalidParams))
  1485. }
  1486. }
  1487. }
  1488. if invalidParams.Len() > 0 {
  1489. return invalidParams
  1490. }
  1491. return nil
  1492. }
  1493. // The DeleteTagsForDomainRequest includes the following elements.
  1494. type DeleteTagsForDomainInput struct {
  1495. _ struct{} `type:"structure"`
  1496. // The domain for which you want to delete one or more tags.
  1497. //
  1498. // The name of a domain.
  1499. //
  1500. // Type: String
  1501. //
  1502. // Default: None
  1503. //
  1504. // Constraints: The domain name can contain only the letters a through z, the
  1505. // numbers 0 through 9, and hyphen (-). Hyphens are allowed only when they're
  1506. // surrounded by letters, numbers, or other hyphens. You can't specify a hyphen
  1507. // at the beginning or end of a label. To specify an Internationalized Domain
  1508. // Name, you must convert the name to Punycode.
  1509. //
  1510. // Required: Yes
  1511. DomainName *string `type:"string" required:"true"`
  1512. // A list of tag keys to delete.
  1513. //
  1514. // Type: A list that contains the keys of the tags that you want to delete.
  1515. //
  1516. // Default: None
  1517. //
  1518. // Required: No
  1519. //
  1520. // '>
  1521. TagsToDelete []*string `type:"list" required:"true"`
  1522. }
  1523. // String returns the string representation
  1524. func (s DeleteTagsForDomainInput) String() string {
  1525. return awsutil.Prettify(s)
  1526. }
  1527. // GoString returns the string representation
  1528. func (s DeleteTagsForDomainInput) GoString() string {
  1529. return s.String()
  1530. }
  1531. // Validate inspects the fields of the type to determine if they are valid.
  1532. func (s *DeleteTagsForDomainInput) Validate() error {
  1533. invalidParams := request.ErrInvalidParams{Context: "DeleteTagsForDomainInput"}
  1534. if s.DomainName == nil {
  1535. invalidParams.Add(request.NewErrParamRequired("DomainName"))
  1536. }
  1537. if s.TagsToDelete == nil {
  1538. invalidParams.Add(request.NewErrParamRequired("TagsToDelete"))
  1539. }
  1540. if invalidParams.Len() > 0 {
  1541. return invalidParams
  1542. }
  1543. return nil
  1544. }
  1545. type DeleteTagsForDomainOutput struct {
  1546. _ struct{} `type:"structure"`
  1547. }
  1548. // String returns the string representation
  1549. func (s DeleteTagsForDomainOutput) String() string {
  1550. return awsutil.Prettify(s)
  1551. }
  1552. // GoString returns the string representation
  1553. func (s DeleteTagsForDomainOutput) GoString() string {
  1554. return s.String()
  1555. }
  1556. type DisableDomainAutoRenewInput struct {
  1557. _ struct{} `type:"structure"`
  1558. DomainName *string `type:"string" required:"true"`
  1559. }
  1560. // String returns the string representation
  1561. func (s DisableDomainAutoRenewInput) String() string {
  1562. return awsutil.Prettify(s)
  1563. }
  1564. // GoString returns the string representation
  1565. func (s DisableDomainAutoRenewInput) GoString() string {
  1566. return s.String()
  1567. }
  1568. // Validate inspects the fields of the type to determine if they are valid.
  1569. func (s *DisableDomainAutoRenewInput) Validate() error {
  1570. invalidParams := request.ErrInvalidParams{Context: "DisableDomainAutoRenewInput"}
  1571. if s.DomainName == nil {
  1572. invalidParams.Add(request.NewErrParamRequired("DomainName"))
  1573. }
  1574. if invalidParams.Len() > 0 {
  1575. return invalidParams
  1576. }
  1577. return nil
  1578. }
  1579. type DisableDomainAutoRenewOutput struct {
  1580. _ struct{} `type:"structure"`
  1581. }
  1582. // String returns the string representation
  1583. func (s DisableDomainAutoRenewOutput) String() string {
  1584. return awsutil.Prettify(s)
  1585. }
  1586. // GoString returns the string representation
  1587. func (s DisableDomainAutoRenewOutput) GoString() string {
  1588. return s.String()
  1589. }
  1590. // The DisableDomainTransferLock request includes the following element.
  1591. type DisableDomainTransferLockInput struct {
  1592. _ struct{} `type:"structure"`
  1593. // The name of a domain.
  1594. //
  1595. // Type: String
  1596. //
  1597. // Default: None
  1598. //
  1599. // Constraints: The domain name can contain only the letters a through z, the
  1600. // numbers 0 through 9, and hyphen (-). Internationalized Domain Names are not
  1601. // supported.
  1602. //
  1603. // Required: Yes
  1604. DomainName *string `type:"string" required:"true"`
  1605. }
  1606. // String returns the string representation
  1607. func (s DisableDomainTransferLockInput) String() string {
  1608. return awsutil.Prettify(s)
  1609. }
  1610. // GoString returns the string representation
  1611. func (s DisableDomainTransferLockInput) GoString() string {
  1612. return s.String()
  1613. }
  1614. // Validate inspects the fields of the type to determine if they are valid.
  1615. func (s *DisableDomainTransferLockInput) Validate() error {
  1616. invalidParams := request.ErrInvalidParams{Context: "DisableDomainTransferLockInput"}
  1617. if s.DomainName == nil {
  1618. invalidParams.Add(request.NewErrParamRequired("DomainName"))
  1619. }
  1620. if invalidParams.Len() > 0 {
  1621. return invalidParams
  1622. }
  1623. return nil
  1624. }
  1625. // The DisableDomainTransferLock response includes the following element.
  1626. type DisableDomainTransferLockOutput struct {
  1627. _ struct{} `type:"structure"`
  1628. // Identifier for tracking the progress of the request. To use this ID to query
  1629. // the operation status, use GetOperationDetail.
  1630. //
  1631. // Type: String
  1632. //
  1633. // Default: None
  1634. //
  1635. // Constraints: Maximum 255 characters.
  1636. OperationId *string `type:"string" required:"true"`
  1637. }
  1638. // String returns the string representation
  1639. func (s DisableDomainTransferLockOutput) String() string {
  1640. return awsutil.Prettify(s)
  1641. }
  1642. // GoString returns the string representation
  1643. func (s DisableDomainTransferLockOutput) GoString() string {
  1644. return s.String()
  1645. }
  1646. type DomainSuggestion struct {
  1647. _ struct{} `type:"structure"`
  1648. Availability *string `type:"string"`
  1649. DomainName *string `type:"string"`
  1650. }
  1651. // String returns the string representation
  1652. func (s DomainSuggestion) String() string {
  1653. return awsutil.Prettify(s)
  1654. }
  1655. // GoString returns the string representation
  1656. func (s DomainSuggestion) GoString() string {
  1657. return s.String()
  1658. }
  1659. type DomainSummary struct {
  1660. _ struct{} `type:"structure"`
  1661. // Indicates whether the domain is automatically renewed upon expiration.
  1662. //
  1663. // Type: Boolean
  1664. //
  1665. // Valid values: True | False
  1666. AutoRenew *bool `type:"boolean"`
  1667. // The name of a domain.
  1668. //
  1669. // Type: String
  1670. DomainName *string `type:"string" required:"true"`
  1671. // Expiration date of the domain in Coordinated Universal Time (UTC).
  1672. //
  1673. // Type: Long
  1674. Expiry *time.Time `type:"timestamp" timestampFormat:"unix"`
  1675. // Indicates whether a domain is locked from unauthorized transfer to another
  1676. // party.
  1677. //
  1678. // Type: Boolean
  1679. //
  1680. // Valid values: True | False
  1681. TransferLock *bool `type:"boolean"`
  1682. }
  1683. // String returns the string representation
  1684. func (s DomainSummary) String() string {
  1685. return awsutil.Prettify(s)
  1686. }
  1687. // GoString returns the string representation
  1688. func (s DomainSummary) GoString() string {
  1689. return s.String()
  1690. }
  1691. type EnableDomainAutoRenewInput struct {
  1692. _ struct{} `type:"structure"`
  1693. DomainName *string `type:"string" required:"true"`
  1694. }
  1695. // String returns the string representation
  1696. func (s EnableDomainAutoRenewInput) String() string {
  1697. return awsutil.Prettify(s)
  1698. }
  1699. // GoString returns the string representation
  1700. func (s EnableDomainAutoRenewInput) GoString() string {
  1701. return s.String()
  1702. }
  1703. // Validate inspects the fields of the type to determine if they are valid.
  1704. func (s *EnableDomainAutoRenewInput) Validate() error {
  1705. invalidParams := request.ErrInvalidParams{Context: "EnableDomainAutoRenewInput"}
  1706. if s.DomainName == nil {
  1707. invalidParams.Add(request.NewErrParamRequired("DomainName"))
  1708. }
  1709. if invalidParams.Len() > 0 {
  1710. return invalidParams
  1711. }
  1712. return nil
  1713. }
  1714. type EnableDomainAutoRenewOutput struct {
  1715. _ struct{} `type:"structure"`
  1716. }
  1717. // String returns the string representation
  1718. func (s EnableDomainAutoRenewOutput) String() string {
  1719. return awsutil.Prettify(s)
  1720. }
  1721. // GoString returns the string representation
  1722. func (s EnableDomainAutoRenewOutput) GoString() string {
  1723. return s.String()
  1724. }
  1725. // The EnableDomainTransferLock request includes the following element.
  1726. type EnableDomainTransferLockInput struct {
  1727. _ struct{} `type:"structure"`
  1728. // The name of a domain.
  1729. //
  1730. // Type: String
  1731. //
  1732. // Default: None
  1733. //
  1734. // Constraints: The domain name can contain only the letters a through z, the
  1735. // numbers 0 through 9, and hyphen (-). Internationalized Domain Names are not
  1736. // supported.
  1737. //
  1738. // Required: Yes
  1739. DomainName *string `type:"string" required:"true"`
  1740. }
  1741. // String returns the string representation
  1742. func (s EnableDomainTransferLockInput) String() string {
  1743. return awsutil.Prettify(s)
  1744. }
  1745. // GoString returns the string representation
  1746. func (s EnableDomainTransferLockInput) GoString() string {
  1747. return s.String()
  1748. }
  1749. // Validate inspects the fields of the type to determine if they are valid.
  1750. func (s *EnableDomainTransferLockInput) Validate() error {
  1751. invalidParams := request.ErrInvalidParams{Context: "EnableDomainTransferLockInput"}
  1752. if s.DomainName == nil {
  1753. invalidParams.Add(request.NewErrParamRequired("DomainName"))
  1754. }
  1755. if invalidParams.Len() > 0 {
  1756. return invalidParams
  1757. }
  1758. return nil
  1759. }
  1760. // The EnableDomainTransferLock response includes the following elements.
  1761. type EnableDomainTransferLockOutput struct {
  1762. _ struct{} `type:"structure"`
  1763. // Identifier for tracking the progress of the request. To use this ID to query
  1764. // the operation status, use GetOperationDetail.
  1765. //
  1766. // Type: String
  1767. //
  1768. // Default: None
  1769. //
  1770. // Constraints: Maximum 255 characters.
  1771. OperationId *string `type:"string" required:"true"`
  1772. }
  1773. // String returns the string representation
  1774. func (s EnableDomainTransferLockOutput) String() string {
  1775. return awsutil.Prettify(s)
  1776. }
  1777. // GoString returns the string representation
  1778. func (s EnableDomainTransferLockOutput) GoString() string {
  1779. return s.String()
  1780. }
  1781. // ExtraParam includes the following elements.
  1782. type ExtraParam struct {
  1783. _ struct{} `type:"structure"`
  1784. // Name of the additional parameter required by the top-level domain.
  1785. //
  1786. // Type: String
  1787. //
  1788. // Default: None
  1789. //
  1790. // Valid values: DUNS_NUMBER | BRAND_NUMBER | BIRTH_DEPARTMENT | BIRTH_DATE_IN_YYYY_MM_DD
  1791. // | BIRTH_COUNTRY | BIRTH_CITY | DOCUMENT_NUMBER | AU_ID_NUMBER | AU_ID_TYPE
  1792. // | CA_LEGAL_TYPE | CA_BUSINESS_ENTITY_TYPE |ES_IDENTIFICATION | ES_IDENTIFICATION_TYPE
  1793. // | ES_LEGAL_FORM | FI_BUSINESS_NUMBER | FI_ID_NUMBER | IT_PIN | RU_PASSPORT_DATA
  1794. // | SE_ID_NUMBER | SG_ID_NUMBER | VAT_NUMBER
  1795. //
  1796. // Parent: ExtraParams
  1797. //
  1798. // Required: Yes
  1799. Name *string `type:"string" required:"true" enum:"ExtraParamName"`
  1800. // Values corresponding to the additional parameter names required by some top-level
  1801. // domains.
  1802. //
  1803. // Type: String
  1804. //
  1805. // Default: None
  1806. //
  1807. // Constraints: Maximum 2048 characters.
  1808. //
  1809. // Parent: ExtraParams
  1810. //
  1811. // Required: Yes
  1812. Value *string `type:"string" required:"true"`
  1813. }
  1814. // String returns the string representation
  1815. func (s ExtraParam) String() string {
  1816. return awsutil.Prettify(s)
  1817. }
  1818. // GoString returns the string representation
  1819. func (s ExtraParam) GoString() string {
  1820. return s.String()
  1821. }
  1822. // Validate inspects the fields of the type to determine if they are valid.
  1823. func (s *ExtraParam) Validate() error {
  1824. invalidParams := request.ErrInvalidParams{Context: "ExtraParam"}
  1825. if s.Name == nil {
  1826. invalidParams.Add(request.NewErrParamRequired("Name"))
  1827. }
  1828. if s.Value == nil {
  1829. invalidParams.Add(request.NewErrParamRequired("Value"))
  1830. }
  1831. if invalidParams.Len() > 0 {
  1832. return invalidParams
  1833. }
  1834. return nil
  1835. }
  1836. type GetContactReachabilityStatusInput struct {
  1837. _ struct{} `type:"structure"`
  1838. // The name of the domain for which you want to know whether the registrant
  1839. // contact has confirmed that the email address is valid.
  1840. //
  1841. // Type: String
  1842. //
  1843. // Default: None
  1844. //
  1845. // Required: Yes
  1846. DomainName *string `locationName:"domainName" type:"string"`
  1847. }
  1848. // String returns the string representation
  1849. func (s GetContactReachabilityStatusInput) String() string {
  1850. return awsutil.Prettify(s)
  1851. }
  1852. // GoString returns the string representation
  1853. func (s GetContactReachabilityStatusInput) GoString() string {
  1854. return s.String()
  1855. }
  1856. type GetContactReachabilityStatusOutput struct {
  1857. _ struct{} `type:"structure"`
  1858. // The domain name for which you requested the reachability status.
  1859. DomainName *string `locationName:"domainName" type:"string"`
  1860. // Whether the registrant contact has responded. PENDING indicates that we sent
  1861. // the confirmation email and haven't received a response yet, DONE indicates
  1862. // that we sent the email and got confirmation from the registrant contact,
  1863. // and EXPIRED indicates that the time limit expired before the registrant contact
  1864. // responded.
  1865. //
  1866. // Type: String
  1867. //
  1868. // Valid values: PENDING, DONE, EXPIRED
  1869. Status *string `locationName:"status" type:"string" enum:"ReachabilityStatus"`
  1870. }
  1871. // String returns the string representation
  1872. func (s GetContactReachabilityStatusOutput) String() string {
  1873. return awsutil.Prettify(s)
  1874. }
  1875. // GoString returns the string representation
  1876. func (s GetContactReachabilityStatusOutput) GoString() string {
  1877. return s.String()
  1878. }
  1879. // The GetDomainDetail request includes the following element.
  1880. type GetDomainDetailInput struct {
  1881. _ struct{} `type:"structure"`
  1882. // The name of a domain.
  1883. //
  1884. // Type: String
  1885. //
  1886. // Default: None
  1887. //
  1888. // Constraints: The domain name can contain only the letters a through z, the
  1889. // numbers 0 through 9, and hyphen (-). Internationalized Domain Names are not
  1890. // supported.
  1891. //
  1892. // Required: Yes
  1893. DomainName *string `type:"string" required:"true"`
  1894. }
  1895. // String returns the string representation
  1896. func (s GetDomainDetailInput) String() string {
  1897. return awsutil.Prettify(s)
  1898. }
  1899. // GoString returns the string representation
  1900. func (s GetDomainDetailInput) GoString() string {
  1901. return s.String()
  1902. }
  1903. // Validate inspects the fields of the type to determine if they are valid.
  1904. func (s *GetDomainDetailInput) Validate() error {
  1905. invalidParams := request.ErrInvalidParams{Context: "GetDomainDetailInput"}
  1906. if s.DomainName == nil {
  1907. invalidParams.Add(request.NewErrParamRequired("DomainName"))
  1908. }
  1909. if invalidParams.Len() > 0 {
  1910. return invalidParams
  1911. }
  1912. return nil
  1913. }
  1914. // The GetDomainDetail response includes the following elements.
  1915. type GetDomainDetailOutput struct {
  1916. _ struct{} `type:"structure"`
  1917. // Email address to contact to report incorrect contact information for a domain,
  1918. // to report that the domain is being used to send spam, to report that someone
  1919. // is cybersquatting on a domain name, or report some other type of abuse.
  1920. //
  1921. // Type: String
  1922. AbuseContactEmail *string `type:"string"`
  1923. // Phone number for reporting abuse.
  1924. //
  1925. // Type: String
  1926. AbuseContactPhone *string `type:"string"`
  1927. // Provides details about the domain administrative contact.
  1928. //
  1929. // Type: Complex
  1930. //
  1931. // Children: FirstName, MiddleName, LastName, ContactType, OrganizationName,
  1932. // AddressLine1, AddressLine2, City, State, CountryCode, ZipCode, PhoneNumber,
  1933. // Email, Fax, ExtraParams
  1934. AdminContact *ContactDetail `type:"structure" required:"true"`
  1935. // Specifies whether contact information for the admin contact is concealed
  1936. // from WHOIS queries. If the value is true, WHOIS ("who is") queries will return
  1937. // contact information for our registrar partner, Gandi, instead of the contact
  1938. // information that you enter.
  1939. //
  1940. // Type: Boolean
  1941. AdminPrivacy *bool `type:"boolean"`
  1942. // Specifies whether the domain registration is set to renew automatically.
  1943. //
  1944. // Type: Boolean
  1945. AutoRenew *bool `type:"boolean"`
  1946. // The date when the domain was created as found in the response to a WHOIS
  1947. // query. The date format is Unix time.
  1948. CreationDate *time.Time `type:"timestamp" timestampFormat:"unix"`
  1949. // Reserved for future use.
  1950. DnsSec *string `type:"string"`
  1951. // The name of a domain.
  1952. //
  1953. // Type: String
  1954. DomainName *string `type:"string" required:"true"`
  1955. // The date when the registration for the domain is set to expire. The date
  1956. // format is Unix time.
  1957. ExpirationDate *time.Time `type:"timestamp" timestampFormat:"unix"`
  1958. // The name of the domain.
  1959. //
  1960. // Type: String
  1961. Nameservers []*Nameserver `type:"list" required:"true"`
  1962. // Provides details about the domain registrant.
  1963. //
  1964. // Type: Complex
  1965. //
  1966. // Children: FirstName, MiddleName, LastName, ContactType, OrganizationName,
  1967. // AddressLine1, AddressLine2, City, State, CountryCode, ZipCode, PhoneNumber,
  1968. // Email, Fax, ExtraParams
  1969. RegistrantContact *ContactDetail `type:"structure" required:"true"`
  1970. // Specifies whether contact information for the registrant contact is concealed
  1971. // from WHOIS queries. If the value is true, WHOIS ("who is") queries will return
  1972. // contact information for our registrar partner, Gandi, instead of the contact
  1973. // information that you enter.
  1974. //
  1975. // Type: Boolean
  1976. RegistrantPrivacy *bool `type:"boolean"`
  1977. // Name of the registrar of the domain as identified in the registry. Amazon
  1978. // Route 53 domains are registered by registrar Gandi. The value is "GANDI SAS".
  1979. //
  1980. // Type: String
  1981. RegistrarName *string `type:"string"`
  1982. // Web address of the registrar.
  1983. //
  1984. // Type: String
  1985. RegistrarUrl *string `type:"string"`
  1986. // Reserved for future use.
  1987. RegistryDomainId *string `type:"string"`
  1988. // Reseller of the domain. Domains registered or transferred using Amazon Route
  1989. // 53 domains will have "Amazon" as the reseller.
  1990. //
  1991. // Type: String
  1992. Reseller *string `type:"string"`
  1993. // An array of domain name status codes, also known as Extensible Provisioning
  1994. // Protocol (EPP) status codes.
  1995. //
  1996. // ICANN, the organization that maintains a central database of domain names,
  1997. // has developed a set of domain name status codes that tell you the status
  1998. // of a variety of operations on a domain name, for example, registering a domain
  1999. // name, transferring a domain name to another registrar, renewing the registration
  2000. // for a domain name, and so on. All registrars use this same set of status
  2001. // codes.
  2002. //
  2003. // For a current list of domain name status codes and an explanation of what
  2004. // each code means, go to the ICANN website (https://www.icann.org/) and search
  2005. // for epp status codes. (Search on the ICANN website; web searches sometimes
  2006. // return an old version of the document.)
  2007. //
  2008. // Type: Array of String
  2009. StatusList []*string `type:"list"`
  2010. // Provides details about the domain technical contact.
  2011. //
  2012. // Type: Complex
  2013. //
  2014. // Children: FirstName, MiddleName, LastName, ContactType, OrganizationName,
  2015. // AddressLine1, AddressLine2, City, State, CountryCode, ZipCode, PhoneNumber,
  2016. // Email, Fax, ExtraParams
  2017. TechContact *ContactDetail `type:"structure" required:"true"`
  2018. // Specifies whether contact information for the tech contact is concealed from
  2019. // WHOIS queries. If the value is true, WHOIS ("who is") queries will return
  2020. // contact information for our registrar partner, Gandi, instead of the contact
  2021. // information that you enter.
  2022. //
  2023. // Type: Boolean
  2024. TechPrivacy *bool `type:"boolean"`
  2025. // The last updated date of the domain as found in the response to a WHOIS query.
  2026. // The date format is Unix time.
  2027. UpdatedDate *time.Time `type:"timestamp" timestampFormat:"unix"`
  2028. // The fully qualified name of the WHOIS server that can answer the WHOIS query
  2029. // for the domain.
  2030. //
  2031. // Type: String
  2032. WhoIsServer *string `type:"string"`
  2033. }
  2034. // String returns the string representation
  2035. func (s GetDomainDetailOutput) String() string {
  2036. return awsutil.Prettify(s)
  2037. }
  2038. // GoString returns the string representation
  2039. func (s GetDomainDetailOutput) GoString() string {
  2040. return s.String()
  2041. }
  2042. type GetDomainSuggestionsInput struct {
  2043. _ struct{} `type:"structure"`
  2044. DomainName *string `type:"string" required:"true"`
  2045. OnlyAvailable *bool `type:"boolean" required:"true"`
  2046. SuggestionCount *int64 `type:"integer" required:"true"`
  2047. }
  2048. // String returns the string representation
  2049. func (s GetDomainSuggestionsInput) String() string {
  2050. return awsutil.Prettify(s)
  2051. }
  2052. // GoString returns the string representation
  2053. func (s GetDomainSuggestionsInput) GoString() string {
  2054. return s.String()
  2055. }
  2056. // Validate inspects the fields of the type to determine if they are valid.
  2057. func (s *GetDomainSuggestionsInput) Validate() error {
  2058. invalidParams := request.ErrInvalidParams{Context: "GetDomainSuggestionsInput"}
  2059. if s.DomainName == nil {
  2060. invalidParams.Add(request.NewErrParamRequired("DomainName"))
  2061. }
  2062. if s.OnlyAvailable == nil {
  2063. invalidParams.Add(request.NewErrParamRequired("OnlyAvailable"))
  2064. }
  2065. if s.SuggestionCount == nil {
  2066. invalidParams.Add(request.NewErrParamRequired("SuggestionCount"))
  2067. }
  2068. if invalidParams.Len() > 0 {
  2069. return invalidParams
  2070. }
  2071. return nil
  2072. }
  2073. type GetDomainSuggestionsOutput struct {
  2074. _ struct{} `type:"structure"`
  2075. SuggestionsList []*DomainSuggestion `type:"list"`
  2076. }
  2077. // String returns the string representation
  2078. func (s GetDomainSuggestionsOutput) String() string {
  2079. return awsutil.Prettify(s)
  2080. }
  2081. // GoString returns the string representation
  2082. func (s GetDomainSuggestionsOutput) GoString() string {
  2083. return s.String()
  2084. }
  2085. // The GetOperationDetail request includes the following element.
  2086. type GetOperationDetailInput struct {
  2087. _ struct{} `type:"structure"`
  2088. // The identifier for the operation for which you want to get the status. Amazon
  2089. // Route 53 returned the identifier in the response to the original request.
  2090. //
  2091. // Type: String
  2092. //
  2093. // Default: None
  2094. //
  2095. // Required: Yes
  2096. OperationId *string `type:"string" required:"true"`
  2097. }
  2098. // String returns the string representation
  2099. func (s GetOperationDetailInput) String() string {
  2100. return awsutil.Prettify(s)
  2101. }
  2102. // GoString returns the string representation
  2103. func (s GetOperationDetailInput) GoString() string {
  2104. return s.String()
  2105. }
  2106. // Validate inspects the fields of the type to determine if they are valid.
  2107. func (s *GetOperationDetailInput) Validate() error {
  2108. invalidParams := request.ErrInvalidParams{Context: "GetOperationDetailInput"}
  2109. if s.OperationId == nil {
  2110. invalidParams.Add(request.NewErrParamRequired("OperationId"))
  2111. }
  2112. if invalidParams.Len() > 0 {
  2113. return invalidParams
  2114. }
  2115. return nil
  2116. }
  2117. // The GetOperationDetail response includes the following elements.
  2118. type GetOperationDetailOutput struct {
  2119. _ struct{} `type:"structure"`
  2120. // The name of a domain.
  2121. //
  2122. // Type: String
  2123. DomainName *string `type:"string"`
  2124. // Detailed information on the status including possible errors.
  2125. //
  2126. // Type: String
  2127. Message *string `type:"string"`
  2128. // The identifier for the operation.
  2129. //
  2130. // Type: String
  2131. OperationId *string `type:"string"`
  2132. // The current status of the requested operation in the system.
  2133. //
  2134. // Type: String
  2135. Status *string `type:"string" enum:"OperationStatus"`
  2136. // The date when the request was submitted.
  2137. SubmittedDate *time.Time `type:"timestamp" timestampFormat:"unix"`
  2138. // The type of operation that was requested.
  2139. //
  2140. // Type: String
  2141. Type *string `type:"string" enum:"OperationType"`
  2142. }
  2143. // String returns the string representation
  2144. func (s GetOperationDetailOutput) String() string {
  2145. return awsutil.Prettify(s)
  2146. }
  2147. // GoString returns the string representation
  2148. func (s GetOperationDetailOutput) GoString() string {
  2149. return s.String()
  2150. }
  2151. // The ListDomains request includes the following elements.
  2152. type ListDomainsInput struct {
  2153. _ struct{} `type:"structure"`
  2154. // For an initial request for a list of domains, omit this element. If the number
  2155. // of domains that are associated with the current AWS account is greater than
  2156. // the value that you specified for MaxItems, you can use Marker to return additional
  2157. // domains. Get the value of NextPageMarker from the previous response, and
  2158. // submit another request that includes the value of NextPageMarker in the Marker
  2159. // element.
  2160. //
  2161. // Type: String
  2162. //
  2163. // Default: None
  2164. //
  2165. // Constraints: The marker must match the value specified in the previous request.
  2166. //
  2167. // Required: No
  2168. Marker *string `type:"string"`
  2169. // Number of domains to be returned.
  2170. //
  2171. // Type: Integer
  2172. //
  2173. // Default: 20
  2174. //
  2175. // Constraints: A numeral between 1 and 100.
  2176. //
  2177. // Required: No
  2178. MaxItems *int64 `type:"integer"`
  2179. }
  2180. // String returns the string representation
  2181. func (s ListDomainsInput) String() string {
  2182. return awsutil.Prettify(s)
  2183. }
  2184. // GoString returns the string representation
  2185. func (s ListDomainsInput) GoString() string {
  2186. return s.String()
  2187. }
  2188. // The ListDomains response includes the following elements.
  2189. type ListDomainsOutput struct {
  2190. _ struct{} `type:"structure"`
  2191. // A summary of domains.
  2192. //
  2193. // Type: Complex type containing a list of domain summaries.
  2194. //
  2195. // Children: AutoRenew, DomainName, Expiry, TransferLock
  2196. Domains []*DomainSummary `type:"list" required:"true"`
  2197. // If there are more domains than you specified for MaxItems in the request,
  2198. // submit another request and include the value of NextPageMarker in the value
  2199. // of Marker.
  2200. //
  2201. // Type: String
  2202. //
  2203. // Parent: Operations
  2204. NextPageMarker *string `type:"string"`
  2205. }
  2206. // String returns the string representation
  2207. func (s ListDomainsOutput) String() string {
  2208. return awsutil.Prettify(s)
  2209. }
  2210. // GoString returns the string representation
  2211. func (s ListDomainsOutput) GoString() string {
  2212. return s.String()
  2213. }
  2214. // The ListOperations request includes the following elements.
  2215. type ListOperationsInput struct {
  2216. _ struct{} `type:"structure"`
  2217. // For an initial request for a list of operations, omit this element. If the
  2218. // number of operations that are not yet complete is greater than the value
  2219. // that you specified for MaxItems, you can use Marker to return additional
  2220. // operations. Get the value of NextPageMarker from the previous response, and
  2221. // submit another request that includes the value of NextPageMarker in the Marker
  2222. // element.
  2223. //
  2224. // Type: String
  2225. //
  2226. // Default: None
  2227. //
  2228. // Required: No
  2229. Marker *string `type:"string"`
  2230. // Number of domains to be returned.
  2231. //
  2232. // Type: Integer
  2233. //
  2234. // Default: 20
  2235. //
  2236. // Constraints: A value between 1 and 100.
  2237. //
  2238. // Required: No
  2239. MaxItems *int64 `type:"integer"`
  2240. }
  2241. // String returns the string representation
  2242. func (s ListOperationsInput) String() string {
  2243. return awsutil.Prettify(s)
  2244. }
  2245. // GoString returns the string representation
  2246. func (s ListOperationsInput) GoString() string {
  2247. return s.String()
  2248. }
  2249. // The ListOperations response includes the following elements.
  2250. type ListOperationsOutput struct {
  2251. _ struct{} `type:"structure"`
  2252. // If there are more operations than you specified for MaxItems in the request,
  2253. // submit another request and include the value of NextPageMarker in the value
  2254. // of Marker.
  2255. //
  2256. // Type: String
  2257. //
  2258. // Parent: Operations
  2259. NextPageMarker *string `type:"string"`
  2260. // Lists summaries of the operations.
  2261. //
  2262. // Type: Complex type containing a list of operation summaries
  2263. //
  2264. // Children: OperationId, Status, SubmittedDate, Type
  2265. Operations []*OperationSummary `type:"list" required:"true"`
  2266. }
  2267. // String returns the string representation
  2268. func (s ListOperationsOutput) String() string {
  2269. return awsutil.Prettify(s)
  2270. }
  2271. // GoString returns the string representation
  2272. func (s ListOperationsOutput) GoString() string {
  2273. return s.String()
  2274. }
  2275. // The ListTagsForDomainRequest includes the following elements.
  2276. type ListTagsForDomainInput struct {
  2277. _ struct{} `type:"structure"`
  2278. // The domain for which you want to get a list of tags.
  2279. DomainName *string `type:"string" required:"true"`
  2280. }
  2281. // String returns the string representation
  2282. func (s ListTagsForDomainInput) String() string {
  2283. return awsutil.Prettify(s)
  2284. }
  2285. // GoString returns the string representation
  2286. func (s ListTagsForDomainInput) GoString() string {
  2287. return s.String()
  2288. }
  2289. // Validate inspects the fields of the type to determine if they are valid.
  2290. func (s *ListTagsForDomainInput) Validate() error {
  2291. invalidParams := request.ErrInvalidParams{Context: "ListTagsForDomainInput"}
  2292. if s.DomainName == nil {
  2293. invalidParams.Add(request.NewErrParamRequired("DomainName"))
  2294. }
  2295. if invalidParams.Len() > 0 {
  2296. return invalidParams
  2297. }
  2298. return nil
  2299. }
  2300. // The ListTagsForDomain response includes the following elements.
  2301. type ListTagsForDomainOutput struct {
  2302. _ struct{} `type:"structure"`
  2303. // A list of the tags that are associated with the specified domain.
  2304. //
  2305. // Type: A complex type containing a list of tags
  2306. //
  2307. // Each tag includes the following elements.
  2308. //
  2309. // Key
  2310. //
  2311. // The key (name) of a tag.
  2312. //
  2313. // Type: String
  2314. //
  2315. // Value
  2316. //
  2317. // The value of a tag.
  2318. //
  2319. // Type: String
  2320. TagList []*Tag `type:"list" required:"true"`
  2321. }
  2322. // String returns the string representation
  2323. func (s ListTagsForDomainOutput) String() string {
  2324. return awsutil.Prettify(s)
  2325. }
  2326. // GoString returns the string representation
  2327. func (s ListTagsForDomainOutput) GoString() string {
  2328. return s.String()
  2329. }
  2330. // Nameserver includes the following elements.
  2331. type Nameserver struct {
  2332. _ struct{} `type:"structure"`
  2333. // Glue IP address of a name server entry. Glue IP addresses are required only
  2334. // when the name of the name server is a subdomain of the domain. For example,
  2335. // if your domain is example.com and the name server for the domain is ns.example.com,
  2336. // you need to specify the IP address for ns.example.com.
  2337. //
  2338. // Type: List of IP addresses.
  2339. //
  2340. // Constraints: The list can contain only one IPv4 and one IPv6 address.
  2341. //
  2342. // Parent: Nameservers
  2343. GlueIps []*string `type:"list"`
  2344. // The fully qualified host name of the name server.
  2345. //
  2346. // Type: String
  2347. //
  2348. // Constraint: Maximum 255 characterss
  2349. //
  2350. // Parent: Nameservers
  2351. Name *string `type:"string" required:"true"`
  2352. }
  2353. // String returns the string representation
  2354. func (s Nameserver) String() string {
  2355. return awsutil.Prettify(s)
  2356. }
  2357. // GoString returns the string representation
  2358. func (s Nameserver) GoString() string {
  2359. return s.String()
  2360. }
  2361. // Validate inspects the fields of the type to determine if they are valid.
  2362. func (s *Nameserver) Validate() error {
  2363. invalidParams := request.ErrInvalidParams{Context: "Nameserver"}
  2364. if s.Name == nil {
  2365. invalidParams.Add(request.NewErrParamRequired("Name"))
  2366. }
  2367. if invalidParams.Len() > 0 {
  2368. return invalidParams
  2369. }
  2370. return nil
  2371. }
  2372. // OperationSummary includes the following elements.
  2373. type OperationSummary struct {
  2374. _ struct{} `type:"structure"`
  2375. // Identifier returned to track the requested action.
  2376. //
  2377. // Type: String
  2378. OperationId *string `type:"string" required:"true"`
  2379. // The current status of the requested operation in the system.
  2380. //
  2381. // Type: String
  2382. Status *string `type:"string" required:"true" enum:"OperationStatus"`
  2383. // The date when the request was submitted.
  2384. SubmittedDate *time.Time `type:"timestamp" timestampFormat:"unix" required:"true"`
  2385. // Type of the action requested.
  2386. //
  2387. // Type: String
  2388. //
  2389. // Valid values: REGISTER_DOMAIN | DELETE_DOMAIN | TRANSFER_IN_DOMAIN | UPDATE_DOMAIN_CONTACT
  2390. // | UPDATE_NAMESERVER | CHANGE_PRIVACY_PROTECTION | DOMAIN_LOCK
  2391. Type *string `type:"string" required:"true" enum:"OperationType"`
  2392. }
  2393. // String returns the string representation
  2394. func (s OperationSummary) String() string {
  2395. return awsutil.Prettify(s)
  2396. }
  2397. // GoString returns the string representation
  2398. func (s OperationSummary) GoString() string {
  2399. return s.String()
  2400. }
  2401. // The RegisterDomain request includes the following elements.
  2402. type RegisterDomainInput struct {
  2403. _ struct{} `type:"structure"`
  2404. // Provides detailed contact information.
  2405. //
  2406. // Type: Complex
  2407. //
  2408. // Children: FirstName, MiddleName, LastName, ContactType, OrganizationName,
  2409. // AddressLine1, AddressLine2, City, State, CountryCode, ZipCode, PhoneNumber,
  2410. // Email, Fax, ExtraParams
  2411. //
  2412. // Required: Yes
  2413. AdminContact *ContactDetail `type:"structure" required:"true"`
  2414. // Indicates whether the domain will be automatically renewed (true) or not
  2415. // (false). Autorenewal only takes effect after the account is charged.
  2416. //
  2417. // Type: Boolean
  2418. //
  2419. // Valid values: true | false
  2420. //
  2421. // Default: true
  2422. //
  2423. // Required: No
  2424. AutoRenew *bool `type:"boolean"`
  2425. // The name of a domain.
  2426. //
  2427. // Type: String
  2428. //
  2429. // Default: None
  2430. //
  2431. // Constraints: The domain name can contain only the letters a through z, the
  2432. // numbers 0 through 9, and hyphen (-). Internationalized Domain Names are not
  2433. // supported.
  2434. //
  2435. // Required: Yes
  2436. DomainName *string `type:"string" required:"true"`
  2437. // The number of years the domain will be registered. Domains are registered
  2438. // for a minimum of one year. The maximum period depends on the top-level domain.
  2439. //
  2440. // Type: Integer
  2441. //
  2442. // Default: 1
  2443. //
  2444. // Valid values: Integer from 1 to 10
  2445. //
  2446. // Required: Yes
  2447. DurationInYears *int64 `min:"1" type:"integer" required:"true"`
  2448. // Reserved for future use.
  2449. IdnLangCode *string `type:"string"`
  2450. // Whether you want to conceal contact information from WHOIS queries. If you
  2451. // specify true, WHOIS ("who is") queries will return contact information for
  2452. // our registrar partner, Gandi, instead of the contact information that you
  2453. // enter.
  2454. //
  2455. // Type: Boolean
  2456. //
  2457. // Default: true
  2458. //
  2459. // Valid values: true | false
  2460. //
  2461. // Required: No
  2462. PrivacyProtectAdminContact *bool `type:"boolean"`
  2463. // Whether you want to conceal contact information from WHOIS queries. If you
  2464. // specify true, WHOIS ("who is") queries will return contact information for
  2465. // our registrar partner, Gandi, instead of the contact information that you
  2466. // enter.
  2467. //
  2468. // Type: Boolean
  2469. //
  2470. // Default: true
  2471. //
  2472. // Valid values: true | false
  2473. //
  2474. // Required: No
  2475. PrivacyProtectRegistrantContact *bool `type:"boolean"`
  2476. // Whether you want to conceal contact information from WHOIS queries. If you
  2477. // specify true, WHOIS ("who is") queries will return contact information for
  2478. // our registrar partner, Gandi, instead of the contact information that you
  2479. // enter.
  2480. //
  2481. // Type: Boolean
  2482. //
  2483. // Default: true
  2484. //
  2485. // Valid values: true | false
  2486. //
  2487. // Required: No
  2488. PrivacyProtectTechContact *bool `type:"boolean"`
  2489. // Provides detailed contact information.
  2490. //
  2491. // Type: Complex
  2492. //
  2493. // Children: FirstName, MiddleName, LastName, ContactType, OrganizationName,
  2494. // AddressLine1, AddressLine2, City, State, CountryCode, ZipCode, PhoneNumber,
  2495. // Email, Fax, ExtraParams
  2496. //
  2497. // Required: Yes
  2498. RegistrantContact *ContactDetail `type:"structure" required:"true"`
  2499. // Provides detailed contact information.
  2500. //
  2501. // Type: Complex
  2502. //
  2503. // Children: FirstName, MiddleName, LastName, ContactType, OrganizationName,
  2504. // AddressLine1, AddressLine2, City, State, CountryCode, ZipCode, PhoneNumber,
  2505. // Email, Fax, ExtraParams
  2506. //
  2507. // Required: Yes
  2508. TechContact *ContactDetail `type:"structure" required:"true"`
  2509. }
  2510. // String returns the string representation
  2511. func (s RegisterDomainInput) String() string {
  2512. return awsutil.Prettify(s)
  2513. }
  2514. // GoString returns the string representation
  2515. func (s RegisterDomainInput) GoString() string {
  2516. return s.String()
  2517. }
  2518. // Validate inspects the fields of the type to determine if they are valid.
  2519. func (s *RegisterDomainInput) Validate() error {
  2520. invalidParams := request.ErrInvalidParams{Context: "RegisterDomainInput"}
  2521. if s.AdminContact == nil {
  2522. invalidParams.Add(request.NewErrParamRequired("AdminContact"))
  2523. }
  2524. if s.DomainName == nil {
  2525. invalidParams.Add(request.NewErrParamRequired("DomainName"))
  2526. }
  2527. if s.DurationInYears == nil {
  2528. invalidParams.Add(request.NewErrParamRequired("DurationInYears"))
  2529. }
  2530. if s.DurationInYears != nil && *s.DurationInYears < 1 {
  2531. invalidParams.Add(request.NewErrParamMinValue("DurationInYears", 1))
  2532. }
  2533. if s.RegistrantContact == nil {
  2534. invalidParams.Add(request.NewErrParamRequired("RegistrantContact"))
  2535. }
  2536. if s.TechContact == nil {
  2537. invalidParams.Add(request.NewErrParamRequired("TechContact"))
  2538. }
  2539. if s.AdminContact != nil {
  2540. if err := s.AdminContact.Validate(); err != nil {
  2541. invalidParams.AddNested("AdminContact", err.(request.ErrInvalidParams))
  2542. }
  2543. }
  2544. if s.RegistrantContact != nil {
  2545. if err := s.RegistrantContact.Validate(); err != nil {
  2546. invalidParams.AddNested("RegistrantContact", err.(request.ErrInvalidParams))
  2547. }
  2548. }
  2549. if s.TechContact != nil {
  2550. if err := s.TechContact.Validate(); err != nil {
  2551. invalidParams.AddNested("TechContact", err.(request.ErrInvalidParams))
  2552. }
  2553. }
  2554. if invalidParams.Len() > 0 {
  2555. return invalidParams
  2556. }
  2557. return nil
  2558. }
  2559. // The RegisterDomain response includes the following element.
  2560. type RegisterDomainOutput struct {
  2561. _ struct{} `type:"structure"`
  2562. // Identifier for tracking the progress of the request. To use this ID to query
  2563. // the operation status, use GetOperationDetail.
  2564. //
  2565. // Type: String
  2566. //
  2567. // Default: None
  2568. //
  2569. // Constraints: Maximum 255 characters.
  2570. OperationId *string `type:"string" required:"true"`
  2571. }
  2572. // String returns the string representation
  2573. func (s RegisterDomainOutput) String() string {
  2574. return awsutil.Prettify(s)
  2575. }
  2576. // GoString returns the string representation
  2577. func (s RegisterDomainOutput) GoString() string {
  2578. return s.String()
  2579. }
  2580. // A RenewDomain request includes the number of years that you want to renew
  2581. // for and the current expiration year.
  2582. type RenewDomainInput struct {
  2583. _ struct{} `type:"structure"`
  2584. // The year when the registration for the domain is set to expire. This value
  2585. // must match the current expiration date for the domain.
  2586. //
  2587. // Type: Integer
  2588. //
  2589. // Default: None
  2590. //
  2591. // Valid values: Integer
  2592. //
  2593. // Required: Yes
  2594. CurrentExpiryYear *int64 `type:"integer" required:"true"`
  2595. DomainName *string `type:"string" required:"true"`
  2596. // The number of years that you want to renew the domain for. The maximum number
  2597. // of years depends on the top-level domain. For the range of valid values for
  2598. // your domain, see Domains that You Can Register with Amazon Route 53 (http://docs.aws.amazon.com/console/route53/domain-tld-list)
  2599. // in the Amazon Route 53 documentation.
  2600. //
  2601. // Type: Integer
  2602. //
  2603. // Default: 1
  2604. //
  2605. // Valid values: Integer from 1 to 10
  2606. //
  2607. // Required: No
  2608. DurationInYears *int64 `min:"1" type:"integer"`
  2609. }
  2610. // String returns the string representation
  2611. func (s RenewDomainInput) String() string {
  2612. return awsutil.Prettify(s)
  2613. }
  2614. // GoString returns the string representation
  2615. func (s RenewDomainInput) GoString() string {
  2616. return s.String()
  2617. }
  2618. // Validate inspects the fields of the type to determine if they are valid.
  2619. func (s *RenewDomainInput) Validate() error {
  2620. invalidParams := request.ErrInvalidParams{Context: "RenewDomainInput"}
  2621. if s.CurrentExpiryYear == nil {
  2622. invalidParams.Add(request.NewErrParamRequired("CurrentExpiryYear"))
  2623. }
  2624. if s.DomainName == nil {
  2625. invalidParams.Add(request.NewErrParamRequired("DomainName"))
  2626. }
  2627. if s.DurationInYears != nil && *s.DurationInYears < 1 {
  2628. invalidParams.Add(request.NewErrParamMinValue("DurationInYears", 1))
  2629. }
  2630. if invalidParams.Len() > 0 {
  2631. return invalidParams
  2632. }
  2633. return nil
  2634. }
  2635. type RenewDomainOutput struct {
  2636. _ struct{} `type:"structure"`
  2637. OperationId *string `type:"string" required:"true"`
  2638. }
  2639. // String returns the string representation
  2640. func (s RenewDomainOutput) String() string {
  2641. return awsutil.Prettify(s)
  2642. }
  2643. // GoString returns the string representation
  2644. func (s RenewDomainOutput) GoString() string {
  2645. return s.String()
  2646. }
  2647. type ResendContactReachabilityEmailInput struct {
  2648. _ struct{} `type:"structure"`
  2649. // The name of the domain for which you want Amazon Route 53 to resend a confirmation
  2650. // email to the registrant contact.
  2651. //
  2652. // Type: String
  2653. //
  2654. // Default: None
  2655. //
  2656. // Required: Yes
  2657. DomainName *string `locationName:"domainName" type:"string"`
  2658. }
  2659. // String returns the string representation
  2660. func (s ResendContactReachabilityEmailInput) String() string {
  2661. return awsutil.Prettify(s)
  2662. }
  2663. // GoString returns the string representation
  2664. func (s ResendContactReachabilityEmailInput) GoString() string {
  2665. return s.String()
  2666. }
  2667. type ResendContactReachabilityEmailOutput struct {
  2668. _ struct{} `type:"structure"`
  2669. // The domain name for which you requested a confirmation email.
  2670. DomainName *string `locationName:"domainName" type:"string"`
  2671. // The email address for the registrant contact at the time that we sent the
  2672. // verification email.
  2673. EmailAddress *string `locationName:"emailAddress" type:"string"`
  2674. // True if the email address for the registrant contact has already been verified,
  2675. // and false otherwise. If the email address has already been verified, we don't
  2676. // send another confirmation email.
  2677. IsAlreadyVerified *bool `locationName:"isAlreadyVerified" type:"boolean"`
  2678. }
  2679. // String returns the string representation
  2680. func (s ResendContactReachabilityEmailOutput) String() string {
  2681. return awsutil.Prettify(s)
  2682. }
  2683. // GoString returns the string representation
  2684. func (s ResendContactReachabilityEmailOutput) GoString() string {
  2685. return s.String()
  2686. }
  2687. // The RetrieveDomainAuthCode request includes the following element.
  2688. type RetrieveDomainAuthCodeInput struct {
  2689. _ struct{} `type:"structure"`
  2690. // The name of a domain.
  2691. //
  2692. // Type: String
  2693. //
  2694. // Default: None
  2695. //
  2696. // Constraints: The domain name can contain only the letters a through z, the
  2697. // numbers 0 through 9, and hyphen (-). Internationalized Domain Names are not
  2698. // supported.
  2699. //
  2700. // Required: Yes
  2701. DomainName *string `type:"string" required:"true"`
  2702. }
  2703. // String returns the string representation
  2704. func (s RetrieveDomainAuthCodeInput) String() string {
  2705. return awsutil.Prettify(s)
  2706. }
  2707. // GoString returns the string representation
  2708. func (s RetrieveDomainAuthCodeInput) GoString() string {
  2709. return s.String()
  2710. }
  2711. // Validate inspects the fields of the type to determine if they are valid.
  2712. func (s *RetrieveDomainAuthCodeInput) Validate() error {
  2713. invalidParams := request.ErrInvalidParams{Context: "RetrieveDomainAuthCodeInput"}
  2714. if s.DomainName == nil {
  2715. invalidParams.Add(request.NewErrParamRequired("DomainName"))
  2716. }
  2717. if invalidParams.Len() > 0 {
  2718. return invalidParams
  2719. }
  2720. return nil
  2721. }
  2722. // The RetrieveDomainAuthCode response includes the following element.
  2723. type RetrieveDomainAuthCodeOutput struct {
  2724. _ struct{} `type:"structure"`
  2725. // The authorization code for the domain.
  2726. //
  2727. // Type: String
  2728. AuthCode *string `type:"string" required:"true"`
  2729. }
  2730. // String returns the string representation
  2731. func (s RetrieveDomainAuthCodeOutput) String() string {
  2732. return awsutil.Prettify(s)
  2733. }
  2734. // GoString returns the string representation
  2735. func (s RetrieveDomainAuthCodeOutput) GoString() string {
  2736. return s.String()
  2737. }
  2738. // Each tag includes the following elements.
  2739. type Tag struct {
  2740. _ struct{} `type:"structure"`
  2741. // The key (name) of a tag.
  2742. //
  2743. // Type: String
  2744. //
  2745. // Default: None
  2746. //
  2747. // Valid values: A-Z, a-z, 0-9, space, ".:/=+\-@"
  2748. //
  2749. // Constraints: Each key can be 1-128 characters long.
  2750. //
  2751. // Required: Yes
  2752. Key *string `type:"string"`
  2753. // The value of a tag.
  2754. //
  2755. // Type: String
  2756. //
  2757. // Default: None
  2758. //
  2759. // Valid values: A-Z, a-z, 0-9, space, ".:/=+\-@"
  2760. //
  2761. // Constraints: Each value can be 0-256 characters long.
  2762. //
  2763. // Required: Yes
  2764. Value *string `type:"string"`
  2765. }
  2766. // String returns the string representation
  2767. func (s Tag) String() string {
  2768. return awsutil.Prettify(s)
  2769. }
  2770. // GoString returns the string representation
  2771. func (s Tag) GoString() string {
  2772. return s.String()
  2773. }
  2774. // The TransferDomain request includes the following elements.
  2775. type TransferDomainInput struct {
  2776. _ struct{} `type:"structure"`
  2777. // Provides detailed contact information.
  2778. //
  2779. // Type: Complex
  2780. //
  2781. // Children: FirstName, MiddleName, LastName, ContactType, OrganizationName,
  2782. // AddressLine1, AddressLine2, City, State, CountryCode, ZipCode, PhoneNumber,
  2783. // Email, Fax, ExtraParams
  2784. //
  2785. // Required: Yes
  2786. AdminContact *ContactDetail `type:"structure" required:"true"`
  2787. // The authorization code for the domain. You get this value from the current
  2788. // registrar.
  2789. //
  2790. // Type: String
  2791. //
  2792. // Required: Yes
  2793. AuthCode *string `type:"string"`
  2794. // Indicates whether the domain will be automatically renewed (true) or not
  2795. // (false). Autorenewal only takes effect after the account is charged.
  2796. //
  2797. // Type: Boolean
  2798. //
  2799. // Valid values: true | false
  2800. //
  2801. // Default: true
  2802. //
  2803. // Required: No
  2804. AutoRenew *bool `type:"boolean"`
  2805. // The name of a domain.
  2806. //
  2807. // Type: String
  2808. //
  2809. // Default: None
  2810. //
  2811. // Constraints: The domain name can contain only the letters a through z, the
  2812. // numbers 0 through 9, and hyphen (-). Internationalized Domain Names are not
  2813. // supported.
  2814. //
  2815. // Required: Yes
  2816. DomainName *string `type:"string" required:"true"`
  2817. // The number of years the domain will be registered. Domains are registered
  2818. // for a minimum of one year. The maximum period depends on the top-level domain.
  2819. //
  2820. // Type: Integer
  2821. //
  2822. // Default: 1
  2823. //
  2824. // Valid values: Integer from 1 to 10
  2825. //
  2826. // Required: Yes
  2827. DurationInYears *int64 `min:"1" type:"integer" required:"true"`
  2828. // Reserved for future use.
  2829. IdnLangCode *string `type:"string"`
  2830. // Contains details for the host and glue IP addresses.
  2831. //
  2832. // Type: Complex
  2833. //
  2834. // Children: GlueIps, Name
  2835. //
  2836. // Required: No
  2837. Nameservers []*Nameserver `type:"list"`
  2838. // Whether you want to conceal contact information from WHOIS queries. If you
  2839. // specify true, WHOIS ("who is") queries will return contact information for
  2840. // our registrar partner, Gandi, instead of the contact information that you
  2841. // enter.
  2842. //
  2843. // Type: Boolean
  2844. //
  2845. // Default: true
  2846. //
  2847. // Valid values: true | false
  2848. //
  2849. // Required: No
  2850. PrivacyProtectAdminContact *bool `type:"boolean"`
  2851. // Whether you want to conceal contact information from WHOIS queries. If you
  2852. // specify true, WHOIS ("who is") queries will return contact information for
  2853. // our registrar partner, Gandi, instead of the contact information that you
  2854. // enter.
  2855. //
  2856. // Type: Boolean
  2857. //
  2858. // Default: true
  2859. //
  2860. // Valid values: true | false
  2861. //
  2862. // Required: No
  2863. PrivacyProtectRegistrantContact *bool `type:"boolean"`
  2864. // Whether you want to conceal contact information from WHOIS queries. If you
  2865. // specify true, WHOIS ("who is") queries will return contact information for
  2866. // our registrar partner, Gandi, instead of the contact information that you
  2867. // enter.
  2868. //
  2869. // Type: Boolean
  2870. //
  2871. // Default: true
  2872. //
  2873. // Valid values: true | false
  2874. //
  2875. // Required: No
  2876. PrivacyProtectTechContact *bool `type:"boolean"`
  2877. // Provides detailed contact information.
  2878. //
  2879. // Type: Complex
  2880. //
  2881. // Children: FirstName, MiddleName, LastName, ContactType, OrganizationName,
  2882. // AddressLine1, AddressLine2, City, State, CountryCode, ZipCode, PhoneNumber,
  2883. // Email, Fax, ExtraParams
  2884. //
  2885. // Required: Yes
  2886. RegistrantContact *ContactDetail `type:"structure" required:"true"`
  2887. // Provides detailed contact information.
  2888. //
  2889. // Type: Complex
  2890. //
  2891. // Children: FirstName, MiddleName, LastName, ContactType, OrganizationName,
  2892. // AddressLine1, AddressLine2, City, State, CountryCode, ZipCode, PhoneNumber,
  2893. // Email, Fax, ExtraParams
  2894. //
  2895. // Required: Yes
  2896. TechContact *ContactDetail `type:"structure" required:"true"`
  2897. }
  2898. // String returns the string representation
  2899. func (s TransferDomainInput) String() string {
  2900. return awsutil.Prettify(s)
  2901. }
  2902. // GoString returns the string representation
  2903. func (s TransferDomainInput) GoString() string {
  2904. return s.String()
  2905. }
  2906. // Validate inspects the fields of the type to determine if they are valid.
  2907. func (s *TransferDomainInput) Validate() error {
  2908. invalidParams := request.ErrInvalidParams{Context: "TransferDomainInput"}
  2909. if s.AdminContact == nil {
  2910. invalidParams.Add(request.NewErrParamRequired("AdminContact"))
  2911. }
  2912. if s.DomainName == nil {
  2913. invalidParams.Add(request.NewErrParamRequired("DomainName"))
  2914. }
  2915. if s.DurationInYears == nil {
  2916. invalidParams.Add(request.NewErrParamRequired("DurationInYears"))
  2917. }
  2918. if s.DurationInYears != nil && *s.DurationInYears < 1 {
  2919. invalidParams.Add(request.NewErrParamMinValue("DurationInYears", 1))
  2920. }
  2921. if s.RegistrantContact == nil {
  2922. invalidParams.Add(request.NewErrParamRequired("RegistrantContact"))
  2923. }
  2924. if s.TechContact == nil {
  2925. invalidParams.Add(request.NewErrParamRequired("TechContact"))
  2926. }
  2927. if s.AdminContact != nil {
  2928. if err := s.AdminContact.Validate(); err != nil {
  2929. invalidParams.AddNested("AdminContact", err.(request.ErrInvalidParams))
  2930. }
  2931. }
  2932. if s.Nameservers != nil {
  2933. for i, v := range s.Nameservers {
  2934. if v == nil {
  2935. continue
  2936. }
  2937. if err := v.Validate(); err != nil {
  2938. invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Nameservers", i), err.(request.ErrInvalidParams))
  2939. }
  2940. }
  2941. }
  2942. if s.RegistrantContact != nil {
  2943. if err := s.RegistrantContact.Validate(); err != nil {
  2944. invalidParams.AddNested("RegistrantContact", err.(request.ErrInvalidParams))
  2945. }
  2946. }
  2947. if s.TechContact != nil {
  2948. if err := s.TechContact.Validate(); err != nil {
  2949. invalidParams.AddNested("TechContact", err.(request.ErrInvalidParams))
  2950. }
  2951. }
  2952. if invalidParams.Len() > 0 {
  2953. return invalidParams
  2954. }
  2955. return nil
  2956. }
  2957. // The TranserDomain response includes the following element.
  2958. type TransferDomainOutput struct {
  2959. _ struct{} `type:"structure"`
  2960. // Identifier for tracking the progress of the request. To use this ID to query
  2961. // the operation status, use GetOperationDetail.
  2962. //
  2963. // Type: String
  2964. //
  2965. // Default: None
  2966. //
  2967. // Constraints: Maximum 255 characters.
  2968. OperationId *string `type:"string" required:"true"`
  2969. }
  2970. // String returns the string representation
  2971. func (s TransferDomainOutput) String() string {
  2972. return awsutil.Prettify(s)
  2973. }
  2974. // GoString returns the string representation
  2975. func (s TransferDomainOutput) GoString() string {
  2976. return s.String()
  2977. }
  2978. // The UpdateDomainContact request includes the following elements.
  2979. type UpdateDomainContactInput struct {
  2980. _ struct{} `type:"structure"`
  2981. // Provides detailed contact information.
  2982. //
  2983. // Type: Complex
  2984. //
  2985. // Children: FirstName, MiddleName, LastName, ContactType, OrganizationName,
  2986. // AddressLine1, AddressLine2, City, State, CountryCode, ZipCode, PhoneNumber,
  2987. // Email, Fax, ExtraParams
  2988. //
  2989. // Required: Yes
  2990. AdminContact *ContactDetail `type:"structure"`
  2991. // The name of a domain.
  2992. //
  2993. // Type: String
  2994. //
  2995. // Default: None
  2996. //
  2997. // Constraints: The domain name can contain only the letters a through z, the
  2998. // numbers 0 through 9, and hyphen (-). Internationalized Domain Names are not
  2999. // supported.
  3000. //
  3001. // Required: Yes
  3002. DomainName *string `type:"string" required:"true"`
  3003. // Provides detailed contact information.
  3004. //
  3005. // Type: Complex
  3006. //
  3007. // Children: FirstName, MiddleName, LastName, ContactType, OrganizationName,
  3008. // AddressLine1, AddressLine2, City, State, CountryCode, ZipCode, PhoneNumber,
  3009. // Email, Fax, ExtraParams
  3010. //
  3011. // Required: Yes
  3012. RegistrantContact *ContactDetail `type:"structure"`
  3013. // Provides detailed contact information.
  3014. //
  3015. // Type: Complex
  3016. //
  3017. // Children: FirstName, MiddleName, LastName, ContactType, OrganizationName,
  3018. // AddressLine1, AddressLine2, City, State, CountryCode, ZipCode, PhoneNumber,
  3019. // Email, Fax, ExtraParams
  3020. //
  3021. // Required: Yes
  3022. TechContact *ContactDetail `type:"structure"`
  3023. }
  3024. // String returns the string representation
  3025. func (s UpdateDomainContactInput) String() string {
  3026. return awsutil.Prettify(s)
  3027. }
  3028. // GoString returns the string representation
  3029. func (s UpdateDomainContactInput) GoString() string {
  3030. return s.String()
  3031. }
  3032. // Validate inspects the fields of the type to determine if they are valid.
  3033. func (s *UpdateDomainContactInput) Validate() error {
  3034. invalidParams := request.ErrInvalidParams{Context: "UpdateDomainContactInput"}
  3035. if s.DomainName == nil {
  3036. invalidParams.Add(request.NewErrParamRequired("DomainName"))
  3037. }
  3038. if s.AdminContact != nil {
  3039. if err := s.AdminContact.Validate(); err != nil {
  3040. invalidParams.AddNested("AdminContact", err.(request.ErrInvalidParams))
  3041. }
  3042. }
  3043. if s.RegistrantContact != nil {
  3044. if err := s.RegistrantContact.Validate(); err != nil {
  3045. invalidParams.AddNested("RegistrantContact", err.(request.ErrInvalidParams))
  3046. }
  3047. }
  3048. if s.TechContact != nil {
  3049. if err := s.TechContact.Validate(); err != nil {
  3050. invalidParams.AddNested("TechContact", err.(request.ErrInvalidParams))
  3051. }
  3052. }
  3053. if invalidParams.Len() > 0 {
  3054. return invalidParams
  3055. }
  3056. return nil
  3057. }
  3058. // The UpdateDomainContact response includes the following element.
  3059. type UpdateDomainContactOutput struct {
  3060. _ struct{} `type:"structure"`
  3061. // Identifier for tracking the progress of the request. To use this ID to query
  3062. // the operation status, use GetOperationDetail.
  3063. //
  3064. // Type: String
  3065. //
  3066. // Default: None
  3067. //
  3068. // Constraints: Maximum 255 characters.
  3069. OperationId *string `type:"string" required:"true"`
  3070. }
  3071. // String returns the string representation
  3072. func (s UpdateDomainContactOutput) String() string {
  3073. return awsutil.Prettify(s)
  3074. }
  3075. // GoString returns the string representation
  3076. func (s UpdateDomainContactOutput) GoString() string {
  3077. return s.String()
  3078. }
  3079. // The UpdateDomainContactPrivacy request includes the following elements.
  3080. type UpdateDomainContactPrivacyInput struct {
  3081. _ struct{} `type:"structure"`
  3082. // Whether you want to conceal contact information from WHOIS queries. If you
  3083. // specify true, WHOIS ("who is") queries will return contact information for
  3084. // our registrar partner, Gandi, instead of the contact information that you
  3085. // enter.
  3086. //
  3087. // Type: Boolean
  3088. //
  3089. // Default: None
  3090. //
  3091. // Valid values: true | false
  3092. //
  3093. // Required: No
  3094. AdminPrivacy *bool `type:"boolean"`
  3095. // The name of a domain.
  3096. //
  3097. // Type: String
  3098. //
  3099. // Default: None
  3100. //
  3101. // Constraints: The domain name can contain only the letters a through z, the
  3102. // numbers 0 through 9, and hyphen (-). Internationalized Domain Names are not
  3103. // supported.
  3104. //
  3105. // Required: Yes
  3106. DomainName *string `type:"string" required:"true"`
  3107. // Whether you want to conceal contact information from WHOIS queries. If you
  3108. // specify true, WHOIS ("who is") queries will return contact information for
  3109. // our registrar partner, Gandi, instead of the contact information that you
  3110. // enter.
  3111. //
  3112. // Type: Boolean
  3113. //
  3114. // Default: None
  3115. //
  3116. // Valid values: true | false
  3117. //
  3118. // Required: No
  3119. RegistrantPrivacy *bool `type:"boolean"`
  3120. // Whether you want to conceal contact information from WHOIS queries. If you
  3121. // specify true, WHOIS ("who is") queries will return contact information for
  3122. // our registrar partner, Gandi, instead of the contact information that you
  3123. // enter.
  3124. //
  3125. // Type: Boolean
  3126. //
  3127. // Default: None
  3128. //
  3129. // Valid values: true | false
  3130. //
  3131. // Required: No
  3132. TechPrivacy *bool `type:"boolean"`
  3133. }
  3134. // String returns the string representation
  3135. func (s UpdateDomainContactPrivacyInput) String() string {
  3136. return awsutil.Prettify(s)
  3137. }
  3138. // GoString returns the string representation
  3139. func (s UpdateDomainContactPrivacyInput) GoString() string {
  3140. return s.String()
  3141. }
  3142. // Validate inspects the fields of the type to determine if they are valid.
  3143. func (s *UpdateDomainContactPrivacyInput) Validate() error {
  3144. invalidParams := request.ErrInvalidParams{Context: "UpdateDomainContactPrivacyInput"}
  3145. if s.DomainName == nil {
  3146. invalidParams.Add(request.NewErrParamRequired("DomainName"))
  3147. }
  3148. if invalidParams.Len() > 0 {
  3149. return invalidParams
  3150. }
  3151. return nil
  3152. }
  3153. // The UpdateDomainContactPrivacy response includes the following element.
  3154. type UpdateDomainContactPrivacyOutput struct {
  3155. _ struct{} `type:"structure"`
  3156. // Identifier for tracking the progress of the request. To use this ID to query
  3157. // the operation status, use GetOperationDetail.
  3158. //
  3159. // Type: String
  3160. //
  3161. // Default: None
  3162. //
  3163. // Constraints: Maximum 255 characters.
  3164. OperationId *string `type:"string" required:"true"`
  3165. }
  3166. // String returns the string representation
  3167. func (s UpdateDomainContactPrivacyOutput) String() string {
  3168. return awsutil.Prettify(s)
  3169. }
  3170. // GoString returns the string representation
  3171. func (s UpdateDomainContactPrivacyOutput) GoString() string {
  3172. return s.String()
  3173. }
  3174. // The UpdateDomainNameserver request includes the following elements.
  3175. type UpdateDomainNameserversInput struct {
  3176. _ struct{} `type:"structure"`
  3177. // The name of a domain.
  3178. //
  3179. // Type: String
  3180. //
  3181. // Default: None
  3182. //
  3183. // Constraints: The domain name can contain only the letters a through z, the
  3184. // numbers 0 through 9, and hyphen (-). Internationalized Domain Names are not
  3185. // supported.
  3186. //
  3187. // Required: Yes
  3188. DomainName *string `type:"string" required:"true"`
  3189. // The authorization key for .fi domains
  3190. FIAuthKey *string `type:"string"`
  3191. // A list of new name servers for the domain.
  3192. //
  3193. // Type: Complex
  3194. //
  3195. // Children: Name, GlueIps
  3196. //
  3197. // Required: Yes
  3198. Nameservers []*Nameserver `type:"list" required:"true"`
  3199. }
  3200. // String returns the string representation
  3201. func (s UpdateDomainNameserversInput) String() string {
  3202. return awsutil.Prettify(s)
  3203. }
  3204. // GoString returns the string representation
  3205. func (s UpdateDomainNameserversInput) GoString() string {
  3206. return s.String()
  3207. }
  3208. // Validate inspects the fields of the type to determine if they are valid.
  3209. func (s *UpdateDomainNameserversInput) Validate() error {
  3210. invalidParams := request.ErrInvalidParams{Context: "UpdateDomainNameserversInput"}
  3211. if s.DomainName == nil {
  3212. invalidParams.Add(request.NewErrParamRequired("DomainName"))
  3213. }
  3214. if s.Nameservers == nil {
  3215. invalidParams.Add(request.NewErrParamRequired("Nameservers"))
  3216. }
  3217. if s.Nameservers != nil {
  3218. for i, v := range s.Nameservers {
  3219. if v == nil {
  3220. continue
  3221. }
  3222. if err := v.Validate(); err != nil {
  3223. invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Nameservers", i), err.(request.ErrInvalidParams))
  3224. }
  3225. }
  3226. }
  3227. if invalidParams.Len() > 0 {
  3228. return invalidParams
  3229. }
  3230. return nil
  3231. }
  3232. // The UpdateDomainNameservers response includes the following element.
  3233. type UpdateDomainNameserversOutput struct {
  3234. _ struct{} `type:"structure"`
  3235. // Identifier for tracking the progress of the request. To use this ID to query
  3236. // the operation status, use GetOperationDetail.
  3237. //
  3238. // Type: String
  3239. //
  3240. // Default: None
  3241. //
  3242. // Constraints: Maximum 255 characters.
  3243. OperationId *string `type:"string" required:"true"`
  3244. }
  3245. // String returns the string representation
  3246. func (s UpdateDomainNameserversOutput) String() string {
  3247. return awsutil.Prettify(s)
  3248. }
  3249. // GoString returns the string representation
  3250. func (s UpdateDomainNameserversOutput) GoString() string {
  3251. return s.String()
  3252. }
  3253. // The UpdateTagsForDomainRequest includes the following elements.
  3254. type UpdateTagsForDomainInput struct {
  3255. _ struct{} `type:"structure"`
  3256. // The domain for which you want to add or update tags.
  3257. //
  3258. // The name of a domain.
  3259. //
  3260. // Type: String
  3261. //
  3262. // Default: None
  3263. //
  3264. // Constraints: The domain name can contain only the letters a through z, the
  3265. // numbers 0 through 9, and hyphen (-). Hyphens are allowed only when they're
  3266. // surrounded by letters, numbers, or other hyphens. You can't specify a hyphen
  3267. // at the beginning or end of a label. To specify an Internationalized Domain
  3268. // Name, you must convert the name to Punycode.
  3269. //
  3270. // Required: Yes
  3271. DomainName *string `type:"string" required:"true"`
  3272. // A list of the tag keys and values that you want to add or update. If you
  3273. // specify a key that already exists, the corresponding value will be replaced.
  3274. //
  3275. // Type: A complex type containing a list of tags
  3276. //
  3277. // Default: None
  3278. //
  3279. // Required: No
  3280. //
  3281. // '> Each tag includes the following elements:
  3282. //
  3283. // Key
  3284. //
  3285. // The key (name) of a tag.
  3286. //
  3287. // Type: String
  3288. //
  3289. // Default: None
  3290. //
  3291. // Valid values: Unicode characters including alphanumeric, space, and ".:/=+\-@"
  3292. //
  3293. // Constraints: Each key can be 1-128 characters long.
  3294. //
  3295. // Required: Yes
  3296. //
  3297. // Value
  3298. //
  3299. // The value of a tag.
  3300. //
  3301. // Type: String
  3302. //
  3303. // Default: None
  3304. //
  3305. // Valid values: Unicode characters including alphanumeric, space, and ".:/=+\-@"
  3306. //
  3307. // Constraints: Each value can be 0-256 characters long.
  3308. //
  3309. // Required: Yes
  3310. TagsToUpdate []*Tag `type:"list"`
  3311. }
  3312. // String returns the string representation
  3313. func (s UpdateTagsForDomainInput) String() string {
  3314. return awsutil.Prettify(s)
  3315. }
  3316. // GoString returns the string representation
  3317. func (s UpdateTagsForDomainInput) GoString() string {
  3318. return s.String()
  3319. }
  3320. // Validate inspects the fields of the type to determine if they are valid.
  3321. func (s *UpdateTagsForDomainInput) Validate() error {
  3322. invalidParams := request.ErrInvalidParams{Context: "UpdateTagsForDomainInput"}
  3323. if s.DomainName == nil {
  3324. invalidParams.Add(request.NewErrParamRequired("DomainName"))
  3325. }
  3326. if invalidParams.Len() > 0 {
  3327. return invalidParams
  3328. }
  3329. return nil
  3330. }
  3331. type UpdateTagsForDomainOutput struct {
  3332. _ struct{} `type:"structure"`
  3333. }
  3334. // String returns the string representation
  3335. func (s UpdateTagsForDomainOutput) String() string {
  3336. return awsutil.Prettify(s)
  3337. }
  3338. // GoString returns the string representation
  3339. func (s UpdateTagsForDomainOutput) GoString() string {
  3340. return s.String()
  3341. }
  3342. // The ViewBilling request includes the following elements.
  3343. type ViewBillingInput struct {
  3344. _ struct{} `type:"structure"`
  3345. // The end date and time for the time period for which you want a list of billing
  3346. // records. Specify the date in Unix time format.
  3347. //
  3348. // Type: Double
  3349. //
  3350. // Default: None
  3351. //
  3352. // Required: Yes
  3353. End *time.Time `type:"timestamp" timestampFormat:"unix"`
  3354. // For an initial request for a list of billing records, omit this element.
  3355. // If the number of billing records that are associated with the current AWS
  3356. // account during the specified period is greater than the value that you specified
  3357. // for MaxItems, you can use Marker to return additional billing records. Get
  3358. // the value of NextPageMarker from the previous response, and submit another
  3359. // request that includes the value of NextPageMarker in the Marker element.
  3360. //
  3361. // Type: String
  3362. //
  3363. // Default: None
  3364. //
  3365. // Constraints: The marker must match the value of NextPageMarker that was
  3366. // returned in the previous response.
  3367. //
  3368. // Required: No
  3369. Marker *string `type:"string"`
  3370. // The number of billing records to be returned.
  3371. //
  3372. // Type: Integer
  3373. //
  3374. // Default: 20
  3375. //
  3376. // Constraints: A value between 1 and 100.
  3377. //
  3378. // Required: No
  3379. MaxItems *int64 `type:"integer"`
  3380. // The beginning date and time for the time period for which you want a list
  3381. // of billing records. Specify the date in Unix time format.
  3382. //
  3383. // Type: Double
  3384. //
  3385. // Default: None
  3386. //
  3387. // Required: Yes
  3388. Start *time.Time `type:"timestamp" timestampFormat:"unix"`
  3389. }
  3390. // String returns the string representation
  3391. func (s ViewBillingInput) String() string {
  3392. return awsutil.Prettify(s)
  3393. }
  3394. // GoString returns the string representation
  3395. func (s ViewBillingInput) GoString() string {
  3396. return s.String()
  3397. }
  3398. // The ViewBilling response includes the following elements.
  3399. type ViewBillingOutput struct {
  3400. _ struct{} `type:"structure"`
  3401. // A summary of billing records.
  3402. //
  3403. // Type: Complex type containing a list of billing record summaries.
  3404. //
  3405. // Children: DomainName, Operation, InvoiceId, BillDate and Price
  3406. BillingRecords []*BillingRecord `type:"list"`
  3407. // If there are more billing records than you specified for MaxItems in the
  3408. // request, submit another request and include the value of NextPageMarker in
  3409. // the value of Marker.
  3410. //
  3411. // Type: String
  3412. //
  3413. // Parent: BillingRecords
  3414. NextPageMarker *string `type:"string"`
  3415. }
  3416. // String returns the string representation
  3417. func (s ViewBillingOutput) String() string {
  3418. return awsutil.Prettify(s)
  3419. }
  3420. // GoString returns the string representation
  3421. func (s ViewBillingOutput) GoString() string {
  3422. return s.String()
  3423. }
  3424. const (
  3425. // @enum ContactType
  3426. ContactTypePerson = "PERSON"
  3427. // @enum ContactType
  3428. ContactTypeCompany = "COMPANY"
  3429. // @enum ContactType
  3430. ContactTypeAssociation = "ASSOCIATION"
  3431. // @enum ContactType
  3432. ContactTypePublicBody = "PUBLIC_BODY"
  3433. // @enum ContactType
  3434. ContactTypeReseller = "RESELLER"
  3435. )
  3436. const (
  3437. // @enum CountryCode
  3438. CountryCodeAd = "AD"
  3439. // @enum CountryCode
  3440. CountryCodeAe = "AE"
  3441. // @enum CountryCode
  3442. CountryCodeAf = "AF"
  3443. // @enum CountryCode
  3444. CountryCodeAg = "AG"
  3445. // @enum CountryCode
  3446. CountryCodeAi = "AI"
  3447. // @enum CountryCode
  3448. CountryCodeAl = "AL"
  3449. // @enum CountryCode
  3450. CountryCodeAm = "AM"
  3451. // @enum CountryCode
  3452. CountryCodeAn = "AN"
  3453. // @enum CountryCode
  3454. CountryCodeAo = "AO"
  3455. // @enum CountryCode
  3456. CountryCodeAq = "AQ"
  3457. // @enum CountryCode
  3458. CountryCodeAr = "AR"
  3459. // @enum CountryCode
  3460. CountryCodeAs = "AS"
  3461. // @enum CountryCode
  3462. CountryCodeAt = "AT"
  3463. // @enum CountryCode
  3464. CountryCodeAu = "AU"
  3465. // @enum CountryCode
  3466. CountryCodeAw = "AW"
  3467. // @enum CountryCode
  3468. CountryCodeAz = "AZ"
  3469. // @enum CountryCode
  3470. CountryCodeBa = "BA"
  3471. // @enum CountryCode
  3472. CountryCodeBb = "BB"
  3473. // @enum CountryCode
  3474. CountryCodeBd = "BD"
  3475. // @enum CountryCode
  3476. CountryCodeBe = "BE"
  3477. // @enum CountryCode
  3478. CountryCodeBf = "BF"
  3479. // @enum CountryCode
  3480. CountryCodeBg = "BG"
  3481. // @enum CountryCode
  3482. CountryCodeBh = "BH"
  3483. // @enum CountryCode
  3484. CountryCodeBi = "BI"
  3485. // @enum CountryCode
  3486. CountryCodeBj = "BJ"
  3487. // @enum CountryCode
  3488. CountryCodeBl = "BL"
  3489. // @enum CountryCode
  3490. CountryCodeBm = "BM"
  3491. // @enum CountryCode
  3492. CountryCodeBn = "BN"
  3493. // @enum CountryCode
  3494. CountryCodeBo = "BO"
  3495. // @enum CountryCode
  3496. CountryCodeBr = "BR"
  3497. // @enum CountryCode
  3498. CountryCodeBs = "BS"
  3499. // @enum CountryCode
  3500. CountryCodeBt = "BT"
  3501. // @enum CountryCode
  3502. CountryCodeBw = "BW"
  3503. // @enum CountryCode
  3504. CountryCodeBy = "BY"
  3505. // @enum CountryCode
  3506. CountryCodeBz = "BZ"
  3507. // @enum CountryCode
  3508. CountryCodeCa = "CA"
  3509. // @enum CountryCode
  3510. CountryCodeCc = "CC"
  3511. // @enum CountryCode
  3512. CountryCodeCd = "CD"
  3513. // @enum CountryCode
  3514. CountryCodeCf = "CF"
  3515. // @enum CountryCode
  3516. CountryCodeCg = "CG"
  3517. // @enum CountryCode
  3518. CountryCodeCh = "CH"
  3519. // @enum CountryCode
  3520. CountryCodeCi = "CI"
  3521. // @enum CountryCode
  3522. CountryCodeCk = "CK"
  3523. // @enum CountryCode
  3524. CountryCodeCl = "CL"
  3525. // @enum CountryCode
  3526. CountryCodeCm = "CM"
  3527. // @enum CountryCode
  3528. CountryCodeCn = "CN"
  3529. // @enum CountryCode
  3530. CountryCodeCo = "CO"
  3531. // @enum CountryCode
  3532. CountryCodeCr = "CR"
  3533. // @enum CountryCode
  3534. CountryCodeCu = "CU"
  3535. // @enum CountryCode
  3536. CountryCodeCv = "CV"
  3537. // @enum CountryCode
  3538. CountryCodeCx = "CX"
  3539. // @enum CountryCode
  3540. CountryCodeCy = "CY"
  3541. // @enum CountryCode
  3542. CountryCodeCz = "CZ"
  3543. // @enum CountryCode
  3544. CountryCodeDe = "DE"
  3545. // @enum CountryCode
  3546. CountryCodeDj = "DJ"
  3547. // @enum CountryCode
  3548. CountryCodeDk = "DK"
  3549. // @enum CountryCode
  3550. CountryCodeDm = "DM"
  3551. // @enum CountryCode
  3552. CountryCodeDo = "DO"
  3553. // @enum CountryCode
  3554. CountryCodeDz = "DZ"
  3555. // @enum CountryCode
  3556. CountryCodeEc = "EC"
  3557. // @enum CountryCode
  3558. CountryCodeEe = "EE"
  3559. // @enum CountryCode
  3560. CountryCodeEg = "EG"
  3561. // @enum CountryCode
  3562. CountryCodeEr = "ER"
  3563. // @enum CountryCode
  3564. CountryCodeEs = "ES"
  3565. // @enum CountryCode
  3566. CountryCodeEt = "ET"
  3567. // @enum CountryCode
  3568. CountryCodeFi = "FI"
  3569. // @enum CountryCode
  3570. CountryCodeFj = "FJ"
  3571. // @enum CountryCode
  3572. CountryCodeFk = "FK"
  3573. // @enum CountryCode
  3574. CountryCodeFm = "FM"
  3575. // @enum CountryCode
  3576. CountryCodeFo = "FO"
  3577. // @enum CountryCode
  3578. CountryCodeFr = "FR"
  3579. // @enum CountryCode
  3580. CountryCodeGa = "GA"
  3581. // @enum CountryCode
  3582. CountryCodeGb = "GB"
  3583. // @enum CountryCode
  3584. CountryCodeGd = "GD"
  3585. // @enum CountryCode
  3586. CountryCodeGe = "GE"
  3587. // @enum CountryCode
  3588. CountryCodeGh = "GH"
  3589. // @enum CountryCode
  3590. CountryCodeGi = "GI"
  3591. // @enum CountryCode
  3592. CountryCodeGl = "GL"
  3593. // @enum CountryCode
  3594. CountryCodeGm = "GM"
  3595. // @enum CountryCode
  3596. CountryCodeGn = "GN"
  3597. // @enum CountryCode
  3598. CountryCodeGq = "GQ"
  3599. // @enum CountryCode
  3600. CountryCodeGr = "GR"
  3601. // @enum CountryCode
  3602. CountryCodeGt = "GT"
  3603. // @enum CountryCode
  3604. CountryCodeGu = "GU"
  3605. // @enum CountryCode
  3606. CountryCodeGw = "GW"
  3607. // @enum CountryCode
  3608. CountryCodeGy = "GY"
  3609. // @enum CountryCode
  3610. CountryCodeHk = "HK"
  3611. // @enum CountryCode
  3612. CountryCodeHn = "HN"
  3613. // @enum CountryCode
  3614. CountryCodeHr = "HR"
  3615. // @enum CountryCode
  3616. CountryCodeHt = "HT"
  3617. // @enum CountryCode
  3618. CountryCodeHu = "HU"
  3619. // @enum CountryCode
  3620. CountryCodeId = "ID"
  3621. // @enum CountryCode
  3622. CountryCodeIe = "IE"
  3623. // @enum CountryCode
  3624. CountryCodeIl = "IL"
  3625. // @enum CountryCode
  3626. CountryCodeIm = "IM"
  3627. // @enum CountryCode
  3628. CountryCodeIn = "IN"
  3629. // @enum CountryCode
  3630. CountryCodeIq = "IQ"
  3631. // @enum CountryCode
  3632. CountryCodeIr = "IR"
  3633. // @enum CountryCode
  3634. CountryCodeIs = "IS"
  3635. // @enum CountryCode
  3636. CountryCodeIt = "IT"
  3637. // @enum CountryCode
  3638. CountryCodeJm = "JM"
  3639. // @enum CountryCode
  3640. CountryCodeJo = "JO"
  3641. // @enum CountryCode
  3642. CountryCodeJp = "JP"
  3643. // @enum CountryCode
  3644. CountryCodeKe = "KE"
  3645. // @enum CountryCode
  3646. CountryCodeKg = "KG"
  3647. // @enum CountryCode
  3648. CountryCodeKh = "KH"
  3649. // @enum CountryCode
  3650. CountryCodeKi = "KI"
  3651. // @enum CountryCode
  3652. CountryCodeKm = "KM"
  3653. // @enum CountryCode
  3654. CountryCodeKn = "KN"
  3655. // @enum CountryCode
  3656. CountryCodeKp = "KP"
  3657. // @enum CountryCode
  3658. CountryCodeKr = "KR"
  3659. // @enum CountryCode
  3660. CountryCodeKw = "KW"
  3661. // @enum CountryCode
  3662. CountryCodeKy = "KY"
  3663. // @enum CountryCode
  3664. CountryCodeKz = "KZ"
  3665. // @enum CountryCode
  3666. CountryCodeLa = "LA"
  3667. // @enum CountryCode
  3668. CountryCodeLb = "LB"
  3669. // @enum CountryCode
  3670. CountryCodeLc = "LC"
  3671. // @enum CountryCode
  3672. CountryCodeLi = "LI"
  3673. // @enum CountryCode
  3674. CountryCodeLk = "LK"
  3675. // @enum CountryCode
  3676. CountryCodeLr = "LR"
  3677. // @enum CountryCode
  3678. CountryCodeLs = "LS"
  3679. // @enum CountryCode
  3680. CountryCodeLt = "LT"
  3681. // @enum CountryCode
  3682. CountryCodeLu = "LU"
  3683. // @enum CountryCode
  3684. CountryCodeLv = "LV"
  3685. // @enum CountryCode
  3686. CountryCodeLy = "LY"
  3687. // @enum CountryCode
  3688. CountryCodeMa = "MA"
  3689. // @enum CountryCode
  3690. CountryCodeMc = "MC"
  3691. // @enum CountryCode
  3692. CountryCodeMd = "MD"
  3693. // @enum CountryCode
  3694. CountryCodeMe = "ME"
  3695. // @enum CountryCode
  3696. CountryCodeMf = "MF"
  3697. // @enum CountryCode
  3698. CountryCodeMg = "MG"
  3699. // @enum CountryCode
  3700. CountryCodeMh = "MH"
  3701. // @enum CountryCode
  3702. CountryCodeMk = "MK"
  3703. // @enum CountryCode
  3704. CountryCodeMl = "ML"
  3705. // @enum CountryCode
  3706. CountryCodeMm = "MM"
  3707. // @enum CountryCode
  3708. CountryCodeMn = "MN"
  3709. // @enum CountryCode
  3710. CountryCodeMo = "MO"
  3711. // @enum CountryCode
  3712. CountryCodeMp = "MP"
  3713. // @enum CountryCode
  3714. CountryCodeMr = "MR"
  3715. // @enum CountryCode
  3716. CountryCodeMs = "MS"
  3717. // @enum CountryCode
  3718. CountryCodeMt = "MT"
  3719. // @enum CountryCode
  3720. CountryCodeMu = "MU"
  3721. // @enum CountryCode
  3722. CountryCodeMv = "MV"
  3723. // @enum CountryCode
  3724. CountryCodeMw = "MW"
  3725. // @enum CountryCode
  3726. CountryCodeMx = "MX"
  3727. // @enum CountryCode
  3728. CountryCodeMy = "MY"
  3729. // @enum CountryCode
  3730. CountryCodeMz = "MZ"
  3731. // @enum CountryCode
  3732. CountryCodeNa = "NA"
  3733. // @enum CountryCode
  3734. CountryCodeNc = "NC"
  3735. // @enum CountryCode
  3736. CountryCodeNe = "NE"
  3737. // @enum CountryCode
  3738. CountryCodeNg = "NG"
  3739. // @enum CountryCode
  3740. CountryCodeNi = "NI"
  3741. // @enum CountryCode
  3742. CountryCodeNl = "NL"
  3743. // @enum CountryCode
  3744. CountryCodeNo = "NO"
  3745. // @enum CountryCode
  3746. CountryCodeNp = "NP"
  3747. // @enum CountryCode
  3748. CountryCodeNr = "NR"
  3749. // @enum CountryCode
  3750. CountryCodeNu = "NU"
  3751. // @enum CountryCode
  3752. CountryCodeNz = "NZ"
  3753. // @enum CountryCode
  3754. CountryCodeOm = "OM"
  3755. // @enum CountryCode
  3756. CountryCodePa = "PA"
  3757. // @enum CountryCode
  3758. CountryCodePe = "PE"
  3759. // @enum CountryCode
  3760. CountryCodePf = "PF"
  3761. // @enum CountryCode
  3762. CountryCodePg = "PG"
  3763. // @enum CountryCode
  3764. CountryCodePh = "PH"
  3765. // @enum CountryCode
  3766. CountryCodePk = "PK"
  3767. // @enum CountryCode
  3768. CountryCodePl = "PL"
  3769. // @enum CountryCode
  3770. CountryCodePm = "PM"
  3771. // @enum CountryCode
  3772. CountryCodePn = "PN"
  3773. // @enum CountryCode
  3774. CountryCodePr = "PR"
  3775. // @enum CountryCode
  3776. CountryCodePt = "PT"
  3777. // @enum CountryCode
  3778. CountryCodePw = "PW"
  3779. // @enum CountryCode
  3780. CountryCodePy = "PY"
  3781. // @enum CountryCode
  3782. CountryCodeQa = "QA"
  3783. // @enum CountryCode
  3784. CountryCodeRo = "RO"
  3785. // @enum CountryCode
  3786. CountryCodeRs = "RS"
  3787. // @enum CountryCode
  3788. CountryCodeRu = "RU"
  3789. // @enum CountryCode
  3790. CountryCodeRw = "RW"
  3791. // @enum CountryCode
  3792. CountryCodeSa = "SA"
  3793. // @enum CountryCode
  3794. CountryCodeSb = "SB"
  3795. // @enum CountryCode
  3796. CountryCodeSc = "SC"
  3797. // @enum CountryCode
  3798. CountryCodeSd = "SD"
  3799. // @enum CountryCode
  3800. CountryCodeSe = "SE"
  3801. // @enum CountryCode
  3802. CountryCodeSg = "SG"
  3803. // @enum CountryCode
  3804. CountryCodeSh = "SH"
  3805. // @enum CountryCode
  3806. CountryCodeSi = "SI"
  3807. // @enum CountryCode
  3808. CountryCodeSk = "SK"
  3809. // @enum CountryCode
  3810. CountryCodeSl = "SL"
  3811. // @enum CountryCode
  3812. CountryCodeSm = "SM"
  3813. // @enum CountryCode
  3814. CountryCodeSn = "SN"
  3815. // @enum CountryCode
  3816. CountryCodeSo = "SO"
  3817. // @enum CountryCode
  3818. CountryCodeSr = "SR"
  3819. // @enum CountryCode
  3820. CountryCodeSt = "ST"
  3821. // @enum CountryCode
  3822. CountryCodeSv = "SV"
  3823. // @enum CountryCode
  3824. CountryCodeSy = "SY"
  3825. // @enum CountryCode
  3826. CountryCodeSz = "SZ"
  3827. // @enum CountryCode
  3828. CountryCodeTc = "TC"
  3829. // @enum CountryCode
  3830. CountryCodeTd = "TD"
  3831. // @enum CountryCode
  3832. CountryCodeTg = "TG"
  3833. // @enum CountryCode
  3834. CountryCodeTh = "TH"
  3835. // @enum CountryCode
  3836. CountryCodeTj = "TJ"
  3837. // @enum CountryCode
  3838. CountryCodeTk = "TK"
  3839. // @enum CountryCode
  3840. CountryCodeTl = "TL"
  3841. // @enum CountryCode
  3842. CountryCodeTm = "TM"
  3843. // @enum CountryCode
  3844. CountryCodeTn = "TN"
  3845. // @enum CountryCode
  3846. CountryCodeTo = "TO"
  3847. // @enum CountryCode
  3848. CountryCodeTr = "TR"
  3849. // @enum CountryCode
  3850. CountryCodeTt = "TT"
  3851. // @enum CountryCode
  3852. CountryCodeTv = "TV"
  3853. // @enum CountryCode
  3854. CountryCodeTw = "TW"
  3855. // @enum CountryCode
  3856. CountryCodeTz = "TZ"
  3857. // @enum CountryCode
  3858. CountryCodeUa = "UA"
  3859. // @enum CountryCode
  3860. CountryCodeUg = "UG"
  3861. // @enum CountryCode
  3862. CountryCodeUs = "US"
  3863. // @enum CountryCode
  3864. CountryCodeUy = "UY"
  3865. // @enum CountryCode
  3866. CountryCodeUz = "UZ"
  3867. // @enum CountryCode
  3868. CountryCodeVa = "VA"
  3869. // @enum CountryCode
  3870. CountryCodeVc = "VC"
  3871. // @enum CountryCode
  3872. CountryCodeVe = "VE"
  3873. // @enum CountryCode
  3874. CountryCodeVg = "VG"
  3875. // @enum CountryCode
  3876. CountryCodeVi = "VI"
  3877. // @enum CountryCode
  3878. CountryCodeVn = "VN"
  3879. // @enum CountryCode
  3880. CountryCodeVu = "VU"
  3881. // @enum CountryCode
  3882. CountryCodeWf = "WF"
  3883. // @enum CountryCode
  3884. CountryCodeWs = "WS"
  3885. // @enum CountryCode
  3886. CountryCodeYe = "YE"
  3887. // @enum CountryCode
  3888. CountryCodeYt = "YT"
  3889. // @enum CountryCode
  3890. CountryCodeZa = "ZA"
  3891. // @enum CountryCode
  3892. CountryCodeZm = "ZM"
  3893. // @enum CountryCode
  3894. CountryCodeZw = "ZW"
  3895. )
  3896. const (
  3897. // @enum DomainAvailability
  3898. DomainAvailabilityAvailable = "AVAILABLE"
  3899. // @enum DomainAvailability
  3900. DomainAvailabilityAvailableReserved = "AVAILABLE_RESERVED"
  3901. // @enum DomainAvailability
  3902. DomainAvailabilityAvailablePreorder = "AVAILABLE_PREORDER"
  3903. // @enum DomainAvailability
  3904. DomainAvailabilityUnavailable = "UNAVAILABLE"
  3905. // @enum DomainAvailability
  3906. DomainAvailabilityUnavailablePremium = "UNAVAILABLE_PREMIUM"
  3907. // @enum DomainAvailability
  3908. DomainAvailabilityUnavailableRestricted = "UNAVAILABLE_RESTRICTED"
  3909. // @enum DomainAvailability
  3910. DomainAvailabilityReserved = "RESERVED"
  3911. // @enum DomainAvailability
  3912. DomainAvailabilityDontKnow = "DONT_KNOW"
  3913. )
  3914. const (
  3915. // @enum ExtraParamName
  3916. ExtraParamNameDunsNumber = "DUNS_NUMBER"
  3917. // @enum ExtraParamName
  3918. ExtraParamNameBrandNumber = "BRAND_NUMBER"
  3919. // @enum ExtraParamName
  3920. ExtraParamNameBirthDepartment = "BIRTH_DEPARTMENT"
  3921. // @enum ExtraParamName
  3922. ExtraParamNameBirthDateInYyyyMmDd = "BIRTH_DATE_IN_YYYY_MM_DD"
  3923. // @enum ExtraParamName
  3924. ExtraParamNameBirthCountry = "BIRTH_COUNTRY"
  3925. // @enum ExtraParamName
  3926. ExtraParamNameBirthCity = "BIRTH_CITY"
  3927. // @enum ExtraParamName
  3928. ExtraParamNameDocumentNumber = "DOCUMENT_NUMBER"
  3929. // @enum ExtraParamName
  3930. ExtraParamNameAuIdNumber = "AU_ID_NUMBER"
  3931. // @enum ExtraParamName
  3932. ExtraParamNameAuIdType = "AU_ID_TYPE"
  3933. // @enum ExtraParamName
  3934. ExtraParamNameCaLegalType = "CA_LEGAL_TYPE"
  3935. // @enum ExtraParamName
  3936. ExtraParamNameCaBusinessEntityType = "CA_BUSINESS_ENTITY_TYPE"
  3937. // @enum ExtraParamName
  3938. ExtraParamNameEsIdentification = "ES_IDENTIFICATION"
  3939. // @enum ExtraParamName
  3940. ExtraParamNameEsIdentificationType = "ES_IDENTIFICATION_TYPE"
  3941. // @enum ExtraParamName
  3942. ExtraParamNameEsLegalForm = "ES_LEGAL_FORM"
  3943. // @enum ExtraParamName
  3944. ExtraParamNameFiBusinessNumber = "FI_BUSINESS_NUMBER"
  3945. // @enum ExtraParamName
  3946. ExtraParamNameFiIdNumber = "FI_ID_NUMBER"
  3947. // @enum ExtraParamName
  3948. ExtraParamNameItPin = "IT_PIN"
  3949. // @enum ExtraParamName
  3950. ExtraParamNameRuPassportData = "RU_PASSPORT_DATA"
  3951. // @enum ExtraParamName
  3952. ExtraParamNameSeIdNumber = "SE_ID_NUMBER"
  3953. // @enum ExtraParamName
  3954. ExtraParamNameSgIdNumber = "SG_ID_NUMBER"
  3955. // @enum ExtraParamName
  3956. ExtraParamNameVatNumber = "VAT_NUMBER"
  3957. )
  3958. const (
  3959. // @enum OperationStatus
  3960. OperationStatusSubmitted = "SUBMITTED"
  3961. // @enum OperationStatus
  3962. OperationStatusInProgress = "IN_PROGRESS"
  3963. // @enum OperationStatus
  3964. OperationStatusError = "ERROR"
  3965. // @enum OperationStatus
  3966. OperationStatusSuccessful = "SUCCESSFUL"
  3967. // @enum OperationStatus
  3968. OperationStatusFailed = "FAILED"
  3969. )
  3970. const (
  3971. // @enum OperationType
  3972. OperationTypeRegisterDomain = "REGISTER_DOMAIN"
  3973. // @enum OperationType
  3974. OperationTypeDeleteDomain = "DELETE_DOMAIN"
  3975. // @enum OperationType
  3976. OperationTypeTransferInDomain = "TRANSFER_IN_DOMAIN"
  3977. // @enum OperationType
  3978. OperationTypeUpdateDomainContact = "UPDATE_DOMAIN_CONTACT"
  3979. // @enum OperationType
  3980. OperationTypeUpdateNameserver = "UPDATE_NAMESERVER"
  3981. // @enum OperationType
  3982. OperationTypeChangePrivacyProtection = "CHANGE_PRIVACY_PROTECTION"
  3983. // @enum OperationType
  3984. OperationTypeDomainLock = "DOMAIN_LOCK"
  3985. )
  3986. const (
  3987. // @enum ReachabilityStatus
  3988. ReachabilityStatusPending = "PENDING"
  3989. // @enum ReachabilityStatus
  3990. ReachabilityStatusDone = "DONE"
  3991. // @enum ReachabilityStatus
  3992. ReachabilityStatusExpired = "EXPIRED"
  3993. )