lightsail.d.ts 486 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728
  1. import {Request} from '../lib/request';
  2. import {Response} from '../lib/response';
  3. import {AWSError} from '../lib/error';
  4. import {Service} from '../lib/service';
  5. import {ServiceConfigurationOptions} from '../lib/service';
  6. import {ConfigBase as Config} from '../lib/config-base';
  7. interface Blob {}
  8. declare class Lightsail extends Service {
  9. /**
  10. * Constructs a service object. This object has one method for each API operation.
  11. */
  12. constructor(options?: Lightsail.Types.ClientConfiguration)
  13. config: Config & Lightsail.Types.ClientConfiguration;
  14. /**
  15. * Allocates a static IP address.
  16. */
  17. allocateStaticIp(params: Lightsail.Types.AllocateStaticIpRequest, callback?: (err: AWSError, data: Lightsail.Types.AllocateStaticIpResult) => void): Request<Lightsail.Types.AllocateStaticIpResult, AWSError>;
  18. /**
  19. * Allocates a static IP address.
  20. */
  21. allocateStaticIp(callback?: (err: AWSError, data: Lightsail.Types.AllocateStaticIpResult) => void): Request<Lightsail.Types.AllocateStaticIpResult, AWSError>;
  22. /**
  23. * Attaches an SSL/TLS certificate to your Amazon Lightsail content delivery network (CDN) distribution. After the certificate is attached, your distribution accepts HTTPS traffic for all of the domains that are associated with the certificate. Use the CreateCertificate action to create a certificate that you can attach to your distribution. Only certificates created in the us-east-1 Amazon Web Services Region can be attached to Lightsail distributions. Lightsail distributions are global resources that can reference an origin in any Amazon Web Services Region, and distribute its content globally. However, all distributions are located in the us-east-1 Region.
  24. */
  25. attachCertificateToDistribution(params: Lightsail.Types.AttachCertificateToDistributionRequest, callback?: (err: AWSError, data: Lightsail.Types.AttachCertificateToDistributionResult) => void): Request<Lightsail.Types.AttachCertificateToDistributionResult, AWSError>;
  26. /**
  27. * Attaches an SSL/TLS certificate to your Amazon Lightsail content delivery network (CDN) distribution. After the certificate is attached, your distribution accepts HTTPS traffic for all of the domains that are associated with the certificate. Use the CreateCertificate action to create a certificate that you can attach to your distribution. Only certificates created in the us-east-1 Amazon Web Services Region can be attached to Lightsail distributions. Lightsail distributions are global resources that can reference an origin in any Amazon Web Services Region, and distribute its content globally. However, all distributions are located in the us-east-1 Region.
  28. */
  29. attachCertificateToDistribution(callback?: (err: AWSError, data: Lightsail.Types.AttachCertificateToDistributionResult) => void): Request<Lightsail.Types.AttachCertificateToDistributionResult, AWSError>;
  30. /**
  31. * Attaches a block storage disk to a running or stopped Lightsail instance and exposes it to the instance with the specified disk name. The attach disk operation supports tag-based access control via resource tags applied to the resource identified by disk name. For more information, see the Amazon Lightsail Developer Guide.
  32. */
  33. attachDisk(params: Lightsail.Types.AttachDiskRequest, callback?: (err: AWSError, data: Lightsail.Types.AttachDiskResult) => void): Request<Lightsail.Types.AttachDiskResult, AWSError>;
  34. /**
  35. * Attaches a block storage disk to a running or stopped Lightsail instance and exposes it to the instance with the specified disk name. The attach disk operation supports tag-based access control via resource tags applied to the resource identified by disk name. For more information, see the Amazon Lightsail Developer Guide.
  36. */
  37. attachDisk(callback?: (err: AWSError, data: Lightsail.Types.AttachDiskResult) => void): Request<Lightsail.Types.AttachDiskResult, AWSError>;
  38. /**
  39. * Attaches one or more Lightsail instances to a load balancer. After some time, the instances are attached to the load balancer and the health check status is available. The attach instances to load balancer operation supports tag-based access control via resource tags applied to the resource identified by load balancer name. For more information, see the Lightsail Developer Guide.
  40. */
  41. attachInstancesToLoadBalancer(params: Lightsail.Types.AttachInstancesToLoadBalancerRequest, callback?: (err: AWSError, data: Lightsail.Types.AttachInstancesToLoadBalancerResult) => void): Request<Lightsail.Types.AttachInstancesToLoadBalancerResult, AWSError>;
  42. /**
  43. * Attaches one or more Lightsail instances to a load balancer. After some time, the instances are attached to the load balancer and the health check status is available. The attach instances to load balancer operation supports tag-based access control via resource tags applied to the resource identified by load balancer name. For more information, see the Lightsail Developer Guide.
  44. */
  45. attachInstancesToLoadBalancer(callback?: (err: AWSError, data: Lightsail.Types.AttachInstancesToLoadBalancerResult) => void): Request<Lightsail.Types.AttachInstancesToLoadBalancerResult, AWSError>;
  46. /**
  47. * Attaches a Transport Layer Security (TLS) certificate to your load balancer. TLS is just an updated, more secure version of Secure Socket Layer (SSL). Once you create and validate your certificate, you can attach it to your load balancer. You can also use this API to rotate the certificates on your account. Use the AttachLoadBalancerTlsCertificate action with the non-attached certificate, and it will replace the existing one and become the attached certificate. The AttachLoadBalancerTlsCertificate operation supports tag-based access control via resource tags applied to the resource identified by load balancer name. For more information, see the Amazon Lightsail Developer Guide.
  48. */
  49. attachLoadBalancerTlsCertificate(params: Lightsail.Types.AttachLoadBalancerTlsCertificateRequest, callback?: (err: AWSError, data: Lightsail.Types.AttachLoadBalancerTlsCertificateResult) => void): Request<Lightsail.Types.AttachLoadBalancerTlsCertificateResult, AWSError>;
  50. /**
  51. * Attaches a Transport Layer Security (TLS) certificate to your load balancer. TLS is just an updated, more secure version of Secure Socket Layer (SSL). Once you create and validate your certificate, you can attach it to your load balancer. You can also use this API to rotate the certificates on your account. Use the AttachLoadBalancerTlsCertificate action with the non-attached certificate, and it will replace the existing one and become the attached certificate. The AttachLoadBalancerTlsCertificate operation supports tag-based access control via resource tags applied to the resource identified by load balancer name. For more information, see the Amazon Lightsail Developer Guide.
  52. */
  53. attachLoadBalancerTlsCertificate(callback?: (err: AWSError, data: Lightsail.Types.AttachLoadBalancerTlsCertificateResult) => void): Request<Lightsail.Types.AttachLoadBalancerTlsCertificateResult, AWSError>;
  54. /**
  55. * Attaches a static IP address to a specific Amazon Lightsail instance.
  56. */
  57. attachStaticIp(params: Lightsail.Types.AttachStaticIpRequest, callback?: (err: AWSError, data: Lightsail.Types.AttachStaticIpResult) => void): Request<Lightsail.Types.AttachStaticIpResult, AWSError>;
  58. /**
  59. * Attaches a static IP address to a specific Amazon Lightsail instance.
  60. */
  61. attachStaticIp(callback?: (err: AWSError, data: Lightsail.Types.AttachStaticIpResult) => void): Request<Lightsail.Types.AttachStaticIpResult, AWSError>;
  62. /**
  63. * Closes ports for a specific Amazon Lightsail instance. The CloseInstancePublicPorts action supports tag-based access control via resource tags applied to the resource identified by instanceName. For more information, see the Amazon Lightsail Developer Guide.
  64. */
  65. closeInstancePublicPorts(params: Lightsail.Types.CloseInstancePublicPortsRequest, callback?: (err: AWSError, data: Lightsail.Types.CloseInstancePublicPortsResult) => void): Request<Lightsail.Types.CloseInstancePublicPortsResult, AWSError>;
  66. /**
  67. * Closes ports for a specific Amazon Lightsail instance. The CloseInstancePublicPorts action supports tag-based access control via resource tags applied to the resource identified by instanceName. For more information, see the Amazon Lightsail Developer Guide.
  68. */
  69. closeInstancePublicPorts(callback?: (err: AWSError, data: Lightsail.Types.CloseInstancePublicPortsResult) => void): Request<Lightsail.Types.CloseInstancePublicPortsResult, AWSError>;
  70. /**
  71. * Copies a manual snapshot of an instance or disk as another manual snapshot, or copies an automatic snapshot of an instance or disk as a manual snapshot. This operation can also be used to copy a manual or automatic snapshot of an instance or a disk from one Amazon Web Services Region to another in Amazon Lightsail. When copying a manual snapshot, be sure to define the source region, source snapshot name, and target snapshot name parameters. When copying an automatic snapshot, be sure to define the source region, source resource name, target snapshot name, and either the restore date or the use latest restorable auto snapshot parameters.
  72. */
  73. copySnapshot(params: Lightsail.Types.CopySnapshotRequest, callback?: (err: AWSError, data: Lightsail.Types.CopySnapshotResult) => void): Request<Lightsail.Types.CopySnapshotResult, AWSError>;
  74. /**
  75. * Copies a manual snapshot of an instance or disk as another manual snapshot, or copies an automatic snapshot of an instance or disk as a manual snapshot. This operation can also be used to copy a manual or automatic snapshot of an instance or a disk from one Amazon Web Services Region to another in Amazon Lightsail. When copying a manual snapshot, be sure to define the source region, source snapshot name, and target snapshot name parameters. When copying an automatic snapshot, be sure to define the source region, source resource name, target snapshot name, and either the restore date or the use latest restorable auto snapshot parameters.
  76. */
  77. copySnapshot(callback?: (err: AWSError, data: Lightsail.Types.CopySnapshotResult) => void): Request<Lightsail.Types.CopySnapshotResult, AWSError>;
  78. /**
  79. * Creates an Amazon Lightsail bucket. A bucket is a cloud storage resource available in the Lightsail object storage service. Use buckets to store objects such as data and its descriptive metadata. For more information about buckets, see Buckets in Amazon Lightsail in the Amazon Lightsail Developer Guide.
  80. */
  81. createBucket(params: Lightsail.Types.CreateBucketRequest, callback?: (err: AWSError, data: Lightsail.Types.CreateBucketResult) => void): Request<Lightsail.Types.CreateBucketResult, AWSError>;
  82. /**
  83. * Creates an Amazon Lightsail bucket. A bucket is a cloud storage resource available in the Lightsail object storage service. Use buckets to store objects such as data and its descriptive metadata. For more information about buckets, see Buckets in Amazon Lightsail in the Amazon Lightsail Developer Guide.
  84. */
  85. createBucket(callback?: (err: AWSError, data: Lightsail.Types.CreateBucketResult) => void): Request<Lightsail.Types.CreateBucketResult, AWSError>;
  86. /**
  87. * Creates a new access key for the specified Amazon Lightsail bucket. Access keys consist of an access key ID and corresponding secret access key. Access keys grant full programmatic access to the specified bucket and its objects. You can have a maximum of two access keys per bucket. Use the GetBucketAccessKeys action to get a list of current access keys for a specific bucket. For more information about access keys, see Creating access keys for a bucket in Amazon Lightsail in the Amazon Lightsail Developer Guide. The secretAccessKey value is returned only in response to the CreateBucketAccessKey action. You can get a secret access key only when you first create an access key; you cannot get the secret access key later. If you lose the secret access key, you must create a new access key.
  88. */
  89. createBucketAccessKey(params: Lightsail.Types.CreateBucketAccessKeyRequest, callback?: (err: AWSError, data: Lightsail.Types.CreateBucketAccessKeyResult) => void): Request<Lightsail.Types.CreateBucketAccessKeyResult, AWSError>;
  90. /**
  91. * Creates a new access key for the specified Amazon Lightsail bucket. Access keys consist of an access key ID and corresponding secret access key. Access keys grant full programmatic access to the specified bucket and its objects. You can have a maximum of two access keys per bucket. Use the GetBucketAccessKeys action to get a list of current access keys for a specific bucket. For more information about access keys, see Creating access keys for a bucket in Amazon Lightsail in the Amazon Lightsail Developer Guide. The secretAccessKey value is returned only in response to the CreateBucketAccessKey action. You can get a secret access key only when you first create an access key; you cannot get the secret access key later. If you lose the secret access key, you must create a new access key.
  92. */
  93. createBucketAccessKey(callback?: (err: AWSError, data: Lightsail.Types.CreateBucketAccessKeyResult) => void): Request<Lightsail.Types.CreateBucketAccessKeyResult, AWSError>;
  94. /**
  95. * Creates an SSL/TLS certificate for an Amazon Lightsail content delivery network (CDN) distribution and a container service. After the certificate is valid, use the AttachCertificateToDistribution action to use the certificate and its domains with your distribution. Or use the UpdateContainerService action to use the certificate and its domains with your container service. Only certificates created in the us-east-1 Amazon Web Services Region can be attached to Lightsail distributions. Lightsail distributions are global resources that can reference an origin in any Amazon Web Services Region, and distribute its content globally. However, all distributions are located in the us-east-1 Region.
  96. */
  97. createCertificate(params: Lightsail.Types.CreateCertificateRequest, callback?: (err: AWSError, data: Lightsail.Types.CreateCertificateResult) => void): Request<Lightsail.Types.CreateCertificateResult, AWSError>;
  98. /**
  99. * Creates an SSL/TLS certificate for an Amazon Lightsail content delivery network (CDN) distribution and a container service. After the certificate is valid, use the AttachCertificateToDistribution action to use the certificate and its domains with your distribution. Or use the UpdateContainerService action to use the certificate and its domains with your container service. Only certificates created in the us-east-1 Amazon Web Services Region can be attached to Lightsail distributions. Lightsail distributions are global resources that can reference an origin in any Amazon Web Services Region, and distribute its content globally. However, all distributions are located in the us-east-1 Region.
  100. */
  101. createCertificate(callback?: (err: AWSError, data: Lightsail.Types.CreateCertificateResult) => void): Request<Lightsail.Types.CreateCertificateResult, AWSError>;
  102. /**
  103. * Creates an AWS CloudFormation stack, which creates a new Amazon EC2 instance from an exported Amazon Lightsail snapshot. This operation results in a CloudFormation stack record that can be used to track the AWS CloudFormation stack created. Use the get cloud formation stack records operation to get a list of the CloudFormation stacks created. Wait until after your new Amazon EC2 instance is created before running the create cloud formation stack operation again with the same export snapshot record.
  104. */
  105. createCloudFormationStack(params: Lightsail.Types.CreateCloudFormationStackRequest, callback?: (err: AWSError, data: Lightsail.Types.CreateCloudFormationStackResult) => void): Request<Lightsail.Types.CreateCloudFormationStackResult, AWSError>;
  106. /**
  107. * Creates an AWS CloudFormation stack, which creates a new Amazon EC2 instance from an exported Amazon Lightsail snapshot. This operation results in a CloudFormation stack record that can be used to track the AWS CloudFormation stack created. Use the get cloud formation stack records operation to get a list of the CloudFormation stacks created. Wait until after your new Amazon EC2 instance is created before running the create cloud formation stack operation again with the same export snapshot record.
  108. */
  109. createCloudFormationStack(callback?: (err: AWSError, data: Lightsail.Types.CreateCloudFormationStackResult) => void): Request<Lightsail.Types.CreateCloudFormationStackResult, AWSError>;
  110. /**
  111. * Creates an email or SMS text message contact method. A contact method is used to send you notifications about your Amazon Lightsail resources. You can add one email address and one mobile phone number contact method in each Amazon Web Services Region. However, SMS text messaging is not supported in some Amazon Web Services Regions, and SMS text messages cannot be sent to some countries/regions. For more information, see Notifications in Amazon Lightsail.
  112. */
  113. createContactMethod(params: Lightsail.Types.CreateContactMethodRequest, callback?: (err: AWSError, data: Lightsail.Types.CreateContactMethodResult) => void): Request<Lightsail.Types.CreateContactMethodResult, AWSError>;
  114. /**
  115. * Creates an email or SMS text message contact method. A contact method is used to send you notifications about your Amazon Lightsail resources. You can add one email address and one mobile phone number contact method in each Amazon Web Services Region. However, SMS text messaging is not supported in some Amazon Web Services Regions, and SMS text messages cannot be sent to some countries/regions. For more information, see Notifications in Amazon Lightsail.
  116. */
  117. createContactMethod(callback?: (err: AWSError, data: Lightsail.Types.CreateContactMethodResult) => void): Request<Lightsail.Types.CreateContactMethodResult, AWSError>;
  118. /**
  119. * Creates an Amazon Lightsail container service. A Lightsail container service is a compute resource to which you can deploy containers. For more information, see Container services in Amazon Lightsail in the Lightsail Dev Guide.
  120. */
  121. createContainerService(params: Lightsail.Types.CreateContainerServiceRequest, callback?: (err: AWSError, data: Lightsail.Types.CreateContainerServiceResult) => void): Request<Lightsail.Types.CreateContainerServiceResult, AWSError>;
  122. /**
  123. * Creates an Amazon Lightsail container service. A Lightsail container service is a compute resource to which you can deploy containers. For more information, see Container services in Amazon Lightsail in the Lightsail Dev Guide.
  124. */
  125. createContainerService(callback?: (err: AWSError, data: Lightsail.Types.CreateContainerServiceResult) => void): Request<Lightsail.Types.CreateContainerServiceResult, AWSError>;
  126. /**
  127. * Creates a deployment for your Amazon Lightsail container service. A deployment specifies the containers that will be launched on the container service and their settings, such as the ports to open, the environment variables to apply, and the launch command to run. It also specifies the container that will serve as the public endpoint of the deployment and its settings, such as the HTTP or HTTPS port to use, and the health check configuration. You can deploy containers to your container service using container images from a public registry such as Amazon ECR Public, or from your local machine. For more information, see Creating container images for your Amazon Lightsail container services in the Amazon Lightsail Developer Guide.
  128. */
  129. createContainerServiceDeployment(params: Lightsail.Types.CreateContainerServiceDeploymentRequest, callback?: (err: AWSError, data: Lightsail.Types.CreateContainerServiceDeploymentResult) => void): Request<Lightsail.Types.CreateContainerServiceDeploymentResult, AWSError>;
  130. /**
  131. * Creates a deployment for your Amazon Lightsail container service. A deployment specifies the containers that will be launched on the container service and their settings, such as the ports to open, the environment variables to apply, and the launch command to run. It also specifies the container that will serve as the public endpoint of the deployment and its settings, such as the HTTP or HTTPS port to use, and the health check configuration. You can deploy containers to your container service using container images from a public registry such as Amazon ECR Public, or from your local machine. For more information, see Creating container images for your Amazon Lightsail container services in the Amazon Lightsail Developer Guide.
  132. */
  133. createContainerServiceDeployment(callback?: (err: AWSError, data: Lightsail.Types.CreateContainerServiceDeploymentResult) => void): Request<Lightsail.Types.CreateContainerServiceDeploymentResult, AWSError>;
  134. /**
  135. * Creates a temporary set of log in credentials that you can use to log in to the Docker process on your local machine. After you're logged in, you can use the native Docker commands to push your local container images to the container image registry of your Amazon Lightsail account so that you can use them with your Lightsail container service. The log in credentials expire 12 hours after they are created, at which point you will need to create a new set of log in credentials. You can only push container images to the container service registry of your Lightsail account. You cannot pull container images or perform any other container image management actions on the container service registry. After you push your container images to the container image registry of your Lightsail account, use the RegisterContainerImage action to register the pushed images to a specific Lightsail container service. This action is not required if you install and use the Lightsail Control (lightsailctl) plugin to push container images to your Lightsail container service. For more information, see Pushing and managing container images on your Amazon Lightsail container services in the Amazon Lightsail Developer Guide.
  136. */
  137. createContainerServiceRegistryLogin(params: Lightsail.Types.CreateContainerServiceRegistryLoginRequest, callback?: (err: AWSError, data: Lightsail.Types.CreateContainerServiceRegistryLoginResult) => void): Request<Lightsail.Types.CreateContainerServiceRegistryLoginResult, AWSError>;
  138. /**
  139. * Creates a temporary set of log in credentials that you can use to log in to the Docker process on your local machine. After you're logged in, you can use the native Docker commands to push your local container images to the container image registry of your Amazon Lightsail account so that you can use them with your Lightsail container service. The log in credentials expire 12 hours after they are created, at which point you will need to create a new set of log in credentials. You can only push container images to the container service registry of your Lightsail account. You cannot pull container images or perform any other container image management actions on the container service registry. After you push your container images to the container image registry of your Lightsail account, use the RegisterContainerImage action to register the pushed images to a specific Lightsail container service. This action is not required if you install and use the Lightsail Control (lightsailctl) plugin to push container images to your Lightsail container service. For more information, see Pushing and managing container images on your Amazon Lightsail container services in the Amazon Lightsail Developer Guide.
  140. */
  141. createContainerServiceRegistryLogin(callback?: (err: AWSError, data: Lightsail.Types.CreateContainerServiceRegistryLoginResult) => void): Request<Lightsail.Types.CreateContainerServiceRegistryLoginResult, AWSError>;
  142. /**
  143. * Creates a block storage disk that can be attached to an Amazon Lightsail instance in the same Availability Zone (us-east-2a). The create disk operation supports tag-based access control via request tags. For more information, see the Amazon Lightsail Developer Guide.
  144. */
  145. createDisk(params: Lightsail.Types.CreateDiskRequest, callback?: (err: AWSError, data: Lightsail.Types.CreateDiskResult) => void): Request<Lightsail.Types.CreateDiskResult, AWSError>;
  146. /**
  147. * Creates a block storage disk that can be attached to an Amazon Lightsail instance in the same Availability Zone (us-east-2a). The create disk operation supports tag-based access control via request tags. For more information, see the Amazon Lightsail Developer Guide.
  148. */
  149. createDisk(callback?: (err: AWSError, data: Lightsail.Types.CreateDiskResult) => void): Request<Lightsail.Types.CreateDiskResult, AWSError>;
  150. /**
  151. * Creates a block storage disk from a manual or automatic snapshot of a disk. The resulting disk can be attached to an Amazon Lightsail instance in the same Availability Zone (us-east-2a). The create disk from snapshot operation supports tag-based access control via request tags and resource tags applied to the resource identified by disk snapshot name. For more information, see the Amazon Lightsail Developer Guide.
  152. */
  153. createDiskFromSnapshot(params: Lightsail.Types.CreateDiskFromSnapshotRequest, callback?: (err: AWSError, data: Lightsail.Types.CreateDiskFromSnapshotResult) => void): Request<Lightsail.Types.CreateDiskFromSnapshotResult, AWSError>;
  154. /**
  155. * Creates a block storage disk from a manual or automatic snapshot of a disk. The resulting disk can be attached to an Amazon Lightsail instance in the same Availability Zone (us-east-2a). The create disk from snapshot operation supports tag-based access control via request tags and resource tags applied to the resource identified by disk snapshot name. For more information, see the Amazon Lightsail Developer Guide.
  156. */
  157. createDiskFromSnapshot(callback?: (err: AWSError, data: Lightsail.Types.CreateDiskFromSnapshotResult) => void): Request<Lightsail.Types.CreateDiskFromSnapshotResult, AWSError>;
  158. /**
  159. * Creates a snapshot of a block storage disk. You can use snapshots for backups, to make copies of disks, and to save data before shutting down a Lightsail instance. You can take a snapshot of an attached disk that is in use; however, snapshots only capture data that has been written to your disk at the time the snapshot command is issued. This may exclude any data that has been cached by any applications or the operating system. If you can pause any file systems on the disk long enough to take a snapshot, your snapshot should be complete. Nevertheless, if you cannot pause all file writes to the disk, you should unmount the disk from within the Lightsail instance, issue the create disk snapshot command, and then remount the disk to ensure a consistent and complete snapshot. You may remount and use your disk while the snapshot status is pending. You can also use this operation to create a snapshot of an instance's system volume. You might want to do this, for example, to recover data from the system volume of a botched instance or to create a backup of the system volume like you would for a block storage disk. To create a snapshot of a system volume, just define the instance name parameter when issuing the snapshot command, and a snapshot of the defined instance's system volume will be created. After the snapshot is available, you can create a block storage disk from the snapshot and attach it to a running instance to access the data on the disk. The create disk snapshot operation supports tag-based access control via request tags. For more information, see the Amazon Lightsail Developer Guide.
  160. */
  161. createDiskSnapshot(params: Lightsail.Types.CreateDiskSnapshotRequest, callback?: (err: AWSError, data: Lightsail.Types.CreateDiskSnapshotResult) => void): Request<Lightsail.Types.CreateDiskSnapshotResult, AWSError>;
  162. /**
  163. * Creates a snapshot of a block storage disk. You can use snapshots for backups, to make copies of disks, and to save data before shutting down a Lightsail instance. You can take a snapshot of an attached disk that is in use; however, snapshots only capture data that has been written to your disk at the time the snapshot command is issued. This may exclude any data that has been cached by any applications or the operating system. If you can pause any file systems on the disk long enough to take a snapshot, your snapshot should be complete. Nevertheless, if you cannot pause all file writes to the disk, you should unmount the disk from within the Lightsail instance, issue the create disk snapshot command, and then remount the disk to ensure a consistent and complete snapshot. You may remount and use your disk while the snapshot status is pending. You can also use this operation to create a snapshot of an instance's system volume. You might want to do this, for example, to recover data from the system volume of a botched instance or to create a backup of the system volume like you would for a block storage disk. To create a snapshot of a system volume, just define the instance name parameter when issuing the snapshot command, and a snapshot of the defined instance's system volume will be created. After the snapshot is available, you can create a block storage disk from the snapshot and attach it to a running instance to access the data on the disk. The create disk snapshot operation supports tag-based access control via request tags. For more information, see the Amazon Lightsail Developer Guide.
  164. */
  165. createDiskSnapshot(callback?: (err: AWSError, data: Lightsail.Types.CreateDiskSnapshotResult) => void): Request<Lightsail.Types.CreateDiskSnapshotResult, AWSError>;
  166. /**
  167. * Creates an Amazon Lightsail content delivery network (CDN) distribution. A distribution is a globally distributed network of caching servers that improve the performance of your website or web application hosted on a Lightsail instance. For more information, see Content delivery networks in Amazon Lightsail.
  168. */
  169. createDistribution(params: Lightsail.Types.CreateDistributionRequest, callback?: (err: AWSError, data: Lightsail.Types.CreateDistributionResult) => void): Request<Lightsail.Types.CreateDistributionResult, AWSError>;
  170. /**
  171. * Creates an Amazon Lightsail content delivery network (CDN) distribution. A distribution is a globally distributed network of caching servers that improve the performance of your website or web application hosted on a Lightsail instance. For more information, see Content delivery networks in Amazon Lightsail.
  172. */
  173. createDistribution(callback?: (err: AWSError, data: Lightsail.Types.CreateDistributionResult) => void): Request<Lightsail.Types.CreateDistributionResult, AWSError>;
  174. /**
  175. * Creates a domain resource for the specified domain (example.com). The create domain operation supports tag-based access control via request tags. For more information, see the Amazon Lightsail Developer Guide.
  176. */
  177. createDomain(params: Lightsail.Types.CreateDomainRequest, callback?: (err: AWSError, data: Lightsail.Types.CreateDomainResult) => void): Request<Lightsail.Types.CreateDomainResult, AWSError>;
  178. /**
  179. * Creates a domain resource for the specified domain (example.com). The create domain operation supports tag-based access control via request tags. For more information, see the Amazon Lightsail Developer Guide.
  180. */
  181. createDomain(callback?: (err: AWSError, data: Lightsail.Types.CreateDomainResult) => void): Request<Lightsail.Types.CreateDomainResult, AWSError>;
  182. /**
  183. * Creates one of the following domain name system (DNS) records in a domain DNS zone: Address (A), canonical name (CNAME), mail exchanger (MX), name server (NS), start of authority (SOA), service locator (SRV), or text (TXT). The create domain entry operation supports tag-based access control via resource tags applied to the resource identified by domain name. For more information, see the Amazon Lightsail Developer Guide.
  184. */
  185. createDomainEntry(params: Lightsail.Types.CreateDomainEntryRequest, callback?: (err: AWSError, data: Lightsail.Types.CreateDomainEntryResult) => void): Request<Lightsail.Types.CreateDomainEntryResult, AWSError>;
  186. /**
  187. * Creates one of the following domain name system (DNS) records in a domain DNS zone: Address (A), canonical name (CNAME), mail exchanger (MX), name server (NS), start of authority (SOA), service locator (SRV), or text (TXT). The create domain entry operation supports tag-based access control via resource tags applied to the resource identified by domain name. For more information, see the Amazon Lightsail Developer Guide.
  188. */
  189. createDomainEntry(callback?: (err: AWSError, data: Lightsail.Types.CreateDomainEntryResult) => void): Request<Lightsail.Types.CreateDomainEntryResult, AWSError>;
  190. /**
  191. * Creates two URLs that are used to access a virtual computer’s graphical user interface (GUI) session. The primary URL initiates a web-based NICE DCV session to the virtual computer's application. The secondary URL initiates a web-based NICE DCV session to the virtual computer's operating session. Use StartGUISession to open the session.
  192. */
  193. createGUISessionAccessDetails(params: Lightsail.Types.CreateGUISessionAccessDetailsRequest, callback?: (err: AWSError, data: Lightsail.Types.CreateGUISessionAccessDetailsResult) => void): Request<Lightsail.Types.CreateGUISessionAccessDetailsResult, AWSError>;
  194. /**
  195. * Creates two URLs that are used to access a virtual computer’s graphical user interface (GUI) session. The primary URL initiates a web-based NICE DCV session to the virtual computer's application. The secondary URL initiates a web-based NICE DCV session to the virtual computer's operating session. Use StartGUISession to open the session.
  196. */
  197. createGUISessionAccessDetails(callback?: (err: AWSError, data: Lightsail.Types.CreateGUISessionAccessDetailsResult) => void): Request<Lightsail.Types.CreateGUISessionAccessDetailsResult, AWSError>;
  198. /**
  199. * Creates a snapshot of a specific virtual private server, or instance. You can use a snapshot to create a new instance that is based on that snapshot. The create instance snapshot operation supports tag-based access control via request tags. For more information, see the Amazon Lightsail Developer Guide.
  200. */
  201. createInstanceSnapshot(params: Lightsail.Types.CreateInstanceSnapshotRequest, callback?: (err: AWSError, data: Lightsail.Types.CreateInstanceSnapshotResult) => void): Request<Lightsail.Types.CreateInstanceSnapshotResult, AWSError>;
  202. /**
  203. * Creates a snapshot of a specific virtual private server, or instance. You can use a snapshot to create a new instance that is based on that snapshot. The create instance snapshot operation supports tag-based access control via request tags. For more information, see the Amazon Lightsail Developer Guide.
  204. */
  205. createInstanceSnapshot(callback?: (err: AWSError, data: Lightsail.Types.CreateInstanceSnapshotResult) => void): Request<Lightsail.Types.CreateInstanceSnapshotResult, AWSError>;
  206. /**
  207. * Creates one or more Amazon Lightsail instances. The create instances operation supports tag-based access control via request tags. For more information, see the Lightsail Developer Guide.
  208. */
  209. createInstances(params: Lightsail.Types.CreateInstancesRequest, callback?: (err: AWSError, data: Lightsail.Types.CreateInstancesResult) => void): Request<Lightsail.Types.CreateInstancesResult, AWSError>;
  210. /**
  211. * Creates one or more Amazon Lightsail instances. The create instances operation supports tag-based access control via request tags. For more information, see the Lightsail Developer Guide.
  212. */
  213. createInstances(callback?: (err: AWSError, data: Lightsail.Types.CreateInstancesResult) => void): Request<Lightsail.Types.CreateInstancesResult, AWSError>;
  214. /**
  215. * Creates one or more new instances from a manual or automatic snapshot of an instance. The create instances from snapshot operation supports tag-based access control via request tags and resource tags applied to the resource identified by instance snapshot name. For more information, see the Amazon Lightsail Developer Guide.
  216. */
  217. createInstancesFromSnapshot(params: Lightsail.Types.CreateInstancesFromSnapshotRequest, callback?: (err: AWSError, data: Lightsail.Types.CreateInstancesFromSnapshotResult) => void): Request<Lightsail.Types.CreateInstancesFromSnapshotResult, AWSError>;
  218. /**
  219. * Creates one or more new instances from a manual or automatic snapshot of an instance. The create instances from snapshot operation supports tag-based access control via request tags and resource tags applied to the resource identified by instance snapshot name. For more information, see the Amazon Lightsail Developer Guide.
  220. */
  221. createInstancesFromSnapshot(callback?: (err: AWSError, data: Lightsail.Types.CreateInstancesFromSnapshotResult) => void): Request<Lightsail.Types.CreateInstancesFromSnapshotResult, AWSError>;
  222. /**
  223. * Creates a custom SSH key pair that you can use with an Amazon Lightsail instance. Use the DownloadDefaultKeyPair action to create a Lightsail default key pair in an Amazon Web Services Region where a default key pair does not currently exist. The create key pair operation supports tag-based access control via request tags. For more information, see the Amazon Lightsail Developer Guide.
  224. */
  225. createKeyPair(params: Lightsail.Types.CreateKeyPairRequest, callback?: (err: AWSError, data: Lightsail.Types.CreateKeyPairResult) => void): Request<Lightsail.Types.CreateKeyPairResult, AWSError>;
  226. /**
  227. * Creates a custom SSH key pair that you can use with an Amazon Lightsail instance. Use the DownloadDefaultKeyPair action to create a Lightsail default key pair in an Amazon Web Services Region where a default key pair does not currently exist. The create key pair operation supports tag-based access control via request tags. For more information, see the Amazon Lightsail Developer Guide.
  228. */
  229. createKeyPair(callback?: (err: AWSError, data: Lightsail.Types.CreateKeyPairResult) => void): Request<Lightsail.Types.CreateKeyPairResult, AWSError>;
  230. /**
  231. * Creates a Lightsail load balancer. To learn more about deciding whether to load balance your application, see Configure your Lightsail instances for load balancing. You can create up to 5 load balancers per AWS Region in your account. When you create a load balancer, you can specify a unique name and port settings. To change additional load balancer settings, use the UpdateLoadBalancerAttribute operation. The create load balancer operation supports tag-based access control via request tags. For more information, see the Amazon Lightsail Developer Guide.
  232. */
  233. createLoadBalancer(params: Lightsail.Types.CreateLoadBalancerRequest, callback?: (err: AWSError, data: Lightsail.Types.CreateLoadBalancerResult) => void): Request<Lightsail.Types.CreateLoadBalancerResult, AWSError>;
  234. /**
  235. * Creates a Lightsail load balancer. To learn more about deciding whether to load balance your application, see Configure your Lightsail instances for load balancing. You can create up to 5 load balancers per AWS Region in your account. When you create a load balancer, you can specify a unique name and port settings. To change additional load balancer settings, use the UpdateLoadBalancerAttribute operation. The create load balancer operation supports tag-based access control via request tags. For more information, see the Amazon Lightsail Developer Guide.
  236. */
  237. createLoadBalancer(callback?: (err: AWSError, data: Lightsail.Types.CreateLoadBalancerResult) => void): Request<Lightsail.Types.CreateLoadBalancerResult, AWSError>;
  238. /**
  239. * Creates an SSL/TLS certificate for an Amazon Lightsail load balancer. TLS is just an updated, more secure version of Secure Socket Layer (SSL). The CreateLoadBalancerTlsCertificate operation supports tag-based access control via resource tags applied to the resource identified by load balancer name. For more information, see the Amazon Lightsail Developer Guide.
  240. */
  241. createLoadBalancerTlsCertificate(params: Lightsail.Types.CreateLoadBalancerTlsCertificateRequest, callback?: (err: AWSError, data: Lightsail.Types.CreateLoadBalancerTlsCertificateResult) => void): Request<Lightsail.Types.CreateLoadBalancerTlsCertificateResult, AWSError>;
  242. /**
  243. * Creates an SSL/TLS certificate for an Amazon Lightsail load balancer. TLS is just an updated, more secure version of Secure Socket Layer (SSL). The CreateLoadBalancerTlsCertificate operation supports tag-based access control via resource tags applied to the resource identified by load balancer name. For more information, see the Amazon Lightsail Developer Guide.
  244. */
  245. createLoadBalancerTlsCertificate(callback?: (err: AWSError, data: Lightsail.Types.CreateLoadBalancerTlsCertificateResult) => void): Request<Lightsail.Types.CreateLoadBalancerTlsCertificateResult, AWSError>;
  246. /**
  247. * Creates a new database in Amazon Lightsail. The create relational database operation supports tag-based access control via request tags. For more information, see the Amazon Lightsail Developer Guide.
  248. */
  249. createRelationalDatabase(params: Lightsail.Types.CreateRelationalDatabaseRequest, callback?: (err: AWSError, data: Lightsail.Types.CreateRelationalDatabaseResult) => void): Request<Lightsail.Types.CreateRelationalDatabaseResult, AWSError>;
  250. /**
  251. * Creates a new database in Amazon Lightsail. The create relational database operation supports tag-based access control via request tags. For more information, see the Amazon Lightsail Developer Guide.
  252. */
  253. createRelationalDatabase(callback?: (err: AWSError, data: Lightsail.Types.CreateRelationalDatabaseResult) => void): Request<Lightsail.Types.CreateRelationalDatabaseResult, AWSError>;
  254. /**
  255. * Creates a new database from an existing database snapshot in Amazon Lightsail. You can create a new database from a snapshot in if something goes wrong with your original database, or to change it to a different plan, such as a high availability or standard plan. The create relational database from snapshot operation supports tag-based access control via request tags and resource tags applied to the resource identified by relationalDatabaseSnapshotName. For more information, see the Amazon Lightsail Developer Guide.
  256. */
  257. createRelationalDatabaseFromSnapshot(params: Lightsail.Types.CreateRelationalDatabaseFromSnapshotRequest, callback?: (err: AWSError, data: Lightsail.Types.CreateRelationalDatabaseFromSnapshotResult) => void): Request<Lightsail.Types.CreateRelationalDatabaseFromSnapshotResult, AWSError>;
  258. /**
  259. * Creates a new database from an existing database snapshot in Amazon Lightsail. You can create a new database from a snapshot in if something goes wrong with your original database, or to change it to a different plan, such as a high availability or standard plan. The create relational database from snapshot operation supports tag-based access control via request tags and resource tags applied to the resource identified by relationalDatabaseSnapshotName. For more information, see the Amazon Lightsail Developer Guide.
  260. */
  261. createRelationalDatabaseFromSnapshot(callback?: (err: AWSError, data: Lightsail.Types.CreateRelationalDatabaseFromSnapshotResult) => void): Request<Lightsail.Types.CreateRelationalDatabaseFromSnapshotResult, AWSError>;
  262. /**
  263. * Creates a snapshot of your database in Amazon Lightsail. You can use snapshots for backups, to make copies of a database, and to save data before deleting a database. The create relational database snapshot operation supports tag-based access control via request tags. For more information, see the Amazon Lightsail Developer Guide.
  264. */
  265. createRelationalDatabaseSnapshot(params: Lightsail.Types.CreateRelationalDatabaseSnapshotRequest, callback?: (err: AWSError, data: Lightsail.Types.CreateRelationalDatabaseSnapshotResult) => void): Request<Lightsail.Types.CreateRelationalDatabaseSnapshotResult, AWSError>;
  266. /**
  267. * Creates a snapshot of your database in Amazon Lightsail. You can use snapshots for backups, to make copies of a database, and to save data before deleting a database. The create relational database snapshot operation supports tag-based access control via request tags. For more information, see the Amazon Lightsail Developer Guide.
  268. */
  269. createRelationalDatabaseSnapshot(callback?: (err: AWSError, data: Lightsail.Types.CreateRelationalDatabaseSnapshotResult) => void): Request<Lightsail.Types.CreateRelationalDatabaseSnapshotResult, AWSError>;
  270. /**
  271. * Deletes an alarm. An alarm is used to monitor a single metric for one of your resources. When a metric condition is met, the alarm can notify you by email, SMS text message, and a banner displayed on the Amazon Lightsail console. For more information, see Alarms in Amazon Lightsail.
  272. */
  273. deleteAlarm(params: Lightsail.Types.DeleteAlarmRequest, callback?: (err: AWSError, data: Lightsail.Types.DeleteAlarmResult) => void): Request<Lightsail.Types.DeleteAlarmResult, AWSError>;
  274. /**
  275. * Deletes an alarm. An alarm is used to monitor a single metric for one of your resources. When a metric condition is met, the alarm can notify you by email, SMS text message, and a banner displayed on the Amazon Lightsail console. For more information, see Alarms in Amazon Lightsail.
  276. */
  277. deleteAlarm(callback?: (err: AWSError, data: Lightsail.Types.DeleteAlarmResult) => void): Request<Lightsail.Types.DeleteAlarmResult, AWSError>;
  278. /**
  279. * Deletes an automatic snapshot of an instance or disk. For more information, see the Amazon Lightsail Developer Guide.
  280. */
  281. deleteAutoSnapshot(params: Lightsail.Types.DeleteAutoSnapshotRequest, callback?: (err: AWSError, data: Lightsail.Types.DeleteAutoSnapshotResult) => void): Request<Lightsail.Types.DeleteAutoSnapshotResult, AWSError>;
  282. /**
  283. * Deletes an automatic snapshot of an instance or disk. For more information, see the Amazon Lightsail Developer Guide.
  284. */
  285. deleteAutoSnapshot(callback?: (err: AWSError, data: Lightsail.Types.DeleteAutoSnapshotResult) => void): Request<Lightsail.Types.DeleteAutoSnapshotResult, AWSError>;
  286. /**
  287. * Deletes a Amazon Lightsail bucket. When you delete your bucket, the bucket name is released and can be reused for a new bucket in your account or another Amazon Web Services account.
  288. */
  289. deleteBucket(params: Lightsail.Types.DeleteBucketRequest, callback?: (err: AWSError, data: Lightsail.Types.DeleteBucketResult) => void): Request<Lightsail.Types.DeleteBucketResult, AWSError>;
  290. /**
  291. * Deletes a Amazon Lightsail bucket. When you delete your bucket, the bucket name is released and can be reused for a new bucket in your account or another Amazon Web Services account.
  292. */
  293. deleteBucket(callback?: (err: AWSError, data: Lightsail.Types.DeleteBucketResult) => void): Request<Lightsail.Types.DeleteBucketResult, AWSError>;
  294. /**
  295. * Deletes an access key for the specified Amazon Lightsail bucket. We recommend that you delete an access key if the secret access key is compromised. For more information about access keys, see Creating access keys for a bucket in Amazon Lightsail in the Amazon Lightsail Developer Guide.
  296. */
  297. deleteBucketAccessKey(params: Lightsail.Types.DeleteBucketAccessKeyRequest, callback?: (err: AWSError, data: Lightsail.Types.DeleteBucketAccessKeyResult) => void): Request<Lightsail.Types.DeleteBucketAccessKeyResult, AWSError>;
  298. /**
  299. * Deletes an access key for the specified Amazon Lightsail bucket. We recommend that you delete an access key if the secret access key is compromised. For more information about access keys, see Creating access keys for a bucket in Amazon Lightsail in the Amazon Lightsail Developer Guide.
  300. */
  301. deleteBucketAccessKey(callback?: (err: AWSError, data: Lightsail.Types.DeleteBucketAccessKeyResult) => void): Request<Lightsail.Types.DeleteBucketAccessKeyResult, AWSError>;
  302. /**
  303. * Deletes an SSL/TLS certificate for your Amazon Lightsail content delivery network (CDN) distribution. Certificates that are currently attached to a distribution cannot be deleted. Use the DetachCertificateFromDistribution action to detach a certificate from a distribution.
  304. */
  305. deleteCertificate(params: Lightsail.Types.DeleteCertificateRequest, callback?: (err: AWSError, data: Lightsail.Types.DeleteCertificateResult) => void): Request<Lightsail.Types.DeleteCertificateResult, AWSError>;
  306. /**
  307. * Deletes an SSL/TLS certificate for your Amazon Lightsail content delivery network (CDN) distribution. Certificates that are currently attached to a distribution cannot be deleted. Use the DetachCertificateFromDistribution action to detach a certificate from a distribution.
  308. */
  309. deleteCertificate(callback?: (err: AWSError, data: Lightsail.Types.DeleteCertificateResult) => void): Request<Lightsail.Types.DeleteCertificateResult, AWSError>;
  310. /**
  311. * Deletes a contact method. A contact method is used to send you notifications about your Amazon Lightsail resources. You can add one email address and one mobile phone number contact method in each Amazon Web Services Region. However, SMS text messaging is not supported in some Amazon Web Services Regions, and SMS text messages cannot be sent to some countries/regions. For more information, see Notifications in Amazon Lightsail.
  312. */
  313. deleteContactMethod(params: Lightsail.Types.DeleteContactMethodRequest, callback?: (err: AWSError, data: Lightsail.Types.DeleteContactMethodResult) => void): Request<Lightsail.Types.DeleteContactMethodResult, AWSError>;
  314. /**
  315. * Deletes a contact method. A contact method is used to send you notifications about your Amazon Lightsail resources. You can add one email address and one mobile phone number contact method in each Amazon Web Services Region. However, SMS text messaging is not supported in some Amazon Web Services Regions, and SMS text messages cannot be sent to some countries/regions. For more information, see Notifications in Amazon Lightsail.
  316. */
  317. deleteContactMethod(callback?: (err: AWSError, data: Lightsail.Types.DeleteContactMethodResult) => void): Request<Lightsail.Types.DeleteContactMethodResult, AWSError>;
  318. /**
  319. * Deletes a container image that is registered to your Amazon Lightsail container service.
  320. */
  321. deleteContainerImage(params: Lightsail.Types.DeleteContainerImageRequest, callback?: (err: AWSError, data: Lightsail.Types.DeleteContainerImageResult) => void): Request<Lightsail.Types.DeleteContainerImageResult, AWSError>;
  322. /**
  323. * Deletes a container image that is registered to your Amazon Lightsail container service.
  324. */
  325. deleteContainerImage(callback?: (err: AWSError, data: Lightsail.Types.DeleteContainerImageResult) => void): Request<Lightsail.Types.DeleteContainerImageResult, AWSError>;
  326. /**
  327. * Deletes your Amazon Lightsail container service.
  328. */
  329. deleteContainerService(params: Lightsail.Types.DeleteContainerServiceRequest, callback?: (err: AWSError, data: Lightsail.Types.DeleteContainerServiceResult) => void): Request<Lightsail.Types.DeleteContainerServiceResult, AWSError>;
  330. /**
  331. * Deletes your Amazon Lightsail container service.
  332. */
  333. deleteContainerService(callback?: (err: AWSError, data: Lightsail.Types.DeleteContainerServiceResult) => void): Request<Lightsail.Types.DeleteContainerServiceResult, AWSError>;
  334. /**
  335. * Deletes the specified block storage disk. The disk must be in the available state (not attached to a Lightsail instance). The disk may remain in the deleting state for several minutes. The delete disk operation supports tag-based access control via resource tags applied to the resource identified by disk name. For more information, see the Amazon Lightsail Developer Guide.
  336. */
  337. deleteDisk(params: Lightsail.Types.DeleteDiskRequest, callback?: (err: AWSError, data: Lightsail.Types.DeleteDiskResult) => void): Request<Lightsail.Types.DeleteDiskResult, AWSError>;
  338. /**
  339. * Deletes the specified block storage disk. The disk must be in the available state (not attached to a Lightsail instance). The disk may remain in the deleting state for several minutes. The delete disk operation supports tag-based access control via resource tags applied to the resource identified by disk name. For more information, see the Amazon Lightsail Developer Guide.
  340. */
  341. deleteDisk(callback?: (err: AWSError, data: Lightsail.Types.DeleteDiskResult) => void): Request<Lightsail.Types.DeleteDiskResult, AWSError>;
  342. /**
  343. * Deletes the specified disk snapshot. When you make periodic snapshots of a disk, the snapshots are incremental, and only the blocks on the device that have changed since your last snapshot are saved in the new snapshot. When you delete a snapshot, only the data not needed for any other snapshot is removed. So regardless of which prior snapshots have been deleted, all active snapshots will have access to all the information needed to restore the disk. The delete disk snapshot operation supports tag-based access control via resource tags applied to the resource identified by disk snapshot name. For more information, see the Amazon Lightsail Developer Guide.
  344. */
  345. deleteDiskSnapshot(params: Lightsail.Types.DeleteDiskSnapshotRequest, callback?: (err: AWSError, data: Lightsail.Types.DeleteDiskSnapshotResult) => void): Request<Lightsail.Types.DeleteDiskSnapshotResult, AWSError>;
  346. /**
  347. * Deletes the specified disk snapshot. When you make periodic snapshots of a disk, the snapshots are incremental, and only the blocks on the device that have changed since your last snapshot are saved in the new snapshot. When you delete a snapshot, only the data not needed for any other snapshot is removed. So regardless of which prior snapshots have been deleted, all active snapshots will have access to all the information needed to restore the disk. The delete disk snapshot operation supports tag-based access control via resource tags applied to the resource identified by disk snapshot name. For more information, see the Amazon Lightsail Developer Guide.
  348. */
  349. deleteDiskSnapshot(callback?: (err: AWSError, data: Lightsail.Types.DeleteDiskSnapshotResult) => void): Request<Lightsail.Types.DeleteDiskSnapshotResult, AWSError>;
  350. /**
  351. * Deletes your Amazon Lightsail content delivery network (CDN) distribution.
  352. */
  353. deleteDistribution(params: Lightsail.Types.DeleteDistributionRequest, callback?: (err: AWSError, data: Lightsail.Types.DeleteDistributionResult) => void): Request<Lightsail.Types.DeleteDistributionResult, AWSError>;
  354. /**
  355. * Deletes your Amazon Lightsail content delivery network (CDN) distribution.
  356. */
  357. deleteDistribution(callback?: (err: AWSError, data: Lightsail.Types.DeleteDistributionResult) => void): Request<Lightsail.Types.DeleteDistributionResult, AWSError>;
  358. /**
  359. * Deletes the specified domain recordset and all of its domain records. The delete domain operation supports tag-based access control via resource tags applied to the resource identified by domain name. For more information, see the Amazon Lightsail Developer Guide.
  360. */
  361. deleteDomain(params: Lightsail.Types.DeleteDomainRequest, callback?: (err: AWSError, data: Lightsail.Types.DeleteDomainResult) => void): Request<Lightsail.Types.DeleteDomainResult, AWSError>;
  362. /**
  363. * Deletes the specified domain recordset and all of its domain records. The delete domain operation supports tag-based access control via resource tags applied to the resource identified by domain name. For more information, see the Amazon Lightsail Developer Guide.
  364. */
  365. deleteDomain(callback?: (err: AWSError, data: Lightsail.Types.DeleteDomainResult) => void): Request<Lightsail.Types.DeleteDomainResult, AWSError>;
  366. /**
  367. * Deletes a specific domain entry. The delete domain entry operation supports tag-based access control via resource tags applied to the resource identified by domain name. For more information, see the Amazon Lightsail Developer Guide.
  368. */
  369. deleteDomainEntry(params: Lightsail.Types.DeleteDomainEntryRequest, callback?: (err: AWSError, data: Lightsail.Types.DeleteDomainEntryResult) => void): Request<Lightsail.Types.DeleteDomainEntryResult, AWSError>;
  370. /**
  371. * Deletes a specific domain entry. The delete domain entry operation supports tag-based access control via resource tags applied to the resource identified by domain name. For more information, see the Amazon Lightsail Developer Guide.
  372. */
  373. deleteDomainEntry(callback?: (err: AWSError, data: Lightsail.Types.DeleteDomainEntryResult) => void): Request<Lightsail.Types.DeleteDomainEntryResult, AWSError>;
  374. /**
  375. * Deletes an Amazon Lightsail instance. The delete instance operation supports tag-based access control via resource tags applied to the resource identified by instance name. For more information, see the Amazon Lightsail Developer Guide.
  376. */
  377. deleteInstance(params: Lightsail.Types.DeleteInstanceRequest, callback?: (err: AWSError, data: Lightsail.Types.DeleteInstanceResult) => void): Request<Lightsail.Types.DeleteInstanceResult, AWSError>;
  378. /**
  379. * Deletes an Amazon Lightsail instance. The delete instance operation supports tag-based access control via resource tags applied to the resource identified by instance name. For more information, see the Amazon Lightsail Developer Guide.
  380. */
  381. deleteInstance(callback?: (err: AWSError, data: Lightsail.Types.DeleteInstanceResult) => void): Request<Lightsail.Types.DeleteInstanceResult, AWSError>;
  382. /**
  383. * Deletes a specific snapshot of a virtual private server (or instance). The delete instance snapshot operation supports tag-based access control via resource tags applied to the resource identified by instance snapshot name. For more information, see the Amazon Lightsail Developer Guide.
  384. */
  385. deleteInstanceSnapshot(params: Lightsail.Types.DeleteInstanceSnapshotRequest, callback?: (err: AWSError, data: Lightsail.Types.DeleteInstanceSnapshotResult) => void): Request<Lightsail.Types.DeleteInstanceSnapshotResult, AWSError>;
  386. /**
  387. * Deletes a specific snapshot of a virtual private server (or instance). The delete instance snapshot operation supports tag-based access control via resource tags applied to the resource identified by instance snapshot name. For more information, see the Amazon Lightsail Developer Guide.
  388. */
  389. deleteInstanceSnapshot(callback?: (err: AWSError, data: Lightsail.Types.DeleteInstanceSnapshotResult) => void): Request<Lightsail.Types.DeleteInstanceSnapshotResult, AWSError>;
  390. /**
  391. * Deletes the specified key pair by removing the public key from Amazon Lightsail. You can delete key pairs that were created using the ImportKeyPair and CreateKeyPair actions, as well as the Lightsail default key pair. A new default key pair will not be created unless you launch an instance without specifying a custom key pair, or you call the DownloadDefaultKeyPair API. The delete key pair operation supports tag-based access control via resource tags applied to the resource identified by key pair name. For more information, see the Amazon Lightsail Developer Guide.
  392. */
  393. deleteKeyPair(params: Lightsail.Types.DeleteKeyPairRequest, callback?: (err: AWSError, data: Lightsail.Types.DeleteKeyPairResult) => void): Request<Lightsail.Types.DeleteKeyPairResult, AWSError>;
  394. /**
  395. * Deletes the specified key pair by removing the public key from Amazon Lightsail. You can delete key pairs that were created using the ImportKeyPair and CreateKeyPair actions, as well as the Lightsail default key pair. A new default key pair will not be created unless you launch an instance without specifying a custom key pair, or you call the DownloadDefaultKeyPair API. The delete key pair operation supports tag-based access control via resource tags applied to the resource identified by key pair name. For more information, see the Amazon Lightsail Developer Guide.
  396. */
  397. deleteKeyPair(callback?: (err: AWSError, data: Lightsail.Types.DeleteKeyPairResult) => void): Request<Lightsail.Types.DeleteKeyPairResult, AWSError>;
  398. /**
  399. * Deletes the known host key or certificate used by the Amazon Lightsail browser-based SSH or RDP clients to authenticate an instance. This operation enables the Lightsail browser-based SSH or RDP clients to connect to the instance after a host key mismatch. Perform this operation only if you were expecting the host key or certificate mismatch or if you are familiar with the new host key or certificate on the instance. For more information, see Troubleshooting connection issues when using the Amazon Lightsail browser-based SSH or RDP client.
  400. */
  401. deleteKnownHostKeys(params: Lightsail.Types.DeleteKnownHostKeysRequest, callback?: (err: AWSError, data: Lightsail.Types.DeleteKnownHostKeysResult) => void): Request<Lightsail.Types.DeleteKnownHostKeysResult, AWSError>;
  402. /**
  403. * Deletes the known host key or certificate used by the Amazon Lightsail browser-based SSH or RDP clients to authenticate an instance. This operation enables the Lightsail browser-based SSH or RDP clients to connect to the instance after a host key mismatch. Perform this operation only if you were expecting the host key or certificate mismatch or if you are familiar with the new host key or certificate on the instance. For more information, see Troubleshooting connection issues when using the Amazon Lightsail browser-based SSH or RDP client.
  404. */
  405. deleteKnownHostKeys(callback?: (err: AWSError, data: Lightsail.Types.DeleteKnownHostKeysResult) => void): Request<Lightsail.Types.DeleteKnownHostKeysResult, AWSError>;
  406. /**
  407. * Deletes a Lightsail load balancer and all its associated SSL/TLS certificates. Once the load balancer is deleted, you will need to create a new load balancer, create a new certificate, and verify domain ownership again. The delete load balancer operation supports tag-based access control via resource tags applied to the resource identified by load balancer name. For more information, see the Amazon Lightsail Developer Guide.
  408. */
  409. deleteLoadBalancer(params: Lightsail.Types.DeleteLoadBalancerRequest, callback?: (err: AWSError, data: Lightsail.Types.DeleteLoadBalancerResult) => void): Request<Lightsail.Types.DeleteLoadBalancerResult, AWSError>;
  410. /**
  411. * Deletes a Lightsail load balancer and all its associated SSL/TLS certificates. Once the load balancer is deleted, you will need to create a new load balancer, create a new certificate, and verify domain ownership again. The delete load balancer operation supports tag-based access control via resource tags applied to the resource identified by load balancer name. For more information, see the Amazon Lightsail Developer Guide.
  412. */
  413. deleteLoadBalancer(callback?: (err: AWSError, data: Lightsail.Types.DeleteLoadBalancerResult) => void): Request<Lightsail.Types.DeleteLoadBalancerResult, AWSError>;
  414. /**
  415. * Deletes an SSL/TLS certificate associated with a Lightsail load balancer. The DeleteLoadBalancerTlsCertificate operation supports tag-based access control via resource tags applied to the resource identified by load balancer name. For more information, see the Amazon Lightsail Developer Guide.
  416. */
  417. deleteLoadBalancerTlsCertificate(params: Lightsail.Types.DeleteLoadBalancerTlsCertificateRequest, callback?: (err: AWSError, data: Lightsail.Types.DeleteLoadBalancerTlsCertificateResult) => void): Request<Lightsail.Types.DeleteLoadBalancerTlsCertificateResult, AWSError>;
  418. /**
  419. * Deletes an SSL/TLS certificate associated with a Lightsail load balancer. The DeleteLoadBalancerTlsCertificate operation supports tag-based access control via resource tags applied to the resource identified by load balancer name. For more information, see the Amazon Lightsail Developer Guide.
  420. */
  421. deleteLoadBalancerTlsCertificate(callback?: (err: AWSError, data: Lightsail.Types.DeleteLoadBalancerTlsCertificateResult) => void): Request<Lightsail.Types.DeleteLoadBalancerTlsCertificateResult, AWSError>;
  422. /**
  423. * Deletes a database in Amazon Lightsail. The delete relational database operation supports tag-based access control via resource tags applied to the resource identified by relationalDatabaseName. For more information, see the Amazon Lightsail Developer Guide.
  424. */
  425. deleteRelationalDatabase(params: Lightsail.Types.DeleteRelationalDatabaseRequest, callback?: (err: AWSError, data: Lightsail.Types.DeleteRelationalDatabaseResult) => void): Request<Lightsail.Types.DeleteRelationalDatabaseResult, AWSError>;
  426. /**
  427. * Deletes a database in Amazon Lightsail. The delete relational database operation supports tag-based access control via resource tags applied to the resource identified by relationalDatabaseName. For more information, see the Amazon Lightsail Developer Guide.
  428. */
  429. deleteRelationalDatabase(callback?: (err: AWSError, data: Lightsail.Types.DeleteRelationalDatabaseResult) => void): Request<Lightsail.Types.DeleteRelationalDatabaseResult, AWSError>;
  430. /**
  431. * Deletes a database snapshot in Amazon Lightsail. The delete relational database snapshot operation supports tag-based access control via resource tags applied to the resource identified by relationalDatabaseName. For more information, see the Amazon Lightsail Developer Guide.
  432. */
  433. deleteRelationalDatabaseSnapshot(params: Lightsail.Types.DeleteRelationalDatabaseSnapshotRequest, callback?: (err: AWSError, data: Lightsail.Types.DeleteRelationalDatabaseSnapshotResult) => void): Request<Lightsail.Types.DeleteRelationalDatabaseSnapshotResult, AWSError>;
  434. /**
  435. * Deletes a database snapshot in Amazon Lightsail. The delete relational database snapshot operation supports tag-based access control via resource tags applied to the resource identified by relationalDatabaseName. For more information, see the Amazon Lightsail Developer Guide.
  436. */
  437. deleteRelationalDatabaseSnapshot(callback?: (err: AWSError, data: Lightsail.Types.DeleteRelationalDatabaseSnapshotResult) => void): Request<Lightsail.Types.DeleteRelationalDatabaseSnapshotResult, AWSError>;
  438. /**
  439. * Detaches an SSL/TLS certificate from your Amazon Lightsail content delivery network (CDN) distribution. After the certificate is detached, your distribution stops accepting traffic for all of the domains that are associated with the certificate.
  440. */
  441. detachCertificateFromDistribution(params: Lightsail.Types.DetachCertificateFromDistributionRequest, callback?: (err: AWSError, data: Lightsail.Types.DetachCertificateFromDistributionResult) => void): Request<Lightsail.Types.DetachCertificateFromDistributionResult, AWSError>;
  442. /**
  443. * Detaches an SSL/TLS certificate from your Amazon Lightsail content delivery network (CDN) distribution. After the certificate is detached, your distribution stops accepting traffic for all of the domains that are associated with the certificate.
  444. */
  445. detachCertificateFromDistribution(callback?: (err: AWSError, data: Lightsail.Types.DetachCertificateFromDistributionResult) => void): Request<Lightsail.Types.DetachCertificateFromDistributionResult, AWSError>;
  446. /**
  447. * Detaches a stopped block storage disk from a Lightsail instance. Make sure to unmount any file systems on the device within your operating system before stopping the instance and detaching the disk. The detach disk operation supports tag-based access control via resource tags applied to the resource identified by disk name. For more information, see the Amazon Lightsail Developer Guide.
  448. */
  449. detachDisk(params: Lightsail.Types.DetachDiskRequest, callback?: (err: AWSError, data: Lightsail.Types.DetachDiskResult) => void): Request<Lightsail.Types.DetachDiskResult, AWSError>;
  450. /**
  451. * Detaches a stopped block storage disk from a Lightsail instance. Make sure to unmount any file systems on the device within your operating system before stopping the instance and detaching the disk. The detach disk operation supports tag-based access control via resource tags applied to the resource identified by disk name. For more information, see the Amazon Lightsail Developer Guide.
  452. */
  453. detachDisk(callback?: (err: AWSError, data: Lightsail.Types.DetachDiskResult) => void): Request<Lightsail.Types.DetachDiskResult, AWSError>;
  454. /**
  455. * Detaches the specified instances from a Lightsail load balancer. This operation waits until the instances are no longer needed before they are detached from the load balancer. The detach instances from load balancer operation supports tag-based access control via resource tags applied to the resource identified by load balancer name. For more information, see the Amazon Lightsail Developer Guide.
  456. */
  457. detachInstancesFromLoadBalancer(params: Lightsail.Types.DetachInstancesFromLoadBalancerRequest, callback?: (err: AWSError, data: Lightsail.Types.DetachInstancesFromLoadBalancerResult) => void): Request<Lightsail.Types.DetachInstancesFromLoadBalancerResult, AWSError>;
  458. /**
  459. * Detaches the specified instances from a Lightsail load balancer. This operation waits until the instances are no longer needed before they are detached from the load balancer. The detach instances from load balancer operation supports tag-based access control via resource tags applied to the resource identified by load balancer name. For more information, see the Amazon Lightsail Developer Guide.
  460. */
  461. detachInstancesFromLoadBalancer(callback?: (err: AWSError, data: Lightsail.Types.DetachInstancesFromLoadBalancerResult) => void): Request<Lightsail.Types.DetachInstancesFromLoadBalancerResult, AWSError>;
  462. /**
  463. * Detaches a static IP from the Amazon Lightsail instance to which it is attached.
  464. */
  465. detachStaticIp(params: Lightsail.Types.DetachStaticIpRequest, callback?: (err: AWSError, data: Lightsail.Types.DetachStaticIpResult) => void): Request<Lightsail.Types.DetachStaticIpResult, AWSError>;
  466. /**
  467. * Detaches a static IP from the Amazon Lightsail instance to which it is attached.
  468. */
  469. detachStaticIp(callback?: (err: AWSError, data: Lightsail.Types.DetachStaticIpResult) => void): Request<Lightsail.Types.DetachStaticIpResult, AWSError>;
  470. /**
  471. * Disables an add-on for an Amazon Lightsail resource. For more information, see the Amazon Lightsail Developer Guide.
  472. */
  473. disableAddOn(params: Lightsail.Types.DisableAddOnRequest, callback?: (err: AWSError, data: Lightsail.Types.DisableAddOnResult) => void): Request<Lightsail.Types.DisableAddOnResult, AWSError>;
  474. /**
  475. * Disables an add-on for an Amazon Lightsail resource. For more information, see the Amazon Lightsail Developer Guide.
  476. */
  477. disableAddOn(callback?: (err: AWSError, data: Lightsail.Types.DisableAddOnResult) => void): Request<Lightsail.Types.DisableAddOnResult, AWSError>;
  478. /**
  479. * Downloads the regional Amazon Lightsail default key pair. This action also creates a Lightsail default key pair if a default key pair does not currently exist in the Amazon Web Services Region.
  480. */
  481. downloadDefaultKeyPair(params: Lightsail.Types.DownloadDefaultKeyPairRequest, callback?: (err: AWSError, data: Lightsail.Types.DownloadDefaultKeyPairResult) => void): Request<Lightsail.Types.DownloadDefaultKeyPairResult, AWSError>;
  482. /**
  483. * Downloads the regional Amazon Lightsail default key pair. This action also creates a Lightsail default key pair if a default key pair does not currently exist in the Amazon Web Services Region.
  484. */
  485. downloadDefaultKeyPair(callback?: (err: AWSError, data: Lightsail.Types.DownloadDefaultKeyPairResult) => void): Request<Lightsail.Types.DownloadDefaultKeyPairResult, AWSError>;
  486. /**
  487. * Enables or modifies an add-on for an Amazon Lightsail resource. For more information, see the Amazon Lightsail Developer Guide.
  488. */
  489. enableAddOn(params: Lightsail.Types.EnableAddOnRequest, callback?: (err: AWSError, data: Lightsail.Types.EnableAddOnResult) => void): Request<Lightsail.Types.EnableAddOnResult, AWSError>;
  490. /**
  491. * Enables or modifies an add-on for an Amazon Lightsail resource. For more information, see the Amazon Lightsail Developer Guide.
  492. */
  493. enableAddOn(callback?: (err: AWSError, data: Lightsail.Types.EnableAddOnResult) => void): Request<Lightsail.Types.EnableAddOnResult, AWSError>;
  494. /**
  495. * Exports an Amazon Lightsail instance or block storage disk snapshot to Amazon Elastic Compute Cloud (Amazon EC2). This operation results in an export snapshot record that can be used with the create cloud formation stack operation to create new Amazon EC2 instances. Exported instance snapshots appear in Amazon EC2 as Amazon Machine Images (AMIs), and the instance system disk appears as an Amazon Elastic Block Store (Amazon EBS) volume. Exported disk snapshots appear in Amazon EC2 as Amazon EBS volumes. Snapshots are exported to the same Amazon Web Services Region in Amazon EC2 as the source Lightsail snapshot. The export snapshot operation supports tag-based access control via resource tags applied to the resource identified by source snapshot name. For more information, see the Amazon Lightsail Developer Guide. Use the get instance snapshots or get disk snapshots operations to get a list of snapshots that you can export to Amazon EC2.
  496. */
  497. exportSnapshot(params: Lightsail.Types.ExportSnapshotRequest, callback?: (err: AWSError, data: Lightsail.Types.ExportSnapshotResult) => void): Request<Lightsail.Types.ExportSnapshotResult, AWSError>;
  498. /**
  499. * Exports an Amazon Lightsail instance or block storage disk snapshot to Amazon Elastic Compute Cloud (Amazon EC2). This operation results in an export snapshot record that can be used with the create cloud formation stack operation to create new Amazon EC2 instances. Exported instance snapshots appear in Amazon EC2 as Amazon Machine Images (AMIs), and the instance system disk appears as an Amazon Elastic Block Store (Amazon EBS) volume. Exported disk snapshots appear in Amazon EC2 as Amazon EBS volumes. Snapshots are exported to the same Amazon Web Services Region in Amazon EC2 as the source Lightsail snapshot. The export snapshot operation supports tag-based access control via resource tags applied to the resource identified by source snapshot name. For more information, see the Amazon Lightsail Developer Guide. Use the get instance snapshots or get disk snapshots operations to get a list of snapshots that you can export to Amazon EC2.
  500. */
  501. exportSnapshot(callback?: (err: AWSError, data: Lightsail.Types.ExportSnapshotResult) => void): Request<Lightsail.Types.ExportSnapshotResult, AWSError>;
  502. /**
  503. * Returns the names of all active (not deleted) resources.
  504. */
  505. getActiveNames(params: Lightsail.Types.GetActiveNamesRequest, callback?: (err: AWSError, data: Lightsail.Types.GetActiveNamesResult) => void): Request<Lightsail.Types.GetActiveNamesResult, AWSError>;
  506. /**
  507. * Returns the names of all active (not deleted) resources.
  508. */
  509. getActiveNames(callback?: (err: AWSError, data: Lightsail.Types.GetActiveNamesResult) => void): Request<Lightsail.Types.GetActiveNamesResult, AWSError>;
  510. /**
  511. * Returns information about the configured alarms. Specify an alarm name in your request to return information about a specific alarm, or specify a monitored resource name to return information about all alarms for a specific resource. An alarm is used to monitor a single metric for one of your resources. When a metric condition is met, the alarm can notify you by email, SMS text message, and a banner displayed on the Amazon Lightsail console. For more information, see Alarms in Amazon Lightsail.
  512. */
  513. getAlarms(params: Lightsail.Types.GetAlarmsRequest, callback?: (err: AWSError, data: Lightsail.Types.GetAlarmsResult) => void): Request<Lightsail.Types.GetAlarmsResult, AWSError>;
  514. /**
  515. * Returns information about the configured alarms. Specify an alarm name in your request to return information about a specific alarm, or specify a monitored resource name to return information about all alarms for a specific resource. An alarm is used to monitor a single metric for one of your resources. When a metric condition is met, the alarm can notify you by email, SMS text message, and a banner displayed on the Amazon Lightsail console. For more information, see Alarms in Amazon Lightsail.
  516. */
  517. getAlarms(callback?: (err: AWSError, data: Lightsail.Types.GetAlarmsResult) => void): Request<Lightsail.Types.GetAlarmsResult, AWSError>;
  518. /**
  519. * Returns the available automatic snapshots for an instance or disk. For more information, see the Amazon Lightsail Developer Guide.
  520. */
  521. getAutoSnapshots(params: Lightsail.Types.GetAutoSnapshotsRequest, callback?: (err: AWSError, data: Lightsail.Types.GetAutoSnapshotsResult) => void): Request<Lightsail.Types.GetAutoSnapshotsResult, AWSError>;
  522. /**
  523. * Returns the available automatic snapshots for an instance or disk. For more information, see the Amazon Lightsail Developer Guide.
  524. */
  525. getAutoSnapshots(callback?: (err: AWSError, data: Lightsail.Types.GetAutoSnapshotsResult) => void): Request<Lightsail.Types.GetAutoSnapshotsResult, AWSError>;
  526. /**
  527. * Returns the list of available instance images, or blueprints. You can use a blueprint to create a new instance already running a specific operating system, as well as a preinstalled app or development stack. The software each instance is running depends on the blueprint image you choose. Use active blueprints when creating new instances. Inactive blueprints are listed to support customers with existing instances and are not necessarily available to create new instances. Blueprints are marked inactive when they become outdated due to operating system updates or new application releases.
  528. */
  529. getBlueprints(params: Lightsail.Types.GetBlueprintsRequest, callback?: (err: AWSError, data: Lightsail.Types.GetBlueprintsResult) => void): Request<Lightsail.Types.GetBlueprintsResult, AWSError>;
  530. /**
  531. * Returns the list of available instance images, or blueprints. You can use a blueprint to create a new instance already running a specific operating system, as well as a preinstalled app or development stack. The software each instance is running depends on the blueprint image you choose. Use active blueprints when creating new instances. Inactive blueprints are listed to support customers with existing instances and are not necessarily available to create new instances. Blueprints are marked inactive when they become outdated due to operating system updates or new application releases.
  532. */
  533. getBlueprints(callback?: (err: AWSError, data: Lightsail.Types.GetBlueprintsResult) => void): Request<Lightsail.Types.GetBlueprintsResult, AWSError>;
  534. /**
  535. * Returns the existing access key IDs for the specified Amazon Lightsail bucket. This action does not return the secret access key value of an access key. You can get a secret access key only when you create it from the response of the CreateBucketAccessKey action. If you lose the secret access key, you must create a new access key.
  536. */
  537. getBucketAccessKeys(params: Lightsail.Types.GetBucketAccessKeysRequest, callback?: (err: AWSError, data: Lightsail.Types.GetBucketAccessKeysResult) => void): Request<Lightsail.Types.GetBucketAccessKeysResult, AWSError>;
  538. /**
  539. * Returns the existing access key IDs for the specified Amazon Lightsail bucket. This action does not return the secret access key value of an access key. You can get a secret access key only when you create it from the response of the CreateBucketAccessKey action. If you lose the secret access key, you must create a new access key.
  540. */
  541. getBucketAccessKeys(callback?: (err: AWSError, data: Lightsail.Types.GetBucketAccessKeysResult) => void): Request<Lightsail.Types.GetBucketAccessKeysResult, AWSError>;
  542. /**
  543. * Returns the bundles that you can apply to a Amazon Lightsail bucket. The bucket bundle specifies the monthly cost, storage quota, and data transfer quota for a bucket. Use the UpdateBucketBundle action to update the bundle for a bucket.
  544. */
  545. getBucketBundles(params: Lightsail.Types.GetBucketBundlesRequest, callback?: (err: AWSError, data: Lightsail.Types.GetBucketBundlesResult) => void): Request<Lightsail.Types.GetBucketBundlesResult, AWSError>;
  546. /**
  547. * Returns the bundles that you can apply to a Amazon Lightsail bucket. The bucket bundle specifies the monthly cost, storage quota, and data transfer quota for a bucket. Use the UpdateBucketBundle action to update the bundle for a bucket.
  548. */
  549. getBucketBundles(callback?: (err: AWSError, data: Lightsail.Types.GetBucketBundlesResult) => void): Request<Lightsail.Types.GetBucketBundlesResult, AWSError>;
  550. /**
  551. * Returns the data points of a specific metric for an Amazon Lightsail bucket. Metrics report the utilization of a bucket. View and collect metric data regularly to monitor the number of objects stored in a bucket (including object versions) and the storage space used by those objects.
  552. */
  553. getBucketMetricData(params: Lightsail.Types.GetBucketMetricDataRequest, callback?: (err: AWSError, data: Lightsail.Types.GetBucketMetricDataResult) => void): Request<Lightsail.Types.GetBucketMetricDataResult, AWSError>;
  554. /**
  555. * Returns the data points of a specific metric for an Amazon Lightsail bucket. Metrics report the utilization of a bucket. View and collect metric data regularly to monitor the number of objects stored in a bucket (including object versions) and the storage space used by those objects.
  556. */
  557. getBucketMetricData(callback?: (err: AWSError, data: Lightsail.Types.GetBucketMetricDataResult) => void): Request<Lightsail.Types.GetBucketMetricDataResult, AWSError>;
  558. /**
  559. * Returns information about one or more Amazon Lightsail buckets. The information returned includes the synchronization status of the Amazon Simple Storage Service (Amazon S3) account-level block public access feature for your Lightsail buckets. For more information about buckets, see Buckets in Amazon Lightsail in the Amazon Lightsail Developer Guide.
  560. */
  561. getBuckets(params: Lightsail.Types.GetBucketsRequest, callback?: (err: AWSError, data: Lightsail.Types.GetBucketsResult) => void): Request<Lightsail.Types.GetBucketsResult, AWSError>;
  562. /**
  563. * Returns information about one or more Amazon Lightsail buckets. The information returned includes the synchronization status of the Amazon Simple Storage Service (Amazon S3) account-level block public access feature for your Lightsail buckets. For more information about buckets, see Buckets in Amazon Lightsail in the Amazon Lightsail Developer Guide.
  564. */
  565. getBuckets(callback?: (err: AWSError, data: Lightsail.Types.GetBucketsResult) => void): Request<Lightsail.Types.GetBucketsResult, AWSError>;
  566. /**
  567. * Returns the bundles that you can apply to an Amazon Lightsail instance when you create it. A bundle describes the specifications of an instance, such as the monthly cost, amount of memory, the number of vCPUs, amount of storage space, and monthly network data transfer quota. Bundles are referred to as instance plans in the Lightsail console.
  568. */
  569. getBundles(params: Lightsail.Types.GetBundlesRequest, callback?: (err: AWSError, data: Lightsail.Types.GetBundlesResult) => void): Request<Lightsail.Types.GetBundlesResult, AWSError>;
  570. /**
  571. * Returns the bundles that you can apply to an Amazon Lightsail instance when you create it. A bundle describes the specifications of an instance, such as the monthly cost, amount of memory, the number of vCPUs, amount of storage space, and monthly network data transfer quota. Bundles are referred to as instance plans in the Lightsail console.
  572. */
  573. getBundles(callback?: (err: AWSError, data: Lightsail.Types.GetBundlesResult) => void): Request<Lightsail.Types.GetBundlesResult, AWSError>;
  574. /**
  575. * Returns information about one or more Amazon Lightsail SSL/TLS certificates. To get a summary of a certificate, omit includeCertificateDetails from your request. The response will include only the certificate Amazon Resource Name (ARN), certificate name, domain name, and tags.
  576. */
  577. getCertificates(params: Lightsail.Types.GetCertificatesRequest, callback?: (err: AWSError, data: Lightsail.Types.GetCertificatesResult) => void): Request<Lightsail.Types.GetCertificatesResult, AWSError>;
  578. /**
  579. * Returns information about one or more Amazon Lightsail SSL/TLS certificates. To get a summary of a certificate, omit includeCertificateDetails from your request. The response will include only the certificate Amazon Resource Name (ARN), certificate name, domain name, and tags.
  580. */
  581. getCertificates(callback?: (err: AWSError, data: Lightsail.Types.GetCertificatesResult) => void): Request<Lightsail.Types.GetCertificatesResult, AWSError>;
  582. /**
  583. * Returns the CloudFormation stack record created as a result of the create cloud formation stack operation. An AWS CloudFormation stack is used to create a new Amazon EC2 instance from an exported Lightsail snapshot.
  584. */
  585. getCloudFormationStackRecords(params: Lightsail.Types.GetCloudFormationStackRecordsRequest, callback?: (err: AWSError, data: Lightsail.Types.GetCloudFormationStackRecordsResult) => void): Request<Lightsail.Types.GetCloudFormationStackRecordsResult, AWSError>;
  586. /**
  587. * Returns the CloudFormation stack record created as a result of the create cloud formation stack operation. An AWS CloudFormation stack is used to create a new Amazon EC2 instance from an exported Lightsail snapshot.
  588. */
  589. getCloudFormationStackRecords(callback?: (err: AWSError, data: Lightsail.Types.GetCloudFormationStackRecordsResult) => void): Request<Lightsail.Types.GetCloudFormationStackRecordsResult, AWSError>;
  590. /**
  591. * Returns information about the configured contact methods. Specify a protocol in your request to return information about a specific contact method. A contact method is used to send you notifications about your Amazon Lightsail resources. You can add one email address and one mobile phone number contact method in each Amazon Web Services Region. However, SMS text messaging is not supported in some Amazon Web Services Regions, and SMS text messages cannot be sent to some countries/regions. For more information, see Notifications in Amazon Lightsail.
  592. */
  593. getContactMethods(params: Lightsail.Types.GetContactMethodsRequest, callback?: (err: AWSError, data: Lightsail.Types.GetContactMethodsResult) => void): Request<Lightsail.Types.GetContactMethodsResult, AWSError>;
  594. /**
  595. * Returns information about the configured contact methods. Specify a protocol in your request to return information about a specific contact method. A contact method is used to send you notifications about your Amazon Lightsail resources. You can add one email address and one mobile phone number contact method in each Amazon Web Services Region. However, SMS text messaging is not supported in some Amazon Web Services Regions, and SMS text messages cannot be sent to some countries/regions. For more information, see Notifications in Amazon Lightsail.
  596. */
  597. getContactMethods(callback?: (err: AWSError, data: Lightsail.Types.GetContactMethodsResult) => void): Request<Lightsail.Types.GetContactMethodsResult, AWSError>;
  598. /**
  599. * Returns information about Amazon Lightsail containers, such as the current version of the Lightsail Control (lightsailctl) plugin.
  600. */
  601. getContainerAPIMetadata(params: Lightsail.Types.GetContainerAPIMetadataRequest, callback?: (err: AWSError, data: Lightsail.Types.GetContainerAPIMetadataResult) => void): Request<Lightsail.Types.GetContainerAPIMetadataResult, AWSError>;
  602. /**
  603. * Returns information about Amazon Lightsail containers, such as the current version of the Lightsail Control (lightsailctl) plugin.
  604. */
  605. getContainerAPIMetadata(callback?: (err: AWSError, data: Lightsail.Types.GetContainerAPIMetadataResult) => void): Request<Lightsail.Types.GetContainerAPIMetadataResult, AWSError>;
  606. /**
  607. * Returns the container images that are registered to your Amazon Lightsail container service. If you created a deployment on your Lightsail container service that uses container images from a public registry like Docker Hub, those images are not returned as part of this action. Those images are not registered to your Lightsail container service.
  608. */
  609. getContainerImages(params: Lightsail.Types.GetContainerImagesRequest, callback?: (err: AWSError, data: Lightsail.Types.GetContainerImagesResult) => void): Request<Lightsail.Types.GetContainerImagesResult, AWSError>;
  610. /**
  611. * Returns the container images that are registered to your Amazon Lightsail container service. If you created a deployment on your Lightsail container service that uses container images from a public registry like Docker Hub, those images are not returned as part of this action. Those images are not registered to your Lightsail container service.
  612. */
  613. getContainerImages(callback?: (err: AWSError, data: Lightsail.Types.GetContainerImagesResult) => void): Request<Lightsail.Types.GetContainerImagesResult, AWSError>;
  614. /**
  615. * Returns the log events of a container of your Amazon Lightsail container service. If your container service has more than one node (i.e., a scale greater than 1), then the log events that are returned for the specified container are merged from all nodes on your container service. Container logs are retained for a certain amount of time. For more information, see Amazon Lightsail endpoints and quotas in the Amazon Web Services General Reference.
  616. */
  617. getContainerLog(params: Lightsail.Types.GetContainerLogRequest, callback?: (err: AWSError, data: Lightsail.Types.GetContainerLogResult) => void): Request<Lightsail.Types.GetContainerLogResult, AWSError>;
  618. /**
  619. * Returns the log events of a container of your Amazon Lightsail container service. If your container service has more than one node (i.e., a scale greater than 1), then the log events that are returned for the specified container are merged from all nodes on your container service. Container logs are retained for a certain amount of time. For more information, see Amazon Lightsail endpoints and quotas in the Amazon Web Services General Reference.
  620. */
  621. getContainerLog(callback?: (err: AWSError, data: Lightsail.Types.GetContainerLogResult) => void): Request<Lightsail.Types.GetContainerLogResult, AWSError>;
  622. /**
  623. * Returns the deployments for your Amazon Lightsail container service A deployment specifies the settings, such as the ports and launch command, of containers that are deployed to your container service. The deployments are ordered by version in ascending order. The newest version is listed at the top of the response. A set number of deployments are kept before the oldest one is replaced with the newest one. For more information, see Amazon Lightsail endpoints and quotas in the Amazon Web Services General Reference.
  624. */
  625. getContainerServiceDeployments(params: Lightsail.Types.GetContainerServiceDeploymentsRequest, callback?: (err: AWSError, data: Lightsail.Types.GetContainerServiceDeploymentsResult) => void): Request<Lightsail.Types.GetContainerServiceDeploymentsResult, AWSError>;
  626. /**
  627. * Returns the deployments for your Amazon Lightsail container service A deployment specifies the settings, such as the ports and launch command, of containers that are deployed to your container service. The deployments are ordered by version in ascending order. The newest version is listed at the top of the response. A set number of deployments are kept before the oldest one is replaced with the newest one. For more information, see Amazon Lightsail endpoints and quotas in the Amazon Web Services General Reference.
  628. */
  629. getContainerServiceDeployments(callback?: (err: AWSError, data: Lightsail.Types.GetContainerServiceDeploymentsResult) => void): Request<Lightsail.Types.GetContainerServiceDeploymentsResult, AWSError>;
  630. /**
  631. * Returns the data points of a specific metric of your Amazon Lightsail container service. Metrics report the utilization of your resources. Monitor and collect metric data regularly to maintain the reliability, availability, and performance of your resources.
  632. */
  633. getContainerServiceMetricData(params: Lightsail.Types.GetContainerServiceMetricDataRequest, callback?: (err: AWSError, data: Lightsail.Types.GetContainerServiceMetricDataResult) => void): Request<Lightsail.Types.GetContainerServiceMetricDataResult, AWSError>;
  634. /**
  635. * Returns the data points of a specific metric of your Amazon Lightsail container service. Metrics report the utilization of your resources. Monitor and collect metric data regularly to maintain the reliability, availability, and performance of your resources.
  636. */
  637. getContainerServiceMetricData(callback?: (err: AWSError, data: Lightsail.Types.GetContainerServiceMetricDataResult) => void): Request<Lightsail.Types.GetContainerServiceMetricDataResult, AWSError>;
  638. /**
  639. * Returns the list of powers that can be specified for your Amazon Lightsail container services. The power specifies the amount of memory, the number of vCPUs, and the base price of the container service.
  640. */
  641. getContainerServicePowers(params: Lightsail.Types.GetContainerServicePowersRequest, callback?: (err: AWSError, data: Lightsail.Types.GetContainerServicePowersResult) => void): Request<Lightsail.Types.GetContainerServicePowersResult, AWSError>;
  642. /**
  643. * Returns the list of powers that can be specified for your Amazon Lightsail container services. The power specifies the amount of memory, the number of vCPUs, and the base price of the container service.
  644. */
  645. getContainerServicePowers(callback?: (err: AWSError, data: Lightsail.Types.GetContainerServicePowersResult) => void): Request<Lightsail.Types.GetContainerServicePowersResult, AWSError>;
  646. /**
  647. * Returns information about one or more of your Amazon Lightsail container services.
  648. */
  649. getContainerServices(params: Lightsail.Types.GetContainerServicesRequest, callback?: (err: AWSError, data: Lightsail.Types.ContainerServicesListResult) => void): Request<Lightsail.Types.ContainerServicesListResult, AWSError>;
  650. /**
  651. * Returns information about one or more of your Amazon Lightsail container services.
  652. */
  653. getContainerServices(callback?: (err: AWSError, data: Lightsail.Types.ContainerServicesListResult) => void): Request<Lightsail.Types.ContainerServicesListResult, AWSError>;
  654. /**
  655. * Retrieves information about the cost estimate for a specified resource. A cost estimate will not generate for a resource that has been deleted.
  656. */
  657. getCostEstimate(params: Lightsail.Types.GetCostEstimateRequest, callback?: (err: AWSError, data: Lightsail.Types.GetCostEstimateResult) => void): Request<Lightsail.Types.GetCostEstimateResult, AWSError>;
  658. /**
  659. * Retrieves information about the cost estimate for a specified resource. A cost estimate will not generate for a resource that has been deleted.
  660. */
  661. getCostEstimate(callback?: (err: AWSError, data: Lightsail.Types.GetCostEstimateResult) => void): Request<Lightsail.Types.GetCostEstimateResult, AWSError>;
  662. /**
  663. * Returns information about a specific block storage disk.
  664. */
  665. getDisk(params: Lightsail.Types.GetDiskRequest, callback?: (err: AWSError, data: Lightsail.Types.GetDiskResult) => void): Request<Lightsail.Types.GetDiskResult, AWSError>;
  666. /**
  667. * Returns information about a specific block storage disk.
  668. */
  669. getDisk(callback?: (err: AWSError, data: Lightsail.Types.GetDiskResult) => void): Request<Lightsail.Types.GetDiskResult, AWSError>;
  670. /**
  671. * Returns information about a specific block storage disk snapshot.
  672. */
  673. getDiskSnapshot(params: Lightsail.Types.GetDiskSnapshotRequest, callback?: (err: AWSError, data: Lightsail.Types.GetDiskSnapshotResult) => void): Request<Lightsail.Types.GetDiskSnapshotResult, AWSError>;
  674. /**
  675. * Returns information about a specific block storage disk snapshot.
  676. */
  677. getDiskSnapshot(callback?: (err: AWSError, data: Lightsail.Types.GetDiskSnapshotResult) => void): Request<Lightsail.Types.GetDiskSnapshotResult, AWSError>;
  678. /**
  679. * Returns information about all block storage disk snapshots in your AWS account and region.
  680. */
  681. getDiskSnapshots(params: Lightsail.Types.GetDiskSnapshotsRequest, callback?: (err: AWSError, data: Lightsail.Types.GetDiskSnapshotsResult) => void): Request<Lightsail.Types.GetDiskSnapshotsResult, AWSError>;
  682. /**
  683. * Returns information about all block storage disk snapshots in your AWS account and region.
  684. */
  685. getDiskSnapshots(callback?: (err: AWSError, data: Lightsail.Types.GetDiskSnapshotsResult) => void): Request<Lightsail.Types.GetDiskSnapshotsResult, AWSError>;
  686. /**
  687. * Returns information about all block storage disks in your AWS account and region.
  688. */
  689. getDisks(params: Lightsail.Types.GetDisksRequest, callback?: (err: AWSError, data: Lightsail.Types.GetDisksResult) => void): Request<Lightsail.Types.GetDisksResult, AWSError>;
  690. /**
  691. * Returns information about all block storage disks in your AWS account and region.
  692. */
  693. getDisks(callback?: (err: AWSError, data: Lightsail.Types.GetDisksResult) => void): Request<Lightsail.Types.GetDisksResult, AWSError>;
  694. /**
  695. * Returns the bundles that can be applied to your Amazon Lightsail content delivery network (CDN) distributions. A distribution bundle specifies the monthly network transfer quota and monthly cost of your distribution.
  696. */
  697. getDistributionBundles(params: Lightsail.Types.GetDistributionBundlesRequest, callback?: (err: AWSError, data: Lightsail.Types.GetDistributionBundlesResult) => void): Request<Lightsail.Types.GetDistributionBundlesResult, AWSError>;
  698. /**
  699. * Returns the bundles that can be applied to your Amazon Lightsail content delivery network (CDN) distributions. A distribution bundle specifies the monthly network transfer quota and monthly cost of your distribution.
  700. */
  701. getDistributionBundles(callback?: (err: AWSError, data: Lightsail.Types.GetDistributionBundlesResult) => void): Request<Lightsail.Types.GetDistributionBundlesResult, AWSError>;
  702. /**
  703. * Returns the timestamp and status of the last cache reset of a specific Amazon Lightsail content delivery network (CDN) distribution.
  704. */
  705. getDistributionLatestCacheReset(params: Lightsail.Types.GetDistributionLatestCacheResetRequest, callback?: (err: AWSError, data: Lightsail.Types.GetDistributionLatestCacheResetResult) => void): Request<Lightsail.Types.GetDistributionLatestCacheResetResult, AWSError>;
  706. /**
  707. * Returns the timestamp and status of the last cache reset of a specific Amazon Lightsail content delivery network (CDN) distribution.
  708. */
  709. getDistributionLatestCacheReset(callback?: (err: AWSError, data: Lightsail.Types.GetDistributionLatestCacheResetResult) => void): Request<Lightsail.Types.GetDistributionLatestCacheResetResult, AWSError>;
  710. /**
  711. * Returns the data points of a specific metric for an Amazon Lightsail content delivery network (CDN) distribution. Metrics report the utilization of your resources, and the error counts generated by them. Monitor and collect metric data regularly to maintain the reliability, availability, and performance of your resources.
  712. */
  713. getDistributionMetricData(params: Lightsail.Types.GetDistributionMetricDataRequest, callback?: (err: AWSError, data: Lightsail.Types.GetDistributionMetricDataResult) => void): Request<Lightsail.Types.GetDistributionMetricDataResult, AWSError>;
  714. /**
  715. * Returns the data points of a specific metric for an Amazon Lightsail content delivery network (CDN) distribution. Metrics report the utilization of your resources, and the error counts generated by them. Monitor and collect metric data regularly to maintain the reliability, availability, and performance of your resources.
  716. */
  717. getDistributionMetricData(callback?: (err: AWSError, data: Lightsail.Types.GetDistributionMetricDataResult) => void): Request<Lightsail.Types.GetDistributionMetricDataResult, AWSError>;
  718. /**
  719. * Returns information about one or more of your Amazon Lightsail content delivery network (CDN) distributions.
  720. */
  721. getDistributions(params: Lightsail.Types.GetDistributionsRequest, callback?: (err: AWSError, data: Lightsail.Types.GetDistributionsResult) => void): Request<Lightsail.Types.GetDistributionsResult, AWSError>;
  722. /**
  723. * Returns information about one or more of your Amazon Lightsail content delivery network (CDN) distributions.
  724. */
  725. getDistributions(callback?: (err: AWSError, data: Lightsail.Types.GetDistributionsResult) => void): Request<Lightsail.Types.GetDistributionsResult, AWSError>;
  726. /**
  727. * Returns information about a specific domain recordset.
  728. */
  729. getDomain(params: Lightsail.Types.GetDomainRequest, callback?: (err: AWSError, data: Lightsail.Types.GetDomainResult) => void): Request<Lightsail.Types.GetDomainResult, AWSError>;
  730. /**
  731. * Returns information about a specific domain recordset.
  732. */
  733. getDomain(callback?: (err: AWSError, data: Lightsail.Types.GetDomainResult) => void): Request<Lightsail.Types.GetDomainResult, AWSError>;
  734. /**
  735. * Returns a list of all domains in the user's account.
  736. */
  737. getDomains(params: Lightsail.Types.GetDomainsRequest, callback?: (err: AWSError, data: Lightsail.Types.GetDomainsResult) => void): Request<Lightsail.Types.GetDomainsResult, AWSError>;
  738. /**
  739. * Returns a list of all domains in the user's account.
  740. */
  741. getDomains(callback?: (err: AWSError, data: Lightsail.Types.GetDomainsResult) => void): Request<Lightsail.Types.GetDomainsResult, AWSError>;
  742. /**
  743. * Returns all export snapshot records created as a result of the export snapshot operation. An export snapshot record can be used to create a new Amazon EC2 instance and its related resources with the CreateCloudFormationStack action.
  744. */
  745. getExportSnapshotRecords(params: Lightsail.Types.GetExportSnapshotRecordsRequest, callback?: (err: AWSError, data: Lightsail.Types.GetExportSnapshotRecordsResult) => void): Request<Lightsail.Types.GetExportSnapshotRecordsResult, AWSError>;
  746. /**
  747. * Returns all export snapshot records created as a result of the export snapshot operation. An export snapshot record can be used to create a new Amazon EC2 instance and its related resources with the CreateCloudFormationStack action.
  748. */
  749. getExportSnapshotRecords(callback?: (err: AWSError, data: Lightsail.Types.GetExportSnapshotRecordsResult) => void): Request<Lightsail.Types.GetExportSnapshotRecordsResult, AWSError>;
  750. /**
  751. * Returns information about a specific Amazon Lightsail instance, which is a virtual private server.
  752. */
  753. getInstance(params: Lightsail.Types.GetInstanceRequest, callback?: (err: AWSError, data: Lightsail.Types.GetInstanceResult) => void): Request<Lightsail.Types.GetInstanceResult, AWSError>;
  754. /**
  755. * Returns information about a specific Amazon Lightsail instance, which is a virtual private server.
  756. */
  757. getInstance(callback?: (err: AWSError, data: Lightsail.Types.GetInstanceResult) => void): Request<Lightsail.Types.GetInstanceResult, AWSError>;
  758. /**
  759. * Returns temporary SSH keys you can use to connect to a specific virtual private server, or instance. The get instance access details operation supports tag-based access control via resource tags applied to the resource identified by instance name. For more information, see the Amazon Lightsail Developer Guide.
  760. */
  761. getInstanceAccessDetails(params: Lightsail.Types.GetInstanceAccessDetailsRequest, callback?: (err: AWSError, data: Lightsail.Types.GetInstanceAccessDetailsResult) => void): Request<Lightsail.Types.GetInstanceAccessDetailsResult, AWSError>;
  762. /**
  763. * Returns temporary SSH keys you can use to connect to a specific virtual private server, or instance. The get instance access details operation supports tag-based access control via resource tags applied to the resource identified by instance name. For more information, see the Amazon Lightsail Developer Guide.
  764. */
  765. getInstanceAccessDetails(callback?: (err: AWSError, data: Lightsail.Types.GetInstanceAccessDetailsResult) => void): Request<Lightsail.Types.GetInstanceAccessDetailsResult, AWSError>;
  766. /**
  767. * Returns the data points for the specified Amazon Lightsail instance metric, given an instance name. Metrics report the utilization of your resources, and the error counts generated by them. Monitor and collect metric data regularly to maintain the reliability, availability, and performance of your resources.
  768. */
  769. getInstanceMetricData(params: Lightsail.Types.GetInstanceMetricDataRequest, callback?: (err: AWSError, data: Lightsail.Types.GetInstanceMetricDataResult) => void): Request<Lightsail.Types.GetInstanceMetricDataResult, AWSError>;
  770. /**
  771. * Returns the data points for the specified Amazon Lightsail instance metric, given an instance name. Metrics report the utilization of your resources, and the error counts generated by them. Monitor and collect metric data regularly to maintain the reliability, availability, and performance of your resources.
  772. */
  773. getInstanceMetricData(callback?: (err: AWSError, data: Lightsail.Types.GetInstanceMetricDataResult) => void): Request<Lightsail.Types.GetInstanceMetricDataResult, AWSError>;
  774. /**
  775. * Returns the firewall port states for a specific Amazon Lightsail instance, the IP addresses allowed to connect to the instance through the ports, and the protocol.
  776. */
  777. getInstancePortStates(params: Lightsail.Types.GetInstancePortStatesRequest, callback?: (err: AWSError, data: Lightsail.Types.GetInstancePortStatesResult) => void): Request<Lightsail.Types.GetInstancePortStatesResult, AWSError>;
  778. /**
  779. * Returns the firewall port states for a specific Amazon Lightsail instance, the IP addresses allowed to connect to the instance through the ports, and the protocol.
  780. */
  781. getInstancePortStates(callback?: (err: AWSError, data: Lightsail.Types.GetInstancePortStatesResult) => void): Request<Lightsail.Types.GetInstancePortStatesResult, AWSError>;
  782. /**
  783. * Returns information about a specific instance snapshot.
  784. */
  785. getInstanceSnapshot(params: Lightsail.Types.GetInstanceSnapshotRequest, callback?: (err: AWSError, data: Lightsail.Types.GetInstanceSnapshotResult) => void): Request<Lightsail.Types.GetInstanceSnapshotResult, AWSError>;
  786. /**
  787. * Returns information about a specific instance snapshot.
  788. */
  789. getInstanceSnapshot(callback?: (err: AWSError, data: Lightsail.Types.GetInstanceSnapshotResult) => void): Request<Lightsail.Types.GetInstanceSnapshotResult, AWSError>;
  790. /**
  791. * Returns all instance snapshots for the user's account.
  792. */
  793. getInstanceSnapshots(params: Lightsail.Types.GetInstanceSnapshotsRequest, callback?: (err: AWSError, data: Lightsail.Types.GetInstanceSnapshotsResult) => void): Request<Lightsail.Types.GetInstanceSnapshotsResult, AWSError>;
  794. /**
  795. * Returns all instance snapshots for the user's account.
  796. */
  797. getInstanceSnapshots(callback?: (err: AWSError, data: Lightsail.Types.GetInstanceSnapshotsResult) => void): Request<Lightsail.Types.GetInstanceSnapshotsResult, AWSError>;
  798. /**
  799. * Returns the state of a specific instance. Works on one instance at a time.
  800. */
  801. getInstanceState(params: Lightsail.Types.GetInstanceStateRequest, callback?: (err: AWSError, data: Lightsail.Types.GetInstanceStateResult) => void): Request<Lightsail.Types.GetInstanceStateResult, AWSError>;
  802. /**
  803. * Returns the state of a specific instance. Works on one instance at a time.
  804. */
  805. getInstanceState(callback?: (err: AWSError, data: Lightsail.Types.GetInstanceStateResult) => void): Request<Lightsail.Types.GetInstanceStateResult, AWSError>;
  806. /**
  807. * Returns information about all Amazon Lightsail virtual private servers, or instances.
  808. */
  809. getInstances(params: Lightsail.Types.GetInstancesRequest, callback?: (err: AWSError, data: Lightsail.Types.GetInstancesResult) => void): Request<Lightsail.Types.GetInstancesResult, AWSError>;
  810. /**
  811. * Returns information about all Amazon Lightsail virtual private servers, or instances.
  812. */
  813. getInstances(callback?: (err: AWSError, data: Lightsail.Types.GetInstancesResult) => void): Request<Lightsail.Types.GetInstancesResult, AWSError>;
  814. /**
  815. * Returns information about a specific key pair.
  816. */
  817. getKeyPair(params: Lightsail.Types.GetKeyPairRequest, callback?: (err: AWSError, data: Lightsail.Types.GetKeyPairResult) => void): Request<Lightsail.Types.GetKeyPairResult, AWSError>;
  818. /**
  819. * Returns information about a specific key pair.
  820. */
  821. getKeyPair(callback?: (err: AWSError, data: Lightsail.Types.GetKeyPairResult) => void): Request<Lightsail.Types.GetKeyPairResult, AWSError>;
  822. /**
  823. * Returns information about all key pairs in the user's account.
  824. */
  825. getKeyPairs(params: Lightsail.Types.GetKeyPairsRequest, callback?: (err: AWSError, data: Lightsail.Types.GetKeyPairsResult) => void): Request<Lightsail.Types.GetKeyPairsResult, AWSError>;
  826. /**
  827. * Returns information about all key pairs in the user's account.
  828. */
  829. getKeyPairs(callback?: (err: AWSError, data: Lightsail.Types.GetKeyPairsResult) => void): Request<Lightsail.Types.GetKeyPairsResult, AWSError>;
  830. /**
  831. * Returns information about the specified Lightsail load balancer.
  832. */
  833. getLoadBalancer(params: Lightsail.Types.GetLoadBalancerRequest, callback?: (err: AWSError, data: Lightsail.Types.GetLoadBalancerResult) => void): Request<Lightsail.Types.GetLoadBalancerResult, AWSError>;
  834. /**
  835. * Returns information about the specified Lightsail load balancer.
  836. */
  837. getLoadBalancer(callback?: (err: AWSError, data: Lightsail.Types.GetLoadBalancerResult) => void): Request<Lightsail.Types.GetLoadBalancerResult, AWSError>;
  838. /**
  839. * Returns information about health metrics for your Lightsail load balancer. Metrics report the utilization of your resources, and the error counts generated by them. Monitor and collect metric data regularly to maintain the reliability, availability, and performance of your resources.
  840. */
  841. getLoadBalancerMetricData(params: Lightsail.Types.GetLoadBalancerMetricDataRequest, callback?: (err: AWSError, data: Lightsail.Types.GetLoadBalancerMetricDataResult) => void): Request<Lightsail.Types.GetLoadBalancerMetricDataResult, AWSError>;
  842. /**
  843. * Returns information about health metrics for your Lightsail load balancer. Metrics report the utilization of your resources, and the error counts generated by them. Monitor and collect metric data regularly to maintain the reliability, availability, and performance of your resources.
  844. */
  845. getLoadBalancerMetricData(callback?: (err: AWSError, data: Lightsail.Types.GetLoadBalancerMetricDataResult) => void): Request<Lightsail.Types.GetLoadBalancerMetricDataResult, AWSError>;
  846. /**
  847. * Returns information about the TLS certificates that are associated with the specified Lightsail load balancer. TLS is just an updated, more secure version of Secure Socket Layer (SSL). You can have a maximum of 2 certificates associated with a Lightsail load balancer. One is active and the other is inactive.
  848. */
  849. getLoadBalancerTlsCertificates(params: Lightsail.Types.GetLoadBalancerTlsCertificatesRequest, callback?: (err: AWSError, data: Lightsail.Types.GetLoadBalancerTlsCertificatesResult) => void): Request<Lightsail.Types.GetLoadBalancerTlsCertificatesResult, AWSError>;
  850. /**
  851. * Returns information about the TLS certificates that are associated with the specified Lightsail load balancer. TLS is just an updated, more secure version of Secure Socket Layer (SSL). You can have a maximum of 2 certificates associated with a Lightsail load balancer. One is active and the other is inactive.
  852. */
  853. getLoadBalancerTlsCertificates(callback?: (err: AWSError, data: Lightsail.Types.GetLoadBalancerTlsCertificatesResult) => void): Request<Lightsail.Types.GetLoadBalancerTlsCertificatesResult, AWSError>;
  854. /**
  855. * Returns a list of TLS security policies that you can apply to Lightsail load balancers. For more information about load balancer TLS security policies, see Configuring TLS security policies on your Amazon Lightsail load balancers in the Amazon Lightsail Developer Guide.
  856. */
  857. getLoadBalancerTlsPolicies(params: Lightsail.Types.GetLoadBalancerTlsPoliciesRequest, callback?: (err: AWSError, data: Lightsail.Types.GetLoadBalancerTlsPoliciesResult) => void): Request<Lightsail.Types.GetLoadBalancerTlsPoliciesResult, AWSError>;
  858. /**
  859. * Returns a list of TLS security policies that you can apply to Lightsail load balancers. For more information about load balancer TLS security policies, see Configuring TLS security policies on your Amazon Lightsail load balancers in the Amazon Lightsail Developer Guide.
  860. */
  861. getLoadBalancerTlsPolicies(callback?: (err: AWSError, data: Lightsail.Types.GetLoadBalancerTlsPoliciesResult) => void): Request<Lightsail.Types.GetLoadBalancerTlsPoliciesResult, AWSError>;
  862. /**
  863. * Returns information about all load balancers in an account.
  864. */
  865. getLoadBalancers(params: Lightsail.Types.GetLoadBalancersRequest, callback?: (err: AWSError, data: Lightsail.Types.GetLoadBalancersResult) => void): Request<Lightsail.Types.GetLoadBalancersResult, AWSError>;
  866. /**
  867. * Returns information about all load balancers in an account.
  868. */
  869. getLoadBalancers(callback?: (err: AWSError, data: Lightsail.Types.GetLoadBalancersResult) => void): Request<Lightsail.Types.GetLoadBalancersResult, AWSError>;
  870. /**
  871. * Returns information about a specific operation. Operations include events such as when you create an instance, allocate a static IP, attach a static IP, and so on.
  872. */
  873. getOperation(params: Lightsail.Types.GetOperationRequest, callback?: (err: AWSError, data: Lightsail.Types.GetOperationResult) => void): Request<Lightsail.Types.GetOperationResult, AWSError>;
  874. /**
  875. * Returns information about a specific operation. Operations include events such as when you create an instance, allocate a static IP, attach a static IP, and so on.
  876. */
  877. getOperation(callback?: (err: AWSError, data: Lightsail.Types.GetOperationResult) => void): Request<Lightsail.Types.GetOperationResult, AWSError>;
  878. /**
  879. * Returns information about all operations. Results are returned from oldest to newest, up to a maximum of 200. Results can be paged by making each subsequent call to GetOperations use the maximum (last) statusChangedAt value from the previous request.
  880. */
  881. getOperations(params: Lightsail.Types.GetOperationsRequest, callback?: (err: AWSError, data: Lightsail.Types.GetOperationsResult) => void): Request<Lightsail.Types.GetOperationsResult, AWSError>;
  882. /**
  883. * Returns information about all operations. Results are returned from oldest to newest, up to a maximum of 200. Results can be paged by making each subsequent call to GetOperations use the maximum (last) statusChangedAt value from the previous request.
  884. */
  885. getOperations(callback?: (err: AWSError, data: Lightsail.Types.GetOperationsResult) => void): Request<Lightsail.Types.GetOperationsResult, AWSError>;
  886. /**
  887. * Gets operations for a specific resource (an instance or a static IP).
  888. */
  889. getOperationsForResource(params: Lightsail.Types.GetOperationsForResourceRequest, callback?: (err: AWSError, data: Lightsail.Types.GetOperationsForResourceResult) => void): Request<Lightsail.Types.GetOperationsForResourceResult, AWSError>;
  890. /**
  891. * Gets operations for a specific resource (an instance or a static IP).
  892. */
  893. getOperationsForResource(callback?: (err: AWSError, data: Lightsail.Types.GetOperationsForResourceResult) => void): Request<Lightsail.Types.GetOperationsForResourceResult, AWSError>;
  894. /**
  895. * Returns a list of all valid regions for Amazon Lightsail. Use the include availability zones parameter to also return the Availability Zones in a region.
  896. */
  897. getRegions(params: Lightsail.Types.GetRegionsRequest, callback?: (err: AWSError, data: Lightsail.Types.GetRegionsResult) => void): Request<Lightsail.Types.GetRegionsResult, AWSError>;
  898. /**
  899. * Returns a list of all valid regions for Amazon Lightsail. Use the include availability zones parameter to also return the Availability Zones in a region.
  900. */
  901. getRegions(callback?: (err: AWSError, data: Lightsail.Types.GetRegionsResult) => void): Request<Lightsail.Types.GetRegionsResult, AWSError>;
  902. /**
  903. * Returns information about a specific database in Amazon Lightsail.
  904. */
  905. getRelationalDatabase(params: Lightsail.Types.GetRelationalDatabaseRequest, callback?: (err: AWSError, data: Lightsail.Types.GetRelationalDatabaseResult) => void): Request<Lightsail.Types.GetRelationalDatabaseResult, AWSError>;
  906. /**
  907. * Returns information about a specific database in Amazon Lightsail.
  908. */
  909. getRelationalDatabase(callback?: (err: AWSError, data: Lightsail.Types.GetRelationalDatabaseResult) => void): Request<Lightsail.Types.GetRelationalDatabaseResult, AWSError>;
  910. /**
  911. * Returns a list of available database blueprints in Amazon Lightsail. A blueprint describes the major engine version of a database. You can use a blueprint ID to create a new database that runs a specific database engine.
  912. */
  913. getRelationalDatabaseBlueprints(params: Lightsail.Types.GetRelationalDatabaseBlueprintsRequest, callback?: (err: AWSError, data: Lightsail.Types.GetRelationalDatabaseBlueprintsResult) => void): Request<Lightsail.Types.GetRelationalDatabaseBlueprintsResult, AWSError>;
  914. /**
  915. * Returns a list of available database blueprints in Amazon Lightsail. A blueprint describes the major engine version of a database. You can use a blueprint ID to create a new database that runs a specific database engine.
  916. */
  917. getRelationalDatabaseBlueprints(callback?: (err: AWSError, data: Lightsail.Types.GetRelationalDatabaseBlueprintsResult) => void): Request<Lightsail.Types.GetRelationalDatabaseBlueprintsResult, AWSError>;
  918. /**
  919. * Returns the list of bundles that are available in Amazon Lightsail. A bundle describes the performance specifications for a database. You can use a bundle ID to create a new database with explicit performance specifications.
  920. */
  921. getRelationalDatabaseBundles(params: Lightsail.Types.GetRelationalDatabaseBundlesRequest, callback?: (err: AWSError, data: Lightsail.Types.GetRelationalDatabaseBundlesResult) => void): Request<Lightsail.Types.GetRelationalDatabaseBundlesResult, AWSError>;
  922. /**
  923. * Returns the list of bundles that are available in Amazon Lightsail. A bundle describes the performance specifications for a database. You can use a bundle ID to create a new database with explicit performance specifications.
  924. */
  925. getRelationalDatabaseBundles(callback?: (err: AWSError, data: Lightsail.Types.GetRelationalDatabaseBundlesResult) => void): Request<Lightsail.Types.GetRelationalDatabaseBundlesResult, AWSError>;
  926. /**
  927. * Returns a list of events for a specific database in Amazon Lightsail.
  928. */
  929. getRelationalDatabaseEvents(params: Lightsail.Types.GetRelationalDatabaseEventsRequest, callback?: (err: AWSError, data: Lightsail.Types.GetRelationalDatabaseEventsResult) => void): Request<Lightsail.Types.GetRelationalDatabaseEventsResult, AWSError>;
  930. /**
  931. * Returns a list of events for a specific database in Amazon Lightsail.
  932. */
  933. getRelationalDatabaseEvents(callback?: (err: AWSError, data: Lightsail.Types.GetRelationalDatabaseEventsResult) => void): Request<Lightsail.Types.GetRelationalDatabaseEventsResult, AWSError>;
  934. /**
  935. * Returns a list of log events for a database in Amazon Lightsail.
  936. */
  937. getRelationalDatabaseLogEvents(params: Lightsail.Types.GetRelationalDatabaseLogEventsRequest, callback?: (err: AWSError, data: Lightsail.Types.GetRelationalDatabaseLogEventsResult) => void): Request<Lightsail.Types.GetRelationalDatabaseLogEventsResult, AWSError>;
  938. /**
  939. * Returns a list of log events for a database in Amazon Lightsail.
  940. */
  941. getRelationalDatabaseLogEvents(callback?: (err: AWSError, data: Lightsail.Types.GetRelationalDatabaseLogEventsResult) => void): Request<Lightsail.Types.GetRelationalDatabaseLogEventsResult, AWSError>;
  942. /**
  943. * Returns a list of available log streams for a specific database in Amazon Lightsail.
  944. */
  945. getRelationalDatabaseLogStreams(params: Lightsail.Types.GetRelationalDatabaseLogStreamsRequest, callback?: (err: AWSError, data: Lightsail.Types.GetRelationalDatabaseLogStreamsResult) => void): Request<Lightsail.Types.GetRelationalDatabaseLogStreamsResult, AWSError>;
  946. /**
  947. * Returns a list of available log streams for a specific database in Amazon Lightsail.
  948. */
  949. getRelationalDatabaseLogStreams(callback?: (err: AWSError, data: Lightsail.Types.GetRelationalDatabaseLogStreamsResult) => void): Request<Lightsail.Types.GetRelationalDatabaseLogStreamsResult, AWSError>;
  950. /**
  951. * Returns the current, previous, or pending versions of the master user password for a Lightsail database. The GetRelationalDatabaseMasterUserPassword operation supports tag-based access control via resource tags applied to the resource identified by relationalDatabaseName.
  952. */
  953. getRelationalDatabaseMasterUserPassword(params: Lightsail.Types.GetRelationalDatabaseMasterUserPasswordRequest, callback?: (err: AWSError, data: Lightsail.Types.GetRelationalDatabaseMasterUserPasswordResult) => void): Request<Lightsail.Types.GetRelationalDatabaseMasterUserPasswordResult, AWSError>;
  954. /**
  955. * Returns the current, previous, or pending versions of the master user password for a Lightsail database. The GetRelationalDatabaseMasterUserPassword operation supports tag-based access control via resource tags applied to the resource identified by relationalDatabaseName.
  956. */
  957. getRelationalDatabaseMasterUserPassword(callback?: (err: AWSError, data: Lightsail.Types.GetRelationalDatabaseMasterUserPasswordResult) => void): Request<Lightsail.Types.GetRelationalDatabaseMasterUserPasswordResult, AWSError>;
  958. /**
  959. * Returns the data points of the specified metric for a database in Amazon Lightsail. Metrics report the utilization of your resources, and the error counts generated by them. Monitor and collect metric data regularly to maintain the reliability, availability, and performance of your resources.
  960. */
  961. getRelationalDatabaseMetricData(params: Lightsail.Types.GetRelationalDatabaseMetricDataRequest, callback?: (err: AWSError, data: Lightsail.Types.GetRelationalDatabaseMetricDataResult) => void): Request<Lightsail.Types.GetRelationalDatabaseMetricDataResult, AWSError>;
  962. /**
  963. * Returns the data points of the specified metric for a database in Amazon Lightsail. Metrics report the utilization of your resources, and the error counts generated by them. Monitor and collect metric data regularly to maintain the reliability, availability, and performance of your resources.
  964. */
  965. getRelationalDatabaseMetricData(callback?: (err: AWSError, data: Lightsail.Types.GetRelationalDatabaseMetricDataResult) => void): Request<Lightsail.Types.GetRelationalDatabaseMetricDataResult, AWSError>;
  966. /**
  967. * Returns all of the runtime parameters offered by the underlying database software, or engine, for a specific database in Amazon Lightsail. In addition to the parameter names and values, this operation returns other information about each parameter. This information includes whether changes require a reboot, whether the parameter is modifiable, the allowed values, and the data types.
  968. */
  969. getRelationalDatabaseParameters(params: Lightsail.Types.GetRelationalDatabaseParametersRequest, callback?: (err: AWSError, data: Lightsail.Types.GetRelationalDatabaseParametersResult) => void): Request<Lightsail.Types.GetRelationalDatabaseParametersResult, AWSError>;
  970. /**
  971. * Returns all of the runtime parameters offered by the underlying database software, or engine, for a specific database in Amazon Lightsail. In addition to the parameter names and values, this operation returns other information about each parameter. This information includes whether changes require a reboot, whether the parameter is modifiable, the allowed values, and the data types.
  972. */
  973. getRelationalDatabaseParameters(callback?: (err: AWSError, data: Lightsail.Types.GetRelationalDatabaseParametersResult) => void): Request<Lightsail.Types.GetRelationalDatabaseParametersResult, AWSError>;
  974. /**
  975. * Returns information about a specific database snapshot in Amazon Lightsail.
  976. */
  977. getRelationalDatabaseSnapshot(params: Lightsail.Types.GetRelationalDatabaseSnapshotRequest, callback?: (err: AWSError, data: Lightsail.Types.GetRelationalDatabaseSnapshotResult) => void): Request<Lightsail.Types.GetRelationalDatabaseSnapshotResult, AWSError>;
  978. /**
  979. * Returns information about a specific database snapshot in Amazon Lightsail.
  980. */
  981. getRelationalDatabaseSnapshot(callback?: (err: AWSError, data: Lightsail.Types.GetRelationalDatabaseSnapshotResult) => void): Request<Lightsail.Types.GetRelationalDatabaseSnapshotResult, AWSError>;
  982. /**
  983. * Returns information about all of your database snapshots in Amazon Lightsail.
  984. */
  985. getRelationalDatabaseSnapshots(params: Lightsail.Types.GetRelationalDatabaseSnapshotsRequest, callback?: (err: AWSError, data: Lightsail.Types.GetRelationalDatabaseSnapshotsResult) => void): Request<Lightsail.Types.GetRelationalDatabaseSnapshotsResult, AWSError>;
  986. /**
  987. * Returns information about all of your database snapshots in Amazon Lightsail.
  988. */
  989. getRelationalDatabaseSnapshots(callback?: (err: AWSError, data: Lightsail.Types.GetRelationalDatabaseSnapshotsResult) => void): Request<Lightsail.Types.GetRelationalDatabaseSnapshotsResult, AWSError>;
  990. /**
  991. * Returns information about all of your databases in Amazon Lightsail.
  992. */
  993. getRelationalDatabases(params: Lightsail.Types.GetRelationalDatabasesRequest, callback?: (err: AWSError, data: Lightsail.Types.GetRelationalDatabasesResult) => void): Request<Lightsail.Types.GetRelationalDatabasesResult, AWSError>;
  994. /**
  995. * Returns information about all of your databases in Amazon Lightsail.
  996. */
  997. getRelationalDatabases(callback?: (err: AWSError, data: Lightsail.Types.GetRelationalDatabasesResult) => void): Request<Lightsail.Types.GetRelationalDatabasesResult, AWSError>;
  998. /**
  999. * Returns detailed information for five of the most recent SetupInstanceHttps requests that were ran on the target instance.
  1000. */
  1001. getSetupHistory(params: Lightsail.Types.GetSetupHistoryRequest, callback?: (err: AWSError, data: Lightsail.Types.GetSetupHistoryResult) => void): Request<Lightsail.Types.GetSetupHistoryResult, AWSError>;
  1002. /**
  1003. * Returns detailed information for five of the most recent SetupInstanceHttps requests that were ran on the target instance.
  1004. */
  1005. getSetupHistory(callback?: (err: AWSError, data: Lightsail.Types.GetSetupHistoryResult) => void): Request<Lightsail.Types.GetSetupHistoryResult, AWSError>;
  1006. /**
  1007. * Returns information about an Amazon Lightsail static IP.
  1008. */
  1009. getStaticIp(params: Lightsail.Types.GetStaticIpRequest, callback?: (err: AWSError, data: Lightsail.Types.GetStaticIpResult) => void): Request<Lightsail.Types.GetStaticIpResult, AWSError>;
  1010. /**
  1011. * Returns information about an Amazon Lightsail static IP.
  1012. */
  1013. getStaticIp(callback?: (err: AWSError, data: Lightsail.Types.GetStaticIpResult) => void): Request<Lightsail.Types.GetStaticIpResult, AWSError>;
  1014. /**
  1015. * Returns information about all static IPs in the user's account.
  1016. */
  1017. getStaticIps(params: Lightsail.Types.GetStaticIpsRequest, callback?: (err: AWSError, data: Lightsail.Types.GetStaticIpsResult) => void): Request<Lightsail.Types.GetStaticIpsResult, AWSError>;
  1018. /**
  1019. * Returns information about all static IPs in the user's account.
  1020. */
  1021. getStaticIps(callback?: (err: AWSError, data: Lightsail.Types.GetStaticIpsResult) => void): Request<Lightsail.Types.GetStaticIpsResult, AWSError>;
  1022. /**
  1023. * Imports a public SSH key from a specific key pair.
  1024. */
  1025. importKeyPair(params: Lightsail.Types.ImportKeyPairRequest, callback?: (err: AWSError, data: Lightsail.Types.ImportKeyPairResult) => void): Request<Lightsail.Types.ImportKeyPairResult, AWSError>;
  1026. /**
  1027. * Imports a public SSH key from a specific key pair.
  1028. */
  1029. importKeyPair(callback?: (err: AWSError, data: Lightsail.Types.ImportKeyPairResult) => void): Request<Lightsail.Types.ImportKeyPairResult, AWSError>;
  1030. /**
  1031. * Returns a Boolean value indicating whether your Lightsail VPC is peered.
  1032. */
  1033. isVpcPeered(params: Lightsail.Types.IsVpcPeeredRequest, callback?: (err: AWSError, data: Lightsail.Types.IsVpcPeeredResult) => void): Request<Lightsail.Types.IsVpcPeeredResult, AWSError>;
  1034. /**
  1035. * Returns a Boolean value indicating whether your Lightsail VPC is peered.
  1036. */
  1037. isVpcPeered(callback?: (err: AWSError, data: Lightsail.Types.IsVpcPeeredResult) => void): Request<Lightsail.Types.IsVpcPeeredResult, AWSError>;
  1038. /**
  1039. * Opens ports for a specific Amazon Lightsail instance, and specifies the IP addresses allowed to connect to the instance through the ports, and the protocol. The OpenInstancePublicPorts action supports tag-based access control via resource tags applied to the resource identified by instanceName. For more information, see the Amazon Lightsail Developer Guide.
  1040. */
  1041. openInstancePublicPorts(params: Lightsail.Types.OpenInstancePublicPortsRequest, callback?: (err: AWSError, data: Lightsail.Types.OpenInstancePublicPortsResult) => void): Request<Lightsail.Types.OpenInstancePublicPortsResult, AWSError>;
  1042. /**
  1043. * Opens ports for a specific Amazon Lightsail instance, and specifies the IP addresses allowed to connect to the instance through the ports, and the protocol. The OpenInstancePublicPorts action supports tag-based access control via resource tags applied to the resource identified by instanceName. For more information, see the Amazon Lightsail Developer Guide.
  1044. */
  1045. openInstancePublicPorts(callback?: (err: AWSError, data: Lightsail.Types.OpenInstancePublicPortsResult) => void): Request<Lightsail.Types.OpenInstancePublicPortsResult, AWSError>;
  1046. /**
  1047. * Peers the Lightsail VPC with the user's default VPC.
  1048. */
  1049. peerVpc(params: Lightsail.Types.PeerVpcRequest, callback?: (err: AWSError, data: Lightsail.Types.PeerVpcResult) => void): Request<Lightsail.Types.PeerVpcResult, AWSError>;
  1050. /**
  1051. * Peers the Lightsail VPC with the user's default VPC.
  1052. */
  1053. peerVpc(callback?: (err: AWSError, data: Lightsail.Types.PeerVpcResult) => void): Request<Lightsail.Types.PeerVpcResult, AWSError>;
  1054. /**
  1055. * Creates or updates an alarm, and associates it with the specified metric. An alarm is used to monitor a single metric for one of your resources. When a metric condition is met, the alarm can notify you by email, SMS text message, and a banner displayed on the Amazon Lightsail console. For more information, see Alarms in Amazon Lightsail. When this action creates an alarm, the alarm state is immediately set to INSUFFICIENT_DATA. The alarm is then evaluated and its state is set appropriately. Any actions associated with the new state are then executed. When you update an existing alarm, its state is left unchanged, but the update completely overwrites the previous configuration of the alarm. The alarm is then evaluated with the updated configuration.
  1056. */
  1057. putAlarm(params: Lightsail.Types.PutAlarmRequest, callback?: (err: AWSError, data: Lightsail.Types.PutAlarmResult) => void): Request<Lightsail.Types.PutAlarmResult, AWSError>;
  1058. /**
  1059. * Creates or updates an alarm, and associates it with the specified metric. An alarm is used to monitor a single metric for one of your resources. When a metric condition is met, the alarm can notify you by email, SMS text message, and a banner displayed on the Amazon Lightsail console. For more information, see Alarms in Amazon Lightsail. When this action creates an alarm, the alarm state is immediately set to INSUFFICIENT_DATA. The alarm is then evaluated and its state is set appropriately. Any actions associated with the new state are then executed. When you update an existing alarm, its state is left unchanged, but the update completely overwrites the previous configuration of the alarm. The alarm is then evaluated with the updated configuration.
  1060. */
  1061. putAlarm(callback?: (err: AWSError, data: Lightsail.Types.PutAlarmResult) => void): Request<Lightsail.Types.PutAlarmResult, AWSError>;
  1062. /**
  1063. * Opens ports for a specific Amazon Lightsail instance, and specifies the IP addresses allowed to connect to the instance through the ports, and the protocol. This action also closes all currently open ports that are not included in the request. Include all of the ports and the protocols you want to open in your PutInstancePublicPortsrequest. Or use the OpenInstancePublicPorts action to open ports without closing currently open ports. The PutInstancePublicPorts action supports tag-based access control via resource tags applied to the resource identified by instanceName. For more information, see the Amazon Lightsail Developer Guide.
  1064. */
  1065. putInstancePublicPorts(params: Lightsail.Types.PutInstancePublicPortsRequest, callback?: (err: AWSError, data: Lightsail.Types.PutInstancePublicPortsResult) => void): Request<Lightsail.Types.PutInstancePublicPortsResult, AWSError>;
  1066. /**
  1067. * Opens ports for a specific Amazon Lightsail instance, and specifies the IP addresses allowed to connect to the instance through the ports, and the protocol. This action also closes all currently open ports that are not included in the request. Include all of the ports and the protocols you want to open in your PutInstancePublicPortsrequest. Or use the OpenInstancePublicPorts action to open ports without closing currently open ports. The PutInstancePublicPorts action supports tag-based access control via resource tags applied to the resource identified by instanceName. For more information, see the Amazon Lightsail Developer Guide.
  1068. */
  1069. putInstancePublicPorts(callback?: (err: AWSError, data: Lightsail.Types.PutInstancePublicPortsResult) => void): Request<Lightsail.Types.PutInstancePublicPortsResult, AWSError>;
  1070. /**
  1071. * Restarts a specific instance. The reboot instance operation supports tag-based access control via resource tags applied to the resource identified by instance name. For more information, see the Amazon Lightsail Developer Guide.
  1072. */
  1073. rebootInstance(params: Lightsail.Types.RebootInstanceRequest, callback?: (err: AWSError, data: Lightsail.Types.RebootInstanceResult) => void): Request<Lightsail.Types.RebootInstanceResult, AWSError>;
  1074. /**
  1075. * Restarts a specific instance. The reboot instance operation supports tag-based access control via resource tags applied to the resource identified by instance name. For more information, see the Amazon Lightsail Developer Guide.
  1076. */
  1077. rebootInstance(callback?: (err: AWSError, data: Lightsail.Types.RebootInstanceResult) => void): Request<Lightsail.Types.RebootInstanceResult, AWSError>;
  1078. /**
  1079. * Restarts a specific database in Amazon Lightsail. The reboot relational database operation supports tag-based access control via resource tags applied to the resource identified by relationalDatabaseName. For more information, see the Amazon Lightsail Developer Guide.
  1080. */
  1081. rebootRelationalDatabase(params: Lightsail.Types.RebootRelationalDatabaseRequest, callback?: (err: AWSError, data: Lightsail.Types.RebootRelationalDatabaseResult) => void): Request<Lightsail.Types.RebootRelationalDatabaseResult, AWSError>;
  1082. /**
  1083. * Restarts a specific database in Amazon Lightsail. The reboot relational database operation supports tag-based access control via resource tags applied to the resource identified by relationalDatabaseName. For more information, see the Amazon Lightsail Developer Guide.
  1084. */
  1085. rebootRelationalDatabase(callback?: (err: AWSError, data: Lightsail.Types.RebootRelationalDatabaseResult) => void): Request<Lightsail.Types.RebootRelationalDatabaseResult, AWSError>;
  1086. /**
  1087. * Registers a container image to your Amazon Lightsail container service. This action is not required if you install and use the Lightsail Control (lightsailctl) plugin to push container images to your Lightsail container service. For more information, see Pushing and managing container images on your Amazon Lightsail container services in the Amazon Lightsail Developer Guide.
  1088. */
  1089. registerContainerImage(params: Lightsail.Types.RegisterContainerImageRequest, callback?: (err: AWSError, data: Lightsail.Types.RegisterContainerImageResult) => void): Request<Lightsail.Types.RegisterContainerImageResult, AWSError>;
  1090. /**
  1091. * Registers a container image to your Amazon Lightsail container service. This action is not required if you install and use the Lightsail Control (lightsailctl) plugin to push container images to your Lightsail container service. For more information, see Pushing and managing container images on your Amazon Lightsail container services in the Amazon Lightsail Developer Guide.
  1092. */
  1093. registerContainerImage(callback?: (err: AWSError, data: Lightsail.Types.RegisterContainerImageResult) => void): Request<Lightsail.Types.RegisterContainerImageResult, AWSError>;
  1094. /**
  1095. * Deletes a specific static IP from your account.
  1096. */
  1097. releaseStaticIp(params: Lightsail.Types.ReleaseStaticIpRequest, callback?: (err: AWSError, data: Lightsail.Types.ReleaseStaticIpResult) => void): Request<Lightsail.Types.ReleaseStaticIpResult, AWSError>;
  1098. /**
  1099. * Deletes a specific static IP from your account.
  1100. */
  1101. releaseStaticIp(callback?: (err: AWSError, data: Lightsail.Types.ReleaseStaticIpResult) => void): Request<Lightsail.Types.ReleaseStaticIpResult, AWSError>;
  1102. /**
  1103. * Deletes currently cached content from your Amazon Lightsail content delivery network (CDN) distribution. After resetting the cache, the next time a content request is made, your distribution pulls, serves, and caches it from the origin.
  1104. */
  1105. resetDistributionCache(params: Lightsail.Types.ResetDistributionCacheRequest, callback?: (err: AWSError, data: Lightsail.Types.ResetDistributionCacheResult) => void): Request<Lightsail.Types.ResetDistributionCacheResult, AWSError>;
  1106. /**
  1107. * Deletes currently cached content from your Amazon Lightsail content delivery network (CDN) distribution. After resetting the cache, the next time a content request is made, your distribution pulls, serves, and caches it from the origin.
  1108. */
  1109. resetDistributionCache(callback?: (err: AWSError, data: Lightsail.Types.ResetDistributionCacheResult) => void): Request<Lightsail.Types.ResetDistributionCacheResult, AWSError>;
  1110. /**
  1111. * Sends a verification request to an email contact method to ensure it's owned by the requester. SMS contact methods don't need to be verified. A contact method is used to send you notifications about your Amazon Lightsail resources. You can add one email address and one mobile phone number contact method in each Amazon Web Services Region. However, SMS text messaging is not supported in some Amazon Web Services Regions, and SMS text messages cannot be sent to some countries/regions. For more information, see Notifications in Amazon Lightsail. A verification request is sent to the contact method when you initially create it. Use this action to send another verification request if a previous verification request was deleted, or has expired. Notifications are not sent to an email contact method until after it is verified, and confirmed as valid.
  1112. */
  1113. sendContactMethodVerification(params: Lightsail.Types.SendContactMethodVerificationRequest, callback?: (err: AWSError, data: Lightsail.Types.SendContactMethodVerificationResult) => void): Request<Lightsail.Types.SendContactMethodVerificationResult, AWSError>;
  1114. /**
  1115. * Sends a verification request to an email contact method to ensure it's owned by the requester. SMS contact methods don't need to be verified. A contact method is used to send you notifications about your Amazon Lightsail resources. You can add one email address and one mobile phone number contact method in each Amazon Web Services Region. However, SMS text messaging is not supported in some Amazon Web Services Regions, and SMS text messages cannot be sent to some countries/regions. For more information, see Notifications in Amazon Lightsail. A verification request is sent to the contact method when you initially create it. Use this action to send another verification request if a previous verification request was deleted, or has expired. Notifications are not sent to an email contact method until after it is verified, and confirmed as valid.
  1116. */
  1117. sendContactMethodVerification(callback?: (err: AWSError, data: Lightsail.Types.SendContactMethodVerificationResult) => void): Request<Lightsail.Types.SendContactMethodVerificationResult, AWSError>;
  1118. /**
  1119. * Sets the IP address type for an Amazon Lightsail resource. Use this action to enable dual-stack for a resource, which enables IPv4 and IPv6 for the specified resource. Alternately, you can use this action to disable dual-stack, and enable IPv4 only.
  1120. */
  1121. setIpAddressType(params: Lightsail.Types.SetIpAddressTypeRequest, callback?: (err: AWSError, data: Lightsail.Types.SetIpAddressTypeResult) => void): Request<Lightsail.Types.SetIpAddressTypeResult, AWSError>;
  1122. /**
  1123. * Sets the IP address type for an Amazon Lightsail resource. Use this action to enable dual-stack for a resource, which enables IPv4 and IPv6 for the specified resource. Alternately, you can use this action to disable dual-stack, and enable IPv4 only.
  1124. */
  1125. setIpAddressType(callback?: (err: AWSError, data: Lightsail.Types.SetIpAddressTypeResult) => void): Request<Lightsail.Types.SetIpAddressTypeResult, AWSError>;
  1126. /**
  1127. * Sets the Amazon Lightsail resources that can access the specified Lightsail bucket. Lightsail buckets currently support setting access for Lightsail instances in the same Amazon Web Services Region.
  1128. */
  1129. setResourceAccessForBucket(params: Lightsail.Types.SetResourceAccessForBucketRequest, callback?: (err: AWSError, data: Lightsail.Types.SetResourceAccessForBucketResult) => void): Request<Lightsail.Types.SetResourceAccessForBucketResult, AWSError>;
  1130. /**
  1131. * Sets the Amazon Lightsail resources that can access the specified Lightsail bucket. Lightsail buckets currently support setting access for Lightsail instances in the same Amazon Web Services Region.
  1132. */
  1133. setResourceAccessForBucket(callback?: (err: AWSError, data: Lightsail.Types.SetResourceAccessForBucketResult) => void): Request<Lightsail.Types.SetResourceAccessForBucketResult, AWSError>;
  1134. /**
  1135. * Creates an SSL/TLS certificate that secures traffic for your website. After the certificate is created, it is installed on the specified Lightsail instance. If you provide more than one domain name in the request, at least one name must be less than or equal to 63 characters in length.
  1136. */
  1137. setupInstanceHttps(params: Lightsail.Types.SetupInstanceHttpsRequest, callback?: (err: AWSError, data: Lightsail.Types.SetupInstanceHttpsResult) => void): Request<Lightsail.Types.SetupInstanceHttpsResult, AWSError>;
  1138. /**
  1139. * Creates an SSL/TLS certificate that secures traffic for your website. After the certificate is created, it is installed on the specified Lightsail instance. If you provide more than one domain name in the request, at least one name must be less than or equal to 63 characters in length.
  1140. */
  1141. setupInstanceHttps(callback?: (err: AWSError, data: Lightsail.Types.SetupInstanceHttpsResult) => void): Request<Lightsail.Types.SetupInstanceHttpsResult, AWSError>;
  1142. /**
  1143. * Initiates a graphical user interface (GUI) session that’s used to access a virtual computer’s operating system and application. The session will be active for 1 hour. Use this action to resume the session after it expires.
  1144. */
  1145. startGUISession(params: Lightsail.Types.StartGUISessionRequest, callback?: (err: AWSError, data: Lightsail.Types.StartGUISessionResult) => void): Request<Lightsail.Types.StartGUISessionResult, AWSError>;
  1146. /**
  1147. * Initiates a graphical user interface (GUI) session that’s used to access a virtual computer’s operating system and application. The session will be active for 1 hour. Use this action to resume the session after it expires.
  1148. */
  1149. startGUISession(callback?: (err: AWSError, data: Lightsail.Types.StartGUISessionResult) => void): Request<Lightsail.Types.StartGUISessionResult, AWSError>;
  1150. /**
  1151. * Starts a specific Amazon Lightsail instance from a stopped state. To restart an instance, use the reboot instance operation. When you start a stopped instance, Lightsail assigns a new public IP address to the instance. To use the same IP address after stopping and starting an instance, create a static IP address and attach it to the instance. For more information, see the Amazon Lightsail Developer Guide. The start instance operation supports tag-based access control via resource tags applied to the resource identified by instance name. For more information, see the Amazon Lightsail Developer Guide.
  1152. */
  1153. startInstance(params: Lightsail.Types.StartInstanceRequest, callback?: (err: AWSError, data: Lightsail.Types.StartInstanceResult) => void): Request<Lightsail.Types.StartInstanceResult, AWSError>;
  1154. /**
  1155. * Starts a specific Amazon Lightsail instance from a stopped state. To restart an instance, use the reboot instance operation. When you start a stopped instance, Lightsail assigns a new public IP address to the instance. To use the same IP address after stopping and starting an instance, create a static IP address and attach it to the instance. For more information, see the Amazon Lightsail Developer Guide. The start instance operation supports tag-based access control via resource tags applied to the resource identified by instance name. For more information, see the Amazon Lightsail Developer Guide.
  1156. */
  1157. startInstance(callback?: (err: AWSError, data: Lightsail.Types.StartInstanceResult) => void): Request<Lightsail.Types.StartInstanceResult, AWSError>;
  1158. /**
  1159. * Starts a specific database from a stopped state in Amazon Lightsail. To restart a database, use the reboot relational database operation. The start relational database operation supports tag-based access control via resource tags applied to the resource identified by relationalDatabaseName. For more information, see the Amazon Lightsail Developer Guide.
  1160. */
  1161. startRelationalDatabase(params: Lightsail.Types.StartRelationalDatabaseRequest, callback?: (err: AWSError, data: Lightsail.Types.StartRelationalDatabaseResult) => void): Request<Lightsail.Types.StartRelationalDatabaseResult, AWSError>;
  1162. /**
  1163. * Starts a specific database from a stopped state in Amazon Lightsail. To restart a database, use the reboot relational database operation. The start relational database operation supports tag-based access control via resource tags applied to the resource identified by relationalDatabaseName. For more information, see the Amazon Lightsail Developer Guide.
  1164. */
  1165. startRelationalDatabase(callback?: (err: AWSError, data: Lightsail.Types.StartRelationalDatabaseResult) => void): Request<Lightsail.Types.StartRelationalDatabaseResult, AWSError>;
  1166. /**
  1167. * Terminates a web-based NICE DCV session that’s used to access a virtual computer’s operating system or application. The session will close and any unsaved data will be lost.
  1168. */
  1169. stopGUISession(params: Lightsail.Types.StopGUISessionRequest, callback?: (err: AWSError, data: Lightsail.Types.StopGUISessionResult) => void): Request<Lightsail.Types.StopGUISessionResult, AWSError>;
  1170. /**
  1171. * Terminates a web-based NICE DCV session that’s used to access a virtual computer’s operating system or application. The session will close and any unsaved data will be lost.
  1172. */
  1173. stopGUISession(callback?: (err: AWSError, data: Lightsail.Types.StopGUISessionResult) => void): Request<Lightsail.Types.StopGUISessionResult, AWSError>;
  1174. /**
  1175. * Stops a specific Amazon Lightsail instance that is currently running. When you start a stopped instance, Lightsail assigns a new public IP address to the instance. To use the same IP address after stopping and starting an instance, create a static IP address and attach it to the instance. For more information, see the Amazon Lightsail Developer Guide. The stop instance operation supports tag-based access control via resource tags applied to the resource identified by instance name. For more information, see the Amazon Lightsail Developer Guide.
  1176. */
  1177. stopInstance(params: Lightsail.Types.StopInstanceRequest, callback?: (err: AWSError, data: Lightsail.Types.StopInstanceResult) => void): Request<Lightsail.Types.StopInstanceResult, AWSError>;
  1178. /**
  1179. * Stops a specific Amazon Lightsail instance that is currently running. When you start a stopped instance, Lightsail assigns a new public IP address to the instance. To use the same IP address after stopping and starting an instance, create a static IP address and attach it to the instance. For more information, see the Amazon Lightsail Developer Guide. The stop instance operation supports tag-based access control via resource tags applied to the resource identified by instance name. For more information, see the Amazon Lightsail Developer Guide.
  1180. */
  1181. stopInstance(callback?: (err: AWSError, data: Lightsail.Types.StopInstanceResult) => void): Request<Lightsail.Types.StopInstanceResult, AWSError>;
  1182. /**
  1183. * Stops a specific database that is currently running in Amazon Lightsail. The stop relational database operation supports tag-based access control via resource tags applied to the resource identified by relationalDatabaseName. For more information, see the Amazon Lightsail Developer Guide.
  1184. */
  1185. stopRelationalDatabase(params: Lightsail.Types.StopRelationalDatabaseRequest, callback?: (err: AWSError, data: Lightsail.Types.StopRelationalDatabaseResult) => void): Request<Lightsail.Types.StopRelationalDatabaseResult, AWSError>;
  1186. /**
  1187. * Stops a specific database that is currently running in Amazon Lightsail. The stop relational database operation supports tag-based access control via resource tags applied to the resource identified by relationalDatabaseName. For more information, see the Amazon Lightsail Developer Guide.
  1188. */
  1189. stopRelationalDatabase(callback?: (err: AWSError, data: Lightsail.Types.StopRelationalDatabaseResult) => void): Request<Lightsail.Types.StopRelationalDatabaseResult, AWSError>;
  1190. /**
  1191. * Adds one or more tags to the specified Amazon Lightsail resource. Each resource can have a maximum of 50 tags. Each tag consists of a key and an optional value. Tag keys must be unique per resource. For more information about tags, see the Amazon Lightsail Developer Guide. The tag resource operation supports tag-based access control via request tags and resource tags applied to the resource identified by resource name. For more information, see the Amazon Lightsail Developer Guide.
  1192. */
  1193. tagResource(params: Lightsail.Types.TagResourceRequest, callback?: (err: AWSError, data: Lightsail.Types.TagResourceResult) => void): Request<Lightsail.Types.TagResourceResult, AWSError>;
  1194. /**
  1195. * Adds one or more tags to the specified Amazon Lightsail resource. Each resource can have a maximum of 50 tags. Each tag consists of a key and an optional value. Tag keys must be unique per resource. For more information about tags, see the Amazon Lightsail Developer Guide. The tag resource operation supports tag-based access control via request tags and resource tags applied to the resource identified by resource name. For more information, see the Amazon Lightsail Developer Guide.
  1196. */
  1197. tagResource(callback?: (err: AWSError, data: Lightsail.Types.TagResourceResult) => void): Request<Lightsail.Types.TagResourceResult, AWSError>;
  1198. /**
  1199. * Tests an alarm by displaying a banner on the Amazon Lightsail console. If a notification trigger is configured for the specified alarm, the test also sends a notification to the notification protocol (Email and/or SMS) configured for the alarm. An alarm is used to monitor a single metric for one of your resources. When a metric condition is met, the alarm can notify you by email, SMS text message, and a banner displayed on the Amazon Lightsail console. For more information, see Alarms in Amazon Lightsail.
  1200. */
  1201. testAlarm(params: Lightsail.Types.TestAlarmRequest, callback?: (err: AWSError, data: Lightsail.Types.TestAlarmResult) => void): Request<Lightsail.Types.TestAlarmResult, AWSError>;
  1202. /**
  1203. * Tests an alarm by displaying a banner on the Amazon Lightsail console. If a notification trigger is configured for the specified alarm, the test also sends a notification to the notification protocol (Email and/or SMS) configured for the alarm. An alarm is used to monitor a single metric for one of your resources. When a metric condition is met, the alarm can notify you by email, SMS text message, and a banner displayed on the Amazon Lightsail console. For more information, see Alarms in Amazon Lightsail.
  1204. */
  1205. testAlarm(callback?: (err: AWSError, data: Lightsail.Types.TestAlarmResult) => void): Request<Lightsail.Types.TestAlarmResult, AWSError>;
  1206. /**
  1207. * Unpeers the Lightsail VPC from the user's default VPC.
  1208. */
  1209. unpeerVpc(params: Lightsail.Types.UnpeerVpcRequest, callback?: (err: AWSError, data: Lightsail.Types.UnpeerVpcResult) => void): Request<Lightsail.Types.UnpeerVpcResult, AWSError>;
  1210. /**
  1211. * Unpeers the Lightsail VPC from the user's default VPC.
  1212. */
  1213. unpeerVpc(callback?: (err: AWSError, data: Lightsail.Types.UnpeerVpcResult) => void): Request<Lightsail.Types.UnpeerVpcResult, AWSError>;
  1214. /**
  1215. * Deletes the specified set of tag keys and their values from the specified Amazon Lightsail resource. The untag resource operation supports tag-based access control via request tags and resource tags applied to the resource identified by resource name. For more information, see the Amazon Lightsail Developer Guide.
  1216. */
  1217. untagResource(params: Lightsail.Types.UntagResourceRequest, callback?: (err: AWSError, data: Lightsail.Types.UntagResourceResult) => void): Request<Lightsail.Types.UntagResourceResult, AWSError>;
  1218. /**
  1219. * Deletes the specified set of tag keys and their values from the specified Amazon Lightsail resource. The untag resource operation supports tag-based access control via request tags and resource tags applied to the resource identified by resource name. For more information, see the Amazon Lightsail Developer Guide.
  1220. */
  1221. untagResource(callback?: (err: AWSError, data: Lightsail.Types.UntagResourceResult) => void): Request<Lightsail.Types.UntagResourceResult, AWSError>;
  1222. /**
  1223. * Updates an existing Amazon Lightsail bucket. Use this action to update the configuration of an existing bucket, such as versioning, public accessibility, and the Amazon Web Services accounts that can access the bucket.
  1224. */
  1225. updateBucket(params: Lightsail.Types.UpdateBucketRequest, callback?: (err: AWSError, data: Lightsail.Types.UpdateBucketResult) => void): Request<Lightsail.Types.UpdateBucketResult, AWSError>;
  1226. /**
  1227. * Updates an existing Amazon Lightsail bucket. Use this action to update the configuration of an existing bucket, such as versioning, public accessibility, and the Amazon Web Services accounts that can access the bucket.
  1228. */
  1229. updateBucket(callback?: (err: AWSError, data: Lightsail.Types.UpdateBucketResult) => void): Request<Lightsail.Types.UpdateBucketResult, AWSError>;
  1230. /**
  1231. * Updates the bundle, or storage plan, of an existing Amazon Lightsail bucket. A bucket bundle specifies the monthly cost, storage space, and data transfer quota for a bucket. You can update a bucket's bundle only one time within a monthly Amazon Web Services billing cycle. To determine if you can update a bucket's bundle, use the GetBuckets action. The ableToUpdateBundle parameter in the response will indicate whether you can currently update a bucket's bundle. Update a bucket's bundle if it's consistently going over its storage space or data transfer quota, or if a bucket's usage is consistently in the lower range of its storage space or data transfer quota. Due to the unpredictable usage fluctuations that a bucket might experience, we strongly recommend that you update a bucket's bundle only as a long-term strategy, instead of as a short-term, monthly cost-cutting measure. Choose a bucket bundle that will provide the bucket with ample storage space and data transfer for a long time to come.
  1232. */
  1233. updateBucketBundle(params: Lightsail.Types.UpdateBucketBundleRequest, callback?: (err: AWSError, data: Lightsail.Types.UpdateBucketBundleResult) => void): Request<Lightsail.Types.UpdateBucketBundleResult, AWSError>;
  1234. /**
  1235. * Updates the bundle, or storage plan, of an existing Amazon Lightsail bucket. A bucket bundle specifies the monthly cost, storage space, and data transfer quota for a bucket. You can update a bucket's bundle only one time within a monthly Amazon Web Services billing cycle. To determine if you can update a bucket's bundle, use the GetBuckets action. The ableToUpdateBundle parameter in the response will indicate whether you can currently update a bucket's bundle. Update a bucket's bundle if it's consistently going over its storage space or data transfer quota, or if a bucket's usage is consistently in the lower range of its storage space or data transfer quota. Due to the unpredictable usage fluctuations that a bucket might experience, we strongly recommend that you update a bucket's bundle only as a long-term strategy, instead of as a short-term, monthly cost-cutting measure. Choose a bucket bundle that will provide the bucket with ample storage space and data transfer for a long time to come.
  1236. */
  1237. updateBucketBundle(callback?: (err: AWSError, data: Lightsail.Types.UpdateBucketBundleResult) => void): Request<Lightsail.Types.UpdateBucketBundleResult, AWSError>;
  1238. /**
  1239. * Updates the configuration of your Amazon Lightsail container service, such as its power, scale, and public domain names.
  1240. */
  1241. updateContainerService(params: Lightsail.Types.UpdateContainerServiceRequest, callback?: (err: AWSError, data: Lightsail.Types.UpdateContainerServiceResult) => void): Request<Lightsail.Types.UpdateContainerServiceResult, AWSError>;
  1242. /**
  1243. * Updates the configuration of your Amazon Lightsail container service, such as its power, scale, and public domain names.
  1244. */
  1245. updateContainerService(callback?: (err: AWSError, data: Lightsail.Types.UpdateContainerServiceResult) => void): Request<Lightsail.Types.UpdateContainerServiceResult, AWSError>;
  1246. /**
  1247. * Updates an existing Amazon Lightsail content delivery network (CDN) distribution. Use this action to update the configuration of your existing distribution.
  1248. */
  1249. updateDistribution(params: Lightsail.Types.UpdateDistributionRequest, callback?: (err: AWSError, data: Lightsail.Types.UpdateDistributionResult) => void): Request<Lightsail.Types.UpdateDistributionResult, AWSError>;
  1250. /**
  1251. * Updates an existing Amazon Lightsail content delivery network (CDN) distribution. Use this action to update the configuration of your existing distribution.
  1252. */
  1253. updateDistribution(callback?: (err: AWSError, data: Lightsail.Types.UpdateDistributionResult) => void): Request<Lightsail.Types.UpdateDistributionResult, AWSError>;
  1254. /**
  1255. * Updates the bundle of your Amazon Lightsail content delivery network (CDN) distribution. A distribution bundle specifies the monthly network transfer quota and monthly cost of your distribution. Update your distribution's bundle if your distribution is going over its monthly network transfer quota and is incurring an overage fee. You can update your distribution's bundle only one time within your monthly Amazon Web Services billing cycle. To determine if you can update your distribution's bundle, use the GetDistributions action. The ableToUpdateBundle parameter in the result will indicate whether you can currently update your distribution's bundle.
  1256. */
  1257. updateDistributionBundle(params: Lightsail.Types.UpdateDistributionBundleRequest, callback?: (err: AWSError, data: Lightsail.Types.UpdateDistributionBundleResult) => void): Request<Lightsail.Types.UpdateDistributionBundleResult, AWSError>;
  1258. /**
  1259. * Updates the bundle of your Amazon Lightsail content delivery network (CDN) distribution. A distribution bundle specifies the monthly network transfer quota and monthly cost of your distribution. Update your distribution's bundle if your distribution is going over its monthly network transfer quota and is incurring an overage fee. You can update your distribution's bundle only one time within your monthly Amazon Web Services billing cycle. To determine if you can update your distribution's bundle, use the GetDistributions action. The ableToUpdateBundle parameter in the result will indicate whether you can currently update your distribution's bundle.
  1260. */
  1261. updateDistributionBundle(callback?: (err: AWSError, data: Lightsail.Types.UpdateDistributionBundleResult) => void): Request<Lightsail.Types.UpdateDistributionBundleResult, AWSError>;
  1262. /**
  1263. * Updates a domain recordset after it is created. The update domain entry operation supports tag-based access control via resource tags applied to the resource identified by domain name. For more information, see the Amazon Lightsail Developer Guide.
  1264. */
  1265. updateDomainEntry(params: Lightsail.Types.UpdateDomainEntryRequest, callback?: (err: AWSError, data: Lightsail.Types.UpdateDomainEntryResult) => void): Request<Lightsail.Types.UpdateDomainEntryResult, AWSError>;
  1266. /**
  1267. * Updates a domain recordset after it is created. The update domain entry operation supports tag-based access control via resource tags applied to the resource identified by domain name. For more information, see the Amazon Lightsail Developer Guide.
  1268. */
  1269. updateDomainEntry(callback?: (err: AWSError, data: Lightsail.Types.UpdateDomainEntryResult) => void): Request<Lightsail.Types.UpdateDomainEntryResult, AWSError>;
  1270. /**
  1271. * Modifies the Amazon Lightsail instance metadata parameters on a running or stopped instance. When you modify the parameters on a running instance, the GetInstance or GetInstances API operation initially responds with a state of pending. After the parameter modifications are successfully applied, the state changes to applied in subsequent GetInstance or GetInstances API calls. For more information, see Use IMDSv2 with an Amazon Lightsail instance in the Amazon Lightsail Developer Guide.
  1272. */
  1273. updateInstanceMetadataOptions(params: Lightsail.Types.UpdateInstanceMetadataOptionsRequest, callback?: (err: AWSError, data: Lightsail.Types.UpdateInstanceMetadataOptionsResult) => void): Request<Lightsail.Types.UpdateInstanceMetadataOptionsResult, AWSError>;
  1274. /**
  1275. * Modifies the Amazon Lightsail instance metadata parameters on a running or stopped instance. When you modify the parameters on a running instance, the GetInstance or GetInstances API operation initially responds with a state of pending. After the parameter modifications are successfully applied, the state changes to applied in subsequent GetInstance or GetInstances API calls. For more information, see Use IMDSv2 with an Amazon Lightsail instance in the Amazon Lightsail Developer Guide.
  1276. */
  1277. updateInstanceMetadataOptions(callback?: (err: AWSError, data: Lightsail.Types.UpdateInstanceMetadataOptionsResult) => void): Request<Lightsail.Types.UpdateInstanceMetadataOptionsResult, AWSError>;
  1278. /**
  1279. * Updates the specified attribute for a load balancer. You can only update one attribute at a time. The update load balancer attribute operation supports tag-based access control via resource tags applied to the resource identified by load balancer name. For more information, see the Amazon Lightsail Developer Guide.
  1280. */
  1281. updateLoadBalancerAttribute(params: Lightsail.Types.UpdateLoadBalancerAttributeRequest, callback?: (err: AWSError, data: Lightsail.Types.UpdateLoadBalancerAttributeResult) => void): Request<Lightsail.Types.UpdateLoadBalancerAttributeResult, AWSError>;
  1282. /**
  1283. * Updates the specified attribute for a load balancer. You can only update one attribute at a time. The update load balancer attribute operation supports tag-based access control via resource tags applied to the resource identified by load balancer name. For more information, see the Amazon Lightsail Developer Guide.
  1284. */
  1285. updateLoadBalancerAttribute(callback?: (err: AWSError, data: Lightsail.Types.UpdateLoadBalancerAttributeResult) => void): Request<Lightsail.Types.UpdateLoadBalancerAttributeResult, AWSError>;
  1286. /**
  1287. * Allows the update of one or more attributes of a database in Amazon Lightsail. Updates are applied immediately, or in cases where the updates could result in an outage, are applied during the database's predefined maintenance window. The update relational database operation supports tag-based access control via resource tags applied to the resource identified by relationalDatabaseName. For more information, see the Amazon Lightsail Developer Guide.
  1288. */
  1289. updateRelationalDatabase(params: Lightsail.Types.UpdateRelationalDatabaseRequest, callback?: (err: AWSError, data: Lightsail.Types.UpdateRelationalDatabaseResult) => void): Request<Lightsail.Types.UpdateRelationalDatabaseResult, AWSError>;
  1290. /**
  1291. * Allows the update of one or more attributes of a database in Amazon Lightsail. Updates are applied immediately, or in cases where the updates could result in an outage, are applied during the database's predefined maintenance window. The update relational database operation supports tag-based access control via resource tags applied to the resource identified by relationalDatabaseName. For more information, see the Amazon Lightsail Developer Guide.
  1292. */
  1293. updateRelationalDatabase(callback?: (err: AWSError, data: Lightsail.Types.UpdateRelationalDatabaseResult) => void): Request<Lightsail.Types.UpdateRelationalDatabaseResult, AWSError>;
  1294. /**
  1295. * Allows the update of one or more parameters of a database in Amazon Lightsail. Parameter updates don't cause outages; therefore, their application is not subject to the preferred maintenance window. However, there are two ways in which parameter updates are applied: dynamic or pending-reboot. Parameters marked with a dynamic apply type are applied immediately. Parameters marked with a pending-reboot apply type are applied only after the database is rebooted using the reboot relational database operation. The update relational database parameters operation supports tag-based access control via resource tags applied to the resource identified by relationalDatabaseName. For more information, see the Amazon Lightsail Developer Guide.
  1296. */
  1297. updateRelationalDatabaseParameters(params: Lightsail.Types.UpdateRelationalDatabaseParametersRequest, callback?: (err: AWSError, data: Lightsail.Types.UpdateRelationalDatabaseParametersResult) => void): Request<Lightsail.Types.UpdateRelationalDatabaseParametersResult, AWSError>;
  1298. /**
  1299. * Allows the update of one or more parameters of a database in Amazon Lightsail. Parameter updates don't cause outages; therefore, their application is not subject to the preferred maintenance window. However, there are two ways in which parameter updates are applied: dynamic or pending-reboot. Parameters marked with a dynamic apply type are applied immediately. Parameters marked with a pending-reboot apply type are applied only after the database is rebooted using the reboot relational database operation. The update relational database parameters operation supports tag-based access control via resource tags applied to the resource identified by relationalDatabaseName. For more information, see the Amazon Lightsail Developer Guide.
  1300. */
  1301. updateRelationalDatabaseParameters(callback?: (err: AWSError, data: Lightsail.Types.UpdateRelationalDatabaseParametersResult) => void): Request<Lightsail.Types.UpdateRelationalDatabaseParametersResult, AWSError>;
  1302. }
  1303. declare namespace Lightsail {
  1304. export type AccessDirection = "inbound"|"outbound"|string;
  1305. export interface AccessKey {
  1306. /**
  1307. * The ID of the access key.
  1308. */
  1309. accessKeyId?: IAMAccessKeyId;
  1310. /**
  1311. * The secret access key used to sign requests. You should store the secret access key in a safe location. We recommend that you delete the access key if the secret access key is compromised.
  1312. */
  1313. secretAccessKey?: NonEmptyString;
  1314. /**
  1315. * The status of the access key. A status of Active means that the key is valid, while Inactive means it is not.
  1316. */
  1317. status?: StatusType;
  1318. /**
  1319. * The timestamp when the access key was created.
  1320. */
  1321. createdAt?: IsoDate;
  1322. /**
  1323. * An object that describes the last time the access key was used. This object does not include data in the response of a CreateBucketAccessKey action. If the access key has not been used, the region and serviceName values are N/A, and the lastUsedDate value is null.
  1324. */
  1325. lastUsed?: AccessKeyLastUsed;
  1326. }
  1327. export interface AccessKeyLastUsed {
  1328. /**
  1329. * The date and time when the access key was most recently used. This value is null if the access key has not been used.
  1330. */
  1331. lastUsedDate?: IsoDate;
  1332. /**
  1333. * The Amazon Web Services Region where this access key was most recently used. This value is N/A if the access key has not been used.
  1334. */
  1335. region?: string;
  1336. /**
  1337. * The name of the Amazon Web Services service with which this access key was most recently used. This value is N/A if the access key has not been used.
  1338. */
  1339. serviceName?: string;
  1340. }
  1341. export type AccessKeyList = AccessKey[];
  1342. export type AccessReceiverList = ResourceReceivingAccess[];
  1343. export interface AccessRules {
  1344. /**
  1345. * Specifies the anonymous access to all objects in a bucket. The following options can be specified: public - Sets all objects in the bucket to public (read-only), making them readable by anyone in the world. If the getObject value is set to public, then all objects in the bucket default to public regardless of the allowPublicOverrides value. private - Sets all objects in the bucket to private, making them readable only by you or anyone you give access to. If the getObject value is set to private, and the allowPublicOverrides value is set to true, then all objects in the bucket default to private unless they are configured with a public-read ACL. Individual objects with a public-read ACL are readable by anyone in the world.
  1346. */
  1347. getObject?: AccessType;
  1348. /**
  1349. * A Boolean value that indicates whether the access control list (ACL) permissions that are applied to individual objects override the getObject option that is currently specified. When this is true, you can use the PutObjectAcl Amazon S3 API action to set individual objects to public (read-only) using the public-read ACL, or to private using the private ACL.
  1350. */
  1351. allowPublicOverrides?: boolean;
  1352. }
  1353. export type AccessType = "public"|"private"|string;
  1354. export interface AccountLevelBpaSync {
  1355. /**
  1356. * The status of the account-level BPA synchronization. The following statuses are possible: InSync - Account-level BPA is synchronized. The Amazon S3 account-level BPA configuration applies to your Lightsail buckets. NeverSynced - Synchronization has not yet happened. The Amazon S3 account-level BPA configuration does not apply to your Lightsail buckets. Failed - Synchronization failed. The Amazon S3 account-level BPA configuration does not apply to your Lightsail buckets. Defaulted - Synchronization failed and account-level BPA for your Lightsail buckets is defaulted to active. You might need to complete further actions if the status is Failed or Defaulted. The message parameter provides more information for those statuses.
  1357. */
  1358. status?: AccountLevelBpaSyncStatus;
  1359. /**
  1360. * The timestamp of when the account-level BPA configuration was last synchronized. This value is null when the account-level BPA configuration has not been synchronized.
  1361. */
  1362. lastSyncedAt?: IsoDate;
  1363. /**
  1364. * A message that provides a reason for a Failed or Defaulted synchronization status. The following messages are possible: SYNC_ON_HOLD - The synchronization has not yet happened. This status message occurs immediately after you create your first Lightsail bucket. This status message should change after the first synchronization happens, approximately 1 hour after the first bucket is created. DEFAULTED_FOR_SLR_MISSING - The synchronization failed because the required service-linked role is missing from your Amazon Web Services account. The account-level BPA configuration for your Lightsail buckets is defaulted to active until the synchronization can occur. This means that all your buckets are private and not publicly accessible. For more information about how to create the required service-linked role to allow synchronization, see Using Service-Linked Roles for Amazon Lightsail in the Amazon Lightsail Developer Guide. DEFAULTED_FOR_SLR_MISSING_ON_HOLD - The synchronization failed because the required service-linked role is missing from your Amazon Web Services account. Account-level BPA is not yet configured for your Lightsail buckets. Therefore, only the bucket access permissions and individual object access permissions apply to your Lightsail buckets. For more information about how to create the required service-linked role to allow synchronization, see Using Service-Linked Roles for Amazon Lightsail in the Amazon Lightsail Developer Guide. Unknown - The reason that synchronization failed is unknown. Contact Amazon Web Services Support for more information.
  1365. */
  1366. message?: BPAStatusMessage;
  1367. /**
  1368. * A Boolean value that indicates whether account-level block public access is affecting your Lightsail buckets.
  1369. */
  1370. bpaImpactsLightsail?: boolean;
  1371. }
  1372. export type AccountLevelBpaSyncStatus = "InSync"|"Failed"|"NeverSynced"|"Defaulted"|string;
  1373. export interface AddOn {
  1374. /**
  1375. * The name of the add-on.
  1376. */
  1377. name?: string;
  1378. /**
  1379. * The status of the add-on.
  1380. */
  1381. status?: string;
  1382. /**
  1383. * The daily time when an automatic snapshot is created. The time shown is in HH:00 format, and in Coordinated Universal Time (UTC). The snapshot is automatically created between the time shown and up to 45 minutes after.
  1384. */
  1385. snapshotTimeOfDay?: TimeOfDay;
  1386. /**
  1387. * The next daily time an automatic snapshot will be created. The time shown is in HH:00 format, and in Coordinated Universal Time (UTC). The snapshot is automatically created between the time shown and up to 45 minutes after.
  1388. */
  1389. nextSnapshotTimeOfDay?: TimeOfDay;
  1390. /**
  1391. * The trigger threshold of the action. This add-on only applies to Lightsail for Research resources.
  1392. */
  1393. threshold?: string;
  1394. /**
  1395. * The amount of idle time in minutes after which your virtual computer will automatically stop. This add-on only applies to Lightsail for Research resources.
  1396. */
  1397. duration?: string;
  1398. }
  1399. export type AddOnList = AddOn[];
  1400. export interface AddOnRequest {
  1401. /**
  1402. * The add-on type.
  1403. */
  1404. addOnType: AddOnType;
  1405. /**
  1406. * An object that represents additional parameters when enabling or modifying the automatic snapshot add-on.
  1407. */
  1408. autoSnapshotAddOnRequest?: AutoSnapshotAddOnRequest;
  1409. /**
  1410. * An object that represents additional parameters when enabling or modifying the StopInstanceOnIdle add-on. This object only applies to Lightsail for Research resources.
  1411. */
  1412. stopInstanceOnIdleRequest?: StopInstanceOnIdleRequest;
  1413. }
  1414. export type AddOnRequestList = AddOnRequest[];
  1415. export type AddOnType = "AutoSnapshot"|"StopInstanceOnIdle"|string;
  1416. export interface Alarm {
  1417. /**
  1418. * The name of the alarm.
  1419. */
  1420. name?: ResourceName;
  1421. /**
  1422. * The Amazon Resource Name (ARN) of the alarm.
  1423. */
  1424. arn?: NonEmptyString;
  1425. /**
  1426. * The timestamp when the alarm was created.
  1427. */
  1428. createdAt?: IsoDate;
  1429. /**
  1430. * An object that lists information about the location of the alarm.
  1431. */
  1432. location?: ResourceLocation;
  1433. /**
  1434. * The Lightsail resource type of the alarm.
  1435. */
  1436. resourceType?: ResourceType;
  1437. /**
  1438. * The support code. Include this code in your email to support when you have questions about your Lightsail alarm. This code enables our support team to look up your Lightsail information more easily.
  1439. */
  1440. supportCode?: string;
  1441. /**
  1442. * An object that lists information about the resource monitored by the alarm.
  1443. */
  1444. monitoredResourceInfo?: MonitoredResourceInfo;
  1445. /**
  1446. * The arithmetic operation used when comparing the specified statistic and threshold.
  1447. */
  1448. comparisonOperator?: ComparisonOperator;
  1449. /**
  1450. * The number of periods over which data is compared to the specified threshold.
  1451. */
  1452. evaluationPeriods?: integer;
  1453. /**
  1454. * The period, in seconds, over which the statistic is applied.
  1455. */
  1456. period?: MetricPeriod;
  1457. /**
  1458. * The value against which the specified statistic is compared.
  1459. */
  1460. threshold?: double;
  1461. /**
  1462. * The number of data points that must not within the specified threshold to trigger the alarm.
  1463. */
  1464. datapointsToAlarm?: integer;
  1465. /**
  1466. * Specifies how the alarm handles missing data points. An alarm can treat missing data in the following ways: breaching - Assume the missing data is not within the threshold. Missing data counts towards the number of times the metric is not within the threshold. notBreaching - Assume the missing data is within the threshold. Missing data does not count towards the number of times the metric is not within the threshold. ignore - Ignore the missing data. Maintains the current alarm state. missing - Missing data is treated as missing.
  1467. */
  1468. treatMissingData?: TreatMissingData;
  1469. /**
  1470. * The statistic for the metric associated with the alarm. The following statistics are available: Minimum - The lowest value observed during the specified period. Use this value to determine low volumes of activity for your application. Maximum - The highest value observed during the specified period. Use this value to determine high volumes of activity for your application. Sum - All values submitted for the matching metric added together. You can use this statistic to determine the total volume of a metric. Average - The value of Sum / SampleCount during the specified period. By comparing this statistic with the Minimum and Maximum values, you can determine the full scope of a metric and how close the average use is to the Minimum and Maximum values. This comparison helps you to know when to increase or decrease your resources. SampleCount - The count, or number, of data points used for the statistical calculation.
  1471. */
  1472. statistic?: MetricStatistic;
  1473. /**
  1474. * The name of the metric associated with the alarm.
  1475. */
  1476. metricName?: MetricName;
  1477. /**
  1478. * The current state of the alarm. An alarm has the following possible states: ALARM - The metric is outside of the defined threshold. INSUFFICIENT_DATA - The alarm has just started, the metric is not available, or not enough data is available for the metric to determine the alarm state. OK - The metric is within the defined threshold.
  1479. */
  1480. state?: AlarmState;
  1481. /**
  1482. * The unit of the metric associated with the alarm.
  1483. */
  1484. unit?: MetricUnit;
  1485. /**
  1486. * The contact protocols for the alarm, such as Email, SMS (text messaging), or both.
  1487. */
  1488. contactProtocols?: ContactProtocolsList;
  1489. /**
  1490. * The alarm states that trigger a notification.
  1491. */
  1492. notificationTriggers?: NotificationTriggerList;
  1493. /**
  1494. * Indicates whether the alarm is enabled.
  1495. */
  1496. notificationEnabled?: boolean;
  1497. }
  1498. export type AlarmState = "OK"|"ALARM"|"INSUFFICIENT_DATA"|string;
  1499. export type AlarmsList = Alarm[];
  1500. export interface AllocateStaticIpRequest {
  1501. /**
  1502. * The name of the static IP address.
  1503. */
  1504. staticIpName: ResourceName;
  1505. }
  1506. export interface AllocateStaticIpResult {
  1507. /**
  1508. * An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.
  1509. */
  1510. operations?: OperationList;
  1511. }
  1512. export type AppCategory = "LfR"|string;
  1513. export type AppCategoryList = AppCategory[];
  1514. export interface AttachCertificateToDistributionRequest {
  1515. /**
  1516. * The name of the distribution that the certificate will be attached to. Use the GetDistributions action to get a list of distribution names that you can specify.
  1517. */
  1518. distributionName: ResourceName;
  1519. /**
  1520. * The name of the certificate to attach to a distribution. Only certificates with a status of ISSUED can be attached to a distribution. Use the GetCertificates action to get a list of certificate names that you can specify. This is the name of the certificate resource type and is used only to reference the certificate in other API actions. It can be different than the domain name of the certificate. For example, your certificate name might be WordPress-Blog-Certificate and the domain name of the certificate might be example.com.
  1521. */
  1522. certificateName: ResourceName;
  1523. }
  1524. export interface AttachCertificateToDistributionResult {
  1525. /**
  1526. * An object that describes the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.
  1527. */
  1528. operation?: Operation;
  1529. }
  1530. export interface AttachDiskRequest {
  1531. /**
  1532. * The unique Lightsail disk name (my-disk).
  1533. */
  1534. diskName: ResourceName;
  1535. /**
  1536. * The name of the Lightsail instance where you want to utilize the storage disk.
  1537. */
  1538. instanceName: ResourceName;
  1539. /**
  1540. * The disk path to expose to the instance (/dev/xvdf).
  1541. */
  1542. diskPath: NonEmptyString;
  1543. /**
  1544. * A Boolean value used to determine the automatic mounting of a storage volume to a virtual computer. The default value is False. This value only applies to Lightsail for Research resources.
  1545. */
  1546. autoMounting?: boolean;
  1547. }
  1548. export interface AttachDiskResult {
  1549. /**
  1550. * An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.
  1551. */
  1552. operations?: OperationList;
  1553. }
  1554. export interface AttachInstancesToLoadBalancerRequest {
  1555. /**
  1556. * The name of the load balancer.
  1557. */
  1558. loadBalancerName: ResourceName;
  1559. /**
  1560. * An array of strings representing the instance name(s) you want to attach to your load balancer. An instance must be running before you can attach it to your load balancer. There are no additional limits on the number of instances you can attach to your load balancer, aside from the limit of Lightsail instances you can create in your account (20).
  1561. */
  1562. instanceNames: ResourceNameList;
  1563. }
  1564. export interface AttachInstancesToLoadBalancerResult {
  1565. /**
  1566. * An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.
  1567. */
  1568. operations?: OperationList;
  1569. }
  1570. export interface AttachLoadBalancerTlsCertificateRequest {
  1571. /**
  1572. * The name of the load balancer to which you want to associate the SSL/TLS certificate.
  1573. */
  1574. loadBalancerName: ResourceName;
  1575. /**
  1576. * The name of your SSL/TLS certificate.
  1577. */
  1578. certificateName: ResourceName;
  1579. }
  1580. export interface AttachLoadBalancerTlsCertificateResult {
  1581. /**
  1582. * An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request. These SSL/TLS certificates are only usable by Lightsail load balancers. You can't get the certificate and use it for another purpose.
  1583. */
  1584. operations?: OperationList;
  1585. }
  1586. export interface AttachStaticIpRequest {
  1587. /**
  1588. * The name of the static IP.
  1589. */
  1590. staticIpName: ResourceName;
  1591. /**
  1592. * The instance name to which you want to attach the static IP address.
  1593. */
  1594. instanceName: ResourceName;
  1595. }
  1596. export interface AttachStaticIpResult {
  1597. /**
  1598. * An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.
  1599. */
  1600. operations?: OperationList;
  1601. }
  1602. export interface AttachedDisk {
  1603. /**
  1604. * The path of the disk (/dev/xvdf).
  1605. */
  1606. path?: string;
  1607. /**
  1608. * The size of the disk in GB.
  1609. */
  1610. sizeInGb?: integer;
  1611. }
  1612. export type AttachedDiskList = AttachedDisk[];
  1613. export type AttachedDiskMap = {[key: string]: DiskMapList};
  1614. export type AutoMountStatus = "Failed"|"Pending"|"Mounted"|"NotMounted"|string;
  1615. export interface AutoSnapshotAddOnRequest {
  1616. /**
  1617. * The daily time when an automatic snapshot will be created. Constraints: Must be in HH:00 format, and in an hourly increment. Specified in Coordinated Universal Time (UTC). The snapshot will be automatically created between the time specified and up to 45 minutes after.
  1618. */
  1619. snapshotTimeOfDay?: TimeOfDay;
  1620. }
  1621. export type AutoSnapshotDate = string;
  1622. export interface AutoSnapshotDetails {
  1623. /**
  1624. * The date of the automatic snapshot in YYYY-MM-DD format.
  1625. */
  1626. date?: string;
  1627. /**
  1628. * The timestamp when the automatic snapshot was created.
  1629. */
  1630. createdAt?: IsoDate;
  1631. /**
  1632. * The status of the automatic snapshot.
  1633. */
  1634. status?: AutoSnapshotStatus;
  1635. /**
  1636. * An array of objects that describe the block storage disks attached to the instance when the automatic snapshot was created.
  1637. */
  1638. fromAttachedDisks?: AttachedDiskList;
  1639. }
  1640. export type AutoSnapshotDetailsList = AutoSnapshotDetails[];
  1641. export type AutoSnapshotStatus = "Success"|"Failed"|"InProgress"|"NotFound"|string;
  1642. export interface AvailabilityZone {
  1643. /**
  1644. * The name of the Availability Zone. The format is us-east-2a (case-sensitive).
  1645. */
  1646. zoneName?: NonEmptyString;
  1647. /**
  1648. * The state of the Availability Zone.
  1649. */
  1650. state?: NonEmptyString;
  1651. }
  1652. export type AvailabilityZoneList = AvailabilityZone[];
  1653. export type BPAStatusMessage = "DEFAULTED_FOR_SLR_MISSING"|"SYNC_ON_HOLD"|"DEFAULTED_FOR_SLR_MISSING_ON_HOLD"|"Unknown"|string;
  1654. export type Base64 = string;
  1655. export type BehaviorEnum = "dont-cache"|"cache"|string;
  1656. export interface Blueprint {
  1657. /**
  1658. * The ID for the virtual private server image (app_wordpress_4_4 or app_lamp_7_0).
  1659. */
  1660. blueprintId?: NonEmptyString;
  1661. /**
  1662. * The friendly name of the blueprint (Amazon Linux).
  1663. */
  1664. name?: ResourceName;
  1665. /**
  1666. * The group name of the blueprint (amazon-linux).
  1667. */
  1668. group?: NonEmptyString;
  1669. /**
  1670. * The type of the blueprint (os or app).
  1671. */
  1672. type?: BlueprintType;
  1673. /**
  1674. * The description of the blueprint.
  1675. */
  1676. description?: string;
  1677. /**
  1678. * A Boolean value indicating whether the blueprint is active. Inactive blueprints are listed to support customers with existing instances but are not necessarily available for launch of new instances. Blueprints are marked inactive when they become outdated due to operating system updates or new application releases.
  1679. */
  1680. isActive?: boolean;
  1681. /**
  1682. * The minimum bundle power required to run this blueprint. For example, you need a bundle with a power value of 500 or more to create an instance that uses a blueprint with a minimum power value of 500. 0 indicates that the blueprint runs on all instance sizes.
  1683. */
  1684. minPower?: integer;
  1685. /**
  1686. * The version number of the operating system, application, or stack ( 2016.03.0).
  1687. */
  1688. version?: string;
  1689. /**
  1690. * The version code.
  1691. */
  1692. versionCode?: string;
  1693. /**
  1694. * The product URL to learn more about the image or blueprint.
  1695. */
  1696. productUrl?: string;
  1697. /**
  1698. * The end-user license agreement URL for the image or blueprint.
  1699. */
  1700. licenseUrl?: string;
  1701. /**
  1702. * The operating system platform (either Linux/Unix-based or Windows Server-based) of the blueprint.
  1703. */
  1704. platform?: InstancePlatform;
  1705. /**
  1706. * Virtual computer blueprints that are supported by Lightsail for Research. This parameter only applies to Lightsail for Research resources.
  1707. */
  1708. appCategory?: AppCategory;
  1709. }
  1710. export type BlueprintList = Blueprint[];
  1711. export type BlueprintType = "os"|"app"|string;
  1712. export interface Bucket {
  1713. /**
  1714. * The Lightsail resource type of the bucket.
  1715. */
  1716. resourceType?: NonEmptyString;
  1717. /**
  1718. * An object that describes the access rules of the bucket.
  1719. */
  1720. accessRules?: AccessRules;
  1721. /**
  1722. * The Amazon Resource Name (ARN) of the bucket.
  1723. */
  1724. arn?: NonEmptyString;
  1725. /**
  1726. * The ID of the bundle currently applied to the bucket. A bucket bundle specifies the monthly cost, storage space, and data transfer quota for a bucket. Use the UpdateBucketBundle action to change the bundle of a bucket.
  1727. */
  1728. bundleId?: NonEmptyString;
  1729. /**
  1730. * The timestamp when the distribution was created.
  1731. */
  1732. createdAt?: IsoDate;
  1733. /**
  1734. * The URL of the bucket.
  1735. */
  1736. url?: NonEmptyString;
  1737. /**
  1738. * An object that describes the location of the bucket, such as the Amazon Web Services Region and Availability Zone.
  1739. */
  1740. location?: ResourceLocation;
  1741. /**
  1742. * The name of the bucket.
  1743. */
  1744. name?: BucketName;
  1745. /**
  1746. * The support code for a bucket. Include this code in your email to support when you have questions about a Lightsail bucket. This code enables our support team to look up your Lightsail information more easily.
  1747. */
  1748. supportCode?: NonEmptyString;
  1749. /**
  1750. * The tag keys and optional values for the bucket. For more information, see Tags in Amazon Lightsail in the Amazon Lightsail Developer Guide.
  1751. */
  1752. tags?: TagList;
  1753. /**
  1754. * Indicates whether object versioning is enabled for the bucket. The following options can be configured: Enabled - Object versioning is enabled. Suspended - Object versioning was previously enabled but is currently suspended. Existing object versions are retained. NeverEnabled - Object versioning has never been enabled.
  1755. */
  1756. objectVersioning?: NonEmptyString;
  1757. /**
  1758. * Indicates whether the bundle that is currently applied to a bucket can be changed to another bundle. You can update a bucket's bundle only one time within a monthly Amazon Web Services billing cycle. Use the UpdateBucketBundle action to change a bucket's bundle.
  1759. */
  1760. ableToUpdateBundle?: boolean;
  1761. /**
  1762. * An array of strings that specify the Amazon Web Services account IDs that have read-only access to the bucket.
  1763. */
  1764. readonlyAccessAccounts?: PartnerIdList;
  1765. /**
  1766. * An array of objects that describe Lightsail instances that have access to the bucket. Use the SetResourceAccessForBucket action to update the instances that have access to a bucket.
  1767. */
  1768. resourcesReceivingAccess?: AccessReceiverList;
  1769. /**
  1770. * An object that describes the state of the bucket.
  1771. */
  1772. state?: BucketState;
  1773. /**
  1774. * An object that describes the access log configuration for the bucket.
  1775. */
  1776. accessLogConfig?: BucketAccessLogConfig;
  1777. }
  1778. export interface BucketAccessLogConfig {
  1779. /**
  1780. * A Boolean value that indicates whether bucket access logging is enabled for the bucket.
  1781. */
  1782. enabled: boolean;
  1783. /**
  1784. * The name of the bucket where the access logs are saved. The destination can be a Lightsail bucket in the same account, and in the same Amazon Web Services Region as the source bucket. This parameter is required when enabling the access log for a bucket, and should be omitted when disabling the access log.
  1785. */
  1786. destination?: BucketName;
  1787. /**
  1788. * The optional object prefix for the bucket access log. The prefix is an optional addition to the object key that organizes your access log files in the destination bucket. For example, if you specify a logs/ prefix, then each log object will begin with the logs/ prefix in its key (for example, logs/2021-11-01-21-32-16-E568B2907131C0C0). This parameter can be optionally specified when enabling the access log for a bucket, and should be omitted when disabling the access log.
  1789. */
  1790. prefix?: BucketAccessLogPrefix;
  1791. }
  1792. export type BucketAccessLogPrefix = string;
  1793. export interface BucketBundle {
  1794. /**
  1795. * The ID of the bundle.
  1796. */
  1797. bundleId?: NonEmptyString;
  1798. /**
  1799. * The name of the bundle.
  1800. */
  1801. name?: NonEmptyString;
  1802. /**
  1803. * The monthly price of the bundle, in US dollars.
  1804. */
  1805. price?: float;
  1806. /**
  1807. * The storage size of the bundle, in GB.
  1808. */
  1809. storagePerMonthInGb?: integer;
  1810. /**
  1811. * The monthly network transfer quota of the bundle.
  1812. */
  1813. transferPerMonthInGb?: integer;
  1814. /**
  1815. * Indicates whether the bundle is active. Use for a new or existing bucket.
  1816. */
  1817. isActive?: boolean;
  1818. }
  1819. export type BucketBundleList = BucketBundle[];
  1820. export type BucketList = Bucket[];
  1821. export type BucketMetricName = "BucketSizeBytes"|"NumberOfObjects"|string;
  1822. export type BucketName = string;
  1823. export interface BucketState {
  1824. /**
  1825. * The state code of the bucket. The following codes are possible: OK - The bucket is in a running state. Unknown - Creation of the bucket might have timed-out. You might want to delete the bucket and create a new one.
  1826. */
  1827. code?: NonEmptyString;
  1828. /**
  1829. * A message that describes the state of the bucket.
  1830. */
  1831. message?: string;
  1832. }
  1833. export interface Bundle {
  1834. /**
  1835. * The price in US dollars (5.0) of the bundle.
  1836. */
  1837. price?: float;
  1838. /**
  1839. * The number of vCPUs included in the bundle (2).
  1840. */
  1841. cpuCount?: integer;
  1842. /**
  1843. * The size of the SSD (30).
  1844. */
  1845. diskSizeInGb?: integer;
  1846. /**
  1847. * The bundle ID (micro_1_0).
  1848. */
  1849. bundleId?: NonEmptyString;
  1850. /**
  1851. * The Amazon EC2 instance type (t2.micro).
  1852. */
  1853. instanceType?: string;
  1854. /**
  1855. * A Boolean value indicating whether the bundle is active.
  1856. */
  1857. isActive?: boolean;
  1858. /**
  1859. * A friendly name for the bundle (Micro).
  1860. */
  1861. name?: string;
  1862. /**
  1863. * A numeric value that represents the power of the bundle (500). You can use the bundle's power value in conjunction with a blueprint's minimum power value to determine whether the blueprint will run on the bundle. For example, you need a bundle with a power value of 500 or more to create an instance that uses a blueprint with a minimum power value of 500.
  1864. */
  1865. power?: integer;
  1866. /**
  1867. * The amount of RAM in GB (2.0).
  1868. */
  1869. ramSizeInGb?: float;
  1870. /**
  1871. * The data transfer rate per month in GB (2000).
  1872. */
  1873. transferPerMonthInGb?: integer;
  1874. /**
  1875. * The operating system platform (Linux/Unix-based or Windows Server-based) that the bundle supports. You can only launch a WINDOWS bundle on a blueprint that supports the WINDOWS platform. LINUX_UNIX blueprints require a LINUX_UNIX bundle.
  1876. */
  1877. supportedPlatforms?: InstancePlatformList;
  1878. /**
  1879. * Virtual computer blueprints that are supported by a Lightsail for Research bundle. This parameter only applies to Lightsail for Research resources.
  1880. */
  1881. supportedAppCategories?: AppCategoryList;
  1882. /**
  1883. * An integer that indicates the public ipv4 address count included in the bundle, the value is either 0 or 1.
  1884. */
  1885. publicIpv4AddressCount?: integer;
  1886. }
  1887. export type BundleList = Bundle[];
  1888. export interface CacheBehavior {
  1889. /**
  1890. * The cache behavior of the distribution. The following cache behaviors can be specified: cache - This option is best for static sites. When specified, your distribution caches and serves your entire website as static content. This behavior is ideal for websites with static content that doesn't change depending on who views it, or for websites that don't use cookies, headers, or query strings to personalize content. dont-cache - This option is best for sites that serve a mix of static and dynamic content. When specified, your distribution caches and serve only the content that is specified in the distribution's CacheBehaviorPerPath parameter. This behavior is ideal for websites or web applications that use cookies, headers, and query strings to personalize content for individual users.
  1891. */
  1892. behavior?: BehaviorEnum;
  1893. }
  1894. export type CacheBehaviorList = CacheBehaviorPerPath[];
  1895. export interface CacheBehaviorPerPath {
  1896. /**
  1897. * The path to a directory or file to cached, or not cache. Use an asterisk symbol to specify wildcard directories (path/to/assets/*), and file types (*.html, *jpg, *js). Directories and file paths are case-sensitive. Examples: Specify the following to cache all files in the document root of an Apache web server running on a Lightsail instance. var/www/html/ Specify the following file to cache only the index page in the document root of an Apache web server. var/www/html/index.html Specify the following to cache only the .html files in the document root of an Apache web server. var/www/html/*.html Specify the following to cache only the .jpg, .png, and .gif files in the images sub-directory of the document root of an Apache web server. var/www/html/images/*.jpg var/www/html/images/*.png var/www/html/images/*.gif Specify the following to cache all files in the images sub-directory of the document root of an Apache web server. var/www/html/images/
  1898. */
  1899. path?: string;
  1900. /**
  1901. * The cache behavior for the specified path. You can specify one of the following per-path cache behaviors: cache - This behavior caches the specified path. dont-cache - This behavior doesn't cache the specified path.
  1902. */
  1903. behavior?: BehaviorEnum;
  1904. }
  1905. export interface CacheSettings {
  1906. /**
  1907. * The default amount of time that objects stay in the distribution's cache before the distribution forwards another request to the origin to determine whether the content has been updated. The value specified applies only when the origin does not add HTTP headers such as Cache-Control max-age, Cache-Control s-maxage, and Expires to objects.
  1908. */
  1909. defaultTTL?: long;
  1910. /**
  1911. * The minimum amount of time that objects stay in the distribution's cache before the distribution forwards another request to the origin to determine whether the object has been updated. A value of 0 must be specified for minimumTTL if the distribution is configured to forward all headers to the origin.
  1912. */
  1913. minimumTTL?: long;
  1914. /**
  1915. * The maximum amount of time that objects stay in the distribution's cache before the distribution forwards another request to the origin to determine whether the object has been updated. The value specified applies only when the origin adds HTTP headers such as Cache-Control max-age, Cache-Control s-maxage, and Expires to objects.
  1916. */
  1917. maximumTTL?: long;
  1918. /**
  1919. * The HTTP methods that are processed and forwarded to the distribution's origin. You can specify the following options: GET,HEAD - The distribution forwards the GET and HEAD methods. GET,HEAD,OPTIONS - The distribution forwards the GET, HEAD, and OPTIONS methods. GET,HEAD,OPTIONS,PUT,PATCH,POST,DELETE - The distribution forwards the GET, HEAD, OPTIONS, PUT, PATCH, POST, and DELETE methods. If you specify the third option, you might need to restrict access to your distribution's origin so users can't perform operations that you don't want them to. For example, you might not want users to have permission to delete objects from your origin.
  1920. */
  1921. allowedHTTPMethods?: NonEmptyString;
  1922. /**
  1923. * The HTTP method responses that are cached by your distribution. You can specify the following options: GET,HEAD - The distribution caches responses to the GET and HEAD methods. GET,HEAD,OPTIONS - The distribution caches responses to the GET, HEAD, and OPTIONS methods.
  1924. */
  1925. cachedHTTPMethods?: NonEmptyString;
  1926. /**
  1927. * An object that describes the cookies that are forwarded to the origin. Your content is cached based on the cookies that are forwarded.
  1928. */
  1929. forwardedCookies?: CookieObject;
  1930. /**
  1931. * An object that describes the headers that are forwarded to the origin. Your content is cached based on the headers that are forwarded.
  1932. */
  1933. forwardedHeaders?: HeaderObject;
  1934. /**
  1935. * An object that describes the query strings that are forwarded to the origin. Your content is cached based on the query strings that are forwarded.
  1936. */
  1937. forwardedQueryStrings?: QueryStringObject;
  1938. }
  1939. export interface Certificate {
  1940. /**
  1941. * The Amazon Resource Name (ARN) of the certificate.
  1942. */
  1943. arn?: NonEmptyString;
  1944. /**
  1945. * The name of the certificate (my-certificate).
  1946. */
  1947. name?: CertificateName;
  1948. /**
  1949. * The domain name of the certificate.
  1950. */
  1951. domainName?: DomainName;
  1952. /**
  1953. * The validation status of the certificate.
  1954. */
  1955. status?: CertificateStatus;
  1956. /**
  1957. * The serial number of the certificate.
  1958. */
  1959. serialNumber?: SerialNumber;
  1960. /**
  1961. * An array of strings that specify the alternate domains (example2.com) and subdomains (blog.example.com) of the certificate.
  1962. */
  1963. subjectAlternativeNames?: SubjectAlternativeNameList;
  1964. /**
  1965. * An array of objects that describe the domain validation records of the certificate.
  1966. */
  1967. domainValidationRecords?: DomainValidationRecordList;
  1968. /**
  1969. * The validation failure reason, if any, of the certificate. The following failure reasons are possible: NO_AVAILABLE_CONTACTS - This failure applies to email validation, which is not available for Lightsail certificates. ADDITIONAL_VERIFICATION_REQUIRED - Lightsail requires additional information to process this certificate request. This can happen as a fraud-protection measure, such as when the domain ranks within the Alexa top 1000 websites. To provide the required information, use the Amazon Web Services Support Center to contact Amazon Web Services Support. You cannot request a certificate for Amazon-owned domain names such as those ending in amazonaws.com, cloudfront.net, or elasticbeanstalk.com. DOMAIN_NOT_ALLOWED - One or more of the domain names in the certificate request was reported as an unsafe domain by VirusTotal. To correct the problem, search for your domain name on the VirusTotal website. If your domain is reported as suspicious, see Google Help for Hacked Websites to learn what you can do. If you believe that the result is a false positive, notify the organization that is reporting the domain. VirusTotal is an aggregate of several antivirus and URL scanners and cannot remove your domain from a block list itself. After you correct the problem and the VirusTotal registry has been updated, request a new certificate. If you see this error and your domain is not included in the VirusTotal list, visit the Amazon Web Services Support Center and create a case. INVALID_PUBLIC_DOMAIN - One or more of the domain names in the certificate request is not valid. Typically, this is because a domain name in the request is not a valid top-level domain. Try to request a certificate again, correcting any spelling errors or typos that were in the failed request, and ensure that all domain names in the request are for valid top-level domains. For example, you cannot request a certificate for example.invalidpublicdomain because invalidpublicdomain is not a valid top-level domain. OTHER - Typically, this failure occurs when there is a typographical error in one or more of the domain names in the certificate request. Try to request a certificate again, correcting any spelling errors or typos that were in the failed request.
  1970. */
  1971. requestFailureReason?: RequestFailureReason;
  1972. /**
  1973. * The number of Lightsail resources that the certificate is attached to.
  1974. */
  1975. inUseResourceCount?: InUseResourceCount;
  1976. /**
  1977. * The algorithm used to generate the key pair (the public and private key) of the certificate.
  1978. */
  1979. keyAlgorithm?: KeyAlgorithm;
  1980. /**
  1981. * The timestamp when the certificate was created.
  1982. */
  1983. createdAt?: IsoDate;
  1984. /**
  1985. * The timestamp when the certificate was issued.
  1986. */
  1987. issuedAt?: IsoDate;
  1988. /**
  1989. * The certificate authority that issued the certificate.
  1990. */
  1991. issuerCA?: IssuerCA;
  1992. /**
  1993. * The timestamp when the certificate is first valid.
  1994. */
  1995. notBefore?: IsoDate;
  1996. /**
  1997. * The timestamp when the certificate expires.
  1998. */
  1999. notAfter?: IsoDate;
  2000. /**
  2001. * The renewal eligibility of the certificate.
  2002. */
  2003. eligibleToRenew?: EligibleToRenew;
  2004. /**
  2005. * An object that describes the status of the certificate renewal managed by Lightsail.
  2006. */
  2007. renewalSummary?: RenewalSummary;
  2008. /**
  2009. * The timestamp when the certificate was revoked. This value is present only when the certificate status is REVOKED.
  2010. */
  2011. revokedAt?: IsoDate;
  2012. /**
  2013. * The reason the certificate was revoked. This value is present only when the certificate status is REVOKED.
  2014. */
  2015. revocationReason?: RevocationReason;
  2016. /**
  2017. * The tag keys and optional values for the resource. For more information about tags in Lightsail, see the Amazon Lightsail Developer Guide.
  2018. */
  2019. tags?: TagList;
  2020. /**
  2021. * The support code. Include this code in your email to support when you have questions about your Lightsail certificate. This code enables our support team to look up your Lightsail information more easily.
  2022. */
  2023. supportCode?: string;
  2024. }
  2025. export type CertificateDomainValidationStatus = "PENDING_VALIDATION"|"FAILED"|"SUCCESS"|string;
  2026. export type CertificateName = string;
  2027. export type CertificateProvider = "LetsEncrypt"|string;
  2028. export type CertificateStatus = "PENDING_VALIDATION"|"ISSUED"|"INACTIVE"|"EXPIRED"|"VALIDATION_TIMED_OUT"|"REVOKED"|"FAILED"|string;
  2029. export type CertificateStatusList = CertificateStatus[];
  2030. export interface CertificateSummary {
  2031. /**
  2032. * The Amazon Resource Name (ARN) of the certificate.
  2033. */
  2034. certificateArn?: NonEmptyString;
  2035. /**
  2036. * The name of the certificate.
  2037. */
  2038. certificateName?: CertificateName;
  2039. /**
  2040. * The domain name of the certificate.
  2041. */
  2042. domainName?: DomainName;
  2043. /**
  2044. * An object that describes a certificate in detail.
  2045. */
  2046. certificateDetail?: Certificate;
  2047. /**
  2048. * The tag keys and optional values for the resource. For more information about tags in Lightsail, see the Amazon Lightsail Developer Guide.
  2049. */
  2050. tags?: TagList;
  2051. }
  2052. export type CertificateSummaryList = CertificateSummary[];
  2053. export interface CloseInstancePublicPortsRequest {
  2054. /**
  2055. * An object to describe the ports to close for the specified instance.
  2056. */
  2057. portInfo: PortInfo;
  2058. /**
  2059. * The name of the instance for which to close ports.
  2060. */
  2061. instanceName: ResourceName;
  2062. }
  2063. export interface CloseInstancePublicPortsResult {
  2064. /**
  2065. * An object that describes the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.
  2066. */
  2067. operation?: Operation;
  2068. }
  2069. export interface CloudFormationStackRecord {
  2070. /**
  2071. * The name of the CloudFormation stack record. It starts with CloudFormationStackRecord followed by a GUID.
  2072. */
  2073. name?: ResourceName;
  2074. /**
  2075. * The Amazon Resource Name (ARN) of the CloudFormation stack record.
  2076. */
  2077. arn?: NonEmptyString;
  2078. /**
  2079. * The date when the CloudFormation stack record was created.
  2080. */
  2081. createdAt?: IsoDate;
  2082. /**
  2083. * A list of objects describing the Availability Zone and Amazon Web Services Region of the CloudFormation stack record.
  2084. */
  2085. location?: ResourceLocation;
  2086. /**
  2087. * The Lightsail resource type (CloudFormationStackRecord).
  2088. */
  2089. resourceType?: ResourceType;
  2090. /**
  2091. * The current state of the CloudFormation stack record.
  2092. */
  2093. state?: RecordState;
  2094. /**
  2095. * A list of objects describing the source of the CloudFormation stack record.
  2096. */
  2097. sourceInfo?: CloudFormationStackRecordSourceInfoList;
  2098. /**
  2099. * A list of objects describing the destination service, which is AWS CloudFormation, and the Amazon Resource Name (ARN) of the AWS CloudFormation stack.
  2100. */
  2101. destinationInfo?: DestinationInfo;
  2102. }
  2103. export type CloudFormationStackRecordList = CloudFormationStackRecord[];
  2104. export interface CloudFormationStackRecordSourceInfo {
  2105. /**
  2106. * The Lightsail resource type (ExportSnapshotRecord).
  2107. */
  2108. resourceType?: CloudFormationStackRecordSourceType;
  2109. /**
  2110. * The name of the record.
  2111. */
  2112. name?: NonEmptyString;
  2113. /**
  2114. * The Amazon Resource Name (ARN) of the export snapshot record.
  2115. */
  2116. arn?: NonEmptyString;
  2117. }
  2118. export type CloudFormationStackRecordSourceInfoList = CloudFormationStackRecordSourceInfo[];
  2119. export type CloudFormationStackRecordSourceType = "ExportSnapshotRecord"|string;
  2120. export type ComparisonOperator = "GreaterThanOrEqualToThreshold"|"GreaterThanThreshold"|"LessThanThreshold"|"LessThanOrEqualToThreshold"|string;
  2121. export interface ContactMethod {
  2122. /**
  2123. * The destination of the contact method, such as an email address or a mobile phone number.
  2124. */
  2125. contactEndpoint?: NonEmptyString;
  2126. /**
  2127. * The current status of the contact method. A contact method has the following possible status: PendingVerification - The contact method has not yet been verified, and the verification has not yet expired. Valid - The contact method has been verified. InValid - An attempt was made to verify the contact method, but the verification has expired.
  2128. */
  2129. status?: ContactMethodStatus;
  2130. /**
  2131. * The protocol of the contact method, such as email or SMS (text messaging).
  2132. */
  2133. protocol?: ContactProtocol;
  2134. /**
  2135. * The name of the contact method.
  2136. */
  2137. name?: ResourceName;
  2138. /**
  2139. * The Amazon Resource Name (ARN) of the contact method.
  2140. */
  2141. arn?: NonEmptyString;
  2142. /**
  2143. * The timestamp when the contact method was created.
  2144. */
  2145. createdAt?: IsoDate;
  2146. /**
  2147. * An object that describes the location of the contact method, such as the Amazon Web Services Region and Availability Zone.
  2148. */
  2149. location?: ResourceLocation;
  2150. /**
  2151. * The Lightsail resource type of the contact method.
  2152. */
  2153. resourceType?: ResourceType;
  2154. /**
  2155. * The support code. Include this code in your email to support when you have questions about your Lightsail contact method. This code enables our support team to look up your Lightsail information more easily.
  2156. */
  2157. supportCode?: string;
  2158. }
  2159. export type ContactMethodStatus = "PendingVerification"|"Valid"|"Invalid"|string;
  2160. export type ContactMethodVerificationProtocol = "Email"|string;
  2161. export type ContactMethodsList = ContactMethod[];
  2162. export type ContactProtocol = "Email"|"SMS"|string;
  2163. export type ContactProtocolsList = ContactProtocol[];
  2164. export interface Container {
  2165. /**
  2166. * The name of the image used for the container. Container images sourced from your Lightsail container service, that are registered and stored on your service, start with a colon (:). For example, if your container service name is container-service-1, the container image label is mystaticsite, and you want to use the third (3) version of the registered container image, then you should specify :container-service-1.mystaticsite.3. To use the latest version of a container image, specify latest instead of a version number (for example, :container-service-1.mystaticsite.latest). Lightsail will automatically use the highest numbered version of the registered container image. Container images sourced from a public registry like Docker Hub don't start with a colon. For example, nginx:latest or nginx.
  2167. */
  2168. image?: string;
  2169. /**
  2170. * The launch command for the container.
  2171. */
  2172. command?: StringList;
  2173. /**
  2174. * The environment variables of the container.
  2175. */
  2176. environment?: Environment;
  2177. /**
  2178. * The open firewall ports of the container.
  2179. */
  2180. ports?: PortMap;
  2181. }
  2182. export interface ContainerImage {
  2183. /**
  2184. * The name of the container image.
  2185. */
  2186. image?: string;
  2187. /**
  2188. * The digest of the container image.
  2189. */
  2190. digest?: string;
  2191. /**
  2192. * The timestamp when the container image was created.
  2193. */
  2194. createdAt?: IsoDate;
  2195. }
  2196. export type ContainerImageList = ContainerImage[];
  2197. export type ContainerLabel = string;
  2198. export type ContainerMap = {[key: string]: Container};
  2199. export type ContainerName = string;
  2200. export interface ContainerService {
  2201. /**
  2202. * The name of the container service.
  2203. */
  2204. containerServiceName?: ContainerServiceName;
  2205. /**
  2206. * The Amazon Resource Name (ARN) of the container service.
  2207. */
  2208. arn?: NonEmptyString;
  2209. /**
  2210. * The timestamp when the container service was created.
  2211. */
  2212. createdAt?: IsoDate;
  2213. /**
  2214. * An object that describes the location of the container service, such as the Amazon Web Services Region and Availability Zone.
  2215. */
  2216. location?: ResourceLocation;
  2217. /**
  2218. * The Lightsail resource type of the container service.
  2219. */
  2220. resourceType?: ResourceType;
  2221. /**
  2222. * The tag keys and optional values for the resource. For more information about tags in Lightsail, see the Amazon Lightsail Developer Guide.
  2223. */
  2224. tags?: TagList;
  2225. /**
  2226. * The power specification of the container service. The power specifies the amount of RAM, the number of vCPUs, and the base price of the container service.
  2227. */
  2228. power?: ContainerServicePowerName;
  2229. /**
  2230. * The ID of the power of the container service.
  2231. */
  2232. powerId?: string;
  2233. /**
  2234. * The current state of the container service. The following container service states are possible: PENDING - The container service is being created. READY - The container service is running but it does not have an active container deployment. DEPLOYING - The container service is launching a container deployment. RUNNING - The container service is running and it has an active container deployment. UPDATING - The container service capacity or its custom domains are being updated. DELETING - The container service is being deleted. DISABLED - The container service is disabled, and its active deployment and containers, if any, are shut down.
  2235. */
  2236. state?: ContainerServiceState;
  2237. /**
  2238. * An object that describes the current state of the container service. The state detail is populated only when a container service is in a PENDING, DEPLOYING, or UPDATING state.
  2239. */
  2240. stateDetail?: ContainerServiceStateDetail;
  2241. /**
  2242. * The scale specification of the container service. The scale specifies the allocated compute nodes of the container service.
  2243. */
  2244. scale?: ContainerServiceScale;
  2245. /**
  2246. * An object that describes the current container deployment of the container service.
  2247. */
  2248. currentDeployment?: ContainerServiceDeployment;
  2249. /**
  2250. * An object that describes the next deployment of the container service. This value is null when there is no deployment in a pending state.
  2251. */
  2252. nextDeployment?: ContainerServiceDeployment;
  2253. /**
  2254. * A Boolean value indicating whether the container service is disabled.
  2255. */
  2256. isDisabled?: boolean;
  2257. /**
  2258. * The principal ARN of the container service. The principal ARN can be used to create a trust relationship between your standard Amazon Web Services account and your Lightsail container service. This allows you to give your service permission to access resources in your standard Amazon Web Services account.
  2259. */
  2260. principalArn?: string;
  2261. /**
  2262. * The private domain name of the container service. The private domain name is accessible only by other resources within the default virtual private cloud (VPC) of your Lightsail account.
  2263. */
  2264. privateDomainName?: string;
  2265. /**
  2266. * The public domain name of the container service, such as example.com and www.example.com. You can specify up to four public domain names for a container service. The domain names that you specify are used when you create a deployment with a container configured as the public endpoint of your container service. If you don't specify public domain names, then you can use the default domain of the container service. You must create and validate an SSL/TLS certificate before you can use public domain names with your container service. Use the CreateCertificate action to create a certificate for the public domain names you want to use with your container service. See CreateContainerService or UpdateContainerService for information about how to specify public domain names for your Lightsail container service.
  2267. */
  2268. publicDomainNames?: ContainerServicePublicDomains;
  2269. /**
  2270. * The publicly accessible URL of the container service. If no public endpoint is specified in the currentDeployment, this URL returns a 404 response.
  2271. */
  2272. url?: string;
  2273. /**
  2274. * An object that describes the configuration for the container service to access private container image repositories, such as Amazon Elastic Container Registry (Amazon ECR) private repositories. For more information, see Configuring access to an Amazon ECR private repository for an Amazon Lightsail container service in the Amazon Lightsail Developer Guide.
  2275. */
  2276. privateRegistryAccess?: PrivateRegistryAccess;
  2277. }
  2278. export interface ContainerServiceDeployment {
  2279. /**
  2280. * The version number of the deployment.
  2281. */
  2282. version?: integer;
  2283. /**
  2284. * The state of the deployment. A deployment can be in one of the following states: ACTIVATING - The deployment is being created. ACTIVE - The deployment was successfully created, and it's currently running on the container service. The container service can have only one deployment in an active state at a time. INACTIVE - The deployment was previously successfully created, but it is not currently running on the container service. FAILED - The deployment failed. Use the GetContainerLog action to view the log events for the containers in the deployment to try to determine the reason for the failure.
  2285. */
  2286. state?: ContainerServiceDeploymentState;
  2287. /**
  2288. * An object that describes the configuration for the containers of the deployment.
  2289. */
  2290. containers?: ContainerMap;
  2291. /**
  2292. * An object that describes the endpoint of the deployment.
  2293. */
  2294. publicEndpoint?: ContainerServiceEndpoint;
  2295. /**
  2296. * The timestamp when the deployment was created.
  2297. */
  2298. createdAt?: IsoDate;
  2299. }
  2300. export type ContainerServiceDeploymentList = ContainerServiceDeployment[];
  2301. export interface ContainerServiceDeploymentRequest {
  2302. /**
  2303. * An object that describes the configuration for the containers of the deployment.
  2304. */
  2305. containers?: ContainerMap;
  2306. /**
  2307. * An object that describes the endpoint of the deployment.
  2308. */
  2309. publicEndpoint?: EndpointRequest;
  2310. }
  2311. export type ContainerServiceDeploymentState = "ACTIVATING"|"ACTIVE"|"INACTIVE"|"FAILED"|string;
  2312. export interface ContainerServiceECRImagePullerRole {
  2313. /**
  2314. * A Boolean value that indicates whether the role is activated.
  2315. */
  2316. isActive?: boolean;
  2317. /**
  2318. * The Amazon Resource Name (ARN) of the role, if it is activated.
  2319. */
  2320. principalArn?: string;
  2321. }
  2322. export interface ContainerServiceECRImagePullerRoleRequest {
  2323. /**
  2324. * A Boolean value that indicates whether to activate the role.
  2325. */
  2326. isActive?: boolean;
  2327. }
  2328. export interface ContainerServiceEndpoint {
  2329. /**
  2330. * The name of the container entry of the deployment that the endpoint configuration applies to.
  2331. */
  2332. containerName?: string;
  2333. /**
  2334. * The port of the specified container to which traffic is forwarded to.
  2335. */
  2336. containerPort?: integer;
  2337. /**
  2338. * An object that describes the health check configuration of the container.
  2339. */
  2340. healthCheck?: ContainerServiceHealthCheckConfig;
  2341. }
  2342. export interface ContainerServiceHealthCheckConfig {
  2343. /**
  2344. * The number of consecutive health checks successes required before moving the container to the Healthy state. The default value is 2.
  2345. */
  2346. healthyThreshold?: integer;
  2347. /**
  2348. * The number of consecutive health check failures required before moving the container to the Unhealthy state. The default value is 2.
  2349. */
  2350. unhealthyThreshold?: integer;
  2351. /**
  2352. * The amount of time, in seconds, during which no response means a failed health check. You can specify between 2 and 60 seconds. The default value is 2.
  2353. */
  2354. timeoutSeconds?: integer;
  2355. /**
  2356. * The approximate interval, in seconds, between health checks of an individual container. You can specify between 5 and 300 seconds. The default value is 5.
  2357. */
  2358. intervalSeconds?: integer;
  2359. /**
  2360. * The path on the container on which to perform the health check. The default value is /.
  2361. */
  2362. path?: string;
  2363. /**
  2364. * The HTTP codes to use when checking for a successful response from a container. You can specify values between 200 and 499. You can specify multiple values (for example, 200,202) or a range of values (for example, 200-299).
  2365. */
  2366. successCodes?: string;
  2367. }
  2368. export type ContainerServiceList = ContainerService[];
  2369. export interface ContainerServiceLogEvent {
  2370. /**
  2371. * The timestamp when the container service log event was created.
  2372. */
  2373. createdAt?: IsoDate;
  2374. /**
  2375. * The message of the container service log event.
  2376. */
  2377. message?: string;
  2378. }
  2379. export type ContainerServiceLogEventList = ContainerServiceLogEvent[];
  2380. export type ContainerServiceMetadataEntry = {[key: string]: string};
  2381. export type ContainerServiceMetadataEntryList = ContainerServiceMetadataEntry[];
  2382. export type ContainerServiceMetricName = "CPUUtilization"|"MemoryUtilization"|string;
  2383. export type ContainerServiceName = string;
  2384. export interface ContainerServicePower {
  2385. /**
  2386. * The ID of the power (nano-1).
  2387. */
  2388. powerId?: string;
  2389. /**
  2390. * The monthly price of the power in USD.
  2391. */
  2392. price?: float;
  2393. /**
  2394. * The number of vCPUs included in the power.
  2395. */
  2396. cpuCount?: float;
  2397. /**
  2398. * The amount of RAM (in GB) of the power.
  2399. */
  2400. ramSizeInGb?: float;
  2401. /**
  2402. * The friendly name of the power (nano).
  2403. */
  2404. name?: string;
  2405. /**
  2406. * A Boolean value indicating whether the power is active and can be specified for container services.
  2407. */
  2408. isActive?: boolean;
  2409. }
  2410. export type ContainerServicePowerList = ContainerServicePower[];
  2411. export type ContainerServicePowerName = "nano"|"micro"|"small"|"medium"|"large"|"xlarge"|string;
  2412. export type ContainerServiceProtocol = "HTTP"|"HTTPS"|"TCP"|"UDP"|string;
  2413. export type ContainerServicePublicDomains = {[key: string]: ContainerServicePublicDomainsList};
  2414. export type ContainerServicePublicDomainsList = string[];
  2415. export interface ContainerServiceRegistryLogin {
  2416. /**
  2417. * The container service registry username to use to push container images to the container image registry of a Lightsail account.
  2418. */
  2419. username?: string;
  2420. /**
  2421. * The container service registry password to use to push container images to the container image registry of a Lightsail account
  2422. */
  2423. password?: string;
  2424. /**
  2425. * The timestamp of when the container image registry sign-in credentials expire. The log in credentials expire 12 hours after they are created, at which point you will need to create a new set of log in credentials using the CreateContainerServiceRegistryLogin action.
  2426. */
  2427. expiresAt?: IsoDate;
  2428. /**
  2429. * The address to use to push container images to the container image registry of a Lightsail account.
  2430. */
  2431. registry?: string;
  2432. }
  2433. export type ContainerServiceScale = number;
  2434. export type ContainerServiceState = "PENDING"|"READY"|"RUNNING"|"UPDATING"|"DELETING"|"DISABLED"|"DEPLOYING"|string;
  2435. export interface ContainerServiceStateDetail {
  2436. /**
  2437. * The state code of the container service. The following state codes are possible: The following state codes are possible if your container service is in a DEPLOYING or UPDATING state: CREATING_SYSTEM_RESOURCES - The system resources for your container service are being created. CREATING_NETWORK_INFRASTRUCTURE - The network infrastructure for your container service are being created. PROVISIONING_CERTIFICATE - The SSL/TLS certificate for your container service is being created. PROVISIONING_SERVICE - Your container service is being provisioned. CREATING_DEPLOYMENT - Your deployment is being created on your container service. EVALUATING_HEALTH_CHECK - The health of your deployment is being evaluated. ACTIVATING_DEPLOYMENT - Your deployment is being activated. The following state codes are possible if your container service is in a PENDING state: CERTIFICATE_LIMIT_EXCEEDED - The SSL/TLS certificate required for your container service exceeds the maximum number of certificates allowed for your account. UNKNOWN_ERROR - An error was experienced when your container service was being created.
  2438. */
  2439. code?: ContainerServiceStateDetailCode;
  2440. /**
  2441. * A message that provides more information for the state code. The state detail is populated only when a container service is in a PENDING, DEPLOYING, or UPDATING state.
  2442. */
  2443. message?: string;
  2444. }
  2445. export type ContainerServiceStateDetailCode = "CREATING_SYSTEM_RESOURCES"|"CREATING_NETWORK_INFRASTRUCTURE"|"PROVISIONING_CERTIFICATE"|"PROVISIONING_SERVICE"|"CREATING_DEPLOYMENT"|"EVALUATING_HEALTH_CHECK"|"ACTIVATING_DEPLOYMENT"|"CERTIFICATE_LIMIT_EXCEEDED"|"UNKNOWN_ERROR"|string;
  2446. export interface ContainerServicesListResult {
  2447. /**
  2448. * An array of objects that describe one or more container services.
  2449. */
  2450. containerServices?: ContainerServiceList;
  2451. }
  2452. export interface CookieObject {
  2453. /**
  2454. * Specifies which cookies to forward to the distribution's origin for a cache behavior: all, none, or allow-list to forward only the cookies specified in the cookiesAllowList parameter.
  2455. */
  2456. option?: ForwardValues;
  2457. /**
  2458. * The specific cookies to forward to your distribution's origin.
  2459. */
  2460. cookiesAllowList?: StringList;
  2461. }
  2462. export interface CopySnapshotRequest {
  2463. /**
  2464. * The name of the source manual snapshot to copy. Constraint: Define this parameter only when copying a manual snapshot as another manual snapshot.
  2465. */
  2466. sourceSnapshotName?: ResourceName;
  2467. /**
  2468. * The name of the source instance or disk from which the source automatic snapshot was created. Constraint: Define this parameter only when copying an automatic snapshot as a manual snapshot. For more information, see the Amazon Lightsail Developer Guide.
  2469. */
  2470. sourceResourceName?: string;
  2471. /**
  2472. * The date of the source automatic snapshot to copy. Use the get auto snapshots operation to identify the dates of the available automatic snapshots. Constraints: Must be specified in YYYY-MM-DD format. This parameter cannot be defined together with the use latest restorable auto snapshot parameter. The restore date and use latest restorable auto snapshot parameters are mutually exclusive. Define this parameter only when copying an automatic snapshot as a manual snapshot. For more information, see the Amazon Lightsail Developer Guide.
  2473. */
  2474. restoreDate?: string;
  2475. /**
  2476. * A Boolean value to indicate whether to use the latest available automatic snapshot of the specified source instance or disk. Constraints: This parameter cannot be defined together with the restore date parameter. The use latest restorable auto snapshot and restore date parameters are mutually exclusive. Define this parameter only when copying an automatic snapshot as a manual snapshot. For more information, see the Amazon Lightsail Developer Guide.
  2477. */
  2478. useLatestRestorableAutoSnapshot?: boolean;
  2479. /**
  2480. * The name of the new manual snapshot to be created as a copy.
  2481. */
  2482. targetSnapshotName: ResourceName;
  2483. /**
  2484. * The Amazon Web Services Region where the source manual or automatic snapshot is located.
  2485. */
  2486. sourceRegion: RegionName;
  2487. }
  2488. export interface CopySnapshotResult {
  2489. /**
  2490. * An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.
  2491. */
  2492. operations?: OperationList;
  2493. }
  2494. export interface CostEstimate {
  2495. /**
  2496. * The types of usage that are included in the estimate, such as costs, usage, or data transfer.
  2497. */
  2498. usageType?: NonEmptyString;
  2499. /**
  2500. * The cost estimate result that's associated with a time period.
  2501. */
  2502. resultsByTime?: EstimatesByTime;
  2503. }
  2504. export type CostEstimates = CostEstimate[];
  2505. export interface CreateBucketAccessKeyRequest {
  2506. /**
  2507. * The name of the bucket that the new access key will belong to, and grant access to.
  2508. */
  2509. bucketName: BucketName;
  2510. }
  2511. export interface CreateBucketAccessKeyResult {
  2512. /**
  2513. * An object that describes the access key that is created.
  2514. */
  2515. accessKey?: AccessKey;
  2516. /**
  2517. * An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.
  2518. */
  2519. operations?: OperationList;
  2520. }
  2521. export interface CreateBucketRequest {
  2522. /**
  2523. * The name for the bucket. For more information about bucket names, see Bucket naming rules in Amazon Lightsail in the Amazon Lightsail Developer Guide.
  2524. */
  2525. bucketName: BucketName;
  2526. /**
  2527. * The ID of the bundle to use for the bucket. A bucket bundle specifies the monthly cost, storage space, and data transfer quota for a bucket. Use the GetBucketBundles action to get a list of bundle IDs that you can specify. Use the UpdateBucketBundle action to change the bundle after the bucket is created.
  2528. */
  2529. bundleId: NonEmptyString;
  2530. /**
  2531. * The tag keys and optional values to add to the bucket during creation. Use the TagResource action to tag the bucket after it's created.
  2532. */
  2533. tags?: TagList;
  2534. /**
  2535. * A Boolean value that indicates whether to enable versioning of objects in the bucket. For more information about versioning, see Enabling and suspending object versioning in a bucket in Amazon Lightsail in the Amazon Lightsail Developer Guide.
  2536. */
  2537. enableObjectVersioning?: boolean;
  2538. }
  2539. export interface CreateBucketResult {
  2540. /**
  2541. * An object that describes the bucket that is created.
  2542. */
  2543. bucket?: Bucket;
  2544. /**
  2545. * An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.
  2546. */
  2547. operations?: OperationList;
  2548. }
  2549. export interface CreateCertificateRequest {
  2550. /**
  2551. * The name for the certificate.
  2552. */
  2553. certificateName: CertificateName;
  2554. /**
  2555. * The domain name (example.com) for the certificate.
  2556. */
  2557. domainName: DomainName;
  2558. /**
  2559. * An array of strings that specify the alternate domains (example2.com) and subdomains (blog.example.com) for the certificate. You can specify a maximum of nine alternate domains (in addition to the primary domain name). Wildcard domain entries (*.example.com) are not supported.
  2560. */
  2561. subjectAlternativeNames?: SubjectAlternativeNameList;
  2562. /**
  2563. * The tag keys and optional values to add to the certificate during create. Use the TagResource action to tag a resource after it's created.
  2564. */
  2565. tags?: TagList;
  2566. }
  2567. export interface CreateCertificateResult {
  2568. /**
  2569. * An object that describes the certificate created.
  2570. */
  2571. certificate?: CertificateSummary;
  2572. /**
  2573. * An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.
  2574. */
  2575. operations?: OperationList;
  2576. }
  2577. export interface CreateCloudFormationStackRequest {
  2578. /**
  2579. * An array of parameters that will be used to create the new Amazon EC2 instance. You can only pass one instance entry at a time in this array. You will get an invalid parameter error if you pass more than one instance entry in this array.
  2580. */
  2581. instances: InstanceEntryList;
  2582. }
  2583. export interface CreateCloudFormationStackResult {
  2584. /**
  2585. * An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.
  2586. */
  2587. operations?: OperationList;
  2588. }
  2589. export interface CreateContactMethodRequest {
  2590. /**
  2591. * The protocol of the contact method, such as Email or SMS (text messaging). The SMS protocol is supported only in the following Amazon Web Services Regions. US East (N. Virginia) (us-east-1) US West (Oregon) (us-west-2) Europe (Ireland) (eu-west-1) Asia Pacific (Tokyo) (ap-northeast-1) Asia Pacific (Singapore) (ap-southeast-1) Asia Pacific (Sydney) (ap-southeast-2) For a list of countries/regions where SMS text messages can be sent, and the latest Amazon Web Services Regions where SMS text messaging is supported, see Supported Regions and Countries in the Amazon SNS Developer Guide. For more information about notifications in Amazon Lightsail, see Notifications in Amazon Lightsail.
  2592. */
  2593. protocol: ContactProtocol;
  2594. /**
  2595. * The destination of the contact method, such as an email address or a mobile phone number. Use the E.164 format when specifying a mobile phone number. E.164 is a standard for the phone number structure used for international telecommunication. Phone numbers that follow this format can have a maximum of 15 digits, and they are prefixed with the plus character (+) and the country code. For example, a U.S. phone number in E.164 format would be specified as +1XXX5550100. For more information, see E.164 on Wikipedia.
  2596. */
  2597. contactEndpoint: StringMax256;
  2598. }
  2599. export interface CreateContactMethodResult {
  2600. /**
  2601. * An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.
  2602. */
  2603. operations?: OperationList;
  2604. }
  2605. export interface CreateContainerServiceDeploymentRequest {
  2606. /**
  2607. * The name of the container service for which to create the deployment.
  2608. */
  2609. serviceName: ContainerServiceName;
  2610. /**
  2611. * An object that describes the settings of the containers that will be launched on the container service.
  2612. */
  2613. containers?: ContainerMap;
  2614. /**
  2615. * An object that describes the settings of the public endpoint for the container service.
  2616. */
  2617. publicEndpoint?: EndpointRequest;
  2618. }
  2619. export interface CreateContainerServiceDeploymentResult {
  2620. /**
  2621. * An object that describes a container service.
  2622. */
  2623. containerService?: ContainerService;
  2624. }
  2625. export interface CreateContainerServiceRegistryLoginRequest {
  2626. }
  2627. export interface CreateContainerServiceRegistryLoginResult {
  2628. /**
  2629. * An object that describes the log in information for the container service registry of your Lightsail account.
  2630. */
  2631. registryLogin?: ContainerServiceRegistryLogin;
  2632. }
  2633. export interface CreateContainerServiceRequest {
  2634. /**
  2635. * The name for the container service. The name that you specify for your container service will make up part of its default domain. The default domain of a container service is typically https://&lt;ServiceName&gt;.&lt;RandomGUID&gt;.&lt;AWSRegion&gt;.cs.amazonlightsail.com. If the name of your container service is container-service-1, and it's located in the US East (Ohio) Amazon Web Services Region (us-east-2), then the domain for your container service will be like the following example: https://container-service-1.ur4EXAMPLE2uq.us-east-2.cs.amazonlightsail.com The following are the requirements for container service names: Must be unique within each Amazon Web Services Region in your Lightsail account. Must contain 1 to 63 characters. Must contain only alphanumeric characters and hyphens. A hyphen (-) can separate words but cannot be at the start or end of the name.
  2636. */
  2637. serviceName: ContainerServiceName;
  2638. /**
  2639. * The power specification for the container service. The power specifies the amount of memory, vCPUs, and base monthly cost of each node of the container service. The power and scale of a container service makes up its configured capacity. To determine the monthly price of your container service, multiply the base price of the power with the scale (the number of nodes) of the service. Use the GetContainerServicePowers action to get a list of power options that you can specify using this parameter, and their base monthly cost.
  2640. */
  2641. power: ContainerServicePowerName;
  2642. /**
  2643. * The scale specification for the container service. The scale specifies the allocated compute nodes of the container service. The power and scale of a container service makes up its configured capacity. To determine the monthly price of your container service, multiply the base price of the power with the scale (the number of nodes) of the service.
  2644. */
  2645. scale: ContainerServiceScale;
  2646. /**
  2647. * The tag keys and optional values to add to the container service during create. Use the TagResource action to tag a resource after it's created. For more information about tags in Lightsail, see the Amazon Lightsail Developer Guide.
  2648. */
  2649. tags?: TagList;
  2650. /**
  2651. * The public domain names to use with the container service, such as example.com and www.example.com. You can specify up to four public domain names for a container service. The domain names that you specify are used when you create a deployment with a container configured as the public endpoint of your container service. If you don't specify public domain names, then you can use the default domain of the container service. You must create and validate an SSL/TLS certificate before you can use public domain names with your container service. Use the CreateCertificate action to create a certificate for the public domain names you want to use with your container service. You can specify public domain names using a string to array map as shown in the example later on this page.
  2652. */
  2653. publicDomainNames?: ContainerServicePublicDomains;
  2654. /**
  2655. * An object that describes a deployment for the container service. A deployment specifies the containers that will be launched on the container service and their settings, such as the ports to open, the environment variables to apply, and the launch command to run. It also specifies the container that will serve as the public endpoint of the deployment and its settings, such as the HTTP or HTTPS port to use, and the health check configuration.
  2656. */
  2657. deployment?: ContainerServiceDeploymentRequest;
  2658. /**
  2659. * An object to describe the configuration for the container service to access private container image repositories, such as Amazon Elastic Container Registry (Amazon ECR) private repositories. For more information, see Configuring access to an Amazon ECR private repository for an Amazon Lightsail container service in the Amazon Lightsail Developer Guide.
  2660. */
  2661. privateRegistryAccess?: PrivateRegistryAccessRequest;
  2662. }
  2663. export interface CreateContainerServiceResult {
  2664. /**
  2665. * An object that describes a container service.
  2666. */
  2667. containerService?: ContainerService;
  2668. }
  2669. export interface CreateDiskFromSnapshotRequest {
  2670. /**
  2671. * The unique Lightsail disk name (my-disk).
  2672. */
  2673. diskName: ResourceName;
  2674. /**
  2675. * The name of the disk snapshot (my-snapshot) from which to create the new storage disk. Constraint: This parameter cannot be defined together with the source disk name parameter. The disk snapshot name and source disk name parameters are mutually exclusive.
  2676. */
  2677. diskSnapshotName?: ResourceName;
  2678. /**
  2679. * The Availability Zone where you want to create the disk (us-east-2a). Choose the same Availability Zone as the Lightsail instance where you want to create the disk. Use the GetRegions operation to list the Availability Zones where Lightsail is currently available.
  2680. */
  2681. availabilityZone: NonEmptyString;
  2682. /**
  2683. * The size of the disk in GB (32).
  2684. */
  2685. sizeInGb: integer;
  2686. /**
  2687. * The tag keys and optional values to add to the resource during create. Use the TagResource action to tag a resource after it's created.
  2688. */
  2689. tags?: TagList;
  2690. /**
  2691. * An array of objects that represent the add-ons to enable for the new disk.
  2692. */
  2693. addOns?: AddOnRequestList;
  2694. /**
  2695. * The name of the source disk from which the source automatic snapshot was created. Constraints: This parameter cannot be defined together with the disk snapshot name parameter. The source disk name and disk snapshot name parameters are mutually exclusive. Define this parameter only when creating a new disk from an automatic snapshot. For more information, see the Amazon Lightsail Developer Guide.
  2696. */
  2697. sourceDiskName?: string;
  2698. /**
  2699. * The date of the automatic snapshot to use for the new disk. Use the get auto snapshots operation to identify the dates of the available automatic snapshots. Constraints: Must be specified in YYYY-MM-DD format. This parameter cannot be defined together with the use latest restorable auto snapshot parameter. The restore date and use latest restorable auto snapshot parameters are mutually exclusive. Define this parameter only when creating a new disk from an automatic snapshot. For more information, see the Amazon Lightsail Developer Guide.
  2700. */
  2701. restoreDate?: string;
  2702. /**
  2703. * A Boolean value to indicate whether to use the latest available automatic snapshot. Constraints: This parameter cannot be defined together with the restore date parameter. The use latest restorable auto snapshot and restore date parameters are mutually exclusive. Define this parameter only when creating a new disk from an automatic snapshot. For more information, see the Amazon Lightsail Developer Guide.
  2704. */
  2705. useLatestRestorableAutoSnapshot?: boolean;
  2706. }
  2707. export interface CreateDiskFromSnapshotResult {
  2708. /**
  2709. * An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.
  2710. */
  2711. operations?: OperationList;
  2712. }
  2713. export interface CreateDiskRequest {
  2714. /**
  2715. * The unique Lightsail disk name (my-disk).
  2716. */
  2717. diskName: ResourceName;
  2718. /**
  2719. * The Availability Zone where you want to create the disk (us-east-2a). Use the same Availability Zone as the Lightsail instance to which you want to attach the disk. Use the get regions operation to list the Availability Zones where Lightsail is currently available.
  2720. */
  2721. availabilityZone: NonEmptyString;
  2722. /**
  2723. * The size of the disk in GB (32).
  2724. */
  2725. sizeInGb: integer;
  2726. /**
  2727. * The tag keys and optional values to add to the resource during create. Use the TagResource action to tag a resource after it's created.
  2728. */
  2729. tags?: TagList;
  2730. /**
  2731. * An array of objects that represent the add-ons to enable for the new disk.
  2732. */
  2733. addOns?: AddOnRequestList;
  2734. }
  2735. export interface CreateDiskResult {
  2736. /**
  2737. * An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.
  2738. */
  2739. operations?: OperationList;
  2740. }
  2741. export interface CreateDiskSnapshotRequest {
  2742. /**
  2743. * The unique name of the source disk (Disk-Virginia-1). This parameter cannot be defined together with the instance name parameter. The disk name and instance name parameters are mutually exclusive.
  2744. */
  2745. diskName?: ResourceName;
  2746. /**
  2747. * The name of the destination disk snapshot (my-disk-snapshot) based on the source disk.
  2748. */
  2749. diskSnapshotName: ResourceName;
  2750. /**
  2751. * The unique name of the source instance (Amazon_Linux-512MB-Virginia-1). When this is defined, a snapshot of the instance's system volume is created. This parameter cannot be defined together with the disk name parameter. The instance name and disk name parameters are mutually exclusive.
  2752. */
  2753. instanceName?: ResourceName;
  2754. /**
  2755. * The tag keys and optional values to add to the resource during create. Use the TagResource action to tag a resource after it's created.
  2756. */
  2757. tags?: TagList;
  2758. }
  2759. export interface CreateDiskSnapshotResult {
  2760. /**
  2761. * An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.
  2762. */
  2763. operations?: OperationList;
  2764. }
  2765. export interface CreateDistributionRequest {
  2766. /**
  2767. * The name for the distribution.
  2768. */
  2769. distributionName: ResourceName;
  2770. /**
  2771. * An object that describes the origin resource for the distribution, such as a Lightsail instance, bucket, or load balancer. The distribution pulls, caches, and serves content from the origin.
  2772. */
  2773. origin: InputOrigin;
  2774. /**
  2775. * An object that describes the default cache behavior for the distribution.
  2776. */
  2777. defaultCacheBehavior: CacheBehavior;
  2778. /**
  2779. * An object that describes the cache behavior settings for the distribution.
  2780. */
  2781. cacheBehaviorSettings?: CacheSettings;
  2782. /**
  2783. * An array of objects that describe the per-path cache behavior for the distribution.
  2784. */
  2785. cacheBehaviors?: CacheBehaviorList;
  2786. /**
  2787. * The bundle ID to use for the distribution. A distribution bundle describes the specifications of your distribution, such as the monthly cost and monthly network transfer quota. Use the GetDistributionBundles action to get a list of distribution bundle IDs that you can specify.
  2788. */
  2789. bundleId: string;
  2790. /**
  2791. * The IP address type for the distribution. The possible values are ipv4 for IPv4 only, and dualstack for IPv4 and IPv6. The default value is dualstack.
  2792. */
  2793. ipAddressType?: IpAddressType;
  2794. /**
  2795. * The tag keys and optional values to add to the distribution during create. Use the TagResource action to tag a resource after it's created.
  2796. */
  2797. tags?: TagList;
  2798. /**
  2799. * The name of the SSL/TLS certificate that you want to attach to the distribution. Use the GetCertificates action to get a list of certificate names that you can specify.
  2800. */
  2801. certificateName?: ResourceName;
  2802. /**
  2803. * The minimum TLS protocol version for the SSL/TLS certificate.
  2804. */
  2805. viewerMinimumTlsProtocolVersion?: ViewerMinimumTlsProtocolVersionEnum;
  2806. }
  2807. export interface CreateDistributionResult {
  2808. /**
  2809. * An object that describes the distribution created.
  2810. */
  2811. distribution?: LightsailDistribution;
  2812. /**
  2813. * An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.
  2814. */
  2815. operation?: Operation;
  2816. }
  2817. export interface CreateDomainEntryRequest {
  2818. /**
  2819. * The domain name (example.com) for which you want to create the domain entry.
  2820. */
  2821. domainName: DomainName;
  2822. /**
  2823. * An array of key-value pairs containing information about the domain entry request.
  2824. */
  2825. domainEntry: DomainEntry;
  2826. }
  2827. export interface CreateDomainEntryResult {
  2828. /**
  2829. * An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.
  2830. */
  2831. operation?: Operation;
  2832. }
  2833. export interface CreateDomainRequest {
  2834. /**
  2835. * The domain name to manage (example.com).
  2836. */
  2837. domainName: DomainName;
  2838. /**
  2839. * The tag keys and optional values to add to the resource during create. Use the TagResource action to tag a resource after it's created.
  2840. */
  2841. tags?: TagList;
  2842. }
  2843. export interface CreateDomainResult {
  2844. /**
  2845. * An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.
  2846. */
  2847. operation?: Operation;
  2848. }
  2849. export interface CreateGUISessionAccessDetailsRequest {
  2850. /**
  2851. * The resource name.
  2852. */
  2853. resourceName: ResourceName;
  2854. }
  2855. export interface CreateGUISessionAccessDetailsResult {
  2856. /**
  2857. * The resource name.
  2858. */
  2859. resourceName?: ResourceName;
  2860. /**
  2861. * The status of the operation.
  2862. */
  2863. status?: Status;
  2864. /**
  2865. * The percentage of completion for the operation.
  2866. */
  2867. percentageComplete?: integer;
  2868. /**
  2869. * The reason the operation failed.
  2870. */
  2871. failureReason?: string;
  2872. /**
  2873. * Returns information about the specified NICE DCV GUI session.
  2874. */
  2875. sessions?: Sessions;
  2876. }
  2877. export interface CreateInstanceSnapshotRequest {
  2878. /**
  2879. * The name for your new snapshot.
  2880. */
  2881. instanceSnapshotName: ResourceName;
  2882. /**
  2883. * The Lightsail instance on which to base your snapshot.
  2884. */
  2885. instanceName: ResourceName;
  2886. /**
  2887. * The tag keys and optional values to add to the resource during create. Use the TagResource action to tag a resource after it's created.
  2888. */
  2889. tags?: TagList;
  2890. }
  2891. export interface CreateInstanceSnapshotResult {
  2892. /**
  2893. * An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.
  2894. */
  2895. operations?: OperationList;
  2896. }
  2897. export interface CreateInstancesFromSnapshotRequest {
  2898. /**
  2899. * The names for your new instances.
  2900. */
  2901. instanceNames: StringList;
  2902. /**
  2903. * An object containing information about one or more disk mappings.
  2904. */
  2905. attachedDiskMapping?: AttachedDiskMap;
  2906. /**
  2907. * The Availability Zone where you want to create your instances. Use the following formatting: us-east-2a (case sensitive). You can get a list of Availability Zones by using the get regions operation. Be sure to add the include Availability Zones parameter to your request.
  2908. */
  2909. availabilityZone: string;
  2910. /**
  2911. * The name of the instance snapshot on which you are basing your new instances. Use the get instance snapshots operation to return information about your existing snapshots. Constraint: This parameter cannot be defined together with the source instance name parameter. The instance snapshot name and source instance name parameters are mutually exclusive.
  2912. */
  2913. instanceSnapshotName?: ResourceName;
  2914. /**
  2915. * The bundle of specification information for your virtual private server (or instance), including the pricing plan (micro_1_0).
  2916. */
  2917. bundleId: NonEmptyString;
  2918. /**
  2919. * You can create a launch script that configures a server with additional user data. For example, apt-get -y update. Depending on the machine image you choose, the command to get software on your instance varies. Amazon Linux and CentOS use yum, Debian and Ubuntu use apt-get, and FreeBSD uses pkg. For a complete list, see the Amazon Lightsail Developer Guide.
  2920. */
  2921. userData?: string;
  2922. /**
  2923. * The name for your key pair.
  2924. */
  2925. keyPairName?: ResourceName;
  2926. /**
  2927. * The tag keys and optional values to add to the resource during create. Use the TagResource action to tag a resource after it's created.
  2928. */
  2929. tags?: TagList;
  2930. /**
  2931. * An array of objects representing the add-ons to enable for the new instance.
  2932. */
  2933. addOns?: AddOnRequestList;
  2934. /**
  2935. * The IP address type for the instance. The possible values are ipv4 for IPv4 only, and dualstack for IPv4 and IPv6. The default value is dualstack.
  2936. */
  2937. ipAddressType?: IpAddressType;
  2938. /**
  2939. * The name of the source instance from which the source automatic snapshot was created. Constraints: This parameter cannot be defined together with the instance snapshot name parameter. The source instance name and instance snapshot name parameters are mutually exclusive. Define this parameter only when creating a new instance from an automatic snapshot. For more information, see the Amazon Lightsail Developer Guide.
  2940. */
  2941. sourceInstanceName?: string;
  2942. /**
  2943. * The date of the automatic snapshot to use for the new instance. Use the get auto snapshots operation to identify the dates of the available automatic snapshots. Constraints: Must be specified in YYYY-MM-DD format. This parameter cannot be defined together with the use latest restorable auto snapshot parameter. The restore date and use latest restorable auto snapshot parameters are mutually exclusive. Define this parameter only when creating a new instance from an automatic snapshot. For more information, see the Amazon Lightsail Developer Guide.
  2944. */
  2945. restoreDate?: string;
  2946. /**
  2947. * A Boolean value to indicate whether to use the latest available automatic snapshot. Constraints: This parameter cannot be defined together with the restore date parameter. The use latest restorable auto snapshot and restore date parameters are mutually exclusive. Define this parameter only when creating a new instance from an automatic snapshot. For more information, see the Amazon Lightsail Developer Guide.
  2948. */
  2949. useLatestRestorableAutoSnapshot?: boolean;
  2950. }
  2951. export interface CreateInstancesFromSnapshotResult {
  2952. /**
  2953. * An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.
  2954. */
  2955. operations?: OperationList;
  2956. }
  2957. export interface CreateInstancesRequest {
  2958. /**
  2959. * The names to use for your new Lightsail instances. Separate multiple values using quotation marks and commas, for example: ["MyFirstInstance","MySecondInstance"]
  2960. */
  2961. instanceNames: StringList;
  2962. /**
  2963. * The Availability Zone in which to create your instance. Use the following format: us-east-2a (case sensitive). You can get a list of Availability Zones by using the get regions operation. Be sure to add the include Availability Zones parameter to your request.
  2964. */
  2965. availabilityZone: string;
  2966. /**
  2967. * (Discontinued) The name for your custom image. In releases prior to June 12, 2017, this parameter was ignored by the API. It is now discontinued.
  2968. */
  2969. customImageName?: ResourceName;
  2970. /**
  2971. * The ID for a virtual private server image (app_wordpress_4_4 or app_lamp_7_0). Use the get blueprints operation to return a list of available images (or blueprints). Use active blueprints when creating new instances. Inactive blueprints are listed to support customers with existing instances and are not necessarily available to create new instances. Blueprints are marked inactive when they become outdated due to operating system updates or new application releases.
  2972. */
  2973. blueprintId: NonEmptyString;
  2974. /**
  2975. * The bundle of specification information for your virtual private server (or instance), including the pricing plan (micro_1_0).
  2976. */
  2977. bundleId: NonEmptyString;
  2978. /**
  2979. * A launch script you can create that configures a server with additional user data. For example, you might want to run apt-get -y update. Depending on the machine image you choose, the command to get software on your instance varies. Amazon Linux and CentOS use yum, Debian and Ubuntu use apt-get, and FreeBSD uses pkg. For a complete list, see the Amazon Lightsail Developer Guide.
  2980. */
  2981. userData?: string;
  2982. /**
  2983. * The name of your key pair.
  2984. */
  2985. keyPairName?: ResourceName;
  2986. /**
  2987. * The tag keys and optional values to add to the resource during create. Use the TagResource action to tag a resource after it's created.
  2988. */
  2989. tags?: TagList;
  2990. /**
  2991. * An array of objects representing the add-ons to enable for the new instance.
  2992. */
  2993. addOns?: AddOnRequestList;
  2994. /**
  2995. * The IP address type for the instance. The possible values are ipv4 for IPv4 only, and dualstack for IPv4 and IPv6. The default value is dualstack.
  2996. */
  2997. ipAddressType?: IpAddressType;
  2998. }
  2999. export interface CreateInstancesResult {
  3000. /**
  3001. * An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.
  3002. */
  3003. operations?: OperationList;
  3004. }
  3005. export interface CreateKeyPairRequest {
  3006. /**
  3007. * The name for your new key pair.
  3008. */
  3009. keyPairName: ResourceName;
  3010. /**
  3011. * The tag keys and optional values to add to the resource during create. Use the TagResource action to tag a resource after it's created.
  3012. */
  3013. tags?: TagList;
  3014. }
  3015. export interface CreateKeyPairResult {
  3016. /**
  3017. * An array of key-value pairs containing information about the new key pair you just created.
  3018. */
  3019. keyPair?: KeyPair;
  3020. /**
  3021. * A base64-encoded public key of the ssh-rsa type.
  3022. */
  3023. publicKeyBase64?: Base64;
  3024. /**
  3025. * A base64-encoded RSA private key.
  3026. */
  3027. privateKeyBase64?: Base64;
  3028. /**
  3029. * An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.
  3030. */
  3031. operation?: Operation;
  3032. }
  3033. export interface CreateLoadBalancerRequest {
  3034. /**
  3035. * The name of your load balancer.
  3036. */
  3037. loadBalancerName: ResourceName;
  3038. /**
  3039. * The instance port where you're creating your load balancer.
  3040. */
  3041. instancePort: Port;
  3042. /**
  3043. * The path you provided to perform the load balancer health check. If you didn't specify a health check path, Lightsail uses the root path of your website ("/"). You may want to specify a custom health check path other than the root of your application if your home page loads slowly or has a lot of media or scripting on it.
  3044. */
  3045. healthCheckPath?: string;
  3046. /**
  3047. * The name of the SSL/TLS certificate. If you specify certificateName, then certificateDomainName is required (and vice-versa).
  3048. */
  3049. certificateName?: ResourceName;
  3050. /**
  3051. * The domain name with which your certificate is associated (example.com). If you specify certificateDomainName, then certificateName is required (and vice-versa).
  3052. */
  3053. certificateDomainName?: DomainName;
  3054. /**
  3055. * The optional alternative domains and subdomains to use with your SSL/TLS certificate (www.example.com, example.com, m.example.com, blog.example.com).
  3056. */
  3057. certificateAlternativeNames?: DomainNameList;
  3058. /**
  3059. * The tag keys and optional values to add to the resource during create. Use the TagResource action to tag a resource after it's created.
  3060. */
  3061. tags?: TagList;
  3062. /**
  3063. * The IP address type for the load balancer. The possible values are ipv4 for IPv4 only, and dualstack for IPv4 and IPv6. The default value is dualstack.
  3064. */
  3065. ipAddressType?: IpAddressType;
  3066. /**
  3067. * The name of the TLS policy to apply to the load balancer. Use the GetLoadBalancerTlsPolicies action to get a list of TLS policy names that you can specify. For more information about load balancer TLS policies, see Configuring TLS security policies on your Amazon Lightsail load balancers in the Amazon Lightsail Developer Guide.
  3068. */
  3069. tlsPolicyName?: string;
  3070. }
  3071. export interface CreateLoadBalancerResult {
  3072. /**
  3073. * An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.
  3074. */
  3075. operations?: OperationList;
  3076. }
  3077. export interface CreateLoadBalancerTlsCertificateRequest {
  3078. /**
  3079. * The load balancer name where you want to create the SSL/TLS certificate.
  3080. */
  3081. loadBalancerName: ResourceName;
  3082. /**
  3083. * The SSL/TLS certificate name. You can have up to 10 certificates in your account at one time. Each Lightsail load balancer can have up to 2 certificates associated with it at one time. There is also an overall limit to the number of certificates that can be issue in a 365-day period. For more information, see Limits.
  3084. */
  3085. certificateName: ResourceName;
  3086. /**
  3087. * The domain name (example.com) for your SSL/TLS certificate.
  3088. */
  3089. certificateDomainName: DomainName;
  3090. /**
  3091. * An array of strings listing alternative domains and subdomains for your SSL/TLS certificate. Lightsail will de-dupe the names for you. You can have a maximum of 9 alternative names (in addition to the 1 primary domain). We do not support wildcards (*.example.com).
  3092. */
  3093. certificateAlternativeNames?: DomainNameList;
  3094. /**
  3095. * The tag keys and optional values to add to the resource during create. Use the TagResource action to tag a resource after it's created.
  3096. */
  3097. tags?: TagList;
  3098. }
  3099. export interface CreateLoadBalancerTlsCertificateResult {
  3100. /**
  3101. * An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.
  3102. */
  3103. operations?: OperationList;
  3104. }
  3105. export interface CreateRelationalDatabaseFromSnapshotRequest {
  3106. /**
  3107. * The name to use for your new Lightsail database resource. Constraints: Must contain from 2 to 255 alphanumeric characters, or hyphens. The first and last character must be a letter or number.
  3108. */
  3109. relationalDatabaseName: ResourceName;
  3110. /**
  3111. * The Availability Zone in which to create your new database. Use the us-east-2a case-sensitive format. You can get a list of Availability Zones by using the get regions operation. Be sure to add the include relational database Availability Zones parameter to your request.
  3112. */
  3113. availabilityZone?: string;
  3114. /**
  3115. * Specifies the accessibility options for your new database. A value of true specifies a database that is available to resources outside of your Lightsail account. A value of false specifies a database that is available only to your Lightsail resources in the same region as your database.
  3116. */
  3117. publiclyAccessible?: boolean;
  3118. /**
  3119. * The name of the database snapshot from which to create your new database.
  3120. */
  3121. relationalDatabaseSnapshotName?: ResourceName;
  3122. /**
  3123. * The bundle ID for your new database. A bundle describes the performance specifications for your database. You can get a list of database bundle IDs by using the get relational database bundles operation. When creating a new database from a snapshot, you cannot choose a bundle that is smaller than the bundle of the source database.
  3124. */
  3125. relationalDatabaseBundleId?: string;
  3126. /**
  3127. * The name of the source database.
  3128. */
  3129. sourceRelationalDatabaseName?: ResourceName;
  3130. /**
  3131. * The date and time to restore your database from. Constraints: Must be before the latest restorable time for the database. Cannot be specified if the use latest restorable time parameter is true. Specified in Coordinated Universal Time (UTC). Specified in the Unix time format. For example, if you wish to use a restore time of October 1, 2018, at 8 PM UTC, then you input 1538424000 as the restore time.
  3132. */
  3133. restoreTime?: IsoDate;
  3134. /**
  3135. * Specifies whether your database is restored from the latest backup time. A value of true restores from the latest backup time. Default: false Constraints: Cannot be specified if the restore time parameter is provided.
  3136. */
  3137. useLatestRestorableTime?: boolean;
  3138. /**
  3139. * The tag keys and optional values to add to the resource during create. Use the TagResource action to tag a resource after it's created.
  3140. */
  3141. tags?: TagList;
  3142. }
  3143. export interface CreateRelationalDatabaseFromSnapshotResult {
  3144. /**
  3145. * An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.
  3146. */
  3147. operations?: OperationList;
  3148. }
  3149. export interface CreateRelationalDatabaseRequest {
  3150. /**
  3151. * The name to use for your new Lightsail database resource. Constraints: Must contain from 2 to 255 alphanumeric characters, or hyphens. The first and last character must be a letter or number.
  3152. */
  3153. relationalDatabaseName: ResourceName;
  3154. /**
  3155. * The Availability Zone in which to create your new database. Use the us-east-2a case-sensitive format. You can get a list of Availability Zones by using the get regions operation. Be sure to add the include relational database Availability Zones parameter to your request.
  3156. */
  3157. availabilityZone?: string;
  3158. /**
  3159. * The blueprint ID for your new database. A blueprint describes the major engine version of a database. You can get a list of database blueprints IDs by using the get relational database blueprints operation.
  3160. */
  3161. relationalDatabaseBlueprintId: string;
  3162. /**
  3163. * The bundle ID for your new database. A bundle describes the performance specifications for your database. You can get a list of database bundle IDs by using the get relational database bundles operation.
  3164. */
  3165. relationalDatabaseBundleId: string;
  3166. /**
  3167. * The meaning of this parameter differs according to the database engine you use. MySQL The name of the database to create when the Lightsail database resource is created. If this parameter isn't specified, no database is created in the database resource. Constraints: Must contain 1 to 64 letters or numbers. Must begin with a letter. Subsequent characters can be letters, underscores, or digits (0- 9). Can't be a word reserved by the specified database engine. For more information about reserved words in MySQL, see the Keywords and Reserved Words articles for MySQL 5.6, MySQL 5.7, and MySQL 8.0. PostgreSQL The name of the database to create when the Lightsail database resource is created. If this parameter isn't specified, a database named postgres is created in the database resource. Constraints: Must contain 1 to 63 letters or numbers. Must begin with a letter. Subsequent characters can be letters, underscores, or digits (0- 9). Can't be a word reserved by the specified database engine. For more information about reserved words in PostgreSQL, see the SQL Key Words articles for PostgreSQL 9.6, PostgreSQL 10, PostgreSQL 11, and PostgreSQL 12.
  3168. */
  3169. masterDatabaseName: string;
  3170. /**
  3171. * The name for the master user. MySQL Constraints: Required for MySQL. Must be 1 to 16 letters or numbers. Can contain underscores. First character must be a letter. Can't be a reserved word for the chosen database engine. For more information about reserved words in MySQL 5.6 or 5.7, see the Keywords and Reserved Words articles for MySQL 5.6, MySQL 5.7, or MySQL 8.0. PostgreSQL Constraints: Required for PostgreSQL. Must be 1 to 63 letters or numbers. Can contain underscores. First character must be a letter. Can't be a reserved word for the chosen database engine. For more information about reserved words in MySQL 5.6 or 5.7, see the Keywords and Reserved Words articles for PostgreSQL 9.6, PostgreSQL 10, PostgreSQL 11, and PostgreSQL 12.
  3172. */
  3173. masterUsername: string;
  3174. /**
  3175. * The password for the master user. The password can include any printable ASCII character except "/", """, or "@". It cannot contain spaces. MySQL Constraints: Must contain from 8 to 41 characters. PostgreSQL Constraints: Must contain from 8 to 128 characters.
  3176. */
  3177. masterUserPassword?: SensitiveString;
  3178. /**
  3179. * The daily time range during which automated backups are created for your new database if automated backups are enabled. The default is a 30-minute window selected at random from an 8-hour block of time for each AWS Region. For more information about the preferred backup window time blocks for each region, see the Working With Backups guide in the Amazon Relational Database Service documentation. Constraints: Must be in the hh24:mi-hh24:mi format. Example: 16:00-16:30 Specified in Coordinated Universal Time (UTC). Must not conflict with the preferred maintenance window. Must be at least 30 minutes.
  3180. */
  3181. preferredBackupWindow?: string;
  3182. /**
  3183. * The weekly time range during which system maintenance can occur on your new database. The default is a 30-minute window selected at random from an 8-hour block of time for each AWS Region, occurring on a random day of the week. Constraints: Must be in the ddd:hh24:mi-ddd:hh24:mi format. Valid days: Mon, Tue, Wed, Thu, Fri, Sat, Sun. Must be at least 30 minutes. Specified in Coordinated Universal Time (UTC). Example: Tue:17:00-Tue:17:30
  3184. */
  3185. preferredMaintenanceWindow?: string;
  3186. /**
  3187. * Specifies the accessibility options for your new database. A value of true specifies a database that is available to resources outside of your Lightsail account. A value of false specifies a database that is available only to your Lightsail resources in the same region as your database.
  3188. */
  3189. publiclyAccessible?: boolean;
  3190. /**
  3191. * The tag keys and optional values to add to the resource during create. Use the TagResource action to tag a resource after it's created.
  3192. */
  3193. tags?: TagList;
  3194. }
  3195. export interface CreateRelationalDatabaseResult {
  3196. /**
  3197. * An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.
  3198. */
  3199. operations?: OperationList;
  3200. }
  3201. export interface CreateRelationalDatabaseSnapshotRequest {
  3202. /**
  3203. * The name of the database on which to base your new snapshot.
  3204. */
  3205. relationalDatabaseName: ResourceName;
  3206. /**
  3207. * The name for your new database snapshot. Constraints: Must contain from 2 to 255 alphanumeric characters, or hyphens. The first and last character must be a letter or number.
  3208. */
  3209. relationalDatabaseSnapshotName: ResourceName;
  3210. /**
  3211. * The tag keys and optional values to add to the resource during create. Use the TagResource action to tag a resource after it's created.
  3212. */
  3213. tags?: TagList;
  3214. }
  3215. export interface CreateRelationalDatabaseSnapshotResult {
  3216. /**
  3217. * An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.
  3218. */
  3219. operations?: OperationList;
  3220. }
  3221. export type Currency = "USD"|string;
  3222. export interface DeleteAlarmRequest {
  3223. /**
  3224. * The name of the alarm to delete.
  3225. */
  3226. alarmName: ResourceName;
  3227. }
  3228. export interface DeleteAlarmResult {
  3229. /**
  3230. * An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.
  3231. */
  3232. operations?: OperationList;
  3233. }
  3234. export interface DeleteAutoSnapshotRequest {
  3235. /**
  3236. * The name of the source instance or disk from which to delete the automatic snapshot.
  3237. */
  3238. resourceName: ResourceName;
  3239. /**
  3240. * The date of the automatic snapshot to delete in YYYY-MM-DD format. Use the get auto snapshots operation to get the available automatic snapshots for a resource.
  3241. */
  3242. date: AutoSnapshotDate;
  3243. }
  3244. export interface DeleteAutoSnapshotResult {
  3245. /**
  3246. * An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.
  3247. */
  3248. operations?: OperationList;
  3249. }
  3250. export interface DeleteBucketAccessKeyRequest {
  3251. /**
  3252. * The name of the bucket that the access key belongs to.
  3253. */
  3254. bucketName: BucketName;
  3255. /**
  3256. * The ID of the access key to delete. Use the GetBucketAccessKeys action to get a list of access key IDs that you can specify.
  3257. */
  3258. accessKeyId: NonEmptyString;
  3259. }
  3260. export interface DeleteBucketAccessKeyResult {
  3261. /**
  3262. * An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.
  3263. */
  3264. operations?: OperationList;
  3265. }
  3266. export interface DeleteBucketRequest {
  3267. /**
  3268. * The name of the bucket to delete. Use the GetBuckets action to get a list of bucket names that you can specify.
  3269. */
  3270. bucketName: BucketName;
  3271. /**
  3272. * A Boolean value that indicates whether to force delete the bucket. You must force delete the bucket if it has one of the following conditions: The bucket is the origin of a distribution. The bucket has instances that were granted access to it using the SetResourceAccessForBucket action. The bucket has objects. The bucket has access keys. Force deleting a bucket might impact other resources that rely on the bucket, such as instances, distributions, or software that use the issued access keys.
  3273. */
  3274. forceDelete?: boolean;
  3275. }
  3276. export interface DeleteBucketResult {
  3277. /**
  3278. * An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.
  3279. */
  3280. operations?: OperationList;
  3281. }
  3282. export interface DeleteCertificateRequest {
  3283. /**
  3284. * The name of the certificate to delete. Use the GetCertificates action to get a list of certificate names that you can specify.
  3285. */
  3286. certificateName: CertificateName;
  3287. }
  3288. export interface DeleteCertificateResult {
  3289. /**
  3290. * An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.
  3291. */
  3292. operations?: OperationList;
  3293. }
  3294. export interface DeleteContactMethodRequest {
  3295. /**
  3296. * The protocol that will be deleted, such as Email or SMS (text messaging). To delete an Email and an SMS contact method if you added both, you must run separate DeleteContactMethod actions to delete each protocol.
  3297. */
  3298. protocol: ContactProtocol;
  3299. }
  3300. export interface DeleteContactMethodResult {
  3301. /**
  3302. * An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.
  3303. */
  3304. operations?: OperationList;
  3305. }
  3306. export interface DeleteContainerImageRequest {
  3307. /**
  3308. * The name of the container service for which to delete a registered container image.
  3309. */
  3310. serviceName: ContainerServiceName;
  3311. /**
  3312. * The name of the container image to delete from the container service. Use the GetContainerImages action to get the name of the container images that are registered to a container service. Container images sourced from your Lightsail container service, that are registered and stored on your service, start with a colon (:). For example, :container-service-1.mystaticwebsite.1. Container images sourced from a public registry like Docker Hub don't start with a colon. For example, nginx:latest or nginx.
  3313. */
  3314. image: string;
  3315. }
  3316. export interface DeleteContainerImageResult {
  3317. }
  3318. export interface DeleteContainerServiceRequest {
  3319. /**
  3320. * The name of the container service to delete.
  3321. */
  3322. serviceName: ContainerServiceName;
  3323. }
  3324. export interface DeleteContainerServiceResult {
  3325. }
  3326. export interface DeleteDiskRequest {
  3327. /**
  3328. * The unique name of the disk you want to delete (my-disk).
  3329. */
  3330. diskName: ResourceName;
  3331. /**
  3332. * A Boolean value to indicate whether to delete all add-ons for the disk.
  3333. */
  3334. forceDeleteAddOns?: boolean;
  3335. }
  3336. export interface DeleteDiskResult {
  3337. /**
  3338. * An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.
  3339. */
  3340. operations?: OperationList;
  3341. }
  3342. export interface DeleteDiskSnapshotRequest {
  3343. /**
  3344. * The name of the disk snapshot you want to delete (my-disk-snapshot).
  3345. */
  3346. diskSnapshotName: ResourceName;
  3347. }
  3348. export interface DeleteDiskSnapshotResult {
  3349. /**
  3350. * An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.
  3351. */
  3352. operations?: OperationList;
  3353. }
  3354. export interface DeleteDistributionRequest {
  3355. /**
  3356. * The name of the distribution to delete. Use the GetDistributions action to get a list of distribution names that you can specify.
  3357. */
  3358. distributionName?: ResourceName;
  3359. }
  3360. export interface DeleteDistributionResult {
  3361. /**
  3362. * An object that describes the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.
  3363. */
  3364. operation?: Operation;
  3365. }
  3366. export interface DeleteDomainEntryRequest {
  3367. /**
  3368. * The name of the domain entry to delete.
  3369. */
  3370. domainName: DomainName;
  3371. /**
  3372. * An array of key-value pairs containing information about your domain entries.
  3373. */
  3374. domainEntry: DomainEntry;
  3375. }
  3376. export interface DeleteDomainEntryResult {
  3377. /**
  3378. * An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.
  3379. */
  3380. operation?: Operation;
  3381. }
  3382. export interface DeleteDomainRequest {
  3383. /**
  3384. * The specific domain name to delete.
  3385. */
  3386. domainName: DomainName;
  3387. }
  3388. export interface DeleteDomainResult {
  3389. /**
  3390. * An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.
  3391. */
  3392. operation?: Operation;
  3393. }
  3394. export interface DeleteInstanceRequest {
  3395. /**
  3396. * The name of the instance to delete.
  3397. */
  3398. instanceName: ResourceName;
  3399. /**
  3400. * A Boolean value to indicate whether to delete all add-ons for the instance.
  3401. */
  3402. forceDeleteAddOns?: boolean;
  3403. }
  3404. export interface DeleteInstanceResult {
  3405. /**
  3406. * An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.
  3407. */
  3408. operations?: OperationList;
  3409. }
  3410. export interface DeleteInstanceSnapshotRequest {
  3411. /**
  3412. * The name of the snapshot to delete.
  3413. */
  3414. instanceSnapshotName: ResourceName;
  3415. }
  3416. export interface DeleteInstanceSnapshotResult {
  3417. /**
  3418. * An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.
  3419. */
  3420. operations?: OperationList;
  3421. }
  3422. export interface DeleteKeyPairRequest {
  3423. /**
  3424. * The name of the key pair to delete.
  3425. */
  3426. keyPairName: ResourceName;
  3427. /**
  3428. * The RSA fingerprint of the Lightsail default key pair to delete. The expectedFingerprint parameter is required only when specifying to delete a Lightsail default key pair.
  3429. */
  3430. expectedFingerprint?: string;
  3431. }
  3432. export interface DeleteKeyPairResult {
  3433. /**
  3434. * An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.
  3435. */
  3436. operation?: Operation;
  3437. }
  3438. export interface DeleteKnownHostKeysRequest {
  3439. /**
  3440. * The name of the instance for which you want to reset the host key or certificate.
  3441. */
  3442. instanceName: ResourceName;
  3443. }
  3444. export interface DeleteKnownHostKeysResult {
  3445. /**
  3446. * An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.
  3447. */
  3448. operations?: OperationList;
  3449. }
  3450. export interface DeleteLoadBalancerRequest {
  3451. /**
  3452. * The name of the load balancer you want to delete.
  3453. */
  3454. loadBalancerName: ResourceName;
  3455. }
  3456. export interface DeleteLoadBalancerResult {
  3457. /**
  3458. * An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.
  3459. */
  3460. operations?: OperationList;
  3461. }
  3462. export interface DeleteLoadBalancerTlsCertificateRequest {
  3463. /**
  3464. * The load balancer name.
  3465. */
  3466. loadBalancerName: ResourceName;
  3467. /**
  3468. * The SSL/TLS certificate name.
  3469. */
  3470. certificateName: ResourceName;
  3471. /**
  3472. * When true, forces the deletion of an SSL/TLS certificate. There can be two certificates associated with a Lightsail load balancer: the primary and the backup. The force parameter is required when the primary SSL/TLS certificate is in use by an instance attached to the load balancer.
  3473. */
  3474. force?: boolean;
  3475. }
  3476. export interface DeleteLoadBalancerTlsCertificateResult {
  3477. /**
  3478. * An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.
  3479. */
  3480. operations?: OperationList;
  3481. }
  3482. export interface DeleteRelationalDatabaseRequest {
  3483. /**
  3484. * The name of the database that you are deleting.
  3485. */
  3486. relationalDatabaseName: ResourceName;
  3487. /**
  3488. * Determines whether a final database snapshot is created before your database is deleted. If true is specified, no database snapshot is created. If false is specified, a database snapshot is created before your database is deleted. You must specify the final relational database snapshot name parameter if the skip final snapshot parameter is false. Default: false
  3489. */
  3490. skipFinalSnapshot?: boolean;
  3491. /**
  3492. * The name of the database snapshot created if skip final snapshot is false, which is the default value for that parameter. Specifying this parameter and also specifying the skip final snapshot parameter to true results in an error. Constraints: Must contain from 2 to 255 alphanumeric characters, or hyphens. The first and last character must be a letter or number.
  3493. */
  3494. finalRelationalDatabaseSnapshotName?: ResourceName;
  3495. }
  3496. export interface DeleteRelationalDatabaseResult {
  3497. /**
  3498. * An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.
  3499. */
  3500. operations?: OperationList;
  3501. }
  3502. export interface DeleteRelationalDatabaseSnapshotRequest {
  3503. /**
  3504. * The name of the database snapshot that you are deleting.
  3505. */
  3506. relationalDatabaseSnapshotName: ResourceName;
  3507. }
  3508. export interface DeleteRelationalDatabaseSnapshotResult {
  3509. /**
  3510. * An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.
  3511. */
  3512. operations?: OperationList;
  3513. }
  3514. export interface DestinationInfo {
  3515. /**
  3516. * The ID of the resource created at the destination.
  3517. */
  3518. id?: NonEmptyString;
  3519. /**
  3520. * The destination service of the record.
  3521. */
  3522. service?: NonEmptyString;
  3523. }
  3524. export interface DetachCertificateFromDistributionRequest {
  3525. /**
  3526. * The name of the distribution from which to detach the certificate. Use the GetDistributions action to get a list of distribution names that you can specify.
  3527. */
  3528. distributionName: ResourceName;
  3529. }
  3530. export interface DetachCertificateFromDistributionResult {
  3531. /**
  3532. * An object that describes the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.
  3533. */
  3534. operation?: Operation;
  3535. }
  3536. export interface DetachDiskRequest {
  3537. /**
  3538. * The unique name of the disk you want to detach from your instance (my-disk).
  3539. */
  3540. diskName: ResourceName;
  3541. }
  3542. export interface DetachDiskResult {
  3543. /**
  3544. * An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.
  3545. */
  3546. operations?: OperationList;
  3547. }
  3548. export interface DetachInstancesFromLoadBalancerRequest {
  3549. /**
  3550. * The name of the Lightsail load balancer.
  3551. */
  3552. loadBalancerName: ResourceName;
  3553. /**
  3554. * An array of strings containing the names of the instances you want to detach from the load balancer.
  3555. */
  3556. instanceNames: ResourceNameList;
  3557. }
  3558. export interface DetachInstancesFromLoadBalancerResult {
  3559. /**
  3560. * An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.
  3561. */
  3562. operations?: OperationList;
  3563. }
  3564. export interface DetachStaticIpRequest {
  3565. /**
  3566. * The name of the static IP to detach from the instance.
  3567. */
  3568. staticIpName: ResourceName;
  3569. }
  3570. export interface DetachStaticIpResult {
  3571. /**
  3572. * An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.
  3573. */
  3574. operations?: OperationList;
  3575. }
  3576. export interface DisableAddOnRequest {
  3577. /**
  3578. * The add-on type to disable.
  3579. */
  3580. addOnType: AddOnType;
  3581. /**
  3582. * The name of the source resource for which to disable the add-on.
  3583. */
  3584. resourceName: ResourceName;
  3585. }
  3586. export interface DisableAddOnResult {
  3587. /**
  3588. * An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.
  3589. */
  3590. operations?: OperationList;
  3591. }
  3592. export interface Disk {
  3593. /**
  3594. * The unique name of the disk.
  3595. */
  3596. name?: ResourceName;
  3597. /**
  3598. * The Amazon Resource Name (ARN) of the disk.
  3599. */
  3600. arn?: NonEmptyString;
  3601. /**
  3602. * The support code. Include this code in your email to support when you have questions about an instance or another resource in Lightsail. This code enables our support team to look up your Lightsail information more easily.
  3603. */
  3604. supportCode?: string;
  3605. /**
  3606. * The date when the disk was created.
  3607. */
  3608. createdAt?: IsoDate;
  3609. /**
  3610. * The AWS Region and Availability Zone where the disk is located.
  3611. */
  3612. location?: ResourceLocation;
  3613. /**
  3614. * The Lightsail resource type (Disk).
  3615. */
  3616. resourceType?: ResourceType;
  3617. /**
  3618. * The tag keys and optional values for the resource. For more information about tags in Lightsail, see the Amazon Lightsail Developer Guide.
  3619. */
  3620. tags?: TagList;
  3621. /**
  3622. * An array of objects representing the add-ons enabled on the disk.
  3623. */
  3624. addOns?: AddOnList;
  3625. /**
  3626. * The size of the disk in GB.
  3627. */
  3628. sizeInGb?: integer;
  3629. /**
  3630. * A Boolean value indicating whether this disk is a system disk (has an operating system loaded on it).
  3631. */
  3632. isSystemDisk?: boolean;
  3633. /**
  3634. * The input/output operations per second (IOPS) of the disk.
  3635. */
  3636. iops?: integer;
  3637. /**
  3638. * The disk path.
  3639. */
  3640. path?: string;
  3641. /**
  3642. * Describes the status of the disk.
  3643. */
  3644. state?: DiskState;
  3645. /**
  3646. * The resources to which the disk is attached.
  3647. */
  3648. attachedTo?: ResourceName;
  3649. /**
  3650. * A Boolean value indicating whether the disk is attached.
  3651. */
  3652. isAttached?: boolean;
  3653. /**
  3654. * (Discontinued) The attachment state of the disk. In releases prior to November 14, 2017, this parameter returned attached for system disks in the API response. It is now discontinued, but still included in the response. Use isAttached instead.
  3655. */
  3656. attachmentState?: string;
  3657. /**
  3658. * (Discontinued) The number of GB in use by the disk. In releases prior to November 14, 2017, this parameter was not included in the API response. It is now discontinued.
  3659. */
  3660. gbInUse?: integer;
  3661. /**
  3662. * The status of automatically mounting a storage disk to a virtual computer. This parameter only applies to Lightsail for Research resources.
  3663. */
  3664. autoMountStatus?: AutoMountStatus;
  3665. }
  3666. export interface DiskInfo {
  3667. /**
  3668. * The disk name.
  3669. */
  3670. name?: string;
  3671. /**
  3672. * The disk path.
  3673. */
  3674. path?: NonEmptyString;
  3675. /**
  3676. * The size of the disk in GB (32).
  3677. */
  3678. sizeInGb?: integer;
  3679. /**
  3680. * A Boolean value indicating whether this disk is a system disk (has an operating system loaded on it).
  3681. */
  3682. isSystemDisk?: boolean;
  3683. }
  3684. export type DiskInfoList = DiskInfo[];
  3685. export type DiskList = Disk[];
  3686. export interface DiskMap {
  3687. /**
  3688. * The original disk path exposed to the instance (for example, /dev/sdh).
  3689. */
  3690. originalDiskPath?: NonEmptyString;
  3691. /**
  3692. * The new disk name (my-new-disk).
  3693. */
  3694. newDiskName?: ResourceName;
  3695. }
  3696. export type DiskMapList = DiskMap[];
  3697. export interface DiskSnapshot {
  3698. /**
  3699. * The name of the disk snapshot (my-disk-snapshot).
  3700. */
  3701. name?: ResourceName;
  3702. /**
  3703. * The Amazon Resource Name (ARN) of the disk snapshot.
  3704. */
  3705. arn?: NonEmptyString;
  3706. /**
  3707. * The support code. Include this code in your email to support when you have questions about an instance or another resource in Lightsail. This code enables our support team to look up your Lightsail information more easily.
  3708. */
  3709. supportCode?: string;
  3710. /**
  3711. * The date when the disk snapshot was created.
  3712. */
  3713. createdAt?: IsoDate;
  3714. /**
  3715. * The AWS Region and Availability Zone where the disk snapshot was created.
  3716. */
  3717. location?: ResourceLocation;
  3718. /**
  3719. * The Lightsail resource type (DiskSnapshot).
  3720. */
  3721. resourceType?: ResourceType;
  3722. /**
  3723. * The tag keys and optional values for the resource. For more information about tags in Lightsail, see the Amazon Lightsail Developer Guide.
  3724. */
  3725. tags?: TagList;
  3726. /**
  3727. * The size of the disk in GB.
  3728. */
  3729. sizeInGb?: integer;
  3730. /**
  3731. * The status of the disk snapshot operation.
  3732. */
  3733. state?: DiskSnapshotState;
  3734. /**
  3735. * The progress of the snapshot.
  3736. */
  3737. progress?: string;
  3738. /**
  3739. * The unique name of the source disk from which the disk snapshot was created.
  3740. */
  3741. fromDiskName?: ResourceName;
  3742. /**
  3743. * The Amazon Resource Name (ARN) of the source disk from which the disk snapshot was created.
  3744. */
  3745. fromDiskArn?: NonEmptyString;
  3746. /**
  3747. * The unique name of the source instance from which the disk (system volume) snapshot was created.
  3748. */
  3749. fromInstanceName?: ResourceName;
  3750. /**
  3751. * The Amazon Resource Name (ARN) of the source instance from which the disk (system volume) snapshot was created.
  3752. */
  3753. fromInstanceArn?: NonEmptyString;
  3754. /**
  3755. * A Boolean value indicating whether the snapshot was created from an automatic snapshot.
  3756. */
  3757. isFromAutoSnapshot?: boolean;
  3758. }
  3759. export interface DiskSnapshotInfo {
  3760. /**
  3761. * The size of the disk in GB (32).
  3762. */
  3763. sizeInGb?: integer;
  3764. }
  3765. export type DiskSnapshotList = DiskSnapshot[];
  3766. export type DiskSnapshotState = "pending"|"completed"|"error"|"unknown"|string;
  3767. export type DiskState = "pending"|"error"|"available"|"in-use"|"unknown"|string;
  3768. export interface DistributionBundle {
  3769. /**
  3770. * The ID of the bundle.
  3771. */
  3772. bundleId?: string;
  3773. /**
  3774. * The name of the distribution bundle.
  3775. */
  3776. name?: string;
  3777. /**
  3778. * The monthly price, in US dollars, of the bundle.
  3779. */
  3780. price?: float;
  3781. /**
  3782. * The monthly network transfer quota of the bundle.
  3783. */
  3784. transferPerMonthInGb?: integer;
  3785. /**
  3786. * Indicates whether the bundle is active, and can be specified for a new or existing distribution.
  3787. */
  3788. isActive?: boolean;
  3789. }
  3790. export type DistributionBundleList = DistributionBundle[];
  3791. export type DistributionList = LightsailDistribution[];
  3792. export type DistributionMetricName = "Requests"|"BytesDownloaded"|"BytesUploaded"|"TotalErrorRate"|"Http4xxErrorRate"|"Http5xxErrorRate"|string;
  3793. export interface DnsRecordCreationState {
  3794. /**
  3795. * The status code for the automated DNS record creation. Following are the possible values: SUCCEEDED - The validation records were successfully added to the domain. STARTED - The automatic DNS record creation has started. FAILED - The validation records failed to be added to the domain.
  3796. */
  3797. code?: DnsRecordCreationStateCode;
  3798. /**
  3799. * The message that describes the reason for the status code.
  3800. */
  3801. message?: string;
  3802. }
  3803. export type DnsRecordCreationStateCode = "SUCCEEDED"|"STARTED"|"FAILED"|string;
  3804. export interface Domain {
  3805. /**
  3806. * The name of the domain.
  3807. */
  3808. name?: ResourceName;
  3809. /**
  3810. * The Amazon Resource Name (ARN) of the domain recordset (arn:aws:lightsail:global:123456789101:Domain/824cede0-abc7-4f84-8dbc-12345EXAMPLE).
  3811. */
  3812. arn?: NonEmptyString;
  3813. /**
  3814. * The support code. Include this code in your email to support when you have questions about an instance or another resource in Lightsail. This code enables our support team to look up your Lightsail information more easily.
  3815. */
  3816. supportCode?: string;
  3817. /**
  3818. * The date when the domain recordset was created.
  3819. */
  3820. createdAt?: IsoDate;
  3821. /**
  3822. * The AWS Region and Availability Zones where the domain recordset was created.
  3823. */
  3824. location?: ResourceLocation;
  3825. /**
  3826. * The resource type.
  3827. */
  3828. resourceType?: ResourceType;
  3829. /**
  3830. * The tag keys and optional values for the resource. For more information about tags in Lightsail, see the Amazon Lightsail Developer Guide.
  3831. */
  3832. tags?: TagList;
  3833. /**
  3834. * An array of key-value pairs containing information about the domain entries.
  3835. */
  3836. domainEntries?: DomainEntryList;
  3837. /**
  3838. * An object that describes the state of the Route 53 domain delegation to a Lightsail DNS zone.
  3839. */
  3840. registeredDomainDelegationInfo?: RegisteredDomainDelegationInfo;
  3841. }
  3842. export interface DomainEntry {
  3843. /**
  3844. * The ID of the domain recordset entry.
  3845. */
  3846. id?: NonEmptyString;
  3847. /**
  3848. * The name of the domain.
  3849. */
  3850. name?: DomainName;
  3851. /**
  3852. * The target IP address (192.0.2.0), or AWS name server (ns-111.awsdns-22.com.). For Lightsail load balancers, the value looks like ab1234c56789c6b86aba6fb203d443bc-123456789.us-east-2.elb.amazonaws.com. For Lightsail distributions, the value looks like exampled1182ne.cloudfront.net. For Lightsail container services, the value looks like container-service-1.example23scljs.us-west-2.cs.amazonlightsail.com. Be sure to also set isAlias to true when setting up an A record for a Lightsail load balancer, distribution, or container service.
  3853. */
  3854. target?: string;
  3855. /**
  3856. * When true, specifies whether the domain entry is an alias used by the Lightsail load balancer, Lightsail container service, Lightsail content delivery network (CDN) distribution, or another Amazon Web Services resource. You can include an alias (A type) record in your request, which points to the DNS name of a load balancer, container service, CDN distribution, or other Amazon Web Services resource and routes traffic to that resource.
  3857. */
  3858. isAlias?: boolean;
  3859. /**
  3860. * The type of domain entry, such as address for IPv4 (A), address for IPv6 (AAAA), canonical name (CNAME), mail exchanger (MX), name server (NS), start of authority (SOA), service locator (SRV), or text (TXT). The following domain entry types can be used: A AAAA CNAME MX NS SOA SRV TXT
  3861. */
  3862. type?: DomainEntryType;
  3863. /**
  3864. * (Discontinued) The options for the domain entry. In releases prior to November 29, 2017, this parameter was not included in the API response. It is now discontinued.
  3865. */
  3866. options?: DomainEntryOptions;
  3867. }
  3868. export type DomainEntryList = DomainEntry[];
  3869. export type DomainEntryOptions = {[key: string]: string};
  3870. export type DomainEntryOptionsKeys = string;
  3871. export type DomainEntryType = string;
  3872. export type DomainList = Domain[];
  3873. export type DomainName = string;
  3874. export type DomainNameList = DomainName[];
  3875. export interface DomainValidationRecord {
  3876. /**
  3877. * The domain name of the certificate validation record. For example, example.com or www.example.com.
  3878. */
  3879. domainName?: DomainName;
  3880. /**
  3881. * An object that describes the DNS records to add to your domain's DNS to validate it for the certificate.
  3882. */
  3883. resourceRecord?: ResourceRecord;
  3884. /**
  3885. * An object that describes the state of the canonical name (CNAME) records that are automatically added by Lightsail to the DNS of the domain to validate domain ownership.
  3886. */
  3887. dnsRecordCreationState?: DnsRecordCreationState;
  3888. /**
  3889. * The validation status of the record.
  3890. */
  3891. validationStatus?: CertificateDomainValidationStatus;
  3892. }
  3893. export type DomainValidationRecordList = DomainValidationRecord[];
  3894. export interface DownloadDefaultKeyPairRequest {
  3895. }
  3896. export interface DownloadDefaultKeyPairResult {
  3897. /**
  3898. * A base64-encoded public key of the ssh-rsa type.
  3899. */
  3900. publicKeyBase64?: Base64;
  3901. /**
  3902. * A base64-encoded RSA private key.
  3903. */
  3904. privateKeyBase64?: Base64;
  3905. /**
  3906. * The timestamp when the default key pair was created.
  3907. */
  3908. createdAt?: IsoDate;
  3909. }
  3910. export type EligibleToRenew = string;
  3911. export type EmailAddress = string;
  3912. export interface EnableAddOnRequest {
  3913. /**
  3914. * The name of the source resource for which to enable or modify the add-on.
  3915. */
  3916. resourceName: ResourceName;
  3917. /**
  3918. * An array of strings representing the add-on to enable or modify.
  3919. */
  3920. addOnRequest: AddOnRequest;
  3921. }
  3922. export interface EnableAddOnResult {
  3923. /**
  3924. * An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.
  3925. */
  3926. operations?: OperationList;
  3927. }
  3928. export interface EndpointRequest {
  3929. /**
  3930. * The name of the container for the endpoint.
  3931. */
  3932. containerName: string;
  3933. /**
  3934. * The port of the container to which traffic is forwarded to.
  3935. */
  3936. containerPort: integer;
  3937. /**
  3938. * An object that describes the health check configuration of the container.
  3939. */
  3940. healthCheck?: ContainerServiceHealthCheckConfig;
  3941. }
  3942. export type Environment = {[key: string]: string};
  3943. export interface EstimateByTime {
  3944. /**
  3945. * The amount of cost or usage that's measured for the cost estimate.
  3946. */
  3947. usageCost?: double;
  3948. /**
  3949. * The unit of measurement that's used for the cost estimate.
  3950. */
  3951. pricingUnit?: PricingUnit;
  3952. /**
  3953. * The number of pricing units used to calculate the total number of hours. For example, 1 unit equals 1 hour.
  3954. */
  3955. unit?: double;
  3956. /**
  3957. * The currency of the estimate in USD.
  3958. */
  3959. currency?: Currency;
  3960. /**
  3961. * The period of time, in days, that an estimate covers. The period has a start date and an end date. The start date must come before the end date.
  3962. */
  3963. timePeriod?: TimePeriod;
  3964. }
  3965. export type EstimatesByTime = EstimateByTime[];
  3966. export interface ExportSnapshotRecord {
  3967. /**
  3968. * The export snapshot record name.
  3969. */
  3970. name?: ResourceName;
  3971. /**
  3972. * The Amazon Resource Name (ARN) of the export snapshot record.
  3973. */
  3974. arn?: NonEmptyString;
  3975. /**
  3976. * The date when the export snapshot record was created.
  3977. */
  3978. createdAt?: IsoDate;
  3979. /**
  3980. * The AWS Region and Availability Zone where the export snapshot record is located.
  3981. */
  3982. location?: ResourceLocation;
  3983. /**
  3984. * The Lightsail resource type (ExportSnapshotRecord).
  3985. */
  3986. resourceType?: ResourceType;
  3987. /**
  3988. * The state of the export snapshot record.
  3989. */
  3990. state?: RecordState;
  3991. /**
  3992. * A list of objects describing the source of the export snapshot record.
  3993. */
  3994. sourceInfo?: ExportSnapshotRecordSourceInfo;
  3995. /**
  3996. * A list of objects describing the destination of the export snapshot record.
  3997. */
  3998. destinationInfo?: DestinationInfo;
  3999. }
  4000. export type ExportSnapshotRecordList = ExportSnapshotRecord[];
  4001. export interface ExportSnapshotRecordSourceInfo {
  4002. /**
  4003. * The Lightsail resource type (InstanceSnapshot or DiskSnapshot).
  4004. */
  4005. resourceType?: ExportSnapshotRecordSourceType;
  4006. /**
  4007. * The date when the source instance or disk snapshot was created.
  4008. */
  4009. createdAt?: IsoDate;
  4010. /**
  4011. * The name of the source instance or disk snapshot.
  4012. */
  4013. name?: NonEmptyString;
  4014. /**
  4015. * The Amazon Resource Name (ARN) of the source instance or disk snapshot.
  4016. */
  4017. arn?: NonEmptyString;
  4018. /**
  4019. * The name of the snapshot's source instance or disk.
  4020. */
  4021. fromResourceName?: NonEmptyString;
  4022. /**
  4023. * The Amazon Resource Name (ARN) of the snapshot's source instance or disk.
  4024. */
  4025. fromResourceArn?: NonEmptyString;
  4026. /**
  4027. * A list of objects describing an instance snapshot.
  4028. */
  4029. instanceSnapshotInfo?: InstanceSnapshotInfo;
  4030. /**
  4031. * A list of objects describing a disk snapshot.
  4032. */
  4033. diskSnapshotInfo?: DiskSnapshotInfo;
  4034. }
  4035. export type ExportSnapshotRecordSourceType = "InstanceSnapshot"|"DiskSnapshot"|string;
  4036. export interface ExportSnapshotRequest {
  4037. /**
  4038. * The name of the instance or disk snapshot to be exported to Amazon EC2.
  4039. */
  4040. sourceSnapshotName: ResourceName;
  4041. }
  4042. export interface ExportSnapshotResult {
  4043. /**
  4044. * An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.
  4045. */
  4046. operations?: OperationList;
  4047. }
  4048. export type ForwardValues = "none"|"allow-list"|"all"|string;
  4049. export interface GetActiveNamesRequest {
  4050. /**
  4051. * The token to advance to the next page of results from your request. To get a page token, perform an initial GetActiveNames request. If your results are paginated, the response will return a next page token that you can specify as the page token in a subsequent request.
  4052. */
  4053. pageToken?: string;
  4054. }
  4055. export interface GetActiveNamesResult {
  4056. /**
  4057. * The list of active names returned by the get active names request.
  4058. */
  4059. activeNames?: StringList;
  4060. /**
  4061. * The token to advance to the next page of results from your request. A next page token is not returned if there are no more results to display. To get the next page of results, perform another GetActiveNames request and specify the next page token using the pageToken parameter.
  4062. */
  4063. nextPageToken?: string;
  4064. }
  4065. export interface GetAlarmsRequest {
  4066. /**
  4067. * The name of the alarm. Specify an alarm name to return information about a specific alarm.
  4068. */
  4069. alarmName?: ResourceName;
  4070. /**
  4071. * The token to advance to the next page of results from your request. To get a page token, perform an initial GetAlarms request. If your results are paginated, the response will return a next page token that you can specify as the page token in a subsequent request.
  4072. */
  4073. pageToken?: string;
  4074. /**
  4075. * The name of the Lightsail resource being monitored by the alarm. Specify a monitored resource name to return information about all alarms for a specific resource.
  4076. */
  4077. monitoredResourceName?: ResourceName;
  4078. }
  4079. export interface GetAlarmsResult {
  4080. /**
  4081. * An array of objects that describe the alarms.
  4082. */
  4083. alarms?: AlarmsList;
  4084. /**
  4085. * The token to advance to the next page of results from your request. A next page token is not returned if there are no more results to display. To get the next page of results, perform another GetAlarms request and specify the next page token using the pageToken parameter.
  4086. */
  4087. nextPageToken?: string;
  4088. }
  4089. export interface GetAutoSnapshotsRequest {
  4090. /**
  4091. * The name of the source instance or disk from which to get automatic snapshot information.
  4092. */
  4093. resourceName: ResourceName;
  4094. }
  4095. export interface GetAutoSnapshotsResult {
  4096. /**
  4097. * The name of the source instance or disk for the automatic snapshots.
  4098. */
  4099. resourceName?: ResourceName;
  4100. /**
  4101. * The resource type of the automatic snapshot. The possible values are Instance, and Disk.
  4102. */
  4103. resourceType?: ResourceType;
  4104. /**
  4105. * An array of objects that describe the automatic snapshots that are available for the specified source instance or disk.
  4106. */
  4107. autoSnapshots?: AutoSnapshotDetailsList;
  4108. }
  4109. export interface GetBlueprintsRequest {
  4110. /**
  4111. * A Boolean value that indicates whether to include inactive (unavailable) blueprints in the response of your request.
  4112. */
  4113. includeInactive?: boolean;
  4114. /**
  4115. * The token to advance to the next page of results from your request. To get a page token, perform an initial GetBlueprints request. If your results are paginated, the response will return a next page token that you can specify as the page token in a subsequent request.
  4116. */
  4117. pageToken?: string;
  4118. /**
  4119. * Returns a list of blueprints that are specific to Lightsail for Research. You must use this parameter to view Lightsail for Research blueprints.
  4120. */
  4121. appCategory?: AppCategory;
  4122. }
  4123. export interface GetBlueprintsResult {
  4124. /**
  4125. * An array of key-value pairs that contains information about the available blueprints.
  4126. */
  4127. blueprints?: BlueprintList;
  4128. /**
  4129. * The token to advance to the next page of results from your request. A next page token is not returned if there are no more results to display. To get the next page of results, perform another GetBlueprints request and specify the next page token using the pageToken parameter.
  4130. */
  4131. nextPageToken?: string;
  4132. }
  4133. export interface GetBucketAccessKeysRequest {
  4134. /**
  4135. * The name of the bucket for which to return access keys.
  4136. */
  4137. bucketName: BucketName;
  4138. }
  4139. export interface GetBucketAccessKeysResult {
  4140. /**
  4141. * An object that describes the access keys for the specified bucket.
  4142. */
  4143. accessKeys?: AccessKeyList;
  4144. }
  4145. export interface GetBucketBundlesRequest {
  4146. /**
  4147. * A Boolean value that indicates whether to include inactive (unavailable) bundles in the response of your request.
  4148. */
  4149. includeInactive?: boolean;
  4150. }
  4151. export interface GetBucketBundlesResult {
  4152. /**
  4153. * An object that describes bucket bundles.
  4154. */
  4155. bundles?: BucketBundleList;
  4156. }
  4157. export interface GetBucketMetricDataRequest {
  4158. /**
  4159. * The name of the bucket for which to get metric data.
  4160. */
  4161. bucketName: BucketName;
  4162. /**
  4163. * The metric for which you want to return information. Valid bucket metric names are listed below, along with the most useful statistics to include in your request, and the published unit value. These bucket metrics are reported once per day. BucketSizeBytes - The amount of data in bytes stored in a bucket. This value is calculated by summing the size of all objects in the bucket (including object versions), including the size of all parts for all incomplete multipart uploads to the bucket. Statistics: The most useful statistic is Maximum. Unit: The published unit is Bytes. NumberOfObjects - The total number of objects stored in a bucket. This value is calculated by counting all objects in the bucket (including object versions) and the total number of parts for all incomplete multipart uploads to the bucket. Statistics: The most useful statistic is Average. Unit: The published unit is Count.
  4164. */
  4165. metricName: BucketMetricName;
  4166. /**
  4167. * The timestamp indicating the earliest data to be returned.
  4168. */
  4169. startTime: IsoDate;
  4170. /**
  4171. * The timestamp indicating the latest data to be returned.
  4172. */
  4173. endTime: IsoDate;
  4174. /**
  4175. * The granularity, in seconds, of the returned data points. Bucket storage metrics are reported once per day. Therefore, you should specify a period of 86400 seconds, which is the number of seconds in a day.
  4176. */
  4177. period: MetricPeriod;
  4178. /**
  4179. * The statistic for the metric. The following statistics are available: Minimum - The lowest value observed during the specified period. Use this value to determine low volumes of activity for your application. Maximum - The highest value observed during the specified period. Use this value to determine high volumes of activity for your application. Sum - The sum of all values submitted for the matching metric. You can use this statistic to determine the total volume of a metric. Average - The value of Sum / SampleCount during the specified period. By comparing this statistic with the Minimum and Maximum values, you can determine the full scope of a metric and how close the average use is to the Minimum and Maximum values. This comparison helps you to know when to increase or decrease your resources. SampleCount - The count, or number, of data points used for the statistical calculation.
  4180. */
  4181. statistics: MetricStatisticList;
  4182. /**
  4183. * The unit for the metric data request. Valid units depend on the metric data being requested. For the valid units with each available metric, see the metricName parameter.
  4184. */
  4185. unit: MetricUnit;
  4186. }
  4187. export interface GetBucketMetricDataResult {
  4188. /**
  4189. * The name of the metric returned.
  4190. */
  4191. metricName?: BucketMetricName;
  4192. /**
  4193. * An array of objects that describe the metric data returned.
  4194. */
  4195. metricData?: MetricDatapointList;
  4196. }
  4197. export interface GetBucketsRequest {
  4198. /**
  4199. * The name of the bucket for which to return information. When omitted, the response includes all of your buckets in the Amazon Web Services Region where the request is made.
  4200. */
  4201. bucketName?: BucketName;
  4202. /**
  4203. * The token to advance to the next page of results from your request. To get a page token, perform an initial GetBuckets request. If your results are paginated, the response will return a next page token that you can specify as the page token in a subsequent request.
  4204. */
  4205. pageToken?: string;
  4206. /**
  4207. * A Boolean value that indicates whether to include Lightsail instances that were given access to the bucket using the SetResourceAccessForBucket action.
  4208. */
  4209. includeConnectedResources?: boolean;
  4210. }
  4211. export interface GetBucketsResult {
  4212. /**
  4213. * An array of objects that describe buckets.
  4214. */
  4215. buckets?: BucketList;
  4216. /**
  4217. * The token to advance to the next page of results from your request. A next page token is not returned if there are no more results to display. To get the next page of results, perform another GetBuckets request and specify the next page token using the pageToken parameter.
  4218. */
  4219. nextPageToken?: string;
  4220. /**
  4221. * An object that describes the synchronization status of the Amazon S3 account-level block public access feature for your Lightsail buckets. For more information about this feature and how it affects Lightsail buckets, see Block public access for buckets in Amazon Lightsail.
  4222. */
  4223. accountLevelBpaSync?: AccountLevelBpaSync;
  4224. }
  4225. export interface GetBundlesRequest {
  4226. /**
  4227. * A Boolean value that indicates whether to include inactive (unavailable) bundles in the response of your request.
  4228. */
  4229. includeInactive?: boolean;
  4230. /**
  4231. * The token to advance to the next page of results from your request. To get a page token, perform an initial GetBundles request. If your results are paginated, the response will return a next page token that you can specify as the page token in a subsequent request.
  4232. */
  4233. pageToken?: string;
  4234. /**
  4235. * Returns a list of bundles that are specific to Lightsail for Research. You must use this parameter to view Lightsail for Research bundles.
  4236. */
  4237. appCategory?: AppCategory;
  4238. }
  4239. export interface GetBundlesResult {
  4240. /**
  4241. * An array of key-value pairs that contains information about the available bundles.
  4242. */
  4243. bundles?: BundleList;
  4244. /**
  4245. * The token to advance to the next page of results from your request. A next page token is not returned if there are no more results to display. To get the next page of results, perform another GetBundles request and specify the next page token using the pageToken parameter.
  4246. */
  4247. nextPageToken?: string;
  4248. }
  4249. export interface GetCertificatesRequest {
  4250. /**
  4251. * The status of the certificates for which to return information. For example, specify ISSUED to return only certificates with an ISSUED status. When omitted, the response includes all of your certificates in the Amazon Web Services Region where the request is made, regardless of their current status.
  4252. */
  4253. certificateStatuses?: CertificateStatusList;
  4254. /**
  4255. * Indicates whether to include detailed information about the certificates in the response. When omitted, the response includes only the certificate names, Amazon Resource Names (ARNs), domain names, and tags.
  4256. */
  4257. includeCertificateDetails?: IncludeCertificateDetails;
  4258. /**
  4259. * The name for the certificate for which to return information. When omitted, the response includes all of your certificates in the Amazon Web Services Region where the request is made.
  4260. */
  4261. certificateName?: CertificateName;
  4262. /**
  4263. * The token to advance to the next page of results from your request. To get a page token, perform an initial GetCertificates request. If your results are paginated, the response will return a next page token that you can specify as the page token in a subsequent request.
  4264. */
  4265. pageToken?: string;
  4266. }
  4267. export interface GetCertificatesResult {
  4268. /**
  4269. * An object that describes certificates.
  4270. */
  4271. certificates?: CertificateSummaryList;
  4272. /**
  4273. * If NextPageToken is returned there are more results available. The value of NextPageToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged.
  4274. */
  4275. nextPageToken?: string;
  4276. }
  4277. export interface GetCloudFormationStackRecordsRequest {
  4278. /**
  4279. * The token to advance to the next page of results from your request. To get a page token, perform an initial GetClouFormationStackRecords request. If your results are paginated, the response will return a next page token that you can specify as the page token in a subsequent request.
  4280. */
  4281. pageToken?: string;
  4282. }
  4283. export interface GetCloudFormationStackRecordsResult {
  4284. /**
  4285. * A list of objects describing the CloudFormation stack records.
  4286. */
  4287. cloudFormationStackRecords?: CloudFormationStackRecordList;
  4288. /**
  4289. * The token to advance to the next page of results from your request. A next page token is not returned if there are no more results to display. To get the next page of results, perform another GetCloudFormationStackRecords request and specify the next page token using the pageToken parameter.
  4290. */
  4291. nextPageToken?: string;
  4292. }
  4293. export interface GetContactMethodsRequest {
  4294. /**
  4295. * The protocols used to send notifications, such as Email, or SMS (text messaging). Specify a protocol in your request to return information about a specific contact method protocol.
  4296. */
  4297. protocols?: ContactProtocolsList;
  4298. }
  4299. export interface GetContactMethodsResult {
  4300. /**
  4301. * An array of objects that describe the contact methods.
  4302. */
  4303. contactMethods?: ContactMethodsList;
  4304. }
  4305. export interface GetContainerAPIMetadataRequest {
  4306. }
  4307. export interface GetContainerAPIMetadataResult {
  4308. /**
  4309. * Metadata about Lightsail containers, such as the current version of the Lightsail Control (lightsailctl) plugin.
  4310. */
  4311. metadata?: ContainerServiceMetadataEntryList;
  4312. }
  4313. export interface GetContainerImagesRequest {
  4314. /**
  4315. * The name of the container service for which to return registered container images.
  4316. */
  4317. serviceName: ContainerServiceName;
  4318. }
  4319. export interface GetContainerImagesResult {
  4320. /**
  4321. * An array of objects that describe container images that are registered to the container service.
  4322. */
  4323. containerImages?: ContainerImageList;
  4324. }
  4325. export interface GetContainerLogRequest {
  4326. /**
  4327. * The name of the container service for which to get a container log.
  4328. */
  4329. serviceName: ContainerServiceName;
  4330. /**
  4331. * The name of the container that is either running or previously ran on the container service for which to return a log.
  4332. */
  4333. containerName: string;
  4334. /**
  4335. * The start of the time interval for which to get log data. Constraints: Specified in Coordinated Universal Time (UTC). Specified in the Unix time format. For example, if you wish to use a start time of October 1, 2018, at 8 PM UTC, specify 1538424000 as the start time. You can convert a human-friendly time to Unix time format using a converter like Epoch converter.
  4336. */
  4337. startTime?: IsoDate;
  4338. /**
  4339. * The end of the time interval for which to get log data. Constraints: Specified in Coordinated Universal Time (UTC). Specified in the Unix time format. For example, if you wish to use an end time of October 1, 2018, at 9 PM UTC, specify 1538427600 as the end time. You can convert a human-friendly time to Unix time format using a converter like Epoch converter.
  4340. */
  4341. endTime?: IsoDate;
  4342. /**
  4343. * The pattern to use to filter the returned log events to a specific term. The following are a few examples of filter patterns that you can specify: To return all log events, specify a filter pattern of "". To exclude log events that contain the ERROR term, and return all other log events, specify a filter pattern of "-ERROR". To return log events that contain the ERROR term, specify a filter pattern of "ERROR". To return log events that contain both the ERROR and Exception terms, specify a filter pattern of "ERROR Exception". To return log events that contain the ERROR or the Exception term, specify a filter pattern of "?ERROR ?Exception".
  4344. */
  4345. filterPattern?: string;
  4346. /**
  4347. * The token to advance to the next page of results from your request. To get a page token, perform an initial GetContainerLog request. If your results are paginated, the response will return a next page token that you can specify as the page token in a subsequent request.
  4348. */
  4349. pageToken?: string;
  4350. }
  4351. export interface GetContainerLogResult {
  4352. /**
  4353. * An array of objects that describe the log events of a container.
  4354. */
  4355. logEvents?: ContainerServiceLogEventList;
  4356. /**
  4357. * The token to advance to the next page of results from your request. A next page token is not returned if there are no more results to display. To get the next page of results, perform another GetContainerLog request and specify the next page token using the pageToken parameter.
  4358. */
  4359. nextPageToken?: string;
  4360. }
  4361. export interface GetContainerServiceDeploymentsRequest {
  4362. /**
  4363. * The name of the container service for which to return deployments.
  4364. */
  4365. serviceName: ContainerServiceName;
  4366. }
  4367. export interface GetContainerServiceDeploymentsResult {
  4368. /**
  4369. * An array of objects that describe deployments for a container service.
  4370. */
  4371. deployments?: ContainerServiceDeploymentList;
  4372. }
  4373. export interface GetContainerServiceMetricDataRequest {
  4374. /**
  4375. * The name of the container service for which to get metric data.
  4376. */
  4377. serviceName: ContainerServiceName;
  4378. /**
  4379. * The metric for which you want to return information. Valid container service metric names are listed below, along with the most useful statistics to include in your request, and the published unit value. CPUUtilization - The average percentage of compute units that are currently in use across all nodes of the container service. This metric identifies the processing power required to run containers on each node of the container service. Statistics: The most useful statistics are Maximum and Average. Unit: The published unit is Percent. MemoryUtilization - The average percentage of available memory that is currently in use across all nodes of the container service. This metric identifies the memory required to run containers on each node of the container service. Statistics: The most useful statistics are Maximum and Average. Unit: The published unit is Percent.
  4380. */
  4381. metricName: ContainerServiceMetricName;
  4382. /**
  4383. * The start time of the time period.
  4384. */
  4385. startTime: IsoDate;
  4386. /**
  4387. * The end time of the time period.
  4388. */
  4389. endTime: IsoDate;
  4390. /**
  4391. * The granularity, in seconds, of the returned data points. All container service metric data is available in 5-minute (300 seconds) granularity.
  4392. */
  4393. period: MetricPeriod;
  4394. /**
  4395. * The statistic for the metric. The following statistics are available: Minimum - The lowest value observed during the specified period. Use this value to determine low volumes of activity for your application. Maximum - The highest value observed during the specified period. Use this value to determine high volumes of activity for your application. Sum - All values submitted for the matching metric added together. You can use this statistic to determine the total volume of a metric. Average - The value of Sum / SampleCount during the specified period. By comparing this statistic with the Minimum and Maximum values, you can determine the full scope of a metric and how close the average use is to the Minimum and Maximum values. This comparison helps you to know when to increase or decrease your resources. SampleCount - The count, or number, of data points used for the statistical calculation.
  4396. */
  4397. statistics: MetricStatisticList;
  4398. }
  4399. export interface GetContainerServiceMetricDataResult {
  4400. /**
  4401. * The name of the metric returned.
  4402. */
  4403. metricName?: ContainerServiceMetricName;
  4404. /**
  4405. * An array of objects that describe the metric data returned.
  4406. */
  4407. metricData?: MetricDatapointList;
  4408. }
  4409. export interface GetContainerServicePowersRequest {
  4410. }
  4411. export interface GetContainerServicePowersResult {
  4412. /**
  4413. * An array of objects that describe the powers that can be specified for a container service.
  4414. */
  4415. powers?: ContainerServicePowerList;
  4416. }
  4417. export interface GetContainerServicesRequest {
  4418. /**
  4419. * The name of the container service for which to return information. When omitted, the response includes all of your container services in the Amazon Web Services Region where the request is made.
  4420. */
  4421. serviceName?: ContainerServiceName;
  4422. }
  4423. export interface GetCostEstimateRequest {
  4424. /**
  4425. * The resource name.
  4426. */
  4427. resourceName: ResourceName;
  4428. /**
  4429. * The cost estimate start time. Constraints: Specified in Coordinated Universal Time (UTC). Specified in the Unix time format. For example, if you want to use a start time of October 1, 2018, at 8 PM UTC, specify 1538424000 as the start time. You can convert a human-friendly time to Unix time format using a converter like Epoch converter.
  4430. */
  4431. startTime: IsoDate;
  4432. /**
  4433. * The cost estimate end time. Constraints: Specified in Coordinated Universal Time (UTC). Specified in the Unix time format. For example, if you want to use an end time of October 1, 2018, at 9 PM UTC, specify 1538427600 as the end time. You can convert a human-friendly time to Unix time format using a converter like Epoch converter.
  4434. */
  4435. endTime: IsoDate;
  4436. }
  4437. export interface GetCostEstimateResult {
  4438. /**
  4439. * Returns the estimate's forecasted cost or usage.
  4440. */
  4441. resourcesBudgetEstimate?: ResourcesBudgetEstimate;
  4442. }
  4443. export interface GetDiskRequest {
  4444. /**
  4445. * The name of the disk (my-disk).
  4446. */
  4447. diskName: ResourceName;
  4448. }
  4449. export interface GetDiskResult {
  4450. /**
  4451. * An object containing information about the disk.
  4452. */
  4453. disk?: Disk;
  4454. }
  4455. export interface GetDiskSnapshotRequest {
  4456. /**
  4457. * The name of the disk snapshot (my-disk-snapshot).
  4458. */
  4459. diskSnapshotName: ResourceName;
  4460. }
  4461. export interface GetDiskSnapshotResult {
  4462. /**
  4463. * An object containing information about the disk snapshot.
  4464. */
  4465. diskSnapshot?: DiskSnapshot;
  4466. }
  4467. export interface GetDiskSnapshotsRequest {
  4468. /**
  4469. * The token to advance to the next page of results from your request. To get a page token, perform an initial GetDiskSnapshots request. If your results are paginated, the response will return a next page token that you can specify as the page token in a subsequent request.
  4470. */
  4471. pageToken?: string;
  4472. }
  4473. export interface GetDiskSnapshotsResult {
  4474. /**
  4475. * An array of objects containing information about all block storage disk snapshots.
  4476. */
  4477. diskSnapshots?: DiskSnapshotList;
  4478. /**
  4479. * The token to advance to the next page of results from your request. A next page token is not returned if there are no more results to display. To get the next page of results, perform another GetDiskSnapshots request and specify the next page token using the pageToken parameter.
  4480. */
  4481. nextPageToken?: string;
  4482. }
  4483. export interface GetDisksRequest {
  4484. /**
  4485. * The token to advance to the next page of results from your request. To get a page token, perform an initial GetDisks request. If your results are paginated, the response will return a next page token that you can specify as the page token in a subsequent request.
  4486. */
  4487. pageToken?: string;
  4488. }
  4489. export interface GetDisksResult {
  4490. /**
  4491. * An array of objects containing information about all block storage disks.
  4492. */
  4493. disks?: DiskList;
  4494. /**
  4495. * The token to advance to the next page of results from your request. A next page token is not returned if there are no more results to display. To get the next page of results, perform another GetDisks request and specify the next page token using the pageToken parameter.
  4496. */
  4497. nextPageToken?: string;
  4498. }
  4499. export interface GetDistributionBundlesRequest {
  4500. }
  4501. export interface GetDistributionBundlesResult {
  4502. /**
  4503. * An object that describes a distribution bundle.
  4504. */
  4505. bundles?: DistributionBundleList;
  4506. }
  4507. export interface GetDistributionLatestCacheResetRequest {
  4508. /**
  4509. * The name of the distribution for which to return the timestamp of the last cache reset. Use the GetDistributions action to get a list of distribution names that you can specify. When omitted, the response includes the latest cache reset timestamp of all your distributions.
  4510. */
  4511. distributionName?: ResourceName;
  4512. }
  4513. export interface GetDistributionLatestCacheResetResult {
  4514. /**
  4515. * The status of the last cache reset.
  4516. */
  4517. status?: string;
  4518. /**
  4519. * The timestamp of the last cache reset (1479734909.17) in Unix time format.
  4520. */
  4521. createTime?: IsoDate;
  4522. }
  4523. export interface GetDistributionMetricDataRequest {
  4524. /**
  4525. * The name of the distribution for which to get metric data. Use the GetDistributions action to get a list of distribution names that you can specify.
  4526. */
  4527. distributionName: ResourceName;
  4528. /**
  4529. * The metric for which you want to return information. Valid distribution metric names are listed below, along with the most useful statistics to include in your request, and the published unit value. Requests - The total number of viewer requests received by your Lightsail distribution, for all HTTP methods, and for both HTTP and HTTPS requests. Statistics: The most useful statistic is Sum. Unit: The published unit is None. BytesDownloaded - The number of bytes downloaded by viewers for GET, HEAD, and OPTIONS requests. Statistics: The most useful statistic is Sum. Unit: The published unit is None. BytesUploaded - The number of bytes uploaded to your origin by your Lightsail distribution, using POST and PUT requests. Statistics: The most useful statistic is Sum. Unit: The published unit is None. TotalErrorRate - The percentage of all viewer requests for which the response's HTTP status code was 4xx or 5xx. Statistics: The most useful statistic is Average. Unit: The published unit is Percent. 4xxErrorRate - The percentage of all viewer requests for which the response's HTTP status cod was 4xx. In these cases, the client or client viewer may have made an error. For example, a status code of 404 (Not Found) means that the client requested an object that could not be found. Statistics: The most useful statistic is Average. Unit: The published unit is Percent. 5xxErrorRate - The percentage of all viewer requests for which the response's HTTP status code was 5xx. In these cases, the origin server did not satisfy the requests. For example, a status code of 503 (Service Unavailable) means that the origin server is currently unavailable. Statistics: The most useful statistic is Average. Unit: The published unit is Percent.
  4530. */
  4531. metricName: DistributionMetricName;
  4532. /**
  4533. * The start of the time interval for which to get metric data. Constraints: Specified in Coordinated Universal Time (UTC). Specified in the Unix time format. For example, if you wish to use a start time of October 1, 2018, at 8 PM UTC, specify 1538424000 as the start time. You can convert a human-friendly time to Unix time format using a converter like Epoch converter.
  4534. */
  4535. startTime: timestamp;
  4536. /**
  4537. * The end of the time interval for which to get metric data. Constraints: Specified in Coordinated Universal Time (UTC). Specified in the Unix time format. For example, if you wish to use an end time of October 1, 2018, at 9 PM UTC, specify 1538427600 as the end time. You can convert a human-friendly time to Unix time format using a converter like Epoch converter.
  4538. */
  4539. endTime: timestamp;
  4540. /**
  4541. * The granularity, in seconds, for the metric data points that will be returned.
  4542. */
  4543. period: MetricPeriod;
  4544. /**
  4545. * The unit for the metric data request. Valid units depend on the metric data being requested. For the valid units with each available metric, see the metricName parameter.
  4546. */
  4547. unit: MetricUnit;
  4548. /**
  4549. * The statistic for the metric. The following statistics are available: Minimum - The lowest value observed during the specified period. Use this value to determine low volumes of activity for your application. Maximum - The highest value observed during the specified period. Use this value to determine high volumes of activity for your application. Sum - All values submitted for the matching metric added together. You can use this statistic to determine the total volume of a metric. Average - The value of Sum / SampleCount during the specified period. By comparing this statistic with the Minimum and Maximum values, you can determine the full scope of a metric and how close the average use is to the Minimum and Maximum values. This comparison helps you to know when to increase or decrease your resources. SampleCount - The count, or number, of data points used for the statistical calculation.
  4550. */
  4551. statistics: MetricStatisticList;
  4552. }
  4553. export interface GetDistributionMetricDataResult {
  4554. /**
  4555. * The name of the metric returned.
  4556. */
  4557. metricName?: DistributionMetricName;
  4558. /**
  4559. * An array of objects that describe the metric data returned.
  4560. */
  4561. metricData?: MetricDatapointList;
  4562. }
  4563. export interface GetDistributionsRequest {
  4564. /**
  4565. * The name of the distribution for which to return information. When omitted, the response includes all of your distributions in the Amazon Web Services Region where the request is made.
  4566. */
  4567. distributionName?: ResourceName;
  4568. /**
  4569. * The token to advance to the next page of results from your request. To get a page token, perform an initial GetDistributions request. If your results are paginated, the response will return a next page token that you can specify as the page token in a subsequent request.
  4570. */
  4571. pageToken?: string;
  4572. }
  4573. export interface GetDistributionsResult {
  4574. /**
  4575. * An array of objects that describe your distributions.
  4576. */
  4577. distributions?: DistributionList;
  4578. /**
  4579. * The token to advance to the next page of results from your request. A next page token is not returned if there are no more results to display. To get the next page of results, perform another GetDistributions request and specify the next page token using the pageToken parameter.
  4580. */
  4581. nextPageToken?: string;
  4582. }
  4583. export interface GetDomainRequest {
  4584. /**
  4585. * The domain name for which your want to return information about.
  4586. */
  4587. domainName: DomainName;
  4588. }
  4589. export interface GetDomainResult {
  4590. /**
  4591. * An array of key-value pairs containing information about your get domain request.
  4592. */
  4593. domain?: Domain;
  4594. }
  4595. export interface GetDomainsRequest {
  4596. /**
  4597. * The token to advance to the next page of results from your request. To get a page token, perform an initial GetDomains request. If your results are paginated, the response will return a next page token that you can specify as the page token in a subsequent request.
  4598. */
  4599. pageToken?: string;
  4600. }
  4601. export interface GetDomainsResult {
  4602. /**
  4603. * An array of key-value pairs containing information about each of the domain entries in the user's account.
  4604. */
  4605. domains?: DomainList;
  4606. /**
  4607. * The token to advance to the next page of results from your request. A next page token is not returned if there are no more results to display. To get the next page of results, perform another GetDomains request and specify the next page token using the pageToken parameter.
  4608. */
  4609. nextPageToken?: string;
  4610. }
  4611. export interface GetExportSnapshotRecordsRequest {
  4612. /**
  4613. * The token to advance to the next page of results from your request. To get a page token, perform an initial GetExportSnapshotRecords request. If your results are paginated, the response will return a next page token that you can specify as the page token in a subsequent request.
  4614. */
  4615. pageToken?: string;
  4616. }
  4617. export interface GetExportSnapshotRecordsResult {
  4618. /**
  4619. * A list of objects describing the export snapshot records.
  4620. */
  4621. exportSnapshotRecords?: ExportSnapshotRecordList;
  4622. /**
  4623. * The token to advance to the next page of results from your request. A next page token is not returned if there are no more results to display. To get the next page of results, perform another GetExportSnapshotRecords request and specify the next page token using the pageToken parameter.
  4624. */
  4625. nextPageToken?: string;
  4626. }
  4627. export interface GetInstanceAccessDetailsRequest {
  4628. /**
  4629. * The name of the instance to access.
  4630. */
  4631. instanceName: ResourceName;
  4632. /**
  4633. * The protocol to use to connect to your instance. Defaults to ssh.
  4634. */
  4635. protocol?: InstanceAccessProtocol;
  4636. }
  4637. export interface GetInstanceAccessDetailsResult {
  4638. /**
  4639. * An array of key-value pairs containing information about a get instance access request.
  4640. */
  4641. accessDetails?: InstanceAccessDetails;
  4642. }
  4643. export interface GetInstanceMetricDataRequest {
  4644. /**
  4645. * The name of the instance for which you want to get metrics data.
  4646. */
  4647. instanceName: ResourceName;
  4648. /**
  4649. * The metric for which you want to return information. Valid instance metric names are listed below, along with the most useful statistics to include in your request, and the published unit value. BurstCapacityPercentage - The percentage of CPU performance available for your instance to burst above its baseline. Your instance continuously accrues and consumes burst capacity. Burst capacity stops accruing when your instance's BurstCapacityPercentage reaches 100%. For more information, see Viewing instance burst capacity in Amazon Lightsail. Statistics: The most useful statistics are Maximum and Average. Unit: The published unit is Percent. BurstCapacityTime - The available amount of time for your instance to burst at 100% CPU utilization. Your instance continuously accrues and consumes burst capacity. Burst capacity time stops accruing when your instance's BurstCapacityPercentage metric reaches 100%. Burst capacity time is consumed at the full rate only when your instance operates at 100% CPU utilization. For example, if your instance operates at 50% CPU utilization in the burstable zone for a 5-minute period, then it consumes CPU burst capacity minutes at a 50% rate in that period. Your instance consumed 2 minutes and 30 seconds of CPU burst capacity minutes in the 5-minute period. For more information, see Viewing instance burst capacity in Amazon Lightsail. Statistics: The most useful statistics are Maximum and Average. Unit: The published unit is Seconds. CPUUtilization - The percentage of allocated compute units that are currently in use on the instance. This metric identifies the processing power to run the applications on the instance. Tools in your operating system can show a lower percentage than Lightsail when the instance is not allocated a full processor core. Statistics: The most useful statistics are Maximum and Average. Unit: The published unit is Percent. NetworkIn - The number of bytes received on all network interfaces by the instance. This metric identifies the volume of incoming network traffic to the instance. The number reported is the number of bytes received during the period. Because this metric is reported in 5-minute intervals, divide the reported number by 300 to find Bytes/second. Statistics: The most useful statistic is Sum. Unit: The published unit is Bytes. NetworkOut - The number of bytes sent out on all network interfaces by the instance. This metric identifies the volume of outgoing network traffic from the instance. The number reported is the number of bytes sent during the period. Because this metric is reported in 5-minute intervals, divide the reported number by 300 to find Bytes/second. Statistics: The most useful statistic is Sum. Unit: The published unit is Bytes. StatusCheckFailed - Reports whether the instance passed or failed both the instance status check and the system status check. This metric can be either 0 (passed) or 1 (failed). This metric data is available in 1-minute (60 seconds) granularity. Statistics: The most useful statistic is Sum. Unit: The published unit is Count. StatusCheckFailed_Instance - Reports whether the instance passed or failed the instance status check. This metric can be either 0 (passed) or 1 (failed). This metric data is available in 1-minute (60 seconds) granularity. Statistics: The most useful statistic is Sum. Unit: The published unit is Count. StatusCheckFailed_System - Reports whether the instance passed or failed the system status check. This metric can be either 0 (passed) or 1 (failed). This metric data is available in 1-minute (60 seconds) granularity. Statistics: The most useful statistic is Sum. Unit: The published unit is Count. MetadataNoToken - Reports the number of times that the instance metadata service was successfully accessed without a token. This metric determines if there are any processes accessing instance metadata by using Instance Metadata Service Version 1, which doesn't use a token. If all requests use token-backed sessions, such as Instance Metadata Service Version 2, then the value is 0. Statistics: The most useful statistic is Sum. Unit: The published unit is Count.
  4650. */
  4651. metricName: InstanceMetricName;
  4652. /**
  4653. * The granularity, in seconds, of the returned data points. The StatusCheckFailed, StatusCheckFailed_Instance, and StatusCheckFailed_System instance metric data is available in 1-minute (60 seconds) granularity. All other instance metric data is available in 5-minute (300 seconds) granularity.
  4654. */
  4655. period: MetricPeriod;
  4656. /**
  4657. * The start time of the time period.
  4658. */
  4659. startTime: timestamp;
  4660. /**
  4661. * The end time of the time period.
  4662. */
  4663. endTime: timestamp;
  4664. /**
  4665. * The unit for the metric data request. Valid units depend on the metric data being requested. For the valid units to specify with each available metric, see the metricName parameter.
  4666. */
  4667. unit: MetricUnit;
  4668. /**
  4669. * The statistic for the metric. The following statistics are available: Minimum - The lowest value observed during the specified period. Use this value to determine low volumes of activity for your application. Maximum - The highest value observed during the specified period. Use this value to determine high volumes of activity for your application. Sum - All values submitted for the matching metric added together. You can use this statistic to determine the total volume of a metric. Average - The value of Sum / SampleCount during the specified period. By comparing this statistic with the Minimum and Maximum values, you can determine the full scope of a metric and how close the average use is to the Minimum and Maximum values. This comparison helps you to know when to increase or decrease your resources. SampleCount - The count, or number, of data points used for the statistical calculation.
  4670. */
  4671. statistics: MetricStatisticList;
  4672. }
  4673. export interface GetInstanceMetricDataResult {
  4674. /**
  4675. * The name of the metric returned.
  4676. */
  4677. metricName?: InstanceMetricName;
  4678. /**
  4679. * An array of objects that describe the metric data returned.
  4680. */
  4681. metricData?: MetricDatapointList;
  4682. }
  4683. export interface GetInstancePortStatesRequest {
  4684. /**
  4685. * The name of the instance for which to return firewall port states.
  4686. */
  4687. instanceName: ResourceName;
  4688. }
  4689. export interface GetInstancePortStatesResult {
  4690. /**
  4691. * An array of objects that describe the firewall port states for the specified instance.
  4692. */
  4693. portStates?: InstancePortStateList;
  4694. }
  4695. export interface GetInstanceRequest {
  4696. /**
  4697. * The name of the instance.
  4698. */
  4699. instanceName: ResourceName;
  4700. }
  4701. export interface GetInstanceResult {
  4702. /**
  4703. * An array of key-value pairs containing information about the specified instance.
  4704. */
  4705. instance?: Instance;
  4706. }
  4707. export interface GetInstanceSnapshotRequest {
  4708. /**
  4709. * The name of the snapshot for which you are requesting information.
  4710. */
  4711. instanceSnapshotName: ResourceName;
  4712. }
  4713. export interface GetInstanceSnapshotResult {
  4714. /**
  4715. * An array of key-value pairs containing information about the results of your get instance snapshot request.
  4716. */
  4717. instanceSnapshot?: InstanceSnapshot;
  4718. }
  4719. export interface GetInstanceSnapshotsRequest {
  4720. /**
  4721. * The token to advance to the next page of results from your request. To get a page token, perform an initial GetInstanceSnapshots request. If your results are paginated, the response will return a next page token that you can specify as the page token in a subsequent request.
  4722. */
  4723. pageToken?: string;
  4724. }
  4725. export interface GetInstanceSnapshotsResult {
  4726. /**
  4727. * An array of key-value pairs containing information about the results of your get instance snapshots request.
  4728. */
  4729. instanceSnapshots?: InstanceSnapshotList;
  4730. /**
  4731. * The token to advance to the next page of results from your request. A next page token is not returned if there are no more results to display. To get the next page of results, perform another GetInstanceSnapshots request and specify the next page token using the pageToken parameter.
  4732. */
  4733. nextPageToken?: string;
  4734. }
  4735. export interface GetInstanceStateRequest {
  4736. /**
  4737. * The name of the instance to get state information about.
  4738. */
  4739. instanceName: ResourceName;
  4740. }
  4741. export interface GetInstanceStateResult {
  4742. /**
  4743. * The state of the instance.
  4744. */
  4745. state?: InstanceState;
  4746. }
  4747. export interface GetInstancesRequest {
  4748. /**
  4749. * The token to advance to the next page of results from your request. To get a page token, perform an initial GetInstances request. If your results are paginated, the response will return a next page token that you can specify as the page token in a subsequent request.
  4750. */
  4751. pageToken?: string;
  4752. }
  4753. export interface GetInstancesResult {
  4754. /**
  4755. * An array of key-value pairs containing information about your instances.
  4756. */
  4757. instances?: InstanceList;
  4758. /**
  4759. * The token to advance to the next page of results from your request. A next page token is not returned if there are no more results to display. To get the next page of results, perform another GetInstances request and specify the next page token using the pageToken parameter.
  4760. */
  4761. nextPageToken?: string;
  4762. }
  4763. export interface GetKeyPairRequest {
  4764. /**
  4765. * The name of the key pair for which you are requesting information.
  4766. */
  4767. keyPairName: ResourceName;
  4768. }
  4769. export interface GetKeyPairResult {
  4770. /**
  4771. * An array of key-value pairs containing information about the key pair.
  4772. */
  4773. keyPair?: KeyPair;
  4774. }
  4775. export interface GetKeyPairsRequest {
  4776. /**
  4777. * The token to advance to the next page of results from your request. To get a page token, perform an initial GetKeyPairs request. If your results are paginated, the response will return a next page token that you can specify as the page token in a subsequent request.
  4778. */
  4779. pageToken?: string;
  4780. /**
  4781. * A Boolean value that indicates whether to include the default key pair in the response of your request.
  4782. */
  4783. includeDefaultKeyPair?: boolean;
  4784. }
  4785. export interface GetKeyPairsResult {
  4786. /**
  4787. * An array of key-value pairs containing information about the key pairs.
  4788. */
  4789. keyPairs?: KeyPairList;
  4790. /**
  4791. * The token to advance to the next page of results from your request. A next page token is not returned if there are no more results to display. To get the next page of results, perform another GetKeyPairs request and specify the next page token using the pageToken parameter.
  4792. */
  4793. nextPageToken?: string;
  4794. }
  4795. export interface GetLoadBalancerMetricDataRequest {
  4796. /**
  4797. * The name of the load balancer.
  4798. */
  4799. loadBalancerName: ResourceName;
  4800. /**
  4801. * The metric for which you want to return information. Valid load balancer metric names are listed below, along with the most useful statistics to include in your request, and the published unit value. ClientTLSNegotiationErrorCount - The number of TLS connections initiated by the client that did not establish a session with the load balancer due to a TLS error generated by the load balancer. Possible causes include a mismatch of ciphers or protocols. Statistics: The most useful statistic is Sum. Unit: The published unit is Count. HealthyHostCount - The number of target instances that are considered healthy. Statistics: The most useful statistic are Average, Minimum, and Maximum. Unit: The published unit is Count. HTTPCode_Instance_2XX_Count - The number of HTTP 2XX response codes generated by the target instances. This does not include any response codes generated by the load balancer. Statistics: The most useful statistic is Sum. Note that Minimum, Maximum, and Average all return 1. Unit: The published unit is Count. HTTPCode_Instance_3XX_Count - The number of HTTP 3XX response codes generated by the target instances. This does not include any response codes generated by the load balancer. Statistics: The most useful statistic is Sum. Note that Minimum, Maximum, and Average all return 1. Unit: The published unit is Count. HTTPCode_Instance_4XX_Count - The number of HTTP 4XX response codes generated by the target instances. This does not include any response codes generated by the load balancer. Statistics: The most useful statistic is Sum. Note that Minimum, Maximum, and Average all return 1. Unit: The published unit is Count. HTTPCode_Instance_5XX_Count - The number of HTTP 5XX response codes generated by the target instances. This does not include any response codes generated by the load balancer. Statistics: The most useful statistic is Sum. Note that Minimum, Maximum, and Average all return 1. Unit: The published unit is Count. HTTPCode_LB_4XX_Count - The number of HTTP 4XX client error codes that originated from the load balancer. Client errors are generated when requests are malformed or incomplete. These requests were not received by the target instance. This count does not include response codes generated by the target instances. Statistics: The most useful statistic is Sum. Note that Minimum, Maximum, and Average all return 1. Unit: The published unit is Count. HTTPCode_LB_5XX_Count - The number of HTTP 5XX server error codes that originated from the load balancer. This does not include any response codes generated by the target instance. This metric is reported if there are no healthy instances attached to the load balancer, or if the request rate exceeds the capacity of the instances (spillover) or the load balancer. Statistics: The most useful statistic is Sum. Note that Minimum, Maximum, and Average all return 1. Unit: The published unit is Count. InstanceResponseTime - The time elapsed, in seconds, after the request leaves the load balancer until a response from the target instance is received. Statistics: The most useful statistic is Average. Unit: The published unit is Seconds. RejectedConnectionCount - The number of connections that were rejected because the load balancer had reached its maximum number of connections. Statistics: The most useful statistic is Sum. Unit: The published unit is Count. RequestCount - The number of requests processed over IPv4. This count includes only the requests with a response generated by a target instance of the load balancer. Statistics: The most useful statistic is Sum. Note that Minimum, Maximum, and Average all return 1. Unit: The published unit is Count. UnhealthyHostCount - The number of target instances that are considered unhealthy. Statistics: The most useful statistic are Average, Minimum, and Maximum. Unit: The published unit is Count.
  4802. */
  4803. metricName: LoadBalancerMetricName;
  4804. /**
  4805. * The granularity, in seconds, of the returned data points.
  4806. */
  4807. period: MetricPeriod;
  4808. /**
  4809. * The start time of the period.
  4810. */
  4811. startTime: timestamp;
  4812. /**
  4813. * The end time of the period.
  4814. */
  4815. endTime: timestamp;
  4816. /**
  4817. * The unit for the metric data request. Valid units depend on the metric data being requested. For the valid units with each available metric, see the metricName parameter.
  4818. */
  4819. unit: MetricUnit;
  4820. /**
  4821. * The statistic for the metric. The following statistics are available: Minimum - The lowest value observed during the specified period. Use this value to determine low volumes of activity for your application. Maximum - The highest value observed during the specified period. Use this value to determine high volumes of activity for your application. Sum - All values submitted for the matching metric added together. You can use this statistic to determine the total volume of a metric. Average - The value of Sum / SampleCount during the specified period. By comparing this statistic with the Minimum and Maximum values, you can determine the full scope of a metric and how close the average use is to the Minimum and Maximum values. This comparison helps you to know when to increase or decrease your resources. SampleCount - The count, or number, of data points used for the statistical calculation.
  4822. */
  4823. statistics: MetricStatisticList;
  4824. }
  4825. export interface GetLoadBalancerMetricDataResult {
  4826. /**
  4827. * The name of the metric returned.
  4828. */
  4829. metricName?: LoadBalancerMetricName;
  4830. /**
  4831. * An array of objects that describe the metric data returned.
  4832. */
  4833. metricData?: MetricDatapointList;
  4834. }
  4835. export interface GetLoadBalancerRequest {
  4836. /**
  4837. * The name of the load balancer.
  4838. */
  4839. loadBalancerName: ResourceName;
  4840. }
  4841. export interface GetLoadBalancerResult {
  4842. /**
  4843. * An object containing information about your load balancer.
  4844. */
  4845. loadBalancer?: LoadBalancer;
  4846. }
  4847. export interface GetLoadBalancerTlsCertificatesRequest {
  4848. /**
  4849. * The name of the load balancer you associated with your SSL/TLS certificate.
  4850. */
  4851. loadBalancerName: ResourceName;
  4852. }
  4853. export interface GetLoadBalancerTlsCertificatesResult {
  4854. /**
  4855. * An array of LoadBalancerTlsCertificate objects describing your SSL/TLS certificates.
  4856. */
  4857. tlsCertificates?: LoadBalancerTlsCertificateList;
  4858. }
  4859. export interface GetLoadBalancerTlsPoliciesRequest {
  4860. /**
  4861. * The token to advance to the next page of results from your request. To get a page token, perform an initial GetLoadBalancerTlsPolicies request. If your results are paginated, the response will return a next page token that you can specify as the page token in a subsequent request.
  4862. */
  4863. pageToken?: string;
  4864. }
  4865. export interface GetLoadBalancerTlsPoliciesResult {
  4866. /**
  4867. * An array of objects that describe the TLS security policies that are available.
  4868. */
  4869. tlsPolicies?: LoadBalancerTlsPolicyList;
  4870. /**
  4871. * The token to advance to the next page of results from your request. A next page token is not returned if there are no more results to display. To get the next page of results, perform another GetLoadBalancerTlsPolicies request and specify the next page token using the pageToken parameter.
  4872. */
  4873. nextPageToken?: string;
  4874. }
  4875. export interface GetLoadBalancersRequest {
  4876. /**
  4877. * The token to advance to the next page of results from your request. To get a page token, perform an initial GetLoadBalancers request. If your results are paginated, the response will return a next page token that you can specify as the page token in a subsequent request.
  4878. */
  4879. pageToken?: string;
  4880. }
  4881. export interface GetLoadBalancersResult {
  4882. /**
  4883. * An array of LoadBalancer objects describing your load balancers.
  4884. */
  4885. loadBalancers?: LoadBalancerList;
  4886. /**
  4887. * The token to advance to the next page of results from your request. A next page token is not returned if there are no more results to display. To get the next page of results, perform another GetLoadBalancers request and specify the next page token using the pageToken parameter.
  4888. */
  4889. nextPageToken?: string;
  4890. }
  4891. export interface GetOperationRequest {
  4892. /**
  4893. * A GUID used to identify the operation.
  4894. */
  4895. operationId: NonEmptyString;
  4896. }
  4897. export interface GetOperationResult {
  4898. /**
  4899. * An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.
  4900. */
  4901. operation?: Operation;
  4902. }
  4903. export interface GetOperationsForResourceRequest {
  4904. /**
  4905. * The name of the resource for which you are requesting information.
  4906. */
  4907. resourceName: ResourceName;
  4908. /**
  4909. * The token to advance to the next page of results from your request. To get a page token, perform an initial GetOperationsForResource request. If your results are paginated, the response will return a next page token that you can specify as the page token in a subsequent request.
  4910. */
  4911. pageToken?: string;
  4912. }
  4913. export interface GetOperationsForResourceResult {
  4914. /**
  4915. * An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.
  4916. */
  4917. operations?: OperationList;
  4918. /**
  4919. * (Discontinued) Returns the number of pages of results that remain. In releases prior to June 12, 2017, this parameter returned null by the API. It is now discontinued, and the API returns the next page token parameter instead.
  4920. */
  4921. nextPageCount?: string;
  4922. /**
  4923. * The token to advance to the next page of results from your request. A next page token is not returned if there are no more results to display. To get the next page of results, perform another GetOperationsForResource request and specify the next page token using the pageToken parameter.
  4924. */
  4925. nextPageToken?: string;
  4926. }
  4927. export interface GetOperationsRequest {
  4928. /**
  4929. * The token to advance to the next page of results from your request. To get a page token, perform an initial GetOperations request. If your results are paginated, the response will return a next page token that you can specify as the page token in a subsequent request.
  4930. */
  4931. pageToken?: string;
  4932. }
  4933. export interface GetOperationsResult {
  4934. /**
  4935. * An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.
  4936. */
  4937. operations?: OperationList;
  4938. /**
  4939. * The token to advance to the next page of results from your request. A next page token is not returned if there are no more results to display. To get the next page of results, perform another GetOperations request and specify the next page token using the pageToken parameter.
  4940. */
  4941. nextPageToken?: string;
  4942. }
  4943. export interface GetRegionsRequest {
  4944. /**
  4945. * A Boolean value indicating whether to also include Availability Zones in your get regions request. Availability Zones are indicated with a letter: us-east-2a.
  4946. */
  4947. includeAvailabilityZones?: boolean;
  4948. /**
  4949. * A Boolean value indicating whether to also include Availability Zones for databases in your get regions request. Availability Zones are indicated with a letter (us-east-2a).
  4950. */
  4951. includeRelationalDatabaseAvailabilityZones?: boolean;
  4952. }
  4953. export interface GetRegionsResult {
  4954. /**
  4955. * An array of key-value pairs containing information about your get regions request.
  4956. */
  4957. regions?: RegionList;
  4958. }
  4959. export interface GetRelationalDatabaseBlueprintsRequest {
  4960. /**
  4961. * The token to advance to the next page of results from your request. To get a page token, perform an initial GetRelationalDatabaseBlueprints request. If your results are paginated, the response will return a next page token that you can specify as the page token in a subsequent request.
  4962. */
  4963. pageToken?: string;
  4964. }
  4965. export interface GetRelationalDatabaseBlueprintsResult {
  4966. /**
  4967. * An object describing the result of your get relational database blueprints request.
  4968. */
  4969. blueprints?: RelationalDatabaseBlueprintList;
  4970. /**
  4971. * The token to advance to the next page of results from your request. A next page token is not returned if there are no more results to display. To get the next page of results, perform another GetRelationalDatabaseBlueprints request and specify the next page token using the pageToken parameter.
  4972. */
  4973. nextPageToken?: string;
  4974. }
  4975. export interface GetRelationalDatabaseBundlesRequest {
  4976. /**
  4977. * The token to advance to the next page of results from your request. To get a page token, perform an initial GetRelationalDatabaseBundles request. If your results are paginated, the response will return a next page token that you can specify as the page token in a subsequent request.
  4978. */
  4979. pageToken?: string;
  4980. /**
  4981. * A Boolean value that indicates whether to include inactive (unavailable) bundles in the response of your request.
  4982. */
  4983. includeInactive?: boolean;
  4984. }
  4985. export interface GetRelationalDatabaseBundlesResult {
  4986. /**
  4987. * An object describing the result of your get relational database bundles request.
  4988. */
  4989. bundles?: RelationalDatabaseBundleList;
  4990. /**
  4991. * The token to advance to the next page of results from your request. A next page token is not returned if there are no more results to display. To get the next page of results, perform another GetRelationalDatabaseBundles request and specify the next page token using the pageToken parameter.
  4992. */
  4993. nextPageToken?: string;
  4994. }
  4995. export interface GetRelationalDatabaseEventsRequest {
  4996. /**
  4997. * The name of the database from which to get events.
  4998. */
  4999. relationalDatabaseName: ResourceName;
  5000. /**
  5001. * The number of minutes in the past from which to retrieve events. For example, to get all events from the past 2 hours, enter 120. Default: 60 The minimum is 1 and the maximum is 14 days (20160 minutes).
  5002. */
  5003. durationInMinutes?: integer;
  5004. /**
  5005. * The token to advance to the next page of results from your request. To get a page token, perform an initial GetRelationalDatabaseEvents request. If your results are paginated, the response will return a next page token that you can specify as the page token in a subsequent request.
  5006. */
  5007. pageToken?: string;
  5008. }
  5009. export interface GetRelationalDatabaseEventsResult {
  5010. /**
  5011. * An object describing the result of your get relational database events request.
  5012. */
  5013. relationalDatabaseEvents?: RelationalDatabaseEventList;
  5014. /**
  5015. * The token to advance to the next page of results from your request. A next page token is not returned if there are no more results to display. To get the next page of results, perform another GetRelationalDatabaseEvents request and specify the next page token using the pageToken parameter.
  5016. */
  5017. nextPageToken?: string;
  5018. }
  5019. export interface GetRelationalDatabaseLogEventsRequest {
  5020. /**
  5021. * The name of your database for which to get log events.
  5022. */
  5023. relationalDatabaseName: ResourceName;
  5024. /**
  5025. * The name of the log stream. Use the get relational database log streams operation to get a list of available log streams.
  5026. */
  5027. logStreamName: string;
  5028. /**
  5029. * The start of the time interval from which to get log events. Constraints: Specified in Coordinated Universal Time (UTC). Specified in the Unix time format. For example, if you wish to use a start time of October 1, 2018, at 8 PM UTC, then you input 1538424000 as the start time.
  5030. */
  5031. startTime?: IsoDate;
  5032. /**
  5033. * The end of the time interval from which to get log events. Constraints: Specified in Coordinated Universal Time (UTC). Specified in the Unix time format. For example, if you wish to use an end time of October 1, 2018, at 8 PM UTC, then you input 1538424000 as the end time.
  5034. */
  5035. endTime?: IsoDate;
  5036. /**
  5037. * Parameter to specify if the log should start from head or tail. If true is specified, the log event starts from the head of the log. If false is specified, the log event starts from the tail of the log. For PostgreSQL, the default value of false is the only option available.
  5038. */
  5039. startFromHead?: boolean;
  5040. /**
  5041. * The token to advance to the next or previous page of results from your request. To get a page token, perform an initial GetRelationalDatabaseLogEvents request. If your results are paginated, the response will return a next forward token and/or next backward token that you can specify as the page token in a subsequent request.
  5042. */
  5043. pageToken?: string;
  5044. }
  5045. export interface GetRelationalDatabaseLogEventsResult {
  5046. /**
  5047. * An object describing the result of your get relational database log events request.
  5048. */
  5049. resourceLogEvents?: LogEventList;
  5050. /**
  5051. * A token used for advancing to the previous page of results from your get relational database log events request.
  5052. */
  5053. nextBackwardToken?: string;
  5054. /**
  5055. * A token used for advancing to the next page of results from your get relational database log events request.
  5056. */
  5057. nextForwardToken?: string;
  5058. }
  5059. export interface GetRelationalDatabaseLogStreamsRequest {
  5060. /**
  5061. * The name of your database for which to get log streams.
  5062. */
  5063. relationalDatabaseName: ResourceName;
  5064. }
  5065. export interface GetRelationalDatabaseLogStreamsResult {
  5066. /**
  5067. * An object describing the result of your get relational database log streams request.
  5068. */
  5069. logStreams?: StringList;
  5070. }
  5071. export interface GetRelationalDatabaseMasterUserPasswordRequest {
  5072. /**
  5073. * The name of your database for which to get the master user password.
  5074. */
  5075. relationalDatabaseName: ResourceName;
  5076. /**
  5077. * The password version to return. Specifying CURRENT or PREVIOUS returns the current or previous passwords respectively. Specifying PENDING returns the newest version of the password that will rotate to CURRENT. After the PENDING password rotates to CURRENT, the PENDING password is no longer available. Default: CURRENT
  5078. */
  5079. passwordVersion?: RelationalDatabasePasswordVersion;
  5080. }
  5081. export interface GetRelationalDatabaseMasterUserPasswordResult {
  5082. /**
  5083. * The master user password for the password version specified.
  5084. */
  5085. masterUserPassword?: SensitiveString;
  5086. /**
  5087. * The timestamp when the specified version of the master user password was created.
  5088. */
  5089. createdAt?: IsoDate;
  5090. }
  5091. export interface GetRelationalDatabaseMetricDataRequest {
  5092. /**
  5093. * The name of your database from which to get metric data.
  5094. */
  5095. relationalDatabaseName: ResourceName;
  5096. /**
  5097. * The metric for which you want to return information. Valid relational database metric names are listed below, along with the most useful statistics to include in your request, and the published unit value. All relational database metric data is available in 1-minute (60 seconds) granularity. CPUUtilization - The percentage of CPU utilization currently in use on the database. Statistics: The most useful statistics are Maximum and Average. Unit: The published unit is Percent. DatabaseConnections - The number of database connections in use. Statistics: The most useful statistics are Maximum and Sum. Unit: The published unit is Count. DiskQueueDepth - The number of outstanding IOs (read/write requests) that are waiting to access the disk. Statistics: The most useful statistic is Sum. Unit: The published unit is Count. FreeStorageSpace - The amount of available storage space. Statistics: The most useful statistic is Sum. Unit: The published unit is Bytes. NetworkReceiveThroughput - The incoming (Receive) network traffic on the database, including both customer database traffic and AWS traffic used for monitoring and replication. Statistics: The most useful statistic is Average. Unit: The published unit is Bytes/Second. NetworkTransmitThroughput - The outgoing (Transmit) network traffic on the database, including both customer database traffic and AWS traffic used for monitoring and replication. Statistics: The most useful statistic is Average. Unit: The published unit is Bytes/Second.
  5098. */
  5099. metricName: RelationalDatabaseMetricName;
  5100. /**
  5101. * The granularity, in seconds, of the returned data points. All relational database metric data is available in 1-minute (60 seconds) granularity.
  5102. */
  5103. period: MetricPeriod;
  5104. /**
  5105. * The start of the time interval from which to get metric data. Constraints: Specified in Coordinated Universal Time (UTC). Specified in the Unix time format. For example, if you wish to use a start time of October 1, 2018, at 8 PM UTC, then you input 1538424000 as the start time.
  5106. */
  5107. startTime: IsoDate;
  5108. /**
  5109. * The end of the time interval from which to get metric data. Constraints: Specified in Coordinated Universal Time (UTC). Specified in the Unix time format. For example, if you wish to use an end time of October 1, 2018, at 8 PM UTC, then you input 1538424000 as the end time.
  5110. */
  5111. endTime: IsoDate;
  5112. /**
  5113. * The unit for the metric data request. Valid units depend on the metric data being requested. For the valid units with each available metric, see the metricName parameter.
  5114. */
  5115. unit: MetricUnit;
  5116. /**
  5117. * The statistic for the metric. The following statistics are available: Minimum - The lowest value observed during the specified period. Use this value to determine low volumes of activity for your application. Maximum - The highest value observed during the specified period. Use this value to determine high volumes of activity for your application. Sum - All values submitted for the matching metric added together. You can use this statistic to determine the total volume of a metric. Average - The value of Sum / SampleCount during the specified period. By comparing this statistic with the Minimum and Maximum values, you can determine the full scope of a metric and how close the average use is to the Minimum and Maximum values. This comparison helps you to know when to increase or decrease your resources. SampleCount - The count, or number, of data points used for the statistical calculation.
  5118. */
  5119. statistics: MetricStatisticList;
  5120. }
  5121. export interface GetRelationalDatabaseMetricDataResult {
  5122. /**
  5123. * The name of the metric returned.
  5124. */
  5125. metricName?: RelationalDatabaseMetricName;
  5126. /**
  5127. * An array of objects that describe the metric data returned.
  5128. */
  5129. metricData?: MetricDatapointList;
  5130. }
  5131. export interface GetRelationalDatabaseParametersRequest {
  5132. /**
  5133. * The name of your database for which to get parameters.
  5134. */
  5135. relationalDatabaseName: ResourceName;
  5136. /**
  5137. * The token to advance to the next page of results from your request. To get a page token, perform an initial GetRelationalDatabaseParameters request. If your results are paginated, the response will return a next page token that you can specify as the page token in a subsequent request.
  5138. */
  5139. pageToken?: string;
  5140. }
  5141. export interface GetRelationalDatabaseParametersResult {
  5142. /**
  5143. * An object describing the result of your get relational database parameters request.
  5144. */
  5145. parameters?: RelationalDatabaseParameterList;
  5146. /**
  5147. * The token to advance to the next page of results from your request. A next page token is not returned if there are no more results to display. To get the next page of results, perform another GetRelationalDatabaseParameters request and specify the next page token using the pageToken parameter.
  5148. */
  5149. nextPageToken?: string;
  5150. }
  5151. export interface GetRelationalDatabaseRequest {
  5152. /**
  5153. * The name of the database that you are looking up.
  5154. */
  5155. relationalDatabaseName: ResourceName;
  5156. }
  5157. export interface GetRelationalDatabaseResult {
  5158. /**
  5159. * An object describing the specified database.
  5160. */
  5161. relationalDatabase?: RelationalDatabase;
  5162. }
  5163. export interface GetRelationalDatabaseSnapshotRequest {
  5164. /**
  5165. * The name of the database snapshot for which to get information.
  5166. */
  5167. relationalDatabaseSnapshotName: ResourceName;
  5168. }
  5169. export interface GetRelationalDatabaseSnapshotResult {
  5170. /**
  5171. * An object describing the specified database snapshot.
  5172. */
  5173. relationalDatabaseSnapshot?: RelationalDatabaseSnapshot;
  5174. }
  5175. export interface GetRelationalDatabaseSnapshotsRequest {
  5176. /**
  5177. * The token to advance to the next page of results from your request. To get a page token, perform an initial GetRelationalDatabaseSnapshots request. If your results are paginated, the response will return a next page token that you can specify as the page token in a subsequent request.
  5178. */
  5179. pageToken?: string;
  5180. }
  5181. export interface GetRelationalDatabaseSnapshotsResult {
  5182. /**
  5183. * An object describing the result of your get relational database snapshots request.
  5184. */
  5185. relationalDatabaseSnapshots?: RelationalDatabaseSnapshotList;
  5186. /**
  5187. * The token to advance to the next page of results from your request. A next page token is not returned if there are no more results to display. To get the next page of results, perform another GetRelationalDatabaseSnapshots request and specify the next page token using the pageToken parameter.
  5188. */
  5189. nextPageToken?: string;
  5190. }
  5191. export interface GetRelationalDatabasesRequest {
  5192. /**
  5193. * The token to advance to the next page of results from your request. To get a page token, perform an initial GetRelationalDatabases request. If your results are paginated, the response will return a next page token that you can specify as the page token in a subsequent request.
  5194. */
  5195. pageToken?: string;
  5196. }
  5197. export interface GetRelationalDatabasesResult {
  5198. /**
  5199. * An object describing the result of your get relational databases request.
  5200. */
  5201. relationalDatabases?: RelationalDatabaseList;
  5202. /**
  5203. * The token to advance to the next page of results from your request. A next page token is not returned if there are no more results to display. To get the next page of results, perform another GetRelationalDatabases request and specify the next page token using the pageToken parameter.
  5204. */
  5205. nextPageToken?: string;
  5206. }
  5207. export interface GetSetupHistoryRequest {
  5208. /**
  5209. * The name of the resource for which you are requesting information.
  5210. */
  5211. resourceName: ResourceName;
  5212. /**
  5213. * The token to advance to the next page of results from your request. To get a page token, perform an initial GetSetupHistory request. If your results are paginated, the response will return a next page token that you can specify as the page token in a subsequent request.
  5214. */
  5215. pageToken?: SetupHistoryPageToken;
  5216. }
  5217. export interface GetSetupHistoryResult {
  5218. /**
  5219. * The historical information that's returned.
  5220. */
  5221. setupHistory?: setupHistoryList;
  5222. /**
  5223. * The token to advance to the next page of results from your request. A next page token is not returned if there are no more results to display. To get the next page of results, perform another GetSetupHistory request and specify the next page token using the pageToken parameter.
  5224. */
  5225. nextPageToken?: SetupHistoryPageToken;
  5226. }
  5227. export interface GetStaticIpRequest {
  5228. /**
  5229. * The name of the static IP in Lightsail.
  5230. */
  5231. staticIpName: ResourceName;
  5232. }
  5233. export interface GetStaticIpResult {
  5234. /**
  5235. * An array of key-value pairs containing information about the requested static IP.
  5236. */
  5237. staticIp?: StaticIp;
  5238. }
  5239. export interface GetStaticIpsRequest {
  5240. /**
  5241. * The token to advance to the next page of results from your request. To get a page token, perform an initial GetStaticIps request. If your results are paginated, the response will return a next page token that you can specify as the page token in a subsequent request.
  5242. */
  5243. pageToken?: string;
  5244. }
  5245. export interface GetStaticIpsResult {
  5246. /**
  5247. * An array of key-value pairs containing information about your get static IPs request.
  5248. */
  5249. staticIps?: StaticIpList;
  5250. /**
  5251. * The token to advance to the next page of results from your request. A next page token is not returned if there are no more results to display. To get the next page of results, perform another GetStaticIps request and specify the next page token using the pageToken parameter.
  5252. */
  5253. nextPageToken?: string;
  5254. }
  5255. export type HeaderEnum = "Accept"|"Accept-Charset"|"Accept-Datetime"|"Accept-Encoding"|"Accept-Language"|"Authorization"|"CloudFront-Forwarded-Proto"|"CloudFront-Is-Desktop-Viewer"|"CloudFront-Is-Mobile-Viewer"|"CloudFront-Is-SmartTV-Viewer"|"CloudFront-Is-Tablet-Viewer"|"CloudFront-Viewer-Country"|"Host"|"Origin"|"Referer"|string;
  5256. export type HeaderForwardList = HeaderEnum[];
  5257. export interface HeaderObject {
  5258. /**
  5259. * The headers that you want your distribution to forward to your origin and base caching on. You can configure your distribution to do one of the following: all - Forward all headers to your origin. none - Forward only the default headers. allow-list - Forward only the headers you specify using the headersAllowList parameter.
  5260. */
  5261. option?: ForwardValues;
  5262. /**
  5263. * The specific headers to forward to your distribution's origin.
  5264. */
  5265. headersAllowList?: HeaderForwardList;
  5266. }
  5267. export interface HostKeyAttributes {
  5268. /**
  5269. * The SSH host key algorithm or the RDP certificate format. For SSH host keys, the algorithm may be ssh-rsa, ecdsa-sha2-nistp256, ssh-ed25519, etc. For RDP certificates, the algorithm is always x509-cert.
  5270. */
  5271. algorithm?: string;
  5272. /**
  5273. * The public SSH host key or the RDP certificate.
  5274. */
  5275. publicKey?: string;
  5276. /**
  5277. * The time that the SSH host key or RDP certificate was recorded by Lightsail.
  5278. */
  5279. witnessedAt?: IsoDate;
  5280. /**
  5281. * The SHA-1 fingerprint of the returned SSH host key or RDP certificate. Example of an SHA-1 SSH fingerprint: SHA1:1CHH6FaAaXjtFOsR/t83vf91SR0 Example of an SHA-1 RDP fingerprint: af:34:51:fe:09:f0:e0:da:b8:4e:56:ca:60:c2:10:ff:38:06:db:45
  5282. */
  5283. fingerprintSHA1?: string;
  5284. /**
  5285. * The SHA-256 fingerprint of the returned SSH host key or RDP certificate. Example of an SHA-256 SSH fingerprint: SHA256:KTsMnRBh1IhD17HpdfsbzeGA4jOijm5tyXsMjKVbB8o Example of an SHA-256 RDP fingerprint: 03:9b:36:9f:4b:de:4e:61:70:fc:7c:c9:78:e7:d2:1a:1c:25:a8:0c:91:f6:7c:e4:d6:a0:85:c8:b4:53:99:68
  5286. */
  5287. fingerprintSHA256?: string;
  5288. /**
  5289. * The returned RDP certificate is valid after this point in time. This value is listed only for RDP certificates.
  5290. */
  5291. notValidBefore?: IsoDate;
  5292. /**
  5293. * The returned RDP certificate is not valid after this point in time. This value is listed only for RDP certificates.
  5294. */
  5295. notValidAfter?: IsoDate;
  5296. }
  5297. export type HostKeysList = HostKeyAttributes[];
  5298. export type HttpEndpoint = "disabled"|"enabled"|string;
  5299. export type HttpProtocolIpv6 = "disabled"|"enabled"|string;
  5300. export type HttpTokens = "optional"|"required"|string;
  5301. export type IAMAccessKeyId = string;
  5302. export interface ImportKeyPairRequest {
  5303. /**
  5304. * The name of the key pair for which you want to import the public key.
  5305. */
  5306. keyPairName: ResourceName;
  5307. /**
  5308. * A base64-encoded public key of the ssh-rsa type.
  5309. */
  5310. publicKeyBase64: Base64;
  5311. }
  5312. export interface ImportKeyPairResult {
  5313. /**
  5314. * An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.
  5315. */
  5316. operation?: Operation;
  5317. }
  5318. export type InUseResourceCount = number;
  5319. export type IncludeCertificateDetails = boolean;
  5320. export interface InputOrigin {
  5321. /**
  5322. * The name of the origin resource.
  5323. */
  5324. name?: ResourceName;
  5325. /**
  5326. * The AWS Region name of the origin resource.
  5327. */
  5328. regionName?: RegionName;
  5329. /**
  5330. * The protocol that your Amazon Lightsail distribution uses when establishing a connection with your origin to pull content.
  5331. */
  5332. protocolPolicy?: OriginProtocolPolicyEnum;
  5333. /**
  5334. * The amount of time, in seconds, that the distribution waits for a response after forwarding a request to the origin. The minimum timeout is 1 second, the maximum is 60 seconds, and the default (if you don't specify otherwise) is 30 seconds.
  5335. */
  5336. responseTimeout?: integer;
  5337. }
  5338. export interface Instance {
  5339. /**
  5340. * The name the user gave the instance (Amazon_Linux-1GB-Ohio-1).
  5341. */
  5342. name?: ResourceName;
  5343. /**
  5344. * The Amazon Resource Name (ARN) of the instance (arn:aws:lightsail:us-east-2:123456789101:Instance/244ad76f-8aad-4741-809f-12345EXAMPLE).
  5345. */
  5346. arn?: NonEmptyString;
  5347. /**
  5348. * The support code. Include this code in your email to support when you have questions about an instance or another resource in Lightsail. This code enables our support team to look up your Lightsail information more easily.
  5349. */
  5350. supportCode?: string;
  5351. /**
  5352. * The timestamp when the instance was created (1479734909.17) in Unix time format.
  5353. */
  5354. createdAt?: IsoDate;
  5355. /**
  5356. * The region name and Availability Zone where the instance is located.
  5357. */
  5358. location?: ResourceLocation;
  5359. /**
  5360. * The type of resource (usually Instance).
  5361. */
  5362. resourceType?: ResourceType;
  5363. /**
  5364. * The tag keys and optional values for the resource. For more information about tags in Lightsail, see the Amazon Lightsail Developer Guide.
  5365. */
  5366. tags?: TagList;
  5367. /**
  5368. * The blueprint ID (os_amlinux_2016_03).
  5369. */
  5370. blueprintId?: NonEmptyString;
  5371. /**
  5372. * The friendly name of the blueprint (Amazon Linux).
  5373. */
  5374. blueprintName?: NonEmptyString;
  5375. /**
  5376. * The bundle for the instance (micro_1_0).
  5377. */
  5378. bundleId?: NonEmptyString;
  5379. /**
  5380. * An array of objects representing the add-ons enabled on the instance.
  5381. */
  5382. addOns?: AddOnList;
  5383. /**
  5384. * A Boolean value indicating whether this instance has a static IP assigned to it.
  5385. */
  5386. isStaticIp?: boolean;
  5387. /**
  5388. * The private IP address of the instance.
  5389. */
  5390. privateIpAddress?: IpAddress;
  5391. /**
  5392. * The public IP address of the instance.
  5393. */
  5394. publicIpAddress?: IpAddress;
  5395. /**
  5396. * The IPv6 addresses of the instance.
  5397. */
  5398. ipv6Addresses?: Ipv6AddressList;
  5399. /**
  5400. * The IP address type of the instance. The possible values are ipv4 for IPv4 only, and dualstack for IPv4 and IPv6.
  5401. */
  5402. ipAddressType?: IpAddressType;
  5403. /**
  5404. * The size of the vCPU and the amount of RAM for the instance.
  5405. */
  5406. hardware?: InstanceHardware;
  5407. /**
  5408. * Information about the public ports and monthly data transfer rates for the instance.
  5409. */
  5410. networking?: InstanceNetworking;
  5411. /**
  5412. * The status code and the state (running) for the instance.
  5413. */
  5414. state?: InstanceState;
  5415. /**
  5416. * The user name for connecting to the instance (ec2-user).
  5417. */
  5418. username?: NonEmptyString;
  5419. /**
  5420. * The name of the SSH key being used to connect to the instance (LightsailDefaultKeyPair).
  5421. */
  5422. sshKeyName?: ResourceName;
  5423. /**
  5424. * The metadata options for the Amazon Lightsail instance.
  5425. */
  5426. metadataOptions?: InstanceMetadataOptions;
  5427. }
  5428. export interface InstanceAccessDetails {
  5429. /**
  5430. * For SSH access, the public key to use when accessing your instance For OpenSSH clients (command line SSH), you should save this value to tempkey-cert.pub.
  5431. */
  5432. certKey?: string;
  5433. /**
  5434. * For SSH access, the date on which the temporary keys expire.
  5435. */
  5436. expiresAt?: IsoDate;
  5437. /**
  5438. * The public IP address of the Amazon Lightsail instance.
  5439. */
  5440. ipAddress?: IpAddress;
  5441. /**
  5442. * The IPv6 address of the Amazon Lightsail instance.
  5443. */
  5444. ipv6Addresses?: Ipv6AddressList;
  5445. /**
  5446. * For RDP access, the password for your Amazon Lightsail instance. Password will be an empty string if the password for your new instance is not ready yet. When you create an instance, it can take up to 15 minutes for the instance to be ready. If you create an instance using any key pair other than the default (LightsailDefaultKeyPair), password will always be an empty string. If you change the Administrator password on the instance, Lightsail will continue to return the original password value. When accessing the instance using RDP, you need to manually enter the Administrator password after changing it from the default.
  5447. */
  5448. password?: string;
  5449. /**
  5450. * For a Windows Server-based instance, an object with the data you can use to retrieve your password. This is only needed if password is empty and the instance is not new (and therefore the password is not ready yet). When you create an instance, it can take up to 15 minutes for the instance to be ready.
  5451. */
  5452. passwordData?: PasswordData;
  5453. /**
  5454. * For SSH access, the temporary private key. For OpenSSH clients (command line SSH), you should save this value to tempkey).
  5455. */
  5456. privateKey?: string;
  5457. /**
  5458. * The protocol for these Amazon Lightsail instance access details.
  5459. */
  5460. protocol?: InstanceAccessProtocol;
  5461. /**
  5462. * The name of this Amazon Lightsail instance.
  5463. */
  5464. instanceName?: ResourceName;
  5465. /**
  5466. * The user name to use when logging in to the Amazon Lightsail instance.
  5467. */
  5468. username?: string;
  5469. /**
  5470. * Describes the public SSH host keys or the RDP certificate.
  5471. */
  5472. hostKeys?: HostKeysList;
  5473. }
  5474. export type InstanceAccessProtocol = "ssh"|"rdp"|string;
  5475. export interface InstanceEntry {
  5476. /**
  5477. * The name of the export snapshot record, which contains the exported Lightsail instance snapshot that will be used as the source of the new Amazon EC2 instance. Use the get export snapshot records operation to get a list of export snapshot records that you can use to create a CloudFormation stack.
  5478. */
  5479. sourceName: ResourceName;
  5480. /**
  5481. * The instance type (t2.micro) to use for the new Amazon EC2 instance.
  5482. */
  5483. instanceType: NonEmptyString;
  5484. /**
  5485. * The port configuration to use for the new Amazon EC2 instance. The following configuration options are available: DEFAULT - Use the default firewall settings from the Lightsail instance blueprint. If this is specified, then IPv4 and IPv6 will be configured for the new instance that is created in Amazon EC2. INSTANCE - Use the configured firewall settings from the source Lightsail instance. If this is specified, the new instance that is created in Amazon EC2 will be configured to match the configuration of the source Lightsail instance. For example, if the source instance is configured for dual-stack (IPv4 and IPv6), then IPv4 and IPv6 will be configured for the new instance that is created in Amazon EC2. If the source instance is configured for IPv4 only, then only IPv4 will be configured for the new instance that is created in Amazon EC2. NONE - Use the default Amazon EC2 security group. If this is specified, then only IPv4 will be configured for the new instance that is created in Amazon EC2. CLOSED - All ports closed. If this is specified, then only IPv4 will be configured for the new instance that is created in Amazon EC2. If you configured lightsail-connect as a cidrListAliases on your instance, or if you chose to allow the Lightsail browser-based SSH or RDP clients to connect to your instance, that configuration is not carried over to your new Amazon EC2 instance.
  5486. */
  5487. portInfoSource: PortInfoSourceType;
  5488. /**
  5489. * A launch script you can create that configures a server with additional user data. For example, you might want to run apt-get -y update. Depending on the machine image you choose, the command to get software on your instance varies. Amazon Linux and CentOS use yum, Debian and Ubuntu use apt-get, and FreeBSD uses pkg.
  5490. */
  5491. userData?: string;
  5492. /**
  5493. * The Availability Zone for the new Amazon EC2 instance.
  5494. */
  5495. availabilityZone: string;
  5496. }
  5497. export type InstanceEntryList = InstanceEntry[];
  5498. export interface InstanceHardware {
  5499. /**
  5500. * The number of vCPUs the instance has.
  5501. */
  5502. cpuCount?: integer;
  5503. /**
  5504. * The disks attached to the instance.
  5505. */
  5506. disks?: DiskList;
  5507. /**
  5508. * The amount of RAM in GB on the instance (1.0).
  5509. */
  5510. ramSizeInGb?: float;
  5511. }
  5512. export type InstanceHealthReason = "Lb.RegistrationInProgress"|"Lb.InitialHealthChecking"|"Lb.InternalError"|"Instance.ResponseCodeMismatch"|"Instance.Timeout"|"Instance.FailedHealthChecks"|"Instance.NotRegistered"|"Instance.NotInUse"|"Instance.DeregistrationInProgress"|"Instance.InvalidState"|"Instance.IpUnusable"|string;
  5513. export type InstanceHealthState = "initial"|"healthy"|"unhealthy"|"unused"|"draining"|"unavailable"|string;
  5514. export interface InstanceHealthSummary {
  5515. /**
  5516. * The name of the Lightsail instance for which you are requesting health check data.
  5517. */
  5518. instanceName?: ResourceName;
  5519. /**
  5520. * Describes the overall instance health. Valid values are below.
  5521. */
  5522. instanceHealth?: InstanceHealthState;
  5523. /**
  5524. * More information about the instance health. If the instanceHealth is healthy, then an instanceHealthReason value is not provided. If instanceHealth is initial, the instanceHealthReason value can be one of the following: Lb.RegistrationInProgress - The target instance is in the process of being registered with the load balancer. Lb.InitialHealthChecking - The Lightsail load balancer is still sending the target instance the minimum number of health checks required to determine its health status. If instanceHealth is unhealthy, the instanceHealthReason value can be one of the following: Instance.ResponseCodeMismatch - The health checks did not return an expected HTTP code. Instance.Timeout - The health check requests timed out. Instance.FailedHealthChecks - The health checks failed because the connection to the target instance timed out, the target instance response was malformed, or the target instance failed the health check for an unknown reason. Lb.InternalError - The health checks failed due to an internal error. If instanceHealth is unused, the instanceHealthReason value can be one of the following: Instance.NotRegistered - The target instance is not registered with the target group. Instance.NotInUse - The target group is not used by any load balancer, or the target instance is in an Availability Zone that is not enabled for its load balancer. Instance.IpUnusable - The target IP address is reserved for use by a Lightsail load balancer. Instance.InvalidState - The target is in the stopped or terminated state. If instanceHealth is draining, the instanceHealthReason value can be one of the following: Instance.DeregistrationInProgress - The target instance is in the process of being deregistered and the deregistration delay period has not expired.
  5525. */
  5526. instanceHealthReason?: InstanceHealthReason;
  5527. }
  5528. export type InstanceHealthSummaryList = InstanceHealthSummary[];
  5529. export type InstanceList = Instance[];
  5530. export interface InstanceMetadataOptions {
  5531. /**
  5532. * The state of the metadata option changes. The following states are possible: pending - The metadata options are being updated. The instance is not yet ready to process metadata traffic with the new selection. applied - The metadata options have been successfully applied to the instance.
  5533. */
  5534. state?: InstanceMetadataState;
  5535. /**
  5536. * The state of token usage for your instance metadata requests. If the state is optional, you can choose whether to retrieve instance metadata with a signed token header on your request. If you retrieve the IAM role credentials without a token, the version 1.0 role credentials are returned. If you retrieve the IAM role credentials by using a valid signed token, the version 2.0 role credentials are returned. If the state is required, you must send a signed token header with all instance metadata retrieval requests. In this state, retrieving the IAM role credential always returns the version 2.0 credentials. The version 1.0 credentials are not available. Not all instance blueprints in Lightsail support version 2.0 credentials. Use the MetadataNoToken instance metric to track the number of calls to the instance metadata service that are using version 1.0 credentials. For more information, see Viewing instance metrics in Amazon Lightsail in the Amazon Lightsail Developer Guide.
  5537. */
  5538. httpTokens?: HttpTokens;
  5539. /**
  5540. * Indicates whether the HTTP metadata endpoint on your instances is enabled or disabled. If the value is disabled, you cannot access your instance metadata.
  5541. */
  5542. httpEndpoint?: HttpEndpoint;
  5543. /**
  5544. * The desired HTTP PUT response hop limit for instance metadata requests. A larger number means that the instance metadata requests can travel farther.
  5545. */
  5546. httpPutResponseHopLimit?: integer;
  5547. /**
  5548. * Indicates whether the IPv6 endpoint for the instance metadata service is enabled or disabled.
  5549. */
  5550. httpProtocolIpv6?: HttpProtocolIpv6;
  5551. }
  5552. export type InstanceMetadataState = "pending"|"applied"|string;
  5553. export type InstanceMetricName = "CPUUtilization"|"NetworkIn"|"NetworkOut"|"StatusCheckFailed"|"StatusCheckFailed_Instance"|"StatusCheckFailed_System"|"BurstCapacityTime"|"BurstCapacityPercentage"|"MetadataNoToken"|string;
  5554. export interface InstanceNetworking {
  5555. /**
  5556. * The amount of data in GB allocated for monthly data transfers.
  5557. */
  5558. monthlyTransfer?: MonthlyTransfer;
  5559. /**
  5560. * An array of key-value pairs containing information about the ports on the instance.
  5561. */
  5562. ports?: InstancePortInfoList;
  5563. }
  5564. export type InstancePlatform = "LINUX_UNIX"|"WINDOWS"|string;
  5565. export type InstancePlatformList = InstancePlatform[];
  5566. export interface InstancePortInfo {
  5567. /**
  5568. * The first port in a range of open ports on an instance. Allowed ports: TCP and UDP - 0 to 65535 ICMP - The ICMP type for IPv4 addresses. For example, specify 8 as the fromPort (ICMP type), and -1 as the toPort (ICMP code), to enable ICMP Ping. For more information, see Control Messages on Wikipedia. ICMPv6 - The ICMP type for IPv6 addresses. For example, specify 128 as the fromPort (ICMPv6 type), and 0 as toPort (ICMPv6 code). For more information, see Internet Control Message Protocol for IPv6.
  5569. */
  5570. fromPort?: Port;
  5571. /**
  5572. * The last port in a range of open ports on an instance. Allowed ports: TCP and UDP - 0 to 65535 ICMP - The ICMP code for IPv4 addresses. For example, specify 8 as the fromPort (ICMP type), and -1 as the toPort (ICMP code), to enable ICMP Ping. For more information, see Control Messages on Wikipedia. ICMPv6 - The ICMP code for IPv6 addresses. For example, specify 128 as the fromPort (ICMPv6 type), and 0 as toPort (ICMPv6 code). For more information, see Internet Control Message Protocol for IPv6.
  5573. */
  5574. toPort?: Port;
  5575. /**
  5576. * The IP protocol name. The name can be one of the following: tcp - Transmission Control Protocol (TCP) provides reliable, ordered, and error-checked delivery of streamed data between applications running on hosts communicating by an IP network. If you have an application that doesn't require reliable data stream service, use UDP instead. all - All transport layer protocol types. For more general information, see Transport layer on Wikipedia. udp - With User Datagram Protocol (UDP), computer applications can send messages (or datagrams) to other hosts on an Internet Protocol (IP) network. Prior communications are not required to set up transmission channels or data paths. Applications that don't require reliable data stream service can use UDP, which provides a connectionless datagram service that emphasizes reduced latency over reliability. If you do require reliable data stream service, use TCP instead. icmp - Internet Control Message Protocol (ICMP) is used to send error messages and operational information indicating success or failure when communicating with an instance. For example, an error is indicated when an instance could not be reached. When you specify icmp as the protocol, you must specify the ICMP type using the fromPort parameter, and ICMP code using the toPort parameter.
  5577. */
  5578. protocol?: NetworkProtocol;
  5579. /**
  5580. * The location from which access is allowed. For example, Anywhere (0.0.0.0/0), or Custom if a specific IP address or range of IP addresses is allowed.
  5581. */
  5582. accessFrom?: string;
  5583. /**
  5584. * The type of access (Public or Private).
  5585. */
  5586. accessType?: PortAccessType;
  5587. /**
  5588. * The common name of the port information.
  5589. */
  5590. commonName?: string;
  5591. /**
  5592. * The access direction (inbound or outbound). Lightsail currently supports only inbound access direction.
  5593. */
  5594. accessDirection?: AccessDirection;
  5595. /**
  5596. * The IPv4 address, or range of IPv4 addresses (in CIDR notation) that are allowed to connect to an instance through the ports, and the protocol. The ipv6Cidrs parameter lists the IPv6 addresses that are allowed to connect to an instance. For more information about CIDR block notation, see Classless Inter-Domain Routing on Wikipedia.
  5597. */
  5598. cidrs?: StringList;
  5599. /**
  5600. * The IPv6 address, or range of IPv6 addresses (in CIDR notation) that are allowed to connect to an instance through the ports, and the protocol. Only devices with an IPv6 address can connect to an instance through IPv6; otherwise, IPv4 should be used. The cidrs parameter lists the IPv4 addresses that are allowed to connect to an instance. For more information about CIDR block notation, see Classless Inter-Domain Routing on Wikipedia.
  5601. */
  5602. ipv6Cidrs?: StringList;
  5603. /**
  5604. * An alias that defines access for a preconfigured range of IP addresses. The only alias currently supported is lightsail-connect, which allows IP addresses of the browser-based RDP/SSH client in the Lightsail console to connect to your instance.
  5605. */
  5606. cidrListAliases?: StringList;
  5607. }
  5608. export type InstancePortInfoList = InstancePortInfo[];
  5609. export interface InstancePortState {
  5610. /**
  5611. * The first port in a range of open ports on an instance. Allowed ports: TCP and UDP - 0 to 65535 ICMP - The ICMP type for IPv4 addresses. For example, specify 8 as the fromPort (ICMP type), and -1 as the toPort (ICMP code), to enable ICMP Ping. For more information, see Control Messages on Wikipedia. ICMPv6 - The ICMP type for IPv6 addresses. For example, specify 128 as the fromPort (ICMPv6 type), and 0 as toPort (ICMPv6 code). For more information, see Internet Control Message Protocol for IPv6.
  5612. */
  5613. fromPort?: Port;
  5614. /**
  5615. * The last port in a range of open ports on an instance. Allowed ports: TCP and UDP - 0 to 65535 ICMP - The ICMP code for IPv4 addresses. For example, specify 8 as the fromPort (ICMP type), and -1 as the toPort (ICMP code), to enable ICMP Ping. For more information, see Control Messages on Wikipedia. ICMPv6 - The ICMP code for IPv6 addresses. For example, specify 128 as the fromPort (ICMPv6 type), and 0 as toPort (ICMPv6 code). For more information, see Internet Control Message Protocol for IPv6.
  5616. */
  5617. toPort?: Port;
  5618. /**
  5619. * The IP protocol name. The name can be one of the following: tcp - Transmission Control Protocol (TCP) provides reliable, ordered, and error-checked delivery of streamed data between applications running on hosts communicating by an IP network. If you have an application that doesn't require reliable data stream service, use UDP instead. all - All transport layer protocol types. For more general information, see Transport layer on Wikipedia. udp - With User Datagram Protocol (UDP), computer applications can send messages (or datagrams) to other hosts on an Internet Protocol (IP) network. Prior communications are not required to set up transmission channels or data paths. Applications that don't require reliable data stream service can use UDP, which provides a connectionless datagram service that emphasizes reduced latency over reliability. If you do require reliable data stream service, use TCP instead. icmp - Internet Control Message Protocol (ICMP) is used to send error messages and operational information indicating success or failure when communicating with an instance. For example, an error is indicated when an instance could not be reached. When you specify icmp as the protocol, you must specify the ICMP type using the fromPort parameter, and ICMP code using the toPort parameter.
  5620. */
  5621. protocol?: NetworkProtocol;
  5622. /**
  5623. * Specifies whether the instance port is open or closed. The port state for Lightsail instances is always open.
  5624. */
  5625. state?: PortState;
  5626. /**
  5627. * The IPv4 address, or range of IPv4 addresses (in CIDR notation) that are allowed to connect to an instance through the ports, and the protocol. The ipv6Cidrs parameter lists the IPv6 addresses that are allowed to connect to an instance. For more information about CIDR block notation, see Classless Inter-Domain Routing on Wikipedia.
  5628. */
  5629. cidrs?: StringList;
  5630. /**
  5631. * The IPv6 address, or range of IPv6 addresses (in CIDR notation) that are allowed to connect to an instance through the ports, and the protocol. Only devices with an IPv6 address can connect to an instance through IPv6; otherwise, IPv4 should be used. The cidrs parameter lists the IPv4 addresses that are allowed to connect to an instance. For more information about CIDR block notation, see Classless Inter-Domain Routing on Wikipedia.
  5632. */
  5633. ipv6Cidrs?: StringList;
  5634. /**
  5635. * An alias that defines access for a preconfigured range of IP addresses. The only alias currently supported is lightsail-connect, which allows IP addresses of the browser-based RDP/SSH client in the Lightsail console to connect to your instance.
  5636. */
  5637. cidrListAliases?: StringList;
  5638. }
  5639. export type InstancePortStateList = InstancePortState[];
  5640. export interface InstanceSnapshot {
  5641. /**
  5642. * The name of the snapshot.
  5643. */
  5644. name?: ResourceName;
  5645. /**
  5646. * The Amazon Resource Name (ARN) of the snapshot (arn:aws:lightsail:us-east-2:123456789101:InstanceSnapshot/d23b5706-3322-4d83-81e5-12345EXAMPLE).
  5647. */
  5648. arn?: NonEmptyString;
  5649. /**
  5650. * The support code. Include this code in your email to support when you have questions about an instance or another resource in Lightsail. This code enables our support team to look up your Lightsail information more easily.
  5651. */
  5652. supportCode?: string;
  5653. /**
  5654. * The timestamp when the snapshot was created (1479907467.024).
  5655. */
  5656. createdAt?: IsoDate;
  5657. /**
  5658. * The region name and Availability Zone where you created the snapshot.
  5659. */
  5660. location?: ResourceLocation;
  5661. /**
  5662. * The type of resource (usually InstanceSnapshot).
  5663. */
  5664. resourceType?: ResourceType;
  5665. /**
  5666. * The tag keys and optional values for the resource. For more information about tags in Lightsail, see the Amazon Lightsail Developer Guide.
  5667. */
  5668. tags?: TagList;
  5669. /**
  5670. * The state the snapshot is in.
  5671. */
  5672. state?: InstanceSnapshotState;
  5673. /**
  5674. * The progress of the snapshot. This is populated only for disk snapshots, and is null for instance snapshots.
  5675. */
  5676. progress?: string;
  5677. /**
  5678. * An array of disk objects containing information about all block storage disks.
  5679. */
  5680. fromAttachedDisks?: DiskList;
  5681. /**
  5682. * The instance from which the snapshot was created.
  5683. */
  5684. fromInstanceName?: ResourceName;
  5685. /**
  5686. * The Amazon Resource Name (ARN) of the instance from which the snapshot was created (arn:aws:lightsail:us-east-2:123456789101:Instance/64b8404c-ccb1-430b-8daf-12345EXAMPLE).
  5687. */
  5688. fromInstanceArn?: NonEmptyString;
  5689. /**
  5690. * The blueprint ID from which you created the snapshot (os_debian_8_3). A blueprint is a virtual private server (or instance) image used to create instances quickly.
  5691. */
  5692. fromBlueprintId?: string;
  5693. /**
  5694. * The bundle ID from which you created the snapshot (micro_1_0).
  5695. */
  5696. fromBundleId?: string;
  5697. /**
  5698. * A Boolean value indicating whether the snapshot was created from an automatic snapshot.
  5699. */
  5700. isFromAutoSnapshot?: boolean;
  5701. /**
  5702. * The size in GB of the SSD.
  5703. */
  5704. sizeInGb?: integer;
  5705. }
  5706. export interface InstanceSnapshotInfo {
  5707. /**
  5708. * The bundle ID from which the source instance was created (micro_1_0).
  5709. */
  5710. fromBundleId?: NonEmptyString;
  5711. /**
  5712. * The blueprint ID from which the source instance (os_debian_8_3).
  5713. */
  5714. fromBlueprintId?: NonEmptyString;
  5715. /**
  5716. * A list of objects describing the disks that were attached to the source instance.
  5717. */
  5718. fromDiskInfo?: DiskInfoList;
  5719. }
  5720. export type InstanceSnapshotList = InstanceSnapshot[];
  5721. export type InstanceSnapshotState = "pending"|"error"|"available"|string;
  5722. export interface InstanceState {
  5723. /**
  5724. * The status code for the instance.
  5725. */
  5726. code?: integer;
  5727. /**
  5728. * The state of the instance (running or pending).
  5729. */
  5730. name?: string;
  5731. }
  5732. export type IpAddress = string;
  5733. export type IpAddressType = "dualstack"|"ipv4"|string;
  5734. export type Ipv6Address = string;
  5735. export type Ipv6AddressList = Ipv6Address[];
  5736. export interface IsVpcPeeredRequest {
  5737. }
  5738. export interface IsVpcPeeredResult {
  5739. /**
  5740. * Returns true if the Lightsail VPC is peered; otherwise, false.
  5741. */
  5742. isPeered?: boolean;
  5743. }
  5744. export type IsoDate = Date;
  5745. export type IssuerCA = string;
  5746. export type KeyAlgorithm = string;
  5747. export interface KeyPair {
  5748. /**
  5749. * The friendly name of the SSH key pair.
  5750. */
  5751. name?: ResourceName;
  5752. /**
  5753. * The Amazon Resource Name (ARN) of the key pair (arn:aws:lightsail:us-east-2:123456789101:KeyPair/05859e3d-331d-48ba-9034-12345EXAMPLE).
  5754. */
  5755. arn?: NonEmptyString;
  5756. /**
  5757. * The support code. Include this code in your email to support when you have questions about an instance or another resource in Lightsail. This code enables our support team to look up your Lightsail information more easily.
  5758. */
  5759. supportCode?: string;
  5760. /**
  5761. * The timestamp when the key pair was created (1479816991.349).
  5762. */
  5763. createdAt?: IsoDate;
  5764. /**
  5765. * The region name and Availability Zone where the key pair was created.
  5766. */
  5767. location?: ResourceLocation;
  5768. /**
  5769. * The resource type (usually KeyPair).
  5770. */
  5771. resourceType?: ResourceType;
  5772. /**
  5773. * The tag keys and optional values for the resource. For more information about tags in Lightsail, see the Amazon Lightsail Developer Guide.
  5774. */
  5775. tags?: TagList;
  5776. /**
  5777. * The RSA fingerprint of the key pair.
  5778. */
  5779. fingerprint?: Base64;
  5780. }
  5781. export type KeyPairList = KeyPair[];
  5782. export interface LightsailDistribution {
  5783. /**
  5784. * The name of the distribution.
  5785. */
  5786. name?: ResourceName;
  5787. /**
  5788. * The Amazon Resource Name (ARN) of the distribution.
  5789. */
  5790. arn?: NonEmptyString;
  5791. /**
  5792. * The support code. Include this code in your email to support when you have questions about your Lightsail distribution. This code enables our support team to look up your Lightsail information more easily.
  5793. */
  5794. supportCode?: string;
  5795. /**
  5796. * The timestamp when the distribution was created.
  5797. */
  5798. createdAt?: IsoDate;
  5799. /**
  5800. * An object that describes the location of the distribution, such as the Amazon Web Services Region and Availability Zone. Lightsail distributions are global resources that can reference an origin in any Amazon Web Services Region, and distribute its content globally. However, all distributions are located in the us-east-1 Region.
  5801. */
  5802. location?: ResourceLocation;
  5803. /**
  5804. * The Lightsail resource type (Distribution).
  5805. */
  5806. resourceType?: ResourceType;
  5807. /**
  5808. * The alternate domain names of the distribution.
  5809. */
  5810. alternativeDomainNames?: StringList;
  5811. /**
  5812. * The status of the distribution.
  5813. */
  5814. status?: string;
  5815. /**
  5816. * Indicates whether the distribution is enabled.
  5817. */
  5818. isEnabled?: boolean;
  5819. /**
  5820. * The domain name of the distribution.
  5821. */
  5822. domainName?: string;
  5823. /**
  5824. * The ID of the bundle currently applied to the distribution.
  5825. */
  5826. bundleId?: string;
  5827. /**
  5828. * The name of the SSL/TLS certificate attached to the distribution, if any.
  5829. */
  5830. certificateName?: ResourceName;
  5831. /**
  5832. * An object that describes the origin resource of the distribution, such as a Lightsail instance, bucket, or load balancer. The distribution pulls, caches, and serves content from the origin.
  5833. */
  5834. origin?: Origin;
  5835. /**
  5836. * The public DNS of the origin.
  5837. */
  5838. originPublicDNS?: string;
  5839. /**
  5840. * An object that describes the default cache behavior of the distribution.
  5841. */
  5842. defaultCacheBehavior?: CacheBehavior;
  5843. /**
  5844. * An object that describes the cache behavior settings of the distribution.
  5845. */
  5846. cacheBehaviorSettings?: CacheSettings;
  5847. /**
  5848. * An array of objects that describe the per-path cache behavior of the distribution.
  5849. */
  5850. cacheBehaviors?: CacheBehaviorList;
  5851. /**
  5852. * Indicates whether the bundle that is currently applied to your distribution, specified using the distributionName parameter, can be changed to another bundle. Use the UpdateDistributionBundle action to change your distribution's bundle.
  5853. */
  5854. ableToUpdateBundle?: boolean;
  5855. /**
  5856. * The IP address type of the distribution. The possible values are ipv4 for IPv4 only, and dualstack for IPv4 and IPv6.
  5857. */
  5858. ipAddressType?: IpAddressType;
  5859. /**
  5860. * The tag keys and optional values for the resource. For more information about tags in Lightsail, see the Amazon Lightsail Developer Guide.
  5861. */
  5862. tags?: TagList;
  5863. /**
  5864. * The minimum TLS protocol version that the distribution can use to communicate with viewers.
  5865. */
  5866. viewerMinimumTlsProtocolVersion?: string;
  5867. }
  5868. export interface LoadBalancer {
  5869. /**
  5870. * The name of the load balancer (my-load-balancer).
  5871. */
  5872. name?: ResourceName;
  5873. /**
  5874. * The Amazon Resource Name (ARN) of the load balancer.
  5875. */
  5876. arn?: NonEmptyString;
  5877. /**
  5878. * The support code. Include this code in your email to support when you have questions about your Lightsail load balancer. This code enables our support team to look up your Lightsail information more easily.
  5879. */
  5880. supportCode?: string;
  5881. /**
  5882. * The date when your load balancer was created.
  5883. */
  5884. createdAt?: IsoDate;
  5885. /**
  5886. * The AWS Region where your load balancer was created (us-east-2a). Lightsail automatically creates your load balancer across Availability Zones.
  5887. */
  5888. location?: ResourceLocation;
  5889. /**
  5890. * The resource type (LoadBalancer.
  5891. */
  5892. resourceType?: ResourceType;
  5893. /**
  5894. * The tag keys and optional values for the resource. For more information about tags in Lightsail, see the Amazon Lightsail Developer Guide.
  5895. */
  5896. tags?: TagList;
  5897. /**
  5898. * The DNS name of your Lightsail load balancer.
  5899. */
  5900. dnsName?: NonEmptyString;
  5901. /**
  5902. * The status of your load balancer. Valid values are below.
  5903. */
  5904. state?: LoadBalancerState;
  5905. /**
  5906. * The protocol you have enabled for your load balancer. Valid values are below. You can't just have HTTP_HTTPS, but you can have just HTTP.
  5907. */
  5908. protocol?: LoadBalancerProtocol;
  5909. /**
  5910. * An array of public port settings for your load balancer. For HTTP, use port 80. For HTTPS, use port 443.
  5911. */
  5912. publicPorts?: PortList;
  5913. /**
  5914. * The path you specified to perform your health checks. If no path is specified, the load balancer tries to make a request to the default (root) page.
  5915. */
  5916. healthCheckPath?: NonEmptyString;
  5917. /**
  5918. * The port where the load balancer will direct traffic to your Lightsail instances. For HTTP traffic, it's port 80. For HTTPS traffic, it's port 443.
  5919. */
  5920. instancePort?: integer;
  5921. /**
  5922. * An array of InstanceHealthSummary objects describing the health of the load balancer.
  5923. */
  5924. instanceHealthSummary?: InstanceHealthSummaryList;
  5925. /**
  5926. * An array of LoadBalancerTlsCertificateSummary objects that provide additional information about the SSL/TLS certificates. For example, if true, the certificate is attached to the load balancer.
  5927. */
  5928. tlsCertificateSummaries?: LoadBalancerTlsCertificateSummaryList;
  5929. /**
  5930. * A string to string map of the configuration options for your load balancer. Valid values are listed below.
  5931. */
  5932. configurationOptions?: LoadBalancerConfigurationOptions;
  5933. /**
  5934. * The IP address type of the load balancer. The possible values are ipv4 for IPv4 only, and dualstack for IPv4 and IPv6.
  5935. */
  5936. ipAddressType?: IpAddressType;
  5937. /**
  5938. * A Boolean value that indicates whether HTTPS redirection is enabled for the load balancer.
  5939. */
  5940. httpsRedirectionEnabled?: boolean;
  5941. /**
  5942. * The name of the TLS security policy for the load balancer.
  5943. */
  5944. tlsPolicyName?: ResourceName;
  5945. }
  5946. export type LoadBalancerAttributeName = "HealthCheckPath"|"SessionStickinessEnabled"|"SessionStickiness_LB_CookieDurationSeconds"|"HttpsRedirectionEnabled"|"TlsPolicyName"|string;
  5947. export type LoadBalancerConfigurationOptions = {[key: string]: string};
  5948. export type LoadBalancerList = LoadBalancer[];
  5949. export type LoadBalancerMetricName = "ClientTLSNegotiationErrorCount"|"HealthyHostCount"|"UnhealthyHostCount"|"HTTPCode_LB_4XX_Count"|"HTTPCode_LB_5XX_Count"|"HTTPCode_Instance_2XX_Count"|"HTTPCode_Instance_3XX_Count"|"HTTPCode_Instance_4XX_Count"|"HTTPCode_Instance_5XX_Count"|"InstanceResponseTime"|"RejectedConnectionCount"|"RequestCount"|string;
  5950. export type LoadBalancerProtocol = "HTTP_HTTPS"|"HTTP"|string;
  5951. export type LoadBalancerState = "active"|"provisioning"|"active_impaired"|"failed"|"unknown"|string;
  5952. export interface LoadBalancerTlsCertificate {
  5953. /**
  5954. * The name of the SSL/TLS certificate (my-certificate).
  5955. */
  5956. name?: ResourceName;
  5957. /**
  5958. * The Amazon Resource Name (ARN) of the SSL/TLS certificate.
  5959. */
  5960. arn?: NonEmptyString;
  5961. /**
  5962. * The support code. Include this code in your email to support when you have questions about your Lightsail load balancer or SSL/TLS certificate. This code enables our support team to look up your Lightsail information more easily.
  5963. */
  5964. supportCode?: string;
  5965. /**
  5966. * The time when you created your SSL/TLS certificate.
  5967. */
  5968. createdAt?: IsoDate;
  5969. /**
  5970. * The Amazon Web Services Region and Availability Zone where you created your certificate.
  5971. */
  5972. location?: ResourceLocation;
  5973. /**
  5974. * The resource type (LoadBalancerTlsCertificate). Instance - A Lightsail instance (a virtual private server) StaticIp - A static IP address KeyPair - The key pair used to connect to a Lightsail instance InstanceSnapshot - A Lightsail instance snapshot Domain - A DNS zone PeeredVpc - A peered VPC LoadBalancer - A Lightsail load balancer LoadBalancerTlsCertificate - An SSL/TLS certificate associated with a Lightsail load balancer Disk - A Lightsail block storage disk DiskSnapshot - A block storage disk snapshot
  5975. */
  5976. resourceType?: ResourceType;
  5977. /**
  5978. * The tag keys and optional values for the resource. For more information about tags in Lightsail, see the Amazon Lightsail Developer Guide.
  5979. */
  5980. tags?: TagList;
  5981. /**
  5982. * The load balancer name where your SSL/TLS certificate is attached.
  5983. */
  5984. loadBalancerName?: ResourceName;
  5985. /**
  5986. * When true, the SSL/TLS certificate is attached to the Lightsail load balancer.
  5987. */
  5988. isAttached?: boolean;
  5989. /**
  5990. * The validation status of the SSL/TLS certificate. Valid values are below.
  5991. */
  5992. status?: LoadBalancerTlsCertificateStatus;
  5993. /**
  5994. * The domain name for your SSL/TLS certificate.
  5995. */
  5996. domainName?: DomainName;
  5997. /**
  5998. * An array of LoadBalancerTlsCertificateDomainValidationRecord objects describing the records.
  5999. */
  6000. domainValidationRecords?: LoadBalancerTlsCertificateDomainValidationRecordList;
  6001. /**
  6002. * The validation failure reason, if any, of the certificate. The following failure reasons are possible: NO_AVAILABLE_CONTACTS - This failure applies to email validation, which is not available for Lightsail certificates. ADDITIONAL_VERIFICATION_REQUIRED - Lightsail requires additional information to process this certificate request. This can happen as a fraud-protection measure, such as when the domain ranks within the Alexa top 1000 websites. To provide the required information, use the AWS Support Center to contact AWS Support. You cannot request a certificate for Amazon-owned domain names such as those ending in amazonaws.com, cloudfront.net, or elasticbeanstalk.com. DOMAIN_NOT_ALLOWED - One or more of the domain names in the certificate request was reported as an unsafe domain by VirusTotal. To correct the problem, search for your domain name on the VirusTotal website. If your domain is reported as suspicious, see Google Help for Hacked Websites to learn what you can do. If you believe that the result is a false positive, notify the organization that is reporting the domain. VirusTotal is an aggregate of several antivirus and URL scanners and cannot remove your domain from a block list itself. After you correct the problem and the VirusTotal registry has been updated, request a new certificate. If you see this error and your domain is not included in the VirusTotal list, visit the AWS Support Center and create a case. INVALID_PUBLIC_DOMAIN - One or more of the domain names in the certificate request is not valid. Typically, this is because a domain name in the request is not a valid top-level domain. Try to request a certificate again, correcting any spelling errors or typos that were in the failed request, and ensure that all domain names in the request are for valid top-level domains. For example, you cannot request a certificate for example.invalidpublicdomain because invalidpublicdomain is not a valid top-level domain. OTHER - Typically, this failure occurs when there is a typographical error in one or more of the domain names in the certificate request. Try to request a certificate again, correcting any spelling errors or typos that were in the failed request.
  6003. */
  6004. failureReason?: LoadBalancerTlsCertificateFailureReason;
  6005. /**
  6006. * The time when the SSL/TLS certificate was issued.
  6007. */
  6008. issuedAt?: IsoDate;
  6009. /**
  6010. * The issuer of the certificate.
  6011. */
  6012. issuer?: NonEmptyString;
  6013. /**
  6014. * The algorithm used to generate the key pair (the public and private key).
  6015. */
  6016. keyAlgorithm?: NonEmptyString;
  6017. /**
  6018. * The timestamp when the SSL/TLS certificate expires.
  6019. */
  6020. notAfter?: IsoDate;
  6021. /**
  6022. * The timestamp when the SSL/TLS certificate is first valid.
  6023. */
  6024. notBefore?: IsoDate;
  6025. /**
  6026. * An object that describes the status of the certificate renewal managed by Lightsail.
  6027. */
  6028. renewalSummary?: LoadBalancerTlsCertificateRenewalSummary;
  6029. /**
  6030. * The reason the certificate was revoked. This value is present only when the certificate status is REVOKED.
  6031. */
  6032. revocationReason?: LoadBalancerTlsCertificateRevocationReason;
  6033. /**
  6034. * The timestamp when the certificate was revoked. This value is present only when the certificate status is REVOKED.
  6035. */
  6036. revokedAt?: IsoDate;
  6037. /**
  6038. * The serial number of the certificate.
  6039. */
  6040. serial?: NonEmptyString;
  6041. /**
  6042. * The algorithm that was used to sign the certificate.
  6043. */
  6044. signatureAlgorithm?: NonEmptyString;
  6045. /**
  6046. * The name of the entity that is associated with the public key contained in the certificate.
  6047. */
  6048. subject?: NonEmptyString;
  6049. /**
  6050. * An array of strings that specify the alternate domains (example2.com) and subdomains (blog.example.com) for the certificate.
  6051. */
  6052. subjectAlternativeNames?: StringList;
  6053. }
  6054. export interface LoadBalancerTlsCertificateDnsRecordCreationState {
  6055. /**
  6056. * The status code for the automated DNS record creation. Following are the possible values: SUCCEEDED - The validation records were successfully added. STARTED - The automatic DNS record creation has started. FAILED - The validation record addition failed.
  6057. */
  6058. code?: LoadBalancerTlsCertificateDnsRecordCreationStateCode;
  6059. /**
  6060. * The message that describes the reason for the status code.
  6061. */
  6062. message?: string;
  6063. }
  6064. export type LoadBalancerTlsCertificateDnsRecordCreationStateCode = "SUCCEEDED"|"STARTED"|"FAILED"|string;
  6065. export type LoadBalancerTlsCertificateDomainStatus = "PENDING_VALIDATION"|"FAILED"|"SUCCESS"|string;
  6066. export interface LoadBalancerTlsCertificateDomainValidationOption {
  6067. /**
  6068. * The fully qualified domain name in the certificate request.
  6069. */
  6070. domainName?: DomainName;
  6071. /**
  6072. * The status of the domain validation. Valid values are listed below.
  6073. */
  6074. validationStatus?: LoadBalancerTlsCertificateDomainStatus;
  6075. }
  6076. export type LoadBalancerTlsCertificateDomainValidationOptionList = LoadBalancerTlsCertificateDomainValidationOption[];
  6077. export interface LoadBalancerTlsCertificateDomainValidationRecord {
  6078. /**
  6079. * A fully qualified domain name in the certificate. For example, example.com.
  6080. */
  6081. name?: NonEmptyString;
  6082. /**
  6083. * The type of validation record. For example, CNAME for domain validation.
  6084. */
  6085. type?: NonEmptyString;
  6086. /**
  6087. * The value for that type.
  6088. */
  6089. value?: NonEmptyString;
  6090. /**
  6091. * The validation status. Valid values are listed below.
  6092. */
  6093. validationStatus?: LoadBalancerTlsCertificateDomainStatus;
  6094. /**
  6095. * The domain name against which your SSL/TLS certificate was validated.
  6096. */
  6097. domainName?: DomainName;
  6098. /**
  6099. * An object that describes the state of the canonical name (CNAME) records that are automatically added by Lightsail to the DNS of a domain to validate domain ownership.
  6100. */
  6101. dnsRecordCreationState?: LoadBalancerTlsCertificateDnsRecordCreationState;
  6102. }
  6103. export type LoadBalancerTlsCertificateDomainValidationRecordList = LoadBalancerTlsCertificateDomainValidationRecord[];
  6104. export type LoadBalancerTlsCertificateFailureReason = "NO_AVAILABLE_CONTACTS"|"ADDITIONAL_VERIFICATION_REQUIRED"|"DOMAIN_NOT_ALLOWED"|"INVALID_PUBLIC_DOMAIN"|"OTHER"|string;
  6105. export type LoadBalancerTlsCertificateList = LoadBalancerTlsCertificate[];
  6106. export type LoadBalancerTlsCertificateRenewalStatus = "PENDING_AUTO_RENEWAL"|"PENDING_VALIDATION"|"SUCCESS"|"FAILED"|string;
  6107. export interface LoadBalancerTlsCertificateRenewalSummary {
  6108. /**
  6109. * The renewal status of the certificate. The following renewal status are possible: PendingAutoRenewal - Lightsail is attempting to automatically validate the domain names of the certificate. No further action is required. PendingValidation - Lightsail couldn't automatically validate one or more domain names of the certificate. You must take action to validate these domain names or the certificate won't be renewed. Check to make sure your certificate's domain validation records exist in your domain's DNS, and that your certificate remains in use. Success - All domain names in the certificate are validated, and Lightsail renewed the certificate. No further action is required. Failed - One or more domain names were not validated before the certificate expired, and Lightsail did not renew the certificate. You can request a new certificate using the CreateCertificate action.
  6110. */
  6111. renewalStatus?: LoadBalancerTlsCertificateRenewalStatus;
  6112. /**
  6113. * Contains information about the validation of each domain name in the certificate, as it pertains to Lightsail's managed renewal. This is different from the initial validation that occurs as a result of the RequestCertificate request.
  6114. */
  6115. domainValidationOptions?: LoadBalancerTlsCertificateDomainValidationOptionList;
  6116. }
  6117. export type LoadBalancerTlsCertificateRevocationReason = "UNSPECIFIED"|"KEY_COMPROMISE"|"CA_COMPROMISE"|"AFFILIATION_CHANGED"|"SUPERCEDED"|"CESSATION_OF_OPERATION"|"CERTIFICATE_HOLD"|"REMOVE_FROM_CRL"|"PRIVILEGE_WITHDRAWN"|"A_A_COMPROMISE"|string;
  6118. export type LoadBalancerTlsCertificateStatus = "PENDING_VALIDATION"|"ISSUED"|"INACTIVE"|"EXPIRED"|"VALIDATION_TIMED_OUT"|"REVOKED"|"FAILED"|"UNKNOWN"|string;
  6119. export interface LoadBalancerTlsCertificateSummary {
  6120. /**
  6121. * The name of the SSL/TLS certificate.
  6122. */
  6123. name?: ResourceName;
  6124. /**
  6125. * When true, the SSL/TLS certificate is attached to the Lightsail load balancer.
  6126. */
  6127. isAttached?: boolean;
  6128. }
  6129. export type LoadBalancerTlsCertificateSummaryList = LoadBalancerTlsCertificateSummary[];
  6130. export interface LoadBalancerTlsPolicy {
  6131. /**
  6132. * The name of the TLS security policy.
  6133. */
  6134. name?: ResourceName;
  6135. /**
  6136. * A Boolean value that indicates whether the TLS security policy is the default.
  6137. */
  6138. isDefault?: boolean;
  6139. /**
  6140. * The description of the TLS security policy.
  6141. */
  6142. description?: string;
  6143. /**
  6144. * The protocols used in a given TLS security policy.
  6145. */
  6146. protocols?: StringList;
  6147. /**
  6148. * The ciphers used by the TLS security policy. The ciphers are listed in order of preference.
  6149. */
  6150. ciphers?: StringList;
  6151. }
  6152. export type LoadBalancerTlsPolicyList = LoadBalancerTlsPolicy[];
  6153. export interface LogEvent {
  6154. /**
  6155. * The timestamp when the database log event was created.
  6156. */
  6157. createdAt?: IsoDate;
  6158. /**
  6159. * The message of the database log event.
  6160. */
  6161. message?: string;
  6162. }
  6163. export type LogEventList = LogEvent[];
  6164. export interface MetricDatapoint {
  6165. /**
  6166. * The average.
  6167. */
  6168. average?: double;
  6169. /**
  6170. * The maximum.
  6171. */
  6172. maximum?: double;
  6173. /**
  6174. * The minimum.
  6175. */
  6176. minimum?: double;
  6177. /**
  6178. * The sample count.
  6179. */
  6180. sampleCount?: double;
  6181. /**
  6182. * The sum.
  6183. */
  6184. sum?: double;
  6185. /**
  6186. * The timestamp (1479816991.349).
  6187. */
  6188. timestamp?: timestamp;
  6189. /**
  6190. * The unit.
  6191. */
  6192. unit?: MetricUnit;
  6193. }
  6194. export type MetricDatapointList = MetricDatapoint[];
  6195. export type MetricName = "CPUUtilization"|"NetworkIn"|"NetworkOut"|"StatusCheckFailed"|"StatusCheckFailed_Instance"|"StatusCheckFailed_System"|"ClientTLSNegotiationErrorCount"|"HealthyHostCount"|"UnhealthyHostCount"|"HTTPCode_LB_4XX_Count"|"HTTPCode_LB_5XX_Count"|"HTTPCode_Instance_2XX_Count"|"HTTPCode_Instance_3XX_Count"|"HTTPCode_Instance_4XX_Count"|"HTTPCode_Instance_5XX_Count"|"InstanceResponseTime"|"RejectedConnectionCount"|"RequestCount"|"DatabaseConnections"|"DiskQueueDepth"|"FreeStorageSpace"|"NetworkReceiveThroughput"|"NetworkTransmitThroughput"|"BurstCapacityTime"|"BurstCapacityPercentage"|string;
  6196. export type MetricPeriod = number;
  6197. export type MetricStatistic = "Minimum"|"Maximum"|"Sum"|"Average"|"SampleCount"|string;
  6198. export type MetricStatisticList = MetricStatistic[];
  6199. export type MetricUnit = "Seconds"|"Microseconds"|"Milliseconds"|"Bytes"|"Kilobytes"|"Megabytes"|"Gigabytes"|"Terabytes"|"Bits"|"Kilobits"|"Megabits"|"Gigabits"|"Terabits"|"Percent"|"Count"|"Bytes/Second"|"Kilobytes/Second"|"Megabytes/Second"|"Gigabytes/Second"|"Terabytes/Second"|"Bits/Second"|"Kilobits/Second"|"Megabits/Second"|"Gigabits/Second"|"Terabits/Second"|"Count/Second"|"None"|string;
  6200. export interface MonitoredResourceInfo {
  6201. /**
  6202. * The Amazon Resource Name (ARN) of the resource being monitored.
  6203. */
  6204. arn?: ResourceArn;
  6205. /**
  6206. * The name of the Lightsail resource being monitored.
  6207. */
  6208. name?: ResourceName;
  6209. /**
  6210. * The Lightsail resource type of the resource being monitored. Instances, load balancers, and relational databases are the only Lightsail resources that can currently be monitored by alarms.
  6211. */
  6212. resourceType?: ResourceType;
  6213. }
  6214. export interface MonthlyTransfer {
  6215. /**
  6216. * The amount allocated per month (in GB).
  6217. */
  6218. gbPerMonthAllocated?: integer;
  6219. }
  6220. export interface NameServersUpdateState {
  6221. /**
  6222. * The status code for the name servers update. Following are the possible values: SUCCEEDED - The name server records were successfully updated. PENDING - The name server record update is in progress. FAILED - The name server record update failed. STARTED - The automatic name server record update started.
  6223. */
  6224. code?: NameServersUpdateStateCode;
  6225. /**
  6226. * The message that describes the reason for the status code.
  6227. */
  6228. message?: string;
  6229. }
  6230. export type NameServersUpdateStateCode = "SUCCEEDED"|"PENDING"|"FAILED"|"STARTED"|string;
  6231. export type NetworkProtocol = "tcp"|"all"|"udp"|"icmp"|string;
  6232. export type NonEmptyString = string;
  6233. export type NotificationTriggerList = AlarmState[];
  6234. export interface OpenInstancePublicPortsRequest {
  6235. /**
  6236. * An object to describe the ports to open for the specified instance.
  6237. */
  6238. portInfo: PortInfo;
  6239. /**
  6240. * The name of the instance for which to open ports.
  6241. */
  6242. instanceName: ResourceName;
  6243. }
  6244. export interface OpenInstancePublicPortsResult {
  6245. /**
  6246. * An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.
  6247. */
  6248. operation?: Operation;
  6249. }
  6250. export interface Operation {
  6251. /**
  6252. * The ID of the operation.
  6253. */
  6254. id?: NonEmptyString;
  6255. /**
  6256. * The resource name.
  6257. */
  6258. resourceName?: ResourceName;
  6259. /**
  6260. * The resource type.
  6261. */
  6262. resourceType?: ResourceType;
  6263. /**
  6264. * The timestamp when the operation was initialized (1479816991.349).
  6265. */
  6266. createdAt?: IsoDate;
  6267. /**
  6268. * The Amazon Web Services Region and Availability Zone.
  6269. */
  6270. location?: ResourceLocation;
  6271. /**
  6272. * A Boolean value indicating whether the operation is terminal.
  6273. */
  6274. isTerminal?: boolean;
  6275. /**
  6276. * Details about the operation (Debian-1GB-Ohio-1).
  6277. */
  6278. operationDetails?: string;
  6279. /**
  6280. * The type of operation.
  6281. */
  6282. operationType?: OperationType;
  6283. /**
  6284. * The status of the operation.
  6285. */
  6286. status?: OperationStatus;
  6287. /**
  6288. * The timestamp when the status was changed (1479816991.349).
  6289. */
  6290. statusChangedAt?: IsoDate;
  6291. /**
  6292. * The error code.
  6293. */
  6294. errorCode?: string;
  6295. /**
  6296. * The error details.
  6297. */
  6298. errorDetails?: string;
  6299. }
  6300. export type OperationList = Operation[];
  6301. export type OperationStatus = "NotStarted"|"Started"|"Failed"|"Completed"|"Succeeded"|string;
  6302. export type OperationType = "DeleteKnownHostKeys"|"DeleteInstance"|"CreateInstance"|"StopInstance"|"StartInstance"|"RebootInstance"|"OpenInstancePublicPorts"|"PutInstancePublicPorts"|"CloseInstancePublicPorts"|"AllocateStaticIp"|"ReleaseStaticIp"|"AttachStaticIp"|"DetachStaticIp"|"UpdateDomainEntry"|"DeleteDomainEntry"|"CreateDomain"|"DeleteDomain"|"CreateInstanceSnapshot"|"DeleteInstanceSnapshot"|"CreateInstancesFromSnapshot"|"CreateLoadBalancer"|"DeleteLoadBalancer"|"AttachInstancesToLoadBalancer"|"DetachInstancesFromLoadBalancer"|"UpdateLoadBalancerAttribute"|"CreateLoadBalancerTlsCertificate"|"DeleteLoadBalancerTlsCertificate"|"AttachLoadBalancerTlsCertificate"|"CreateDisk"|"DeleteDisk"|"AttachDisk"|"DetachDisk"|"CreateDiskSnapshot"|"DeleteDiskSnapshot"|"CreateDiskFromSnapshot"|"CreateRelationalDatabase"|"UpdateRelationalDatabase"|"DeleteRelationalDatabase"|"CreateRelationalDatabaseFromSnapshot"|"CreateRelationalDatabaseSnapshot"|"DeleteRelationalDatabaseSnapshot"|"UpdateRelationalDatabaseParameters"|"StartRelationalDatabase"|"RebootRelationalDatabase"|"StopRelationalDatabase"|"EnableAddOn"|"DisableAddOn"|"PutAlarm"|"GetAlarms"|"DeleteAlarm"|"TestAlarm"|"CreateContactMethod"|"GetContactMethods"|"SendContactMethodVerification"|"DeleteContactMethod"|"CreateDistribution"|"UpdateDistribution"|"DeleteDistribution"|"ResetDistributionCache"|"AttachCertificateToDistribution"|"DetachCertificateFromDistribution"|"UpdateDistributionBundle"|"SetIpAddressType"|"CreateCertificate"|"DeleteCertificate"|"CreateContainerService"|"UpdateContainerService"|"DeleteContainerService"|"CreateContainerServiceDeployment"|"CreateContainerServiceRegistryLogin"|"RegisterContainerImage"|"DeleteContainerImage"|"CreateBucket"|"DeleteBucket"|"CreateBucketAccessKey"|"DeleteBucketAccessKey"|"UpdateBucketBundle"|"UpdateBucket"|"SetResourceAccessForBucket"|"UpdateInstanceMetadataOptions"|"StartGUISession"|"StopGUISession"|"SetupInstanceHttps"|string;
  6303. export interface Origin {
  6304. /**
  6305. * The name of the origin resource.
  6306. */
  6307. name?: ResourceName;
  6308. /**
  6309. * The resource type of the origin resource (Instance).
  6310. */
  6311. resourceType?: ResourceType;
  6312. /**
  6313. * The AWS Region name of the origin resource.
  6314. */
  6315. regionName?: RegionName;
  6316. /**
  6317. * The protocol that your Amazon Lightsail distribution uses when establishing a connection with your origin to pull content.
  6318. */
  6319. protocolPolicy?: OriginProtocolPolicyEnum;
  6320. /**
  6321. * The amount of time, in seconds, that the distribution waits for a response after forwarding a request to the origin. The minimum timeout is 1 second, the maximum is 60 seconds, and the default (if you don't specify otherwise) is 30 seconds.
  6322. */
  6323. responseTimeout?: integer;
  6324. }
  6325. export type OriginProtocolPolicyEnum = "http-only"|"https-only"|string;
  6326. export type PartnerIdList = NonEmptyString[];
  6327. export interface PasswordData {
  6328. /**
  6329. * The encrypted password. Ciphertext will be an empty string if access to your new instance is not ready yet. When you create an instance, it can take up to 15 minutes for the instance to be ready. If you use the default key pair (LightsailDefaultKeyPair), the decrypted password will be available in the password field. If you are using a custom key pair, you need to use your own means of decryption. If you change the Administrator password on the instance, Lightsail will continue to return the original ciphertext value. When accessing the instance using RDP, you need to manually enter the Administrator password after changing it from the default.
  6330. */
  6331. ciphertext?: string;
  6332. /**
  6333. * The name of the key pair that you used when creating your instance. If no key pair name was specified when creating the instance, Lightsail uses the default key pair (LightsailDefaultKeyPair). If you are using a custom key pair, you need to use your own means of decrypting your password using the ciphertext. Lightsail creates the ciphertext by encrypting your password with the public key part of this key pair.
  6334. */
  6335. keyPairName?: ResourceName;
  6336. }
  6337. export interface PeerVpcRequest {
  6338. }
  6339. export interface PeerVpcResult {
  6340. /**
  6341. * An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.
  6342. */
  6343. operation?: Operation;
  6344. }
  6345. export interface PendingMaintenanceAction {
  6346. /**
  6347. * The type of pending database maintenance action.
  6348. */
  6349. action?: NonEmptyString;
  6350. /**
  6351. * Additional detail about the pending database maintenance action.
  6352. */
  6353. description?: NonEmptyString;
  6354. /**
  6355. * The effective date of the pending database maintenance action.
  6356. */
  6357. currentApplyDate?: IsoDate;
  6358. }
  6359. export type PendingMaintenanceActionList = PendingMaintenanceAction[];
  6360. export interface PendingModifiedRelationalDatabaseValues {
  6361. /**
  6362. * The password for the master user of the database.
  6363. */
  6364. masterUserPassword?: string;
  6365. /**
  6366. * The database engine version.
  6367. */
  6368. engineVersion?: string;
  6369. /**
  6370. * A Boolean value indicating whether automated backup retention is enabled.
  6371. */
  6372. backupRetentionEnabled?: boolean;
  6373. }
  6374. export type Port = number;
  6375. export type PortAccessType = "Public"|"Private"|string;
  6376. export interface PortInfo {
  6377. /**
  6378. * The first port in a range of open ports on an instance. Allowed ports: TCP and UDP - 0 to 65535 ICMP - The ICMP type for IPv4 addresses. For example, specify 8 as the fromPort (ICMP type), and -1 as the toPort (ICMP code), to enable ICMP Ping. For more information, see Control Messages on Wikipedia. ICMPv6 - The ICMP type for IPv6 addresses. For example, specify 128 as the fromPort (ICMPv6 type), and 0 as toPort (ICMPv6 code). For more information, see Internet Control Message Protocol for IPv6.
  6379. */
  6380. fromPort?: Port;
  6381. /**
  6382. * The last port in a range of open ports on an instance. Allowed ports: TCP and UDP - 0 to 65535 ICMP - The ICMP code for IPv4 addresses. For example, specify 8 as the fromPort (ICMP type), and -1 as the toPort (ICMP code), to enable ICMP Ping. For more information, see Control Messages on Wikipedia. ICMPv6 - The ICMP code for IPv6 addresses. For example, specify 128 as the fromPort (ICMPv6 type), and 0 as toPort (ICMPv6 code). For more information, see Internet Control Message Protocol for IPv6.
  6383. */
  6384. toPort?: Port;
  6385. /**
  6386. * The IP protocol name. The name can be one of the following: tcp - Transmission Control Protocol (TCP) provides reliable, ordered, and error-checked delivery of streamed data between applications running on hosts communicating by an IP network. If you have an application that doesn't require reliable data stream service, use UDP instead. all - All transport layer protocol types. For more general information, see Transport layer on Wikipedia. udp - With User Datagram Protocol (UDP), computer applications can send messages (or datagrams) to other hosts on an Internet Protocol (IP) network. Prior communications are not required to set up transmission channels or data paths. Applications that don't require reliable data stream service can use UDP, which provides a connectionless datagram service that emphasizes reduced latency over reliability. If you do require reliable data stream service, use TCP instead. icmp - Internet Control Message Protocol (ICMP) is used to send error messages and operational information indicating success or failure when communicating with an instance. For example, an error is indicated when an instance could not be reached. When you specify icmp as the protocol, you must specify the ICMP type using the fromPort parameter, and ICMP code using the toPort parameter.
  6387. */
  6388. protocol?: NetworkProtocol;
  6389. /**
  6390. * The IPv4 address, or range of IPv4 addresses (in CIDR notation) that are allowed to connect to an instance through the ports, and the protocol. The ipv6Cidrs parameter lists the IPv6 addresses that are allowed to connect to an instance. Examples: To allow the IP address 192.0.2.44, specify 192.0.2.44 or 192.0.2.44/32. To allow the IP addresses 192.0.2.0 to 192.0.2.255, specify 192.0.2.0/24. For more information about CIDR block notation, see Classless Inter-Domain Routing on Wikipedia.
  6391. */
  6392. cidrs?: StringList;
  6393. /**
  6394. * The IPv6 address, or range of IPv6 addresses (in CIDR notation) that are allowed to connect to an instance through the ports, and the protocol. Only devices with an IPv6 address can connect to an instance through IPv6; otherwise, IPv4 should be used. The cidrs parameter lists the IPv4 addresses that are allowed to connect to an instance. For more information about CIDR block notation, see Classless Inter-Domain Routing on Wikipedia.
  6395. */
  6396. ipv6Cidrs?: StringList;
  6397. /**
  6398. * An alias that defines access for a preconfigured range of IP addresses. The only alias currently supported is lightsail-connect, which allows IP addresses of the browser-based RDP/SSH client in the Lightsail console to connect to your instance.
  6399. */
  6400. cidrListAliases?: StringList;
  6401. }
  6402. export type PortInfoList = PortInfo[];
  6403. export type PortInfoSourceType = "DEFAULT"|"INSTANCE"|"NONE"|"CLOSED"|string;
  6404. export type PortList = Port[];
  6405. export type PortMap = {[key: string]: ContainerServiceProtocol};
  6406. export type PortState = "open"|"closed"|string;
  6407. export type PricingUnit = "GB"|"Hrs"|"GB-Mo"|"Bundles"|"Queries"|string;
  6408. export interface PrivateRegistryAccess {
  6409. /**
  6410. * An object that describes the activation status of the role that you can use to grant a Lightsail container service access to Amazon ECR private repositories. If the role is activated, the Amazon Resource Name (ARN) of the role is also listed.
  6411. */
  6412. ecrImagePullerRole?: ContainerServiceECRImagePullerRole;
  6413. }
  6414. export interface PrivateRegistryAccessRequest {
  6415. /**
  6416. * An object to describe a request to activate or deactivate the role that you can use to grant an Amazon Lightsail container service access to Amazon Elastic Container Registry (Amazon ECR) private repositories.
  6417. */
  6418. ecrImagePullerRole?: ContainerServiceECRImagePullerRoleRequest;
  6419. }
  6420. export interface PutAlarmRequest {
  6421. /**
  6422. * The name for the alarm. Specify the name of an existing alarm to update, and overwrite the previous configuration of the alarm.
  6423. */
  6424. alarmName: ResourceName;
  6425. /**
  6426. * The name of the metric to associate with the alarm. You can configure up to two alarms per metric. The following metrics are available for each resource type: Instances: BurstCapacityPercentage, BurstCapacityTime, CPUUtilization, NetworkIn, NetworkOut, StatusCheckFailed, StatusCheckFailed_Instance, and StatusCheckFailed_System. Load balancers: ClientTLSNegotiationErrorCount, HealthyHostCount, UnhealthyHostCount, HTTPCode_LB_4XX_Count, HTTPCode_LB_5XX_Count, HTTPCode_Instance_2XX_Count, HTTPCode_Instance_3XX_Count, HTTPCode_Instance_4XX_Count, HTTPCode_Instance_5XX_Count, InstanceResponseTime, RejectedConnectionCount, and RequestCount. Relational databases: CPUUtilization, DatabaseConnections, DiskQueueDepth, FreeStorageSpace, NetworkReceiveThroughput, and NetworkTransmitThroughput. For more information about these metrics, see Metrics available in Lightsail.
  6427. */
  6428. metricName: MetricName;
  6429. /**
  6430. * The name of the Lightsail resource that will be monitored. Instances, load balancers, and relational databases are the only Lightsail resources that can currently be monitored by alarms.
  6431. */
  6432. monitoredResourceName: ResourceName;
  6433. /**
  6434. * The arithmetic operation to use when comparing the specified statistic to the threshold. The specified statistic value is used as the first operand.
  6435. */
  6436. comparisonOperator: ComparisonOperator;
  6437. /**
  6438. * The value against which the specified statistic is compared.
  6439. */
  6440. threshold: double;
  6441. /**
  6442. * The number of most recent periods over which data is compared to the specified threshold. If you are setting an "M out of N" alarm, this value (evaluationPeriods) is the N. If you are setting an alarm that requires that a number of consecutive data points be breaching to trigger the alarm, this value specifies the rolling period of time in which data points are evaluated. Each evaluation period is five minutes long. For example, specify an evaluation period of 24 to evaluate a metric over a rolling period of two hours. You can specify a minimum valuation period of 1 (5 minutes), and a maximum evaluation period of 288 (24 hours).
  6443. */
  6444. evaluationPeriods: integer;
  6445. /**
  6446. * The number of data points that must be not within the specified threshold to trigger the alarm. If you are setting an "M out of N" alarm, this value (datapointsToAlarm) is the M.
  6447. */
  6448. datapointsToAlarm?: integer;
  6449. /**
  6450. * Sets how this alarm will handle missing data points. An alarm can treat missing data in the following ways: breaching - Assume the missing data is not within the threshold. Missing data counts towards the number of times the metric is not within the threshold. notBreaching - Assume the missing data is within the threshold. Missing data does not count towards the number of times the metric is not within the threshold. ignore - Ignore the missing data. Maintains the current alarm state. missing - Missing data is treated as missing. If treatMissingData is not specified, the default behavior of missing is used.
  6451. */
  6452. treatMissingData?: TreatMissingData;
  6453. /**
  6454. * The contact protocols to use for the alarm, such as Email, SMS (text messaging), or both. A notification is sent via the specified contact protocol if notifications are enabled for the alarm, and when the alarm is triggered. A notification is not sent if a contact protocol is not specified, if the specified contact protocol is not configured in the Amazon Web Services Region, or if notifications are not enabled for the alarm using the notificationEnabled paramater. Use the CreateContactMethod action to configure a contact protocol in an Amazon Web Services Region.
  6455. */
  6456. contactProtocols?: ContactProtocolsList;
  6457. /**
  6458. * The alarm states that trigger a notification. An alarm has the following possible states: ALARM - The metric is outside of the defined threshold. INSUFFICIENT_DATA - The alarm has just started, the metric is not available, or not enough data is available for the metric to determine the alarm state. OK - The metric is within the defined threshold. When you specify a notification trigger, the ALARM state must be specified. The INSUFFICIENT_DATA and OK states can be specified in addition to the ALARM state. If you specify OK as an alarm trigger, a notification is sent when the alarm switches from an ALARM or INSUFFICIENT_DATA alarm state to an OK state. This can be thought of as an all clear alarm notification. If you specify INSUFFICIENT_DATA as the alarm trigger, a notification is sent when the alarm switches from an OK or ALARM alarm state to an INSUFFICIENT_DATA state. The notification trigger defaults to ALARM if you don't specify this parameter.
  6459. */
  6460. notificationTriggers?: NotificationTriggerList;
  6461. /**
  6462. * Indicates whether the alarm is enabled. Notifications are enabled by default if you don't specify this parameter.
  6463. */
  6464. notificationEnabled?: boolean;
  6465. }
  6466. export interface PutAlarmResult {
  6467. /**
  6468. * An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.
  6469. */
  6470. operations?: OperationList;
  6471. }
  6472. export interface PutInstancePublicPortsRequest {
  6473. /**
  6474. * An array of objects to describe the ports to open for the specified instance.
  6475. */
  6476. portInfos: PortInfoList;
  6477. /**
  6478. * The name of the instance for which to open ports.
  6479. */
  6480. instanceName: ResourceName;
  6481. }
  6482. export interface PutInstancePublicPortsResult {
  6483. /**
  6484. * An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.
  6485. */
  6486. operation?: Operation;
  6487. }
  6488. export interface QueryStringObject {
  6489. /**
  6490. * Indicates whether the distribution forwards and caches based on query strings.
  6491. */
  6492. option?: boolean;
  6493. /**
  6494. * The specific query strings that the distribution forwards to the origin. Your distribution will cache content based on the specified query strings. If the option parameter is true, then your distribution forwards all query strings, regardless of what you specify using the queryStringsAllowList parameter.
  6495. */
  6496. queryStringsAllowList?: StringList;
  6497. }
  6498. export interface R53HostedZoneDeletionState {
  6499. /**
  6500. * The status code for the deletion state. Following are the possible values: SUCCEEDED - The hosted zone was successfully deleted. PENDING - The hosted zone deletion is in progress. FAILED - The hosted zone deletion failed. STARTED - The hosted zone deletion started.
  6501. */
  6502. code?: R53HostedZoneDeletionStateCode;
  6503. /**
  6504. * The message that describes the reason for the status code.
  6505. */
  6506. message?: string;
  6507. }
  6508. export type R53HostedZoneDeletionStateCode = "SUCCEEDED"|"PENDING"|"FAILED"|"STARTED"|string;
  6509. export interface RebootInstanceRequest {
  6510. /**
  6511. * The name of the instance to reboot.
  6512. */
  6513. instanceName: ResourceName;
  6514. }
  6515. export interface RebootInstanceResult {
  6516. /**
  6517. * An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.
  6518. */
  6519. operations?: OperationList;
  6520. }
  6521. export interface RebootRelationalDatabaseRequest {
  6522. /**
  6523. * The name of your database to reboot.
  6524. */
  6525. relationalDatabaseName: ResourceName;
  6526. }
  6527. export interface RebootRelationalDatabaseResult {
  6528. /**
  6529. * An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.
  6530. */
  6531. operations?: OperationList;
  6532. }
  6533. export type RecordState = "Started"|"Succeeded"|"Failed"|string;
  6534. export interface Region {
  6535. /**
  6536. * The continent code (NA, meaning North America).
  6537. */
  6538. continentCode?: string;
  6539. /**
  6540. * The description of the Amazon Web Services Region (This region is recommended to serve users in the eastern United States and eastern Canada).
  6541. */
  6542. description?: string;
  6543. /**
  6544. * The display name (Ohio).
  6545. */
  6546. displayName?: string;
  6547. /**
  6548. * The region name (us-east-2).
  6549. */
  6550. name?: RegionName;
  6551. /**
  6552. * The Availability Zones. Follows the format us-east-2a (case-sensitive).
  6553. */
  6554. availabilityZones?: AvailabilityZoneList;
  6555. /**
  6556. * The Availability Zones for databases. Follows the format us-east-2a (case-sensitive).
  6557. */
  6558. relationalDatabaseAvailabilityZones?: AvailabilityZoneList;
  6559. }
  6560. export type RegionList = Region[];
  6561. export type RegionName = "us-east-1"|"us-east-2"|"us-west-1"|"us-west-2"|"eu-west-1"|"eu-west-2"|"eu-west-3"|"eu-central-1"|"ca-central-1"|"ap-south-1"|"ap-southeast-1"|"ap-southeast-2"|"ap-northeast-1"|"ap-northeast-2"|"eu-north-1"|string;
  6562. export interface RegisterContainerImageRequest {
  6563. /**
  6564. * The name of the container service for which to register a container image.
  6565. */
  6566. serviceName: ContainerServiceName;
  6567. /**
  6568. * The label for the container image when it's registered to the container service. Use a descriptive label that you can use to track the different versions of your registered container images. Use the GetContainerImages action to return the container images registered to a Lightsail container service. The label is the &lt;imagelabel&gt; portion of the following image name example: :container-service-1.&lt;imagelabel&gt;.1 If the name of your container service is mycontainerservice, and the label that you specify is mystaticwebsite, then the name of the registered container image will be :mycontainerservice.mystaticwebsite.1. The number at the end of these image name examples represents the version of the registered container image. If you push and register another container image to the same Lightsail container service, with the same label, then the version number for the new registered container image will be 2. If you push and register another container image, the version number will be 3, and so on.
  6569. */
  6570. label: ContainerLabel;
  6571. /**
  6572. * The digest of the container image to be registered.
  6573. */
  6574. digest: string;
  6575. }
  6576. export interface RegisterContainerImageResult {
  6577. /**
  6578. * An object that describes a container image that is registered to a Lightsail container service
  6579. */
  6580. containerImage?: ContainerImage;
  6581. }
  6582. export interface RegisteredDomainDelegationInfo {
  6583. /**
  6584. * An object that describes the state of the name server records that are automatically added to the Route 53 domain by Lightsail.
  6585. */
  6586. nameServersUpdateState?: NameServersUpdateState;
  6587. /**
  6588. * Describes the deletion state of an Amazon Route 53 hosted zone for a domain that is being automatically delegated to an Amazon Lightsail DNS zone.
  6589. */
  6590. r53HostedZoneDeletionState?: R53HostedZoneDeletionState;
  6591. }
  6592. export interface RelationalDatabase {
  6593. /**
  6594. * The unique name of the database resource in Lightsail.
  6595. */
  6596. name?: ResourceName;
  6597. /**
  6598. * The Amazon Resource Name (ARN) of the database.
  6599. */
  6600. arn?: NonEmptyString;
  6601. /**
  6602. * The support code for the database. Include this code in your email to support when you have questions about a database in Lightsail. This code enables our support team to look up your Lightsail information more easily.
  6603. */
  6604. supportCode?: string;
  6605. /**
  6606. * The timestamp when the database was created. Formatted in Unix time.
  6607. */
  6608. createdAt?: IsoDate;
  6609. /**
  6610. * The Region name and Availability Zone where the database is located.
  6611. */
  6612. location?: ResourceLocation;
  6613. /**
  6614. * The Lightsail resource type for the database (for example, RelationalDatabase).
  6615. */
  6616. resourceType?: ResourceType;
  6617. /**
  6618. * The tag keys and optional values for the resource. For more information about tags in Lightsail, see the Amazon Lightsail Developer Guide.
  6619. */
  6620. tags?: TagList;
  6621. /**
  6622. * The blueprint ID for the database. A blueprint describes the major engine version of a database.
  6623. */
  6624. relationalDatabaseBlueprintId?: NonEmptyString;
  6625. /**
  6626. * The bundle ID for the database. A bundle describes the performance specifications for your database.
  6627. */
  6628. relationalDatabaseBundleId?: NonEmptyString;
  6629. /**
  6630. * The name of the master database created when the Lightsail database resource is created.
  6631. */
  6632. masterDatabaseName?: string;
  6633. /**
  6634. * Describes the hardware of the database.
  6635. */
  6636. hardware?: RelationalDatabaseHardware;
  6637. /**
  6638. * Describes the current state of the database.
  6639. */
  6640. state?: NonEmptyString;
  6641. /**
  6642. * Describes the secondary Availability Zone of a high availability database. The secondary database is used for failover support of a high availability database.
  6643. */
  6644. secondaryAvailabilityZone?: string;
  6645. /**
  6646. * A Boolean value indicating whether automated backup retention is enabled for the database.
  6647. */
  6648. backupRetentionEnabled?: boolean;
  6649. /**
  6650. * Describes pending database value modifications.
  6651. */
  6652. pendingModifiedValues?: PendingModifiedRelationalDatabaseValues;
  6653. /**
  6654. * The database software (for example, MySQL).
  6655. */
  6656. engine?: NonEmptyString;
  6657. /**
  6658. * The database engine version (for example, 5.7.23).
  6659. */
  6660. engineVersion?: NonEmptyString;
  6661. /**
  6662. * The latest point in time to which the database can be restored. Formatted in Unix time.
  6663. */
  6664. latestRestorableTime?: IsoDate;
  6665. /**
  6666. * The master user name of the database.
  6667. */
  6668. masterUsername?: NonEmptyString;
  6669. /**
  6670. * The status of parameter updates for the database.
  6671. */
  6672. parameterApplyStatus?: NonEmptyString;
  6673. /**
  6674. * The daily time range during which automated backups are created for the database (for example, 16:00-16:30).
  6675. */
  6676. preferredBackupWindow?: NonEmptyString;
  6677. /**
  6678. * The weekly time range during which system maintenance can occur on the database. In the format ddd:hh24:mi-ddd:hh24:mi. For example, Tue:17:00-Tue:17:30.
  6679. */
  6680. preferredMaintenanceWindow?: NonEmptyString;
  6681. /**
  6682. * A Boolean value indicating whether the database is publicly accessible.
  6683. */
  6684. publiclyAccessible?: boolean;
  6685. /**
  6686. * The master endpoint for the database.
  6687. */
  6688. masterEndpoint?: RelationalDatabaseEndpoint;
  6689. /**
  6690. * Describes the pending maintenance actions for the database.
  6691. */
  6692. pendingMaintenanceActions?: PendingMaintenanceActionList;
  6693. /**
  6694. * The certificate associated with the database.
  6695. */
  6696. caCertificateIdentifier?: string;
  6697. }
  6698. export interface RelationalDatabaseBlueprint {
  6699. /**
  6700. * The ID for the database blueprint.
  6701. */
  6702. blueprintId?: string;
  6703. /**
  6704. * The database software of the database blueprint (for example, MySQL).
  6705. */
  6706. engine?: RelationalDatabaseEngine;
  6707. /**
  6708. * The database engine version for the database blueprint (for example, 5.7.23).
  6709. */
  6710. engineVersion?: string;
  6711. /**
  6712. * The description of the database engine for the database blueprint.
  6713. */
  6714. engineDescription?: string;
  6715. /**
  6716. * The description of the database engine version for the database blueprint.
  6717. */
  6718. engineVersionDescription?: string;
  6719. /**
  6720. * A Boolean value indicating whether the engine version is the default for the database blueprint.
  6721. */
  6722. isEngineDefault?: boolean;
  6723. }
  6724. export type RelationalDatabaseBlueprintList = RelationalDatabaseBlueprint[];
  6725. export interface RelationalDatabaseBundle {
  6726. /**
  6727. * The ID for the database bundle.
  6728. */
  6729. bundleId?: string;
  6730. /**
  6731. * The name for the database bundle.
  6732. */
  6733. name?: string;
  6734. /**
  6735. * The cost of the database bundle in US currency.
  6736. */
  6737. price?: float;
  6738. /**
  6739. * The amount of RAM in GB (for example, 2.0) for the database bundle.
  6740. */
  6741. ramSizeInGb?: float;
  6742. /**
  6743. * The size of the disk for the database bundle.
  6744. */
  6745. diskSizeInGb?: integer;
  6746. /**
  6747. * The data transfer rate per month in GB for the database bundle.
  6748. */
  6749. transferPerMonthInGb?: integer;
  6750. /**
  6751. * The number of virtual CPUs (vCPUs) for the database bundle.
  6752. */
  6753. cpuCount?: integer;
  6754. /**
  6755. * A Boolean value indicating whether the database bundle is encrypted.
  6756. */
  6757. isEncrypted?: boolean;
  6758. /**
  6759. * A Boolean value indicating whether the database bundle is active.
  6760. */
  6761. isActive?: boolean;
  6762. }
  6763. export type RelationalDatabaseBundleList = RelationalDatabaseBundle[];
  6764. export interface RelationalDatabaseEndpoint {
  6765. /**
  6766. * Specifies the port that the database is listening on.
  6767. */
  6768. port?: integer;
  6769. /**
  6770. * Specifies the DNS address of the database.
  6771. */
  6772. address?: NonEmptyString;
  6773. }
  6774. export type RelationalDatabaseEngine = "mysql"|string;
  6775. export interface RelationalDatabaseEvent {
  6776. /**
  6777. * The database that the database event relates to.
  6778. */
  6779. resource?: ResourceName;
  6780. /**
  6781. * The timestamp when the database event was created.
  6782. */
  6783. createdAt?: IsoDate;
  6784. /**
  6785. * The message of the database event.
  6786. */
  6787. message?: string;
  6788. /**
  6789. * The category that the database event belongs to.
  6790. */
  6791. eventCategories?: StringList;
  6792. }
  6793. export type RelationalDatabaseEventList = RelationalDatabaseEvent[];
  6794. export interface RelationalDatabaseHardware {
  6795. /**
  6796. * The number of vCPUs for the database.
  6797. */
  6798. cpuCount?: integer;
  6799. /**
  6800. * The size of the disk for the database.
  6801. */
  6802. diskSizeInGb?: integer;
  6803. /**
  6804. * The amount of RAM in GB for the database.
  6805. */
  6806. ramSizeInGb?: float;
  6807. }
  6808. export type RelationalDatabaseList = RelationalDatabase[];
  6809. export type RelationalDatabaseMetricName = "CPUUtilization"|"DatabaseConnections"|"DiskQueueDepth"|"FreeStorageSpace"|"NetworkReceiveThroughput"|"NetworkTransmitThroughput"|string;
  6810. export interface RelationalDatabaseParameter {
  6811. /**
  6812. * Specifies the valid range of values for the parameter.
  6813. */
  6814. allowedValues?: string;
  6815. /**
  6816. * Indicates when parameter updates are applied. Can be immediate or pending-reboot.
  6817. */
  6818. applyMethod?: string;
  6819. /**
  6820. * Specifies the engine-specific parameter type.
  6821. */
  6822. applyType?: string;
  6823. /**
  6824. * Specifies the valid data type for the parameter.
  6825. */
  6826. dataType?: string;
  6827. /**
  6828. * Provides a description of the parameter.
  6829. */
  6830. description?: string;
  6831. /**
  6832. * A Boolean value indicating whether the parameter can be modified.
  6833. */
  6834. isModifiable?: boolean;
  6835. /**
  6836. * Specifies the name of the parameter.
  6837. */
  6838. parameterName?: string;
  6839. /**
  6840. * Specifies the value of the parameter.
  6841. */
  6842. parameterValue?: string;
  6843. }
  6844. export type RelationalDatabaseParameterList = RelationalDatabaseParameter[];
  6845. export type RelationalDatabasePasswordVersion = "CURRENT"|"PREVIOUS"|"PENDING"|string;
  6846. export interface RelationalDatabaseSnapshot {
  6847. /**
  6848. * The name of the database snapshot.
  6849. */
  6850. name?: ResourceName;
  6851. /**
  6852. * The Amazon Resource Name (ARN) of the database snapshot.
  6853. */
  6854. arn?: NonEmptyString;
  6855. /**
  6856. * The support code for the database snapshot. Include this code in your email to support when you have questions about a database snapshot in Lightsail. This code enables our support team to look up your Lightsail information more easily.
  6857. */
  6858. supportCode?: string;
  6859. /**
  6860. * The timestamp when the database snapshot was created.
  6861. */
  6862. createdAt?: IsoDate;
  6863. /**
  6864. * The Region name and Availability Zone where the database snapshot is located.
  6865. */
  6866. location?: ResourceLocation;
  6867. /**
  6868. * The Lightsail resource type.
  6869. */
  6870. resourceType?: ResourceType;
  6871. /**
  6872. * The tag keys and optional values for the resource. For more information about tags in Lightsail, see the Amazon Lightsail Developer Guide.
  6873. */
  6874. tags?: TagList;
  6875. /**
  6876. * The software of the database snapshot (for example, MySQL)
  6877. */
  6878. engine?: NonEmptyString;
  6879. /**
  6880. * The database engine version for the database snapshot (for example, 5.7.23).
  6881. */
  6882. engineVersion?: NonEmptyString;
  6883. /**
  6884. * The size of the disk in GB (for example, 32) for the database snapshot.
  6885. */
  6886. sizeInGb?: integer;
  6887. /**
  6888. * The state of the database snapshot.
  6889. */
  6890. state?: NonEmptyString;
  6891. /**
  6892. * The name of the source database from which the database snapshot was created.
  6893. */
  6894. fromRelationalDatabaseName?: NonEmptyString;
  6895. /**
  6896. * The Amazon Resource Name (ARN) of the database from which the database snapshot was created.
  6897. */
  6898. fromRelationalDatabaseArn?: NonEmptyString;
  6899. /**
  6900. * The bundle ID of the database from which the database snapshot was created.
  6901. */
  6902. fromRelationalDatabaseBundleId?: string;
  6903. /**
  6904. * The blueprint ID of the database from which the database snapshot was created. A blueprint describes the major engine version of a database.
  6905. */
  6906. fromRelationalDatabaseBlueprintId?: string;
  6907. }
  6908. export type RelationalDatabaseSnapshotList = RelationalDatabaseSnapshot[];
  6909. export interface ReleaseStaticIpRequest {
  6910. /**
  6911. * The name of the static IP to delete.
  6912. */
  6913. staticIpName: ResourceName;
  6914. }
  6915. export interface ReleaseStaticIpResult {
  6916. /**
  6917. * An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.
  6918. */
  6919. operations?: OperationList;
  6920. }
  6921. export type RenewalStatus = "PendingAutoRenewal"|"PendingValidation"|"Success"|"Failed"|string;
  6922. export type RenewalStatusReason = string;
  6923. export interface RenewalSummary {
  6924. /**
  6925. * An array of objects that describe the domain validation records of the certificate.
  6926. */
  6927. domainValidationRecords?: DomainValidationRecordList;
  6928. /**
  6929. * The renewal status of the certificate. The following renewal status are possible: PendingAutoRenewal - Lightsail is attempting to automatically validate the domain names of the certificate. No further action is required. PendingValidation - Lightsail couldn't automatically validate one or more domain names of the certificate. You must take action to validate these domain names or the certificate won't be renewed. Check to make sure your certificate's domain validation records exist in your domain's DNS, and that your certificate remains in use. Success - All domain names in the certificate are validated, and Lightsail renewed the certificate. No further action is required. Failed - One or more domain names were not validated before the certificate expired, and Lightsail did not renew the certificate. You can request a new certificate using the CreateCertificate action.
  6930. */
  6931. renewalStatus?: RenewalStatus;
  6932. /**
  6933. * The reason for the renewal status of the certificate.
  6934. */
  6935. renewalStatusReason?: RenewalStatusReason;
  6936. /**
  6937. * The timestamp when the certificate was last updated.
  6938. */
  6939. updatedAt?: IsoDate;
  6940. }
  6941. export type RequestFailureReason = string;
  6942. export interface ResetDistributionCacheRequest {
  6943. /**
  6944. * The name of the distribution for which to reset cache. Use the GetDistributions action to get a list of distribution names that you can specify.
  6945. */
  6946. distributionName?: ResourceName;
  6947. }
  6948. export interface ResetDistributionCacheResult {
  6949. /**
  6950. * The status of the reset cache request.
  6951. */
  6952. status?: string;
  6953. /**
  6954. * The timestamp of the reset cache request (1479734909.17) in Unix time format.
  6955. */
  6956. createTime?: IsoDate;
  6957. /**
  6958. * An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.
  6959. */
  6960. operation?: Operation;
  6961. }
  6962. export type ResourceArn = string;
  6963. export type ResourceBucketAccess = "allow"|"deny"|string;
  6964. export interface ResourceBudgetEstimate {
  6965. /**
  6966. * The resource name.
  6967. */
  6968. resourceName?: ResourceName;
  6969. /**
  6970. * The type of resource the budget will track.
  6971. */
  6972. resourceType?: ResourceType;
  6973. /**
  6974. * The cost estimate for the specified budget.
  6975. */
  6976. costEstimates?: CostEstimates;
  6977. /**
  6978. * The estimate start time.
  6979. */
  6980. startTime?: IsoDate;
  6981. /**
  6982. * The estimate end time.
  6983. */
  6984. endTime?: IsoDate;
  6985. }
  6986. export interface ResourceLocation {
  6987. /**
  6988. * The Availability Zone. Follows the format us-east-2a (case-sensitive).
  6989. */
  6990. availabilityZone?: string;
  6991. /**
  6992. * The Amazon Web Services Region name.
  6993. */
  6994. regionName?: RegionName;
  6995. }
  6996. export type ResourceName = string;
  6997. export type ResourceNameList = ResourceName[];
  6998. export interface ResourceReceivingAccess {
  6999. /**
  7000. * The name of the Lightsail instance.
  7001. */
  7002. name?: NonEmptyString;
  7003. /**
  7004. * The Lightsail resource type (for example, Instance).
  7005. */
  7006. resourceType?: NonEmptyString;
  7007. }
  7008. export interface ResourceRecord {
  7009. /**
  7010. * The name of the record.
  7011. */
  7012. name?: string;
  7013. /**
  7014. * The DNS record type.
  7015. */
  7016. type?: string;
  7017. /**
  7018. * The value for the DNS record.
  7019. */
  7020. value?: string;
  7021. }
  7022. export type ResourceType = "ContainerService"|"Instance"|"StaticIp"|"KeyPair"|"InstanceSnapshot"|"Domain"|"PeeredVpc"|"LoadBalancer"|"LoadBalancerTlsCertificate"|"Disk"|"DiskSnapshot"|"RelationalDatabase"|"RelationalDatabaseSnapshot"|"ExportSnapshotRecord"|"CloudFormationStackRecord"|"Alarm"|"ContactMethod"|"Distribution"|"Certificate"|"Bucket"|string;
  7023. export type ResourcesBudgetEstimate = ResourceBudgetEstimate[];
  7024. export type RevocationReason = string;
  7025. export interface SendContactMethodVerificationRequest {
  7026. /**
  7027. * The protocol to verify, such as Email or SMS (text messaging).
  7028. */
  7029. protocol: ContactMethodVerificationProtocol;
  7030. }
  7031. export interface SendContactMethodVerificationResult {
  7032. /**
  7033. * An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.
  7034. */
  7035. operations?: OperationList;
  7036. }
  7037. export type SensitiveNonEmptyString = string;
  7038. export type SensitiveString = string;
  7039. export type SerialNumber = string;
  7040. export interface Session {
  7041. /**
  7042. * The session name.
  7043. */
  7044. name?: NonEmptyString;
  7045. /**
  7046. * The session URL.
  7047. */
  7048. url?: SensitiveNonEmptyString;
  7049. /**
  7050. * When true, this Boolean value indicates the primary session for the specified resource.
  7051. */
  7052. isPrimary?: boolean;
  7053. }
  7054. export type Sessions = Session[];
  7055. export interface SetIpAddressTypeRequest {
  7056. /**
  7057. * The resource type. The resource values are Distribution, Instance, and LoadBalancer. Distribution-related APIs are available only in the N. Virginia (us-east-1) Amazon Web Services Region. Set your Amazon Web Services Region configuration to us-east-1 to create, view, or edit distributions.
  7058. */
  7059. resourceType: ResourceType;
  7060. /**
  7061. * The name of the resource for which to set the IP address type.
  7062. */
  7063. resourceName: ResourceName;
  7064. /**
  7065. * The IP address type to set for the specified resource. The possible values are ipv4 for IPv4 only, and dualstack for IPv4 and IPv6.
  7066. */
  7067. ipAddressType: IpAddressType;
  7068. }
  7069. export interface SetIpAddressTypeResult {
  7070. /**
  7071. * An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.
  7072. */
  7073. operations?: OperationList;
  7074. }
  7075. export interface SetResourceAccessForBucketRequest {
  7076. /**
  7077. * The name of the Lightsail instance for which to set bucket access. The instance must be in a running or stopped state.
  7078. */
  7079. resourceName: ResourceName;
  7080. /**
  7081. * The name of the bucket for which to set access to another Lightsail resource.
  7082. */
  7083. bucketName: BucketName;
  7084. /**
  7085. * The access setting. The following access settings are available: allow - Allows access to the bucket and its objects. deny - Denies access to the bucket and its objects. Use this setting to remove access for a resource previously set to allow.
  7086. */
  7087. access: ResourceBucketAccess;
  7088. }
  7089. export interface SetResourceAccessForBucketResult {
  7090. /**
  7091. * An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.
  7092. */
  7093. operations?: OperationList;
  7094. }
  7095. export type SetupDomainName = string;
  7096. export type SetupDomainNameList = SetupDomainName[];
  7097. export interface SetupExecutionDetails {
  7098. /**
  7099. * The command that was executed.
  7100. */
  7101. command?: string;
  7102. /**
  7103. * The timestamp for when the request was run.
  7104. */
  7105. dateTime?: IsoDate;
  7106. /**
  7107. * The name of the target resource.
  7108. */
  7109. name?: NonEmptyString;
  7110. /**
  7111. * The status of the SetupInstanceHttps request.
  7112. */
  7113. status?: SetupStatus;
  7114. /**
  7115. * The text written by the command to stderr.
  7116. */
  7117. standardError?: string;
  7118. /**
  7119. * The text written by the command to stdout.
  7120. */
  7121. standardOutput?: string;
  7122. /**
  7123. * The current version of the script..
  7124. */
  7125. version?: string;
  7126. }
  7127. export type SetupExecutionDetailsList = SetupExecutionDetails[];
  7128. export interface SetupHistory {
  7129. /**
  7130. * A GUID that's used to identify the operation.
  7131. */
  7132. operationId?: NonEmptyString;
  7133. /**
  7134. * Information about the specified request.
  7135. */
  7136. request?: SetupRequest;
  7137. /**
  7138. * The target resource name for the request.
  7139. */
  7140. resource?: SetupHistoryResource;
  7141. /**
  7142. * Describes the full details of the request.
  7143. */
  7144. executionDetails?: SetupExecutionDetailsList;
  7145. /**
  7146. * The status of the request.
  7147. */
  7148. status?: SetupStatus;
  7149. }
  7150. export type SetupHistoryPageToken = string;
  7151. export interface SetupHistoryResource {
  7152. /**
  7153. * The name of the Lightsail resource.
  7154. */
  7155. name?: ResourceName;
  7156. /**
  7157. * The Amazon Resource Name (ARN) of the Lightsail resource.
  7158. */
  7159. arn?: NonEmptyString;
  7160. /**
  7161. * The timestamp for when the resource was created.
  7162. */
  7163. createdAt?: IsoDate;
  7164. location?: ResourceLocation;
  7165. /**
  7166. * The Lightsail resource type. For example, Instance.
  7167. */
  7168. resourceType?: ResourceType;
  7169. }
  7170. export interface SetupInstanceHttpsRequest {
  7171. /**
  7172. * The name of the Lightsail instance.
  7173. */
  7174. instanceName: ResourceName;
  7175. /**
  7176. * The contact method for SSL/TLS certificate renewal alerts. You can enter one email address.
  7177. */
  7178. emailAddress: EmailAddress;
  7179. /**
  7180. * The name of the domain and subdomains that were specified for the SSL/TLS certificate.
  7181. */
  7182. domainNames: SetupDomainNameList;
  7183. /**
  7184. * The certificate authority that issues the SSL/TLS certificate.
  7185. */
  7186. certificateProvider: CertificateProvider;
  7187. }
  7188. export interface SetupInstanceHttpsResult {
  7189. /**
  7190. * The available API operations for SetupInstanceHttps.
  7191. */
  7192. operations?: OperationList;
  7193. }
  7194. export interface SetupRequest {
  7195. /**
  7196. * The name of the Lightsail instance.
  7197. */
  7198. instanceName?: ResourceName;
  7199. /**
  7200. * The name of the domain and subdomains that the SSL/TLS certificate secures.
  7201. */
  7202. domainNames?: SetupDomainNameList;
  7203. /**
  7204. * The Certificate Authority (CA) that issues the SSL/TLS certificate.
  7205. */
  7206. certificateProvider?: CertificateProvider;
  7207. }
  7208. export type SetupStatus = "succeeded"|"failed"|"inProgress"|string;
  7209. export interface StartGUISessionRequest {
  7210. /**
  7211. * The resource name.
  7212. */
  7213. resourceName: ResourceName;
  7214. }
  7215. export interface StartGUISessionResult {
  7216. /**
  7217. * The available API operations.
  7218. */
  7219. operations?: OperationList;
  7220. }
  7221. export interface StartInstanceRequest {
  7222. /**
  7223. * The name of the instance (a virtual private server) to start.
  7224. */
  7225. instanceName: ResourceName;
  7226. }
  7227. export interface StartInstanceResult {
  7228. /**
  7229. * An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.
  7230. */
  7231. operations?: OperationList;
  7232. }
  7233. export interface StartRelationalDatabaseRequest {
  7234. /**
  7235. * The name of your database to start.
  7236. */
  7237. relationalDatabaseName: ResourceName;
  7238. }
  7239. export interface StartRelationalDatabaseResult {
  7240. /**
  7241. * An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.
  7242. */
  7243. operations?: OperationList;
  7244. }
  7245. export interface StaticIp {
  7246. /**
  7247. * The name of the static IP (StaticIP-Ohio-EXAMPLE).
  7248. */
  7249. name?: ResourceName;
  7250. /**
  7251. * The Amazon Resource Name (ARN) of the static IP (arn:aws:lightsail:us-east-2:123456789101:StaticIp/9cbb4a9e-f8e3-4dfe-b57e-12345EXAMPLE).
  7252. */
  7253. arn?: NonEmptyString;
  7254. /**
  7255. * The support code. Include this code in your email to support when you have questions about an instance or another resource in Lightsail. This code enables our support team to look up your Lightsail information more easily.
  7256. */
  7257. supportCode?: string;
  7258. /**
  7259. * The timestamp when the static IP was created (1479735304.222).
  7260. */
  7261. createdAt?: IsoDate;
  7262. /**
  7263. * The region and Availability Zone where the static IP was created.
  7264. */
  7265. location?: ResourceLocation;
  7266. /**
  7267. * The resource type (usually StaticIp).
  7268. */
  7269. resourceType?: ResourceType;
  7270. /**
  7271. * The static IP address.
  7272. */
  7273. ipAddress?: IpAddress;
  7274. /**
  7275. * The instance where the static IP is attached (Amazon_Linux-1GB-Ohio-1).
  7276. */
  7277. attachedTo?: ResourceName;
  7278. /**
  7279. * A Boolean value indicating whether the static IP is attached.
  7280. */
  7281. isAttached?: boolean;
  7282. }
  7283. export type StaticIpList = StaticIp[];
  7284. export type Status = "startExpired"|"notStarted"|"started"|"starting"|"stopped"|"stopping"|"settingUpInstance"|"failedInstanceCreation"|"failedStartingGUISession"|"failedStoppingGUISession"|string;
  7285. export type StatusType = "Active"|"Inactive"|string;
  7286. export interface StopGUISessionRequest {
  7287. /**
  7288. * The resource name.
  7289. */
  7290. resourceName: ResourceName;
  7291. }
  7292. export interface StopGUISessionResult {
  7293. /**
  7294. * The available API operations.
  7295. */
  7296. operations?: OperationList;
  7297. }
  7298. export interface StopInstanceOnIdleRequest {
  7299. /**
  7300. * The value to compare with the duration.
  7301. */
  7302. threshold?: string;
  7303. /**
  7304. * The amount of idle time in minutes after which your virtual computer will automatically stop.
  7305. */
  7306. duration?: string;
  7307. }
  7308. export interface StopInstanceRequest {
  7309. /**
  7310. * The name of the instance (a virtual private server) to stop.
  7311. */
  7312. instanceName: ResourceName;
  7313. /**
  7314. * When set to True, forces a Lightsail instance that is stuck in a stopping state to stop. Only use the force parameter if your instance is stuck in the stopping state. In any other state, your instance should stop normally without adding this parameter to your API request.
  7315. */
  7316. force?: boolean;
  7317. }
  7318. export interface StopInstanceResult {
  7319. /**
  7320. * An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.
  7321. */
  7322. operations?: OperationList;
  7323. }
  7324. export interface StopRelationalDatabaseRequest {
  7325. /**
  7326. * The name of your database to stop.
  7327. */
  7328. relationalDatabaseName: ResourceName;
  7329. /**
  7330. * The name of your new database snapshot to be created before stopping your database.
  7331. */
  7332. relationalDatabaseSnapshotName?: ResourceName;
  7333. }
  7334. export interface StopRelationalDatabaseResult {
  7335. /**
  7336. * An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.
  7337. */
  7338. operations?: OperationList;
  7339. }
  7340. export type StringList = string[];
  7341. export type StringMax256 = string;
  7342. export type SubjectAlternativeNameList = DomainName[];
  7343. export interface Tag {
  7344. /**
  7345. * The key of the tag. Constraints: Tag keys accept a maximum of 128 letters, numbers, spaces in UTF-8, or the following characters: + - = . _ : / @
  7346. */
  7347. key?: TagKey;
  7348. /**
  7349. * The value of the tag. Constraints: Tag values accept a maximum of 256 letters, numbers, spaces in UTF-8, or the following characters: + - = . _ : / @
  7350. */
  7351. value?: TagValue;
  7352. }
  7353. export type TagKey = string;
  7354. export type TagKeyList = TagKey[];
  7355. export type TagList = Tag[];
  7356. export interface TagResourceRequest {
  7357. /**
  7358. * The name of the resource to which you are adding tags.
  7359. */
  7360. resourceName: ResourceName;
  7361. /**
  7362. * The Amazon Resource Name (ARN) of the resource to which you want to add a tag.
  7363. */
  7364. resourceArn?: ResourceArn;
  7365. /**
  7366. * The tag key and optional value.
  7367. */
  7368. tags: TagList;
  7369. }
  7370. export interface TagResourceResult {
  7371. /**
  7372. * An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.
  7373. */
  7374. operations?: OperationList;
  7375. }
  7376. export type TagValue = string;
  7377. export interface TestAlarmRequest {
  7378. /**
  7379. * The name of the alarm to test.
  7380. */
  7381. alarmName: ResourceName;
  7382. /**
  7383. * The alarm state to test. An alarm has the following possible states that can be tested: ALARM - The metric is outside of the defined threshold. INSUFFICIENT_DATA - The alarm has just started, the metric is not available, or not enough data is available for the metric to determine the alarm state. OK - The metric is within the defined threshold.
  7384. */
  7385. state: AlarmState;
  7386. }
  7387. export interface TestAlarmResult {
  7388. /**
  7389. * An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.
  7390. */
  7391. operations?: OperationList;
  7392. }
  7393. export type TimeOfDay = string;
  7394. export interface TimePeriod {
  7395. /**
  7396. * The beginning of the time period. The start date is inclusive. For example, if start is 2017-01-01, Lightsail for Research retrieves cost and usage data starting at 2017-01-01 up to the end date. The start date must be equal to or no later than the current date to avoid a validation error.
  7397. */
  7398. start?: IsoDate;
  7399. /**
  7400. * The end of the time period. The end date is exclusive. For example, if end is 2017-05-01, Lightsail for Research retrieves cost and usage data from the start date up to, but not including, 2017-05-01.
  7401. */
  7402. end?: IsoDate;
  7403. }
  7404. export type TreatMissingData = "breaching"|"notBreaching"|"ignore"|"missing"|string;
  7405. export interface UnpeerVpcRequest {
  7406. }
  7407. export interface UnpeerVpcResult {
  7408. /**
  7409. * An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.
  7410. */
  7411. operation?: Operation;
  7412. }
  7413. export interface UntagResourceRequest {
  7414. /**
  7415. * The name of the resource from which you are removing a tag.
  7416. */
  7417. resourceName: ResourceName;
  7418. /**
  7419. * The Amazon Resource Name (ARN) of the resource from which you want to remove a tag.
  7420. */
  7421. resourceArn?: ResourceArn;
  7422. /**
  7423. * The tag keys to delete from the specified resource.
  7424. */
  7425. tagKeys: TagKeyList;
  7426. }
  7427. export interface UntagResourceResult {
  7428. /**
  7429. * An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.
  7430. */
  7431. operations?: OperationList;
  7432. }
  7433. export interface UpdateBucketBundleRequest {
  7434. /**
  7435. * The name of the bucket for which to update the bundle.
  7436. */
  7437. bucketName: BucketName;
  7438. /**
  7439. * The ID of the new bundle to apply to the bucket. Use the GetBucketBundles action to get a list of bundle IDs that you can specify.
  7440. */
  7441. bundleId: NonEmptyString;
  7442. }
  7443. export interface UpdateBucketBundleResult {
  7444. /**
  7445. * An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.
  7446. */
  7447. operations?: OperationList;
  7448. }
  7449. export interface UpdateBucketRequest {
  7450. /**
  7451. * The name of the bucket to update.
  7452. */
  7453. bucketName: BucketName;
  7454. /**
  7455. * An object that sets the public accessibility of objects in the specified bucket.
  7456. */
  7457. accessRules?: AccessRules;
  7458. /**
  7459. * Specifies whether to enable or suspend versioning of objects in the bucket. The following options can be specified: Enabled - Enables versioning of objects in the specified bucket. Suspended - Suspends versioning of objects in the specified bucket. Existing object versions are retained.
  7460. */
  7461. versioning?: NonEmptyString;
  7462. /**
  7463. * An array of strings to specify the Amazon Web Services account IDs that can access the bucket. You can give a maximum of 10 Amazon Web Services accounts access to a bucket.
  7464. */
  7465. readonlyAccessAccounts?: PartnerIdList;
  7466. /**
  7467. * An object that describes the access log configuration for the bucket.
  7468. */
  7469. accessLogConfig?: BucketAccessLogConfig;
  7470. }
  7471. export interface UpdateBucketResult {
  7472. /**
  7473. * An object that describes the bucket that is updated.
  7474. */
  7475. bucket?: Bucket;
  7476. /**
  7477. * An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.
  7478. */
  7479. operations?: OperationList;
  7480. }
  7481. export interface UpdateContainerServiceRequest {
  7482. /**
  7483. * The name of the container service to update.
  7484. */
  7485. serviceName: ContainerServiceName;
  7486. /**
  7487. * The power for the container service. The power specifies the amount of memory, vCPUs, and base monthly cost of each node of the container service. The power and scale of a container service makes up its configured capacity. To determine the monthly price of your container service, multiply the base price of the power with the scale (the number of nodes) of the service. Use the GetContainerServicePowers action to view the specifications of each power option.
  7488. */
  7489. power?: ContainerServicePowerName;
  7490. /**
  7491. * The scale for the container service. The scale specifies the allocated compute nodes of the container service. The power and scale of a container service makes up its configured capacity. To determine the monthly price of your container service, multiply the base price of the power with the scale (the number of nodes) of the service.
  7492. */
  7493. scale?: ContainerServiceScale;
  7494. /**
  7495. * A Boolean value to indicate whether the container service is disabled.
  7496. */
  7497. isDisabled?: boolean;
  7498. /**
  7499. * The public domain names to use with the container service, such as example.com and www.example.com. You can specify up to four public domain names for a container service. The domain names that you specify are used when you create a deployment with a container configured as the public endpoint of your container service. If you don't specify public domain names, then you can use the default domain of the container service. You must create and validate an SSL/TLS certificate before you can use public domain names with your container service. Use the CreateCertificate action to create a certificate for the public domain names you want to use with your container service. You can specify public domain names using a string to array map as shown in the example later on this page.
  7500. */
  7501. publicDomainNames?: ContainerServicePublicDomains;
  7502. /**
  7503. * An object to describe the configuration for the container service to access private container image repositories, such as Amazon Elastic Container Registry (Amazon ECR) private repositories. For more information, see Configuring access to an Amazon ECR private repository for an Amazon Lightsail container service in the Amazon Lightsail Developer Guide.
  7504. */
  7505. privateRegistryAccess?: PrivateRegistryAccessRequest;
  7506. }
  7507. export interface UpdateContainerServiceResult {
  7508. /**
  7509. * An object that describes a container service.
  7510. */
  7511. containerService?: ContainerService;
  7512. }
  7513. export interface UpdateDistributionBundleRequest {
  7514. /**
  7515. * The name of the distribution for which to update the bundle. Use the GetDistributions action to get a list of distribution names that you can specify.
  7516. */
  7517. distributionName?: ResourceName;
  7518. /**
  7519. * The bundle ID of the new bundle to apply to your distribution. Use the GetDistributionBundles action to get a list of distribution bundle IDs that you can specify.
  7520. */
  7521. bundleId?: string;
  7522. }
  7523. export interface UpdateDistributionBundleResult {
  7524. /**
  7525. * An object that describes the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.
  7526. */
  7527. operation?: Operation;
  7528. }
  7529. export interface UpdateDistributionRequest {
  7530. /**
  7531. * The name of the distribution to update. Use the GetDistributions action to get a list of distribution names that you can specify.
  7532. */
  7533. distributionName: ResourceName;
  7534. /**
  7535. * An object that describes the origin resource for the distribution, such as a Lightsail instance, bucket, or load balancer. The distribution pulls, caches, and serves content from the origin.
  7536. */
  7537. origin?: InputOrigin;
  7538. /**
  7539. * An object that describes the default cache behavior for the distribution.
  7540. */
  7541. defaultCacheBehavior?: CacheBehavior;
  7542. /**
  7543. * An object that describes the cache behavior settings for the distribution. The cacheBehaviorSettings specified in your UpdateDistributionRequest will replace your distribution's existing settings.
  7544. */
  7545. cacheBehaviorSettings?: CacheSettings;
  7546. /**
  7547. * An array of objects that describe the per-path cache behavior for the distribution.
  7548. */
  7549. cacheBehaviors?: CacheBehaviorList;
  7550. /**
  7551. * Indicates whether to enable the distribution.
  7552. */
  7553. isEnabled?: boolean;
  7554. /**
  7555. * Use this parameter to update the minimum TLS protocol version for the SSL/TLS certificate that's attached to the distribution.
  7556. */
  7557. viewerMinimumTlsProtocolVersion?: ViewerMinimumTlsProtocolVersionEnum;
  7558. /**
  7559. * The name of the SSL/TLS certificate that you want to attach to the distribution. Only certificates with a status of ISSUED can be attached to a distribution. Use the GetCertificates action to get a list of certificate names that you can specify.
  7560. */
  7561. certificateName?: ResourceName;
  7562. /**
  7563. * Indicates whether the default SSL/TLS certificate is attached to the distribution. The default value is true. When true, the distribution uses the default domain name such as d111111abcdef8.cloudfront.net. Set this value to false to attach a new certificate to the distribution.
  7564. */
  7565. useDefaultCertificate?: boolean;
  7566. }
  7567. export interface UpdateDistributionResult {
  7568. /**
  7569. * An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.
  7570. */
  7571. operation?: Operation;
  7572. }
  7573. export interface UpdateDomainEntryRequest {
  7574. /**
  7575. * The name of the domain recordset to update.
  7576. */
  7577. domainName: DomainName;
  7578. /**
  7579. * An array of key-value pairs containing information about the domain entry.
  7580. */
  7581. domainEntry: DomainEntry;
  7582. }
  7583. export interface UpdateDomainEntryResult {
  7584. /**
  7585. * An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.
  7586. */
  7587. operations?: OperationList;
  7588. }
  7589. export interface UpdateInstanceMetadataOptionsRequest {
  7590. /**
  7591. * The name of the instance for which to update metadata parameters.
  7592. */
  7593. instanceName: ResourceName;
  7594. /**
  7595. * The state of token usage for your instance metadata requests. If the parameter is not specified in the request, the default state is optional. If the state is optional, you can choose whether to retrieve instance metadata with a signed token header on your request. If you retrieve the IAM role credentials without a token, the version 1.0 role credentials are returned. If you retrieve the IAM role credentials by using a valid signed token, the version 2.0 role credentials are returned. If the state is required, you must send a signed token header with all instance metadata retrieval requests. In this state, retrieving the IAM role credential always returns the version 2.0 credentials. The version 1.0 credentials are not available.
  7596. */
  7597. httpTokens?: HttpTokens;
  7598. /**
  7599. * Enables or disables the HTTP metadata endpoint on your instances. If this parameter is not specified, the existing state is maintained. If you specify a value of disabled, you cannot access your instance metadata.
  7600. */
  7601. httpEndpoint?: HttpEndpoint;
  7602. /**
  7603. * The desired HTTP PUT response hop limit for instance metadata requests. A larger number means that the instance metadata requests can travel farther. If no parameter is specified, the existing state is maintained.
  7604. */
  7605. httpPutResponseHopLimit?: integer;
  7606. /**
  7607. * Enables or disables the IPv6 endpoint for the instance metadata service. This setting applies only when the HTTP metadata endpoint is enabled. This parameter is available only for instances in the Europe (Stockholm) Amazon Web Services Region (eu-north-1).
  7608. */
  7609. httpProtocolIpv6?: HttpProtocolIpv6;
  7610. }
  7611. export interface UpdateInstanceMetadataOptionsResult {
  7612. /**
  7613. * An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.
  7614. */
  7615. operation?: Operation;
  7616. }
  7617. export interface UpdateLoadBalancerAttributeRequest {
  7618. /**
  7619. * The name of the load balancer that you want to modify (my-load-balancer.
  7620. */
  7621. loadBalancerName: ResourceName;
  7622. /**
  7623. * The name of the attribute you want to update.
  7624. */
  7625. attributeName: LoadBalancerAttributeName;
  7626. /**
  7627. * The value that you want to specify for the attribute name. The following values are supported depending on what you specify for the attributeName request parameter: If you specify HealthCheckPath for the attributeName request parameter, then the attributeValue request parameter must be the path to ping on the target (for example, /weather/us/wa/seattle). If you specify SessionStickinessEnabled for the attributeName request parameter, then the attributeValue request parameter must be true to activate session stickiness or false to deactivate session stickiness. If you specify SessionStickiness_LB_CookieDurationSeconds for the attributeName request parameter, then the attributeValue request parameter must be an interger that represents the cookie duration in seconds. If you specify HttpsRedirectionEnabled for the attributeName request parameter, then the attributeValue request parameter must be true to activate HTTP to HTTPS redirection or false to deactivate HTTP to HTTPS redirection. If you specify TlsPolicyName for the attributeName request parameter, then the attributeValue request parameter must be the name of the TLS policy. Use the GetLoadBalancerTlsPolicies action to get a list of TLS policy names that you can specify.
  7628. */
  7629. attributeValue: StringMax256;
  7630. }
  7631. export interface UpdateLoadBalancerAttributeResult {
  7632. /**
  7633. * An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.
  7634. */
  7635. operations?: OperationList;
  7636. }
  7637. export interface UpdateRelationalDatabaseParametersRequest {
  7638. /**
  7639. * The name of your database for which to update parameters.
  7640. */
  7641. relationalDatabaseName: ResourceName;
  7642. /**
  7643. * The database parameters to update.
  7644. */
  7645. parameters: RelationalDatabaseParameterList;
  7646. }
  7647. export interface UpdateRelationalDatabaseParametersResult {
  7648. /**
  7649. * An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.
  7650. */
  7651. operations?: OperationList;
  7652. }
  7653. export interface UpdateRelationalDatabaseRequest {
  7654. /**
  7655. * The name of your Lightsail database resource to update.
  7656. */
  7657. relationalDatabaseName: ResourceName;
  7658. /**
  7659. * The password for the master user. The password can include any printable ASCII character except "/", """, or "@". MySQL Constraints: Must contain from 8 to 41 characters. PostgreSQL Constraints: Must contain from 8 to 128 characters.
  7660. */
  7661. masterUserPassword?: SensitiveString;
  7662. /**
  7663. * When true, the master user password is changed to a new strong password generated by Lightsail. Use the get relational database master user password operation to get the new password.
  7664. */
  7665. rotateMasterUserPassword?: boolean;
  7666. /**
  7667. * The daily time range during which automated backups are created for your database if automated backups are enabled. Constraints: Must be in the hh24:mi-hh24:mi format. Example: 16:00-16:30 Specified in Coordinated Universal Time (UTC). Must not conflict with the preferred maintenance window. Must be at least 30 minutes.
  7668. */
  7669. preferredBackupWindow?: string;
  7670. /**
  7671. * The weekly time range during which system maintenance can occur on your database. The default is a 30-minute window selected at random from an 8-hour block of time for each Amazon Web Services Region, occurring on a random day of the week. Constraints: Must be in the ddd:hh24:mi-ddd:hh24:mi format. Valid days: Mon, Tue, Wed, Thu, Fri, Sat, Sun. Must be at least 30 minutes. Specified in Coordinated Universal Time (UTC). Example: Tue:17:00-Tue:17:30
  7672. */
  7673. preferredMaintenanceWindow?: string;
  7674. /**
  7675. * When true, enables automated backup retention for your database. Updates are applied during the next maintenance window because this can result in an outage.
  7676. */
  7677. enableBackupRetention?: boolean;
  7678. /**
  7679. * When true, disables automated backup retention for your database. Disabling backup retention deletes all automated database backups. Before disabling this, you may want to create a snapshot of your database using the create relational database snapshot operation. Updates are applied during the next maintenance window because this can result in an outage.
  7680. */
  7681. disableBackupRetention?: boolean;
  7682. /**
  7683. * Specifies the accessibility options for your database. A value of true specifies a database that is available to resources outside of your Lightsail account. A value of false specifies a database that is available only to your Lightsail resources in the same region as your database.
  7684. */
  7685. publiclyAccessible?: boolean;
  7686. /**
  7687. * When true, applies changes immediately. When false, applies changes during the preferred maintenance window. Some changes may cause an outage. Default: false
  7688. */
  7689. applyImmediately?: boolean;
  7690. /**
  7691. * Indicates the certificate that needs to be associated with the database.
  7692. */
  7693. caCertificateIdentifier?: string;
  7694. /**
  7695. * This parameter is used to update the major version of the database. Enter the blueprintId for the major version that you want to update to. Use the GetRelationalDatabaseBlueprints action to get a list of available blueprint IDs.
  7696. */
  7697. relationalDatabaseBlueprintId?: string;
  7698. }
  7699. export interface UpdateRelationalDatabaseResult {
  7700. /**
  7701. * An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.
  7702. */
  7703. operations?: OperationList;
  7704. }
  7705. export type ViewerMinimumTlsProtocolVersionEnum = "TLSv1.1_2016"|"TLSv1.2_2018"|"TLSv1.2_2019"|"TLSv1.2_2021"|string;
  7706. export type double = number;
  7707. export type float = number;
  7708. export type integer = number;
  7709. export type long = number;
  7710. export type setupHistoryList = SetupHistory[];
  7711. export type timestamp = Date;
  7712. /**
  7713. * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version.
  7714. */
  7715. export type apiVersion = "2016-11-28"|"latest"|string;
  7716. export interface ClientApiVersions {
  7717. /**
  7718. * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version.
  7719. */
  7720. apiVersion?: apiVersion;
  7721. }
  7722. export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions;
  7723. /**
  7724. * Contains interfaces for use with the Lightsail client.
  7725. */
  7726. export import Types = Lightsail;
  7727. }
  7728. export = Lightsail;