| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753 |
- // Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
- package robomaker
- import (
- "fmt"
- "time"
- "github.com/aws/aws-sdk-go/aws"
- "github.com/aws/aws-sdk-go/aws/awsutil"
- "github.com/aws/aws-sdk-go/aws/request"
- "github.com/aws/aws-sdk-go/private/protocol"
- "github.com/aws/aws-sdk-go/private/protocol/restjson"
- )
- const opBatchDescribeSimulationJob = "BatchDescribeSimulationJob"
- // BatchDescribeSimulationJobRequest generates a "aws/request.Request" representing the
- // client's request for the BatchDescribeSimulationJob operation. The "output" return
- // value will be populated with the request's response once the request completes
- // successfully.
- //
- // Use "Send" method on the returned Request to send the API call to the service.
- // the "output" return value is not valid until after Send returns without error.
- //
- // See BatchDescribeSimulationJob for more information on using the BatchDescribeSimulationJob
- // API call, and error handling.
- //
- // This method is useful when you want to inject custom logic or configuration
- // into the SDK's request lifecycle. Such as custom headers, or retry logic.
- //
- //
- // // Example sending a request using the BatchDescribeSimulationJobRequest method.
- // req, resp := client.BatchDescribeSimulationJobRequest(params)
- //
- // err := req.Send()
- // if err == nil { // resp is now filled
- // fmt.Println(resp)
- // }
- //
- // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/BatchDescribeSimulationJob
- func (c *RoboMaker) BatchDescribeSimulationJobRequest(input *BatchDescribeSimulationJobInput) (req *request.Request, output *BatchDescribeSimulationJobOutput) {
- op := &request.Operation{
- Name: opBatchDescribeSimulationJob,
- HTTPMethod: "POST",
- HTTPPath: "/batchDescribeSimulationJob",
- }
- if input == nil {
- input = &BatchDescribeSimulationJobInput{}
- }
- output = &BatchDescribeSimulationJobOutput{}
- req = c.newRequest(op, input, output)
- return
- }
- // BatchDescribeSimulationJob API operation for AWS RoboMaker.
- //
- // Describes one or more simulation jobs.
- //
- // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
- // with awserr.Error's Code and Message methods to get detailed information about
- // the error.
- //
- // See the AWS API reference guide for AWS RoboMaker's
- // API operation BatchDescribeSimulationJob for usage and error information.
- //
- // Returned Error Codes:
- // * ErrCodeResourceNotFoundException "ResourceNotFoundException"
- // The specified resource does not exist.
- //
- // * ErrCodeInvalidParameterException "InvalidParameterException"
- // A parameter specified in a request is not valid, is unsupported, or cannot
- // be used. The returned message provides an explanation of the error value.
- //
- // * ErrCodeInternalServerException "InternalServerException"
- // AWS RoboMaker experienced a service issue. Try your call again.
- //
- // * ErrCodeThrottlingException "ThrottlingException"
- // AWS RoboMaker is temporarily unable to process the request. Try your call
- // again.
- //
- // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/BatchDescribeSimulationJob
- func (c *RoboMaker) BatchDescribeSimulationJob(input *BatchDescribeSimulationJobInput) (*BatchDescribeSimulationJobOutput, error) {
- req, out := c.BatchDescribeSimulationJobRequest(input)
- return out, req.Send()
- }
- // BatchDescribeSimulationJobWithContext is the same as BatchDescribeSimulationJob with the addition of
- // the ability to pass a context and additional request options.
- //
- // See BatchDescribeSimulationJob for details on how to use this API operation.
- //
- // The context must be non-nil and will be used for request cancellation. If
- // the context is nil a panic will occur. In the future the SDK may create
- // sub-contexts for http.Requests. See https://golang.org/pkg/context/
- // for more information on using Contexts.
- func (c *RoboMaker) BatchDescribeSimulationJobWithContext(ctx aws.Context, input *BatchDescribeSimulationJobInput, opts ...request.Option) (*BatchDescribeSimulationJobOutput, error) {
- req, out := c.BatchDescribeSimulationJobRequest(input)
- req.SetContext(ctx)
- req.ApplyOptions(opts...)
- return out, req.Send()
- }
- const opCancelSimulationJob = "CancelSimulationJob"
- // CancelSimulationJobRequest generates a "aws/request.Request" representing the
- // client's request for the CancelSimulationJob operation. The "output" return
- // value will be populated with the request's response once the request completes
- // successfully.
- //
- // Use "Send" method on the returned Request to send the API call to the service.
- // the "output" return value is not valid until after Send returns without error.
- //
- // See CancelSimulationJob for more information on using the CancelSimulationJob
- // API call, and error handling.
- //
- // This method is useful when you want to inject custom logic or configuration
- // into the SDK's request lifecycle. Such as custom headers, or retry logic.
- //
- //
- // // Example sending a request using the CancelSimulationJobRequest method.
- // req, resp := client.CancelSimulationJobRequest(params)
- //
- // err := req.Send()
- // if err == nil { // resp is now filled
- // fmt.Println(resp)
- // }
- //
- // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/CancelSimulationJob
- func (c *RoboMaker) CancelSimulationJobRequest(input *CancelSimulationJobInput) (req *request.Request, output *CancelSimulationJobOutput) {
- op := &request.Operation{
- Name: opCancelSimulationJob,
- HTTPMethod: "POST",
- HTTPPath: "/cancelSimulationJob",
- }
- if input == nil {
- input = &CancelSimulationJobInput{}
- }
- output = &CancelSimulationJobOutput{}
- req = c.newRequest(op, input, output)
- req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
- return
- }
- // CancelSimulationJob API operation for AWS RoboMaker.
- //
- // Cancels the specified simulation job.
- //
- // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
- // with awserr.Error's Code and Message methods to get detailed information about
- // the error.
- //
- // See the AWS API reference guide for AWS RoboMaker's
- // API operation CancelSimulationJob for usage and error information.
- //
- // Returned Error Codes:
- // * ErrCodeResourceNotFoundException "ResourceNotFoundException"
- // The specified resource does not exist.
- //
- // * ErrCodeInvalidParameterException "InvalidParameterException"
- // A parameter specified in a request is not valid, is unsupported, or cannot
- // be used. The returned message provides an explanation of the error value.
- //
- // * ErrCodeInternalServerException "InternalServerException"
- // AWS RoboMaker experienced a service issue. Try your call again.
- //
- // * ErrCodeThrottlingException "ThrottlingException"
- // AWS RoboMaker is temporarily unable to process the request. Try your call
- // again.
- //
- // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/CancelSimulationJob
- func (c *RoboMaker) CancelSimulationJob(input *CancelSimulationJobInput) (*CancelSimulationJobOutput, error) {
- req, out := c.CancelSimulationJobRequest(input)
- return out, req.Send()
- }
- // CancelSimulationJobWithContext is the same as CancelSimulationJob with the addition of
- // the ability to pass a context and additional request options.
- //
- // See CancelSimulationJob for details on how to use this API operation.
- //
- // The context must be non-nil and will be used for request cancellation. If
- // the context is nil a panic will occur. In the future the SDK may create
- // sub-contexts for http.Requests. See https://golang.org/pkg/context/
- // for more information on using Contexts.
- func (c *RoboMaker) CancelSimulationJobWithContext(ctx aws.Context, input *CancelSimulationJobInput, opts ...request.Option) (*CancelSimulationJobOutput, error) {
- req, out := c.CancelSimulationJobRequest(input)
- req.SetContext(ctx)
- req.ApplyOptions(opts...)
- return out, req.Send()
- }
- const opCreateDeploymentJob = "CreateDeploymentJob"
- // CreateDeploymentJobRequest generates a "aws/request.Request" representing the
- // client's request for the CreateDeploymentJob operation. The "output" return
- // value will be populated with the request's response once the request completes
- // successfully.
- //
- // Use "Send" method on the returned Request to send the API call to the service.
- // the "output" return value is not valid until after Send returns without error.
- //
- // See CreateDeploymentJob for more information on using the CreateDeploymentJob
- // API call, and error handling.
- //
- // This method is useful when you want to inject custom logic or configuration
- // into the SDK's request lifecycle. Such as custom headers, or retry logic.
- //
- //
- // // Example sending a request using the CreateDeploymentJobRequest method.
- // req, resp := client.CreateDeploymentJobRequest(params)
- //
- // err := req.Send()
- // if err == nil { // resp is now filled
- // fmt.Println(resp)
- // }
- //
- // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/CreateDeploymentJob
- func (c *RoboMaker) CreateDeploymentJobRequest(input *CreateDeploymentJobInput) (req *request.Request, output *CreateDeploymentJobOutput) {
- op := &request.Operation{
- Name: opCreateDeploymentJob,
- HTTPMethod: "POST",
- HTTPPath: "/createDeploymentJob",
- }
- if input == nil {
- input = &CreateDeploymentJobInput{}
- }
- output = &CreateDeploymentJobOutput{}
- req = c.newRequest(op, input, output)
- return
- }
- // CreateDeploymentJob API operation for AWS RoboMaker.
- //
- // Creates a deployment job.
- //
- // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
- // with awserr.Error's Code and Message methods to get detailed information about
- // the error.
- //
- // See the AWS API reference guide for AWS RoboMaker's
- // API operation CreateDeploymentJob for usage and error information.
- //
- // Returned Error Codes:
- // * ErrCodeResourceNotFoundException "ResourceNotFoundException"
- // The specified resource does not exist.
- //
- // * ErrCodeInvalidParameterException "InvalidParameterException"
- // A parameter specified in a request is not valid, is unsupported, or cannot
- // be used. The returned message provides an explanation of the error value.
- //
- // * ErrCodeInternalServerException "InternalServerException"
- // AWS RoboMaker experienced a service issue. Try your call again.
- //
- // * ErrCodeThrottlingException "ThrottlingException"
- // AWS RoboMaker is temporarily unable to process the request. Try your call
- // again.
- //
- // * ErrCodeLimitExceededException "LimitExceededException"
- // The requested resource exceeds the maximum number allowed, or the number
- // of concurrent stream requests exceeds the maximum number allowed.
- //
- // * ErrCodeConcurrentDeploymentException "ConcurrentDeploymentException"
- //
- // * ErrCodeIdempotentParameterMismatchException "IdempotentParameterMismatchException"
- // The request uses the same client token as a previous, but non-identical request.
- // Do not reuse a client token with different requests, unless the requests
- // are identical.
- //
- // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/CreateDeploymentJob
- func (c *RoboMaker) CreateDeploymentJob(input *CreateDeploymentJobInput) (*CreateDeploymentJobOutput, error) {
- req, out := c.CreateDeploymentJobRequest(input)
- return out, req.Send()
- }
- // CreateDeploymentJobWithContext is the same as CreateDeploymentJob with the addition of
- // the ability to pass a context and additional request options.
- //
- // See CreateDeploymentJob for details on how to use this API operation.
- //
- // The context must be non-nil and will be used for request cancellation. If
- // the context is nil a panic will occur. In the future the SDK may create
- // sub-contexts for http.Requests. See https://golang.org/pkg/context/
- // for more information on using Contexts.
- func (c *RoboMaker) CreateDeploymentJobWithContext(ctx aws.Context, input *CreateDeploymentJobInput, opts ...request.Option) (*CreateDeploymentJobOutput, error) {
- req, out := c.CreateDeploymentJobRequest(input)
- req.SetContext(ctx)
- req.ApplyOptions(opts...)
- return out, req.Send()
- }
- const opCreateFleet = "CreateFleet"
- // CreateFleetRequest generates a "aws/request.Request" representing the
- // client's request for the CreateFleet operation. The "output" return
- // value will be populated with the request's response once the request completes
- // successfully.
- //
- // Use "Send" method on the returned Request to send the API call to the service.
- // the "output" return value is not valid until after Send returns without error.
- //
- // See CreateFleet for more information on using the CreateFleet
- // API call, and error handling.
- //
- // This method is useful when you want to inject custom logic or configuration
- // into the SDK's request lifecycle. Such as custom headers, or retry logic.
- //
- //
- // // Example sending a request using the CreateFleetRequest method.
- // req, resp := client.CreateFleetRequest(params)
- //
- // err := req.Send()
- // if err == nil { // resp is now filled
- // fmt.Println(resp)
- // }
- //
- // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/CreateFleet
- func (c *RoboMaker) CreateFleetRequest(input *CreateFleetInput) (req *request.Request, output *CreateFleetOutput) {
- op := &request.Operation{
- Name: opCreateFleet,
- HTTPMethod: "POST",
- HTTPPath: "/createFleet",
- }
- if input == nil {
- input = &CreateFleetInput{}
- }
- output = &CreateFleetOutput{}
- req = c.newRequest(op, input, output)
- return
- }
- // CreateFleet API operation for AWS RoboMaker.
- //
- // Creates a fleet, a logical group of robots running the same robot application.
- //
- // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
- // with awserr.Error's Code and Message methods to get detailed information about
- // the error.
- //
- // See the AWS API reference guide for AWS RoboMaker's
- // API operation CreateFleet for usage and error information.
- //
- // Returned Error Codes:
- // * ErrCodeInvalidParameterException "InvalidParameterException"
- // A parameter specified in a request is not valid, is unsupported, or cannot
- // be used. The returned message provides an explanation of the error value.
- //
- // * ErrCodeInternalServerException "InternalServerException"
- // AWS RoboMaker experienced a service issue. Try your call again.
- //
- // * ErrCodeThrottlingException "ThrottlingException"
- // AWS RoboMaker is temporarily unable to process the request. Try your call
- // again.
- //
- // * ErrCodeLimitExceededException "LimitExceededException"
- // The requested resource exceeds the maximum number allowed, or the number
- // of concurrent stream requests exceeds the maximum number allowed.
- //
- // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/CreateFleet
- func (c *RoboMaker) CreateFleet(input *CreateFleetInput) (*CreateFleetOutput, error) {
- req, out := c.CreateFleetRequest(input)
- return out, req.Send()
- }
- // CreateFleetWithContext is the same as CreateFleet with the addition of
- // the ability to pass a context and additional request options.
- //
- // See CreateFleet for details on how to use this API operation.
- //
- // The context must be non-nil and will be used for request cancellation. If
- // the context is nil a panic will occur. In the future the SDK may create
- // sub-contexts for http.Requests. See https://golang.org/pkg/context/
- // for more information on using Contexts.
- func (c *RoboMaker) CreateFleetWithContext(ctx aws.Context, input *CreateFleetInput, opts ...request.Option) (*CreateFleetOutput, error) {
- req, out := c.CreateFleetRequest(input)
- req.SetContext(ctx)
- req.ApplyOptions(opts...)
- return out, req.Send()
- }
- const opCreateRobot = "CreateRobot"
- // CreateRobotRequest generates a "aws/request.Request" representing the
- // client's request for the CreateRobot operation. The "output" return
- // value will be populated with the request's response once the request completes
- // successfully.
- //
- // Use "Send" method on the returned Request to send the API call to the service.
- // the "output" return value is not valid until after Send returns without error.
- //
- // See CreateRobot for more information on using the CreateRobot
- // API call, and error handling.
- //
- // This method is useful when you want to inject custom logic or configuration
- // into the SDK's request lifecycle. Such as custom headers, or retry logic.
- //
- //
- // // Example sending a request using the CreateRobotRequest method.
- // req, resp := client.CreateRobotRequest(params)
- //
- // err := req.Send()
- // if err == nil { // resp is now filled
- // fmt.Println(resp)
- // }
- //
- // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/CreateRobot
- func (c *RoboMaker) CreateRobotRequest(input *CreateRobotInput) (req *request.Request, output *CreateRobotOutput) {
- op := &request.Operation{
- Name: opCreateRobot,
- HTTPMethod: "POST",
- HTTPPath: "/createRobot",
- }
- if input == nil {
- input = &CreateRobotInput{}
- }
- output = &CreateRobotOutput{}
- req = c.newRequest(op, input, output)
- return
- }
- // CreateRobot API operation for AWS RoboMaker.
- //
- // Creates a robot.
- //
- // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
- // with awserr.Error's Code and Message methods to get detailed information about
- // the error.
- //
- // See the AWS API reference guide for AWS RoboMaker's
- // API operation CreateRobot for usage and error information.
- //
- // Returned Error Codes:
- // * ErrCodeInvalidParameterException "InvalidParameterException"
- // A parameter specified in a request is not valid, is unsupported, or cannot
- // be used. The returned message provides an explanation of the error value.
- //
- // * ErrCodeInternalServerException "InternalServerException"
- // AWS RoboMaker experienced a service issue. Try your call again.
- //
- // * ErrCodeThrottlingException "ThrottlingException"
- // AWS RoboMaker is temporarily unable to process the request. Try your call
- // again.
- //
- // * ErrCodeLimitExceededException "LimitExceededException"
- // The requested resource exceeds the maximum number allowed, or the number
- // of concurrent stream requests exceeds the maximum number allowed.
- //
- // * ErrCodeResourceAlreadyExistsException "ResourceAlreadyExistsException"
- // The specified resource already exists
- //
- // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/CreateRobot
- func (c *RoboMaker) CreateRobot(input *CreateRobotInput) (*CreateRobotOutput, error) {
- req, out := c.CreateRobotRequest(input)
- return out, req.Send()
- }
- // CreateRobotWithContext is the same as CreateRobot with the addition of
- // the ability to pass a context and additional request options.
- //
- // See CreateRobot for details on how to use this API operation.
- //
- // The context must be non-nil and will be used for request cancellation. If
- // the context is nil a panic will occur. In the future the SDK may create
- // sub-contexts for http.Requests. See https://golang.org/pkg/context/
- // for more information on using Contexts.
- func (c *RoboMaker) CreateRobotWithContext(ctx aws.Context, input *CreateRobotInput, opts ...request.Option) (*CreateRobotOutput, error) {
- req, out := c.CreateRobotRequest(input)
- req.SetContext(ctx)
- req.ApplyOptions(opts...)
- return out, req.Send()
- }
- const opCreateRobotApplication = "CreateRobotApplication"
- // CreateRobotApplicationRequest generates a "aws/request.Request" representing the
- // client's request for the CreateRobotApplication operation. The "output" return
- // value will be populated with the request's response once the request completes
- // successfully.
- //
- // Use "Send" method on the returned Request to send the API call to the service.
- // the "output" return value is not valid until after Send returns without error.
- //
- // See CreateRobotApplication for more information on using the CreateRobotApplication
- // API call, and error handling.
- //
- // This method is useful when you want to inject custom logic or configuration
- // into the SDK's request lifecycle. Such as custom headers, or retry logic.
- //
- //
- // // Example sending a request using the CreateRobotApplicationRequest method.
- // req, resp := client.CreateRobotApplicationRequest(params)
- //
- // err := req.Send()
- // if err == nil { // resp is now filled
- // fmt.Println(resp)
- // }
- //
- // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/CreateRobotApplication
- func (c *RoboMaker) CreateRobotApplicationRequest(input *CreateRobotApplicationInput) (req *request.Request, output *CreateRobotApplicationOutput) {
- op := &request.Operation{
- Name: opCreateRobotApplication,
- HTTPMethod: "POST",
- HTTPPath: "/createRobotApplication",
- }
- if input == nil {
- input = &CreateRobotApplicationInput{}
- }
- output = &CreateRobotApplicationOutput{}
- req = c.newRequest(op, input, output)
- return
- }
- // CreateRobotApplication API operation for AWS RoboMaker.
- //
- // Creates a robot application.
- //
- // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
- // with awserr.Error's Code and Message methods to get detailed information about
- // the error.
- //
- // See the AWS API reference guide for AWS RoboMaker's
- // API operation CreateRobotApplication for usage and error information.
- //
- // Returned Error Codes:
- // * ErrCodeInvalidParameterException "InvalidParameterException"
- // A parameter specified in a request is not valid, is unsupported, or cannot
- // be used. The returned message provides an explanation of the error value.
- //
- // * ErrCodeResourceAlreadyExistsException "ResourceAlreadyExistsException"
- // The specified resource already exists
- //
- // * ErrCodeLimitExceededException "LimitExceededException"
- // The requested resource exceeds the maximum number allowed, or the number
- // of concurrent stream requests exceeds the maximum number allowed.
- //
- // * ErrCodeThrottlingException "ThrottlingException"
- // AWS RoboMaker is temporarily unable to process the request. Try your call
- // again.
- //
- // * ErrCodeInternalServerException "InternalServerException"
- // AWS RoboMaker experienced a service issue. Try your call again.
- //
- // * ErrCodeIdempotentParameterMismatchException "IdempotentParameterMismatchException"
- // The request uses the same client token as a previous, but non-identical request.
- // Do not reuse a client token with different requests, unless the requests
- // are identical.
- //
- // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/CreateRobotApplication
- func (c *RoboMaker) CreateRobotApplication(input *CreateRobotApplicationInput) (*CreateRobotApplicationOutput, error) {
- req, out := c.CreateRobotApplicationRequest(input)
- return out, req.Send()
- }
- // CreateRobotApplicationWithContext is the same as CreateRobotApplication with the addition of
- // the ability to pass a context and additional request options.
- //
- // See CreateRobotApplication for details on how to use this API operation.
- //
- // The context must be non-nil and will be used for request cancellation. If
- // the context is nil a panic will occur. In the future the SDK may create
- // sub-contexts for http.Requests. See https://golang.org/pkg/context/
- // for more information on using Contexts.
- func (c *RoboMaker) CreateRobotApplicationWithContext(ctx aws.Context, input *CreateRobotApplicationInput, opts ...request.Option) (*CreateRobotApplicationOutput, error) {
- req, out := c.CreateRobotApplicationRequest(input)
- req.SetContext(ctx)
- req.ApplyOptions(opts...)
- return out, req.Send()
- }
- const opCreateRobotApplicationVersion = "CreateRobotApplicationVersion"
- // CreateRobotApplicationVersionRequest generates a "aws/request.Request" representing the
- // client's request for the CreateRobotApplicationVersion operation. The "output" return
- // value will be populated with the request's response once the request completes
- // successfully.
- //
- // Use "Send" method on the returned Request to send the API call to the service.
- // the "output" return value is not valid until after Send returns without error.
- //
- // See CreateRobotApplicationVersion for more information on using the CreateRobotApplicationVersion
- // API call, and error handling.
- //
- // This method is useful when you want to inject custom logic or configuration
- // into the SDK's request lifecycle. Such as custom headers, or retry logic.
- //
- //
- // // Example sending a request using the CreateRobotApplicationVersionRequest method.
- // req, resp := client.CreateRobotApplicationVersionRequest(params)
- //
- // err := req.Send()
- // if err == nil { // resp is now filled
- // fmt.Println(resp)
- // }
- //
- // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/CreateRobotApplicationVersion
- func (c *RoboMaker) CreateRobotApplicationVersionRequest(input *CreateRobotApplicationVersionInput) (req *request.Request, output *CreateRobotApplicationVersionOutput) {
- op := &request.Operation{
- Name: opCreateRobotApplicationVersion,
- HTTPMethod: "POST",
- HTTPPath: "/createRobotApplicationVersion",
- }
- if input == nil {
- input = &CreateRobotApplicationVersionInput{}
- }
- output = &CreateRobotApplicationVersionOutput{}
- req = c.newRequest(op, input, output)
- return
- }
- // CreateRobotApplicationVersion API operation for AWS RoboMaker.
- //
- // Creates a version of a robot application.
- //
- // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
- // with awserr.Error's Code and Message methods to get detailed information about
- // the error.
- //
- // See the AWS API reference guide for AWS RoboMaker's
- // API operation CreateRobotApplicationVersion for usage and error information.
- //
- // Returned Error Codes:
- // * ErrCodeInvalidParameterException "InvalidParameterException"
- // A parameter specified in a request is not valid, is unsupported, or cannot
- // be used. The returned message provides an explanation of the error value.
- //
- // * ErrCodeIdempotentParameterMismatchException "IdempotentParameterMismatchException"
- // The request uses the same client token as a previous, but non-identical request.
- // Do not reuse a client token with different requests, unless the requests
- // are identical.
- //
- // * ErrCodeLimitExceededException "LimitExceededException"
- // The requested resource exceeds the maximum number allowed, or the number
- // of concurrent stream requests exceeds the maximum number allowed.
- //
- // * ErrCodeThrottlingException "ThrottlingException"
- // AWS RoboMaker is temporarily unable to process the request. Try your call
- // again.
- //
- // * ErrCodeInternalServerException "InternalServerException"
- // AWS RoboMaker experienced a service issue. Try your call again.
- //
- // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/CreateRobotApplicationVersion
- func (c *RoboMaker) CreateRobotApplicationVersion(input *CreateRobotApplicationVersionInput) (*CreateRobotApplicationVersionOutput, error) {
- req, out := c.CreateRobotApplicationVersionRequest(input)
- return out, req.Send()
- }
- // CreateRobotApplicationVersionWithContext is the same as CreateRobotApplicationVersion with the addition of
- // the ability to pass a context and additional request options.
- //
- // See CreateRobotApplicationVersion for details on how to use this API operation.
- //
- // The context must be non-nil and will be used for request cancellation. If
- // the context is nil a panic will occur. In the future the SDK may create
- // sub-contexts for http.Requests. See https://golang.org/pkg/context/
- // for more information on using Contexts.
- func (c *RoboMaker) CreateRobotApplicationVersionWithContext(ctx aws.Context, input *CreateRobotApplicationVersionInput, opts ...request.Option) (*CreateRobotApplicationVersionOutput, error) {
- req, out := c.CreateRobotApplicationVersionRequest(input)
- req.SetContext(ctx)
- req.ApplyOptions(opts...)
- return out, req.Send()
- }
- const opCreateSimulationApplication = "CreateSimulationApplication"
- // CreateSimulationApplicationRequest generates a "aws/request.Request" representing the
- // client's request for the CreateSimulationApplication operation. The "output" return
- // value will be populated with the request's response once the request completes
- // successfully.
- //
- // Use "Send" method on the returned Request to send the API call to the service.
- // the "output" return value is not valid until after Send returns without error.
- //
- // See CreateSimulationApplication for more information on using the CreateSimulationApplication
- // API call, and error handling.
- //
- // This method is useful when you want to inject custom logic or configuration
- // into the SDK's request lifecycle. Such as custom headers, or retry logic.
- //
- //
- // // Example sending a request using the CreateSimulationApplicationRequest method.
- // req, resp := client.CreateSimulationApplicationRequest(params)
- //
- // err := req.Send()
- // if err == nil { // resp is now filled
- // fmt.Println(resp)
- // }
- //
- // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/CreateSimulationApplication
- func (c *RoboMaker) CreateSimulationApplicationRequest(input *CreateSimulationApplicationInput) (req *request.Request, output *CreateSimulationApplicationOutput) {
- op := &request.Operation{
- Name: opCreateSimulationApplication,
- HTTPMethod: "POST",
- HTTPPath: "/createSimulationApplication",
- }
- if input == nil {
- input = &CreateSimulationApplicationInput{}
- }
- output = &CreateSimulationApplicationOutput{}
- req = c.newRequest(op, input, output)
- return
- }
- // CreateSimulationApplication API operation for AWS RoboMaker.
- //
- // Creates a simulation application.
- //
- // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
- // with awserr.Error's Code and Message methods to get detailed information about
- // the error.
- //
- // See the AWS API reference guide for AWS RoboMaker's
- // API operation CreateSimulationApplication for usage and error information.
- //
- // Returned Error Codes:
- // * ErrCodeInvalidParameterException "InvalidParameterException"
- // A parameter specified in a request is not valid, is unsupported, or cannot
- // be used. The returned message provides an explanation of the error value.
- //
- // * ErrCodeResourceAlreadyExistsException "ResourceAlreadyExistsException"
- // The specified resource already exists
- //
- // * ErrCodeLimitExceededException "LimitExceededException"
- // The requested resource exceeds the maximum number allowed, or the number
- // of concurrent stream requests exceeds the maximum number allowed.
- //
- // * ErrCodeThrottlingException "ThrottlingException"
- // AWS RoboMaker is temporarily unable to process the request. Try your call
- // again.
- //
- // * ErrCodeInternalServerException "InternalServerException"
- // AWS RoboMaker experienced a service issue. Try your call again.
- //
- // * ErrCodeIdempotentParameterMismatchException "IdempotentParameterMismatchException"
- // The request uses the same client token as a previous, but non-identical request.
- // Do not reuse a client token with different requests, unless the requests
- // are identical.
- //
- // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/CreateSimulationApplication
- func (c *RoboMaker) CreateSimulationApplication(input *CreateSimulationApplicationInput) (*CreateSimulationApplicationOutput, error) {
- req, out := c.CreateSimulationApplicationRequest(input)
- return out, req.Send()
- }
- // CreateSimulationApplicationWithContext is the same as CreateSimulationApplication with the addition of
- // the ability to pass a context and additional request options.
- //
- // See CreateSimulationApplication for details on how to use this API operation.
- //
- // The context must be non-nil and will be used for request cancellation. If
- // the context is nil a panic will occur. In the future the SDK may create
- // sub-contexts for http.Requests. See https://golang.org/pkg/context/
- // for more information on using Contexts.
- func (c *RoboMaker) CreateSimulationApplicationWithContext(ctx aws.Context, input *CreateSimulationApplicationInput, opts ...request.Option) (*CreateSimulationApplicationOutput, error) {
- req, out := c.CreateSimulationApplicationRequest(input)
- req.SetContext(ctx)
- req.ApplyOptions(opts...)
- return out, req.Send()
- }
- const opCreateSimulationApplicationVersion = "CreateSimulationApplicationVersion"
- // CreateSimulationApplicationVersionRequest generates a "aws/request.Request" representing the
- // client's request for the CreateSimulationApplicationVersion operation. The "output" return
- // value will be populated with the request's response once the request completes
- // successfully.
- //
- // Use "Send" method on the returned Request to send the API call to the service.
- // the "output" return value is not valid until after Send returns without error.
- //
- // See CreateSimulationApplicationVersion for more information on using the CreateSimulationApplicationVersion
- // API call, and error handling.
- //
- // This method is useful when you want to inject custom logic or configuration
- // into the SDK's request lifecycle. Such as custom headers, or retry logic.
- //
- //
- // // Example sending a request using the CreateSimulationApplicationVersionRequest method.
- // req, resp := client.CreateSimulationApplicationVersionRequest(params)
- //
- // err := req.Send()
- // if err == nil { // resp is now filled
- // fmt.Println(resp)
- // }
- //
- // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/CreateSimulationApplicationVersion
- func (c *RoboMaker) CreateSimulationApplicationVersionRequest(input *CreateSimulationApplicationVersionInput) (req *request.Request, output *CreateSimulationApplicationVersionOutput) {
- op := &request.Operation{
- Name: opCreateSimulationApplicationVersion,
- HTTPMethod: "POST",
- HTTPPath: "/createSimulationApplicationVersion",
- }
- if input == nil {
- input = &CreateSimulationApplicationVersionInput{}
- }
- output = &CreateSimulationApplicationVersionOutput{}
- req = c.newRequest(op, input, output)
- return
- }
- // CreateSimulationApplicationVersion API operation for AWS RoboMaker.
- //
- // Creates a simulation application with a specific revision id.
- //
- // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
- // with awserr.Error's Code and Message methods to get detailed information about
- // the error.
- //
- // See the AWS API reference guide for AWS RoboMaker's
- // API operation CreateSimulationApplicationVersion for usage and error information.
- //
- // Returned Error Codes:
- // * ErrCodeInvalidParameterException "InvalidParameterException"
- // A parameter specified in a request is not valid, is unsupported, or cannot
- // be used. The returned message provides an explanation of the error value.
- //
- // * ErrCodeIdempotentParameterMismatchException "IdempotentParameterMismatchException"
- // The request uses the same client token as a previous, but non-identical request.
- // Do not reuse a client token with different requests, unless the requests
- // are identical.
- //
- // * ErrCodeLimitExceededException "LimitExceededException"
- // The requested resource exceeds the maximum number allowed, or the number
- // of concurrent stream requests exceeds the maximum number allowed.
- //
- // * ErrCodeThrottlingException "ThrottlingException"
- // AWS RoboMaker is temporarily unable to process the request. Try your call
- // again.
- //
- // * ErrCodeInternalServerException "InternalServerException"
- // AWS RoboMaker experienced a service issue. Try your call again.
- //
- // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/CreateSimulationApplicationVersion
- func (c *RoboMaker) CreateSimulationApplicationVersion(input *CreateSimulationApplicationVersionInput) (*CreateSimulationApplicationVersionOutput, error) {
- req, out := c.CreateSimulationApplicationVersionRequest(input)
- return out, req.Send()
- }
- // CreateSimulationApplicationVersionWithContext is the same as CreateSimulationApplicationVersion with the addition of
- // the ability to pass a context and additional request options.
- //
- // See CreateSimulationApplicationVersion for details on how to use this API operation.
- //
- // The context must be non-nil and will be used for request cancellation. If
- // the context is nil a panic will occur. In the future the SDK may create
- // sub-contexts for http.Requests. See https://golang.org/pkg/context/
- // for more information on using Contexts.
- func (c *RoboMaker) CreateSimulationApplicationVersionWithContext(ctx aws.Context, input *CreateSimulationApplicationVersionInput, opts ...request.Option) (*CreateSimulationApplicationVersionOutput, error) {
- req, out := c.CreateSimulationApplicationVersionRequest(input)
- req.SetContext(ctx)
- req.ApplyOptions(opts...)
- return out, req.Send()
- }
- const opCreateSimulationJob = "CreateSimulationJob"
- // CreateSimulationJobRequest generates a "aws/request.Request" representing the
- // client's request for the CreateSimulationJob operation. The "output" return
- // value will be populated with the request's response once the request completes
- // successfully.
- //
- // Use "Send" method on the returned Request to send the API call to the service.
- // the "output" return value is not valid until after Send returns without error.
- //
- // See CreateSimulationJob for more information on using the CreateSimulationJob
- // API call, and error handling.
- //
- // This method is useful when you want to inject custom logic or configuration
- // into the SDK's request lifecycle. Such as custom headers, or retry logic.
- //
- //
- // // Example sending a request using the CreateSimulationJobRequest method.
- // req, resp := client.CreateSimulationJobRequest(params)
- //
- // err := req.Send()
- // if err == nil { // resp is now filled
- // fmt.Println(resp)
- // }
- //
- // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/CreateSimulationJob
- func (c *RoboMaker) CreateSimulationJobRequest(input *CreateSimulationJobInput) (req *request.Request, output *CreateSimulationJobOutput) {
- op := &request.Operation{
- Name: opCreateSimulationJob,
- HTTPMethod: "POST",
- HTTPPath: "/createSimulationJob",
- }
- if input == nil {
- input = &CreateSimulationJobInput{}
- }
- output = &CreateSimulationJobOutput{}
- req = c.newRequest(op, input, output)
- return
- }
- // CreateSimulationJob API operation for AWS RoboMaker.
- //
- // Creates a simulation job.
- //
- // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
- // with awserr.Error's Code and Message methods to get detailed information about
- // the error.
- //
- // See the AWS API reference guide for AWS RoboMaker's
- // API operation CreateSimulationJob for usage and error information.
- //
- // Returned Error Codes:
- // * ErrCodeResourceNotFoundException "ResourceNotFoundException"
- // The specified resource does not exist.
- //
- // * ErrCodeInvalidParameterException "InvalidParameterException"
- // A parameter specified in a request is not valid, is unsupported, or cannot
- // be used. The returned message provides an explanation of the error value.
- //
- // * ErrCodeInternalServerException "InternalServerException"
- // AWS RoboMaker experienced a service issue. Try your call again.
- //
- // * ErrCodeThrottlingException "ThrottlingException"
- // AWS RoboMaker is temporarily unable to process the request. Try your call
- // again.
- //
- // * ErrCodeLimitExceededException "LimitExceededException"
- // The requested resource exceeds the maximum number allowed, or the number
- // of concurrent stream requests exceeds the maximum number allowed.
- //
- // * ErrCodeIdempotentParameterMismatchException "IdempotentParameterMismatchException"
- // The request uses the same client token as a previous, but non-identical request.
- // Do not reuse a client token with different requests, unless the requests
- // are identical.
- //
- // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/CreateSimulationJob
- func (c *RoboMaker) CreateSimulationJob(input *CreateSimulationJobInput) (*CreateSimulationJobOutput, error) {
- req, out := c.CreateSimulationJobRequest(input)
- return out, req.Send()
- }
- // CreateSimulationJobWithContext is the same as CreateSimulationJob with the addition of
- // the ability to pass a context and additional request options.
- //
- // See CreateSimulationJob for details on how to use this API operation.
- //
- // The context must be non-nil and will be used for request cancellation. If
- // the context is nil a panic will occur. In the future the SDK may create
- // sub-contexts for http.Requests. See https://golang.org/pkg/context/
- // for more information on using Contexts.
- func (c *RoboMaker) CreateSimulationJobWithContext(ctx aws.Context, input *CreateSimulationJobInput, opts ...request.Option) (*CreateSimulationJobOutput, error) {
- req, out := c.CreateSimulationJobRequest(input)
- req.SetContext(ctx)
- req.ApplyOptions(opts...)
- return out, req.Send()
- }
- const opDeleteFleet = "DeleteFleet"
- // DeleteFleetRequest generates a "aws/request.Request" representing the
- // client's request for the DeleteFleet operation. The "output" return
- // value will be populated with the request's response once the request completes
- // successfully.
- //
- // Use "Send" method on the returned Request to send the API call to the service.
- // the "output" return value is not valid until after Send returns without error.
- //
- // See DeleteFleet for more information on using the DeleteFleet
- // API call, and error handling.
- //
- // This method is useful when you want to inject custom logic or configuration
- // into the SDK's request lifecycle. Such as custom headers, or retry logic.
- //
- //
- // // Example sending a request using the DeleteFleetRequest method.
- // req, resp := client.DeleteFleetRequest(params)
- //
- // err := req.Send()
- // if err == nil { // resp is now filled
- // fmt.Println(resp)
- // }
- //
- // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/DeleteFleet
- func (c *RoboMaker) DeleteFleetRequest(input *DeleteFleetInput) (req *request.Request, output *DeleteFleetOutput) {
- op := &request.Operation{
- Name: opDeleteFleet,
- HTTPMethod: "POST",
- HTTPPath: "/deleteFleet",
- }
- if input == nil {
- input = &DeleteFleetInput{}
- }
- output = &DeleteFleetOutput{}
- req = c.newRequest(op, input, output)
- req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
- return
- }
- // DeleteFleet API operation for AWS RoboMaker.
- //
- // Deletes a fleet.
- //
- // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
- // with awserr.Error's Code and Message methods to get detailed information about
- // the error.
- //
- // See the AWS API reference guide for AWS RoboMaker's
- // API operation DeleteFleet for usage and error information.
- //
- // Returned Error Codes:
- // * ErrCodeInvalidParameterException "InvalidParameterException"
- // A parameter specified in a request is not valid, is unsupported, or cannot
- // be used. The returned message provides an explanation of the error value.
- //
- // * ErrCodeInternalServerException "InternalServerException"
- // AWS RoboMaker experienced a service issue. Try your call again.
- //
- // * ErrCodeThrottlingException "ThrottlingException"
- // AWS RoboMaker is temporarily unable to process the request. Try your call
- // again.
- //
- // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/DeleteFleet
- func (c *RoboMaker) DeleteFleet(input *DeleteFleetInput) (*DeleteFleetOutput, error) {
- req, out := c.DeleteFleetRequest(input)
- return out, req.Send()
- }
- // DeleteFleetWithContext is the same as DeleteFleet with the addition of
- // the ability to pass a context and additional request options.
- //
- // See DeleteFleet for details on how to use this API operation.
- //
- // The context must be non-nil and will be used for request cancellation. If
- // the context is nil a panic will occur. In the future the SDK may create
- // sub-contexts for http.Requests. See https://golang.org/pkg/context/
- // for more information on using Contexts.
- func (c *RoboMaker) DeleteFleetWithContext(ctx aws.Context, input *DeleteFleetInput, opts ...request.Option) (*DeleteFleetOutput, error) {
- req, out := c.DeleteFleetRequest(input)
- req.SetContext(ctx)
- req.ApplyOptions(opts...)
- return out, req.Send()
- }
- const opDeleteRobot = "DeleteRobot"
- // DeleteRobotRequest generates a "aws/request.Request" representing the
- // client's request for the DeleteRobot operation. The "output" return
- // value will be populated with the request's response once the request completes
- // successfully.
- //
- // Use "Send" method on the returned Request to send the API call to the service.
- // the "output" return value is not valid until after Send returns without error.
- //
- // See DeleteRobot for more information on using the DeleteRobot
- // API call, and error handling.
- //
- // This method is useful when you want to inject custom logic or configuration
- // into the SDK's request lifecycle. Such as custom headers, or retry logic.
- //
- //
- // // Example sending a request using the DeleteRobotRequest method.
- // req, resp := client.DeleteRobotRequest(params)
- //
- // err := req.Send()
- // if err == nil { // resp is now filled
- // fmt.Println(resp)
- // }
- //
- // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/DeleteRobot
- func (c *RoboMaker) DeleteRobotRequest(input *DeleteRobotInput) (req *request.Request, output *DeleteRobotOutput) {
- op := &request.Operation{
- Name: opDeleteRobot,
- HTTPMethod: "POST",
- HTTPPath: "/deleteRobot",
- }
- if input == nil {
- input = &DeleteRobotInput{}
- }
- output = &DeleteRobotOutput{}
- req = c.newRequest(op, input, output)
- req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
- return
- }
- // DeleteRobot API operation for AWS RoboMaker.
- //
- // Deletes a robot.
- //
- // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
- // with awserr.Error's Code and Message methods to get detailed information about
- // the error.
- //
- // See the AWS API reference guide for AWS RoboMaker's
- // API operation DeleteRobot for usage and error information.
- //
- // Returned Error Codes:
- // * ErrCodeInvalidParameterException "InvalidParameterException"
- // A parameter specified in a request is not valid, is unsupported, or cannot
- // be used. The returned message provides an explanation of the error value.
- //
- // * ErrCodeInternalServerException "InternalServerException"
- // AWS RoboMaker experienced a service issue. Try your call again.
- //
- // * ErrCodeThrottlingException "ThrottlingException"
- // AWS RoboMaker is temporarily unable to process the request. Try your call
- // again.
- //
- // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/DeleteRobot
- func (c *RoboMaker) DeleteRobot(input *DeleteRobotInput) (*DeleteRobotOutput, error) {
- req, out := c.DeleteRobotRequest(input)
- return out, req.Send()
- }
- // DeleteRobotWithContext is the same as DeleteRobot with the addition of
- // the ability to pass a context and additional request options.
- //
- // See DeleteRobot for details on how to use this API operation.
- //
- // The context must be non-nil and will be used for request cancellation. If
- // the context is nil a panic will occur. In the future the SDK may create
- // sub-contexts for http.Requests. See https://golang.org/pkg/context/
- // for more information on using Contexts.
- func (c *RoboMaker) DeleteRobotWithContext(ctx aws.Context, input *DeleteRobotInput, opts ...request.Option) (*DeleteRobotOutput, error) {
- req, out := c.DeleteRobotRequest(input)
- req.SetContext(ctx)
- req.ApplyOptions(opts...)
- return out, req.Send()
- }
- const opDeleteRobotApplication = "DeleteRobotApplication"
- // DeleteRobotApplicationRequest generates a "aws/request.Request" representing the
- // client's request for the DeleteRobotApplication operation. The "output" return
- // value will be populated with the request's response once the request completes
- // successfully.
- //
- // Use "Send" method on the returned Request to send the API call to the service.
- // the "output" return value is not valid until after Send returns without error.
- //
- // See DeleteRobotApplication for more information on using the DeleteRobotApplication
- // API call, and error handling.
- //
- // This method is useful when you want to inject custom logic or configuration
- // into the SDK's request lifecycle. Such as custom headers, or retry logic.
- //
- //
- // // Example sending a request using the DeleteRobotApplicationRequest method.
- // req, resp := client.DeleteRobotApplicationRequest(params)
- //
- // err := req.Send()
- // if err == nil { // resp is now filled
- // fmt.Println(resp)
- // }
- //
- // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/DeleteRobotApplication
- func (c *RoboMaker) DeleteRobotApplicationRequest(input *DeleteRobotApplicationInput) (req *request.Request, output *DeleteRobotApplicationOutput) {
- op := &request.Operation{
- Name: opDeleteRobotApplication,
- HTTPMethod: "POST",
- HTTPPath: "/deleteRobotApplication",
- }
- if input == nil {
- input = &DeleteRobotApplicationInput{}
- }
- output = &DeleteRobotApplicationOutput{}
- req = c.newRequest(op, input, output)
- req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
- return
- }
- // DeleteRobotApplication API operation for AWS RoboMaker.
- //
- // Deletes a robot application.
- //
- // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
- // with awserr.Error's Code and Message methods to get detailed information about
- // the error.
- //
- // See the AWS API reference guide for AWS RoboMaker's
- // API operation DeleteRobotApplication for usage and error information.
- //
- // Returned Error Codes:
- // * ErrCodeInvalidParameterException "InvalidParameterException"
- // A parameter specified in a request is not valid, is unsupported, or cannot
- // be used. The returned message provides an explanation of the error value.
- //
- // * ErrCodeThrottlingException "ThrottlingException"
- // AWS RoboMaker is temporarily unable to process the request. Try your call
- // again.
- //
- // * ErrCodeInternalServerException "InternalServerException"
- // AWS RoboMaker experienced a service issue. Try your call again.
- //
- // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/DeleteRobotApplication
- func (c *RoboMaker) DeleteRobotApplication(input *DeleteRobotApplicationInput) (*DeleteRobotApplicationOutput, error) {
- req, out := c.DeleteRobotApplicationRequest(input)
- return out, req.Send()
- }
- // DeleteRobotApplicationWithContext is the same as DeleteRobotApplication with the addition of
- // the ability to pass a context and additional request options.
- //
- // See DeleteRobotApplication for details on how to use this API operation.
- //
- // The context must be non-nil and will be used for request cancellation. If
- // the context is nil a panic will occur. In the future the SDK may create
- // sub-contexts for http.Requests. See https://golang.org/pkg/context/
- // for more information on using Contexts.
- func (c *RoboMaker) DeleteRobotApplicationWithContext(ctx aws.Context, input *DeleteRobotApplicationInput, opts ...request.Option) (*DeleteRobotApplicationOutput, error) {
- req, out := c.DeleteRobotApplicationRequest(input)
- req.SetContext(ctx)
- req.ApplyOptions(opts...)
- return out, req.Send()
- }
- const opDeleteSimulationApplication = "DeleteSimulationApplication"
- // DeleteSimulationApplicationRequest generates a "aws/request.Request" representing the
- // client's request for the DeleteSimulationApplication operation. The "output" return
- // value will be populated with the request's response once the request completes
- // successfully.
- //
- // Use "Send" method on the returned Request to send the API call to the service.
- // the "output" return value is not valid until after Send returns without error.
- //
- // See DeleteSimulationApplication for more information on using the DeleteSimulationApplication
- // API call, and error handling.
- //
- // This method is useful when you want to inject custom logic or configuration
- // into the SDK's request lifecycle. Such as custom headers, or retry logic.
- //
- //
- // // Example sending a request using the DeleteSimulationApplicationRequest method.
- // req, resp := client.DeleteSimulationApplicationRequest(params)
- //
- // err := req.Send()
- // if err == nil { // resp is now filled
- // fmt.Println(resp)
- // }
- //
- // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/DeleteSimulationApplication
- func (c *RoboMaker) DeleteSimulationApplicationRequest(input *DeleteSimulationApplicationInput) (req *request.Request, output *DeleteSimulationApplicationOutput) {
- op := &request.Operation{
- Name: opDeleteSimulationApplication,
- HTTPMethod: "POST",
- HTTPPath: "/deleteSimulationApplication",
- }
- if input == nil {
- input = &DeleteSimulationApplicationInput{}
- }
- output = &DeleteSimulationApplicationOutput{}
- req = c.newRequest(op, input, output)
- req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
- return
- }
- // DeleteSimulationApplication API operation for AWS RoboMaker.
- //
- // Deletes a simulation application.
- //
- // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
- // with awserr.Error's Code and Message methods to get detailed information about
- // the error.
- //
- // See the AWS API reference guide for AWS RoboMaker's
- // API operation DeleteSimulationApplication for usage and error information.
- //
- // Returned Error Codes:
- // * ErrCodeInvalidParameterException "InvalidParameterException"
- // A parameter specified in a request is not valid, is unsupported, or cannot
- // be used. The returned message provides an explanation of the error value.
- //
- // * ErrCodeThrottlingException "ThrottlingException"
- // AWS RoboMaker is temporarily unable to process the request. Try your call
- // again.
- //
- // * ErrCodeInternalServerException "InternalServerException"
- // AWS RoboMaker experienced a service issue. Try your call again.
- //
- // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/DeleteSimulationApplication
- func (c *RoboMaker) DeleteSimulationApplication(input *DeleteSimulationApplicationInput) (*DeleteSimulationApplicationOutput, error) {
- req, out := c.DeleteSimulationApplicationRequest(input)
- return out, req.Send()
- }
- // DeleteSimulationApplicationWithContext is the same as DeleteSimulationApplication with the addition of
- // the ability to pass a context and additional request options.
- //
- // See DeleteSimulationApplication for details on how to use this API operation.
- //
- // The context must be non-nil and will be used for request cancellation. If
- // the context is nil a panic will occur. In the future the SDK may create
- // sub-contexts for http.Requests. See https://golang.org/pkg/context/
- // for more information on using Contexts.
- func (c *RoboMaker) DeleteSimulationApplicationWithContext(ctx aws.Context, input *DeleteSimulationApplicationInput, opts ...request.Option) (*DeleteSimulationApplicationOutput, error) {
- req, out := c.DeleteSimulationApplicationRequest(input)
- req.SetContext(ctx)
- req.ApplyOptions(opts...)
- return out, req.Send()
- }
- const opDeregisterRobot = "DeregisterRobot"
- // DeregisterRobotRequest generates a "aws/request.Request" representing the
- // client's request for the DeregisterRobot operation. The "output" return
- // value will be populated with the request's response once the request completes
- // successfully.
- //
- // Use "Send" method on the returned Request to send the API call to the service.
- // the "output" return value is not valid until after Send returns without error.
- //
- // See DeregisterRobot for more information on using the DeregisterRobot
- // API call, and error handling.
- //
- // This method is useful when you want to inject custom logic or configuration
- // into the SDK's request lifecycle. Such as custom headers, or retry logic.
- //
- //
- // // Example sending a request using the DeregisterRobotRequest method.
- // req, resp := client.DeregisterRobotRequest(params)
- //
- // err := req.Send()
- // if err == nil { // resp is now filled
- // fmt.Println(resp)
- // }
- //
- // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/DeregisterRobot
- func (c *RoboMaker) DeregisterRobotRequest(input *DeregisterRobotInput) (req *request.Request, output *DeregisterRobotOutput) {
- op := &request.Operation{
- Name: opDeregisterRobot,
- HTTPMethod: "POST",
- HTTPPath: "/deregisterRobot",
- }
- if input == nil {
- input = &DeregisterRobotInput{}
- }
- output = &DeregisterRobotOutput{}
- req = c.newRequest(op, input, output)
- return
- }
- // DeregisterRobot API operation for AWS RoboMaker.
- //
- // Deregisters a robot.
- //
- // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
- // with awserr.Error's Code and Message methods to get detailed information about
- // the error.
- //
- // See the AWS API reference guide for AWS RoboMaker's
- // API operation DeregisterRobot for usage and error information.
- //
- // Returned Error Codes:
- // * ErrCodeInvalidParameterException "InvalidParameterException"
- // A parameter specified in a request is not valid, is unsupported, or cannot
- // be used. The returned message provides an explanation of the error value.
- //
- // * ErrCodeInternalServerException "InternalServerException"
- // AWS RoboMaker experienced a service issue. Try your call again.
- //
- // * ErrCodeThrottlingException "ThrottlingException"
- // AWS RoboMaker is temporarily unable to process the request. Try your call
- // again.
- //
- // * ErrCodeResourceNotFoundException "ResourceNotFoundException"
- // The specified resource does not exist.
- //
- // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/DeregisterRobot
- func (c *RoboMaker) DeregisterRobot(input *DeregisterRobotInput) (*DeregisterRobotOutput, error) {
- req, out := c.DeregisterRobotRequest(input)
- return out, req.Send()
- }
- // DeregisterRobotWithContext is the same as DeregisterRobot with the addition of
- // the ability to pass a context and additional request options.
- //
- // See DeregisterRobot for details on how to use this API operation.
- //
- // The context must be non-nil and will be used for request cancellation. If
- // the context is nil a panic will occur. In the future the SDK may create
- // sub-contexts for http.Requests. See https://golang.org/pkg/context/
- // for more information on using Contexts.
- func (c *RoboMaker) DeregisterRobotWithContext(ctx aws.Context, input *DeregisterRobotInput, opts ...request.Option) (*DeregisterRobotOutput, error) {
- req, out := c.DeregisterRobotRequest(input)
- req.SetContext(ctx)
- req.ApplyOptions(opts...)
- return out, req.Send()
- }
- const opDescribeDeploymentJob = "DescribeDeploymentJob"
- // DescribeDeploymentJobRequest generates a "aws/request.Request" representing the
- // client's request for the DescribeDeploymentJob operation. The "output" return
- // value will be populated with the request's response once the request completes
- // successfully.
- //
- // Use "Send" method on the returned Request to send the API call to the service.
- // the "output" return value is not valid until after Send returns without error.
- //
- // See DescribeDeploymentJob for more information on using the DescribeDeploymentJob
- // API call, and error handling.
- //
- // This method is useful when you want to inject custom logic or configuration
- // into the SDK's request lifecycle. Such as custom headers, or retry logic.
- //
- //
- // // Example sending a request using the DescribeDeploymentJobRequest method.
- // req, resp := client.DescribeDeploymentJobRequest(params)
- //
- // err := req.Send()
- // if err == nil { // resp is now filled
- // fmt.Println(resp)
- // }
- //
- // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/DescribeDeploymentJob
- func (c *RoboMaker) DescribeDeploymentJobRequest(input *DescribeDeploymentJobInput) (req *request.Request, output *DescribeDeploymentJobOutput) {
- op := &request.Operation{
- Name: opDescribeDeploymentJob,
- HTTPMethod: "POST",
- HTTPPath: "/describeDeploymentJob",
- }
- if input == nil {
- input = &DescribeDeploymentJobInput{}
- }
- output = &DescribeDeploymentJobOutput{}
- req = c.newRequest(op, input, output)
- return
- }
- // DescribeDeploymentJob API operation for AWS RoboMaker.
- //
- // Describes a deployment job. [Does it work regardless of deployment status,
- // e.g. Failed?]
- //
- // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
- // with awserr.Error's Code and Message methods to get detailed information about
- // the error.
- //
- // See the AWS API reference guide for AWS RoboMaker's
- // API operation DescribeDeploymentJob for usage and error information.
- //
- // Returned Error Codes:
- // * ErrCodeResourceNotFoundException "ResourceNotFoundException"
- // The specified resource does not exist.
- //
- // * ErrCodeInvalidParameterException "InvalidParameterException"
- // A parameter specified in a request is not valid, is unsupported, or cannot
- // be used. The returned message provides an explanation of the error value.
- //
- // * ErrCodeInternalServerException "InternalServerException"
- // AWS RoboMaker experienced a service issue. Try your call again.
- //
- // * ErrCodeThrottlingException "ThrottlingException"
- // AWS RoboMaker is temporarily unable to process the request. Try your call
- // again.
- //
- // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/DescribeDeploymentJob
- func (c *RoboMaker) DescribeDeploymentJob(input *DescribeDeploymentJobInput) (*DescribeDeploymentJobOutput, error) {
- req, out := c.DescribeDeploymentJobRequest(input)
- return out, req.Send()
- }
- // DescribeDeploymentJobWithContext is the same as DescribeDeploymentJob with the addition of
- // the ability to pass a context and additional request options.
- //
- // See DescribeDeploymentJob for details on how to use this API operation.
- //
- // The context must be non-nil and will be used for request cancellation. If
- // the context is nil a panic will occur. In the future the SDK may create
- // sub-contexts for http.Requests. See https://golang.org/pkg/context/
- // for more information on using Contexts.
- func (c *RoboMaker) DescribeDeploymentJobWithContext(ctx aws.Context, input *DescribeDeploymentJobInput, opts ...request.Option) (*DescribeDeploymentJobOutput, error) {
- req, out := c.DescribeDeploymentJobRequest(input)
- req.SetContext(ctx)
- req.ApplyOptions(opts...)
- return out, req.Send()
- }
- const opDescribeFleet = "DescribeFleet"
- // DescribeFleetRequest generates a "aws/request.Request" representing the
- // client's request for the DescribeFleet operation. The "output" return
- // value will be populated with the request's response once the request completes
- // successfully.
- //
- // Use "Send" method on the returned Request to send the API call to the service.
- // the "output" return value is not valid until after Send returns without error.
- //
- // See DescribeFleet for more information on using the DescribeFleet
- // API call, and error handling.
- //
- // This method is useful when you want to inject custom logic or configuration
- // into the SDK's request lifecycle. Such as custom headers, or retry logic.
- //
- //
- // // Example sending a request using the DescribeFleetRequest method.
- // req, resp := client.DescribeFleetRequest(params)
- //
- // err := req.Send()
- // if err == nil { // resp is now filled
- // fmt.Println(resp)
- // }
- //
- // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/DescribeFleet
- func (c *RoboMaker) DescribeFleetRequest(input *DescribeFleetInput) (req *request.Request, output *DescribeFleetOutput) {
- op := &request.Operation{
- Name: opDescribeFleet,
- HTTPMethod: "POST",
- HTTPPath: "/describeFleet",
- }
- if input == nil {
- input = &DescribeFleetInput{}
- }
- output = &DescribeFleetOutput{}
- req = c.newRequest(op, input, output)
- return
- }
- // DescribeFleet API operation for AWS RoboMaker.
- //
- // Describes a fleet.
- //
- // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
- // with awserr.Error's Code and Message methods to get detailed information about
- // the error.
- //
- // See the AWS API reference guide for AWS RoboMaker's
- // API operation DescribeFleet for usage and error information.
- //
- // Returned Error Codes:
- // * ErrCodeResourceNotFoundException "ResourceNotFoundException"
- // The specified resource does not exist.
- //
- // * ErrCodeInvalidParameterException "InvalidParameterException"
- // A parameter specified in a request is not valid, is unsupported, or cannot
- // be used. The returned message provides an explanation of the error value.
- //
- // * ErrCodeInternalServerException "InternalServerException"
- // AWS RoboMaker experienced a service issue. Try your call again.
- //
- // * ErrCodeThrottlingException "ThrottlingException"
- // AWS RoboMaker is temporarily unable to process the request. Try your call
- // again.
- //
- // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/DescribeFleet
- func (c *RoboMaker) DescribeFleet(input *DescribeFleetInput) (*DescribeFleetOutput, error) {
- req, out := c.DescribeFleetRequest(input)
- return out, req.Send()
- }
- // DescribeFleetWithContext is the same as DescribeFleet with the addition of
- // the ability to pass a context and additional request options.
- //
- // See DescribeFleet for details on how to use this API operation.
- //
- // The context must be non-nil and will be used for request cancellation. If
- // the context is nil a panic will occur. In the future the SDK may create
- // sub-contexts for http.Requests. See https://golang.org/pkg/context/
- // for more information on using Contexts.
- func (c *RoboMaker) DescribeFleetWithContext(ctx aws.Context, input *DescribeFleetInput, opts ...request.Option) (*DescribeFleetOutput, error) {
- req, out := c.DescribeFleetRequest(input)
- req.SetContext(ctx)
- req.ApplyOptions(opts...)
- return out, req.Send()
- }
- const opDescribeRobot = "DescribeRobot"
- // DescribeRobotRequest generates a "aws/request.Request" representing the
- // client's request for the DescribeRobot operation. The "output" return
- // value will be populated with the request's response once the request completes
- // successfully.
- //
- // Use "Send" method on the returned Request to send the API call to the service.
- // the "output" return value is not valid until after Send returns without error.
- //
- // See DescribeRobot for more information on using the DescribeRobot
- // API call, and error handling.
- //
- // This method is useful when you want to inject custom logic or configuration
- // into the SDK's request lifecycle. Such as custom headers, or retry logic.
- //
- //
- // // Example sending a request using the DescribeRobotRequest method.
- // req, resp := client.DescribeRobotRequest(params)
- //
- // err := req.Send()
- // if err == nil { // resp is now filled
- // fmt.Println(resp)
- // }
- //
- // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/DescribeRobot
- func (c *RoboMaker) DescribeRobotRequest(input *DescribeRobotInput) (req *request.Request, output *DescribeRobotOutput) {
- op := &request.Operation{
- Name: opDescribeRobot,
- HTTPMethod: "POST",
- HTTPPath: "/describeRobot",
- }
- if input == nil {
- input = &DescribeRobotInput{}
- }
- output = &DescribeRobotOutput{}
- req = c.newRequest(op, input, output)
- return
- }
- // DescribeRobot API operation for AWS RoboMaker.
- //
- // Describes a robot.
- //
- // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
- // with awserr.Error's Code and Message methods to get detailed information about
- // the error.
- //
- // See the AWS API reference guide for AWS RoboMaker's
- // API operation DescribeRobot for usage and error information.
- //
- // Returned Error Codes:
- // * ErrCodeResourceNotFoundException "ResourceNotFoundException"
- // The specified resource does not exist.
- //
- // * ErrCodeInvalidParameterException "InvalidParameterException"
- // A parameter specified in a request is not valid, is unsupported, or cannot
- // be used. The returned message provides an explanation of the error value.
- //
- // * ErrCodeInternalServerException "InternalServerException"
- // AWS RoboMaker experienced a service issue. Try your call again.
- //
- // * ErrCodeThrottlingException "ThrottlingException"
- // AWS RoboMaker is temporarily unable to process the request. Try your call
- // again.
- //
- // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/DescribeRobot
- func (c *RoboMaker) DescribeRobot(input *DescribeRobotInput) (*DescribeRobotOutput, error) {
- req, out := c.DescribeRobotRequest(input)
- return out, req.Send()
- }
- // DescribeRobotWithContext is the same as DescribeRobot with the addition of
- // the ability to pass a context and additional request options.
- //
- // See DescribeRobot for details on how to use this API operation.
- //
- // The context must be non-nil and will be used for request cancellation. If
- // the context is nil a panic will occur. In the future the SDK may create
- // sub-contexts for http.Requests. See https://golang.org/pkg/context/
- // for more information on using Contexts.
- func (c *RoboMaker) DescribeRobotWithContext(ctx aws.Context, input *DescribeRobotInput, opts ...request.Option) (*DescribeRobotOutput, error) {
- req, out := c.DescribeRobotRequest(input)
- req.SetContext(ctx)
- req.ApplyOptions(opts...)
- return out, req.Send()
- }
- const opDescribeRobotApplication = "DescribeRobotApplication"
- // DescribeRobotApplicationRequest generates a "aws/request.Request" representing the
- // client's request for the DescribeRobotApplication operation. The "output" return
- // value will be populated with the request's response once the request completes
- // successfully.
- //
- // Use "Send" method on the returned Request to send the API call to the service.
- // the "output" return value is not valid until after Send returns without error.
- //
- // See DescribeRobotApplication for more information on using the DescribeRobotApplication
- // API call, and error handling.
- //
- // This method is useful when you want to inject custom logic or configuration
- // into the SDK's request lifecycle. Such as custom headers, or retry logic.
- //
- //
- // // Example sending a request using the DescribeRobotApplicationRequest method.
- // req, resp := client.DescribeRobotApplicationRequest(params)
- //
- // err := req.Send()
- // if err == nil { // resp is now filled
- // fmt.Println(resp)
- // }
- //
- // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/DescribeRobotApplication
- func (c *RoboMaker) DescribeRobotApplicationRequest(input *DescribeRobotApplicationInput) (req *request.Request, output *DescribeRobotApplicationOutput) {
- op := &request.Operation{
- Name: opDescribeRobotApplication,
- HTTPMethod: "POST",
- HTTPPath: "/describeRobotApplication",
- }
- if input == nil {
- input = &DescribeRobotApplicationInput{}
- }
- output = &DescribeRobotApplicationOutput{}
- req = c.newRequest(op, input, output)
- return
- }
- // DescribeRobotApplication API operation for AWS RoboMaker.
- //
- // Describes a robot application.
- //
- // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
- // with awserr.Error's Code and Message methods to get detailed information about
- // the error.
- //
- // See the AWS API reference guide for AWS RoboMaker's
- // API operation DescribeRobotApplication for usage and error information.
- //
- // Returned Error Codes:
- // * ErrCodeInvalidParameterException "InvalidParameterException"
- // A parameter specified in a request is not valid, is unsupported, or cannot
- // be used. The returned message provides an explanation of the error value.
- //
- // * ErrCodeResourceNotFoundException "ResourceNotFoundException"
- // The specified resource does not exist.
- //
- // * ErrCodeThrottlingException "ThrottlingException"
- // AWS RoboMaker is temporarily unable to process the request. Try your call
- // again.
- //
- // * ErrCodeInternalServerException "InternalServerException"
- // AWS RoboMaker experienced a service issue. Try your call again.
- //
- // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/DescribeRobotApplication
- func (c *RoboMaker) DescribeRobotApplication(input *DescribeRobotApplicationInput) (*DescribeRobotApplicationOutput, error) {
- req, out := c.DescribeRobotApplicationRequest(input)
- return out, req.Send()
- }
- // DescribeRobotApplicationWithContext is the same as DescribeRobotApplication with the addition of
- // the ability to pass a context and additional request options.
- //
- // See DescribeRobotApplication for details on how to use this API operation.
- //
- // The context must be non-nil and will be used for request cancellation. If
- // the context is nil a panic will occur. In the future the SDK may create
- // sub-contexts for http.Requests. See https://golang.org/pkg/context/
- // for more information on using Contexts.
- func (c *RoboMaker) DescribeRobotApplicationWithContext(ctx aws.Context, input *DescribeRobotApplicationInput, opts ...request.Option) (*DescribeRobotApplicationOutput, error) {
- req, out := c.DescribeRobotApplicationRequest(input)
- req.SetContext(ctx)
- req.ApplyOptions(opts...)
- return out, req.Send()
- }
- const opDescribeSimulationApplication = "DescribeSimulationApplication"
- // DescribeSimulationApplicationRequest generates a "aws/request.Request" representing the
- // client's request for the DescribeSimulationApplication operation. The "output" return
- // value will be populated with the request's response once the request completes
- // successfully.
- //
- // Use "Send" method on the returned Request to send the API call to the service.
- // the "output" return value is not valid until after Send returns without error.
- //
- // See DescribeSimulationApplication for more information on using the DescribeSimulationApplication
- // API call, and error handling.
- //
- // This method is useful when you want to inject custom logic or configuration
- // into the SDK's request lifecycle. Such as custom headers, or retry logic.
- //
- //
- // // Example sending a request using the DescribeSimulationApplicationRequest method.
- // req, resp := client.DescribeSimulationApplicationRequest(params)
- //
- // err := req.Send()
- // if err == nil { // resp is now filled
- // fmt.Println(resp)
- // }
- //
- // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/DescribeSimulationApplication
- func (c *RoboMaker) DescribeSimulationApplicationRequest(input *DescribeSimulationApplicationInput) (req *request.Request, output *DescribeSimulationApplicationOutput) {
- op := &request.Operation{
- Name: opDescribeSimulationApplication,
- HTTPMethod: "POST",
- HTTPPath: "/describeSimulationApplication",
- }
- if input == nil {
- input = &DescribeSimulationApplicationInput{}
- }
- output = &DescribeSimulationApplicationOutput{}
- req = c.newRequest(op, input, output)
- return
- }
- // DescribeSimulationApplication API operation for AWS RoboMaker.
- //
- // Describes a simulation application.
- //
- // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
- // with awserr.Error's Code and Message methods to get detailed information about
- // the error.
- //
- // See the AWS API reference guide for AWS RoboMaker's
- // API operation DescribeSimulationApplication for usage and error information.
- //
- // Returned Error Codes:
- // * ErrCodeInvalidParameterException "InvalidParameterException"
- // A parameter specified in a request is not valid, is unsupported, or cannot
- // be used. The returned message provides an explanation of the error value.
- //
- // * ErrCodeResourceNotFoundException "ResourceNotFoundException"
- // The specified resource does not exist.
- //
- // * ErrCodeThrottlingException "ThrottlingException"
- // AWS RoboMaker is temporarily unable to process the request. Try your call
- // again.
- //
- // * ErrCodeInternalServerException "InternalServerException"
- // AWS RoboMaker experienced a service issue. Try your call again.
- //
- // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/DescribeSimulationApplication
- func (c *RoboMaker) DescribeSimulationApplication(input *DescribeSimulationApplicationInput) (*DescribeSimulationApplicationOutput, error) {
- req, out := c.DescribeSimulationApplicationRequest(input)
- return out, req.Send()
- }
- // DescribeSimulationApplicationWithContext is the same as DescribeSimulationApplication with the addition of
- // the ability to pass a context and additional request options.
- //
- // See DescribeSimulationApplication for details on how to use this API operation.
- //
- // The context must be non-nil and will be used for request cancellation. If
- // the context is nil a panic will occur. In the future the SDK may create
- // sub-contexts for http.Requests. See https://golang.org/pkg/context/
- // for more information on using Contexts.
- func (c *RoboMaker) DescribeSimulationApplicationWithContext(ctx aws.Context, input *DescribeSimulationApplicationInput, opts ...request.Option) (*DescribeSimulationApplicationOutput, error) {
- req, out := c.DescribeSimulationApplicationRequest(input)
- req.SetContext(ctx)
- req.ApplyOptions(opts...)
- return out, req.Send()
- }
- const opDescribeSimulationJob = "DescribeSimulationJob"
- // DescribeSimulationJobRequest generates a "aws/request.Request" representing the
- // client's request for the DescribeSimulationJob operation. The "output" return
- // value will be populated with the request's response once the request completes
- // successfully.
- //
- // Use "Send" method on the returned Request to send the API call to the service.
- // the "output" return value is not valid until after Send returns without error.
- //
- // See DescribeSimulationJob for more information on using the DescribeSimulationJob
- // API call, and error handling.
- //
- // This method is useful when you want to inject custom logic or configuration
- // into the SDK's request lifecycle. Such as custom headers, or retry logic.
- //
- //
- // // Example sending a request using the DescribeSimulationJobRequest method.
- // req, resp := client.DescribeSimulationJobRequest(params)
- //
- // err := req.Send()
- // if err == nil { // resp is now filled
- // fmt.Println(resp)
- // }
- //
- // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/DescribeSimulationJob
- func (c *RoboMaker) DescribeSimulationJobRequest(input *DescribeSimulationJobInput) (req *request.Request, output *DescribeSimulationJobOutput) {
- op := &request.Operation{
- Name: opDescribeSimulationJob,
- HTTPMethod: "POST",
- HTTPPath: "/describeSimulationJob",
- }
- if input == nil {
- input = &DescribeSimulationJobInput{}
- }
- output = &DescribeSimulationJobOutput{}
- req = c.newRequest(op, input, output)
- return
- }
- // DescribeSimulationJob API operation for AWS RoboMaker.
- //
- // Describes a simulation job.
- //
- // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
- // with awserr.Error's Code and Message methods to get detailed information about
- // the error.
- //
- // See the AWS API reference guide for AWS RoboMaker's
- // API operation DescribeSimulationJob for usage and error information.
- //
- // Returned Error Codes:
- // * ErrCodeResourceNotFoundException "ResourceNotFoundException"
- // The specified resource does not exist.
- //
- // * ErrCodeInvalidParameterException "InvalidParameterException"
- // A parameter specified in a request is not valid, is unsupported, or cannot
- // be used. The returned message provides an explanation of the error value.
- //
- // * ErrCodeInternalServerException "InternalServerException"
- // AWS RoboMaker experienced a service issue. Try your call again.
- //
- // * ErrCodeThrottlingException "ThrottlingException"
- // AWS RoboMaker is temporarily unable to process the request. Try your call
- // again.
- //
- // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/DescribeSimulationJob
- func (c *RoboMaker) DescribeSimulationJob(input *DescribeSimulationJobInput) (*DescribeSimulationJobOutput, error) {
- req, out := c.DescribeSimulationJobRequest(input)
- return out, req.Send()
- }
- // DescribeSimulationJobWithContext is the same as DescribeSimulationJob with the addition of
- // the ability to pass a context and additional request options.
- //
- // See DescribeSimulationJob for details on how to use this API operation.
- //
- // The context must be non-nil and will be used for request cancellation. If
- // the context is nil a panic will occur. In the future the SDK may create
- // sub-contexts for http.Requests. See https://golang.org/pkg/context/
- // for more information on using Contexts.
- func (c *RoboMaker) DescribeSimulationJobWithContext(ctx aws.Context, input *DescribeSimulationJobInput, opts ...request.Option) (*DescribeSimulationJobOutput, error) {
- req, out := c.DescribeSimulationJobRequest(input)
- req.SetContext(ctx)
- req.ApplyOptions(opts...)
- return out, req.Send()
- }
- const opListDeploymentJobs = "ListDeploymentJobs"
- // ListDeploymentJobsRequest generates a "aws/request.Request" representing the
- // client's request for the ListDeploymentJobs operation. The "output" return
- // value will be populated with the request's response once the request completes
- // successfully.
- //
- // Use "Send" method on the returned Request to send the API call to the service.
- // the "output" return value is not valid until after Send returns without error.
- //
- // See ListDeploymentJobs for more information on using the ListDeploymentJobs
- // API call, and error handling.
- //
- // This method is useful when you want to inject custom logic or configuration
- // into the SDK's request lifecycle. Such as custom headers, or retry logic.
- //
- //
- // // Example sending a request using the ListDeploymentJobsRequest method.
- // req, resp := client.ListDeploymentJobsRequest(params)
- //
- // err := req.Send()
- // if err == nil { // resp is now filled
- // fmt.Println(resp)
- // }
- //
- // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/ListDeploymentJobs
- func (c *RoboMaker) ListDeploymentJobsRequest(input *ListDeploymentJobsInput) (req *request.Request, output *ListDeploymentJobsOutput) {
- op := &request.Operation{
- Name: opListDeploymentJobs,
- HTTPMethod: "POST",
- HTTPPath: "/listDeploymentJobs",
- }
- if input == nil {
- input = &ListDeploymentJobsInput{}
- }
- output = &ListDeploymentJobsOutput{}
- req = c.newRequest(op, input, output)
- return
- }
- // ListDeploymentJobs API operation for AWS RoboMaker.
- //
- // Returns a list of deployment jobs for a fleet. You can optionally provide
- // filters to retrieve specific deployment jobs.
- //
- // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
- // with awserr.Error's Code and Message methods to get detailed information about
- // the error.
- //
- // See the AWS API reference guide for AWS RoboMaker's
- // API operation ListDeploymentJobs for usage and error information.
- //
- // Returned Error Codes:
- // * ErrCodeResourceNotFoundException "ResourceNotFoundException"
- // The specified resource does not exist.
- //
- // * ErrCodeInvalidParameterException "InvalidParameterException"
- // A parameter specified in a request is not valid, is unsupported, or cannot
- // be used. The returned message provides an explanation of the error value.
- //
- // * ErrCodeInternalServerException "InternalServerException"
- // AWS RoboMaker experienced a service issue. Try your call again.
- //
- // * ErrCodeThrottlingException "ThrottlingException"
- // AWS RoboMaker is temporarily unable to process the request. Try your call
- // again.
- //
- // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/ListDeploymentJobs
- func (c *RoboMaker) ListDeploymentJobs(input *ListDeploymentJobsInput) (*ListDeploymentJobsOutput, error) {
- req, out := c.ListDeploymentJobsRequest(input)
- return out, req.Send()
- }
- // ListDeploymentJobsWithContext is the same as ListDeploymentJobs with the addition of
- // the ability to pass a context and additional request options.
- //
- // See ListDeploymentJobs for details on how to use this API operation.
- //
- // The context must be non-nil and will be used for request cancellation. If
- // the context is nil a panic will occur. In the future the SDK may create
- // sub-contexts for http.Requests. See https://golang.org/pkg/context/
- // for more information on using Contexts.
- func (c *RoboMaker) ListDeploymentJobsWithContext(ctx aws.Context, input *ListDeploymentJobsInput, opts ...request.Option) (*ListDeploymentJobsOutput, error) {
- req, out := c.ListDeploymentJobsRequest(input)
- req.SetContext(ctx)
- req.ApplyOptions(opts...)
- return out, req.Send()
- }
- const opListFleets = "ListFleets"
- // ListFleetsRequest generates a "aws/request.Request" representing the
- // client's request for the ListFleets operation. The "output" return
- // value will be populated with the request's response once the request completes
- // successfully.
- //
- // Use "Send" method on the returned Request to send the API call to the service.
- // the "output" return value is not valid until after Send returns without error.
- //
- // See ListFleets for more information on using the ListFleets
- // API call, and error handling.
- //
- // This method is useful when you want to inject custom logic or configuration
- // into the SDK's request lifecycle. Such as custom headers, or retry logic.
- //
- //
- // // Example sending a request using the ListFleetsRequest method.
- // req, resp := client.ListFleetsRequest(params)
- //
- // err := req.Send()
- // if err == nil { // resp is now filled
- // fmt.Println(resp)
- // }
- //
- // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/ListFleets
- func (c *RoboMaker) ListFleetsRequest(input *ListFleetsInput) (req *request.Request, output *ListFleetsOutput) {
- op := &request.Operation{
- Name: opListFleets,
- HTTPMethod: "POST",
- HTTPPath: "/listFleets",
- }
- if input == nil {
- input = &ListFleetsInput{}
- }
- output = &ListFleetsOutput{}
- req = c.newRequest(op, input, output)
- return
- }
- // ListFleets API operation for AWS RoboMaker.
- //
- // Returns a list of fleets. You can optionally provide filters to retrieve
- // specific fleets.
- //
- // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
- // with awserr.Error's Code and Message methods to get detailed information about
- // the error.
- //
- // See the AWS API reference guide for AWS RoboMaker's
- // API operation ListFleets for usage and error information.
- //
- // Returned Error Codes:
- // * ErrCodeResourceNotFoundException "ResourceNotFoundException"
- // The specified resource does not exist.
- //
- // * ErrCodeInvalidParameterException "InvalidParameterException"
- // A parameter specified in a request is not valid, is unsupported, or cannot
- // be used. The returned message provides an explanation of the error value.
- //
- // * ErrCodeInternalServerException "InternalServerException"
- // AWS RoboMaker experienced a service issue. Try your call again.
- //
- // * ErrCodeThrottlingException "ThrottlingException"
- // AWS RoboMaker is temporarily unable to process the request. Try your call
- // again.
- //
- // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/ListFleets
- func (c *RoboMaker) ListFleets(input *ListFleetsInput) (*ListFleetsOutput, error) {
- req, out := c.ListFleetsRequest(input)
- return out, req.Send()
- }
- // ListFleetsWithContext is the same as ListFleets with the addition of
- // the ability to pass a context and additional request options.
- //
- // See ListFleets for details on how to use this API operation.
- //
- // The context must be non-nil and will be used for request cancellation. If
- // the context is nil a panic will occur. In the future the SDK may create
- // sub-contexts for http.Requests. See https://golang.org/pkg/context/
- // for more information on using Contexts.
- func (c *RoboMaker) ListFleetsWithContext(ctx aws.Context, input *ListFleetsInput, opts ...request.Option) (*ListFleetsOutput, error) {
- req, out := c.ListFleetsRequest(input)
- req.SetContext(ctx)
- req.ApplyOptions(opts...)
- return out, req.Send()
- }
- const opListRobotApplications = "ListRobotApplications"
- // ListRobotApplicationsRequest generates a "aws/request.Request" representing the
- // client's request for the ListRobotApplications operation. The "output" return
- // value will be populated with the request's response once the request completes
- // successfully.
- //
- // Use "Send" method on the returned Request to send the API call to the service.
- // the "output" return value is not valid until after Send returns without error.
- //
- // See ListRobotApplications for more information on using the ListRobotApplications
- // API call, and error handling.
- //
- // This method is useful when you want to inject custom logic or configuration
- // into the SDK's request lifecycle. Such as custom headers, or retry logic.
- //
- //
- // // Example sending a request using the ListRobotApplicationsRequest method.
- // req, resp := client.ListRobotApplicationsRequest(params)
- //
- // err := req.Send()
- // if err == nil { // resp is now filled
- // fmt.Println(resp)
- // }
- //
- // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/ListRobotApplications
- func (c *RoboMaker) ListRobotApplicationsRequest(input *ListRobotApplicationsInput) (req *request.Request, output *ListRobotApplicationsOutput) {
- op := &request.Operation{
- Name: opListRobotApplications,
- HTTPMethod: "POST",
- HTTPPath: "/listRobotApplications",
- }
- if input == nil {
- input = &ListRobotApplicationsInput{}
- }
- output = &ListRobotApplicationsOutput{}
- req = c.newRequest(op, input, output)
- return
- }
- // ListRobotApplications API operation for AWS RoboMaker.
- //
- // Returns a list of robot application. You can optionally provide filters to
- // retrieve specific robot applications.
- //
- // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
- // with awserr.Error's Code and Message methods to get detailed information about
- // the error.
- //
- // See the AWS API reference guide for AWS RoboMaker's
- // API operation ListRobotApplications for usage and error information.
- //
- // Returned Error Codes:
- // * ErrCodeInvalidParameterException "InvalidParameterException"
- // A parameter specified in a request is not valid, is unsupported, or cannot
- // be used. The returned message provides an explanation of the error value.
- //
- // * ErrCodeThrottlingException "ThrottlingException"
- // AWS RoboMaker is temporarily unable to process the request. Try your call
- // again.
- //
- // * ErrCodeInternalServerException "InternalServerException"
- // AWS RoboMaker experienced a service issue. Try your call again.
- //
- // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/ListRobotApplications
- func (c *RoboMaker) ListRobotApplications(input *ListRobotApplicationsInput) (*ListRobotApplicationsOutput, error) {
- req, out := c.ListRobotApplicationsRequest(input)
- return out, req.Send()
- }
- // ListRobotApplicationsWithContext is the same as ListRobotApplications with the addition of
- // the ability to pass a context and additional request options.
- //
- // See ListRobotApplications for details on how to use this API operation.
- //
- // The context must be non-nil and will be used for request cancellation. If
- // the context is nil a panic will occur. In the future the SDK may create
- // sub-contexts for http.Requests. See https://golang.org/pkg/context/
- // for more information on using Contexts.
- func (c *RoboMaker) ListRobotApplicationsWithContext(ctx aws.Context, input *ListRobotApplicationsInput, opts ...request.Option) (*ListRobotApplicationsOutput, error) {
- req, out := c.ListRobotApplicationsRequest(input)
- req.SetContext(ctx)
- req.ApplyOptions(opts...)
- return out, req.Send()
- }
- const opListRobots = "ListRobots"
- // ListRobotsRequest generates a "aws/request.Request" representing the
- // client's request for the ListRobots operation. The "output" return
- // value will be populated with the request's response once the request completes
- // successfully.
- //
- // Use "Send" method on the returned Request to send the API call to the service.
- // the "output" return value is not valid until after Send returns without error.
- //
- // See ListRobots for more information on using the ListRobots
- // API call, and error handling.
- //
- // This method is useful when you want to inject custom logic or configuration
- // into the SDK's request lifecycle. Such as custom headers, or retry logic.
- //
- //
- // // Example sending a request using the ListRobotsRequest method.
- // req, resp := client.ListRobotsRequest(params)
- //
- // err := req.Send()
- // if err == nil { // resp is now filled
- // fmt.Println(resp)
- // }
- //
- // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/ListRobots
- func (c *RoboMaker) ListRobotsRequest(input *ListRobotsInput) (req *request.Request, output *ListRobotsOutput) {
- op := &request.Operation{
- Name: opListRobots,
- HTTPMethod: "POST",
- HTTPPath: "/listRobots",
- }
- if input == nil {
- input = &ListRobotsInput{}
- }
- output = &ListRobotsOutput{}
- req = c.newRequest(op, input, output)
- return
- }
- // ListRobots API operation for AWS RoboMaker.
- //
- // Returns a list of robots. You can optionally provide filters to retrieve
- // specific robots.
- //
- // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
- // with awserr.Error's Code and Message methods to get detailed information about
- // the error.
- //
- // See the AWS API reference guide for AWS RoboMaker's
- // API operation ListRobots for usage and error information.
- //
- // Returned Error Codes:
- // * ErrCodeResourceNotFoundException "ResourceNotFoundException"
- // The specified resource does not exist.
- //
- // * ErrCodeInvalidParameterException "InvalidParameterException"
- // A parameter specified in a request is not valid, is unsupported, or cannot
- // be used. The returned message provides an explanation of the error value.
- //
- // * ErrCodeInternalServerException "InternalServerException"
- // AWS RoboMaker experienced a service issue. Try your call again.
- //
- // * ErrCodeThrottlingException "ThrottlingException"
- // AWS RoboMaker is temporarily unable to process the request. Try your call
- // again.
- //
- // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/ListRobots
- func (c *RoboMaker) ListRobots(input *ListRobotsInput) (*ListRobotsOutput, error) {
- req, out := c.ListRobotsRequest(input)
- return out, req.Send()
- }
- // ListRobotsWithContext is the same as ListRobots with the addition of
- // the ability to pass a context and additional request options.
- //
- // See ListRobots for details on how to use this API operation.
- //
- // The context must be non-nil and will be used for request cancellation. If
- // the context is nil a panic will occur. In the future the SDK may create
- // sub-contexts for http.Requests. See https://golang.org/pkg/context/
- // for more information on using Contexts.
- func (c *RoboMaker) ListRobotsWithContext(ctx aws.Context, input *ListRobotsInput, opts ...request.Option) (*ListRobotsOutput, error) {
- req, out := c.ListRobotsRequest(input)
- req.SetContext(ctx)
- req.ApplyOptions(opts...)
- return out, req.Send()
- }
- const opListSimulationApplications = "ListSimulationApplications"
- // ListSimulationApplicationsRequest generates a "aws/request.Request" representing the
- // client's request for the ListSimulationApplications operation. The "output" return
- // value will be populated with the request's response once the request completes
- // successfully.
- //
- // Use "Send" method on the returned Request to send the API call to the service.
- // the "output" return value is not valid until after Send returns without error.
- //
- // See ListSimulationApplications for more information on using the ListSimulationApplications
- // API call, and error handling.
- //
- // This method is useful when you want to inject custom logic or configuration
- // into the SDK's request lifecycle. Such as custom headers, or retry logic.
- //
- //
- // // Example sending a request using the ListSimulationApplicationsRequest method.
- // req, resp := client.ListSimulationApplicationsRequest(params)
- //
- // err := req.Send()
- // if err == nil { // resp is now filled
- // fmt.Println(resp)
- // }
- //
- // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/ListSimulationApplications
- func (c *RoboMaker) ListSimulationApplicationsRequest(input *ListSimulationApplicationsInput) (req *request.Request, output *ListSimulationApplicationsOutput) {
- op := &request.Operation{
- Name: opListSimulationApplications,
- HTTPMethod: "POST",
- HTTPPath: "/listSimulationApplications",
- }
- if input == nil {
- input = &ListSimulationApplicationsInput{}
- }
- output = &ListSimulationApplicationsOutput{}
- req = c.newRequest(op, input, output)
- return
- }
- // ListSimulationApplications API operation for AWS RoboMaker.
- //
- // Returns a list of simulation applications. You can optionally provide filters
- // to retrieve specific simulation applications.
- //
- // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
- // with awserr.Error's Code and Message methods to get detailed information about
- // the error.
- //
- // See the AWS API reference guide for AWS RoboMaker's
- // API operation ListSimulationApplications for usage and error information.
- //
- // Returned Error Codes:
- // * ErrCodeInvalidParameterException "InvalidParameterException"
- // A parameter specified in a request is not valid, is unsupported, or cannot
- // be used. The returned message provides an explanation of the error value.
- //
- // * ErrCodeThrottlingException "ThrottlingException"
- // AWS RoboMaker is temporarily unable to process the request. Try your call
- // again.
- //
- // * ErrCodeInternalServerException "InternalServerException"
- // AWS RoboMaker experienced a service issue. Try your call again.
- //
- // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/ListSimulationApplications
- func (c *RoboMaker) ListSimulationApplications(input *ListSimulationApplicationsInput) (*ListSimulationApplicationsOutput, error) {
- req, out := c.ListSimulationApplicationsRequest(input)
- return out, req.Send()
- }
- // ListSimulationApplicationsWithContext is the same as ListSimulationApplications with the addition of
- // the ability to pass a context and additional request options.
- //
- // See ListSimulationApplications for details on how to use this API operation.
- //
- // The context must be non-nil and will be used for request cancellation. If
- // the context is nil a panic will occur. In the future the SDK may create
- // sub-contexts for http.Requests. See https://golang.org/pkg/context/
- // for more information on using Contexts.
- func (c *RoboMaker) ListSimulationApplicationsWithContext(ctx aws.Context, input *ListSimulationApplicationsInput, opts ...request.Option) (*ListSimulationApplicationsOutput, error) {
- req, out := c.ListSimulationApplicationsRequest(input)
- req.SetContext(ctx)
- req.ApplyOptions(opts...)
- return out, req.Send()
- }
- const opListSimulationJobs = "ListSimulationJobs"
- // ListSimulationJobsRequest generates a "aws/request.Request" representing the
- // client's request for the ListSimulationJobs operation. The "output" return
- // value will be populated with the request's response once the request completes
- // successfully.
- //
- // Use "Send" method on the returned Request to send the API call to the service.
- // the "output" return value is not valid until after Send returns without error.
- //
- // See ListSimulationJobs for more information on using the ListSimulationJobs
- // API call, and error handling.
- //
- // This method is useful when you want to inject custom logic or configuration
- // into the SDK's request lifecycle. Such as custom headers, or retry logic.
- //
- //
- // // Example sending a request using the ListSimulationJobsRequest method.
- // req, resp := client.ListSimulationJobsRequest(params)
- //
- // err := req.Send()
- // if err == nil { // resp is now filled
- // fmt.Println(resp)
- // }
- //
- // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/ListSimulationJobs
- func (c *RoboMaker) ListSimulationJobsRequest(input *ListSimulationJobsInput) (req *request.Request, output *ListSimulationJobsOutput) {
- op := &request.Operation{
- Name: opListSimulationJobs,
- HTTPMethod: "POST",
- HTTPPath: "/listSimulationJobs",
- }
- if input == nil {
- input = &ListSimulationJobsInput{}
- }
- output = &ListSimulationJobsOutput{}
- req = c.newRequest(op, input, output)
- return
- }
- // ListSimulationJobs API operation for AWS RoboMaker.
- //
- // Returns a list of simulation jobs. You can optionally provide filters to
- // retrieve specific simulation jobs.
- //
- // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
- // with awserr.Error's Code and Message methods to get detailed information about
- // the error.
- //
- // See the AWS API reference guide for AWS RoboMaker's
- // API operation ListSimulationJobs for usage and error information.
- //
- // Returned Error Codes:
- // * ErrCodeInvalidParameterException "InvalidParameterException"
- // A parameter specified in a request is not valid, is unsupported, or cannot
- // be used. The returned message provides an explanation of the error value.
- //
- // * ErrCodeInternalServerException "InternalServerException"
- // AWS RoboMaker experienced a service issue. Try your call again.
- //
- // * ErrCodeThrottlingException "ThrottlingException"
- // AWS RoboMaker is temporarily unable to process the request. Try your call
- // again.
- //
- // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/ListSimulationJobs
- func (c *RoboMaker) ListSimulationJobs(input *ListSimulationJobsInput) (*ListSimulationJobsOutput, error) {
- req, out := c.ListSimulationJobsRequest(input)
- return out, req.Send()
- }
- // ListSimulationJobsWithContext is the same as ListSimulationJobs with the addition of
- // the ability to pass a context and additional request options.
- //
- // See ListSimulationJobs for details on how to use this API operation.
- //
- // The context must be non-nil and will be used for request cancellation. If
- // the context is nil a panic will occur. In the future the SDK may create
- // sub-contexts for http.Requests. See https://golang.org/pkg/context/
- // for more information on using Contexts.
- func (c *RoboMaker) ListSimulationJobsWithContext(ctx aws.Context, input *ListSimulationJobsInput, opts ...request.Option) (*ListSimulationJobsOutput, error) {
- req, out := c.ListSimulationJobsRequest(input)
- req.SetContext(ctx)
- req.ApplyOptions(opts...)
- return out, req.Send()
- }
- const opRegisterRobot = "RegisterRobot"
- // RegisterRobotRequest generates a "aws/request.Request" representing the
- // client's request for the RegisterRobot operation. The "output" return
- // value will be populated with the request's response once the request completes
- // successfully.
- //
- // Use "Send" method on the returned Request to send the API call to the service.
- // the "output" return value is not valid until after Send returns without error.
- //
- // See RegisterRobot for more information on using the RegisterRobot
- // API call, and error handling.
- //
- // This method is useful when you want to inject custom logic or configuration
- // into the SDK's request lifecycle. Such as custom headers, or retry logic.
- //
- //
- // // Example sending a request using the RegisterRobotRequest method.
- // req, resp := client.RegisterRobotRequest(params)
- //
- // err := req.Send()
- // if err == nil { // resp is now filled
- // fmt.Println(resp)
- // }
- //
- // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/RegisterRobot
- func (c *RoboMaker) RegisterRobotRequest(input *RegisterRobotInput) (req *request.Request, output *RegisterRobotOutput) {
- op := &request.Operation{
- Name: opRegisterRobot,
- HTTPMethod: "POST",
- HTTPPath: "/registerRobot",
- }
- if input == nil {
- input = &RegisterRobotInput{}
- }
- output = &RegisterRobotOutput{}
- req = c.newRequest(op, input, output)
- return
- }
- // RegisterRobot API operation for AWS RoboMaker.
- //
- // Registers a robot with a fleet.
- //
- // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
- // with awserr.Error's Code and Message methods to get detailed information about
- // the error.
- //
- // See the AWS API reference guide for AWS RoboMaker's
- // API operation RegisterRobot for usage and error information.
- //
- // Returned Error Codes:
- // * ErrCodeInvalidParameterException "InvalidParameterException"
- // A parameter specified in a request is not valid, is unsupported, or cannot
- // be used. The returned message provides an explanation of the error value.
- //
- // * ErrCodeInternalServerException "InternalServerException"
- // AWS RoboMaker experienced a service issue. Try your call again.
- //
- // * ErrCodeThrottlingException "ThrottlingException"
- // AWS RoboMaker is temporarily unable to process the request. Try your call
- // again.
- //
- // * ErrCodeLimitExceededException "LimitExceededException"
- // The requested resource exceeds the maximum number allowed, or the number
- // of concurrent stream requests exceeds the maximum number allowed.
- //
- // * ErrCodeResourceNotFoundException "ResourceNotFoundException"
- // The specified resource does not exist.
- //
- // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/RegisterRobot
- func (c *RoboMaker) RegisterRobot(input *RegisterRobotInput) (*RegisterRobotOutput, error) {
- req, out := c.RegisterRobotRequest(input)
- return out, req.Send()
- }
- // RegisterRobotWithContext is the same as RegisterRobot with the addition of
- // the ability to pass a context and additional request options.
- //
- // See RegisterRobot for details on how to use this API operation.
- //
- // The context must be non-nil and will be used for request cancellation. If
- // the context is nil a panic will occur. In the future the SDK may create
- // sub-contexts for http.Requests. See https://golang.org/pkg/context/
- // for more information on using Contexts.
- func (c *RoboMaker) RegisterRobotWithContext(ctx aws.Context, input *RegisterRobotInput, opts ...request.Option) (*RegisterRobotOutput, error) {
- req, out := c.RegisterRobotRequest(input)
- req.SetContext(ctx)
- req.ApplyOptions(opts...)
- return out, req.Send()
- }
- const opRestartSimulationJob = "RestartSimulationJob"
- // RestartSimulationJobRequest generates a "aws/request.Request" representing the
- // client's request for the RestartSimulationJob operation. The "output" return
- // value will be populated with the request's response once the request completes
- // successfully.
- //
- // Use "Send" method on the returned Request to send the API call to the service.
- // the "output" return value is not valid until after Send returns without error.
- //
- // See RestartSimulationJob for more information on using the RestartSimulationJob
- // API call, and error handling.
- //
- // This method is useful when you want to inject custom logic or configuration
- // into the SDK's request lifecycle. Such as custom headers, or retry logic.
- //
- //
- // // Example sending a request using the RestartSimulationJobRequest method.
- // req, resp := client.RestartSimulationJobRequest(params)
- //
- // err := req.Send()
- // if err == nil { // resp is now filled
- // fmt.Println(resp)
- // }
- //
- // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/RestartSimulationJob
- func (c *RoboMaker) RestartSimulationJobRequest(input *RestartSimulationJobInput) (req *request.Request, output *RestartSimulationJobOutput) {
- op := &request.Operation{
- Name: opRestartSimulationJob,
- HTTPMethod: "POST",
- HTTPPath: "/restartSimulationJob",
- }
- if input == nil {
- input = &RestartSimulationJobInput{}
- }
- output = &RestartSimulationJobOutput{}
- req = c.newRequest(op, input, output)
- req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
- return
- }
- // RestartSimulationJob API operation for AWS RoboMaker.
- //
- // Restarts a running simulation job.
- //
- // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
- // with awserr.Error's Code and Message methods to get detailed information about
- // the error.
- //
- // See the AWS API reference guide for AWS RoboMaker's
- // API operation RestartSimulationJob for usage and error information.
- //
- // Returned Error Codes:
- // * ErrCodeResourceNotFoundException "ResourceNotFoundException"
- // The specified resource does not exist.
- //
- // * ErrCodeThrottlingException "ThrottlingException"
- // AWS RoboMaker is temporarily unable to process the request. Try your call
- // again.
- //
- // * ErrCodeLimitExceededException "LimitExceededException"
- // The requested resource exceeds the maximum number allowed, or the number
- // of concurrent stream requests exceeds the maximum number allowed.
- //
- // * ErrCodeInvalidParameterException "InvalidParameterException"
- // A parameter specified in a request is not valid, is unsupported, or cannot
- // be used. The returned message provides an explanation of the error value.
- //
- // * ErrCodeInternalServerException "InternalServerException"
- // AWS RoboMaker experienced a service issue. Try your call again.
- //
- // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/RestartSimulationJob
- func (c *RoboMaker) RestartSimulationJob(input *RestartSimulationJobInput) (*RestartSimulationJobOutput, error) {
- req, out := c.RestartSimulationJobRequest(input)
- return out, req.Send()
- }
- // RestartSimulationJobWithContext is the same as RestartSimulationJob with the addition of
- // the ability to pass a context and additional request options.
- //
- // See RestartSimulationJob for details on how to use this API operation.
- //
- // The context must be non-nil and will be used for request cancellation. If
- // the context is nil a panic will occur. In the future the SDK may create
- // sub-contexts for http.Requests. See https://golang.org/pkg/context/
- // for more information on using Contexts.
- func (c *RoboMaker) RestartSimulationJobWithContext(ctx aws.Context, input *RestartSimulationJobInput, opts ...request.Option) (*RestartSimulationJobOutput, error) {
- req, out := c.RestartSimulationJobRequest(input)
- req.SetContext(ctx)
- req.ApplyOptions(opts...)
- return out, req.Send()
- }
- const opSyncDeploymentJob = "SyncDeploymentJob"
- // SyncDeploymentJobRequest generates a "aws/request.Request" representing the
- // client's request for the SyncDeploymentJob operation. The "output" return
- // value will be populated with the request's response once the request completes
- // successfully.
- //
- // Use "Send" method on the returned Request to send the API call to the service.
- // the "output" return value is not valid until after Send returns without error.
- //
- // See SyncDeploymentJob for more information on using the SyncDeploymentJob
- // API call, and error handling.
- //
- // This method is useful when you want to inject custom logic or configuration
- // into the SDK's request lifecycle. Such as custom headers, or retry logic.
- //
- //
- // // Example sending a request using the SyncDeploymentJobRequest method.
- // req, resp := client.SyncDeploymentJobRequest(params)
- //
- // err := req.Send()
- // if err == nil { // resp is now filled
- // fmt.Println(resp)
- // }
- //
- // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/SyncDeploymentJob
- func (c *RoboMaker) SyncDeploymentJobRequest(input *SyncDeploymentJobInput) (req *request.Request, output *SyncDeploymentJobOutput) {
- op := &request.Operation{
- Name: opSyncDeploymentJob,
- HTTPMethod: "POST",
- HTTPPath: "/syncDeploymentJob",
- }
- if input == nil {
- input = &SyncDeploymentJobInput{}
- }
- output = &SyncDeploymentJobOutput{}
- req = c.newRequest(op, input, output)
- return
- }
- // SyncDeploymentJob API operation for AWS RoboMaker.
- //
- // Syncrhonizes robots in a fleet to the latest deployment. This is helpful
- // if robots were added after a deployment.
- //
- // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
- // with awserr.Error's Code and Message methods to get detailed information about
- // the error.
- //
- // See the AWS API reference guide for AWS RoboMaker's
- // API operation SyncDeploymentJob for usage and error information.
- //
- // Returned Error Codes:
- // * ErrCodeResourceNotFoundException "ResourceNotFoundException"
- // The specified resource does not exist.
- //
- // * ErrCodeInvalidParameterException "InvalidParameterException"
- // A parameter specified in a request is not valid, is unsupported, or cannot
- // be used. The returned message provides an explanation of the error value.
- //
- // * ErrCodeInternalServerException "InternalServerException"
- // AWS RoboMaker experienced a service issue. Try your call again.
- //
- // * ErrCodeThrottlingException "ThrottlingException"
- // AWS RoboMaker is temporarily unable to process the request. Try your call
- // again.
- //
- // * ErrCodeLimitExceededException "LimitExceededException"
- // The requested resource exceeds the maximum number allowed, or the number
- // of concurrent stream requests exceeds the maximum number allowed.
- //
- // * ErrCodeConcurrentDeploymentException "ConcurrentDeploymentException"
- //
- // * ErrCodeIdempotentParameterMismatchException "IdempotentParameterMismatchException"
- // The request uses the same client token as a previous, but non-identical request.
- // Do not reuse a client token with different requests, unless the requests
- // are identical.
- //
- // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/SyncDeploymentJob
- func (c *RoboMaker) SyncDeploymentJob(input *SyncDeploymentJobInput) (*SyncDeploymentJobOutput, error) {
- req, out := c.SyncDeploymentJobRequest(input)
- return out, req.Send()
- }
- // SyncDeploymentJobWithContext is the same as SyncDeploymentJob with the addition of
- // the ability to pass a context and additional request options.
- //
- // See SyncDeploymentJob for details on how to use this API operation.
- //
- // The context must be non-nil and will be used for request cancellation. If
- // the context is nil a panic will occur. In the future the SDK may create
- // sub-contexts for http.Requests. See https://golang.org/pkg/context/
- // for more information on using Contexts.
- func (c *RoboMaker) SyncDeploymentJobWithContext(ctx aws.Context, input *SyncDeploymentJobInput, opts ...request.Option) (*SyncDeploymentJobOutput, error) {
- req, out := c.SyncDeploymentJobRequest(input)
- req.SetContext(ctx)
- req.ApplyOptions(opts...)
- return out, req.Send()
- }
- const opUpdateRobotApplication = "UpdateRobotApplication"
- // UpdateRobotApplicationRequest generates a "aws/request.Request" representing the
- // client's request for the UpdateRobotApplication operation. The "output" return
- // value will be populated with the request's response once the request completes
- // successfully.
- //
- // Use "Send" method on the returned Request to send the API call to the service.
- // the "output" return value is not valid until after Send returns without error.
- //
- // See UpdateRobotApplication for more information on using the UpdateRobotApplication
- // API call, and error handling.
- //
- // This method is useful when you want to inject custom logic or configuration
- // into the SDK's request lifecycle. Such as custom headers, or retry logic.
- //
- //
- // // Example sending a request using the UpdateRobotApplicationRequest method.
- // req, resp := client.UpdateRobotApplicationRequest(params)
- //
- // err := req.Send()
- // if err == nil { // resp is now filled
- // fmt.Println(resp)
- // }
- //
- // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/UpdateRobotApplication
- func (c *RoboMaker) UpdateRobotApplicationRequest(input *UpdateRobotApplicationInput) (req *request.Request, output *UpdateRobotApplicationOutput) {
- op := &request.Operation{
- Name: opUpdateRobotApplication,
- HTTPMethod: "POST",
- HTTPPath: "/updateRobotApplication",
- }
- if input == nil {
- input = &UpdateRobotApplicationInput{}
- }
- output = &UpdateRobotApplicationOutput{}
- req = c.newRequest(op, input, output)
- return
- }
- // UpdateRobotApplication API operation for AWS RoboMaker.
- //
- // Updates a robot application.
- //
- // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
- // with awserr.Error's Code and Message methods to get detailed information about
- // the error.
- //
- // See the AWS API reference guide for AWS RoboMaker's
- // API operation UpdateRobotApplication for usage and error information.
- //
- // Returned Error Codes:
- // * ErrCodeInvalidParameterException "InvalidParameterException"
- // A parameter specified in a request is not valid, is unsupported, or cannot
- // be used. The returned message provides an explanation of the error value.
- //
- // * ErrCodeResourceNotFoundException "ResourceNotFoundException"
- // The specified resource does not exist.
- //
- // * ErrCodeLimitExceededException "LimitExceededException"
- // The requested resource exceeds the maximum number allowed, or the number
- // of concurrent stream requests exceeds the maximum number allowed.
- //
- // * ErrCodeThrottlingException "ThrottlingException"
- // AWS RoboMaker is temporarily unable to process the request. Try your call
- // again.
- //
- // * ErrCodeInternalServerException "InternalServerException"
- // AWS RoboMaker experienced a service issue. Try your call again.
- //
- // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/UpdateRobotApplication
- func (c *RoboMaker) UpdateRobotApplication(input *UpdateRobotApplicationInput) (*UpdateRobotApplicationOutput, error) {
- req, out := c.UpdateRobotApplicationRequest(input)
- return out, req.Send()
- }
- // UpdateRobotApplicationWithContext is the same as UpdateRobotApplication with the addition of
- // the ability to pass a context and additional request options.
- //
- // See UpdateRobotApplication for details on how to use this API operation.
- //
- // The context must be non-nil and will be used for request cancellation. If
- // the context is nil a panic will occur. In the future the SDK may create
- // sub-contexts for http.Requests. See https://golang.org/pkg/context/
- // for more information on using Contexts.
- func (c *RoboMaker) UpdateRobotApplicationWithContext(ctx aws.Context, input *UpdateRobotApplicationInput, opts ...request.Option) (*UpdateRobotApplicationOutput, error) {
- req, out := c.UpdateRobotApplicationRequest(input)
- req.SetContext(ctx)
- req.ApplyOptions(opts...)
- return out, req.Send()
- }
- const opUpdateSimulationApplication = "UpdateSimulationApplication"
- // UpdateSimulationApplicationRequest generates a "aws/request.Request" representing the
- // client's request for the UpdateSimulationApplication operation. The "output" return
- // value will be populated with the request's response once the request completes
- // successfully.
- //
- // Use "Send" method on the returned Request to send the API call to the service.
- // the "output" return value is not valid until after Send returns without error.
- //
- // See UpdateSimulationApplication for more information on using the UpdateSimulationApplication
- // API call, and error handling.
- //
- // This method is useful when you want to inject custom logic or configuration
- // into the SDK's request lifecycle. Such as custom headers, or retry logic.
- //
- //
- // // Example sending a request using the UpdateSimulationApplicationRequest method.
- // req, resp := client.UpdateSimulationApplicationRequest(params)
- //
- // err := req.Send()
- // if err == nil { // resp is now filled
- // fmt.Println(resp)
- // }
- //
- // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/UpdateSimulationApplication
- func (c *RoboMaker) UpdateSimulationApplicationRequest(input *UpdateSimulationApplicationInput) (req *request.Request, output *UpdateSimulationApplicationOutput) {
- op := &request.Operation{
- Name: opUpdateSimulationApplication,
- HTTPMethod: "POST",
- HTTPPath: "/updateSimulationApplication",
- }
- if input == nil {
- input = &UpdateSimulationApplicationInput{}
- }
- output = &UpdateSimulationApplicationOutput{}
- req = c.newRequest(op, input, output)
- return
- }
- // UpdateSimulationApplication API operation for AWS RoboMaker.
- //
- // Updates a simulation application.
- //
- // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
- // with awserr.Error's Code and Message methods to get detailed information about
- // the error.
- //
- // See the AWS API reference guide for AWS RoboMaker's
- // API operation UpdateSimulationApplication for usage and error information.
- //
- // Returned Error Codes:
- // * ErrCodeInvalidParameterException "InvalidParameterException"
- // A parameter specified in a request is not valid, is unsupported, or cannot
- // be used. The returned message provides an explanation of the error value.
- //
- // * ErrCodeResourceNotFoundException "ResourceNotFoundException"
- // The specified resource does not exist.
- //
- // * ErrCodeLimitExceededException "LimitExceededException"
- // The requested resource exceeds the maximum number allowed, or the number
- // of concurrent stream requests exceeds the maximum number allowed.
- //
- // * ErrCodeThrottlingException "ThrottlingException"
- // AWS RoboMaker is temporarily unable to process the request. Try your call
- // again.
- //
- // * ErrCodeInternalServerException "InternalServerException"
- // AWS RoboMaker experienced a service issue. Try your call again.
- //
- // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/UpdateSimulationApplication
- func (c *RoboMaker) UpdateSimulationApplication(input *UpdateSimulationApplicationInput) (*UpdateSimulationApplicationOutput, error) {
- req, out := c.UpdateSimulationApplicationRequest(input)
- return out, req.Send()
- }
- // UpdateSimulationApplicationWithContext is the same as UpdateSimulationApplication with the addition of
- // the ability to pass a context and additional request options.
- //
- // See UpdateSimulationApplication for details on how to use this API operation.
- //
- // The context must be non-nil and will be used for request cancellation. If
- // the context is nil a panic will occur. In the future the SDK may create
- // sub-contexts for http.Requests. See https://golang.org/pkg/context/
- // for more information on using Contexts.
- func (c *RoboMaker) UpdateSimulationApplicationWithContext(ctx aws.Context, input *UpdateSimulationApplicationInput, opts ...request.Option) (*UpdateSimulationApplicationOutput, error) {
- req, out := c.UpdateSimulationApplicationRequest(input)
- req.SetContext(ctx)
- req.ApplyOptions(opts...)
- return out, req.Send()
- }
- type BatchDescribeSimulationJobInput struct {
- _ struct{} `type:"structure"`
- // A list of Amazon Resource Names (ARNs) of simulation jobs to describe.
- //
- // Jobs is a required field
- Jobs []*string `locationName:"jobs" min:"1" type:"list" required:"true"`
- }
- // String returns the string representation
- func (s BatchDescribeSimulationJobInput) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s BatchDescribeSimulationJobInput) GoString() string {
- return s.String()
- }
- // Validate inspects the fields of the type to determine if they are valid.
- func (s *BatchDescribeSimulationJobInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "BatchDescribeSimulationJobInput"}
- if s.Jobs == nil {
- invalidParams.Add(request.NewErrParamRequired("Jobs"))
- }
- if s.Jobs != nil && len(s.Jobs) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("Jobs", 1))
- }
- if invalidParams.Len() > 0 {
- return invalidParams
- }
- return nil
- }
- // SetJobs sets the Jobs field's value.
- func (s *BatchDescribeSimulationJobInput) SetJobs(v []*string) *BatchDescribeSimulationJobInput {
- s.Jobs = v
- return s
- }
- type BatchDescribeSimulationJobOutput struct {
- _ struct{} `type:"structure"`
- // A list of simulation jobs.
- Jobs []*SimulationJob `locationName:"jobs" type:"list"`
- // A list of unprocessed simulation job Amazon Resource Names (ARNs).
- UnprocessedJobs []*string `locationName:"unprocessedJobs" min:"1" type:"list"`
- }
- // String returns the string representation
- func (s BatchDescribeSimulationJobOutput) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s BatchDescribeSimulationJobOutput) GoString() string {
- return s.String()
- }
- // SetJobs sets the Jobs field's value.
- func (s *BatchDescribeSimulationJobOutput) SetJobs(v []*SimulationJob) *BatchDescribeSimulationJobOutput {
- s.Jobs = v
- return s
- }
- // SetUnprocessedJobs sets the UnprocessedJobs field's value.
- func (s *BatchDescribeSimulationJobOutput) SetUnprocessedJobs(v []*string) *BatchDescribeSimulationJobOutput {
- s.UnprocessedJobs = v
- return s
- }
- type CancelSimulationJobInput struct {
- _ struct{} `type:"structure"`
- // The simulation job ARN to cancel.
- //
- // Job is a required field
- Job *string `locationName:"job" min:"1" type:"string" required:"true"`
- }
- // String returns the string representation
- func (s CancelSimulationJobInput) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s CancelSimulationJobInput) GoString() string {
- return s.String()
- }
- // Validate inspects the fields of the type to determine if they are valid.
- func (s *CancelSimulationJobInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "CancelSimulationJobInput"}
- if s.Job == nil {
- invalidParams.Add(request.NewErrParamRequired("Job"))
- }
- if s.Job != nil && len(*s.Job) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("Job", 1))
- }
- if invalidParams.Len() > 0 {
- return invalidParams
- }
- return nil
- }
- // SetJob sets the Job field's value.
- func (s *CancelSimulationJobInput) SetJob(v string) *CancelSimulationJobInput {
- s.Job = &v
- return s
- }
- type CancelSimulationJobOutput struct {
- _ struct{} `type:"structure"`
- }
- // String returns the string representation
- func (s CancelSimulationJobOutput) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s CancelSimulationJobOutput) GoString() string {
- return s.String()
- }
- type CreateDeploymentJobInput struct {
- _ struct{} `type:"structure"`
- // Unique, case-sensitive identifier that you provide to ensure the idempotency
- // of the request.
- ClientRequestToken *string `locationName:"clientRequestToken" min:"1" type:"string" idempotencyToken:"true"`
- // The deployment application configuration.
- //
- // DeploymentApplicationConfigs is a required field
- DeploymentApplicationConfigs []*DeploymentApplicationConfig `locationName:"deploymentApplicationConfigs" min:"1" type:"list" required:"true"`
- // The requested deployment configuration.
- DeploymentConfig *DeploymentConfig `locationName:"deploymentConfig" type:"structure"`
- // The Amazon Resource Name (ARN) of the fleet to deploy.
- //
- // Fleet is a required field
- Fleet *string `locationName:"fleet" min:"1" type:"string" required:"true"`
- }
- // String returns the string representation
- func (s CreateDeploymentJobInput) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s CreateDeploymentJobInput) GoString() string {
- return s.String()
- }
- // Validate inspects the fields of the type to determine if they are valid.
- func (s *CreateDeploymentJobInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "CreateDeploymentJobInput"}
- if s.ClientRequestToken != nil && len(*s.ClientRequestToken) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("ClientRequestToken", 1))
- }
- if s.DeploymentApplicationConfigs == nil {
- invalidParams.Add(request.NewErrParamRequired("DeploymentApplicationConfigs"))
- }
- if s.DeploymentApplicationConfigs != nil && len(s.DeploymentApplicationConfigs) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("DeploymentApplicationConfigs", 1))
- }
- if s.Fleet == nil {
- invalidParams.Add(request.NewErrParamRequired("Fleet"))
- }
- if s.Fleet != nil && len(*s.Fleet) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("Fleet", 1))
- }
- if s.DeploymentApplicationConfigs != nil {
- for i, v := range s.DeploymentApplicationConfigs {
- if v == nil {
- continue
- }
- if err := v.Validate(); err != nil {
- invalidParams.AddNested(fmt.Sprintf("%s[%v]", "DeploymentApplicationConfigs", i), err.(request.ErrInvalidParams))
- }
- }
- }
- if s.DeploymentConfig != nil {
- if err := s.DeploymentConfig.Validate(); err != nil {
- invalidParams.AddNested("DeploymentConfig", err.(request.ErrInvalidParams))
- }
- }
- if invalidParams.Len() > 0 {
- return invalidParams
- }
- return nil
- }
- // SetClientRequestToken sets the ClientRequestToken field's value.
- func (s *CreateDeploymentJobInput) SetClientRequestToken(v string) *CreateDeploymentJobInput {
- s.ClientRequestToken = &v
- return s
- }
- // SetDeploymentApplicationConfigs sets the DeploymentApplicationConfigs field's value.
- func (s *CreateDeploymentJobInput) SetDeploymentApplicationConfigs(v []*DeploymentApplicationConfig) *CreateDeploymentJobInput {
- s.DeploymentApplicationConfigs = v
- return s
- }
- // SetDeploymentConfig sets the DeploymentConfig field's value.
- func (s *CreateDeploymentJobInput) SetDeploymentConfig(v *DeploymentConfig) *CreateDeploymentJobInput {
- s.DeploymentConfig = v
- return s
- }
- // SetFleet sets the Fleet field's value.
- func (s *CreateDeploymentJobInput) SetFleet(v string) *CreateDeploymentJobInput {
- s.Fleet = &v
- return s
- }
- type CreateDeploymentJobOutput struct {
- _ struct{} `type:"structure"`
- // The Amazon Resource Name (ARN) of the deployment job.
- Arn *string `locationName:"arn" min:"1" type:"string"`
- // The time, in milliseconds since the epoch, when the fleet was created.
- CreatedAt *time.Time `locationName:"createdAt" type:"timestamp"`
- // The deployment application configuration.
- DeploymentApplicationConfigs []*DeploymentApplicationConfig `locationName:"deploymentApplicationConfigs" min:"1" type:"list"`
- // The deployment configuration.
- DeploymentConfig *DeploymentConfig `locationName:"deploymentConfig" type:"structure"`
- // The failure code of the deployment job if it failed.
- FailureCode *string `locationName:"failureCode" type:"string" enum:"DeploymentJobErrorCode"`
- // The failure reason of the deployment job if it failed.
- FailureReason *string `locationName:"failureReason" type:"string"`
- // The target fleet for the deployment job.
- Fleet *string `locationName:"fleet" min:"1" type:"string"`
- // The status of the deployment job.
- Status *string `locationName:"status" type:"string" enum:"DeploymentStatus"`
- }
- // String returns the string representation
- func (s CreateDeploymentJobOutput) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s CreateDeploymentJobOutput) GoString() string {
- return s.String()
- }
- // SetArn sets the Arn field's value.
- func (s *CreateDeploymentJobOutput) SetArn(v string) *CreateDeploymentJobOutput {
- s.Arn = &v
- return s
- }
- // SetCreatedAt sets the CreatedAt field's value.
- func (s *CreateDeploymentJobOutput) SetCreatedAt(v time.Time) *CreateDeploymentJobOutput {
- s.CreatedAt = &v
- return s
- }
- // SetDeploymentApplicationConfigs sets the DeploymentApplicationConfigs field's value.
- func (s *CreateDeploymentJobOutput) SetDeploymentApplicationConfigs(v []*DeploymentApplicationConfig) *CreateDeploymentJobOutput {
- s.DeploymentApplicationConfigs = v
- return s
- }
- // SetDeploymentConfig sets the DeploymentConfig field's value.
- func (s *CreateDeploymentJobOutput) SetDeploymentConfig(v *DeploymentConfig) *CreateDeploymentJobOutput {
- s.DeploymentConfig = v
- return s
- }
- // SetFailureCode sets the FailureCode field's value.
- func (s *CreateDeploymentJobOutput) SetFailureCode(v string) *CreateDeploymentJobOutput {
- s.FailureCode = &v
- return s
- }
- // SetFailureReason sets the FailureReason field's value.
- func (s *CreateDeploymentJobOutput) SetFailureReason(v string) *CreateDeploymentJobOutput {
- s.FailureReason = &v
- return s
- }
- // SetFleet sets the Fleet field's value.
- func (s *CreateDeploymentJobOutput) SetFleet(v string) *CreateDeploymentJobOutput {
- s.Fleet = &v
- return s
- }
- // SetStatus sets the Status field's value.
- func (s *CreateDeploymentJobOutput) SetStatus(v string) *CreateDeploymentJobOutput {
- s.Status = &v
- return s
- }
- type CreateFleetInput struct {
- _ struct{} `type:"structure"`
- // The name of the fleet.
- //
- // Name is a required field
- Name *string `locationName:"name" min:"1" type:"string" required:"true"`
- }
- // String returns the string representation
- func (s CreateFleetInput) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s CreateFleetInput) GoString() string {
- return s.String()
- }
- // Validate inspects the fields of the type to determine if they are valid.
- func (s *CreateFleetInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "CreateFleetInput"}
- if s.Name == nil {
- invalidParams.Add(request.NewErrParamRequired("Name"))
- }
- if s.Name != nil && len(*s.Name) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("Name", 1))
- }
- if invalidParams.Len() > 0 {
- return invalidParams
- }
- return nil
- }
- // SetName sets the Name field's value.
- func (s *CreateFleetInput) SetName(v string) *CreateFleetInput {
- s.Name = &v
- return s
- }
- type CreateFleetOutput struct {
- _ struct{} `type:"structure"`
- // The Amazon Resource Name (ARN) of the fleet.
- Arn *string `locationName:"arn" min:"1" type:"string"`
- // The time, in milliseconds since the epoch, when the fleet was created.
- CreatedAt *time.Time `locationName:"createdAt" type:"timestamp"`
- // The name of the fleet.
- Name *string `locationName:"name" min:"1" type:"string"`
- }
- // String returns the string representation
- func (s CreateFleetOutput) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s CreateFleetOutput) GoString() string {
- return s.String()
- }
- // SetArn sets the Arn field's value.
- func (s *CreateFleetOutput) SetArn(v string) *CreateFleetOutput {
- s.Arn = &v
- return s
- }
- // SetCreatedAt sets the CreatedAt field's value.
- func (s *CreateFleetOutput) SetCreatedAt(v time.Time) *CreateFleetOutput {
- s.CreatedAt = &v
- return s
- }
- // SetName sets the Name field's value.
- func (s *CreateFleetOutput) SetName(v string) *CreateFleetOutput {
- s.Name = &v
- return s
- }
- type CreateRobotApplicationInput struct {
- _ struct{} `type:"structure"`
- // The name of the robot application.
- //
- // Name is a required field
- Name *string `locationName:"name" min:"1" type:"string" required:"true"`
- // The robot software suite used by the robot application.
- //
- // RobotSoftwareSuite is a required field
- RobotSoftwareSuite *RobotSoftwareSuite `locationName:"robotSoftwareSuite" type:"structure" required:"true"`
- // The sources of the robot application.
- //
- // Sources is a required field
- Sources []*SourceConfig `locationName:"sources" type:"list" required:"true"`
- }
- // String returns the string representation
- func (s CreateRobotApplicationInput) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s CreateRobotApplicationInput) GoString() string {
- return s.String()
- }
- // Validate inspects the fields of the type to determine if they are valid.
- func (s *CreateRobotApplicationInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "CreateRobotApplicationInput"}
- if s.Name == nil {
- invalidParams.Add(request.NewErrParamRequired("Name"))
- }
- if s.Name != nil && len(*s.Name) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("Name", 1))
- }
- if s.RobotSoftwareSuite == nil {
- invalidParams.Add(request.NewErrParamRequired("RobotSoftwareSuite"))
- }
- if s.Sources == nil {
- invalidParams.Add(request.NewErrParamRequired("Sources"))
- }
- if s.Sources != nil {
- for i, v := range s.Sources {
- if v == nil {
- continue
- }
- if err := v.Validate(); err != nil {
- invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Sources", i), err.(request.ErrInvalidParams))
- }
- }
- }
- if invalidParams.Len() > 0 {
- return invalidParams
- }
- return nil
- }
- // SetName sets the Name field's value.
- func (s *CreateRobotApplicationInput) SetName(v string) *CreateRobotApplicationInput {
- s.Name = &v
- return s
- }
- // SetRobotSoftwareSuite sets the RobotSoftwareSuite field's value.
- func (s *CreateRobotApplicationInput) SetRobotSoftwareSuite(v *RobotSoftwareSuite) *CreateRobotApplicationInput {
- s.RobotSoftwareSuite = v
- return s
- }
- // SetSources sets the Sources field's value.
- func (s *CreateRobotApplicationInput) SetSources(v []*SourceConfig) *CreateRobotApplicationInput {
- s.Sources = v
- return s
- }
- type CreateRobotApplicationOutput struct {
- _ struct{} `type:"structure"`
- // The Amazon Resource Name (ARN) of the robot application.
- Arn *string `locationName:"arn" min:"1" type:"string"`
- // The time, in milliseconds since the epoch, when the robot application was
- // last updated.
- LastUpdatedAt *time.Time `locationName:"lastUpdatedAt" type:"timestamp"`
- // The name of the robot application.
- Name *string `locationName:"name" min:"1" type:"string"`
- // The revision id of the robot application.
- RevisionId *string `locationName:"revisionId" min:"1" type:"string"`
- // The robot software suite used by the robot application.
- RobotSoftwareSuite *RobotSoftwareSuite `locationName:"robotSoftwareSuite" type:"structure"`
- // The sources of the robot application.
- Sources []*Source `locationName:"sources" type:"list"`
- // The version of the robot application.
- Version *string `locationName:"version" min:"1" type:"string"`
- }
- // String returns the string representation
- func (s CreateRobotApplicationOutput) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s CreateRobotApplicationOutput) GoString() string {
- return s.String()
- }
- // SetArn sets the Arn field's value.
- func (s *CreateRobotApplicationOutput) SetArn(v string) *CreateRobotApplicationOutput {
- s.Arn = &v
- return s
- }
- // SetLastUpdatedAt sets the LastUpdatedAt field's value.
- func (s *CreateRobotApplicationOutput) SetLastUpdatedAt(v time.Time) *CreateRobotApplicationOutput {
- s.LastUpdatedAt = &v
- return s
- }
- // SetName sets the Name field's value.
- func (s *CreateRobotApplicationOutput) SetName(v string) *CreateRobotApplicationOutput {
- s.Name = &v
- return s
- }
- // SetRevisionId sets the RevisionId field's value.
- func (s *CreateRobotApplicationOutput) SetRevisionId(v string) *CreateRobotApplicationOutput {
- s.RevisionId = &v
- return s
- }
- // SetRobotSoftwareSuite sets the RobotSoftwareSuite field's value.
- func (s *CreateRobotApplicationOutput) SetRobotSoftwareSuite(v *RobotSoftwareSuite) *CreateRobotApplicationOutput {
- s.RobotSoftwareSuite = v
- return s
- }
- // SetSources sets the Sources field's value.
- func (s *CreateRobotApplicationOutput) SetSources(v []*Source) *CreateRobotApplicationOutput {
- s.Sources = v
- return s
- }
- // SetVersion sets the Version field's value.
- func (s *CreateRobotApplicationOutput) SetVersion(v string) *CreateRobotApplicationOutput {
- s.Version = &v
- return s
- }
- type CreateRobotApplicationVersionInput struct {
- _ struct{} `type:"structure"`
- // The application information for the robot application.
- //
- // Application is a required field
- Application *string `locationName:"application" min:"1" type:"string" required:"true"`
- // The current revision id for the robot application. If you provide a value
- // and it matches the latest revision ID, a new version will be created.
- CurrentRevisionId *string `locationName:"currentRevisionId" min:"1" type:"string"`
- }
- // String returns the string representation
- func (s CreateRobotApplicationVersionInput) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s CreateRobotApplicationVersionInput) GoString() string {
- return s.String()
- }
- // Validate inspects the fields of the type to determine if they are valid.
- func (s *CreateRobotApplicationVersionInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "CreateRobotApplicationVersionInput"}
- if s.Application == nil {
- invalidParams.Add(request.NewErrParamRequired("Application"))
- }
- if s.Application != nil && len(*s.Application) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("Application", 1))
- }
- if s.CurrentRevisionId != nil && len(*s.CurrentRevisionId) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("CurrentRevisionId", 1))
- }
- if invalidParams.Len() > 0 {
- return invalidParams
- }
- return nil
- }
- // SetApplication sets the Application field's value.
- func (s *CreateRobotApplicationVersionInput) SetApplication(v string) *CreateRobotApplicationVersionInput {
- s.Application = &v
- return s
- }
- // SetCurrentRevisionId sets the CurrentRevisionId field's value.
- func (s *CreateRobotApplicationVersionInput) SetCurrentRevisionId(v string) *CreateRobotApplicationVersionInput {
- s.CurrentRevisionId = &v
- return s
- }
- type CreateRobotApplicationVersionOutput struct {
- _ struct{} `type:"structure"`
- // The Amazon Resource Name (ARN) of the robot application.
- Arn *string `locationName:"arn" min:"1" type:"string"`
- // The time, in milliseconds since the epoch, when the robot application was
- // last updated.
- LastUpdatedAt *time.Time `locationName:"lastUpdatedAt" type:"timestamp"`
- // The name of the robot application.
- Name *string `locationName:"name" min:"1" type:"string"`
- // The revision id of the robot application.
- RevisionId *string `locationName:"revisionId" min:"1" type:"string"`
- // The robot software suite used by the robot application.
- RobotSoftwareSuite *RobotSoftwareSuite `locationName:"robotSoftwareSuite" type:"structure"`
- // The sources of the robot application.
- Sources []*Source `locationName:"sources" type:"list"`
- // The version of the robot application.
- Version *string `locationName:"version" min:"1" type:"string"`
- }
- // String returns the string representation
- func (s CreateRobotApplicationVersionOutput) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s CreateRobotApplicationVersionOutput) GoString() string {
- return s.String()
- }
- // SetArn sets the Arn field's value.
- func (s *CreateRobotApplicationVersionOutput) SetArn(v string) *CreateRobotApplicationVersionOutput {
- s.Arn = &v
- return s
- }
- // SetLastUpdatedAt sets the LastUpdatedAt field's value.
- func (s *CreateRobotApplicationVersionOutput) SetLastUpdatedAt(v time.Time) *CreateRobotApplicationVersionOutput {
- s.LastUpdatedAt = &v
- return s
- }
- // SetName sets the Name field's value.
- func (s *CreateRobotApplicationVersionOutput) SetName(v string) *CreateRobotApplicationVersionOutput {
- s.Name = &v
- return s
- }
- // SetRevisionId sets the RevisionId field's value.
- func (s *CreateRobotApplicationVersionOutput) SetRevisionId(v string) *CreateRobotApplicationVersionOutput {
- s.RevisionId = &v
- return s
- }
- // SetRobotSoftwareSuite sets the RobotSoftwareSuite field's value.
- func (s *CreateRobotApplicationVersionOutput) SetRobotSoftwareSuite(v *RobotSoftwareSuite) *CreateRobotApplicationVersionOutput {
- s.RobotSoftwareSuite = v
- return s
- }
- // SetSources sets the Sources field's value.
- func (s *CreateRobotApplicationVersionOutput) SetSources(v []*Source) *CreateRobotApplicationVersionOutput {
- s.Sources = v
- return s
- }
- // SetVersion sets the Version field's value.
- func (s *CreateRobotApplicationVersionOutput) SetVersion(v string) *CreateRobotApplicationVersionOutput {
- s.Version = &v
- return s
- }
- type CreateRobotInput struct {
- _ struct{} `type:"structure"`
- // The target architecture of the robot.
- //
- // Architecture is a required field
- Architecture *string `locationName:"architecture" type:"string" required:"true" enum:"Architecture"`
- // The Greengrass group id.
- //
- // GreengrassGroupId is a required field
- GreengrassGroupId *string `locationName:"greengrassGroupId" min:"1" type:"string" required:"true"`
- // The name for the robot.
- //
- // Name is a required field
- Name *string `locationName:"name" min:"1" type:"string" required:"true"`
- }
- // String returns the string representation
- func (s CreateRobotInput) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s CreateRobotInput) GoString() string {
- return s.String()
- }
- // Validate inspects the fields of the type to determine if they are valid.
- func (s *CreateRobotInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "CreateRobotInput"}
- if s.Architecture == nil {
- invalidParams.Add(request.NewErrParamRequired("Architecture"))
- }
- if s.GreengrassGroupId == nil {
- invalidParams.Add(request.NewErrParamRequired("GreengrassGroupId"))
- }
- if s.GreengrassGroupId != nil && len(*s.GreengrassGroupId) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("GreengrassGroupId", 1))
- }
- if s.Name == nil {
- invalidParams.Add(request.NewErrParamRequired("Name"))
- }
- if s.Name != nil && len(*s.Name) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("Name", 1))
- }
- if invalidParams.Len() > 0 {
- return invalidParams
- }
- return nil
- }
- // SetArchitecture sets the Architecture field's value.
- func (s *CreateRobotInput) SetArchitecture(v string) *CreateRobotInput {
- s.Architecture = &v
- return s
- }
- // SetGreengrassGroupId sets the GreengrassGroupId field's value.
- func (s *CreateRobotInput) SetGreengrassGroupId(v string) *CreateRobotInput {
- s.GreengrassGroupId = &v
- return s
- }
- // SetName sets the Name field's value.
- func (s *CreateRobotInput) SetName(v string) *CreateRobotInput {
- s.Name = &v
- return s
- }
- type CreateRobotOutput struct {
- _ struct{} `type:"structure"`
- // The target architecture of the robot.
- Architecture *string `locationName:"architecture" type:"string" enum:"Architecture"`
- // The Amazon Resource Name (ARN) of the robot.
- Arn *string `locationName:"arn" min:"1" type:"string"`
- // The time, in milliseconds since the epoch, when the robot was created.
- CreatedAt *time.Time `locationName:"createdAt" type:"timestamp"`
- // The Amazon Resource Name (ARN) of the Greengrass group associated with the
- // robot.
- GreengrassGroupId *string `locationName:"greengrassGroupId" min:"1" type:"string"`
- // The name of the robot.
- Name *string `locationName:"name" min:"1" type:"string"`
- }
- // String returns the string representation
- func (s CreateRobotOutput) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s CreateRobotOutput) GoString() string {
- return s.String()
- }
- // SetArchitecture sets the Architecture field's value.
- func (s *CreateRobotOutput) SetArchitecture(v string) *CreateRobotOutput {
- s.Architecture = &v
- return s
- }
- // SetArn sets the Arn field's value.
- func (s *CreateRobotOutput) SetArn(v string) *CreateRobotOutput {
- s.Arn = &v
- return s
- }
- // SetCreatedAt sets the CreatedAt field's value.
- func (s *CreateRobotOutput) SetCreatedAt(v time.Time) *CreateRobotOutput {
- s.CreatedAt = &v
- return s
- }
- // SetGreengrassGroupId sets the GreengrassGroupId field's value.
- func (s *CreateRobotOutput) SetGreengrassGroupId(v string) *CreateRobotOutput {
- s.GreengrassGroupId = &v
- return s
- }
- // SetName sets the Name field's value.
- func (s *CreateRobotOutput) SetName(v string) *CreateRobotOutput {
- s.Name = &v
- return s
- }
- type CreateSimulationApplicationInput struct {
- _ struct{} `type:"structure"`
- // The name of the simulation application.
- //
- // Name is a required field
- Name *string `locationName:"name" min:"1" type:"string" required:"true"`
- // The rendering engine for the simulation application.
- //
- // RenderingEngine is a required field
- RenderingEngine *RenderingEngine `locationName:"renderingEngine" type:"structure" required:"true"`
- // The robot software suite of the simulation application.
- //
- // RobotSoftwareSuite is a required field
- RobotSoftwareSuite *RobotSoftwareSuite `locationName:"robotSoftwareSuite" type:"structure" required:"true"`
- // The simulation software suite used by the simulation application.
- //
- // SimulationSoftwareSuite is a required field
- SimulationSoftwareSuite *SimulationSoftwareSuite `locationName:"simulationSoftwareSuite" type:"structure" required:"true"`
- // The sources of the simulation application.
- //
- // Sources is a required field
- Sources []*SourceConfig `locationName:"sources" type:"list" required:"true"`
- }
- // String returns the string representation
- func (s CreateSimulationApplicationInput) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s CreateSimulationApplicationInput) GoString() string {
- return s.String()
- }
- // Validate inspects the fields of the type to determine if they are valid.
- func (s *CreateSimulationApplicationInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "CreateSimulationApplicationInput"}
- if s.Name == nil {
- invalidParams.Add(request.NewErrParamRequired("Name"))
- }
- if s.Name != nil && len(*s.Name) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("Name", 1))
- }
- if s.RenderingEngine == nil {
- invalidParams.Add(request.NewErrParamRequired("RenderingEngine"))
- }
- if s.RobotSoftwareSuite == nil {
- invalidParams.Add(request.NewErrParamRequired("RobotSoftwareSuite"))
- }
- if s.SimulationSoftwareSuite == nil {
- invalidParams.Add(request.NewErrParamRequired("SimulationSoftwareSuite"))
- }
- if s.Sources == nil {
- invalidParams.Add(request.NewErrParamRequired("Sources"))
- }
- if s.Sources != nil {
- for i, v := range s.Sources {
- if v == nil {
- continue
- }
- if err := v.Validate(); err != nil {
- invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Sources", i), err.(request.ErrInvalidParams))
- }
- }
- }
- if invalidParams.Len() > 0 {
- return invalidParams
- }
- return nil
- }
- // SetName sets the Name field's value.
- func (s *CreateSimulationApplicationInput) SetName(v string) *CreateSimulationApplicationInput {
- s.Name = &v
- return s
- }
- // SetRenderingEngine sets the RenderingEngine field's value.
- func (s *CreateSimulationApplicationInput) SetRenderingEngine(v *RenderingEngine) *CreateSimulationApplicationInput {
- s.RenderingEngine = v
- return s
- }
- // SetRobotSoftwareSuite sets the RobotSoftwareSuite field's value.
- func (s *CreateSimulationApplicationInput) SetRobotSoftwareSuite(v *RobotSoftwareSuite) *CreateSimulationApplicationInput {
- s.RobotSoftwareSuite = v
- return s
- }
- // SetSimulationSoftwareSuite sets the SimulationSoftwareSuite field's value.
- func (s *CreateSimulationApplicationInput) SetSimulationSoftwareSuite(v *SimulationSoftwareSuite) *CreateSimulationApplicationInput {
- s.SimulationSoftwareSuite = v
- return s
- }
- // SetSources sets the Sources field's value.
- func (s *CreateSimulationApplicationInput) SetSources(v []*SourceConfig) *CreateSimulationApplicationInput {
- s.Sources = v
- return s
- }
- type CreateSimulationApplicationOutput struct {
- _ struct{} `type:"structure"`
- // The Amazon Resource Name (ARN) of the simulation application.
- Arn *string `locationName:"arn" min:"1" type:"string"`
- // The time, in milliseconds since the epoch, when the simulation application
- // was last updated.
- LastUpdatedAt *time.Time `locationName:"lastUpdatedAt" type:"timestamp"`
- // The name of the simulation application.
- Name *string `locationName:"name" min:"1" type:"string"`
- // The rendering engine for the simulation application.
- RenderingEngine *RenderingEngine `locationName:"renderingEngine" type:"structure"`
- // The revision id of the simulation application.
- RevisionId *string `locationName:"revisionId" min:"1" type:"string"`
- // Information about the robot software suite.
- RobotSoftwareSuite *RobotSoftwareSuite `locationName:"robotSoftwareSuite" type:"structure"`
- // The simulation software suite used by the simulation application.
- SimulationSoftwareSuite *SimulationSoftwareSuite `locationName:"simulationSoftwareSuite" type:"structure"`
- // The sources of the simulation application.
- Sources []*Source `locationName:"sources" type:"list"`
- // The version of the simulation application.
- Version *string `locationName:"version" min:"1" type:"string"`
- }
- // String returns the string representation
- func (s CreateSimulationApplicationOutput) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s CreateSimulationApplicationOutput) GoString() string {
- return s.String()
- }
- // SetArn sets the Arn field's value.
- func (s *CreateSimulationApplicationOutput) SetArn(v string) *CreateSimulationApplicationOutput {
- s.Arn = &v
- return s
- }
- // SetLastUpdatedAt sets the LastUpdatedAt field's value.
- func (s *CreateSimulationApplicationOutput) SetLastUpdatedAt(v time.Time) *CreateSimulationApplicationOutput {
- s.LastUpdatedAt = &v
- return s
- }
- // SetName sets the Name field's value.
- func (s *CreateSimulationApplicationOutput) SetName(v string) *CreateSimulationApplicationOutput {
- s.Name = &v
- return s
- }
- // SetRenderingEngine sets the RenderingEngine field's value.
- func (s *CreateSimulationApplicationOutput) SetRenderingEngine(v *RenderingEngine) *CreateSimulationApplicationOutput {
- s.RenderingEngine = v
- return s
- }
- // SetRevisionId sets the RevisionId field's value.
- func (s *CreateSimulationApplicationOutput) SetRevisionId(v string) *CreateSimulationApplicationOutput {
- s.RevisionId = &v
- return s
- }
- // SetRobotSoftwareSuite sets the RobotSoftwareSuite field's value.
- func (s *CreateSimulationApplicationOutput) SetRobotSoftwareSuite(v *RobotSoftwareSuite) *CreateSimulationApplicationOutput {
- s.RobotSoftwareSuite = v
- return s
- }
- // SetSimulationSoftwareSuite sets the SimulationSoftwareSuite field's value.
- func (s *CreateSimulationApplicationOutput) SetSimulationSoftwareSuite(v *SimulationSoftwareSuite) *CreateSimulationApplicationOutput {
- s.SimulationSoftwareSuite = v
- return s
- }
- // SetSources sets the Sources field's value.
- func (s *CreateSimulationApplicationOutput) SetSources(v []*Source) *CreateSimulationApplicationOutput {
- s.Sources = v
- return s
- }
- // SetVersion sets the Version field's value.
- func (s *CreateSimulationApplicationOutput) SetVersion(v string) *CreateSimulationApplicationOutput {
- s.Version = &v
- return s
- }
- type CreateSimulationApplicationVersionInput struct {
- _ struct{} `type:"structure"`
- // The application information for the simulation application.
- //
- // Application is a required field
- Application *string `locationName:"application" min:"1" type:"string" required:"true"`
- // The current revision id for the simulation application. If you provide a
- // value and it matches the latest revision ID, a new version will be created.
- CurrentRevisionId *string `locationName:"currentRevisionId" min:"1" type:"string"`
- }
- // String returns the string representation
- func (s CreateSimulationApplicationVersionInput) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s CreateSimulationApplicationVersionInput) GoString() string {
- return s.String()
- }
- // Validate inspects the fields of the type to determine if they are valid.
- func (s *CreateSimulationApplicationVersionInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "CreateSimulationApplicationVersionInput"}
- if s.Application == nil {
- invalidParams.Add(request.NewErrParamRequired("Application"))
- }
- if s.Application != nil && len(*s.Application) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("Application", 1))
- }
- if s.CurrentRevisionId != nil && len(*s.CurrentRevisionId) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("CurrentRevisionId", 1))
- }
- if invalidParams.Len() > 0 {
- return invalidParams
- }
- return nil
- }
- // SetApplication sets the Application field's value.
- func (s *CreateSimulationApplicationVersionInput) SetApplication(v string) *CreateSimulationApplicationVersionInput {
- s.Application = &v
- return s
- }
- // SetCurrentRevisionId sets the CurrentRevisionId field's value.
- func (s *CreateSimulationApplicationVersionInput) SetCurrentRevisionId(v string) *CreateSimulationApplicationVersionInput {
- s.CurrentRevisionId = &v
- return s
- }
- type CreateSimulationApplicationVersionOutput struct {
- _ struct{} `type:"structure"`
- // The Amazon Resource Name (ARN) of the simulation application.
- Arn *string `locationName:"arn" min:"1" type:"string"`
- // The time, in milliseconds since the epoch, when the simulation application
- // was last updated.
- LastUpdatedAt *time.Time `locationName:"lastUpdatedAt" type:"timestamp"`
- // The name of the simulation application.
- Name *string `locationName:"name" min:"1" type:"string"`
- // The rendering engine for the simulation application.
- RenderingEngine *RenderingEngine `locationName:"renderingEngine" type:"structure"`
- // The revision ID of the simulation application.
- RevisionId *string `locationName:"revisionId" min:"1" type:"string"`
- // Information about the robot software suite.
- RobotSoftwareSuite *RobotSoftwareSuite `locationName:"robotSoftwareSuite" type:"structure"`
- // The simulation software suite used by the simulation application.
- SimulationSoftwareSuite *SimulationSoftwareSuite `locationName:"simulationSoftwareSuite" type:"structure"`
- // The sources of the simulation application.
- Sources []*Source `locationName:"sources" type:"list"`
- // The version of the simulation application.
- Version *string `locationName:"version" min:"1" type:"string"`
- }
- // String returns the string representation
- func (s CreateSimulationApplicationVersionOutput) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s CreateSimulationApplicationVersionOutput) GoString() string {
- return s.String()
- }
- // SetArn sets the Arn field's value.
- func (s *CreateSimulationApplicationVersionOutput) SetArn(v string) *CreateSimulationApplicationVersionOutput {
- s.Arn = &v
- return s
- }
- // SetLastUpdatedAt sets the LastUpdatedAt field's value.
- func (s *CreateSimulationApplicationVersionOutput) SetLastUpdatedAt(v time.Time) *CreateSimulationApplicationVersionOutput {
- s.LastUpdatedAt = &v
- return s
- }
- // SetName sets the Name field's value.
- func (s *CreateSimulationApplicationVersionOutput) SetName(v string) *CreateSimulationApplicationVersionOutput {
- s.Name = &v
- return s
- }
- // SetRenderingEngine sets the RenderingEngine field's value.
- func (s *CreateSimulationApplicationVersionOutput) SetRenderingEngine(v *RenderingEngine) *CreateSimulationApplicationVersionOutput {
- s.RenderingEngine = v
- return s
- }
- // SetRevisionId sets the RevisionId field's value.
- func (s *CreateSimulationApplicationVersionOutput) SetRevisionId(v string) *CreateSimulationApplicationVersionOutput {
- s.RevisionId = &v
- return s
- }
- // SetRobotSoftwareSuite sets the RobotSoftwareSuite field's value.
- func (s *CreateSimulationApplicationVersionOutput) SetRobotSoftwareSuite(v *RobotSoftwareSuite) *CreateSimulationApplicationVersionOutput {
- s.RobotSoftwareSuite = v
- return s
- }
- // SetSimulationSoftwareSuite sets the SimulationSoftwareSuite field's value.
- func (s *CreateSimulationApplicationVersionOutput) SetSimulationSoftwareSuite(v *SimulationSoftwareSuite) *CreateSimulationApplicationVersionOutput {
- s.SimulationSoftwareSuite = v
- return s
- }
- // SetSources sets the Sources field's value.
- func (s *CreateSimulationApplicationVersionOutput) SetSources(v []*Source) *CreateSimulationApplicationVersionOutput {
- s.Sources = v
- return s
- }
- // SetVersion sets the Version field's value.
- func (s *CreateSimulationApplicationVersionOutput) SetVersion(v string) *CreateSimulationApplicationVersionOutput {
- s.Version = &v
- return s
- }
- type CreateSimulationJobInput struct {
- _ struct{} `type:"structure"`
- // Unique, case-sensitive identifier that you provide to ensure the idempotency
- // of the request.
- ClientRequestToken *string `locationName:"clientRequestToken" min:"1" type:"string" idempotencyToken:"true"`
- // The failure behavior the simulation job.
- //
- // ContinueRestart the simulation job in the same host instance.
- //
- // FailStop the simulation job and terminate the instance.
- FailureBehavior *string `locationName:"failureBehavior" type:"string" enum:"FailureBehavior"`
- // The IAM role that allows the simulation instance to call the AWS APIs that
- // are specified in its associated policies on your behalf. This is how credentials
- // are passed in to your simulation job. See how to specify AWS security credentials
- // for your application (https://docs.aws.amazon.com/toolkit-for-visual-studio/latest/user-guide/deployment-ecs-specify-credentials).
- //
- // IamRole is a required field
- IamRole *string `locationName:"iamRole" min:"1" type:"string" required:"true"`
- // The maximum simulation job duration in seconds (up to 14 days or 1,209,600
- // seconds. When maxJobDurationInSeconds is reached, the simulation job will
- // status will transition to Completed.
- //
- // MaxJobDurationInSeconds is a required field
- MaxJobDurationInSeconds *int64 `locationName:"maxJobDurationInSeconds" type:"long" required:"true"`
- // Location for output files generated by the simulation job.
- OutputLocation *OutputLocation `locationName:"outputLocation" type:"structure"`
- // The robot application to use in the simulation job.
- RobotApplications []*RobotApplicationConfig `locationName:"robotApplications" min:"1" type:"list"`
- // The simulation application to use in the simulation job.
- SimulationApplications []*SimulationApplicationConfig `locationName:"simulationApplications" min:"1" type:"list"`
- // If your simulation job accesses resources in a VPC, you provide this parameter
- // identifying the list of security group IDs and subnet IDs. These must belong
- // to the same VPC. You must provide at least one security group and one subnet
- // ID.
- VpcConfig *VPCConfig `locationName:"vpcConfig" type:"structure"`
- }
- // String returns the string representation
- func (s CreateSimulationJobInput) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s CreateSimulationJobInput) GoString() string {
- return s.String()
- }
- // Validate inspects the fields of the type to determine if they are valid.
- func (s *CreateSimulationJobInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "CreateSimulationJobInput"}
- if s.ClientRequestToken != nil && len(*s.ClientRequestToken) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("ClientRequestToken", 1))
- }
- if s.IamRole == nil {
- invalidParams.Add(request.NewErrParamRequired("IamRole"))
- }
- if s.IamRole != nil && len(*s.IamRole) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("IamRole", 1))
- }
- if s.MaxJobDurationInSeconds == nil {
- invalidParams.Add(request.NewErrParamRequired("MaxJobDurationInSeconds"))
- }
- if s.RobotApplications != nil && len(s.RobotApplications) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("RobotApplications", 1))
- }
- if s.SimulationApplications != nil && len(s.SimulationApplications) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("SimulationApplications", 1))
- }
- if s.OutputLocation != nil {
- if err := s.OutputLocation.Validate(); err != nil {
- invalidParams.AddNested("OutputLocation", err.(request.ErrInvalidParams))
- }
- }
- if s.RobotApplications != nil {
- for i, v := range s.RobotApplications {
- if v == nil {
- continue
- }
- if err := v.Validate(); err != nil {
- invalidParams.AddNested(fmt.Sprintf("%s[%v]", "RobotApplications", i), err.(request.ErrInvalidParams))
- }
- }
- }
- if s.SimulationApplications != nil {
- for i, v := range s.SimulationApplications {
- if v == nil {
- continue
- }
- if err := v.Validate(); err != nil {
- invalidParams.AddNested(fmt.Sprintf("%s[%v]", "SimulationApplications", i), err.(request.ErrInvalidParams))
- }
- }
- }
- if s.VpcConfig != nil {
- if err := s.VpcConfig.Validate(); err != nil {
- invalidParams.AddNested("VpcConfig", err.(request.ErrInvalidParams))
- }
- }
- if invalidParams.Len() > 0 {
- return invalidParams
- }
- return nil
- }
- // SetClientRequestToken sets the ClientRequestToken field's value.
- func (s *CreateSimulationJobInput) SetClientRequestToken(v string) *CreateSimulationJobInput {
- s.ClientRequestToken = &v
- return s
- }
- // SetFailureBehavior sets the FailureBehavior field's value.
- func (s *CreateSimulationJobInput) SetFailureBehavior(v string) *CreateSimulationJobInput {
- s.FailureBehavior = &v
- return s
- }
- // SetIamRole sets the IamRole field's value.
- func (s *CreateSimulationJobInput) SetIamRole(v string) *CreateSimulationJobInput {
- s.IamRole = &v
- return s
- }
- // SetMaxJobDurationInSeconds sets the MaxJobDurationInSeconds field's value.
- func (s *CreateSimulationJobInput) SetMaxJobDurationInSeconds(v int64) *CreateSimulationJobInput {
- s.MaxJobDurationInSeconds = &v
- return s
- }
- // SetOutputLocation sets the OutputLocation field's value.
- func (s *CreateSimulationJobInput) SetOutputLocation(v *OutputLocation) *CreateSimulationJobInput {
- s.OutputLocation = v
- return s
- }
- // SetRobotApplications sets the RobotApplications field's value.
- func (s *CreateSimulationJobInput) SetRobotApplications(v []*RobotApplicationConfig) *CreateSimulationJobInput {
- s.RobotApplications = v
- return s
- }
- // SetSimulationApplications sets the SimulationApplications field's value.
- func (s *CreateSimulationJobInput) SetSimulationApplications(v []*SimulationApplicationConfig) *CreateSimulationJobInput {
- s.SimulationApplications = v
- return s
- }
- // SetVpcConfig sets the VpcConfig field's value.
- func (s *CreateSimulationJobInput) SetVpcConfig(v *VPCConfig) *CreateSimulationJobInput {
- s.VpcConfig = v
- return s
- }
- type CreateSimulationJobOutput struct {
- _ struct{} `type:"structure"`
- // The Amazon Resource Name (ARN) of the simulation job.
- Arn *string `locationName:"arn" min:"1" type:"string"`
- // Unique, case-sensitive identifier that you provide to ensure the idempotency
- // of the request.
- ClientRequestToken *string `locationName:"clientRequestToken" min:"1" type:"string"`
- // the failure behavior for the simulation job.
- FailureBehavior *string `locationName:"failureBehavior" type:"string" enum:"FailureBehavior"`
- // The failure code of the simulation job if it failed.
- FailureCode *string `locationName:"failureCode" type:"string" enum:"SimulationJobErrorCode"`
- // The IAM role that allows the simulation job to call the AWS APIs that are
- // specified in its associated policies on your behalf.
- IamRole *string `locationName:"iamRole" min:"1" type:"string"`
- // The time, in milliseconds since the epoch, when the simulation job was last
- // updated.
- LastUpdatedAt *time.Time `locationName:"lastUpdatedAt" type:"timestamp"`
- // The maximum simulation job duration in seconds. The value must be 8 days
- // (691,200 seconds) or less.
- MaxJobDurationInSeconds *int64 `locationName:"maxJobDurationInSeconds" type:"long"`
- // Simulation job output files location.
- OutputLocation *OutputLocation `locationName:"outputLocation" type:"structure"`
- // The robot application used by the simulation job.
- RobotApplications []*RobotApplicationConfig `locationName:"robotApplications" min:"1" type:"list"`
- // The simulation application used by the simulation job.
- SimulationApplications []*SimulationApplicationConfig `locationName:"simulationApplications" min:"1" type:"list"`
- // The simulation job execution duration in milliseconds.
- SimulationTimeMillis *int64 `locationName:"simulationTimeMillis" type:"long"`
- // The status of the simulation job.
- Status *string `locationName:"status" type:"string" enum:"SimulationJobStatus"`
- // Information about the vpc configuration.
- VpcConfig *VPCConfigResponse `locationName:"vpcConfig" type:"structure"`
- }
- // String returns the string representation
- func (s CreateSimulationJobOutput) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s CreateSimulationJobOutput) GoString() string {
- return s.String()
- }
- // SetArn sets the Arn field's value.
- func (s *CreateSimulationJobOutput) SetArn(v string) *CreateSimulationJobOutput {
- s.Arn = &v
- return s
- }
- // SetClientRequestToken sets the ClientRequestToken field's value.
- func (s *CreateSimulationJobOutput) SetClientRequestToken(v string) *CreateSimulationJobOutput {
- s.ClientRequestToken = &v
- return s
- }
- // SetFailureBehavior sets the FailureBehavior field's value.
- func (s *CreateSimulationJobOutput) SetFailureBehavior(v string) *CreateSimulationJobOutput {
- s.FailureBehavior = &v
- return s
- }
- // SetFailureCode sets the FailureCode field's value.
- func (s *CreateSimulationJobOutput) SetFailureCode(v string) *CreateSimulationJobOutput {
- s.FailureCode = &v
- return s
- }
- // SetIamRole sets the IamRole field's value.
- func (s *CreateSimulationJobOutput) SetIamRole(v string) *CreateSimulationJobOutput {
- s.IamRole = &v
- return s
- }
- // SetLastUpdatedAt sets the LastUpdatedAt field's value.
- func (s *CreateSimulationJobOutput) SetLastUpdatedAt(v time.Time) *CreateSimulationJobOutput {
- s.LastUpdatedAt = &v
- return s
- }
- // SetMaxJobDurationInSeconds sets the MaxJobDurationInSeconds field's value.
- func (s *CreateSimulationJobOutput) SetMaxJobDurationInSeconds(v int64) *CreateSimulationJobOutput {
- s.MaxJobDurationInSeconds = &v
- return s
- }
- // SetOutputLocation sets the OutputLocation field's value.
- func (s *CreateSimulationJobOutput) SetOutputLocation(v *OutputLocation) *CreateSimulationJobOutput {
- s.OutputLocation = v
- return s
- }
- // SetRobotApplications sets the RobotApplications field's value.
- func (s *CreateSimulationJobOutput) SetRobotApplications(v []*RobotApplicationConfig) *CreateSimulationJobOutput {
- s.RobotApplications = v
- return s
- }
- // SetSimulationApplications sets the SimulationApplications field's value.
- func (s *CreateSimulationJobOutput) SetSimulationApplications(v []*SimulationApplicationConfig) *CreateSimulationJobOutput {
- s.SimulationApplications = v
- return s
- }
- // SetSimulationTimeMillis sets the SimulationTimeMillis field's value.
- func (s *CreateSimulationJobOutput) SetSimulationTimeMillis(v int64) *CreateSimulationJobOutput {
- s.SimulationTimeMillis = &v
- return s
- }
- // SetStatus sets the Status field's value.
- func (s *CreateSimulationJobOutput) SetStatus(v string) *CreateSimulationJobOutput {
- s.Status = &v
- return s
- }
- // SetVpcConfig sets the VpcConfig field's value.
- func (s *CreateSimulationJobOutput) SetVpcConfig(v *VPCConfigResponse) *CreateSimulationJobOutput {
- s.VpcConfig = v
- return s
- }
- type DeleteFleetInput struct {
- _ struct{} `type:"structure"`
- // The Amazon Resource Name (ARN) of the fleet.
- //
- // Fleet is a required field
- Fleet *string `locationName:"fleet" min:"1" type:"string" required:"true"`
- }
- // String returns the string representation
- func (s DeleteFleetInput) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s DeleteFleetInput) GoString() string {
- return s.String()
- }
- // Validate inspects the fields of the type to determine if they are valid.
- func (s *DeleteFleetInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "DeleteFleetInput"}
- if s.Fleet == nil {
- invalidParams.Add(request.NewErrParamRequired("Fleet"))
- }
- if s.Fleet != nil && len(*s.Fleet) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("Fleet", 1))
- }
- if invalidParams.Len() > 0 {
- return invalidParams
- }
- return nil
- }
- // SetFleet sets the Fleet field's value.
- func (s *DeleteFleetInput) SetFleet(v string) *DeleteFleetInput {
- s.Fleet = &v
- return s
- }
- type DeleteFleetOutput struct {
- _ struct{} `type:"structure"`
- }
- // String returns the string representation
- func (s DeleteFleetOutput) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s DeleteFleetOutput) GoString() string {
- return s.String()
- }
- type DeleteRobotApplicationInput struct {
- _ struct{} `type:"structure"`
- // The Amazon Resource Name (ARN) of the the robot application.
- //
- // Application is a required field
- Application *string `locationName:"application" min:"1" type:"string" required:"true"`
- // The version of the robot application to delete.
- ApplicationVersion *string `locationName:"applicationVersion" min:"1" type:"string"`
- }
- // String returns the string representation
- func (s DeleteRobotApplicationInput) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s DeleteRobotApplicationInput) GoString() string {
- return s.String()
- }
- // Validate inspects the fields of the type to determine if they are valid.
- func (s *DeleteRobotApplicationInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "DeleteRobotApplicationInput"}
- if s.Application == nil {
- invalidParams.Add(request.NewErrParamRequired("Application"))
- }
- if s.Application != nil && len(*s.Application) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("Application", 1))
- }
- if s.ApplicationVersion != nil && len(*s.ApplicationVersion) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("ApplicationVersion", 1))
- }
- if invalidParams.Len() > 0 {
- return invalidParams
- }
- return nil
- }
- // SetApplication sets the Application field's value.
- func (s *DeleteRobotApplicationInput) SetApplication(v string) *DeleteRobotApplicationInput {
- s.Application = &v
- return s
- }
- // SetApplicationVersion sets the ApplicationVersion field's value.
- func (s *DeleteRobotApplicationInput) SetApplicationVersion(v string) *DeleteRobotApplicationInput {
- s.ApplicationVersion = &v
- return s
- }
- type DeleteRobotApplicationOutput struct {
- _ struct{} `type:"structure"`
- }
- // String returns the string representation
- func (s DeleteRobotApplicationOutput) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s DeleteRobotApplicationOutput) GoString() string {
- return s.String()
- }
- type DeleteRobotInput struct {
- _ struct{} `type:"structure"`
- // The Amazon Resource Name (ARN) of the robot.
- //
- // Robot is a required field
- Robot *string `locationName:"robot" min:"1" type:"string" required:"true"`
- }
- // String returns the string representation
- func (s DeleteRobotInput) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s DeleteRobotInput) GoString() string {
- return s.String()
- }
- // Validate inspects the fields of the type to determine if they are valid.
- func (s *DeleteRobotInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "DeleteRobotInput"}
- if s.Robot == nil {
- invalidParams.Add(request.NewErrParamRequired("Robot"))
- }
- if s.Robot != nil && len(*s.Robot) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("Robot", 1))
- }
- if invalidParams.Len() > 0 {
- return invalidParams
- }
- return nil
- }
- // SetRobot sets the Robot field's value.
- func (s *DeleteRobotInput) SetRobot(v string) *DeleteRobotInput {
- s.Robot = &v
- return s
- }
- type DeleteRobotOutput struct {
- _ struct{} `type:"structure"`
- }
- // String returns the string representation
- func (s DeleteRobotOutput) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s DeleteRobotOutput) GoString() string {
- return s.String()
- }
- type DeleteSimulationApplicationInput struct {
- _ struct{} `type:"structure"`
- // The application information for the simulation application to delete.
- //
- // Application is a required field
- Application *string `locationName:"application" min:"1" type:"string" required:"true"`
- // The version of the simulation application to delete.
- ApplicationVersion *string `locationName:"applicationVersion" min:"1" type:"string"`
- }
- // String returns the string representation
- func (s DeleteSimulationApplicationInput) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s DeleteSimulationApplicationInput) GoString() string {
- return s.String()
- }
- // Validate inspects the fields of the type to determine if they are valid.
- func (s *DeleteSimulationApplicationInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "DeleteSimulationApplicationInput"}
- if s.Application == nil {
- invalidParams.Add(request.NewErrParamRequired("Application"))
- }
- if s.Application != nil && len(*s.Application) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("Application", 1))
- }
- if s.ApplicationVersion != nil && len(*s.ApplicationVersion) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("ApplicationVersion", 1))
- }
- if invalidParams.Len() > 0 {
- return invalidParams
- }
- return nil
- }
- // SetApplication sets the Application field's value.
- func (s *DeleteSimulationApplicationInput) SetApplication(v string) *DeleteSimulationApplicationInput {
- s.Application = &v
- return s
- }
- // SetApplicationVersion sets the ApplicationVersion field's value.
- func (s *DeleteSimulationApplicationInput) SetApplicationVersion(v string) *DeleteSimulationApplicationInput {
- s.ApplicationVersion = &v
- return s
- }
- type DeleteSimulationApplicationOutput struct {
- _ struct{} `type:"structure"`
- }
- // String returns the string representation
- func (s DeleteSimulationApplicationOutput) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s DeleteSimulationApplicationOutput) GoString() string {
- return s.String()
- }
- // Information about a deployment application configuration.
- type DeploymentApplicationConfig struct {
- _ struct{} `type:"structure"`
- // The application.
- //
- // Application is a required field
- Application *string `locationName:"application" min:"1" type:"string" required:"true"`
- // The version of the application.
- //
- // ApplicationVersion is a required field
- ApplicationVersion *string `locationName:"applicationVersion" min:"1" type:"string" required:"true"`
- // The launch configuration, usually roslaunch.
- //
- // LaunchConfig is a required field
- LaunchConfig *DeploymentLaunchConfig `locationName:"launchConfig" type:"structure" required:"true"`
- }
- // String returns the string representation
- func (s DeploymentApplicationConfig) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s DeploymentApplicationConfig) GoString() string {
- return s.String()
- }
- // Validate inspects the fields of the type to determine if they are valid.
- func (s *DeploymentApplicationConfig) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "DeploymentApplicationConfig"}
- if s.Application == nil {
- invalidParams.Add(request.NewErrParamRequired("Application"))
- }
- if s.Application != nil && len(*s.Application) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("Application", 1))
- }
- if s.ApplicationVersion == nil {
- invalidParams.Add(request.NewErrParamRequired("ApplicationVersion"))
- }
- if s.ApplicationVersion != nil && len(*s.ApplicationVersion) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("ApplicationVersion", 1))
- }
- if s.LaunchConfig == nil {
- invalidParams.Add(request.NewErrParamRequired("LaunchConfig"))
- }
- if s.LaunchConfig != nil {
- if err := s.LaunchConfig.Validate(); err != nil {
- invalidParams.AddNested("LaunchConfig", err.(request.ErrInvalidParams))
- }
- }
- if invalidParams.Len() > 0 {
- return invalidParams
- }
- return nil
- }
- // SetApplication sets the Application field's value.
- func (s *DeploymentApplicationConfig) SetApplication(v string) *DeploymentApplicationConfig {
- s.Application = &v
- return s
- }
- // SetApplicationVersion sets the ApplicationVersion field's value.
- func (s *DeploymentApplicationConfig) SetApplicationVersion(v string) *DeploymentApplicationConfig {
- s.ApplicationVersion = &v
- return s
- }
- // SetLaunchConfig sets the LaunchConfig field's value.
- func (s *DeploymentApplicationConfig) SetLaunchConfig(v *DeploymentLaunchConfig) *DeploymentApplicationConfig {
- s.LaunchConfig = v
- return s
- }
- // Information about a deployment configuration.
- type DeploymentConfig struct {
- _ struct{} `type:"structure"`
- // The percentage of robots receiving the deployment at the same time.
- ConcurrentDeploymentPercentage *int64 `locationName:"concurrentDeploymentPercentage" min:"1" type:"integer"`
- // The percentage of deployments that need to fail before stopping deployment.
- FailureThresholdPercentage *int64 `locationName:"failureThresholdPercentage" min:"1" type:"integer"`
- }
- // String returns the string representation
- func (s DeploymentConfig) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s DeploymentConfig) GoString() string {
- return s.String()
- }
- // Validate inspects the fields of the type to determine if they are valid.
- func (s *DeploymentConfig) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "DeploymentConfig"}
- if s.ConcurrentDeploymentPercentage != nil && *s.ConcurrentDeploymentPercentage < 1 {
- invalidParams.Add(request.NewErrParamMinValue("ConcurrentDeploymentPercentage", 1))
- }
- if s.FailureThresholdPercentage != nil && *s.FailureThresholdPercentage < 1 {
- invalidParams.Add(request.NewErrParamMinValue("FailureThresholdPercentage", 1))
- }
- if invalidParams.Len() > 0 {
- return invalidParams
- }
- return nil
- }
- // SetConcurrentDeploymentPercentage sets the ConcurrentDeploymentPercentage field's value.
- func (s *DeploymentConfig) SetConcurrentDeploymentPercentage(v int64) *DeploymentConfig {
- s.ConcurrentDeploymentPercentage = &v
- return s
- }
- // SetFailureThresholdPercentage sets the FailureThresholdPercentage field's value.
- func (s *DeploymentConfig) SetFailureThresholdPercentage(v int64) *DeploymentConfig {
- s.FailureThresholdPercentage = &v
- return s
- }
- // Information about a deployment job.
- type DeploymentJob struct {
- _ struct{} `type:"structure"`
- // The Amazon Resource Name (ARN) of the deployment job.
- Arn *string `locationName:"arn" min:"1" type:"string"`
- // The time, in milliseconds since the epoch, when the deployment job was created.
- CreatedAt *time.Time `locationName:"createdAt" type:"timestamp"`
- // The deployment application configuration.
- DeploymentApplicationConfigs []*DeploymentApplicationConfig `locationName:"deploymentApplicationConfigs" min:"1" type:"list"`
- // The deployment configuration.
- DeploymentConfig *DeploymentConfig `locationName:"deploymentConfig" type:"structure"`
- // The deployment job failure code.
- FailureCode *string `locationName:"failureCode" type:"string" enum:"DeploymentJobErrorCode"`
- // A short description of the reason why the deployment job failed.
- FailureReason *string `locationName:"failureReason" type:"string"`
- // The Amazon Resource Name (ARN) of the fleet.
- Fleet *string `locationName:"fleet" min:"1" type:"string"`
- // The status of the deployment job.
- Status *string `locationName:"status" type:"string" enum:"DeploymentStatus"`
- }
- // String returns the string representation
- func (s DeploymentJob) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s DeploymentJob) GoString() string {
- return s.String()
- }
- // SetArn sets the Arn field's value.
- func (s *DeploymentJob) SetArn(v string) *DeploymentJob {
- s.Arn = &v
- return s
- }
- // SetCreatedAt sets the CreatedAt field's value.
- func (s *DeploymentJob) SetCreatedAt(v time.Time) *DeploymentJob {
- s.CreatedAt = &v
- return s
- }
- // SetDeploymentApplicationConfigs sets the DeploymentApplicationConfigs field's value.
- func (s *DeploymentJob) SetDeploymentApplicationConfigs(v []*DeploymentApplicationConfig) *DeploymentJob {
- s.DeploymentApplicationConfigs = v
- return s
- }
- // SetDeploymentConfig sets the DeploymentConfig field's value.
- func (s *DeploymentJob) SetDeploymentConfig(v *DeploymentConfig) *DeploymentJob {
- s.DeploymentConfig = v
- return s
- }
- // SetFailureCode sets the FailureCode field's value.
- func (s *DeploymentJob) SetFailureCode(v string) *DeploymentJob {
- s.FailureCode = &v
- return s
- }
- // SetFailureReason sets the FailureReason field's value.
- func (s *DeploymentJob) SetFailureReason(v string) *DeploymentJob {
- s.FailureReason = &v
- return s
- }
- // SetFleet sets the Fleet field's value.
- func (s *DeploymentJob) SetFleet(v string) *DeploymentJob {
- s.Fleet = &v
- return s
- }
- // SetStatus sets the Status field's value.
- func (s *DeploymentJob) SetStatus(v string) *DeploymentJob {
- s.Status = &v
- return s
- }
- // Configuration information for a deployment launch.
- type DeploymentLaunchConfig struct {
- _ struct{} `type:"structure"`
- // An array of key/value pairs specifying environment variables for the deployment
- // application.
- EnvironmentVariables map[string]*string `locationName:"environmentVariables" type:"map"`
- // The deployment launch file.
- //
- // LaunchFile is a required field
- LaunchFile *string `locationName:"launchFile" type:"string" required:"true"`
- // The package name.
- //
- // PackageName is a required field
- PackageName *string `locationName:"packageName" type:"string" required:"true"`
- // The deployment post-launch file. This file will be executed after the deployment
- // launch file.
- PostLaunchFile *string `locationName:"postLaunchFile" type:"string"`
- // The deployment pre-launch file. This file will be executed prior to the deployment
- // launch file.
- PreLaunchFile *string `locationName:"preLaunchFile" type:"string"`
- }
- // String returns the string representation
- func (s DeploymentLaunchConfig) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s DeploymentLaunchConfig) GoString() string {
- return s.String()
- }
- // Validate inspects the fields of the type to determine if they are valid.
- func (s *DeploymentLaunchConfig) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "DeploymentLaunchConfig"}
- if s.LaunchFile == nil {
- invalidParams.Add(request.NewErrParamRequired("LaunchFile"))
- }
- if s.PackageName == nil {
- invalidParams.Add(request.NewErrParamRequired("PackageName"))
- }
- if invalidParams.Len() > 0 {
- return invalidParams
- }
- return nil
- }
- // SetEnvironmentVariables sets the EnvironmentVariables field's value.
- func (s *DeploymentLaunchConfig) SetEnvironmentVariables(v map[string]*string) *DeploymentLaunchConfig {
- s.EnvironmentVariables = v
- return s
- }
- // SetLaunchFile sets the LaunchFile field's value.
- func (s *DeploymentLaunchConfig) SetLaunchFile(v string) *DeploymentLaunchConfig {
- s.LaunchFile = &v
- return s
- }
- // SetPackageName sets the PackageName field's value.
- func (s *DeploymentLaunchConfig) SetPackageName(v string) *DeploymentLaunchConfig {
- s.PackageName = &v
- return s
- }
- // SetPostLaunchFile sets the PostLaunchFile field's value.
- func (s *DeploymentLaunchConfig) SetPostLaunchFile(v string) *DeploymentLaunchConfig {
- s.PostLaunchFile = &v
- return s
- }
- // SetPreLaunchFile sets the PreLaunchFile field's value.
- func (s *DeploymentLaunchConfig) SetPreLaunchFile(v string) *DeploymentLaunchConfig {
- s.PreLaunchFile = &v
- return s
- }
- type DeregisterRobotInput struct {
- _ struct{} `type:"structure"`
- // The Amazon Resource Name (ARN) of the fleet.
- //
- // Fleet is a required field
- Fleet *string `locationName:"fleet" min:"1" type:"string" required:"true"`
- // The Amazon Resource Name (ARN) of the robot.
- //
- // Robot is a required field
- Robot *string `locationName:"robot" min:"1" type:"string" required:"true"`
- }
- // String returns the string representation
- func (s DeregisterRobotInput) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s DeregisterRobotInput) GoString() string {
- return s.String()
- }
- // Validate inspects the fields of the type to determine if they are valid.
- func (s *DeregisterRobotInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "DeregisterRobotInput"}
- if s.Fleet == nil {
- invalidParams.Add(request.NewErrParamRequired("Fleet"))
- }
- if s.Fleet != nil && len(*s.Fleet) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("Fleet", 1))
- }
- if s.Robot == nil {
- invalidParams.Add(request.NewErrParamRequired("Robot"))
- }
- if s.Robot != nil && len(*s.Robot) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("Robot", 1))
- }
- if invalidParams.Len() > 0 {
- return invalidParams
- }
- return nil
- }
- // SetFleet sets the Fleet field's value.
- func (s *DeregisterRobotInput) SetFleet(v string) *DeregisterRobotInput {
- s.Fleet = &v
- return s
- }
- // SetRobot sets the Robot field's value.
- func (s *DeregisterRobotInput) SetRobot(v string) *DeregisterRobotInput {
- s.Robot = &v
- return s
- }
- type DeregisterRobotOutput struct {
- _ struct{} `type:"structure"`
- // The Amazon Resource Name (ARN) of the fleet.
- Fleet *string `locationName:"fleet" min:"1" type:"string"`
- // The Amazon Resource Name (ARN) of the robot.
- Robot *string `locationName:"robot" min:"1" type:"string"`
- }
- // String returns the string representation
- func (s DeregisterRobotOutput) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s DeregisterRobotOutput) GoString() string {
- return s.String()
- }
- // SetFleet sets the Fleet field's value.
- func (s *DeregisterRobotOutput) SetFleet(v string) *DeregisterRobotOutput {
- s.Fleet = &v
- return s
- }
- // SetRobot sets the Robot field's value.
- func (s *DeregisterRobotOutput) SetRobot(v string) *DeregisterRobotOutput {
- s.Robot = &v
- return s
- }
- type DescribeDeploymentJobInput struct {
- _ struct{} `type:"structure"`
- // The Amazon Resource Name (ARN) of the deployment job.
- //
- // Job is a required field
- Job *string `locationName:"job" min:"1" type:"string" required:"true"`
- }
- // String returns the string representation
- func (s DescribeDeploymentJobInput) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s DescribeDeploymentJobInput) GoString() string {
- return s.String()
- }
- // Validate inspects the fields of the type to determine if they are valid.
- func (s *DescribeDeploymentJobInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "DescribeDeploymentJobInput"}
- if s.Job == nil {
- invalidParams.Add(request.NewErrParamRequired("Job"))
- }
- if s.Job != nil && len(*s.Job) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("Job", 1))
- }
- if invalidParams.Len() > 0 {
- return invalidParams
- }
- return nil
- }
- // SetJob sets the Job field's value.
- func (s *DescribeDeploymentJobInput) SetJob(v string) *DescribeDeploymentJobInput {
- s.Job = &v
- return s
- }
- type DescribeDeploymentJobOutput struct {
- _ struct{} `type:"structure"`
- // The Amazon Resource Name (ARN) of the deployment job.
- Arn *string `locationName:"arn" min:"1" type:"string"`
- // The time, in milliseconds since the epoch, when the deployment job was created.
- CreatedAt *time.Time `locationName:"createdAt" type:"timestamp"`
- // The deployment application configuration.
- DeploymentApplicationConfigs []*DeploymentApplicationConfig `locationName:"deploymentApplicationConfigs" min:"1" type:"list"`
- // The deployment configuration.
- DeploymentConfig *DeploymentConfig `locationName:"deploymentConfig" type:"structure"`
- // The deployment job failure code.
- FailureCode *string `locationName:"failureCode" type:"string" enum:"DeploymentJobErrorCode"`
- // A short description of the reason why the deployment job failed.
- FailureReason *string `locationName:"failureReason" type:"string"`
- // The Amazon Resource Name (ARN) of the fleet.
- Fleet *string `locationName:"fleet" min:"1" type:"string"`
- // A list of robot deployment summaries.
- RobotDeploymentSummary []*RobotDeployment `locationName:"robotDeploymentSummary" type:"list"`
- // The status of the deployment job.
- Status *string `locationName:"status" type:"string" enum:"DeploymentStatus"`
- }
- // String returns the string representation
- func (s DescribeDeploymentJobOutput) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s DescribeDeploymentJobOutput) GoString() string {
- return s.String()
- }
- // SetArn sets the Arn field's value.
- func (s *DescribeDeploymentJobOutput) SetArn(v string) *DescribeDeploymentJobOutput {
- s.Arn = &v
- return s
- }
- // SetCreatedAt sets the CreatedAt field's value.
- func (s *DescribeDeploymentJobOutput) SetCreatedAt(v time.Time) *DescribeDeploymentJobOutput {
- s.CreatedAt = &v
- return s
- }
- // SetDeploymentApplicationConfigs sets the DeploymentApplicationConfigs field's value.
- func (s *DescribeDeploymentJobOutput) SetDeploymentApplicationConfigs(v []*DeploymentApplicationConfig) *DescribeDeploymentJobOutput {
- s.DeploymentApplicationConfigs = v
- return s
- }
- // SetDeploymentConfig sets the DeploymentConfig field's value.
- func (s *DescribeDeploymentJobOutput) SetDeploymentConfig(v *DeploymentConfig) *DescribeDeploymentJobOutput {
- s.DeploymentConfig = v
- return s
- }
- // SetFailureCode sets the FailureCode field's value.
- func (s *DescribeDeploymentJobOutput) SetFailureCode(v string) *DescribeDeploymentJobOutput {
- s.FailureCode = &v
- return s
- }
- // SetFailureReason sets the FailureReason field's value.
- func (s *DescribeDeploymentJobOutput) SetFailureReason(v string) *DescribeDeploymentJobOutput {
- s.FailureReason = &v
- return s
- }
- // SetFleet sets the Fleet field's value.
- func (s *DescribeDeploymentJobOutput) SetFleet(v string) *DescribeDeploymentJobOutput {
- s.Fleet = &v
- return s
- }
- // SetRobotDeploymentSummary sets the RobotDeploymentSummary field's value.
- func (s *DescribeDeploymentJobOutput) SetRobotDeploymentSummary(v []*RobotDeployment) *DescribeDeploymentJobOutput {
- s.RobotDeploymentSummary = v
- return s
- }
- // SetStatus sets the Status field's value.
- func (s *DescribeDeploymentJobOutput) SetStatus(v string) *DescribeDeploymentJobOutput {
- s.Status = &v
- return s
- }
- type DescribeFleetInput struct {
- _ struct{} `type:"structure"`
- // The Amazon Resource Name (ARN) of the fleet.
- //
- // Fleet is a required field
- Fleet *string `locationName:"fleet" min:"1" type:"string" required:"true"`
- }
- // String returns the string representation
- func (s DescribeFleetInput) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s DescribeFleetInput) GoString() string {
- return s.String()
- }
- // Validate inspects the fields of the type to determine if they are valid.
- func (s *DescribeFleetInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "DescribeFleetInput"}
- if s.Fleet == nil {
- invalidParams.Add(request.NewErrParamRequired("Fleet"))
- }
- if s.Fleet != nil && len(*s.Fleet) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("Fleet", 1))
- }
- if invalidParams.Len() > 0 {
- return invalidParams
- }
- return nil
- }
- // SetFleet sets the Fleet field's value.
- func (s *DescribeFleetInput) SetFleet(v string) *DescribeFleetInput {
- s.Fleet = &v
- return s
- }
- type DescribeFleetOutput struct {
- _ struct{} `type:"structure"`
- // The Amazon Resource Name (ARN) of the fleet.
- Arn *string `locationName:"arn" min:"1" type:"string"`
- // The time, in milliseconds since the epoch, when the fleet was created.
- CreatedAt *time.Time `locationName:"createdAt" type:"timestamp"`
- // The Amazon Resource Name (ARN) of the last deployment job.
- LastDeploymentJob *string `locationName:"lastDeploymentJob" min:"1" type:"string"`
- // The status of the last deployment.
- LastDeploymentStatus *string `locationName:"lastDeploymentStatus" type:"string" enum:"DeploymentStatus"`
- // The time of the last deployment.
- LastDeploymentTime *time.Time `locationName:"lastDeploymentTime" type:"timestamp"`
- // The name of the fleet.
- Name *string `locationName:"name" min:"1" type:"string"`
- // A list of robots.
- Robots []*Robot `locationName:"robots" type:"list"`
- }
- // String returns the string representation
- func (s DescribeFleetOutput) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s DescribeFleetOutput) GoString() string {
- return s.String()
- }
- // SetArn sets the Arn field's value.
- func (s *DescribeFleetOutput) SetArn(v string) *DescribeFleetOutput {
- s.Arn = &v
- return s
- }
- // SetCreatedAt sets the CreatedAt field's value.
- func (s *DescribeFleetOutput) SetCreatedAt(v time.Time) *DescribeFleetOutput {
- s.CreatedAt = &v
- return s
- }
- // SetLastDeploymentJob sets the LastDeploymentJob field's value.
- func (s *DescribeFleetOutput) SetLastDeploymentJob(v string) *DescribeFleetOutput {
- s.LastDeploymentJob = &v
- return s
- }
- // SetLastDeploymentStatus sets the LastDeploymentStatus field's value.
- func (s *DescribeFleetOutput) SetLastDeploymentStatus(v string) *DescribeFleetOutput {
- s.LastDeploymentStatus = &v
- return s
- }
- // SetLastDeploymentTime sets the LastDeploymentTime field's value.
- func (s *DescribeFleetOutput) SetLastDeploymentTime(v time.Time) *DescribeFleetOutput {
- s.LastDeploymentTime = &v
- return s
- }
- // SetName sets the Name field's value.
- func (s *DescribeFleetOutput) SetName(v string) *DescribeFleetOutput {
- s.Name = &v
- return s
- }
- // SetRobots sets the Robots field's value.
- func (s *DescribeFleetOutput) SetRobots(v []*Robot) *DescribeFleetOutput {
- s.Robots = v
- return s
- }
- type DescribeRobotApplicationInput struct {
- _ struct{} `type:"structure"`
- // The Amazon Resource Name (ARN) of the robot application.
- //
- // Application is a required field
- Application *string `locationName:"application" min:"1" type:"string" required:"true"`
- // The version of the robot application to describe.
- ApplicationVersion *string `locationName:"applicationVersion" min:"1" type:"string"`
- }
- // String returns the string representation
- func (s DescribeRobotApplicationInput) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s DescribeRobotApplicationInput) GoString() string {
- return s.String()
- }
- // Validate inspects the fields of the type to determine if they are valid.
- func (s *DescribeRobotApplicationInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "DescribeRobotApplicationInput"}
- if s.Application == nil {
- invalidParams.Add(request.NewErrParamRequired("Application"))
- }
- if s.Application != nil && len(*s.Application) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("Application", 1))
- }
- if s.ApplicationVersion != nil && len(*s.ApplicationVersion) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("ApplicationVersion", 1))
- }
- if invalidParams.Len() > 0 {
- return invalidParams
- }
- return nil
- }
- // SetApplication sets the Application field's value.
- func (s *DescribeRobotApplicationInput) SetApplication(v string) *DescribeRobotApplicationInput {
- s.Application = &v
- return s
- }
- // SetApplicationVersion sets the ApplicationVersion field's value.
- func (s *DescribeRobotApplicationInput) SetApplicationVersion(v string) *DescribeRobotApplicationInput {
- s.ApplicationVersion = &v
- return s
- }
- type DescribeRobotApplicationOutput struct {
- _ struct{} `type:"structure"`
- // The Amazon Resource Name (ARN) of the robot application.
- Arn *string `locationName:"arn" min:"1" type:"string"`
- // The time, in milliseconds since the epoch, when the robot application was
- // last updated.
- LastUpdatedAt *time.Time `locationName:"lastUpdatedAt" type:"timestamp"`
- // The name of the robot application.
- Name *string `locationName:"name" min:"1" type:"string"`
- // The revision id of the robot application.
- RevisionId *string `locationName:"revisionId" min:"1" type:"string"`
- // The robot software suite used by the robot application.
- RobotSoftwareSuite *RobotSoftwareSuite `locationName:"robotSoftwareSuite" type:"structure"`
- // The sources of the robot application.
- Sources []*Source `locationName:"sources" type:"list"`
- // The version of the robot application.
- Version *string `locationName:"version" min:"1" type:"string"`
- }
- // String returns the string representation
- func (s DescribeRobotApplicationOutput) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s DescribeRobotApplicationOutput) GoString() string {
- return s.String()
- }
- // SetArn sets the Arn field's value.
- func (s *DescribeRobotApplicationOutput) SetArn(v string) *DescribeRobotApplicationOutput {
- s.Arn = &v
- return s
- }
- // SetLastUpdatedAt sets the LastUpdatedAt field's value.
- func (s *DescribeRobotApplicationOutput) SetLastUpdatedAt(v time.Time) *DescribeRobotApplicationOutput {
- s.LastUpdatedAt = &v
- return s
- }
- // SetName sets the Name field's value.
- func (s *DescribeRobotApplicationOutput) SetName(v string) *DescribeRobotApplicationOutput {
- s.Name = &v
- return s
- }
- // SetRevisionId sets the RevisionId field's value.
- func (s *DescribeRobotApplicationOutput) SetRevisionId(v string) *DescribeRobotApplicationOutput {
- s.RevisionId = &v
- return s
- }
- // SetRobotSoftwareSuite sets the RobotSoftwareSuite field's value.
- func (s *DescribeRobotApplicationOutput) SetRobotSoftwareSuite(v *RobotSoftwareSuite) *DescribeRobotApplicationOutput {
- s.RobotSoftwareSuite = v
- return s
- }
- // SetSources sets the Sources field's value.
- func (s *DescribeRobotApplicationOutput) SetSources(v []*Source) *DescribeRobotApplicationOutput {
- s.Sources = v
- return s
- }
- // SetVersion sets the Version field's value.
- func (s *DescribeRobotApplicationOutput) SetVersion(v string) *DescribeRobotApplicationOutput {
- s.Version = &v
- return s
- }
- type DescribeRobotInput struct {
- _ struct{} `type:"structure"`
- // The Amazon Resource Name (ARN) of the robot to be described.
- //
- // Robot is a required field
- Robot *string `locationName:"robot" min:"1" type:"string" required:"true"`
- }
- // String returns the string representation
- func (s DescribeRobotInput) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s DescribeRobotInput) GoString() string {
- return s.String()
- }
- // Validate inspects the fields of the type to determine if they are valid.
- func (s *DescribeRobotInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "DescribeRobotInput"}
- if s.Robot == nil {
- invalidParams.Add(request.NewErrParamRequired("Robot"))
- }
- if s.Robot != nil && len(*s.Robot) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("Robot", 1))
- }
- if invalidParams.Len() > 0 {
- return invalidParams
- }
- return nil
- }
- // SetRobot sets the Robot field's value.
- func (s *DescribeRobotInput) SetRobot(v string) *DescribeRobotInput {
- s.Robot = &v
- return s
- }
- type DescribeRobotOutput struct {
- _ struct{} `type:"structure"`
- // The target architecture of the robot application.
- Architecture *string `locationName:"architecture" type:"string" enum:"Architecture"`
- // The Amazon Resource Name (ARN) of the robot.
- Arn *string `locationName:"arn" min:"1" type:"string"`
- // The time, in milliseconds since the epoch, when the robot was created.
- CreatedAt *time.Time `locationName:"createdAt" type:"timestamp"`
- // The Amazon Resource Name (ARN) of the fleet.
- FleetArn *string `locationName:"fleetArn" min:"1" type:"string"`
- // The Greengrass group id.
- GreengrassGroupId *string `locationName:"greengrassGroupId" min:"1" type:"string"`
- // The Amazon Resource Name (ARN) of the last deployment job.
- LastDeploymentJob *string `locationName:"lastDeploymentJob" min:"1" type:"string"`
- // The time of the last deployment job.
- LastDeploymentTime *time.Time `locationName:"lastDeploymentTime" type:"timestamp"`
- // The name of the robot.
- Name *string `locationName:"name" min:"1" type:"string"`
- // The status of the fleet.
- Status *string `locationName:"status" type:"string" enum:"RobotStatus"`
- }
- // String returns the string representation
- func (s DescribeRobotOutput) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s DescribeRobotOutput) GoString() string {
- return s.String()
- }
- // SetArchitecture sets the Architecture field's value.
- func (s *DescribeRobotOutput) SetArchitecture(v string) *DescribeRobotOutput {
- s.Architecture = &v
- return s
- }
- // SetArn sets the Arn field's value.
- func (s *DescribeRobotOutput) SetArn(v string) *DescribeRobotOutput {
- s.Arn = &v
- return s
- }
- // SetCreatedAt sets the CreatedAt field's value.
- func (s *DescribeRobotOutput) SetCreatedAt(v time.Time) *DescribeRobotOutput {
- s.CreatedAt = &v
- return s
- }
- // SetFleetArn sets the FleetArn field's value.
- func (s *DescribeRobotOutput) SetFleetArn(v string) *DescribeRobotOutput {
- s.FleetArn = &v
- return s
- }
- // SetGreengrassGroupId sets the GreengrassGroupId field's value.
- func (s *DescribeRobotOutput) SetGreengrassGroupId(v string) *DescribeRobotOutput {
- s.GreengrassGroupId = &v
- return s
- }
- // SetLastDeploymentJob sets the LastDeploymentJob field's value.
- func (s *DescribeRobotOutput) SetLastDeploymentJob(v string) *DescribeRobotOutput {
- s.LastDeploymentJob = &v
- return s
- }
- // SetLastDeploymentTime sets the LastDeploymentTime field's value.
- func (s *DescribeRobotOutput) SetLastDeploymentTime(v time.Time) *DescribeRobotOutput {
- s.LastDeploymentTime = &v
- return s
- }
- // SetName sets the Name field's value.
- func (s *DescribeRobotOutput) SetName(v string) *DescribeRobotOutput {
- s.Name = &v
- return s
- }
- // SetStatus sets the Status field's value.
- func (s *DescribeRobotOutput) SetStatus(v string) *DescribeRobotOutput {
- s.Status = &v
- return s
- }
- type DescribeSimulationApplicationInput struct {
- _ struct{} `type:"structure"`
- // The application information for the simulation application.
- //
- // Application is a required field
- Application *string `locationName:"application" min:"1" type:"string" required:"true"`
- // The version of the simulation application to describe.
- ApplicationVersion *string `locationName:"applicationVersion" min:"1" type:"string"`
- }
- // String returns the string representation
- func (s DescribeSimulationApplicationInput) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s DescribeSimulationApplicationInput) GoString() string {
- return s.String()
- }
- // Validate inspects the fields of the type to determine if they are valid.
- func (s *DescribeSimulationApplicationInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "DescribeSimulationApplicationInput"}
- if s.Application == nil {
- invalidParams.Add(request.NewErrParamRequired("Application"))
- }
- if s.Application != nil && len(*s.Application) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("Application", 1))
- }
- if s.ApplicationVersion != nil && len(*s.ApplicationVersion) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("ApplicationVersion", 1))
- }
- if invalidParams.Len() > 0 {
- return invalidParams
- }
- return nil
- }
- // SetApplication sets the Application field's value.
- func (s *DescribeSimulationApplicationInput) SetApplication(v string) *DescribeSimulationApplicationInput {
- s.Application = &v
- return s
- }
- // SetApplicationVersion sets the ApplicationVersion field's value.
- func (s *DescribeSimulationApplicationInput) SetApplicationVersion(v string) *DescribeSimulationApplicationInput {
- s.ApplicationVersion = &v
- return s
- }
- type DescribeSimulationApplicationOutput struct {
- _ struct{} `type:"structure"`
- // The Amazon Resource Name (ARN) of the robot simulation application.
- Arn *string `locationName:"arn" min:"1" type:"string"`
- // The time, in milliseconds since the epoch, when the simulation application
- // was last updated.
- LastUpdatedAt *time.Time `locationName:"lastUpdatedAt" type:"timestamp"`
- // The name of the simulation application.
- Name *string `locationName:"name" min:"1" type:"string"`
- // The rendering engine for the simulation application.
- RenderingEngine *RenderingEngine `locationName:"renderingEngine" type:"structure"`
- // The revision id of the simulation application.
- RevisionId *string `locationName:"revisionId" min:"1" type:"string"`
- // Information about the robot software suite.
- RobotSoftwareSuite *RobotSoftwareSuite `locationName:"robotSoftwareSuite" type:"structure"`
- // The simulation software suite used by the simulation application.
- SimulationSoftwareSuite *SimulationSoftwareSuite `locationName:"simulationSoftwareSuite" type:"structure"`
- // The sources of the simulation application.
- Sources []*Source `locationName:"sources" type:"list"`
- // The version of the simulation application.
- Version *string `locationName:"version" min:"1" type:"string"`
- }
- // String returns the string representation
- func (s DescribeSimulationApplicationOutput) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s DescribeSimulationApplicationOutput) GoString() string {
- return s.String()
- }
- // SetArn sets the Arn field's value.
- func (s *DescribeSimulationApplicationOutput) SetArn(v string) *DescribeSimulationApplicationOutput {
- s.Arn = &v
- return s
- }
- // SetLastUpdatedAt sets the LastUpdatedAt field's value.
- func (s *DescribeSimulationApplicationOutput) SetLastUpdatedAt(v time.Time) *DescribeSimulationApplicationOutput {
- s.LastUpdatedAt = &v
- return s
- }
- // SetName sets the Name field's value.
- func (s *DescribeSimulationApplicationOutput) SetName(v string) *DescribeSimulationApplicationOutput {
- s.Name = &v
- return s
- }
- // SetRenderingEngine sets the RenderingEngine field's value.
- func (s *DescribeSimulationApplicationOutput) SetRenderingEngine(v *RenderingEngine) *DescribeSimulationApplicationOutput {
- s.RenderingEngine = v
- return s
- }
- // SetRevisionId sets the RevisionId field's value.
- func (s *DescribeSimulationApplicationOutput) SetRevisionId(v string) *DescribeSimulationApplicationOutput {
- s.RevisionId = &v
- return s
- }
- // SetRobotSoftwareSuite sets the RobotSoftwareSuite field's value.
- func (s *DescribeSimulationApplicationOutput) SetRobotSoftwareSuite(v *RobotSoftwareSuite) *DescribeSimulationApplicationOutput {
- s.RobotSoftwareSuite = v
- return s
- }
- // SetSimulationSoftwareSuite sets the SimulationSoftwareSuite field's value.
- func (s *DescribeSimulationApplicationOutput) SetSimulationSoftwareSuite(v *SimulationSoftwareSuite) *DescribeSimulationApplicationOutput {
- s.SimulationSoftwareSuite = v
- return s
- }
- // SetSources sets the Sources field's value.
- func (s *DescribeSimulationApplicationOutput) SetSources(v []*Source) *DescribeSimulationApplicationOutput {
- s.Sources = v
- return s
- }
- // SetVersion sets the Version field's value.
- func (s *DescribeSimulationApplicationOutput) SetVersion(v string) *DescribeSimulationApplicationOutput {
- s.Version = &v
- return s
- }
- type DescribeSimulationJobInput struct {
- _ struct{} `type:"structure"`
- // The Amazon Resource Name (ARN) of the simulation job to be described.
- //
- // Job is a required field
- Job *string `locationName:"job" min:"1" type:"string" required:"true"`
- }
- // String returns the string representation
- func (s DescribeSimulationJobInput) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s DescribeSimulationJobInput) GoString() string {
- return s.String()
- }
- // Validate inspects the fields of the type to determine if they are valid.
- func (s *DescribeSimulationJobInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "DescribeSimulationJobInput"}
- if s.Job == nil {
- invalidParams.Add(request.NewErrParamRequired("Job"))
- }
- if s.Job != nil && len(*s.Job) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("Job", 1))
- }
- if invalidParams.Len() > 0 {
- return invalidParams
- }
- return nil
- }
- // SetJob sets the Job field's value.
- func (s *DescribeSimulationJobInput) SetJob(v string) *DescribeSimulationJobInput {
- s.Job = &v
- return s
- }
- type DescribeSimulationJobOutput struct {
- _ struct{} `type:"structure"`
- // The Amazon Resource Name (ARN) of the simulation job.
- Arn *string `locationName:"arn" min:"1" type:"string"`
- // Unique, case-sensitive identifier that you provide to ensure the idempotency
- // of the request.
- ClientRequestToken *string `locationName:"clientRequestToken" min:"1" type:"string"`
- // The failure behavior for the simulation job.
- FailureBehavior *string `locationName:"failureBehavior" type:"string" enum:"FailureBehavior"`
- // The failure code of the simulation job if it failed:
- //
- // InternalServiceErrorInternal service error
- //
- // RobotApplicationCrashRobot application exited abnormally (segfault, etc.)
- //
- // SimulationApplicationCrash Simulation application exited abnormally (segfault,
- // etc.)
- //
- // BadPermissionsRobotApplicationRobot application bundle could not be downloaded
- //
- // BadPermissionsSimulationApplicationSimulation application bundle could not
- // be downloaded
- //
- // BadPermissionsS3OutputUnable to publish outputs to customer-provided S3 bucket
- //
- // BadPermissionsCloudwatchLogsUnable to publish logs to customer-provided CloudWatch
- // Logs resource
- //
- // SubnetIpLimitExceededSubnet IP limit exceeded
- //
- // ENILimitExceededENI limit exceeded
- //
- // BadPermissionsUserCredentialsUnable to use the Role provided
- //
- // InvalidBundleRobotApplicationRobot bundle cannot be extracted (invalid format,
- // bundling error, etc.)
- //
- // InvalidBundleSimulationApplicationSimulation bundle cannot be extracted (invalid
- // format, bundling error, etc.)
- //
- // RobotApplicationVersionMismatchedEtagEtag for RobotApplication does not match
- // value during version creation
- //
- // SimulationApplicationVersionMismatchedEtagEtag for SimulationApplication
- // does not match value during version creation
- FailureCode *string `locationName:"failureCode" type:"string" enum:"SimulationJobErrorCode"`
- // The IAM role that allows the simulation instance to call the AWS APIs that
- // are specified in its associated policies on your behalf.
- IamRole *string `locationName:"iamRole" min:"1" type:"string"`
- // The time, in milliseconds since the epoch, when the simulation job was last
- // updated.
- LastUpdatedAt *time.Time `locationName:"lastUpdatedAt" type:"timestamp"`
- // The maximum job duration in seconds. The value must be 8 days (691,200 seconds)
- // or less.
- MaxJobDurationInSeconds *int64 `locationName:"maxJobDurationInSeconds" type:"long"`
- // The name of the simulation job.
- Name *string `locationName:"name" min:"1" type:"string"`
- // Location for output files generated by the simulation job.
- OutputLocation *OutputLocation `locationName:"outputLocation" type:"structure"`
- // A list of robot applications.
- RobotApplications []*RobotApplicationConfig `locationName:"robotApplications" min:"1" type:"list"`
- // A list of simulation applications.
- SimulationApplications []*SimulationApplicationConfig `locationName:"simulationApplications" min:"1" type:"list"`
- // The simulation job execution duration in milliseconds.
- SimulationTimeMillis *int64 `locationName:"simulationTimeMillis" type:"long"`
- // The status of the simulation job.
- Status *string `locationName:"status" type:"string" enum:"SimulationJobStatus"`
- // The VPC configuration.
- VpcConfig *VPCConfigResponse `locationName:"vpcConfig" type:"structure"`
- }
- // String returns the string representation
- func (s DescribeSimulationJobOutput) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s DescribeSimulationJobOutput) GoString() string {
- return s.String()
- }
- // SetArn sets the Arn field's value.
- func (s *DescribeSimulationJobOutput) SetArn(v string) *DescribeSimulationJobOutput {
- s.Arn = &v
- return s
- }
- // SetClientRequestToken sets the ClientRequestToken field's value.
- func (s *DescribeSimulationJobOutput) SetClientRequestToken(v string) *DescribeSimulationJobOutput {
- s.ClientRequestToken = &v
- return s
- }
- // SetFailureBehavior sets the FailureBehavior field's value.
- func (s *DescribeSimulationJobOutput) SetFailureBehavior(v string) *DescribeSimulationJobOutput {
- s.FailureBehavior = &v
- return s
- }
- // SetFailureCode sets the FailureCode field's value.
- func (s *DescribeSimulationJobOutput) SetFailureCode(v string) *DescribeSimulationJobOutput {
- s.FailureCode = &v
- return s
- }
- // SetIamRole sets the IamRole field's value.
- func (s *DescribeSimulationJobOutput) SetIamRole(v string) *DescribeSimulationJobOutput {
- s.IamRole = &v
- return s
- }
- // SetLastUpdatedAt sets the LastUpdatedAt field's value.
- func (s *DescribeSimulationJobOutput) SetLastUpdatedAt(v time.Time) *DescribeSimulationJobOutput {
- s.LastUpdatedAt = &v
- return s
- }
- // SetMaxJobDurationInSeconds sets the MaxJobDurationInSeconds field's value.
- func (s *DescribeSimulationJobOutput) SetMaxJobDurationInSeconds(v int64) *DescribeSimulationJobOutput {
- s.MaxJobDurationInSeconds = &v
- return s
- }
- // SetName sets the Name field's value.
- func (s *DescribeSimulationJobOutput) SetName(v string) *DescribeSimulationJobOutput {
- s.Name = &v
- return s
- }
- // SetOutputLocation sets the OutputLocation field's value.
- func (s *DescribeSimulationJobOutput) SetOutputLocation(v *OutputLocation) *DescribeSimulationJobOutput {
- s.OutputLocation = v
- return s
- }
- // SetRobotApplications sets the RobotApplications field's value.
- func (s *DescribeSimulationJobOutput) SetRobotApplications(v []*RobotApplicationConfig) *DescribeSimulationJobOutput {
- s.RobotApplications = v
- return s
- }
- // SetSimulationApplications sets the SimulationApplications field's value.
- func (s *DescribeSimulationJobOutput) SetSimulationApplications(v []*SimulationApplicationConfig) *DescribeSimulationJobOutput {
- s.SimulationApplications = v
- return s
- }
- // SetSimulationTimeMillis sets the SimulationTimeMillis field's value.
- func (s *DescribeSimulationJobOutput) SetSimulationTimeMillis(v int64) *DescribeSimulationJobOutput {
- s.SimulationTimeMillis = &v
- return s
- }
- // SetStatus sets the Status field's value.
- func (s *DescribeSimulationJobOutput) SetStatus(v string) *DescribeSimulationJobOutput {
- s.Status = &v
- return s
- }
- // SetVpcConfig sets the VpcConfig field's value.
- func (s *DescribeSimulationJobOutput) SetVpcConfig(v *VPCConfigResponse) *DescribeSimulationJobOutput {
- s.VpcConfig = v
- return s
- }
- // Information about a filter.
- type Filter struct {
- _ struct{} `type:"structure"`
- // The name of the filter.
- Name *string `locationName:"name" min:"1" type:"string"`
- // A list of values.
- Values []*string `locationName:"values" min:"1" type:"list"`
- }
- // String returns the string representation
- func (s Filter) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s Filter) GoString() string {
- return s.String()
- }
- // Validate inspects the fields of the type to determine if they are valid.
- func (s *Filter) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "Filter"}
- if s.Name != nil && len(*s.Name) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("Name", 1))
- }
- if s.Values != nil && len(s.Values) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("Values", 1))
- }
- if invalidParams.Len() > 0 {
- return invalidParams
- }
- return nil
- }
- // SetName sets the Name field's value.
- func (s *Filter) SetName(v string) *Filter {
- s.Name = &v
- return s
- }
- // SetValues sets the Values field's value.
- func (s *Filter) SetValues(v []*string) *Filter {
- s.Values = v
- return s
- }
- // Information about a fleet.
- type Fleet struct {
- _ struct{} `type:"structure"`
- // The Amazon Resource Name (ARN) of the fleet.
- Arn *string `locationName:"arn" min:"1" type:"string"`
- // The time, in milliseconds since the epoch, when the fleet was created.
- CreatedAt *time.Time `locationName:"createdAt" type:"timestamp"`
- // The Amazon Resource Name (ARN) of the last deployment job.
- LastDeploymentJob *string `locationName:"lastDeploymentJob" min:"1" type:"string"`
- // The status of the last fleet deployment.
- LastDeploymentStatus *string `locationName:"lastDeploymentStatus" type:"string" enum:"DeploymentStatus"`
- // The time of the last deployment.
- LastDeploymentTime *time.Time `locationName:"lastDeploymentTime" type:"timestamp"`
- // The name of the fleet.
- Name *string `locationName:"name" min:"1" type:"string"`
- }
- // String returns the string representation
- func (s Fleet) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s Fleet) GoString() string {
- return s.String()
- }
- // SetArn sets the Arn field's value.
- func (s *Fleet) SetArn(v string) *Fleet {
- s.Arn = &v
- return s
- }
- // SetCreatedAt sets the CreatedAt field's value.
- func (s *Fleet) SetCreatedAt(v time.Time) *Fleet {
- s.CreatedAt = &v
- return s
- }
- // SetLastDeploymentJob sets the LastDeploymentJob field's value.
- func (s *Fleet) SetLastDeploymentJob(v string) *Fleet {
- s.LastDeploymentJob = &v
- return s
- }
- // SetLastDeploymentStatus sets the LastDeploymentStatus field's value.
- func (s *Fleet) SetLastDeploymentStatus(v string) *Fleet {
- s.LastDeploymentStatus = &v
- return s
- }
- // SetLastDeploymentTime sets the LastDeploymentTime field's value.
- func (s *Fleet) SetLastDeploymentTime(v time.Time) *Fleet {
- s.LastDeploymentTime = &v
- return s
- }
- // SetName sets the Name field's value.
- func (s *Fleet) SetName(v string) *Fleet {
- s.Name = &v
- return s
- }
- // Information about a launch configuration.
- type LaunchConfig struct {
- _ struct{} `type:"structure"`
- // The environment variables for the application launch.
- EnvironmentVariables map[string]*string `locationName:"environmentVariables" type:"map"`
- // The launch file.
- //
- // LaunchFile is a required field
- LaunchFile *string `locationName:"launchFile" type:"string" required:"true"`
- // The package name.
- //
- // PackageName is a required field
- PackageName *string `locationName:"packageName" type:"string" required:"true"`
- }
- // String returns the string representation
- func (s LaunchConfig) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s LaunchConfig) GoString() string {
- return s.String()
- }
- // Validate inspects the fields of the type to determine if they are valid.
- func (s *LaunchConfig) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "LaunchConfig"}
- if s.LaunchFile == nil {
- invalidParams.Add(request.NewErrParamRequired("LaunchFile"))
- }
- if s.PackageName == nil {
- invalidParams.Add(request.NewErrParamRequired("PackageName"))
- }
- if invalidParams.Len() > 0 {
- return invalidParams
- }
- return nil
- }
- // SetEnvironmentVariables sets the EnvironmentVariables field's value.
- func (s *LaunchConfig) SetEnvironmentVariables(v map[string]*string) *LaunchConfig {
- s.EnvironmentVariables = v
- return s
- }
- // SetLaunchFile sets the LaunchFile field's value.
- func (s *LaunchConfig) SetLaunchFile(v string) *LaunchConfig {
- s.LaunchFile = &v
- return s
- }
- // SetPackageName sets the PackageName field's value.
- func (s *LaunchConfig) SetPackageName(v string) *LaunchConfig {
- s.PackageName = &v
- return s
- }
- type ListDeploymentJobsInput struct {
- _ struct{} `type:"structure"`
- // Optional filters to limit results.
- Filters []*Filter `locationName:"filters" min:"1" type:"list"`
- // The maximum number of deployment job results returned by ListDeploymentJobs
- // in paginated output. When this parameter is used, ListDeploymentJobs only
- // returns maxResults results in a single page along with a nextToken response
- // element. The remaining results of the initial request can be seen by sending
- // another ListDeploymentJobs request with the returned nextToken value. This
- // value can be between 1 and 100. If this parameter is not used, then ListDeploymentJobs
- // returns up to 100 results and a nextToken value if applicable.
- MaxResults *int64 `locationName:"maxResults" type:"integer"`
- // The nextToken value returned from a previous paginated ListDeploymentJobs
- // request where maxResults was used and the results exceeded the value of that
- // parameter. Pagination continues from the end of the previous results that
- // returned the nextToken value.
- //
- // This token should be treated as an opaque identifier that is only used to
- // retrieve the next items in a list and not for other programmatic purposes.
- NextToken *string `locationName:"nextToken" min:"1" type:"string"`
- }
- // String returns the string representation
- func (s ListDeploymentJobsInput) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s ListDeploymentJobsInput) GoString() string {
- return s.String()
- }
- // Validate inspects the fields of the type to determine if they are valid.
- func (s *ListDeploymentJobsInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "ListDeploymentJobsInput"}
- if s.Filters != nil && len(s.Filters) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("Filters", 1))
- }
- if s.NextToken != nil && len(*s.NextToken) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("NextToken", 1))
- }
- if s.Filters != nil {
- for i, v := range s.Filters {
- if v == nil {
- continue
- }
- if err := v.Validate(); err != nil {
- invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Filters", i), err.(request.ErrInvalidParams))
- }
- }
- }
- if invalidParams.Len() > 0 {
- return invalidParams
- }
- return nil
- }
- // SetFilters sets the Filters field's value.
- func (s *ListDeploymentJobsInput) SetFilters(v []*Filter) *ListDeploymentJobsInput {
- s.Filters = v
- return s
- }
- // SetMaxResults sets the MaxResults field's value.
- func (s *ListDeploymentJobsInput) SetMaxResults(v int64) *ListDeploymentJobsInput {
- s.MaxResults = &v
- return s
- }
- // SetNextToken sets the NextToken field's value.
- func (s *ListDeploymentJobsInput) SetNextToken(v string) *ListDeploymentJobsInput {
- s.NextToken = &v
- return s
- }
- type ListDeploymentJobsOutput struct {
- _ struct{} `type:"structure"`
- // A list of deployment jobs that meet the criteria of the request.
- DeploymentJobs []*DeploymentJob `locationName:"deploymentJobs" type:"list"`
- // The nextToken value to include in a future ListDeploymentJobs request. When
- // the results of a ListDeploymentJobs request exceed maxResults, this value
- // can be used to retrieve the next page of results. This value is null when
- // there are no more results to return.
- NextToken *string `locationName:"nextToken" min:"1" type:"string"`
- }
- // String returns the string representation
- func (s ListDeploymentJobsOutput) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s ListDeploymentJobsOutput) GoString() string {
- return s.String()
- }
- // SetDeploymentJobs sets the DeploymentJobs field's value.
- func (s *ListDeploymentJobsOutput) SetDeploymentJobs(v []*DeploymentJob) *ListDeploymentJobsOutput {
- s.DeploymentJobs = v
- return s
- }
- // SetNextToken sets the NextToken field's value.
- func (s *ListDeploymentJobsOutput) SetNextToken(v string) *ListDeploymentJobsOutput {
- s.NextToken = &v
- return s
- }
- type ListFleetsInput struct {
- _ struct{} `type:"structure"`
- // Optional filters to limit results.
- Filters []*Filter `locationName:"filters" min:"1" type:"list"`
- // The maximum number of deployment job results returned by ListFleets in paginated
- // output. When this parameter is used, ListFleets only returns maxResults results
- // in a single page along with a nextToken response element. The remaining results
- // of the initial request can be seen by sending another ListFleets request
- // with the returned nextToken value. This value can be between 1 and 100. If
- // this parameter is not used, then ListFleets returns up to 100 results and
- // a nextToken value if applicable.
- MaxResults *int64 `locationName:"maxResults" type:"integer"`
- // The nextToken value returned from a previous paginated ListFleets request
- // where maxResults was used and the results exceeded the value of that parameter.
- // Pagination continues from the end of the previous results that returned the
- // nextToken value.
- //
- // This token should be treated as an opaque identifier that is only used to
- // retrieve the next items in a list and not for other programmatic purposes.
- NextToken *string `locationName:"nextToken" min:"1" type:"string"`
- }
- // String returns the string representation
- func (s ListFleetsInput) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s ListFleetsInput) GoString() string {
- return s.String()
- }
- // Validate inspects the fields of the type to determine if they are valid.
- func (s *ListFleetsInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "ListFleetsInput"}
- if s.Filters != nil && len(s.Filters) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("Filters", 1))
- }
- if s.NextToken != nil && len(*s.NextToken) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("NextToken", 1))
- }
- if s.Filters != nil {
- for i, v := range s.Filters {
- if v == nil {
- continue
- }
- if err := v.Validate(); err != nil {
- invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Filters", i), err.(request.ErrInvalidParams))
- }
- }
- }
- if invalidParams.Len() > 0 {
- return invalidParams
- }
- return nil
- }
- // SetFilters sets the Filters field's value.
- func (s *ListFleetsInput) SetFilters(v []*Filter) *ListFleetsInput {
- s.Filters = v
- return s
- }
- // SetMaxResults sets the MaxResults field's value.
- func (s *ListFleetsInput) SetMaxResults(v int64) *ListFleetsInput {
- s.MaxResults = &v
- return s
- }
- // SetNextToken sets the NextToken field's value.
- func (s *ListFleetsInput) SetNextToken(v string) *ListFleetsInput {
- s.NextToken = &v
- return s
- }
- type ListFleetsOutput struct {
- _ struct{} `type:"structure"`
- // A list of fleet details meeting the request criteria.
- FleetDetails []*Fleet `locationName:"fleetDetails" type:"list"`
- // The nextToken value to include in a future ListDeploymentJobs request. When
- // the results of a ListFleets request exceed maxResults, this value can be
- // used to retrieve the next page of results. This value is null when there
- // are no more results to return.
- NextToken *string `locationName:"nextToken" min:"1" type:"string"`
- }
- // String returns the string representation
- func (s ListFleetsOutput) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s ListFleetsOutput) GoString() string {
- return s.String()
- }
- // SetFleetDetails sets the FleetDetails field's value.
- func (s *ListFleetsOutput) SetFleetDetails(v []*Fleet) *ListFleetsOutput {
- s.FleetDetails = v
- return s
- }
- // SetNextToken sets the NextToken field's value.
- func (s *ListFleetsOutput) SetNextToken(v string) *ListFleetsOutput {
- s.NextToken = &v
- return s
- }
- type ListRobotApplicationsInput struct {
- _ struct{} `type:"structure"`
- // Optional filters to limit results.
- Filters []*Filter `locationName:"filters" min:"1" type:"list"`
- // The maximum number of deployment job results returned by ListRobotApplications
- // in paginated output. When this parameter is used, ListRobotApplications only
- // returns maxResults results in a single page along with a nextToken response
- // element. The remaining results of the initial request can be seen by sending
- // another ListFleets request with the returned nextToken value. This value
- // can be between 1 and 100. If this parameter is not used, then ListRobotApplications
- // returns up to 100 results and a nextToken value if applicable.
- MaxResults *int64 `locationName:"maxResults" type:"integer"`
- // The nextToken value returned from a previous paginated ListRobotApplications
- // request where maxResults was used and the results exceeded the value of that
- // parameter. Pagination continues from the end of the previous results that
- // returned the nextToken value.
- //
- // This token should be treated as an opaque identifier that is only used to
- // retrieve the next items in a list and not for other programmatic purposes.
- NextToken *string `locationName:"nextToken" min:"1" type:"string"`
- // The version qualifier of the robot application.
- VersionQualifier *string `locationName:"versionQualifier" type:"string"`
- }
- // String returns the string representation
- func (s ListRobotApplicationsInput) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s ListRobotApplicationsInput) GoString() string {
- return s.String()
- }
- // Validate inspects the fields of the type to determine if they are valid.
- func (s *ListRobotApplicationsInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "ListRobotApplicationsInput"}
- if s.Filters != nil && len(s.Filters) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("Filters", 1))
- }
- if s.NextToken != nil && len(*s.NextToken) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("NextToken", 1))
- }
- if s.Filters != nil {
- for i, v := range s.Filters {
- if v == nil {
- continue
- }
- if err := v.Validate(); err != nil {
- invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Filters", i), err.(request.ErrInvalidParams))
- }
- }
- }
- if invalidParams.Len() > 0 {
- return invalidParams
- }
- return nil
- }
- // SetFilters sets the Filters field's value.
- func (s *ListRobotApplicationsInput) SetFilters(v []*Filter) *ListRobotApplicationsInput {
- s.Filters = v
- return s
- }
- // SetMaxResults sets the MaxResults field's value.
- func (s *ListRobotApplicationsInput) SetMaxResults(v int64) *ListRobotApplicationsInput {
- s.MaxResults = &v
- return s
- }
- // SetNextToken sets the NextToken field's value.
- func (s *ListRobotApplicationsInput) SetNextToken(v string) *ListRobotApplicationsInput {
- s.NextToken = &v
- return s
- }
- // SetVersionQualifier sets the VersionQualifier field's value.
- func (s *ListRobotApplicationsInput) SetVersionQualifier(v string) *ListRobotApplicationsInput {
- s.VersionQualifier = &v
- return s
- }
- type ListRobotApplicationsOutput struct {
- _ struct{} `type:"structure"`
- // The nextToken value to include in a future ListRobotApplications request.
- // When the results of a ListRobotApplications request exceed maxResults, this
- // value can be used to retrieve the next page of results. This value is null
- // when there are no more results to return.
- NextToken *string `locationName:"nextToken" min:"1" type:"string"`
- // A list of robot application summaries that meet the criteria of the request.
- RobotApplicationSummaries []*RobotApplicationSummary `locationName:"robotApplicationSummaries" type:"list"`
- }
- // String returns the string representation
- func (s ListRobotApplicationsOutput) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s ListRobotApplicationsOutput) GoString() string {
- return s.String()
- }
- // SetNextToken sets the NextToken field's value.
- func (s *ListRobotApplicationsOutput) SetNextToken(v string) *ListRobotApplicationsOutput {
- s.NextToken = &v
- return s
- }
- // SetRobotApplicationSummaries sets the RobotApplicationSummaries field's value.
- func (s *ListRobotApplicationsOutput) SetRobotApplicationSummaries(v []*RobotApplicationSummary) *ListRobotApplicationsOutput {
- s.RobotApplicationSummaries = v
- return s
- }
- type ListRobotsInput struct {
- _ struct{} `type:"structure"`
- // Optional filters to limit results.
- Filters []*Filter `locationName:"filters" min:"1" type:"list"`
- // The maximum number of deployment job results returned by ListRobots in paginated
- // output. When this parameter is used, ListRobots only returns maxResults results
- // in a single page along with a nextToken response element. The remaining results
- // of the initial request can be seen by sending another ListFleets request
- // with the returned nextToken value. This value can be between 1 and 100. If
- // this parameter is not used, then ListRobots returns up to 100 results and
- // a nextToken value if applicable.
- MaxResults *int64 `locationName:"maxResults" type:"integer"`
- // The nextToken value returned from a previous paginated ListRobots request
- // where maxResults was used and the results exceeded the value of that parameter.
- // Pagination continues from the end of the previous results that returned the
- // nextToken value.
- //
- // This token should be treated as an opaque identifier that is only used to
- // retrieve the next items in a list and not for other programmatic purposes.
- NextToken *string `locationName:"nextToken" min:"1" type:"string"`
- }
- // String returns the string representation
- func (s ListRobotsInput) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s ListRobotsInput) GoString() string {
- return s.String()
- }
- // Validate inspects the fields of the type to determine if they are valid.
- func (s *ListRobotsInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "ListRobotsInput"}
- if s.Filters != nil && len(s.Filters) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("Filters", 1))
- }
- if s.NextToken != nil && len(*s.NextToken) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("NextToken", 1))
- }
- if s.Filters != nil {
- for i, v := range s.Filters {
- if v == nil {
- continue
- }
- if err := v.Validate(); err != nil {
- invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Filters", i), err.(request.ErrInvalidParams))
- }
- }
- }
- if invalidParams.Len() > 0 {
- return invalidParams
- }
- return nil
- }
- // SetFilters sets the Filters field's value.
- func (s *ListRobotsInput) SetFilters(v []*Filter) *ListRobotsInput {
- s.Filters = v
- return s
- }
- // SetMaxResults sets the MaxResults field's value.
- func (s *ListRobotsInput) SetMaxResults(v int64) *ListRobotsInput {
- s.MaxResults = &v
- return s
- }
- // SetNextToken sets the NextToken field's value.
- func (s *ListRobotsInput) SetNextToken(v string) *ListRobotsInput {
- s.NextToken = &v
- return s
- }
- type ListRobotsOutput struct {
- _ struct{} `type:"structure"`
- // The nextToken value to include in a future ListRobots request. When the results
- // of a ListRobot request exceed maxResults, this value can be used to retrieve
- // the next page of results. This value is null when there are no more results
- // to return.
- NextToken *string `locationName:"nextToken" min:"1" type:"string"`
- // A list of robots that meet the criteria of the request.
- Robots []*Robot `locationName:"robots" type:"list"`
- }
- // String returns the string representation
- func (s ListRobotsOutput) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s ListRobotsOutput) GoString() string {
- return s.String()
- }
- // SetNextToken sets the NextToken field's value.
- func (s *ListRobotsOutput) SetNextToken(v string) *ListRobotsOutput {
- s.NextToken = &v
- return s
- }
- // SetRobots sets the Robots field's value.
- func (s *ListRobotsOutput) SetRobots(v []*Robot) *ListRobotsOutput {
- s.Robots = v
- return s
- }
- type ListSimulationApplicationsInput struct {
- _ struct{} `type:"structure"`
- // Optional list of filters to limit results. The only valid filter name is
- // name.
- Filters []*Filter `locationName:"filters" min:"1" type:"list"`
- // The maximum number of deployment job results returned by ListSimulationApplications
- // in paginated output. When this parameter is used, ListSimulationApplications
- // only returns maxResults results in a single page along with a nextToken response
- // element. The remaining results of the initial request can be seen by sending
- // another ListFleets request with the returned nextToken value. This value
- // can be between 1 and 100. If this parameter is not used, then ListSimulationApplications
- // returns up to 100 results and a nextToken value if applicable.
- MaxResults *int64 `locationName:"maxResults" type:"integer"`
- // The nextToken value returned from a previous paginated ListSimulationApplications
- // request where maxResults was used and the results exceeded the value of that
- // parameter. Pagination continues from the end of the previous results that
- // returned the nextToken value.
- //
- // This token should be treated as an opaque identifier that is only used to
- // retrieve the next items in a list and not for other programmatic purposes.
- NextToken *string `locationName:"nextToken" min:"1" type:"string"`
- // The version qualifier of the simulation application.
- VersionQualifier *string `locationName:"versionQualifier" type:"string"`
- }
- // String returns the string representation
- func (s ListSimulationApplicationsInput) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s ListSimulationApplicationsInput) GoString() string {
- return s.String()
- }
- // Validate inspects the fields of the type to determine if they are valid.
- func (s *ListSimulationApplicationsInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "ListSimulationApplicationsInput"}
- if s.Filters != nil && len(s.Filters) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("Filters", 1))
- }
- if s.NextToken != nil && len(*s.NextToken) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("NextToken", 1))
- }
- if s.Filters != nil {
- for i, v := range s.Filters {
- if v == nil {
- continue
- }
- if err := v.Validate(); err != nil {
- invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Filters", i), err.(request.ErrInvalidParams))
- }
- }
- }
- if invalidParams.Len() > 0 {
- return invalidParams
- }
- return nil
- }
- // SetFilters sets the Filters field's value.
- func (s *ListSimulationApplicationsInput) SetFilters(v []*Filter) *ListSimulationApplicationsInput {
- s.Filters = v
- return s
- }
- // SetMaxResults sets the MaxResults field's value.
- func (s *ListSimulationApplicationsInput) SetMaxResults(v int64) *ListSimulationApplicationsInput {
- s.MaxResults = &v
- return s
- }
- // SetNextToken sets the NextToken field's value.
- func (s *ListSimulationApplicationsInput) SetNextToken(v string) *ListSimulationApplicationsInput {
- s.NextToken = &v
- return s
- }
- // SetVersionQualifier sets the VersionQualifier field's value.
- func (s *ListSimulationApplicationsInput) SetVersionQualifier(v string) *ListSimulationApplicationsInput {
- s.VersionQualifier = &v
- return s
- }
- type ListSimulationApplicationsOutput struct {
- _ struct{} `type:"structure"`
- // The nextToken value to include in a future ListSimulationApplications request.
- // When the results of a ListRobot request exceed maxResults, this value can
- // be used to retrieve the next page of results. This value is null when there
- // are no more results to return.
- NextToken *string `locationName:"nextToken" min:"1" type:"string"`
- // A list of simulation application summaries that meet the criteria of the
- // request.
- SimulationApplicationSummaries []*SimulationApplicationSummary `locationName:"simulationApplicationSummaries" type:"list"`
- }
- // String returns the string representation
- func (s ListSimulationApplicationsOutput) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s ListSimulationApplicationsOutput) GoString() string {
- return s.String()
- }
- // SetNextToken sets the NextToken field's value.
- func (s *ListSimulationApplicationsOutput) SetNextToken(v string) *ListSimulationApplicationsOutput {
- s.NextToken = &v
- return s
- }
- // SetSimulationApplicationSummaries sets the SimulationApplicationSummaries field's value.
- func (s *ListSimulationApplicationsOutput) SetSimulationApplicationSummaries(v []*SimulationApplicationSummary) *ListSimulationApplicationsOutput {
- s.SimulationApplicationSummaries = v
- return s
- }
- type ListSimulationJobsInput struct {
- _ struct{} `type:"structure"`
- // Optional filters to limit results.
- Filters []*Filter `locationName:"filters" min:"1" type:"list"`
- // The maximum number of deployment job results returned by ListSimulationJobs
- // in paginated output. When this parameter is used, ListSimulationJobs only
- // returns maxResults results in a single page along with a nextToken response
- // element. The remaining results of the initial request can be seen by sending
- // another ListFleets request with the returned nextToken value. This value
- // can be between 1 and 100. If this parameter is not used, then ListSimulationJobs
- // returns up to 100 results and a nextToken value if applicable.
- MaxResults *int64 `locationName:"maxResults" type:"integer"`
- // The nextToken value returned from a previous paginated ListSimulationJobs
- // request where maxResults was used and the results exceeded the value of that
- // parameter. Pagination continues from the end of the previous results that
- // returned the nextToken value.
- //
- // This token should be treated as an opaque identifier that is only used to
- // retrieve the next items in a list and not for other programmatic purposes.
- NextToken *string `locationName:"nextToken" min:"1" type:"string"`
- }
- // String returns the string representation
- func (s ListSimulationJobsInput) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s ListSimulationJobsInput) GoString() string {
- return s.String()
- }
- // Validate inspects the fields of the type to determine if they are valid.
- func (s *ListSimulationJobsInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "ListSimulationJobsInput"}
- if s.Filters != nil && len(s.Filters) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("Filters", 1))
- }
- if s.NextToken != nil && len(*s.NextToken) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("NextToken", 1))
- }
- if s.Filters != nil {
- for i, v := range s.Filters {
- if v == nil {
- continue
- }
- if err := v.Validate(); err != nil {
- invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Filters", i), err.(request.ErrInvalidParams))
- }
- }
- }
- if invalidParams.Len() > 0 {
- return invalidParams
- }
- return nil
- }
- // SetFilters sets the Filters field's value.
- func (s *ListSimulationJobsInput) SetFilters(v []*Filter) *ListSimulationJobsInput {
- s.Filters = v
- return s
- }
- // SetMaxResults sets the MaxResults field's value.
- func (s *ListSimulationJobsInput) SetMaxResults(v int64) *ListSimulationJobsInput {
- s.MaxResults = &v
- return s
- }
- // SetNextToken sets the NextToken field's value.
- func (s *ListSimulationJobsInput) SetNextToken(v string) *ListSimulationJobsInput {
- s.NextToken = &v
- return s
- }
- type ListSimulationJobsOutput struct {
- _ struct{} `type:"structure"`
- // The nextToken value to include in a future ListSimulationJobs request. When
- // the results of a ListRobot request exceed maxResults, this value can be used
- // to retrieve the next page of results. This value is null when there are no
- // more results to return.
- NextToken *string `locationName:"nextToken" min:"1" type:"string"`
- // A list of simulation job summaries that meet the criteria of the request.
- //
- // SimulationJobSummaries is a required field
- SimulationJobSummaries []*SimulationJobSummary `locationName:"simulationJobSummaries" type:"list" required:"true"`
- }
- // String returns the string representation
- func (s ListSimulationJobsOutput) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s ListSimulationJobsOutput) GoString() string {
- return s.String()
- }
- // SetNextToken sets the NextToken field's value.
- func (s *ListSimulationJobsOutput) SetNextToken(v string) *ListSimulationJobsOutput {
- s.NextToken = &v
- return s
- }
- // SetSimulationJobSummaries sets the SimulationJobSummaries field's value.
- func (s *ListSimulationJobsOutput) SetSimulationJobSummaries(v []*SimulationJobSummary) *ListSimulationJobsOutput {
- s.SimulationJobSummaries = v
- return s
- }
- // The output location.
- type OutputLocation struct {
- _ struct{} `type:"structure"`
- // The S3 bucket for output.
- S3Bucket *string `locationName:"s3Bucket" min:"3" type:"string"`
- // The S3 folder in the s3Bucket where output files will be placed.
- S3Prefix *string `locationName:"s3Prefix" min:"1" type:"string"`
- }
- // String returns the string representation
- func (s OutputLocation) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s OutputLocation) GoString() string {
- return s.String()
- }
- // Validate inspects the fields of the type to determine if they are valid.
- func (s *OutputLocation) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "OutputLocation"}
- if s.S3Bucket != nil && len(*s.S3Bucket) < 3 {
- invalidParams.Add(request.NewErrParamMinLen("S3Bucket", 3))
- }
- if s.S3Prefix != nil && len(*s.S3Prefix) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("S3Prefix", 1))
- }
- if invalidParams.Len() > 0 {
- return invalidParams
- }
- return nil
- }
- // SetS3Bucket sets the S3Bucket field's value.
- func (s *OutputLocation) SetS3Bucket(v string) *OutputLocation {
- s.S3Bucket = &v
- return s
- }
- // SetS3Prefix sets the S3Prefix field's value.
- func (s *OutputLocation) SetS3Prefix(v string) *OutputLocation {
- s.S3Prefix = &v
- return s
- }
- // Information about the progress of a deployment job.
- type ProgressDetail struct {
- _ struct{} `type:"structure"`
- // The current progress status.
- CurrentProgress *string `locationName:"currentProgress" type:"string"`
- // The Amazon Resource Name (ARN) of the deployment job.
- TargetResource *string `locationName:"targetResource" type:"string"`
- }
- // String returns the string representation
- func (s ProgressDetail) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s ProgressDetail) GoString() string {
- return s.String()
- }
- // SetCurrentProgress sets the CurrentProgress field's value.
- func (s *ProgressDetail) SetCurrentProgress(v string) *ProgressDetail {
- s.CurrentProgress = &v
- return s
- }
- // SetTargetResource sets the TargetResource field's value.
- func (s *ProgressDetail) SetTargetResource(v string) *ProgressDetail {
- s.TargetResource = &v
- return s
- }
- type RegisterRobotInput struct {
- _ struct{} `type:"structure"`
- // The Amazon Resource Name (ARN) of the fleet.
- //
- // Fleet is a required field
- Fleet *string `locationName:"fleet" min:"1" type:"string" required:"true"`
- // The Amazon Resource Name (ARN) of the robot.
- //
- // Robot is a required field
- Robot *string `locationName:"robot" min:"1" type:"string" required:"true"`
- }
- // String returns the string representation
- func (s RegisterRobotInput) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s RegisterRobotInput) GoString() string {
- return s.String()
- }
- // Validate inspects the fields of the type to determine if they are valid.
- func (s *RegisterRobotInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "RegisterRobotInput"}
- if s.Fleet == nil {
- invalidParams.Add(request.NewErrParamRequired("Fleet"))
- }
- if s.Fleet != nil && len(*s.Fleet) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("Fleet", 1))
- }
- if s.Robot == nil {
- invalidParams.Add(request.NewErrParamRequired("Robot"))
- }
- if s.Robot != nil && len(*s.Robot) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("Robot", 1))
- }
- if invalidParams.Len() > 0 {
- return invalidParams
- }
- return nil
- }
- // SetFleet sets the Fleet field's value.
- func (s *RegisterRobotInput) SetFleet(v string) *RegisterRobotInput {
- s.Fleet = &v
- return s
- }
- // SetRobot sets the Robot field's value.
- func (s *RegisterRobotInput) SetRobot(v string) *RegisterRobotInput {
- s.Robot = &v
- return s
- }
- type RegisterRobotOutput struct {
- _ struct{} `type:"structure"`
- // The Amazon Resource Name (ARN) of the fleet that the robot will join.
- Fleet *string `locationName:"fleet" min:"1" type:"string"`
- // Information about the robot registration.
- Robot *string `locationName:"robot" min:"1" type:"string"`
- }
- // String returns the string representation
- func (s RegisterRobotOutput) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s RegisterRobotOutput) GoString() string {
- return s.String()
- }
- // SetFleet sets the Fleet field's value.
- func (s *RegisterRobotOutput) SetFleet(v string) *RegisterRobotOutput {
- s.Fleet = &v
- return s
- }
- // SetRobot sets the Robot field's value.
- func (s *RegisterRobotOutput) SetRobot(v string) *RegisterRobotOutput {
- s.Robot = &v
- return s
- }
- // Information about a rendering engine.
- type RenderingEngine struct {
- _ struct{} `type:"structure"`
- // The name of the rendering engine.
- Name *string `locationName:"name" type:"string" enum:"RenderingEngineType"`
- // The version of the rendering engine.
- Version *string `locationName:"version" type:"string"`
- }
- // String returns the string representation
- func (s RenderingEngine) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s RenderingEngine) GoString() string {
- return s.String()
- }
- // SetName sets the Name field's value.
- func (s *RenderingEngine) SetName(v string) *RenderingEngine {
- s.Name = &v
- return s
- }
- // SetVersion sets the Version field's value.
- func (s *RenderingEngine) SetVersion(v string) *RenderingEngine {
- s.Version = &v
- return s
- }
- type RestartSimulationJobInput struct {
- _ struct{} `type:"structure"`
- // The Amazon Resource Name (ARN) of the simulation job.
- //
- // Job is a required field
- Job *string `locationName:"job" min:"1" type:"string" required:"true"`
- }
- // String returns the string representation
- func (s RestartSimulationJobInput) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s RestartSimulationJobInput) GoString() string {
- return s.String()
- }
- // Validate inspects the fields of the type to determine if they are valid.
- func (s *RestartSimulationJobInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "RestartSimulationJobInput"}
- if s.Job == nil {
- invalidParams.Add(request.NewErrParamRequired("Job"))
- }
- if s.Job != nil && len(*s.Job) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("Job", 1))
- }
- if invalidParams.Len() > 0 {
- return invalidParams
- }
- return nil
- }
- // SetJob sets the Job field's value.
- func (s *RestartSimulationJobInput) SetJob(v string) *RestartSimulationJobInput {
- s.Job = &v
- return s
- }
- type RestartSimulationJobOutput struct {
- _ struct{} `type:"structure"`
- }
- // String returns the string representation
- func (s RestartSimulationJobOutput) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s RestartSimulationJobOutput) GoString() string {
- return s.String()
- }
- // Information about a robot.
- type Robot struct {
- _ struct{} `type:"structure"`
- // The architecture of the robot.
- Architecture *string `locationName:"architecture" type:"string" enum:"Architecture"`
- // The Amazon Resource Name (ARN) of the robot.
- Arn *string `locationName:"arn" min:"1" type:"string"`
- // The time, in milliseconds since the epoch, when the robot was created.
- CreatedAt *time.Time `locationName:"createdAt" type:"timestamp"`
- // The Amazon Resource Name (ARN) of the fleet.
- FleetArn *string `locationName:"fleetArn" min:"1" type:"string"`
- // The Greengrass group associated with the robot.
- GreenGrassGroupId *string `locationName:"greenGrassGroupId" min:"1" type:"string"`
- // The Amazon Resource Name (ARN) of the last deployment job.
- LastDeploymentJob *string `locationName:"lastDeploymentJob" min:"1" type:"string"`
- // The time of the last deployment.
- LastDeploymentTime *time.Time `locationName:"lastDeploymentTime" type:"timestamp"`
- // The name of the robot.
- Name *string `locationName:"name" min:"1" type:"string"`
- // The status of the robot.
- Status *string `locationName:"status" type:"string" enum:"RobotStatus"`
- }
- // String returns the string representation
- func (s Robot) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s Robot) GoString() string {
- return s.String()
- }
- // SetArchitecture sets the Architecture field's value.
- func (s *Robot) SetArchitecture(v string) *Robot {
- s.Architecture = &v
- return s
- }
- // SetArn sets the Arn field's value.
- func (s *Robot) SetArn(v string) *Robot {
- s.Arn = &v
- return s
- }
- // SetCreatedAt sets the CreatedAt field's value.
- func (s *Robot) SetCreatedAt(v time.Time) *Robot {
- s.CreatedAt = &v
- return s
- }
- // SetFleetArn sets the FleetArn field's value.
- func (s *Robot) SetFleetArn(v string) *Robot {
- s.FleetArn = &v
- return s
- }
- // SetGreenGrassGroupId sets the GreenGrassGroupId field's value.
- func (s *Robot) SetGreenGrassGroupId(v string) *Robot {
- s.GreenGrassGroupId = &v
- return s
- }
- // SetLastDeploymentJob sets the LastDeploymentJob field's value.
- func (s *Robot) SetLastDeploymentJob(v string) *Robot {
- s.LastDeploymentJob = &v
- return s
- }
- // SetLastDeploymentTime sets the LastDeploymentTime field's value.
- func (s *Robot) SetLastDeploymentTime(v time.Time) *Robot {
- s.LastDeploymentTime = &v
- return s
- }
- // SetName sets the Name field's value.
- func (s *Robot) SetName(v string) *Robot {
- s.Name = &v
- return s
- }
- // SetStatus sets the Status field's value.
- func (s *Robot) SetStatus(v string) *Robot {
- s.Status = &v
- return s
- }
- // Application configuration information for a robot.
- type RobotApplicationConfig struct {
- _ struct{} `type:"structure"`
- // The application information for the robot application.
- //
- // Application is a required field
- Application *string `locationName:"application" min:"1" type:"string" required:"true"`
- // The version of the robot application.
- ApplicationVersion *string `locationName:"applicationVersion" min:"1" type:"string"`
- // The launch configuration for the robot application.
- //
- // LaunchConfig is a required field
- LaunchConfig *LaunchConfig `locationName:"launchConfig" type:"structure" required:"true"`
- }
- // String returns the string representation
- func (s RobotApplicationConfig) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s RobotApplicationConfig) GoString() string {
- return s.String()
- }
- // Validate inspects the fields of the type to determine if they are valid.
- func (s *RobotApplicationConfig) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "RobotApplicationConfig"}
- if s.Application == nil {
- invalidParams.Add(request.NewErrParamRequired("Application"))
- }
- if s.Application != nil && len(*s.Application) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("Application", 1))
- }
- if s.ApplicationVersion != nil && len(*s.ApplicationVersion) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("ApplicationVersion", 1))
- }
- if s.LaunchConfig == nil {
- invalidParams.Add(request.NewErrParamRequired("LaunchConfig"))
- }
- if s.LaunchConfig != nil {
- if err := s.LaunchConfig.Validate(); err != nil {
- invalidParams.AddNested("LaunchConfig", err.(request.ErrInvalidParams))
- }
- }
- if invalidParams.Len() > 0 {
- return invalidParams
- }
- return nil
- }
- // SetApplication sets the Application field's value.
- func (s *RobotApplicationConfig) SetApplication(v string) *RobotApplicationConfig {
- s.Application = &v
- return s
- }
- // SetApplicationVersion sets the ApplicationVersion field's value.
- func (s *RobotApplicationConfig) SetApplicationVersion(v string) *RobotApplicationConfig {
- s.ApplicationVersion = &v
- return s
- }
- // SetLaunchConfig sets the LaunchConfig field's value.
- func (s *RobotApplicationConfig) SetLaunchConfig(v *LaunchConfig) *RobotApplicationConfig {
- s.LaunchConfig = v
- return s
- }
- // Summary information for a robot application.
- type RobotApplicationSummary struct {
- _ struct{} `type:"structure"`
- // The Amazon Resource Name (ARN) of the robot.
- Arn *string `locationName:"arn" min:"1" type:"string"`
- // The time, in milliseconds since the epoch, when the robot application was
- // last updated.
- LastUpdatedAt *time.Time `locationName:"lastUpdatedAt" type:"timestamp"`
- // The name of the robot application.
- Name *string `locationName:"name" min:"1" type:"string"`
- // The version of the robot application.
- Version *string `locationName:"version" min:"1" type:"string"`
- }
- // String returns the string representation
- func (s RobotApplicationSummary) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s RobotApplicationSummary) GoString() string {
- return s.String()
- }
- // SetArn sets the Arn field's value.
- func (s *RobotApplicationSummary) SetArn(v string) *RobotApplicationSummary {
- s.Arn = &v
- return s
- }
- // SetLastUpdatedAt sets the LastUpdatedAt field's value.
- func (s *RobotApplicationSummary) SetLastUpdatedAt(v time.Time) *RobotApplicationSummary {
- s.LastUpdatedAt = &v
- return s
- }
- // SetName sets the Name field's value.
- func (s *RobotApplicationSummary) SetName(v string) *RobotApplicationSummary {
- s.Name = &v
- return s
- }
- // SetVersion sets the Version field's value.
- func (s *RobotApplicationSummary) SetVersion(v string) *RobotApplicationSummary {
- s.Version = &v
- return s
- }
- // Information about a robot deployment.
- type RobotDeployment struct {
- _ struct{} `type:"structure"`
- // The robot deployment Amazon Resource Name (ARN).
- Arn *string `locationName:"arn" min:"1" type:"string"`
- // The time, in milliseconds since the epoch, when the deployment finished.
- DeploymentFinishTime *time.Time `locationName:"deploymentFinishTime" type:"timestamp"`
- // The time, in milliseconds since the epoch, when the deployment was started.
- DeploymentStartTime *time.Time `locationName:"deploymentStartTime" type:"timestamp"`
- // The robot deployment failure code.
- FailureCode *string `locationName:"failureCode" type:"string" enum:"DeploymentJobErrorCode"`
- // A short description of the reason why the robot deployment failed.
- FailureReason *string `locationName:"failureReason" type:"string"`
- // Information about how the deployment is progressing.
- ProgressDetail *ProgressDetail `locationName:"progressDetail" type:"structure"`
- // The status of the robot deployment.
- Status *string `locationName:"status" type:"string" enum:"RobotStatus"`
- }
- // String returns the string representation
- func (s RobotDeployment) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s RobotDeployment) GoString() string {
- return s.String()
- }
- // SetArn sets the Arn field's value.
- func (s *RobotDeployment) SetArn(v string) *RobotDeployment {
- s.Arn = &v
- return s
- }
- // SetDeploymentFinishTime sets the DeploymentFinishTime field's value.
- func (s *RobotDeployment) SetDeploymentFinishTime(v time.Time) *RobotDeployment {
- s.DeploymentFinishTime = &v
- return s
- }
- // SetDeploymentStartTime sets the DeploymentStartTime field's value.
- func (s *RobotDeployment) SetDeploymentStartTime(v time.Time) *RobotDeployment {
- s.DeploymentStartTime = &v
- return s
- }
- // SetFailureCode sets the FailureCode field's value.
- func (s *RobotDeployment) SetFailureCode(v string) *RobotDeployment {
- s.FailureCode = &v
- return s
- }
- // SetFailureReason sets the FailureReason field's value.
- func (s *RobotDeployment) SetFailureReason(v string) *RobotDeployment {
- s.FailureReason = &v
- return s
- }
- // SetProgressDetail sets the ProgressDetail field's value.
- func (s *RobotDeployment) SetProgressDetail(v *ProgressDetail) *RobotDeployment {
- s.ProgressDetail = v
- return s
- }
- // SetStatus sets the Status field's value.
- func (s *RobotDeployment) SetStatus(v string) *RobotDeployment {
- s.Status = &v
- return s
- }
- // Information about a robot software suite.
- type RobotSoftwareSuite struct {
- _ struct{} `type:"structure"`
- // The name of the robot software suite.
- Name *string `locationName:"name" type:"string" enum:"RobotSoftwareSuiteType"`
- // The version of the robot software suite.
- Version *string `locationName:"version" type:"string" enum:"RobotSoftwareSuiteVersionType"`
- }
- // String returns the string representation
- func (s RobotSoftwareSuite) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s RobotSoftwareSuite) GoString() string {
- return s.String()
- }
- // SetName sets the Name field's value.
- func (s *RobotSoftwareSuite) SetName(v string) *RobotSoftwareSuite {
- s.Name = &v
- return s
- }
- // SetVersion sets the Version field's value.
- func (s *RobotSoftwareSuite) SetVersion(v string) *RobotSoftwareSuite {
- s.Version = &v
- return s
- }
- // Information about a simulation application configuration.
- type SimulationApplicationConfig struct {
- _ struct{} `type:"structure"`
- // The application information for the simulation application.
- //
- // Application is a required field
- Application *string `locationName:"application" min:"1" type:"string" required:"true"`
- // The version of the simulation application.
- ApplicationVersion *string `locationName:"applicationVersion" min:"1" type:"string"`
- // The launch configuration for the simulation application.
- //
- // LaunchConfig is a required field
- LaunchConfig *LaunchConfig `locationName:"launchConfig" type:"structure" required:"true"`
- }
- // String returns the string representation
- func (s SimulationApplicationConfig) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s SimulationApplicationConfig) GoString() string {
- return s.String()
- }
- // Validate inspects the fields of the type to determine if they are valid.
- func (s *SimulationApplicationConfig) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "SimulationApplicationConfig"}
- if s.Application == nil {
- invalidParams.Add(request.NewErrParamRequired("Application"))
- }
- if s.Application != nil && len(*s.Application) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("Application", 1))
- }
- if s.ApplicationVersion != nil && len(*s.ApplicationVersion) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("ApplicationVersion", 1))
- }
- if s.LaunchConfig == nil {
- invalidParams.Add(request.NewErrParamRequired("LaunchConfig"))
- }
- if s.LaunchConfig != nil {
- if err := s.LaunchConfig.Validate(); err != nil {
- invalidParams.AddNested("LaunchConfig", err.(request.ErrInvalidParams))
- }
- }
- if invalidParams.Len() > 0 {
- return invalidParams
- }
- return nil
- }
- // SetApplication sets the Application field's value.
- func (s *SimulationApplicationConfig) SetApplication(v string) *SimulationApplicationConfig {
- s.Application = &v
- return s
- }
- // SetApplicationVersion sets the ApplicationVersion field's value.
- func (s *SimulationApplicationConfig) SetApplicationVersion(v string) *SimulationApplicationConfig {
- s.ApplicationVersion = &v
- return s
- }
- // SetLaunchConfig sets the LaunchConfig field's value.
- func (s *SimulationApplicationConfig) SetLaunchConfig(v *LaunchConfig) *SimulationApplicationConfig {
- s.LaunchConfig = v
- return s
- }
- // Summary information for a simulation application.
- type SimulationApplicationSummary struct {
- _ struct{} `type:"structure"`
- // The Amazon Resource Name (ARN) of the simulation application.
- Arn *string `locationName:"arn" min:"1" type:"string"`
- // The time, in milliseconds since the epoch, when the simulation application
- // was last updated.
- LastUpdatedAt *time.Time `locationName:"lastUpdatedAt" type:"timestamp"`
- // The name of the simulation application.
- Name *string `locationName:"name" min:"1" type:"string"`
- // The version of the simulation application.
- Version *string `locationName:"version" min:"1" type:"string"`
- }
- // String returns the string representation
- func (s SimulationApplicationSummary) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s SimulationApplicationSummary) GoString() string {
- return s.String()
- }
- // SetArn sets the Arn field's value.
- func (s *SimulationApplicationSummary) SetArn(v string) *SimulationApplicationSummary {
- s.Arn = &v
- return s
- }
- // SetLastUpdatedAt sets the LastUpdatedAt field's value.
- func (s *SimulationApplicationSummary) SetLastUpdatedAt(v time.Time) *SimulationApplicationSummary {
- s.LastUpdatedAt = &v
- return s
- }
- // SetName sets the Name field's value.
- func (s *SimulationApplicationSummary) SetName(v string) *SimulationApplicationSummary {
- s.Name = &v
- return s
- }
- // SetVersion sets the Version field's value.
- func (s *SimulationApplicationSummary) SetVersion(v string) *SimulationApplicationSummary {
- s.Version = &v
- return s
- }
- // Information about a simulation job.
- type SimulationJob struct {
- _ struct{} `type:"structure"`
- // The Amazon Resource Name (ARN) of the simulation job.
- Arn *string `locationName:"arn" min:"1" type:"string"`
- // A unique identifier for this SimulationJob request.
- ClientRequestToken *string `locationName:"clientRequestToken" min:"1" type:"string"`
- // The failure behavior the simulation job.
- //
- // ContinueRestart the simulation job in the same host instance.
- //
- // FailStop the simulation job and terminate the instance.
- FailureBehavior *string `locationName:"failureBehavior" type:"string" enum:"FailureBehavior"`
- // The failure code of the simulation job if it failed.
- FailureCode *string `locationName:"failureCode" type:"string" enum:"SimulationJobErrorCode"`
- // The IAM role that allows the simulation instance to call the AWS APIs that
- // are specified in its associated policies on your behalf. This is how credentials
- // are passed in to your simulation job. See how to specify AWS security credentials
- // for your application (https://docs.aws.amazon.com/toolkit-for-visual-studio/latest/user-guide/deployment-ecs-specify-credentials).
- IamRole *string `locationName:"iamRole" min:"1" type:"string"`
- // The time, in milliseconds since the epoch, when the simulation job was last
- // updated.
- LastUpdatedAt *time.Time `locationName:"lastUpdatedAt" type:"timestamp"`
- // The maximum simulation job duration in seconds. The value must be 8 days
- // (691,200 seconds) or less.
- MaxJobDurationInSeconds *int64 `locationName:"maxJobDurationInSeconds" type:"long"`
- // The name of the simulation job.
- Name *string `locationName:"name" min:"1" type:"string"`
- // Location for output files generated by the simulation job.
- OutputLocation *OutputLocation `locationName:"outputLocation" type:"structure"`
- // A list of robot applications.
- RobotApplications []*RobotApplicationConfig `locationName:"robotApplications" min:"1" type:"list"`
- // A list of simulation applications.
- SimulationApplications []*SimulationApplicationConfig `locationName:"simulationApplications" min:"1" type:"list"`
- // The simulation job execution duration in milliseconds.
- SimulationTimeMillis *int64 `locationName:"simulationTimeMillis" type:"long"`
- // Status of the simulation job.
- Status *string `locationName:"status" type:"string" enum:"SimulationJobStatus"`
- // VPC configuration information.
- VpcConfig *VPCConfigResponse `locationName:"vpcConfig" type:"structure"`
- }
- // String returns the string representation
- func (s SimulationJob) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s SimulationJob) GoString() string {
- return s.String()
- }
- // SetArn sets the Arn field's value.
- func (s *SimulationJob) SetArn(v string) *SimulationJob {
- s.Arn = &v
- return s
- }
- // SetClientRequestToken sets the ClientRequestToken field's value.
- func (s *SimulationJob) SetClientRequestToken(v string) *SimulationJob {
- s.ClientRequestToken = &v
- return s
- }
- // SetFailureBehavior sets the FailureBehavior field's value.
- func (s *SimulationJob) SetFailureBehavior(v string) *SimulationJob {
- s.FailureBehavior = &v
- return s
- }
- // SetFailureCode sets the FailureCode field's value.
- func (s *SimulationJob) SetFailureCode(v string) *SimulationJob {
- s.FailureCode = &v
- return s
- }
- // SetIamRole sets the IamRole field's value.
- func (s *SimulationJob) SetIamRole(v string) *SimulationJob {
- s.IamRole = &v
- return s
- }
- // SetLastUpdatedAt sets the LastUpdatedAt field's value.
- func (s *SimulationJob) SetLastUpdatedAt(v time.Time) *SimulationJob {
- s.LastUpdatedAt = &v
- return s
- }
- // SetMaxJobDurationInSeconds sets the MaxJobDurationInSeconds field's value.
- func (s *SimulationJob) SetMaxJobDurationInSeconds(v int64) *SimulationJob {
- s.MaxJobDurationInSeconds = &v
- return s
- }
- // SetName sets the Name field's value.
- func (s *SimulationJob) SetName(v string) *SimulationJob {
- s.Name = &v
- return s
- }
- // SetOutputLocation sets the OutputLocation field's value.
- func (s *SimulationJob) SetOutputLocation(v *OutputLocation) *SimulationJob {
- s.OutputLocation = v
- return s
- }
- // SetRobotApplications sets the RobotApplications field's value.
- func (s *SimulationJob) SetRobotApplications(v []*RobotApplicationConfig) *SimulationJob {
- s.RobotApplications = v
- return s
- }
- // SetSimulationApplications sets the SimulationApplications field's value.
- func (s *SimulationJob) SetSimulationApplications(v []*SimulationApplicationConfig) *SimulationJob {
- s.SimulationApplications = v
- return s
- }
- // SetSimulationTimeMillis sets the SimulationTimeMillis field's value.
- func (s *SimulationJob) SetSimulationTimeMillis(v int64) *SimulationJob {
- s.SimulationTimeMillis = &v
- return s
- }
- // SetStatus sets the Status field's value.
- func (s *SimulationJob) SetStatus(v string) *SimulationJob {
- s.Status = &v
- return s
- }
- // SetVpcConfig sets the VpcConfig field's value.
- func (s *SimulationJob) SetVpcConfig(v *VPCConfigResponse) *SimulationJob {
- s.VpcConfig = v
- return s
- }
- // Summary information for a simulation job.
- type SimulationJobSummary struct {
- _ struct{} `type:"structure"`
- // The Amazon Resource Name (ARN) of the simulation job.
- Arn *string `locationName:"arn" min:"1" type:"string"`
- // The time, in milliseconds since the epoch, when the simulation job was last
- // updated.
- LastUpdatedAt *time.Time `locationName:"lastUpdatedAt" type:"timestamp"`
- // The name of the simulation job.
- Name *string `locationName:"name" min:"1" type:"string"`
- // A list of simulation job robot application names.
- RobotApplicationNames []*string `locationName:"robotApplicationNames" min:"1" type:"list"`
- // A list of simulation job simulation application names.
- SimulationApplicationNames []*string `locationName:"simulationApplicationNames" min:"1" type:"list"`
- // The status of the simulation job.
- Status *string `locationName:"status" type:"string" enum:"SimulationJobStatus"`
- }
- // String returns the string representation
- func (s SimulationJobSummary) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s SimulationJobSummary) GoString() string {
- return s.String()
- }
- // SetArn sets the Arn field's value.
- func (s *SimulationJobSummary) SetArn(v string) *SimulationJobSummary {
- s.Arn = &v
- return s
- }
- // SetLastUpdatedAt sets the LastUpdatedAt field's value.
- func (s *SimulationJobSummary) SetLastUpdatedAt(v time.Time) *SimulationJobSummary {
- s.LastUpdatedAt = &v
- return s
- }
- // SetName sets the Name field's value.
- func (s *SimulationJobSummary) SetName(v string) *SimulationJobSummary {
- s.Name = &v
- return s
- }
- // SetRobotApplicationNames sets the RobotApplicationNames field's value.
- func (s *SimulationJobSummary) SetRobotApplicationNames(v []*string) *SimulationJobSummary {
- s.RobotApplicationNames = v
- return s
- }
- // SetSimulationApplicationNames sets the SimulationApplicationNames field's value.
- func (s *SimulationJobSummary) SetSimulationApplicationNames(v []*string) *SimulationJobSummary {
- s.SimulationApplicationNames = v
- return s
- }
- // SetStatus sets the Status field's value.
- func (s *SimulationJobSummary) SetStatus(v string) *SimulationJobSummary {
- s.Status = &v
- return s
- }
- // Information about a simulation software suite.
- type SimulationSoftwareSuite struct {
- _ struct{} `type:"structure"`
- // The name of the simulation software suite.
- Name *string `locationName:"name" type:"string" enum:"SimulationSoftwareSuiteType"`
- // The version of the simulation software suite.
- Version *string `locationName:"version" type:"string"`
- }
- // String returns the string representation
- func (s SimulationSoftwareSuite) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s SimulationSoftwareSuite) GoString() string {
- return s.String()
- }
- // SetName sets the Name field's value.
- func (s *SimulationSoftwareSuite) SetName(v string) *SimulationSoftwareSuite {
- s.Name = &v
- return s
- }
- // SetVersion sets the Version field's value.
- func (s *SimulationSoftwareSuite) SetVersion(v string) *SimulationSoftwareSuite {
- s.Version = &v
- return s
- }
- // Information about a source.
- type Source struct {
- _ struct{} `type:"structure"`
- // The taget processor architecture for the application.
- Architecture *string `locationName:"architecture" type:"string" enum:"Architecture"`
- // A hash of the object specified by s3Bucket and s3Key.
- Etag *string `locationName:"etag" type:"string"`
- // The s3 bucket name.
- S3Bucket *string `locationName:"s3Bucket" min:"3" type:"string"`
- // The s3 object key.
- S3Key *string `locationName:"s3Key" min:"1" type:"string"`
- }
- // String returns the string representation
- func (s Source) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s Source) GoString() string {
- return s.String()
- }
- // SetArchitecture sets the Architecture field's value.
- func (s *Source) SetArchitecture(v string) *Source {
- s.Architecture = &v
- return s
- }
- // SetEtag sets the Etag field's value.
- func (s *Source) SetEtag(v string) *Source {
- s.Etag = &v
- return s
- }
- // SetS3Bucket sets the S3Bucket field's value.
- func (s *Source) SetS3Bucket(v string) *Source {
- s.S3Bucket = &v
- return s
- }
- // SetS3Key sets the S3Key field's value.
- func (s *Source) SetS3Key(v string) *Source {
- s.S3Key = &v
- return s
- }
- // Information about a source configuration.
- type SourceConfig struct {
- _ struct{} `type:"structure"`
- // The target processor architecture for the application.
- Architecture *string `locationName:"architecture" type:"string" enum:"Architecture"`
- // The Amazon S3 bucket name.
- S3Bucket *string `locationName:"s3Bucket" min:"3" type:"string"`
- // The s3 object key.
- S3Key *string `locationName:"s3Key" min:"1" type:"string"`
- }
- // String returns the string representation
- func (s SourceConfig) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s SourceConfig) GoString() string {
- return s.String()
- }
- // Validate inspects the fields of the type to determine if they are valid.
- func (s *SourceConfig) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "SourceConfig"}
- if s.S3Bucket != nil && len(*s.S3Bucket) < 3 {
- invalidParams.Add(request.NewErrParamMinLen("S3Bucket", 3))
- }
- if s.S3Key != nil && len(*s.S3Key) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("S3Key", 1))
- }
- if invalidParams.Len() > 0 {
- return invalidParams
- }
- return nil
- }
- // SetArchitecture sets the Architecture field's value.
- func (s *SourceConfig) SetArchitecture(v string) *SourceConfig {
- s.Architecture = &v
- return s
- }
- // SetS3Bucket sets the S3Bucket field's value.
- func (s *SourceConfig) SetS3Bucket(v string) *SourceConfig {
- s.S3Bucket = &v
- return s
- }
- // SetS3Key sets the S3Key field's value.
- func (s *SourceConfig) SetS3Key(v string) *SourceConfig {
- s.S3Key = &v
- return s
- }
- type SyncDeploymentJobInput struct {
- _ struct{} `type:"structure"`
- // Unique, case-sensitive identifier that you provide to ensure the idempotency
- // of the request.
- ClientRequestToken *string `locationName:"clientRequestToken" min:"1" type:"string" idempotencyToken:"true"`
- // The target fleet for the synchronization.
- //
- // Fleet is a required field
- Fleet *string `locationName:"fleet" min:"1" type:"string" required:"true"`
- }
- // String returns the string representation
- func (s SyncDeploymentJobInput) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s SyncDeploymentJobInput) GoString() string {
- return s.String()
- }
- // Validate inspects the fields of the type to determine if they are valid.
- func (s *SyncDeploymentJobInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "SyncDeploymentJobInput"}
- if s.ClientRequestToken != nil && len(*s.ClientRequestToken) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("ClientRequestToken", 1))
- }
- if s.Fleet == nil {
- invalidParams.Add(request.NewErrParamRequired("Fleet"))
- }
- if s.Fleet != nil && len(*s.Fleet) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("Fleet", 1))
- }
- if invalidParams.Len() > 0 {
- return invalidParams
- }
- return nil
- }
- // SetClientRequestToken sets the ClientRequestToken field's value.
- func (s *SyncDeploymentJobInput) SetClientRequestToken(v string) *SyncDeploymentJobInput {
- s.ClientRequestToken = &v
- return s
- }
- // SetFleet sets the Fleet field's value.
- func (s *SyncDeploymentJobInput) SetFleet(v string) *SyncDeploymentJobInput {
- s.Fleet = &v
- return s
- }
- type SyncDeploymentJobOutput struct {
- _ struct{} `type:"structure"`
- // The Amazon Resource Name (ARN) of the synchronization request.
- Arn *string `locationName:"arn" min:"1" type:"string"`
- // The time, in milliseconds since the epoch, when the fleet was created.
- CreatedAt *time.Time `locationName:"createdAt" type:"timestamp"`
- // Information about the deployment application configurations.
- DeploymentApplicationConfigs []*DeploymentApplicationConfig `locationName:"deploymentApplicationConfigs" min:"1" type:"list"`
- // Information about the deployment configuration.
- DeploymentConfig *DeploymentConfig `locationName:"deploymentConfig" type:"structure"`
- // The failure code if the job fails.
- FailureCode *string `locationName:"failureCode" type:"string" enum:"DeploymentJobErrorCode"`
- // The failure reason if the job fails.
- FailureReason *string `locationName:"failureReason" type:"string"`
- // The Amazon Resource Name (ARN) of the fleet.
- Fleet *string `locationName:"fleet" min:"1" type:"string"`
- // The status of the synchronization job.
- Status *string `locationName:"status" type:"string" enum:"DeploymentStatus"`
- }
- // String returns the string representation
- func (s SyncDeploymentJobOutput) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s SyncDeploymentJobOutput) GoString() string {
- return s.String()
- }
- // SetArn sets the Arn field's value.
- func (s *SyncDeploymentJobOutput) SetArn(v string) *SyncDeploymentJobOutput {
- s.Arn = &v
- return s
- }
- // SetCreatedAt sets the CreatedAt field's value.
- func (s *SyncDeploymentJobOutput) SetCreatedAt(v time.Time) *SyncDeploymentJobOutput {
- s.CreatedAt = &v
- return s
- }
- // SetDeploymentApplicationConfigs sets the DeploymentApplicationConfigs field's value.
- func (s *SyncDeploymentJobOutput) SetDeploymentApplicationConfigs(v []*DeploymentApplicationConfig) *SyncDeploymentJobOutput {
- s.DeploymentApplicationConfigs = v
- return s
- }
- // SetDeploymentConfig sets the DeploymentConfig field's value.
- func (s *SyncDeploymentJobOutput) SetDeploymentConfig(v *DeploymentConfig) *SyncDeploymentJobOutput {
- s.DeploymentConfig = v
- return s
- }
- // SetFailureCode sets the FailureCode field's value.
- func (s *SyncDeploymentJobOutput) SetFailureCode(v string) *SyncDeploymentJobOutput {
- s.FailureCode = &v
- return s
- }
- // SetFailureReason sets the FailureReason field's value.
- func (s *SyncDeploymentJobOutput) SetFailureReason(v string) *SyncDeploymentJobOutput {
- s.FailureReason = &v
- return s
- }
- // SetFleet sets the Fleet field's value.
- func (s *SyncDeploymentJobOutput) SetFleet(v string) *SyncDeploymentJobOutput {
- s.Fleet = &v
- return s
- }
- // SetStatus sets the Status field's value.
- func (s *SyncDeploymentJobOutput) SetStatus(v string) *SyncDeploymentJobOutput {
- s.Status = &v
- return s
- }
- type UpdateRobotApplicationInput struct {
- _ struct{} `type:"structure"`
- // The application information for the robot application.
- //
- // Application is a required field
- Application *string `locationName:"application" min:"1" type:"string" required:"true"`
- // The revision id for the robot application.
- CurrentRevisionId *string `locationName:"currentRevisionId" min:"1" type:"string"`
- // The robot software suite used by the robot application.
- //
- // RobotSoftwareSuite is a required field
- RobotSoftwareSuite *RobotSoftwareSuite `locationName:"robotSoftwareSuite" type:"structure" required:"true"`
- // The sources of the robot application.
- //
- // Sources is a required field
- Sources []*SourceConfig `locationName:"sources" type:"list" required:"true"`
- }
- // String returns the string representation
- func (s UpdateRobotApplicationInput) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s UpdateRobotApplicationInput) GoString() string {
- return s.String()
- }
- // Validate inspects the fields of the type to determine if they are valid.
- func (s *UpdateRobotApplicationInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "UpdateRobotApplicationInput"}
- if s.Application == nil {
- invalidParams.Add(request.NewErrParamRequired("Application"))
- }
- if s.Application != nil && len(*s.Application) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("Application", 1))
- }
- if s.CurrentRevisionId != nil && len(*s.CurrentRevisionId) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("CurrentRevisionId", 1))
- }
- if s.RobotSoftwareSuite == nil {
- invalidParams.Add(request.NewErrParamRequired("RobotSoftwareSuite"))
- }
- if s.Sources == nil {
- invalidParams.Add(request.NewErrParamRequired("Sources"))
- }
- if s.Sources != nil {
- for i, v := range s.Sources {
- if v == nil {
- continue
- }
- if err := v.Validate(); err != nil {
- invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Sources", i), err.(request.ErrInvalidParams))
- }
- }
- }
- if invalidParams.Len() > 0 {
- return invalidParams
- }
- return nil
- }
- // SetApplication sets the Application field's value.
- func (s *UpdateRobotApplicationInput) SetApplication(v string) *UpdateRobotApplicationInput {
- s.Application = &v
- return s
- }
- // SetCurrentRevisionId sets the CurrentRevisionId field's value.
- func (s *UpdateRobotApplicationInput) SetCurrentRevisionId(v string) *UpdateRobotApplicationInput {
- s.CurrentRevisionId = &v
- return s
- }
- // SetRobotSoftwareSuite sets the RobotSoftwareSuite field's value.
- func (s *UpdateRobotApplicationInput) SetRobotSoftwareSuite(v *RobotSoftwareSuite) *UpdateRobotApplicationInput {
- s.RobotSoftwareSuite = v
- return s
- }
- // SetSources sets the Sources field's value.
- func (s *UpdateRobotApplicationInput) SetSources(v []*SourceConfig) *UpdateRobotApplicationInput {
- s.Sources = v
- return s
- }
- type UpdateRobotApplicationOutput struct {
- _ struct{} `type:"structure"`
- // The Amazon Resource Name (ARN) of the updated robot application.
- Arn *string `locationName:"arn" min:"1" type:"string"`
- // The time, in milliseconds since the epoch, when the robot application was
- // last updated.
- LastUpdatedAt *time.Time `locationName:"lastUpdatedAt" type:"timestamp"`
- // The name of the robot application.
- Name *string `locationName:"name" min:"1" type:"string"`
- // The revision id of the robot application.
- RevisionId *string `locationName:"revisionId" min:"1" type:"string"`
- // The robot software suite used by the robot application.
- RobotSoftwareSuite *RobotSoftwareSuite `locationName:"robotSoftwareSuite" type:"structure"`
- // The sources of the robot application.
- Sources []*Source `locationName:"sources" type:"list"`
- // The version of the robot application.
- Version *string `locationName:"version" min:"1" type:"string"`
- }
- // String returns the string representation
- func (s UpdateRobotApplicationOutput) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s UpdateRobotApplicationOutput) GoString() string {
- return s.String()
- }
- // SetArn sets the Arn field's value.
- func (s *UpdateRobotApplicationOutput) SetArn(v string) *UpdateRobotApplicationOutput {
- s.Arn = &v
- return s
- }
- // SetLastUpdatedAt sets the LastUpdatedAt field's value.
- func (s *UpdateRobotApplicationOutput) SetLastUpdatedAt(v time.Time) *UpdateRobotApplicationOutput {
- s.LastUpdatedAt = &v
- return s
- }
- // SetName sets the Name field's value.
- func (s *UpdateRobotApplicationOutput) SetName(v string) *UpdateRobotApplicationOutput {
- s.Name = &v
- return s
- }
- // SetRevisionId sets the RevisionId field's value.
- func (s *UpdateRobotApplicationOutput) SetRevisionId(v string) *UpdateRobotApplicationOutput {
- s.RevisionId = &v
- return s
- }
- // SetRobotSoftwareSuite sets the RobotSoftwareSuite field's value.
- func (s *UpdateRobotApplicationOutput) SetRobotSoftwareSuite(v *RobotSoftwareSuite) *UpdateRobotApplicationOutput {
- s.RobotSoftwareSuite = v
- return s
- }
- // SetSources sets the Sources field's value.
- func (s *UpdateRobotApplicationOutput) SetSources(v []*Source) *UpdateRobotApplicationOutput {
- s.Sources = v
- return s
- }
- // SetVersion sets the Version field's value.
- func (s *UpdateRobotApplicationOutput) SetVersion(v string) *UpdateRobotApplicationOutput {
- s.Version = &v
- return s
- }
- type UpdateSimulationApplicationInput struct {
- _ struct{} `type:"structure"`
- // The application information for the simulation application.
- //
- // Application is a required field
- Application *string `locationName:"application" min:"1" type:"string" required:"true"`
- // The revision id for the robot application.
- CurrentRevisionId *string `locationName:"currentRevisionId" min:"1" type:"string"`
- // The rendering engine for the simulation application.
- //
- // RenderingEngine is a required field
- RenderingEngine *RenderingEngine `locationName:"renderingEngine" type:"structure" required:"true"`
- // Information about the robot software suite.
- //
- // RobotSoftwareSuite is a required field
- RobotSoftwareSuite *RobotSoftwareSuite `locationName:"robotSoftwareSuite" type:"structure" required:"true"`
- // The simulation software suite used by the simulation application.
- //
- // SimulationSoftwareSuite is a required field
- SimulationSoftwareSuite *SimulationSoftwareSuite `locationName:"simulationSoftwareSuite" type:"structure" required:"true"`
- // The sources of the simulation application.
- //
- // Sources is a required field
- Sources []*SourceConfig `locationName:"sources" type:"list" required:"true"`
- }
- // String returns the string representation
- func (s UpdateSimulationApplicationInput) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s UpdateSimulationApplicationInput) GoString() string {
- return s.String()
- }
- // Validate inspects the fields of the type to determine if they are valid.
- func (s *UpdateSimulationApplicationInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "UpdateSimulationApplicationInput"}
- if s.Application == nil {
- invalidParams.Add(request.NewErrParamRequired("Application"))
- }
- if s.Application != nil && len(*s.Application) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("Application", 1))
- }
- if s.CurrentRevisionId != nil && len(*s.CurrentRevisionId) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("CurrentRevisionId", 1))
- }
- if s.RenderingEngine == nil {
- invalidParams.Add(request.NewErrParamRequired("RenderingEngine"))
- }
- if s.RobotSoftwareSuite == nil {
- invalidParams.Add(request.NewErrParamRequired("RobotSoftwareSuite"))
- }
- if s.SimulationSoftwareSuite == nil {
- invalidParams.Add(request.NewErrParamRequired("SimulationSoftwareSuite"))
- }
- if s.Sources == nil {
- invalidParams.Add(request.NewErrParamRequired("Sources"))
- }
- if s.Sources != nil {
- for i, v := range s.Sources {
- if v == nil {
- continue
- }
- if err := v.Validate(); err != nil {
- invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Sources", i), err.(request.ErrInvalidParams))
- }
- }
- }
- if invalidParams.Len() > 0 {
- return invalidParams
- }
- return nil
- }
- // SetApplication sets the Application field's value.
- func (s *UpdateSimulationApplicationInput) SetApplication(v string) *UpdateSimulationApplicationInput {
- s.Application = &v
- return s
- }
- // SetCurrentRevisionId sets the CurrentRevisionId field's value.
- func (s *UpdateSimulationApplicationInput) SetCurrentRevisionId(v string) *UpdateSimulationApplicationInput {
- s.CurrentRevisionId = &v
- return s
- }
- // SetRenderingEngine sets the RenderingEngine field's value.
- func (s *UpdateSimulationApplicationInput) SetRenderingEngine(v *RenderingEngine) *UpdateSimulationApplicationInput {
- s.RenderingEngine = v
- return s
- }
- // SetRobotSoftwareSuite sets the RobotSoftwareSuite field's value.
- func (s *UpdateSimulationApplicationInput) SetRobotSoftwareSuite(v *RobotSoftwareSuite) *UpdateSimulationApplicationInput {
- s.RobotSoftwareSuite = v
- return s
- }
- // SetSimulationSoftwareSuite sets the SimulationSoftwareSuite field's value.
- func (s *UpdateSimulationApplicationInput) SetSimulationSoftwareSuite(v *SimulationSoftwareSuite) *UpdateSimulationApplicationInput {
- s.SimulationSoftwareSuite = v
- return s
- }
- // SetSources sets the Sources field's value.
- func (s *UpdateSimulationApplicationInput) SetSources(v []*SourceConfig) *UpdateSimulationApplicationInput {
- s.Sources = v
- return s
- }
- type UpdateSimulationApplicationOutput struct {
- _ struct{} `type:"structure"`
- // The Amazon Resource Name (ARN) of the updated simulation application.
- Arn *string `locationName:"arn" min:"1" type:"string"`
- // The time, in milliseconds since the epoch, when the simulation application
- // was last updated.
- LastUpdatedAt *time.Time `locationName:"lastUpdatedAt" type:"timestamp"`
- // The name of the simulation application.
- Name *string `locationName:"name" min:"1" type:"string"`
- // The rendering engine for the simulation application.
- RenderingEngine *RenderingEngine `locationName:"renderingEngine" type:"structure"`
- // The revision id of the simulation application.
- RevisionId *string `locationName:"revisionId" min:"1" type:"string"`
- // Information about the robot software suite.
- RobotSoftwareSuite *RobotSoftwareSuite `locationName:"robotSoftwareSuite" type:"structure"`
- // The simulation software suite used by the simulation application.
- SimulationSoftwareSuite *SimulationSoftwareSuite `locationName:"simulationSoftwareSuite" type:"structure"`
- // The sources of the simulation application.
- Sources []*Source `locationName:"sources" type:"list"`
- // The version of the robot application.
- Version *string `locationName:"version" min:"1" type:"string"`
- }
- // String returns the string representation
- func (s UpdateSimulationApplicationOutput) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s UpdateSimulationApplicationOutput) GoString() string {
- return s.String()
- }
- // SetArn sets the Arn field's value.
- func (s *UpdateSimulationApplicationOutput) SetArn(v string) *UpdateSimulationApplicationOutput {
- s.Arn = &v
- return s
- }
- // SetLastUpdatedAt sets the LastUpdatedAt field's value.
- func (s *UpdateSimulationApplicationOutput) SetLastUpdatedAt(v time.Time) *UpdateSimulationApplicationOutput {
- s.LastUpdatedAt = &v
- return s
- }
- // SetName sets the Name field's value.
- func (s *UpdateSimulationApplicationOutput) SetName(v string) *UpdateSimulationApplicationOutput {
- s.Name = &v
- return s
- }
- // SetRenderingEngine sets the RenderingEngine field's value.
- func (s *UpdateSimulationApplicationOutput) SetRenderingEngine(v *RenderingEngine) *UpdateSimulationApplicationOutput {
- s.RenderingEngine = v
- return s
- }
- // SetRevisionId sets the RevisionId field's value.
- func (s *UpdateSimulationApplicationOutput) SetRevisionId(v string) *UpdateSimulationApplicationOutput {
- s.RevisionId = &v
- return s
- }
- // SetRobotSoftwareSuite sets the RobotSoftwareSuite field's value.
- func (s *UpdateSimulationApplicationOutput) SetRobotSoftwareSuite(v *RobotSoftwareSuite) *UpdateSimulationApplicationOutput {
- s.RobotSoftwareSuite = v
- return s
- }
- // SetSimulationSoftwareSuite sets the SimulationSoftwareSuite field's value.
- func (s *UpdateSimulationApplicationOutput) SetSimulationSoftwareSuite(v *SimulationSoftwareSuite) *UpdateSimulationApplicationOutput {
- s.SimulationSoftwareSuite = v
- return s
- }
- // SetSources sets the Sources field's value.
- func (s *UpdateSimulationApplicationOutput) SetSources(v []*Source) *UpdateSimulationApplicationOutput {
- s.Sources = v
- return s
- }
- // SetVersion sets the Version field's value.
- func (s *UpdateSimulationApplicationOutput) SetVersion(v string) *UpdateSimulationApplicationOutput {
- s.Version = &v
- return s
- }
- // If your simulation job accesses resources in a VPC, you provide this parameter
- // identifying the list of security group IDs and subnet IDs. These must belong
- // to the same VPC. You must provide at least one security group and two subnet
- // IDs.
- type VPCConfig struct {
- _ struct{} `type:"structure"`
- // A boolean indicating whether to assign a public IP address.
- AssignPublicIp *bool `locationName:"assignPublicIp" type:"boolean"`
- // A list of one or more security groups IDs in your VPC.
- SecurityGroups []*string `locationName:"securityGroups" min:"1" type:"list"`
- // A list of one or more subnet IDs in your VPC.
- //
- // Subnets is a required field
- Subnets []*string `locationName:"subnets" min:"1" type:"list" required:"true"`
- }
- // String returns the string representation
- func (s VPCConfig) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s VPCConfig) GoString() string {
- return s.String()
- }
- // Validate inspects the fields of the type to determine if they are valid.
- func (s *VPCConfig) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "VPCConfig"}
- if s.SecurityGroups != nil && len(s.SecurityGroups) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("SecurityGroups", 1))
- }
- if s.Subnets == nil {
- invalidParams.Add(request.NewErrParamRequired("Subnets"))
- }
- if s.Subnets != nil && len(s.Subnets) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("Subnets", 1))
- }
- if invalidParams.Len() > 0 {
- return invalidParams
- }
- return nil
- }
- // SetAssignPublicIp sets the AssignPublicIp field's value.
- func (s *VPCConfig) SetAssignPublicIp(v bool) *VPCConfig {
- s.AssignPublicIp = &v
- return s
- }
- // SetSecurityGroups sets the SecurityGroups field's value.
- func (s *VPCConfig) SetSecurityGroups(v []*string) *VPCConfig {
- s.SecurityGroups = v
- return s
- }
- // SetSubnets sets the Subnets field's value.
- func (s *VPCConfig) SetSubnets(v []*string) *VPCConfig {
- s.Subnets = v
- return s
- }
- // VPC configuration associated with your simulation job.
- type VPCConfigResponse struct {
- _ struct{} `type:"structure"`
- // A boolean indicating if a public IP was assigned.
- AssignPublicIp *bool `locationName:"assignPublicIp" type:"boolean"`
- // A list of security group IDs associated with the simulation job.
- SecurityGroups []*string `locationName:"securityGroups" min:"1" type:"list"`
- // A list of subnet IDs associated with the simulation job.
- Subnets []*string `locationName:"subnets" min:"1" type:"list"`
- // The VPC ID associated with your simulation job.
- VpcId *string `locationName:"vpcId" type:"string"`
- }
- // String returns the string representation
- func (s VPCConfigResponse) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s VPCConfigResponse) GoString() string {
- return s.String()
- }
- // SetAssignPublicIp sets the AssignPublicIp field's value.
- func (s *VPCConfigResponse) SetAssignPublicIp(v bool) *VPCConfigResponse {
- s.AssignPublicIp = &v
- return s
- }
- // SetSecurityGroups sets the SecurityGroups field's value.
- func (s *VPCConfigResponse) SetSecurityGroups(v []*string) *VPCConfigResponse {
- s.SecurityGroups = v
- return s
- }
- // SetSubnets sets the Subnets field's value.
- func (s *VPCConfigResponse) SetSubnets(v []*string) *VPCConfigResponse {
- s.Subnets = v
- return s
- }
- // SetVpcId sets the VpcId field's value.
- func (s *VPCConfigResponse) SetVpcId(v string) *VPCConfigResponse {
- s.VpcId = &v
- return s
- }
- const (
- // ArchitectureX8664 is a Architecture enum value
- ArchitectureX8664 = "X86_64"
- // ArchitectureArm64 is a Architecture enum value
- ArchitectureArm64 = "ARM64"
- // ArchitectureArmhf is a Architecture enum value
- ArchitectureArmhf = "ARMHF"
- )
- const (
- // DeploymentJobErrorCodeResourceNotFound is a DeploymentJobErrorCode enum value
- DeploymentJobErrorCodeResourceNotFound = "ResourceNotFound"
- // DeploymentJobErrorCodeFailureThresholdBreached is a DeploymentJobErrorCode enum value
- DeploymentJobErrorCodeFailureThresholdBreached = "FailureThresholdBreached"
- // DeploymentJobErrorCodeRobotDeploymentNoResponse is a DeploymentJobErrorCode enum value
- DeploymentJobErrorCodeRobotDeploymentNoResponse = "RobotDeploymentNoResponse"
- // DeploymentJobErrorCodeGreengrassDeploymentFailed is a DeploymentJobErrorCode enum value
- DeploymentJobErrorCodeGreengrassDeploymentFailed = "GreengrassDeploymentFailed"
- // DeploymentJobErrorCodeMissingRobotArchitecture is a DeploymentJobErrorCode enum value
- DeploymentJobErrorCodeMissingRobotArchitecture = "MissingRobotArchitecture"
- // DeploymentJobErrorCodeMissingRobotApplicationArchitecture is a DeploymentJobErrorCode enum value
- DeploymentJobErrorCodeMissingRobotApplicationArchitecture = "MissingRobotApplicationArchitecture"
- // DeploymentJobErrorCodeMissingRobotDeploymentResource is a DeploymentJobErrorCode enum value
- DeploymentJobErrorCodeMissingRobotDeploymentResource = "MissingRobotDeploymentResource"
- // DeploymentJobErrorCodeGreengrassGroupVersionDoesNotExist is a DeploymentJobErrorCode enum value
- DeploymentJobErrorCodeGreengrassGroupVersionDoesNotExist = "GreengrassGroupVersionDoesNotExist"
- // DeploymentJobErrorCodeExtractingBundleFailure is a DeploymentJobErrorCode enum value
- DeploymentJobErrorCodeExtractingBundleFailure = "ExtractingBundleFailure"
- // DeploymentJobErrorCodePreLaunchFileFailure is a DeploymentJobErrorCode enum value
- DeploymentJobErrorCodePreLaunchFileFailure = "PreLaunchFileFailure"
- // DeploymentJobErrorCodePostLaunchFileFailure is a DeploymentJobErrorCode enum value
- DeploymentJobErrorCodePostLaunchFileFailure = "PostLaunchFileFailure"
- // DeploymentJobErrorCodeBadPermissionError is a DeploymentJobErrorCode enum value
- DeploymentJobErrorCodeBadPermissionError = "BadPermissionError"
- // DeploymentJobErrorCodeInternalServerError is a DeploymentJobErrorCode enum value
- DeploymentJobErrorCodeInternalServerError = "InternalServerError"
- )
- const (
- // DeploymentStatusPending is a DeploymentStatus enum value
- DeploymentStatusPending = "Pending"
- // DeploymentStatusPreparing is a DeploymentStatus enum value
- DeploymentStatusPreparing = "Preparing"
- // DeploymentStatusInProgress is a DeploymentStatus enum value
- DeploymentStatusInProgress = "InProgress"
- // DeploymentStatusFailed is a DeploymentStatus enum value
- DeploymentStatusFailed = "Failed"
- // DeploymentStatusSucceeded is a DeploymentStatus enum value
- DeploymentStatusSucceeded = "Succeeded"
- )
- const (
- // FailureBehaviorFail is a FailureBehavior enum value
- FailureBehaviorFail = "Fail"
- // FailureBehaviorContinue is a FailureBehavior enum value
- FailureBehaviorContinue = "Continue"
- )
- const (
- // RenderingEngineTypeOgre is a RenderingEngineType enum value
- RenderingEngineTypeOgre = "OGRE"
- )
- const (
- // RobotSoftwareSuiteTypeRos is a RobotSoftwareSuiteType enum value
- RobotSoftwareSuiteTypeRos = "ROS"
- )
- const (
- // RobotSoftwareSuiteVersionTypeKinetic is a RobotSoftwareSuiteVersionType enum value
- RobotSoftwareSuiteVersionTypeKinetic = "Kinetic"
- )
- const (
- // RobotStatusAvailable is a RobotStatus enum value
- RobotStatusAvailable = "Available"
- // RobotStatusRegistered is a RobotStatus enum value
- RobotStatusRegistered = "Registered"
- // RobotStatusPendingNewDeployment is a RobotStatus enum value
- RobotStatusPendingNewDeployment = "PendingNewDeployment"
- // RobotStatusDeploying is a RobotStatus enum value
- RobotStatusDeploying = "Deploying"
- // RobotStatusFailed is a RobotStatus enum value
- RobotStatusFailed = "Failed"
- // RobotStatusInSync is a RobotStatus enum value
- RobotStatusInSync = "InSync"
- // RobotStatusNoResponse is a RobotStatus enum value
- RobotStatusNoResponse = "NoResponse"
- )
- const (
- // SimulationJobErrorCodeInternalServiceError is a SimulationJobErrorCode enum value
- SimulationJobErrorCodeInternalServiceError = "InternalServiceError"
- // SimulationJobErrorCodeRobotApplicationCrash is a SimulationJobErrorCode enum value
- SimulationJobErrorCodeRobotApplicationCrash = "RobotApplicationCrash"
- // SimulationJobErrorCodeSimulationApplicationCrash is a SimulationJobErrorCode enum value
- SimulationJobErrorCodeSimulationApplicationCrash = "SimulationApplicationCrash"
- // SimulationJobErrorCodeBadPermissionsRobotApplication is a SimulationJobErrorCode enum value
- SimulationJobErrorCodeBadPermissionsRobotApplication = "BadPermissionsRobotApplication"
- // SimulationJobErrorCodeBadPermissionsSimulationApplication is a SimulationJobErrorCode enum value
- SimulationJobErrorCodeBadPermissionsSimulationApplication = "BadPermissionsSimulationApplication"
- // SimulationJobErrorCodeBadPermissionsS3output is a SimulationJobErrorCode enum value
- SimulationJobErrorCodeBadPermissionsS3output = "BadPermissionsS3Output"
- // SimulationJobErrorCodeBadPermissionsCloudwatchLogs is a SimulationJobErrorCode enum value
- SimulationJobErrorCodeBadPermissionsCloudwatchLogs = "BadPermissionsCloudwatchLogs"
- // SimulationJobErrorCodeSubnetIpLimitExceeded is a SimulationJobErrorCode enum value
- SimulationJobErrorCodeSubnetIpLimitExceeded = "SubnetIpLimitExceeded"
- // SimulationJobErrorCodeEnilimitExceeded is a SimulationJobErrorCode enum value
- SimulationJobErrorCodeEnilimitExceeded = "ENILimitExceeded"
- // SimulationJobErrorCodeBadPermissionsUserCredentials is a SimulationJobErrorCode enum value
- SimulationJobErrorCodeBadPermissionsUserCredentials = "BadPermissionsUserCredentials"
- // SimulationJobErrorCodeInvalidBundleRobotApplication is a SimulationJobErrorCode enum value
- SimulationJobErrorCodeInvalidBundleRobotApplication = "InvalidBundleRobotApplication"
- // SimulationJobErrorCodeInvalidBundleSimulationApplication is a SimulationJobErrorCode enum value
- SimulationJobErrorCodeInvalidBundleSimulationApplication = "InvalidBundleSimulationApplication"
- // SimulationJobErrorCodeRobotApplicationVersionMismatchedEtag is a SimulationJobErrorCode enum value
- SimulationJobErrorCodeRobotApplicationVersionMismatchedEtag = "RobotApplicationVersionMismatchedEtag"
- // SimulationJobErrorCodeSimulationApplicationVersionMismatchedEtag is a SimulationJobErrorCode enum value
- SimulationJobErrorCodeSimulationApplicationVersionMismatchedEtag = "SimulationApplicationVersionMismatchedEtag"
- )
- const (
- // SimulationJobStatusPending is a SimulationJobStatus enum value
- SimulationJobStatusPending = "Pending"
- // SimulationJobStatusPreparing is a SimulationJobStatus enum value
- SimulationJobStatusPreparing = "Preparing"
- // SimulationJobStatusRunning is a SimulationJobStatus enum value
- SimulationJobStatusRunning = "Running"
- // SimulationJobStatusRestarting is a SimulationJobStatus enum value
- SimulationJobStatusRestarting = "Restarting"
- // SimulationJobStatusCompleted is a SimulationJobStatus enum value
- SimulationJobStatusCompleted = "Completed"
- // SimulationJobStatusFailed is a SimulationJobStatus enum value
- SimulationJobStatusFailed = "Failed"
- // SimulationJobStatusRunningFailed is a SimulationJobStatus enum value
- SimulationJobStatusRunningFailed = "RunningFailed"
- // SimulationJobStatusTerminating is a SimulationJobStatus enum value
- SimulationJobStatusTerminating = "Terminating"
- // SimulationJobStatusTerminated is a SimulationJobStatus enum value
- SimulationJobStatusTerminated = "Terminated"
- // SimulationJobStatusCanceled is a SimulationJobStatus enum value
- SimulationJobStatusCanceled = "Canceled"
- )
- const (
- // SimulationSoftwareSuiteTypeGazebo is a SimulationSoftwareSuiteType enum value
- SimulationSoftwareSuiteTypeGazebo = "Gazebo"
- )
|