| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472 |
- // THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT.
- // Package route53domains provides a client for Amazon Route 53 Domains.
- package route53domains
- import (
- "fmt"
- "time"
- "github.com/aws/aws-sdk-go/aws/awsutil"
- "github.com/aws/aws-sdk-go/aws/request"
- )
- const opCheckDomainAvailability = "CheckDomainAvailability"
- // CheckDomainAvailabilityRequest generates a "aws/request.Request" representing the
- // client's request for the CheckDomainAvailability operation. The "output" return
- // value can be used to capture response data after the request's "Send" method
- // is called.
- //
- // Creating a request object using this method should be used when you want to inject
- // custom logic into the request's lifecycle using a custom handler, or if you want to
- // access properties on the request object before or after sending the request. If
- // you just want the service response, call the CheckDomainAvailability method directly
- // instead.
- //
- // Note: You must call the "Send" method on the returned request object in order
- // to execute the request.
- //
- // // Example sending a request using the CheckDomainAvailabilityRequest method.
- // req, resp := client.CheckDomainAvailabilityRequest(params)
- //
- // err := req.Send()
- // if err == nil { // resp is now filled
- // fmt.Println(resp)
- // }
- //
- func (c *Route53Domains) CheckDomainAvailabilityRequest(input *CheckDomainAvailabilityInput) (req *request.Request, output *CheckDomainAvailabilityOutput) {
- op := &request.Operation{
- Name: opCheckDomainAvailability,
- HTTPMethod: "POST",
- HTTPPath: "/",
- }
- if input == nil {
- input = &CheckDomainAvailabilityInput{}
- }
- req = c.newRequest(op, input, output)
- output = &CheckDomainAvailabilityOutput{}
- req.Data = output
- return
- }
- // This operation checks the availability of one domain name. Note that if the
- // availability status of a domain is pending, you must submit another request
- // to determine the availability of the domain name.
- func (c *Route53Domains) CheckDomainAvailability(input *CheckDomainAvailabilityInput) (*CheckDomainAvailabilityOutput, error) {
- req, out := c.CheckDomainAvailabilityRequest(input)
- err := req.Send()
- return out, err
- }
- const opDeleteTagsForDomain = "DeleteTagsForDomain"
- // DeleteTagsForDomainRequest generates a "aws/request.Request" representing the
- // client's request for the DeleteTagsForDomain operation. The "output" return
- // value can be used to capture response data after the request's "Send" method
- // is called.
- //
- // Creating a request object using this method should be used when you want to inject
- // custom logic into the request's lifecycle using a custom handler, or if you want to
- // access properties on the request object before or after sending the request. If
- // you just want the service response, call the DeleteTagsForDomain method directly
- // instead.
- //
- // Note: You must call the "Send" method on the returned request object in order
- // to execute the request.
- //
- // // Example sending a request using the DeleteTagsForDomainRequest method.
- // req, resp := client.DeleteTagsForDomainRequest(params)
- //
- // err := req.Send()
- // if err == nil { // resp is now filled
- // fmt.Println(resp)
- // }
- //
- func (c *Route53Domains) DeleteTagsForDomainRequest(input *DeleteTagsForDomainInput) (req *request.Request, output *DeleteTagsForDomainOutput) {
- op := &request.Operation{
- Name: opDeleteTagsForDomain,
- HTTPMethod: "POST",
- HTTPPath: "/",
- }
- if input == nil {
- input = &DeleteTagsForDomainInput{}
- }
- req = c.newRequest(op, input, output)
- output = &DeleteTagsForDomainOutput{}
- req.Data = output
- return
- }
- // This operation deletes the specified tags for a domain.
- //
- // All tag operations are eventually consistent; subsequent operations may
- // not immediately represent all issued operations.
- func (c *Route53Domains) DeleteTagsForDomain(input *DeleteTagsForDomainInput) (*DeleteTagsForDomainOutput, error) {
- req, out := c.DeleteTagsForDomainRequest(input)
- err := req.Send()
- return out, err
- }
- const opDisableDomainAutoRenew = "DisableDomainAutoRenew"
- // DisableDomainAutoRenewRequest generates a "aws/request.Request" representing the
- // client's request for the DisableDomainAutoRenew operation. The "output" return
- // value can be used to capture response data after the request's "Send" method
- // is called.
- //
- // Creating a request object using this method should be used when you want to inject
- // custom logic into the request's lifecycle using a custom handler, or if you want to
- // access properties on the request object before or after sending the request. If
- // you just want the service response, call the DisableDomainAutoRenew method directly
- // instead.
- //
- // Note: You must call the "Send" method on the returned request object in order
- // to execute the request.
- //
- // // Example sending a request using the DisableDomainAutoRenewRequest method.
- // req, resp := client.DisableDomainAutoRenewRequest(params)
- //
- // err := req.Send()
- // if err == nil { // resp is now filled
- // fmt.Println(resp)
- // }
- //
- func (c *Route53Domains) DisableDomainAutoRenewRequest(input *DisableDomainAutoRenewInput) (req *request.Request, output *DisableDomainAutoRenewOutput) {
- op := &request.Operation{
- Name: opDisableDomainAutoRenew,
- HTTPMethod: "POST",
- HTTPPath: "/",
- }
- if input == nil {
- input = &DisableDomainAutoRenewInput{}
- }
- req = c.newRequest(op, input, output)
- output = &DisableDomainAutoRenewOutput{}
- req.Data = output
- return
- }
- // This operation disables automatic renewal of domain registration for the
- // specified domain.
- func (c *Route53Domains) DisableDomainAutoRenew(input *DisableDomainAutoRenewInput) (*DisableDomainAutoRenewOutput, error) {
- req, out := c.DisableDomainAutoRenewRequest(input)
- err := req.Send()
- return out, err
- }
- const opDisableDomainTransferLock = "DisableDomainTransferLock"
- // DisableDomainTransferLockRequest generates a "aws/request.Request" representing the
- // client's request for the DisableDomainTransferLock operation. The "output" return
- // value can be used to capture response data after the request's "Send" method
- // is called.
- //
- // Creating a request object using this method should be used when you want to inject
- // custom logic into the request's lifecycle using a custom handler, or if you want to
- // access properties on the request object before or after sending the request. If
- // you just want the service response, call the DisableDomainTransferLock method directly
- // instead.
- //
- // Note: You must call the "Send" method on the returned request object in order
- // to execute the request.
- //
- // // Example sending a request using the DisableDomainTransferLockRequest method.
- // req, resp := client.DisableDomainTransferLockRequest(params)
- //
- // err := req.Send()
- // if err == nil { // resp is now filled
- // fmt.Println(resp)
- // }
- //
- func (c *Route53Domains) DisableDomainTransferLockRequest(input *DisableDomainTransferLockInput) (req *request.Request, output *DisableDomainTransferLockOutput) {
- op := &request.Operation{
- Name: opDisableDomainTransferLock,
- HTTPMethod: "POST",
- HTTPPath: "/",
- }
- if input == nil {
- input = &DisableDomainTransferLockInput{}
- }
- req = c.newRequest(op, input, output)
- output = &DisableDomainTransferLockOutput{}
- req.Data = output
- return
- }
- // This operation removes the transfer lock on the domain (specifically the
- // clientTransferProhibited status) to allow domain transfers. We recommend
- // you refrain from performing this action unless you intend to transfer the
- // domain to a different registrar. Successful submission returns an operation
- // ID that you can use to track the progress and completion of the action. If
- // the request is not completed successfully, the domain registrant will be
- // notified by email.
- func (c *Route53Domains) DisableDomainTransferLock(input *DisableDomainTransferLockInput) (*DisableDomainTransferLockOutput, error) {
- req, out := c.DisableDomainTransferLockRequest(input)
- err := req.Send()
- return out, err
- }
- const opEnableDomainAutoRenew = "EnableDomainAutoRenew"
- // EnableDomainAutoRenewRequest generates a "aws/request.Request" representing the
- // client's request for the EnableDomainAutoRenew operation. The "output" return
- // value can be used to capture response data after the request's "Send" method
- // is called.
- //
- // Creating a request object using this method should be used when you want to inject
- // custom logic into the request's lifecycle using a custom handler, or if you want to
- // access properties on the request object before or after sending the request. If
- // you just want the service response, call the EnableDomainAutoRenew method directly
- // instead.
- //
- // Note: You must call the "Send" method on the returned request object in order
- // to execute the request.
- //
- // // Example sending a request using the EnableDomainAutoRenewRequest method.
- // req, resp := client.EnableDomainAutoRenewRequest(params)
- //
- // err := req.Send()
- // if err == nil { // resp is now filled
- // fmt.Println(resp)
- // }
- //
- func (c *Route53Domains) EnableDomainAutoRenewRequest(input *EnableDomainAutoRenewInput) (req *request.Request, output *EnableDomainAutoRenewOutput) {
- op := &request.Operation{
- Name: opEnableDomainAutoRenew,
- HTTPMethod: "POST",
- HTTPPath: "/",
- }
- if input == nil {
- input = &EnableDomainAutoRenewInput{}
- }
- req = c.newRequest(op, input, output)
- output = &EnableDomainAutoRenewOutput{}
- req.Data = output
- return
- }
- // This operation configures Amazon Route 53 to automatically renew the specified
- // domain before the domain registration expires. The cost of renewing your
- // domain registration is billed to your AWS account.
- //
- // The period during which you can renew a domain name varies by TLD. For a
- // list of TLDs and their renewal policies, see "Renewal, restoration, and deletion
- // times" (http://wiki.gandi.net/en/domains/renew#renewal_restoration_and_deletion_times)
- // on the website for our registrar partner, Gandi. Route 53 requires that you
- // renew before the end of the renewal period that is listed on the Gandi website
- // so we can complete processing before the deadline.
- func (c *Route53Domains) EnableDomainAutoRenew(input *EnableDomainAutoRenewInput) (*EnableDomainAutoRenewOutput, error) {
- req, out := c.EnableDomainAutoRenewRequest(input)
- err := req.Send()
- return out, err
- }
- const opEnableDomainTransferLock = "EnableDomainTransferLock"
- // EnableDomainTransferLockRequest generates a "aws/request.Request" representing the
- // client's request for the EnableDomainTransferLock operation. The "output" return
- // value can be used to capture response data after the request's "Send" method
- // is called.
- //
- // Creating a request object using this method should be used when you want to inject
- // custom logic into the request's lifecycle using a custom handler, or if you want to
- // access properties on the request object before or after sending the request. If
- // you just want the service response, call the EnableDomainTransferLock method directly
- // instead.
- //
- // Note: You must call the "Send" method on the returned request object in order
- // to execute the request.
- //
- // // Example sending a request using the EnableDomainTransferLockRequest method.
- // req, resp := client.EnableDomainTransferLockRequest(params)
- //
- // err := req.Send()
- // if err == nil { // resp is now filled
- // fmt.Println(resp)
- // }
- //
- func (c *Route53Domains) EnableDomainTransferLockRequest(input *EnableDomainTransferLockInput) (req *request.Request, output *EnableDomainTransferLockOutput) {
- op := &request.Operation{
- Name: opEnableDomainTransferLock,
- HTTPMethod: "POST",
- HTTPPath: "/",
- }
- if input == nil {
- input = &EnableDomainTransferLockInput{}
- }
- req = c.newRequest(op, input, output)
- output = &EnableDomainTransferLockOutput{}
- req.Data = output
- return
- }
- // This operation sets the transfer lock on the domain (specifically the clientTransferProhibited
- // status) to prevent domain transfers. Successful submission returns an operation
- // ID that you can use to track the progress and completion of the action. If
- // the request is not completed successfully, the domain registrant will be
- // notified by email.
- func (c *Route53Domains) EnableDomainTransferLock(input *EnableDomainTransferLockInput) (*EnableDomainTransferLockOutput, error) {
- req, out := c.EnableDomainTransferLockRequest(input)
- err := req.Send()
- return out, err
- }
- const opGetContactReachabilityStatus = "GetContactReachabilityStatus"
- // GetContactReachabilityStatusRequest generates a "aws/request.Request" representing the
- // client's request for the GetContactReachabilityStatus operation. The "output" return
- // value can be used to capture response data after the request's "Send" method
- // is called.
- //
- // Creating a request object using this method should be used when you want to inject
- // custom logic into the request's lifecycle using a custom handler, or if you want to
- // access properties on the request object before or after sending the request. If
- // you just want the service response, call the GetContactReachabilityStatus method directly
- // instead.
- //
- // Note: You must call the "Send" method on the returned request object in order
- // to execute the request.
- //
- // // Example sending a request using the GetContactReachabilityStatusRequest method.
- // req, resp := client.GetContactReachabilityStatusRequest(params)
- //
- // err := req.Send()
- // if err == nil { // resp is now filled
- // fmt.Println(resp)
- // }
- //
- func (c *Route53Domains) GetContactReachabilityStatusRequest(input *GetContactReachabilityStatusInput) (req *request.Request, output *GetContactReachabilityStatusOutput) {
- op := &request.Operation{
- Name: opGetContactReachabilityStatus,
- HTTPMethod: "POST",
- HTTPPath: "/",
- }
- if input == nil {
- input = &GetContactReachabilityStatusInput{}
- }
- req = c.newRequest(op, input, output)
- output = &GetContactReachabilityStatusOutput{}
- req.Data = output
- return
- }
- // For operations that require confirmation that the email address for the registrant
- // contact is valid, such as registering a new domain, this operation returns
- // information about whether the registrant contact has responded.
- //
- // If you want us to resend the email, use the ResendContactReachabilityEmail
- // operation.
- func (c *Route53Domains) GetContactReachabilityStatus(input *GetContactReachabilityStatusInput) (*GetContactReachabilityStatusOutput, error) {
- req, out := c.GetContactReachabilityStatusRequest(input)
- err := req.Send()
- return out, err
- }
- const opGetDomainDetail = "GetDomainDetail"
- // GetDomainDetailRequest generates a "aws/request.Request" representing the
- // client's request for the GetDomainDetail operation. The "output" return
- // value can be used to capture response data after the request's "Send" method
- // is called.
- //
- // Creating a request object using this method should be used when you want to inject
- // custom logic into the request's lifecycle using a custom handler, or if you want to
- // access properties on the request object before or after sending the request. If
- // you just want the service response, call the GetDomainDetail method directly
- // instead.
- //
- // Note: You must call the "Send" method on the returned request object in order
- // to execute the request.
- //
- // // Example sending a request using the GetDomainDetailRequest method.
- // req, resp := client.GetDomainDetailRequest(params)
- //
- // err := req.Send()
- // if err == nil { // resp is now filled
- // fmt.Println(resp)
- // }
- //
- func (c *Route53Domains) GetDomainDetailRequest(input *GetDomainDetailInput) (req *request.Request, output *GetDomainDetailOutput) {
- op := &request.Operation{
- Name: opGetDomainDetail,
- HTTPMethod: "POST",
- HTTPPath: "/",
- }
- if input == nil {
- input = &GetDomainDetailInput{}
- }
- req = c.newRequest(op, input, output)
- output = &GetDomainDetailOutput{}
- req.Data = output
- return
- }
- // This operation returns detailed information about the domain. The domain's
- // contact information is also returned as part of the output.
- func (c *Route53Domains) GetDomainDetail(input *GetDomainDetailInput) (*GetDomainDetailOutput, error) {
- req, out := c.GetDomainDetailRequest(input)
- err := req.Send()
- return out, err
- }
- const opGetDomainSuggestions = "GetDomainSuggestions"
- // GetDomainSuggestionsRequest generates a "aws/request.Request" representing the
- // client's request for the GetDomainSuggestions operation. The "output" return
- // value can be used to capture response data after the request's "Send" method
- // is called.
- //
- // Creating a request object using this method should be used when you want to inject
- // custom logic into the request's lifecycle using a custom handler, or if you want to
- // access properties on the request object before or after sending the request. If
- // you just want the service response, call the GetDomainSuggestions method directly
- // instead.
- //
- // Note: You must call the "Send" method on the returned request object in order
- // to execute the request.
- //
- // // Example sending a request using the GetDomainSuggestionsRequest method.
- // req, resp := client.GetDomainSuggestionsRequest(params)
- //
- // err := req.Send()
- // if err == nil { // resp is now filled
- // fmt.Println(resp)
- // }
- //
- func (c *Route53Domains) GetDomainSuggestionsRequest(input *GetDomainSuggestionsInput) (req *request.Request, output *GetDomainSuggestionsOutput) {
- op := &request.Operation{
- Name: opGetDomainSuggestions,
- HTTPMethod: "POST",
- HTTPPath: "/",
- }
- if input == nil {
- input = &GetDomainSuggestionsInput{}
- }
- req = c.newRequest(op, input, output)
- output = &GetDomainSuggestionsOutput{}
- req.Data = output
- return
- }
- // The GetDomainSuggestions operation returns a list of suggested domain names
- // given a string, which can either be a domain name or simply a word or phrase
- // (without spaces).
- //
- // Parameters: DomainName (string): The basis for your domain suggestion search,
- // a string with (or without) top-level domain specified. SuggestionCount (int):
- // The number of domain suggestions to be returned, maximum 50, minimum 1. OnlyAvailable
- // (bool): If true, availability check will be performed on suggestion results,
- // and only available domains will be returned. If false, suggestions will be
- // returned without checking whether the domain is actually available, and caller
- // will have to call checkDomainAvailability for each suggestion to determine
- // availability for registration.
- func (c *Route53Domains) GetDomainSuggestions(input *GetDomainSuggestionsInput) (*GetDomainSuggestionsOutput, error) {
- req, out := c.GetDomainSuggestionsRequest(input)
- err := req.Send()
- return out, err
- }
- const opGetOperationDetail = "GetOperationDetail"
- // GetOperationDetailRequest generates a "aws/request.Request" representing the
- // client's request for the GetOperationDetail operation. The "output" return
- // value can be used to capture response data after the request's "Send" method
- // is called.
- //
- // Creating a request object using this method should be used when you want to inject
- // custom logic into the request's lifecycle using a custom handler, or if you want to
- // access properties on the request object before or after sending the request. If
- // you just want the service response, call the GetOperationDetail method directly
- // instead.
- //
- // Note: You must call the "Send" method on the returned request object in order
- // to execute the request.
- //
- // // Example sending a request using the GetOperationDetailRequest method.
- // req, resp := client.GetOperationDetailRequest(params)
- //
- // err := req.Send()
- // if err == nil { // resp is now filled
- // fmt.Println(resp)
- // }
- //
- func (c *Route53Domains) GetOperationDetailRequest(input *GetOperationDetailInput) (req *request.Request, output *GetOperationDetailOutput) {
- op := &request.Operation{
- Name: opGetOperationDetail,
- HTTPMethod: "POST",
- HTTPPath: "/",
- }
- if input == nil {
- input = &GetOperationDetailInput{}
- }
- req = c.newRequest(op, input, output)
- output = &GetOperationDetailOutput{}
- req.Data = output
- return
- }
- // This operation returns the current status of an operation that is not completed.
- func (c *Route53Domains) GetOperationDetail(input *GetOperationDetailInput) (*GetOperationDetailOutput, error) {
- req, out := c.GetOperationDetailRequest(input)
- err := req.Send()
- return out, err
- }
- const opListDomains = "ListDomains"
- // ListDomainsRequest generates a "aws/request.Request" representing the
- // client's request for the ListDomains operation. The "output" return
- // value can be used to capture response data after the request's "Send" method
- // is called.
- //
- // Creating a request object using this method should be used when you want to inject
- // custom logic into the request's lifecycle using a custom handler, or if you want to
- // access properties on the request object before or after sending the request. If
- // you just want the service response, call the ListDomains method directly
- // instead.
- //
- // Note: You must call the "Send" method on the returned request object in order
- // to execute the request.
- //
- // // Example sending a request using the ListDomainsRequest method.
- // req, resp := client.ListDomainsRequest(params)
- //
- // err := req.Send()
- // if err == nil { // resp is now filled
- // fmt.Println(resp)
- // }
- //
- func (c *Route53Domains) ListDomainsRequest(input *ListDomainsInput) (req *request.Request, output *ListDomainsOutput) {
- op := &request.Operation{
- Name: opListDomains,
- HTTPMethod: "POST",
- HTTPPath: "/",
- Paginator: &request.Paginator{
- InputTokens: []string{"Marker"},
- OutputTokens: []string{"NextPageMarker"},
- LimitToken: "MaxItems",
- TruncationToken: "",
- },
- }
- if input == nil {
- input = &ListDomainsInput{}
- }
- req = c.newRequest(op, input, output)
- output = &ListDomainsOutput{}
- req.Data = output
- return
- }
- // This operation returns all the domain names registered with Amazon Route
- // 53 for the current AWS account.
- func (c *Route53Domains) ListDomains(input *ListDomainsInput) (*ListDomainsOutput, error) {
- req, out := c.ListDomainsRequest(input)
- err := req.Send()
- return out, err
- }
- // ListDomainsPages iterates over the pages of a ListDomains operation,
- // calling the "fn" function with the response data for each page. To stop
- // iterating, return false from the fn function.
- //
- // See ListDomains method for more information on how to use this operation.
- //
- // Note: This operation can generate multiple requests to a service.
- //
- // // Example iterating over at most 3 pages of a ListDomains operation.
- // pageNum := 0
- // err := client.ListDomainsPages(params,
- // func(page *ListDomainsOutput, lastPage bool) bool {
- // pageNum++
- // fmt.Println(page)
- // return pageNum <= 3
- // })
- //
- func (c *Route53Domains) ListDomainsPages(input *ListDomainsInput, fn func(p *ListDomainsOutput, lastPage bool) (shouldContinue bool)) error {
- page, _ := c.ListDomainsRequest(input)
- page.Handlers.Build.PushBack(request.MakeAddToUserAgentFreeFormHandler("Paginator"))
- return page.EachPage(func(p interface{}, lastPage bool) bool {
- return fn(p.(*ListDomainsOutput), lastPage)
- })
- }
- const opListOperations = "ListOperations"
- // ListOperationsRequest generates a "aws/request.Request" representing the
- // client's request for the ListOperations operation. The "output" return
- // value can be used to capture response data after the request's "Send" method
- // is called.
- //
- // Creating a request object using this method should be used when you want to inject
- // custom logic into the request's lifecycle using a custom handler, or if you want to
- // access properties on the request object before or after sending the request. If
- // you just want the service response, call the ListOperations method directly
- // instead.
- //
- // Note: You must call the "Send" method on the returned request object in order
- // to execute the request.
- //
- // // Example sending a request using the ListOperationsRequest method.
- // req, resp := client.ListOperationsRequest(params)
- //
- // err := req.Send()
- // if err == nil { // resp is now filled
- // fmt.Println(resp)
- // }
- //
- func (c *Route53Domains) ListOperationsRequest(input *ListOperationsInput) (req *request.Request, output *ListOperationsOutput) {
- op := &request.Operation{
- Name: opListOperations,
- HTTPMethod: "POST",
- HTTPPath: "/",
- Paginator: &request.Paginator{
- InputTokens: []string{"Marker"},
- OutputTokens: []string{"NextPageMarker"},
- LimitToken: "MaxItems",
- TruncationToken: "",
- },
- }
- if input == nil {
- input = &ListOperationsInput{}
- }
- req = c.newRequest(op, input, output)
- output = &ListOperationsOutput{}
- req.Data = output
- return
- }
- // This operation returns the operation IDs of operations that are not yet complete.
- func (c *Route53Domains) ListOperations(input *ListOperationsInput) (*ListOperationsOutput, error) {
- req, out := c.ListOperationsRequest(input)
- err := req.Send()
- return out, err
- }
- // ListOperationsPages iterates over the pages of a ListOperations operation,
- // calling the "fn" function with the response data for each page. To stop
- // iterating, return false from the fn function.
- //
- // See ListOperations method for more information on how to use this operation.
- //
- // Note: This operation can generate multiple requests to a service.
- //
- // // Example iterating over at most 3 pages of a ListOperations operation.
- // pageNum := 0
- // err := client.ListOperationsPages(params,
- // func(page *ListOperationsOutput, lastPage bool) bool {
- // pageNum++
- // fmt.Println(page)
- // return pageNum <= 3
- // })
- //
- func (c *Route53Domains) ListOperationsPages(input *ListOperationsInput, fn func(p *ListOperationsOutput, lastPage bool) (shouldContinue bool)) error {
- page, _ := c.ListOperationsRequest(input)
- page.Handlers.Build.PushBack(request.MakeAddToUserAgentFreeFormHandler("Paginator"))
- return page.EachPage(func(p interface{}, lastPage bool) bool {
- return fn(p.(*ListOperationsOutput), lastPage)
- })
- }
- const opListTagsForDomain = "ListTagsForDomain"
- // ListTagsForDomainRequest generates a "aws/request.Request" representing the
- // client's request for the ListTagsForDomain operation. The "output" return
- // value can be used to capture response data after the request's "Send" method
- // is called.
- //
- // Creating a request object using this method should be used when you want to inject
- // custom logic into the request's lifecycle using a custom handler, or if you want to
- // access properties on the request object before or after sending the request. If
- // you just want the service response, call the ListTagsForDomain method directly
- // instead.
- //
- // Note: You must call the "Send" method on the returned request object in order
- // to execute the request.
- //
- // // Example sending a request using the ListTagsForDomainRequest method.
- // req, resp := client.ListTagsForDomainRequest(params)
- //
- // err := req.Send()
- // if err == nil { // resp is now filled
- // fmt.Println(resp)
- // }
- //
- func (c *Route53Domains) ListTagsForDomainRequest(input *ListTagsForDomainInput) (req *request.Request, output *ListTagsForDomainOutput) {
- op := &request.Operation{
- Name: opListTagsForDomain,
- HTTPMethod: "POST",
- HTTPPath: "/",
- }
- if input == nil {
- input = &ListTagsForDomainInput{}
- }
- req = c.newRequest(op, input, output)
- output = &ListTagsForDomainOutput{}
- req.Data = output
- return
- }
- // This operation returns all of the tags that are associated with the specified
- // domain.
- //
- // All tag operations are eventually consistent; subsequent operations may
- // not immediately represent all issued operations.
- func (c *Route53Domains) ListTagsForDomain(input *ListTagsForDomainInput) (*ListTagsForDomainOutput, error) {
- req, out := c.ListTagsForDomainRequest(input)
- err := req.Send()
- return out, err
- }
- const opRegisterDomain = "RegisterDomain"
- // RegisterDomainRequest generates a "aws/request.Request" representing the
- // client's request for the RegisterDomain operation. The "output" return
- // value can be used to capture response data after the request's "Send" method
- // is called.
- //
- // Creating a request object using this method should be used when you want to inject
- // custom logic into the request's lifecycle using a custom handler, or if you want to
- // access properties on the request object before or after sending the request. If
- // you just want the service response, call the RegisterDomain method directly
- // instead.
- //
- // Note: You must call the "Send" method on the returned request object in order
- // to execute the request.
- //
- // // Example sending a request using the RegisterDomainRequest method.
- // req, resp := client.RegisterDomainRequest(params)
- //
- // err := req.Send()
- // if err == nil { // resp is now filled
- // fmt.Println(resp)
- // }
- //
- func (c *Route53Domains) RegisterDomainRequest(input *RegisterDomainInput) (req *request.Request, output *RegisterDomainOutput) {
- op := &request.Operation{
- Name: opRegisterDomain,
- HTTPMethod: "POST",
- HTTPPath: "/",
- }
- if input == nil {
- input = &RegisterDomainInput{}
- }
- req = c.newRequest(op, input, output)
- output = &RegisterDomainOutput{}
- req.Data = output
- return
- }
- // This operation registers a domain. Domains are registered by the AWS registrar
- // partner, Gandi. For some top-level domains (TLDs), this operation requires
- // extra parameters.
- //
- // When you register a domain, Amazon Route 53 does the following:
- //
- // Creates a Amazon Route 53 hosted zone that has the same name as the domain.
- // Amazon Route 53 assigns four name servers to your hosted zone and automatically
- // updates your domain registration with the names of these name servers. Enables
- // autorenew, so your domain registration will renew automatically each year.
- // We'll notify you in advance of the renewal date so you can choose whether
- // to renew the registration. Optionally enables privacy protection, so WHOIS
- // queries return contact information for our registrar partner, Gandi, instead
- // of the information you entered for registrant, admin, and tech contacts.
- // If registration is successful, returns an operation ID that you can use to
- // track the progress and completion of the action. If the request is not completed
- // successfully, the domain registrant is notified by email. Charges your AWS
- // account an amount based on the top-level domain. For more information, see
- // Amazon Route 53 Pricing (http://aws.amazon.com/route53/pricing/).
- func (c *Route53Domains) RegisterDomain(input *RegisterDomainInput) (*RegisterDomainOutput, error) {
- req, out := c.RegisterDomainRequest(input)
- err := req.Send()
- return out, err
- }
- const opRenewDomain = "RenewDomain"
- // RenewDomainRequest generates a "aws/request.Request" representing the
- // client's request for the RenewDomain operation. The "output" return
- // value can be used to capture response data after the request's "Send" method
- // is called.
- //
- // Creating a request object using this method should be used when you want to inject
- // custom logic into the request's lifecycle using a custom handler, or if you want to
- // access properties on the request object before or after sending the request. If
- // you just want the service response, call the RenewDomain method directly
- // instead.
- //
- // Note: You must call the "Send" method on the returned request object in order
- // to execute the request.
- //
- // // Example sending a request using the RenewDomainRequest method.
- // req, resp := client.RenewDomainRequest(params)
- //
- // err := req.Send()
- // if err == nil { // resp is now filled
- // fmt.Println(resp)
- // }
- //
- func (c *Route53Domains) RenewDomainRequest(input *RenewDomainInput) (req *request.Request, output *RenewDomainOutput) {
- op := &request.Operation{
- Name: opRenewDomain,
- HTTPMethod: "POST",
- HTTPPath: "/",
- }
- if input == nil {
- input = &RenewDomainInput{}
- }
- req = c.newRequest(op, input, output)
- output = &RenewDomainOutput{}
- req.Data = output
- return
- }
- // This operation renews a domain for the specified number of years. The cost
- // of renewing your domain is billed to your AWS account.
- //
- // We recommend that you renew your domain several weeks before the expiration
- // date. Some TLD registries delete domains before the expiration date if you
- // haven't renewed far enough in advance. For more information about renewing
- // domain registration, see Renewing Registration for a Domain (http://docs.aws.amazon.com/console/route53/domain-renew)
- // in the Amazon Route 53 documentation.
- func (c *Route53Domains) RenewDomain(input *RenewDomainInput) (*RenewDomainOutput, error) {
- req, out := c.RenewDomainRequest(input)
- err := req.Send()
- return out, err
- }
- const opResendContactReachabilityEmail = "ResendContactReachabilityEmail"
- // ResendContactReachabilityEmailRequest generates a "aws/request.Request" representing the
- // client's request for the ResendContactReachabilityEmail operation. The "output" return
- // value can be used to capture response data after the request's "Send" method
- // is called.
- //
- // Creating a request object using this method should be used when you want to inject
- // custom logic into the request's lifecycle using a custom handler, or if you want to
- // access properties on the request object before or after sending the request. If
- // you just want the service response, call the ResendContactReachabilityEmail method directly
- // instead.
- //
- // Note: You must call the "Send" method on the returned request object in order
- // to execute the request.
- //
- // // Example sending a request using the ResendContactReachabilityEmailRequest method.
- // req, resp := client.ResendContactReachabilityEmailRequest(params)
- //
- // err := req.Send()
- // if err == nil { // resp is now filled
- // fmt.Println(resp)
- // }
- //
- func (c *Route53Domains) ResendContactReachabilityEmailRequest(input *ResendContactReachabilityEmailInput) (req *request.Request, output *ResendContactReachabilityEmailOutput) {
- op := &request.Operation{
- Name: opResendContactReachabilityEmail,
- HTTPMethod: "POST",
- HTTPPath: "/",
- }
- if input == nil {
- input = &ResendContactReachabilityEmailInput{}
- }
- req = c.newRequest(op, input, output)
- output = &ResendContactReachabilityEmailOutput{}
- req.Data = output
- return
- }
- // For operations that require confirmation that the email address for the registrant
- // contact is valid, such as registering a new domain, this operation resends
- // the confirmation email to the current email address for the registrant contact.
- func (c *Route53Domains) ResendContactReachabilityEmail(input *ResendContactReachabilityEmailInput) (*ResendContactReachabilityEmailOutput, error) {
- req, out := c.ResendContactReachabilityEmailRequest(input)
- err := req.Send()
- return out, err
- }
- const opRetrieveDomainAuthCode = "RetrieveDomainAuthCode"
- // RetrieveDomainAuthCodeRequest generates a "aws/request.Request" representing the
- // client's request for the RetrieveDomainAuthCode operation. The "output" return
- // value can be used to capture response data after the request's "Send" method
- // is called.
- //
- // Creating a request object using this method should be used when you want to inject
- // custom logic into the request's lifecycle using a custom handler, or if you want to
- // access properties on the request object before or after sending the request. If
- // you just want the service response, call the RetrieveDomainAuthCode method directly
- // instead.
- //
- // Note: You must call the "Send" method on the returned request object in order
- // to execute the request.
- //
- // // Example sending a request using the RetrieveDomainAuthCodeRequest method.
- // req, resp := client.RetrieveDomainAuthCodeRequest(params)
- //
- // err := req.Send()
- // if err == nil { // resp is now filled
- // fmt.Println(resp)
- // }
- //
- func (c *Route53Domains) RetrieveDomainAuthCodeRequest(input *RetrieveDomainAuthCodeInput) (req *request.Request, output *RetrieveDomainAuthCodeOutput) {
- op := &request.Operation{
- Name: opRetrieveDomainAuthCode,
- HTTPMethod: "POST",
- HTTPPath: "/",
- }
- if input == nil {
- input = &RetrieveDomainAuthCodeInput{}
- }
- req = c.newRequest(op, input, output)
- output = &RetrieveDomainAuthCodeOutput{}
- req.Data = output
- return
- }
- // This operation returns the AuthCode for the domain. To transfer a domain
- // to another registrar, you provide this value to the new registrar.
- func (c *Route53Domains) RetrieveDomainAuthCode(input *RetrieveDomainAuthCodeInput) (*RetrieveDomainAuthCodeOutput, error) {
- req, out := c.RetrieveDomainAuthCodeRequest(input)
- err := req.Send()
- return out, err
- }
- const opTransferDomain = "TransferDomain"
- // TransferDomainRequest generates a "aws/request.Request" representing the
- // client's request for the TransferDomain operation. The "output" return
- // value can be used to capture response data after the request's "Send" method
- // is called.
- //
- // Creating a request object using this method should be used when you want to inject
- // custom logic into the request's lifecycle using a custom handler, or if you want to
- // access properties on the request object before or after sending the request. If
- // you just want the service response, call the TransferDomain method directly
- // instead.
- //
- // Note: You must call the "Send" method on the returned request object in order
- // to execute the request.
- //
- // // Example sending a request using the TransferDomainRequest method.
- // req, resp := client.TransferDomainRequest(params)
- //
- // err := req.Send()
- // if err == nil { // resp is now filled
- // fmt.Println(resp)
- // }
- //
- func (c *Route53Domains) TransferDomainRequest(input *TransferDomainInput) (req *request.Request, output *TransferDomainOutput) {
- op := &request.Operation{
- Name: opTransferDomain,
- HTTPMethod: "POST",
- HTTPPath: "/",
- }
- if input == nil {
- input = &TransferDomainInput{}
- }
- req = c.newRequest(op, input, output)
- output = &TransferDomainOutput{}
- req.Data = output
- return
- }
- // This operation transfers a domain from another registrar to Amazon Route
- // 53. When the transfer is complete, the domain is registered with the AWS
- // registrar partner, Gandi.
- //
- // For transfer requirements, a detailed procedure, and information about viewing
- // the status of a domain transfer, see Transferring Registration for a Domain
- // to Amazon Route 53 (http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/domain-transfer-to-route-53.html)
- // in the Amazon Route 53 Developer Guide.
- //
- // If the registrar for your domain is also the DNS service provider for the
- // domain, we highly recommend that you consider transferring your DNS service
- // to Amazon Route 53 or to another DNS service provider before you transfer
- // your registration. Some registrars provide free DNS service when you purchase
- // a domain registration. When you transfer the registration, the previous registrar
- // will not renew your domain registration and could end your DNS service at
- // any time.
- //
- // Caution! If the registrar for your domain is also the DNS service provider
- // for the domain and you don't transfer DNS service to another provider, your
- // website, email, and the web applications associated with the domain might
- // become unavailable. If the transfer is successful, this method returns an
- // operation ID that you can use to track the progress and completion of the
- // action. If the transfer doesn't complete successfully, the domain registrant
- // will be notified by email.
- func (c *Route53Domains) TransferDomain(input *TransferDomainInput) (*TransferDomainOutput, error) {
- req, out := c.TransferDomainRequest(input)
- err := req.Send()
- return out, err
- }
- const opUpdateDomainContact = "UpdateDomainContact"
- // UpdateDomainContactRequest generates a "aws/request.Request" representing the
- // client's request for the UpdateDomainContact operation. The "output" return
- // value can be used to capture response data after the request's "Send" method
- // is called.
- //
- // Creating a request object using this method should be used when you want to inject
- // custom logic into the request's lifecycle using a custom handler, or if you want to
- // access properties on the request object before or after sending the request. If
- // you just want the service response, call the UpdateDomainContact method directly
- // instead.
- //
- // Note: You must call the "Send" method on the returned request object in order
- // to execute the request.
- //
- // // Example sending a request using the UpdateDomainContactRequest method.
- // req, resp := client.UpdateDomainContactRequest(params)
- //
- // err := req.Send()
- // if err == nil { // resp is now filled
- // fmt.Println(resp)
- // }
- //
- func (c *Route53Domains) UpdateDomainContactRequest(input *UpdateDomainContactInput) (req *request.Request, output *UpdateDomainContactOutput) {
- op := &request.Operation{
- Name: opUpdateDomainContact,
- HTTPMethod: "POST",
- HTTPPath: "/",
- }
- if input == nil {
- input = &UpdateDomainContactInput{}
- }
- req = c.newRequest(op, input, output)
- output = &UpdateDomainContactOutput{}
- req.Data = output
- return
- }
- // This operation updates the contact information for a particular domain. Information
- // for at least one contact (registrant, administrator, or technical) must be
- // supplied for update.
- //
- // If the update is successful, this method returns an operation ID that you
- // can use to track the progress and completion of the action. If the request
- // is not completed successfully, the domain registrant will be notified by
- // email.
- func (c *Route53Domains) UpdateDomainContact(input *UpdateDomainContactInput) (*UpdateDomainContactOutput, error) {
- req, out := c.UpdateDomainContactRequest(input)
- err := req.Send()
- return out, err
- }
- const opUpdateDomainContactPrivacy = "UpdateDomainContactPrivacy"
- // UpdateDomainContactPrivacyRequest generates a "aws/request.Request" representing the
- // client's request for the UpdateDomainContactPrivacy operation. The "output" return
- // value can be used to capture response data after the request's "Send" method
- // is called.
- //
- // Creating a request object using this method should be used when you want to inject
- // custom logic into the request's lifecycle using a custom handler, or if you want to
- // access properties on the request object before or after sending the request. If
- // you just want the service response, call the UpdateDomainContactPrivacy method directly
- // instead.
- //
- // Note: You must call the "Send" method on the returned request object in order
- // to execute the request.
- //
- // // Example sending a request using the UpdateDomainContactPrivacyRequest method.
- // req, resp := client.UpdateDomainContactPrivacyRequest(params)
- //
- // err := req.Send()
- // if err == nil { // resp is now filled
- // fmt.Println(resp)
- // }
- //
- func (c *Route53Domains) UpdateDomainContactPrivacyRequest(input *UpdateDomainContactPrivacyInput) (req *request.Request, output *UpdateDomainContactPrivacyOutput) {
- op := &request.Operation{
- Name: opUpdateDomainContactPrivacy,
- HTTPMethod: "POST",
- HTTPPath: "/",
- }
- if input == nil {
- input = &UpdateDomainContactPrivacyInput{}
- }
- req = c.newRequest(op, input, output)
- output = &UpdateDomainContactPrivacyOutput{}
- req.Data = output
- return
- }
- // This operation updates the specified domain contact's privacy setting. When
- // the privacy option is enabled, personal information such as postal or email
- // address is hidden from the results of a public WHOIS query. The privacy services
- // are provided by the AWS registrar, Gandi. For more information, see the Gandi
- // privacy features (http://www.gandi.net/domain/whois/?currency=USD&lang=en).
- //
- // This operation only affects the privacy of the specified contact type (registrant,
- // administrator, or tech). Successful acceptance returns an operation ID that
- // you can use with GetOperationDetail to track the progress and completion
- // of the action. If the request is not completed successfully, the domain registrant
- // will be notified by email.
- func (c *Route53Domains) UpdateDomainContactPrivacy(input *UpdateDomainContactPrivacyInput) (*UpdateDomainContactPrivacyOutput, error) {
- req, out := c.UpdateDomainContactPrivacyRequest(input)
- err := req.Send()
- return out, err
- }
- const opUpdateDomainNameservers = "UpdateDomainNameservers"
- // UpdateDomainNameserversRequest generates a "aws/request.Request" representing the
- // client's request for the UpdateDomainNameservers operation. The "output" return
- // value can be used to capture response data after the request's "Send" method
- // is called.
- //
- // Creating a request object using this method should be used when you want to inject
- // custom logic into the request's lifecycle using a custom handler, or if you want to
- // access properties on the request object before or after sending the request. If
- // you just want the service response, call the UpdateDomainNameservers method directly
- // instead.
- //
- // Note: You must call the "Send" method on the returned request object in order
- // to execute the request.
- //
- // // Example sending a request using the UpdateDomainNameserversRequest method.
- // req, resp := client.UpdateDomainNameserversRequest(params)
- //
- // err := req.Send()
- // if err == nil { // resp is now filled
- // fmt.Println(resp)
- // }
- //
- func (c *Route53Domains) UpdateDomainNameserversRequest(input *UpdateDomainNameserversInput) (req *request.Request, output *UpdateDomainNameserversOutput) {
- op := &request.Operation{
- Name: opUpdateDomainNameservers,
- HTTPMethod: "POST",
- HTTPPath: "/",
- }
- if input == nil {
- input = &UpdateDomainNameserversInput{}
- }
- req = c.newRequest(op, input, output)
- output = &UpdateDomainNameserversOutput{}
- req.Data = output
- return
- }
- // This operation replaces the current set of name servers for the domain with
- // the specified set of name servers. If you use Amazon Route 53 as your DNS
- // service, specify the four name servers in the delegation set for the hosted
- // zone for the domain.
- //
- // If successful, this operation returns an operation ID that you can use to
- // track the progress and completion of the action. If the request is not completed
- // successfully, the domain registrant will be notified by email.
- func (c *Route53Domains) UpdateDomainNameservers(input *UpdateDomainNameserversInput) (*UpdateDomainNameserversOutput, error) {
- req, out := c.UpdateDomainNameserversRequest(input)
- err := req.Send()
- return out, err
- }
- const opUpdateTagsForDomain = "UpdateTagsForDomain"
- // UpdateTagsForDomainRequest generates a "aws/request.Request" representing the
- // client's request for the UpdateTagsForDomain operation. The "output" return
- // value can be used to capture response data after the request's "Send" method
- // is called.
- //
- // Creating a request object using this method should be used when you want to inject
- // custom logic into the request's lifecycle using a custom handler, or if you want to
- // access properties on the request object before or after sending the request. If
- // you just want the service response, call the UpdateTagsForDomain method directly
- // instead.
- //
- // Note: You must call the "Send" method on the returned request object in order
- // to execute the request.
- //
- // // Example sending a request using the UpdateTagsForDomainRequest method.
- // req, resp := client.UpdateTagsForDomainRequest(params)
- //
- // err := req.Send()
- // if err == nil { // resp is now filled
- // fmt.Println(resp)
- // }
- //
- func (c *Route53Domains) UpdateTagsForDomainRequest(input *UpdateTagsForDomainInput) (req *request.Request, output *UpdateTagsForDomainOutput) {
- op := &request.Operation{
- Name: opUpdateTagsForDomain,
- HTTPMethod: "POST",
- HTTPPath: "/",
- }
- if input == nil {
- input = &UpdateTagsForDomainInput{}
- }
- req = c.newRequest(op, input, output)
- output = &UpdateTagsForDomainOutput{}
- req.Data = output
- return
- }
- // This operation adds or updates tags for a specified domain.
- //
- // All tag operations are eventually consistent; subsequent operations may
- // not immediately represent all issued operations.
- func (c *Route53Domains) UpdateTagsForDomain(input *UpdateTagsForDomainInput) (*UpdateTagsForDomainOutput, error) {
- req, out := c.UpdateTagsForDomainRequest(input)
- err := req.Send()
- return out, err
- }
- const opViewBilling = "ViewBilling"
- // ViewBillingRequest generates a "aws/request.Request" representing the
- // client's request for the ViewBilling operation. The "output" return
- // value can be used to capture response data after the request's "Send" method
- // is called.
- //
- // Creating a request object using this method should be used when you want to inject
- // custom logic into the request's lifecycle using a custom handler, or if you want to
- // access properties on the request object before or after sending the request. If
- // you just want the service response, call the ViewBilling method directly
- // instead.
- //
- // Note: You must call the "Send" method on the returned request object in order
- // to execute the request.
- //
- // // Example sending a request using the ViewBillingRequest method.
- // req, resp := client.ViewBillingRequest(params)
- //
- // err := req.Send()
- // if err == nil { // resp is now filled
- // fmt.Println(resp)
- // }
- //
- func (c *Route53Domains) ViewBillingRequest(input *ViewBillingInput) (req *request.Request, output *ViewBillingOutput) {
- op := &request.Operation{
- Name: opViewBilling,
- HTTPMethod: "POST",
- HTTPPath: "/",
- }
- if input == nil {
- input = &ViewBillingInput{}
- }
- req = c.newRequest(op, input, output)
- output = &ViewBillingOutput{}
- req.Data = output
- return
- }
- // This operation returns all the domain-related billing records for the current
- // AWS account for a specified period
- func (c *Route53Domains) ViewBilling(input *ViewBillingInput) (*ViewBillingOutput, error) {
- req, out := c.ViewBillingRequest(input)
- err := req.Send()
- return out, err
- }
- type BillingRecord struct {
- _ struct{} `type:"structure"`
- // The date that the operation was billed, in Unix format.
- //
- // Type: Double
- BillDate *time.Time `type:"timestamp" timestampFormat:"unix"`
- // The name of a domain.
- //
- // Type: String
- DomainName *string `type:"string"`
- // The ID of the invoice that is associated with the billing record.
- //
- // Type: String
- InvoiceId *string `type:"string"`
- // The operation that you were charged for.
- //
- // Type: String
- //
- // Valid values: REGISTER_DOMAIN TRANSFER_IN_DOMAIN RENEW_DOMAIN CHANGE_DOMAIN_OWNER
- Operation *string `type:"string" enum:"OperationType"`
- // The price that you were charged for the operation, in US dollars.
- //
- // Type: Double
- //
- // Example value: 12.0
- Price *float64 `type:"double"`
- }
- // String returns the string representation
- func (s BillingRecord) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s BillingRecord) GoString() string {
- return s.String()
- }
- // The CheckDomainAvailability request contains the following elements.
- type CheckDomainAvailabilityInput struct {
- _ struct{} `type:"structure"`
- // The name of a domain.
- //
- // Type: String
- //
- // Default: None
- //
- // Constraints: The domain name can contain only the letters a through z, the
- // numbers 0 through 9, and hyphen (-). Internationalized Domain Names are not
- // supported.
- //
- // Required: Yes
- DomainName *string `type:"string" required:"true"`
- // Reserved for future use.
- IdnLangCode *string `type:"string"`
- }
- // String returns the string representation
- func (s CheckDomainAvailabilityInput) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s CheckDomainAvailabilityInput) GoString() string {
- return s.String()
- }
- // Validate inspects the fields of the type to determine if they are valid.
- func (s *CheckDomainAvailabilityInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "CheckDomainAvailabilityInput"}
- if s.DomainName == nil {
- invalidParams.Add(request.NewErrParamRequired("DomainName"))
- }
- if invalidParams.Len() > 0 {
- return invalidParams
- }
- return nil
- }
- // The CheckDomainAvailability response includes the following elements.
- type CheckDomainAvailabilityOutput struct {
- _ struct{} `type:"structure"`
- // Whether the domain name is available for registering.
- //
- // You can only register domains designated as AVAILABLE.
- //
- // Type: String
- //
- // Valid values:
- //
- // AVAILABLE – The domain name is available. AVAILABLE_RESERVED – The domain
- // name is reserved under specific conditions. AVAILABLE_PREORDER – The domain
- // name is available and can be preordered. UNAVAILABLE – The domain name is
- // not available. UNAVAILABLE_PREMIUM – The domain name is not available. UNAVAILABLE_RESTRICTED
- // – The domain name is forbidden. RESERVED – The domain name has been reserved
- // for another person or organization. DONT_KNOW – The TLD registry didn't reply
- // with a definitive answer about whether the domain name is available. Amazon
- // Route 53 can return this response for a variety of reasons, for example,
- // the registry is performing maintenance. Try again later.
- Availability *string `type:"string" required:"true" enum:"DomainAvailability"`
- }
- // String returns the string representation
- func (s CheckDomainAvailabilityOutput) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s CheckDomainAvailabilityOutput) GoString() string {
- return s.String()
- }
- // ContactDetail includes the following elements.
- type ContactDetail struct {
- _ struct{} `type:"structure"`
- // First line of the contact's address.
- //
- // Type: String
- //
- // Default: None
- //
- // Constraints: Maximum 255 characters.
- //
- // Parents: RegistrantContact, AdminContact, TechContact
- //
- // Required: Yes
- AddressLine1 *string `type:"string"`
- // Second line of contact's address, if any.
- //
- // Type: String
- //
- // Default: None
- //
- // Constraints: Maximum 255 characters.
- //
- // Parents: RegistrantContact, AdminContact, TechContact
- //
- // Required: No
- AddressLine2 *string `type:"string"`
- // The city of the contact's address.
- //
- // Type: String
- //
- // Default: None
- //
- // Constraints: Maximum 255 characters.
- //
- // Parents: RegistrantContact, AdminContact, TechContact
- //
- // Required: Yes
- City *string `type:"string"`
- // Indicates whether the contact is a person, company, association, or public
- // organization. If you choose an option other than PERSON, you must enter an
- // organization name, and you can't enable privacy protection for the contact.
- //
- // Type: String
- //
- // Default: None
- //
- // Constraints: Maximum 255 characters.
- //
- // Valid values: PERSON | COMPANY | ASSOCIATION | PUBLIC_BODY
- //
- // Parents: RegistrantContact, AdminContact, TechContact
- //
- // Required: Yes
- ContactType *string `type:"string" enum:"ContactType"`
- // Code for the country of the contact's address.
- //
- // Type: String
- //
- // Default: None
- //
- // Constraints: Maximum 255 characters.
- //
- // Parents: RegistrantContact, AdminContact, TechContact
- //
- // Required: Yes
- CountryCode *string `type:"string" enum:"CountryCode"`
- // Email address of the contact.
- //
- // Type: String
- //
- // Default: None
- //
- // Constraints: Maximum 254 characters.
- //
- // Parents: RegistrantContact, AdminContact, TechContact
- //
- // Required: Yes
- Email *string `type:"string"`
- // A list of name-value pairs for parameters required by certain top-level domains.
- //
- // Type: Complex
- //
- // Default: None
- //
- // Parents: RegistrantContact, AdminContact, TechContact
- //
- // Children: Name, Value
- //
- // Required: No
- ExtraParams []*ExtraParam `type:"list"`
- // Fax number of the contact.
- //
- // Type: String
- //
- // Default: None
- //
- // Constraints: Phone number must be specified in the format "+[country dialing
- // code].[number including any area code]". For example, a US phone number might
- // appear as "+1.1234567890".
- //
- // Parents: RegistrantContact, AdminContact, TechContact
- //
- // Required: No
- Fax *string `type:"string"`
- // First name of contact.
- //
- // Type: String
- //
- // Default: None
- //
- // Constraints: Maximum 255 characters.
- //
- // Parents: RegistrantContact, AdminContact, TechContact
- //
- // Required: Yes
- FirstName *string `type:"string"`
- // Last name of contact.
- //
- // Type: String
- //
- // Default: None
- //
- // Constraints: Maximum 255 characters.
- //
- // Parents: RegistrantContact, AdminContact, TechContact
- //
- // Required: Yes
- LastName *string `type:"string"`
- // Name of the organization for contact types other than PERSON.
- //
- // Type: String
- //
- // Default: None
- //
- // Constraints: Maximum 255 characters. Contact type must not be PERSON.
- //
- // Parents: RegistrantContact, AdminContact, TechContact
- //
- // Required: No
- OrganizationName *string `type:"string"`
- // The phone number of the contact.
- //
- // Type: String
- //
- // Default: None
- //
- // Constraints: Phone number must be specified in the format "+[country dialing
- // code].[number including any area code>]". For example, a US phone number
- // might appear as "+1.1234567890".
- //
- // Parents: RegistrantContact, AdminContact, TechContact
- //
- // Required: Yes
- PhoneNumber *string `type:"string"`
- // The state or province of the contact's city.
- //
- // Type: String
- //
- // Default: None
- //
- // Constraints: Maximum 255 characters.
- //
- // Parents: RegistrantContact, AdminContact, TechContact
- //
- // Required: No
- State *string `type:"string"`
- // The zip or postal code of the contact's address.
- //
- // Type: String
- //
- // Default: None
- //
- // Constraints: Maximum 255 characters.
- //
- // Parents: RegistrantContact, AdminContact, TechContact
- //
- // Required: No
- ZipCode *string `type:"string"`
- }
- // String returns the string representation
- func (s ContactDetail) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s ContactDetail) GoString() string {
- return s.String()
- }
- // Validate inspects the fields of the type to determine if they are valid.
- func (s *ContactDetail) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "ContactDetail"}
- if s.ExtraParams != nil {
- for i, v := range s.ExtraParams {
- if v == nil {
- continue
- }
- if err := v.Validate(); err != nil {
- invalidParams.AddNested(fmt.Sprintf("%s[%v]", "ExtraParams", i), err.(request.ErrInvalidParams))
- }
- }
- }
- if invalidParams.Len() > 0 {
- return invalidParams
- }
- return nil
- }
- // The DeleteTagsForDomainRequest includes the following elements.
- type DeleteTagsForDomainInput struct {
- _ struct{} `type:"structure"`
- // The domain for which you want to delete one or more tags.
- //
- // The name of a domain.
- //
- // Type: String
- //
- // Default: None
- //
- // Constraints: The domain name can contain only the letters a through z, the
- // numbers 0 through 9, and hyphen (-). Hyphens are allowed only when they're
- // surrounded by letters, numbers, or other hyphens. You can't specify a hyphen
- // at the beginning or end of a label. To specify an Internationalized Domain
- // Name, you must convert the name to Punycode.
- //
- // Required: Yes
- DomainName *string `type:"string" required:"true"`
- // A list of tag keys to delete.
- //
- // Type: A list that contains the keys of the tags that you want to delete.
- //
- // Default: None
- //
- // Required: No
- //
- // '>
- TagsToDelete []*string `type:"list" required:"true"`
- }
- // String returns the string representation
- func (s DeleteTagsForDomainInput) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s DeleteTagsForDomainInput) GoString() string {
- return s.String()
- }
- // Validate inspects the fields of the type to determine if they are valid.
- func (s *DeleteTagsForDomainInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "DeleteTagsForDomainInput"}
- if s.DomainName == nil {
- invalidParams.Add(request.NewErrParamRequired("DomainName"))
- }
- if s.TagsToDelete == nil {
- invalidParams.Add(request.NewErrParamRequired("TagsToDelete"))
- }
- if invalidParams.Len() > 0 {
- return invalidParams
- }
- return nil
- }
- type DeleteTagsForDomainOutput struct {
- _ struct{} `type:"structure"`
- }
- // String returns the string representation
- func (s DeleteTagsForDomainOutput) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s DeleteTagsForDomainOutput) GoString() string {
- return s.String()
- }
- type DisableDomainAutoRenewInput struct {
- _ struct{} `type:"structure"`
- DomainName *string `type:"string" required:"true"`
- }
- // String returns the string representation
- func (s DisableDomainAutoRenewInput) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s DisableDomainAutoRenewInput) GoString() string {
- return s.String()
- }
- // Validate inspects the fields of the type to determine if they are valid.
- func (s *DisableDomainAutoRenewInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "DisableDomainAutoRenewInput"}
- if s.DomainName == nil {
- invalidParams.Add(request.NewErrParamRequired("DomainName"))
- }
- if invalidParams.Len() > 0 {
- return invalidParams
- }
- return nil
- }
- type DisableDomainAutoRenewOutput struct {
- _ struct{} `type:"structure"`
- }
- // String returns the string representation
- func (s DisableDomainAutoRenewOutput) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s DisableDomainAutoRenewOutput) GoString() string {
- return s.String()
- }
- // The DisableDomainTransferLock request includes the following element.
- type DisableDomainTransferLockInput struct {
- _ struct{} `type:"structure"`
- // The name of a domain.
- //
- // Type: String
- //
- // Default: None
- //
- // Constraints: The domain name can contain only the letters a through z, the
- // numbers 0 through 9, and hyphen (-). Internationalized Domain Names are not
- // supported.
- //
- // Required: Yes
- DomainName *string `type:"string" required:"true"`
- }
- // String returns the string representation
- func (s DisableDomainTransferLockInput) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s DisableDomainTransferLockInput) GoString() string {
- return s.String()
- }
- // Validate inspects the fields of the type to determine if they are valid.
- func (s *DisableDomainTransferLockInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "DisableDomainTransferLockInput"}
- if s.DomainName == nil {
- invalidParams.Add(request.NewErrParamRequired("DomainName"))
- }
- if invalidParams.Len() > 0 {
- return invalidParams
- }
- return nil
- }
- // The DisableDomainTransferLock response includes the following element.
- type DisableDomainTransferLockOutput struct {
- _ struct{} `type:"structure"`
- // Identifier for tracking the progress of the request. To use this ID to query
- // the operation status, use GetOperationDetail.
- //
- // Type: String
- //
- // Default: None
- //
- // Constraints: Maximum 255 characters.
- OperationId *string `type:"string" required:"true"`
- }
- // String returns the string representation
- func (s DisableDomainTransferLockOutput) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s DisableDomainTransferLockOutput) GoString() string {
- return s.String()
- }
- type DomainSuggestion struct {
- _ struct{} `type:"structure"`
- Availability *string `type:"string"`
- DomainName *string `type:"string"`
- }
- // String returns the string representation
- func (s DomainSuggestion) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s DomainSuggestion) GoString() string {
- return s.String()
- }
- type DomainSummary struct {
- _ struct{} `type:"structure"`
- // Indicates whether the domain is automatically renewed upon expiration.
- //
- // Type: Boolean
- //
- // Valid values: True | False
- AutoRenew *bool `type:"boolean"`
- // The name of a domain.
- //
- // Type: String
- DomainName *string `type:"string" required:"true"`
- // Expiration date of the domain in Coordinated Universal Time (UTC).
- //
- // Type: Long
- Expiry *time.Time `type:"timestamp" timestampFormat:"unix"`
- // Indicates whether a domain is locked from unauthorized transfer to another
- // party.
- //
- // Type: Boolean
- //
- // Valid values: True | False
- TransferLock *bool `type:"boolean"`
- }
- // String returns the string representation
- func (s DomainSummary) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s DomainSummary) GoString() string {
- return s.String()
- }
- type EnableDomainAutoRenewInput struct {
- _ struct{} `type:"structure"`
- DomainName *string `type:"string" required:"true"`
- }
- // String returns the string representation
- func (s EnableDomainAutoRenewInput) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s EnableDomainAutoRenewInput) GoString() string {
- return s.String()
- }
- // Validate inspects the fields of the type to determine if they are valid.
- func (s *EnableDomainAutoRenewInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "EnableDomainAutoRenewInput"}
- if s.DomainName == nil {
- invalidParams.Add(request.NewErrParamRequired("DomainName"))
- }
- if invalidParams.Len() > 0 {
- return invalidParams
- }
- return nil
- }
- type EnableDomainAutoRenewOutput struct {
- _ struct{} `type:"structure"`
- }
- // String returns the string representation
- func (s EnableDomainAutoRenewOutput) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s EnableDomainAutoRenewOutput) GoString() string {
- return s.String()
- }
- // The EnableDomainTransferLock request includes the following element.
- type EnableDomainTransferLockInput struct {
- _ struct{} `type:"structure"`
- // The name of a domain.
- //
- // Type: String
- //
- // Default: None
- //
- // Constraints: The domain name can contain only the letters a through z, the
- // numbers 0 through 9, and hyphen (-). Internationalized Domain Names are not
- // supported.
- //
- // Required: Yes
- DomainName *string `type:"string" required:"true"`
- }
- // String returns the string representation
- func (s EnableDomainTransferLockInput) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s EnableDomainTransferLockInput) GoString() string {
- return s.String()
- }
- // Validate inspects the fields of the type to determine if they are valid.
- func (s *EnableDomainTransferLockInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "EnableDomainTransferLockInput"}
- if s.DomainName == nil {
- invalidParams.Add(request.NewErrParamRequired("DomainName"))
- }
- if invalidParams.Len() > 0 {
- return invalidParams
- }
- return nil
- }
- // The EnableDomainTransferLock response includes the following elements.
- type EnableDomainTransferLockOutput struct {
- _ struct{} `type:"structure"`
- // Identifier for tracking the progress of the request. To use this ID to query
- // the operation status, use GetOperationDetail.
- //
- // Type: String
- //
- // Default: None
- //
- // Constraints: Maximum 255 characters.
- OperationId *string `type:"string" required:"true"`
- }
- // String returns the string representation
- func (s EnableDomainTransferLockOutput) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s EnableDomainTransferLockOutput) GoString() string {
- return s.String()
- }
- // ExtraParam includes the following elements.
- type ExtraParam struct {
- _ struct{} `type:"structure"`
- // Name of the additional parameter required by the top-level domain.
- //
- // Type: String
- //
- // Default: None
- //
- // Valid values: DUNS_NUMBER | BRAND_NUMBER | BIRTH_DEPARTMENT | BIRTH_DATE_IN_YYYY_MM_DD
- // | BIRTH_COUNTRY | BIRTH_CITY | DOCUMENT_NUMBER | AU_ID_NUMBER | AU_ID_TYPE
- // | CA_LEGAL_TYPE | CA_BUSINESS_ENTITY_TYPE |ES_IDENTIFICATION | ES_IDENTIFICATION_TYPE
- // | ES_LEGAL_FORM | FI_BUSINESS_NUMBER | FI_ID_NUMBER | IT_PIN | RU_PASSPORT_DATA
- // | SE_ID_NUMBER | SG_ID_NUMBER | VAT_NUMBER
- //
- // Parent: ExtraParams
- //
- // Required: Yes
- Name *string `type:"string" required:"true" enum:"ExtraParamName"`
- // Values corresponding to the additional parameter names required by some top-level
- // domains.
- //
- // Type: String
- //
- // Default: None
- //
- // Constraints: Maximum 2048 characters.
- //
- // Parent: ExtraParams
- //
- // Required: Yes
- Value *string `type:"string" required:"true"`
- }
- // String returns the string representation
- func (s ExtraParam) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s ExtraParam) GoString() string {
- return s.String()
- }
- // Validate inspects the fields of the type to determine if they are valid.
- func (s *ExtraParam) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "ExtraParam"}
- if s.Name == nil {
- invalidParams.Add(request.NewErrParamRequired("Name"))
- }
- if s.Value == nil {
- invalidParams.Add(request.NewErrParamRequired("Value"))
- }
- if invalidParams.Len() > 0 {
- return invalidParams
- }
- return nil
- }
- type GetContactReachabilityStatusInput struct {
- _ struct{} `type:"structure"`
- // The name of the domain for which you want to know whether the registrant
- // contact has confirmed that the email address is valid.
- //
- // Type: String
- //
- // Default: None
- //
- // Required: Yes
- DomainName *string `locationName:"domainName" type:"string"`
- }
- // String returns the string representation
- func (s GetContactReachabilityStatusInput) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s GetContactReachabilityStatusInput) GoString() string {
- return s.String()
- }
- type GetContactReachabilityStatusOutput struct {
- _ struct{} `type:"structure"`
- // The domain name for which you requested the reachability status.
- DomainName *string `locationName:"domainName" type:"string"`
- // Whether the registrant contact has responded. PENDING indicates that we sent
- // the confirmation email and haven't received a response yet, DONE indicates
- // that we sent the email and got confirmation from the registrant contact,
- // and EXPIRED indicates that the time limit expired before the registrant contact
- // responded.
- //
- // Type: String
- //
- // Valid values: PENDING, DONE, EXPIRED
- Status *string `locationName:"status" type:"string" enum:"ReachabilityStatus"`
- }
- // String returns the string representation
- func (s GetContactReachabilityStatusOutput) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s GetContactReachabilityStatusOutput) GoString() string {
- return s.String()
- }
- // The GetDomainDetail request includes the following element.
- type GetDomainDetailInput struct {
- _ struct{} `type:"structure"`
- // The name of a domain.
- //
- // Type: String
- //
- // Default: None
- //
- // Constraints: The domain name can contain only the letters a through z, the
- // numbers 0 through 9, and hyphen (-). Internationalized Domain Names are not
- // supported.
- //
- // Required: Yes
- DomainName *string `type:"string" required:"true"`
- }
- // String returns the string representation
- func (s GetDomainDetailInput) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s GetDomainDetailInput) GoString() string {
- return s.String()
- }
- // Validate inspects the fields of the type to determine if they are valid.
- func (s *GetDomainDetailInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "GetDomainDetailInput"}
- if s.DomainName == nil {
- invalidParams.Add(request.NewErrParamRequired("DomainName"))
- }
- if invalidParams.Len() > 0 {
- return invalidParams
- }
- return nil
- }
- // The GetDomainDetail response includes the following elements.
- type GetDomainDetailOutput struct {
- _ struct{} `type:"structure"`
- // Email address to contact to report incorrect contact information for a domain,
- // to report that the domain is being used to send spam, to report that someone
- // is cybersquatting on a domain name, or report some other type of abuse.
- //
- // Type: String
- AbuseContactEmail *string `type:"string"`
- // Phone number for reporting abuse.
- //
- // Type: String
- AbuseContactPhone *string `type:"string"`
- // Provides details about the domain administrative contact.
- //
- // Type: Complex
- //
- // Children: FirstName, MiddleName, LastName, ContactType, OrganizationName,
- // AddressLine1, AddressLine2, City, State, CountryCode, ZipCode, PhoneNumber,
- // Email, Fax, ExtraParams
- AdminContact *ContactDetail `type:"structure" required:"true"`
- // Specifies whether contact information for the admin contact is concealed
- // from WHOIS queries. If the value is true, WHOIS ("who is") queries will return
- // contact information for our registrar partner, Gandi, instead of the contact
- // information that you enter.
- //
- // Type: Boolean
- AdminPrivacy *bool `type:"boolean"`
- // Specifies whether the domain registration is set to renew automatically.
- //
- // Type: Boolean
- AutoRenew *bool `type:"boolean"`
- // The date when the domain was created as found in the response to a WHOIS
- // query. The date format is Unix time.
- CreationDate *time.Time `type:"timestamp" timestampFormat:"unix"`
- // Reserved for future use.
- DnsSec *string `type:"string"`
- // The name of a domain.
- //
- // Type: String
- DomainName *string `type:"string" required:"true"`
- // The date when the registration for the domain is set to expire. The date
- // format is Unix time.
- ExpirationDate *time.Time `type:"timestamp" timestampFormat:"unix"`
- // The name of the domain.
- //
- // Type: String
- Nameservers []*Nameserver `type:"list" required:"true"`
- // Provides details about the domain registrant.
- //
- // Type: Complex
- //
- // Children: FirstName, MiddleName, LastName, ContactType, OrganizationName,
- // AddressLine1, AddressLine2, City, State, CountryCode, ZipCode, PhoneNumber,
- // Email, Fax, ExtraParams
- RegistrantContact *ContactDetail `type:"structure" required:"true"`
- // Specifies whether contact information for the registrant contact is concealed
- // from WHOIS queries. If the value is true, WHOIS ("who is") queries will return
- // contact information for our registrar partner, Gandi, instead of the contact
- // information that you enter.
- //
- // Type: Boolean
- RegistrantPrivacy *bool `type:"boolean"`
- // Name of the registrar of the domain as identified in the registry. Amazon
- // Route 53 domains are registered by registrar Gandi. The value is "GANDI SAS".
- //
- // Type: String
- RegistrarName *string `type:"string"`
- // Web address of the registrar.
- //
- // Type: String
- RegistrarUrl *string `type:"string"`
- // Reserved for future use.
- RegistryDomainId *string `type:"string"`
- // Reseller of the domain. Domains registered or transferred using Amazon Route
- // 53 domains will have "Amazon" as the reseller.
- //
- // Type: String
- Reseller *string `type:"string"`
- // An array of domain name status codes, also known as Extensible Provisioning
- // Protocol (EPP) status codes.
- //
- // ICANN, the organization that maintains a central database of domain names,
- // has developed a set of domain name status codes that tell you the status
- // of a variety of operations on a domain name, for example, registering a domain
- // name, transferring a domain name to another registrar, renewing the registration
- // for a domain name, and so on. All registrars use this same set of status
- // codes.
- //
- // For a current list of domain name status codes and an explanation of what
- // each code means, go to the ICANN website (https://www.icann.org/) and search
- // for epp status codes. (Search on the ICANN website; web searches sometimes
- // return an old version of the document.)
- //
- // Type: Array of String
- StatusList []*string `type:"list"`
- // Provides details about the domain technical contact.
- //
- // Type: Complex
- //
- // Children: FirstName, MiddleName, LastName, ContactType, OrganizationName,
- // AddressLine1, AddressLine2, City, State, CountryCode, ZipCode, PhoneNumber,
- // Email, Fax, ExtraParams
- TechContact *ContactDetail `type:"structure" required:"true"`
- // Specifies whether contact information for the tech contact is concealed from
- // WHOIS queries. If the value is true, WHOIS ("who is") queries will return
- // contact information for our registrar partner, Gandi, instead of the contact
- // information that you enter.
- //
- // Type: Boolean
- TechPrivacy *bool `type:"boolean"`
- // The last updated date of the domain as found in the response to a WHOIS query.
- // The date format is Unix time.
- UpdatedDate *time.Time `type:"timestamp" timestampFormat:"unix"`
- // The fully qualified name of the WHOIS server that can answer the WHOIS query
- // for the domain.
- //
- // Type: String
- WhoIsServer *string `type:"string"`
- }
- // String returns the string representation
- func (s GetDomainDetailOutput) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s GetDomainDetailOutput) GoString() string {
- return s.String()
- }
- type GetDomainSuggestionsInput struct {
- _ struct{} `type:"structure"`
- DomainName *string `type:"string" required:"true"`
- OnlyAvailable *bool `type:"boolean" required:"true"`
- SuggestionCount *int64 `type:"integer" required:"true"`
- }
- // String returns the string representation
- func (s GetDomainSuggestionsInput) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s GetDomainSuggestionsInput) GoString() string {
- return s.String()
- }
- // Validate inspects the fields of the type to determine if they are valid.
- func (s *GetDomainSuggestionsInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "GetDomainSuggestionsInput"}
- if s.DomainName == nil {
- invalidParams.Add(request.NewErrParamRequired("DomainName"))
- }
- if s.OnlyAvailable == nil {
- invalidParams.Add(request.NewErrParamRequired("OnlyAvailable"))
- }
- if s.SuggestionCount == nil {
- invalidParams.Add(request.NewErrParamRequired("SuggestionCount"))
- }
- if invalidParams.Len() > 0 {
- return invalidParams
- }
- return nil
- }
- type GetDomainSuggestionsOutput struct {
- _ struct{} `type:"structure"`
- SuggestionsList []*DomainSuggestion `type:"list"`
- }
- // String returns the string representation
- func (s GetDomainSuggestionsOutput) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s GetDomainSuggestionsOutput) GoString() string {
- return s.String()
- }
- // The GetOperationDetail request includes the following element.
- type GetOperationDetailInput struct {
- _ struct{} `type:"structure"`
- // The identifier for the operation for which you want to get the status. Amazon
- // Route 53 returned the identifier in the response to the original request.
- //
- // Type: String
- //
- // Default: None
- //
- // Required: Yes
- OperationId *string `type:"string" required:"true"`
- }
- // String returns the string representation
- func (s GetOperationDetailInput) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s GetOperationDetailInput) GoString() string {
- return s.String()
- }
- // Validate inspects the fields of the type to determine if they are valid.
- func (s *GetOperationDetailInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "GetOperationDetailInput"}
- if s.OperationId == nil {
- invalidParams.Add(request.NewErrParamRequired("OperationId"))
- }
- if invalidParams.Len() > 0 {
- return invalidParams
- }
- return nil
- }
- // The GetOperationDetail response includes the following elements.
- type GetOperationDetailOutput struct {
- _ struct{} `type:"structure"`
- // The name of a domain.
- //
- // Type: String
- DomainName *string `type:"string"`
- // Detailed information on the status including possible errors.
- //
- // Type: String
- Message *string `type:"string"`
- // The identifier for the operation.
- //
- // Type: String
- OperationId *string `type:"string"`
- // The current status of the requested operation in the system.
- //
- // Type: String
- Status *string `type:"string" enum:"OperationStatus"`
- // The date when the request was submitted.
- SubmittedDate *time.Time `type:"timestamp" timestampFormat:"unix"`
- // The type of operation that was requested.
- //
- // Type: String
- Type *string `type:"string" enum:"OperationType"`
- }
- // String returns the string representation
- func (s GetOperationDetailOutput) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s GetOperationDetailOutput) GoString() string {
- return s.String()
- }
- // The ListDomains request includes the following elements.
- type ListDomainsInput struct {
- _ struct{} `type:"structure"`
- // For an initial request for a list of domains, omit this element. If the number
- // of domains that are associated with the current AWS account is greater than
- // the value that you specified for MaxItems, you can use Marker to return additional
- // domains. Get the value of NextPageMarker from the previous response, and
- // submit another request that includes the value of NextPageMarker in the Marker
- // element.
- //
- // Type: String
- //
- // Default: None
- //
- // Constraints: The marker must match the value specified in the previous request.
- //
- // Required: No
- Marker *string `type:"string"`
- // Number of domains to be returned.
- //
- // Type: Integer
- //
- // Default: 20
- //
- // Constraints: A numeral between 1 and 100.
- //
- // Required: No
- MaxItems *int64 `type:"integer"`
- }
- // String returns the string representation
- func (s ListDomainsInput) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s ListDomainsInput) GoString() string {
- return s.String()
- }
- // The ListDomains response includes the following elements.
- type ListDomainsOutput struct {
- _ struct{} `type:"structure"`
- // A summary of domains.
- //
- // Type: Complex type containing a list of domain summaries.
- //
- // Children: AutoRenew, DomainName, Expiry, TransferLock
- Domains []*DomainSummary `type:"list" required:"true"`
- // If there are more domains than you specified for MaxItems in the request,
- // submit another request and include the value of NextPageMarker in the value
- // of Marker.
- //
- // Type: String
- //
- // Parent: Operations
- NextPageMarker *string `type:"string"`
- }
- // String returns the string representation
- func (s ListDomainsOutput) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s ListDomainsOutput) GoString() string {
- return s.String()
- }
- // The ListOperations request includes the following elements.
- type ListOperationsInput struct {
- _ struct{} `type:"structure"`
- // For an initial request for a list of operations, omit this element. If the
- // number of operations that are not yet complete is greater than the value
- // that you specified for MaxItems, you can use Marker to return additional
- // operations. Get the value of NextPageMarker from the previous response, and
- // submit another request that includes the value of NextPageMarker in the Marker
- // element.
- //
- // Type: String
- //
- // Default: None
- //
- // Required: No
- Marker *string `type:"string"`
- // Number of domains to be returned.
- //
- // Type: Integer
- //
- // Default: 20
- //
- // Constraints: A value between 1 and 100.
- //
- // Required: No
- MaxItems *int64 `type:"integer"`
- }
- // String returns the string representation
- func (s ListOperationsInput) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s ListOperationsInput) GoString() string {
- return s.String()
- }
- // The ListOperations response includes the following elements.
- type ListOperationsOutput struct {
- _ struct{} `type:"structure"`
- // If there are more operations than you specified for MaxItems in the request,
- // submit another request and include the value of NextPageMarker in the value
- // of Marker.
- //
- // Type: String
- //
- // Parent: Operations
- NextPageMarker *string `type:"string"`
- // Lists summaries of the operations.
- //
- // Type: Complex type containing a list of operation summaries
- //
- // Children: OperationId, Status, SubmittedDate, Type
- Operations []*OperationSummary `type:"list" required:"true"`
- }
- // String returns the string representation
- func (s ListOperationsOutput) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s ListOperationsOutput) GoString() string {
- return s.String()
- }
- // The ListTagsForDomainRequest includes the following elements.
- type ListTagsForDomainInput struct {
- _ struct{} `type:"structure"`
- // The domain for which you want to get a list of tags.
- DomainName *string `type:"string" required:"true"`
- }
- // String returns the string representation
- func (s ListTagsForDomainInput) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s ListTagsForDomainInput) GoString() string {
- return s.String()
- }
- // Validate inspects the fields of the type to determine if they are valid.
- func (s *ListTagsForDomainInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "ListTagsForDomainInput"}
- if s.DomainName == nil {
- invalidParams.Add(request.NewErrParamRequired("DomainName"))
- }
- if invalidParams.Len() > 0 {
- return invalidParams
- }
- return nil
- }
- // The ListTagsForDomain response includes the following elements.
- type ListTagsForDomainOutput struct {
- _ struct{} `type:"structure"`
- // A list of the tags that are associated with the specified domain.
- //
- // Type: A complex type containing a list of tags
- //
- // Each tag includes the following elements.
- //
- // Key
- //
- // The key (name) of a tag.
- //
- // Type: String
- //
- // Value
- //
- // The value of a tag.
- //
- // Type: String
- TagList []*Tag `type:"list" required:"true"`
- }
- // String returns the string representation
- func (s ListTagsForDomainOutput) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s ListTagsForDomainOutput) GoString() string {
- return s.String()
- }
- // Nameserver includes the following elements.
- type Nameserver struct {
- _ struct{} `type:"structure"`
- // Glue IP address of a name server entry. Glue IP addresses are required only
- // when the name of the name server is a subdomain of the domain. For example,
- // if your domain is example.com and the name server for the domain is ns.example.com,
- // you need to specify the IP address for ns.example.com.
- //
- // Type: List of IP addresses.
- //
- // Constraints: The list can contain only one IPv4 and one IPv6 address.
- //
- // Parent: Nameservers
- GlueIps []*string `type:"list"`
- // The fully qualified host name of the name server.
- //
- // Type: String
- //
- // Constraint: Maximum 255 characterss
- //
- // Parent: Nameservers
- Name *string `type:"string" required:"true"`
- }
- // String returns the string representation
- func (s Nameserver) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s Nameserver) GoString() string {
- return s.String()
- }
- // Validate inspects the fields of the type to determine if they are valid.
- func (s *Nameserver) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "Nameserver"}
- if s.Name == nil {
- invalidParams.Add(request.NewErrParamRequired("Name"))
- }
- if invalidParams.Len() > 0 {
- return invalidParams
- }
- return nil
- }
- // OperationSummary includes the following elements.
- type OperationSummary struct {
- _ struct{} `type:"structure"`
- // Identifier returned to track the requested action.
- //
- // Type: String
- OperationId *string `type:"string" required:"true"`
- // The current status of the requested operation in the system.
- //
- // Type: String
- Status *string `type:"string" required:"true" enum:"OperationStatus"`
- // The date when the request was submitted.
- SubmittedDate *time.Time `type:"timestamp" timestampFormat:"unix" required:"true"`
- // Type of the action requested.
- //
- // Type: String
- //
- // Valid values: REGISTER_DOMAIN | DELETE_DOMAIN | TRANSFER_IN_DOMAIN | UPDATE_DOMAIN_CONTACT
- // | UPDATE_NAMESERVER | CHANGE_PRIVACY_PROTECTION | DOMAIN_LOCK
- Type *string `type:"string" required:"true" enum:"OperationType"`
- }
- // String returns the string representation
- func (s OperationSummary) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s OperationSummary) GoString() string {
- return s.String()
- }
- // The RegisterDomain request includes the following elements.
- type RegisterDomainInput struct {
- _ struct{} `type:"structure"`
- // Provides detailed contact information.
- //
- // Type: Complex
- //
- // Children: FirstName, MiddleName, LastName, ContactType, OrganizationName,
- // AddressLine1, AddressLine2, City, State, CountryCode, ZipCode, PhoneNumber,
- // Email, Fax, ExtraParams
- //
- // Required: Yes
- AdminContact *ContactDetail `type:"structure" required:"true"`
- // Indicates whether the domain will be automatically renewed (true) or not
- // (false). Autorenewal only takes effect after the account is charged.
- //
- // Type: Boolean
- //
- // Valid values: true | false
- //
- // Default: true
- //
- // Required: No
- AutoRenew *bool `type:"boolean"`
- // The name of a domain.
- //
- // Type: String
- //
- // Default: None
- //
- // Constraints: The domain name can contain only the letters a through z, the
- // numbers 0 through 9, and hyphen (-). Internationalized Domain Names are not
- // supported.
- //
- // Required: Yes
- DomainName *string `type:"string" required:"true"`
- // The number of years the domain will be registered. Domains are registered
- // for a minimum of one year. The maximum period depends on the top-level domain.
- //
- // Type: Integer
- //
- // Default: 1
- //
- // Valid values: Integer from 1 to 10
- //
- // Required: Yes
- DurationInYears *int64 `min:"1" type:"integer" required:"true"`
- // Reserved for future use.
- IdnLangCode *string `type:"string"`
- // Whether you want to conceal contact information from WHOIS queries. If you
- // specify true, WHOIS ("who is") queries will return contact information for
- // our registrar partner, Gandi, instead of the contact information that you
- // enter.
- //
- // Type: Boolean
- //
- // Default: true
- //
- // Valid values: true | false
- //
- // Required: No
- PrivacyProtectAdminContact *bool `type:"boolean"`
- // Whether you want to conceal contact information from WHOIS queries. If you
- // specify true, WHOIS ("who is") queries will return contact information for
- // our registrar partner, Gandi, instead of the contact information that you
- // enter.
- //
- // Type: Boolean
- //
- // Default: true
- //
- // Valid values: true | false
- //
- // Required: No
- PrivacyProtectRegistrantContact *bool `type:"boolean"`
- // Whether you want to conceal contact information from WHOIS queries. If you
- // specify true, WHOIS ("who is") queries will return contact information for
- // our registrar partner, Gandi, instead of the contact information that you
- // enter.
- //
- // Type: Boolean
- //
- // Default: true
- //
- // Valid values: true | false
- //
- // Required: No
- PrivacyProtectTechContact *bool `type:"boolean"`
- // Provides detailed contact information.
- //
- // Type: Complex
- //
- // Children: FirstName, MiddleName, LastName, ContactType, OrganizationName,
- // AddressLine1, AddressLine2, City, State, CountryCode, ZipCode, PhoneNumber,
- // Email, Fax, ExtraParams
- //
- // Required: Yes
- RegistrantContact *ContactDetail `type:"structure" required:"true"`
- // Provides detailed contact information.
- //
- // Type: Complex
- //
- // Children: FirstName, MiddleName, LastName, ContactType, OrganizationName,
- // AddressLine1, AddressLine2, City, State, CountryCode, ZipCode, PhoneNumber,
- // Email, Fax, ExtraParams
- //
- // Required: Yes
- TechContact *ContactDetail `type:"structure" required:"true"`
- }
- // String returns the string representation
- func (s RegisterDomainInput) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s RegisterDomainInput) GoString() string {
- return s.String()
- }
- // Validate inspects the fields of the type to determine if they are valid.
- func (s *RegisterDomainInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "RegisterDomainInput"}
- if s.AdminContact == nil {
- invalidParams.Add(request.NewErrParamRequired("AdminContact"))
- }
- if s.DomainName == nil {
- invalidParams.Add(request.NewErrParamRequired("DomainName"))
- }
- if s.DurationInYears == nil {
- invalidParams.Add(request.NewErrParamRequired("DurationInYears"))
- }
- if s.DurationInYears != nil && *s.DurationInYears < 1 {
- invalidParams.Add(request.NewErrParamMinValue("DurationInYears", 1))
- }
- if s.RegistrantContact == nil {
- invalidParams.Add(request.NewErrParamRequired("RegistrantContact"))
- }
- if s.TechContact == nil {
- invalidParams.Add(request.NewErrParamRequired("TechContact"))
- }
- if s.AdminContact != nil {
- if err := s.AdminContact.Validate(); err != nil {
- invalidParams.AddNested("AdminContact", err.(request.ErrInvalidParams))
- }
- }
- if s.RegistrantContact != nil {
- if err := s.RegistrantContact.Validate(); err != nil {
- invalidParams.AddNested("RegistrantContact", err.(request.ErrInvalidParams))
- }
- }
- if s.TechContact != nil {
- if err := s.TechContact.Validate(); err != nil {
- invalidParams.AddNested("TechContact", err.(request.ErrInvalidParams))
- }
- }
- if invalidParams.Len() > 0 {
- return invalidParams
- }
- return nil
- }
- // The RegisterDomain response includes the following element.
- type RegisterDomainOutput struct {
- _ struct{} `type:"structure"`
- // Identifier for tracking the progress of the request. To use this ID to query
- // the operation status, use GetOperationDetail.
- //
- // Type: String
- //
- // Default: None
- //
- // Constraints: Maximum 255 characters.
- OperationId *string `type:"string" required:"true"`
- }
- // String returns the string representation
- func (s RegisterDomainOutput) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s RegisterDomainOutput) GoString() string {
- return s.String()
- }
- // A RenewDomain request includes the number of years that you want to renew
- // for and the current expiration year.
- type RenewDomainInput struct {
- _ struct{} `type:"structure"`
- // The year when the registration for the domain is set to expire. This value
- // must match the current expiration date for the domain.
- //
- // Type: Integer
- //
- // Default: None
- //
- // Valid values: Integer
- //
- // Required: Yes
- CurrentExpiryYear *int64 `type:"integer" required:"true"`
- DomainName *string `type:"string" required:"true"`
- // The number of years that you want to renew the domain for. The maximum number
- // of years depends on the top-level domain. For the range of valid values for
- // your domain, see Domains that You Can Register with Amazon Route 53 (http://docs.aws.amazon.com/console/route53/domain-tld-list)
- // in the Amazon Route 53 documentation.
- //
- // Type: Integer
- //
- // Default: 1
- //
- // Valid values: Integer from 1 to 10
- //
- // Required: No
- DurationInYears *int64 `min:"1" type:"integer"`
- }
- // String returns the string representation
- func (s RenewDomainInput) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s RenewDomainInput) GoString() string {
- return s.String()
- }
- // Validate inspects the fields of the type to determine if they are valid.
- func (s *RenewDomainInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "RenewDomainInput"}
- if s.CurrentExpiryYear == nil {
- invalidParams.Add(request.NewErrParamRequired("CurrentExpiryYear"))
- }
- if s.DomainName == nil {
- invalidParams.Add(request.NewErrParamRequired("DomainName"))
- }
- if s.DurationInYears != nil && *s.DurationInYears < 1 {
- invalidParams.Add(request.NewErrParamMinValue("DurationInYears", 1))
- }
- if invalidParams.Len() > 0 {
- return invalidParams
- }
- return nil
- }
- type RenewDomainOutput struct {
- _ struct{} `type:"structure"`
- OperationId *string `type:"string" required:"true"`
- }
- // String returns the string representation
- func (s RenewDomainOutput) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s RenewDomainOutput) GoString() string {
- return s.String()
- }
- type ResendContactReachabilityEmailInput struct {
- _ struct{} `type:"structure"`
- // The name of the domain for which you want Amazon Route 53 to resend a confirmation
- // email to the registrant contact.
- //
- // Type: String
- //
- // Default: None
- //
- // Required: Yes
- DomainName *string `locationName:"domainName" type:"string"`
- }
- // String returns the string representation
- func (s ResendContactReachabilityEmailInput) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s ResendContactReachabilityEmailInput) GoString() string {
- return s.String()
- }
- type ResendContactReachabilityEmailOutput struct {
- _ struct{} `type:"structure"`
- // The domain name for which you requested a confirmation email.
- DomainName *string `locationName:"domainName" type:"string"`
- // The email address for the registrant contact at the time that we sent the
- // verification email.
- EmailAddress *string `locationName:"emailAddress" type:"string"`
- // True if the email address for the registrant contact has already been verified,
- // and false otherwise. If the email address has already been verified, we don't
- // send another confirmation email.
- IsAlreadyVerified *bool `locationName:"isAlreadyVerified" type:"boolean"`
- }
- // String returns the string representation
- func (s ResendContactReachabilityEmailOutput) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s ResendContactReachabilityEmailOutput) GoString() string {
- return s.String()
- }
- // The RetrieveDomainAuthCode request includes the following element.
- type RetrieveDomainAuthCodeInput struct {
- _ struct{} `type:"structure"`
- // The name of a domain.
- //
- // Type: String
- //
- // Default: None
- //
- // Constraints: The domain name can contain only the letters a through z, the
- // numbers 0 through 9, and hyphen (-). Internationalized Domain Names are not
- // supported.
- //
- // Required: Yes
- DomainName *string `type:"string" required:"true"`
- }
- // String returns the string representation
- func (s RetrieveDomainAuthCodeInput) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s RetrieveDomainAuthCodeInput) GoString() string {
- return s.String()
- }
- // Validate inspects the fields of the type to determine if they are valid.
- func (s *RetrieveDomainAuthCodeInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "RetrieveDomainAuthCodeInput"}
- if s.DomainName == nil {
- invalidParams.Add(request.NewErrParamRequired("DomainName"))
- }
- if invalidParams.Len() > 0 {
- return invalidParams
- }
- return nil
- }
- // The RetrieveDomainAuthCode response includes the following element.
- type RetrieveDomainAuthCodeOutput struct {
- _ struct{} `type:"structure"`
- // The authorization code for the domain.
- //
- // Type: String
- AuthCode *string `type:"string" required:"true"`
- }
- // String returns the string representation
- func (s RetrieveDomainAuthCodeOutput) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s RetrieveDomainAuthCodeOutput) GoString() string {
- return s.String()
- }
- // Each tag includes the following elements.
- type Tag struct {
- _ struct{} `type:"structure"`
- // The key (name) of a tag.
- //
- // Type: String
- //
- // Default: None
- //
- // Valid values: A-Z, a-z, 0-9, space, ".:/=+\-@"
- //
- // Constraints: Each key can be 1-128 characters long.
- //
- // Required: Yes
- Key *string `type:"string"`
- // The value of a tag.
- //
- // Type: String
- //
- // Default: None
- //
- // Valid values: A-Z, a-z, 0-9, space, ".:/=+\-@"
- //
- // Constraints: Each value can be 0-256 characters long.
- //
- // Required: Yes
- Value *string `type:"string"`
- }
- // String returns the string representation
- func (s Tag) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s Tag) GoString() string {
- return s.String()
- }
- // The TransferDomain request includes the following elements.
- type TransferDomainInput struct {
- _ struct{} `type:"structure"`
- // Provides detailed contact information.
- //
- // Type: Complex
- //
- // Children: FirstName, MiddleName, LastName, ContactType, OrganizationName,
- // AddressLine1, AddressLine2, City, State, CountryCode, ZipCode, PhoneNumber,
- // Email, Fax, ExtraParams
- //
- // Required: Yes
- AdminContact *ContactDetail `type:"structure" required:"true"`
- // The authorization code for the domain. You get this value from the current
- // registrar.
- //
- // Type: String
- //
- // Required: Yes
- AuthCode *string `type:"string"`
- // Indicates whether the domain will be automatically renewed (true) or not
- // (false). Autorenewal only takes effect after the account is charged.
- //
- // Type: Boolean
- //
- // Valid values: true | false
- //
- // Default: true
- //
- // Required: No
- AutoRenew *bool `type:"boolean"`
- // The name of a domain.
- //
- // Type: String
- //
- // Default: None
- //
- // Constraints: The domain name can contain only the letters a through z, the
- // numbers 0 through 9, and hyphen (-). Internationalized Domain Names are not
- // supported.
- //
- // Required: Yes
- DomainName *string `type:"string" required:"true"`
- // The number of years the domain will be registered. Domains are registered
- // for a minimum of one year. The maximum period depends on the top-level domain.
- //
- // Type: Integer
- //
- // Default: 1
- //
- // Valid values: Integer from 1 to 10
- //
- // Required: Yes
- DurationInYears *int64 `min:"1" type:"integer" required:"true"`
- // Reserved for future use.
- IdnLangCode *string `type:"string"`
- // Contains details for the host and glue IP addresses.
- //
- // Type: Complex
- //
- // Children: GlueIps, Name
- //
- // Required: No
- Nameservers []*Nameserver `type:"list"`
- // Whether you want to conceal contact information from WHOIS queries. If you
- // specify true, WHOIS ("who is") queries will return contact information for
- // our registrar partner, Gandi, instead of the contact information that you
- // enter.
- //
- // Type: Boolean
- //
- // Default: true
- //
- // Valid values: true | false
- //
- // Required: No
- PrivacyProtectAdminContact *bool `type:"boolean"`
- // Whether you want to conceal contact information from WHOIS queries. If you
- // specify true, WHOIS ("who is") queries will return contact information for
- // our registrar partner, Gandi, instead of the contact information that you
- // enter.
- //
- // Type: Boolean
- //
- // Default: true
- //
- // Valid values: true | false
- //
- // Required: No
- PrivacyProtectRegistrantContact *bool `type:"boolean"`
- // Whether you want to conceal contact information from WHOIS queries. If you
- // specify true, WHOIS ("who is") queries will return contact information for
- // our registrar partner, Gandi, instead of the contact information that you
- // enter.
- //
- // Type: Boolean
- //
- // Default: true
- //
- // Valid values: true | false
- //
- // Required: No
- PrivacyProtectTechContact *bool `type:"boolean"`
- // Provides detailed contact information.
- //
- // Type: Complex
- //
- // Children: FirstName, MiddleName, LastName, ContactType, OrganizationName,
- // AddressLine1, AddressLine2, City, State, CountryCode, ZipCode, PhoneNumber,
- // Email, Fax, ExtraParams
- //
- // Required: Yes
- RegistrantContact *ContactDetail `type:"structure" required:"true"`
- // Provides detailed contact information.
- //
- // Type: Complex
- //
- // Children: FirstName, MiddleName, LastName, ContactType, OrganizationName,
- // AddressLine1, AddressLine2, City, State, CountryCode, ZipCode, PhoneNumber,
- // Email, Fax, ExtraParams
- //
- // Required: Yes
- TechContact *ContactDetail `type:"structure" required:"true"`
- }
- // String returns the string representation
- func (s TransferDomainInput) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s TransferDomainInput) GoString() string {
- return s.String()
- }
- // Validate inspects the fields of the type to determine if they are valid.
- func (s *TransferDomainInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "TransferDomainInput"}
- if s.AdminContact == nil {
- invalidParams.Add(request.NewErrParamRequired("AdminContact"))
- }
- if s.DomainName == nil {
- invalidParams.Add(request.NewErrParamRequired("DomainName"))
- }
- if s.DurationInYears == nil {
- invalidParams.Add(request.NewErrParamRequired("DurationInYears"))
- }
- if s.DurationInYears != nil && *s.DurationInYears < 1 {
- invalidParams.Add(request.NewErrParamMinValue("DurationInYears", 1))
- }
- if s.RegistrantContact == nil {
- invalidParams.Add(request.NewErrParamRequired("RegistrantContact"))
- }
- if s.TechContact == nil {
- invalidParams.Add(request.NewErrParamRequired("TechContact"))
- }
- if s.AdminContact != nil {
- if err := s.AdminContact.Validate(); err != nil {
- invalidParams.AddNested("AdminContact", err.(request.ErrInvalidParams))
- }
- }
- if s.Nameservers != nil {
- for i, v := range s.Nameservers {
- if v == nil {
- continue
- }
- if err := v.Validate(); err != nil {
- invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Nameservers", i), err.(request.ErrInvalidParams))
- }
- }
- }
- if s.RegistrantContact != nil {
- if err := s.RegistrantContact.Validate(); err != nil {
- invalidParams.AddNested("RegistrantContact", err.(request.ErrInvalidParams))
- }
- }
- if s.TechContact != nil {
- if err := s.TechContact.Validate(); err != nil {
- invalidParams.AddNested("TechContact", err.(request.ErrInvalidParams))
- }
- }
- if invalidParams.Len() > 0 {
- return invalidParams
- }
- return nil
- }
- // The TranserDomain response includes the following element.
- type TransferDomainOutput struct {
- _ struct{} `type:"structure"`
- // Identifier for tracking the progress of the request. To use this ID to query
- // the operation status, use GetOperationDetail.
- //
- // Type: String
- //
- // Default: None
- //
- // Constraints: Maximum 255 characters.
- OperationId *string `type:"string" required:"true"`
- }
- // String returns the string representation
- func (s TransferDomainOutput) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s TransferDomainOutput) GoString() string {
- return s.String()
- }
- // The UpdateDomainContact request includes the following elements.
- type UpdateDomainContactInput struct {
- _ struct{} `type:"structure"`
- // Provides detailed contact information.
- //
- // Type: Complex
- //
- // Children: FirstName, MiddleName, LastName, ContactType, OrganizationName,
- // AddressLine1, AddressLine2, City, State, CountryCode, ZipCode, PhoneNumber,
- // Email, Fax, ExtraParams
- //
- // Required: Yes
- AdminContact *ContactDetail `type:"structure"`
- // The name of a domain.
- //
- // Type: String
- //
- // Default: None
- //
- // Constraints: The domain name can contain only the letters a through z, the
- // numbers 0 through 9, and hyphen (-). Internationalized Domain Names are not
- // supported.
- //
- // Required: Yes
- DomainName *string `type:"string" required:"true"`
- // Provides detailed contact information.
- //
- // Type: Complex
- //
- // Children: FirstName, MiddleName, LastName, ContactType, OrganizationName,
- // AddressLine1, AddressLine2, City, State, CountryCode, ZipCode, PhoneNumber,
- // Email, Fax, ExtraParams
- //
- // Required: Yes
- RegistrantContact *ContactDetail `type:"structure"`
- // Provides detailed contact information.
- //
- // Type: Complex
- //
- // Children: FirstName, MiddleName, LastName, ContactType, OrganizationName,
- // AddressLine1, AddressLine2, City, State, CountryCode, ZipCode, PhoneNumber,
- // Email, Fax, ExtraParams
- //
- // Required: Yes
- TechContact *ContactDetail `type:"structure"`
- }
- // String returns the string representation
- func (s UpdateDomainContactInput) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s UpdateDomainContactInput) GoString() string {
- return s.String()
- }
- // Validate inspects the fields of the type to determine if they are valid.
- func (s *UpdateDomainContactInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "UpdateDomainContactInput"}
- if s.DomainName == nil {
- invalidParams.Add(request.NewErrParamRequired("DomainName"))
- }
- if s.AdminContact != nil {
- if err := s.AdminContact.Validate(); err != nil {
- invalidParams.AddNested("AdminContact", err.(request.ErrInvalidParams))
- }
- }
- if s.RegistrantContact != nil {
- if err := s.RegistrantContact.Validate(); err != nil {
- invalidParams.AddNested("RegistrantContact", err.(request.ErrInvalidParams))
- }
- }
- if s.TechContact != nil {
- if err := s.TechContact.Validate(); err != nil {
- invalidParams.AddNested("TechContact", err.(request.ErrInvalidParams))
- }
- }
- if invalidParams.Len() > 0 {
- return invalidParams
- }
- return nil
- }
- // The UpdateDomainContact response includes the following element.
- type UpdateDomainContactOutput struct {
- _ struct{} `type:"structure"`
- // Identifier for tracking the progress of the request. To use this ID to query
- // the operation status, use GetOperationDetail.
- //
- // Type: String
- //
- // Default: None
- //
- // Constraints: Maximum 255 characters.
- OperationId *string `type:"string" required:"true"`
- }
- // String returns the string representation
- func (s UpdateDomainContactOutput) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s UpdateDomainContactOutput) GoString() string {
- return s.String()
- }
- // The UpdateDomainContactPrivacy request includes the following elements.
- type UpdateDomainContactPrivacyInput struct {
- _ struct{} `type:"structure"`
- // Whether you want to conceal contact information from WHOIS queries. If you
- // specify true, WHOIS ("who is") queries will return contact information for
- // our registrar partner, Gandi, instead of the contact information that you
- // enter.
- //
- // Type: Boolean
- //
- // Default: None
- //
- // Valid values: true | false
- //
- // Required: No
- AdminPrivacy *bool `type:"boolean"`
- // The name of a domain.
- //
- // Type: String
- //
- // Default: None
- //
- // Constraints: The domain name can contain only the letters a through z, the
- // numbers 0 through 9, and hyphen (-). Internationalized Domain Names are not
- // supported.
- //
- // Required: Yes
- DomainName *string `type:"string" required:"true"`
- // Whether you want to conceal contact information from WHOIS queries. If you
- // specify true, WHOIS ("who is") queries will return contact information for
- // our registrar partner, Gandi, instead of the contact information that you
- // enter.
- //
- // Type: Boolean
- //
- // Default: None
- //
- // Valid values: true | false
- //
- // Required: No
- RegistrantPrivacy *bool `type:"boolean"`
- // Whether you want to conceal contact information from WHOIS queries. If you
- // specify true, WHOIS ("who is") queries will return contact information for
- // our registrar partner, Gandi, instead of the contact information that you
- // enter.
- //
- // Type: Boolean
- //
- // Default: None
- //
- // Valid values: true | false
- //
- // Required: No
- TechPrivacy *bool `type:"boolean"`
- }
- // String returns the string representation
- func (s UpdateDomainContactPrivacyInput) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s UpdateDomainContactPrivacyInput) GoString() string {
- return s.String()
- }
- // Validate inspects the fields of the type to determine if they are valid.
- func (s *UpdateDomainContactPrivacyInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "UpdateDomainContactPrivacyInput"}
- if s.DomainName == nil {
- invalidParams.Add(request.NewErrParamRequired("DomainName"))
- }
- if invalidParams.Len() > 0 {
- return invalidParams
- }
- return nil
- }
- // The UpdateDomainContactPrivacy response includes the following element.
- type UpdateDomainContactPrivacyOutput struct {
- _ struct{} `type:"structure"`
- // Identifier for tracking the progress of the request. To use this ID to query
- // the operation status, use GetOperationDetail.
- //
- // Type: String
- //
- // Default: None
- //
- // Constraints: Maximum 255 characters.
- OperationId *string `type:"string" required:"true"`
- }
- // String returns the string representation
- func (s UpdateDomainContactPrivacyOutput) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s UpdateDomainContactPrivacyOutput) GoString() string {
- return s.String()
- }
- // The UpdateDomainNameserver request includes the following elements.
- type UpdateDomainNameserversInput struct {
- _ struct{} `type:"structure"`
- // The name of a domain.
- //
- // Type: String
- //
- // Default: None
- //
- // Constraints: The domain name can contain only the letters a through z, the
- // numbers 0 through 9, and hyphen (-). Internationalized Domain Names are not
- // supported.
- //
- // Required: Yes
- DomainName *string `type:"string" required:"true"`
- // The authorization key for .fi domains
- FIAuthKey *string `type:"string"`
- // A list of new name servers for the domain.
- //
- // Type: Complex
- //
- // Children: Name, GlueIps
- //
- // Required: Yes
- Nameservers []*Nameserver `type:"list" required:"true"`
- }
- // String returns the string representation
- func (s UpdateDomainNameserversInput) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s UpdateDomainNameserversInput) GoString() string {
- return s.String()
- }
- // Validate inspects the fields of the type to determine if they are valid.
- func (s *UpdateDomainNameserversInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "UpdateDomainNameserversInput"}
- if s.DomainName == nil {
- invalidParams.Add(request.NewErrParamRequired("DomainName"))
- }
- if s.Nameservers == nil {
- invalidParams.Add(request.NewErrParamRequired("Nameservers"))
- }
- if s.Nameservers != nil {
- for i, v := range s.Nameservers {
- if v == nil {
- continue
- }
- if err := v.Validate(); err != nil {
- invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Nameservers", i), err.(request.ErrInvalidParams))
- }
- }
- }
- if invalidParams.Len() > 0 {
- return invalidParams
- }
- return nil
- }
- // The UpdateDomainNameservers response includes the following element.
- type UpdateDomainNameserversOutput struct {
- _ struct{} `type:"structure"`
- // Identifier for tracking the progress of the request. To use this ID to query
- // the operation status, use GetOperationDetail.
- //
- // Type: String
- //
- // Default: None
- //
- // Constraints: Maximum 255 characters.
- OperationId *string `type:"string" required:"true"`
- }
- // String returns the string representation
- func (s UpdateDomainNameserversOutput) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s UpdateDomainNameserversOutput) GoString() string {
- return s.String()
- }
- // The UpdateTagsForDomainRequest includes the following elements.
- type UpdateTagsForDomainInput struct {
- _ struct{} `type:"structure"`
- // The domain for which you want to add or update tags.
- //
- // The name of a domain.
- //
- // Type: String
- //
- // Default: None
- //
- // Constraints: The domain name can contain only the letters a through z, the
- // numbers 0 through 9, and hyphen (-). Hyphens are allowed only when they're
- // surrounded by letters, numbers, or other hyphens. You can't specify a hyphen
- // at the beginning or end of a label. To specify an Internationalized Domain
- // Name, you must convert the name to Punycode.
- //
- // Required: Yes
- DomainName *string `type:"string" required:"true"`
- // A list of the tag keys and values that you want to add or update. If you
- // specify a key that already exists, the corresponding value will be replaced.
- //
- // Type: A complex type containing a list of tags
- //
- // Default: None
- //
- // Required: No
- //
- // '> Each tag includes the following elements:
- //
- // Key
- //
- // The key (name) of a tag.
- //
- // Type: String
- //
- // Default: None
- //
- // Valid values: Unicode characters including alphanumeric, space, and ".:/=+\-@"
- //
- // Constraints: Each key can be 1-128 characters long.
- //
- // Required: Yes
- //
- // Value
- //
- // The value of a tag.
- //
- // Type: String
- //
- // Default: None
- //
- // Valid values: Unicode characters including alphanumeric, space, and ".:/=+\-@"
- //
- // Constraints: Each value can be 0-256 characters long.
- //
- // Required: Yes
- TagsToUpdate []*Tag `type:"list"`
- }
- // String returns the string representation
- func (s UpdateTagsForDomainInput) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s UpdateTagsForDomainInput) GoString() string {
- return s.String()
- }
- // Validate inspects the fields of the type to determine if they are valid.
- func (s *UpdateTagsForDomainInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "UpdateTagsForDomainInput"}
- if s.DomainName == nil {
- invalidParams.Add(request.NewErrParamRequired("DomainName"))
- }
- if invalidParams.Len() > 0 {
- return invalidParams
- }
- return nil
- }
- type UpdateTagsForDomainOutput struct {
- _ struct{} `type:"structure"`
- }
- // String returns the string representation
- func (s UpdateTagsForDomainOutput) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s UpdateTagsForDomainOutput) GoString() string {
- return s.String()
- }
- // The ViewBilling request includes the following elements.
- type ViewBillingInput struct {
- _ struct{} `type:"structure"`
- // The end date and time for the time period for which you want a list of billing
- // records. Specify the date in Unix time format.
- //
- // Type: Double
- //
- // Default: None
- //
- // Required: Yes
- End *time.Time `type:"timestamp" timestampFormat:"unix"`
- // For an initial request for a list of billing records, omit this element.
- // If the number of billing records that are associated with the current AWS
- // account during the specified period is greater than the value that you specified
- // for MaxItems, you can use Marker to return additional billing records. Get
- // the value of NextPageMarker from the previous response, and submit another
- // request that includes the value of NextPageMarker in the Marker element.
- //
- // Type: String
- //
- // Default: None
- //
- // Constraints: The marker must match the value of NextPageMarker that was
- // returned in the previous response.
- //
- // Required: No
- Marker *string `type:"string"`
- // The number of billing records to be returned.
- //
- // Type: Integer
- //
- // Default: 20
- //
- // Constraints: A value between 1 and 100.
- //
- // Required: No
- MaxItems *int64 `type:"integer"`
- // The beginning date and time for the time period for which you want a list
- // of billing records. Specify the date in Unix time format.
- //
- // Type: Double
- //
- // Default: None
- //
- // Required: Yes
- Start *time.Time `type:"timestamp" timestampFormat:"unix"`
- }
- // String returns the string representation
- func (s ViewBillingInput) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s ViewBillingInput) GoString() string {
- return s.String()
- }
- // The ViewBilling response includes the following elements.
- type ViewBillingOutput struct {
- _ struct{} `type:"structure"`
- // A summary of billing records.
- //
- // Type: Complex type containing a list of billing record summaries.
- //
- // Children: DomainName, Operation, InvoiceId, BillDate and Price
- BillingRecords []*BillingRecord `type:"list"`
- // If there are more billing records than you specified for MaxItems in the
- // request, submit another request and include the value of NextPageMarker in
- // the value of Marker.
- //
- // Type: String
- //
- // Parent: BillingRecords
- NextPageMarker *string `type:"string"`
- }
- // String returns the string representation
- func (s ViewBillingOutput) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s ViewBillingOutput) GoString() string {
- return s.String()
- }
- const (
- // @enum ContactType
- ContactTypePerson = "PERSON"
- // @enum ContactType
- ContactTypeCompany = "COMPANY"
- // @enum ContactType
- ContactTypeAssociation = "ASSOCIATION"
- // @enum ContactType
- ContactTypePublicBody = "PUBLIC_BODY"
- // @enum ContactType
- ContactTypeReseller = "RESELLER"
- )
- const (
- // @enum CountryCode
- CountryCodeAd = "AD"
- // @enum CountryCode
- CountryCodeAe = "AE"
- // @enum CountryCode
- CountryCodeAf = "AF"
- // @enum CountryCode
- CountryCodeAg = "AG"
- // @enum CountryCode
- CountryCodeAi = "AI"
- // @enum CountryCode
- CountryCodeAl = "AL"
- // @enum CountryCode
- CountryCodeAm = "AM"
- // @enum CountryCode
- CountryCodeAn = "AN"
- // @enum CountryCode
- CountryCodeAo = "AO"
- // @enum CountryCode
- CountryCodeAq = "AQ"
- // @enum CountryCode
- CountryCodeAr = "AR"
- // @enum CountryCode
- CountryCodeAs = "AS"
- // @enum CountryCode
- CountryCodeAt = "AT"
- // @enum CountryCode
- CountryCodeAu = "AU"
- // @enum CountryCode
- CountryCodeAw = "AW"
- // @enum CountryCode
- CountryCodeAz = "AZ"
- // @enum CountryCode
- CountryCodeBa = "BA"
- // @enum CountryCode
- CountryCodeBb = "BB"
- // @enum CountryCode
- CountryCodeBd = "BD"
- // @enum CountryCode
- CountryCodeBe = "BE"
- // @enum CountryCode
- CountryCodeBf = "BF"
- // @enum CountryCode
- CountryCodeBg = "BG"
- // @enum CountryCode
- CountryCodeBh = "BH"
- // @enum CountryCode
- CountryCodeBi = "BI"
- // @enum CountryCode
- CountryCodeBj = "BJ"
- // @enum CountryCode
- CountryCodeBl = "BL"
- // @enum CountryCode
- CountryCodeBm = "BM"
- // @enum CountryCode
- CountryCodeBn = "BN"
- // @enum CountryCode
- CountryCodeBo = "BO"
- // @enum CountryCode
- CountryCodeBr = "BR"
- // @enum CountryCode
- CountryCodeBs = "BS"
- // @enum CountryCode
- CountryCodeBt = "BT"
- // @enum CountryCode
- CountryCodeBw = "BW"
- // @enum CountryCode
- CountryCodeBy = "BY"
- // @enum CountryCode
- CountryCodeBz = "BZ"
- // @enum CountryCode
- CountryCodeCa = "CA"
- // @enum CountryCode
- CountryCodeCc = "CC"
- // @enum CountryCode
- CountryCodeCd = "CD"
- // @enum CountryCode
- CountryCodeCf = "CF"
- // @enum CountryCode
- CountryCodeCg = "CG"
- // @enum CountryCode
- CountryCodeCh = "CH"
- // @enum CountryCode
- CountryCodeCi = "CI"
- // @enum CountryCode
- CountryCodeCk = "CK"
- // @enum CountryCode
- CountryCodeCl = "CL"
- // @enum CountryCode
- CountryCodeCm = "CM"
- // @enum CountryCode
- CountryCodeCn = "CN"
- // @enum CountryCode
- CountryCodeCo = "CO"
- // @enum CountryCode
- CountryCodeCr = "CR"
- // @enum CountryCode
- CountryCodeCu = "CU"
- // @enum CountryCode
- CountryCodeCv = "CV"
- // @enum CountryCode
- CountryCodeCx = "CX"
- // @enum CountryCode
- CountryCodeCy = "CY"
- // @enum CountryCode
- CountryCodeCz = "CZ"
- // @enum CountryCode
- CountryCodeDe = "DE"
- // @enum CountryCode
- CountryCodeDj = "DJ"
- // @enum CountryCode
- CountryCodeDk = "DK"
- // @enum CountryCode
- CountryCodeDm = "DM"
- // @enum CountryCode
- CountryCodeDo = "DO"
- // @enum CountryCode
- CountryCodeDz = "DZ"
- // @enum CountryCode
- CountryCodeEc = "EC"
- // @enum CountryCode
- CountryCodeEe = "EE"
- // @enum CountryCode
- CountryCodeEg = "EG"
- // @enum CountryCode
- CountryCodeEr = "ER"
- // @enum CountryCode
- CountryCodeEs = "ES"
- // @enum CountryCode
- CountryCodeEt = "ET"
- // @enum CountryCode
- CountryCodeFi = "FI"
- // @enum CountryCode
- CountryCodeFj = "FJ"
- // @enum CountryCode
- CountryCodeFk = "FK"
- // @enum CountryCode
- CountryCodeFm = "FM"
- // @enum CountryCode
- CountryCodeFo = "FO"
- // @enum CountryCode
- CountryCodeFr = "FR"
- // @enum CountryCode
- CountryCodeGa = "GA"
- // @enum CountryCode
- CountryCodeGb = "GB"
- // @enum CountryCode
- CountryCodeGd = "GD"
- // @enum CountryCode
- CountryCodeGe = "GE"
- // @enum CountryCode
- CountryCodeGh = "GH"
- // @enum CountryCode
- CountryCodeGi = "GI"
- // @enum CountryCode
- CountryCodeGl = "GL"
- // @enum CountryCode
- CountryCodeGm = "GM"
- // @enum CountryCode
- CountryCodeGn = "GN"
- // @enum CountryCode
- CountryCodeGq = "GQ"
- // @enum CountryCode
- CountryCodeGr = "GR"
- // @enum CountryCode
- CountryCodeGt = "GT"
- // @enum CountryCode
- CountryCodeGu = "GU"
- // @enum CountryCode
- CountryCodeGw = "GW"
- // @enum CountryCode
- CountryCodeGy = "GY"
- // @enum CountryCode
- CountryCodeHk = "HK"
- // @enum CountryCode
- CountryCodeHn = "HN"
- // @enum CountryCode
- CountryCodeHr = "HR"
- // @enum CountryCode
- CountryCodeHt = "HT"
- // @enum CountryCode
- CountryCodeHu = "HU"
- // @enum CountryCode
- CountryCodeId = "ID"
- // @enum CountryCode
- CountryCodeIe = "IE"
- // @enum CountryCode
- CountryCodeIl = "IL"
- // @enum CountryCode
- CountryCodeIm = "IM"
- // @enum CountryCode
- CountryCodeIn = "IN"
- // @enum CountryCode
- CountryCodeIq = "IQ"
- // @enum CountryCode
- CountryCodeIr = "IR"
- // @enum CountryCode
- CountryCodeIs = "IS"
- // @enum CountryCode
- CountryCodeIt = "IT"
- // @enum CountryCode
- CountryCodeJm = "JM"
- // @enum CountryCode
- CountryCodeJo = "JO"
- // @enum CountryCode
- CountryCodeJp = "JP"
- // @enum CountryCode
- CountryCodeKe = "KE"
- // @enum CountryCode
- CountryCodeKg = "KG"
- // @enum CountryCode
- CountryCodeKh = "KH"
- // @enum CountryCode
- CountryCodeKi = "KI"
- // @enum CountryCode
- CountryCodeKm = "KM"
- // @enum CountryCode
- CountryCodeKn = "KN"
- // @enum CountryCode
- CountryCodeKp = "KP"
- // @enum CountryCode
- CountryCodeKr = "KR"
- // @enum CountryCode
- CountryCodeKw = "KW"
- // @enum CountryCode
- CountryCodeKy = "KY"
- // @enum CountryCode
- CountryCodeKz = "KZ"
- // @enum CountryCode
- CountryCodeLa = "LA"
- // @enum CountryCode
- CountryCodeLb = "LB"
- // @enum CountryCode
- CountryCodeLc = "LC"
- // @enum CountryCode
- CountryCodeLi = "LI"
- // @enum CountryCode
- CountryCodeLk = "LK"
- // @enum CountryCode
- CountryCodeLr = "LR"
- // @enum CountryCode
- CountryCodeLs = "LS"
- // @enum CountryCode
- CountryCodeLt = "LT"
- // @enum CountryCode
- CountryCodeLu = "LU"
- // @enum CountryCode
- CountryCodeLv = "LV"
- // @enum CountryCode
- CountryCodeLy = "LY"
- // @enum CountryCode
- CountryCodeMa = "MA"
- // @enum CountryCode
- CountryCodeMc = "MC"
- // @enum CountryCode
- CountryCodeMd = "MD"
- // @enum CountryCode
- CountryCodeMe = "ME"
- // @enum CountryCode
- CountryCodeMf = "MF"
- // @enum CountryCode
- CountryCodeMg = "MG"
- // @enum CountryCode
- CountryCodeMh = "MH"
- // @enum CountryCode
- CountryCodeMk = "MK"
- // @enum CountryCode
- CountryCodeMl = "ML"
- // @enum CountryCode
- CountryCodeMm = "MM"
- // @enum CountryCode
- CountryCodeMn = "MN"
- // @enum CountryCode
- CountryCodeMo = "MO"
- // @enum CountryCode
- CountryCodeMp = "MP"
- // @enum CountryCode
- CountryCodeMr = "MR"
- // @enum CountryCode
- CountryCodeMs = "MS"
- // @enum CountryCode
- CountryCodeMt = "MT"
- // @enum CountryCode
- CountryCodeMu = "MU"
- // @enum CountryCode
- CountryCodeMv = "MV"
- // @enum CountryCode
- CountryCodeMw = "MW"
- // @enum CountryCode
- CountryCodeMx = "MX"
- // @enum CountryCode
- CountryCodeMy = "MY"
- // @enum CountryCode
- CountryCodeMz = "MZ"
- // @enum CountryCode
- CountryCodeNa = "NA"
- // @enum CountryCode
- CountryCodeNc = "NC"
- // @enum CountryCode
- CountryCodeNe = "NE"
- // @enum CountryCode
- CountryCodeNg = "NG"
- // @enum CountryCode
- CountryCodeNi = "NI"
- // @enum CountryCode
- CountryCodeNl = "NL"
- // @enum CountryCode
- CountryCodeNo = "NO"
- // @enum CountryCode
- CountryCodeNp = "NP"
- // @enum CountryCode
- CountryCodeNr = "NR"
- // @enum CountryCode
- CountryCodeNu = "NU"
- // @enum CountryCode
- CountryCodeNz = "NZ"
- // @enum CountryCode
- CountryCodeOm = "OM"
- // @enum CountryCode
- CountryCodePa = "PA"
- // @enum CountryCode
- CountryCodePe = "PE"
- // @enum CountryCode
- CountryCodePf = "PF"
- // @enum CountryCode
- CountryCodePg = "PG"
- // @enum CountryCode
- CountryCodePh = "PH"
- // @enum CountryCode
- CountryCodePk = "PK"
- // @enum CountryCode
- CountryCodePl = "PL"
- // @enum CountryCode
- CountryCodePm = "PM"
- // @enum CountryCode
- CountryCodePn = "PN"
- // @enum CountryCode
- CountryCodePr = "PR"
- // @enum CountryCode
- CountryCodePt = "PT"
- // @enum CountryCode
- CountryCodePw = "PW"
- // @enum CountryCode
- CountryCodePy = "PY"
- // @enum CountryCode
- CountryCodeQa = "QA"
- // @enum CountryCode
- CountryCodeRo = "RO"
- // @enum CountryCode
- CountryCodeRs = "RS"
- // @enum CountryCode
- CountryCodeRu = "RU"
- // @enum CountryCode
- CountryCodeRw = "RW"
- // @enum CountryCode
- CountryCodeSa = "SA"
- // @enum CountryCode
- CountryCodeSb = "SB"
- // @enum CountryCode
- CountryCodeSc = "SC"
- // @enum CountryCode
- CountryCodeSd = "SD"
- // @enum CountryCode
- CountryCodeSe = "SE"
- // @enum CountryCode
- CountryCodeSg = "SG"
- // @enum CountryCode
- CountryCodeSh = "SH"
- // @enum CountryCode
- CountryCodeSi = "SI"
- // @enum CountryCode
- CountryCodeSk = "SK"
- // @enum CountryCode
- CountryCodeSl = "SL"
- // @enum CountryCode
- CountryCodeSm = "SM"
- // @enum CountryCode
- CountryCodeSn = "SN"
- // @enum CountryCode
- CountryCodeSo = "SO"
- // @enum CountryCode
- CountryCodeSr = "SR"
- // @enum CountryCode
- CountryCodeSt = "ST"
- // @enum CountryCode
- CountryCodeSv = "SV"
- // @enum CountryCode
- CountryCodeSy = "SY"
- // @enum CountryCode
- CountryCodeSz = "SZ"
- // @enum CountryCode
- CountryCodeTc = "TC"
- // @enum CountryCode
- CountryCodeTd = "TD"
- // @enum CountryCode
- CountryCodeTg = "TG"
- // @enum CountryCode
- CountryCodeTh = "TH"
- // @enum CountryCode
- CountryCodeTj = "TJ"
- // @enum CountryCode
- CountryCodeTk = "TK"
- // @enum CountryCode
- CountryCodeTl = "TL"
- // @enum CountryCode
- CountryCodeTm = "TM"
- // @enum CountryCode
- CountryCodeTn = "TN"
- // @enum CountryCode
- CountryCodeTo = "TO"
- // @enum CountryCode
- CountryCodeTr = "TR"
- // @enum CountryCode
- CountryCodeTt = "TT"
- // @enum CountryCode
- CountryCodeTv = "TV"
- // @enum CountryCode
- CountryCodeTw = "TW"
- // @enum CountryCode
- CountryCodeTz = "TZ"
- // @enum CountryCode
- CountryCodeUa = "UA"
- // @enum CountryCode
- CountryCodeUg = "UG"
- // @enum CountryCode
- CountryCodeUs = "US"
- // @enum CountryCode
- CountryCodeUy = "UY"
- // @enum CountryCode
- CountryCodeUz = "UZ"
- // @enum CountryCode
- CountryCodeVa = "VA"
- // @enum CountryCode
- CountryCodeVc = "VC"
- // @enum CountryCode
- CountryCodeVe = "VE"
- // @enum CountryCode
- CountryCodeVg = "VG"
- // @enum CountryCode
- CountryCodeVi = "VI"
- // @enum CountryCode
- CountryCodeVn = "VN"
- // @enum CountryCode
- CountryCodeVu = "VU"
- // @enum CountryCode
- CountryCodeWf = "WF"
- // @enum CountryCode
- CountryCodeWs = "WS"
- // @enum CountryCode
- CountryCodeYe = "YE"
- // @enum CountryCode
- CountryCodeYt = "YT"
- // @enum CountryCode
- CountryCodeZa = "ZA"
- // @enum CountryCode
- CountryCodeZm = "ZM"
- // @enum CountryCode
- CountryCodeZw = "ZW"
- )
- const (
- // @enum DomainAvailability
- DomainAvailabilityAvailable = "AVAILABLE"
- // @enum DomainAvailability
- DomainAvailabilityAvailableReserved = "AVAILABLE_RESERVED"
- // @enum DomainAvailability
- DomainAvailabilityAvailablePreorder = "AVAILABLE_PREORDER"
- // @enum DomainAvailability
- DomainAvailabilityUnavailable = "UNAVAILABLE"
- // @enum DomainAvailability
- DomainAvailabilityUnavailablePremium = "UNAVAILABLE_PREMIUM"
- // @enum DomainAvailability
- DomainAvailabilityUnavailableRestricted = "UNAVAILABLE_RESTRICTED"
- // @enum DomainAvailability
- DomainAvailabilityReserved = "RESERVED"
- // @enum DomainAvailability
- DomainAvailabilityDontKnow = "DONT_KNOW"
- )
- const (
- // @enum ExtraParamName
- ExtraParamNameDunsNumber = "DUNS_NUMBER"
- // @enum ExtraParamName
- ExtraParamNameBrandNumber = "BRAND_NUMBER"
- // @enum ExtraParamName
- ExtraParamNameBirthDepartment = "BIRTH_DEPARTMENT"
- // @enum ExtraParamName
- ExtraParamNameBirthDateInYyyyMmDd = "BIRTH_DATE_IN_YYYY_MM_DD"
- // @enum ExtraParamName
- ExtraParamNameBirthCountry = "BIRTH_COUNTRY"
- // @enum ExtraParamName
- ExtraParamNameBirthCity = "BIRTH_CITY"
- // @enum ExtraParamName
- ExtraParamNameDocumentNumber = "DOCUMENT_NUMBER"
- // @enum ExtraParamName
- ExtraParamNameAuIdNumber = "AU_ID_NUMBER"
- // @enum ExtraParamName
- ExtraParamNameAuIdType = "AU_ID_TYPE"
- // @enum ExtraParamName
- ExtraParamNameCaLegalType = "CA_LEGAL_TYPE"
- // @enum ExtraParamName
- ExtraParamNameCaBusinessEntityType = "CA_BUSINESS_ENTITY_TYPE"
- // @enum ExtraParamName
- ExtraParamNameEsIdentification = "ES_IDENTIFICATION"
- // @enum ExtraParamName
- ExtraParamNameEsIdentificationType = "ES_IDENTIFICATION_TYPE"
- // @enum ExtraParamName
- ExtraParamNameEsLegalForm = "ES_LEGAL_FORM"
- // @enum ExtraParamName
- ExtraParamNameFiBusinessNumber = "FI_BUSINESS_NUMBER"
- // @enum ExtraParamName
- ExtraParamNameFiIdNumber = "FI_ID_NUMBER"
- // @enum ExtraParamName
- ExtraParamNameItPin = "IT_PIN"
- // @enum ExtraParamName
- ExtraParamNameRuPassportData = "RU_PASSPORT_DATA"
- // @enum ExtraParamName
- ExtraParamNameSeIdNumber = "SE_ID_NUMBER"
- // @enum ExtraParamName
- ExtraParamNameSgIdNumber = "SG_ID_NUMBER"
- // @enum ExtraParamName
- ExtraParamNameVatNumber = "VAT_NUMBER"
- )
- const (
- // @enum OperationStatus
- OperationStatusSubmitted = "SUBMITTED"
- // @enum OperationStatus
- OperationStatusInProgress = "IN_PROGRESS"
- // @enum OperationStatus
- OperationStatusError = "ERROR"
- // @enum OperationStatus
- OperationStatusSuccessful = "SUCCESSFUL"
- // @enum OperationStatus
- OperationStatusFailed = "FAILED"
- )
- const (
- // @enum OperationType
- OperationTypeRegisterDomain = "REGISTER_DOMAIN"
- // @enum OperationType
- OperationTypeDeleteDomain = "DELETE_DOMAIN"
- // @enum OperationType
- OperationTypeTransferInDomain = "TRANSFER_IN_DOMAIN"
- // @enum OperationType
- OperationTypeUpdateDomainContact = "UPDATE_DOMAIN_CONTACT"
- // @enum OperationType
- OperationTypeUpdateNameserver = "UPDATE_NAMESERVER"
- // @enum OperationType
- OperationTypeChangePrivacyProtection = "CHANGE_PRIVACY_PROTECTION"
- // @enum OperationType
- OperationTypeDomainLock = "DOMAIN_LOCK"
- )
- const (
- // @enum ReachabilityStatus
- ReachabilityStatusPending = "PENDING"
- // @enum ReachabilityStatus
- ReachabilityStatusDone = "DONE"
- // @enum ReachabilityStatus
- ReachabilityStatusExpired = "EXPIRED"
- )
|