api.go 300 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753
  1. // Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
  2. package robomaker
  3. import (
  4. "fmt"
  5. "time"
  6. "github.com/aws/aws-sdk-go/aws"
  7. "github.com/aws/aws-sdk-go/aws/awsutil"
  8. "github.com/aws/aws-sdk-go/aws/request"
  9. "github.com/aws/aws-sdk-go/private/protocol"
  10. "github.com/aws/aws-sdk-go/private/protocol/restjson"
  11. )
  12. const opBatchDescribeSimulationJob = "BatchDescribeSimulationJob"
  13. // BatchDescribeSimulationJobRequest generates a "aws/request.Request" representing the
  14. // client's request for the BatchDescribeSimulationJob operation. The "output" return
  15. // value will be populated with the request's response once the request completes
  16. // successfully.
  17. //
  18. // Use "Send" method on the returned Request to send the API call to the service.
  19. // the "output" return value is not valid until after Send returns without error.
  20. //
  21. // See BatchDescribeSimulationJob for more information on using the BatchDescribeSimulationJob
  22. // API call, and error handling.
  23. //
  24. // This method is useful when you want to inject custom logic or configuration
  25. // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  26. //
  27. //
  28. // // Example sending a request using the BatchDescribeSimulationJobRequest method.
  29. // req, resp := client.BatchDescribeSimulationJobRequest(params)
  30. //
  31. // err := req.Send()
  32. // if err == nil { // resp is now filled
  33. // fmt.Println(resp)
  34. // }
  35. //
  36. // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/BatchDescribeSimulationJob
  37. func (c *RoboMaker) BatchDescribeSimulationJobRequest(input *BatchDescribeSimulationJobInput) (req *request.Request, output *BatchDescribeSimulationJobOutput) {
  38. op := &request.Operation{
  39. Name: opBatchDescribeSimulationJob,
  40. HTTPMethod: "POST",
  41. HTTPPath: "/batchDescribeSimulationJob",
  42. }
  43. if input == nil {
  44. input = &BatchDescribeSimulationJobInput{}
  45. }
  46. output = &BatchDescribeSimulationJobOutput{}
  47. req = c.newRequest(op, input, output)
  48. return
  49. }
  50. // BatchDescribeSimulationJob API operation for AWS RoboMaker.
  51. //
  52. // Describes one or more simulation jobs.
  53. //
  54. // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  55. // with awserr.Error's Code and Message methods to get detailed information about
  56. // the error.
  57. //
  58. // See the AWS API reference guide for AWS RoboMaker's
  59. // API operation BatchDescribeSimulationJob for usage and error information.
  60. //
  61. // Returned Error Codes:
  62. // * ErrCodeResourceNotFoundException "ResourceNotFoundException"
  63. // The specified resource does not exist.
  64. //
  65. // * ErrCodeInvalidParameterException "InvalidParameterException"
  66. // A parameter specified in a request is not valid, is unsupported, or cannot
  67. // be used. The returned message provides an explanation of the error value.
  68. //
  69. // * ErrCodeInternalServerException "InternalServerException"
  70. // AWS RoboMaker experienced a service issue. Try your call again.
  71. //
  72. // * ErrCodeThrottlingException "ThrottlingException"
  73. // AWS RoboMaker is temporarily unable to process the request. Try your call
  74. // again.
  75. //
  76. // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/BatchDescribeSimulationJob
  77. func (c *RoboMaker) BatchDescribeSimulationJob(input *BatchDescribeSimulationJobInput) (*BatchDescribeSimulationJobOutput, error) {
  78. req, out := c.BatchDescribeSimulationJobRequest(input)
  79. return out, req.Send()
  80. }
  81. // BatchDescribeSimulationJobWithContext is the same as BatchDescribeSimulationJob with the addition of
  82. // the ability to pass a context and additional request options.
  83. //
  84. // See BatchDescribeSimulationJob for details on how to use this API operation.
  85. //
  86. // The context must be non-nil and will be used for request cancellation. If
  87. // the context is nil a panic will occur. In the future the SDK may create
  88. // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  89. // for more information on using Contexts.
  90. func (c *RoboMaker) BatchDescribeSimulationJobWithContext(ctx aws.Context, input *BatchDescribeSimulationJobInput, opts ...request.Option) (*BatchDescribeSimulationJobOutput, error) {
  91. req, out := c.BatchDescribeSimulationJobRequest(input)
  92. req.SetContext(ctx)
  93. req.ApplyOptions(opts...)
  94. return out, req.Send()
  95. }
  96. const opCancelSimulationJob = "CancelSimulationJob"
  97. // CancelSimulationJobRequest generates a "aws/request.Request" representing the
  98. // client's request for the CancelSimulationJob operation. The "output" return
  99. // value will be populated with the request's response once the request completes
  100. // successfully.
  101. //
  102. // Use "Send" method on the returned Request to send the API call to the service.
  103. // the "output" return value is not valid until after Send returns without error.
  104. //
  105. // See CancelSimulationJob for more information on using the CancelSimulationJob
  106. // API call, and error handling.
  107. //
  108. // This method is useful when you want to inject custom logic or configuration
  109. // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  110. //
  111. //
  112. // // Example sending a request using the CancelSimulationJobRequest method.
  113. // req, resp := client.CancelSimulationJobRequest(params)
  114. //
  115. // err := req.Send()
  116. // if err == nil { // resp is now filled
  117. // fmt.Println(resp)
  118. // }
  119. //
  120. // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/CancelSimulationJob
  121. func (c *RoboMaker) CancelSimulationJobRequest(input *CancelSimulationJobInput) (req *request.Request, output *CancelSimulationJobOutput) {
  122. op := &request.Operation{
  123. Name: opCancelSimulationJob,
  124. HTTPMethod: "POST",
  125. HTTPPath: "/cancelSimulationJob",
  126. }
  127. if input == nil {
  128. input = &CancelSimulationJobInput{}
  129. }
  130. output = &CancelSimulationJobOutput{}
  131. req = c.newRequest(op, input, output)
  132. req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
  133. return
  134. }
  135. // CancelSimulationJob API operation for AWS RoboMaker.
  136. //
  137. // Cancels the specified simulation job.
  138. //
  139. // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  140. // with awserr.Error's Code and Message methods to get detailed information about
  141. // the error.
  142. //
  143. // See the AWS API reference guide for AWS RoboMaker's
  144. // API operation CancelSimulationJob for usage and error information.
  145. //
  146. // Returned Error Codes:
  147. // * ErrCodeResourceNotFoundException "ResourceNotFoundException"
  148. // The specified resource does not exist.
  149. //
  150. // * ErrCodeInvalidParameterException "InvalidParameterException"
  151. // A parameter specified in a request is not valid, is unsupported, or cannot
  152. // be used. The returned message provides an explanation of the error value.
  153. //
  154. // * ErrCodeInternalServerException "InternalServerException"
  155. // AWS RoboMaker experienced a service issue. Try your call again.
  156. //
  157. // * ErrCodeThrottlingException "ThrottlingException"
  158. // AWS RoboMaker is temporarily unable to process the request. Try your call
  159. // again.
  160. //
  161. // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/CancelSimulationJob
  162. func (c *RoboMaker) CancelSimulationJob(input *CancelSimulationJobInput) (*CancelSimulationJobOutput, error) {
  163. req, out := c.CancelSimulationJobRequest(input)
  164. return out, req.Send()
  165. }
  166. // CancelSimulationJobWithContext is the same as CancelSimulationJob with the addition of
  167. // the ability to pass a context and additional request options.
  168. //
  169. // See CancelSimulationJob for details on how to use this API operation.
  170. //
  171. // The context must be non-nil and will be used for request cancellation. If
  172. // the context is nil a panic will occur. In the future the SDK may create
  173. // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  174. // for more information on using Contexts.
  175. func (c *RoboMaker) CancelSimulationJobWithContext(ctx aws.Context, input *CancelSimulationJobInput, opts ...request.Option) (*CancelSimulationJobOutput, error) {
  176. req, out := c.CancelSimulationJobRequest(input)
  177. req.SetContext(ctx)
  178. req.ApplyOptions(opts...)
  179. return out, req.Send()
  180. }
  181. const opCreateDeploymentJob = "CreateDeploymentJob"
  182. // CreateDeploymentJobRequest generates a "aws/request.Request" representing the
  183. // client's request for the CreateDeploymentJob operation. The "output" return
  184. // value will be populated with the request's response once the request completes
  185. // successfully.
  186. //
  187. // Use "Send" method on the returned Request to send the API call to the service.
  188. // the "output" return value is not valid until after Send returns without error.
  189. //
  190. // See CreateDeploymentJob for more information on using the CreateDeploymentJob
  191. // API call, and error handling.
  192. //
  193. // This method is useful when you want to inject custom logic or configuration
  194. // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  195. //
  196. //
  197. // // Example sending a request using the CreateDeploymentJobRequest method.
  198. // req, resp := client.CreateDeploymentJobRequest(params)
  199. //
  200. // err := req.Send()
  201. // if err == nil { // resp is now filled
  202. // fmt.Println(resp)
  203. // }
  204. //
  205. // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/CreateDeploymentJob
  206. func (c *RoboMaker) CreateDeploymentJobRequest(input *CreateDeploymentJobInput) (req *request.Request, output *CreateDeploymentJobOutput) {
  207. op := &request.Operation{
  208. Name: opCreateDeploymentJob,
  209. HTTPMethod: "POST",
  210. HTTPPath: "/createDeploymentJob",
  211. }
  212. if input == nil {
  213. input = &CreateDeploymentJobInput{}
  214. }
  215. output = &CreateDeploymentJobOutput{}
  216. req = c.newRequest(op, input, output)
  217. return
  218. }
  219. // CreateDeploymentJob API operation for AWS RoboMaker.
  220. //
  221. // Creates a deployment job.
  222. //
  223. // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  224. // with awserr.Error's Code and Message methods to get detailed information about
  225. // the error.
  226. //
  227. // See the AWS API reference guide for AWS RoboMaker's
  228. // API operation CreateDeploymentJob for usage and error information.
  229. //
  230. // Returned Error Codes:
  231. // * ErrCodeResourceNotFoundException "ResourceNotFoundException"
  232. // The specified resource does not exist.
  233. //
  234. // * ErrCodeInvalidParameterException "InvalidParameterException"
  235. // A parameter specified in a request is not valid, is unsupported, or cannot
  236. // be used. The returned message provides an explanation of the error value.
  237. //
  238. // * ErrCodeInternalServerException "InternalServerException"
  239. // AWS RoboMaker experienced a service issue. Try your call again.
  240. //
  241. // * ErrCodeThrottlingException "ThrottlingException"
  242. // AWS RoboMaker is temporarily unable to process the request. Try your call
  243. // again.
  244. //
  245. // * ErrCodeLimitExceededException "LimitExceededException"
  246. // The requested resource exceeds the maximum number allowed, or the number
  247. // of concurrent stream requests exceeds the maximum number allowed.
  248. //
  249. // * ErrCodeConcurrentDeploymentException "ConcurrentDeploymentException"
  250. //
  251. // * ErrCodeIdempotentParameterMismatchException "IdempotentParameterMismatchException"
  252. // The request uses the same client token as a previous, but non-identical request.
  253. // Do not reuse a client token with different requests, unless the requests
  254. // are identical.
  255. //
  256. // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/CreateDeploymentJob
  257. func (c *RoboMaker) CreateDeploymentJob(input *CreateDeploymentJobInput) (*CreateDeploymentJobOutput, error) {
  258. req, out := c.CreateDeploymentJobRequest(input)
  259. return out, req.Send()
  260. }
  261. // CreateDeploymentJobWithContext is the same as CreateDeploymentJob with the addition of
  262. // the ability to pass a context and additional request options.
  263. //
  264. // See CreateDeploymentJob for details on how to use this API operation.
  265. //
  266. // The context must be non-nil and will be used for request cancellation. If
  267. // the context is nil a panic will occur. In the future the SDK may create
  268. // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  269. // for more information on using Contexts.
  270. func (c *RoboMaker) CreateDeploymentJobWithContext(ctx aws.Context, input *CreateDeploymentJobInput, opts ...request.Option) (*CreateDeploymentJobOutput, error) {
  271. req, out := c.CreateDeploymentJobRequest(input)
  272. req.SetContext(ctx)
  273. req.ApplyOptions(opts...)
  274. return out, req.Send()
  275. }
  276. const opCreateFleet = "CreateFleet"
  277. // CreateFleetRequest generates a "aws/request.Request" representing the
  278. // client's request for the CreateFleet operation. The "output" return
  279. // value will be populated with the request's response once the request completes
  280. // successfully.
  281. //
  282. // Use "Send" method on the returned Request to send the API call to the service.
  283. // the "output" return value is not valid until after Send returns without error.
  284. //
  285. // See CreateFleet for more information on using the CreateFleet
  286. // API call, and error handling.
  287. //
  288. // This method is useful when you want to inject custom logic or configuration
  289. // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  290. //
  291. //
  292. // // Example sending a request using the CreateFleetRequest method.
  293. // req, resp := client.CreateFleetRequest(params)
  294. //
  295. // err := req.Send()
  296. // if err == nil { // resp is now filled
  297. // fmt.Println(resp)
  298. // }
  299. //
  300. // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/CreateFleet
  301. func (c *RoboMaker) CreateFleetRequest(input *CreateFleetInput) (req *request.Request, output *CreateFleetOutput) {
  302. op := &request.Operation{
  303. Name: opCreateFleet,
  304. HTTPMethod: "POST",
  305. HTTPPath: "/createFleet",
  306. }
  307. if input == nil {
  308. input = &CreateFleetInput{}
  309. }
  310. output = &CreateFleetOutput{}
  311. req = c.newRequest(op, input, output)
  312. return
  313. }
  314. // CreateFleet API operation for AWS RoboMaker.
  315. //
  316. // Creates a fleet, a logical group of robots running the same robot application.
  317. //
  318. // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  319. // with awserr.Error's Code and Message methods to get detailed information about
  320. // the error.
  321. //
  322. // See the AWS API reference guide for AWS RoboMaker's
  323. // API operation CreateFleet for usage and error information.
  324. //
  325. // Returned Error Codes:
  326. // * ErrCodeInvalidParameterException "InvalidParameterException"
  327. // A parameter specified in a request is not valid, is unsupported, or cannot
  328. // be used. The returned message provides an explanation of the error value.
  329. //
  330. // * ErrCodeInternalServerException "InternalServerException"
  331. // AWS RoboMaker experienced a service issue. Try your call again.
  332. //
  333. // * ErrCodeThrottlingException "ThrottlingException"
  334. // AWS RoboMaker is temporarily unable to process the request. Try your call
  335. // again.
  336. //
  337. // * ErrCodeLimitExceededException "LimitExceededException"
  338. // The requested resource exceeds the maximum number allowed, or the number
  339. // of concurrent stream requests exceeds the maximum number allowed.
  340. //
  341. // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/CreateFleet
  342. func (c *RoboMaker) CreateFleet(input *CreateFleetInput) (*CreateFleetOutput, error) {
  343. req, out := c.CreateFleetRequest(input)
  344. return out, req.Send()
  345. }
  346. // CreateFleetWithContext is the same as CreateFleet with the addition of
  347. // the ability to pass a context and additional request options.
  348. //
  349. // See CreateFleet for details on how to use this API operation.
  350. //
  351. // The context must be non-nil and will be used for request cancellation. If
  352. // the context is nil a panic will occur. In the future the SDK may create
  353. // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  354. // for more information on using Contexts.
  355. func (c *RoboMaker) CreateFleetWithContext(ctx aws.Context, input *CreateFleetInput, opts ...request.Option) (*CreateFleetOutput, error) {
  356. req, out := c.CreateFleetRequest(input)
  357. req.SetContext(ctx)
  358. req.ApplyOptions(opts...)
  359. return out, req.Send()
  360. }
  361. const opCreateRobot = "CreateRobot"
  362. // CreateRobotRequest generates a "aws/request.Request" representing the
  363. // client's request for the CreateRobot operation. The "output" return
  364. // value will be populated with the request's response once the request completes
  365. // successfully.
  366. //
  367. // Use "Send" method on the returned Request to send the API call to the service.
  368. // the "output" return value is not valid until after Send returns without error.
  369. //
  370. // See CreateRobot for more information on using the CreateRobot
  371. // API call, and error handling.
  372. //
  373. // This method is useful when you want to inject custom logic or configuration
  374. // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  375. //
  376. //
  377. // // Example sending a request using the CreateRobotRequest method.
  378. // req, resp := client.CreateRobotRequest(params)
  379. //
  380. // err := req.Send()
  381. // if err == nil { // resp is now filled
  382. // fmt.Println(resp)
  383. // }
  384. //
  385. // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/CreateRobot
  386. func (c *RoboMaker) CreateRobotRequest(input *CreateRobotInput) (req *request.Request, output *CreateRobotOutput) {
  387. op := &request.Operation{
  388. Name: opCreateRobot,
  389. HTTPMethod: "POST",
  390. HTTPPath: "/createRobot",
  391. }
  392. if input == nil {
  393. input = &CreateRobotInput{}
  394. }
  395. output = &CreateRobotOutput{}
  396. req = c.newRequest(op, input, output)
  397. return
  398. }
  399. // CreateRobot API operation for AWS RoboMaker.
  400. //
  401. // Creates a robot.
  402. //
  403. // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  404. // with awserr.Error's Code and Message methods to get detailed information about
  405. // the error.
  406. //
  407. // See the AWS API reference guide for AWS RoboMaker's
  408. // API operation CreateRobot for usage and error information.
  409. //
  410. // Returned Error Codes:
  411. // * ErrCodeInvalidParameterException "InvalidParameterException"
  412. // A parameter specified in a request is not valid, is unsupported, or cannot
  413. // be used. The returned message provides an explanation of the error value.
  414. //
  415. // * ErrCodeInternalServerException "InternalServerException"
  416. // AWS RoboMaker experienced a service issue. Try your call again.
  417. //
  418. // * ErrCodeThrottlingException "ThrottlingException"
  419. // AWS RoboMaker is temporarily unable to process the request. Try your call
  420. // again.
  421. //
  422. // * ErrCodeLimitExceededException "LimitExceededException"
  423. // The requested resource exceeds the maximum number allowed, or the number
  424. // of concurrent stream requests exceeds the maximum number allowed.
  425. //
  426. // * ErrCodeResourceAlreadyExistsException "ResourceAlreadyExistsException"
  427. // The specified resource already exists
  428. //
  429. // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/CreateRobot
  430. func (c *RoboMaker) CreateRobot(input *CreateRobotInput) (*CreateRobotOutput, error) {
  431. req, out := c.CreateRobotRequest(input)
  432. return out, req.Send()
  433. }
  434. // CreateRobotWithContext is the same as CreateRobot with the addition of
  435. // the ability to pass a context and additional request options.
  436. //
  437. // See CreateRobot for details on how to use this API operation.
  438. //
  439. // The context must be non-nil and will be used for request cancellation. If
  440. // the context is nil a panic will occur. In the future the SDK may create
  441. // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  442. // for more information on using Contexts.
  443. func (c *RoboMaker) CreateRobotWithContext(ctx aws.Context, input *CreateRobotInput, opts ...request.Option) (*CreateRobotOutput, error) {
  444. req, out := c.CreateRobotRequest(input)
  445. req.SetContext(ctx)
  446. req.ApplyOptions(opts...)
  447. return out, req.Send()
  448. }
  449. const opCreateRobotApplication = "CreateRobotApplication"
  450. // CreateRobotApplicationRequest generates a "aws/request.Request" representing the
  451. // client's request for the CreateRobotApplication operation. The "output" return
  452. // value will be populated with the request's response once the request completes
  453. // successfully.
  454. //
  455. // Use "Send" method on the returned Request to send the API call to the service.
  456. // the "output" return value is not valid until after Send returns without error.
  457. //
  458. // See CreateRobotApplication for more information on using the CreateRobotApplication
  459. // API call, and error handling.
  460. //
  461. // This method is useful when you want to inject custom logic or configuration
  462. // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  463. //
  464. //
  465. // // Example sending a request using the CreateRobotApplicationRequest method.
  466. // req, resp := client.CreateRobotApplicationRequest(params)
  467. //
  468. // err := req.Send()
  469. // if err == nil { // resp is now filled
  470. // fmt.Println(resp)
  471. // }
  472. //
  473. // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/CreateRobotApplication
  474. func (c *RoboMaker) CreateRobotApplicationRequest(input *CreateRobotApplicationInput) (req *request.Request, output *CreateRobotApplicationOutput) {
  475. op := &request.Operation{
  476. Name: opCreateRobotApplication,
  477. HTTPMethod: "POST",
  478. HTTPPath: "/createRobotApplication",
  479. }
  480. if input == nil {
  481. input = &CreateRobotApplicationInput{}
  482. }
  483. output = &CreateRobotApplicationOutput{}
  484. req = c.newRequest(op, input, output)
  485. return
  486. }
  487. // CreateRobotApplication API operation for AWS RoboMaker.
  488. //
  489. // Creates a robot application.
  490. //
  491. // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  492. // with awserr.Error's Code and Message methods to get detailed information about
  493. // the error.
  494. //
  495. // See the AWS API reference guide for AWS RoboMaker's
  496. // API operation CreateRobotApplication for usage and error information.
  497. //
  498. // Returned Error Codes:
  499. // * ErrCodeInvalidParameterException "InvalidParameterException"
  500. // A parameter specified in a request is not valid, is unsupported, or cannot
  501. // be used. The returned message provides an explanation of the error value.
  502. //
  503. // * ErrCodeResourceAlreadyExistsException "ResourceAlreadyExistsException"
  504. // The specified resource already exists
  505. //
  506. // * ErrCodeLimitExceededException "LimitExceededException"
  507. // The requested resource exceeds the maximum number allowed, or the number
  508. // of concurrent stream requests exceeds the maximum number allowed.
  509. //
  510. // * ErrCodeThrottlingException "ThrottlingException"
  511. // AWS RoboMaker is temporarily unable to process the request. Try your call
  512. // again.
  513. //
  514. // * ErrCodeInternalServerException "InternalServerException"
  515. // AWS RoboMaker experienced a service issue. Try your call again.
  516. //
  517. // * ErrCodeIdempotentParameterMismatchException "IdempotentParameterMismatchException"
  518. // The request uses the same client token as a previous, but non-identical request.
  519. // Do not reuse a client token with different requests, unless the requests
  520. // are identical.
  521. //
  522. // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/CreateRobotApplication
  523. func (c *RoboMaker) CreateRobotApplication(input *CreateRobotApplicationInput) (*CreateRobotApplicationOutput, error) {
  524. req, out := c.CreateRobotApplicationRequest(input)
  525. return out, req.Send()
  526. }
  527. // CreateRobotApplicationWithContext is the same as CreateRobotApplication with the addition of
  528. // the ability to pass a context and additional request options.
  529. //
  530. // See CreateRobotApplication for details on how to use this API operation.
  531. //
  532. // The context must be non-nil and will be used for request cancellation. If
  533. // the context is nil a panic will occur. In the future the SDK may create
  534. // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  535. // for more information on using Contexts.
  536. func (c *RoboMaker) CreateRobotApplicationWithContext(ctx aws.Context, input *CreateRobotApplicationInput, opts ...request.Option) (*CreateRobotApplicationOutput, error) {
  537. req, out := c.CreateRobotApplicationRequest(input)
  538. req.SetContext(ctx)
  539. req.ApplyOptions(opts...)
  540. return out, req.Send()
  541. }
  542. const opCreateRobotApplicationVersion = "CreateRobotApplicationVersion"
  543. // CreateRobotApplicationVersionRequest generates a "aws/request.Request" representing the
  544. // client's request for the CreateRobotApplicationVersion operation. The "output" return
  545. // value will be populated with the request's response once the request completes
  546. // successfully.
  547. //
  548. // Use "Send" method on the returned Request to send the API call to the service.
  549. // the "output" return value is not valid until after Send returns without error.
  550. //
  551. // See CreateRobotApplicationVersion for more information on using the CreateRobotApplicationVersion
  552. // API call, and error handling.
  553. //
  554. // This method is useful when you want to inject custom logic or configuration
  555. // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  556. //
  557. //
  558. // // Example sending a request using the CreateRobotApplicationVersionRequest method.
  559. // req, resp := client.CreateRobotApplicationVersionRequest(params)
  560. //
  561. // err := req.Send()
  562. // if err == nil { // resp is now filled
  563. // fmt.Println(resp)
  564. // }
  565. //
  566. // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/CreateRobotApplicationVersion
  567. func (c *RoboMaker) CreateRobotApplicationVersionRequest(input *CreateRobotApplicationVersionInput) (req *request.Request, output *CreateRobotApplicationVersionOutput) {
  568. op := &request.Operation{
  569. Name: opCreateRobotApplicationVersion,
  570. HTTPMethod: "POST",
  571. HTTPPath: "/createRobotApplicationVersion",
  572. }
  573. if input == nil {
  574. input = &CreateRobotApplicationVersionInput{}
  575. }
  576. output = &CreateRobotApplicationVersionOutput{}
  577. req = c.newRequest(op, input, output)
  578. return
  579. }
  580. // CreateRobotApplicationVersion API operation for AWS RoboMaker.
  581. //
  582. // Creates a version of a robot application.
  583. //
  584. // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  585. // with awserr.Error's Code and Message methods to get detailed information about
  586. // the error.
  587. //
  588. // See the AWS API reference guide for AWS RoboMaker's
  589. // API operation CreateRobotApplicationVersion for usage and error information.
  590. //
  591. // Returned Error Codes:
  592. // * ErrCodeInvalidParameterException "InvalidParameterException"
  593. // A parameter specified in a request is not valid, is unsupported, or cannot
  594. // be used. The returned message provides an explanation of the error value.
  595. //
  596. // * ErrCodeIdempotentParameterMismatchException "IdempotentParameterMismatchException"
  597. // The request uses the same client token as a previous, but non-identical request.
  598. // Do not reuse a client token with different requests, unless the requests
  599. // are identical.
  600. //
  601. // * ErrCodeLimitExceededException "LimitExceededException"
  602. // The requested resource exceeds the maximum number allowed, or the number
  603. // of concurrent stream requests exceeds the maximum number allowed.
  604. //
  605. // * ErrCodeThrottlingException "ThrottlingException"
  606. // AWS RoboMaker is temporarily unable to process the request. Try your call
  607. // again.
  608. //
  609. // * ErrCodeInternalServerException "InternalServerException"
  610. // AWS RoboMaker experienced a service issue. Try your call again.
  611. //
  612. // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/CreateRobotApplicationVersion
  613. func (c *RoboMaker) CreateRobotApplicationVersion(input *CreateRobotApplicationVersionInput) (*CreateRobotApplicationVersionOutput, error) {
  614. req, out := c.CreateRobotApplicationVersionRequest(input)
  615. return out, req.Send()
  616. }
  617. // CreateRobotApplicationVersionWithContext is the same as CreateRobotApplicationVersion with the addition of
  618. // the ability to pass a context and additional request options.
  619. //
  620. // See CreateRobotApplicationVersion for details on how to use this API operation.
  621. //
  622. // The context must be non-nil and will be used for request cancellation. If
  623. // the context is nil a panic will occur. In the future the SDK may create
  624. // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  625. // for more information on using Contexts.
  626. func (c *RoboMaker) CreateRobotApplicationVersionWithContext(ctx aws.Context, input *CreateRobotApplicationVersionInput, opts ...request.Option) (*CreateRobotApplicationVersionOutput, error) {
  627. req, out := c.CreateRobotApplicationVersionRequest(input)
  628. req.SetContext(ctx)
  629. req.ApplyOptions(opts...)
  630. return out, req.Send()
  631. }
  632. const opCreateSimulationApplication = "CreateSimulationApplication"
  633. // CreateSimulationApplicationRequest generates a "aws/request.Request" representing the
  634. // client's request for the CreateSimulationApplication operation. The "output" return
  635. // value will be populated with the request's response once the request completes
  636. // successfully.
  637. //
  638. // Use "Send" method on the returned Request to send the API call to the service.
  639. // the "output" return value is not valid until after Send returns without error.
  640. //
  641. // See CreateSimulationApplication for more information on using the CreateSimulationApplication
  642. // API call, and error handling.
  643. //
  644. // This method is useful when you want to inject custom logic or configuration
  645. // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  646. //
  647. //
  648. // // Example sending a request using the CreateSimulationApplicationRequest method.
  649. // req, resp := client.CreateSimulationApplicationRequest(params)
  650. //
  651. // err := req.Send()
  652. // if err == nil { // resp is now filled
  653. // fmt.Println(resp)
  654. // }
  655. //
  656. // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/CreateSimulationApplication
  657. func (c *RoboMaker) CreateSimulationApplicationRequest(input *CreateSimulationApplicationInput) (req *request.Request, output *CreateSimulationApplicationOutput) {
  658. op := &request.Operation{
  659. Name: opCreateSimulationApplication,
  660. HTTPMethod: "POST",
  661. HTTPPath: "/createSimulationApplication",
  662. }
  663. if input == nil {
  664. input = &CreateSimulationApplicationInput{}
  665. }
  666. output = &CreateSimulationApplicationOutput{}
  667. req = c.newRequest(op, input, output)
  668. return
  669. }
  670. // CreateSimulationApplication API operation for AWS RoboMaker.
  671. //
  672. // Creates a simulation application.
  673. //
  674. // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  675. // with awserr.Error's Code and Message methods to get detailed information about
  676. // the error.
  677. //
  678. // See the AWS API reference guide for AWS RoboMaker's
  679. // API operation CreateSimulationApplication for usage and error information.
  680. //
  681. // Returned Error Codes:
  682. // * ErrCodeInvalidParameterException "InvalidParameterException"
  683. // A parameter specified in a request is not valid, is unsupported, or cannot
  684. // be used. The returned message provides an explanation of the error value.
  685. //
  686. // * ErrCodeResourceAlreadyExistsException "ResourceAlreadyExistsException"
  687. // The specified resource already exists
  688. //
  689. // * ErrCodeLimitExceededException "LimitExceededException"
  690. // The requested resource exceeds the maximum number allowed, or the number
  691. // of concurrent stream requests exceeds the maximum number allowed.
  692. //
  693. // * ErrCodeThrottlingException "ThrottlingException"
  694. // AWS RoboMaker is temporarily unable to process the request. Try your call
  695. // again.
  696. //
  697. // * ErrCodeInternalServerException "InternalServerException"
  698. // AWS RoboMaker experienced a service issue. Try your call again.
  699. //
  700. // * ErrCodeIdempotentParameterMismatchException "IdempotentParameterMismatchException"
  701. // The request uses the same client token as a previous, but non-identical request.
  702. // Do not reuse a client token with different requests, unless the requests
  703. // are identical.
  704. //
  705. // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/CreateSimulationApplication
  706. func (c *RoboMaker) CreateSimulationApplication(input *CreateSimulationApplicationInput) (*CreateSimulationApplicationOutput, error) {
  707. req, out := c.CreateSimulationApplicationRequest(input)
  708. return out, req.Send()
  709. }
  710. // CreateSimulationApplicationWithContext is the same as CreateSimulationApplication with the addition of
  711. // the ability to pass a context and additional request options.
  712. //
  713. // See CreateSimulationApplication for details on how to use this API operation.
  714. //
  715. // The context must be non-nil and will be used for request cancellation. If
  716. // the context is nil a panic will occur. In the future the SDK may create
  717. // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  718. // for more information on using Contexts.
  719. func (c *RoboMaker) CreateSimulationApplicationWithContext(ctx aws.Context, input *CreateSimulationApplicationInput, opts ...request.Option) (*CreateSimulationApplicationOutput, error) {
  720. req, out := c.CreateSimulationApplicationRequest(input)
  721. req.SetContext(ctx)
  722. req.ApplyOptions(opts...)
  723. return out, req.Send()
  724. }
  725. const opCreateSimulationApplicationVersion = "CreateSimulationApplicationVersion"
  726. // CreateSimulationApplicationVersionRequest generates a "aws/request.Request" representing the
  727. // client's request for the CreateSimulationApplicationVersion operation. The "output" return
  728. // value will be populated with the request's response once the request completes
  729. // successfully.
  730. //
  731. // Use "Send" method on the returned Request to send the API call to the service.
  732. // the "output" return value is not valid until after Send returns without error.
  733. //
  734. // See CreateSimulationApplicationVersion for more information on using the CreateSimulationApplicationVersion
  735. // API call, and error handling.
  736. //
  737. // This method is useful when you want to inject custom logic or configuration
  738. // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  739. //
  740. //
  741. // // Example sending a request using the CreateSimulationApplicationVersionRequest method.
  742. // req, resp := client.CreateSimulationApplicationVersionRequest(params)
  743. //
  744. // err := req.Send()
  745. // if err == nil { // resp is now filled
  746. // fmt.Println(resp)
  747. // }
  748. //
  749. // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/CreateSimulationApplicationVersion
  750. func (c *RoboMaker) CreateSimulationApplicationVersionRequest(input *CreateSimulationApplicationVersionInput) (req *request.Request, output *CreateSimulationApplicationVersionOutput) {
  751. op := &request.Operation{
  752. Name: opCreateSimulationApplicationVersion,
  753. HTTPMethod: "POST",
  754. HTTPPath: "/createSimulationApplicationVersion",
  755. }
  756. if input == nil {
  757. input = &CreateSimulationApplicationVersionInput{}
  758. }
  759. output = &CreateSimulationApplicationVersionOutput{}
  760. req = c.newRequest(op, input, output)
  761. return
  762. }
  763. // CreateSimulationApplicationVersion API operation for AWS RoboMaker.
  764. //
  765. // Creates a simulation application with a specific revision id.
  766. //
  767. // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  768. // with awserr.Error's Code and Message methods to get detailed information about
  769. // the error.
  770. //
  771. // See the AWS API reference guide for AWS RoboMaker's
  772. // API operation CreateSimulationApplicationVersion for usage and error information.
  773. //
  774. // Returned Error Codes:
  775. // * ErrCodeInvalidParameterException "InvalidParameterException"
  776. // A parameter specified in a request is not valid, is unsupported, or cannot
  777. // be used. The returned message provides an explanation of the error value.
  778. //
  779. // * ErrCodeIdempotentParameterMismatchException "IdempotentParameterMismatchException"
  780. // The request uses the same client token as a previous, but non-identical request.
  781. // Do not reuse a client token with different requests, unless the requests
  782. // are identical.
  783. //
  784. // * ErrCodeLimitExceededException "LimitExceededException"
  785. // The requested resource exceeds the maximum number allowed, or the number
  786. // of concurrent stream requests exceeds the maximum number allowed.
  787. //
  788. // * ErrCodeThrottlingException "ThrottlingException"
  789. // AWS RoboMaker is temporarily unable to process the request. Try your call
  790. // again.
  791. //
  792. // * ErrCodeInternalServerException "InternalServerException"
  793. // AWS RoboMaker experienced a service issue. Try your call again.
  794. //
  795. // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/CreateSimulationApplicationVersion
  796. func (c *RoboMaker) CreateSimulationApplicationVersion(input *CreateSimulationApplicationVersionInput) (*CreateSimulationApplicationVersionOutput, error) {
  797. req, out := c.CreateSimulationApplicationVersionRequest(input)
  798. return out, req.Send()
  799. }
  800. // CreateSimulationApplicationVersionWithContext is the same as CreateSimulationApplicationVersion with the addition of
  801. // the ability to pass a context and additional request options.
  802. //
  803. // See CreateSimulationApplicationVersion for details on how to use this API operation.
  804. //
  805. // The context must be non-nil and will be used for request cancellation. If
  806. // the context is nil a panic will occur. In the future the SDK may create
  807. // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  808. // for more information on using Contexts.
  809. func (c *RoboMaker) CreateSimulationApplicationVersionWithContext(ctx aws.Context, input *CreateSimulationApplicationVersionInput, opts ...request.Option) (*CreateSimulationApplicationVersionOutput, error) {
  810. req, out := c.CreateSimulationApplicationVersionRequest(input)
  811. req.SetContext(ctx)
  812. req.ApplyOptions(opts...)
  813. return out, req.Send()
  814. }
  815. const opCreateSimulationJob = "CreateSimulationJob"
  816. // CreateSimulationJobRequest generates a "aws/request.Request" representing the
  817. // client's request for the CreateSimulationJob operation. The "output" return
  818. // value will be populated with the request's response once the request completes
  819. // successfully.
  820. //
  821. // Use "Send" method on the returned Request to send the API call to the service.
  822. // the "output" return value is not valid until after Send returns without error.
  823. //
  824. // See CreateSimulationJob for more information on using the CreateSimulationJob
  825. // API call, and error handling.
  826. //
  827. // This method is useful when you want to inject custom logic or configuration
  828. // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  829. //
  830. //
  831. // // Example sending a request using the CreateSimulationJobRequest method.
  832. // req, resp := client.CreateSimulationJobRequest(params)
  833. //
  834. // err := req.Send()
  835. // if err == nil { // resp is now filled
  836. // fmt.Println(resp)
  837. // }
  838. //
  839. // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/CreateSimulationJob
  840. func (c *RoboMaker) CreateSimulationJobRequest(input *CreateSimulationJobInput) (req *request.Request, output *CreateSimulationJobOutput) {
  841. op := &request.Operation{
  842. Name: opCreateSimulationJob,
  843. HTTPMethod: "POST",
  844. HTTPPath: "/createSimulationJob",
  845. }
  846. if input == nil {
  847. input = &CreateSimulationJobInput{}
  848. }
  849. output = &CreateSimulationJobOutput{}
  850. req = c.newRequest(op, input, output)
  851. return
  852. }
  853. // CreateSimulationJob API operation for AWS RoboMaker.
  854. //
  855. // Creates a simulation job.
  856. //
  857. // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  858. // with awserr.Error's Code and Message methods to get detailed information about
  859. // the error.
  860. //
  861. // See the AWS API reference guide for AWS RoboMaker's
  862. // API operation CreateSimulationJob for usage and error information.
  863. //
  864. // Returned Error Codes:
  865. // * ErrCodeResourceNotFoundException "ResourceNotFoundException"
  866. // The specified resource does not exist.
  867. //
  868. // * ErrCodeInvalidParameterException "InvalidParameterException"
  869. // A parameter specified in a request is not valid, is unsupported, or cannot
  870. // be used. The returned message provides an explanation of the error value.
  871. //
  872. // * ErrCodeInternalServerException "InternalServerException"
  873. // AWS RoboMaker experienced a service issue. Try your call again.
  874. //
  875. // * ErrCodeThrottlingException "ThrottlingException"
  876. // AWS RoboMaker is temporarily unable to process the request. Try your call
  877. // again.
  878. //
  879. // * ErrCodeLimitExceededException "LimitExceededException"
  880. // The requested resource exceeds the maximum number allowed, or the number
  881. // of concurrent stream requests exceeds the maximum number allowed.
  882. //
  883. // * ErrCodeIdempotentParameterMismatchException "IdempotentParameterMismatchException"
  884. // The request uses the same client token as a previous, but non-identical request.
  885. // Do not reuse a client token with different requests, unless the requests
  886. // are identical.
  887. //
  888. // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/CreateSimulationJob
  889. func (c *RoboMaker) CreateSimulationJob(input *CreateSimulationJobInput) (*CreateSimulationJobOutput, error) {
  890. req, out := c.CreateSimulationJobRequest(input)
  891. return out, req.Send()
  892. }
  893. // CreateSimulationJobWithContext is the same as CreateSimulationJob with the addition of
  894. // the ability to pass a context and additional request options.
  895. //
  896. // See CreateSimulationJob for details on how to use this API operation.
  897. //
  898. // The context must be non-nil and will be used for request cancellation. If
  899. // the context is nil a panic will occur. In the future the SDK may create
  900. // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  901. // for more information on using Contexts.
  902. func (c *RoboMaker) CreateSimulationJobWithContext(ctx aws.Context, input *CreateSimulationJobInput, opts ...request.Option) (*CreateSimulationJobOutput, error) {
  903. req, out := c.CreateSimulationJobRequest(input)
  904. req.SetContext(ctx)
  905. req.ApplyOptions(opts...)
  906. return out, req.Send()
  907. }
  908. const opDeleteFleet = "DeleteFleet"
  909. // DeleteFleetRequest generates a "aws/request.Request" representing the
  910. // client's request for the DeleteFleet operation. The "output" return
  911. // value will be populated with the request's response once the request completes
  912. // successfully.
  913. //
  914. // Use "Send" method on the returned Request to send the API call to the service.
  915. // the "output" return value is not valid until after Send returns without error.
  916. //
  917. // See DeleteFleet for more information on using the DeleteFleet
  918. // API call, and error handling.
  919. //
  920. // This method is useful when you want to inject custom logic or configuration
  921. // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  922. //
  923. //
  924. // // Example sending a request using the DeleteFleetRequest method.
  925. // req, resp := client.DeleteFleetRequest(params)
  926. //
  927. // err := req.Send()
  928. // if err == nil { // resp is now filled
  929. // fmt.Println(resp)
  930. // }
  931. //
  932. // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/DeleteFleet
  933. func (c *RoboMaker) DeleteFleetRequest(input *DeleteFleetInput) (req *request.Request, output *DeleteFleetOutput) {
  934. op := &request.Operation{
  935. Name: opDeleteFleet,
  936. HTTPMethod: "POST",
  937. HTTPPath: "/deleteFleet",
  938. }
  939. if input == nil {
  940. input = &DeleteFleetInput{}
  941. }
  942. output = &DeleteFleetOutput{}
  943. req = c.newRequest(op, input, output)
  944. req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
  945. return
  946. }
  947. // DeleteFleet API operation for AWS RoboMaker.
  948. //
  949. // Deletes a fleet.
  950. //
  951. // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  952. // with awserr.Error's Code and Message methods to get detailed information about
  953. // the error.
  954. //
  955. // See the AWS API reference guide for AWS RoboMaker's
  956. // API operation DeleteFleet for usage and error information.
  957. //
  958. // Returned Error Codes:
  959. // * ErrCodeInvalidParameterException "InvalidParameterException"
  960. // A parameter specified in a request is not valid, is unsupported, or cannot
  961. // be used. The returned message provides an explanation of the error value.
  962. //
  963. // * ErrCodeInternalServerException "InternalServerException"
  964. // AWS RoboMaker experienced a service issue. Try your call again.
  965. //
  966. // * ErrCodeThrottlingException "ThrottlingException"
  967. // AWS RoboMaker is temporarily unable to process the request. Try your call
  968. // again.
  969. //
  970. // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/DeleteFleet
  971. func (c *RoboMaker) DeleteFleet(input *DeleteFleetInput) (*DeleteFleetOutput, error) {
  972. req, out := c.DeleteFleetRequest(input)
  973. return out, req.Send()
  974. }
  975. // DeleteFleetWithContext is the same as DeleteFleet with the addition of
  976. // the ability to pass a context and additional request options.
  977. //
  978. // See DeleteFleet for details on how to use this API operation.
  979. //
  980. // The context must be non-nil and will be used for request cancellation. If
  981. // the context is nil a panic will occur. In the future the SDK may create
  982. // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  983. // for more information on using Contexts.
  984. func (c *RoboMaker) DeleteFleetWithContext(ctx aws.Context, input *DeleteFleetInput, opts ...request.Option) (*DeleteFleetOutput, error) {
  985. req, out := c.DeleteFleetRequest(input)
  986. req.SetContext(ctx)
  987. req.ApplyOptions(opts...)
  988. return out, req.Send()
  989. }
  990. const opDeleteRobot = "DeleteRobot"
  991. // DeleteRobotRequest generates a "aws/request.Request" representing the
  992. // client's request for the DeleteRobot operation. The "output" return
  993. // value will be populated with the request's response once the request completes
  994. // successfully.
  995. //
  996. // Use "Send" method on the returned Request to send the API call to the service.
  997. // the "output" return value is not valid until after Send returns without error.
  998. //
  999. // See DeleteRobot for more information on using the DeleteRobot
  1000. // API call, and error handling.
  1001. //
  1002. // This method is useful when you want to inject custom logic or configuration
  1003. // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  1004. //
  1005. //
  1006. // // Example sending a request using the DeleteRobotRequest method.
  1007. // req, resp := client.DeleteRobotRequest(params)
  1008. //
  1009. // err := req.Send()
  1010. // if err == nil { // resp is now filled
  1011. // fmt.Println(resp)
  1012. // }
  1013. //
  1014. // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/DeleteRobot
  1015. func (c *RoboMaker) DeleteRobotRequest(input *DeleteRobotInput) (req *request.Request, output *DeleteRobotOutput) {
  1016. op := &request.Operation{
  1017. Name: opDeleteRobot,
  1018. HTTPMethod: "POST",
  1019. HTTPPath: "/deleteRobot",
  1020. }
  1021. if input == nil {
  1022. input = &DeleteRobotInput{}
  1023. }
  1024. output = &DeleteRobotOutput{}
  1025. req = c.newRequest(op, input, output)
  1026. req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
  1027. return
  1028. }
  1029. // DeleteRobot API operation for AWS RoboMaker.
  1030. //
  1031. // Deletes a robot.
  1032. //
  1033. // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  1034. // with awserr.Error's Code and Message methods to get detailed information about
  1035. // the error.
  1036. //
  1037. // See the AWS API reference guide for AWS RoboMaker's
  1038. // API operation DeleteRobot for usage and error information.
  1039. //
  1040. // Returned Error Codes:
  1041. // * ErrCodeInvalidParameterException "InvalidParameterException"
  1042. // A parameter specified in a request is not valid, is unsupported, or cannot
  1043. // be used. The returned message provides an explanation of the error value.
  1044. //
  1045. // * ErrCodeInternalServerException "InternalServerException"
  1046. // AWS RoboMaker experienced a service issue. Try your call again.
  1047. //
  1048. // * ErrCodeThrottlingException "ThrottlingException"
  1049. // AWS RoboMaker is temporarily unable to process the request. Try your call
  1050. // again.
  1051. //
  1052. // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/DeleteRobot
  1053. func (c *RoboMaker) DeleteRobot(input *DeleteRobotInput) (*DeleteRobotOutput, error) {
  1054. req, out := c.DeleteRobotRequest(input)
  1055. return out, req.Send()
  1056. }
  1057. // DeleteRobotWithContext is the same as DeleteRobot with the addition of
  1058. // the ability to pass a context and additional request options.
  1059. //
  1060. // See DeleteRobot for details on how to use this API operation.
  1061. //
  1062. // The context must be non-nil and will be used for request cancellation. If
  1063. // the context is nil a panic will occur. In the future the SDK may create
  1064. // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  1065. // for more information on using Contexts.
  1066. func (c *RoboMaker) DeleteRobotWithContext(ctx aws.Context, input *DeleteRobotInput, opts ...request.Option) (*DeleteRobotOutput, error) {
  1067. req, out := c.DeleteRobotRequest(input)
  1068. req.SetContext(ctx)
  1069. req.ApplyOptions(opts...)
  1070. return out, req.Send()
  1071. }
  1072. const opDeleteRobotApplication = "DeleteRobotApplication"
  1073. // DeleteRobotApplicationRequest generates a "aws/request.Request" representing the
  1074. // client's request for the DeleteRobotApplication operation. The "output" return
  1075. // value will be populated with the request's response once the request completes
  1076. // successfully.
  1077. //
  1078. // Use "Send" method on the returned Request to send the API call to the service.
  1079. // the "output" return value is not valid until after Send returns without error.
  1080. //
  1081. // See DeleteRobotApplication for more information on using the DeleteRobotApplication
  1082. // API call, and error handling.
  1083. //
  1084. // This method is useful when you want to inject custom logic or configuration
  1085. // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  1086. //
  1087. //
  1088. // // Example sending a request using the DeleteRobotApplicationRequest method.
  1089. // req, resp := client.DeleteRobotApplicationRequest(params)
  1090. //
  1091. // err := req.Send()
  1092. // if err == nil { // resp is now filled
  1093. // fmt.Println(resp)
  1094. // }
  1095. //
  1096. // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/DeleteRobotApplication
  1097. func (c *RoboMaker) DeleteRobotApplicationRequest(input *DeleteRobotApplicationInput) (req *request.Request, output *DeleteRobotApplicationOutput) {
  1098. op := &request.Operation{
  1099. Name: opDeleteRobotApplication,
  1100. HTTPMethod: "POST",
  1101. HTTPPath: "/deleteRobotApplication",
  1102. }
  1103. if input == nil {
  1104. input = &DeleteRobotApplicationInput{}
  1105. }
  1106. output = &DeleteRobotApplicationOutput{}
  1107. req = c.newRequest(op, input, output)
  1108. req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
  1109. return
  1110. }
  1111. // DeleteRobotApplication API operation for AWS RoboMaker.
  1112. //
  1113. // Deletes a robot application.
  1114. //
  1115. // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  1116. // with awserr.Error's Code and Message methods to get detailed information about
  1117. // the error.
  1118. //
  1119. // See the AWS API reference guide for AWS RoboMaker's
  1120. // API operation DeleteRobotApplication for usage and error information.
  1121. //
  1122. // Returned Error Codes:
  1123. // * ErrCodeInvalidParameterException "InvalidParameterException"
  1124. // A parameter specified in a request is not valid, is unsupported, or cannot
  1125. // be used. The returned message provides an explanation of the error value.
  1126. //
  1127. // * ErrCodeThrottlingException "ThrottlingException"
  1128. // AWS RoboMaker is temporarily unable to process the request. Try your call
  1129. // again.
  1130. //
  1131. // * ErrCodeInternalServerException "InternalServerException"
  1132. // AWS RoboMaker experienced a service issue. Try your call again.
  1133. //
  1134. // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/DeleteRobotApplication
  1135. func (c *RoboMaker) DeleteRobotApplication(input *DeleteRobotApplicationInput) (*DeleteRobotApplicationOutput, error) {
  1136. req, out := c.DeleteRobotApplicationRequest(input)
  1137. return out, req.Send()
  1138. }
  1139. // DeleteRobotApplicationWithContext is the same as DeleteRobotApplication with the addition of
  1140. // the ability to pass a context and additional request options.
  1141. //
  1142. // See DeleteRobotApplication for details on how to use this API operation.
  1143. //
  1144. // The context must be non-nil and will be used for request cancellation. If
  1145. // the context is nil a panic will occur. In the future the SDK may create
  1146. // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  1147. // for more information on using Contexts.
  1148. func (c *RoboMaker) DeleteRobotApplicationWithContext(ctx aws.Context, input *DeleteRobotApplicationInput, opts ...request.Option) (*DeleteRobotApplicationOutput, error) {
  1149. req, out := c.DeleteRobotApplicationRequest(input)
  1150. req.SetContext(ctx)
  1151. req.ApplyOptions(opts...)
  1152. return out, req.Send()
  1153. }
  1154. const opDeleteSimulationApplication = "DeleteSimulationApplication"
  1155. // DeleteSimulationApplicationRequest generates a "aws/request.Request" representing the
  1156. // client's request for the DeleteSimulationApplication operation. The "output" return
  1157. // value will be populated with the request's response once the request completes
  1158. // successfully.
  1159. //
  1160. // Use "Send" method on the returned Request to send the API call to the service.
  1161. // the "output" return value is not valid until after Send returns without error.
  1162. //
  1163. // See DeleteSimulationApplication for more information on using the DeleteSimulationApplication
  1164. // API call, and error handling.
  1165. //
  1166. // This method is useful when you want to inject custom logic or configuration
  1167. // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  1168. //
  1169. //
  1170. // // Example sending a request using the DeleteSimulationApplicationRequest method.
  1171. // req, resp := client.DeleteSimulationApplicationRequest(params)
  1172. //
  1173. // err := req.Send()
  1174. // if err == nil { // resp is now filled
  1175. // fmt.Println(resp)
  1176. // }
  1177. //
  1178. // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/DeleteSimulationApplication
  1179. func (c *RoboMaker) DeleteSimulationApplicationRequest(input *DeleteSimulationApplicationInput) (req *request.Request, output *DeleteSimulationApplicationOutput) {
  1180. op := &request.Operation{
  1181. Name: opDeleteSimulationApplication,
  1182. HTTPMethod: "POST",
  1183. HTTPPath: "/deleteSimulationApplication",
  1184. }
  1185. if input == nil {
  1186. input = &DeleteSimulationApplicationInput{}
  1187. }
  1188. output = &DeleteSimulationApplicationOutput{}
  1189. req = c.newRequest(op, input, output)
  1190. req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
  1191. return
  1192. }
  1193. // DeleteSimulationApplication API operation for AWS RoboMaker.
  1194. //
  1195. // Deletes a simulation application.
  1196. //
  1197. // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  1198. // with awserr.Error's Code and Message methods to get detailed information about
  1199. // the error.
  1200. //
  1201. // See the AWS API reference guide for AWS RoboMaker's
  1202. // API operation DeleteSimulationApplication for usage and error information.
  1203. //
  1204. // Returned Error Codes:
  1205. // * ErrCodeInvalidParameterException "InvalidParameterException"
  1206. // A parameter specified in a request is not valid, is unsupported, or cannot
  1207. // be used. The returned message provides an explanation of the error value.
  1208. //
  1209. // * ErrCodeThrottlingException "ThrottlingException"
  1210. // AWS RoboMaker is temporarily unable to process the request. Try your call
  1211. // again.
  1212. //
  1213. // * ErrCodeInternalServerException "InternalServerException"
  1214. // AWS RoboMaker experienced a service issue. Try your call again.
  1215. //
  1216. // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/DeleteSimulationApplication
  1217. func (c *RoboMaker) DeleteSimulationApplication(input *DeleteSimulationApplicationInput) (*DeleteSimulationApplicationOutput, error) {
  1218. req, out := c.DeleteSimulationApplicationRequest(input)
  1219. return out, req.Send()
  1220. }
  1221. // DeleteSimulationApplicationWithContext is the same as DeleteSimulationApplication with the addition of
  1222. // the ability to pass a context and additional request options.
  1223. //
  1224. // See DeleteSimulationApplication for details on how to use this API operation.
  1225. //
  1226. // The context must be non-nil and will be used for request cancellation. If
  1227. // the context is nil a panic will occur. In the future the SDK may create
  1228. // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  1229. // for more information on using Contexts.
  1230. func (c *RoboMaker) DeleteSimulationApplicationWithContext(ctx aws.Context, input *DeleteSimulationApplicationInput, opts ...request.Option) (*DeleteSimulationApplicationOutput, error) {
  1231. req, out := c.DeleteSimulationApplicationRequest(input)
  1232. req.SetContext(ctx)
  1233. req.ApplyOptions(opts...)
  1234. return out, req.Send()
  1235. }
  1236. const opDeregisterRobot = "DeregisterRobot"
  1237. // DeregisterRobotRequest generates a "aws/request.Request" representing the
  1238. // client's request for the DeregisterRobot operation. The "output" return
  1239. // value will be populated with the request's response once the request completes
  1240. // successfully.
  1241. //
  1242. // Use "Send" method on the returned Request to send the API call to the service.
  1243. // the "output" return value is not valid until after Send returns without error.
  1244. //
  1245. // See DeregisterRobot for more information on using the DeregisterRobot
  1246. // API call, and error handling.
  1247. //
  1248. // This method is useful when you want to inject custom logic or configuration
  1249. // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  1250. //
  1251. //
  1252. // // Example sending a request using the DeregisterRobotRequest method.
  1253. // req, resp := client.DeregisterRobotRequest(params)
  1254. //
  1255. // err := req.Send()
  1256. // if err == nil { // resp is now filled
  1257. // fmt.Println(resp)
  1258. // }
  1259. //
  1260. // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/DeregisterRobot
  1261. func (c *RoboMaker) DeregisterRobotRequest(input *DeregisterRobotInput) (req *request.Request, output *DeregisterRobotOutput) {
  1262. op := &request.Operation{
  1263. Name: opDeregisterRobot,
  1264. HTTPMethod: "POST",
  1265. HTTPPath: "/deregisterRobot",
  1266. }
  1267. if input == nil {
  1268. input = &DeregisterRobotInput{}
  1269. }
  1270. output = &DeregisterRobotOutput{}
  1271. req = c.newRequest(op, input, output)
  1272. return
  1273. }
  1274. // DeregisterRobot API operation for AWS RoboMaker.
  1275. //
  1276. // Deregisters a robot.
  1277. //
  1278. // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  1279. // with awserr.Error's Code and Message methods to get detailed information about
  1280. // the error.
  1281. //
  1282. // See the AWS API reference guide for AWS RoboMaker's
  1283. // API operation DeregisterRobot for usage and error information.
  1284. //
  1285. // Returned Error Codes:
  1286. // * ErrCodeInvalidParameterException "InvalidParameterException"
  1287. // A parameter specified in a request is not valid, is unsupported, or cannot
  1288. // be used. The returned message provides an explanation of the error value.
  1289. //
  1290. // * ErrCodeInternalServerException "InternalServerException"
  1291. // AWS RoboMaker experienced a service issue. Try your call again.
  1292. //
  1293. // * ErrCodeThrottlingException "ThrottlingException"
  1294. // AWS RoboMaker is temporarily unable to process the request. Try your call
  1295. // again.
  1296. //
  1297. // * ErrCodeResourceNotFoundException "ResourceNotFoundException"
  1298. // The specified resource does not exist.
  1299. //
  1300. // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/DeregisterRobot
  1301. func (c *RoboMaker) DeregisterRobot(input *DeregisterRobotInput) (*DeregisterRobotOutput, error) {
  1302. req, out := c.DeregisterRobotRequest(input)
  1303. return out, req.Send()
  1304. }
  1305. // DeregisterRobotWithContext is the same as DeregisterRobot with the addition of
  1306. // the ability to pass a context and additional request options.
  1307. //
  1308. // See DeregisterRobot for details on how to use this API operation.
  1309. //
  1310. // The context must be non-nil and will be used for request cancellation. If
  1311. // the context is nil a panic will occur. In the future the SDK may create
  1312. // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  1313. // for more information on using Contexts.
  1314. func (c *RoboMaker) DeregisterRobotWithContext(ctx aws.Context, input *DeregisterRobotInput, opts ...request.Option) (*DeregisterRobotOutput, error) {
  1315. req, out := c.DeregisterRobotRequest(input)
  1316. req.SetContext(ctx)
  1317. req.ApplyOptions(opts...)
  1318. return out, req.Send()
  1319. }
  1320. const opDescribeDeploymentJob = "DescribeDeploymentJob"
  1321. // DescribeDeploymentJobRequest generates a "aws/request.Request" representing the
  1322. // client's request for the DescribeDeploymentJob operation. The "output" return
  1323. // value will be populated with the request's response once the request completes
  1324. // successfully.
  1325. //
  1326. // Use "Send" method on the returned Request to send the API call to the service.
  1327. // the "output" return value is not valid until after Send returns without error.
  1328. //
  1329. // See DescribeDeploymentJob for more information on using the DescribeDeploymentJob
  1330. // API call, and error handling.
  1331. //
  1332. // This method is useful when you want to inject custom logic or configuration
  1333. // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  1334. //
  1335. //
  1336. // // Example sending a request using the DescribeDeploymentJobRequest method.
  1337. // req, resp := client.DescribeDeploymentJobRequest(params)
  1338. //
  1339. // err := req.Send()
  1340. // if err == nil { // resp is now filled
  1341. // fmt.Println(resp)
  1342. // }
  1343. //
  1344. // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/DescribeDeploymentJob
  1345. func (c *RoboMaker) DescribeDeploymentJobRequest(input *DescribeDeploymentJobInput) (req *request.Request, output *DescribeDeploymentJobOutput) {
  1346. op := &request.Operation{
  1347. Name: opDescribeDeploymentJob,
  1348. HTTPMethod: "POST",
  1349. HTTPPath: "/describeDeploymentJob",
  1350. }
  1351. if input == nil {
  1352. input = &DescribeDeploymentJobInput{}
  1353. }
  1354. output = &DescribeDeploymentJobOutput{}
  1355. req = c.newRequest(op, input, output)
  1356. return
  1357. }
  1358. // DescribeDeploymentJob API operation for AWS RoboMaker.
  1359. //
  1360. // Describes a deployment job. [Does it work regardless of deployment status,
  1361. // e.g. Failed?]
  1362. //
  1363. // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  1364. // with awserr.Error's Code and Message methods to get detailed information about
  1365. // the error.
  1366. //
  1367. // See the AWS API reference guide for AWS RoboMaker's
  1368. // API operation DescribeDeploymentJob for usage and error information.
  1369. //
  1370. // Returned Error Codes:
  1371. // * ErrCodeResourceNotFoundException "ResourceNotFoundException"
  1372. // The specified resource does not exist.
  1373. //
  1374. // * ErrCodeInvalidParameterException "InvalidParameterException"
  1375. // A parameter specified in a request is not valid, is unsupported, or cannot
  1376. // be used. The returned message provides an explanation of the error value.
  1377. //
  1378. // * ErrCodeInternalServerException "InternalServerException"
  1379. // AWS RoboMaker experienced a service issue. Try your call again.
  1380. //
  1381. // * ErrCodeThrottlingException "ThrottlingException"
  1382. // AWS RoboMaker is temporarily unable to process the request. Try your call
  1383. // again.
  1384. //
  1385. // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/DescribeDeploymentJob
  1386. func (c *RoboMaker) DescribeDeploymentJob(input *DescribeDeploymentJobInput) (*DescribeDeploymentJobOutput, error) {
  1387. req, out := c.DescribeDeploymentJobRequest(input)
  1388. return out, req.Send()
  1389. }
  1390. // DescribeDeploymentJobWithContext is the same as DescribeDeploymentJob with the addition of
  1391. // the ability to pass a context and additional request options.
  1392. //
  1393. // See DescribeDeploymentJob for details on how to use this API operation.
  1394. //
  1395. // The context must be non-nil and will be used for request cancellation. If
  1396. // the context is nil a panic will occur. In the future the SDK may create
  1397. // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  1398. // for more information on using Contexts.
  1399. func (c *RoboMaker) DescribeDeploymentJobWithContext(ctx aws.Context, input *DescribeDeploymentJobInput, opts ...request.Option) (*DescribeDeploymentJobOutput, error) {
  1400. req, out := c.DescribeDeploymentJobRequest(input)
  1401. req.SetContext(ctx)
  1402. req.ApplyOptions(opts...)
  1403. return out, req.Send()
  1404. }
  1405. const opDescribeFleet = "DescribeFleet"
  1406. // DescribeFleetRequest generates a "aws/request.Request" representing the
  1407. // client's request for the DescribeFleet operation. The "output" return
  1408. // value will be populated with the request's response once the request completes
  1409. // successfully.
  1410. //
  1411. // Use "Send" method on the returned Request to send the API call to the service.
  1412. // the "output" return value is not valid until after Send returns without error.
  1413. //
  1414. // See DescribeFleet for more information on using the DescribeFleet
  1415. // API call, and error handling.
  1416. //
  1417. // This method is useful when you want to inject custom logic or configuration
  1418. // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  1419. //
  1420. //
  1421. // // Example sending a request using the DescribeFleetRequest method.
  1422. // req, resp := client.DescribeFleetRequest(params)
  1423. //
  1424. // err := req.Send()
  1425. // if err == nil { // resp is now filled
  1426. // fmt.Println(resp)
  1427. // }
  1428. //
  1429. // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/DescribeFleet
  1430. func (c *RoboMaker) DescribeFleetRequest(input *DescribeFleetInput) (req *request.Request, output *DescribeFleetOutput) {
  1431. op := &request.Operation{
  1432. Name: opDescribeFleet,
  1433. HTTPMethod: "POST",
  1434. HTTPPath: "/describeFleet",
  1435. }
  1436. if input == nil {
  1437. input = &DescribeFleetInput{}
  1438. }
  1439. output = &DescribeFleetOutput{}
  1440. req = c.newRequest(op, input, output)
  1441. return
  1442. }
  1443. // DescribeFleet API operation for AWS RoboMaker.
  1444. //
  1445. // Describes a fleet.
  1446. //
  1447. // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  1448. // with awserr.Error's Code and Message methods to get detailed information about
  1449. // the error.
  1450. //
  1451. // See the AWS API reference guide for AWS RoboMaker's
  1452. // API operation DescribeFleet for usage and error information.
  1453. //
  1454. // Returned Error Codes:
  1455. // * ErrCodeResourceNotFoundException "ResourceNotFoundException"
  1456. // The specified resource does not exist.
  1457. //
  1458. // * ErrCodeInvalidParameterException "InvalidParameterException"
  1459. // A parameter specified in a request is not valid, is unsupported, or cannot
  1460. // be used. The returned message provides an explanation of the error value.
  1461. //
  1462. // * ErrCodeInternalServerException "InternalServerException"
  1463. // AWS RoboMaker experienced a service issue. Try your call again.
  1464. //
  1465. // * ErrCodeThrottlingException "ThrottlingException"
  1466. // AWS RoboMaker is temporarily unable to process the request. Try your call
  1467. // again.
  1468. //
  1469. // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/DescribeFleet
  1470. func (c *RoboMaker) DescribeFleet(input *DescribeFleetInput) (*DescribeFleetOutput, error) {
  1471. req, out := c.DescribeFleetRequest(input)
  1472. return out, req.Send()
  1473. }
  1474. // DescribeFleetWithContext is the same as DescribeFleet with the addition of
  1475. // the ability to pass a context and additional request options.
  1476. //
  1477. // See DescribeFleet for details on how to use this API operation.
  1478. //
  1479. // The context must be non-nil and will be used for request cancellation. If
  1480. // the context is nil a panic will occur. In the future the SDK may create
  1481. // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  1482. // for more information on using Contexts.
  1483. func (c *RoboMaker) DescribeFleetWithContext(ctx aws.Context, input *DescribeFleetInput, opts ...request.Option) (*DescribeFleetOutput, error) {
  1484. req, out := c.DescribeFleetRequest(input)
  1485. req.SetContext(ctx)
  1486. req.ApplyOptions(opts...)
  1487. return out, req.Send()
  1488. }
  1489. const opDescribeRobot = "DescribeRobot"
  1490. // DescribeRobotRequest generates a "aws/request.Request" representing the
  1491. // client's request for the DescribeRobot operation. The "output" return
  1492. // value will be populated with the request's response once the request completes
  1493. // successfully.
  1494. //
  1495. // Use "Send" method on the returned Request to send the API call to the service.
  1496. // the "output" return value is not valid until after Send returns without error.
  1497. //
  1498. // See DescribeRobot for more information on using the DescribeRobot
  1499. // API call, and error handling.
  1500. //
  1501. // This method is useful when you want to inject custom logic or configuration
  1502. // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  1503. //
  1504. //
  1505. // // Example sending a request using the DescribeRobotRequest method.
  1506. // req, resp := client.DescribeRobotRequest(params)
  1507. //
  1508. // err := req.Send()
  1509. // if err == nil { // resp is now filled
  1510. // fmt.Println(resp)
  1511. // }
  1512. //
  1513. // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/DescribeRobot
  1514. func (c *RoboMaker) DescribeRobotRequest(input *DescribeRobotInput) (req *request.Request, output *DescribeRobotOutput) {
  1515. op := &request.Operation{
  1516. Name: opDescribeRobot,
  1517. HTTPMethod: "POST",
  1518. HTTPPath: "/describeRobot",
  1519. }
  1520. if input == nil {
  1521. input = &DescribeRobotInput{}
  1522. }
  1523. output = &DescribeRobotOutput{}
  1524. req = c.newRequest(op, input, output)
  1525. return
  1526. }
  1527. // DescribeRobot API operation for AWS RoboMaker.
  1528. //
  1529. // Describes a robot.
  1530. //
  1531. // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  1532. // with awserr.Error's Code and Message methods to get detailed information about
  1533. // the error.
  1534. //
  1535. // See the AWS API reference guide for AWS RoboMaker's
  1536. // API operation DescribeRobot for usage and error information.
  1537. //
  1538. // Returned Error Codes:
  1539. // * ErrCodeResourceNotFoundException "ResourceNotFoundException"
  1540. // The specified resource does not exist.
  1541. //
  1542. // * ErrCodeInvalidParameterException "InvalidParameterException"
  1543. // A parameter specified in a request is not valid, is unsupported, or cannot
  1544. // be used. The returned message provides an explanation of the error value.
  1545. //
  1546. // * ErrCodeInternalServerException "InternalServerException"
  1547. // AWS RoboMaker experienced a service issue. Try your call again.
  1548. //
  1549. // * ErrCodeThrottlingException "ThrottlingException"
  1550. // AWS RoboMaker is temporarily unable to process the request. Try your call
  1551. // again.
  1552. //
  1553. // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/DescribeRobot
  1554. func (c *RoboMaker) DescribeRobot(input *DescribeRobotInput) (*DescribeRobotOutput, error) {
  1555. req, out := c.DescribeRobotRequest(input)
  1556. return out, req.Send()
  1557. }
  1558. // DescribeRobotWithContext is the same as DescribeRobot with the addition of
  1559. // the ability to pass a context and additional request options.
  1560. //
  1561. // See DescribeRobot for details on how to use this API operation.
  1562. //
  1563. // The context must be non-nil and will be used for request cancellation. If
  1564. // the context is nil a panic will occur. In the future the SDK may create
  1565. // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  1566. // for more information on using Contexts.
  1567. func (c *RoboMaker) DescribeRobotWithContext(ctx aws.Context, input *DescribeRobotInput, opts ...request.Option) (*DescribeRobotOutput, error) {
  1568. req, out := c.DescribeRobotRequest(input)
  1569. req.SetContext(ctx)
  1570. req.ApplyOptions(opts...)
  1571. return out, req.Send()
  1572. }
  1573. const opDescribeRobotApplication = "DescribeRobotApplication"
  1574. // DescribeRobotApplicationRequest generates a "aws/request.Request" representing the
  1575. // client's request for the DescribeRobotApplication operation. The "output" return
  1576. // value will be populated with the request's response once the request completes
  1577. // successfully.
  1578. //
  1579. // Use "Send" method on the returned Request to send the API call to the service.
  1580. // the "output" return value is not valid until after Send returns without error.
  1581. //
  1582. // See DescribeRobotApplication for more information on using the DescribeRobotApplication
  1583. // API call, and error handling.
  1584. //
  1585. // This method is useful when you want to inject custom logic or configuration
  1586. // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  1587. //
  1588. //
  1589. // // Example sending a request using the DescribeRobotApplicationRequest method.
  1590. // req, resp := client.DescribeRobotApplicationRequest(params)
  1591. //
  1592. // err := req.Send()
  1593. // if err == nil { // resp is now filled
  1594. // fmt.Println(resp)
  1595. // }
  1596. //
  1597. // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/DescribeRobotApplication
  1598. func (c *RoboMaker) DescribeRobotApplicationRequest(input *DescribeRobotApplicationInput) (req *request.Request, output *DescribeRobotApplicationOutput) {
  1599. op := &request.Operation{
  1600. Name: opDescribeRobotApplication,
  1601. HTTPMethod: "POST",
  1602. HTTPPath: "/describeRobotApplication",
  1603. }
  1604. if input == nil {
  1605. input = &DescribeRobotApplicationInput{}
  1606. }
  1607. output = &DescribeRobotApplicationOutput{}
  1608. req = c.newRequest(op, input, output)
  1609. return
  1610. }
  1611. // DescribeRobotApplication API operation for AWS RoboMaker.
  1612. //
  1613. // Describes a robot application.
  1614. //
  1615. // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  1616. // with awserr.Error's Code and Message methods to get detailed information about
  1617. // the error.
  1618. //
  1619. // See the AWS API reference guide for AWS RoboMaker's
  1620. // API operation DescribeRobotApplication for usage and error information.
  1621. //
  1622. // Returned Error Codes:
  1623. // * ErrCodeInvalidParameterException "InvalidParameterException"
  1624. // A parameter specified in a request is not valid, is unsupported, or cannot
  1625. // be used. The returned message provides an explanation of the error value.
  1626. //
  1627. // * ErrCodeResourceNotFoundException "ResourceNotFoundException"
  1628. // The specified resource does not exist.
  1629. //
  1630. // * ErrCodeThrottlingException "ThrottlingException"
  1631. // AWS RoboMaker is temporarily unable to process the request. Try your call
  1632. // again.
  1633. //
  1634. // * ErrCodeInternalServerException "InternalServerException"
  1635. // AWS RoboMaker experienced a service issue. Try your call again.
  1636. //
  1637. // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/DescribeRobotApplication
  1638. func (c *RoboMaker) DescribeRobotApplication(input *DescribeRobotApplicationInput) (*DescribeRobotApplicationOutput, error) {
  1639. req, out := c.DescribeRobotApplicationRequest(input)
  1640. return out, req.Send()
  1641. }
  1642. // DescribeRobotApplicationWithContext is the same as DescribeRobotApplication with the addition of
  1643. // the ability to pass a context and additional request options.
  1644. //
  1645. // See DescribeRobotApplication for details on how to use this API operation.
  1646. //
  1647. // The context must be non-nil and will be used for request cancellation. If
  1648. // the context is nil a panic will occur. In the future the SDK may create
  1649. // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  1650. // for more information on using Contexts.
  1651. func (c *RoboMaker) DescribeRobotApplicationWithContext(ctx aws.Context, input *DescribeRobotApplicationInput, opts ...request.Option) (*DescribeRobotApplicationOutput, error) {
  1652. req, out := c.DescribeRobotApplicationRequest(input)
  1653. req.SetContext(ctx)
  1654. req.ApplyOptions(opts...)
  1655. return out, req.Send()
  1656. }
  1657. const opDescribeSimulationApplication = "DescribeSimulationApplication"
  1658. // DescribeSimulationApplicationRequest generates a "aws/request.Request" representing the
  1659. // client's request for the DescribeSimulationApplication operation. The "output" return
  1660. // value will be populated with the request's response once the request completes
  1661. // successfully.
  1662. //
  1663. // Use "Send" method on the returned Request to send the API call to the service.
  1664. // the "output" return value is not valid until after Send returns without error.
  1665. //
  1666. // See DescribeSimulationApplication for more information on using the DescribeSimulationApplication
  1667. // API call, and error handling.
  1668. //
  1669. // This method is useful when you want to inject custom logic or configuration
  1670. // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  1671. //
  1672. //
  1673. // // Example sending a request using the DescribeSimulationApplicationRequest method.
  1674. // req, resp := client.DescribeSimulationApplicationRequest(params)
  1675. //
  1676. // err := req.Send()
  1677. // if err == nil { // resp is now filled
  1678. // fmt.Println(resp)
  1679. // }
  1680. //
  1681. // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/DescribeSimulationApplication
  1682. func (c *RoboMaker) DescribeSimulationApplicationRequest(input *DescribeSimulationApplicationInput) (req *request.Request, output *DescribeSimulationApplicationOutput) {
  1683. op := &request.Operation{
  1684. Name: opDescribeSimulationApplication,
  1685. HTTPMethod: "POST",
  1686. HTTPPath: "/describeSimulationApplication",
  1687. }
  1688. if input == nil {
  1689. input = &DescribeSimulationApplicationInput{}
  1690. }
  1691. output = &DescribeSimulationApplicationOutput{}
  1692. req = c.newRequest(op, input, output)
  1693. return
  1694. }
  1695. // DescribeSimulationApplication API operation for AWS RoboMaker.
  1696. //
  1697. // Describes a simulation application.
  1698. //
  1699. // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  1700. // with awserr.Error's Code and Message methods to get detailed information about
  1701. // the error.
  1702. //
  1703. // See the AWS API reference guide for AWS RoboMaker's
  1704. // API operation DescribeSimulationApplication for usage and error information.
  1705. //
  1706. // Returned Error Codes:
  1707. // * ErrCodeInvalidParameterException "InvalidParameterException"
  1708. // A parameter specified in a request is not valid, is unsupported, or cannot
  1709. // be used. The returned message provides an explanation of the error value.
  1710. //
  1711. // * ErrCodeResourceNotFoundException "ResourceNotFoundException"
  1712. // The specified resource does not exist.
  1713. //
  1714. // * ErrCodeThrottlingException "ThrottlingException"
  1715. // AWS RoboMaker is temporarily unable to process the request. Try your call
  1716. // again.
  1717. //
  1718. // * ErrCodeInternalServerException "InternalServerException"
  1719. // AWS RoboMaker experienced a service issue. Try your call again.
  1720. //
  1721. // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/DescribeSimulationApplication
  1722. func (c *RoboMaker) DescribeSimulationApplication(input *DescribeSimulationApplicationInput) (*DescribeSimulationApplicationOutput, error) {
  1723. req, out := c.DescribeSimulationApplicationRequest(input)
  1724. return out, req.Send()
  1725. }
  1726. // DescribeSimulationApplicationWithContext is the same as DescribeSimulationApplication with the addition of
  1727. // the ability to pass a context and additional request options.
  1728. //
  1729. // See DescribeSimulationApplication for details on how to use this API operation.
  1730. //
  1731. // The context must be non-nil and will be used for request cancellation. If
  1732. // the context is nil a panic will occur. In the future the SDK may create
  1733. // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  1734. // for more information on using Contexts.
  1735. func (c *RoboMaker) DescribeSimulationApplicationWithContext(ctx aws.Context, input *DescribeSimulationApplicationInput, opts ...request.Option) (*DescribeSimulationApplicationOutput, error) {
  1736. req, out := c.DescribeSimulationApplicationRequest(input)
  1737. req.SetContext(ctx)
  1738. req.ApplyOptions(opts...)
  1739. return out, req.Send()
  1740. }
  1741. const opDescribeSimulationJob = "DescribeSimulationJob"
  1742. // DescribeSimulationJobRequest generates a "aws/request.Request" representing the
  1743. // client's request for the DescribeSimulationJob operation. The "output" return
  1744. // value will be populated with the request's response once the request completes
  1745. // successfully.
  1746. //
  1747. // Use "Send" method on the returned Request to send the API call to the service.
  1748. // the "output" return value is not valid until after Send returns without error.
  1749. //
  1750. // See DescribeSimulationJob for more information on using the DescribeSimulationJob
  1751. // API call, and error handling.
  1752. //
  1753. // This method is useful when you want to inject custom logic or configuration
  1754. // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  1755. //
  1756. //
  1757. // // Example sending a request using the DescribeSimulationJobRequest method.
  1758. // req, resp := client.DescribeSimulationJobRequest(params)
  1759. //
  1760. // err := req.Send()
  1761. // if err == nil { // resp is now filled
  1762. // fmt.Println(resp)
  1763. // }
  1764. //
  1765. // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/DescribeSimulationJob
  1766. func (c *RoboMaker) DescribeSimulationJobRequest(input *DescribeSimulationJobInput) (req *request.Request, output *DescribeSimulationJobOutput) {
  1767. op := &request.Operation{
  1768. Name: opDescribeSimulationJob,
  1769. HTTPMethod: "POST",
  1770. HTTPPath: "/describeSimulationJob",
  1771. }
  1772. if input == nil {
  1773. input = &DescribeSimulationJobInput{}
  1774. }
  1775. output = &DescribeSimulationJobOutput{}
  1776. req = c.newRequest(op, input, output)
  1777. return
  1778. }
  1779. // DescribeSimulationJob API operation for AWS RoboMaker.
  1780. //
  1781. // Describes a simulation job.
  1782. //
  1783. // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  1784. // with awserr.Error's Code and Message methods to get detailed information about
  1785. // the error.
  1786. //
  1787. // See the AWS API reference guide for AWS RoboMaker's
  1788. // API operation DescribeSimulationJob for usage and error information.
  1789. //
  1790. // Returned Error Codes:
  1791. // * ErrCodeResourceNotFoundException "ResourceNotFoundException"
  1792. // The specified resource does not exist.
  1793. //
  1794. // * ErrCodeInvalidParameterException "InvalidParameterException"
  1795. // A parameter specified in a request is not valid, is unsupported, or cannot
  1796. // be used. The returned message provides an explanation of the error value.
  1797. //
  1798. // * ErrCodeInternalServerException "InternalServerException"
  1799. // AWS RoboMaker experienced a service issue. Try your call again.
  1800. //
  1801. // * ErrCodeThrottlingException "ThrottlingException"
  1802. // AWS RoboMaker is temporarily unable to process the request. Try your call
  1803. // again.
  1804. //
  1805. // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/DescribeSimulationJob
  1806. func (c *RoboMaker) DescribeSimulationJob(input *DescribeSimulationJobInput) (*DescribeSimulationJobOutput, error) {
  1807. req, out := c.DescribeSimulationJobRequest(input)
  1808. return out, req.Send()
  1809. }
  1810. // DescribeSimulationJobWithContext is the same as DescribeSimulationJob with the addition of
  1811. // the ability to pass a context and additional request options.
  1812. //
  1813. // See DescribeSimulationJob for details on how to use this API operation.
  1814. //
  1815. // The context must be non-nil and will be used for request cancellation. If
  1816. // the context is nil a panic will occur. In the future the SDK may create
  1817. // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  1818. // for more information on using Contexts.
  1819. func (c *RoboMaker) DescribeSimulationJobWithContext(ctx aws.Context, input *DescribeSimulationJobInput, opts ...request.Option) (*DescribeSimulationJobOutput, error) {
  1820. req, out := c.DescribeSimulationJobRequest(input)
  1821. req.SetContext(ctx)
  1822. req.ApplyOptions(opts...)
  1823. return out, req.Send()
  1824. }
  1825. const opListDeploymentJobs = "ListDeploymentJobs"
  1826. // ListDeploymentJobsRequest generates a "aws/request.Request" representing the
  1827. // client's request for the ListDeploymentJobs operation. The "output" return
  1828. // value will be populated with the request's response once the request completes
  1829. // successfully.
  1830. //
  1831. // Use "Send" method on the returned Request to send the API call to the service.
  1832. // the "output" return value is not valid until after Send returns without error.
  1833. //
  1834. // See ListDeploymentJobs for more information on using the ListDeploymentJobs
  1835. // API call, and error handling.
  1836. //
  1837. // This method is useful when you want to inject custom logic or configuration
  1838. // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  1839. //
  1840. //
  1841. // // Example sending a request using the ListDeploymentJobsRequest method.
  1842. // req, resp := client.ListDeploymentJobsRequest(params)
  1843. //
  1844. // err := req.Send()
  1845. // if err == nil { // resp is now filled
  1846. // fmt.Println(resp)
  1847. // }
  1848. //
  1849. // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/ListDeploymentJobs
  1850. func (c *RoboMaker) ListDeploymentJobsRequest(input *ListDeploymentJobsInput) (req *request.Request, output *ListDeploymentJobsOutput) {
  1851. op := &request.Operation{
  1852. Name: opListDeploymentJobs,
  1853. HTTPMethod: "POST",
  1854. HTTPPath: "/listDeploymentJobs",
  1855. }
  1856. if input == nil {
  1857. input = &ListDeploymentJobsInput{}
  1858. }
  1859. output = &ListDeploymentJobsOutput{}
  1860. req = c.newRequest(op, input, output)
  1861. return
  1862. }
  1863. // ListDeploymentJobs API operation for AWS RoboMaker.
  1864. //
  1865. // Returns a list of deployment jobs for a fleet. You can optionally provide
  1866. // filters to retrieve specific deployment jobs.
  1867. //
  1868. // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  1869. // with awserr.Error's Code and Message methods to get detailed information about
  1870. // the error.
  1871. //
  1872. // See the AWS API reference guide for AWS RoboMaker's
  1873. // API operation ListDeploymentJobs for usage and error information.
  1874. //
  1875. // Returned Error Codes:
  1876. // * ErrCodeResourceNotFoundException "ResourceNotFoundException"
  1877. // The specified resource does not exist.
  1878. //
  1879. // * ErrCodeInvalidParameterException "InvalidParameterException"
  1880. // A parameter specified in a request is not valid, is unsupported, or cannot
  1881. // be used. The returned message provides an explanation of the error value.
  1882. //
  1883. // * ErrCodeInternalServerException "InternalServerException"
  1884. // AWS RoboMaker experienced a service issue. Try your call again.
  1885. //
  1886. // * ErrCodeThrottlingException "ThrottlingException"
  1887. // AWS RoboMaker is temporarily unable to process the request. Try your call
  1888. // again.
  1889. //
  1890. // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/ListDeploymentJobs
  1891. func (c *RoboMaker) ListDeploymentJobs(input *ListDeploymentJobsInput) (*ListDeploymentJobsOutput, error) {
  1892. req, out := c.ListDeploymentJobsRequest(input)
  1893. return out, req.Send()
  1894. }
  1895. // ListDeploymentJobsWithContext is the same as ListDeploymentJobs with the addition of
  1896. // the ability to pass a context and additional request options.
  1897. //
  1898. // See ListDeploymentJobs for details on how to use this API operation.
  1899. //
  1900. // The context must be non-nil and will be used for request cancellation. If
  1901. // the context is nil a panic will occur. In the future the SDK may create
  1902. // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  1903. // for more information on using Contexts.
  1904. func (c *RoboMaker) ListDeploymentJobsWithContext(ctx aws.Context, input *ListDeploymentJobsInput, opts ...request.Option) (*ListDeploymentJobsOutput, error) {
  1905. req, out := c.ListDeploymentJobsRequest(input)
  1906. req.SetContext(ctx)
  1907. req.ApplyOptions(opts...)
  1908. return out, req.Send()
  1909. }
  1910. const opListFleets = "ListFleets"
  1911. // ListFleetsRequest generates a "aws/request.Request" representing the
  1912. // client's request for the ListFleets operation. The "output" return
  1913. // value will be populated with the request's response once the request completes
  1914. // successfully.
  1915. //
  1916. // Use "Send" method on the returned Request to send the API call to the service.
  1917. // the "output" return value is not valid until after Send returns without error.
  1918. //
  1919. // See ListFleets for more information on using the ListFleets
  1920. // API call, and error handling.
  1921. //
  1922. // This method is useful when you want to inject custom logic or configuration
  1923. // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  1924. //
  1925. //
  1926. // // Example sending a request using the ListFleetsRequest method.
  1927. // req, resp := client.ListFleetsRequest(params)
  1928. //
  1929. // err := req.Send()
  1930. // if err == nil { // resp is now filled
  1931. // fmt.Println(resp)
  1932. // }
  1933. //
  1934. // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/ListFleets
  1935. func (c *RoboMaker) ListFleetsRequest(input *ListFleetsInput) (req *request.Request, output *ListFleetsOutput) {
  1936. op := &request.Operation{
  1937. Name: opListFleets,
  1938. HTTPMethod: "POST",
  1939. HTTPPath: "/listFleets",
  1940. }
  1941. if input == nil {
  1942. input = &ListFleetsInput{}
  1943. }
  1944. output = &ListFleetsOutput{}
  1945. req = c.newRequest(op, input, output)
  1946. return
  1947. }
  1948. // ListFleets API operation for AWS RoboMaker.
  1949. //
  1950. // Returns a list of fleets. You can optionally provide filters to retrieve
  1951. // specific fleets.
  1952. //
  1953. // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  1954. // with awserr.Error's Code and Message methods to get detailed information about
  1955. // the error.
  1956. //
  1957. // See the AWS API reference guide for AWS RoboMaker's
  1958. // API operation ListFleets for usage and error information.
  1959. //
  1960. // Returned Error Codes:
  1961. // * ErrCodeResourceNotFoundException "ResourceNotFoundException"
  1962. // The specified resource does not exist.
  1963. //
  1964. // * ErrCodeInvalidParameterException "InvalidParameterException"
  1965. // A parameter specified in a request is not valid, is unsupported, or cannot
  1966. // be used. The returned message provides an explanation of the error value.
  1967. //
  1968. // * ErrCodeInternalServerException "InternalServerException"
  1969. // AWS RoboMaker experienced a service issue. Try your call again.
  1970. //
  1971. // * ErrCodeThrottlingException "ThrottlingException"
  1972. // AWS RoboMaker is temporarily unable to process the request. Try your call
  1973. // again.
  1974. //
  1975. // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/ListFleets
  1976. func (c *RoboMaker) ListFleets(input *ListFleetsInput) (*ListFleetsOutput, error) {
  1977. req, out := c.ListFleetsRequest(input)
  1978. return out, req.Send()
  1979. }
  1980. // ListFleetsWithContext is the same as ListFleets with the addition of
  1981. // the ability to pass a context and additional request options.
  1982. //
  1983. // See ListFleets for details on how to use this API operation.
  1984. //
  1985. // The context must be non-nil and will be used for request cancellation. If
  1986. // the context is nil a panic will occur. In the future the SDK may create
  1987. // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  1988. // for more information on using Contexts.
  1989. func (c *RoboMaker) ListFleetsWithContext(ctx aws.Context, input *ListFleetsInput, opts ...request.Option) (*ListFleetsOutput, error) {
  1990. req, out := c.ListFleetsRequest(input)
  1991. req.SetContext(ctx)
  1992. req.ApplyOptions(opts...)
  1993. return out, req.Send()
  1994. }
  1995. const opListRobotApplications = "ListRobotApplications"
  1996. // ListRobotApplicationsRequest generates a "aws/request.Request" representing the
  1997. // client's request for the ListRobotApplications operation. The "output" return
  1998. // value will be populated with the request's response once the request completes
  1999. // successfully.
  2000. //
  2001. // Use "Send" method on the returned Request to send the API call to the service.
  2002. // the "output" return value is not valid until after Send returns without error.
  2003. //
  2004. // See ListRobotApplications for more information on using the ListRobotApplications
  2005. // API call, and error handling.
  2006. //
  2007. // This method is useful when you want to inject custom logic or configuration
  2008. // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  2009. //
  2010. //
  2011. // // Example sending a request using the ListRobotApplicationsRequest method.
  2012. // req, resp := client.ListRobotApplicationsRequest(params)
  2013. //
  2014. // err := req.Send()
  2015. // if err == nil { // resp is now filled
  2016. // fmt.Println(resp)
  2017. // }
  2018. //
  2019. // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/ListRobotApplications
  2020. func (c *RoboMaker) ListRobotApplicationsRequest(input *ListRobotApplicationsInput) (req *request.Request, output *ListRobotApplicationsOutput) {
  2021. op := &request.Operation{
  2022. Name: opListRobotApplications,
  2023. HTTPMethod: "POST",
  2024. HTTPPath: "/listRobotApplications",
  2025. }
  2026. if input == nil {
  2027. input = &ListRobotApplicationsInput{}
  2028. }
  2029. output = &ListRobotApplicationsOutput{}
  2030. req = c.newRequest(op, input, output)
  2031. return
  2032. }
  2033. // ListRobotApplications API operation for AWS RoboMaker.
  2034. //
  2035. // Returns a list of robot application. You can optionally provide filters to
  2036. // retrieve specific robot applications.
  2037. //
  2038. // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  2039. // with awserr.Error's Code and Message methods to get detailed information about
  2040. // the error.
  2041. //
  2042. // See the AWS API reference guide for AWS RoboMaker's
  2043. // API operation ListRobotApplications for usage and error information.
  2044. //
  2045. // Returned Error Codes:
  2046. // * ErrCodeInvalidParameterException "InvalidParameterException"
  2047. // A parameter specified in a request is not valid, is unsupported, or cannot
  2048. // be used. The returned message provides an explanation of the error value.
  2049. //
  2050. // * ErrCodeThrottlingException "ThrottlingException"
  2051. // AWS RoboMaker is temporarily unable to process the request. Try your call
  2052. // again.
  2053. //
  2054. // * ErrCodeInternalServerException "InternalServerException"
  2055. // AWS RoboMaker experienced a service issue. Try your call again.
  2056. //
  2057. // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/ListRobotApplications
  2058. func (c *RoboMaker) ListRobotApplications(input *ListRobotApplicationsInput) (*ListRobotApplicationsOutput, error) {
  2059. req, out := c.ListRobotApplicationsRequest(input)
  2060. return out, req.Send()
  2061. }
  2062. // ListRobotApplicationsWithContext is the same as ListRobotApplications with the addition of
  2063. // the ability to pass a context and additional request options.
  2064. //
  2065. // See ListRobotApplications for details on how to use this API operation.
  2066. //
  2067. // The context must be non-nil and will be used for request cancellation. If
  2068. // the context is nil a panic will occur. In the future the SDK may create
  2069. // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  2070. // for more information on using Contexts.
  2071. func (c *RoboMaker) ListRobotApplicationsWithContext(ctx aws.Context, input *ListRobotApplicationsInput, opts ...request.Option) (*ListRobotApplicationsOutput, error) {
  2072. req, out := c.ListRobotApplicationsRequest(input)
  2073. req.SetContext(ctx)
  2074. req.ApplyOptions(opts...)
  2075. return out, req.Send()
  2076. }
  2077. const opListRobots = "ListRobots"
  2078. // ListRobotsRequest generates a "aws/request.Request" representing the
  2079. // client's request for the ListRobots operation. The "output" return
  2080. // value will be populated with the request's response once the request completes
  2081. // successfully.
  2082. //
  2083. // Use "Send" method on the returned Request to send the API call to the service.
  2084. // the "output" return value is not valid until after Send returns without error.
  2085. //
  2086. // See ListRobots for more information on using the ListRobots
  2087. // API call, and error handling.
  2088. //
  2089. // This method is useful when you want to inject custom logic or configuration
  2090. // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  2091. //
  2092. //
  2093. // // Example sending a request using the ListRobotsRequest method.
  2094. // req, resp := client.ListRobotsRequest(params)
  2095. //
  2096. // err := req.Send()
  2097. // if err == nil { // resp is now filled
  2098. // fmt.Println(resp)
  2099. // }
  2100. //
  2101. // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/ListRobots
  2102. func (c *RoboMaker) ListRobotsRequest(input *ListRobotsInput) (req *request.Request, output *ListRobotsOutput) {
  2103. op := &request.Operation{
  2104. Name: opListRobots,
  2105. HTTPMethod: "POST",
  2106. HTTPPath: "/listRobots",
  2107. }
  2108. if input == nil {
  2109. input = &ListRobotsInput{}
  2110. }
  2111. output = &ListRobotsOutput{}
  2112. req = c.newRequest(op, input, output)
  2113. return
  2114. }
  2115. // ListRobots API operation for AWS RoboMaker.
  2116. //
  2117. // Returns a list of robots. You can optionally provide filters to retrieve
  2118. // specific robots.
  2119. //
  2120. // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  2121. // with awserr.Error's Code and Message methods to get detailed information about
  2122. // the error.
  2123. //
  2124. // See the AWS API reference guide for AWS RoboMaker's
  2125. // API operation ListRobots for usage and error information.
  2126. //
  2127. // Returned Error Codes:
  2128. // * ErrCodeResourceNotFoundException "ResourceNotFoundException"
  2129. // The specified resource does not exist.
  2130. //
  2131. // * ErrCodeInvalidParameterException "InvalidParameterException"
  2132. // A parameter specified in a request is not valid, is unsupported, or cannot
  2133. // be used. The returned message provides an explanation of the error value.
  2134. //
  2135. // * ErrCodeInternalServerException "InternalServerException"
  2136. // AWS RoboMaker experienced a service issue. Try your call again.
  2137. //
  2138. // * ErrCodeThrottlingException "ThrottlingException"
  2139. // AWS RoboMaker is temporarily unable to process the request. Try your call
  2140. // again.
  2141. //
  2142. // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/ListRobots
  2143. func (c *RoboMaker) ListRobots(input *ListRobotsInput) (*ListRobotsOutput, error) {
  2144. req, out := c.ListRobotsRequest(input)
  2145. return out, req.Send()
  2146. }
  2147. // ListRobotsWithContext is the same as ListRobots with the addition of
  2148. // the ability to pass a context and additional request options.
  2149. //
  2150. // See ListRobots for details on how to use this API operation.
  2151. //
  2152. // The context must be non-nil and will be used for request cancellation. If
  2153. // the context is nil a panic will occur. In the future the SDK may create
  2154. // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  2155. // for more information on using Contexts.
  2156. func (c *RoboMaker) ListRobotsWithContext(ctx aws.Context, input *ListRobotsInput, opts ...request.Option) (*ListRobotsOutput, error) {
  2157. req, out := c.ListRobotsRequest(input)
  2158. req.SetContext(ctx)
  2159. req.ApplyOptions(opts...)
  2160. return out, req.Send()
  2161. }
  2162. const opListSimulationApplications = "ListSimulationApplications"
  2163. // ListSimulationApplicationsRequest generates a "aws/request.Request" representing the
  2164. // client's request for the ListSimulationApplications operation. The "output" return
  2165. // value will be populated with the request's response once the request completes
  2166. // successfully.
  2167. //
  2168. // Use "Send" method on the returned Request to send the API call to the service.
  2169. // the "output" return value is not valid until after Send returns without error.
  2170. //
  2171. // See ListSimulationApplications for more information on using the ListSimulationApplications
  2172. // API call, and error handling.
  2173. //
  2174. // This method is useful when you want to inject custom logic or configuration
  2175. // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  2176. //
  2177. //
  2178. // // Example sending a request using the ListSimulationApplicationsRequest method.
  2179. // req, resp := client.ListSimulationApplicationsRequest(params)
  2180. //
  2181. // err := req.Send()
  2182. // if err == nil { // resp is now filled
  2183. // fmt.Println(resp)
  2184. // }
  2185. //
  2186. // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/ListSimulationApplications
  2187. func (c *RoboMaker) ListSimulationApplicationsRequest(input *ListSimulationApplicationsInput) (req *request.Request, output *ListSimulationApplicationsOutput) {
  2188. op := &request.Operation{
  2189. Name: opListSimulationApplications,
  2190. HTTPMethod: "POST",
  2191. HTTPPath: "/listSimulationApplications",
  2192. }
  2193. if input == nil {
  2194. input = &ListSimulationApplicationsInput{}
  2195. }
  2196. output = &ListSimulationApplicationsOutput{}
  2197. req = c.newRequest(op, input, output)
  2198. return
  2199. }
  2200. // ListSimulationApplications API operation for AWS RoboMaker.
  2201. //
  2202. // Returns a list of simulation applications. You can optionally provide filters
  2203. // to retrieve specific simulation applications.
  2204. //
  2205. // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  2206. // with awserr.Error's Code and Message methods to get detailed information about
  2207. // the error.
  2208. //
  2209. // See the AWS API reference guide for AWS RoboMaker's
  2210. // API operation ListSimulationApplications for usage and error information.
  2211. //
  2212. // Returned Error Codes:
  2213. // * ErrCodeInvalidParameterException "InvalidParameterException"
  2214. // A parameter specified in a request is not valid, is unsupported, or cannot
  2215. // be used. The returned message provides an explanation of the error value.
  2216. //
  2217. // * ErrCodeThrottlingException "ThrottlingException"
  2218. // AWS RoboMaker is temporarily unable to process the request. Try your call
  2219. // again.
  2220. //
  2221. // * ErrCodeInternalServerException "InternalServerException"
  2222. // AWS RoboMaker experienced a service issue. Try your call again.
  2223. //
  2224. // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/ListSimulationApplications
  2225. func (c *RoboMaker) ListSimulationApplications(input *ListSimulationApplicationsInput) (*ListSimulationApplicationsOutput, error) {
  2226. req, out := c.ListSimulationApplicationsRequest(input)
  2227. return out, req.Send()
  2228. }
  2229. // ListSimulationApplicationsWithContext is the same as ListSimulationApplications with the addition of
  2230. // the ability to pass a context and additional request options.
  2231. //
  2232. // See ListSimulationApplications for details on how to use this API operation.
  2233. //
  2234. // The context must be non-nil and will be used for request cancellation. If
  2235. // the context is nil a panic will occur. In the future the SDK may create
  2236. // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  2237. // for more information on using Contexts.
  2238. func (c *RoboMaker) ListSimulationApplicationsWithContext(ctx aws.Context, input *ListSimulationApplicationsInput, opts ...request.Option) (*ListSimulationApplicationsOutput, error) {
  2239. req, out := c.ListSimulationApplicationsRequest(input)
  2240. req.SetContext(ctx)
  2241. req.ApplyOptions(opts...)
  2242. return out, req.Send()
  2243. }
  2244. const opListSimulationJobs = "ListSimulationJobs"
  2245. // ListSimulationJobsRequest generates a "aws/request.Request" representing the
  2246. // client's request for the ListSimulationJobs operation. The "output" return
  2247. // value will be populated with the request's response once the request completes
  2248. // successfully.
  2249. //
  2250. // Use "Send" method on the returned Request to send the API call to the service.
  2251. // the "output" return value is not valid until after Send returns without error.
  2252. //
  2253. // See ListSimulationJobs for more information on using the ListSimulationJobs
  2254. // API call, and error handling.
  2255. //
  2256. // This method is useful when you want to inject custom logic or configuration
  2257. // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  2258. //
  2259. //
  2260. // // Example sending a request using the ListSimulationJobsRequest method.
  2261. // req, resp := client.ListSimulationJobsRequest(params)
  2262. //
  2263. // err := req.Send()
  2264. // if err == nil { // resp is now filled
  2265. // fmt.Println(resp)
  2266. // }
  2267. //
  2268. // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/ListSimulationJobs
  2269. func (c *RoboMaker) ListSimulationJobsRequest(input *ListSimulationJobsInput) (req *request.Request, output *ListSimulationJobsOutput) {
  2270. op := &request.Operation{
  2271. Name: opListSimulationJobs,
  2272. HTTPMethod: "POST",
  2273. HTTPPath: "/listSimulationJobs",
  2274. }
  2275. if input == nil {
  2276. input = &ListSimulationJobsInput{}
  2277. }
  2278. output = &ListSimulationJobsOutput{}
  2279. req = c.newRequest(op, input, output)
  2280. return
  2281. }
  2282. // ListSimulationJobs API operation for AWS RoboMaker.
  2283. //
  2284. // Returns a list of simulation jobs. You can optionally provide filters to
  2285. // retrieve specific simulation jobs.
  2286. //
  2287. // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  2288. // with awserr.Error's Code and Message methods to get detailed information about
  2289. // the error.
  2290. //
  2291. // See the AWS API reference guide for AWS RoboMaker's
  2292. // API operation ListSimulationJobs for usage and error information.
  2293. //
  2294. // Returned Error Codes:
  2295. // * ErrCodeInvalidParameterException "InvalidParameterException"
  2296. // A parameter specified in a request is not valid, is unsupported, or cannot
  2297. // be used. The returned message provides an explanation of the error value.
  2298. //
  2299. // * ErrCodeInternalServerException "InternalServerException"
  2300. // AWS RoboMaker experienced a service issue. Try your call again.
  2301. //
  2302. // * ErrCodeThrottlingException "ThrottlingException"
  2303. // AWS RoboMaker is temporarily unable to process the request. Try your call
  2304. // again.
  2305. //
  2306. // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/ListSimulationJobs
  2307. func (c *RoboMaker) ListSimulationJobs(input *ListSimulationJobsInput) (*ListSimulationJobsOutput, error) {
  2308. req, out := c.ListSimulationJobsRequest(input)
  2309. return out, req.Send()
  2310. }
  2311. // ListSimulationJobsWithContext is the same as ListSimulationJobs with the addition of
  2312. // the ability to pass a context and additional request options.
  2313. //
  2314. // See ListSimulationJobs for details on how to use this API operation.
  2315. //
  2316. // The context must be non-nil and will be used for request cancellation. If
  2317. // the context is nil a panic will occur. In the future the SDK may create
  2318. // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  2319. // for more information on using Contexts.
  2320. func (c *RoboMaker) ListSimulationJobsWithContext(ctx aws.Context, input *ListSimulationJobsInput, opts ...request.Option) (*ListSimulationJobsOutput, error) {
  2321. req, out := c.ListSimulationJobsRequest(input)
  2322. req.SetContext(ctx)
  2323. req.ApplyOptions(opts...)
  2324. return out, req.Send()
  2325. }
  2326. const opRegisterRobot = "RegisterRobot"
  2327. // RegisterRobotRequest generates a "aws/request.Request" representing the
  2328. // client's request for the RegisterRobot operation. The "output" return
  2329. // value will be populated with the request's response once the request completes
  2330. // successfully.
  2331. //
  2332. // Use "Send" method on the returned Request to send the API call to the service.
  2333. // the "output" return value is not valid until after Send returns without error.
  2334. //
  2335. // See RegisterRobot for more information on using the RegisterRobot
  2336. // API call, and error handling.
  2337. //
  2338. // This method is useful when you want to inject custom logic or configuration
  2339. // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  2340. //
  2341. //
  2342. // // Example sending a request using the RegisterRobotRequest method.
  2343. // req, resp := client.RegisterRobotRequest(params)
  2344. //
  2345. // err := req.Send()
  2346. // if err == nil { // resp is now filled
  2347. // fmt.Println(resp)
  2348. // }
  2349. //
  2350. // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/RegisterRobot
  2351. func (c *RoboMaker) RegisterRobotRequest(input *RegisterRobotInput) (req *request.Request, output *RegisterRobotOutput) {
  2352. op := &request.Operation{
  2353. Name: opRegisterRobot,
  2354. HTTPMethod: "POST",
  2355. HTTPPath: "/registerRobot",
  2356. }
  2357. if input == nil {
  2358. input = &RegisterRobotInput{}
  2359. }
  2360. output = &RegisterRobotOutput{}
  2361. req = c.newRequest(op, input, output)
  2362. return
  2363. }
  2364. // RegisterRobot API operation for AWS RoboMaker.
  2365. //
  2366. // Registers a robot with a fleet.
  2367. //
  2368. // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  2369. // with awserr.Error's Code and Message methods to get detailed information about
  2370. // the error.
  2371. //
  2372. // See the AWS API reference guide for AWS RoboMaker's
  2373. // API operation RegisterRobot for usage and error information.
  2374. //
  2375. // Returned Error Codes:
  2376. // * ErrCodeInvalidParameterException "InvalidParameterException"
  2377. // A parameter specified in a request is not valid, is unsupported, or cannot
  2378. // be used. The returned message provides an explanation of the error value.
  2379. //
  2380. // * ErrCodeInternalServerException "InternalServerException"
  2381. // AWS RoboMaker experienced a service issue. Try your call again.
  2382. //
  2383. // * ErrCodeThrottlingException "ThrottlingException"
  2384. // AWS RoboMaker is temporarily unable to process the request. Try your call
  2385. // again.
  2386. //
  2387. // * ErrCodeLimitExceededException "LimitExceededException"
  2388. // The requested resource exceeds the maximum number allowed, or the number
  2389. // of concurrent stream requests exceeds the maximum number allowed.
  2390. //
  2391. // * ErrCodeResourceNotFoundException "ResourceNotFoundException"
  2392. // The specified resource does not exist.
  2393. //
  2394. // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/RegisterRobot
  2395. func (c *RoboMaker) RegisterRobot(input *RegisterRobotInput) (*RegisterRobotOutput, error) {
  2396. req, out := c.RegisterRobotRequest(input)
  2397. return out, req.Send()
  2398. }
  2399. // RegisterRobotWithContext is the same as RegisterRobot with the addition of
  2400. // the ability to pass a context and additional request options.
  2401. //
  2402. // See RegisterRobot for details on how to use this API operation.
  2403. //
  2404. // The context must be non-nil and will be used for request cancellation. If
  2405. // the context is nil a panic will occur. In the future the SDK may create
  2406. // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  2407. // for more information on using Contexts.
  2408. func (c *RoboMaker) RegisterRobotWithContext(ctx aws.Context, input *RegisterRobotInput, opts ...request.Option) (*RegisterRobotOutput, error) {
  2409. req, out := c.RegisterRobotRequest(input)
  2410. req.SetContext(ctx)
  2411. req.ApplyOptions(opts...)
  2412. return out, req.Send()
  2413. }
  2414. const opRestartSimulationJob = "RestartSimulationJob"
  2415. // RestartSimulationJobRequest generates a "aws/request.Request" representing the
  2416. // client's request for the RestartSimulationJob operation. The "output" return
  2417. // value will be populated with the request's response once the request completes
  2418. // successfully.
  2419. //
  2420. // Use "Send" method on the returned Request to send the API call to the service.
  2421. // the "output" return value is not valid until after Send returns without error.
  2422. //
  2423. // See RestartSimulationJob for more information on using the RestartSimulationJob
  2424. // API call, and error handling.
  2425. //
  2426. // This method is useful when you want to inject custom logic or configuration
  2427. // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  2428. //
  2429. //
  2430. // // Example sending a request using the RestartSimulationJobRequest method.
  2431. // req, resp := client.RestartSimulationJobRequest(params)
  2432. //
  2433. // err := req.Send()
  2434. // if err == nil { // resp is now filled
  2435. // fmt.Println(resp)
  2436. // }
  2437. //
  2438. // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/RestartSimulationJob
  2439. func (c *RoboMaker) RestartSimulationJobRequest(input *RestartSimulationJobInput) (req *request.Request, output *RestartSimulationJobOutput) {
  2440. op := &request.Operation{
  2441. Name: opRestartSimulationJob,
  2442. HTTPMethod: "POST",
  2443. HTTPPath: "/restartSimulationJob",
  2444. }
  2445. if input == nil {
  2446. input = &RestartSimulationJobInput{}
  2447. }
  2448. output = &RestartSimulationJobOutput{}
  2449. req = c.newRequest(op, input, output)
  2450. req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
  2451. return
  2452. }
  2453. // RestartSimulationJob API operation for AWS RoboMaker.
  2454. //
  2455. // Restarts a running simulation job.
  2456. //
  2457. // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  2458. // with awserr.Error's Code and Message methods to get detailed information about
  2459. // the error.
  2460. //
  2461. // See the AWS API reference guide for AWS RoboMaker's
  2462. // API operation RestartSimulationJob for usage and error information.
  2463. //
  2464. // Returned Error Codes:
  2465. // * ErrCodeResourceNotFoundException "ResourceNotFoundException"
  2466. // The specified resource does not exist.
  2467. //
  2468. // * ErrCodeThrottlingException "ThrottlingException"
  2469. // AWS RoboMaker is temporarily unable to process the request. Try your call
  2470. // again.
  2471. //
  2472. // * ErrCodeLimitExceededException "LimitExceededException"
  2473. // The requested resource exceeds the maximum number allowed, or the number
  2474. // of concurrent stream requests exceeds the maximum number allowed.
  2475. //
  2476. // * ErrCodeInvalidParameterException "InvalidParameterException"
  2477. // A parameter specified in a request is not valid, is unsupported, or cannot
  2478. // be used. The returned message provides an explanation of the error value.
  2479. //
  2480. // * ErrCodeInternalServerException "InternalServerException"
  2481. // AWS RoboMaker experienced a service issue. Try your call again.
  2482. //
  2483. // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/RestartSimulationJob
  2484. func (c *RoboMaker) RestartSimulationJob(input *RestartSimulationJobInput) (*RestartSimulationJobOutput, error) {
  2485. req, out := c.RestartSimulationJobRequest(input)
  2486. return out, req.Send()
  2487. }
  2488. // RestartSimulationJobWithContext is the same as RestartSimulationJob with the addition of
  2489. // the ability to pass a context and additional request options.
  2490. //
  2491. // See RestartSimulationJob for details on how to use this API operation.
  2492. //
  2493. // The context must be non-nil and will be used for request cancellation. If
  2494. // the context is nil a panic will occur. In the future the SDK may create
  2495. // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  2496. // for more information on using Contexts.
  2497. func (c *RoboMaker) RestartSimulationJobWithContext(ctx aws.Context, input *RestartSimulationJobInput, opts ...request.Option) (*RestartSimulationJobOutput, error) {
  2498. req, out := c.RestartSimulationJobRequest(input)
  2499. req.SetContext(ctx)
  2500. req.ApplyOptions(opts...)
  2501. return out, req.Send()
  2502. }
  2503. const opSyncDeploymentJob = "SyncDeploymentJob"
  2504. // SyncDeploymentJobRequest generates a "aws/request.Request" representing the
  2505. // client's request for the SyncDeploymentJob operation. The "output" return
  2506. // value will be populated with the request's response once the request completes
  2507. // successfully.
  2508. //
  2509. // Use "Send" method on the returned Request to send the API call to the service.
  2510. // the "output" return value is not valid until after Send returns without error.
  2511. //
  2512. // See SyncDeploymentJob for more information on using the SyncDeploymentJob
  2513. // API call, and error handling.
  2514. //
  2515. // This method is useful when you want to inject custom logic or configuration
  2516. // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  2517. //
  2518. //
  2519. // // Example sending a request using the SyncDeploymentJobRequest method.
  2520. // req, resp := client.SyncDeploymentJobRequest(params)
  2521. //
  2522. // err := req.Send()
  2523. // if err == nil { // resp is now filled
  2524. // fmt.Println(resp)
  2525. // }
  2526. //
  2527. // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/SyncDeploymentJob
  2528. func (c *RoboMaker) SyncDeploymentJobRequest(input *SyncDeploymentJobInput) (req *request.Request, output *SyncDeploymentJobOutput) {
  2529. op := &request.Operation{
  2530. Name: opSyncDeploymentJob,
  2531. HTTPMethod: "POST",
  2532. HTTPPath: "/syncDeploymentJob",
  2533. }
  2534. if input == nil {
  2535. input = &SyncDeploymentJobInput{}
  2536. }
  2537. output = &SyncDeploymentJobOutput{}
  2538. req = c.newRequest(op, input, output)
  2539. return
  2540. }
  2541. // SyncDeploymentJob API operation for AWS RoboMaker.
  2542. //
  2543. // Syncrhonizes robots in a fleet to the latest deployment. This is helpful
  2544. // if robots were added after a deployment.
  2545. //
  2546. // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  2547. // with awserr.Error's Code and Message methods to get detailed information about
  2548. // the error.
  2549. //
  2550. // See the AWS API reference guide for AWS RoboMaker's
  2551. // API operation SyncDeploymentJob for usage and error information.
  2552. //
  2553. // Returned Error Codes:
  2554. // * ErrCodeResourceNotFoundException "ResourceNotFoundException"
  2555. // The specified resource does not exist.
  2556. //
  2557. // * ErrCodeInvalidParameterException "InvalidParameterException"
  2558. // A parameter specified in a request is not valid, is unsupported, or cannot
  2559. // be used. The returned message provides an explanation of the error value.
  2560. //
  2561. // * ErrCodeInternalServerException "InternalServerException"
  2562. // AWS RoboMaker experienced a service issue. Try your call again.
  2563. //
  2564. // * ErrCodeThrottlingException "ThrottlingException"
  2565. // AWS RoboMaker is temporarily unable to process the request. Try your call
  2566. // again.
  2567. //
  2568. // * ErrCodeLimitExceededException "LimitExceededException"
  2569. // The requested resource exceeds the maximum number allowed, or the number
  2570. // of concurrent stream requests exceeds the maximum number allowed.
  2571. //
  2572. // * ErrCodeConcurrentDeploymentException "ConcurrentDeploymentException"
  2573. //
  2574. // * ErrCodeIdempotentParameterMismatchException "IdempotentParameterMismatchException"
  2575. // The request uses the same client token as a previous, but non-identical request.
  2576. // Do not reuse a client token with different requests, unless the requests
  2577. // are identical.
  2578. //
  2579. // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/SyncDeploymentJob
  2580. func (c *RoboMaker) SyncDeploymentJob(input *SyncDeploymentJobInput) (*SyncDeploymentJobOutput, error) {
  2581. req, out := c.SyncDeploymentJobRequest(input)
  2582. return out, req.Send()
  2583. }
  2584. // SyncDeploymentJobWithContext is the same as SyncDeploymentJob with the addition of
  2585. // the ability to pass a context and additional request options.
  2586. //
  2587. // See SyncDeploymentJob for details on how to use this API operation.
  2588. //
  2589. // The context must be non-nil and will be used for request cancellation. If
  2590. // the context is nil a panic will occur. In the future the SDK may create
  2591. // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  2592. // for more information on using Contexts.
  2593. func (c *RoboMaker) SyncDeploymentJobWithContext(ctx aws.Context, input *SyncDeploymentJobInput, opts ...request.Option) (*SyncDeploymentJobOutput, error) {
  2594. req, out := c.SyncDeploymentJobRequest(input)
  2595. req.SetContext(ctx)
  2596. req.ApplyOptions(opts...)
  2597. return out, req.Send()
  2598. }
  2599. const opUpdateRobotApplication = "UpdateRobotApplication"
  2600. // UpdateRobotApplicationRequest generates a "aws/request.Request" representing the
  2601. // client's request for the UpdateRobotApplication operation. The "output" return
  2602. // value will be populated with the request's response once the request completes
  2603. // successfully.
  2604. //
  2605. // Use "Send" method on the returned Request to send the API call to the service.
  2606. // the "output" return value is not valid until after Send returns without error.
  2607. //
  2608. // See UpdateRobotApplication for more information on using the UpdateRobotApplication
  2609. // API call, and error handling.
  2610. //
  2611. // This method is useful when you want to inject custom logic or configuration
  2612. // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  2613. //
  2614. //
  2615. // // Example sending a request using the UpdateRobotApplicationRequest method.
  2616. // req, resp := client.UpdateRobotApplicationRequest(params)
  2617. //
  2618. // err := req.Send()
  2619. // if err == nil { // resp is now filled
  2620. // fmt.Println(resp)
  2621. // }
  2622. //
  2623. // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/UpdateRobotApplication
  2624. func (c *RoboMaker) UpdateRobotApplicationRequest(input *UpdateRobotApplicationInput) (req *request.Request, output *UpdateRobotApplicationOutput) {
  2625. op := &request.Operation{
  2626. Name: opUpdateRobotApplication,
  2627. HTTPMethod: "POST",
  2628. HTTPPath: "/updateRobotApplication",
  2629. }
  2630. if input == nil {
  2631. input = &UpdateRobotApplicationInput{}
  2632. }
  2633. output = &UpdateRobotApplicationOutput{}
  2634. req = c.newRequest(op, input, output)
  2635. return
  2636. }
  2637. // UpdateRobotApplication API operation for AWS RoboMaker.
  2638. //
  2639. // Updates a robot application.
  2640. //
  2641. // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  2642. // with awserr.Error's Code and Message methods to get detailed information about
  2643. // the error.
  2644. //
  2645. // See the AWS API reference guide for AWS RoboMaker's
  2646. // API operation UpdateRobotApplication for usage and error information.
  2647. //
  2648. // Returned Error Codes:
  2649. // * ErrCodeInvalidParameterException "InvalidParameterException"
  2650. // A parameter specified in a request is not valid, is unsupported, or cannot
  2651. // be used. The returned message provides an explanation of the error value.
  2652. //
  2653. // * ErrCodeResourceNotFoundException "ResourceNotFoundException"
  2654. // The specified resource does not exist.
  2655. //
  2656. // * ErrCodeLimitExceededException "LimitExceededException"
  2657. // The requested resource exceeds the maximum number allowed, or the number
  2658. // of concurrent stream requests exceeds the maximum number allowed.
  2659. //
  2660. // * ErrCodeThrottlingException "ThrottlingException"
  2661. // AWS RoboMaker is temporarily unable to process the request. Try your call
  2662. // again.
  2663. //
  2664. // * ErrCodeInternalServerException "InternalServerException"
  2665. // AWS RoboMaker experienced a service issue. Try your call again.
  2666. //
  2667. // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/UpdateRobotApplication
  2668. func (c *RoboMaker) UpdateRobotApplication(input *UpdateRobotApplicationInput) (*UpdateRobotApplicationOutput, error) {
  2669. req, out := c.UpdateRobotApplicationRequest(input)
  2670. return out, req.Send()
  2671. }
  2672. // UpdateRobotApplicationWithContext is the same as UpdateRobotApplication with the addition of
  2673. // the ability to pass a context and additional request options.
  2674. //
  2675. // See UpdateRobotApplication for details on how to use this API operation.
  2676. //
  2677. // The context must be non-nil and will be used for request cancellation. If
  2678. // the context is nil a panic will occur. In the future the SDK may create
  2679. // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  2680. // for more information on using Contexts.
  2681. func (c *RoboMaker) UpdateRobotApplicationWithContext(ctx aws.Context, input *UpdateRobotApplicationInput, opts ...request.Option) (*UpdateRobotApplicationOutput, error) {
  2682. req, out := c.UpdateRobotApplicationRequest(input)
  2683. req.SetContext(ctx)
  2684. req.ApplyOptions(opts...)
  2685. return out, req.Send()
  2686. }
  2687. const opUpdateSimulationApplication = "UpdateSimulationApplication"
  2688. // UpdateSimulationApplicationRequest generates a "aws/request.Request" representing the
  2689. // client's request for the UpdateSimulationApplication operation. The "output" return
  2690. // value will be populated with the request's response once the request completes
  2691. // successfully.
  2692. //
  2693. // Use "Send" method on the returned Request to send the API call to the service.
  2694. // the "output" return value is not valid until after Send returns without error.
  2695. //
  2696. // See UpdateSimulationApplication for more information on using the UpdateSimulationApplication
  2697. // API call, and error handling.
  2698. //
  2699. // This method is useful when you want to inject custom logic or configuration
  2700. // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  2701. //
  2702. //
  2703. // // Example sending a request using the UpdateSimulationApplicationRequest method.
  2704. // req, resp := client.UpdateSimulationApplicationRequest(params)
  2705. //
  2706. // err := req.Send()
  2707. // if err == nil { // resp is now filled
  2708. // fmt.Println(resp)
  2709. // }
  2710. //
  2711. // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/UpdateSimulationApplication
  2712. func (c *RoboMaker) UpdateSimulationApplicationRequest(input *UpdateSimulationApplicationInput) (req *request.Request, output *UpdateSimulationApplicationOutput) {
  2713. op := &request.Operation{
  2714. Name: opUpdateSimulationApplication,
  2715. HTTPMethod: "POST",
  2716. HTTPPath: "/updateSimulationApplication",
  2717. }
  2718. if input == nil {
  2719. input = &UpdateSimulationApplicationInput{}
  2720. }
  2721. output = &UpdateSimulationApplicationOutput{}
  2722. req = c.newRequest(op, input, output)
  2723. return
  2724. }
  2725. // UpdateSimulationApplication API operation for AWS RoboMaker.
  2726. //
  2727. // Updates a simulation application.
  2728. //
  2729. // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  2730. // with awserr.Error's Code and Message methods to get detailed information about
  2731. // the error.
  2732. //
  2733. // See the AWS API reference guide for AWS RoboMaker's
  2734. // API operation UpdateSimulationApplication for usage and error information.
  2735. //
  2736. // Returned Error Codes:
  2737. // * ErrCodeInvalidParameterException "InvalidParameterException"
  2738. // A parameter specified in a request is not valid, is unsupported, or cannot
  2739. // be used. The returned message provides an explanation of the error value.
  2740. //
  2741. // * ErrCodeResourceNotFoundException "ResourceNotFoundException"
  2742. // The specified resource does not exist.
  2743. //
  2744. // * ErrCodeLimitExceededException "LimitExceededException"
  2745. // The requested resource exceeds the maximum number allowed, or the number
  2746. // of concurrent stream requests exceeds the maximum number allowed.
  2747. //
  2748. // * ErrCodeThrottlingException "ThrottlingException"
  2749. // AWS RoboMaker is temporarily unable to process the request. Try your call
  2750. // again.
  2751. //
  2752. // * ErrCodeInternalServerException "InternalServerException"
  2753. // AWS RoboMaker experienced a service issue. Try your call again.
  2754. //
  2755. // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/UpdateSimulationApplication
  2756. func (c *RoboMaker) UpdateSimulationApplication(input *UpdateSimulationApplicationInput) (*UpdateSimulationApplicationOutput, error) {
  2757. req, out := c.UpdateSimulationApplicationRequest(input)
  2758. return out, req.Send()
  2759. }
  2760. // UpdateSimulationApplicationWithContext is the same as UpdateSimulationApplication with the addition of
  2761. // the ability to pass a context and additional request options.
  2762. //
  2763. // See UpdateSimulationApplication for details on how to use this API operation.
  2764. //
  2765. // The context must be non-nil and will be used for request cancellation. If
  2766. // the context is nil a panic will occur. In the future the SDK may create
  2767. // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  2768. // for more information on using Contexts.
  2769. func (c *RoboMaker) UpdateSimulationApplicationWithContext(ctx aws.Context, input *UpdateSimulationApplicationInput, opts ...request.Option) (*UpdateSimulationApplicationOutput, error) {
  2770. req, out := c.UpdateSimulationApplicationRequest(input)
  2771. req.SetContext(ctx)
  2772. req.ApplyOptions(opts...)
  2773. return out, req.Send()
  2774. }
  2775. type BatchDescribeSimulationJobInput struct {
  2776. _ struct{} `type:"structure"`
  2777. // A list of Amazon Resource Names (ARNs) of simulation jobs to describe.
  2778. //
  2779. // Jobs is a required field
  2780. Jobs []*string `locationName:"jobs" min:"1" type:"list" required:"true"`
  2781. }
  2782. // String returns the string representation
  2783. func (s BatchDescribeSimulationJobInput) String() string {
  2784. return awsutil.Prettify(s)
  2785. }
  2786. // GoString returns the string representation
  2787. func (s BatchDescribeSimulationJobInput) GoString() string {
  2788. return s.String()
  2789. }
  2790. // Validate inspects the fields of the type to determine if they are valid.
  2791. func (s *BatchDescribeSimulationJobInput) Validate() error {
  2792. invalidParams := request.ErrInvalidParams{Context: "BatchDescribeSimulationJobInput"}
  2793. if s.Jobs == nil {
  2794. invalidParams.Add(request.NewErrParamRequired("Jobs"))
  2795. }
  2796. if s.Jobs != nil && len(s.Jobs) < 1 {
  2797. invalidParams.Add(request.NewErrParamMinLen("Jobs", 1))
  2798. }
  2799. if invalidParams.Len() > 0 {
  2800. return invalidParams
  2801. }
  2802. return nil
  2803. }
  2804. // SetJobs sets the Jobs field's value.
  2805. func (s *BatchDescribeSimulationJobInput) SetJobs(v []*string) *BatchDescribeSimulationJobInput {
  2806. s.Jobs = v
  2807. return s
  2808. }
  2809. type BatchDescribeSimulationJobOutput struct {
  2810. _ struct{} `type:"structure"`
  2811. // A list of simulation jobs.
  2812. Jobs []*SimulationJob `locationName:"jobs" type:"list"`
  2813. // A list of unprocessed simulation job Amazon Resource Names (ARNs).
  2814. UnprocessedJobs []*string `locationName:"unprocessedJobs" min:"1" type:"list"`
  2815. }
  2816. // String returns the string representation
  2817. func (s BatchDescribeSimulationJobOutput) String() string {
  2818. return awsutil.Prettify(s)
  2819. }
  2820. // GoString returns the string representation
  2821. func (s BatchDescribeSimulationJobOutput) GoString() string {
  2822. return s.String()
  2823. }
  2824. // SetJobs sets the Jobs field's value.
  2825. func (s *BatchDescribeSimulationJobOutput) SetJobs(v []*SimulationJob) *BatchDescribeSimulationJobOutput {
  2826. s.Jobs = v
  2827. return s
  2828. }
  2829. // SetUnprocessedJobs sets the UnprocessedJobs field's value.
  2830. func (s *BatchDescribeSimulationJobOutput) SetUnprocessedJobs(v []*string) *BatchDescribeSimulationJobOutput {
  2831. s.UnprocessedJobs = v
  2832. return s
  2833. }
  2834. type CancelSimulationJobInput struct {
  2835. _ struct{} `type:"structure"`
  2836. // The simulation job ARN to cancel.
  2837. //
  2838. // Job is a required field
  2839. Job *string `locationName:"job" min:"1" type:"string" required:"true"`
  2840. }
  2841. // String returns the string representation
  2842. func (s CancelSimulationJobInput) String() string {
  2843. return awsutil.Prettify(s)
  2844. }
  2845. // GoString returns the string representation
  2846. func (s CancelSimulationJobInput) GoString() string {
  2847. return s.String()
  2848. }
  2849. // Validate inspects the fields of the type to determine if they are valid.
  2850. func (s *CancelSimulationJobInput) Validate() error {
  2851. invalidParams := request.ErrInvalidParams{Context: "CancelSimulationJobInput"}
  2852. if s.Job == nil {
  2853. invalidParams.Add(request.NewErrParamRequired("Job"))
  2854. }
  2855. if s.Job != nil && len(*s.Job) < 1 {
  2856. invalidParams.Add(request.NewErrParamMinLen("Job", 1))
  2857. }
  2858. if invalidParams.Len() > 0 {
  2859. return invalidParams
  2860. }
  2861. return nil
  2862. }
  2863. // SetJob sets the Job field's value.
  2864. func (s *CancelSimulationJobInput) SetJob(v string) *CancelSimulationJobInput {
  2865. s.Job = &v
  2866. return s
  2867. }
  2868. type CancelSimulationJobOutput struct {
  2869. _ struct{} `type:"structure"`
  2870. }
  2871. // String returns the string representation
  2872. func (s CancelSimulationJobOutput) String() string {
  2873. return awsutil.Prettify(s)
  2874. }
  2875. // GoString returns the string representation
  2876. func (s CancelSimulationJobOutput) GoString() string {
  2877. return s.String()
  2878. }
  2879. type CreateDeploymentJobInput struct {
  2880. _ struct{} `type:"structure"`
  2881. // Unique, case-sensitive identifier that you provide to ensure the idempotency
  2882. // of the request.
  2883. ClientRequestToken *string `locationName:"clientRequestToken" min:"1" type:"string" idempotencyToken:"true"`
  2884. // The deployment application configuration.
  2885. //
  2886. // DeploymentApplicationConfigs is a required field
  2887. DeploymentApplicationConfigs []*DeploymentApplicationConfig `locationName:"deploymentApplicationConfigs" min:"1" type:"list" required:"true"`
  2888. // The requested deployment configuration.
  2889. DeploymentConfig *DeploymentConfig `locationName:"deploymentConfig" type:"structure"`
  2890. // The Amazon Resource Name (ARN) of the fleet to deploy.
  2891. //
  2892. // Fleet is a required field
  2893. Fleet *string `locationName:"fleet" min:"1" type:"string" required:"true"`
  2894. }
  2895. // String returns the string representation
  2896. func (s CreateDeploymentJobInput) String() string {
  2897. return awsutil.Prettify(s)
  2898. }
  2899. // GoString returns the string representation
  2900. func (s CreateDeploymentJobInput) GoString() string {
  2901. return s.String()
  2902. }
  2903. // Validate inspects the fields of the type to determine if they are valid.
  2904. func (s *CreateDeploymentJobInput) Validate() error {
  2905. invalidParams := request.ErrInvalidParams{Context: "CreateDeploymentJobInput"}
  2906. if s.ClientRequestToken != nil && len(*s.ClientRequestToken) < 1 {
  2907. invalidParams.Add(request.NewErrParamMinLen("ClientRequestToken", 1))
  2908. }
  2909. if s.DeploymentApplicationConfigs == nil {
  2910. invalidParams.Add(request.NewErrParamRequired("DeploymentApplicationConfigs"))
  2911. }
  2912. if s.DeploymentApplicationConfigs != nil && len(s.DeploymentApplicationConfigs) < 1 {
  2913. invalidParams.Add(request.NewErrParamMinLen("DeploymentApplicationConfigs", 1))
  2914. }
  2915. if s.Fleet == nil {
  2916. invalidParams.Add(request.NewErrParamRequired("Fleet"))
  2917. }
  2918. if s.Fleet != nil && len(*s.Fleet) < 1 {
  2919. invalidParams.Add(request.NewErrParamMinLen("Fleet", 1))
  2920. }
  2921. if s.DeploymentApplicationConfigs != nil {
  2922. for i, v := range s.DeploymentApplicationConfigs {
  2923. if v == nil {
  2924. continue
  2925. }
  2926. if err := v.Validate(); err != nil {
  2927. invalidParams.AddNested(fmt.Sprintf("%s[%v]", "DeploymentApplicationConfigs", i), err.(request.ErrInvalidParams))
  2928. }
  2929. }
  2930. }
  2931. if s.DeploymentConfig != nil {
  2932. if err := s.DeploymentConfig.Validate(); err != nil {
  2933. invalidParams.AddNested("DeploymentConfig", err.(request.ErrInvalidParams))
  2934. }
  2935. }
  2936. if invalidParams.Len() > 0 {
  2937. return invalidParams
  2938. }
  2939. return nil
  2940. }
  2941. // SetClientRequestToken sets the ClientRequestToken field's value.
  2942. func (s *CreateDeploymentJobInput) SetClientRequestToken(v string) *CreateDeploymentJobInput {
  2943. s.ClientRequestToken = &v
  2944. return s
  2945. }
  2946. // SetDeploymentApplicationConfigs sets the DeploymentApplicationConfigs field's value.
  2947. func (s *CreateDeploymentJobInput) SetDeploymentApplicationConfigs(v []*DeploymentApplicationConfig) *CreateDeploymentJobInput {
  2948. s.DeploymentApplicationConfigs = v
  2949. return s
  2950. }
  2951. // SetDeploymentConfig sets the DeploymentConfig field's value.
  2952. func (s *CreateDeploymentJobInput) SetDeploymentConfig(v *DeploymentConfig) *CreateDeploymentJobInput {
  2953. s.DeploymentConfig = v
  2954. return s
  2955. }
  2956. // SetFleet sets the Fleet field's value.
  2957. func (s *CreateDeploymentJobInput) SetFleet(v string) *CreateDeploymentJobInput {
  2958. s.Fleet = &v
  2959. return s
  2960. }
  2961. type CreateDeploymentJobOutput struct {
  2962. _ struct{} `type:"structure"`
  2963. // The Amazon Resource Name (ARN) of the deployment job.
  2964. Arn *string `locationName:"arn" min:"1" type:"string"`
  2965. // The time, in milliseconds since the epoch, when the fleet was created.
  2966. CreatedAt *time.Time `locationName:"createdAt" type:"timestamp"`
  2967. // The deployment application configuration.
  2968. DeploymentApplicationConfigs []*DeploymentApplicationConfig `locationName:"deploymentApplicationConfigs" min:"1" type:"list"`
  2969. // The deployment configuration.
  2970. DeploymentConfig *DeploymentConfig `locationName:"deploymentConfig" type:"structure"`
  2971. // The failure code of the deployment job if it failed.
  2972. FailureCode *string `locationName:"failureCode" type:"string" enum:"DeploymentJobErrorCode"`
  2973. // The failure reason of the deployment job if it failed.
  2974. FailureReason *string `locationName:"failureReason" type:"string"`
  2975. // The target fleet for the deployment job.
  2976. Fleet *string `locationName:"fleet" min:"1" type:"string"`
  2977. // The status of the deployment job.
  2978. Status *string `locationName:"status" type:"string" enum:"DeploymentStatus"`
  2979. }
  2980. // String returns the string representation
  2981. func (s CreateDeploymentJobOutput) String() string {
  2982. return awsutil.Prettify(s)
  2983. }
  2984. // GoString returns the string representation
  2985. func (s CreateDeploymentJobOutput) GoString() string {
  2986. return s.String()
  2987. }
  2988. // SetArn sets the Arn field's value.
  2989. func (s *CreateDeploymentJobOutput) SetArn(v string) *CreateDeploymentJobOutput {
  2990. s.Arn = &v
  2991. return s
  2992. }
  2993. // SetCreatedAt sets the CreatedAt field's value.
  2994. func (s *CreateDeploymentJobOutput) SetCreatedAt(v time.Time) *CreateDeploymentJobOutput {
  2995. s.CreatedAt = &v
  2996. return s
  2997. }
  2998. // SetDeploymentApplicationConfigs sets the DeploymentApplicationConfigs field's value.
  2999. func (s *CreateDeploymentJobOutput) SetDeploymentApplicationConfigs(v []*DeploymentApplicationConfig) *CreateDeploymentJobOutput {
  3000. s.DeploymentApplicationConfigs = v
  3001. return s
  3002. }
  3003. // SetDeploymentConfig sets the DeploymentConfig field's value.
  3004. func (s *CreateDeploymentJobOutput) SetDeploymentConfig(v *DeploymentConfig) *CreateDeploymentJobOutput {
  3005. s.DeploymentConfig = v
  3006. return s
  3007. }
  3008. // SetFailureCode sets the FailureCode field's value.
  3009. func (s *CreateDeploymentJobOutput) SetFailureCode(v string) *CreateDeploymentJobOutput {
  3010. s.FailureCode = &v
  3011. return s
  3012. }
  3013. // SetFailureReason sets the FailureReason field's value.
  3014. func (s *CreateDeploymentJobOutput) SetFailureReason(v string) *CreateDeploymentJobOutput {
  3015. s.FailureReason = &v
  3016. return s
  3017. }
  3018. // SetFleet sets the Fleet field's value.
  3019. func (s *CreateDeploymentJobOutput) SetFleet(v string) *CreateDeploymentJobOutput {
  3020. s.Fleet = &v
  3021. return s
  3022. }
  3023. // SetStatus sets the Status field's value.
  3024. func (s *CreateDeploymentJobOutput) SetStatus(v string) *CreateDeploymentJobOutput {
  3025. s.Status = &v
  3026. return s
  3027. }
  3028. type CreateFleetInput struct {
  3029. _ struct{} `type:"structure"`
  3030. // The name of the fleet.
  3031. //
  3032. // Name is a required field
  3033. Name *string `locationName:"name" min:"1" type:"string" required:"true"`
  3034. }
  3035. // String returns the string representation
  3036. func (s CreateFleetInput) String() string {
  3037. return awsutil.Prettify(s)
  3038. }
  3039. // GoString returns the string representation
  3040. func (s CreateFleetInput) GoString() string {
  3041. return s.String()
  3042. }
  3043. // Validate inspects the fields of the type to determine if they are valid.
  3044. func (s *CreateFleetInput) Validate() error {
  3045. invalidParams := request.ErrInvalidParams{Context: "CreateFleetInput"}
  3046. if s.Name == nil {
  3047. invalidParams.Add(request.NewErrParamRequired("Name"))
  3048. }
  3049. if s.Name != nil && len(*s.Name) < 1 {
  3050. invalidParams.Add(request.NewErrParamMinLen("Name", 1))
  3051. }
  3052. if invalidParams.Len() > 0 {
  3053. return invalidParams
  3054. }
  3055. return nil
  3056. }
  3057. // SetName sets the Name field's value.
  3058. func (s *CreateFleetInput) SetName(v string) *CreateFleetInput {
  3059. s.Name = &v
  3060. return s
  3061. }
  3062. type CreateFleetOutput struct {
  3063. _ struct{} `type:"structure"`
  3064. // The Amazon Resource Name (ARN) of the fleet.
  3065. Arn *string `locationName:"arn" min:"1" type:"string"`
  3066. // The time, in milliseconds since the epoch, when the fleet was created.
  3067. CreatedAt *time.Time `locationName:"createdAt" type:"timestamp"`
  3068. // The name of the fleet.
  3069. Name *string `locationName:"name" min:"1" type:"string"`
  3070. }
  3071. // String returns the string representation
  3072. func (s CreateFleetOutput) String() string {
  3073. return awsutil.Prettify(s)
  3074. }
  3075. // GoString returns the string representation
  3076. func (s CreateFleetOutput) GoString() string {
  3077. return s.String()
  3078. }
  3079. // SetArn sets the Arn field's value.
  3080. func (s *CreateFleetOutput) SetArn(v string) *CreateFleetOutput {
  3081. s.Arn = &v
  3082. return s
  3083. }
  3084. // SetCreatedAt sets the CreatedAt field's value.
  3085. func (s *CreateFleetOutput) SetCreatedAt(v time.Time) *CreateFleetOutput {
  3086. s.CreatedAt = &v
  3087. return s
  3088. }
  3089. // SetName sets the Name field's value.
  3090. func (s *CreateFleetOutput) SetName(v string) *CreateFleetOutput {
  3091. s.Name = &v
  3092. return s
  3093. }
  3094. type CreateRobotApplicationInput struct {
  3095. _ struct{} `type:"structure"`
  3096. // The name of the robot application.
  3097. //
  3098. // Name is a required field
  3099. Name *string `locationName:"name" min:"1" type:"string" required:"true"`
  3100. // The robot software suite used by the robot application.
  3101. //
  3102. // RobotSoftwareSuite is a required field
  3103. RobotSoftwareSuite *RobotSoftwareSuite `locationName:"robotSoftwareSuite" type:"structure" required:"true"`
  3104. // The sources of the robot application.
  3105. //
  3106. // Sources is a required field
  3107. Sources []*SourceConfig `locationName:"sources" type:"list" required:"true"`
  3108. }
  3109. // String returns the string representation
  3110. func (s CreateRobotApplicationInput) String() string {
  3111. return awsutil.Prettify(s)
  3112. }
  3113. // GoString returns the string representation
  3114. func (s CreateRobotApplicationInput) GoString() string {
  3115. return s.String()
  3116. }
  3117. // Validate inspects the fields of the type to determine if they are valid.
  3118. func (s *CreateRobotApplicationInput) Validate() error {
  3119. invalidParams := request.ErrInvalidParams{Context: "CreateRobotApplicationInput"}
  3120. if s.Name == nil {
  3121. invalidParams.Add(request.NewErrParamRequired("Name"))
  3122. }
  3123. if s.Name != nil && len(*s.Name) < 1 {
  3124. invalidParams.Add(request.NewErrParamMinLen("Name", 1))
  3125. }
  3126. if s.RobotSoftwareSuite == nil {
  3127. invalidParams.Add(request.NewErrParamRequired("RobotSoftwareSuite"))
  3128. }
  3129. if s.Sources == nil {
  3130. invalidParams.Add(request.NewErrParamRequired("Sources"))
  3131. }
  3132. if s.Sources != nil {
  3133. for i, v := range s.Sources {
  3134. if v == nil {
  3135. continue
  3136. }
  3137. if err := v.Validate(); err != nil {
  3138. invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Sources", i), err.(request.ErrInvalidParams))
  3139. }
  3140. }
  3141. }
  3142. if invalidParams.Len() > 0 {
  3143. return invalidParams
  3144. }
  3145. return nil
  3146. }
  3147. // SetName sets the Name field's value.
  3148. func (s *CreateRobotApplicationInput) SetName(v string) *CreateRobotApplicationInput {
  3149. s.Name = &v
  3150. return s
  3151. }
  3152. // SetRobotSoftwareSuite sets the RobotSoftwareSuite field's value.
  3153. func (s *CreateRobotApplicationInput) SetRobotSoftwareSuite(v *RobotSoftwareSuite) *CreateRobotApplicationInput {
  3154. s.RobotSoftwareSuite = v
  3155. return s
  3156. }
  3157. // SetSources sets the Sources field's value.
  3158. func (s *CreateRobotApplicationInput) SetSources(v []*SourceConfig) *CreateRobotApplicationInput {
  3159. s.Sources = v
  3160. return s
  3161. }
  3162. type CreateRobotApplicationOutput struct {
  3163. _ struct{} `type:"structure"`
  3164. // The Amazon Resource Name (ARN) of the robot application.
  3165. Arn *string `locationName:"arn" min:"1" type:"string"`
  3166. // The time, in milliseconds since the epoch, when the robot application was
  3167. // last updated.
  3168. LastUpdatedAt *time.Time `locationName:"lastUpdatedAt" type:"timestamp"`
  3169. // The name of the robot application.
  3170. Name *string `locationName:"name" min:"1" type:"string"`
  3171. // The revision id of the robot application.
  3172. RevisionId *string `locationName:"revisionId" min:"1" type:"string"`
  3173. // The robot software suite used by the robot application.
  3174. RobotSoftwareSuite *RobotSoftwareSuite `locationName:"robotSoftwareSuite" type:"structure"`
  3175. // The sources of the robot application.
  3176. Sources []*Source `locationName:"sources" type:"list"`
  3177. // The version of the robot application.
  3178. Version *string `locationName:"version" min:"1" type:"string"`
  3179. }
  3180. // String returns the string representation
  3181. func (s CreateRobotApplicationOutput) String() string {
  3182. return awsutil.Prettify(s)
  3183. }
  3184. // GoString returns the string representation
  3185. func (s CreateRobotApplicationOutput) GoString() string {
  3186. return s.String()
  3187. }
  3188. // SetArn sets the Arn field's value.
  3189. func (s *CreateRobotApplicationOutput) SetArn(v string) *CreateRobotApplicationOutput {
  3190. s.Arn = &v
  3191. return s
  3192. }
  3193. // SetLastUpdatedAt sets the LastUpdatedAt field's value.
  3194. func (s *CreateRobotApplicationOutput) SetLastUpdatedAt(v time.Time) *CreateRobotApplicationOutput {
  3195. s.LastUpdatedAt = &v
  3196. return s
  3197. }
  3198. // SetName sets the Name field's value.
  3199. func (s *CreateRobotApplicationOutput) SetName(v string) *CreateRobotApplicationOutput {
  3200. s.Name = &v
  3201. return s
  3202. }
  3203. // SetRevisionId sets the RevisionId field's value.
  3204. func (s *CreateRobotApplicationOutput) SetRevisionId(v string) *CreateRobotApplicationOutput {
  3205. s.RevisionId = &v
  3206. return s
  3207. }
  3208. // SetRobotSoftwareSuite sets the RobotSoftwareSuite field's value.
  3209. func (s *CreateRobotApplicationOutput) SetRobotSoftwareSuite(v *RobotSoftwareSuite) *CreateRobotApplicationOutput {
  3210. s.RobotSoftwareSuite = v
  3211. return s
  3212. }
  3213. // SetSources sets the Sources field's value.
  3214. func (s *CreateRobotApplicationOutput) SetSources(v []*Source) *CreateRobotApplicationOutput {
  3215. s.Sources = v
  3216. return s
  3217. }
  3218. // SetVersion sets the Version field's value.
  3219. func (s *CreateRobotApplicationOutput) SetVersion(v string) *CreateRobotApplicationOutput {
  3220. s.Version = &v
  3221. return s
  3222. }
  3223. type CreateRobotApplicationVersionInput struct {
  3224. _ struct{} `type:"structure"`
  3225. // The application information for the robot application.
  3226. //
  3227. // Application is a required field
  3228. Application *string `locationName:"application" min:"1" type:"string" required:"true"`
  3229. // The current revision id for the robot application. If you provide a value
  3230. // and it matches the latest revision ID, a new version will be created.
  3231. CurrentRevisionId *string `locationName:"currentRevisionId" min:"1" type:"string"`
  3232. }
  3233. // String returns the string representation
  3234. func (s CreateRobotApplicationVersionInput) String() string {
  3235. return awsutil.Prettify(s)
  3236. }
  3237. // GoString returns the string representation
  3238. func (s CreateRobotApplicationVersionInput) GoString() string {
  3239. return s.String()
  3240. }
  3241. // Validate inspects the fields of the type to determine if they are valid.
  3242. func (s *CreateRobotApplicationVersionInput) Validate() error {
  3243. invalidParams := request.ErrInvalidParams{Context: "CreateRobotApplicationVersionInput"}
  3244. if s.Application == nil {
  3245. invalidParams.Add(request.NewErrParamRequired("Application"))
  3246. }
  3247. if s.Application != nil && len(*s.Application) < 1 {
  3248. invalidParams.Add(request.NewErrParamMinLen("Application", 1))
  3249. }
  3250. if s.CurrentRevisionId != nil && len(*s.CurrentRevisionId) < 1 {
  3251. invalidParams.Add(request.NewErrParamMinLen("CurrentRevisionId", 1))
  3252. }
  3253. if invalidParams.Len() > 0 {
  3254. return invalidParams
  3255. }
  3256. return nil
  3257. }
  3258. // SetApplication sets the Application field's value.
  3259. func (s *CreateRobotApplicationVersionInput) SetApplication(v string) *CreateRobotApplicationVersionInput {
  3260. s.Application = &v
  3261. return s
  3262. }
  3263. // SetCurrentRevisionId sets the CurrentRevisionId field's value.
  3264. func (s *CreateRobotApplicationVersionInput) SetCurrentRevisionId(v string) *CreateRobotApplicationVersionInput {
  3265. s.CurrentRevisionId = &v
  3266. return s
  3267. }
  3268. type CreateRobotApplicationVersionOutput struct {
  3269. _ struct{} `type:"structure"`
  3270. // The Amazon Resource Name (ARN) of the robot application.
  3271. Arn *string `locationName:"arn" min:"1" type:"string"`
  3272. // The time, in milliseconds since the epoch, when the robot application was
  3273. // last updated.
  3274. LastUpdatedAt *time.Time `locationName:"lastUpdatedAt" type:"timestamp"`
  3275. // The name of the robot application.
  3276. Name *string `locationName:"name" min:"1" type:"string"`
  3277. // The revision id of the robot application.
  3278. RevisionId *string `locationName:"revisionId" min:"1" type:"string"`
  3279. // The robot software suite used by the robot application.
  3280. RobotSoftwareSuite *RobotSoftwareSuite `locationName:"robotSoftwareSuite" type:"structure"`
  3281. // The sources of the robot application.
  3282. Sources []*Source `locationName:"sources" type:"list"`
  3283. // The version of the robot application.
  3284. Version *string `locationName:"version" min:"1" type:"string"`
  3285. }
  3286. // String returns the string representation
  3287. func (s CreateRobotApplicationVersionOutput) String() string {
  3288. return awsutil.Prettify(s)
  3289. }
  3290. // GoString returns the string representation
  3291. func (s CreateRobotApplicationVersionOutput) GoString() string {
  3292. return s.String()
  3293. }
  3294. // SetArn sets the Arn field's value.
  3295. func (s *CreateRobotApplicationVersionOutput) SetArn(v string) *CreateRobotApplicationVersionOutput {
  3296. s.Arn = &v
  3297. return s
  3298. }
  3299. // SetLastUpdatedAt sets the LastUpdatedAt field's value.
  3300. func (s *CreateRobotApplicationVersionOutput) SetLastUpdatedAt(v time.Time) *CreateRobotApplicationVersionOutput {
  3301. s.LastUpdatedAt = &v
  3302. return s
  3303. }
  3304. // SetName sets the Name field's value.
  3305. func (s *CreateRobotApplicationVersionOutput) SetName(v string) *CreateRobotApplicationVersionOutput {
  3306. s.Name = &v
  3307. return s
  3308. }
  3309. // SetRevisionId sets the RevisionId field's value.
  3310. func (s *CreateRobotApplicationVersionOutput) SetRevisionId(v string) *CreateRobotApplicationVersionOutput {
  3311. s.RevisionId = &v
  3312. return s
  3313. }
  3314. // SetRobotSoftwareSuite sets the RobotSoftwareSuite field's value.
  3315. func (s *CreateRobotApplicationVersionOutput) SetRobotSoftwareSuite(v *RobotSoftwareSuite) *CreateRobotApplicationVersionOutput {
  3316. s.RobotSoftwareSuite = v
  3317. return s
  3318. }
  3319. // SetSources sets the Sources field's value.
  3320. func (s *CreateRobotApplicationVersionOutput) SetSources(v []*Source) *CreateRobotApplicationVersionOutput {
  3321. s.Sources = v
  3322. return s
  3323. }
  3324. // SetVersion sets the Version field's value.
  3325. func (s *CreateRobotApplicationVersionOutput) SetVersion(v string) *CreateRobotApplicationVersionOutput {
  3326. s.Version = &v
  3327. return s
  3328. }
  3329. type CreateRobotInput struct {
  3330. _ struct{} `type:"structure"`
  3331. // The target architecture of the robot.
  3332. //
  3333. // Architecture is a required field
  3334. Architecture *string `locationName:"architecture" type:"string" required:"true" enum:"Architecture"`
  3335. // The Greengrass group id.
  3336. //
  3337. // GreengrassGroupId is a required field
  3338. GreengrassGroupId *string `locationName:"greengrassGroupId" min:"1" type:"string" required:"true"`
  3339. // The name for the robot.
  3340. //
  3341. // Name is a required field
  3342. Name *string `locationName:"name" min:"1" type:"string" required:"true"`
  3343. }
  3344. // String returns the string representation
  3345. func (s CreateRobotInput) String() string {
  3346. return awsutil.Prettify(s)
  3347. }
  3348. // GoString returns the string representation
  3349. func (s CreateRobotInput) GoString() string {
  3350. return s.String()
  3351. }
  3352. // Validate inspects the fields of the type to determine if they are valid.
  3353. func (s *CreateRobotInput) Validate() error {
  3354. invalidParams := request.ErrInvalidParams{Context: "CreateRobotInput"}
  3355. if s.Architecture == nil {
  3356. invalidParams.Add(request.NewErrParamRequired("Architecture"))
  3357. }
  3358. if s.GreengrassGroupId == nil {
  3359. invalidParams.Add(request.NewErrParamRequired("GreengrassGroupId"))
  3360. }
  3361. if s.GreengrassGroupId != nil && len(*s.GreengrassGroupId) < 1 {
  3362. invalidParams.Add(request.NewErrParamMinLen("GreengrassGroupId", 1))
  3363. }
  3364. if s.Name == nil {
  3365. invalidParams.Add(request.NewErrParamRequired("Name"))
  3366. }
  3367. if s.Name != nil && len(*s.Name) < 1 {
  3368. invalidParams.Add(request.NewErrParamMinLen("Name", 1))
  3369. }
  3370. if invalidParams.Len() > 0 {
  3371. return invalidParams
  3372. }
  3373. return nil
  3374. }
  3375. // SetArchitecture sets the Architecture field's value.
  3376. func (s *CreateRobotInput) SetArchitecture(v string) *CreateRobotInput {
  3377. s.Architecture = &v
  3378. return s
  3379. }
  3380. // SetGreengrassGroupId sets the GreengrassGroupId field's value.
  3381. func (s *CreateRobotInput) SetGreengrassGroupId(v string) *CreateRobotInput {
  3382. s.GreengrassGroupId = &v
  3383. return s
  3384. }
  3385. // SetName sets the Name field's value.
  3386. func (s *CreateRobotInput) SetName(v string) *CreateRobotInput {
  3387. s.Name = &v
  3388. return s
  3389. }
  3390. type CreateRobotOutput struct {
  3391. _ struct{} `type:"structure"`
  3392. // The target architecture of the robot.
  3393. Architecture *string `locationName:"architecture" type:"string" enum:"Architecture"`
  3394. // The Amazon Resource Name (ARN) of the robot.
  3395. Arn *string `locationName:"arn" min:"1" type:"string"`
  3396. // The time, in milliseconds since the epoch, when the robot was created.
  3397. CreatedAt *time.Time `locationName:"createdAt" type:"timestamp"`
  3398. // The Amazon Resource Name (ARN) of the Greengrass group associated with the
  3399. // robot.
  3400. GreengrassGroupId *string `locationName:"greengrassGroupId" min:"1" type:"string"`
  3401. // The name of the robot.
  3402. Name *string `locationName:"name" min:"1" type:"string"`
  3403. }
  3404. // String returns the string representation
  3405. func (s CreateRobotOutput) String() string {
  3406. return awsutil.Prettify(s)
  3407. }
  3408. // GoString returns the string representation
  3409. func (s CreateRobotOutput) GoString() string {
  3410. return s.String()
  3411. }
  3412. // SetArchitecture sets the Architecture field's value.
  3413. func (s *CreateRobotOutput) SetArchitecture(v string) *CreateRobotOutput {
  3414. s.Architecture = &v
  3415. return s
  3416. }
  3417. // SetArn sets the Arn field's value.
  3418. func (s *CreateRobotOutput) SetArn(v string) *CreateRobotOutput {
  3419. s.Arn = &v
  3420. return s
  3421. }
  3422. // SetCreatedAt sets the CreatedAt field's value.
  3423. func (s *CreateRobotOutput) SetCreatedAt(v time.Time) *CreateRobotOutput {
  3424. s.CreatedAt = &v
  3425. return s
  3426. }
  3427. // SetGreengrassGroupId sets the GreengrassGroupId field's value.
  3428. func (s *CreateRobotOutput) SetGreengrassGroupId(v string) *CreateRobotOutput {
  3429. s.GreengrassGroupId = &v
  3430. return s
  3431. }
  3432. // SetName sets the Name field's value.
  3433. func (s *CreateRobotOutput) SetName(v string) *CreateRobotOutput {
  3434. s.Name = &v
  3435. return s
  3436. }
  3437. type CreateSimulationApplicationInput struct {
  3438. _ struct{} `type:"structure"`
  3439. // The name of the simulation application.
  3440. //
  3441. // Name is a required field
  3442. Name *string `locationName:"name" min:"1" type:"string" required:"true"`
  3443. // The rendering engine for the simulation application.
  3444. //
  3445. // RenderingEngine is a required field
  3446. RenderingEngine *RenderingEngine `locationName:"renderingEngine" type:"structure" required:"true"`
  3447. // The robot software suite of the simulation application.
  3448. //
  3449. // RobotSoftwareSuite is a required field
  3450. RobotSoftwareSuite *RobotSoftwareSuite `locationName:"robotSoftwareSuite" type:"structure" required:"true"`
  3451. // The simulation software suite used by the simulation application.
  3452. //
  3453. // SimulationSoftwareSuite is a required field
  3454. SimulationSoftwareSuite *SimulationSoftwareSuite `locationName:"simulationSoftwareSuite" type:"structure" required:"true"`
  3455. // The sources of the simulation application.
  3456. //
  3457. // Sources is a required field
  3458. Sources []*SourceConfig `locationName:"sources" type:"list" required:"true"`
  3459. }
  3460. // String returns the string representation
  3461. func (s CreateSimulationApplicationInput) String() string {
  3462. return awsutil.Prettify(s)
  3463. }
  3464. // GoString returns the string representation
  3465. func (s CreateSimulationApplicationInput) GoString() string {
  3466. return s.String()
  3467. }
  3468. // Validate inspects the fields of the type to determine if they are valid.
  3469. func (s *CreateSimulationApplicationInput) Validate() error {
  3470. invalidParams := request.ErrInvalidParams{Context: "CreateSimulationApplicationInput"}
  3471. if s.Name == nil {
  3472. invalidParams.Add(request.NewErrParamRequired("Name"))
  3473. }
  3474. if s.Name != nil && len(*s.Name) < 1 {
  3475. invalidParams.Add(request.NewErrParamMinLen("Name", 1))
  3476. }
  3477. if s.RenderingEngine == nil {
  3478. invalidParams.Add(request.NewErrParamRequired("RenderingEngine"))
  3479. }
  3480. if s.RobotSoftwareSuite == nil {
  3481. invalidParams.Add(request.NewErrParamRequired("RobotSoftwareSuite"))
  3482. }
  3483. if s.SimulationSoftwareSuite == nil {
  3484. invalidParams.Add(request.NewErrParamRequired("SimulationSoftwareSuite"))
  3485. }
  3486. if s.Sources == nil {
  3487. invalidParams.Add(request.NewErrParamRequired("Sources"))
  3488. }
  3489. if s.Sources != nil {
  3490. for i, v := range s.Sources {
  3491. if v == nil {
  3492. continue
  3493. }
  3494. if err := v.Validate(); err != nil {
  3495. invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Sources", i), err.(request.ErrInvalidParams))
  3496. }
  3497. }
  3498. }
  3499. if invalidParams.Len() > 0 {
  3500. return invalidParams
  3501. }
  3502. return nil
  3503. }
  3504. // SetName sets the Name field's value.
  3505. func (s *CreateSimulationApplicationInput) SetName(v string) *CreateSimulationApplicationInput {
  3506. s.Name = &v
  3507. return s
  3508. }
  3509. // SetRenderingEngine sets the RenderingEngine field's value.
  3510. func (s *CreateSimulationApplicationInput) SetRenderingEngine(v *RenderingEngine) *CreateSimulationApplicationInput {
  3511. s.RenderingEngine = v
  3512. return s
  3513. }
  3514. // SetRobotSoftwareSuite sets the RobotSoftwareSuite field's value.
  3515. func (s *CreateSimulationApplicationInput) SetRobotSoftwareSuite(v *RobotSoftwareSuite) *CreateSimulationApplicationInput {
  3516. s.RobotSoftwareSuite = v
  3517. return s
  3518. }
  3519. // SetSimulationSoftwareSuite sets the SimulationSoftwareSuite field's value.
  3520. func (s *CreateSimulationApplicationInput) SetSimulationSoftwareSuite(v *SimulationSoftwareSuite) *CreateSimulationApplicationInput {
  3521. s.SimulationSoftwareSuite = v
  3522. return s
  3523. }
  3524. // SetSources sets the Sources field's value.
  3525. func (s *CreateSimulationApplicationInput) SetSources(v []*SourceConfig) *CreateSimulationApplicationInput {
  3526. s.Sources = v
  3527. return s
  3528. }
  3529. type CreateSimulationApplicationOutput struct {
  3530. _ struct{} `type:"structure"`
  3531. // The Amazon Resource Name (ARN) of the simulation application.
  3532. Arn *string `locationName:"arn" min:"1" type:"string"`
  3533. // The time, in milliseconds since the epoch, when the simulation application
  3534. // was last updated.
  3535. LastUpdatedAt *time.Time `locationName:"lastUpdatedAt" type:"timestamp"`
  3536. // The name of the simulation application.
  3537. Name *string `locationName:"name" min:"1" type:"string"`
  3538. // The rendering engine for the simulation application.
  3539. RenderingEngine *RenderingEngine `locationName:"renderingEngine" type:"structure"`
  3540. // The revision id of the simulation application.
  3541. RevisionId *string `locationName:"revisionId" min:"1" type:"string"`
  3542. // Information about the robot software suite.
  3543. RobotSoftwareSuite *RobotSoftwareSuite `locationName:"robotSoftwareSuite" type:"structure"`
  3544. // The simulation software suite used by the simulation application.
  3545. SimulationSoftwareSuite *SimulationSoftwareSuite `locationName:"simulationSoftwareSuite" type:"structure"`
  3546. // The sources of the simulation application.
  3547. Sources []*Source `locationName:"sources" type:"list"`
  3548. // The version of the simulation application.
  3549. Version *string `locationName:"version" min:"1" type:"string"`
  3550. }
  3551. // String returns the string representation
  3552. func (s CreateSimulationApplicationOutput) String() string {
  3553. return awsutil.Prettify(s)
  3554. }
  3555. // GoString returns the string representation
  3556. func (s CreateSimulationApplicationOutput) GoString() string {
  3557. return s.String()
  3558. }
  3559. // SetArn sets the Arn field's value.
  3560. func (s *CreateSimulationApplicationOutput) SetArn(v string) *CreateSimulationApplicationOutput {
  3561. s.Arn = &v
  3562. return s
  3563. }
  3564. // SetLastUpdatedAt sets the LastUpdatedAt field's value.
  3565. func (s *CreateSimulationApplicationOutput) SetLastUpdatedAt(v time.Time) *CreateSimulationApplicationOutput {
  3566. s.LastUpdatedAt = &v
  3567. return s
  3568. }
  3569. // SetName sets the Name field's value.
  3570. func (s *CreateSimulationApplicationOutput) SetName(v string) *CreateSimulationApplicationOutput {
  3571. s.Name = &v
  3572. return s
  3573. }
  3574. // SetRenderingEngine sets the RenderingEngine field's value.
  3575. func (s *CreateSimulationApplicationOutput) SetRenderingEngine(v *RenderingEngine) *CreateSimulationApplicationOutput {
  3576. s.RenderingEngine = v
  3577. return s
  3578. }
  3579. // SetRevisionId sets the RevisionId field's value.
  3580. func (s *CreateSimulationApplicationOutput) SetRevisionId(v string) *CreateSimulationApplicationOutput {
  3581. s.RevisionId = &v
  3582. return s
  3583. }
  3584. // SetRobotSoftwareSuite sets the RobotSoftwareSuite field's value.
  3585. func (s *CreateSimulationApplicationOutput) SetRobotSoftwareSuite(v *RobotSoftwareSuite) *CreateSimulationApplicationOutput {
  3586. s.RobotSoftwareSuite = v
  3587. return s
  3588. }
  3589. // SetSimulationSoftwareSuite sets the SimulationSoftwareSuite field's value.
  3590. func (s *CreateSimulationApplicationOutput) SetSimulationSoftwareSuite(v *SimulationSoftwareSuite) *CreateSimulationApplicationOutput {
  3591. s.SimulationSoftwareSuite = v
  3592. return s
  3593. }
  3594. // SetSources sets the Sources field's value.
  3595. func (s *CreateSimulationApplicationOutput) SetSources(v []*Source) *CreateSimulationApplicationOutput {
  3596. s.Sources = v
  3597. return s
  3598. }
  3599. // SetVersion sets the Version field's value.
  3600. func (s *CreateSimulationApplicationOutput) SetVersion(v string) *CreateSimulationApplicationOutput {
  3601. s.Version = &v
  3602. return s
  3603. }
  3604. type CreateSimulationApplicationVersionInput struct {
  3605. _ struct{} `type:"structure"`
  3606. // The application information for the simulation application.
  3607. //
  3608. // Application is a required field
  3609. Application *string `locationName:"application" min:"1" type:"string" required:"true"`
  3610. // The current revision id for the simulation application. If you provide a
  3611. // value and it matches the latest revision ID, a new version will be created.
  3612. CurrentRevisionId *string `locationName:"currentRevisionId" min:"1" type:"string"`
  3613. }
  3614. // String returns the string representation
  3615. func (s CreateSimulationApplicationVersionInput) String() string {
  3616. return awsutil.Prettify(s)
  3617. }
  3618. // GoString returns the string representation
  3619. func (s CreateSimulationApplicationVersionInput) GoString() string {
  3620. return s.String()
  3621. }
  3622. // Validate inspects the fields of the type to determine if they are valid.
  3623. func (s *CreateSimulationApplicationVersionInput) Validate() error {
  3624. invalidParams := request.ErrInvalidParams{Context: "CreateSimulationApplicationVersionInput"}
  3625. if s.Application == nil {
  3626. invalidParams.Add(request.NewErrParamRequired("Application"))
  3627. }
  3628. if s.Application != nil && len(*s.Application) < 1 {
  3629. invalidParams.Add(request.NewErrParamMinLen("Application", 1))
  3630. }
  3631. if s.CurrentRevisionId != nil && len(*s.CurrentRevisionId) < 1 {
  3632. invalidParams.Add(request.NewErrParamMinLen("CurrentRevisionId", 1))
  3633. }
  3634. if invalidParams.Len() > 0 {
  3635. return invalidParams
  3636. }
  3637. return nil
  3638. }
  3639. // SetApplication sets the Application field's value.
  3640. func (s *CreateSimulationApplicationVersionInput) SetApplication(v string) *CreateSimulationApplicationVersionInput {
  3641. s.Application = &v
  3642. return s
  3643. }
  3644. // SetCurrentRevisionId sets the CurrentRevisionId field's value.
  3645. func (s *CreateSimulationApplicationVersionInput) SetCurrentRevisionId(v string) *CreateSimulationApplicationVersionInput {
  3646. s.CurrentRevisionId = &v
  3647. return s
  3648. }
  3649. type CreateSimulationApplicationVersionOutput struct {
  3650. _ struct{} `type:"structure"`
  3651. // The Amazon Resource Name (ARN) of the simulation application.
  3652. Arn *string `locationName:"arn" min:"1" type:"string"`
  3653. // The time, in milliseconds since the epoch, when the simulation application
  3654. // was last updated.
  3655. LastUpdatedAt *time.Time `locationName:"lastUpdatedAt" type:"timestamp"`
  3656. // The name of the simulation application.
  3657. Name *string `locationName:"name" min:"1" type:"string"`
  3658. // The rendering engine for the simulation application.
  3659. RenderingEngine *RenderingEngine `locationName:"renderingEngine" type:"structure"`
  3660. // The revision ID of the simulation application.
  3661. RevisionId *string `locationName:"revisionId" min:"1" type:"string"`
  3662. // Information about the robot software suite.
  3663. RobotSoftwareSuite *RobotSoftwareSuite `locationName:"robotSoftwareSuite" type:"structure"`
  3664. // The simulation software suite used by the simulation application.
  3665. SimulationSoftwareSuite *SimulationSoftwareSuite `locationName:"simulationSoftwareSuite" type:"structure"`
  3666. // The sources of the simulation application.
  3667. Sources []*Source `locationName:"sources" type:"list"`
  3668. // The version of the simulation application.
  3669. Version *string `locationName:"version" min:"1" type:"string"`
  3670. }
  3671. // String returns the string representation
  3672. func (s CreateSimulationApplicationVersionOutput) String() string {
  3673. return awsutil.Prettify(s)
  3674. }
  3675. // GoString returns the string representation
  3676. func (s CreateSimulationApplicationVersionOutput) GoString() string {
  3677. return s.String()
  3678. }
  3679. // SetArn sets the Arn field's value.
  3680. func (s *CreateSimulationApplicationVersionOutput) SetArn(v string) *CreateSimulationApplicationVersionOutput {
  3681. s.Arn = &v
  3682. return s
  3683. }
  3684. // SetLastUpdatedAt sets the LastUpdatedAt field's value.
  3685. func (s *CreateSimulationApplicationVersionOutput) SetLastUpdatedAt(v time.Time) *CreateSimulationApplicationVersionOutput {
  3686. s.LastUpdatedAt = &v
  3687. return s
  3688. }
  3689. // SetName sets the Name field's value.
  3690. func (s *CreateSimulationApplicationVersionOutput) SetName(v string) *CreateSimulationApplicationVersionOutput {
  3691. s.Name = &v
  3692. return s
  3693. }
  3694. // SetRenderingEngine sets the RenderingEngine field's value.
  3695. func (s *CreateSimulationApplicationVersionOutput) SetRenderingEngine(v *RenderingEngine) *CreateSimulationApplicationVersionOutput {
  3696. s.RenderingEngine = v
  3697. return s
  3698. }
  3699. // SetRevisionId sets the RevisionId field's value.
  3700. func (s *CreateSimulationApplicationVersionOutput) SetRevisionId(v string) *CreateSimulationApplicationVersionOutput {
  3701. s.RevisionId = &v
  3702. return s
  3703. }
  3704. // SetRobotSoftwareSuite sets the RobotSoftwareSuite field's value.
  3705. func (s *CreateSimulationApplicationVersionOutput) SetRobotSoftwareSuite(v *RobotSoftwareSuite) *CreateSimulationApplicationVersionOutput {
  3706. s.RobotSoftwareSuite = v
  3707. return s
  3708. }
  3709. // SetSimulationSoftwareSuite sets the SimulationSoftwareSuite field's value.
  3710. func (s *CreateSimulationApplicationVersionOutput) SetSimulationSoftwareSuite(v *SimulationSoftwareSuite) *CreateSimulationApplicationVersionOutput {
  3711. s.SimulationSoftwareSuite = v
  3712. return s
  3713. }
  3714. // SetSources sets the Sources field's value.
  3715. func (s *CreateSimulationApplicationVersionOutput) SetSources(v []*Source) *CreateSimulationApplicationVersionOutput {
  3716. s.Sources = v
  3717. return s
  3718. }
  3719. // SetVersion sets the Version field's value.
  3720. func (s *CreateSimulationApplicationVersionOutput) SetVersion(v string) *CreateSimulationApplicationVersionOutput {
  3721. s.Version = &v
  3722. return s
  3723. }
  3724. type CreateSimulationJobInput struct {
  3725. _ struct{} `type:"structure"`
  3726. // Unique, case-sensitive identifier that you provide to ensure the idempotency
  3727. // of the request.
  3728. ClientRequestToken *string `locationName:"clientRequestToken" min:"1" type:"string" idempotencyToken:"true"`
  3729. // The failure behavior the simulation job.
  3730. //
  3731. // ContinueRestart the simulation job in the same host instance.
  3732. //
  3733. // FailStop the simulation job and terminate the instance.
  3734. FailureBehavior *string `locationName:"failureBehavior" type:"string" enum:"FailureBehavior"`
  3735. // The IAM role that allows the simulation instance to call the AWS APIs that
  3736. // are specified in its associated policies on your behalf. This is how credentials
  3737. // are passed in to your simulation job. See how to specify AWS security credentials
  3738. // for your application (https://docs.aws.amazon.com/toolkit-for-visual-studio/latest/user-guide/deployment-ecs-specify-credentials).
  3739. //
  3740. // IamRole is a required field
  3741. IamRole *string `locationName:"iamRole" min:"1" type:"string" required:"true"`
  3742. // The maximum simulation job duration in seconds (up to 14 days or 1,209,600
  3743. // seconds. When maxJobDurationInSeconds is reached, the simulation job will
  3744. // status will transition to Completed.
  3745. //
  3746. // MaxJobDurationInSeconds is a required field
  3747. MaxJobDurationInSeconds *int64 `locationName:"maxJobDurationInSeconds" type:"long" required:"true"`
  3748. // Location for output files generated by the simulation job.
  3749. OutputLocation *OutputLocation `locationName:"outputLocation" type:"structure"`
  3750. // The robot application to use in the simulation job.
  3751. RobotApplications []*RobotApplicationConfig `locationName:"robotApplications" min:"1" type:"list"`
  3752. // The simulation application to use in the simulation job.
  3753. SimulationApplications []*SimulationApplicationConfig `locationName:"simulationApplications" min:"1" type:"list"`
  3754. // If your simulation job accesses resources in a VPC, you provide this parameter
  3755. // identifying the list of security group IDs and subnet IDs. These must belong
  3756. // to the same VPC. You must provide at least one security group and one subnet
  3757. // ID.
  3758. VpcConfig *VPCConfig `locationName:"vpcConfig" type:"structure"`
  3759. }
  3760. // String returns the string representation
  3761. func (s CreateSimulationJobInput) String() string {
  3762. return awsutil.Prettify(s)
  3763. }
  3764. // GoString returns the string representation
  3765. func (s CreateSimulationJobInput) GoString() string {
  3766. return s.String()
  3767. }
  3768. // Validate inspects the fields of the type to determine if they are valid.
  3769. func (s *CreateSimulationJobInput) Validate() error {
  3770. invalidParams := request.ErrInvalidParams{Context: "CreateSimulationJobInput"}
  3771. if s.ClientRequestToken != nil && len(*s.ClientRequestToken) < 1 {
  3772. invalidParams.Add(request.NewErrParamMinLen("ClientRequestToken", 1))
  3773. }
  3774. if s.IamRole == nil {
  3775. invalidParams.Add(request.NewErrParamRequired("IamRole"))
  3776. }
  3777. if s.IamRole != nil && len(*s.IamRole) < 1 {
  3778. invalidParams.Add(request.NewErrParamMinLen("IamRole", 1))
  3779. }
  3780. if s.MaxJobDurationInSeconds == nil {
  3781. invalidParams.Add(request.NewErrParamRequired("MaxJobDurationInSeconds"))
  3782. }
  3783. if s.RobotApplications != nil && len(s.RobotApplications) < 1 {
  3784. invalidParams.Add(request.NewErrParamMinLen("RobotApplications", 1))
  3785. }
  3786. if s.SimulationApplications != nil && len(s.SimulationApplications) < 1 {
  3787. invalidParams.Add(request.NewErrParamMinLen("SimulationApplications", 1))
  3788. }
  3789. if s.OutputLocation != nil {
  3790. if err := s.OutputLocation.Validate(); err != nil {
  3791. invalidParams.AddNested("OutputLocation", err.(request.ErrInvalidParams))
  3792. }
  3793. }
  3794. if s.RobotApplications != nil {
  3795. for i, v := range s.RobotApplications {
  3796. if v == nil {
  3797. continue
  3798. }
  3799. if err := v.Validate(); err != nil {
  3800. invalidParams.AddNested(fmt.Sprintf("%s[%v]", "RobotApplications", i), err.(request.ErrInvalidParams))
  3801. }
  3802. }
  3803. }
  3804. if s.SimulationApplications != nil {
  3805. for i, v := range s.SimulationApplications {
  3806. if v == nil {
  3807. continue
  3808. }
  3809. if err := v.Validate(); err != nil {
  3810. invalidParams.AddNested(fmt.Sprintf("%s[%v]", "SimulationApplications", i), err.(request.ErrInvalidParams))
  3811. }
  3812. }
  3813. }
  3814. if s.VpcConfig != nil {
  3815. if err := s.VpcConfig.Validate(); err != nil {
  3816. invalidParams.AddNested("VpcConfig", err.(request.ErrInvalidParams))
  3817. }
  3818. }
  3819. if invalidParams.Len() > 0 {
  3820. return invalidParams
  3821. }
  3822. return nil
  3823. }
  3824. // SetClientRequestToken sets the ClientRequestToken field's value.
  3825. func (s *CreateSimulationJobInput) SetClientRequestToken(v string) *CreateSimulationJobInput {
  3826. s.ClientRequestToken = &v
  3827. return s
  3828. }
  3829. // SetFailureBehavior sets the FailureBehavior field's value.
  3830. func (s *CreateSimulationJobInput) SetFailureBehavior(v string) *CreateSimulationJobInput {
  3831. s.FailureBehavior = &v
  3832. return s
  3833. }
  3834. // SetIamRole sets the IamRole field's value.
  3835. func (s *CreateSimulationJobInput) SetIamRole(v string) *CreateSimulationJobInput {
  3836. s.IamRole = &v
  3837. return s
  3838. }
  3839. // SetMaxJobDurationInSeconds sets the MaxJobDurationInSeconds field's value.
  3840. func (s *CreateSimulationJobInput) SetMaxJobDurationInSeconds(v int64) *CreateSimulationJobInput {
  3841. s.MaxJobDurationInSeconds = &v
  3842. return s
  3843. }
  3844. // SetOutputLocation sets the OutputLocation field's value.
  3845. func (s *CreateSimulationJobInput) SetOutputLocation(v *OutputLocation) *CreateSimulationJobInput {
  3846. s.OutputLocation = v
  3847. return s
  3848. }
  3849. // SetRobotApplications sets the RobotApplications field's value.
  3850. func (s *CreateSimulationJobInput) SetRobotApplications(v []*RobotApplicationConfig) *CreateSimulationJobInput {
  3851. s.RobotApplications = v
  3852. return s
  3853. }
  3854. // SetSimulationApplications sets the SimulationApplications field's value.
  3855. func (s *CreateSimulationJobInput) SetSimulationApplications(v []*SimulationApplicationConfig) *CreateSimulationJobInput {
  3856. s.SimulationApplications = v
  3857. return s
  3858. }
  3859. // SetVpcConfig sets the VpcConfig field's value.
  3860. func (s *CreateSimulationJobInput) SetVpcConfig(v *VPCConfig) *CreateSimulationJobInput {
  3861. s.VpcConfig = v
  3862. return s
  3863. }
  3864. type CreateSimulationJobOutput struct {
  3865. _ struct{} `type:"structure"`
  3866. // The Amazon Resource Name (ARN) of the simulation job.
  3867. Arn *string `locationName:"arn" min:"1" type:"string"`
  3868. // Unique, case-sensitive identifier that you provide to ensure the idempotency
  3869. // of the request.
  3870. ClientRequestToken *string `locationName:"clientRequestToken" min:"1" type:"string"`
  3871. // the failure behavior for the simulation job.
  3872. FailureBehavior *string `locationName:"failureBehavior" type:"string" enum:"FailureBehavior"`
  3873. // The failure code of the simulation job if it failed.
  3874. FailureCode *string `locationName:"failureCode" type:"string" enum:"SimulationJobErrorCode"`
  3875. // The IAM role that allows the simulation job to call the AWS APIs that are
  3876. // specified in its associated policies on your behalf.
  3877. IamRole *string `locationName:"iamRole" min:"1" type:"string"`
  3878. // The time, in milliseconds since the epoch, when the simulation job was last
  3879. // updated.
  3880. LastUpdatedAt *time.Time `locationName:"lastUpdatedAt" type:"timestamp"`
  3881. // The maximum simulation job duration in seconds. The value must be 8 days
  3882. // (691,200 seconds) or less.
  3883. MaxJobDurationInSeconds *int64 `locationName:"maxJobDurationInSeconds" type:"long"`
  3884. // Simulation job output files location.
  3885. OutputLocation *OutputLocation `locationName:"outputLocation" type:"structure"`
  3886. // The robot application used by the simulation job.
  3887. RobotApplications []*RobotApplicationConfig `locationName:"robotApplications" min:"1" type:"list"`
  3888. // The simulation application used by the simulation job.
  3889. SimulationApplications []*SimulationApplicationConfig `locationName:"simulationApplications" min:"1" type:"list"`
  3890. // The simulation job execution duration in milliseconds.
  3891. SimulationTimeMillis *int64 `locationName:"simulationTimeMillis" type:"long"`
  3892. // The status of the simulation job.
  3893. Status *string `locationName:"status" type:"string" enum:"SimulationJobStatus"`
  3894. // Information about the vpc configuration.
  3895. VpcConfig *VPCConfigResponse `locationName:"vpcConfig" type:"structure"`
  3896. }
  3897. // String returns the string representation
  3898. func (s CreateSimulationJobOutput) String() string {
  3899. return awsutil.Prettify(s)
  3900. }
  3901. // GoString returns the string representation
  3902. func (s CreateSimulationJobOutput) GoString() string {
  3903. return s.String()
  3904. }
  3905. // SetArn sets the Arn field's value.
  3906. func (s *CreateSimulationJobOutput) SetArn(v string) *CreateSimulationJobOutput {
  3907. s.Arn = &v
  3908. return s
  3909. }
  3910. // SetClientRequestToken sets the ClientRequestToken field's value.
  3911. func (s *CreateSimulationJobOutput) SetClientRequestToken(v string) *CreateSimulationJobOutput {
  3912. s.ClientRequestToken = &v
  3913. return s
  3914. }
  3915. // SetFailureBehavior sets the FailureBehavior field's value.
  3916. func (s *CreateSimulationJobOutput) SetFailureBehavior(v string) *CreateSimulationJobOutput {
  3917. s.FailureBehavior = &v
  3918. return s
  3919. }
  3920. // SetFailureCode sets the FailureCode field's value.
  3921. func (s *CreateSimulationJobOutput) SetFailureCode(v string) *CreateSimulationJobOutput {
  3922. s.FailureCode = &v
  3923. return s
  3924. }
  3925. // SetIamRole sets the IamRole field's value.
  3926. func (s *CreateSimulationJobOutput) SetIamRole(v string) *CreateSimulationJobOutput {
  3927. s.IamRole = &v
  3928. return s
  3929. }
  3930. // SetLastUpdatedAt sets the LastUpdatedAt field's value.
  3931. func (s *CreateSimulationJobOutput) SetLastUpdatedAt(v time.Time) *CreateSimulationJobOutput {
  3932. s.LastUpdatedAt = &v
  3933. return s
  3934. }
  3935. // SetMaxJobDurationInSeconds sets the MaxJobDurationInSeconds field's value.
  3936. func (s *CreateSimulationJobOutput) SetMaxJobDurationInSeconds(v int64) *CreateSimulationJobOutput {
  3937. s.MaxJobDurationInSeconds = &v
  3938. return s
  3939. }
  3940. // SetOutputLocation sets the OutputLocation field's value.
  3941. func (s *CreateSimulationJobOutput) SetOutputLocation(v *OutputLocation) *CreateSimulationJobOutput {
  3942. s.OutputLocation = v
  3943. return s
  3944. }
  3945. // SetRobotApplications sets the RobotApplications field's value.
  3946. func (s *CreateSimulationJobOutput) SetRobotApplications(v []*RobotApplicationConfig) *CreateSimulationJobOutput {
  3947. s.RobotApplications = v
  3948. return s
  3949. }
  3950. // SetSimulationApplications sets the SimulationApplications field's value.
  3951. func (s *CreateSimulationJobOutput) SetSimulationApplications(v []*SimulationApplicationConfig) *CreateSimulationJobOutput {
  3952. s.SimulationApplications = v
  3953. return s
  3954. }
  3955. // SetSimulationTimeMillis sets the SimulationTimeMillis field's value.
  3956. func (s *CreateSimulationJobOutput) SetSimulationTimeMillis(v int64) *CreateSimulationJobOutput {
  3957. s.SimulationTimeMillis = &v
  3958. return s
  3959. }
  3960. // SetStatus sets the Status field's value.
  3961. func (s *CreateSimulationJobOutput) SetStatus(v string) *CreateSimulationJobOutput {
  3962. s.Status = &v
  3963. return s
  3964. }
  3965. // SetVpcConfig sets the VpcConfig field's value.
  3966. func (s *CreateSimulationJobOutput) SetVpcConfig(v *VPCConfigResponse) *CreateSimulationJobOutput {
  3967. s.VpcConfig = v
  3968. return s
  3969. }
  3970. type DeleteFleetInput struct {
  3971. _ struct{} `type:"structure"`
  3972. // The Amazon Resource Name (ARN) of the fleet.
  3973. //
  3974. // Fleet is a required field
  3975. Fleet *string `locationName:"fleet" min:"1" type:"string" required:"true"`
  3976. }
  3977. // String returns the string representation
  3978. func (s DeleteFleetInput) String() string {
  3979. return awsutil.Prettify(s)
  3980. }
  3981. // GoString returns the string representation
  3982. func (s DeleteFleetInput) GoString() string {
  3983. return s.String()
  3984. }
  3985. // Validate inspects the fields of the type to determine if they are valid.
  3986. func (s *DeleteFleetInput) Validate() error {
  3987. invalidParams := request.ErrInvalidParams{Context: "DeleteFleetInput"}
  3988. if s.Fleet == nil {
  3989. invalidParams.Add(request.NewErrParamRequired("Fleet"))
  3990. }
  3991. if s.Fleet != nil && len(*s.Fleet) < 1 {
  3992. invalidParams.Add(request.NewErrParamMinLen("Fleet", 1))
  3993. }
  3994. if invalidParams.Len() > 0 {
  3995. return invalidParams
  3996. }
  3997. return nil
  3998. }
  3999. // SetFleet sets the Fleet field's value.
  4000. func (s *DeleteFleetInput) SetFleet(v string) *DeleteFleetInput {
  4001. s.Fleet = &v
  4002. return s
  4003. }
  4004. type DeleteFleetOutput struct {
  4005. _ struct{} `type:"structure"`
  4006. }
  4007. // String returns the string representation
  4008. func (s DeleteFleetOutput) String() string {
  4009. return awsutil.Prettify(s)
  4010. }
  4011. // GoString returns the string representation
  4012. func (s DeleteFleetOutput) GoString() string {
  4013. return s.String()
  4014. }
  4015. type DeleteRobotApplicationInput struct {
  4016. _ struct{} `type:"structure"`
  4017. // The Amazon Resource Name (ARN) of the the robot application.
  4018. //
  4019. // Application is a required field
  4020. Application *string `locationName:"application" min:"1" type:"string" required:"true"`
  4021. // The version of the robot application to delete.
  4022. ApplicationVersion *string `locationName:"applicationVersion" min:"1" type:"string"`
  4023. }
  4024. // String returns the string representation
  4025. func (s DeleteRobotApplicationInput) String() string {
  4026. return awsutil.Prettify(s)
  4027. }
  4028. // GoString returns the string representation
  4029. func (s DeleteRobotApplicationInput) GoString() string {
  4030. return s.String()
  4031. }
  4032. // Validate inspects the fields of the type to determine if they are valid.
  4033. func (s *DeleteRobotApplicationInput) Validate() error {
  4034. invalidParams := request.ErrInvalidParams{Context: "DeleteRobotApplicationInput"}
  4035. if s.Application == nil {
  4036. invalidParams.Add(request.NewErrParamRequired("Application"))
  4037. }
  4038. if s.Application != nil && len(*s.Application) < 1 {
  4039. invalidParams.Add(request.NewErrParamMinLen("Application", 1))
  4040. }
  4041. if s.ApplicationVersion != nil && len(*s.ApplicationVersion) < 1 {
  4042. invalidParams.Add(request.NewErrParamMinLen("ApplicationVersion", 1))
  4043. }
  4044. if invalidParams.Len() > 0 {
  4045. return invalidParams
  4046. }
  4047. return nil
  4048. }
  4049. // SetApplication sets the Application field's value.
  4050. func (s *DeleteRobotApplicationInput) SetApplication(v string) *DeleteRobotApplicationInput {
  4051. s.Application = &v
  4052. return s
  4053. }
  4054. // SetApplicationVersion sets the ApplicationVersion field's value.
  4055. func (s *DeleteRobotApplicationInput) SetApplicationVersion(v string) *DeleteRobotApplicationInput {
  4056. s.ApplicationVersion = &v
  4057. return s
  4058. }
  4059. type DeleteRobotApplicationOutput struct {
  4060. _ struct{} `type:"structure"`
  4061. }
  4062. // String returns the string representation
  4063. func (s DeleteRobotApplicationOutput) String() string {
  4064. return awsutil.Prettify(s)
  4065. }
  4066. // GoString returns the string representation
  4067. func (s DeleteRobotApplicationOutput) GoString() string {
  4068. return s.String()
  4069. }
  4070. type DeleteRobotInput struct {
  4071. _ struct{} `type:"structure"`
  4072. // The Amazon Resource Name (ARN) of the robot.
  4073. //
  4074. // Robot is a required field
  4075. Robot *string `locationName:"robot" min:"1" type:"string" required:"true"`
  4076. }
  4077. // String returns the string representation
  4078. func (s DeleteRobotInput) String() string {
  4079. return awsutil.Prettify(s)
  4080. }
  4081. // GoString returns the string representation
  4082. func (s DeleteRobotInput) GoString() string {
  4083. return s.String()
  4084. }
  4085. // Validate inspects the fields of the type to determine if they are valid.
  4086. func (s *DeleteRobotInput) Validate() error {
  4087. invalidParams := request.ErrInvalidParams{Context: "DeleteRobotInput"}
  4088. if s.Robot == nil {
  4089. invalidParams.Add(request.NewErrParamRequired("Robot"))
  4090. }
  4091. if s.Robot != nil && len(*s.Robot) < 1 {
  4092. invalidParams.Add(request.NewErrParamMinLen("Robot", 1))
  4093. }
  4094. if invalidParams.Len() > 0 {
  4095. return invalidParams
  4096. }
  4097. return nil
  4098. }
  4099. // SetRobot sets the Robot field's value.
  4100. func (s *DeleteRobotInput) SetRobot(v string) *DeleteRobotInput {
  4101. s.Robot = &v
  4102. return s
  4103. }
  4104. type DeleteRobotOutput struct {
  4105. _ struct{} `type:"structure"`
  4106. }
  4107. // String returns the string representation
  4108. func (s DeleteRobotOutput) String() string {
  4109. return awsutil.Prettify(s)
  4110. }
  4111. // GoString returns the string representation
  4112. func (s DeleteRobotOutput) GoString() string {
  4113. return s.String()
  4114. }
  4115. type DeleteSimulationApplicationInput struct {
  4116. _ struct{} `type:"structure"`
  4117. // The application information for the simulation application to delete.
  4118. //
  4119. // Application is a required field
  4120. Application *string `locationName:"application" min:"1" type:"string" required:"true"`
  4121. // The version of the simulation application to delete.
  4122. ApplicationVersion *string `locationName:"applicationVersion" min:"1" type:"string"`
  4123. }
  4124. // String returns the string representation
  4125. func (s DeleteSimulationApplicationInput) String() string {
  4126. return awsutil.Prettify(s)
  4127. }
  4128. // GoString returns the string representation
  4129. func (s DeleteSimulationApplicationInput) GoString() string {
  4130. return s.String()
  4131. }
  4132. // Validate inspects the fields of the type to determine if they are valid.
  4133. func (s *DeleteSimulationApplicationInput) Validate() error {
  4134. invalidParams := request.ErrInvalidParams{Context: "DeleteSimulationApplicationInput"}
  4135. if s.Application == nil {
  4136. invalidParams.Add(request.NewErrParamRequired("Application"))
  4137. }
  4138. if s.Application != nil && len(*s.Application) < 1 {
  4139. invalidParams.Add(request.NewErrParamMinLen("Application", 1))
  4140. }
  4141. if s.ApplicationVersion != nil && len(*s.ApplicationVersion) < 1 {
  4142. invalidParams.Add(request.NewErrParamMinLen("ApplicationVersion", 1))
  4143. }
  4144. if invalidParams.Len() > 0 {
  4145. return invalidParams
  4146. }
  4147. return nil
  4148. }
  4149. // SetApplication sets the Application field's value.
  4150. func (s *DeleteSimulationApplicationInput) SetApplication(v string) *DeleteSimulationApplicationInput {
  4151. s.Application = &v
  4152. return s
  4153. }
  4154. // SetApplicationVersion sets the ApplicationVersion field's value.
  4155. func (s *DeleteSimulationApplicationInput) SetApplicationVersion(v string) *DeleteSimulationApplicationInput {
  4156. s.ApplicationVersion = &v
  4157. return s
  4158. }
  4159. type DeleteSimulationApplicationOutput struct {
  4160. _ struct{} `type:"structure"`
  4161. }
  4162. // String returns the string representation
  4163. func (s DeleteSimulationApplicationOutput) String() string {
  4164. return awsutil.Prettify(s)
  4165. }
  4166. // GoString returns the string representation
  4167. func (s DeleteSimulationApplicationOutput) GoString() string {
  4168. return s.String()
  4169. }
  4170. // Information about a deployment application configuration.
  4171. type DeploymentApplicationConfig struct {
  4172. _ struct{} `type:"structure"`
  4173. // The application.
  4174. //
  4175. // Application is a required field
  4176. Application *string `locationName:"application" min:"1" type:"string" required:"true"`
  4177. // The version of the application.
  4178. //
  4179. // ApplicationVersion is a required field
  4180. ApplicationVersion *string `locationName:"applicationVersion" min:"1" type:"string" required:"true"`
  4181. // The launch configuration, usually roslaunch.
  4182. //
  4183. // LaunchConfig is a required field
  4184. LaunchConfig *DeploymentLaunchConfig `locationName:"launchConfig" type:"structure" required:"true"`
  4185. }
  4186. // String returns the string representation
  4187. func (s DeploymentApplicationConfig) String() string {
  4188. return awsutil.Prettify(s)
  4189. }
  4190. // GoString returns the string representation
  4191. func (s DeploymentApplicationConfig) GoString() string {
  4192. return s.String()
  4193. }
  4194. // Validate inspects the fields of the type to determine if they are valid.
  4195. func (s *DeploymentApplicationConfig) Validate() error {
  4196. invalidParams := request.ErrInvalidParams{Context: "DeploymentApplicationConfig"}
  4197. if s.Application == nil {
  4198. invalidParams.Add(request.NewErrParamRequired("Application"))
  4199. }
  4200. if s.Application != nil && len(*s.Application) < 1 {
  4201. invalidParams.Add(request.NewErrParamMinLen("Application", 1))
  4202. }
  4203. if s.ApplicationVersion == nil {
  4204. invalidParams.Add(request.NewErrParamRequired("ApplicationVersion"))
  4205. }
  4206. if s.ApplicationVersion != nil && len(*s.ApplicationVersion) < 1 {
  4207. invalidParams.Add(request.NewErrParamMinLen("ApplicationVersion", 1))
  4208. }
  4209. if s.LaunchConfig == nil {
  4210. invalidParams.Add(request.NewErrParamRequired("LaunchConfig"))
  4211. }
  4212. if s.LaunchConfig != nil {
  4213. if err := s.LaunchConfig.Validate(); err != nil {
  4214. invalidParams.AddNested("LaunchConfig", err.(request.ErrInvalidParams))
  4215. }
  4216. }
  4217. if invalidParams.Len() > 0 {
  4218. return invalidParams
  4219. }
  4220. return nil
  4221. }
  4222. // SetApplication sets the Application field's value.
  4223. func (s *DeploymentApplicationConfig) SetApplication(v string) *DeploymentApplicationConfig {
  4224. s.Application = &v
  4225. return s
  4226. }
  4227. // SetApplicationVersion sets the ApplicationVersion field's value.
  4228. func (s *DeploymentApplicationConfig) SetApplicationVersion(v string) *DeploymentApplicationConfig {
  4229. s.ApplicationVersion = &v
  4230. return s
  4231. }
  4232. // SetLaunchConfig sets the LaunchConfig field's value.
  4233. func (s *DeploymentApplicationConfig) SetLaunchConfig(v *DeploymentLaunchConfig) *DeploymentApplicationConfig {
  4234. s.LaunchConfig = v
  4235. return s
  4236. }
  4237. // Information about a deployment configuration.
  4238. type DeploymentConfig struct {
  4239. _ struct{} `type:"structure"`
  4240. // The percentage of robots receiving the deployment at the same time.
  4241. ConcurrentDeploymentPercentage *int64 `locationName:"concurrentDeploymentPercentage" min:"1" type:"integer"`
  4242. // The percentage of deployments that need to fail before stopping deployment.
  4243. FailureThresholdPercentage *int64 `locationName:"failureThresholdPercentage" min:"1" type:"integer"`
  4244. }
  4245. // String returns the string representation
  4246. func (s DeploymentConfig) String() string {
  4247. return awsutil.Prettify(s)
  4248. }
  4249. // GoString returns the string representation
  4250. func (s DeploymentConfig) GoString() string {
  4251. return s.String()
  4252. }
  4253. // Validate inspects the fields of the type to determine if they are valid.
  4254. func (s *DeploymentConfig) Validate() error {
  4255. invalidParams := request.ErrInvalidParams{Context: "DeploymentConfig"}
  4256. if s.ConcurrentDeploymentPercentage != nil && *s.ConcurrentDeploymentPercentage < 1 {
  4257. invalidParams.Add(request.NewErrParamMinValue("ConcurrentDeploymentPercentage", 1))
  4258. }
  4259. if s.FailureThresholdPercentage != nil && *s.FailureThresholdPercentage < 1 {
  4260. invalidParams.Add(request.NewErrParamMinValue("FailureThresholdPercentage", 1))
  4261. }
  4262. if invalidParams.Len() > 0 {
  4263. return invalidParams
  4264. }
  4265. return nil
  4266. }
  4267. // SetConcurrentDeploymentPercentage sets the ConcurrentDeploymentPercentage field's value.
  4268. func (s *DeploymentConfig) SetConcurrentDeploymentPercentage(v int64) *DeploymentConfig {
  4269. s.ConcurrentDeploymentPercentage = &v
  4270. return s
  4271. }
  4272. // SetFailureThresholdPercentage sets the FailureThresholdPercentage field's value.
  4273. func (s *DeploymentConfig) SetFailureThresholdPercentage(v int64) *DeploymentConfig {
  4274. s.FailureThresholdPercentage = &v
  4275. return s
  4276. }
  4277. // Information about a deployment job.
  4278. type DeploymentJob struct {
  4279. _ struct{} `type:"structure"`
  4280. // The Amazon Resource Name (ARN) of the deployment job.
  4281. Arn *string `locationName:"arn" min:"1" type:"string"`
  4282. // The time, in milliseconds since the epoch, when the deployment job was created.
  4283. CreatedAt *time.Time `locationName:"createdAt" type:"timestamp"`
  4284. // The deployment application configuration.
  4285. DeploymentApplicationConfigs []*DeploymentApplicationConfig `locationName:"deploymentApplicationConfigs" min:"1" type:"list"`
  4286. // The deployment configuration.
  4287. DeploymentConfig *DeploymentConfig `locationName:"deploymentConfig" type:"structure"`
  4288. // The deployment job failure code.
  4289. FailureCode *string `locationName:"failureCode" type:"string" enum:"DeploymentJobErrorCode"`
  4290. // A short description of the reason why the deployment job failed.
  4291. FailureReason *string `locationName:"failureReason" type:"string"`
  4292. // The Amazon Resource Name (ARN) of the fleet.
  4293. Fleet *string `locationName:"fleet" min:"1" type:"string"`
  4294. // The status of the deployment job.
  4295. Status *string `locationName:"status" type:"string" enum:"DeploymentStatus"`
  4296. }
  4297. // String returns the string representation
  4298. func (s DeploymentJob) String() string {
  4299. return awsutil.Prettify(s)
  4300. }
  4301. // GoString returns the string representation
  4302. func (s DeploymentJob) GoString() string {
  4303. return s.String()
  4304. }
  4305. // SetArn sets the Arn field's value.
  4306. func (s *DeploymentJob) SetArn(v string) *DeploymentJob {
  4307. s.Arn = &v
  4308. return s
  4309. }
  4310. // SetCreatedAt sets the CreatedAt field's value.
  4311. func (s *DeploymentJob) SetCreatedAt(v time.Time) *DeploymentJob {
  4312. s.CreatedAt = &v
  4313. return s
  4314. }
  4315. // SetDeploymentApplicationConfigs sets the DeploymentApplicationConfigs field's value.
  4316. func (s *DeploymentJob) SetDeploymentApplicationConfigs(v []*DeploymentApplicationConfig) *DeploymentJob {
  4317. s.DeploymentApplicationConfigs = v
  4318. return s
  4319. }
  4320. // SetDeploymentConfig sets the DeploymentConfig field's value.
  4321. func (s *DeploymentJob) SetDeploymentConfig(v *DeploymentConfig) *DeploymentJob {
  4322. s.DeploymentConfig = v
  4323. return s
  4324. }
  4325. // SetFailureCode sets the FailureCode field's value.
  4326. func (s *DeploymentJob) SetFailureCode(v string) *DeploymentJob {
  4327. s.FailureCode = &v
  4328. return s
  4329. }
  4330. // SetFailureReason sets the FailureReason field's value.
  4331. func (s *DeploymentJob) SetFailureReason(v string) *DeploymentJob {
  4332. s.FailureReason = &v
  4333. return s
  4334. }
  4335. // SetFleet sets the Fleet field's value.
  4336. func (s *DeploymentJob) SetFleet(v string) *DeploymentJob {
  4337. s.Fleet = &v
  4338. return s
  4339. }
  4340. // SetStatus sets the Status field's value.
  4341. func (s *DeploymentJob) SetStatus(v string) *DeploymentJob {
  4342. s.Status = &v
  4343. return s
  4344. }
  4345. // Configuration information for a deployment launch.
  4346. type DeploymentLaunchConfig struct {
  4347. _ struct{} `type:"structure"`
  4348. // An array of key/value pairs specifying environment variables for the deployment
  4349. // application.
  4350. EnvironmentVariables map[string]*string `locationName:"environmentVariables" type:"map"`
  4351. // The deployment launch file.
  4352. //
  4353. // LaunchFile is a required field
  4354. LaunchFile *string `locationName:"launchFile" type:"string" required:"true"`
  4355. // The package name.
  4356. //
  4357. // PackageName is a required field
  4358. PackageName *string `locationName:"packageName" type:"string" required:"true"`
  4359. // The deployment post-launch file. This file will be executed after the deployment
  4360. // launch file.
  4361. PostLaunchFile *string `locationName:"postLaunchFile" type:"string"`
  4362. // The deployment pre-launch file. This file will be executed prior to the deployment
  4363. // launch file.
  4364. PreLaunchFile *string `locationName:"preLaunchFile" type:"string"`
  4365. }
  4366. // String returns the string representation
  4367. func (s DeploymentLaunchConfig) String() string {
  4368. return awsutil.Prettify(s)
  4369. }
  4370. // GoString returns the string representation
  4371. func (s DeploymentLaunchConfig) GoString() string {
  4372. return s.String()
  4373. }
  4374. // Validate inspects the fields of the type to determine if they are valid.
  4375. func (s *DeploymentLaunchConfig) Validate() error {
  4376. invalidParams := request.ErrInvalidParams{Context: "DeploymentLaunchConfig"}
  4377. if s.LaunchFile == nil {
  4378. invalidParams.Add(request.NewErrParamRequired("LaunchFile"))
  4379. }
  4380. if s.PackageName == nil {
  4381. invalidParams.Add(request.NewErrParamRequired("PackageName"))
  4382. }
  4383. if invalidParams.Len() > 0 {
  4384. return invalidParams
  4385. }
  4386. return nil
  4387. }
  4388. // SetEnvironmentVariables sets the EnvironmentVariables field's value.
  4389. func (s *DeploymentLaunchConfig) SetEnvironmentVariables(v map[string]*string) *DeploymentLaunchConfig {
  4390. s.EnvironmentVariables = v
  4391. return s
  4392. }
  4393. // SetLaunchFile sets the LaunchFile field's value.
  4394. func (s *DeploymentLaunchConfig) SetLaunchFile(v string) *DeploymentLaunchConfig {
  4395. s.LaunchFile = &v
  4396. return s
  4397. }
  4398. // SetPackageName sets the PackageName field's value.
  4399. func (s *DeploymentLaunchConfig) SetPackageName(v string) *DeploymentLaunchConfig {
  4400. s.PackageName = &v
  4401. return s
  4402. }
  4403. // SetPostLaunchFile sets the PostLaunchFile field's value.
  4404. func (s *DeploymentLaunchConfig) SetPostLaunchFile(v string) *DeploymentLaunchConfig {
  4405. s.PostLaunchFile = &v
  4406. return s
  4407. }
  4408. // SetPreLaunchFile sets the PreLaunchFile field's value.
  4409. func (s *DeploymentLaunchConfig) SetPreLaunchFile(v string) *DeploymentLaunchConfig {
  4410. s.PreLaunchFile = &v
  4411. return s
  4412. }
  4413. type DeregisterRobotInput struct {
  4414. _ struct{} `type:"structure"`
  4415. // The Amazon Resource Name (ARN) of the fleet.
  4416. //
  4417. // Fleet is a required field
  4418. Fleet *string `locationName:"fleet" min:"1" type:"string" required:"true"`
  4419. // The Amazon Resource Name (ARN) of the robot.
  4420. //
  4421. // Robot is a required field
  4422. Robot *string `locationName:"robot" min:"1" type:"string" required:"true"`
  4423. }
  4424. // String returns the string representation
  4425. func (s DeregisterRobotInput) String() string {
  4426. return awsutil.Prettify(s)
  4427. }
  4428. // GoString returns the string representation
  4429. func (s DeregisterRobotInput) GoString() string {
  4430. return s.String()
  4431. }
  4432. // Validate inspects the fields of the type to determine if they are valid.
  4433. func (s *DeregisterRobotInput) Validate() error {
  4434. invalidParams := request.ErrInvalidParams{Context: "DeregisterRobotInput"}
  4435. if s.Fleet == nil {
  4436. invalidParams.Add(request.NewErrParamRequired("Fleet"))
  4437. }
  4438. if s.Fleet != nil && len(*s.Fleet) < 1 {
  4439. invalidParams.Add(request.NewErrParamMinLen("Fleet", 1))
  4440. }
  4441. if s.Robot == nil {
  4442. invalidParams.Add(request.NewErrParamRequired("Robot"))
  4443. }
  4444. if s.Robot != nil && len(*s.Robot) < 1 {
  4445. invalidParams.Add(request.NewErrParamMinLen("Robot", 1))
  4446. }
  4447. if invalidParams.Len() > 0 {
  4448. return invalidParams
  4449. }
  4450. return nil
  4451. }
  4452. // SetFleet sets the Fleet field's value.
  4453. func (s *DeregisterRobotInput) SetFleet(v string) *DeregisterRobotInput {
  4454. s.Fleet = &v
  4455. return s
  4456. }
  4457. // SetRobot sets the Robot field's value.
  4458. func (s *DeregisterRobotInput) SetRobot(v string) *DeregisterRobotInput {
  4459. s.Robot = &v
  4460. return s
  4461. }
  4462. type DeregisterRobotOutput struct {
  4463. _ struct{} `type:"structure"`
  4464. // The Amazon Resource Name (ARN) of the fleet.
  4465. Fleet *string `locationName:"fleet" min:"1" type:"string"`
  4466. // The Amazon Resource Name (ARN) of the robot.
  4467. Robot *string `locationName:"robot" min:"1" type:"string"`
  4468. }
  4469. // String returns the string representation
  4470. func (s DeregisterRobotOutput) String() string {
  4471. return awsutil.Prettify(s)
  4472. }
  4473. // GoString returns the string representation
  4474. func (s DeregisterRobotOutput) GoString() string {
  4475. return s.String()
  4476. }
  4477. // SetFleet sets the Fleet field's value.
  4478. func (s *DeregisterRobotOutput) SetFleet(v string) *DeregisterRobotOutput {
  4479. s.Fleet = &v
  4480. return s
  4481. }
  4482. // SetRobot sets the Robot field's value.
  4483. func (s *DeregisterRobotOutput) SetRobot(v string) *DeregisterRobotOutput {
  4484. s.Robot = &v
  4485. return s
  4486. }
  4487. type DescribeDeploymentJobInput struct {
  4488. _ struct{} `type:"structure"`
  4489. // The Amazon Resource Name (ARN) of the deployment job.
  4490. //
  4491. // Job is a required field
  4492. Job *string `locationName:"job" min:"1" type:"string" required:"true"`
  4493. }
  4494. // String returns the string representation
  4495. func (s DescribeDeploymentJobInput) String() string {
  4496. return awsutil.Prettify(s)
  4497. }
  4498. // GoString returns the string representation
  4499. func (s DescribeDeploymentJobInput) GoString() string {
  4500. return s.String()
  4501. }
  4502. // Validate inspects the fields of the type to determine if they are valid.
  4503. func (s *DescribeDeploymentJobInput) Validate() error {
  4504. invalidParams := request.ErrInvalidParams{Context: "DescribeDeploymentJobInput"}
  4505. if s.Job == nil {
  4506. invalidParams.Add(request.NewErrParamRequired("Job"))
  4507. }
  4508. if s.Job != nil && len(*s.Job) < 1 {
  4509. invalidParams.Add(request.NewErrParamMinLen("Job", 1))
  4510. }
  4511. if invalidParams.Len() > 0 {
  4512. return invalidParams
  4513. }
  4514. return nil
  4515. }
  4516. // SetJob sets the Job field's value.
  4517. func (s *DescribeDeploymentJobInput) SetJob(v string) *DescribeDeploymentJobInput {
  4518. s.Job = &v
  4519. return s
  4520. }
  4521. type DescribeDeploymentJobOutput struct {
  4522. _ struct{} `type:"structure"`
  4523. // The Amazon Resource Name (ARN) of the deployment job.
  4524. Arn *string `locationName:"arn" min:"1" type:"string"`
  4525. // The time, in milliseconds since the epoch, when the deployment job was created.
  4526. CreatedAt *time.Time `locationName:"createdAt" type:"timestamp"`
  4527. // The deployment application configuration.
  4528. DeploymentApplicationConfigs []*DeploymentApplicationConfig `locationName:"deploymentApplicationConfigs" min:"1" type:"list"`
  4529. // The deployment configuration.
  4530. DeploymentConfig *DeploymentConfig `locationName:"deploymentConfig" type:"structure"`
  4531. // The deployment job failure code.
  4532. FailureCode *string `locationName:"failureCode" type:"string" enum:"DeploymentJobErrorCode"`
  4533. // A short description of the reason why the deployment job failed.
  4534. FailureReason *string `locationName:"failureReason" type:"string"`
  4535. // The Amazon Resource Name (ARN) of the fleet.
  4536. Fleet *string `locationName:"fleet" min:"1" type:"string"`
  4537. // A list of robot deployment summaries.
  4538. RobotDeploymentSummary []*RobotDeployment `locationName:"robotDeploymentSummary" type:"list"`
  4539. // The status of the deployment job.
  4540. Status *string `locationName:"status" type:"string" enum:"DeploymentStatus"`
  4541. }
  4542. // String returns the string representation
  4543. func (s DescribeDeploymentJobOutput) String() string {
  4544. return awsutil.Prettify(s)
  4545. }
  4546. // GoString returns the string representation
  4547. func (s DescribeDeploymentJobOutput) GoString() string {
  4548. return s.String()
  4549. }
  4550. // SetArn sets the Arn field's value.
  4551. func (s *DescribeDeploymentJobOutput) SetArn(v string) *DescribeDeploymentJobOutput {
  4552. s.Arn = &v
  4553. return s
  4554. }
  4555. // SetCreatedAt sets the CreatedAt field's value.
  4556. func (s *DescribeDeploymentJobOutput) SetCreatedAt(v time.Time) *DescribeDeploymentJobOutput {
  4557. s.CreatedAt = &v
  4558. return s
  4559. }
  4560. // SetDeploymentApplicationConfigs sets the DeploymentApplicationConfigs field's value.
  4561. func (s *DescribeDeploymentJobOutput) SetDeploymentApplicationConfigs(v []*DeploymentApplicationConfig) *DescribeDeploymentJobOutput {
  4562. s.DeploymentApplicationConfigs = v
  4563. return s
  4564. }
  4565. // SetDeploymentConfig sets the DeploymentConfig field's value.
  4566. func (s *DescribeDeploymentJobOutput) SetDeploymentConfig(v *DeploymentConfig) *DescribeDeploymentJobOutput {
  4567. s.DeploymentConfig = v
  4568. return s
  4569. }
  4570. // SetFailureCode sets the FailureCode field's value.
  4571. func (s *DescribeDeploymentJobOutput) SetFailureCode(v string) *DescribeDeploymentJobOutput {
  4572. s.FailureCode = &v
  4573. return s
  4574. }
  4575. // SetFailureReason sets the FailureReason field's value.
  4576. func (s *DescribeDeploymentJobOutput) SetFailureReason(v string) *DescribeDeploymentJobOutput {
  4577. s.FailureReason = &v
  4578. return s
  4579. }
  4580. // SetFleet sets the Fleet field's value.
  4581. func (s *DescribeDeploymentJobOutput) SetFleet(v string) *DescribeDeploymentJobOutput {
  4582. s.Fleet = &v
  4583. return s
  4584. }
  4585. // SetRobotDeploymentSummary sets the RobotDeploymentSummary field's value.
  4586. func (s *DescribeDeploymentJobOutput) SetRobotDeploymentSummary(v []*RobotDeployment) *DescribeDeploymentJobOutput {
  4587. s.RobotDeploymentSummary = v
  4588. return s
  4589. }
  4590. // SetStatus sets the Status field's value.
  4591. func (s *DescribeDeploymentJobOutput) SetStatus(v string) *DescribeDeploymentJobOutput {
  4592. s.Status = &v
  4593. return s
  4594. }
  4595. type DescribeFleetInput struct {
  4596. _ struct{} `type:"structure"`
  4597. // The Amazon Resource Name (ARN) of the fleet.
  4598. //
  4599. // Fleet is a required field
  4600. Fleet *string `locationName:"fleet" min:"1" type:"string" required:"true"`
  4601. }
  4602. // String returns the string representation
  4603. func (s DescribeFleetInput) String() string {
  4604. return awsutil.Prettify(s)
  4605. }
  4606. // GoString returns the string representation
  4607. func (s DescribeFleetInput) GoString() string {
  4608. return s.String()
  4609. }
  4610. // Validate inspects the fields of the type to determine if they are valid.
  4611. func (s *DescribeFleetInput) Validate() error {
  4612. invalidParams := request.ErrInvalidParams{Context: "DescribeFleetInput"}
  4613. if s.Fleet == nil {
  4614. invalidParams.Add(request.NewErrParamRequired("Fleet"))
  4615. }
  4616. if s.Fleet != nil && len(*s.Fleet) < 1 {
  4617. invalidParams.Add(request.NewErrParamMinLen("Fleet", 1))
  4618. }
  4619. if invalidParams.Len() > 0 {
  4620. return invalidParams
  4621. }
  4622. return nil
  4623. }
  4624. // SetFleet sets the Fleet field's value.
  4625. func (s *DescribeFleetInput) SetFleet(v string) *DescribeFleetInput {
  4626. s.Fleet = &v
  4627. return s
  4628. }
  4629. type DescribeFleetOutput struct {
  4630. _ struct{} `type:"structure"`
  4631. // The Amazon Resource Name (ARN) of the fleet.
  4632. Arn *string `locationName:"arn" min:"1" type:"string"`
  4633. // The time, in milliseconds since the epoch, when the fleet was created.
  4634. CreatedAt *time.Time `locationName:"createdAt" type:"timestamp"`
  4635. // The Amazon Resource Name (ARN) of the last deployment job.
  4636. LastDeploymentJob *string `locationName:"lastDeploymentJob" min:"1" type:"string"`
  4637. // The status of the last deployment.
  4638. LastDeploymentStatus *string `locationName:"lastDeploymentStatus" type:"string" enum:"DeploymentStatus"`
  4639. // The time of the last deployment.
  4640. LastDeploymentTime *time.Time `locationName:"lastDeploymentTime" type:"timestamp"`
  4641. // The name of the fleet.
  4642. Name *string `locationName:"name" min:"1" type:"string"`
  4643. // A list of robots.
  4644. Robots []*Robot `locationName:"robots" type:"list"`
  4645. }
  4646. // String returns the string representation
  4647. func (s DescribeFleetOutput) String() string {
  4648. return awsutil.Prettify(s)
  4649. }
  4650. // GoString returns the string representation
  4651. func (s DescribeFleetOutput) GoString() string {
  4652. return s.String()
  4653. }
  4654. // SetArn sets the Arn field's value.
  4655. func (s *DescribeFleetOutput) SetArn(v string) *DescribeFleetOutput {
  4656. s.Arn = &v
  4657. return s
  4658. }
  4659. // SetCreatedAt sets the CreatedAt field's value.
  4660. func (s *DescribeFleetOutput) SetCreatedAt(v time.Time) *DescribeFleetOutput {
  4661. s.CreatedAt = &v
  4662. return s
  4663. }
  4664. // SetLastDeploymentJob sets the LastDeploymentJob field's value.
  4665. func (s *DescribeFleetOutput) SetLastDeploymentJob(v string) *DescribeFleetOutput {
  4666. s.LastDeploymentJob = &v
  4667. return s
  4668. }
  4669. // SetLastDeploymentStatus sets the LastDeploymentStatus field's value.
  4670. func (s *DescribeFleetOutput) SetLastDeploymentStatus(v string) *DescribeFleetOutput {
  4671. s.LastDeploymentStatus = &v
  4672. return s
  4673. }
  4674. // SetLastDeploymentTime sets the LastDeploymentTime field's value.
  4675. func (s *DescribeFleetOutput) SetLastDeploymentTime(v time.Time) *DescribeFleetOutput {
  4676. s.LastDeploymentTime = &v
  4677. return s
  4678. }
  4679. // SetName sets the Name field's value.
  4680. func (s *DescribeFleetOutput) SetName(v string) *DescribeFleetOutput {
  4681. s.Name = &v
  4682. return s
  4683. }
  4684. // SetRobots sets the Robots field's value.
  4685. func (s *DescribeFleetOutput) SetRobots(v []*Robot) *DescribeFleetOutput {
  4686. s.Robots = v
  4687. return s
  4688. }
  4689. type DescribeRobotApplicationInput struct {
  4690. _ struct{} `type:"structure"`
  4691. // The Amazon Resource Name (ARN) of the robot application.
  4692. //
  4693. // Application is a required field
  4694. Application *string `locationName:"application" min:"1" type:"string" required:"true"`
  4695. // The version of the robot application to describe.
  4696. ApplicationVersion *string `locationName:"applicationVersion" min:"1" type:"string"`
  4697. }
  4698. // String returns the string representation
  4699. func (s DescribeRobotApplicationInput) String() string {
  4700. return awsutil.Prettify(s)
  4701. }
  4702. // GoString returns the string representation
  4703. func (s DescribeRobotApplicationInput) GoString() string {
  4704. return s.String()
  4705. }
  4706. // Validate inspects the fields of the type to determine if they are valid.
  4707. func (s *DescribeRobotApplicationInput) Validate() error {
  4708. invalidParams := request.ErrInvalidParams{Context: "DescribeRobotApplicationInput"}
  4709. if s.Application == nil {
  4710. invalidParams.Add(request.NewErrParamRequired("Application"))
  4711. }
  4712. if s.Application != nil && len(*s.Application) < 1 {
  4713. invalidParams.Add(request.NewErrParamMinLen("Application", 1))
  4714. }
  4715. if s.ApplicationVersion != nil && len(*s.ApplicationVersion) < 1 {
  4716. invalidParams.Add(request.NewErrParamMinLen("ApplicationVersion", 1))
  4717. }
  4718. if invalidParams.Len() > 0 {
  4719. return invalidParams
  4720. }
  4721. return nil
  4722. }
  4723. // SetApplication sets the Application field's value.
  4724. func (s *DescribeRobotApplicationInput) SetApplication(v string) *DescribeRobotApplicationInput {
  4725. s.Application = &v
  4726. return s
  4727. }
  4728. // SetApplicationVersion sets the ApplicationVersion field's value.
  4729. func (s *DescribeRobotApplicationInput) SetApplicationVersion(v string) *DescribeRobotApplicationInput {
  4730. s.ApplicationVersion = &v
  4731. return s
  4732. }
  4733. type DescribeRobotApplicationOutput struct {
  4734. _ struct{} `type:"structure"`
  4735. // The Amazon Resource Name (ARN) of the robot application.
  4736. Arn *string `locationName:"arn" min:"1" type:"string"`
  4737. // The time, in milliseconds since the epoch, when the robot application was
  4738. // last updated.
  4739. LastUpdatedAt *time.Time `locationName:"lastUpdatedAt" type:"timestamp"`
  4740. // The name of the robot application.
  4741. Name *string `locationName:"name" min:"1" type:"string"`
  4742. // The revision id of the robot application.
  4743. RevisionId *string `locationName:"revisionId" min:"1" type:"string"`
  4744. // The robot software suite used by the robot application.
  4745. RobotSoftwareSuite *RobotSoftwareSuite `locationName:"robotSoftwareSuite" type:"structure"`
  4746. // The sources of the robot application.
  4747. Sources []*Source `locationName:"sources" type:"list"`
  4748. // The version of the robot application.
  4749. Version *string `locationName:"version" min:"1" type:"string"`
  4750. }
  4751. // String returns the string representation
  4752. func (s DescribeRobotApplicationOutput) String() string {
  4753. return awsutil.Prettify(s)
  4754. }
  4755. // GoString returns the string representation
  4756. func (s DescribeRobotApplicationOutput) GoString() string {
  4757. return s.String()
  4758. }
  4759. // SetArn sets the Arn field's value.
  4760. func (s *DescribeRobotApplicationOutput) SetArn(v string) *DescribeRobotApplicationOutput {
  4761. s.Arn = &v
  4762. return s
  4763. }
  4764. // SetLastUpdatedAt sets the LastUpdatedAt field's value.
  4765. func (s *DescribeRobotApplicationOutput) SetLastUpdatedAt(v time.Time) *DescribeRobotApplicationOutput {
  4766. s.LastUpdatedAt = &v
  4767. return s
  4768. }
  4769. // SetName sets the Name field's value.
  4770. func (s *DescribeRobotApplicationOutput) SetName(v string) *DescribeRobotApplicationOutput {
  4771. s.Name = &v
  4772. return s
  4773. }
  4774. // SetRevisionId sets the RevisionId field's value.
  4775. func (s *DescribeRobotApplicationOutput) SetRevisionId(v string) *DescribeRobotApplicationOutput {
  4776. s.RevisionId = &v
  4777. return s
  4778. }
  4779. // SetRobotSoftwareSuite sets the RobotSoftwareSuite field's value.
  4780. func (s *DescribeRobotApplicationOutput) SetRobotSoftwareSuite(v *RobotSoftwareSuite) *DescribeRobotApplicationOutput {
  4781. s.RobotSoftwareSuite = v
  4782. return s
  4783. }
  4784. // SetSources sets the Sources field's value.
  4785. func (s *DescribeRobotApplicationOutput) SetSources(v []*Source) *DescribeRobotApplicationOutput {
  4786. s.Sources = v
  4787. return s
  4788. }
  4789. // SetVersion sets the Version field's value.
  4790. func (s *DescribeRobotApplicationOutput) SetVersion(v string) *DescribeRobotApplicationOutput {
  4791. s.Version = &v
  4792. return s
  4793. }
  4794. type DescribeRobotInput struct {
  4795. _ struct{} `type:"structure"`
  4796. // The Amazon Resource Name (ARN) of the robot to be described.
  4797. //
  4798. // Robot is a required field
  4799. Robot *string `locationName:"robot" min:"1" type:"string" required:"true"`
  4800. }
  4801. // String returns the string representation
  4802. func (s DescribeRobotInput) String() string {
  4803. return awsutil.Prettify(s)
  4804. }
  4805. // GoString returns the string representation
  4806. func (s DescribeRobotInput) GoString() string {
  4807. return s.String()
  4808. }
  4809. // Validate inspects the fields of the type to determine if they are valid.
  4810. func (s *DescribeRobotInput) Validate() error {
  4811. invalidParams := request.ErrInvalidParams{Context: "DescribeRobotInput"}
  4812. if s.Robot == nil {
  4813. invalidParams.Add(request.NewErrParamRequired("Robot"))
  4814. }
  4815. if s.Robot != nil && len(*s.Robot) < 1 {
  4816. invalidParams.Add(request.NewErrParamMinLen("Robot", 1))
  4817. }
  4818. if invalidParams.Len() > 0 {
  4819. return invalidParams
  4820. }
  4821. return nil
  4822. }
  4823. // SetRobot sets the Robot field's value.
  4824. func (s *DescribeRobotInput) SetRobot(v string) *DescribeRobotInput {
  4825. s.Robot = &v
  4826. return s
  4827. }
  4828. type DescribeRobotOutput struct {
  4829. _ struct{} `type:"structure"`
  4830. // The target architecture of the robot application.
  4831. Architecture *string `locationName:"architecture" type:"string" enum:"Architecture"`
  4832. // The Amazon Resource Name (ARN) of the robot.
  4833. Arn *string `locationName:"arn" min:"1" type:"string"`
  4834. // The time, in milliseconds since the epoch, when the robot was created.
  4835. CreatedAt *time.Time `locationName:"createdAt" type:"timestamp"`
  4836. // The Amazon Resource Name (ARN) of the fleet.
  4837. FleetArn *string `locationName:"fleetArn" min:"1" type:"string"`
  4838. // The Greengrass group id.
  4839. GreengrassGroupId *string `locationName:"greengrassGroupId" min:"1" type:"string"`
  4840. // The Amazon Resource Name (ARN) of the last deployment job.
  4841. LastDeploymentJob *string `locationName:"lastDeploymentJob" min:"1" type:"string"`
  4842. // The time of the last deployment job.
  4843. LastDeploymentTime *time.Time `locationName:"lastDeploymentTime" type:"timestamp"`
  4844. // The name of the robot.
  4845. Name *string `locationName:"name" min:"1" type:"string"`
  4846. // The status of the fleet.
  4847. Status *string `locationName:"status" type:"string" enum:"RobotStatus"`
  4848. }
  4849. // String returns the string representation
  4850. func (s DescribeRobotOutput) String() string {
  4851. return awsutil.Prettify(s)
  4852. }
  4853. // GoString returns the string representation
  4854. func (s DescribeRobotOutput) GoString() string {
  4855. return s.String()
  4856. }
  4857. // SetArchitecture sets the Architecture field's value.
  4858. func (s *DescribeRobotOutput) SetArchitecture(v string) *DescribeRobotOutput {
  4859. s.Architecture = &v
  4860. return s
  4861. }
  4862. // SetArn sets the Arn field's value.
  4863. func (s *DescribeRobotOutput) SetArn(v string) *DescribeRobotOutput {
  4864. s.Arn = &v
  4865. return s
  4866. }
  4867. // SetCreatedAt sets the CreatedAt field's value.
  4868. func (s *DescribeRobotOutput) SetCreatedAt(v time.Time) *DescribeRobotOutput {
  4869. s.CreatedAt = &v
  4870. return s
  4871. }
  4872. // SetFleetArn sets the FleetArn field's value.
  4873. func (s *DescribeRobotOutput) SetFleetArn(v string) *DescribeRobotOutput {
  4874. s.FleetArn = &v
  4875. return s
  4876. }
  4877. // SetGreengrassGroupId sets the GreengrassGroupId field's value.
  4878. func (s *DescribeRobotOutput) SetGreengrassGroupId(v string) *DescribeRobotOutput {
  4879. s.GreengrassGroupId = &v
  4880. return s
  4881. }
  4882. // SetLastDeploymentJob sets the LastDeploymentJob field's value.
  4883. func (s *DescribeRobotOutput) SetLastDeploymentJob(v string) *DescribeRobotOutput {
  4884. s.LastDeploymentJob = &v
  4885. return s
  4886. }
  4887. // SetLastDeploymentTime sets the LastDeploymentTime field's value.
  4888. func (s *DescribeRobotOutput) SetLastDeploymentTime(v time.Time) *DescribeRobotOutput {
  4889. s.LastDeploymentTime = &v
  4890. return s
  4891. }
  4892. // SetName sets the Name field's value.
  4893. func (s *DescribeRobotOutput) SetName(v string) *DescribeRobotOutput {
  4894. s.Name = &v
  4895. return s
  4896. }
  4897. // SetStatus sets the Status field's value.
  4898. func (s *DescribeRobotOutput) SetStatus(v string) *DescribeRobotOutput {
  4899. s.Status = &v
  4900. return s
  4901. }
  4902. type DescribeSimulationApplicationInput struct {
  4903. _ struct{} `type:"structure"`
  4904. // The application information for the simulation application.
  4905. //
  4906. // Application is a required field
  4907. Application *string `locationName:"application" min:"1" type:"string" required:"true"`
  4908. // The version of the simulation application to describe.
  4909. ApplicationVersion *string `locationName:"applicationVersion" min:"1" type:"string"`
  4910. }
  4911. // String returns the string representation
  4912. func (s DescribeSimulationApplicationInput) String() string {
  4913. return awsutil.Prettify(s)
  4914. }
  4915. // GoString returns the string representation
  4916. func (s DescribeSimulationApplicationInput) GoString() string {
  4917. return s.String()
  4918. }
  4919. // Validate inspects the fields of the type to determine if they are valid.
  4920. func (s *DescribeSimulationApplicationInput) Validate() error {
  4921. invalidParams := request.ErrInvalidParams{Context: "DescribeSimulationApplicationInput"}
  4922. if s.Application == nil {
  4923. invalidParams.Add(request.NewErrParamRequired("Application"))
  4924. }
  4925. if s.Application != nil && len(*s.Application) < 1 {
  4926. invalidParams.Add(request.NewErrParamMinLen("Application", 1))
  4927. }
  4928. if s.ApplicationVersion != nil && len(*s.ApplicationVersion) < 1 {
  4929. invalidParams.Add(request.NewErrParamMinLen("ApplicationVersion", 1))
  4930. }
  4931. if invalidParams.Len() > 0 {
  4932. return invalidParams
  4933. }
  4934. return nil
  4935. }
  4936. // SetApplication sets the Application field's value.
  4937. func (s *DescribeSimulationApplicationInput) SetApplication(v string) *DescribeSimulationApplicationInput {
  4938. s.Application = &v
  4939. return s
  4940. }
  4941. // SetApplicationVersion sets the ApplicationVersion field's value.
  4942. func (s *DescribeSimulationApplicationInput) SetApplicationVersion(v string) *DescribeSimulationApplicationInput {
  4943. s.ApplicationVersion = &v
  4944. return s
  4945. }
  4946. type DescribeSimulationApplicationOutput struct {
  4947. _ struct{} `type:"structure"`
  4948. // The Amazon Resource Name (ARN) of the robot simulation application.
  4949. Arn *string `locationName:"arn" min:"1" type:"string"`
  4950. // The time, in milliseconds since the epoch, when the simulation application
  4951. // was last updated.
  4952. LastUpdatedAt *time.Time `locationName:"lastUpdatedAt" type:"timestamp"`
  4953. // The name of the simulation application.
  4954. Name *string `locationName:"name" min:"1" type:"string"`
  4955. // The rendering engine for the simulation application.
  4956. RenderingEngine *RenderingEngine `locationName:"renderingEngine" type:"structure"`
  4957. // The revision id of the simulation application.
  4958. RevisionId *string `locationName:"revisionId" min:"1" type:"string"`
  4959. // Information about the robot software suite.
  4960. RobotSoftwareSuite *RobotSoftwareSuite `locationName:"robotSoftwareSuite" type:"structure"`
  4961. // The simulation software suite used by the simulation application.
  4962. SimulationSoftwareSuite *SimulationSoftwareSuite `locationName:"simulationSoftwareSuite" type:"structure"`
  4963. // The sources of the simulation application.
  4964. Sources []*Source `locationName:"sources" type:"list"`
  4965. // The version of the simulation application.
  4966. Version *string `locationName:"version" min:"1" type:"string"`
  4967. }
  4968. // String returns the string representation
  4969. func (s DescribeSimulationApplicationOutput) String() string {
  4970. return awsutil.Prettify(s)
  4971. }
  4972. // GoString returns the string representation
  4973. func (s DescribeSimulationApplicationOutput) GoString() string {
  4974. return s.String()
  4975. }
  4976. // SetArn sets the Arn field's value.
  4977. func (s *DescribeSimulationApplicationOutput) SetArn(v string) *DescribeSimulationApplicationOutput {
  4978. s.Arn = &v
  4979. return s
  4980. }
  4981. // SetLastUpdatedAt sets the LastUpdatedAt field's value.
  4982. func (s *DescribeSimulationApplicationOutput) SetLastUpdatedAt(v time.Time) *DescribeSimulationApplicationOutput {
  4983. s.LastUpdatedAt = &v
  4984. return s
  4985. }
  4986. // SetName sets the Name field's value.
  4987. func (s *DescribeSimulationApplicationOutput) SetName(v string) *DescribeSimulationApplicationOutput {
  4988. s.Name = &v
  4989. return s
  4990. }
  4991. // SetRenderingEngine sets the RenderingEngine field's value.
  4992. func (s *DescribeSimulationApplicationOutput) SetRenderingEngine(v *RenderingEngine) *DescribeSimulationApplicationOutput {
  4993. s.RenderingEngine = v
  4994. return s
  4995. }
  4996. // SetRevisionId sets the RevisionId field's value.
  4997. func (s *DescribeSimulationApplicationOutput) SetRevisionId(v string) *DescribeSimulationApplicationOutput {
  4998. s.RevisionId = &v
  4999. return s
  5000. }
  5001. // SetRobotSoftwareSuite sets the RobotSoftwareSuite field's value.
  5002. func (s *DescribeSimulationApplicationOutput) SetRobotSoftwareSuite(v *RobotSoftwareSuite) *DescribeSimulationApplicationOutput {
  5003. s.RobotSoftwareSuite = v
  5004. return s
  5005. }
  5006. // SetSimulationSoftwareSuite sets the SimulationSoftwareSuite field's value.
  5007. func (s *DescribeSimulationApplicationOutput) SetSimulationSoftwareSuite(v *SimulationSoftwareSuite) *DescribeSimulationApplicationOutput {
  5008. s.SimulationSoftwareSuite = v
  5009. return s
  5010. }
  5011. // SetSources sets the Sources field's value.
  5012. func (s *DescribeSimulationApplicationOutput) SetSources(v []*Source) *DescribeSimulationApplicationOutput {
  5013. s.Sources = v
  5014. return s
  5015. }
  5016. // SetVersion sets the Version field's value.
  5017. func (s *DescribeSimulationApplicationOutput) SetVersion(v string) *DescribeSimulationApplicationOutput {
  5018. s.Version = &v
  5019. return s
  5020. }
  5021. type DescribeSimulationJobInput struct {
  5022. _ struct{} `type:"structure"`
  5023. // The Amazon Resource Name (ARN) of the simulation job to be described.
  5024. //
  5025. // Job is a required field
  5026. Job *string `locationName:"job" min:"1" type:"string" required:"true"`
  5027. }
  5028. // String returns the string representation
  5029. func (s DescribeSimulationJobInput) String() string {
  5030. return awsutil.Prettify(s)
  5031. }
  5032. // GoString returns the string representation
  5033. func (s DescribeSimulationJobInput) GoString() string {
  5034. return s.String()
  5035. }
  5036. // Validate inspects the fields of the type to determine if they are valid.
  5037. func (s *DescribeSimulationJobInput) Validate() error {
  5038. invalidParams := request.ErrInvalidParams{Context: "DescribeSimulationJobInput"}
  5039. if s.Job == nil {
  5040. invalidParams.Add(request.NewErrParamRequired("Job"))
  5041. }
  5042. if s.Job != nil && len(*s.Job) < 1 {
  5043. invalidParams.Add(request.NewErrParamMinLen("Job", 1))
  5044. }
  5045. if invalidParams.Len() > 0 {
  5046. return invalidParams
  5047. }
  5048. return nil
  5049. }
  5050. // SetJob sets the Job field's value.
  5051. func (s *DescribeSimulationJobInput) SetJob(v string) *DescribeSimulationJobInput {
  5052. s.Job = &v
  5053. return s
  5054. }
  5055. type DescribeSimulationJobOutput struct {
  5056. _ struct{} `type:"structure"`
  5057. // The Amazon Resource Name (ARN) of the simulation job.
  5058. Arn *string `locationName:"arn" min:"1" type:"string"`
  5059. // Unique, case-sensitive identifier that you provide to ensure the idempotency
  5060. // of the request.
  5061. ClientRequestToken *string `locationName:"clientRequestToken" min:"1" type:"string"`
  5062. // The failure behavior for the simulation job.
  5063. FailureBehavior *string `locationName:"failureBehavior" type:"string" enum:"FailureBehavior"`
  5064. // The failure code of the simulation job if it failed:
  5065. //
  5066. // InternalServiceErrorInternal service error
  5067. //
  5068. // RobotApplicationCrashRobot application exited abnormally (segfault, etc.)
  5069. //
  5070. // SimulationApplicationCrash Simulation application exited abnormally (segfault,
  5071. // etc.)
  5072. //
  5073. // BadPermissionsRobotApplicationRobot application bundle could not be downloaded
  5074. //
  5075. // BadPermissionsSimulationApplicationSimulation application bundle could not
  5076. // be downloaded
  5077. //
  5078. // BadPermissionsS3OutputUnable to publish outputs to customer-provided S3 bucket
  5079. //
  5080. // BadPermissionsCloudwatchLogsUnable to publish logs to customer-provided CloudWatch
  5081. // Logs resource
  5082. //
  5083. // SubnetIpLimitExceededSubnet IP limit exceeded
  5084. //
  5085. // ENILimitExceededENI limit exceeded
  5086. //
  5087. // BadPermissionsUserCredentialsUnable to use the Role provided
  5088. //
  5089. // InvalidBundleRobotApplicationRobot bundle cannot be extracted (invalid format,
  5090. // bundling error, etc.)
  5091. //
  5092. // InvalidBundleSimulationApplicationSimulation bundle cannot be extracted (invalid
  5093. // format, bundling error, etc.)
  5094. //
  5095. // RobotApplicationVersionMismatchedEtagEtag for RobotApplication does not match
  5096. // value during version creation
  5097. //
  5098. // SimulationApplicationVersionMismatchedEtagEtag for SimulationApplication
  5099. // does not match value during version creation
  5100. FailureCode *string `locationName:"failureCode" type:"string" enum:"SimulationJobErrorCode"`
  5101. // The IAM role that allows the simulation instance to call the AWS APIs that
  5102. // are specified in its associated policies on your behalf.
  5103. IamRole *string `locationName:"iamRole" min:"1" type:"string"`
  5104. // The time, in milliseconds since the epoch, when the simulation job was last
  5105. // updated.
  5106. LastUpdatedAt *time.Time `locationName:"lastUpdatedAt" type:"timestamp"`
  5107. // The maximum job duration in seconds. The value must be 8 days (691,200 seconds)
  5108. // or less.
  5109. MaxJobDurationInSeconds *int64 `locationName:"maxJobDurationInSeconds" type:"long"`
  5110. // The name of the simulation job.
  5111. Name *string `locationName:"name" min:"1" type:"string"`
  5112. // Location for output files generated by the simulation job.
  5113. OutputLocation *OutputLocation `locationName:"outputLocation" type:"structure"`
  5114. // A list of robot applications.
  5115. RobotApplications []*RobotApplicationConfig `locationName:"robotApplications" min:"1" type:"list"`
  5116. // A list of simulation applications.
  5117. SimulationApplications []*SimulationApplicationConfig `locationName:"simulationApplications" min:"1" type:"list"`
  5118. // The simulation job execution duration in milliseconds.
  5119. SimulationTimeMillis *int64 `locationName:"simulationTimeMillis" type:"long"`
  5120. // The status of the simulation job.
  5121. Status *string `locationName:"status" type:"string" enum:"SimulationJobStatus"`
  5122. // The VPC configuration.
  5123. VpcConfig *VPCConfigResponse `locationName:"vpcConfig" type:"structure"`
  5124. }
  5125. // String returns the string representation
  5126. func (s DescribeSimulationJobOutput) String() string {
  5127. return awsutil.Prettify(s)
  5128. }
  5129. // GoString returns the string representation
  5130. func (s DescribeSimulationJobOutput) GoString() string {
  5131. return s.String()
  5132. }
  5133. // SetArn sets the Arn field's value.
  5134. func (s *DescribeSimulationJobOutput) SetArn(v string) *DescribeSimulationJobOutput {
  5135. s.Arn = &v
  5136. return s
  5137. }
  5138. // SetClientRequestToken sets the ClientRequestToken field's value.
  5139. func (s *DescribeSimulationJobOutput) SetClientRequestToken(v string) *DescribeSimulationJobOutput {
  5140. s.ClientRequestToken = &v
  5141. return s
  5142. }
  5143. // SetFailureBehavior sets the FailureBehavior field's value.
  5144. func (s *DescribeSimulationJobOutput) SetFailureBehavior(v string) *DescribeSimulationJobOutput {
  5145. s.FailureBehavior = &v
  5146. return s
  5147. }
  5148. // SetFailureCode sets the FailureCode field's value.
  5149. func (s *DescribeSimulationJobOutput) SetFailureCode(v string) *DescribeSimulationJobOutput {
  5150. s.FailureCode = &v
  5151. return s
  5152. }
  5153. // SetIamRole sets the IamRole field's value.
  5154. func (s *DescribeSimulationJobOutput) SetIamRole(v string) *DescribeSimulationJobOutput {
  5155. s.IamRole = &v
  5156. return s
  5157. }
  5158. // SetLastUpdatedAt sets the LastUpdatedAt field's value.
  5159. func (s *DescribeSimulationJobOutput) SetLastUpdatedAt(v time.Time) *DescribeSimulationJobOutput {
  5160. s.LastUpdatedAt = &v
  5161. return s
  5162. }
  5163. // SetMaxJobDurationInSeconds sets the MaxJobDurationInSeconds field's value.
  5164. func (s *DescribeSimulationJobOutput) SetMaxJobDurationInSeconds(v int64) *DescribeSimulationJobOutput {
  5165. s.MaxJobDurationInSeconds = &v
  5166. return s
  5167. }
  5168. // SetName sets the Name field's value.
  5169. func (s *DescribeSimulationJobOutput) SetName(v string) *DescribeSimulationJobOutput {
  5170. s.Name = &v
  5171. return s
  5172. }
  5173. // SetOutputLocation sets the OutputLocation field's value.
  5174. func (s *DescribeSimulationJobOutput) SetOutputLocation(v *OutputLocation) *DescribeSimulationJobOutput {
  5175. s.OutputLocation = v
  5176. return s
  5177. }
  5178. // SetRobotApplications sets the RobotApplications field's value.
  5179. func (s *DescribeSimulationJobOutput) SetRobotApplications(v []*RobotApplicationConfig) *DescribeSimulationJobOutput {
  5180. s.RobotApplications = v
  5181. return s
  5182. }
  5183. // SetSimulationApplications sets the SimulationApplications field's value.
  5184. func (s *DescribeSimulationJobOutput) SetSimulationApplications(v []*SimulationApplicationConfig) *DescribeSimulationJobOutput {
  5185. s.SimulationApplications = v
  5186. return s
  5187. }
  5188. // SetSimulationTimeMillis sets the SimulationTimeMillis field's value.
  5189. func (s *DescribeSimulationJobOutput) SetSimulationTimeMillis(v int64) *DescribeSimulationJobOutput {
  5190. s.SimulationTimeMillis = &v
  5191. return s
  5192. }
  5193. // SetStatus sets the Status field's value.
  5194. func (s *DescribeSimulationJobOutput) SetStatus(v string) *DescribeSimulationJobOutput {
  5195. s.Status = &v
  5196. return s
  5197. }
  5198. // SetVpcConfig sets the VpcConfig field's value.
  5199. func (s *DescribeSimulationJobOutput) SetVpcConfig(v *VPCConfigResponse) *DescribeSimulationJobOutput {
  5200. s.VpcConfig = v
  5201. return s
  5202. }
  5203. // Information about a filter.
  5204. type Filter struct {
  5205. _ struct{} `type:"structure"`
  5206. // The name of the filter.
  5207. Name *string `locationName:"name" min:"1" type:"string"`
  5208. // A list of values.
  5209. Values []*string `locationName:"values" min:"1" type:"list"`
  5210. }
  5211. // String returns the string representation
  5212. func (s Filter) String() string {
  5213. return awsutil.Prettify(s)
  5214. }
  5215. // GoString returns the string representation
  5216. func (s Filter) GoString() string {
  5217. return s.String()
  5218. }
  5219. // Validate inspects the fields of the type to determine if they are valid.
  5220. func (s *Filter) Validate() error {
  5221. invalidParams := request.ErrInvalidParams{Context: "Filter"}
  5222. if s.Name != nil && len(*s.Name) < 1 {
  5223. invalidParams.Add(request.NewErrParamMinLen("Name", 1))
  5224. }
  5225. if s.Values != nil && len(s.Values) < 1 {
  5226. invalidParams.Add(request.NewErrParamMinLen("Values", 1))
  5227. }
  5228. if invalidParams.Len() > 0 {
  5229. return invalidParams
  5230. }
  5231. return nil
  5232. }
  5233. // SetName sets the Name field's value.
  5234. func (s *Filter) SetName(v string) *Filter {
  5235. s.Name = &v
  5236. return s
  5237. }
  5238. // SetValues sets the Values field's value.
  5239. func (s *Filter) SetValues(v []*string) *Filter {
  5240. s.Values = v
  5241. return s
  5242. }
  5243. // Information about a fleet.
  5244. type Fleet struct {
  5245. _ struct{} `type:"structure"`
  5246. // The Amazon Resource Name (ARN) of the fleet.
  5247. Arn *string `locationName:"arn" min:"1" type:"string"`
  5248. // The time, in milliseconds since the epoch, when the fleet was created.
  5249. CreatedAt *time.Time `locationName:"createdAt" type:"timestamp"`
  5250. // The Amazon Resource Name (ARN) of the last deployment job.
  5251. LastDeploymentJob *string `locationName:"lastDeploymentJob" min:"1" type:"string"`
  5252. // The status of the last fleet deployment.
  5253. LastDeploymentStatus *string `locationName:"lastDeploymentStatus" type:"string" enum:"DeploymentStatus"`
  5254. // The time of the last deployment.
  5255. LastDeploymentTime *time.Time `locationName:"lastDeploymentTime" type:"timestamp"`
  5256. // The name of the fleet.
  5257. Name *string `locationName:"name" min:"1" type:"string"`
  5258. }
  5259. // String returns the string representation
  5260. func (s Fleet) String() string {
  5261. return awsutil.Prettify(s)
  5262. }
  5263. // GoString returns the string representation
  5264. func (s Fleet) GoString() string {
  5265. return s.String()
  5266. }
  5267. // SetArn sets the Arn field's value.
  5268. func (s *Fleet) SetArn(v string) *Fleet {
  5269. s.Arn = &v
  5270. return s
  5271. }
  5272. // SetCreatedAt sets the CreatedAt field's value.
  5273. func (s *Fleet) SetCreatedAt(v time.Time) *Fleet {
  5274. s.CreatedAt = &v
  5275. return s
  5276. }
  5277. // SetLastDeploymentJob sets the LastDeploymentJob field's value.
  5278. func (s *Fleet) SetLastDeploymentJob(v string) *Fleet {
  5279. s.LastDeploymentJob = &v
  5280. return s
  5281. }
  5282. // SetLastDeploymentStatus sets the LastDeploymentStatus field's value.
  5283. func (s *Fleet) SetLastDeploymentStatus(v string) *Fleet {
  5284. s.LastDeploymentStatus = &v
  5285. return s
  5286. }
  5287. // SetLastDeploymentTime sets the LastDeploymentTime field's value.
  5288. func (s *Fleet) SetLastDeploymentTime(v time.Time) *Fleet {
  5289. s.LastDeploymentTime = &v
  5290. return s
  5291. }
  5292. // SetName sets the Name field's value.
  5293. func (s *Fleet) SetName(v string) *Fleet {
  5294. s.Name = &v
  5295. return s
  5296. }
  5297. // Information about a launch configuration.
  5298. type LaunchConfig struct {
  5299. _ struct{} `type:"structure"`
  5300. // The environment variables for the application launch.
  5301. EnvironmentVariables map[string]*string `locationName:"environmentVariables" type:"map"`
  5302. // The launch file.
  5303. //
  5304. // LaunchFile is a required field
  5305. LaunchFile *string `locationName:"launchFile" type:"string" required:"true"`
  5306. // The package name.
  5307. //
  5308. // PackageName is a required field
  5309. PackageName *string `locationName:"packageName" type:"string" required:"true"`
  5310. }
  5311. // String returns the string representation
  5312. func (s LaunchConfig) String() string {
  5313. return awsutil.Prettify(s)
  5314. }
  5315. // GoString returns the string representation
  5316. func (s LaunchConfig) GoString() string {
  5317. return s.String()
  5318. }
  5319. // Validate inspects the fields of the type to determine if they are valid.
  5320. func (s *LaunchConfig) Validate() error {
  5321. invalidParams := request.ErrInvalidParams{Context: "LaunchConfig"}
  5322. if s.LaunchFile == nil {
  5323. invalidParams.Add(request.NewErrParamRequired("LaunchFile"))
  5324. }
  5325. if s.PackageName == nil {
  5326. invalidParams.Add(request.NewErrParamRequired("PackageName"))
  5327. }
  5328. if invalidParams.Len() > 0 {
  5329. return invalidParams
  5330. }
  5331. return nil
  5332. }
  5333. // SetEnvironmentVariables sets the EnvironmentVariables field's value.
  5334. func (s *LaunchConfig) SetEnvironmentVariables(v map[string]*string) *LaunchConfig {
  5335. s.EnvironmentVariables = v
  5336. return s
  5337. }
  5338. // SetLaunchFile sets the LaunchFile field's value.
  5339. func (s *LaunchConfig) SetLaunchFile(v string) *LaunchConfig {
  5340. s.LaunchFile = &v
  5341. return s
  5342. }
  5343. // SetPackageName sets the PackageName field's value.
  5344. func (s *LaunchConfig) SetPackageName(v string) *LaunchConfig {
  5345. s.PackageName = &v
  5346. return s
  5347. }
  5348. type ListDeploymentJobsInput struct {
  5349. _ struct{} `type:"structure"`
  5350. // Optional filters to limit results.
  5351. Filters []*Filter `locationName:"filters" min:"1" type:"list"`
  5352. // The maximum number of deployment job results returned by ListDeploymentJobs
  5353. // in paginated output. When this parameter is used, ListDeploymentJobs only
  5354. // returns maxResults results in a single page along with a nextToken response
  5355. // element. The remaining results of the initial request can be seen by sending
  5356. // another ListDeploymentJobs request with the returned nextToken value. This
  5357. // value can be between 1 and 100. If this parameter is not used, then ListDeploymentJobs
  5358. // returns up to 100 results and a nextToken value if applicable.
  5359. MaxResults *int64 `locationName:"maxResults" type:"integer"`
  5360. // The nextToken value returned from a previous paginated ListDeploymentJobs
  5361. // request where maxResults was used and the results exceeded the value of that
  5362. // parameter. Pagination continues from the end of the previous results that
  5363. // returned the nextToken value.
  5364. //
  5365. // This token should be treated as an opaque identifier that is only used to
  5366. // retrieve the next items in a list and not for other programmatic purposes.
  5367. NextToken *string `locationName:"nextToken" min:"1" type:"string"`
  5368. }
  5369. // String returns the string representation
  5370. func (s ListDeploymentJobsInput) String() string {
  5371. return awsutil.Prettify(s)
  5372. }
  5373. // GoString returns the string representation
  5374. func (s ListDeploymentJobsInput) GoString() string {
  5375. return s.String()
  5376. }
  5377. // Validate inspects the fields of the type to determine if they are valid.
  5378. func (s *ListDeploymentJobsInput) Validate() error {
  5379. invalidParams := request.ErrInvalidParams{Context: "ListDeploymentJobsInput"}
  5380. if s.Filters != nil && len(s.Filters) < 1 {
  5381. invalidParams.Add(request.NewErrParamMinLen("Filters", 1))
  5382. }
  5383. if s.NextToken != nil && len(*s.NextToken) < 1 {
  5384. invalidParams.Add(request.NewErrParamMinLen("NextToken", 1))
  5385. }
  5386. if s.Filters != nil {
  5387. for i, v := range s.Filters {
  5388. if v == nil {
  5389. continue
  5390. }
  5391. if err := v.Validate(); err != nil {
  5392. invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Filters", i), err.(request.ErrInvalidParams))
  5393. }
  5394. }
  5395. }
  5396. if invalidParams.Len() > 0 {
  5397. return invalidParams
  5398. }
  5399. return nil
  5400. }
  5401. // SetFilters sets the Filters field's value.
  5402. func (s *ListDeploymentJobsInput) SetFilters(v []*Filter) *ListDeploymentJobsInput {
  5403. s.Filters = v
  5404. return s
  5405. }
  5406. // SetMaxResults sets the MaxResults field's value.
  5407. func (s *ListDeploymentJobsInput) SetMaxResults(v int64) *ListDeploymentJobsInput {
  5408. s.MaxResults = &v
  5409. return s
  5410. }
  5411. // SetNextToken sets the NextToken field's value.
  5412. func (s *ListDeploymentJobsInput) SetNextToken(v string) *ListDeploymentJobsInput {
  5413. s.NextToken = &v
  5414. return s
  5415. }
  5416. type ListDeploymentJobsOutput struct {
  5417. _ struct{} `type:"structure"`
  5418. // A list of deployment jobs that meet the criteria of the request.
  5419. DeploymentJobs []*DeploymentJob `locationName:"deploymentJobs" type:"list"`
  5420. // The nextToken value to include in a future ListDeploymentJobs request. When
  5421. // the results of a ListDeploymentJobs request exceed maxResults, this value
  5422. // can be used to retrieve the next page of results. This value is null when
  5423. // there are no more results to return.
  5424. NextToken *string `locationName:"nextToken" min:"1" type:"string"`
  5425. }
  5426. // String returns the string representation
  5427. func (s ListDeploymentJobsOutput) String() string {
  5428. return awsutil.Prettify(s)
  5429. }
  5430. // GoString returns the string representation
  5431. func (s ListDeploymentJobsOutput) GoString() string {
  5432. return s.String()
  5433. }
  5434. // SetDeploymentJobs sets the DeploymentJobs field's value.
  5435. func (s *ListDeploymentJobsOutput) SetDeploymentJobs(v []*DeploymentJob) *ListDeploymentJobsOutput {
  5436. s.DeploymentJobs = v
  5437. return s
  5438. }
  5439. // SetNextToken sets the NextToken field's value.
  5440. func (s *ListDeploymentJobsOutput) SetNextToken(v string) *ListDeploymentJobsOutput {
  5441. s.NextToken = &v
  5442. return s
  5443. }
  5444. type ListFleetsInput struct {
  5445. _ struct{} `type:"structure"`
  5446. // Optional filters to limit results.
  5447. Filters []*Filter `locationName:"filters" min:"1" type:"list"`
  5448. // The maximum number of deployment job results returned by ListFleets in paginated
  5449. // output. When this parameter is used, ListFleets only returns maxResults results
  5450. // in a single page along with a nextToken response element. The remaining results
  5451. // of the initial request can be seen by sending another ListFleets request
  5452. // with the returned nextToken value. This value can be between 1 and 100. If
  5453. // this parameter is not used, then ListFleets returns up to 100 results and
  5454. // a nextToken value if applicable.
  5455. MaxResults *int64 `locationName:"maxResults" type:"integer"`
  5456. // The nextToken value returned from a previous paginated ListFleets request
  5457. // where maxResults was used and the results exceeded the value of that parameter.
  5458. // Pagination continues from the end of the previous results that returned the
  5459. // nextToken value.
  5460. //
  5461. // This token should be treated as an opaque identifier that is only used to
  5462. // retrieve the next items in a list and not for other programmatic purposes.
  5463. NextToken *string `locationName:"nextToken" min:"1" type:"string"`
  5464. }
  5465. // String returns the string representation
  5466. func (s ListFleetsInput) String() string {
  5467. return awsutil.Prettify(s)
  5468. }
  5469. // GoString returns the string representation
  5470. func (s ListFleetsInput) GoString() string {
  5471. return s.String()
  5472. }
  5473. // Validate inspects the fields of the type to determine if they are valid.
  5474. func (s *ListFleetsInput) Validate() error {
  5475. invalidParams := request.ErrInvalidParams{Context: "ListFleetsInput"}
  5476. if s.Filters != nil && len(s.Filters) < 1 {
  5477. invalidParams.Add(request.NewErrParamMinLen("Filters", 1))
  5478. }
  5479. if s.NextToken != nil && len(*s.NextToken) < 1 {
  5480. invalidParams.Add(request.NewErrParamMinLen("NextToken", 1))
  5481. }
  5482. if s.Filters != nil {
  5483. for i, v := range s.Filters {
  5484. if v == nil {
  5485. continue
  5486. }
  5487. if err := v.Validate(); err != nil {
  5488. invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Filters", i), err.(request.ErrInvalidParams))
  5489. }
  5490. }
  5491. }
  5492. if invalidParams.Len() > 0 {
  5493. return invalidParams
  5494. }
  5495. return nil
  5496. }
  5497. // SetFilters sets the Filters field's value.
  5498. func (s *ListFleetsInput) SetFilters(v []*Filter) *ListFleetsInput {
  5499. s.Filters = v
  5500. return s
  5501. }
  5502. // SetMaxResults sets the MaxResults field's value.
  5503. func (s *ListFleetsInput) SetMaxResults(v int64) *ListFleetsInput {
  5504. s.MaxResults = &v
  5505. return s
  5506. }
  5507. // SetNextToken sets the NextToken field's value.
  5508. func (s *ListFleetsInput) SetNextToken(v string) *ListFleetsInput {
  5509. s.NextToken = &v
  5510. return s
  5511. }
  5512. type ListFleetsOutput struct {
  5513. _ struct{} `type:"structure"`
  5514. // A list of fleet details meeting the request criteria.
  5515. FleetDetails []*Fleet `locationName:"fleetDetails" type:"list"`
  5516. // The nextToken value to include in a future ListDeploymentJobs request. When
  5517. // the results of a ListFleets request exceed maxResults, this value can be
  5518. // used to retrieve the next page of results. This value is null when there
  5519. // are no more results to return.
  5520. NextToken *string `locationName:"nextToken" min:"1" type:"string"`
  5521. }
  5522. // String returns the string representation
  5523. func (s ListFleetsOutput) String() string {
  5524. return awsutil.Prettify(s)
  5525. }
  5526. // GoString returns the string representation
  5527. func (s ListFleetsOutput) GoString() string {
  5528. return s.String()
  5529. }
  5530. // SetFleetDetails sets the FleetDetails field's value.
  5531. func (s *ListFleetsOutput) SetFleetDetails(v []*Fleet) *ListFleetsOutput {
  5532. s.FleetDetails = v
  5533. return s
  5534. }
  5535. // SetNextToken sets the NextToken field's value.
  5536. func (s *ListFleetsOutput) SetNextToken(v string) *ListFleetsOutput {
  5537. s.NextToken = &v
  5538. return s
  5539. }
  5540. type ListRobotApplicationsInput struct {
  5541. _ struct{} `type:"structure"`
  5542. // Optional filters to limit results.
  5543. Filters []*Filter `locationName:"filters" min:"1" type:"list"`
  5544. // The maximum number of deployment job results returned by ListRobotApplications
  5545. // in paginated output. When this parameter is used, ListRobotApplications only
  5546. // returns maxResults results in a single page along with a nextToken response
  5547. // element. The remaining results of the initial request can be seen by sending
  5548. // another ListFleets request with the returned nextToken value. This value
  5549. // can be between 1 and 100. If this parameter is not used, then ListRobotApplications
  5550. // returns up to 100 results and a nextToken value if applicable.
  5551. MaxResults *int64 `locationName:"maxResults" type:"integer"`
  5552. // The nextToken value returned from a previous paginated ListRobotApplications
  5553. // request where maxResults was used and the results exceeded the value of that
  5554. // parameter. Pagination continues from the end of the previous results that
  5555. // returned the nextToken value.
  5556. //
  5557. // This token should be treated as an opaque identifier that is only used to
  5558. // retrieve the next items in a list and not for other programmatic purposes.
  5559. NextToken *string `locationName:"nextToken" min:"1" type:"string"`
  5560. // The version qualifier of the robot application.
  5561. VersionQualifier *string `locationName:"versionQualifier" type:"string"`
  5562. }
  5563. // String returns the string representation
  5564. func (s ListRobotApplicationsInput) String() string {
  5565. return awsutil.Prettify(s)
  5566. }
  5567. // GoString returns the string representation
  5568. func (s ListRobotApplicationsInput) GoString() string {
  5569. return s.String()
  5570. }
  5571. // Validate inspects the fields of the type to determine if they are valid.
  5572. func (s *ListRobotApplicationsInput) Validate() error {
  5573. invalidParams := request.ErrInvalidParams{Context: "ListRobotApplicationsInput"}
  5574. if s.Filters != nil && len(s.Filters) < 1 {
  5575. invalidParams.Add(request.NewErrParamMinLen("Filters", 1))
  5576. }
  5577. if s.NextToken != nil && len(*s.NextToken) < 1 {
  5578. invalidParams.Add(request.NewErrParamMinLen("NextToken", 1))
  5579. }
  5580. if s.Filters != nil {
  5581. for i, v := range s.Filters {
  5582. if v == nil {
  5583. continue
  5584. }
  5585. if err := v.Validate(); err != nil {
  5586. invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Filters", i), err.(request.ErrInvalidParams))
  5587. }
  5588. }
  5589. }
  5590. if invalidParams.Len() > 0 {
  5591. return invalidParams
  5592. }
  5593. return nil
  5594. }
  5595. // SetFilters sets the Filters field's value.
  5596. func (s *ListRobotApplicationsInput) SetFilters(v []*Filter) *ListRobotApplicationsInput {
  5597. s.Filters = v
  5598. return s
  5599. }
  5600. // SetMaxResults sets the MaxResults field's value.
  5601. func (s *ListRobotApplicationsInput) SetMaxResults(v int64) *ListRobotApplicationsInput {
  5602. s.MaxResults = &v
  5603. return s
  5604. }
  5605. // SetNextToken sets the NextToken field's value.
  5606. func (s *ListRobotApplicationsInput) SetNextToken(v string) *ListRobotApplicationsInput {
  5607. s.NextToken = &v
  5608. return s
  5609. }
  5610. // SetVersionQualifier sets the VersionQualifier field's value.
  5611. func (s *ListRobotApplicationsInput) SetVersionQualifier(v string) *ListRobotApplicationsInput {
  5612. s.VersionQualifier = &v
  5613. return s
  5614. }
  5615. type ListRobotApplicationsOutput struct {
  5616. _ struct{} `type:"structure"`
  5617. // The nextToken value to include in a future ListRobotApplications request.
  5618. // When the results of a ListRobotApplications request exceed maxResults, this
  5619. // value can be used to retrieve the next page of results. This value is null
  5620. // when there are no more results to return.
  5621. NextToken *string `locationName:"nextToken" min:"1" type:"string"`
  5622. // A list of robot application summaries that meet the criteria of the request.
  5623. RobotApplicationSummaries []*RobotApplicationSummary `locationName:"robotApplicationSummaries" type:"list"`
  5624. }
  5625. // String returns the string representation
  5626. func (s ListRobotApplicationsOutput) String() string {
  5627. return awsutil.Prettify(s)
  5628. }
  5629. // GoString returns the string representation
  5630. func (s ListRobotApplicationsOutput) GoString() string {
  5631. return s.String()
  5632. }
  5633. // SetNextToken sets the NextToken field's value.
  5634. func (s *ListRobotApplicationsOutput) SetNextToken(v string) *ListRobotApplicationsOutput {
  5635. s.NextToken = &v
  5636. return s
  5637. }
  5638. // SetRobotApplicationSummaries sets the RobotApplicationSummaries field's value.
  5639. func (s *ListRobotApplicationsOutput) SetRobotApplicationSummaries(v []*RobotApplicationSummary) *ListRobotApplicationsOutput {
  5640. s.RobotApplicationSummaries = v
  5641. return s
  5642. }
  5643. type ListRobotsInput struct {
  5644. _ struct{} `type:"structure"`
  5645. // Optional filters to limit results.
  5646. Filters []*Filter `locationName:"filters" min:"1" type:"list"`
  5647. // The maximum number of deployment job results returned by ListRobots in paginated
  5648. // output. When this parameter is used, ListRobots only returns maxResults results
  5649. // in a single page along with a nextToken response element. The remaining results
  5650. // of the initial request can be seen by sending another ListFleets request
  5651. // with the returned nextToken value. This value can be between 1 and 100. If
  5652. // this parameter is not used, then ListRobots returns up to 100 results and
  5653. // a nextToken value if applicable.
  5654. MaxResults *int64 `locationName:"maxResults" type:"integer"`
  5655. // The nextToken value returned from a previous paginated ListRobots request
  5656. // where maxResults was used and the results exceeded the value of that parameter.
  5657. // Pagination continues from the end of the previous results that returned the
  5658. // nextToken value.
  5659. //
  5660. // This token should be treated as an opaque identifier that is only used to
  5661. // retrieve the next items in a list and not for other programmatic purposes.
  5662. NextToken *string `locationName:"nextToken" min:"1" type:"string"`
  5663. }
  5664. // String returns the string representation
  5665. func (s ListRobotsInput) String() string {
  5666. return awsutil.Prettify(s)
  5667. }
  5668. // GoString returns the string representation
  5669. func (s ListRobotsInput) GoString() string {
  5670. return s.String()
  5671. }
  5672. // Validate inspects the fields of the type to determine if they are valid.
  5673. func (s *ListRobotsInput) Validate() error {
  5674. invalidParams := request.ErrInvalidParams{Context: "ListRobotsInput"}
  5675. if s.Filters != nil && len(s.Filters) < 1 {
  5676. invalidParams.Add(request.NewErrParamMinLen("Filters", 1))
  5677. }
  5678. if s.NextToken != nil && len(*s.NextToken) < 1 {
  5679. invalidParams.Add(request.NewErrParamMinLen("NextToken", 1))
  5680. }
  5681. if s.Filters != nil {
  5682. for i, v := range s.Filters {
  5683. if v == nil {
  5684. continue
  5685. }
  5686. if err := v.Validate(); err != nil {
  5687. invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Filters", i), err.(request.ErrInvalidParams))
  5688. }
  5689. }
  5690. }
  5691. if invalidParams.Len() > 0 {
  5692. return invalidParams
  5693. }
  5694. return nil
  5695. }
  5696. // SetFilters sets the Filters field's value.
  5697. func (s *ListRobotsInput) SetFilters(v []*Filter) *ListRobotsInput {
  5698. s.Filters = v
  5699. return s
  5700. }
  5701. // SetMaxResults sets the MaxResults field's value.
  5702. func (s *ListRobotsInput) SetMaxResults(v int64) *ListRobotsInput {
  5703. s.MaxResults = &v
  5704. return s
  5705. }
  5706. // SetNextToken sets the NextToken field's value.
  5707. func (s *ListRobotsInput) SetNextToken(v string) *ListRobotsInput {
  5708. s.NextToken = &v
  5709. return s
  5710. }
  5711. type ListRobotsOutput struct {
  5712. _ struct{} `type:"structure"`
  5713. // The nextToken value to include in a future ListRobots request. When the results
  5714. // of a ListRobot request exceed maxResults, this value can be used to retrieve
  5715. // the next page of results. This value is null when there are no more results
  5716. // to return.
  5717. NextToken *string `locationName:"nextToken" min:"1" type:"string"`
  5718. // A list of robots that meet the criteria of the request.
  5719. Robots []*Robot `locationName:"robots" type:"list"`
  5720. }
  5721. // String returns the string representation
  5722. func (s ListRobotsOutput) String() string {
  5723. return awsutil.Prettify(s)
  5724. }
  5725. // GoString returns the string representation
  5726. func (s ListRobotsOutput) GoString() string {
  5727. return s.String()
  5728. }
  5729. // SetNextToken sets the NextToken field's value.
  5730. func (s *ListRobotsOutput) SetNextToken(v string) *ListRobotsOutput {
  5731. s.NextToken = &v
  5732. return s
  5733. }
  5734. // SetRobots sets the Robots field's value.
  5735. func (s *ListRobotsOutput) SetRobots(v []*Robot) *ListRobotsOutput {
  5736. s.Robots = v
  5737. return s
  5738. }
  5739. type ListSimulationApplicationsInput struct {
  5740. _ struct{} `type:"structure"`
  5741. // Optional list of filters to limit results. The only valid filter name is
  5742. // name.
  5743. Filters []*Filter `locationName:"filters" min:"1" type:"list"`
  5744. // The maximum number of deployment job results returned by ListSimulationApplications
  5745. // in paginated output. When this parameter is used, ListSimulationApplications
  5746. // only returns maxResults results in a single page along with a nextToken response
  5747. // element. The remaining results of the initial request can be seen by sending
  5748. // another ListFleets request with the returned nextToken value. This value
  5749. // can be between 1 and 100. If this parameter is not used, then ListSimulationApplications
  5750. // returns up to 100 results and a nextToken value if applicable.
  5751. MaxResults *int64 `locationName:"maxResults" type:"integer"`
  5752. // The nextToken value returned from a previous paginated ListSimulationApplications
  5753. // request where maxResults was used and the results exceeded the value of that
  5754. // parameter. Pagination continues from the end of the previous results that
  5755. // returned the nextToken value.
  5756. //
  5757. // This token should be treated as an opaque identifier that is only used to
  5758. // retrieve the next items in a list and not for other programmatic purposes.
  5759. NextToken *string `locationName:"nextToken" min:"1" type:"string"`
  5760. // The version qualifier of the simulation application.
  5761. VersionQualifier *string `locationName:"versionQualifier" type:"string"`
  5762. }
  5763. // String returns the string representation
  5764. func (s ListSimulationApplicationsInput) String() string {
  5765. return awsutil.Prettify(s)
  5766. }
  5767. // GoString returns the string representation
  5768. func (s ListSimulationApplicationsInput) GoString() string {
  5769. return s.String()
  5770. }
  5771. // Validate inspects the fields of the type to determine if they are valid.
  5772. func (s *ListSimulationApplicationsInput) Validate() error {
  5773. invalidParams := request.ErrInvalidParams{Context: "ListSimulationApplicationsInput"}
  5774. if s.Filters != nil && len(s.Filters) < 1 {
  5775. invalidParams.Add(request.NewErrParamMinLen("Filters", 1))
  5776. }
  5777. if s.NextToken != nil && len(*s.NextToken) < 1 {
  5778. invalidParams.Add(request.NewErrParamMinLen("NextToken", 1))
  5779. }
  5780. if s.Filters != nil {
  5781. for i, v := range s.Filters {
  5782. if v == nil {
  5783. continue
  5784. }
  5785. if err := v.Validate(); err != nil {
  5786. invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Filters", i), err.(request.ErrInvalidParams))
  5787. }
  5788. }
  5789. }
  5790. if invalidParams.Len() > 0 {
  5791. return invalidParams
  5792. }
  5793. return nil
  5794. }
  5795. // SetFilters sets the Filters field's value.
  5796. func (s *ListSimulationApplicationsInput) SetFilters(v []*Filter) *ListSimulationApplicationsInput {
  5797. s.Filters = v
  5798. return s
  5799. }
  5800. // SetMaxResults sets the MaxResults field's value.
  5801. func (s *ListSimulationApplicationsInput) SetMaxResults(v int64) *ListSimulationApplicationsInput {
  5802. s.MaxResults = &v
  5803. return s
  5804. }
  5805. // SetNextToken sets the NextToken field's value.
  5806. func (s *ListSimulationApplicationsInput) SetNextToken(v string) *ListSimulationApplicationsInput {
  5807. s.NextToken = &v
  5808. return s
  5809. }
  5810. // SetVersionQualifier sets the VersionQualifier field's value.
  5811. func (s *ListSimulationApplicationsInput) SetVersionQualifier(v string) *ListSimulationApplicationsInput {
  5812. s.VersionQualifier = &v
  5813. return s
  5814. }
  5815. type ListSimulationApplicationsOutput struct {
  5816. _ struct{} `type:"structure"`
  5817. // The nextToken value to include in a future ListSimulationApplications request.
  5818. // When the results of a ListRobot request exceed maxResults, this value can
  5819. // be used to retrieve the next page of results. This value is null when there
  5820. // are no more results to return.
  5821. NextToken *string `locationName:"nextToken" min:"1" type:"string"`
  5822. // A list of simulation application summaries that meet the criteria of the
  5823. // request.
  5824. SimulationApplicationSummaries []*SimulationApplicationSummary `locationName:"simulationApplicationSummaries" type:"list"`
  5825. }
  5826. // String returns the string representation
  5827. func (s ListSimulationApplicationsOutput) String() string {
  5828. return awsutil.Prettify(s)
  5829. }
  5830. // GoString returns the string representation
  5831. func (s ListSimulationApplicationsOutput) GoString() string {
  5832. return s.String()
  5833. }
  5834. // SetNextToken sets the NextToken field's value.
  5835. func (s *ListSimulationApplicationsOutput) SetNextToken(v string) *ListSimulationApplicationsOutput {
  5836. s.NextToken = &v
  5837. return s
  5838. }
  5839. // SetSimulationApplicationSummaries sets the SimulationApplicationSummaries field's value.
  5840. func (s *ListSimulationApplicationsOutput) SetSimulationApplicationSummaries(v []*SimulationApplicationSummary) *ListSimulationApplicationsOutput {
  5841. s.SimulationApplicationSummaries = v
  5842. return s
  5843. }
  5844. type ListSimulationJobsInput struct {
  5845. _ struct{} `type:"structure"`
  5846. // Optional filters to limit results.
  5847. Filters []*Filter `locationName:"filters" min:"1" type:"list"`
  5848. // The maximum number of deployment job results returned by ListSimulationJobs
  5849. // in paginated output. When this parameter is used, ListSimulationJobs only
  5850. // returns maxResults results in a single page along with a nextToken response
  5851. // element. The remaining results of the initial request can be seen by sending
  5852. // another ListFleets request with the returned nextToken value. This value
  5853. // can be between 1 and 100. If this parameter is not used, then ListSimulationJobs
  5854. // returns up to 100 results and a nextToken value if applicable.
  5855. MaxResults *int64 `locationName:"maxResults" type:"integer"`
  5856. // The nextToken value returned from a previous paginated ListSimulationJobs
  5857. // request where maxResults was used and the results exceeded the value of that
  5858. // parameter. Pagination continues from the end of the previous results that
  5859. // returned the nextToken value.
  5860. //
  5861. // This token should be treated as an opaque identifier that is only used to
  5862. // retrieve the next items in a list and not for other programmatic purposes.
  5863. NextToken *string `locationName:"nextToken" min:"1" type:"string"`
  5864. }
  5865. // String returns the string representation
  5866. func (s ListSimulationJobsInput) String() string {
  5867. return awsutil.Prettify(s)
  5868. }
  5869. // GoString returns the string representation
  5870. func (s ListSimulationJobsInput) GoString() string {
  5871. return s.String()
  5872. }
  5873. // Validate inspects the fields of the type to determine if they are valid.
  5874. func (s *ListSimulationJobsInput) Validate() error {
  5875. invalidParams := request.ErrInvalidParams{Context: "ListSimulationJobsInput"}
  5876. if s.Filters != nil && len(s.Filters) < 1 {
  5877. invalidParams.Add(request.NewErrParamMinLen("Filters", 1))
  5878. }
  5879. if s.NextToken != nil && len(*s.NextToken) < 1 {
  5880. invalidParams.Add(request.NewErrParamMinLen("NextToken", 1))
  5881. }
  5882. if s.Filters != nil {
  5883. for i, v := range s.Filters {
  5884. if v == nil {
  5885. continue
  5886. }
  5887. if err := v.Validate(); err != nil {
  5888. invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Filters", i), err.(request.ErrInvalidParams))
  5889. }
  5890. }
  5891. }
  5892. if invalidParams.Len() > 0 {
  5893. return invalidParams
  5894. }
  5895. return nil
  5896. }
  5897. // SetFilters sets the Filters field's value.
  5898. func (s *ListSimulationJobsInput) SetFilters(v []*Filter) *ListSimulationJobsInput {
  5899. s.Filters = v
  5900. return s
  5901. }
  5902. // SetMaxResults sets the MaxResults field's value.
  5903. func (s *ListSimulationJobsInput) SetMaxResults(v int64) *ListSimulationJobsInput {
  5904. s.MaxResults = &v
  5905. return s
  5906. }
  5907. // SetNextToken sets the NextToken field's value.
  5908. func (s *ListSimulationJobsInput) SetNextToken(v string) *ListSimulationJobsInput {
  5909. s.NextToken = &v
  5910. return s
  5911. }
  5912. type ListSimulationJobsOutput struct {
  5913. _ struct{} `type:"structure"`
  5914. // The nextToken value to include in a future ListSimulationJobs request. When
  5915. // the results of a ListRobot request exceed maxResults, this value can be used
  5916. // to retrieve the next page of results. This value is null when there are no
  5917. // more results to return.
  5918. NextToken *string `locationName:"nextToken" min:"1" type:"string"`
  5919. // A list of simulation job summaries that meet the criteria of the request.
  5920. //
  5921. // SimulationJobSummaries is a required field
  5922. SimulationJobSummaries []*SimulationJobSummary `locationName:"simulationJobSummaries" type:"list" required:"true"`
  5923. }
  5924. // String returns the string representation
  5925. func (s ListSimulationJobsOutput) String() string {
  5926. return awsutil.Prettify(s)
  5927. }
  5928. // GoString returns the string representation
  5929. func (s ListSimulationJobsOutput) GoString() string {
  5930. return s.String()
  5931. }
  5932. // SetNextToken sets the NextToken field's value.
  5933. func (s *ListSimulationJobsOutput) SetNextToken(v string) *ListSimulationJobsOutput {
  5934. s.NextToken = &v
  5935. return s
  5936. }
  5937. // SetSimulationJobSummaries sets the SimulationJobSummaries field's value.
  5938. func (s *ListSimulationJobsOutput) SetSimulationJobSummaries(v []*SimulationJobSummary) *ListSimulationJobsOutput {
  5939. s.SimulationJobSummaries = v
  5940. return s
  5941. }
  5942. // The output location.
  5943. type OutputLocation struct {
  5944. _ struct{} `type:"structure"`
  5945. // The S3 bucket for output.
  5946. S3Bucket *string `locationName:"s3Bucket" min:"3" type:"string"`
  5947. // The S3 folder in the s3Bucket where output files will be placed.
  5948. S3Prefix *string `locationName:"s3Prefix" min:"1" type:"string"`
  5949. }
  5950. // String returns the string representation
  5951. func (s OutputLocation) String() string {
  5952. return awsutil.Prettify(s)
  5953. }
  5954. // GoString returns the string representation
  5955. func (s OutputLocation) GoString() string {
  5956. return s.String()
  5957. }
  5958. // Validate inspects the fields of the type to determine if they are valid.
  5959. func (s *OutputLocation) Validate() error {
  5960. invalidParams := request.ErrInvalidParams{Context: "OutputLocation"}
  5961. if s.S3Bucket != nil && len(*s.S3Bucket) < 3 {
  5962. invalidParams.Add(request.NewErrParamMinLen("S3Bucket", 3))
  5963. }
  5964. if s.S3Prefix != nil && len(*s.S3Prefix) < 1 {
  5965. invalidParams.Add(request.NewErrParamMinLen("S3Prefix", 1))
  5966. }
  5967. if invalidParams.Len() > 0 {
  5968. return invalidParams
  5969. }
  5970. return nil
  5971. }
  5972. // SetS3Bucket sets the S3Bucket field's value.
  5973. func (s *OutputLocation) SetS3Bucket(v string) *OutputLocation {
  5974. s.S3Bucket = &v
  5975. return s
  5976. }
  5977. // SetS3Prefix sets the S3Prefix field's value.
  5978. func (s *OutputLocation) SetS3Prefix(v string) *OutputLocation {
  5979. s.S3Prefix = &v
  5980. return s
  5981. }
  5982. // Information about the progress of a deployment job.
  5983. type ProgressDetail struct {
  5984. _ struct{} `type:"structure"`
  5985. // The current progress status.
  5986. CurrentProgress *string `locationName:"currentProgress" type:"string"`
  5987. // The Amazon Resource Name (ARN) of the deployment job.
  5988. TargetResource *string `locationName:"targetResource" type:"string"`
  5989. }
  5990. // String returns the string representation
  5991. func (s ProgressDetail) String() string {
  5992. return awsutil.Prettify(s)
  5993. }
  5994. // GoString returns the string representation
  5995. func (s ProgressDetail) GoString() string {
  5996. return s.String()
  5997. }
  5998. // SetCurrentProgress sets the CurrentProgress field's value.
  5999. func (s *ProgressDetail) SetCurrentProgress(v string) *ProgressDetail {
  6000. s.CurrentProgress = &v
  6001. return s
  6002. }
  6003. // SetTargetResource sets the TargetResource field's value.
  6004. func (s *ProgressDetail) SetTargetResource(v string) *ProgressDetail {
  6005. s.TargetResource = &v
  6006. return s
  6007. }
  6008. type RegisterRobotInput struct {
  6009. _ struct{} `type:"structure"`
  6010. // The Amazon Resource Name (ARN) of the fleet.
  6011. //
  6012. // Fleet is a required field
  6013. Fleet *string `locationName:"fleet" min:"1" type:"string" required:"true"`
  6014. // The Amazon Resource Name (ARN) of the robot.
  6015. //
  6016. // Robot is a required field
  6017. Robot *string `locationName:"robot" min:"1" type:"string" required:"true"`
  6018. }
  6019. // String returns the string representation
  6020. func (s RegisterRobotInput) String() string {
  6021. return awsutil.Prettify(s)
  6022. }
  6023. // GoString returns the string representation
  6024. func (s RegisterRobotInput) GoString() string {
  6025. return s.String()
  6026. }
  6027. // Validate inspects the fields of the type to determine if they are valid.
  6028. func (s *RegisterRobotInput) Validate() error {
  6029. invalidParams := request.ErrInvalidParams{Context: "RegisterRobotInput"}
  6030. if s.Fleet == nil {
  6031. invalidParams.Add(request.NewErrParamRequired("Fleet"))
  6032. }
  6033. if s.Fleet != nil && len(*s.Fleet) < 1 {
  6034. invalidParams.Add(request.NewErrParamMinLen("Fleet", 1))
  6035. }
  6036. if s.Robot == nil {
  6037. invalidParams.Add(request.NewErrParamRequired("Robot"))
  6038. }
  6039. if s.Robot != nil && len(*s.Robot) < 1 {
  6040. invalidParams.Add(request.NewErrParamMinLen("Robot", 1))
  6041. }
  6042. if invalidParams.Len() > 0 {
  6043. return invalidParams
  6044. }
  6045. return nil
  6046. }
  6047. // SetFleet sets the Fleet field's value.
  6048. func (s *RegisterRobotInput) SetFleet(v string) *RegisterRobotInput {
  6049. s.Fleet = &v
  6050. return s
  6051. }
  6052. // SetRobot sets the Robot field's value.
  6053. func (s *RegisterRobotInput) SetRobot(v string) *RegisterRobotInput {
  6054. s.Robot = &v
  6055. return s
  6056. }
  6057. type RegisterRobotOutput struct {
  6058. _ struct{} `type:"structure"`
  6059. // The Amazon Resource Name (ARN) of the fleet that the robot will join.
  6060. Fleet *string `locationName:"fleet" min:"1" type:"string"`
  6061. // Information about the robot registration.
  6062. Robot *string `locationName:"robot" min:"1" type:"string"`
  6063. }
  6064. // String returns the string representation
  6065. func (s RegisterRobotOutput) String() string {
  6066. return awsutil.Prettify(s)
  6067. }
  6068. // GoString returns the string representation
  6069. func (s RegisterRobotOutput) GoString() string {
  6070. return s.String()
  6071. }
  6072. // SetFleet sets the Fleet field's value.
  6073. func (s *RegisterRobotOutput) SetFleet(v string) *RegisterRobotOutput {
  6074. s.Fleet = &v
  6075. return s
  6076. }
  6077. // SetRobot sets the Robot field's value.
  6078. func (s *RegisterRobotOutput) SetRobot(v string) *RegisterRobotOutput {
  6079. s.Robot = &v
  6080. return s
  6081. }
  6082. // Information about a rendering engine.
  6083. type RenderingEngine struct {
  6084. _ struct{} `type:"structure"`
  6085. // The name of the rendering engine.
  6086. Name *string `locationName:"name" type:"string" enum:"RenderingEngineType"`
  6087. // The version of the rendering engine.
  6088. Version *string `locationName:"version" type:"string"`
  6089. }
  6090. // String returns the string representation
  6091. func (s RenderingEngine) String() string {
  6092. return awsutil.Prettify(s)
  6093. }
  6094. // GoString returns the string representation
  6095. func (s RenderingEngine) GoString() string {
  6096. return s.String()
  6097. }
  6098. // SetName sets the Name field's value.
  6099. func (s *RenderingEngine) SetName(v string) *RenderingEngine {
  6100. s.Name = &v
  6101. return s
  6102. }
  6103. // SetVersion sets the Version field's value.
  6104. func (s *RenderingEngine) SetVersion(v string) *RenderingEngine {
  6105. s.Version = &v
  6106. return s
  6107. }
  6108. type RestartSimulationJobInput struct {
  6109. _ struct{} `type:"structure"`
  6110. // The Amazon Resource Name (ARN) of the simulation job.
  6111. //
  6112. // Job is a required field
  6113. Job *string `locationName:"job" min:"1" type:"string" required:"true"`
  6114. }
  6115. // String returns the string representation
  6116. func (s RestartSimulationJobInput) String() string {
  6117. return awsutil.Prettify(s)
  6118. }
  6119. // GoString returns the string representation
  6120. func (s RestartSimulationJobInput) GoString() string {
  6121. return s.String()
  6122. }
  6123. // Validate inspects the fields of the type to determine if they are valid.
  6124. func (s *RestartSimulationJobInput) Validate() error {
  6125. invalidParams := request.ErrInvalidParams{Context: "RestartSimulationJobInput"}
  6126. if s.Job == nil {
  6127. invalidParams.Add(request.NewErrParamRequired("Job"))
  6128. }
  6129. if s.Job != nil && len(*s.Job) < 1 {
  6130. invalidParams.Add(request.NewErrParamMinLen("Job", 1))
  6131. }
  6132. if invalidParams.Len() > 0 {
  6133. return invalidParams
  6134. }
  6135. return nil
  6136. }
  6137. // SetJob sets the Job field's value.
  6138. func (s *RestartSimulationJobInput) SetJob(v string) *RestartSimulationJobInput {
  6139. s.Job = &v
  6140. return s
  6141. }
  6142. type RestartSimulationJobOutput struct {
  6143. _ struct{} `type:"structure"`
  6144. }
  6145. // String returns the string representation
  6146. func (s RestartSimulationJobOutput) String() string {
  6147. return awsutil.Prettify(s)
  6148. }
  6149. // GoString returns the string representation
  6150. func (s RestartSimulationJobOutput) GoString() string {
  6151. return s.String()
  6152. }
  6153. // Information about a robot.
  6154. type Robot struct {
  6155. _ struct{} `type:"structure"`
  6156. // The architecture of the robot.
  6157. Architecture *string `locationName:"architecture" type:"string" enum:"Architecture"`
  6158. // The Amazon Resource Name (ARN) of the robot.
  6159. Arn *string `locationName:"arn" min:"1" type:"string"`
  6160. // The time, in milliseconds since the epoch, when the robot was created.
  6161. CreatedAt *time.Time `locationName:"createdAt" type:"timestamp"`
  6162. // The Amazon Resource Name (ARN) of the fleet.
  6163. FleetArn *string `locationName:"fleetArn" min:"1" type:"string"`
  6164. // The Greengrass group associated with the robot.
  6165. GreenGrassGroupId *string `locationName:"greenGrassGroupId" min:"1" type:"string"`
  6166. // The Amazon Resource Name (ARN) of the last deployment job.
  6167. LastDeploymentJob *string `locationName:"lastDeploymentJob" min:"1" type:"string"`
  6168. // The time of the last deployment.
  6169. LastDeploymentTime *time.Time `locationName:"lastDeploymentTime" type:"timestamp"`
  6170. // The name of the robot.
  6171. Name *string `locationName:"name" min:"1" type:"string"`
  6172. // The status of the robot.
  6173. Status *string `locationName:"status" type:"string" enum:"RobotStatus"`
  6174. }
  6175. // String returns the string representation
  6176. func (s Robot) String() string {
  6177. return awsutil.Prettify(s)
  6178. }
  6179. // GoString returns the string representation
  6180. func (s Robot) GoString() string {
  6181. return s.String()
  6182. }
  6183. // SetArchitecture sets the Architecture field's value.
  6184. func (s *Robot) SetArchitecture(v string) *Robot {
  6185. s.Architecture = &v
  6186. return s
  6187. }
  6188. // SetArn sets the Arn field's value.
  6189. func (s *Robot) SetArn(v string) *Robot {
  6190. s.Arn = &v
  6191. return s
  6192. }
  6193. // SetCreatedAt sets the CreatedAt field's value.
  6194. func (s *Robot) SetCreatedAt(v time.Time) *Robot {
  6195. s.CreatedAt = &v
  6196. return s
  6197. }
  6198. // SetFleetArn sets the FleetArn field's value.
  6199. func (s *Robot) SetFleetArn(v string) *Robot {
  6200. s.FleetArn = &v
  6201. return s
  6202. }
  6203. // SetGreenGrassGroupId sets the GreenGrassGroupId field's value.
  6204. func (s *Robot) SetGreenGrassGroupId(v string) *Robot {
  6205. s.GreenGrassGroupId = &v
  6206. return s
  6207. }
  6208. // SetLastDeploymentJob sets the LastDeploymentJob field's value.
  6209. func (s *Robot) SetLastDeploymentJob(v string) *Robot {
  6210. s.LastDeploymentJob = &v
  6211. return s
  6212. }
  6213. // SetLastDeploymentTime sets the LastDeploymentTime field's value.
  6214. func (s *Robot) SetLastDeploymentTime(v time.Time) *Robot {
  6215. s.LastDeploymentTime = &v
  6216. return s
  6217. }
  6218. // SetName sets the Name field's value.
  6219. func (s *Robot) SetName(v string) *Robot {
  6220. s.Name = &v
  6221. return s
  6222. }
  6223. // SetStatus sets the Status field's value.
  6224. func (s *Robot) SetStatus(v string) *Robot {
  6225. s.Status = &v
  6226. return s
  6227. }
  6228. // Application configuration information for a robot.
  6229. type RobotApplicationConfig struct {
  6230. _ struct{} `type:"structure"`
  6231. // The application information for the robot application.
  6232. //
  6233. // Application is a required field
  6234. Application *string `locationName:"application" min:"1" type:"string" required:"true"`
  6235. // The version of the robot application.
  6236. ApplicationVersion *string `locationName:"applicationVersion" min:"1" type:"string"`
  6237. // The launch configuration for the robot application.
  6238. //
  6239. // LaunchConfig is a required field
  6240. LaunchConfig *LaunchConfig `locationName:"launchConfig" type:"structure" required:"true"`
  6241. }
  6242. // String returns the string representation
  6243. func (s RobotApplicationConfig) String() string {
  6244. return awsutil.Prettify(s)
  6245. }
  6246. // GoString returns the string representation
  6247. func (s RobotApplicationConfig) GoString() string {
  6248. return s.String()
  6249. }
  6250. // Validate inspects the fields of the type to determine if they are valid.
  6251. func (s *RobotApplicationConfig) Validate() error {
  6252. invalidParams := request.ErrInvalidParams{Context: "RobotApplicationConfig"}
  6253. if s.Application == nil {
  6254. invalidParams.Add(request.NewErrParamRequired("Application"))
  6255. }
  6256. if s.Application != nil && len(*s.Application) < 1 {
  6257. invalidParams.Add(request.NewErrParamMinLen("Application", 1))
  6258. }
  6259. if s.ApplicationVersion != nil && len(*s.ApplicationVersion) < 1 {
  6260. invalidParams.Add(request.NewErrParamMinLen("ApplicationVersion", 1))
  6261. }
  6262. if s.LaunchConfig == nil {
  6263. invalidParams.Add(request.NewErrParamRequired("LaunchConfig"))
  6264. }
  6265. if s.LaunchConfig != nil {
  6266. if err := s.LaunchConfig.Validate(); err != nil {
  6267. invalidParams.AddNested("LaunchConfig", err.(request.ErrInvalidParams))
  6268. }
  6269. }
  6270. if invalidParams.Len() > 0 {
  6271. return invalidParams
  6272. }
  6273. return nil
  6274. }
  6275. // SetApplication sets the Application field's value.
  6276. func (s *RobotApplicationConfig) SetApplication(v string) *RobotApplicationConfig {
  6277. s.Application = &v
  6278. return s
  6279. }
  6280. // SetApplicationVersion sets the ApplicationVersion field's value.
  6281. func (s *RobotApplicationConfig) SetApplicationVersion(v string) *RobotApplicationConfig {
  6282. s.ApplicationVersion = &v
  6283. return s
  6284. }
  6285. // SetLaunchConfig sets the LaunchConfig field's value.
  6286. func (s *RobotApplicationConfig) SetLaunchConfig(v *LaunchConfig) *RobotApplicationConfig {
  6287. s.LaunchConfig = v
  6288. return s
  6289. }
  6290. // Summary information for a robot application.
  6291. type RobotApplicationSummary struct {
  6292. _ struct{} `type:"structure"`
  6293. // The Amazon Resource Name (ARN) of the robot.
  6294. Arn *string `locationName:"arn" min:"1" type:"string"`
  6295. // The time, in milliseconds since the epoch, when the robot application was
  6296. // last updated.
  6297. LastUpdatedAt *time.Time `locationName:"lastUpdatedAt" type:"timestamp"`
  6298. // The name of the robot application.
  6299. Name *string `locationName:"name" min:"1" type:"string"`
  6300. // The version of the robot application.
  6301. Version *string `locationName:"version" min:"1" type:"string"`
  6302. }
  6303. // String returns the string representation
  6304. func (s RobotApplicationSummary) String() string {
  6305. return awsutil.Prettify(s)
  6306. }
  6307. // GoString returns the string representation
  6308. func (s RobotApplicationSummary) GoString() string {
  6309. return s.String()
  6310. }
  6311. // SetArn sets the Arn field's value.
  6312. func (s *RobotApplicationSummary) SetArn(v string) *RobotApplicationSummary {
  6313. s.Arn = &v
  6314. return s
  6315. }
  6316. // SetLastUpdatedAt sets the LastUpdatedAt field's value.
  6317. func (s *RobotApplicationSummary) SetLastUpdatedAt(v time.Time) *RobotApplicationSummary {
  6318. s.LastUpdatedAt = &v
  6319. return s
  6320. }
  6321. // SetName sets the Name field's value.
  6322. func (s *RobotApplicationSummary) SetName(v string) *RobotApplicationSummary {
  6323. s.Name = &v
  6324. return s
  6325. }
  6326. // SetVersion sets the Version field's value.
  6327. func (s *RobotApplicationSummary) SetVersion(v string) *RobotApplicationSummary {
  6328. s.Version = &v
  6329. return s
  6330. }
  6331. // Information about a robot deployment.
  6332. type RobotDeployment struct {
  6333. _ struct{} `type:"structure"`
  6334. // The robot deployment Amazon Resource Name (ARN).
  6335. Arn *string `locationName:"arn" min:"1" type:"string"`
  6336. // The time, in milliseconds since the epoch, when the deployment finished.
  6337. DeploymentFinishTime *time.Time `locationName:"deploymentFinishTime" type:"timestamp"`
  6338. // The time, in milliseconds since the epoch, when the deployment was started.
  6339. DeploymentStartTime *time.Time `locationName:"deploymentStartTime" type:"timestamp"`
  6340. // The robot deployment failure code.
  6341. FailureCode *string `locationName:"failureCode" type:"string" enum:"DeploymentJobErrorCode"`
  6342. // A short description of the reason why the robot deployment failed.
  6343. FailureReason *string `locationName:"failureReason" type:"string"`
  6344. // Information about how the deployment is progressing.
  6345. ProgressDetail *ProgressDetail `locationName:"progressDetail" type:"structure"`
  6346. // The status of the robot deployment.
  6347. Status *string `locationName:"status" type:"string" enum:"RobotStatus"`
  6348. }
  6349. // String returns the string representation
  6350. func (s RobotDeployment) String() string {
  6351. return awsutil.Prettify(s)
  6352. }
  6353. // GoString returns the string representation
  6354. func (s RobotDeployment) GoString() string {
  6355. return s.String()
  6356. }
  6357. // SetArn sets the Arn field's value.
  6358. func (s *RobotDeployment) SetArn(v string) *RobotDeployment {
  6359. s.Arn = &v
  6360. return s
  6361. }
  6362. // SetDeploymentFinishTime sets the DeploymentFinishTime field's value.
  6363. func (s *RobotDeployment) SetDeploymentFinishTime(v time.Time) *RobotDeployment {
  6364. s.DeploymentFinishTime = &v
  6365. return s
  6366. }
  6367. // SetDeploymentStartTime sets the DeploymentStartTime field's value.
  6368. func (s *RobotDeployment) SetDeploymentStartTime(v time.Time) *RobotDeployment {
  6369. s.DeploymentStartTime = &v
  6370. return s
  6371. }
  6372. // SetFailureCode sets the FailureCode field's value.
  6373. func (s *RobotDeployment) SetFailureCode(v string) *RobotDeployment {
  6374. s.FailureCode = &v
  6375. return s
  6376. }
  6377. // SetFailureReason sets the FailureReason field's value.
  6378. func (s *RobotDeployment) SetFailureReason(v string) *RobotDeployment {
  6379. s.FailureReason = &v
  6380. return s
  6381. }
  6382. // SetProgressDetail sets the ProgressDetail field's value.
  6383. func (s *RobotDeployment) SetProgressDetail(v *ProgressDetail) *RobotDeployment {
  6384. s.ProgressDetail = v
  6385. return s
  6386. }
  6387. // SetStatus sets the Status field's value.
  6388. func (s *RobotDeployment) SetStatus(v string) *RobotDeployment {
  6389. s.Status = &v
  6390. return s
  6391. }
  6392. // Information about a robot software suite.
  6393. type RobotSoftwareSuite struct {
  6394. _ struct{} `type:"structure"`
  6395. // The name of the robot software suite.
  6396. Name *string `locationName:"name" type:"string" enum:"RobotSoftwareSuiteType"`
  6397. // The version of the robot software suite.
  6398. Version *string `locationName:"version" type:"string" enum:"RobotSoftwareSuiteVersionType"`
  6399. }
  6400. // String returns the string representation
  6401. func (s RobotSoftwareSuite) String() string {
  6402. return awsutil.Prettify(s)
  6403. }
  6404. // GoString returns the string representation
  6405. func (s RobotSoftwareSuite) GoString() string {
  6406. return s.String()
  6407. }
  6408. // SetName sets the Name field's value.
  6409. func (s *RobotSoftwareSuite) SetName(v string) *RobotSoftwareSuite {
  6410. s.Name = &v
  6411. return s
  6412. }
  6413. // SetVersion sets the Version field's value.
  6414. func (s *RobotSoftwareSuite) SetVersion(v string) *RobotSoftwareSuite {
  6415. s.Version = &v
  6416. return s
  6417. }
  6418. // Information about a simulation application configuration.
  6419. type SimulationApplicationConfig struct {
  6420. _ struct{} `type:"structure"`
  6421. // The application information for the simulation application.
  6422. //
  6423. // Application is a required field
  6424. Application *string `locationName:"application" min:"1" type:"string" required:"true"`
  6425. // The version of the simulation application.
  6426. ApplicationVersion *string `locationName:"applicationVersion" min:"1" type:"string"`
  6427. // The launch configuration for the simulation application.
  6428. //
  6429. // LaunchConfig is a required field
  6430. LaunchConfig *LaunchConfig `locationName:"launchConfig" type:"structure" required:"true"`
  6431. }
  6432. // String returns the string representation
  6433. func (s SimulationApplicationConfig) String() string {
  6434. return awsutil.Prettify(s)
  6435. }
  6436. // GoString returns the string representation
  6437. func (s SimulationApplicationConfig) GoString() string {
  6438. return s.String()
  6439. }
  6440. // Validate inspects the fields of the type to determine if they are valid.
  6441. func (s *SimulationApplicationConfig) Validate() error {
  6442. invalidParams := request.ErrInvalidParams{Context: "SimulationApplicationConfig"}
  6443. if s.Application == nil {
  6444. invalidParams.Add(request.NewErrParamRequired("Application"))
  6445. }
  6446. if s.Application != nil && len(*s.Application) < 1 {
  6447. invalidParams.Add(request.NewErrParamMinLen("Application", 1))
  6448. }
  6449. if s.ApplicationVersion != nil && len(*s.ApplicationVersion) < 1 {
  6450. invalidParams.Add(request.NewErrParamMinLen("ApplicationVersion", 1))
  6451. }
  6452. if s.LaunchConfig == nil {
  6453. invalidParams.Add(request.NewErrParamRequired("LaunchConfig"))
  6454. }
  6455. if s.LaunchConfig != nil {
  6456. if err := s.LaunchConfig.Validate(); err != nil {
  6457. invalidParams.AddNested("LaunchConfig", err.(request.ErrInvalidParams))
  6458. }
  6459. }
  6460. if invalidParams.Len() > 0 {
  6461. return invalidParams
  6462. }
  6463. return nil
  6464. }
  6465. // SetApplication sets the Application field's value.
  6466. func (s *SimulationApplicationConfig) SetApplication(v string) *SimulationApplicationConfig {
  6467. s.Application = &v
  6468. return s
  6469. }
  6470. // SetApplicationVersion sets the ApplicationVersion field's value.
  6471. func (s *SimulationApplicationConfig) SetApplicationVersion(v string) *SimulationApplicationConfig {
  6472. s.ApplicationVersion = &v
  6473. return s
  6474. }
  6475. // SetLaunchConfig sets the LaunchConfig field's value.
  6476. func (s *SimulationApplicationConfig) SetLaunchConfig(v *LaunchConfig) *SimulationApplicationConfig {
  6477. s.LaunchConfig = v
  6478. return s
  6479. }
  6480. // Summary information for a simulation application.
  6481. type SimulationApplicationSummary struct {
  6482. _ struct{} `type:"structure"`
  6483. // The Amazon Resource Name (ARN) of the simulation application.
  6484. Arn *string `locationName:"arn" min:"1" type:"string"`
  6485. // The time, in milliseconds since the epoch, when the simulation application
  6486. // was last updated.
  6487. LastUpdatedAt *time.Time `locationName:"lastUpdatedAt" type:"timestamp"`
  6488. // The name of the simulation application.
  6489. Name *string `locationName:"name" min:"1" type:"string"`
  6490. // The version of the simulation application.
  6491. Version *string `locationName:"version" min:"1" type:"string"`
  6492. }
  6493. // String returns the string representation
  6494. func (s SimulationApplicationSummary) String() string {
  6495. return awsutil.Prettify(s)
  6496. }
  6497. // GoString returns the string representation
  6498. func (s SimulationApplicationSummary) GoString() string {
  6499. return s.String()
  6500. }
  6501. // SetArn sets the Arn field's value.
  6502. func (s *SimulationApplicationSummary) SetArn(v string) *SimulationApplicationSummary {
  6503. s.Arn = &v
  6504. return s
  6505. }
  6506. // SetLastUpdatedAt sets the LastUpdatedAt field's value.
  6507. func (s *SimulationApplicationSummary) SetLastUpdatedAt(v time.Time) *SimulationApplicationSummary {
  6508. s.LastUpdatedAt = &v
  6509. return s
  6510. }
  6511. // SetName sets the Name field's value.
  6512. func (s *SimulationApplicationSummary) SetName(v string) *SimulationApplicationSummary {
  6513. s.Name = &v
  6514. return s
  6515. }
  6516. // SetVersion sets the Version field's value.
  6517. func (s *SimulationApplicationSummary) SetVersion(v string) *SimulationApplicationSummary {
  6518. s.Version = &v
  6519. return s
  6520. }
  6521. // Information about a simulation job.
  6522. type SimulationJob struct {
  6523. _ struct{} `type:"structure"`
  6524. // The Amazon Resource Name (ARN) of the simulation job.
  6525. Arn *string `locationName:"arn" min:"1" type:"string"`
  6526. // A unique identifier for this SimulationJob request.
  6527. ClientRequestToken *string `locationName:"clientRequestToken" min:"1" type:"string"`
  6528. // The failure behavior the simulation job.
  6529. //
  6530. // ContinueRestart the simulation job in the same host instance.
  6531. //
  6532. // FailStop the simulation job and terminate the instance.
  6533. FailureBehavior *string `locationName:"failureBehavior" type:"string" enum:"FailureBehavior"`
  6534. // The failure code of the simulation job if it failed.
  6535. FailureCode *string `locationName:"failureCode" type:"string" enum:"SimulationJobErrorCode"`
  6536. // The IAM role that allows the simulation instance to call the AWS APIs that
  6537. // are specified in its associated policies on your behalf. This is how credentials
  6538. // are passed in to your simulation job. See how to specify AWS security credentials
  6539. // for your application (https://docs.aws.amazon.com/toolkit-for-visual-studio/latest/user-guide/deployment-ecs-specify-credentials).
  6540. IamRole *string `locationName:"iamRole" min:"1" type:"string"`
  6541. // The time, in milliseconds since the epoch, when the simulation job was last
  6542. // updated.
  6543. LastUpdatedAt *time.Time `locationName:"lastUpdatedAt" type:"timestamp"`
  6544. // The maximum simulation job duration in seconds. The value must be 8 days
  6545. // (691,200 seconds) or less.
  6546. MaxJobDurationInSeconds *int64 `locationName:"maxJobDurationInSeconds" type:"long"`
  6547. // The name of the simulation job.
  6548. Name *string `locationName:"name" min:"1" type:"string"`
  6549. // Location for output files generated by the simulation job.
  6550. OutputLocation *OutputLocation `locationName:"outputLocation" type:"structure"`
  6551. // A list of robot applications.
  6552. RobotApplications []*RobotApplicationConfig `locationName:"robotApplications" min:"1" type:"list"`
  6553. // A list of simulation applications.
  6554. SimulationApplications []*SimulationApplicationConfig `locationName:"simulationApplications" min:"1" type:"list"`
  6555. // The simulation job execution duration in milliseconds.
  6556. SimulationTimeMillis *int64 `locationName:"simulationTimeMillis" type:"long"`
  6557. // Status of the simulation job.
  6558. Status *string `locationName:"status" type:"string" enum:"SimulationJobStatus"`
  6559. // VPC configuration information.
  6560. VpcConfig *VPCConfigResponse `locationName:"vpcConfig" type:"structure"`
  6561. }
  6562. // String returns the string representation
  6563. func (s SimulationJob) String() string {
  6564. return awsutil.Prettify(s)
  6565. }
  6566. // GoString returns the string representation
  6567. func (s SimulationJob) GoString() string {
  6568. return s.String()
  6569. }
  6570. // SetArn sets the Arn field's value.
  6571. func (s *SimulationJob) SetArn(v string) *SimulationJob {
  6572. s.Arn = &v
  6573. return s
  6574. }
  6575. // SetClientRequestToken sets the ClientRequestToken field's value.
  6576. func (s *SimulationJob) SetClientRequestToken(v string) *SimulationJob {
  6577. s.ClientRequestToken = &v
  6578. return s
  6579. }
  6580. // SetFailureBehavior sets the FailureBehavior field's value.
  6581. func (s *SimulationJob) SetFailureBehavior(v string) *SimulationJob {
  6582. s.FailureBehavior = &v
  6583. return s
  6584. }
  6585. // SetFailureCode sets the FailureCode field's value.
  6586. func (s *SimulationJob) SetFailureCode(v string) *SimulationJob {
  6587. s.FailureCode = &v
  6588. return s
  6589. }
  6590. // SetIamRole sets the IamRole field's value.
  6591. func (s *SimulationJob) SetIamRole(v string) *SimulationJob {
  6592. s.IamRole = &v
  6593. return s
  6594. }
  6595. // SetLastUpdatedAt sets the LastUpdatedAt field's value.
  6596. func (s *SimulationJob) SetLastUpdatedAt(v time.Time) *SimulationJob {
  6597. s.LastUpdatedAt = &v
  6598. return s
  6599. }
  6600. // SetMaxJobDurationInSeconds sets the MaxJobDurationInSeconds field's value.
  6601. func (s *SimulationJob) SetMaxJobDurationInSeconds(v int64) *SimulationJob {
  6602. s.MaxJobDurationInSeconds = &v
  6603. return s
  6604. }
  6605. // SetName sets the Name field's value.
  6606. func (s *SimulationJob) SetName(v string) *SimulationJob {
  6607. s.Name = &v
  6608. return s
  6609. }
  6610. // SetOutputLocation sets the OutputLocation field's value.
  6611. func (s *SimulationJob) SetOutputLocation(v *OutputLocation) *SimulationJob {
  6612. s.OutputLocation = v
  6613. return s
  6614. }
  6615. // SetRobotApplications sets the RobotApplications field's value.
  6616. func (s *SimulationJob) SetRobotApplications(v []*RobotApplicationConfig) *SimulationJob {
  6617. s.RobotApplications = v
  6618. return s
  6619. }
  6620. // SetSimulationApplications sets the SimulationApplications field's value.
  6621. func (s *SimulationJob) SetSimulationApplications(v []*SimulationApplicationConfig) *SimulationJob {
  6622. s.SimulationApplications = v
  6623. return s
  6624. }
  6625. // SetSimulationTimeMillis sets the SimulationTimeMillis field's value.
  6626. func (s *SimulationJob) SetSimulationTimeMillis(v int64) *SimulationJob {
  6627. s.SimulationTimeMillis = &v
  6628. return s
  6629. }
  6630. // SetStatus sets the Status field's value.
  6631. func (s *SimulationJob) SetStatus(v string) *SimulationJob {
  6632. s.Status = &v
  6633. return s
  6634. }
  6635. // SetVpcConfig sets the VpcConfig field's value.
  6636. func (s *SimulationJob) SetVpcConfig(v *VPCConfigResponse) *SimulationJob {
  6637. s.VpcConfig = v
  6638. return s
  6639. }
  6640. // Summary information for a simulation job.
  6641. type SimulationJobSummary struct {
  6642. _ struct{} `type:"structure"`
  6643. // The Amazon Resource Name (ARN) of the simulation job.
  6644. Arn *string `locationName:"arn" min:"1" type:"string"`
  6645. // The time, in milliseconds since the epoch, when the simulation job was last
  6646. // updated.
  6647. LastUpdatedAt *time.Time `locationName:"lastUpdatedAt" type:"timestamp"`
  6648. // The name of the simulation job.
  6649. Name *string `locationName:"name" min:"1" type:"string"`
  6650. // A list of simulation job robot application names.
  6651. RobotApplicationNames []*string `locationName:"robotApplicationNames" min:"1" type:"list"`
  6652. // A list of simulation job simulation application names.
  6653. SimulationApplicationNames []*string `locationName:"simulationApplicationNames" min:"1" type:"list"`
  6654. // The status of the simulation job.
  6655. Status *string `locationName:"status" type:"string" enum:"SimulationJobStatus"`
  6656. }
  6657. // String returns the string representation
  6658. func (s SimulationJobSummary) String() string {
  6659. return awsutil.Prettify(s)
  6660. }
  6661. // GoString returns the string representation
  6662. func (s SimulationJobSummary) GoString() string {
  6663. return s.String()
  6664. }
  6665. // SetArn sets the Arn field's value.
  6666. func (s *SimulationJobSummary) SetArn(v string) *SimulationJobSummary {
  6667. s.Arn = &v
  6668. return s
  6669. }
  6670. // SetLastUpdatedAt sets the LastUpdatedAt field's value.
  6671. func (s *SimulationJobSummary) SetLastUpdatedAt(v time.Time) *SimulationJobSummary {
  6672. s.LastUpdatedAt = &v
  6673. return s
  6674. }
  6675. // SetName sets the Name field's value.
  6676. func (s *SimulationJobSummary) SetName(v string) *SimulationJobSummary {
  6677. s.Name = &v
  6678. return s
  6679. }
  6680. // SetRobotApplicationNames sets the RobotApplicationNames field's value.
  6681. func (s *SimulationJobSummary) SetRobotApplicationNames(v []*string) *SimulationJobSummary {
  6682. s.RobotApplicationNames = v
  6683. return s
  6684. }
  6685. // SetSimulationApplicationNames sets the SimulationApplicationNames field's value.
  6686. func (s *SimulationJobSummary) SetSimulationApplicationNames(v []*string) *SimulationJobSummary {
  6687. s.SimulationApplicationNames = v
  6688. return s
  6689. }
  6690. // SetStatus sets the Status field's value.
  6691. func (s *SimulationJobSummary) SetStatus(v string) *SimulationJobSummary {
  6692. s.Status = &v
  6693. return s
  6694. }
  6695. // Information about a simulation software suite.
  6696. type SimulationSoftwareSuite struct {
  6697. _ struct{} `type:"structure"`
  6698. // The name of the simulation software suite.
  6699. Name *string `locationName:"name" type:"string" enum:"SimulationSoftwareSuiteType"`
  6700. // The version of the simulation software suite.
  6701. Version *string `locationName:"version" type:"string"`
  6702. }
  6703. // String returns the string representation
  6704. func (s SimulationSoftwareSuite) String() string {
  6705. return awsutil.Prettify(s)
  6706. }
  6707. // GoString returns the string representation
  6708. func (s SimulationSoftwareSuite) GoString() string {
  6709. return s.String()
  6710. }
  6711. // SetName sets the Name field's value.
  6712. func (s *SimulationSoftwareSuite) SetName(v string) *SimulationSoftwareSuite {
  6713. s.Name = &v
  6714. return s
  6715. }
  6716. // SetVersion sets the Version field's value.
  6717. func (s *SimulationSoftwareSuite) SetVersion(v string) *SimulationSoftwareSuite {
  6718. s.Version = &v
  6719. return s
  6720. }
  6721. // Information about a source.
  6722. type Source struct {
  6723. _ struct{} `type:"structure"`
  6724. // The taget processor architecture for the application.
  6725. Architecture *string `locationName:"architecture" type:"string" enum:"Architecture"`
  6726. // A hash of the object specified by s3Bucket and s3Key.
  6727. Etag *string `locationName:"etag" type:"string"`
  6728. // The s3 bucket name.
  6729. S3Bucket *string `locationName:"s3Bucket" min:"3" type:"string"`
  6730. // The s3 object key.
  6731. S3Key *string `locationName:"s3Key" min:"1" type:"string"`
  6732. }
  6733. // String returns the string representation
  6734. func (s Source) String() string {
  6735. return awsutil.Prettify(s)
  6736. }
  6737. // GoString returns the string representation
  6738. func (s Source) GoString() string {
  6739. return s.String()
  6740. }
  6741. // SetArchitecture sets the Architecture field's value.
  6742. func (s *Source) SetArchitecture(v string) *Source {
  6743. s.Architecture = &v
  6744. return s
  6745. }
  6746. // SetEtag sets the Etag field's value.
  6747. func (s *Source) SetEtag(v string) *Source {
  6748. s.Etag = &v
  6749. return s
  6750. }
  6751. // SetS3Bucket sets the S3Bucket field's value.
  6752. func (s *Source) SetS3Bucket(v string) *Source {
  6753. s.S3Bucket = &v
  6754. return s
  6755. }
  6756. // SetS3Key sets the S3Key field's value.
  6757. func (s *Source) SetS3Key(v string) *Source {
  6758. s.S3Key = &v
  6759. return s
  6760. }
  6761. // Information about a source configuration.
  6762. type SourceConfig struct {
  6763. _ struct{} `type:"structure"`
  6764. // The target processor architecture for the application.
  6765. Architecture *string `locationName:"architecture" type:"string" enum:"Architecture"`
  6766. // The Amazon S3 bucket name.
  6767. S3Bucket *string `locationName:"s3Bucket" min:"3" type:"string"`
  6768. // The s3 object key.
  6769. S3Key *string `locationName:"s3Key" min:"1" type:"string"`
  6770. }
  6771. // String returns the string representation
  6772. func (s SourceConfig) String() string {
  6773. return awsutil.Prettify(s)
  6774. }
  6775. // GoString returns the string representation
  6776. func (s SourceConfig) GoString() string {
  6777. return s.String()
  6778. }
  6779. // Validate inspects the fields of the type to determine if they are valid.
  6780. func (s *SourceConfig) Validate() error {
  6781. invalidParams := request.ErrInvalidParams{Context: "SourceConfig"}
  6782. if s.S3Bucket != nil && len(*s.S3Bucket) < 3 {
  6783. invalidParams.Add(request.NewErrParamMinLen("S3Bucket", 3))
  6784. }
  6785. if s.S3Key != nil && len(*s.S3Key) < 1 {
  6786. invalidParams.Add(request.NewErrParamMinLen("S3Key", 1))
  6787. }
  6788. if invalidParams.Len() > 0 {
  6789. return invalidParams
  6790. }
  6791. return nil
  6792. }
  6793. // SetArchitecture sets the Architecture field's value.
  6794. func (s *SourceConfig) SetArchitecture(v string) *SourceConfig {
  6795. s.Architecture = &v
  6796. return s
  6797. }
  6798. // SetS3Bucket sets the S3Bucket field's value.
  6799. func (s *SourceConfig) SetS3Bucket(v string) *SourceConfig {
  6800. s.S3Bucket = &v
  6801. return s
  6802. }
  6803. // SetS3Key sets the S3Key field's value.
  6804. func (s *SourceConfig) SetS3Key(v string) *SourceConfig {
  6805. s.S3Key = &v
  6806. return s
  6807. }
  6808. type SyncDeploymentJobInput struct {
  6809. _ struct{} `type:"structure"`
  6810. // Unique, case-sensitive identifier that you provide to ensure the idempotency
  6811. // of the request.
  6812. ClientRequestToken *string `locationName:"clientRequestToken" min:"1" type:"string" idempotencyToken:"true"`
  6813. // The target fleet for the synchronization.
  6814. //
  6815. // Fleet is a required field
  6816. Fleet *string `locationName:"fleet" min:"1" type:"string" required:"true"`
  6817. }
  6818. // String returns the string representation
  6819. func (s SyncDeploymentJobInput) String() string {
  6820. return awsutil.Prettify(s)
  6821. }
  6822. // GoString returns the string representation
  6823. func (s SyncDeploymentJobInput) GoString() string {
  6824. return s.String()
  6825. }
  6826. // Validate inspects the fields of the type to determine if they are valid.
  6827. func (s *SyncDeploymentJobInput) Validate() error {
  6828. invalidParams := request.ErrInvalidParams{Context: "SyncDeploymentJobInput"}
  6829. if s.ClientRequestToken != nil && len(*s.ClientRequestToken) < 1 {
  6830. invalidParams.Add(request.NewErrParamMinLen("ClientRequestToken", 1))
  6831. }
  6832. if s.Fleet == nil {
  6833. invalidParams.Add(request.NewErrParamRequired("Fleet"))
  6834. }
  6835. if s.Fleet != nil && len(*s.Fleet) < 1 {
  6836. invalidParams.Add(request.NewErrParamMinLen("Fleet", 1))
  6837. }
  6838. if invalidParams.Len() > 0 {
  6839. return invalidParams
  6840. }
  6841. return nil
  6842. }
  6843. // SetClientRequestToken sets the ClientRequestToken field's value.
  6844. func (s *SyncDeploymentJobInput) SetClientRequestToken(v string) *SyncDeploymentJobInput {
  6845. s.ClientRequestToken = &v
  6846. return s
  6847. }
  6848. // SetFleet sets the Fleet field's value.
  6849. func (s *SyncDeploymentJobInput) SetFleet(v string) *SyncDeploymentJobInput {
  6850. s.Fleet = &v
  6851. return s
  6852. }
  6853. type SyncDeploymentJobOutput struct {
  6854. _ struct{} `type:"structure"`
  6855. // The Amazon Resource Name (ARN) of the synchronization request.
  6856. Arn *string `locationName:"arn" min:"1" type:"string"`
  6857. // The time, in milliseconds since the epoch, when the fleet was created.
  6858. CreatedAt *time.Time `locationName:"createdAt" type:"timestamp"`
  6859. // Information about the deployment application configurations.
  6860. DeploymentApplicationConfigs []*DeploymentApplicationConfig `locationName:"deploymentApplicationConfigs" min:"1" type:"list"`
  6861. // Information about the deployment configuration.
  6862. DeploymentConfig *DeploymentConfig `locationName:"deploymentConfig" type:"structure"`
  6863. // The failure code if the job fails.
  6864. FailureCode *string `locationName:"failureCode" type:"string" enum:"DeploymentJobErrorCode"`
  6865. // The failure reason if the job fails.
  6866. FailureReason *string `locationName:"failureReason" type:"string"`
  6867. // The Amazon Resource Name (ARN) of the fleet.
  6868. Fleet *string `locationName:"fleet" min:"1" type:"string"`
  6869. // The status of the synchronization job.
  6870. Status *string `locationName:"status" type:"string" enum:"DeploymentStatus"`
  6871. }
  6872. // String returns the string representation
  6873. func (s SyncDeploymentJobOutput) String() string {
  6874. return awsutil.Prettify(s)
  6875. }
  6876. // GoString returns the string representation
  6877. func (s SyncDeploymentJobOutput) GoString() string {
  6878. return s.String()
  6879. }
  6880. // SetArn sets the Arn field's value.
  6881. func (s *SyncDeploymentJobOutput) SetArn(v string) *SyncDeploymentJobOutput {
  6882. s.Arn = &v
  6883. return s
  6884. }
  6885. // SetCreatedAt sets the CreatedAt field's value.
  6886. func (s *SyncDeploymentJobOutput) SetCreatedAt(v time.Time) *SyncDeploymentJobOutput {
  6887. s.CreatedAt = &v
  6888. return s
  6889. }
  6890. // SetDeploymentApplicationConfigs sets the DeploymentApplicationConfigs field's value.
  6891. func (s *SyncDeploymentJobOutput) SetDeploymentApplicationConfigs(v []*DeploymentApplicationConfig) *SyncDeploymentJobOutput {
  6892. s.DeploymentApplicationConfigs = v
  6893. return s
  6894. }
  6895. // SetDeploymentConfig sets the DeploymentConfig field's value.
  6896. func (s *SyncDeploymentJobOutput) SetDeploymentConfig(v *DeploymentConfig) *SyncDeploymentJobOutput {
  6897. s.DeploymentConfig = v
  6898. return s
  6899. }
  6900. // SetFailureCode sets the FailureCode field's value.
  6901. func (s *SyncDeploymentJobOutput) SetFailureCode(v string) *SyncDeploymentJobOutput {
  6902. s.FailureCode = &v
  6903. return s
  6904. }
  6905. // SetFailureReason sets the FailureReason field's value.
  6906. func (s *SyncDeploymentJobOutput) SetFailureReason(v string) *SyncDeploymentJobOutput {
  6907. s.FailureReason = &v
  6908. return s
  6909. }
  6910. // SetFleet sets the Fleet field's value.
  6911. func (s *SyncDeploymentJobOutput) SetFleet(v string) *SyncDeploymentJobOutput {
  6912. s.Fleet = &v
  6913. return s
  6914. }
  6915. // SetStatus sets the Status field's value.
  6916. func (s *SyncDeploymentJobOutput) SetStatus(v string) *SyncDeploymentJobOutput {
  6917. s.Status = &v
  6918. return s
  6919. }
  6920. type UpdateRobotApplicationInput struct {
  6921. _ struct{} `type:"structure"`
  6922. // The application information for the robot application.
  6923. //
  6924. // Application is a required field
  6925. Application *string `locationName:"application" min:"1" type:"string" required:"true"`
  6926. // The revision id for the robot application.
  6927. CurrentRevisionId *string `locationName:"currentRevisionId" min:"1" type:"string"`
  6928. // The robot software suite used by the robot application.
  6929. //
  6930. // RobotSoftwareSuite is a required field
  6931. RobotSoftwareSuite *RobotSoftwareSuite `locationName:"robotSoftwareSuite" type:"structure" required:"true"`
  6932. // The sources of the robot application.
  6933. //
  6934. // Sources is a required field
  6935. Sources []*SourceConfig `locationName:"sources" type:"list" required:"true"`
  6936. }
  6937. // String returns the string representation
  6938. func (s UpdateRobotApplicationInput) String() string {
  6939. return awsutil.Prettify(s)
  6940. }
  6941. // GoString returns the string representation
  6942. func (s UpdateRobotApplicationInput) GoString() string {
  6943. return s.String()
  6944. }
  6945. // Validate inspects the fields of the type to determine if they are valid.
  6946. func (s *UpdateRobotApplicationInput) Validate() error {
  6947. invalidParams := request.ErrInvalidParams{Context: "UpdateRobotApplicationInput"}
  6948. if s.Application == nil {
  6949. invalidParams.Add(request.NewErrParamRequired("Application"))
  6950. }
  6951. if s.Application != nil && len(*s.Application) < 1 {
  6952. invalidParams.Add(request.NewErrParamMinLen("Application", 1))
  6953. }
  6954. if s.CurrentRevisionId != nil && len(*s.CurrentRevisionId) < 1 {
  6955. invalidParams.Add(request.NewErrParamMinLen("CurrentRevisionId", 1))
  6956. }
  6957. if s.RobotSoftwareSuite == nil {
  6958. invalidParams.Add(request.NewErrParamRequired("RobotSoftwareSuite"))
  6959. }
  6960. if s.Sources == nil {
  6961. invalidParams.Add(request.NewErrParamRequired("Sources"))
  6962. }
  6963. if s.Sources != nil {
  6964. for i, v := range s.Sources {
  6965. if v == nil {
  6966. continue
  6967. }
  6968. if err := v.Validate(); err != nil {
  6969. invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Sources", i), err.(request.ErrInvalidParams))
  6970. }
  6971. }
  6972. }
  6973. if invalidParams.Len() > 0 {
  6974. return invalidParams
  6975. }
  6976. return nil
  6977. }
  6978. // SetApplication sets the Application field's value.
  6979. func (s *UpdateRobotApplicationInput) SetApplication(v string) *UpdateRobotApplicationInput {
  6980. s.Application = &v
  6981. return s
  6982. }
  6983. // SetCurrentRevisionId sets the CurrentRevisionId field's value.
  6984. func (s *UpdateRobotApplicationInput) SetCurrentRevisionId(v string) *UpdateRobotApplicationInput {
  6985. s.CurrentRevisionId = &v
  6986. return s
  6987. }
  6988. // SetRobotSoftwareSuite sets the RobotSoftwareSuite field's value.
  6989. func (s *UpdateRobotApplicationInput) SetRobotSoftwareSuite(v *RobotSoftwareSuite) *UpdateRobotApplicationInput {
  6990. s.RobotSoftwareSuite = v
  6991. return s
  6992. }
  6993. // SetSources sets the Sources field's value.
  6994. func (s *UpdateRobotApplicationInput) SetSources(v []*SourceConfig) *UpdateRobotApplicationInput {
  6995. s.Sources = v
  6996. return s
  6997. }
  6998. type UpdateRobotApplicationOutput struct {
  6999. _ struct{} `type:"structure"`
  7000. // The Amazon Resource Name (ARN) of the updated robot application.
  7001. Arn *string `locationName:"arn" min:"1" type:"string"`
  7002. // The time, in milliseconds since the epoch, when the robot application was
  7003. // last updated.
  7004. LastUpdatedAt *time.Time `locationName:"lastUpdatedAt" type:"timestamp"`
  7005. // The name of the robot application.
  7006. Name *string `locationName:"name" min:"1" type:"string"`
  7007. // The revision id of the robot application.
  7008. RevisionId *string `locationName:"revisionId" min:"1" type:"string"`
  7009. // The robot software suite used by the robot application.
  7010. RobotSoftwareSuite *RobotSoftwareSuite `locationName:"robotSoftwareSuite" type:"structure"`
  7011. // The sources of the robot application.
  7012. Sources []*Source `locationName:"sources" type:"list"`
  7013. // The version of the robot application.
  7014. Version *string `locationName:"version" min:"1" type:"string"`
  7015. }
  7016. // String returns the string representation
  7017. func (s UpdateRobotApplicationOutput) String() string {
  7018. return awsutil.Prettify(s)
  7019. }
  7020. // GoString returns the string representation
  7021. func (s UpdateRobotApplicationOutput) GoString() string {
  7022. return s.String()
  7023. }
  7024. // SetArn sets the Arn field's value.
  7025. func (s *UpdateRobotApplicationOutput) SetArn(v string) *UpdateRobotApplicationOutput {
  7026. s.Arn = &v
  7027. return s
  7028. }
  7029. // SetLastUpdatedAt sets the LastUpdatedAt field's value.
  7030. func (s *UpdateRobotApplicationOutput) SetLastUpdatedAt(v time.Time) *UpdateRobotApplicationOutput {
  7031. s.LastUpdatedAt = &v
  7032. return s
  7033. }
  7034. // SetName sets the Name field's value.
  7035. func (s *UpdateRobotApplicationOutput) SetName(v string) *UpdateRobotApplicationOutput {
  7036. s.Name = &v
  7037. return s
  7038. }
  7039. // SetRevisionId sets the RevisionId field's value.
  7040. func (s *UpdateRobotApplicationOutput) SetRevisionId(v string) *UpdateRobotApplicationOutput {
  7041. s.RevisionId = &v
  7042. return s
  7043. }
  7044. // SetRobotSoftwareSuite sets the RobotSoftwareSuite field's value.
  7045. func (s *UpdateRobotApplicationOutput) SetRobotSoftwareSuite(v *RobotSoftwareSuite) *UpdateRobotApplicationOutput {
  7046. s.RobotSoftwareSuite = v
  7047. return s
  7048. }
  7049. // SetSources sets the Sources field's value.
  7050. func (s *UpdateRobotApplicationOutput) SetSources(v []*Source) *UpdateRobotApplicationOutput {
  7051. s.Sources = v
  7052. return s
  7053. }
  7054. // SetVersion sets the Version field's value.
  7055. func (s *UpdateRobotApplicationOutput) SetVersion(v string) *UpdateRobotApplicationOutput {
  7056. s.Version = &v
  7057. return s
  7058. }
  7059. type UpdateSimulationApplicationInput struct {
  7060. _ struct{} `type:"structure"`
  7061. // The application information for the simulation application.
  7062. //
  7063. // Application is a required field
  7064. Application *string `locationName:"application" min:"1" type:"string" required:"true"`
  7065. // The revision id for the robot application.
  7066. CurrentRevisionId *string `locationName:"currentRevisionId" min:"1" type:"string"`
  7067. // The rendering engine for the simulation application.
  7068. //
  7069. // RenderingEngine is a required field
  7070. RenderingEngine *RenderingEngine `locationName:"renderingEngine" type:"structure" required:"true"`
  7071. // Information about the robot software suite.
  7072. //
  7073. // RobotSoftwareSuite is a required field
  7074. RobotSoftwareSuite *RobotSoftwareSuite `locationName:"robotSoftwareSuite" type:"structure" required:"true"`
  7075. // The simulation software suite used by the simulation application.
  7076. //
  7077. // SimulationSoftwareSuite is a required field
  7078. SimulationSoftwareSuite *SimulationSoftwareSuite `locationName:"simulationSoftwareSuite" type:"structure" required:"true"`
  7079. // The sources of the simulation application.
  7080. //
  7081. // Sources is a required field
  7082. Sources []*SourceConfig `locationName:"sources" type:"list" required:"true"`
  7083. }
  7084. // String returns the string representation
  7085. func (s UpdateSimulationApplicationInput) String() string {
  7086. return awsutil.Prettify(s)
  7087. }
  7088. // GoString returns the string representation
  7089. func (s UpdateSimulationApplicationInput) GoString() string {
  7090. return s.String()
  7091. }
  7092. // Validate inspects the fields of the type to determine if they are valid.
  7093. func (s *UpdateSimulationApplicationInput) Validate() error {
  7094. invalidParams := request.ErrInvalidParams{Context: "UpdateSimulationApplicationInput"}
  7095. if s.Application == nil {
  7096. invalidParams.Add(request.NewErrParamRequired("Application"))
  7097. }
  7098. if s.Application != nil && len(*s.Application) < 1 {
  7099. invalidParams.Add(request.NewErrParamMinLen("Application", 1))
  7100. }
  7101. if s.CurrentRevisionId != nil && len(*s.CurrentRevisionId) < 1 {
  7102. invalidParams.Add(request.NewErrParamMinLen("CurrentRevisionId", 1))
  7103. }
  7104. if s.RenderingEngine == nil {
  7105. invalidParams.Add(request.NewErrParamRequired("RenderingEngine"))
  7106. }
  7107. if s.RobotSoftwareSuite == nil {
  7108. invalidParams.Add(request.NewErrParamRequired("RobotSoftwareSuite"))
  7109. }
  7110. if s.SimulationSoftwareSuite == nil {
  7111. invalidParams.Add(request.NewErrParamRequired("SimulationSoftwareSuite"))
  7112. }
  7113. if s.Sources == nil {
  7114. invalidParams.Add(request.NewErrParamRequired("Sources"))
  7115. }
  7116. if s.Sources != nil {
  7117. for i, v := range s.Sources {
  7118. if v == nil {
  7119. continue
  7120. }
  7121. if err := v.Validate(); err != nil {
  7122. invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Sources", i), err.(request.ErrInvalidParams))
  7123. }
  7124. }
  7125. }
  7126. if invalidParams.Len() > 0 {
  7127. return invalidParams
  7128. }
  7129. return nil
  7130. }
  7131. // SetApplication sets the Application field's value.
  7132. func (s *UpdateSimulationApplicationInput) SetApplication(v string) *UpdateSimulationApplicationInput {
  7133. s.Application = &v
  7134. return s
  7135. }
  7136. // SetCurrentRevisionId sets the CurrentRevisionId field's value.
  7137. func (s *UpdateSimulationApplicationInput) SetCurrentRevisionId(v string) *UpdateSimulationApplicationInput {
  7138. s.CurrentRevisionId = &v
  7139. return s
  7140. }
  7141. // SetRenderingEngine sets the RenderingEngine field's value.
  7142. func (s *UpdateSimulationApplicationInput) SetRenderingEngine(v *RenderingEngine) *UpdateSimulationApplicationInput {
  7143. s.RenderingEngine = v
  7144. return s
  7145. }
  7146. // SetRobotSoftwareSuite sets the RobotSoftwareSuite field's value.
  7147. func (s *UpdateSimulationApplicationInput) SetRobotSoftwareSuite(v *RobotSoftwareSuite) *UpdateSimulationApplicationInput {
  7148. s.RobotSoftwareSuite = v
  7149. return s
  7150. }
  7151. // SetSimulationSoftwareSuite sets the SimulationSoftwareSuite field's value.
  7152. func (s *UpdateSimulationApplicationInput) SetSimulationSoftwareSuite(v *SimulationSoftwareSuite) *UpdateSimulationApplicationInput {
  7153. s.SimulationSoftwareSuite = v
  7154. return s
  7155. }
  7156. // SetSources sets the Sources field's value.
  7157. func (s *UpdateSimulationApplicationInput) SetSources(v []*SourceConfig) *UpdateSimulationApplicationInput {
  7158. s.Sources = v
  7159. return s
  7160. }
  7161. type UpdateSimulationApplicationOutput struct {
  7162. _ struct{} `type:"structure"`
  7163. // The Amazon Resource Name (ARN) of the updated simulation application.
  7164. Arn *string `locationName:"arn" min:"1" type:"string"`
  7165. // The time, in milliseconds since the epoch, when the simulation application
  7166. // was last updated.
  7167. LastUpdatedAt *time.Time `locationName:"lastUpdatedAt" type:"timestamp"`
  7168. // The name of the simulation application.
  7169. Name *string `locationName:"name" min:"1" type:"string"`
  7170. // The rendering engine for the simulation application.
  7171. RenderingEngine *RenderingEngine `locationName:"renderingEngine" type:"structure"`
  7172. // The revision id of the simulation application.
  7173. RevisionId *string `locationName:"revisionId" min:"1" type:"string"`
  7174. // Information about the robot software suite.
  7175. RobotSoftwareSuite *RobotSoftwareSuite `locationName:"robotSoftwareSuite" type:"structure"`
  7176. // The simulation software suite used by the simulation application.
  7177. SimulationSoftwareSuite *SimulationSoftwareSuite `locationName:"simulationSoftwareSuite" type:"structure"`
  7178. // The sources of the simulation application.
  7179. Sources []*Source `locationName:"sources" type:"list"`
  7180. // The version of the robot application.
  7181. Version *string `locationName:"version" min:"1" type:"string"`
  7182. }
  7183. // String returns the string representation
  7184. func (s UpdateSimulationApplicationOutput) String() string {
  7185. return awsutil.Prettify(s)
  7186. }
  7187. // GoString returns the string representation
  7188. func (s UpdateSimulationApplicationOutput) GoString() string {
  7189. return s.String()
  7190. }
  7191. // SetArn sets the Arn field's value.
  7192. func (s *UpdateSimulationApplicationOutput) SetArn(v string) *UpdateSimulationApplicationOutput {
  7193. s.Arn = &v
  7194. return s
  7195. }
  7196. // SetLastUpdatedAt sets the LastUpdatedAt field's value.
  7197. func (s *UpdateSimulationApplicationOutput) SetLastUpdatedAt(v time.Time) *UpdateSimulationApplicationOutput {
  7198. s.LastUpdatedAt = &v
  7199. return s
  7200. }
  7201. // SetName sets the Name field's value.
  7202. func (s *UpdateSimulationApplicationOutput) SetName(v string) *UpdateSimulationApplicationOutput {
  7203. s.Name = &v
  7204. return s
  7205. }
  7206. // SetRenderingEngine sets the RenderingEngine field's value.
  7207. func (s *UpdateSimulationApplicationOutput) SetRenderingEngine(v *RenderingEngine) *UpdateSimulationApplicationOutput {
  7208. s.RenderingEngine = v
  7209. return s
  7210. }
  7211. // SetRevisionId sets the RevisionId field's value.
  7212. func (s *UpdateSimulationApplicationOutput) SetRevisionId(v string) *UpdateSimulationApplicationOutput {
  7213. s.RevisionId = &v
  7214. return s
  7215. }
  7216. // SetRobotSoftwareSuite sets the RobotSoftwareSuite field's value.
  7217. func (s *UpdateSimulationApplicationOutput) SetRobotSoftwareSuite(v *RobotSoftwareSuite) *UpdateSimulationApplicationOutput {
  7218. s.RobotSoftwareSuite = v
  7219. return s
  7220. }
  7221. // SetSimulationSoftwareSuite sets the SimulationSoftwareSuite field's value.
  7222. func (s *UpdateSimulationApplicationOutput) SetSimulationSoftwareSuite(v *SimulationSoftwareSuite) *UpdateSimulationApplicationOutput {
  7223. s.SimulationSoftwareSuite = v
  7224. return s
  7225. }
  7226. // SetSources sets the Sources field's value.
  7227. func (s *UpdateSimulationApplicationOutput) SetSources(v []*Source) *UpdateSimulationApplicationOutput {
  7228. s.Sources = v
  7229. return s
  7230. }
  7231. // SetVersion sets the Version field's value.
  7232. func (s *UpdateSimulationApplicationOutput) SetVersion(v string) *UpdateSimulationApplicationOutput {
  7233. s.Version = &v
  7234. return s
  7235. }
  7236. // If your simulation job accesses resources in a VPC, you provide this parameter
  7237. // identifying the list of security group IDs and subnet IDs. These must belong
  7238. // to the same VPC. You must provide at least one security group and two subnet
  7239. // IDs.
  7240. type VPCConfig struct {
  7241. _ struct{} `type:"structure"`
  7242. // A boolean indicating whether to assign a public IP address.
  7243. AssignPublicIp *bool `locationName:"assignPublicIp" type:"boolean"`
  7244. // A list of one or more security groups IDs in your VPC.
  7245. SecurityGroups []*string `locationName:"securityGroups" min:"1" type:"list"`
  7246. // A list of one or more subnet IDs in your VPC.
  7247. //
  7248. // Subnets is a required field
  7249. Subnets []*string `locationName:"subnets" min:"1" type:"list" required:"true"`
  7250. }
  7251. // String returns the string representation
  7252. func (s VPCConfig) String() string {
  7253. return awsutil.Prettify(s)
  7254. }
  7255. // GoString returns the string representation
  7256. func (s VPCConfig) GoString() string {
  7257. return s.String()
  7258. }
  7259. // Validate inspects the fields of the type to determine if they are valid.
  7260. func (s *VPCConfig) Validate() error {
  7261. invalidParams := request.ErrInvalidParams{Context: "VPCConfig"}
  7262. if s.SecurityGroups != nil && len(s.SecurityGroups) < 1 {
  7263. invalidParams.Add(request.NewErrParamMinLen("SecurityGroups", 1))
  7264. }
  7265. if s.Subnets == nil {
  7266. invalidParams.Add(request.NewErrParamRequired("Subnets"))
  7267. }
  7268. if s.Subnets != nil && len(s.Subnets) < 1 {
  7269. invalidParams.Add(request.NewErrParamMinLen("Subnets", 1))
  7270. }
  7271. if invalidParams.Len() > 0 {
  7272. return invalidParams
  7273. }
  7274. return nil
  7275. }
  7276. // SetAssignPublicIp sets the AssignPublicIp field's value.
  7277. func (s *VPCConfig) SetAssignPublicIp(v bool) *VPCConfig {
  7278. s.AssignPublicIp = &v
  7279. return s
  7280. }
  7281. // SetSecurityGroups sets the SecurityGroups field's value.
  7282. func (s *VPCConfig) SetSecurityGroups(v []*string) *VPCConfig {
  7283. s.SecurityGroups = v
  7284. return s
  7285. }
  7286. // SetSubnets sets the Subnets field's value.
  7287. func (s *VPCConfig) SetSubnets(v []*string) *VPCConfig {
  7288. s.Subnets = v
  7289. return s
  7290. }
  7291. // VPC configuration associated with your simulation job.
  7292. type VPCConfigResponse struct {
  7293. _ struct{} `type:"structure"`
  7294. // A boolean indicating if a public IP was assigned.
  7295. AssignPublicIp *bool `locationName:"assignPublicIp" type:"boolean"`
  7296. // A list of security group IDs associated with the simulation job.
  7297. SecurityGroups []*string `locationName:"securityGroups" min:"1" type:"list"`
  7298. // A list of subnet IDs associated with the simulation job.
  7299. Subnets []*string `locationName:"subnets" min:"1" type:"list"`
  7300. // The VPC ID associated with your simulation job.
  7301. VpcId *string `locationName:"vpcId" type:"string"`
  7302. }
  7303. // String returns the string representation
  7304. func (s VPCConfigResponse) String() string {
  7305. return awsutil.Prettify(s)
  7306. }
  7307. // GoString returns the string representation
  7308. func (s VPCConfigResponse) GoString() string {
  7309. return s.String()
  7310. }
  7311. // SetAssignPublicIp sets the AssignPublicIp field's value.
  7312. func (s *VPCConfigResponse) SetAssignPublicIp(v bool) *VPCConfigResponse {
  7313. s.AssignPublicIp = &v
  7314. return s
  7315. }
  7316. // SetSecurityGroups sets the SecurityGroups field's value.
  7317. func (s *VPCConfigResponse) SetSecurityGroups(v []*string) *VPCConfigResponse {
  7318. s.SecurityGroups = v
  7319. return s
  7320. }
  7321. // SetSubnets sets the Subnets field's value.
  7322. func (s *VPCConfigResponse) SetSubnets(v []*string) *VPCConfigResponse {
  7323. s.Subnets = v
  7324. return s
  7325. }
  7326. // SetVpcId sets the VpcId field's value.
  7327. func (s *VPCConfigResponse) SetVpcId(v string) *VPCConfigResponse {
  7328. s.VpcId = &v
  7329. return s
  7330. }
  7331. const (
  7332. // ArchitectureX8664 is a Architecture enum value
  7333. ArchitectureX8664 = "X86_64"
  7334. // ArchitectureArm64 is a Architecture enum value
  7335. ArchitectureArm64 = "ARM64"
  7336. // ArchitectureArmhf is a Architecture enum value
  7337. ArchitectureArmhf = "ARMHF"
  7338. )
  7339. const (
  7340. // DeploymentJobErrorCodeResourceNotFound is a DeploymentJobErrorCode enum value
  7341. DeploymentJobErrorCodeResourceNotFound = "ResourceNotFound"
  7342. // DeploymentJobErrorCodeFailureThresholdBreached is a DeploymentJobErrorCode enum value
  7343. DeploymentJobErrorCodeFailureThresholdBreached = "FailureThresholdBreached"
  7344. // DeploymentJobErrorCodeRobotDeploymentNoResponse is a DeploymentJobErrorCode enum value
  7345. DeploymentJobErrorCodeRobotDeploymentNoResponse = "RobotDeploymentNoResponse"
  7346. // DeploymentJobErrorCodeGreengrassDeploymentFailed is a DeploymentJobErrorCode enum value
  7347. DeploymentJobErrorCodeGreengrassDeploymentFailed = "GreengrassDeploymentFailed"
  7348. // DeploymentJobErrorCodeMissingRobotArchitecture is a DeploymentJobErrorCode enum value
  7349. DeploymentJobErrorCodeMissingRobotArchitecture = "MissingRobotArchitecture"
  7350. // DeploymentJobErrorCodeMissingRobotApplicationArchitecture is a DeploymentJobErrorCode enum value
  7351. DeploymentJobErrorCodeMissingRobotApplicationArchitecture = "MissingRobotApplicationArchitecture"
  7352. // DeploymentJobErrorCodeMissingRobotDeploymentResource is a DeploymentJobErrorCode enum value
  7353. DeploymentJobErrorCodeMissingRobotDeploymentResource = "MissingRobotDeploymentResource"
  7354. // DeploymentJobErrorCodeGreengrassGroupVersionDoesNotExist is a DeploymentJobErrorCode enum value
  7355. DeploymentJobErrorCodeGreengrassGroupVersionDoesNotExist = "GreengrassGroupVersionDoesNotExist"
  7356. // DeploymentJobErrorCodeExtractingBundleFailure is a DeploymentJobErrorCode enum value
  7357. DeploymentJobErrorCodeExtractingBundleFailure = "ExtractingBundleFailure"
  7358. // DeploymentJobErrorCodePreLaunchFileFailure is a DeploymentJobErrorCode enum value
  7359. DeploymentJobErrorCodePreLaunchFileFailure = "PreLaunchFileFailure"
  7360. // DeploymentJobErrorCodePostLaunchFileFailure is a DeploymentJobErrorCode enum value
  7361. DeploymentJobErrorCodePostLaunchFileFailure = "PostLaunchFileFailure"
  7362. // DeploymentJobErrorCodeBadPermissionError is a DeploymentJobErrorCode enum value
  7363. DeploymentJobErrorCodeBadPermissionError = "BadPermissionError"
  7364. // DeploymentJobErrorCodeInternalServerError is a DeploymentJobErrorCode enum value
  7365. DeploymentJobErrorCodeInternalServerError = "InternalServerError"
  7366. )
  7367. const (
  7368. // DeploymentStatusPending is a DeploymentStatus enum value
  7369. DeploymentStatusPending = "Pending"
  7370. // DeploymentStatusPreparing is a DeploymentStatus enum value
  7371. DeploymentStatusPreparing = "Preparing"
  7372. // DeploymentStatusInProgress is a DeploymentStatus enum value
  7373. DeploymentStatusInProgress = "InProgress"
  7374. // DeploymentStatusFailed is a DeploymentStatus enum value
  7375. DeploymentStatusFailed = "Failed"
  7376. // DeploymentStatusSucceeded is a DeploymentStatus enum value
  7377. DeploymentStatusSucceeded = "Succeeded"
  7378. )
  7379. const (
  7380. // FailureBehaviorFail is a FailureBehavior enum value
  7381. FailureBehaviorFail = "Fail"
  7382. // FailureBehaviorContinue is a FailureBehavior enum value
  7383. FailureBehaviorContinue = "Continue"
  7384. )
  7385. const (
  7386. // RenderingEngineTypeOgre is a RenderingEngineType enum value
  7387. RenderingEngineTypeOgre = "OGRE"
  7388. )
  7389. const (
  7390. // RobotSoftwareSuiteTypeRos is a RobotSoftwareSuiteType enum value
  7391. RobotSoftwareSuiteTypeRos = "ROS"
  7392. )
  7393. const (
  7394. // RobotSoftwareSuiteVersionTypeKinetic is a RobotSoftwareSuiteVersionType enum value
  7395. RobotSoftwareSuiteVersionTypeKinetic = "Kinetic"
  7396. )
  7397. const (
  7398. // RobotStatusAvailable is a RobotStatus enum value
  7399. RobotStatusAvailable = "Available"
  7400. // RobotStatusRegistered is a RobotStatus enum value
  7401. RobotStatusRegistered = "Registered"
  7402. // RobotStatusPendingNewDeployment is a RobotStatus enum value
  7403. RobotStatusPendingNewDeployment = "PendingNewDeployment"
  7404. // RobotStatusDeploying is a RobotStatus enum value
  7405. RobotStatusDeploying = "Deploying"
  7406. // RobotStatusFailed is a RobotStatus enum value
  7407. RobotStatusFailed = "Failed"
  7408. // RobotStatusInSync is a RobotStatus enum value
  7409. RobotStatusInSync = "InSync"
  7410. // RobotStatusNoResponse is a RobotStatus enum value
  7411. RobotStatusNoResponse = "NoResponse"
  7412. )
  7413. const (
  7414. // SimulationJobErrorCodeInternalServiceError is a SimulationJobErrorCode enum value
  7415. SimulationJobErrorCodeInternalServiceError = "InternalServiceError"
  7416. // SimulationJobErrorCodeRobotApplicationCrash is a SimulationJobErrorCode enum value
  7417. SimulationJobErrorCodeRobotApplicationCrash = "RobotApplicationCrash"
  7418. // SimulationJobErrorCodeSimulationApplicationCrash is a SimulationJobErrorCode enum value
  7419. SimulationJobErrorCodeSimulationApplicationCrash = "SimulationApplicationCrash"
  7420. // SimulationJobErrorCodeBadPermissionsRobotApplication is a SimulationJobErrorCode enum value
  7421. SimulationJobErrorCodeBadPermissionsRobotApplication = "BadPermissionsRobotApplication"
  7422. // SimulationJobErrorCodeBadPermissionsSimulationApplication is a SimulationJobErrorCode enum value
  7423. SimulationJobErrorCodeBadPermissionsSimulationApplication = "BadPermissionsSimulationApplication"
  7424. // SimulationJobErrorCodeBadPermissionsS3output is a SimulationJobErrorCode enum value
  7425. SimulationJobErrorCodeBadPermissionsS3output = "BadPermissionsS3Output"
  7426. // SimulationJobErrorCodeBadPermissionsCloudwatchLogs is a SimulationJobErrorCode enum value
  7427. SimulationJobErrorCodeBadPermissionsCloudwatchLogs = "BadPermissionsCloudwatchLogs"
  7428. // SimulationJobErrorCodeSubnetIpLimitExceeded is a SimulationJobErrorCode enum value
  7429. SimulationJobErrorCodeSubnetIpLimitExceeded = "SubnetIpLimitExceeded"
  7430. // SimulationJobErrorCodeEnilimitExceeded is a SimulationJobErrorCode enum value
  7431. SimulationJobErrorCodeEnilimitExceeded = "ENILimitExceeded"
  7432. // SimulationJobErrorCodeBadPermissionsUserCredentials is a SimulationJobErrorCode enum value
  7433. SimulationJobErrorCodeBadPermissionsUserCredentials = "BadPermissionsUserCredentials"
  7434. // SimulationJobErrorCodeInvalidBundleRobotApplication is a SimulationJobErrorCode enum value
  7435. SimulationJobErrorCodeInvalidBundleRobotApplication = "InvalidBundleRobotApplication"
  7436. // SimulationJobErrorCodeInvalidBundleSimulationApplication is a SimulationJobErrorCode enum value
  7437. SimulationJobErrorCodeInvalidBundleSimulationApplication = "InvalidBundleSimulationApplication"
  7438. // SimulationJobErrorCodeRobotApplicationVersionMismatchedEtag is a SimulationJobErrorCode enum value
  7439. SimulationJobErrorCodeRobotApplicationVersionMismatchedEtag = "RobotApplicationVersionMismatchedEtag"
  7440. // SimulationJobErrorCodeSimulationApplicationVersionMismatchedEtag is a SimulationJobErrorCode enum value
  7441. SimulationJobErrorCodeSimulationApplicationVersionMismatchedEtag = "SimulationApplicationVersionMismatchedEtag"
  7442. )
  7443. const (
  7444. // SimulationJobStatusPending is a SimulationJobStatus enum value
  7445. SimulationJobStatusPending = "Pending"
  7446. // SimulationJobStatusPreparing is a SimulationJobStatus enum value
  7447. SimulationJobStatusPreparing = "Preparing"
  7448. // SimulationJobStatusRunning is a SimulationJobStatus enum value
  7449. SimulationJobStatusRunning = "Running"
  7450. // SimulationJobStatusRestarting is a SimulationJobStatus enum value
  7451. SimulationJobStatusRestarting = "Restarting"
  7452. // SimulationJobStatusCompleted is a SimulationJobStatus enum value
  7453. SimulationJobStatusCompleted = "Completed"
  7454. // SimulationJobStatusFailed is a SimulationJobStatus enum value
  7455. SimulationJobStatusFailed = "Failed"
  7456. // SimulationJobStatusRunningFailed is a SimulationJobStatus enum value
  7457. SimulationJobStatusRunningFailed = "RunningFailed"
  7458. // SimulationJobStatusTerminating is a SimulationJobStatus enum value
  7459. SimulationJobStatusTerminating = "Terminating"
  7460. // SimulationJobStatusTerminated is a SimulationJobStatus enum value
  7461. SimulationJobStatusTerminated = "Terminated"
  7462. // SimulationJobStatusCanceled is a SimulationJobStatus enum value
  7463. SimulationJobStatusCanceled = "Canceled"
  7464. )
  7465. const (
  7466. // SimulationSoftwareSuiteTypeGazebo is a SimulationSoftwareSuiteType enum value
  7467. SimulationSoftwareSuiteTypeGazebo = "Gazebo"
  7468. )