api.go 370 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773
  1. // THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT.
  2. // Package rds provides a client for Amazon Relational Database Service.
  3. package rds
  4. import (
  5. "time"
  6. "github.com/aws/aws-sdk-go/aws/awsutil"
  7. "github.com/aws/aws-sdk-go/aws/request"
  8. )
  9. const opAddSourceIdentifierToSubscription = "AddSourceIdentifierToSubscription"
  10. // AddSourceIdentifierToSubscriptionRequest generates a request for the AddSourceIdentifierToSubscription operation.
  11. func (c *RDS) AddSourceIdentifierToSubscriptionRequest(input *AddSourceIdentifierToSubscriptionInput) (req *request.Request, output *AddSourceIdentifierToSubscriptionOutput) {
  12. op := &request.Operation{
  13. Name: opAddSourceIdentifierToSubscription,
  14. HTTPMethod: "POST",
  15. HTTPPath: "/",
  16. }
  17. if input == nil {
  18. input = &AddSourceIdentifierToSubscriptionInput{}
  19. }
  20. req = c.newRequest(op, input, output)
  21. output = &AddSourceIdentifierToSubscriptionOutput{}
  22. req.Data = output
  23. return
  24. }
  25. // Adds a source identifier to an existing RDS event notification subscription.
  26. func (c *RDS) AddSourceIdentifierToSubscription(input *AddSourceIdentifierToSubscriptionInput) (*AddSourceIdentifierToSubscriptionOutput, error) {
  27. req, out := c.AddSourceIdentifierToSubscriptionRequest(input)
  28. err := req.Send()
  29. return out, err
  30. }
  31. const opAddTagsToResource = "AddTagsToResource"
  32. // AddTagsToResourceRequest generates a request for the AddTagsToResource operation.
  33. func (c *RDS) AddTagsToResourceRequest(input *AddTagsToResourceInput) (req *request.Request, output *AddTagsToResourceOutput) {
  34. op := &request.Operation{
  35. Name: opAddTagsToResource,
  36. HTTPMethod: "POST",
  37. HTTPPath: "/",
  38. }
  39. if input == nil {
  40. input = &AddTagsToResourceInput{}
  41. }
  42. req = c.newRequest(op, input, output)
  43. output = &AddTagsToResourceOutput{}
  44. req.Data = output
  45. return
  46. }
  47. // Adds metadata tags to an Amazon RDS resource. These tags can also be used
  48. // with cost allocation reporting to track cost associated with Amazon RDS resources,
  49. // or used in a Condition statement in an IAM policy for Amazon RDS.
  50. //
  51. // For an overview on tagging Amazon RDS resources, see Tagging Amazon RDS
  52. // Resources (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Overview.Tagging.html).
  53. func (c *RDS) AddTagsToResource(input *AddTagsToResourceInput) (*AddTagsToResourceOutput, error) {
  54. req, out := c.AddTagsToResourceRequest(input)
  55. err := req.Send()
  56. return out, err
  57. }
  58. const opApplyPendingMaintenanceAction = "ApplyPendingMaintenanceAction"
  59. // ApplyPendingMaintenanceActionRequest generates a request for the ApplyPendingMaintenanceAction operation.
  60. func (c *RDS) ApplyPendingMaintenanceActionRequest(input *ApplyPendingMaintenanceActionInput) (req *request.Request, output *ApplyPendingMaintenanceActionOutput) {
  61. op := &request.Operation{
  62. Name: opApplyPendingMaintenanceAction,
  63. HTTPMethod: "POST",
  64. HTTPPath: "/",
  65. }
  66. if input == nil {
  67. input = &ApplyPendingMaintenanceActionInput{}
  68. }
  69. req = c.newRequest(op, input, output)
  70. output = &ApplyPendingMaintenanceActionOutput{}
  71. req.Data = output
  72. return
  73. }
  74. // Applies a pending maintenance action to a resource (for example, to a DB
  75. // instance).
  76. func (c *RDS) ApplyPendingMaintenanceAction(input *ApplyPendingMaintenanceActionInput) (*ApplyPendingMaintenanceActionOutput, error) {
  77. req, out := c.ApplyPendingMaintenanceActionRequest(input)
  78. err := req.Send()
  79. return out, err
  80. }
  81. const opAuthorizeDBSecurityGroupIngress = "AuthorizeDBSecurityGroupIngress"
  82. // AuthorizeDBSecurityGroupIngressRequest generates a request for the AuthorizeDBSecurityGroupIngress operation.
  83. func (c *RDS) AuthorizeDBSecurityGroupIngressRequest(input *AuthorizeDBSecurityGroupIngressInput) (req *request.Request, output *AuthorizeDBSecurityGroupIngressOutput) {
  84. op := &request.Operation{
  85. Name: opAuthorizeDBSecurityGroupIngress,
  86. HTTPMethod: "POST",
  87. HTTPPath: "/",
  88. }
  89. if input == nil {
  90. input = &AuthorizeDBSecurityGroupIngressInput{}
  91. }
  92. req = c.newRequest(op, input, output)
  93. output = &AuthorizeDBSecurityGroupIngressOutput{}
  94. req.Data = output
  95. return
  96. }
  97. // Enables ingress to a DBSecurityGroup using one of two forms of authorization.
  98. // First, EC2 or VPC security groups can be added to the DBSecurityGroup if
  99. // the application using the database is running on EC2 or VPC instances. Second,
  100. // IP ranges are available if the application accessing your database is running
  101. // on the Internet. Required parameters for this API are one of CIDR range,
  102. // EC2SecurityGroupId for VPC, or (EC2SecurityGroupOwnerId and either EC2SecurityGroupName
  103. // or EC2SecurityGroupId for non-VPC).
  104. //
  105. // You cannot authorize ingress from an EC2 security group in one region to
  106. // an Amazon RDS DB instance in another. You cannot authorize ingress from a
  107. // VPC security group in one VPC to an Amazon RDS DB instance in another. For
  108. // an overview of CIDR ranges, go to the Wikipedia Tutorial (http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing).
  109. func (c *RDS) AuthorizeDBSecurityGroupIngress(input *AuthorizeDBSecurityGroupIngressInput) (*AuthorizeDBSecurityGroupIngressOutput, error) {
  110. req, out := c.AuthorizeDBSecurityGroupIngressRequest(input)
  111. err := req.Send()
  112. return out, err
  113. }
  114. const opCopyDBClusterSnapshot = "CopyDBClusterSnapshot"
  115. // CopyDBClusterSnapshotRequest generates a request for the CopyDBClusterSnapshot operation.
  116. func (c *RDS) CopyDBClusterSnapshotRequest(input *CopyDBClusterSnapshotInput) (req *request.Request, output *CopyDBClusterSnapshotOutput) {
  117. op := &request.Operation{
  118. Name: opCopyDBClusterSnapshot,
  119. HTTPMethod: "POST",
  120. HTTPPath: "/",
  121. }
  122. if input == nil {
  123. input = &CopyDBClusterSnapshotInput{}
  124. }
  125. req = c.newRequest(op, input, output)
  126. output = &CopyDBClusterSnapshotOutput{}
  127. req.Data = output
  128. return
  129. }
  130. // Creates a snapshot of a DB cluster. For more information on Amazon Aurora,
  131. // see Aurora on Amazon RDS (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Aurora.html)
  132. // in the Amazon RDS User Guide.
  133. func (c *RDS) CopyDBClusterSnapshot(input *CopyDBClusterSnapshotInput) (*CopyDBClusterSnapshotOutput, error) {
  134. req, out := c.CopyDBClusterSnapshotRequest(input)
  135. err := req.Send()
  136. return out, err
  137. }
  138. const opCopyDBParameterGroup = "CopyDBParameterGroup"
  139. // CopyDBParameterGroupRequest generates a request for the CopyDBParameterGroup operation.
  140. func (c *RDS) CopyDBParameterGroupRequest(input *CopyDBParameterGroupInput) (req *request.Request, output *CopyDBParameterGroupOutput) {
  141. op := &request.Operation{
  142. Name: opCopyDBParameterGroup,
  143. HTTPMethod: "POST",
  144. HTTPPath: "/",
  145. }
  146. if input == nil {
  147. input = &CopyDBParameterGroupInput{}
  148. }
  149. req = c.newRequest(op, input, output)
  150. output = &CopyDBParameterGroupOutput{}
  151. req.Data = output
  152. return
  153. }
  154. // Copies the specified DB parameter group.
  155. func (c *RDS) CopyDBParameterGroup(input *CopyDBParameterGroupInput) (*CopyDBParameterGroupOutput, error) {
  156. req, out := c.CopyDBParameterGroupRequest(input)
  157. err := req.Send()
  158. return out, err
  159. }
  160. const opCopyDBSnapshot = "CopyDBSnapshot"
  161. // CopyDBSnapshotRequest generates a request for the CopyDBSnapshot operation.
  162. func (c *RDS) CopyDBSnapshotRequest(input *CopyDBSnapshotInput) (req *request.Request, output *CopyDBSnapshotOutput) {
  163. op := &request.Operation{
  164. Name: opCopyDBSnapshot,
  165. HTTPMethod: "POST",
  166. HTTPPath: "/",
  167. }
  168. if input == nil {
  169. input = &CopyDBSnapshotInput{}
  170. }
  171. req = c.newRequest(op, input, output)
  172. output = &CopyDBSnapshotOutput{}
  173. req.Data = output
  174. return
  175. }
  176. // Copies the specified DBSnapshot. The source DBSnapshot must be in the "available"
  177. // state.
  178. func (c *RDS) CopyDBSnapshot(input *CopyDBSnapshotInput) (*CopyDBSnapshotOutput, error) {
  179. req, out := c.CopyDBSnapshotRequest(input)
  180. err := req.Send()
  181. return out, err
  182. }
  183. const opCopyOptionGroup = "CopyOptionGroup"
  184. // CopyOptionGroupRequest generates a request for the CopyOptionGroup operation.
  185. func (c *RDS) CopyOptionGroupRequest(input *CopyOptionGroupInput) (req *request.Request, output *CopyOptionGroupOutput) {
  186. op := &request.Operation{
  187. Name: opCopyOptionGroup,
  188. HTTPMethod: "POST",
  189. HTTPPath: "/",
  190. }
  191. if input == nil {
  192. input = &CopyOptionGroupInput{}
  193. }
  194. req = c.newRequest(op, input, output)
  195. output = &CopyOptionGroupOutput{}
  196. req.Data = output
  197. return
  198. }
  199. // Copies the specified option group.
  200. func (c *RDS) CopyOptionGroup(input *CopyOptionGroupInput) (*CopyOptionGroupOutput, error) {
  201. req, out := c.CopyOptionGroupRequest(input)
  202. err := req.Send()
  203. return out, err
  204. }
  205. const opCreateDBCluster = "CreateDBCluster"
  206. // CreateDBClusterRequest generates a request for the CreateDBCluster operation.
  207. func (c *RDS) CreateDBClusterRequest(input *CreateDBClusterInput) (req *request.Request, output *CreateDBClusterOutput) {
  208. op := &request.Operation{
  209. Name: opCreateDBCluster,
  210. HTTPMethod: "POST",
  211. HTTPPath: "/",
  212. }
  213. if input == nil {
  214. input = &CreateDBClusterInput{}
  215. }
  216. req = c.newRequest(op, input, output)
  217. output = &CreateDBClusterOutput{}
  218. req.Data = output
  219. return
  220. }
  221. // Creates a new Amazon Aurora DB cluster. For more information on Amazon Aurora,
  222. // see Aurora on Amazon RDS (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Aurora.html)
  223. // in the Amazon RDS User Guide.
  224. func (c *RDS) CreateDBCluster(input *CreateDBClusterInput) (*CreateDBClusterOutput, error) {
  225. req, out := c.CreateDBClusterRequest(input)
  226. err := req.Send()
  227. return out, err
  228. }
  229. const opCreateDBClusterParameterGroup = "CreateDBClusterParameterGroup"
  230. // CreateDBClusterParameterGroupRequest generates a request for the CreateDBClusterParameterGroup operation.
  231. func (c *RDS) CreateDBClusterParameterGroupRequest(input *CreateDBClusterParameterGroupInput) (req *request.Request, output *CreateDBClusterParameterGroupOutput) {
  232. op := &request.Operation{
  233. Name: opCreateDBClusterParameterGroup,
  234. HTTPMethod: "POST",
  235. HTTPPath: "/",
  236. }
  237. if input == nil {
  238. input = &CreateDBClusterParameterGroupInput{}
  239. }
  240. req = c.newRequest(op, input, output)
  241. output = &CreateDBClusterParameterGroupOutput{}
  242. req.Data = output
  243. return
  244. }
  245. // Creates a new DB cluster parameter group.
  246. //
  247. // Parameters in a DB cluster parameter group apply to all of the instances
  248. // in a DB cluster.
  249. //
  250. // A DB cluster parameter group is initially created with the default parameters
  251. // for the database engine used by instances in the DB cluster. To provide custom
  252. // values for any of the parameters, you must modify the group after creating
  253. // it using ModifyDBClusterParameterGroup. Once you've created a DB cluster
  254. // parameter group, you need to associate it with your DB cluster using ModifyDBCluster.
  255. // When you associate a new DB cluster parameter group with a running DB cluster,
  256. // you need to reboot the DB instances in the DB cluster without failover for
  257. // the new DB cluster parameter group and associated settings to take effect.
  258. //
  259. // After you create a DB cluster parameter group, you should wait at least
  260. // 5 minutes before creating your first DB cluster that uses that DB cluster
  261. // parameter group as the default parameter group. This allows Amazon RDS to
  262. // fully complete the create action before the DB cluster parameter group is
  263. // used as the default for a new DB cluster. This is especially important for
  264. // parameters that are critical when creating the default database for a DB
  265. // cluster, such as the character set for the default database defined by the
  266. // character_set_database parameter. You can use the Parameter Groups option
  267. // of the Amazon RDS console (https://console.aws.amazon.com/rds/) or the DescribeDBClusterParameters
  268. // command to verify that your DB cluster parameter group has been created or
  269. // modified.
  270. //
  271. // For more information on Amazon Aurora, see Aurora on Amazon RDS (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Aurora.html)
  272. // in the Amazon RDS User Guide.
  273. func (c *RDS) CreateDBClusterParameterGroup(input *CreateDBClusterParameterGroupInput) (*CreateDBClusterParameterGroupOutput, error) {
  274. req, out := c.CreateDBClusterParameterGroupRequest(input)
  275. err := req.Send()
  276. return out, err
  277. }
  278. const opCreateDBClusterSnapshot = "CreateDBClusterSnapshot"
  279. // CreateDBClusterSnapshotRequest generates a request for the CreateDBClusterSnapshot operation.
  280. func (c *RDS) CreateDBClusterSnapshotRequest(input *CreateDBClusterSnapshotInput) (req *request.Request, output *CreateDBClusterSnapshotOutput) {
  281. op := &request.Operation{
  282. Name: opCreateDBClusterSnapshot,
  283. HTTPMethod: "POST",
  284. HTTPPath: "/",
  285. }
  286. if input == nil {
  287. input = &CreateDBClusterSnapshotInput{}
  288. }
  289. req = c.newRequest(op, input, output)
  290. output = &CreateDBClusterSnapshotOutput{}
  291. req.Data = output
  292. return
  293. }
  294. // Creates a snapshot of a DB cluster. For more information on Amazon Aurora,
  295. // see Aurora on Amazon RDS (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Aurora.html)
  296. // in the Amazon RDS User Guide.
  297. func (c *RDS) CreateDBClusterSnapshot(input *CreateDBClusterSnapshotInput) (*CreateDBClusterSnapshotOutput, error) {
  298. req, out := c.CreateDBClusterSnapshotRequest(input)
  299. err := req.Send()
  300. return out, err
  301. }
  302. const opCreateDBInstance = "CreateDBInstance"
  303. // CreateDBInstanceRequest generates a request for the CreateDBInstance operation.
  304. func (c *RDS) CreateDBInstanceRequest(input *CreateDBInstanceInput) (req *request.Request, output *CreateDBInstanceOutput) {
  305. op := &request.Operation{
  306. Name: opCreateDBInstance,
  307. HTTPMethod: "POST",
  308. HTTPPath: "/",
  309. }
  310. if input == nil {
  311. input = &CreateDBInstanceInput{}
  312. }
  313. req = c.newRequest(op, input, output)
  314. output = &CreateDBInstanceOutput{}
  315. req.Data = output
  316. return
  317. }
  318. // Creates a new DB instance.
  319. func (c *RDS) CreateDBInstance(input *CreateDBInstanceInput) (*CreateDBInstanceOutput, error) {
  320. req, out := c.CreateDBInstanceRequest(input)
  321. err := req.Send()
  322. return out, err
  323. }
  324. const opCreateDBInstanceReadReplica = "CreateDBInstanceReadReplica"
  325. // CreateDBInstanceReadReplicaRequest generates a request for the CreateDBInstanceReadReplica operation.
  326. func (c *RDS) CreateDBInstanceReadReplicaRequest(input *CreateDBInstanceReadReplicaInput) (req *request.Request, output *CreateDBInstanceReadReplicaOutput) {
  327. op := &request.Operation{
  328. Name: opCreateDBInstanceReadReplica,
  329. HTTPMethod: "POST",
  330. HTTPPath: "/",
  331. }
  332. if input == nil {
  333. input = &CreateDBInstanceReadReplicaInput{}
  334. }
  335. req = c.newRequest(op, input, output)
  336. output = &CreateDBInstanceReadReplicaOutput{}
  337. req.Data = output
  338. return
  339. }
  340. // Creates a DB instance for a DB instance running MySQL or PostgreSQL that
  341. // acts as a Read Replica of a source DB instance.
  342. //
  343. // All Read Replica DB instances are created as Single-AZ deployments with
  344. // backups disabled. All other DB instance attributes (including DB security
  345. // groups and DB parameter groups) are inherited from the source DB instance,
  346. // except as specified below.
  347. //
  348. // The source DB instance must have backup retention enabled.
  349. func (c *RDS) CreateDBInstanceReadReplica(input *CreateDBInstanceReadReplicaInput) (*CreateDBInstanceReadReplicaOutput, error) {
  350. req, out := c.CreateDBInstanceReadReplicaRequest(input)
  351. err := req.Send()
  352. return out, err
  353. }
  354. const opCreateDBParameterGroup = "CreateDBParameterGroup"
  355. // CreateDBParameterGroupRequest generates a request for the CreateDBParameterGroup operation.
  356. func (c *RDS) CreateDBParameterGroupRequest(input *CreateDBParameterGroupInput) (req *request.Request, output *CreateDBParameterGroupOutput) {
  357. op := &request.Operation{
  358. Name: opCreateDBParameterGroup,
  359. HTTPMethod: "POST",
  360. HTTPPath: "/",
  361. }
  362. if input == nil {
  363. input = &CreateDBParameterGroupInput{}
  364. }
  365. req = c.newRequest(op, input, output)
  366. output = &CreateDBParameterGroupOutput{}
  367. req.Data = output
  368. return
  369. }
  370. // Creates a new DB parameter group.
  371. //
  372. // A DB parameter group is initially created with the default parameters for
  373. // the database engine used by the DB instance. To provide custom values for
  374. // any of the parameters, you must modify the group after creating it using
  375. // ModifyDBParameterGroup. Once you've created a DB parameter group, you need
  376. // to associate it with your DB instance using ModifyDBInstance. When you associate
  377. // a new DB parameter group with a running DB instance, you need to reboot the
  378. // DB instance without failover for the new DB parameter group and associated
  379. // settings to take effect.
  380. //
  381. // After you create a DB parameter group, you should wait at least 5 minutes
  382. // before creating your first DB instance that uses that DB parameter group
  383. // as the default parameter group. This allows Amazon RDS to fully complete
  384. // the create action before the parameter group is used as the default for a
  385. // new DB instance. This is especially important for parameters that are critical
  386. // when creating the default database for a DB instance, such as the character
  387. // set for the default database defined by the character_set_database parameter.
  388. // You can use the Parameter Groups option of the Amazon RDS console (https://console.aws.amazon.com/rds/)
  389. // or the DescribeDBParameters command to verify that your DB parameter group
  390. // has been created or modified.
  391. func (c *RDS) CreateDBParameterGroup(input *CreateDBParameterGroupInput) (*CreateDBParameterGroupOutput, error) {
  392. req, out := c.CreateDBParameterGroupRequest(input)
  393. err := req.Send()
  394. return out, err
  395. }
  396. const opCreateDBSecurityGroup = "CreateDBSecurityGroup"
  397. // CreateDBSecurityGroupRequest generates a request for the CreateDBSecurityGroup operation.
  398. func (c *RDS) CreateDBSecurityGroupRequest(input *CreateDBSecurityGroupInput) (req *request.Request, output *CreateDBSecurityGroupOutput) {
  399. op := &request.Operation{
  400. Name: opCreateDBSecurityGroup,
  401. HTTPMethod: "POST",
  402. HTTPPath: "/",
  403. }
  404. if input == nil {
  405. input = &CreateDBSecurityGroupInput{}
  406. }
  407. req = c.newRequest(op, input, output)
  408. output = &CreateDBSecurityGroupOutput{}
  409. req.Data = output
  410. return
  411. }
  412. // Creates a new DB security group. DB security groups control access to a DB
  413. // instance.
  414. func (c *RDS) CreateDBSecurityGroup(input *CreateDBSecurityGroupInput) (*CreateDBSecurityGroupOutput, error) {
  415. req, out := c.CreateDBSecurityGroupRequest(input)
  416. err := req.Send()
  417. return out, err
  418. }
  419. const opCreateDBSnapshot = "CreateDBSnapshot"
  420. // CreateDBSnapshotRequest generates a request for the CreateDBSnapshot operation.
  421. func (c *RDS) CreateDBSnapshotRequest(input *CreateDBSnapshotInput) (req *request.Request, output *CreateDBSnapshotOutput) {
  422. op := &request.Operation{
  423. Name: opCreateDBSnapshot,
  424. HTTPMethod: "POST",
  425. HTTPPath: "/",
  426. }
  427. if input == nil {
  428. input = &CreateDBSnapshotInput{}
  429. }
  430. req = c.newRequest(op, input, output)
  431. output = &CreateDBSnapshotOutput{}
  432. req.Data = output
  433. return
  434. }
  435. // Creates a DBSnapshot. The source DBInstance must be in "available" state.
  436. func (c *RDS) CreateDBSnapshot(input *CreateDBSnapshotInput) (*CreateDBSnapshotOutput, error) {
  437. req, out := c.CreateDBSnapshotRequest(input)
  438. err := req.Send()
  439. return out, err
  440. }
  441. const opCreateDBSubnetGroup = "CreateDBSubnetGroup"
  442. // CreateDBSubnetGroupRequest generates a request for the CreateDBSubnetGroup operation.
  443. func (c *RDS) CreateDBSubnetGroupRequest(input *CreateDBSubnetGroupInput) (req *request.Request, output *CreateDBSubnetGroupOutput) {
  444. op := &request.Operation{
  445. Name: opCreateDBSubnetGroup,
  446. HTTPMethod: "POST",
  447. HTTPPath: "/",
  448. }
  449. if input == nil {
  450. input = &CreateDBSubnetGroupInput{}
  451. }
  452. req = c.newRequest(op, input, output)
  453. output = &CreateDBSubnetGroupOutput{}
  454. req.Data = output
  455. return
  456. }
  457. // Creates a new DB subnet group. DB subnet groups must contain at least one
  458. // subnet in at least two AZs in the region.
  459. func (c *RDS) CreateDBSubnetGroup(input *CreateDBSubnetGroupInput) (*CreateDBSubnetGroupOutput, error) {
  460. req, out := c.CreateDBSubnetGroupRequest(input)
  461. err := req.Send()
  462. return out, err
  463. }
  464. const opCreateEventSubscription = "CreateEventSubscription"
  465. // CreateEventSubscriptionRequest generates a request for the CreateEventSubscription operation.
  466. func (c *RDS) CreateEventSubscriptionRequest(input *CreateEventSubscriptionInput) (req *request.Request, output *CreateEventSubscriptionOutput) {
  467. op := &request.Operation{
  468. Name: opCreateEventSubscription,
  469. HTTPMethod: "POST",
  470. HTTPPath: "/",
  471. }
  472. if input == nil {
  473. input = &CreateEventSubscriptionInput{}
  474. }
  475. req = c.newRequest(op, input, output)
  476. output = &CreateEventSubscriptionOutput{}
  477. req.Data = output
  478. return
  479. }
  480. // Creates an RDS event notification subscription. This action requires a topic
  481. // ARN (Amazon Resource Name) created by either the RDS console, the SNS console,
  482. // or the SNS API. To obtain an ARN with SNS, you must create a topic in Amazon
  483. // SNS and subscribe to the topic. The ARN is displayed in the SNS console.
  484. //
  485. // You can specify the type of source (SourceType) you want to be notified
  486. // of, provide a list of RDS sources (SourceIds) that triggers the events, and
  487. // provide a list of event categories (EventCategories) for events you want
  488. // to be notified of. For example, you can specify SourceType = db-instance,
  489. // SourceIds = mydbinstance1, mydbinstance2 and EventCategories = Availability,
  490. // Backup.
  491. //
  492. // If you specify both the SourceType and SourceIds, such as SourceType = db-instance
  493. // and SourceIdentifier = myDBInstance1, you will be notified of all the db-instance
  494. // events for the specified source. If you specify a SourceType but do not specify
  495. // a SourceIdentifier, you will receive notice of the events for that source
  496. // type for all your RDS sources. If you do not specify either the SourceType
  497. // nor the SourceIdentifier, you will be notified of events generated from all
  498. // RDS sources belonging to your customer account.
  499. func (c *RDS) CreateEventSubscription(input *CreateEventSubscriptionInput) (*CreateEventSubscriptionOutput, error) {
  500. req, out := c.CreateEventSubscriptionRequest(input)
  501. err := req.Send()
  502. return out, err
  503. }
  504. const opCreateOptionGroup = "CreateOptionGroup"
  505. // CreateOptionGroupRequest generates a request for the CreateOptionGroup operation.
  506. func (c *RDS) CreateOptionGroupRequest(input *CreateOptionGroupInput) (req *request.Request, output *CreateOptionGroupOutput) {
  507. op := &request.Operation{
  508. Name: opCreateOptionGroup,
  509. HTTPMethod: "POST",
  510. HTTPPath: "/",
  511. }
  512. if input == nil {
  513. input = &CreateOptionGroupInput{}
  514. }
  515. req = c.newRequest(op, input, output)
  516. output = &CreateOptionGroupOutput{}
  517. req.Data = output
  518. return
  519. }
  520. // Creates a new option group. You can create up to 20 option groups.
  521. func (c *RDS) CreateOptionGroup(input *CreateOptionGroupInput) (*CreateOptionGroupOutput, error) {
  522. req, out := c.CreateOptionGroupRequest(input)
  523. err := req.Send()
  524. return out, err
  525. }
  526. const opDeleteDBCluster = "DeleteDBCluster"
  527. // DeleteDBClusterRequest generates a request for the DeleteDBCluster operation.
  528. func (c *RDS) DeleteDBClusterRequest(input *DeleteDBClusterInput) (req *request.Request, output *DeleteDBClusterOutput) {
  529. op := &request.Operation{
  530. Name: opDeleteDBCluster,
  531. HTTPMethod: "POST",
  532. HTTPPath: "/",
  533. }
  534. if input == nil {
  535. input = &DeleteDBClusterInput{}
  536. }
  537. req = c.newRequest(op, input, output)
  538. output = &DeleteDBClusterOutput{}
  539. req.Data = output
  540. return
  541. }
  542. // The DeleteDBCluster action deletes a previously provisioned DB cluster. A
  543. // successful response from the web service indicates the request was received
  544. // correctly. When you delete a DB cluster, all automated backups for that DB
  545. // cluster are deleted and cannot be recovered. Manual DB cluster snapshots
  546. // of the DB cluster to be deleted are not deleted.
  547. //
  548. // For more information on Amazon Aurora, see Aurora on Amazon RDS (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Aurora.html)
  549. // in the Amazon RDS User Guide.
  550. func (c *RDS) DeleteDBCluster(input *DeleteDBClusterInput) (*DeleteDBClusterOutput, error) {
  551. req, out := c.DeleteDBClusterRequest(input)
  552. err := req.Send()
  553. return out, err
  554. }
  555. const opDeleteDBClusterParameterGroup = "DeleteDBClusterParameterGroup"
  556. // DeleteDBClusterParameterGroupRequest generates a request for the DeleteDBClusterParameterGroup operation.
  557. func (c *RDS) DeleteDBClusterParameterGroupRequest(input *DeleteDBClusterParameterGroupInput) (req *request.Request, output *DeleteDBClusterParameterGroupOutput) {
  558. op := &request.Operation{
  559. Name: opDeleteDBClusterParameterGroup,
  560. HTTPMethod: "POST",
  561. HTTPPath: "/",
  562. }
  563. if input == nil {
  564. input = &DeleteDBClusterParameterGroupInput{}
  565. }
  566. req = c.newRequest(op, input, output)
  567. output = &DeleteDBClusterParameterGroupOutput{}
  568. req.Data = output
  569. return
  570. }
  571. // Deletes a specified DB cluster parameter group. The DB cluster parameter
  572. // group to be deleted cannot be associated with any DB clusters.
  573. //
  574. // For more information on Amazon Aurora, see Aurora on Amazon RDS (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Aurora.html)
  575. // in the Amazon RDS User Guide.
  576. func (c *RDS) DeleteDBClusterParameterGroup(input *DeleteDBClusterParameterGroupInput) (*DeleteDBClusterParameterGroupOutput, error) {
  577. req, out := c.DeleteDBClusterParameterGroupRequest(input)
  578. err := req.Send()
  579. return out, err
  580. }
  581. const opDeleteDBClusterSnapshot = "DeleteDBClusterSnapshot"
  582. // DeleteDBClusterSnapshotRequest generates a request for the DeleteDBClusterSnapshot operation.
  583. func (c *RDS) DeleteDBClusterSnapshotRequest(input *DeleteDBClusterSnapshotInput) (req *request.Request, output *DeleteDBClusterSnapshotOutput) {
  584. op := &request.Operation{
  585. Name: opDeleteDBClusterSnapshot,
  586. HTTPMethod: "POST",
  587. HTTPPath: "/",
  588. }
  589. if input == nil {
  590. input = &DeleteDBClusterSnapshotInput{}
  591. }
  592. req = c.newRequest(op, input, output)
  593. output = &DeleteDBClusterSnapshotOutput{}
  594. req.Data = output
  595. return
  596. }
  597. // Deletes a DB cluster snapshot. If the snapshot is being copied, the copy
  598. // operation is terminated.
  599. //
  600. // The DB cluster snapshot must be in the available state to be deleted. For
  601. // more information on Amazon Aurora, see Aurora on Amazon RDS (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Aurora.html)
  602. // in the Amazon RDS User Guide.
  603. func (c *RDS) DeleteDBClusterSnapshot(input *DeleteDBClusterSnapshotInput) (*DeleteDBClusterSnapshotOutput, error) {
  604. req, out := c.DeleteDBClusterSnapshotRequest(input)
  605. err := req.Send()
  606. return out, err
  607. }
  608. const opDeleteDBInstance = "DeleteDBInstance"
  609. // DeleteDBInstanceRequest generates a request for the DeleteDBInstance operation.
  610. func (c *RDS) DeleteDBInstanceRequest(input *DeleteDBInstanceInput) (req *request.Request, output *DeleteDBInstanceOutput) {
  611. op := &request.Operation{
  612. Name: opDeleteDBInstance,
  613. HTTPMethod: "POST",
  614. HTTPPath: "/",
  615. }
  616. if input == nil {
  617. input = &DeleteDBInstanceInput{}
  618. }
  619. req = c.newRequest(op, input, output)
  620. output = &DeleteDBInstanceOutput{}
  621. req.Data = output
  622. return
  623. }
  624. // The DeleteDBInstance action deletes a previously provisioned DB instance.
  625. // A successful response from the web service indicates the request was received
  626. // correctly. When you delete a DB instance, all automated backups for that
  627. // instance are deleted and cannot be recovered. Manual DB snapshots of the
  628. // DB instance to be deleted are not deleted.
  629. //
  630. // If a final DB snapshot is requested the status of the RDS instance will
  631. // be "deleting" until the DB snapshot is created. The API action DescribeDBInstance
  632. // is used to monitor the status of this operation. The action cannot be canceled
  633. // or reverted once submitted.
  634. //
  635. // Note that when a DB instance is in a failure state and has a status of 'failed',
  636. // 'incompatible-restore', or 'incompatible-network', it can only be deleted
  637. // when the SkipFinalSnapshot parameter is set to "true".
  638. func (c *RDS) DeleteDBInstance(input *DeleteDBInstanceInput) (*DeleteDBInstanceOutput, error) {
  639. req, out := c.DeleteDBInstanceRequest(input)
  640. err := req.Send()
  641. return out, err
  642. }
  643. const opDeleteDBParameterGroup = "DeleteDBParameterGroup"
  644. // DeleteDBParameterGroupRequest generates a request for the DeleteDBParameterGroup operation.
  645. func (c *RDS) DeleteDBParameterGroupRequest(input *DeleteDBParameterGroupInput) (req *request.Request, output *DeleteDBParameterGroupOutput) {
  646. op := &request.Operation{
  647. Name: opDeleteDBParameterGroup,
  648. HTTPMethod: "POST",
  649. HTTPPath: "/",
  650. }
  651. if input == nil {
  652. input = &DeleteDBParameterGroupInput{}
  653. }
  654. req = c.newRequest(op, input, output)
  655. output = &DeleteDBParameterGroupOutput{}
  656. req.Data = output
  657. return
  658. }
  659. // Deletes a specified DBParameterGroup. The DBParameterGroup to be deleted
  660. // cannot be associated with any DB instances.
  661. func (c *RDS) DeleteDBParameterGroup(input *DeleteDBParameterGroupInput) (*DeleteDBParameterGroupOutput, error) {
  662. req, out := c.DeleteDBParameterGroupRequest(input)
  663. err := req.Send()
  664. return out, err
  665. }
  666. const opDeleteDBSecurityGroup = "DeleteDBSecurityGroup"
  667. // DeleteDBSecurityGroupRequest generates a request for the DeleteDBSecurityGroup operation.
  668. func (c *RDS) DeleteDBSecurityGroupRequest(input *DeleteDBSecurityGroupInput) (req *request.Request, output *DeleteDBSecurityGroupOutput) {
  669. op := &request.Operation{
  670. Name: opDeleteDBSecurityGroup,
  671. HTTPMethod: "POST",
  672. HTTPPath: "/",
  673. }
  674. if input == nil {
  675. input = &DeleteDBSecurityGroupInput{}
  676. }
  677. req = c.newRequest(op, input, output)
  678. output = &DeleteDBSecurityGroupOutput{}
  679. req.Data = output
  680. return
  681. }
  682. // Deletes a DB security group.
  683. //
  684. // The specified DB security group must not be associated with any DB instances.
  685. func (c *RDS) DeleteDBSecurityGroup(input *DeleteDBSecurityGroupInput) (*DeleteDBSecurityGroupOutput, error) {
  686. req, out := c.DeleteDBSecurityGroupRequest(input)
  687. err := req.Send()
  688. return out, err
  689. }
  690. const opDeleteDBSnapshot = "DeleteDBSnapshot"
  691. // DeleteDBSnapshotRequest generates a request for the DeleteDBSnapshot operation.
  692. func (c *RDS) DeleteDBSnapshotRequest(input *DeleteDBSnapshotInput) (req *request.Request, output *DeleteDBSnapshotOutput) {
  693. op := &request.Operation{
  694. Name: opDeleteDBSnapshot,
  695. HTTPMethod: "POST",
  696. HTTPPath: "/",
  697. }
  698. if input == nil {
  699. input = &DeleteDBSnapshotInput{}
  700. }
  701. req = c.newRequest(op, input, output)
  702. output = &DeleteDBSnapshotOutput{}
  703. req.Data = output
  704. return
  705. }
  706. // Deletes a DBSnapshot. If the snapshot is being copied, the copy operation
  707. // is terminated.
  708. //
  709. // The DBSnapshot must be in the available state to be deleted.
  710. func (c *RDS) DeleteDBSnapshot(input *DeleteDBSnapshotInput) (*DeleteDBSnapshotOutput, error) {
  711. req, out := c.DeleteDBSnapshotRequest(input)
  712. err := req.Send()
  713. return out, err
  714. }
  715. const opDeleteDBSubnetGroup = "DeleteDBSubnetGroup"
  716. // DeleteDBSubnetGroupRequest generates a request for the DeleteDBSubnetGroup operation.
  717. func (c *RDS) DeleteDBSubnetGroupRequest(input *DeleteDBSubnetGroupInput) (req *request.Request, output *DeleteDBSubnetGroupOutput) {
  718. op := &request.Operation{
  719. Name: opDeleteDBSubnetGroup,
  720. HTTPMethod: "POST",
  721. HTTPPath: "/",
  722. }
  723. if input == nil {
  724. input = &DeleteDBSubnetGroupInput{}
  725. }
  726. req = c.newRequest(op, input, output)
  727. output = &DeleteDBSubnetGroupOutput{}
  728. req.Data = output
  729. return
  730. }
  731. // Deletes a DB subnet group.
  732. //
  733. // The specified database subnet group must not be associated with any DB instances.
  734. func (c *RDS) DeleteDBSubnetGroup(input *DeleteDBSubnetGroupInput) (*DeleteDBSubnetGroupOutput, error) {
  735. req, out := c.DeleteDBSubnetGroupRequest(input)
  736. err := req.Send()
  737. return out, err
  738. }
  739. const opDeleteEventSubscription = "DeleteEventSubscription"
  740. // DeleteEventSubscriptionRequest generates a request for the DeleteEventSubscription operation.
  741. func (c *RDS) DeleteEventSubscriptionRequest(input *DeleteEventSubscriptionInput) (req *request.Request, output *DeleteEventSubscriptionOutput) {
  742. op := &request.Operation{
  743. Name: opDeleteEventSubscription,
  744. HTTPMethod: "POST",
  745. HTTPPath: "/",
  746. }
  747. if input == nil {
  748. input = &DeleteEventSubscriptionInput{}
  749. }
  750. req = c.newRequest(op, input, output)
  751. output = &DeleteEventSubscriptionOutput{}
  752. req.Data = output
  753. return
  754. }
  755. // Deletes an RDS event notification subscription.
  756. func (c *RDS) DeleteEventSubscription(input *DeleteEventSubscriptionInput) (*DeleteEventSubscriptionOutput, error) {
  757. req, out := c.DeleteEventSubscriptionRequest(input)
  758. err := req.Send()
  759. return out, err
  760. }
  761. const opDeleteOptionGroup = "DeleteOptionGroup"
  762. // DeleteOptionGroupRequest generates a request for the DeleteOptionGroup operation.
  763. func (c *RDS) DeleteOptionGroupRequest(input *DeleteOptionGroupInput) (req *request.Request, output *DeleteOptionGroupOutput) {
  764. op := &request.Operation{
  765. Name: opDeleteOptionGroup,
  766. HTTPMethod: "POST",
  767. HTTPPath: "/",
  768. }
  769. if input == nil {
  770. input = &DeleteOptionGroupInput{}
  771. }
  772. req = c.newRequest(op, input, output)
  773. output = &DeleteOptionGroupOutput{}
  774. req.Data = output
  775. return
  776. }
  777. // Deletes an existing option group.
  778. func (c *RDS) DeleteOptionGroup(input *DeleteOptionGroupInput) (*DeleteOptionGroupOutput, error) {
  779. req, out := c.DeleteOptionGroupRequest(input)
  780. err := req.Send()
  781. return out, err
  782. }
  783. const opDescribeAccountAttributes = "DescribeAccountAttributes"
  784. // DescribeAccountAttributesRequest generates a request for the DescribeAccountAttributes operation.
  785. func (c *RDS) DescribeAccountAttributesRequest(input *DescribeAccountAttributesInput) (req *request.Request, output *DescribeAccountAttributesOutput) {
  786. op := &request.Operation{
  787. Name: opDescribeAccountAttributes,
  788. HTTPMethod: "POST",
  789. HTTPPath: "/",
  790. }
  791. if input == nil {
  792. input = &DescribeAccountAttributesInput{}
  793. }
  794. req = c.newRequest(op, input, output)
  795. output = &DescribeAccountAttributesOutput{}
  796. req.Data = output
  797. return
  798. }
  799. // Lists all of the attributes for a customer account. The attributes include
  800. // Amazon RDS quotas for the account, such as the number of DB instances allowed.
  801. // The description for a quota includes the quota name, current usage toward
  802. // that quota, and the quota's maximum value.
  803. //
  804. // This command does not take any parameters.
  805. func (c *RDS) DescribeAccountAttributes(input *DescribeAccountAttributesInput) (*DescribeAccountAttributesOutput, error) {
  806. req, out := c.DescribeAccountAttributesRequest(input)
  807. err := req.Send()
  808. return out, err
  809. }
  810. const opDescribeCertificates = "DescribeCertificates"
  811. // DescribeCertificatesRequest generates a request for the DescribeCertificates operation.
  812. func (c *RDS) DescribeCertificatesRequest(input *DescribeCertificatesInput) (req *request.Request, output *DescribeCertificatesOutput) {
  813. op := &request.Operation{
  814. Name: opDescribeCertificates,
  815. HTTPMethod: "POST",
  816. HTTPPath: "/",
  817. }
  818. if input == nil {
  819. input = &DescribeCertificatesInput{}
  820. }
  821. req = c.newRequest(op, input, output)
  822. output = &DescribeCertificatesOutput{}
  823. req.Data = output
  824. return
  825. }
  826. // Lists the set of CA certificates provided by Amazon RDS for this AWS account.
  827. func (c *RDS) DescribeCertificates(input *DescribeCertificatesInput) (*DescribeCertificatesOutput, error) {
  828. req, out := c.DescribeCertificatesRequest(input)
  829. err := req.Send()
  830. return out, err
  831. }
  832. const opDescribeDBClusterParameterGroups = "DescribeDBClusterParameterGroups"
  833. // DescribeDBClusterParameterGroupsRequest generates a request for the DescribeDBClusterParameterGroups operation.
  834. func (c *RDS) DescribeDBClusterParameterGroupsRequest(input *DescribeDBClusterParameterGroupsInput) (req *request.Request, output *DescribeDBClusterParameterGroupsOutput) {
  835. op := &request.Operation{
  836. Name: opDescribeDBClusterParameterGroups,
  837. HTTPMethod: "POST",
  838. HTTPPath: "/",
  839. }
  840. if input == nil {
  841. input = &DescribeDBClusterParameterGroupsInput{}
  842. }
  843. req = c.newRequest(op, input, output)
  844. output = &DescribeDBClusterParameterGroupsOutput{}
  845. req.Data = output
  846. return
  847. }
  848. // Returns a list of DBClusterParameterGroup descriptions. If a DBClusterParameterGroupName
  849. // parameter is specified, the list will contain only the description of the
  850. // specified DB cluster parameter group.
  851. //
  852. // For more information on Amazon Aurora, see Aurora on Amazon RDS (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Aurora.html)
  853. // in the Amazon RDS User Guide.
  854. func (c *RDS) DescribeDBClusterParameterGroups(input *DescribeDBClusterParameterGroupsInput) (*DescribeDBClusterParameterGroupsOutput, error) {
  855. req, out := c.DescribeDBClusterParameterGroupsRequest(input)
  856. err := req.Send()
  857. return out, err
  858. }
  859. const opDescribeDBClusterParameters = "DescribeDBClusterParameters"
  860. // DescribeDBClusterParametersRequest generates a request for the DescribeDBClusterParameters operation.
  861. func (c *RDS) DescribeDBClusterParametersRequest(input *DescribeDBClusterParametersInput) (req *request.Request, output *DescribeDBClusterParametersOutput) {
  862. op := &request.Operation{
  863. Name: opDescribeDBClusterParameters,
  864. HTTPMethod: "POST",
  865. HTTPPath: "/",
  866. }
  867. if input == nil {
  868. input = &DescribeDBClusterParametersInput{}
  869. }
  870. req = c.newRequest(op, input, output)
  871. output = &DescribeDBClusterParametersOutput{}
  872. req.Data = output
  873. return
  874. }
  875. // Returns the detailed parameter list for a particular DB cluster parameter
  876. // group.
  877. //
  878. // For more information on Amazon Aurora, see Aurora on Amazon RDS (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Aurora.html)
  879. // in the Amazon RDS User Guide.
  880. func (c *RDS) DescribeDBClusterParameters(input *DescribeDBClusterParametersInput) (*DescribeDBClusterParametersOutput, error) {
  881. req, out := c.DescribeDBClusterParametersRequest(input)
  882. err := req.Send()
  883. return out, err
  884. }
  885. const opDescribeDBClusterSnapshots = "DescribeDBClusterSnapshots"
  886. // DescribeDBClusterSnapshotsRequest generates a request for the DescribeDBClusterSnapshots operation.
  887. func (c *RDS) DescribeDBClusterSnapshotsRequest(input *DescribeDBClusterSnapshotsInput) (req *request.Request, output *DescribeDBClusterSnapshotsOutput) {
  888. op := &request.Operation{
  889. Name: opDescribeDBClusterSnapshots,
  890. HTTPMethod: "POST",
  891. HTTPPath: "/",
  892. }
  893. if input == nil {
  894. input = &DescribeDBClusterSnapshotsInput{}
  895. }
  896. req = c.newRequest(op, input, output)
  897. output = &DescribeDBClusterSnapshotsOutput{}
  898. req.Data = output
  899. return
  900. }
  901. // Returns information about DB cluster snapshots. This API supports pagination.
  902. //
  903. // For more information on Amazon Aurora, see Aurora on Amazon RDS (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Aurora.html)
  904. // in the Amazon RDS User Guide.
  905. func (c *RDS) DescribeDBClusterSnapshots(input *DescribeDBClusterSnapshotsInput) (*DescribeDBClusterSnapshotsOutput, error) {
  906. req, out := c.DescribeDBClusterSnapshotsRequest(input)
  907. err := req.Send()
  908. return out, err
  909. }
  910. const opDescribeDBClusters = "DescribeDBClusters"
  911. // DescribeDBClustersRequest generates a request for the DescribeDBClusters operation.
  912. func (c *RDS) DescribeDBClustersRequest(input *DescribeDBClustersInput) (req *request.Request, output *DescribeDBClustersOutput) {
  913. op := &request.Operation{
  914. Name: opDescribeDBClusters,
  915. HTTPMethod: "POST",
  916. HTTPPath: "/",
  917. }
  918. if input == nil {
  919. input = &DescribeDBClustersInput{}
  920. }
  921. req = c.newRequest(op, input, output)
  922. output = &DescribeDBClustersOutput{}
  923. req.Data = output
  924. return
  925. }
  926. // Returns information about provisioned Aurora DB clusters. This API supports
  927. // pagination.
  928. //
  929. // For more information on Amazon Aurora, see Aurora on Amazon RDS (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Aurora.html)
  930. // in the Amazon RDS User Guide.
  931. func (c *RDS) DescribeDBClusters(input *DescribeDBClustersInput) (*DescribeDBClustersOutput, error) {
  932. req, out := c.DescribeDBClustersRequest(input)
  933. err := req.Send()
  934. return out, err
  935. }
  936. const opDescribeDBEngineVersions = "DescribeDBEngineVersions"
  937. // DescribeDBEngineVersionsRequest generates a request for the DescribeDBEngineVersions operation.
  938. func (c *RDS) DescribeDBEngineVersionsRequest(input *DescribeDBEngineVersionsInput) (req *request.Request, output *DescribeDBEngineVersionsOutput) {
  939. op := &request.Operation{
  940. Name: opDescribeDBEngineVersions,
  941. HTTPMethod: "POST",
  942. HTTPPath: "/",
  943. Paginator: &request.Paginator{
  944. InputTokens: []string{"Marker"},
  945. OutputTokens: []string{"Marker"},
  946. LimitToken: "MaxRecords",
  947. TruncationToken: "",
  948. },
  949. }
  950. if input == nil {
  951. input = &DescribeDBEngineVersionsInput{}
  952. }
  953. req = c.newRequest(op, input, output)
  954. output = &DescribeDBEngineVersionsOutput{}
  955. req.Data = output
  956. return
  957. }
  958. // Returns a list of the available DB engines.
  959. func (c *RDS) DescribeDBEngineVersions(input *DescribeDBEngineVersionsInput) (*DescribeDBEngineVersionsOutput, error) {
  960. req, out := c.DescribeDBEngineVersionsRequest(input)
  961. err := req.Send()
  962. return out, err
  963. }
  964. func (c *RDS) DescribeDBEngineVersionsPages(input *DescribeDBEngineVersionsInput, fn func(p *DescribeDBEngineVersionsOutput, lastPage bool) (shouldContinue bool)) error {
  965. page, _ := c.DescribeDBEngineVersionsRequest(input)
  966. return page.EachPage(func(p interface{}, lastPage bool) bool {
  967. return fn(p.(*DescribeDBEngineVersionsOutput), lastPage)
  968. })
  969. }
  970. const opDescribeDBInstances = "DescribeDBInstances"
  971. // DescribeDBInstancesRequest generates a request for the DescribeDBInstances operation.
  972. func (c *RDS) DescribeDBInstancesRequest(input *DescribeDBInstancesInput) (req *request.Request, output *DescribeDBInstancesOutput) {
  973. op := &request.Operation{
  974. Name: opDescribeDBInstances,
  975. HTTPMethod: "POST",
  976. HTTPPath: "/",
  977. Paginator: &request.Paginator{
  978. InputTokens: []string{"Marker"},
  979. OutputTokens: []string{"Marker"},
  980. LimitToken: "MaxRecords",
  981. TruncationToken: "",
  982. },
  983. }
  984. if input == nil {
  985. input = &DescribeDBInstancesInput{}
  986. }
  987. req = c.newRequest(op, input, output)
  988. output = &DescribeDBInstancesOutput{}
  989. req.Data = output
  990. return
  991. }
  992. // Returns information about provisioned RDS instances. This API supports pagination.
  993. func (c *RDS) DescribeDBInstances(input *DescribeDBInstancesInput) (*DescribeDBInstancesOutput, error) {
  994. req, out := c.DescribeDBInstancesRequest(input)
  995. err := req.Send()
  996. return out, err
  997. }
  998. func (c *RDS) DescribeDBInstancesPages(input *DescribeDBInstancesInput, fn func(p *DescribeDBInstancesOutput, lastPage bool) (shouldContinue bool)) error {
  999. page, _ := c.DescribeDBInstancesRequest(input)
  1000. return page.EachPage(func(p interface{}, lastPage bool) bool {
  1001. return fn(p.(*DescribeDBInstancesOutput), lastPage)
  1002. })
  1003. }
  1004. const opDescribeDBLogFiles = "DescribeDBLogFiles"
  1005. // DescribeDBLogFilesRequest generates a request for the DescribeDBLogFiles operation.
  1006. func (c *RDS) DescribeDBLogFilesRequest(input *DescribeDBLogFilesInput) (req *request.Request, output *DescribeDBLogFilesOutput) {
  1007. op := &request.Operation{
  1008. Name: opDescribeDBLogFiles,
  1009. HTTPMethod: "POST",
  1010. HTTPPath: "/",
  1011. Paginator: &request.Paginator{
  1012. InputTokens: []string{"Marker"},
  1013. OutputTokens: []string{"Marker"},
  1014. LimitToken: "MaxRecords",
  1015. TruncationToken: "",
  1016. },
  1017. }
  1018. if input == nil {
  1019. input = &DescribeDBLogFilesInput{}
  1020. }
  1021. req = c.newRequest(op, input, output)
  1022. output = &DescribeDBLogFilesOutput{}
  1023. req.Data = output
  1024. return
  1025. }
  1026. // Returns a list of DB log files for the DB instance.
  1027. func (c *RDS) DescribeDBLogFiles(input *DescribeDBLogFilesInput) (*DescribeDBLogFilesOutput, error) {
  1028. req, out := c.DescribeDBLogFilesRequest(input)
  1029. err := req.Send()
  1030. return out, err
  1031. }
  1032. func (c *RDS) DescribeDBLogFilesPages(input *DescribeDBLogFilesInput, fn func(p *DescribeDBLogFilesOutput, lastPage bool) (shouldContinue bool)) error {
  1033. page, _ := c.DescribeDBLogFilesRequest(input)
  1034. return page.EachPage(func(p interface{}, lastPage bool) bool {
  1035. return fn(p.(*DescribeDBLogFilesOutput), lastPage)
  1036. })
  1037. }
  1038. const opDescribeDBParameterGroups = "DescribeDBParameterGroups"
  1039. // DescribeDBParameterGroupsRequest generates a request for the DescribeDBParameterGroups operation.
  1040. func (c *RDS) DescribeDBParameterGroupsRequest(input *DescribeDBParameterGroupsInput) (req *request.Request, output *DescribeDBParameterGroupsOutput) {
  1041. op := &request.Operation{
  1042. Name: opDescribeDBParameterGroups,
  1043. HTTPMethod: "POST",
  1044. HTTPPath: "/",
  1045. Paginator: &request.Paginator{
  1046. InputTokens: []string{"Marker"},
  1047. OutputTokens: []string{"Marker"},
  1048. LimitToken: "MaxRecords",
  1049. TruncationToken: "",
  1050. },
  1051. }
  1052. if input == nil {
  1053. input = &DescribeDBParameterGroupsInput{}
  1054. }
  1055. req = c.newRequest(op, input, output)
  1056. output = &DescribeDBParameterGroupsOutput{}
  1057. req.Data = output
  1058. return
  1059. }
  1060. // Returns a list of DBParameterGroup descriptions. If a DBParameterGroupName
  1061. // is specified, the list will contain only the description of the specified
  1062. // DB parameter group.
  1063. func (c *RDS) DescribeDBParameterGroups(input *DescribeDBParameterGroupsInput) (*DescribeDBParameterGroupsOutput, error) {
  1064. req, out := c.DescribeDBParameterGroupsRequest(input)
  1065. err := req.Send()
  1066. return out, err
  1067. }
  1068. func (c *RDS) DescribeDBParameterGroupsPages(input *DescribeDBParameterGroupsInput, fn func(p *DescribeDBParameterGroupsOutput, lastPage bool) (shouldContinue bool)) error {
  1069. page, _ := c.DescribeDBParameterGroupsRequest(input)
  1070. return page.EachPage(func(p interface{}, lastPage bool) bool {
  1071. return fn(p.(*DescribeDBParameterGroupsOutput), lastPage)
  1072. })
  1073. }
  1074. const opDescribeDBParameters = "DescribeDBParameters"
  1075. // DescribeDBParametersRequest generates a request for the DescribeDBParameters operation.
  1076. func (c *RDS) DescribeDBParametersRequest(input *DescribeDBParametersInput) (req *request.Request, output *DescribeDBParametersOutput) {
  1077. op := &request.Operation{
  1078. Name: opDescribeDBParameters,
  1079. HTTPMethod: "POST",
  1080. HTTPPath: "/",
  1081. Paginator: &request.Paginator{
  1082. InputTokens: []string{"Marker"},
  1083. OutputTokens: []string{"Marker"},
  1084. LimitToken: "MaxRecords",
  1085. TruncationToken: "",
  1086. },
  1087. }
  1088. if input == nil {
  1089. input = &DescribeDBParametersInput{}
  1090. }
  1091. req = c.newRequest(op, input, output)
  1092. output = &DescribeDBParametersOutput{}
  1093. req.Data = output
  1094. return
  1095. }
  1096. // Returns the detailed parameter list for a particular DB parameter group.
  1097. func (c *RDS) DescribeDBParameters(input *DescribeDBParametersInput) (*DescribeDBParametersOutput, error) {
  1098. req, out := c.DescribeDBParametersRequest(input)
  1099. err := req.Send()
  1100. return out, err
  1101. }
  1102. func (c *RDS) DescribeDBParametersPages(input *DescribeDBParametersInput, fn func(p *DescribeDBParametersOutput, lastPage bool) (shouldContinue bool)) error {
  1103. page, _ := c.DescribeDBParametersRequest(input)
  1104. return page.EachPage(func(p interface{}, lastPage bool) bool {
  1105. return fn(p.(*DescribeDBParametersOutput), lastPage)
  1106. })
  1107. }
  1108. const opDescribeDBSecurityGroups = "DescribeDBSecurityGroups"
  1109. // DescribeDBSecurityGroupsRequest generates a request for the DescribeDBSecurityGroups operation.
  1110. func (c *RDS) DescribeDBSecurityGroupsRequest(input *DescribeDBSecurityGroupsInput) (req *request.Request, output *DescribeDBSecurityGroupsOutput) {
  1111. op := &request.Operation{
  1112. Name: opDescribeDBSecurityGroups,
  1113. HTTPMethod: "POST",
  1114. HTTPPath: "/",
  1115. Paginator: &request.Paginator{
  1116. InputTokens: []string{"Marker"},
  1117. OutputTokens: []string{"Marker"},
  1118. LimitToken: "MaxRecords",
  1119. TruncationToken: "",
  1120. },
  1121. }
  1122. if input == nil {
  1123. input = &DescribeDBSecurityGroupsInput{}
  1124. }
  1125. req = c.newRequest(op, input, output)
  1126. output = &DescribeDBSecurityGroupsOutput{}
  1127. req.Data = output
  1128. return
  1129. }
  1130. // Returns a list of DBSecurityGroup descriptions. If a DBSecurityGroupName
  1131. // is specified, the list will contain only the descriptions of the specified
  1132. // DB security group.
  1133. func (c *RDS) DescribeDBSecurityGroups(input *DescribeDBSecurityGroupsInput) (*DescribeDBSecurityGroupsOutput, error) {
  1134. req, out := c.DescribeDBSecurityGroupsRequest(input)
  1135. err := req.Send()
  1136. return out, err
  1137. }
  1138. func (c *RDS) DescribeDBSecurityGroupsPages(input *DescribeDBSecurityGroupsInput, fn func(p *DescribeDBSecurityGroupsOutput, lastPage bool) (shouldContinue bool)) error {
  1139. page, _ := c.DescribeDBSecurityGroupsRequest(input)
  1140. return page.EachPage(func(p interface{}, lastPage bool) bool {
  1141. return fn(p.(*DescribeDBSecurityGroupsOutput), lastPage)
  1142. })
  1143. }
  1144. const opDescribeDBSnapshots = "DescribeDBSnapshots"
  1145. // DescribeDBSnapshotsRequest generates a request for the DescribeDBSnapshots operation.
  1146. func (c *RDS) DescribeDBSnapshotsRequest(input *DescribeDBSnapshotsInput) (req *request.Request, output *DescribeDBSnapshotsOutput) {
  1147. op := &request.Operation{
  1148. Name: opDescribeDBSnapshots,
  1149. HTTPMethod: "POST",
  1150. HTTPPath: "/",
  1151. Paginator: &request.Paginator{
  1152. InputTokens: []string{"Marker"},
  1153. OutputTokens: []string{"Marker"},
  1154. LimitToken: "MaxRecords",
  1155. TruncationToken: "",
  1156. },
  1157. }
  1158. if input == nil {
  1159. input = &DescribeDBSnapshotsInput{}
  1160. }
  1161. req = c.newRequest(op, input, output)
  1162. output = &DescribeDBSnapshotsOutput{}
  1163. req.Data = output
  1164. return
  1165. }
  1166. // Returns information about DB snapshots. This API supports pagination.
  1167. func (c *RDS) DescribeDBSnapshots(input *DescribeDBSnapshotsInput) (*DescribeDBSnapshotsOutput, error) {
  1168. req, out := c.DescribeDBSnapshotsRequest(input)
  1169. err := req.Send()
  1170. return out, err
  1171. }
  1172. func (c *RDS) DescribeDBSnapshotsPages(input *DescribeDBSnapshotsInput, fn func(p *DescribeDBSnapshotsOutput, lastPage bool) (shouldContinue bool)) error {
  1173. page, _ := c.DescribeDBSnapshotsRequest(input)
  1174. return page.EachPage(func(p interface{}, lastPage bool) bool {
  1175. return fn(p.(*DescribeDBSnapshotsOutput), lastPage)
  1176. })
  1177. }
  1178. const opDescribeDBSubnetGroups = "DescribeDBSubnetGroups"
  1179. // DescribeDBSubnetGroupsRequest generates a request for the DescribeDBSubnetGroups operation.
  1180. func (c *RDS) DescribeDBSubnetGroupsRequest(input *DescribeDBSubnetGroupsInput) (req *request.Request, output *DescribeDBSubnetGroupsOutput) {
  1181. op := &request.Operation{
  1182. Name: opDescribeDBSubnetGroups,
  1183. HTTPMethod: "POST",
  1184. HTTPPath: "/",
  1185. Paginator: &request.Paginator{
  1186. InputTokens: []string{"Marker"},
  1187. OutputTokens: []string{"Marker"},
  1188. LimitToken: "MaxRecords",
  1189. TruncationToken: "",
  1190. },
  1191. }
  1192. if input == nil {
  1193. input = &DescribeDBSubnetGroupsInput{}
  1194. }
  1195. req = c.newRequest(op, input, output)
  1196. output = &DescribeDBSubnetGroupsOutput{}
  1197. req.Data = output
  1198. return
  1199. }
  1200. // Returns a list of DBSubnetGroup descriptions. If a DBSubnetGroupName is specified,
  1201. // the list will contain only the descriptions of the specified DBSubnetGroup.
  1202. //
  1203. // For an overview of CIDR ranges, go to the Wikipedia Tutorial (http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing).
  1204. func (c *RDS) DescribeDBSubnetGroups(input *DescribeDBSubnetGroupsInput) (*DescribeDBSubnetGroupsOutput, error) {
  1205. req, out := c.DescribeDBSubnetGroupsRequest(input)
  1206. err := req.Send()
  1207. return out, err
  1208. }
  1209. func (c *RDS) DescribeDBSubnetGroupsPages(input *DescribeDBSubnetGroupsInput, fn func(p *DescribeDBSubnetGroupsOutput, lastPage bool) (shouldContinue bool)) error {
  1210. page, _ := c.DescribeDBSubnetGroupsRequest(input)
  1211. return page.EachPage(func(p interface{}, lastPage bool) bool {
  1212. return fn(p.(*DescribeDBSubnetGroupsOutput), lastPage)
  1213. })
  1214. }
  1215. const opDescribeEngineDefaultClusterParameters = "DescribeEngineDefaultClusterParameters"
  1216. // DescribeEngineDefaultClusterParametersRequest generates a request for the DescribeEngineDefaultClusterParameters operation.
  1217. func (c *RDS) DescribeEngineDefaultClusterParametersRequest(input *DescribeEngineDefaultClusterParametersInput) (req *request.Request, output *DescribeEngineDefaultClusterParametersOutput) {
  1218. op := &request.Operation{
  1219. Name: opDescribeEngineDefaultClusterParameters,
  1220. HTTPMethod: "POST",
  1221. HTTPPath: "/",
  1222. }
  1223. if input == nil {
  1224. input = &DescribeEngineDefaultClusterParametersInput{}
  1225. }
  1226. req = c.newRequest(op, input, output)
  1227. output = &DescribeEngineDefaultClusterParametersOutput{}
  1228. req.Data = output
  1229. return
  1230. }
  1231. // Returns the default engine and system parameter information for the cluster
  1232. // database engine.
  1233. //
  1234. // For more information on Amazon Aurora, see Aurora on Amazon RDS (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Aurora.html)
  1235. // in the Amazon RDS User Guide.
  1236. func (c *RDS) DescribeEngineDefaultClusterParameters(input *DescribeEngineDefaultClusterParametersInput) (*DescribeEngineDefaultClusterParametersOutput, error) {
  1237. req, out := c.DescribeEngineDefaultClusterParametersRequest(input)
  1238. err := req.Send()
  1239. return out, err
  1240. }
  1241. const opDescribeEngineDefaultParameters = "DescribeEngineDefaultParameters"
  1242. // DescribeEngineDefaultParametersRequest generates a request for the DescribeEngineDefaultParameters operation.
  1243. func (c *RDS) DescribeEngineDefaultParametersRequest(input *DescribeEngineDefaultParametersInput) (req *request.Request, output *DescribeEngineDefaultParametersOutput) {
  1244. op := &request.Operation{
  1245. Name: opDescribeEngineDefaultParameters,
  1246. HTTPMethod: "POST",
  1247. HTTPPath: "/",
  1248. Paginator: &request.Paginator{
  1249. InputTokens: []string{"Marker"},
  1250. OutputTokens: []string{"EngineDefaults.Marker"},
  1251. LimitToken: "MaxRecords",
  1252. TruncationToken: "",
  1253. },
  1254. }
  1255. if input == nil {
  1256. input = &DescribeEngineDefaultParametersInput{}
  1257. }
  1258. req = c.newRequest(op, input, output)
  1259. output = &DescribeEngineDefaultParametersOutput{}
  1260. req.Data = output
  1261. return
  1262. }
  1263. // Returns the default engine and system parameter information for the specified
  1264. // database engine.
  1265. func (c *RDS) DescribeEngineDefaultParameters(input *DescribeEngineDefaultParametersInput) (*DescribeEngineDefaultParametersOutput, error) {
  1266. req, out := c.DescribeEngineDefaultParametersRequest(input)
  1267. err := req.Send()
  1268. return out, err
  1269. }
  1270. func (c *RDS) DescribeEngineDefaultParametersPages(input *DescribeEngineDefaultParametersInput, fn func(p *DescribeEngineDefaultParametersOutput, lastPage bool) (shouldContinue bool)) error {
  1271. page, _ := c.DescribeEngineDefaultParametersRequest(input)
  1272. return page.EachPage(func(p interface{}, lastPage bool) bool {
  1273. return fn(p.(*DescribeEngineDefaultParametersOutput), lastPage)
  1274. })
  1275. }
  1276. const opDescribeEventCategories = "DescribeEventCategories"
  1277. // DescribeEventCategoriesRequest generates a request for the DescribeEventCategories operation.
  1278. func (c *RDS) DescribeEventCategoriesRequest(input *DescribeEventCategoriesInput) (req *request.Request, output *DescribeEventCategoriesOutput) {
  1279. op := &request.Operation{
  1280. Name: opDescribeEventCategories,
  1281. HTTPMethod: "POST",
  1282. HTTPPath: "/",
  1283. }
  1284. if input == nil {
  1285. input = &DescribeEventCategoriesInput{}
  1286. }
  1287. req = c.newRequest(op, input, output)
  1288. output = &DescribeEventCategoriesOutput{}
  1289. req.Data = output
  1290. return
  1291. }
  1292. // Displays a list of categories for all event source types, or, if specified,
  1293. // for a specified source type. You can see a list of the event categories and
  1294. // source types in the Events (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Events.html)
  1295. // topic in the Amazon RDS User Guide.
  1296. func (c *RDS) DescribeEventCategories(input *DescribeEventCategoriesInput) (*DescribeEventCategoriesOutput, error) {
  1297. req, out := c.DescribeEventCategoriesRequest(input)
  1298. err := req.Send()
  1299. return out, err
  1300. }
  1301. const opDescribeEventSubscriptions = "DescribeEventSubscriptions"
  1302. // DescribeEventSubscriptionsRequest generates a request for the DescribeEventSubscriptions operation.
  1303. func (c *RDS) DescribeEventSubscriptionsRequest(input *DescribeEventSubscriptionsInput) (req *request.Request, output *DescribeEventSubscriptionsOutput) {
  1304. op := &request.Operation{
  1305. Name: opDescribeEventSubscriptions,
  1306. HTTPMethod: "POST",
  1307. HTTPPath: "/",
  1308. Paginator: &request.Paginator{
  1309. InputTokens: []string{"Marker"},
  1310. OutputTokens: []string{"Marker"},
  1311. LimitToken: "MaxRecords",
  1312. TruncationToken: "",
  1313. },
  1314. }
  1315. if input == nil {
  1316. input = &DescribeEventSubscriptionsInput{}
  1317. }
  1318. req = c.newRequest(op, input, output)
  1319. output = &DescribeEventSubscriptionsOutput{}
  1320. req.Data = output
  1321. return
  1322. }
  1323. // Lists all the subscription descriptions for a customer account. The description
  1324. // for a subscription includes SubscriptionName, SNSTopicARN, CustomerID, SourceType,
  1325. // SourceID, CreationTime, and Status.
  1326. //
  1327. // If you specify a SubscriptionName, lists the description for that subscription.
  1328. func (c *RDS) DescribeEventSubscriptions(input *DescribeEventSubscriptionsInput) (*DescribeEventSubscriptionsOutput, error) {
  1329. req, out := c.DescribeEventSubscriptionsRequest(input)
  1330. err := req.Send()
  1331. return out, err
  1332. }
  1333. func (c *RDS) DescribeEventSubscriptionsPages(input *DescribeEventSubscriptionsInput, fn func(p *DescribeEventSubscriptionsOutput, lastPage bool) (shouldContinue bool)) error {
  1334. page, _ := c.DescribeEventSubscriptionsRequest(input)
  1335. return page.EachPage(func(p interface{}, lastPage bool) bool {
  1336. return fn(p.(*DescribeEventSubscriptionsOutput), lastPage)
  1337. })
  1338. }
  1339. const opDescribeEvents = "DescribeEvents"
  1340. // DescribeEventsRequest generates a request for the DescribeEvents operation.
  1341. func (c *RDS) DescribeEventsRequest(input *DescribeEventsInput) (req *request.Request, output *DescribeEventsOutput) {
  1342. op := &request.Operation{
  1343. Name: opDescribeEvents,
  1344. HTTPMethod: "POST",
  1345. HTTPPath: "/",
  1346. Paginator: &request.Paginator{
  1347. InputTokens: []string{"Marker"},
  1348. OutputTokens: []string{"Marker"},
  1349. LimitToken: "MaxRecords",
  1350. TruncationToken: "",
  1351. },
  1352. }
  1353. if input == nil {
  1354. input = &DescribeEventsInput{}
  1355. }
  1356. req = c.newRequest(op, input, output)
  1357. output = &DescribeEventsOutput{}
  1358. req.Data = output
  1359. return
  1360. }
  1361. // Returns events related to DB instances, DB security groups, DB snapshots,
  1362. // and DB parameter groups for the past 14 days. Events specific to a particular
  1363. // DB instance, DB security group, database snapshot, or DB parameter group
  1364. // can be obtained by providing the name as a parameter. By default, the past
  1365. // hour of events are returned.
  1366. func (c *RDS) DescribeEvents(input *DescribeEventsInput) (*DescribeEventsOutput, error) {
  1367. req, out := c.DescribeEventsRequest(input)
  1368. err := req.Send()
  1369. return out, err
  1370. }
  1371. func (c *RDS) DescribeEventsPages(input *DescribeEventsInput, fn func(p *DescribeEventsOutput, lastPage bool) (shouldContinue bool)) error {
  1372. page, _ := c.DescribeEventsRequest(input)
  1373. return page.EachPage(func(p interface{}, lastPage bool) bool {
  1374. return fn(p.(*DescribeEventsOutput), lastPage)
  1375. })
  1376. }
  1377. const opDescribeOptionGroupOptions = "DescribeOptionGroupOptions"
  1378. // DescribeOptionGroupOptionsRequest generates a request for the DescribeOptionGroupOptions operation.
  1379. func (c *RDS) DescribeOptionGroupOptionsRequest(input *DescribeOptionGroupOptionsInput) (req *request.Request, output *DescribeOptionGroupOptionsOutput) {
  1380. op := &request.Operation{
  1381. Name: opDescribeOptionGroupOptions,
  1382. HTTPMethod: "POST",
  1383. HTTPPath: "/",
  1384. Paginator: &request.Paginator{
  1385. InputTokens: []string{"Marker"},
  1386. OutputTokens: []string{"Marker"},
  1387. LimitToken: "MaxRecords",
  1388. TruncationToken: "",
  1389. },
  1390. }
  1391. if input == nil {
  1392. input = &DescribeOptionGroupOptionsInput{}
  1393. }
  1394. req = c.newRequest(op, input, output)
  1395. output = &DescribeOptionGroupOptionsOutput{}
  1396. req.Data = output
  1397. return
  1398. }
  1399. // Describes all available options.
  1400. func (c *RDS) DescribeOptionGroupOptions(input *DescribeOptionGroupOptionsInput) (*DescribeOptionGroupOptionsOutput, error) {
  1401. req, out := c.DescribeOptionGroupOptionsRequest(input)
  1402. err := req.Send()
  1403. return out, err
  1404. }
  1405. func (c *RDS) DescribeOptionGroupOptionsPages(input *DescribeOptionGroupOptionsInput, fn func(p *DescribeOptionGroupOptionsOutput, lastPage bool) (shouldContinue bool)) error {
  1406. page, _ := c.DescribeOptionGroupOptionsRequest(input)
  1407. return page.EachPage(func(p interface{}, lastPage bool) bool {
  1408. return fn(p.(*DescribeOptionGroupOptionsOutput), lastPage)
  1409. })
  1410. }
  1411. const opDescribeOptionGroups = "DescribeOptionGroups"
  1412. // DescribeOptionGroupsRequest generates a request for the DescribeOptionGroups operation.
  1413. func (c *RDS) DescribeOptionGroupsRequest(input *DescribeOptionGroupsInput) (req *request.Request, output *DescribeOptionGroupsOutput) {
  1414. op := &request.Operation{
  1415. Name: opDescribeOptionGroups,
  1416. HTTPMethod: "POST",
  1417. HTTPPath: "/",
  1418. Paginator: &request.Paginator{
  1419. InputTokens: []string{"Marker"},
  1420. OutputTokens: []string{"Marker"},
  1421. LimitToken: "MaxRecords",
  1422. TruncationToken: "",
  1423. },
  1424. }
  1425. if input == nil {
  1426. input = &DescribeOptionGroupsInput{}
  1427. }
  1428. req = c.newRequest(op, input, output)
  1429. output = &DescribeOptionGroupsOutput{}
  1430. req.Data = output
  1431. return
  1432. }
  1433. // Describes the available option groups.
  1434. func (c *RDS) DescribeOptionGroups(input *DescribeOptionGroupsInput) (*DescribeOptionGroupsOutput, error) {
  1435. req, out := c.DescribeOptionGroupsRequest(input)
  1436. err := req.Send()
  1437. return out, err
  1438. }
  1439. func (c *RDS) DescribeOptionGroupsPages(input *DescribeOptionGroupsInput, fn func(p *DescribeOptionGroupsOutput, lastPage bool) (shouldContinue bool)) error {
  1440. page, _ := c.DescribeOptionGroupsRequest(input)
  1441. return page.EachPage(func(p interface{}, lastPage bool) bool {
  1442. return fn(p.(*DescribeOptionGroupsOutput), lastPage)
  1443. })
  1444. }
  1445. const opDescribeOrderableDBInstanceOptions = "DescribeOrderableDBInstanceOptions"
  1446. // DescribeOrderableDBInstanceOptionsRequest generates a request for the DescribeOrderableDBInstanceOptions operation.
  1447. func (c *RDS) DescribeOrderableDBInstanceOptionsRequest(input *DescribeOrderableDBInstanceOptionsInput) (req *request.Request, output *DescribeOrderableDBInstanceOptionsOutput) {
  1448. op := &request.Operation{
  1449. Name: opDescribeOrderableDBInstanceOptions,
  1450. HTTPMethod: "POST",
  1451. HTTPPath: "/",
  1452. Paginator: &request.Paginator{
  1453. InputTokens: []string{"Marker"},
  1454. OutputTokens: []string{"Marker"},
  1455. LimitToken: "MaxRecords",
  1456. TruncationToken: "",
  1457. },
  1458. }
  1459. if input == nil {
  1460. input = &DescribeOrderableDBInstanceOptionsInput{}
  1461. }
  1462. req = c.newRequest(op, input, output)
  1463. output = &DescribeOrderableDBInstanceOptionsOutput{}
  1464. req.Data = output
  1465. return
  1466. }
  1467. // Returns a list of orderable DB instance options for the specified engine.
  1468. func (c *RDS) DescribeOrderableDBInstanceOptions(input *DescribeOrderableDBInstanceOptionsInput) (*DescribeOrderableDBInstanceOptionsOutput, error) {
  1469. req, out := c.DescribeOrderableDBInstanceOptionsRequest(input)
  1470. err := req.Send()
  1471. return out, err
  1472. }
  1473. func (c *RDS) DescribeOrderableDBInstanceOptionsPages(input *DescribeOrderableDBInstanceOptionsInput, fn func(p *DescribeOrderableDBInstanceOptionsOutput, lastPage bool) (shouldContinue bool)) error {
  1474. page, _ := c.DescribeOrderableDBInstanceOptionsRequest(input)
  1475. return page.EachPage(func(p interface{}, lastPage bool) bool {
  1476. return fn(p.(*DescribeOrderableDBInstanceOptionsOutput), lastPage)
  1477. })
  1478. }
  1479. const opDescribePendingMaintenanceActions = "DescribePendingMaintenanceActions"
  1480. // DescribePendingMaintenanceActionsRequest generates a request for the DescribePendingMaintenanceActions operation.
  1481. func (c *RDS) DescribePendingMaintenanceActionsRequest(input *DescribePendingMaintenanceActionsInput) (req *request.Request, output *DescribePendingMaintenanceActionsOutput) {
  1482. op := &request.Operation{
  1483. Name: opDescribePendingMaintenanceActions,
  1484. HTTPMethod: "POST",
  1485. HTTPPath: "/",
  1486. }
  1487. if input == nil {
  1488. input = &DescribePendingMaintenanceActionsInput{}
  1489. }
  1490. req = c.newRequest(op, input, output)
  1491. output = &DescribePendingMaintenanceActionsOutput{}
  1492. req.Data = output
  1493. return
  1494. }
  1495. // Returns a list of resources (for example, DB instances) that have at least
  1496. // one pending maintenance action.
  1497. func (c *RDS) DescribePendingMaintenanceActions(input *DescribePendingMaintenanceActionsInput) (*DescribePendingMaintenanceActionsOutput, error) {
  1498. req, out := c.DescribePendingMaintenanceActionsRequest(input)
  1499. err := req.Send()
  1500. return out, err
  1501. }
  1502. const opDescribeReservedDBInstances = "DescribeReservedDBInstances"
  1503. // DescribeReservedDBInstancesRequest generates a request for the DescribeReservedDBInstances operation.
  1504. func (c *RDS) DescribeReservedDBInstancesRequest(input *DescribeReservedDBInstancesInput) (req *request.Request, output *DescribeReservedDBInstancesOutput) {
  1505. op := &request.Operation{
  1506. Name: opDescribeReservedDBInstances,
  1507. HTTPMethod: "POST",
  1508. HTTPPath: "/",
  1509. Paginator: &request.Paginator{
  1510. InputTokens: []string{"Marker"},
  1511. OutputTokens: []string{"Marker"},
  1512. LimitToken: "MaxRecords",
  1513. TruncationToken: "",
  1514. },
  1515. }
  1516. if input == nil {
  1517. input = &DescribeReservedDBInstancesInput{}
  1518. }
  1519. req = c.newRequest(op, input, output)
  1520. output = &DescribeReservedDBInstancesOutput{}
  1521. req.Data = output
  1522. return
  1523. }
  1524. // Returns information about reserved DB instances for this account, or about
  1525. // a specified reserved DB instance.
  1526. func (c *RDS) DescribeReservedDBInstances(input *DescribeReservedDBInstancesInput) (*DescribeReservedDBInstancesOutput, error) {
  1527. req, out := c.DescribeReservedDBInstancesRequest(input)
  1528. err := req.Send()
  1529. return out, err
  1530. }
  1531. func (c *RDS) DescribeReservedDBInstancesPages(input *DescribeReservedDBInstancesInput, fn func(p *DescribeReservedDBInstancesOutput, lastPage bool) (shouldContinue bool)) error {
  1532. page, _ := c.DescribeReservedDBInstancesRequest(input)
  1533. return page.EachPage(func(p interface{}, lastPage bool) bool {
  1534. return fn(p.(*DescribeReservedDBInstancesOutput), lastPage)
  1535. })
  1536. }
  1537. const opDescribeReservedDBInstancesOfferings = "DescribeReservedDBInstancesOfferings"
  1538. // DescribeReservedDBInstancesOfferingsRequest generates a request for the DescribeReservedDBInstancesOfferings operation.
  1539. func (c *RDS) DescribeReservedDBInstancesOfferingsRequest(input *DescribeReservedDBInstancesOfferingsInput) (req *request.Request, output *DescribeReservedDBInstancesOfferingsOutput) {
  1540. op := &request.Operation{
  1541. Name: opDescribeReservedDBInstancesOfferings,
  1542. HTTPMethod: "POST",
  1543. HTTPPath: "/",
  1544. Paginator: &request.Paginator{
  1545. InputTokens: []string{"Marker"},
  1546. OutputTokens: []string{"Marker"},
  1547. LimitToken: "MaxRecords",
  1548. TruncationToken: "",
  1549. },
  1550. }
  1551. if input == nil {
  1552. input = &DescribeReservedDBInstancesOfferingsInput{}
  1553. }
  1554. req = c.newRequest(op, input, output)
  1555. output = &DescribeReservedDBInstancesOfferingsOutput{}
  1556. req.Data = output
  1557. return
  1558. }
  1559. // Lists available reserved DB instance offerings.
  1560. func (c *RDS) DescribeReservedDBInstancesOfferings(input *DescribeReservedDBInstancesOfferingsInput) (*DescribeReservedDBInstancesOfferingsOutput, error) {
  1561. req, out := c.DescribeReservedDBInstancesOfferingsRequest(input)
  1562. err := req.Send()
  1563. return out, err
  1564. }
  1565. func (c *RDS) DescribeReservedDBInstancesOfferingsPages(input *DescribeReservedDBInstancesOfferingsInput, fn func(p *DescribeReservedDBInstancesOfferingsOutput, lastPage bool) (shouldContinue bool)) error {
  1566. page, _ := c.DescribeReservedDBInstancesOfferingsRequest(input)
  1567. return page.EachPage(func(p interface{}, lastPage bool) bool {
  1568. return fn(p.(*DescribeReservedDBInstancesOfferingsOutput), lastPage)
  1569. })
  1570. }
  1571. const opDownloadDBLogFilePortion = "DownloadDBLogFilePortion"
  1572. // DownloadDBLogFilePortionRequest generates a request for the DownloadDBLogFilePortion operation.
  1573. func (c *RDS) DownloadDBLogFilePortionRequest(input *DownloadDBLogFilePortionInput) (req *request.Request, output *DownloadDBLogFilePortionOutput) {
  1574. op := &request.Operation{
  1575. Name: opDownloadDBLogFilePortion,
  1576. HTTPMethod: "POST",
  1577. HTTPPath: "/",
  1578. Paginator: &request.Paginator{
  1579. InputTokens: []string{"Marker"},
  1580. OutputTokens: []string{"Marker"},
  1581. LimitToken: "NumberOfLines",
  1582. TruncationToken: "AdditionalDataPending",
  1583. },
  1584. }
  1585. if input == nil {
  1586. input = &DownloadDBLogFilePortionInput{}
  1587. }
  1588. req = c.newRequest(op, input, output)
  1589. output = &DownloadDBLogFilePortionOutput{}
  1590. req.Data = output
  1591. return
  1592. }
  1593. // Downloads all or a portion of the specified log file, up to 1 MB in size.
  1594. func (c *RDS) DownloadDBLogFilePortion(input *DownloadDBLogFilePortionInput) (*DownloadDBLogFilePortionOutput, error) {
  1595. req, out := c.DownloadDBLogFilePortionRequest(input)
  1596. err := req.Send()
  1597. return out, err
  1598. }
  1599. func (c *RDS) DownloadDBLogFilePortionPages(input *DownloadDBLogFilePortionInput, fn func(p *DownloadDBLogFilePortionOutput, lastPage bool) (shouldContinue bool)) error {
  1600. page, _ := c.DownloadDBLogFilePortionRequest(input)
  1601. return page.EachPage(func(p interface{}, lastPage bool) bool {
  1602. return fn(p.(*DownloadDBLogFilePortionOutput), lastPage)
  1603. })
  1604. }
  1605. const opFailoverDBCluster = "FailoverDBCluster"
  1606. // FailoverDBClusterRequest generates a request for the FailoverDBCluster operation.
  1607. func (c *RDS) FailoverDBClusterRequest(input *FailoverDBClusterInput) (req *request.Request, output *FailoverDBClusterOutput) {
  1608. op := &request.Operation{
  1609. Name: opFailoverDBCluster,
  1610. HTTPMethod: "POST",
  1611. HTTPPath: "/",
  1612. }
  1613. if input == nil {
  1614. input = &FailoverDBClusterInput{}
  1615. }
  1616. req = c.newRequest(op, input, output)
  1617. output = &FailoverDBClusterOutput{}
  1618. req.Data = output
  1619. return
  1620. }
  1621. // Forces a failover for a DB cluster.
  1622. //
  1623. // A failover for a DB cluster promotes one of the read-only instances in the
  1624. // DB cluster to the master DB instance (the cluster writer) and deletes the
  1625. // current primary instance.
  1626. //
  1627. // Amazon Aurora will automatically fail over to a read-only instance, if one
  1628. // exists, when the primary instance fails. You can force a failover when you
  1629. // want to simulate a failure of a DB instance for testing. Because each instance
  1630. // in a DB cluster has its own endpoint address, you will need to clean up and
  1631. // re-establish any existing connections that use those endpoint addresses when
  1632. // the failover is complete.
  1633. //
  1634. // For more information on Amazon Aurora, see Aurora on Amazon RDS (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Aurora.html)
  1635. // in the Amazon RDS User Guide.
  1636. func (c *RDS) FailoverDBCluster(input *FailoverDBClusterInput) (*FailoverDBClusterOutput, error) {
  1637. req, out := c.FailoverDBClusterRequest(input)
  1638. err := req.Send()
  1639. return out, err
  1640. }
  1641. const opListTagsForResource = "ListTagsForResource"
  1642. // ListTagsForResourceRequest generates a request for the ListTagsForResource operation.
  1643. func (c *RDS) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) {
  1644. op := &request.Operation{
  1645. Name: opListTagsForResource,
  1646. HTTPMethod: "POST",
  1647. HTTPPath: "/",
  1648. }
  1649. if input == nil {
  1650. input = &ListTagsForResourceInput{}
  1651. }
  1652. req = c.newRequest(op, input, output)
  1653. output = &ListTagsForResourceOutput{}
  1654. req.Data = output
  1655. return
  1656. }
  1657. // Lists all tags on an Amazon RDS resource.
  1658. //
  1659. // For an overview on tagging an Amazon RDS resource, see Tagging Amazon RDS
  1660. // Resources (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Overview.Tagging.html).
  1661. func (c *RDS) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) {
  1662. req, out := c.ListTagsForResourceRequest(input)
  1663. err := req.Send()
  1664. return out, err
  1665. }
  1666. const opModifyDBCluster = "ModifyDBCluster"
  1667. // ModifyDBClusterRequest generates a request for the ModifyDBCluster operation.
  1668. func (c *RDS) ModifyDBClusterRequest(input *ModifyDBClusterInput) (req *request.Request, output *ModifyDBClusterOutput) {
  1669. op := &request.Operation{
  1670. Name: opModifyDBCluster,
  1671. HTTPMethod: "POST",
  1672. HTTPPath: "/",
  1673. }
  1674. if input == nil {
  1675. input = &ModifyDBClusterInput{}
  1676. }
  1677. req = c.newRequest(op, input, output)
  1678. output = &ModifyDBClusterOutput{}
  1679. req.Data = output
  1680. return
  1681. }
  1682. // Modify a setting for an Amazon Aurora DB cluster. You can change one or more
  1683. // database configuration parameters by specifying these parameters and the
  1684. // new values in the request. For more information on Amazon Aurora, see Aurora
  1685. // on Amazon RDS (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Aurora.html)
  1686. // in the Amazon RDS User Guide.
  1687. func (c *RDS) ModifyDBCluster(input *ModifyDBClusterInput) (*ModifyDBClusterOutput, error) {
  1688. req, out := c.ModifyDBClusterRequest(input)
  1689. err := req.Send()
  1690. return out, err
  1691. }
  1692. const opModifyDBClusterParameterGroup = "ModifyDBClusterParameterGroup"
  1693. // ModifyDBClusterParameterGroupRequest generates a request for the ModifyDBClusterParameterGroup operation.
  1694. func (c *RDS) ModifyDBClusterParameterGroupRequest(input *ModifyDBClusterParameterGroupInput) (req *request.Request, output *DBClusterParameterGroupNameMessage) {
  1695. op := &request.Operation{
  1696. Name: opModifyDBClusterParameterGroup,
  1697. HTTPMethod: "POST",
  1698. HTTPPath: "/",
  1699. }
  1700. if input == nil {
  1701. input = &ModifyDBClusterParameterGroupInput{}
  1702. }
  1703. req = c.newRequest(op, input, output)
  1704. output = &DBClusterParameterGroupNameMessage{}
  1705. req.Data = output
  1706. return
  1707. }
  1708. // Modifies the parameters of a DB cluster parameter group. To modify more than
  1709. // one parameter, submit a list of the following: ParameterName, ParameterValue,
  1710. // and ApplyMethod. A maximum of 20 parameters can be modified in a single request.
  1711. //
  1712. // For more information on Amazon Aurora, see Aurora on Amazon RDS (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Aurora.html)
  1713. // in the Amazon RDS User Guide.
  1714. //
  1715. // Changes to dynamic parameters are applied immediately. Changes to static
  1716. // parameters require a reboot without failover to the DB cluster associated
  1717. // with the parameter group before the change can take effect.
  1718. //
  1719. // After you create a DB cluster parameter group, you should wait at least
  1720. // 5 minutes before creating your first DB cluster that uses that DB cluster
  1721. // parameter group as the default parameter group. This allows Amazon RDS to
  1722. // fully complete the create action before the parameter group is used as the
  1723. // default for a new DB cluster. This is especially important for parameters
  1724. // that are critical when creating the default database for a DB cluster, such
  1725. // as the character set for the default database defined by the character_set_database
  1726. // parameter. You can use the Parameter Groups option of the Amazon RDS console
  1727. // (https://console.aws.amazon.com/rds/) or the DescribeDBClusterParameters
  1728. // command to verify that your DB cluster parameter group has been created or
  1729. // modified.
  1730. func (c *RDS) ModifyDBClusterParameterGroup(input *ModifyDBClusterParameterGroupInput) (*DBClusterParameterGroupNameMessage, error) {
  1731. req, out := c.ModifyDBClusterParameterGroupRequest(input)
  1732. err := req.Send()
  1733. return out, err
  1734. }
  1735. const opModifyDBInstance = "ModifyDBInstance"
  1736. // ModifyDBInstanceRequest generates a request for the ModifyDBInstance operation.
  1737. func (c *RDS) ModifyDBInstanceRequest(input *ModifyDBInstanceInput) (req *request.Request, output *ModifyDBInstanceOutput) {
  1738. op := &request.Operation{
  1739. Name: opModifyDBInstance,
  1740. HTTPMethod: "POST",
  1741. HTTPPath: "/",
  1742. }
  1743. if input == nil {
  1744. input = &ModifyDBInstanceInput{}
  1745. }
  1746. req = c.newRequest(op, input, output)
  1747. output = &ModifyDBInstanceOutput{}
  1748. req.Data = output
  1749. return
  1750. }
  1751. // Modify settings for a DB instance. You can change one or more database configuration
  1752. // parameters by specifying these parameters and the new values in the request.
  1753. func (c *RDS) ModifyDBInstance(input *ModifyDBInstanceInput) (*ModifyDBInstanceOutput, error) {
  1754. req, out := c.ModifyDBInstanceRequest(input)
  1755. err := req.Send()
  1756. return out, err
  1757. }
  1758. const opModifyDBParameterGroup = "ModifyDBParameterGroup"
  1759. // ModifyDBParameterGroupRequest generates a request for the ModifyDBParameterGroup operation.
  1760. func (c *RDS) ModifyDBParameterGroupRequest(input *ModifyDBParameterGroupInput) (req *request.Request, output *DBParameterGroupNameMessage) {
  1761. op := &request.Operation{
  1762. Name: opModifyDBParameterGroup,
  1763. HTTPMethod: "POST",
  1764. HTTPPath: "/",
  1765. }
  1766. if input == nil {
  1767. input = &ModifyDBParameterGroupInput{}
  1768. }
  1769. req = c.newRequest(op, input, output)
  1770. output = &DBParameterGroupNameMessage{}
  1771. req.Data = output
  1772. return
  1773. }
  1774. // Modifies the parameters of a DB parameter group. To modify more than one
  1775. // parameter, submit a list of the following: ParameterName, ParameterValue,
  1776. // and ApplyMethod. A maximum of 20 parameters can be modified in a single request.
  1777. //
  1778. // Changes to dynamic parameters are applied immediately. Changes to static
  1779. // parameters require a reboot without failover to the DB instance associated
  1780. // with the parameter group before the change can take effect.
  1781. //
  1782. // After you modify a DB parameter group, you should wait at least 5 minutes
  1783. // before creating your first DB instance that uses that DB parameter group
  1784. // as the default parameter group. This allows Amazon RDS to fully complete
  1785. // the modify action before the parameter group is used as the default for a
  1786. // new DB instance. This is especially important for parameters that are critical
  1787. // when creating the default database for a DB instance, such as the character
  1788. // set for the default database defined by the character_set_database parameter.
  1789. // You can use the Parameter Groups option of the Amazon RDS console (https://console.aws.amazon.com/rds/)
  1790. // or the DescribeDBParameters command to verify that your DB parameter group
  1791. // has been created or modified.
  1792. func (c *RDS) ModifyDBParameterGroup(input *ModifyDBParameterGroupInput) (*DBParameterGroupNameMessage, error) {
  1793. req, out := c.ModifyDBParameterGroupRequest(input)
  1794. err := req.Send()
  1795. return out, err
  1796. }
  1797. const opModifyDBSubnetGroup = "ModifyDBSubnetGroup"
  1798. // ModifyDBSubnetGroupRequest generates a request for the ModifyDBSubnetGroup operation.
  1799. func (c *RDS) ModifyDBSubnetGroupRequest(input *ModifyDBSubnetGroupInput) (req *request.Request, output *ModifyDBSubnetGroupOutput) {
  1800. op := &request.Operation{
  1801. Name: opModifyDBSubnetGroup,
  1802. HTTPMethod: "POST",
  1803. HTTPPath: "/",
  1804. }
  1805. if input == nil {
  1806. input = &ModifyDBSubnetGroupInput{}
  1807. }
  1808. req = c.newRequest(op, input, output)
  1809. output = &ModifyDBSubnetGroupOutput{}
  1810. req.Data = output
  1811. return
  1812. }
  1813. // Modifies an existing DB subnet group. DB subnet groups must contain at least
  1814. // one subnet in at least two AZs in the region.
  1815. func (c *RDS) ModifyDBSubnetGroup(input *ModifyDBSubnetGroupInput) (*ModifyDBSubnetGroupOutput, error) {
  1816. req, out := c.ModifyDBSubnetGroupRequest(input)
  1817. err := req.Send()
  1818. return out, err
  1819. }
  1820. const opModifyEventSubscription = "ModifyEventSubscription"
  1821. // ModifyEventSubscriptionRequest generates a request for the ModifyEventSubscription operation.
  1822. func (c *RDS) ModifyEventSubscriptionRequest(input *ModifyEventSubscriptionInput) (req *request.Request, output *ModifyEventSubscriptionOutput) {
  1823. op := &request.Operation{
  1824. Name: opModifyEventSubscription,
  1825. HTTPMethod: "POST",
  1826. HTTPPath: "/",
  1827. }
  1828. if input == nil {
  1829. input = &ModifyEventSubscriptionInput{}
  1830. }
  1831. req = c.newRequest(op, input, output)
  1832. output = &ModifyEventSubscriptionOutput{}
  1833. req.Data = output
  1834. return
  1835. }
  1836. // Modifies an existing RDS event notification subscription. Note that you cannot
  1837. // modify the source identifiers using this call; to change source identifiers
  1838. // for a subscription, use the AddSourceIdentifierToSubscription and RemoveSourceIdentifierFromSubscription
  1839. // calls.
  1840. //
  1841. // You can see a list of the event categories for a given SourceType in the
  1842. // Events (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Events.html)
  1843. // topic in the Amazon RDS User Guide or by using the DescribeEventCategories
  1844. // action.
  1845. func (c *RDS) ModifyEventSubscription(input *ModifyEventSubscriptionInput) (*ModifyEventSubscriptionOutput, error) {
  1846. req, out := c.ModifyEventSubscriptionRequest(input)
  1847. err := req.Send()
  1848. return out, err
  1849. }
  1850. const opModifyOptionGroup = "ModifyOptionGroup"
  1851. // ModifyOptionGroupRequest generates a request for the ModifyOptionGroup operation.
  1852. func (c *RDS) ModifyOptionGroupRequest(input *ModifyOptionGroupInput) (req *request.Request, output *ModifyOptionGroupOutput) {
  1853. op := &request.Operation{
  1854. Name: opModifyOptionGroup,
  1855. HTTPMethod: "POST",
  1856. HTTPPath: "/",
  1857. }
  1858. if input == nil {
  1859. input = &ModifyOptionGroupInput{}
  1860. }
  1861. req = c.newRequest(op, input, output)
  1862. output = &ModifyOptionGroupOutput{}
  1863. req.Data = output
  1864. return
  1865. }
  1866. // Modifies an existing option group.
  1867. func (c *RDS) ModifyOptionGroup(input *ModifyOptionGroupInput) (*ModifyOptionGroupOutput, error) {
  1868. req, out := c.ModifyOptionGroupRequest(input)
  1869. err := req.Send()
  1870. return out, err
  1871. }
  1872. const opPromoteReadReplica = "PromoteReadReplica"
  1873. // PromoteReadReplicaRequest generates a request for the PromoteReadReplica operation.
  1874. func (c *RDS) PromoteReadReplicaRequest(input *PromoteReadReplicaInput) (req *request.Request, output *PromoteReadReplicaOutput) {
  1875. op := &request.Operation{
  1876. Name: opPromoteReadReplica,
  1877. HTTPMethod: "POST",
  1878. HTTPPath: "/",
  1879. }
  1880. if input == nil {
  1881. input = &PromoteReadReplicaInput{}
  1882. }
  1883. req = c.newRequest(op, input, output)
  1884. output = &PromoteReadReplicaOutput{}
  1885. req.Data = output
  1886. return
  1887. }
  1888. // Promotes a Read Replica DB instance to a standalone DB instance.
  1889. //
  1890. // We recommend that you enable automated backups on your Read Replica before
  1891. // promoting the Read Replica. This ensures that no backup is taken during the
  1892. // promotion process. Once the instance is promoted to a primary instance, backups
  1893. // are taken based on your backup settings.
  1894. func (c *RDS) PromoteReadReplica(input *PromoteReadReplicaInput) (*PromoteReadReplicaOutput, error) {
  1895. req, out := c.PromoteReadReplicaRequest(input)
  1896. err := req.Send()
  1897. return out, err
  1898. }
  1899. const opPurchaseReservedDBInstancesOffering = "PurchaseReservedDBInstancesOffering"
  1900. // PurchaseReservedDBInstancesOfferingRequest generates a request for the PurchaseReservedDBInstancesOffering operation.
  1901. func (c *RDS) PurchaseReservedDBInstancesOfferingRequest(input *PurchaseReservedDBInstancesOfferingInput) (req *request.Request, output *PurchaseReservedDBInstancesOfferingOutput) {
  1902. op := &request.Operation{
  1903. Name: opPurchaseReservedDBInstancesOffering,
  1904. HTTPMethod: "POST",
  1905. HTTPPath: "/",
  1906. }
  1907. if input == nil {
  1908. input = &PurchaseReservedDBInstancesOfferingInput{}
  1909. }
  1910. req = c.newRequest(op, input, output)
  1911. output = &PurchaseReservedDBInstancesOfferingOutput{}
  1912. req.Data = output
  1913. return
  1914. }
  1915. // Purchases a reserved DB instance offering.
  1916. func (c *RDS) PurchaseReservedDBInstancesOffering(input *PurchaseReservedDBInstancesOfferingInput) (*PurchaseReservedDBInstancesOfferingOutput, error) {
  1917. req, out := c.PurchaseReservedDBInstancesOfferingRequest(input)
  1918. err := req.Send()
  1919. return out, err
  1920. }
  1921. const opRebootDBInstance = "RebootDBInstance"
  1922. // RebootDBInstanceRequest generates a request for the RebootDBInstance operation.
  1923. func (c *RDS) RebootDBInstanceRequest(input *RebootDBInstanceInput) (req *request.Request, output *RebootDBInstanceOutput) {
  1924. op := &request.Operation{
  1925. Name: opRebootDBInstance,
  1926. HTTPMethod: "POST",
  1927. HTTPPath: "/",
  1928. }
  1929. if input == nil {
  1930. input = &RebootDBInstanceInput{}
  1931. }
  1932. req = c.newRequest(op, input, output)
  1933. output = &RebootDBInstanceOutput{}
  1934. req.Data = output
  1935. return
  1936. }
  1937. // Rebooting a DB instance restarts the database engine service. A reboot also
  1938. // applies to the DB instance any modifications to the associated DB parameter
  1939. // group that were pending. Rebooting a DB instance results in a momentary outage
  1940. // of the instance, during which the DB instance status is set to rebooting.
  1941. // If the RDS instance is configured for MultiAZ, it is possible that the reboot
  1942. // will be conducted through a failover. An Amazon RDS event is created when
  1943. // the reboot is completed.
  1944. //
  1945. // If your DB instance is deployed in multiple Availability Zones, you can
  1946. // force a failover from one AZ to the other during the reboot. You might force
  1947. // a failover to test the availability of your DB instance deployment or to
  1948. // restore operations to the original AZ after a failover occurs.
  1949. //
  1950. // The time required to reboot is a function of the specific database engine's
  1951. // crash recovery process. To improve the reboot time, we recommend that you
  1952. // reduce database activities as much as possible during the reboot process
  1953. // to reduce rollback activity for in-transit transactions.
  1954. func (c *RDS) RebootDBInstance(input *RebootDBInstanceInput) (*RebootDBInstanceOutput, error) {
  1955. req, out := c.RebootDBInstanceRequest(input)
  1956. err := req.Send()
  1957. return out, err
  1958. }
  1959. const opRemoveSourceIdentifierFromSubscription = "RemoveSourceIdentifierFromSubscription"
  1960. // RemoveSourceIdentifierFromSubscriptionRequest generates a request for the RemoveSourceIdentifierFromSubscription operation.
  1961. func (c *RDS) RemoveSourceIdentifierFromSubscriptionRequest(input *RemoveSourceIdentifierFromSubscriptionInput) (req *request.Request, output *RemoveSourceIdentifierFromSubscriptionOutput) {
  1962. op := &request.Operation{
  1963. Name: opRemoveSourceIdentifierFromSubscription,
  1964. HTTPMethod: "POST",
  1965. HTTPPath: "/",
  1966. }
  1967. if input == nil {
  1968. input = &RemoveSourceIdentifierFromSubscriptionInput{}
  1969. }
  1970. req = c.newRequest(op, input, output)
  1971. output = &RemoveSourceIdentifierFromSubscriptionOutput{}
  1972. req.Data = output
  1973. return
  1974. }
  1975. // Removes a source identifier from an existing RDS event notification subscription.
  1976. func (c *RDS) RemoveSourceIdentifierFromSubscription(input *RemoveSourceIdentifierFromSubscriptionInput) (*RemoveSourceIdentifierFromSubscriptionOutput, error) {
  1977. req, out := c.RemoveSourceIdentifierFromSubscriptionRequest(input)
  1978. err := req.Send()
  1979. return out, err
  1980. }
  1981. const opRemoveTagsFromResource = "RemoveTagsFromResource"
  1982. // RemoveTagsFromResourceRequest generates a request for the RemoveTagsFromResource operation.
  1983. func (c *RDS) RemoveTagsFromResourceRequest(input *RemoveTagsFromResourceInput) (req *request.Request, output *RemoveTagsFromResourceOutput) {
  1984. op := &request.Operation{
  1985. Name: opRemoveTagsFromResource,
  1986. HTTPMethod: "POST",
  1987. HTTPPath: "/",
  1988. }
  1989. if input == nil {
  1990. input = &RemoveTagsFromResourceInput{}
  1991. }
  1992. req = c.newRequest(op, input, output)
  1993. output = &RemoveTagsFromResourceOutput{}
  1994. req.Data = output
  1995. return
  1996. }
  1997. // Removes metadata tags from an Amazon RDS resource.
  1998. //
  1999. // For an overview on tagging an Amazon RDS resource, see Tagging Amazon RDS
  2000. // Resources (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Overview.Tagging.html).
  2001. func (c *RDS) RemoveTagsFromResource(input *RemoveTagsFromResourceInput) (*RemoveTagsFromResourceOutput, error) {
  2002. req, out := c.RemoveTagsFromResourceRequest(input)
  2003. err := req.Send()
  2004. return out, err
  2005. }
  2006. const opResetDBClusterParameterGroup = "ResetDBClusterParameterGroup"
  2007. // ResetDBClusterParameterGroupRequest generates a request for the ResetDBClusterParameterGroup operation.
  2008. func (c *RDS) ResetDBClusterParameterGroupRequest(input *ResetDBClusterParameterGroupInput) (req *request.Request, output *DBClusterParameterGroupNameMessage) {
  2009. op := &request.Operation{
  2010. Name: opResetDBClusterParameterGroup,
  2011. HTTPMethod: "POST",
  2012. HTTPPath: "/",
  2013. }
  2014. if input == nil {
  2015. input = &ResetDBClusterParameterGroupInput{}
  2016. }
  2017. req = c.newRequest(op, input, output)
  2018. output = &DBClusterParameterGroupNameMessage{}
  2019. req.Data = output
  2020. return
  2021. }
  2022. // Modifies the parameters of a DB cluster parameter group to the default value.
  2023. // To reset specific parameters submit a list of the following: ParameterName
  2024. // and ApplyMethod. To reset the entire DB cluster parameter group, specify
  2025. // the DBClusterParameterGroupName and ResetAllParameters parameters.
  2026. //
  2027. // When resetting the entire group, dynamic parameters are updated immediately
  2028. // and static parameters are set to pending-reboot to take effect on the next
  2029. // DB instance restart or RebootDBInstance request. You must call RebootDBInstance
  2030. // for every DB instance in your DB cluster that you want the updated static
  2031. // parameter to apply to.
  2032. //
  2033. // For more information on Amazon Aurora, see Aurora on Amazon RDS (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Aurora.html)
  2034. // in the Amazon RDS User Guide.
  2035. func (c *RDS) ResetDBClusterParameterGroup(input *ResetDBClusterParameterGroupInput) (*DBClusterParameterGroupNameMessage, error) {
  2036. req, out := c.ResetDBClusterParameterGroupRequest(input)
  2037. err := req.Send()
  2038. return out, err
  2039. }
  2040. const opResetDBParameterGroup = "ResetDBParameterGroup"
  2041. // ResetDBParameterGroupRequest generates a request for the ResetDBParameterGroup operation.
  2042. func (c *RDS) ResetDBParameterGroupRequest(input *ResetDBParameterGroupInput) (req *request.Request, output *DBParameterGroupNameMessage) {
  2043. op := &request.Operation{
  2044. Name: opResetDBParameterGroup,
  2045. HTTPMethod: "POST",
  2046. HTTPPath: "/",
  2047. }
  2048. if input == nil {
  2049. input = &ResetDBParameterGroupInput{}
  2050. }
  2051. req = c.newRequest(op, input, output)
  2052. output = &DBParameterGroupNameMessage{}
  2053. req.Data = output
  2054. return
  2055. }
  2056. // Modifies the parameters of a DB parameter group to the engine/system default
  2057. // value. To reset specific parameters submit a list of the following: ParameterName
  2058. // and ApplyMethod. To reset the entire DB parameter group, specify the DBParameterGroup
  2059. // name and ResetAllParameters parameters. When resetting the entire group,
  2060. // dynamic parameters are updated immediately and static parameters are set
  2061. // to pending-reboot to take effect on the next DB instance restart or RebootDBInstance
  2062. // request.
  2063. func (c *RDS) ResetDBParameterGroup(input *ResetDBParameterGroupInput) (*DBParameterGroupNameMessage, error) {
  2064. req, out := c.ResetDBParameterGroupRequest(input)
  2065. err := req.Send()
  2066. return out, err
  2067. }
  2068. const opRestoreDBClusterFromSnapshot = "RestoreDBClusterFromSnapshot"
  2069. // RestoreDBClusterFromSnapshotRequest generates a request for the RestoreDBClusterFromSnapshot operation.
  2070. func (c *RDS) RestoreDBClusterFromSnapshotRequest(input *RestoreDBClusterFromSnapshotInput) (req *request.Request, output *RestoreDBClusterFromSnapshotOutput) {
  2071. op := &request.Operation{
  2072. Name: opRestoreDBClusterFromSnapshot,
  2073. HTTPMethod: "POST",
  2074. HTTPPath: "/",
  2075. }
  2076. if input == nil {
  2077. input = &RestoreDBClusterFromSnapshotInput{}
  2078. }
  2079. req = c.newRequest(op, input, output)
  2080. output = &RestoreDBClusterFromSnapshotOutput{}
  2081. req.Data = output
  2082. return
  2083. }
  2084. // Creates a new DB cluster from a DB cluster snapshot. The target DB cluster
  2085. // is created from the source DB cluster restore point with the same configuration
  2086. // as the original source DB cluster, except that the new DB cluster is created
  2087. // with the default security group.
  2088. //
  2089. // For more information on Amazon Aurora, see Aurora on Amazon RDS (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Aurora.html)
  2090. // in the Amazon RDS User Guide.
  2091. func (c *RDS) RestoreDBClusterFromSnapshot(input *RestoreDBClusterFromSnapshotInput) (*RestoreDBClusterFromSnapshotOutput, error) {
  2092. req, out := c.RestoreDBClusterFromSnapshotRequest(input)
  2093. err := req.Send()
  2094. return out, err
  2095. }
  2096. const opRestoreDBClusterToPointInTime = "RestoreDBClusterToPointInTime"
  2097. // RestoreDBClusterToPointInTimeRequest generates a request for the RestoreDBClusterToPointInTime operation.
  2098. func (c *RDS) RestoreDBClusterToPointInTimeRequest(input *RestoreDBClusterToPointInTimeInput) (req *request.Request, output *RestoreDBClusterToPointInTimeOutput) {
  2099. op := &request.Operation{
  2100. Name: opRestoreDBClusterToPointInTime,
  2101. HTTPMethod: "POST",
  2102. HTTPPath: "/",
  2103. }
  2104. if input == nil {
  2105. input = &RestoreDBClusterToPointInTimeInput{}
  2106. }
  2107. req = c.newRequest(op, input, output)
  2108. output = &RestoreDBClusterToPointInTimeOutput{}
  2109. req.Data = output
  2110. return
  2111. }
  2112. // Restores a DB cluster to an arbitrary point in time. Users can restore to
  2113. // any point in time before LatestRestorableTime for up to BackupRetentionPeriod
  2114. // days. The target DB cluster is created from the source DB cluster with the
  2115. // same configuration as the original DB cluster, except that the new DB cluster
  2116. // is created with the default DB security group.
  2117. //
  2118. // For more information on Amazon Aurora, see Aurora on Amazon RDS (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Aurora.html)
  2119. // in the Amazon RDS User Guide.
  2120. func (c *RDS) RestoreDBClusterToPointInTime(input *RestoreDBClusterToPointInTimeInput) (*RestoreDBClusterToPointInTimeOutput, error) {
  2121. req, out := c.RestoreDBClusterToPointInTimeRequest(input)
  2122. err := req.Send()
  2123. return out, err
  2124. }
  2125. const opRestoreDBInstanceFromDBSnapshot = "RestoreDBInstanceFromDBSnapshot"
  2126. // RestoreDBInstanceFromDBSnapshotRequest generates a request for the RestoreDBInstanceFromDBSnapshot operation.
  2127. func (c *RDS) RestoreDBInstanceFromDBSnapshotRequest(input *RestoreDBInstanceFromDBSnapshotInput) (req *request.Request, output *RestoreDBInstanceFromDBSnapshotOutput) {
  2128. op := &request.Operation{
  2129. Name: opRestoreDBInstanceFromDBSnapshot,
  2130. HTTPMethod: "POST",
  2131. HTTPPath: "/",
  2132. }
  2133. if input == nil {
  2134. input = &RestoreDBInstanceFromDBSnapshotInput{}
  2135. }
  2136. req = c.newRequest(op, input, output)
  2137. output = &RestoreDBInstanceFromDBSnapshotOutput{}
  2138. req.Data = output
  2139. return
  2140. }
  2141. // Creates a new DB instance from a DB snapshot. The target database is created
  2142. // from the source database restore point with the most of original configuration,
  2143. // but in a system chosen availability zone with the default security group,
  2144. // the default subnet group, and the default DB parameter group. By default,
  2145. // the new DB instance is created as a single-AZ deployment except when the
  2146. // instance is a SQL Server instance that has an option group that is associated
  2147. // with mirroring; in this case, the instance becomes a mirrored AZ deployment
  2148. // and not a single-AZ deployment.
  2149. //
  2150. // If your intent is to replace your original DB instance with the new, restored
  2151. // DB instance, then rename your original DB instance before you call the RestoreDBInstanceFromDBSnapshot
  2152. // action. RDS does not allow two DB instances with the same name. Once you
  2153. // have renamed your original DB instance with a different identifier, then
  2154. // you can pass the original name of the DB instance as the DBInstanceIdentifier
  2155. // in the call to the RestoreDBInstanceFromDBSnapshot action. The result is
  2156. // that you will replace the original DB instance with the DB instance created
  2157. // from the snapshot.
  2158. func (c *RDS) RestoreDBInstanceFromDBSnapshot(input *RestoreDBInstanceFromDBSnapshotInput) (*RestoreDBInstanceFromDBSnapshotOutput, error) {
  2159. req, out := c.RestoreDBInstanceFromDBSnapshotRequest(input)
  2160. err := req.Send()
  2161. return out, err
  2162. }
  2163. const opRestoreDBInstanceToPointInTime = "RestoreDBInstanceToPointInTime"
  2164. // RestoreDBInstanceToPointInTimeRequest generates a request for the RestoreDBInstanceToPointInTime operation.
  2165. func (c *RDS) RestoreDBInstanceToPointInTimeRequest(input *RestoreDBInstanceToPointInTimeInput) (req *request.Request, output *RestoreDBInstanceToPointInTimeOutput) {
  2166. op := &request.Operation{
  2167. Name: opRestoreDBInstanceToPointInTime,
  2168. HTTPMethod: "POST",
  2169. HTTPPath: "/",
  2170. }
  2171. if input == nil {
  2172. input = &RestoreDBInstanceToPointInTimeInput{}
  2173. }
  2174. req = c.newRequest(op, input, output)
  2175. output = &RestoreDBInstanceToPointInTimeOutput{}
  2176. req.Data = output
  2177. return
  2178. }
  2179. // Restores a DB instance to an arbitrary point-in-time. Users can restore to
  2180. // any point in time before the LatestRestorableTime for up to BackupRetentionPeriod
  2181. // days. The target database is created with the most of original configuration,
  2182. // but in a system chosen availability zone with the default security group,
  2183. // the default subnet group, and the default DB parameter group. By default,
  2184. // the new DB instance is created as a single-AZ deployment except when the
  2185. // instance is a SQL Server instance that has an option group that is associated
  2186. // with mirroring; in this case, the instance becomes a mirrored deployment
  2187. // and not a single-AZ deployment.
  2188. func (c *RDS) RestoreDBInstanceToPointInTime(input *RestoreDBInstanceToPointInTimeInput) (*RestoreDBInstanceToPointInTimeOutput, error) {
  2189. req, out := c.RestoreDBInstanceToPointInTimeRequest(input)
  2190. err := req.Send()
  2191. return out, err
  2192. }
  2193. const opRevokeDBSecurityGroupIngress = "RevokeDBSecurityGroupIngress"
  2194. // RevokeDBSecurityGroupIngressRequest generates a request for the RevokeDBSecurityGroupIngress operation.
  2195. func (c *RDS) RevokeDBSecurityGroupIngressRequest(input *RevokeDBSecurityGroupIngressInput) (req *request.Request, output *RevokeDBSecurityGroupIngressOutput) {
  2196. op := &request.Operation{
  2197. Name: opRevokeDBSecurityGroupIngress,
  2198. HTTPMethod: "POST",
  2199. HTTPPath: "/",
  2200. }
  2201. if input == nil {
  2202. input = &RevokeDBSecurityGroupIngressInput{}
  2203. }
  2204. req = c.newRequest(op, input, output)
  2205. output = &RevokeDBSecurityGroupIngressOutput{}
  2206. req.Data = output
  2207. return
  2208. }
  2209. // Revokes ingress from a DBSecurityGroup for previously authorized IP ranges
  2210. // or EC2 or VPC Security Groups. Required parameters for this API are one of
  2211. // CIDRIP, EC2SecurityGroupId for VPC, or (EC2SecurityGroupOwnerId and either
  2212. // EC2SecurityGroupName or EC2SecurityGroupId).
  2213. func (c *RDS) RevokeDBSecurityGroupIngress(input *RevokeDBSecurityGroupIngressInput) (*RevokeDBSecurityGroupIngressOutput, error) {
  2214. req, out := c.RevokeDBSecurityGroupIngressRequest(input)
  2215. err := req.Send()
  2216. return out, err
  2217. }
  2218. // Describes a quota for an AWS account, for example, the number of DB instances
  2219. // allowed.
  2220. type AccountQuota struct {
  2221. // The name of the Amazon RDS quota for this AWS account.
  2222. AccountQuotaName *string `type:"string"`
  2223. // The maximum allowed value for the quota.
  2224. Max *int64 `type:"long"`
  2225. // The amount currently used toward the quota maximum.
  2226. Used *int64 `type:"long"`
  2227. metadataAccountQuota `json:"-" xml:"-"`
  2228. }
  2229. type metadataAccountQuota struct {
  2230. SDKShapeTraits bool `type:"structure"`
  2231. }
  2232. // String returns the string representation
  2233. func (s AccountQuota) String() string {
  2234. return awsutil.Prettify(s)
  2235. }
  2236. // GoString returns the string representation
  2237. func (s AccountQuota) GoString() string {
  2238. return s.String()
  2239. }
  2240. type AddSourceIdentifierToSubscriptionInput struct {
  2241. // The identifier of the event source to be added. An identifier must begin
  2242. // with a letter and must contain only ASCII letters, digits, and hyphens; it
  2243. // cannot end with a hyphen or contain two consecutive hyphens.
  2244. //
  2245. // Constraints:
  2246. //
  2247. // If the source type is a DB instance, then a DBInstanceIdentifier must be
  2248. // supplied. If the source type is a DB security group, a DBSecurityGroupName
  2249. // must be supplied. If the source type is a DB parameter group, a DBParameterGroupName
  2250. // must be supplied. If the source type is a DB snapshot, a DBSnapshotIdentifier
  2251. // must be supplied.
  2252. SourceIdentifier *string `type:"string" required:"true"`
  2253. // The name of the RDS event notification subscription you want to add a source
  2254. // identifier to.
  2255. SubscriptionName *string `type:"string" required:"true"`
  2256. metadataAddSourceIdentifierToSubscriptionInput `json:"-" xml:"-"`
  2257. }
  2258. type metadataAddSourceIdentifierToSubscriptionInput struct {
  2259. SDKShapeTraits bool `type:"structure"`
  2260. }
  2261. // String returns the string representation
  2262. func (s AddSourceIdentifierToSubscriptionInput) String() string {
  2263. return awsutil.Prettify(s)
  2264. }
  2265. // GoString returns the string representation
  2266. func (s AddSourceIdentifierToSubscriptionInput) GoString() string {
  2267. return s.String()
  2268. }
  2269. type AddSourceIdentifierToSubscriptionOutput struct {
  2270. // Contains the results of a successful invocation of the DescribeEventSubscriptions
  2271. // action.
  2272. EventSubscription *EventSubscription `type:"structure"`
  2273. metadataAddSourceIdentifierToSubscriptionOutput `json:"-" xml:"-"`
  2274. }
  2275. type metadataAddSourceIdentifierToSubscriptionOutput struct {
  2276. SDKShapeTraits bool `type:"structure"`
  2277. }
  2278. // String returns the string representation
  2279. func (s AddSourceIdentifierToSubscriptionOutput) String() string {
  2280. return awsutil.Prettify(s)
  2281. }
  2282. // GoString returns the string representation
  2283. func (s AddSourceIdentifierToSubscriptionOutput) GoString() string {
  2284. return s.String()
  2285. }
  2286. type AddTagsToResourceInput struct {
  2287. // The Amazon RDS resource the tags will be added to. This value is an Amazon
  2288. // Resource Name (ARN). For information about creating an ARN, see Constructing
  2289. // an RDS Amazon Resource Name (ARN) (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html#USER_Tagging.ARN).
  2290. ResourceName *string `type:"string" required:"true"`
  2291. // The tags to be assigned to the Amazon RDS resource.
  2292. Tags []*Tag `locationNameList:"Tag" type:"list" required:"true"`
  2293. metadataAddTagsToResourceInput `json:"-" xml:"-"`
  2294. }
  2295. type metadataAddTagsToResourceInput struct {
  2296. SDKShapeTraits bool `type:"structure"`
  2297. }
  2298. // String returns the string representation
  2299. func (s AddTagsToResourceInput) String() string {
  2300. return awsutil.Prettify(s)
  2301. }
  2302. // GoString returns the string representation
  2303. func (s AddTagsToResourceInput) GoString() string {
  2304. return s.String()
  2305. }
  2306. type AddTagsToResourceOutput struct {
  2307. metadataAddTagsToResourceOutput `json:"-" xml:"-"`
  2308. }
  2309. type metadataAddTagsToResourceOutput struct {
  2310. SDKShapeTraits bool `type:"structure"`
  2311. }
  2312. // String returns the string representation
  2313. func (s AddTagsToResourceOutput) String() string {
  2314. return awsutil.Prettify(s)
  2315. }
  2316. // GoString returns the string representation
  2317. func (s AddTagsToResourceOutput) GoString() string {
  2318. return s.String()
  2319. }
  2320. type ApplyPendingMaintenanceActionInput struct {
  2321. // The pending maintenance action to apply to this resource.
  2322. ApplyAction *string `type:"string" required:"true"`
  2323. // A value that specifies the type of opt-in request, or undoes an opt-in request.
  2324. // An opt-in request of type immediate cannot be undone.
  2325. //
  2326. // Valid values:
  2327. //
  2328. // immediate - Apply the maintenance action immediately. next-maintenance
  2329. // - Apply the maintenance action during the next maintenance window for the
  2330. // resource. undo-opt-in - Cancel any existing next-maintenance opt-in requests.
  2331. OptInType *string `type:"string" required:"true"`
  2332. // The RDS Amazon Resource Name (ARN) of the resource that the pending maintenance
  2333. // action applies to. For information about creating an ARN, see Constructing
  2334. // an RDS Amazon Resource Name (ARN) (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html#USER_Tagging.ARN).
  2335. ResourceIdentifier *string `type:"string" required:"true"`
  2336. metadataApplyPendingMaintenanceActionInput `json:"-" xml:"-"`
  2337. }
  2338. type metadataApplyPendingMaintenanceActionInput struct {
  2339. SDKShapeTraits bool `type:"structure"`
  2340. }
  2341. // String returns the string representation
  2342. func (s ApplyPendingMaintenanceActionInput) String() string {
  2343. return awsutil.Prettify(s)
  2344. }
  2345. // GoString returns the string representation
  2346. func (s ApplyPendingMaintenanceActionInput) GoString() string {
  2347. return s.String()
  2348. }
  2349. type ApplyPendingMaintenanceActionOutput struct {
  2350. // Describes the pending maintenance actions for a resource.
  2351. ResourcePendingMaintenanceActions *ResourcePendingMaintenanceActions `type:"structure"`
  2352. metadataApplyPendingMaintenanceActionOutput `json:"-" xml:"-"`
  2353. }
  2354. type metadataApplyPendingMaintenanceActionOutput struct {
  2355. SDKShapeTraits bool `type:"structure"`
  2356. }
  2357. // String returns the string representation
  2358. func (s ApplyPendingMaintenanceActionOutput) String() string {
  2359. return awsutil.Prettify(s)
  2360. }
  2361. // GoString returns the string representation
  2362. func (s ApplyPendingMaintenanceActionOutput) GoString() string {
  2363. return s.String()
  2364. }
  2365. type AuthorizeDBSecurityGroupIngressInput struct {
  2366. // The IP range to authorize.
  2367. CIDRIP *string `type:"string"`
  2368. // The name of the DB security group to add authorization to.
  2369. DBSecurityGroupName *string `type:"string" required:"true"`
  2370. // Id of the EC2 security group to authorize. For VPC DB security groups, EC2SecurityGroupId
  2371. // must be provided. Otherwise, EC2SecurityGroupOwnerId and either EC2SecurityGroupName
  2372. // or EC2SecurityGroupId must be provided.
  2373. EC2SecurityGroupId *string `type:"string"`
  2374. // Name of the EC2 security group to authorize. For VPC DB security groups,
  2375. // EC2SecurityGroupId must be provided. Otherwise, EC2SecurityGroupOwnerId and
  2376. // either EC2SecurityGroupName or EC2SecurityGroupId must be provided.
  2377. EC2SecurityGroupName *string `type:"string"`
  2378. // AWS account number of the owner of the EC2 security group specified in the
  2379. // EC2SecurityGroupName parameter. The AWS Access Key ID is not an acceptable
  2380. // value. For VPC DB security groups, EC2SecurityGroupId must be provided. Otherwise,
  2381. // EC2SecurityGroupOwnerId and either EC2SecurityGroupName or EC2SecurityGroupId
  2382. // must be provided.
  2383. EC2SecurityGroupOwnerId *string `type:"string"`
  2384. metadataAuthorizeDBSecurityGroupIngressInput `json:"-" xml:"-"`
  2385. }
  2386. type metadataAuthorizeDBSecurityGroupIngressInput struct {
  2387. SDKShapeTraits bool `type:"structure"`
  2388. }
  2389. // String returns the string representation
  2390. func (s AuthorizeDBSecurityGroupIngressInput) String() string {
  2391. return awsutil.Prettify(s)
  2392. }
  2393. // GoString returns the string representation
  2394. func (s AuthorizeDBSecurityGroupIngressInput) GoString() string {
  2395. return s.String()
  2396. }
  2397. type AuthorizeDBSecurityGroupIngressOutput struct {
  2398. // Contains the result of a successful invocation of the following actions:
  2399. //
  2400. // DescribeDBSecurityGroups AuthorizeDBSecurityGroupIngress CreateDBSecurityGroup
  2401. // RevokeDBSecurityGroupIngress This data type is used as a response element
  2402. // in the DescribeDBSecurityGroups action.
  2403. DBSecurityGroup *DBSecurityGroup `type:"structure"`
  2404. metadataAuthorizeDBSecurityGroupIngressOutput `json:"-" xml:"-"`
  2405. }
  2406. type metadataAuthorizeDBSecurityGroupIngressOutput struct {
  2407. SDKShapeTraits bool `type:"structure"`
  2408. }
  2409. // String returns the string representation
  2410. func (s AuthorizeDBSecurityGroupIngressOutput) String() string {
  2411. return awsutil.Prettify(s)
  2412. }
  2413. // GoString returns the string representation
  2414. func (s AuthorizeDBSecurityGroupIngressOutput) GoString() string {
  2415. return s.String()
  2416. }
  2417. // Contains Availability Zone information.
  2418. //
  2419. // This data type is used as an element in the following data type: OrderableDBInstanceOption
  2420. type AvailabilityZone struct {
  2421. // The name of the availability zone.
  2422. Name *string `type:"string"`
  2423. metadataAvailabilityZone `json:"-" xml:"-"`
  2424. }
  2425. type metadataAvailabilityZone struct {
  2426. SDKShapeTraits bool `type:"structure"`
  2427. }
  2428. // String returns the string representation
  2429. func (s AvailabilityZone) String() string {
  2430. return awsutil.Prettify(s)
  2431. }
  2432. // GoString returns the string representation
  2433. func (s AvailabilityZone) GoString() string {
  2434. return s.String()
  2435. }
  2436. // A CA certificate for an AWS account.
  2437. type Certificate struct {
  2438. // The unique key that identifies a certificate.
  2439. CertificateIdentifier *string `type:"string"`
  2440. // The type of the certificate.
  2441. CertificateType *string `type:"string"`
  2442. // The thumbprint of the certificate.
  2443. Thumbprint *string `type:"string"`
  2444. // The starting date from which the certificate is valid.
  2445. ValidFrom *time.Time `type:"timestamp" timestampFormat:"iso8601"`
  2446. // The final date that the certificate continues to be valid.
  2447. ValidTill *time.Time `type:"timestamp" timestampFormat:"iso8601"`
  2448. metadataCertificate `json:"-" xml:"-"`
  2449. }
  2450. type metadataCertificate struct {
  2451. SDKShapeTraits bool `type:"structure"`
  2452. }
  2453. // String returns the string representation
  2454. func (s Certificate) String() string {
  2455. return awsutil.Prettify(s)
  2456. }
  2457. // GoString returns the string representation
  2458. func (s Certificate) GoString() string {
  2459. return s.String()
  2460. }
  2461. // This data type is used as a response element in the action DescribeDBEngineVersions.
  2462. type CharacterSet struct {
  2463. // The description of the character set.
  2464. CharacterSetDescription *string `type:"string"`
  2465. // The name of the character set.
  2466. CharacterSetName *string `type:"string"`
  2467. metadataCharacterSet `json:"-" xml:"-"`
  2468. }
  2469. type metadataCharacterSet struct {
  2470. SDKShapeTraits bool `type:"structure"`
  2471. }
  2472. // String returns the string representation
  2473. func (s CharacterSet) String() string {
  2474. return awsutil.Prettify(s)
  2475. }
  2476. // GoString returns the string representation
  2477. func (s CharacterSet) GoString() string {
  2478. return s.String()
  2479. }
  2480. type CopyDBClusterSnapshotInput struct {
  2481. // The identifier of the DB cluster snapshot to copy. This parameter is not
  2482. // case-sensitive.
  2483. //
  2484. // Constraints:
  2485. //
  2486. // Must contain from 1 to 63 alphanumeric characters or hyphens. First character
  2487. // must be a letter. Cannot end with a hyphen or contain two consecutive hyphens.
  2488. // Example: my-cluster-snapshot1
  2489. SourceDBClusterSnapshotIdentifier *string `type:"string" required:"true"`
  2490. // A list of tags.
  2491. Tags []*Tag `locationNameList:"Tag" type:"list"`
  2492. // The identifier of the new DB cluster snapshot to create from the source DB
  2493. // cluster snapshot. This parameter is not case-sensitive.
  2494. //
  2495. // Constraints:
  2496. //
  2497. // Must contain from 1 to 63 alphanumeric characters or hyphens. First character
  2498. // must be a letter. Cannot end with a hyphen or contain two consecutive hyphens.
  2499. // Example: my-cluster-snapshot2
  2500. TargetDBClusterSnapshotIdentifier *string `type:"string" required:"true"`
  2501. metadataCopyDBClusterSnapshotInput `json:"-" xml:"-"`
  2502. }
  2503. type metadataCopyDBClusterSnapshotInput struct {
  2504. SDKShapeTraits bool `type:"structure"`
  2505. }
  2506. // String returns the string representation
  2507. func (s CopyDBClusterSnapshotInput) String() string {
  2508. return awsutil.Prettify(s)
  2509. }
  2510. // GoString returns the string representation
  2511. func (s CopyDBClusterSnapshotInput) GoString() string {
  2512. return s.String()
  2513. }
  2514. type CopyDBClusterSnapshotOutput struct {
  2515. // Contains the result of a successful invocation of the following actions:
  2516. //
  2517. // CreateDBClusterSnapshot DeleteDBClusterSnapshot This data type is
  2518. // used as a response element in the DescribeDBClusterSnapshots action.
  2519. DBClusterSnapshot *DBClusterSnapshot `type:"structure"`
  2520. metadataCopyDBClusterSnapshotOutput `json:"-" xml:"-"`
  2521. }
  2522. type metadataCopyDBClusterSnapshotOutput struct {
  2523. SDKShapeTraits bool `type:"structure"`
  2524. }
  2525. // String returns the string representation
  2526. func (s CopyDBClusterSnapshotOutput) String() string {
  2527. return awsutil.Prettify(s)
  2528. }
  2529. // GoString returns the string representation
  2530. func (s CopyDBClusterSnapshotOutput) GoString() string {
  2531. return s.String()
  2532. }
  2533. type CopyDBParameterGroupInput struct {
  2534. // The identifier or ARN for the source DB parameter group. For information
  2535. // about creating an ARN, see Constructing an RDS Amazon Resource Name (ARN)
  2536. // (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html#USER_Tagging.ARN).
  2537. //
  2538. // Constraints:
  2539. //
  2540. // Must specify a valid DB parameter group. If the source DB parameter group
  2541. // is in the same region as the copy, specify a valid DB parameter group identifier,
  2542. // for example my-db-param-group, or a valid ARN. If the source DB parameter
  2543. // group is in a different region than the copy, specify a valid DB parameter
  2544. // group ARN, for example arn:aws:rds:us-west-2:123456789012:pg:special-parameters.
  2545. SourceDBParameterGroupIdentifier *string `type:"string" required:"true"`
  2546. // A list of tags.
  2547. Tags []*Tag `locationNameList:"Tag" type:"list"`
  2548. // A description for the copied DB parameter group.
  2549. TargetDBParameterGroupDescription *string `type:"string" required:"true"`
  2550. // The identifier for the copied DB parameter group.
  2551. //
  2552. // Constraints:
  2553. //
  2554. // Cannot be null, empty, or blank Must contain from 1 to 255 alphanumeric
  2555. // characters or hyphens First character must be a letter Cannot end with a
  2556. // hyphen or contain two consecutive hyphens Example: my-db-parameter-group
  2557. TargetDBParameterGroupIdentifier *string `type:"string" required:"true"`
  2558. metadataCopyDBParameterGroupInput `json:"-" xml:"-"`
  2559. }
  2560. type metadataCopyDBParameterGroupInput struct {
  2561. SDKShapeTraits bool `type:"structure"`
  2562. }
  2563. // String returns the string representation
  2564. func (s CopyDBParameterGroupInput) String() string {
  2565. return awsutil.Prettify(s)
  2566. }
  2567. // GoString returns the string representation
  2568. func (s CopyDBParameterGroupInput) GoString() string {
  2569. return s.String()
  2570. }
  2571. type CopyDBParameterGroupOutput struct {
  2572. // Contains the result of a successful invocation of the CreateDBParameterGroup
  2573. // action.
  2574. //
  2575. // This data type is used as a request parameter in the DeleteDBParameterGroup
  2576. // action, and as a response element in the DescribeDBParameterGroups action.
  2577. DBParameterGroup *DBParameterGroup `type:"structure"`
  2578. metadataCopyDBParameterGroupOutput `json:"-" xml:"-"`
  2579. }
  2580. type metadataCopyDBParameterGroupOutput struct {
  2581. SDKShapeTraits bool `type:"structure"`
  2582. }
  2583. // String returns the string representation
  2584. func (s CopyDBParameterGroupOutput) String() string {
  2585. return awsutil.Prettify(s)
  2586. }
  2587. // GoString returns the string representation
  2588. func (s CopyDBParameterGroupOutput) GoString() string {
  2589. return s.String()
  2590. }
  2591. type CopyDBSnapshotInput struct {
  2592. // The identifier for the source DB snapshot.
  2593. //
  2594. // Constraints:
  2595. //
  2596. // Must specify a valid system snapshot in the "available" state. If the source
  2597. // snapshot is in the same region as the copy, specify a valid DB snapshot identifier.
  2598. // If the source snapshot is in a different region than the copy, specify a
  2599. // valid DB snapshot ARN. For more information, go to Copying a DB Snapshot
  2600. // (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_CopySnapshot.html).
  2601. // Example: rds:mydb-2012-04-02-00-01
  2602. //
  2603. // Example: arn:aws:rds:rr-regn-1:123456789012:snapshot:mysql-instance1-snapshot-20130805
  2604. SourceDBSnapshotIdentifier *string `type:"string" required:"true"`
  2605. // A list of tags.
  2606. Tags []*Tag `locationNameList:"Tag" type:"list"`
  2607. // The identifier for the copied snapshot.
  2608. //
  2609. // Constraints:
  2610. //
  2611. // Cannot be null, empty, or blank Must contain from 1 to 255 alphanumeric
  2612. // characters or hyphens First character must be a letter Cannot end with a
  2613. // hyphen or contain two consecutive hyphens Example: my-db-snapshot
  2614. TargetDBSnapshotIdentifier *string `type:"string" required:"true"`
  2615. metadataCopyDBSnapshotInput `json:"-" xml:"-"`
  2616. }
  2617. type metadataCopyDBSnapshotInput struct {
  2618. SDKShapeTraits bool `type:"structure"`
  2619. }
  2620. // String returns the string representation
  2621. func (s CopyDBSnapshotInput) String() string {
  2622. return awsutil.Prettify(s)
  2623. }
  2624. // GoString returns the string representation
  2625. func (s CopyDBSnapshotInput) GoString() string {
  2626. return s.String()
  2627. }
  2628. type CopyDBSnapshotOutput struct {
  2629. // Contains the result of a successful invocation of the following actions:
  2630. //
  2631. // CreateDBSnapshot DeleteDBSnapshot This data type is used as a response
  2632. // element in the DescribeDBSnapshots action.
  2633. DBSnapshot *DBSnapshot `type:"structure"`
  2634. metadataCopyDBSnapshotOutput `json:"-" xml:"-"`
  2635. }
  2636. type metadataCopyDBSnapshotOutput struct {
  2637. SDKShapeTraits bool `type:"structure"`
  2638. }
  2639. // String returns the string representation
  2640. func (s CopyDBSnapshotOutput) String() string {
  2641. return awsutil.Prettify(s)
  2642. }
  2643. // GoString returns the string representation
  2644. func (s CopyDBSnapshotOutput) GoString() string {
  2645. return s.String()
  2646. }
  2647. type CopyOptionGroupInput struct {
  2648. // The identifier or ARN for the source option group. For information about
  2649. // creating an ARN, see Constructing an RDS Amazon Resource Name (ARN) (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html#USER_Tagging.ARN).
  2650. //
  2651. // Constraints:
  2652. //
  2653. // Must specify a valid option group. If the source option group is in the
  2654. // same region as the copy, specify a valid option group identifier, for example
  2655. // my-option-group, or a valid ARN. If the source option group is in a different
  2656. // region than the copy, specify a valid option group ARN, for example arn:aws:rds:us-west-2:123456789012:og:special-options.
  2657. SourceOptionGroupIdentifier *string `type:"string" required:"true"`
  2658. // A list of tags.
  2659. Tags []*Tag `locationNameList:"Tag" type:"list"`
  2660. // The description for the copied option group.
  2661. TargetOptionGroupDescription *string `type:"string" required:"true"`
  2662. // The identifier for the copied option group.
  2663. //
  2664. // Constraints:
  2665. //
  2666. // Cannot be null, empty, or blank Must contain from 1 to 255 alphanumeric
  2667. // characters or hyphens First character must be a letter Cannot end with a
  2668. // hyphen or contain two consecutive hyphens Example: my-option-group
  2669. TargetOptionGroupIdentifier *string `type:"string" required:"true"`
  2670. metadataCopyOptionGroupInput `json:"-" xml:"-"`
  2671. }
  2672. type metadataCopyOptionGroupInput struct {
  2673. SDKShapeTraits bool `type:"structure"`
  2674. }
  2675. // String returns the string representation
  2676. func (s CopyOptionGroupInput) String() string {
  2677. return awsutil.Prettify(s)
  2678. }
  2679. // GoString returns the string representation
  2680. func (s CopyOptionGroupInput) GoString() string {
  2681. return s.String()
  2682. }
  2683. type CopyOptionGroupOutput struct {
  2684. OptionGroup *OptionGroup `type:"structure"`
  2685. metadataCopyOptionGroupOutput `json:"-" xml:"-"`
  2686. }
  2687. type metadataCopyOptionGroupOutput struct {
  2688. SDKShapeTraits bool `type:"structure"`
  2689. }
  2690. // String returns the string representation
  2691. func (s CopyOptionGroupOutput) String() string {
  2692. return awsutil.Prettify(s)
  2693. }
  2694. // GoString returns the string representation
  2695. func (s CopyOptionGroupOutput) GoString() string {
  2696. return s.String()
  2697. }
  2698. type CreateDBClusterInput struct {
  2699. // A list of EC2 Availability Zones that instances in the DB cluster can be
  2700. // created in. For information on regions and Availability Zones, see Regions
  2701. // and Availability Zones (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html).
  2702. AvailabilityZones []*string `locationNameList:"AvailabilityZone" type:"list"`
  2703. // The number of days for which automated backups are retained. Setting this
  2704. // parameter to a positive number enables backups. Setting this parameter to
  2705. // 0 disables automated backups.
  2706. //
  2707. // Default: 1
  2708. //
  2709. // Constraints:
  2710. //
  2711. // Must be a value from 0 to 35
  2712. BackupRetentionPeriod *int64 `type:"integer"`
  2713. // A value that indicates that the DB cluster should be associated with the
  2714. // specified CharacterSet.
  2715. CharacterSetName *string `type:"string"`
  2716. // The DB cluster identifier. This parameter is stored as a lowercase string.
  2717. //
  2718. // Constraints:
  2719. //
  2720. // Must contain from 1 to 63 alphanumeric characters or hyphens. First character
  2721. // must be a letter. Cannot end with a hyphen or contain two consecutive hyphens.
  2722. // Example: my-cluster1
  2723. DBClusterIdentifier *string `type:"string"`
  2724. // The name of the DB cluster parameter group to associate with this DB cluster.
  2725. // If this argument is omitted, default.aurora5.6 for the specified engine will
  2726. // be used.
  2727. //
  2728. // Constraints:
  2729. //
  2730. // Must be 1 to 255 alphanumeric characters First character must be a letter
  2731. // Cannot end with a hyphen or contain two consecutive hyphens
  2732. DBClusterParameterGroupName *string `type:"string"`
  2733. // A DB subnet group to associate with this DB cluster.
  2734. DBSubnetGroupName *string `type:"string"`
  2735. // The name for your database of up to 8 alpha-numeric characters. If you do
  2736. // not provide a name, Amazon RDS will not create a database in the DB cluster
  2737. // you are creating.
  2738. DatabaseName *string `type:"string"`
  2739. // The name of the database engine to be used for this DB cluster.
  2740. //
  2741. // Valid Values: MySQL
  2742. Engine *string `type:"string"`
  2743. // The version number of the database engine to use.
  2744. //
  2745. // Aurora
  2746. //
  2747. // Example: 5.6.0
  2748. EngineVersion *string `type:"string"`
  2749. // The password for the master database user. This password can contain any
  2750. // printable ASCII character except "/", """, or "@".
  2751. //
  2752. // Constraints: Must contain from 8 to 41 characters.
  2753. MasterUserPassword *string `type:"string"`
  2754. // The name of the master user for the client DB cluster.
  2755. //
  2756. // Constraints:
  2757. //
  2758. // Must be 1 to 16 alphanumeric characters. First character must be a letter.
  2759. // Cannot be a reserved word for the chosen database engine.
  2760. MasterUsername *string `type:"string"`
  2761. // A value that indicates that the DB cluster should be associated with the
  2762. // specified option group.
  2763. //
  2764. // Permanent options cannot be removed from an option group. The option group
  2765. // cannot be removed from a DB cluster once it is associated with a DB cluster.
  2766. OptionGroupName *string `type:"string"`
  2767. // The port number on which the instances in the DB cluster accept connections.
  2768. //
  2769. // Default: 3306
  2770. Port *int64 `type:"integer"`
  2771. // The daily time range during which automated backups are created if automated
  2772. // backups are enabled using the BackupRetentionPeriod parameter.
  2773. //
  2774. // Default: A 30-minute window selected at random from an 8-hour block of time
  2775. // per region. To see the time blocks available, see Adjusting the Preferred
  2776. // Maintenance Window (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/AdjustingTheMaintenanceWindow.html)
  2777. // in the Amazon RDS User Guide.
  2778. //
  2779. // Constraints:
  2780. //
  2781. // Must be in the format hh24:mi-hh24:mi. Times should be in Universal Coordinated
  2782. // Time (UTC). Must not conflict with the preferred maintenance window. Must
  2783. // be at least 30 minutes.
  2784. PreferredBackupWindow *string `type:"string"`
  2785. // The weekly time range during which system maintenance can occur, in Universal
  2786. // Coordinated Time (UTC).
  2787. //
  2788. // Format: ddd:hh24:mi-ddd:hh24:mi
  2789. //
  2790. // Default: A 30-minute window selected at random from an 8-hour block of time
  2791. // per region, occurring on a random day of the week. To see the time blocks
  2792. // available, see Adjusting the Preferred Maintenance Window (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/AdjustingTheMaintenanceWindow.html)
  2793. // in the Amazon RDS User Guide.
  2794. //
  2795. // Valid Days: Mon, Tue, Wed, Thu, Fri, Sat, Sun
  2796. //
  2797. // Constraints: Minimum 30-minute window.
  2798. PreferredMaintenanceWindow *string `type:"string"`
  2799. // A list of tags.
  2800. Tags []*Tag `locationNameList:"Tag" type:"list"`
  2801. // A list of EC2 VPC security groups to associate with this DB cluster.
  2802. VpcSecurityGroupIds []*string `locationNameList:"VpcSecurityGroupId" type:"list"`
  2803. metadataCreateDBClusterInput `json:"-" xml:"-"`
  2804. }
  2805. type metadataCreateDBClusterInput struct {
  2806. SDKShapeTraits bool `type:"structure"`
  2807. }
  2808. // String returns the string representation
  2809. func (s CreateDBClusterInput) String() string {
  2810. return awsutil.Prettify(s)
  2811. }
  2812. // GoString returns the string representation
  2813. func (s CreateDBClusterInput) GoString() string {
  2814. return s.String()
  2815. }
  2816. type CreateDBClusterOutput struct {
  2817. // Contains the result of a successful invocation of the following actions:
  2818. //
  2819. // CreateDBCluster DeleteDBCluster FailoverDBCluster ModifyDBCluster
  2820. // RestoreDBClusterFromSnapshot This data type is used as a response element
  2821. // in the DescribeDBClusters action.
  2822. DBCluster *DBCluster `type:"structure"`
  2823. metadataCreateDBClusterOutput `json:"-" xml:"-"`
  2824. }
  2825. type metadataCreateDBClusterOutput struct {
  2826. SDKShapeTraits bool `type:"structure"`
  2827. }
  2828. // String returns the string representation
  2829. func (s CreateDBClusterOutput) String() string {
  2830. return awsutil.Prettify(s)
  2831. }
  2832. // GoString returns the string representation
  2833. func (s CreateDBClusterOutput) GoString() string {
  2834. return s.String()
  2835. }
  2836. type CreateDBClusterParameterGroupInput struct {
  2837. // The name of the DB cluster parameter group.
  2838. //
  2839. // Constraints:
  2840. //
  2841. // Must be 1 to 255 alphanumeric characters First character must be a letter
  2842. // Cannot end with a hyphen or contain two consecutive hyphens This value is
  2843. // stored as a lowercase string.
  2844. DBClusterParameterGroupName *string `type:"string" required:"true"`
  2845. // The DB cluster parameter group family name. A DB cluster parameter group
  2846. // can be associated with one and only one DB cluster parameter group family,
  2847. // and can be applied only to a DB cluster running a database engine and engine
  2848. // version compatible with that DB cluster parameter group family.
  2849. DBParameterGroupFamily *string `type:"string" required:"true"`
  2850. // The description for the DB cluster parameter group.
  2851. Description *string `type:"string" required:"true"`
  2852. // A list of tags.
  2853. Tags []*Tag `locationNameList:"Tag" type:"list"`
  2854. metadataCreateDBClusterParameterGroupInput `json:"-" xml:"-"`
  2855. }
  2856. type metadataCreateDBClusterParameterGroupInput struct {
  2857. SDKShapeTraits bool `type:"structure"`
  2858. }
  2859. // String returns the string representation
  2860. func (s CreateDBClusterParameterGroupInput) String() string {
  2861. return awsutil.Prettify(s)
  2862. }
  2863. // GoString returns the string representation
  2864. func (s CreateDBClusterParameterGroupInput) GoString() string {
  2865. return s.String()
  2866. }
  2867. type CreateDBClusterParameterGroupOutput struct {
  2868. // Contains the result of a successful invocation of the CreateDBClusterParameterGroup
  2869. // action.
  2870. //
  2871. // This data type is used as a request parameter in the DeleteDBClusterParameterGroup
  2872. // action, and as a response element in the DescribeDBClusterParameterGroups
  2873. // action.
  2874. DBClusterParameterGroup *DBClusterParameterGroup `type:"structure"`
  2875. metadataCreateDBClusterParameterGroupOutput `json:"-" xml:"-"`
  2876. }
  2877. type metadataCreateDBClusterParameterGroupOutput struct {
  2878. SDKShapeTraits bool `type:"structure"`
  2879. }
  2880. // String returns the string representation
  2881. func (s CreateDBClusterParameterGroupOutput) String() string {
  2882. return awsutil.Prettify(s)
  2883. }
  2884. // GoString returns the string representation
  2885. func (s CreateDBClusterParameterGroupOutput) GoString() string {
  2886. return s.String()
  2887. }
  2888. type CreateDBClusterSnapshotInput struct {
  2889. // The identifier of the DB cluster to create a snapshot for. This parameter
  2890. // is not case-sensitive.
  2891. //
  2892. // Constraints:
  2893. //
  2894. // Must contain from 1 to 63 alphanumeric characters or hyphens. First character
  2895. // must be a letter. Cannot end with a hyphen or contain two consecutive hyphens.
  2896. // Example: my-cluster1
  2897. DBClusterIdentifier *string `type:"string" required:"true"`
  2898. // The identifier of the DB cluster snapshot. This parameter is stored as a
  2899. // lowercase string.
  2900. //
  2901. // Constraints:
  2902. //
  2903. // Must contain from 1 to 63 alphanumeric characters or hyphens. First character
  2904. // must be a letter. Cannot end with a hyphen or contain two consecutive hyphens.
  2905. // Example: my-cluster1-snapshot1
  2906. DBClusterSnapshotIdentifier *string `type:"string" required:"true"`
  2907. // The tags to be assigned to the DB cluster snapshot.
  2908. Tags []*Tag `locationNameList:"Tag" type:"list"`
  2909. metadataCreateDBClusterSnapshotInput `json:"-" xml:"-"`
  2910. }
  2911. type metadataCreateDBClusterSnapshotInput struct {
  2912. SDKShapeTraits bool `type:"structure"`
  2913. }
  2914. // String returns the string representation
  2915. func (s CreateDBClusterSnapshotInput) String() string {
  2916. return awsutil.Prettify(s)
  2917. }
  2918. // GoString returns the string representation
  2919. func (s CreateDBClusterSnapshotInput) GoString() string {
  2920. return s.String()
  2921. }
  2922. type CreateDBClusterSnapshotOutput struct {
  2923. // Contains the result of a successful invocation of the following actions:
  2924. //
  2925. // CreateDBClusterSnapshot DeleteDBClusterSnapshot This data type is
  2926. // used as a response element in the DescribeDBClusterSnapshots action.
  2927. DBClusterSnapshot *DBClusterSnapshot `type:"structure"`
  2928. metadataCreateDBClusterSnapshotOutput `json:"-" xml:"-"`
  2929. }
  2930. type metadataCreateDBClusterSnapshotOutput struct {
  2931. SDKShapeTraits bool `type:"structure"`
  2932. }
  2933. // String returns the string representation
  2934. func (s CreateDBClusterSnapshotOutput) String() string {
  2935. return awsutil.Prettify(s)
  2936. }
  2937. // GoString returns the string representation
  2938. func (s CreateDBClusterSnapshotOutput) GoString() string {
  2939. return s.String()
  2940. }
  2941. type CreateDBInstanceInput struct {
  2942. // The amount of storage (in gigabytes) to be initially allocated for the database
  2943. // instance.
  2944. //
  2945. // Type: Integer
  2946. //
  2947. // MySQL
  2948. //
  2949. // Constraints: Must be an integer from 5 to 6144.
  2950. //
  2951. // PostgreSQL
  2952. //
  2953. // Constraints: Must be an integer from 5 to 6144.
  2954. //
  2955. // Oracle
  2956. //
  2957. // Constraints: Must be an integer from 10 to 6144.
  2958. //
  2959. // SQL Server
  2960. //
  2961. // Constraints: Must be an integer from 200 to 4096 (Standard Edition and
  2962. // Enterprise Edition) or from 20 to 4096 (Express Edition and Web Edition)
  2963. AllocatedStorage *int64 `type:"integer"`
  2964. // Indicates that minor engine upgrades will be applied automatically to the
  2965. // DB instance during the maintenance window.
  2966. //
  2967. // Default: true
  2968. AutoMinorVersionUpgrade *bool `type:"boolean"`
  2969. // The EC2 Availability Zone that the database instance will be created in.
  2970. // For information on regions and Availability Zones, see Regions and Availability
  2971. // Zones (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html).
  2972. //
  2973. // Default: A random, system-chosen Availability Zone in the endpoint's region.
  2974. //
  2975. // Example: us-east-1d
  2976. //
  2977. // Constraint: The AvailabilityZone parameter cannot be specified if the MultiAZ
  2978. // parameter is set to true. The specified Availability Zone must be in the
  2979. // same region as the current endpoint.
  2980. AvailabilityZone *string `type:"string"`
  2981. // The number of days for which automated backups are retained. Setting this
  2982. // parameter to a positive number enables backups. Setting this parameter to
  2983. // 0 disables automated backups.
  2984. //
  2985. // Default: 1
  2986. //
  2987. // Constraints:
  2988. //
  2989. // Must be a value from 0 to 35 Cannot be set to 0 if the DB instance is a
  2990. // source to Read Replicas
  2991. BackupRetentionPeriod *int64 `type:"integer"`
  2992. // For supported engines, indicates that the DB instance should be associated
  2993. // with the specified CharacterSet.
  2994. CharacterSetName *string `type:"string"`
  2995. // The identifier of the DB cluster that the instance will belong to.
  2996. //
  2997. // For information on creating a DB cluster, see CreateDBCluster.
  2998. //
  2999. // Type: String
  3000. DBClusterIdentifier *string `type:"string"`
  3001. // The compute and memory capacity of the DB instance.
  3002. //
  3003. // Valid Values: db.t1.micro | db.m1.small | db.m1.medium | db.m1.large |
  3004. // db.m1.xlarge | db.m2.xlarge |db.m2.2xlarge | db.m2.4xlarge | db.m3.medium
  3005. // | db.m3.large | db.m3.xlarge | db.m3.2xlarge | db.r3.large | db.r3.xlarge
  3006. // | db.r3.2xlarge | db.r3.4xlarge | db.r3.8xlarge | db.t2.micro | db.t2.small
  3007. // | db.t2.medium
  3008. DBInstanceClass *string `type:"string" required:"true"`
  3009. // The DB instance identifier. This parameter is stored as a lowercase string.
  3010. //
  3011. // Constraints:
  3012. //
  3013. // Must contain from 1 to 63 alphanumeric characters or hyphens (1 to 15 for
  3014. // SQL Server). First character must be a letter. Cannot end with a hyphen or
  3015. // contain two consecutive hyphens. Example: mydbinstance
  3016. DBInstanceIdentifier *string `type:"string" required:"true"`
  3017. // The meaning of this parameter differs according to the database engine you
  3018. // use.
  3019. //
  3020. // Type: String
  3021. //
  3022. // MySQL
  3023. //
  3024. // The name of the database to create when the DB instance is created. If this
  3025. // parameter is not specified, no database is created in the DB instance.
  3026. //
  3027. // Constraints:
  3028. //
  3029. // Must contain 1 to 64 alphanumeric characters Cannot be a word reserved
  3030. // by the specified database engine PostgreSQL
  3031. //
  3032. // The name of the database to create when the DB instance is created. If this
  3033. // parameter is not specified, the default "postgres" database is created in
  3034. // the DB instance.
  3035. //
  3036. // Constraints:
  3037. //
  3038. // Must contain 1 to 63 alphanumeric characters Must begin with a letter or
  3039. // an underscore. Subsequent characters can be letters, underscores, or digits
  3040. // (0-9). Cannot be a word reserved by the specified database engine Oracle
  3041. //
  3042. // The Oracle System ID (SID) of the created DB instance.
  3043. //
  3044. // Default: ORCL
  3045. //
  3046. // Constraints:
  3047. //
  3048. // Cannot be longer than 8 characters SQL Server
  3049. //
  3050. // Not applicable. Must be null.
  3051. DBName *string `type:"string"`
  3052. // The name of the DB parameter group to associate with this DB instance. If
  3053. // this argument is omitted, the default DBParameterGroup for the specified
  3054. // engine will be used.
  3055. //
  3056. // Constraints:
  3057. //
  3058. // Must be 1 to 255 alphanumeric characters First character must be a letter
  3059. // Cannot end with a hyphen or contain two consecutive hyphens
  3060. DBParameterGroupName *string `type:"string"`
  3061. // A list of DB security groups to associate with this DB instance.
  3062. //
  3063. // Default: The default DB security group for the database engine.
  3064. DBSecurityGroups []*string `locationNameList:"DBSecurityGroupName" type:"list"`
  3065. // A DB subnet group to associate with this DB instance.
  3066. //
  3067. // If there is no DB subnet group, then it is a non-VPC DB instance.
  3068. DBSubnetGroupName *string `type:"string"`
  3069. // The name of the database engine to be used for this instance.
  3070. //
  3071. // Valid Values: MySQL | oracle-se1 | oracle-se | oracle-ee | sqlserver-ee
  3072. // | sqlserver-se | sqlserver-ex | sqlserver-web | postgres
  3073. //
  3074. // Not every database engine is available for every AWS region.
  3075. Engine *string `type:"string" required:"true"`
  3076. // The version number of the database engine to use.
  3077. //
  3078. // The following are the database engines and major and minor versions that
  3079. // are available with Amazon RDS. Not every database engine is available for
  3080. // every AWS region.
  3081. //
  3082. // MySQL
  3083. //
  3084. // Version 5.1 (Only available in the following regions: ap-northeast-1,
  3085. // ap-southeast-1, ap-southeast-2, eu-west-1, sa-east-1, us-west-1, us-west-2):
  3086. // 5.1.73a | 5.1.73b Version 5.5 (Only available in the following regions:
  3087. // ap-northeast-1, ap-southeast-1, ap-southeast-2, eu-west-1, sa-east-1, us-west-1,
  3088. // us-west-2): 5.5.40 | 5.5.40a Version 5.5 (Available in all regions):
  3089. // 5.5.40b | 5.5.41 | 5.5.42 Version 5.6 (Available in all regions): 5.6.19a
  3090. // | 5.6.19b | 5.6.21 | 5.6.21b | 5.6.22 | 5.6.23 MySQL
  3091. //
  3092. // Version 5.1 (Only available in the following regions: ap-northeast-1,
  3093. // ap-southeast-1, ap-southeast-2, eu-west-1, sa-east-1, us-west-1, us-west-2):
  3094. // 5.1.73a | 5.1.73b Version 5.5 (Only available in the following regions:
  3095. // ap-northeast-1, ap-southeast-1, ap-southeast-2, eu-west-1, sa-east-1, us-west-1,
  3096. // us-west-2): 5.5.40 | 5.5.40a Version 5.5 (Available in all regions):
  3097. // 5.5.40b | 5.5.41 | 5.5.42 Version 5.6 (Available in all regions): 5.6.19a
  3098. // | 5.6.19b | 5.6.21 | 5.6.21b | 5.6.22 | 5.6.23 MySQL
  3099. //
  3100. // Version 5.1 (Only available in the following regions: ap-northeast-1,
  3101. // ap-southeast-1, ap-southeast-2, eu-west-1, sa-east-1, us-west-1, us-west-2):
  3102. // 5.1.73a | 5.1.73b Version 5.5 (Only available in the following regions:
  3103. // ap-northeast-1, ap-southeast-1, ap-southeast-2, eu-west-1, sa-east-1, us-west-1,
  3104. // us-west-2): 5.5.40 | 5.5.40a Version 5.5 (Available in all regions):
  3105. // 5.5.40b | 5.5.41 | 5.5.42 Version 5.6 (Available in all regions): 5.6.19a
  3106. // | 5.6.19b | 5.6.21 | 5.6.21b | 5.6.22 | 5.6.23 MySQL
  3107. //
  3108. // Version 5.1 (Only available in the following regions: ap-northeast-1,
  3109. // ap-southeast-1, ap-southeast-2, eu-west-1, sa-east-1, us-west-1, us-west-2):
  3110. // 5.1.73a | 5.1.73b Version 5.5 (Only available in the following regions:
  3111. // ap-northeast-1, ap-southeast-1, ap-southeast-2, eu-west-1, sa-east-1, us-west-1,
  3112. // us-west-2): 5.5.40 | 5.5.40a Version 5.5 (Available in all regions):
  3113. // 5.5.40b | 5.5.41 | 5.5.42 Version 5.6 (Available in all regions): 5.6.19a
  3114. // | 5.6.19b | 5.6.21 | 5.6.21b | 5.6.22 | 5.6.23 Oracle Database Enterprise
  3115. // Edition (oracle-ee)
  3116. //
  3117. // Version 11.2 (Only available in the following regions: ap-northeast-1,
  3118. // ap-southeast-1, ap-southeast-2, eu-west-1, sa-east-1, us-west-1, us-west-2):
  3119. // 11.2.0.2.v3 | 11.2.0.2.v4 | 11.2.0.2.v5 | 11.2.0.2.v6 | 11.2.0.2.v7 Version
  3120. // 11.2 (Available in all regions): 11.2.0.3.v1 | 11.2.0.3.v2 | 11.2.0.4.v1
  3121. // | 11.2.0.4.v3 Version 12.1 (Available in all regions): 12.1.0.1.v1 Oracle
  3122. // Database Enterprise Edition (oracle-ee)
  3123. //
  3124. // Version 11.2 (Only available in the following regions: ap-northeast-1,
  3125. // ap-southeast-1, ap-southeast-2, eu-west-1, sa-east-1, us-west-1, us-west-2):
  3126. // 11.2.0.2.v3 | 11.2.0.2.v4 | 11.2.0.2.v5 | 11.2.0.2.v6 | 11.2.0.2.v7 Version
  3127. // 11.2 (Available in all regions): 11.2.0.3.v1 | 11.2.0.3.v2 | 11.2.0.4.v1
  3128. // | 11.2.0.4.v3 Version 12.1 (Available in all regions): 12.1.0.1.v1 Oracle
  3129. // Database Enterprise Edition (oracle-ee)
  3130. //
  3131. // Version 11.2 (Only available in the following regions: ap-northeast-1,
  3132. // ap-southeast-1, ap-southeast-2, eu-west-1, sa-east-1, us-west-1, us-west-2):
  3133. // 11.2.0.2.v3 | 11.2.0.2.v4 | 11.2.0.2.v5 | 11.2.0.2.v6 | 11.2.0.2.v7 Version
  3134. // 11.2 (Available in all regions): 11.2.0.3.v1 | 11.2.0.3.v2 | 11.2.0.4.v1
  3135. // | 11.2.0.4.v3 Version 12.1 (Available in all regions): 12.1.0.1.v1 Oracle
  3136. // Database Standard Edition (oracle-se)
  3137. //
  3138. // Version 11.2 (Only available in the following regions: us-west-1): 11.2.0.2.v3
  3139. // | 11.2.0.2.v4 | 11.2.0.2.v5 | 11.2.0.2.v6 | 11.2.0.2.v7 Version 11.2 (Only
  3140. // available in the following regions: eu-central-1, us-west-1): 11.2.0.3.v1
  3141. // | 11.2.0.3.v2 | 11.2.0.4.v1 | 11.2.0.4.v3 Version 12.1 (Only available
  3142. // in the following regions: eu-central-1, us-west-1): 12.1.0.1.v1 Oracle
  3143. // Database Standard Edition (oracle-se)
  3144. //
  3145. // Version 11.2 (Only available in the following regions: us-west-1): 11.2.0.2.v3
  3146. // | 11.2.0.2.v4 | 11.2.0.2.v5 | 11.2.0.2.v6 | 11.2.0.2.v7 Version 11.2 (Only
  3147. // available in the following regions: eu-central-1, us-west-1): 11.2.0.3.v1
  3148. // | 11.2.0.3.v2 | 11.2.0.4.v1 | 11.2.0.4.v3 Version 12.1 (Only available
  3149. // in the following regions: eu-central-1, us-west-1): 12.1.0.1.v1 Oracle
  3150. // Database Standard Edition (oracle-se)
  3151. //
  3152. // Version 11.2 (Only available in the following regions: us-west-1): 11.2.0.2.v3
  3153. // | 11.2.0.2.v4 | 11.2.0.2.v5 | 11.2.0.2.v6 | 11.2.0.2.v7 Version 11.2 (Only
  3154. // available in the following regions: eu-central-1, us-west-1): 11.2.0.3.v1
  3155. // | 11.2.0.3.v2 | 11.2.0.4.v1 | 11.2.0.4.v3 Version 12.1 (Only available
  3156. // in the following regions: eu-central-1, us-west-1): 12.1.0.1.v1 Oracle
  3157. // Database Standard Edition One (oracle-se1)
  3158. //
  3159. // Version 11.2 (Only available in the following regions: us-west-1): 11.2.0.2.v3
  3160. // | 11.2.0.2.v4 | 11.2.0.2.v5 | 11.2.0.2.v6 | 11.2.0.2.v7 Version 11.2 (Only
  3161. // available in the following regions: eu-central-1, us-west-1): 11.2.0.3.v1
  3162. // | 11.2.0.3.v2 | 11.2.0.4.v1 | 11.2.0.4.v3 Version 12.1 (Only available
  3163. // in the following regions: eu-central-1, us-west-1): 12.1.0.1.v1 Oracle
  3164. // Database Standard Edition One (oracle-se1)
  3165. //
  3166. // Version 11.2 (Only available in the following regions: us-west-1): 11.2.0.2.v3
  3167. // | 11.2.0.2.v4 | 11.2.0.2.v5 | 11.2.0.2.v6 | 11.2.0.2.v7 Version 11.2 (Only
  3168. // available in the following regions: eu-central-1, us-west-1): 11.2.0.3.v1
  3169. // | 11.2.0.3.v2 | 11.2.0.4.v1 | 11.2.0.4.v3 Version 12.1 (Only available
  3170. // in the following regions: eu-central-1, us-west-1): 12.1.0.1.v1 Oracle
  3171. // Database Standard Edition One (oracle-se1)
  3172. //
  3173. // Version 11.2 (Only available in the following regions: us-west-1): 11.2.0.2.v3
  3174. // | 11.2.0.2.v4 | 11.2.0.2.v5 | 11.2.0.2.v6 | 11.2.0.2.v7 Version 11.2 (Only
  3175. // available in the following regions: eu-central-1, us-west-1): 11.2.0.3.v1
  3176. // | 11.2.0.3.v2 | 11.2.0.4.v1 | 11.2.0.4.v3 Version 12.1 (Only available
  3177. // in the following regions: eu-central-1, us-west-1): 12.1.0.1.v1 PostgreSQL
  3178. //
  3179. // Version 9.3 (Only available in the following regions: ap-northeast-1,
  3180. // ap-southeast-1, ap-southeast-2, eu-west-1, sa-east-1, us-west-1, us-west-2):
  3181. // 9.3.1 | 9.3.2 Version 9.3 (Available in all regions): 9.3.3 | 9.3.5 |
  3182. // 9.3.6 Version 9.4 (Available in all regions): 9.4.1 PostgreSQL
  3183. //
  3184. // Version 9.3 (Only available in the following regions: ap-northeast-1,
  3185. // ap-southeast-1, ap-southeast-2, eu-west-1, sa-east-1, us-west-1, us-west-2):
  3186. // 9.3.1 | 9.3.2 Version 9.3 (Available in all regions): 9.3.3 | 9.3.5 |
  3187. // 9.3.6 Version 9.4 (Available in all regions): 9.4.1 PostgreSQL
  3188. //
  3189. // Version 9.3 (Only available in the following regions: ap-northeast-1,
  3190. // ap-southeast-1, ap-southeast-2, eu-west-1, sa-east-1, us-west-1, us-west-2):
  3191. // 9.3.1 | 9.3.2 Version 9.3 (Available in all regions): 9.3.3 | 9.3.5 |
  3192. // 9.3.6 Version 9.4 (Available in all regions): 9.4.1 Microsoft SQL Server
  3193. // Enterprise Edition (sqlserver-ee)
  3194. //
  3195. // Version 10.50 (Only available in the following regions: eu-central-1,
  3196. // us-west-1): 10.50.2789.0.v1 Version 11.00 (Only available in the following
  3197. // regions: eu-central-1, us-west-1): 11.00.2100.60.v1 Microsoft SQL Server
  3198. // Enterprise Edition (sqlserver-ee)
  3199. //
  3200. // Version 10.50 (Only available in the following regions: eu-central-1,
  3201. // us-west-1): 10.50.2789.0.v1 Version 11.00 (Only available in the following
  3202. // regions: eu-central-1, us-west-1): 11.00.2100.60.v1 Microsoft SQL Server
  3203. // Express Edition (sqlserver-ex)
  3204. //
  3205. // Version 10.50 (Available in all regions): 10.50.2789.0.v1 Version 11.00
  3206. // (Available in all regions): 11.00.2100.60.v1 Microsoft SQL Server Express
  3207. // Edition (sqlserver-ex)
  3208. //
  3209. // Version 10.50 (Available in all regions): 10.50.2789.0.v1 Version 11.00
  3210. // (Available in all regions): 11.00.2100.60.v1 Microsoft SQL Server Standard
  3211. // Edition (sqlserver-se)
  3212. //
  3213. // Version 10.50 (Available in all regions): 10.50.2789.0.v1 Version 11.00
  3214. // (Available in all regions): 11.00.2100.60.v1 Microsoft SQL Server Standard
  3215. // Edition (sqlserver-se)
  3216. //
  3217. // Version 10.50 (Available in all regions): 10.50.2789.0.v1 Version 11.00
  3218. // (Available in all regions): 11.00.2100.60.v1 Microsoft SQL Server Web
  3219. // Edition (sqlserver-web)
  3220. //
  3221. // Version 10.50 (Available in all regions): 10.50.2789.0.v1 Version 11.00
  3222. // (Available in all regions): 11.00.2100.60.v1 Microsoft SQL Server Web
  3223. // Edition (sqlserver-web)
  3224. //
  3225. // Version 10.50 (Available in all regions): 10.50.2789.0.v1 Version 11.00
  3226. // (Available in all regions): 11.00.2100.60.v1
  3227. EngineVersion *string `type:"string"`
  3228. // The amount of Provisioned IOPS (input/output operations per second) to be
  3229. // initially allocated for the DB instance.
  3230. //
  3231. // Constraints: To use PIOPS, this value must be an integer greater than 1000.
  3232. Iops *int64 `type:"integer"`
  3233. // The KMS key identifier for an encrypted DB instance.
  3234. //
  3235. // The KMS key identifier is the Amazon Resoure Name (ARN) for the KMS encryption
  3236. // key. If you are creating a DB instance with the same AWS account that owns
  3237. // the KMS encryption key used to encrypt the new DB instance, then you can
  3238. // use the KMS key alias instead of the ARN for the KM encryption key.
  3239. //
  3240. // If the StorageEncrypted parameter is true, and you do not specify a value
  3241. // for the KmsKeyId parameter, then Amazon RDS will use your default encryption
  3242. // key. AWS KMS creates the default encryption key for your AWS account. Your
  3243. // AWS account has a different default encryption key for each AWS region.
  3244. KmsKeyId *string `type:"string"`
  3245. // License model information for this DB instance.
  3246. //
  3247. // Valid values: license-included | bring-your-own-license | general-public-license
  3248. LicenseModel *string `type:"string"`
  3249. // The password for the master database user. Can be any printable ASCII character
  3250. // except "/", """, or "@".
  3251. //
  3252. // Type: String
  3253. //
  3254. // MySQL
  3255. //
  3256. // Constraints: Must contain from 8 to 41 characters.
  3257. //
  3258. // Oracle
  3259. //
  3260. // Constraints: Must contain from 8 to 30 characters.
  3261. //
  3262. // SQL Server
  3263. //
  3264. // Constraints: Must contain from 8 to 128 characters.
  3265. //
  3266. // PostgreSQL
  3267. //
  3268. // Constraints: Must contain from 8 to 128 characters.
  3269. MasterUserPassword *string `type:"string"`
  3270. // The name of master user for the client DB instance.
  3271. //
  3272. // MySQL
  3273. //
  3274. // Constraints:
  3275. //
  3276. // Must be 1 to 16 alphanumeric characters. First character must be a letter.
  3277. // Cannot be a reserved word for the chosen database engine. Type: String
  3278. //
  3279. // Oracle
  3280. //
  3281. // Constraints:
  3282. //
  3283. // Must be 1 to 30 alphanumeric characters. First character must be a letter.
  3284. // Cannot be a reserved word for the chosen database engine. SQL Server
  3285. //
  3286. // Constraints:
  3287. //
  3288. // Must be 1 to 128 alphanumeric characters. First character must be a letter.
  3289. // Cannot be a reserved word for the chosen database engine. PostgreSQL
  3290. //
  3291. // Constraints:
  3292. //
  3293. // Must be 1 to 63 alphanumeric characters. First character must be a letter.
  3294. // Cannot be a reserved word for the chosen database engine.
  3295. MasterUsername *string `type:"string"`
  3296. // Specifies if the DB instance is a Multi-AZ deployment. You cannot set the
  3297. // AvailabilityZone parameter if the MultiAZ parameter is set to true. Do not
  3298. // set this value if you want a Multi-AZ deployment for a SQL Server DB instance.
  3299. // Multi-AZ for SQL Server is set using the Mirroring option in an option group.
  3300. MultiAZ *bool `type:"boolean"`
  3301. // Indicates that the DB instance should be associated with the specified option
  3302. // group.
  3303. //
  3304. // Permanent options, such as the TDE option for Oracle Advanced Security
  3305. // TDE, cannot be removed from an option group, and that option group cannot
  3306. // be removed from a DB instance once it is associated with a DB instance
  3307. OptionGroupName *string `type:"string"`
  3308. // The port number on which the database accepts connections.
  3309. //
  3310. // MySQL
  3311. //
  3312. // Default: 3306
  3313. //
  3314. // Valid Values: 1150-65535
  3315. //
  3316. // Type: Integer
  3317. //
  3318. // PostgreSQL
  3319. //
  3320. // Default: 5432
  3321. //
  3322. // Valid Values: 1150-65535
  3323. //
  3324. // Type: Integer
  3325. //
  3326. // Oracle
  3327. //
  3328. // Default: 1521
  3329. //
  3330. // Valid Values: 1150-65535
  3331. //
  3332. // SQL Server
  3333. //
  3334. // Default: 1433
  3335. //
  3336. // Valid Values: 1150-65535 except for 1434, 3389, 47001, 49152, and 49152
  3337. // through 49156.
  3338. Port *int64 `type:"integer"`
  3339. // The daily time range during which automated backups are created if automated
  3340. // backups are enabled, using the BackupRetentionPeriod parameter. For more
  3341. // information, see DB Instance Backups (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Overview.BackingUpAndRestoringAmazonRDSInstances.html).
  3342. //
  3343. // Default: A 30-minute window selected at random from an 8-hour block of
  3344. // time per region. To see the time blocks available, see Adjusting the Preferred
  3345. // Maintenance Window (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/AdjustingTheMaintenanceWindow.html)
  3346. // in the Amazon RDS User Guide.
  3347. //
  3348. // Constraints:
  3349. //
  3350. // Must be in the format hh24:mi-hh24:mi. Times should be in Universal Coordinated
  3351. // Time (UTC). Must not conflict with the preferred maintenance window. Must
  3352. // be at least 30 minutes.
  3353. PreferredBackupWindow *string `type:"string"`
  3354. // The weekly time range during which system maintenance can occur, in Universal
  3355. // Coordinated Time (UTC). For more information, see DB Instance Maintenance
  3356. // (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.DBMaintenance.html).
  3357. //
  3358. // Format: ddd:hh24:mi-ddd:hh24:mi
  3359. //
  3360. // Default: A 30-minute window selected at random from an 8-hour block of
  3361. // time per region, occurring on a random day of the week. To see the time blocks
  3362. // available, see Adjusting the Preferred Maintenance Window (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/AdjustingTheMaintenanceWindow.html)
  3363. // in the Amazon RDS User Guide.
  3364. //
  3365. // Valid Days: Mon, Tue, Wed, Thu, Fri, Sat, Sun
  3366. //
  3367. // Constraints: Minimum 30-minute window.
  3368. PreferredMaintenanceWindow *string `type:"string"`
  3369. // Specifies the accessibility options for the DB instance. A value of true
  3370. // specifies an Internet-facing instance with a publicly resolvable DNS name,
  3371. // which resolves to a public IP address. A value of false specifies an internal
  3372. // instance with a DNS name that resolves to a private IP address.
  3373. //
  3374. // Default: The default behavior varies depending on whether a VPC has been
  3375. // requested or not. The following list shows the default behavior in each case.
  3376. //
  3377. // Default VPC: true VPC: false If no DB subnet group has been specified
  3378. // as part of the request and the PubliclyAccessible value has not been set,
  3379. // the DB instance will be publicly accessible. If a specific DB subnet group
  3380. // has been specified as part of the request and the PubliclyAccessible value
  3381. // has not been set, the DB instance will be private.
  3382. PubliclyAccessible *bool `type:"boolean"`
  3383. // Specifies whether the DB instance is encrypted.
  3384. //
  3385. // Default: false
  3386. StorageEncrypted *bool `type:"boolean"`
  3387. // Specifies the storage type to be associated with the DB instance.
  3388. //
  3389. // Valid values: standard | gp2 | io1
  3390. //
  3391. // If you specify io1, you must also include a value for the Iops parameter.
  3392. //
  3393. // Default: io1 if the Iops parameter is specified; otherwise standard
  3394. StorageType *string `type:"string"`
  3395. // A list of tags.
  3396. Tags []*Tag `locationNameList:"Tag" type:"list"`
  3397. // The ARN from the Key Store with which to associate the instance for TDE encryption.
  3398. TdeCredentialArn *string `type:"string"`
  3399. // The password for the given ARN from the Key Store in order to access the
  3400. // device.
  3401. TdeCredentialPassword *string `type:"string"`
  3402. // A list of EC2 VPC security groups to associate with this DB instance.
  3403. //
  3404. // Default: The default EC2 VPC security group for the DB subnet group's VPC.
  3405. VpcSecurityGroupIds []*string `locationNameList:"VpcSecurityGroupId" type:"list"`
  3406. metadataCreateDBInstanceInput `json:"-" xml:"-"`
  3407. }
  3408. type metadataCreateDBInstanceInput struct {
  3409. SDKShapeTraits bool `type:"structure"`
  3410. }
  3411. // String returns the string representation
  3412. func (s CreateDBInstanceInput) String() string {
  3413. return awsutil.Prettify(s)
  3414. }
  3415. // GoString returns the string representation
  3416. func (s CreateDBInstanceInput) GoString() string {
  3417. return s.String()
  3418. }
  3419. type CreateDBInstanceOutput struct {
  3420. // Contains the result of a successful invocation of the following actions:
  3421. //
  3422. // CreateDBInstance DeleteDBInstance ModifyDBInstance This data type
  3423. // is used as a response element in the DescribeDBInstances action.
  3424. DBInstance *DBInstance `type:"structure"`
  3425. metadataCreateDBInstanceOutput `json:"-" xml:"-"`
  3426. }
  3427. type metadataCreateDBInstanceOutput struct {
  3428. SDKShapeTraits bool `type:"structure"`
  3429. }
  3430. // String returns the string representation
  3431. func (s CreateDBInstanceOutput) String() string {
  3432. return awsutil.Prettify(s)
  3433. }
  3434. // GoString returns the string representation
  3435. func (s CreateDBInstanceOutput) GoString() string {
  3436. return s.String()
  3437. }
  3438. type CreateDBInstanceReadReplicaInput struct {
  3439. // Indicates that minor engine upgrades will be applied automatically to the
  3440. // Read Replica during the maintenance window.
  3441. //
  3442. // Default: Inherits from the source DB instance
  3443. AutoMinorVersionUpgrade *bool `type:"boolean"`
  3444. // The Amazon EC2 Availability Zone that the Read Replica will be created in.
  3445. //
  3446. // Default: A random, system-chosen Availability Zone in the endpoint's region.
  3447. //
  3448. // Example: us-east-1d
  3449. AvailabilityZone *string `type:"string"`
  3450. // The compute and memory capacity of the Read Replica.
  3451. //
  3452. // Valid Values: db.m1.small | db.m1.medium | db.m1.large | db.m1.xlarge |
  3453. // db.m2.xlarge |db.m2.2xlarge | db.m2.4xlarge | db.m3.medium | db.m3.large
  3454. // | db.m3.xlarge | db.m3.2xlarge | db.r3.large | db.r3.xlarge | db.r3.2xlarge
  3455. // | db.r3.4xlarge | db.r3.8xlarge | db.t2.micro | db.t2.small | db.t2.medium
  3456. //
  3457. // Default: Inherits from the source DB instance.
  3458. DBInstanceClass *string `type:"string"`
  3459. // The DB instance identifier of the Read Replica. This identifier is the unique
  3460. // key that identifies a DB instance. This parameter is stored as a lowercase
  3461. // string.
  3462. DBInstanceIdentifier *string `type:"string" required:"true"`
  3463. // Specifies a DB subnet group for the DB instance. The new DB instance will
  3464. // be created in the VPC associated with the DB subnet group. If no DB subnet
  3465. // group is specified, then the new DB instance is not created in a VPC.
  3466. //
  3467. // Constraints:
  3468. //
  3469. // Can only be specified if the source DB instance identifier specifies a
  3470. // DB instance in another region. The specified DB subnet group must be in the
  3471. // same region in which the operation is running. All Read Replicas in one
  3472. // region that are created from the same source DB instance must either: Specify
  3473. // DB subnet groups from the same VPC. All these Read Replicas will be created
  3474. // in the same VPC. Not specify a DB subnet group. All these Read Replicas will
  3475. // be created outside of any VPC.
  3476. DBSubnetGroupName *string `type:"string"`
  3477. // The amount of Provisioned IOPS (input/output operations per second) to be
  3478. // initially allocated for the DB instance.
  3479. Iops *int64 `type:"integer"`
  3480. // The option group the DB instance will be associated with. If omitted, the
  3481. // default option group for the engine specified will be used.
  3482. OptionGroupName *string `type:"string"`
  3483. // The port number that the DB instance uses for connections.
  3484. //
  3485. // Default: Inherits from the source DB instance
  3486. //
  3487. // Valid Values: 1150-65535
  3488. Port *int64 `type:"integer"`
  3489. // Specifies the accessibility options for the DB instance. A value of true
  3490. // specifies an Internet-facing instance with a publicly resolvable DNS name,
  3491. // which resolves to a public IP address. A value of false specifies an internal
  3492. // instance with a DNS name that resolves to a private IP address.
  3493. //
  3494. // Default: The default behavior varies depending on whether a VPC has been
  3495. // requested or not. The following list shows the default behavior in each case.
  3496. //
  3497. // Default VPC:true VPC:false If no DB subnet group has been specified
  3498. // as part of the request and the PubliclyAccessible value has not been set,
  3499. // the DB instance will be publicly accessible. If a specific DB subnet group
  3500. // has been specified as part of the request and the PubliclyAccessible value
  3501. // has not been set, the DB instance will be private.
  3502. PubliclyAccessible *bool `type:"boolean"`
  3503. // The identifier of the DB instance that will act as the source for the Read
  3504. // Replica. Each DB instance can have up to five Read Replicas.
  3505. //
  3506. // Constraints:
  3507. //
  3508. // Must be the identifier of an existing DB instance. Can specify a DB instance
  3509. // that is a MySQL Read Replica only if the source is running MySQL 5.6. Can
  3510. // specify a DB instance that is a PostgreSQL Read Replica only if the source
  3511. // is running PostgreSQL 9.3.5. The specified DB instance must have automatic
  3512. // backups enabled, its backup retention period must be greater than 0. If the
  3513. // source DB instance is in the same region as the Read Replica, specify a valid
  3514. // DB instance identifier. If the source DB instance is in a different region
  3515. // than the Read Replica, specify a valid DB instance ARN. For more information,
  3516. // go to Constructing a Amazon RDS Amazon Resource Name (ARN) (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html#USER_Tagging.ARN).
  3517. SourceDBInstanceIdentifier *string `type:"string" required:"true"`
  3518. // Specifies the storage type to be associated with the Read Replica.
  3519. //
  3520. // Valid values: standard | gp2 | io1
  3521. //
  3522. // If you specify io1, you must also include a value for the Iops parameter.
  3523. //
  3524. // Default: io1 if the Iops parameter is specified; otherwise standard
  3525. StorageType *string `type:"string"`
  3526. // A list of tags.
  3527. Tags []*Tag `locationNameList:"Tag" type:"list"`
  3528. metadataCreateDBInstanceReadReplicaInput `json:"-" xml:"-"`
  3529. }
  3530. type metadataCreateDBInstanceReadReplicaInput struct {
  3531. SDKShapeTraits bool `type:"structure"`
  3532. }
  3533. // String returns the string representation
  3534. func (s CreateDBInstanceReadReplicaInput) String() string {
  3535. return awsutil.Prettify(s)
  3536. }
  3537. // GoString returns the string representation
  3538. func (s CreateDBInstanceReadReplicaInput) GoString() string {
  3539. return s.String()
  3540. }
  3541. type CreateDBInstanceReadReplicaOutput struct {
  3542. // Contains the result of a successful invocation of the following actions:
  3543. //
  3544. // CreateDBInstance DeleteDBInstance ModifyDBInstance This data type
  3545. // is used as a response element in the DescribeDBInstances action.
  3546. DBInstance *DBInstance `type:"structure"`
  3547. metadataCreateDBInstanceReadReplicaOutput `json:"-" xml:"-"`
  3548. }
  3549. type metadataCreateDBInstanceReadReplicaOutput struct {
  3550. SDKShapeTraits bool `type:"structure"`
  3551. }
  3552. // String returns the string representation
  3553. func (s CreateDBInstanceReadReplicaOutput) String() string {
  3554. return awsutil.Prettify(s)
  3555. }
  3556. // GoString returns the string representation
  3557. func (s CreateDBInstanceReadReplicaOutput) GoString() string {
  3558. return s.String()
  3559. }
  3560. type CreateDBParameterGroupInput struct {
  3561. // The DB parameter group family name. A DB parameter group can be associated
  3562. // with one and only one DB parameter group family, and can be applied only
  3563. // to a DB instance running a database engine and engine version compatible
  3564. // with that DB parameter group family.
  3565. DBParameterGroupFamily *string `type:"string" required:"true"`
  3566. // The name of the DB parameter group.
  3567. //
  3568. // Constraints:
  3569. //
  3570. // Must be 1 to 255 alphanumeric characters First character must be a letter
  3571. // Cannot end with a hyphen or contain two consecutive hyphens This value is
  3572. // stored as a lowercase string.
  3573. DBParameterGroupName *string `type:"string" required:"true"`
  3574. // The description for the DB parameter group.
  3575. Description *string `type:"string" required:"true"`
  3576. // A list of tags.
  3577. Tags []*Tag `locationNameList:"Tag" type:"list"`
  3578. metadataCreateDBParameterGroupInput `json:"-" xml:"-"`
  3579. }
  3580. type metadataCreateDBParameterGroupInput struct {
  3581. SDKShapeTraits bool `type:"structure"`
  3582. }
  3583. // String returns the string representation
  3584. func (s CreateDBParameterGroupInput) String() string {
  3585. return awsutil.Prettify(s)
  3586. }
  3587. // GoString returns the string representation
  3588. func (s CreateDBParameterGroupInput) GoString() string {
  3589. return s.String()
  3590. }
  3591. type CreateDBParameterGroupOutput struct {
  3592. // Contains the result of a successful invocation of the CreateDBParameterGroup
  3593. // action.
  3594. //
  3595. // This data type is used as a request parameter in the DeleteDBParameterGroup
  3596. // action, and as a response element in the DescribeDBParameterGroups action.
  3597. DBParameterGroup *DBParameterGroup `type:"structure"`
  3598. metadataCreateDBParameterGroupOutput `json:"-" xml:"-"`
  3599. }
  3600. type metadataCreateDBParameterGroupOutput struct {
  3601. SDKShapeTraits bool `type:"structure"`
  3602. }
  3603. // String returns the string representation
  3604. func (s CreateDBParameterGroupOutput) String() string {
  3605. return awsutil.Prettify(s)
  3606. }
  3607. // GoString returns the string representation
  3608. func (s CreateDBParameterGroupOutput) GoString() string {
  3609. return s.String()
  3610. }
  3611. type CreateDBSecurityGroupInput struct {
  3612. // The description for the DB security group.
  3613. DBSecurityGroupDescription *string `type:"string" required:"true"`
  3614. // The name for the DB security group. This value is stored as a lowercase string.
  3615. //
  3616. // Constraints:
  3617. //
  3618. // Must be 1 to 255 alphanumeric characters First character must be a letter
  3619. // Cannot end with a hyphen or contain two consecutive hyphens Must not be "Default"
  3620. // Cannot contain spaces Example: mysecuritygroup
  3621. DBSecurityGroupName *string `type:"string" required:"true"`
  3622. // A list of tags.
  3623. Tags []*Tag `locationNameList:"Tag" type:"list"`
  3624. metadataCreateDBSecurityGroupInput `json:"-" xml:"-"`
  3625. }
  3626. type metadataCreateDBSecurityGroupInput struct {
  3627. SDKShapeTraits bool `type:"structure"`
  3628. }
  3629. // String returns the string representation
  3630. func (s CreateDBSecurityGroupInput) String() string {
  3631. return awsutil.Prettify(s)
  3632. }
  3633. // GoString returns the string representation
  3634. func (s CreateDBSecurityGroupInput) GoString() string {
  3635. return s.String()
  3636. }
  3637. type CreateDBSecurityGroupOutput struct {
  3638. // Contains the result of a successful invocation of the following actions:
  3639. //
  3640. // DescribeDBSecurityGroups AuthorizeDBSecurityGroupIngress CreateDBSecurityGroup
  3641. // RevokeDBSecurityGroupIngress This data type is used as a response element
  3642. // in the DescribeDBSecurityGroups action.
  3643. DBSecurityGroup *DBSecurityGroup `type:"structure"`
  3644. metadataCreateDBSecurityGroupOutput `json:"-" xml:"-"`
  3645. }
  3646. type metadataCreateDBSecurityGroupOutput struct {
  3647. SDKShapeTraits bool `type:"structure"`
  3648. }
  3649. // String returns the string representation
  3650. func (s CreateDBSecurityGroupOutput) String() string {
  3651. return awsutil.Prettify(s)
  3652. }
  3653. // GoString returns the string representation
  3654. func (s CreateDBSecurityGroupOutput) GoString() string {
  3655. return s.String()
  3656. }
  3657. type CreateDBSnapshotInput struct {
  3658. // The DB instance identifier. This is the unique key that identifies a DB instance.
  3659. //
  3660. // Constraints:
  3661. //
  3662. // Must contain from 1 to 63 alphanumeric characters or hyphens First character
  3663. // must be a letter Cannot end with a hyphen or contain two consecutive hyphens
  3664. DBInstanceIdentifier *string `type:"string" required:"true"`
  3665. // The identifier for the DB snapshot.
  3666. //
  3667. // Constraints:
  3668. //
  3669. // Cannot be null, empty, or blank Must contain from 1 to 255 alphanumeric
  3670. // characters or hyphens First character must be a letter Cannot end with a
  3671. // hyphen or contain two consecutive hyphens Example: my-snapshot-id
  3672. DBSnapshotIdentifier *string `type:"string" required:"true"`
  3673. // A list of tags.
  3674. Tags []*Tag `locationNameList:"Tag" type:"list"`
  3675. metadataCreateDBSnapshotInput `json:"-" xml:"-"`
  3676. }
  3677. type metadataCreateDBSnapshotInput struct {
  3678. SDKShapeTraits bool `type:"structure"`
  3679. }
  3680. // String returns the string representation
  3681. func (s CreateDBSnapshotInput) String() string {
  3682. return awsutil.Prettify(s)
  3683. }
  3684. // GoString returns the string representation
  3685. func (s CreateDBSnapshotInput) GoString() string {
  3686. return s.String()
  3687. }
  3688. type CreateDBSnapshotOutput struct {
  3689. // Contains the result of a successful invocation of the following actions:
  3690. //
  3691. // CreateDBSnapshot DeleteDBSnapshot This data type is used as a response
  3692. // element in the DescribeDBSnapshots action.
  3693. DBSnapshot *DBSnapshot `type:"structure"`
  3694. metadataCreateDBSnapshotOutput `json:"-" xml:"-"`
  3695. }
  3696. type metadataCreateDBSnapshotOutput struct {
  3697. SDKShapeTraits bool `type:"structure"`
  3698. }
  3699. // String returns the string representation
  3700. func (s CreateDBSnapshotOutput) String() string {
  3701. return awsutil.Prettify(s)
  3702. }
  3703. // GoString returns the string representation
  3704. func (s CreateDBSnapshotOutput) GoString() string {
  3705. return s.String()
  3706. }
  3707. type CreateDBSubnetGroupInput struct {
  3708. // The description for the DB subnet group.
  3709. DBSubnetGroupDescription *string `type:"string" required:"true"`
  3710. // The name for the DB subnet group. This value is stored as a lowercase string.
  3711. //
  3712. // Constraints: Must contain no more than 255 alphanumeric characters or hyphens.
  3713. // Must not be "Default".
  3714. //
  3715. // Example: mySubnetgroup
  3716. DBSubnetGroupName *string `type:"string" required:"true"`
  3717. // The EC2 Subnet IDs for the DB subnet group.
  3718. SubnetIds []*string `locationNameList:"SubnetIdentifier" type:"list" required:"true"`
  3719. // A list of tags.
  3720. Tags []*Tag `locationNameList:"Tag" type:"list"`
  3721. metadataCreateDBSubnetGroupInput `json:"-" xml:"-"`
  3722. }
  3723. type metadataCreateDBSubnetGroupInput struct {
  3724. SDKShapeTraits bool `type:"structure"`
  3725. }
  3726. // String returns the string representation
  3727. func (s CreateDBSubnetGroupInput) String() string {
  3728. return awsutil.Prettify(s)
  3729. }
  3730. // GoString returns the string representation
  3731. func (s CreateDBSubnetGroupInput) GoString() string {
  3732. return s.String()
  3733. }
  3734. type CreateDBSubnetGroupOutput struct {
  3735. // Contains the result of a successful invocation of the following actions:
  3736. //
  3737. // CreateDBSubnetGroup ModifyDBSubnetGroup DescribeDBSubnetGroups DeleteDBSubnetGroup
  3738. // This data type is used as a response element in the DescribeDBSubnetGroups
  3739. // action.
  3740. DBSubnetGroup *DBSubnetGroup `type:"structure"`
  3741. metadataCreateDBSubnetGroupOutput `json:"-" xml:"-"`
  3742. }
  3743. type metadataCreateDBSubnetGroupOutput struct {
  3744. SDKShapeTraits bool `type:"structure"`
  3745. }
  3746. // String returns the string representation
  3747. func (s CreateDBSubnetGroupOutput) String() string {
  3748. return awsutil.Prettify(s)
  3749. }
  3750. // GoString returns the string representation
  3751. func (s CreateDBSubnetGroupOutput) GoString() string {
  3752. return s.String()
  3753. }
  3754. type CreateEventSubscriptionInput struct {
  3755. // A Boolean value; set to true to activate the subscription, set to false to
  3756. // create the subscription but not active it.
  3757. Enabled *bool `type:"boolean"`
  3758. // A list of event categories for a SourceType that you want to subscribe to.
  3759. // You can see a list of the categories for a given SourceType in the Events
  3760. // (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Events.html)
  3761. // topic in the Amazon RDS User Guide or by using the DescribeEventCategories
  3762. // action.
  3763. EventCategories []*string `locationNameList:"EventCategory" type:"list"`
  3764. // The Amazon Resource Name (ARN) of the SNS topic created for event notification.
  3765. // The ARN is created by Amazon SNS when you create a topic and subscribe to
  3766. // it.
  3767. SnsTopicArn *string `type:"string" required:"true"`
  3768. // The list of identifiers of the event sources for which events will be returned.
  3769. // If not specified, then all sources are included in the response. An identifier
  3770. // must begin with a letter and must contain only ASCII letters, digits, and
  3771. // hyphens; it cannot end with a hyphen or contain two consecutive hyphens.
  3772. //
  3773. // Constraints:
  3774. //
  3775. // If SourceIds are supplied, SourceType must also be provided. If the source
  3776. // type is a DB instance, then a DBInstanceIdentifier must be supplied. If the
  3777. // source type is a DB security group, a DBSecurityGroupName must be supplied.
  3778. // If the source type is a DB parameter group, a DBParameterGroupName must be
  3779. // supplied. If the source type is a DB snapshot, a DBSnapshotIdentifier must
  3780. // be supplied.
  3781. SourceIds []*string `locationNameList:"SourceId" type:"list"`
  3782. // The type of source that will be generating the events. For example, if you
  3783. // want to be notified of events generated by a DB instance, you would set this
  3784. // parameter to db-instance. if this value is not specified, all events are
  3785. // returned.
  3786. //
  3787. // Valid values: db-instance | db-parameter-group | db-security-group | db-snapshot
  3788. SourceType *string `type:"string"`
  3789. // The name of the subscription.
  3790. //
  3791. // Constraints: The name must be less than 255 characters.
  3792. SubscriptionName *string `type:"string" required:"true"`
  3793. // A list of tags.
  3794. Tags []*Tag `locationNameList:"Tag" type:"list"`
  3795. metadataCreateEventSubscriptionInput `json:"-" xml:"-"`
  3796. }
  3797. type metadataCreateEventSubscriptionInput struct {
  3798. SDKShapeTraits bool `type:"structure"`
  3799. }
  3800. // String returns the string representation
  3801. func (s CreateEventSubscriptionInput) String() string {
  3802. return awsutil.Prettify(s)
  3803. }
  3804. // GoString returns the string representation
  3805. func (s CreateEventSubscriptionInput) GoString() string {
  3806. return s.String()
  3807. }
  3808. type CreateEventSubscriptionOutput struct {
  3809. // Contains the results of a successful invocation of the DescribeEventSubscriptions
  3810. // action.
  3811. EventSubscription *EventSubscription `type:"structure"`
  3812. metadataCreateEventSubscriptionOutput `json:"-" xml:"-"`
  3813. }
  3814. type metadataCreateEventSubscriptionOutput struct {
  3815. SDKShapeTraits bool `type:"structure"`
  3816. }
  3817. // String returns the string representation
  3818. func (s CreateEventSubscriptionOutput) String() string {
  3819. return awsutil.Prettify(s)
  3820. }
  3821. // GoString returns the string representation
  3822. func (s CreateEventSubscriptionOutput) GoString() string {
  3823. return s.String()
  3824. }
  3825. type CreateOptionGroupInput struct {
  3826. // Specifies the name of the engine that this option group should be associated
  3827. // with.
  3828. EngineName *string `type:"string" required:"true"`
  3829. // Specifies the major version of the engine that this option group should be
  3830. // associated with.
  3831. MajorEngineVersion *string `type:"string" required:"true"`
  3832. // The description of the option group.
  3833. OptionGroupDescription *string `type:"string" required:"true"`
  3834. // Specifies the name of the option group to be created.
  3835. //
  3836. // Constraints:
  3837. //
  3838. // Must be 1 to 255 alphanumeric characters or hyphens First character must
  3839. // be a letter Cannot end with a hyphen or contain two consecutive hyphens
  3840. // Example: myoptiongroup
  3841. OptionGroupName *string `type:"string" required:"true"`
  3842. // A list of tags.
  3843. Tags []*Tag `locationNameList:"Tag" type:"list"`
  3844. metadataCreateOptionGroupInput `json:"-" xml:"-"`
  3845. }
  3846. type metadataCreateOptionGroupInput struct {
  3847. SDKShapeTraits bool `type:"structure"`
  3848. }
  3849. // String returns the string representation
  3850. func (s CreateOptionGroupInput) String() string {
  3851. return awsutil.Prettify(s)
  3852. }
  3853. // GoString returns the string representation
  3854. func (s CreateOptionGroupInput) GoString() string {
  3855. return s.String()
  3856. }
  3857. type CreateOptionGroupOutput struct {
  3858. OptionGroup *OptionGroup `type:"structure"`
  3859. metadataCreateOptionGroupOutput `json:"-" xml:"-"`
  3860. }
  3861. type metadataCreateOptionGroupOutput struct {
  3862. SDKShapeTraits bool `type:"structure"`
  3863. }
  3864. // String returns the string representation
  3865. func (s CreateOptionGroupOutput) String() string {
  3866. return awsutil.Prettify(s)
  3867. }
  3868. // GoString returns the string representation
  3869. func (s CreateOptionGroupOutput) GoString() string {
  3870. return s.String()
  3871. }
  3872. // Contains the result of a successful invocation of the following actions:
  3873. //
  3874. // CreateDBCluster DeleteDBCluster FailoverDBCluster ModifyDBCluster
  3875. // RestoreDBClusterFromSnapshot This data type is used as a response element
  3876. // in the DescribeDBClusters action.
  3877. type DBCluster struct {
  3878. // Specifies the allocated storage size in gigabytes (GB).
  3879. AllocatedStorage *int64 `type:"integer"`
  3880. // Provides the list of EC2 Availability Zones that instances in the DB cluster
  3881. // can be created in.
  3882. AvailabilityZones []*string `locationNameList:"AvailabilityZone" type:"list"`
  3883. // Specifies the number of days for which automatic DB snapshots are retained.
  3884. BackupRetentionPeriod *int64 `type:"integer"`
  3885. // If present, specifies the name of the character set that this cluster is
  3886. // associated with.
  3887. CharacterSetName *string `type:"string"`
  3888. // Contains a user-supplied DB cluster identifier. This identifier is the unique
  3889. // key that identifies a DB cluster.
  3890. DBClusterIdentifier *string `type:"string"`
  3891. // Provides the list of instances that make up the DB cluster.
  3892. DBClusterMembers []*DBClusterMember `locationNameList:"DBClusterMember" type:"list"`
  3893. // Provides the list of option group memberships for this DB cluster.
  3894. DBClusterOptionGroupMemberships []*DBClusterOptionGroupStatus `locationNameList:"DBClusterOptionGroup" type:"list"`
  3895. // Specifies the name of the DB cluster parameter group for the DB cluster.
  3896. DBClusterParameterGroup *string `type:"string"`
  3897. // Specifies information on the subnet group associated with the DB cluster,
  3898. // including the name, description, and subnets in the subnet group.
  3899. DBSubnetGroup *string `type:"string"`
  3900. // Contains the name of the initial database of this DB cluster that was provided
  3901. // at create time, if one was specified when the DB cluster was created. This
  3902. // same name is returned for the life of the DB cluster.
  3903. DatabaseName *string `type:"string"`
  3904. // Specifies the earliest time to which a database can be restored with point-in-time
  3905. // restore.
  3906. EarliestRestorableTime *time.Time `type:"timestamp" timestampFormat:"iso8601"`
  3907. // Specifies the connection endpoint for the primary instance of the DB cluster.
  3908. Endpoint *string `type:"string"`
  3909. // Provides the name of the database engine to be used for this DB cluster.
  3910. Engine *string `type:"string"`
  3911. // Indicates the database engine version.
  3912. EngineVersion *string `type:"string"`
  3913. // Specifies the latest time to which a database can be restored with point-in-time
  3914. // restore.
  3915. LatestRestorableTime *time.Time `type:"timestamp" timestampFormat:"iso8601"`
  3916. // Contains the master username for the DB cluster.
  3917. MasterUsername *string `type:"string"`
  3918. // Specifies the progress of the operation as a percentage.
  3919. PercentProgress *string `type:"string"`
  3920. // Specifies the port that the database engine is listening on.
  3921. Port *int64 `type:"integer"`
  3922. // Specifies the daily time range during which automated backups are created
  3923. // if automated backups are enabled, as determined by the BackupRetentionPeriod.
  3924. PreferredBackupWindow *string `type:"string"`
  3925. // Specifies the weekly time range during which system maintenance can occur,
  3926. // in Universal Coordinated Time (UTC).
  3927. PreferredMaintenanceWindow *string `type:"string"`
  3928. // Specifies the current state of this DB cluster.
  3929. Status *string `type:"string"`
  3930. // Provides a list of VPC security groups that the DB cluster belongs to.
  3931. VpcSecurityGroups []*VpcSecurityGroupMembership `locationNameList:"VpcSecurityGroupMembership" type:"list"`
  3932. metadataDBCluster `json:"-" xml:"-"`
  3933. }
  3934. type metadataDBCluster struct {
  3935. SDKShapeTraits bool `type:"structure"`
  3936. }
  3937. // String returns the string representation
  3938. func (s DBCluster) String() string {
  3939. return awsutil.Prettify(s)
  3940. }
  3941. // GoString returns the string representation
  3942. func (s DBCluster) GoString() string {
  3943. return s.String()
  3944. }
  3945. // Contains information about an instance that is part of a DB cluster.
  3946. type DBClusterMember struct {
  3947. // Specifies the status of the DB cluster parameter group for this member of
  3948. // the DB cluster.
  3949. DBClusterParameterGroupStatus *string `type:"string"`
  3950. // Specifies the instance identifier for this member of the DB cluster.
  3951. DBInstanceIdentifier *string `type:"string"`
  3952. // Value that is true if the cluster member is the primary instance for the
  3953. // DB cluster and false otherwise.
  3954. IsClusterWriter *bool `type:"boolean"`
  3955. metadataDBClusterMember `json:"-" xml:"-"`
  3956. }
  3957. type metadataDBClusterMember struct {
  3958. SDKShapeTraits bool `type:"structure"`
  3959. }
  3960. // String returns the string representation
  3961. func (s DBClusterMember) String() string {
  3962. return awsutil.Prettify(s)
  3963. }
  3964. // GoString returns the string representation
  3965. func (s DBClusterMember) GoString() string {
  3966. return s.String()
  3967. }
  3968. // Contains status information for a DB cluster option group.
  3969. type DBClusterOptionGroupStatus struct {
  3970. // Specifies the name of the DB cluster option group.
  3971. DBClusterOptionGroupName *string `type:"string"`
  3972. // Specifies the status of the DB cluster option group.
  3973. Status *string `type:"string"`
  3974. metadataDBClusterOptionGroupStatus `json:"-" xml:"-"`
  3975. }
  3976. type metadataDBClusterOptionGroupStatus struct {
  3977. SDKShapeTraits bool `type:"structure"`
  3978. }
  3979. // String returns the string representation
  3980. func (s DBClusterOptionGroupStatus) String() string {
  3981. return awsutil.Prettify(s)
  3982. }
  3983. // GoString returns the string representation
  3984. func (s DBClusterOptionGroupStatus) GoString() string {
  3985. return s.String()
  3986. }
  3987. // Contains the result of a successful invocation of the CreateDBClusterParameterGroup
  3988. // action.
  3989. //
  3990. // This data type is used as a request parameter in the DeleteDBClusterParameterGroup
  3991. // action, and as a response element in the DescribeDBClusterParameterGroups
  3992. // action.
  3993. type DBClusterParameterGroup struct {
  3994. // Provides the name of the DB cluster parameter group.
  3995. DBClusterParameterGroupName *string `type:"string"`
  3996. // Provides the name of the DB parameter group family that this DB cluster parameter
  3997. // group is compatible with.
  3998. DBParameterGroupFamily *string `type:"string"`
  3999. // Provides the customer-specified description for this DB cluster parameter
  4000. // group.
  4001. Description *string `type:"string"`
  4002. metadataDBClusterParameterGroup `json:"-" xml:"-"`
  4003. }
  4004. type metadataDBClusterParameterGroup struct {
  4005. SDKShapeTraits bool `type:"structure"`
  4006. }
  4007. // String returns the string representation
  4008. func (s DBClusterParameterGroup) String() string {
  4009. return awsutil.Prettify(s)
  4010. }
  4011. // GoString returns the string representation
  4012. func (s DBClusterParameterGroup) GoString() string {
  4013. return s.String()
  4014. }
  4015. type DBClusterParameterGroupNameMessage struct {
  4016. // The name of the DB cluster parameter group.
  4017. //
  4018. // Constraints:
  4019. //
  4020. // Must be 1 to 255 alphanumeric characters First character must be a letter
  4021. // Cannot end with a hyphen or contain two consecutive hyphens This value is
  4022. // stored as a lowercase string.
  4023. DBClusterParameterGroupName *string `type:"string"`
  4024. metadataDBClusterParameterGroupNameMessage `json:"-" xml:"-"`
  4025. }
  4026. type metadataDBClusterParameterGroupNameMessage struct {
  4027. SDKShapeTraits bool `type:"structure"`
  4028. }
  4029. // String returns the string representation
  4030. func (s DBClusterParameterGroupNameMessage) String() string {
  4031. return awsutil.Prettify(s)
  4032. }
  4033. // GoString returns the string representation
  4034. func (s DBClusterParameterGroupNameMessage) GoString() string {
  4035. return s.String()
  4036. }
  4037. // Contains the result of a successful invocation of the following actions:
  4038. //
  4039. // CreateDBClusterSnapshot DeleteDBClusterSnapshot This data type is
  4040. // used as a response element in the DescribeDBClusterSnapshots action.
  4041. type DBClusterSnapshot struct {
  4042. // Specifies the allocated storage size in gigabytes (GB).
  4043. AllocatedStorage *int64 `type:"integer"`
  4044. // Provides the list of EC2 Availability Zones that instances in the DB cluster
  4045. // snapshot can be restored in.
  4046. AvailabilityZones []*string `locationNameList:"AvailabilityZone" type:"list"`
  4047. // Specifies the time when the DB cluster was created, in Universal Coordinated
  4048. // Time (UTC).
  4049. ClusterCreateTime *time.Time `type:"timestamp" timestampFormat:"iso8601"`
  4050. // Specifies the DB cluster identifier of the DB cluster that this DB cluster
  4051. // snapshot was created from.
  4052. DBClusterIdentifier *string `type:"string"`
  4053. // Specifies the identifier for the DB cluster snapshot.
  4054. DBClusterSnapshotIdentifier *string `type:"string"`
  4055. // Specifies the name of the database engine.
  4056. Engine *string `type:"string"`
  4057. // Provides the version of the database engine for this DB cluster snapshot.
  4058. EngineVersion *string `type:"string"`
  4059. // Provides the license model information for this DB cluster snapshot.
  4060. LicenseModel *string `type:"string"`
  4061. // Provides the master username for the DB cluster snapshot.
  4062. MasterUsername *string `type:"string"`
  4063. // Specifies the percentage of the estimated data that has been transferred.
  4064. PercentProgress *int64 `type:"integer"`
  4065. // Specifies the port that the DB cluster was listening on at the time of the
  4066. // snapshot.
  4067. Port *int64 `type:"integer"`
  4068. // Provides the time when the snapshot was taken, in Universal Coordinated Time
  4069. // (UTC).
  4070. SnapshotCreateTime *time.Time `type:"timestamp" timestampFormat:"iso8601"`
  4071. // Provides the type of the DB cluster snapshot.
  4072. SnapshotType *string `type:"string"`
  4073. // Specifies the status of this DB cluster snapshot.
  4074. Status *string `type:"string"`
  4075. // Provides the VPC ID associated with the DB cluster snapshot.
  4076. VpcId *string `type:"string"`
  4077. metadataDBClusterSnapshot `json:"-" xml:"-"`
  4078. }
  4079. type metadataDBClusterSnapshot struct {
  4080. SDKShapeTraits bool `type:"structure"`
  4081. }
  4082. // String returns the string representation
  4083. func (s DBClusterSnapshot) String() string {
  4084. return awsutil.Prettify(s)
  4085. }
  4086. // GoString returns the string representation
  4087. func (s DBClusterSnapshot) GoString() string {
  4088. return s.String()
  4089. }
  4090. // This data type is used as a response element in the action DescribeDBEngineVersions.
  4091. type DBEngineVersion struct {
  4092. // The description of the database engine.
  4093. DBEngineDescription *string `type:"string"`
  4094. // The description of the database engine version.
  4095. DBEngineVersionDescription *string `type:"string"`
  4096. // The name of the DB parameter group family for the database engine.
  4097. DBParameterGroupFamily *string `type:"string"`
  4098. // The default character set for new instances of this engine version, if the
  4099. // CharacterSetName parameter of the CreateDBInstance API is not specified.
  4100. DefaultCharacterSet *CharacterSet `type:"structure"`
  4101. // The name of the database engine.
  4102. Engine *string `type:"string"`
  4103. // The version number of the database engine.
  4104. EngineVersion *string `type:"string"`
  4105. // A list of the character sets supported by this engine for the CharacterSetName
  4106. // parameter of the CreateDBInstance API.
  4107. SupportedCharacterSets []*CharacterSet `locationNameList:"CharacterSet" type:"list"`
  4108. metadataDBEngineVersion `json:"-" xml:"-"`
  4109. }
  4110. type metadataDBEngineVersion struct {
  4111. SDKShapeTraits bool `type:"structure"`
  4112. }
  4113. // String returns the string representation
  4114. func (s DBEngineVersion) String() string {
  4115. return awsutil.Prettify(s)
  4116. }
  4117. // GoString returns the string representation
  4118. func (s DBEngineVersion) GoString() string {
  4119. return s.String()
  4120. }
  4121. // Contains the result of a successful invocation of the following actions:
  4122. //
  4123. // CreateDBInstance DeleteDBInstance ModifyDBInstance This data type
  4124. // is used as a response element in the DescribeDBInstances action.
  4125. type DBInstance struct {
  4126. // Specifies the allocated storage size specified in gigabytes.
  4127. AllocatedStorage *int64 `type:"integer"`
  4128. // Indicates that minor version patches are applied automatically.
  4129. AutoMinorVersionUpgrade *bool `type:"boolean"`
  4130. // Specifies the name of the Availability Zone the DB instance is located in.
  4131. AvailabilityZone *string `type:"string"`
  4132. // Specifies the number of days for which automatic DB snapshots are retained.
  4133. BackupRetentionPeriod *int64 `type:"integer"`
  4134. // The identifier of the CA certificate for this DB instance.
  4135. CACertificateIdentifier *string `type:"string"`
  4136. // If present, specifies the name of the character set that this instance is
  4137. // associated with.
  4138. CharacterSetName *string `type:"string"`
  4139. // If the DB instance is a member of a DB cluster, contains the name of the
  4140. // DB cluster that the DB instance is a member of.
  4141. DBClusterIdentifier *string `type:"string"`
  4142. // Contains the name of the compute and memory capacity class of the DB instance.
  4143. DBInstanceClass *string `type:"string"`
  4144. // Contains a user-supplied database identifier. This identifier is the unique
  4145. // key that identifies a DB instance.
  4146. DBInstanceIdentifier *string `type:"string"`
  4147. // Specifies the current state of this database.
  4148. DBInstanceStatus *string `type:"string"`
  4149. // The meaning of this parameter differs according to the database engine you
  4150. // use. For example, this value returns either MySQL or PostgreSQL information
  4151. // when returning values from CreateDBInstanceReadReplica since Read Replicas
  4152. // are only supported for MySQL and PostgreSQL.
  4153. //
  4154. // MySQL, SQL Server, PostgreSQL
  4155. //
  4156. // Contains the name of the initial database of this instance that was provided
  4157. // at create time, if one was specified when the DB instance was created. This
  4158. // same name is returned for the life of the DB instance.
  4159. //
  4160. // Type: String
  4161. //
  4162. // Oracle
  4163. //
  4164. // Contains the Oracle System ID (SID) of the created DB instance. Not shown
  4165. // when the returned parameters do not apply to an Oracle DB instance.
  4166. DBName *string `type:"string"`
  4167. // Provides the list of DB parameter groups applied to this DB instance.
  4168. DBParameterGroups []*DBParameterGroupStatus `locationNameList:"DBParameterGroup" type:"list"`
  4169. // Provides List of DB security group elements containing only DBSecurityGroup.Name
  4170. // and DBSecurityGroup.Status subelements.
  4171. DBSecurityGroups []*DBSecurityGroupMembership `locationNameList:"DBSecurityGroup" type:"list"`
  4172. // Specifies information on the subnet group associated with the DB instance,
  4173. // including the name, description, and subnets in the subnet group.
  4174. DBSubnetGroup *DBSubnetGroup `type:"structure"`
  4175. // Specifies the port that the DB instance listens on. If the DB instance is
  4176. // part of a DB cluster, this can be a different port than the DB cluster port.
  4177. DbInstancePort *int64 `type:"integer"`
  4178. // If StorageEncrypted is true, the region-unique, immutable identifier for
  4179. // the encrypted DB instance. This identifier is found in AWS CloudTrail log
  4180. // entries whenever the KMS key for the DB instance is accessed.
  4181. DbiResourceId *string `type:"string"`
  4182. // Specifies the connection endpoint.
  4183. Endpoint *Endpoint `type:"structure"`
  4184. // Provides the name of the database engine to be used for this DB instance.
  4185. Engine *string `type:"string"`
  4186. // Indicates the database engine version.
  4187. EngineVersion *string `type:"string"`
  4188. // Provides the date and time the DB instance was created.
  4189. InstanceCreateTime *time.Time `type:"timestamp" timestampFormat:"iso8601"`
  4190. // Specifies the Provisioned IOPS (I/O operations per second) value.
  4191. Iops *int64 `type:"integer"`
  4192. // If StorageEncrypted is true, the KMS key identifier for the encrypted DB
  4193. // instance.
  4194. KmsKeyId *string `type:"string"`
  4195. // Specifies the latest time to which a database can be restored with point-in-time
  4196. // restore.
  4197. LatestRestorableTime *time.Time `type:"timestamp" timestampFormat:"iso8601"`
  4198. // License model information for this DB instance.
  4199. LicenseModel *string `type:"string"`
  4200. // Contains the master username for the DB instance.
  4201. MasterUsername *string `type:"string"`
  4202. // Specifies if the DB instance is a Multi-AZ deployment.
  4203. MultiAZ *bool `type:"boolean"`
  4204. // Provides the list of option group memberships for this DB instance.
  4205. OptionGroupMemberships []*OptionGroupMembership `locationNameList:"OptionGroupMembership" type:"list"`
  4206. // Specifies that changes to the DB instance are pending. This element is only
  4207. // included when changes are pending. Specific changes are identified by subelements.
  4208. PendingModifiedValues *PendingModifiedValues `type:"structure"`
  4209. // Specifies the daily time range during which automated backups are created
  4210. // if automated backups are enabled, as determined by the BackupRetentionPeriod.
  4211. PreferredBackupWindow *string `type:"string"`
  4212. // Specifies the weekly time range during which system maintenance can occur,
  4213. // in Universal Coordinated Time (UTC).
  4214. PreferredMaintenanceWindow *string `type:"string"`
  4215. // Specifies the accessibility options for the DB instance. A value of true
  4216. // specifies an Internet-facing instance with a publicly resolvable DNS name,
  4217. // which resolves to a public IP address. A value of false specifies an internal
  4218. // instance with a DNS name that resolves to a private IP address.
  4219. //
  4220. // Default: The default behavior varies depending on whether a VPC has been
  4221. // requested or not. The following list shows the default behavior in each case.
  4222. //
  4223. // Default VPC:true VPC:false If no DB subnet group has been specified
  4224. // as part of the request and the PubliclyAccessible value has not been set,
  4225. // the DB instance will be publicly accessible. If a specific DB subnet group
  4226. // has been specified as part of the request and the PubliclyAccessible value
  4227. // has not been set, the DB instance will be private.
  4228. PubliclyAccessible *bool `type:"boolean"`
  4229. // Contains one or more identifiers of the Read Replicas associated with this
  4230. // DB instance.
  4231. ReadReplicaDBInstanceIdentifiers []*string `locationNameList:"ReadReplicaDBInstanceIdentifier" type:"list"`
  4232. // Contains the identifier of the source DB instance if this DB instance is
  4233. // a Read Replica.
  4234. ReadReplicaSourceDBInstanceIdentifier *string `type:"string"`
  4235. // If present, specifies the name of the secondary Availability Zone for a DB
  4236. // instance with multi-AZ support.
  4237. SecondaryAvailabilityZone *string `type:"string"`
  4238. // The status of a Read Replica. If the instance is not a Read Replica, this
  4239. // will be blank.
  4240. StatusInfos []*DBInstanceStatusInfo `locationNameList:"DBInstanceStatusInfo" type:"list"`
  4241. // Specifies whether the DB instance is encrypted.
  4242. StorageEncrypted *bool `type:"boolean"`
  4243. // Specifies the storage type associated with DB instance.
  4244. StorageType *string `type:"string"`
  4245. // The ARN from the Key Store with which the instance is associated for TDE
  4246. // encryption.
  4247. TdeCredentialArn *string `type:"string"`
  4248. // Provides List of VPC security group elements that the DB instance belongs
  4249. // to.
  4250. VpcSecurityGroups []*VpcSecurityGroupMembership `locationNameList:"VpcSecurityGroupMembership" type:"list"`
  4251. metadataDBInstance `json:"-" xml:"-"`
  4252. }
  4253. type metadataDBInstance struct {
  4254. SDKShapeTraits bool `type:"structure"`
  4255. }
  4256. // String returns the string representation
  4257. func (s DBInstance) String() string {
  4258. return awsutil.Prettify(s)
  4259. }
  4260. // GoString returns the string representation
  4261. func (s DBInstance) GoString() string {
  4262. return s.String()
  4263. }
  4264. // Provides a list of status information for a DB instance.
  4265. type DBInstanceStatusInfo struct {
  4266. // Details of the error if there is an error for the instance. If the instance
  4267. // is not in an error state, this value is blank.
  4268. Message *string `type:"string"`
  4269. // Boolean value that is true if the instance is operating normally, or false
  4270. // if the instance is in an error state.
  4271. Normal *bool `type:"boolean"`
  4272. // Status of the DB instance. For a StatusType of read replica, the values can
  4273. // be replicating, error, stopped, or terminated.
  4274. Status *string `type:"string"`
  4275. // This value is currently "read replication."
  4276. StatusType *string `type:"string"`
  4277. metadataDBInstanceStatusInfo `json:"-" xml:"-"`
  4278. }
  4279. type metadataDBInstanceStatusInfo struct {
  4280. SDKShapeTraits bool `type:"structure"`
  4281. }
  4282. // String returns the string representation
  4283. func (s DBInstanceStatusInfo) String() string {
  4284. return awsutil.Prettify(s)
  4285. }
  4286. // GoString returns the string representation
  4287. func (s DBInstanceStatusInfo) GoString() string {
  4288. return s.String()
  4289. }
  4290. // Contains the result of a successful invocation of the CreateDBParameterGroup
  4291. // action.
  4292. //
  4293. // This data type is used as a request parameter in the DeleteDBParameterGroup
  4294. // action, and as a response element in the DescribeDBParameterGroups action.
  4295. type DBParameterGroup struct {
  4296. // Provides the name of the DB parameter group family that this DB parameter
  4297. // group is compatible with.
  4298. DBParameterGroupFamily *string `type:"string"`
  4299. // Provides the name of the DB parameter group.
  4300. DBParameterGroupName *string `type:"string"`
  4301. // Provides the customer-specified description for this DB parameter group.
  4302. Description *string `type:"string"`
  4303. metadataDBParameterGroup `json:"-" xml:"-"`
  4304. }
  4305. type metadataDBParameterGroup struct {
  4306. SDKShapeTraits bool `type:"structure"`
  4307. }
  4308. // String returns the string representation
  4309. func (s DBParameterGroup) String() string {
  4310. return awsutil.Prettify(s)
  4311. }
  4312. // GoString returns the string representation
  4313. func (s DBParameterGroup) GoString() string {
  4314. return s.String()
  4315. }
  4316. // Contains the result of a successful invocation of the ModifyDBParameterGroup
  4317. // or ResetDBParameterGroup action.
  4318. type DBParameterGroupNameMessage struct {
  4319. // Provides the name of the DB parameter group.
  4320. DBParameterGroupName *string `type:"string"`
  4321. metadataDBParameterGroupNameMessage `json:"-" xml:"-"`
  4322. }
  4323. type metadataDBParameterGroupNameMessage struct {
  4324. SDKShapeTraits bool `type:"structure"`
  4325. }
  4326. // String returns the string representation
  4327. func (s DBParameterGroupNameMessage) String() string {
  4328. return awsutil.Prettify(s)
  4329. }
  4330. // GoString returns the string representation
  4331. func (s DBParameterGroupNameMessage) GoString() string {
  4332. return s.String()
  4333. }
  4334. // The status of the DB parameter group.
  4335. //
  4336. // This data type is used as a response element in the following actions:
  4337. //
  4338. // CreateDBInstance CreateDBInstanceReadReplica DeleteDBInstance ModifyDBInstance
  4339. // RebootDBInstance RestoreDBInstanceFromDBSnapshot
  4340. type DBParameterGroupStatus struct {
  4341. // The name of the DP parameter group.
  4342. DBParameterGroupName *string `type:"string"`
  4343. // The status of parameter updates.
  4344. ParameterApplyStatus *string `type:"string"`
  4345. metadataDBParameterGroupStatus `json:"-" xml:"-"`
  4346. }
  4347. type metadataDBParameterGroupStatus struct {
  4348. SDKShapeTraits bool `type:"structure"`
  4349. }
  4350. // String returns the string representation
  4351. func (s DBParameterGroupStatus) String() string {
  4352. return awsutil.Prettify(s)
  4353. }
  4354. // GoString returns the string representation
  4355. func (s DBParameterGroupStatus) GoString() string {
  4356. return s.String()
  4357. }
  4358. // Contains the result of a successful invocation of the following actions:
  4359. //
  4360. // DescribeDBSecurityGroups AuthorizeDBSecurityGroupIngress CreateDBSecurityGroup
  4361. // RevokeDBSecurityGroupIngress This data type is used as a response element
  4362. // in the DescribeDBSecurityGroups action.
  4363. type DBSecurityGroup struct {
  4364. // Provides the description of the DB security group.
  4365. DBSecurityGroupDescription *string `type:"string"`
  4366. // Specifies the name of the DB security group.
  4367. DBSecurityGroupName *string `type:"string"`
  4368. // Contains a list of EC2SecurityGroup elements.
  4369. EC2SecurityGroups []*EC2SecurityGroup `locationNameList:"EC2SecurityGroup" type:"list"`
  4370. // Contains a list of IPRange elements.
  4371. IPRanges []*IPRange `locationNameList:"IPRange" type:"list"`
  4372. // Provides the AWS ID of the owner of a specific DB security group.
  4373. OwnerId *string `type:"string"`
  4374. // Provides the VpcId of the DB security group.
  4375. VpcId *string `type:"string"`
  4376. metadataDBSecurityGroup `json:"-" xml:"-"`
  4377. }
  4378. type metadataDBSecurityGroup struct {
  4379. SDKShapeTraits bool `type:"structure"`
  4380. }
  4381. // String returns the string representation
  4382. func (s DBSecurityGroup) String() string {
  4383. return awsutil.Prettify(s)
  4384. }
  4385. // GoString returns the string representation
  4386. func (s DBSecurityGroup) GoString() string {
  4387. return s.String()
  4388. }
  4389. // This data type is used as a response element in the following actions:
  4390. //
  4391. // ModifyDBInstance RebootDBInstance RestoreDBInstanceFromDBSnapshot
  4392. // RestoreDBInstanceToPointInTime
  4393. type DBSecurityGroupMembership struct {
  4394. // The name of the DB security group.
  4395. DBSecurityGroupName *string `type:"string"`
  4396. // The status of the DB security group.
  4397. Status *string `type:"string"`
  4398. metadataDBSecurityGroupMembership `json:"-" xml:"-"`
  4399. }
  4400. type metadataDBSecurityGroupMembership struct {
  4401. SDKShapeTraits bool `type:"structure"`
  4402. }
  4403. // String returns the string representation
  4404. func (s DBSecurityGroupMembership) String() string {
  4405. return awsutil.Prettify(s)
  4406. }
  4407. // GoString returns the string representation
  4408. func (s DBSecurityGroupMembership) GoString() string {
  4409. return s.String()
  4410. }
  4411. // Contains the result of a successful invocation of the following actions:
  4412. //
  4413. // CreateDBSnapshot DeleteDBSnapshot This data type is used as a response
  4414. // element in the DescribeDBSnapshots action.
  4415. type DBSnapshot struct {
  4416. // Specifies the allocated storage size in gigabytes (GB).
  4417. AllocatedStorage *int64 `type:"integer"`
  4418. // Specifies the name of the Availability Zone the DB instance was located in
  4419. // at the time of the DB snapshot.
  4420. AvailabilityZone *string `type:"string"`
  4421. // Specifies the DB instance identifier of the DB instance this DB snapshot
  4422. // was created from.
  4423. DBInstanceIdentifier *string `type:"string"`
  4424. // Specifies the identifier for the DB snapshot.
  4425. DBSnapshotIdentifier *string `type:"string"`
  4426. // Specifies whether the DB snapshot is encrypted.
  4427. Encrypted *bool `type:"boolean"`
  4428. // Specifies the name of the database engine.
  4429. Engine *string `type:"string"`
  4430. // Specifies the version of the database engine.
  4431. EngineVersion *string `type:"string"`
  4432. // Specifies the time when the snapshot was taken, in Universal Coordinated
  4433. // Time (UTC).
  4434. InstanceCreateTime *time.Time `type:"timestamp" timestampFormat:"iso8601"`
  4435. // Specifies the Provisioned IOPS (I/O operations per second) value of the DB
  4436. // instance at the time of the snapshot.
  4437. Iops *int64 `type:"integer"`
  4438. // If Encrypted is true, the KMS key identifier for the encrypted DB snapshot.
  4439. KmsKeyId *string `type:"string"`
  4440. // License model information for the restored DB instance.
  4441. LicenseModel *string `type:"string"`
  4442. // Provides the master username for the DB snapshot.
  4443. MasterUsername *string `type:"string"`
  4444. // Provides the option group name for the DB snapshot.
  4445. OptionGroupName *string `type:"string"`
  4446. // The percentage of the estimated data that has been transferred.
  4447. PercentProgress *int64 `type:"integer"`
  4448. // Specifies the port that the database engine was listening on at the time
  4449. // of the snapshot.
  4450. Port *int64 `type:"integer"`
  4451. // Provides the time when the snapshot was taken, in Universal Coordinated Time
  4452. // (UTC).
  4453. SnapshotCreateTime *time.Time `type:"timestamp" timestampFormat:"iso8601"`
  4454. // Provides the type of the DB snapshot.
  4455. SnapshotType *string `type:"string"`
  4456. // The DB snapshot Arn that the DB snapshot was copied from. It only has value
  4457. // in case of cross customer or cross region copy.
  4458. SourceDBSnapshotIdentifier *string `type:"string"`
  4459. // The region that the DB snapshot was created in or copied from.
  4460. SourceRegion *string `type:"string"`
  4461. // Specifies the status of this DB snapshot.
  4462. Status *string `type:"string"`
  4463. // Specifies the storage type associated with DB Snapshot.
  4464. StorageType *string `type:"string"`
  4465. // The ARN from the Key Store with which to associate the instance for TDE encryption.
  4466. TdeCredentialArn *string `type:"string"`
  4467. // Provides the VPC ID associated with the DB snapshot.
  4468. VpcId *string `type:"string"`
  4469. metadataDBSnapshot `json:"-" xml:"-"`
  4470. }
  4471. type metadataDBSnapshot struct {
  4472. SDKShapeTraits bool `type:"structure"`
  4473. }
  4474. // String returns the string representation
  4475. func (s DBSnapshot) String() string {
  4476. return awsutil.Prettify(s)
  4477. }
  4478. // GoString returns the string representation
  4479. func (s DBSnapshot) GoString() string {
  4480. return s.String()
  4481. }
  4482. // Contains the result of a successful invocation of the following actions:
  4483. //
  4484. // CreateDBSubnetGroup ModifyDBSubnetGroup DescribeDBSubnetGroups DeleteDBSubnetGroup
  4485. // This data type is used as a response element in the DescribeDBSubnetGroups
  4486. // action.
  4487. type DBSubnetGroup struct {
  4488. // Provides the description of the DB subnet group.
  4489. DBSubnetGroupDescription *string `type:"string"`
  4490. // Specifies the name of the DB subnet group.
  4491. DBSubnetGroupName *string `type:"string"`
  4492. // Provides the status of the DB subnet group.
  4493. SubnetGroupStatus *string `type:"string"`
  4494. // Contains a list of Subnet elements.
  4495. Subnets []*Subnet `locationNameList:"Subnet" type:"list"`
  4496. // Provides the VpcId of the DB subnet group.
  4497. VpcId *string `type:"string"`
  4498. metadataDBSubnetGroup `json:"-" xml:"-"`
  4499. }
  4500. type metadataDBSubnetGroup struct {
  4501. SDKShapeTraits bool `type:"structure"`
  4502. }
  4503. // String returns the string representation
  4504. func (s DBSubnetGroup) String() string {
  4505. return awsutil.Prettify(s)
  4506. }
  4507. // GoString returns the string representation
  4508. func (s DBSubnetGroup) GoString() string {
  4509. return s.String()
  4510. }
  4511. type DeleteDBClusterInput struct {
  4512. // The DB cluster identifier for the DB cluster to be deleted. This parameter
  4513. // isn't case-sensitive.
  4514. //
  4515. // Constraints:
  4516. //
  4517. // Must contain from 1 to 63 alphanumeric characters or hyphens First character
  4518. // must be a letter Cannot end with a hyphen or contain two consecutive hyphens
  4519. DBClusterIdentifier *string `type:"string"`
  4520. // The DB cluster snapshot identifier of the new DB cluster snapshot created
  4521. // when SkipFinalSnapshot is set to false.
  4522. //
  4523. // Specifying this parameter and also setting the SkipFinalShapshot parameter
  4524. // to true results in an error. Constraints:
  4525. //
  4526. // Must be 1 to 255 alphanumeric characters First character must be a letter
  4527. // Cannot end with a hyphen or contain two consecutive hyphens
  4528. FinalDBSnapshotIdentifier *string `type:"string"`
  4529. // Determines whether a final DB cluster snapshot is created before the DB cluster
  4530. // is deleted. If true is specified, no DB cluster snapshot is created. If false
  4531. // is specified, a DB cluster snapshot is created before the DB cluster is deleted.
  4532. //
  4533. // You must specify a FinalDBSnapshotIdentifier parameter if SkipFinalSnapshot
  4534. // is false. Default: false
  4535. SkipFinalSnapshot *bool `type:"boolean"`
  4536. metadataDeleteDBClusterInput `json:"-" xml:"-"`
  4537. }
  4538. type metadataDeleteDBClusterInput struct {
  4539. SDKShapeTraits bool `type:"structure"`
  4540. }
  4541. // String returns the string representation
  4542. func (s DeleteDBClusterInput) String() string {
  4543. return awsutil.Prettify(s)
  4544. }
  4545. // GoString returns the string representation
  4546. func (s DeleteDBClusterInput) GoString() string {
  4547. return s.String()
  4548. }
  4549. type DeleteDBClusterOutput struct {
  4550. // Contains the result of a successful invocation of the following actions:
  4551. //
  4552. // CreateDBCluster DeleteDBCluster FailoverDBCluster ModifyDBCluster
  4553. // RestoreDBClusterFromSnapshot This data type is used as a response element
  4554. // in the DescribeDBClusters action.
  4555. DBCluster *DBCluster `type:"structure"`
  4556. metadataDeleteDBClusterOutput `json:"-" xml:"-"`
  4557. }
  4558. type metadataDeleteDBClusterOutput struct {
  4559. SDKShapeTraits bool `type:"structure"`
  4560. }
  4561. // String returns the string representation
  4562. func (s DeleteDBClusterOutput) String() string {
  4563. return awsutil.Prettify(s)
  4564. }
  4565. // GoString returns the string representation
  4566. func (s DeleteDBClusterOutput) GoString() string {
  4567. return s.String()
  4568. }
  4569. type DeleteDBClusterParameterGroupInput struct {
  4570. // The name of the DB cluster parameter group.
  4571. //
  4572. // Constraints:
  4573. //
  4574. // Must be the name of an existing DB cluster parameter group. You cannot
  4575. // delete a default DB cluster parameter group. Cannot be associated with any
  4576. // DB clusters.
  4577. DBClusterParameterGroupName *string `type:"string" required:"true"`
  4578. metadataDeleteDBClusterParameterGroupInput `json:"-" xml:"-"`
  4579. }
  4580. type metadataDeleteDBClusterParameterGroupInput struct {
  4581. SDKShapeTraits bool `type:"structure"`
  4582. }
  4583. // String returns the string representation
  4584. func (s DeleteDBClusterParameterGroupInput) String() string {
  4585. return awsutil.Prettify(s)
  4586. }
  4587. // GoString returns the string representation
  4588. func (s DeleteDBClusterParameterGroupInput) GoString() string {
  4589. return s.String()
  4590. }
  4591. type DeleteDBClusterParameterGroupOutput struct {
  4592. metadataDeleteDBClusterParameterGroupOutput `json:"-" xml:"-"`
  4593. }
  4594. type metadataDeleteDBClusterParameterGroupOutput struct {
  4595. SDKShapeTraits bool `type:"structure"`
  4596. }
  4597. // String returns the string representation
  4598. func (s DeleteDBClusterParameterGroupOutput) String() string {
  4599. return awsutil.Prettify(s)
  4600. }
  4601. // GoString returns the string representation
  4602. func (s DeleteDBClusterParameterGroupOutput) GoString() string {
  4603. return s.String()
  4604. }
  4605. type DeleteDBClusterSnapshotInput struct {
  4606. // The identifier of the DB cluster snapshot to delete.
  4607. //
  4608. // Constraints: Must be the name of an existing DB cluster snapshot in the
  4609. // available state.
  4610. DBClusterSnapshotIdentifier *string `type:"string" required:"true"`
  4611. metadataDeleteDBClusterSnapshotInput `json:"-" xml:"-"`
  4612. }
  4613. type metadataDeleteDBClusterSnapshotInput struct {
  4614. SDKShapeTraits bool `type:"structure"`
  4615. }
  4616. // String returns the string representation
  4617. func (s DeleteDBClusterSnapshotInput) String() string {
  4618. return awsutil.Prettify(s)
  4619. }
  4620. // GoString returns the string representation
  4621. func (s DeleteDBClusterSnapshotInput) GoString() string {
  4622. return s.String()
  4623. }
  4624. type DeleteDBClusterSnapshotOutput struct {
  4625. // Contains the result of a successful invocation of the following actions:
  4626. //
  4627. // CreateDBClusterSnapshot DeleteDBClusterSnapshot This data type is
  4628. // used as a response element in the DescribeDBClusterSnapshots action.
  4629. DBClusterSnapshot *DBClusterSnapshot `type:"structure"`
  4630. metadataDeleteDBClusterSnapshotOutput `json:"-" xml:"-"`
  4631. }
  4632. type metadataDeleteDBClusterSnapshotOutput struct {
  4633. SDKShapeTraits bool `type:"structure"`
  4634. }
  4635. // String returns the string representation
  4636. func (s DeleteDBClusterSnapshotOutput) String() string {
  4637. return awsutil.Prettify(s)
  4638. }
  4639. // GoString returns the string representation
  4640. func (s DeleteDBClusterSnapshotOutput) GoString() string {
  4641. return s.String()
  4642. }
  4643. type DeleteDBInstanceInput struct {
  4644. // The DB instance identifier for the DB instance to be deleted. This parameter
  4645. // isn't case-sensitive.
  4646. //
  4647. // Constraints:
  4648. //
  4649. // Must contain from 1 to 63 alphanumeric characters or hyphens First character
  4650. // must be a letter Cannot end with a hyphen or contain two consecutive hyphens
  4651. DBInstanceIdentifier *string `type:"string" required:"true"`
  4652. // The DBSnapshotIdentifier of the new DBSnapshot created when SkipFinalSnapshot
  4653. // is set to false.
  4654. //
  4655. // Specifying this parameter and also setting the SkipFinalShapshot parameter
  4656. // to true results in an error. Constraints:
  4657. //
  4658. // Must be 1 to 255 alphanumeric characters First character must be a letter
  4659. // Cannot end with a hyphen or contain two consecutive hyphens Cannot be specified
  4660. // when deleting a Read Replica.
  4661. FinalDBSnapshotIdentifier *string `type:"string"`
  4662. // Determines whether a final DB snapshot is created before the DB instance
  4663. // is deleted. If true is specified, no DBSnapshot is created. If false is specified,
  4664. // a DB snapshot is created before the DB instance is deleted.
  4665. //
  4666. // Note that when a DB instance is in a failure state and has a status of 'failed',
  4667. // 'incompatible-restore', or 'incompatible-network', it can only be deleted
  4668. // when the SkipFinalSnapshot parameter is set to "true".
  4669. //
  4670. // Specify true when deleting a Read Replica.
  4671. //
  4672. // The FinalDBSnapshotIdentifier parameter must be specified if SkipFinalSnapshot
  4673. // is false. Default: false
  4674. SkipFinalSnapshot *bool `type:"boolean"`
  4675. metadataDeleteDBInstanceInput `json:"-" xml:"-"`
  4676. }
  4677. type metadataDeleteDBInstanceInput struct {
  4678. SDKShapeTraits bool `type:"structure"`
  4679. }
  4680. // String returns the string representation
  4681. func (s DeleteDBInstanceInput) String() string {
  4682. return awsutil.Prettify(s)
  4683. }
  4684. // GoString returns the string representation
  4685. func (s DeleteDBInstanceInput) GoString() string {
  4686. return s.String()
  4687. }
  4688. type DeleteDBInstanceOutput struct {
  4689. // Contains the result of a successful invocation of the following actions:
  4690. //
  4691. // CreateDBInstance DeleteDBInstance ModifyDBInstance This data type
  4692. // is used as a response element in the DescribeDBInstances action.
  4693. DBInstance *DBInstance `type:"structure"`
  4694. metadataDeleteDBInstanceOutput `json:"-" xml:"-"`
  4695. }
  4696. type metadataDeleteDBInstanceOutput struct {
  4697. SDKShapeTraits bool `type:"structure"`
  4698. }
  4699. // String returns the string representation
  4700. func (s DeleteDBInstanceOutput) String() string {
  4701. return awsutil.Prettify(s)
  4702. }
  4703. // GoString returns the string representation
  4704. func (s DeleteDBInstanceOutput) GoString() string {
  4705. return s.String()
  4706. }
  4707. type DeleteDBParameterGroupInput struct {
  4708. // The name of the DB parameter group.
  4709. //
  4710. // Constraints:
  4711. //
  4712. // Must be the name of an existing DB parameter group You cannot delete a
  4713. // default DB parameter group Cannot be associated with any DB instances
  4714. DBParameterGroupName *string `type:"string" required:"true"`
  4715. metadataDeleteDBParameterGroupInput `json:"-" xml:"-"`
  4716. }
  4717. type metadataDeleteDBParameterGroupInput struct {
  4718. SDKShapeTraits bool `type:"structure"`
  4719. }
  4720. // String returns the string representation
  4721. func (s DeleteDBParameterGroupInput) String() string {
  4722. return awsutil.Prettify(s)
  4723. }
  4724. // GoString returns the string representation
  4725. func (s DeleteDBParameterGroupInput) GoString() string {
  4726. return s.String()
  4727. }
  4728. type DeleteDBParameterGroupOutput struct {
  4729. metadataDeleteDBParameterGroupOutput `json:"-" xml:"-"`
  4730. }
  4731. type metadataDeleteDBParameterGroupOutput struct {
  4732. SDKShapeTraits bool `type:"structure"`
  4733. }
  4734. // String returns the string representation
  4735. func (s DeleteDBParameterGroupOutput) String() string {
  4736. return awsutil.Prettify(s)
  4737. }
  4738. // GoString returns the string representation
  4739. func (s DeleteDBParameterGroupOutput) GoString() string {
  4740. return s.String()
  4741. }
  4742. type DeleteDBSecurityGroupInput struct {
  4743. // The name of the DB security group to delete.
  4744. //
  4745. // You cannot delete the default DB security group. Constraints:
  4746. //
  4747. // Must be 1 to 255 alphanumeric characters First character must be a letter
  4748. // Cannot end with a hyphen or contain two consecutive hyphens Must not be "Default"
  4749. // Cannot contain spaces
  4750. DBSecurityGroupName *string `type:"string" required:"true"`
  4751. metadataDeleteDBSecurityGroupInput `json:"-" xml:"-"`
  4752. }
  4753. type metadataDeleteDBSecurityGroupInput struct {
  4754. SDKShapeTraits bool `type:"structure"`
  4755. }
  4756. // String returns the string representation
  4757. func (s DeleteDBSecurityGroupInput) String() string {
  4758. return awsutil.Prettify(s)
  4759. }
  4760. // GoString returns the string representation
  4761. func (s DeleteDBSecurityGroupInput) GoString() string {
  4762. return s.String()
  4763. }
  4764. type DeleteDBSecurityGroupOutput struct {
  4765. metadataDeleteDBSecurityGroupOutput `json:"-" xml:"-"`
  4766. }
  4767. type metadataDeleteDBSecurityGroupOutput struct {
  4768. SDKShapeTraits bool `type:"structure"`
  4769. }
  4770. // String returns the string representation
  4771. func (s DeleteDBSecurityGroupOutput) String() string {
  4772. return awsutil.Prettify(s)
  4773. }
  4774. // GoString returns the string representation
  4775. func (s DeleteDBSecurityGroupOutput) GoString() string {
  4776. return s.String()
  4777. }
  4778. type DeleteDBSnapshotInput struct {
  4779. // The DBSnapshot identifier.
  4780. //
  4781. // Constraints: Must be the name of an existing DB snapshot in the available
  4782. // state.
  4783. DBSnapshotIdentifier *string `type:"string" required:"true"`
  4784. metadataDeleteDBSnapshotInput `json:"-" xml:"-"`
  4785. }
  4786. type metadataDeleteDBSnapshotInput struct {
  4787. SDKShapeTraits bool `type:"structure"`
  4788. }
  4789. // String returns the string representation
  4790. func (s DeleteDBSnapshotInput) String() string {
  4791. return awsutil.Prettify(s)
  4792. }
  4793. // GoString returns the string representation
  4794. func (s DeleteDBSnapshotInput) GoString() string {
  4795. return s.String()
  4796. }
  4797. type DeleteDBSnapshotOutput struct {
  4798. // Contains the result of a successful invocation of the following actions:
  4799. //
  4800. // CreateDBSnapshot DeleteDBSnapshot This data type is used as a response
  4801. // element in the DescribeDBSnapshots action.
  4802. DBSnapshot *DBSnapshot `type:"structure"`
  4803. metadataDeleteDBSnapshotOutput `json:"-" xml:"-"`
  4804. }
  4805. type metadataDeleteDBSnapshotOutput struct {
  4806. SDKShapeTraits bool `type:"structure"`
  4807. }
  4808. // String returns the string representation
  4809. func (s DeleteDBSnapshotOutput) String() string {
  4810. return awsutil.Prettify(s)
  4811. }
  4812. // GoString returns the string representation
  4813. func (s DeleteDBSnapshotOutput) GoString() string {
  4814. return s.String()
  4815. }
  4816. type DeleteDBSubnetGroupInput struct {
  4817. // The name of the database subnet group to delete.
  4818. //
  4819. // You cannot delete the default subnet group. Constraints:
  4820. //
  4821. // Must be 1 to 255 alphanumeric characters First character must be a letter
  4822. // Cannot end with a hyphen or contain two consecutive hyphens
  4823. DBSubnetGroupName *string `type:"string" required:"true"`
  4824. metadataDeleteDBSubnetGroupInput `json:"-" xml:"-"`
  4825. }
  4826. type metadataDeleteDBSubnetGroupInput struct {
  4827. SDKShapeTraits bool `type:"structure"`
  4828. }
  4829. // String returns the string representation
  4830. func (s DeleteDBSubnetGroupInput) String() string {
  4831. return awsutil.Prettify(s)
  4832. }
  4833. // GoString returns the string representation
  4834. func (s DeleteDBSubnetGroupInput) GoString() string {
  4835. return s.String()
  4836. }
  4837. type DeleteDBSubnetGroupOutput struct {
  4838. metadataDeleteDBSubnetGroupOutput `json:"-" xml:"-"`
  4839. }
  4840. type metadataDeleteDBSubnetGroupOutput struct {
  4841. SDKShapeTraits bool `type:"structure"`
  4842. }
  4843. // String returns the string representation
  4844. func (s DeleteDBSubnetGroupOutput) String() string {
  4845. return awsutil.Prettify(s)
  4846. }
  4847. // GoString returns the string representation
  4848. func (s DeleteDBSubnetGroupOutput) GoString() string {
  4849. return s.String()
  4850. }
  4851. type DeleteEventSubscriptionInput struct {
  4852. // The name of the RDS event notification subscription you want to delete.
  4853. SubscriptionName *string `type:"string" required:"true"`
  4854. metadataDeleteEventSubscriptionInput `json:"-" xml:"-"`
  4855. }
  4856. type metadataDeleteEventSubscriptionInput struct {
  4857. SDKShapeTraits bool `type:"structure"`
  4858. }
  4859. // String returns the string representation
  4860. func (s DeleteEventSubscriptionInput) String() string {
  4861. return awsutil.Prettify(s)
  4862. }
  4863. // GoString returns the string representation
  4864. func (s DeleteEventSubscriptionInput) GoString() string {
  4865. return s.String()
  4866. }
  4867. type DeleteEventSubscriptionOutput struct {
  4868. // Contains the results of a successful invocation of the DescribeEventSubscriptions
  4869. // action.
  4870. EventSubscription *EventSubscription `type:"structure"`
  4871. metadataDeleteEventSubscriptionOutput `json:"-" xml:"-"`
  4872. }
  4873. type metadataDeleteEventSubscriptionOutput struct {
  4874. SDKShapeTraits bool `type:"structure"`
  4875. }
  4876. // String returns the string representation
  4877. func (s DeleteEventSubscriptionOutput) String() string {
  4878. return awsutil.Prettify(s)
  4879. }
  4880. // GoString returns the string representation
  4881. func (s DeleteEventSubscriptionOutput) GoString() string {
  4882. return s.String()
  4883. }
  4884. type DeleteOptionGroupInput struct {
  4885. // The name of the option group to be deleted.
  4886. //
  4887. // You cannot delete default option groups.
  4888. OptionGroupName *string `type:"string" required:"true"`
  4889. metadataDeleteOptionGroupInput `json:"-" xml:"-"`
  4890. }
  4891. type metadataDeleteOptionGroupInput struct {
  4892. SDKShapeTraits bool `type:"structure"`
  4893. }
  4894. // String returns the string representation
  4895. func (s DeleteOptionGroupInput) String() string {
  4896. return awsutil.Prettify(s)
  4897. }
  4898. // GoString returns the string representation
  4899. func (s DeleteOptionGroupInput) GoString() string {
  4900. return s.String()
  4901. }
  4902. type DeleteOptionGroupOutput struct {
  4903. metadataDeleteOptionGroupOutput `json:"-" xml:"-"`
  4904. }
  4905. type metadataDeleteOptionGroupOutput struct {
  4906. SDKShapeTraits bool `type:"structure"`
  4907. }
  4908. // String returns the string representation
  4909. func (s DeleteOptionGroupOutput) String() string {
  4910. return awsutil.Prettify(s)
  4911. }
  4912. // GoString returns the string representation
  4913. func (s DeleteOptionGroupOutput) GoString() string {
  4914. return s.String()
  4915. }
  4916. type DescribeAccountAttributesInput struct {
  4917. metadataDescribeAccountAttributesInput `json:"-" xml:"-"`
  4918. }
  4919. type metadataDescribeAccountAttributesInput struct {
  4920. SDKShapeTraits bool `type:"structure"`
  4921. }
  4922. // String returns the string representation
  4923. func (s DescribeAccountAttributesInput) String() string {
  4924. return awsutil.Prettify(s)
  4925. }
  4926. // GoString returns the string representation
  4927. func (s DescribeAccountAttributesInput) GoString() string {
  4928. return s.String()
  4929. }
  4930. // Data returned by the DescribeAccountAttributes action.
  4931. type DescribeAccountAttributesOutput struct {
  4932. // A list of AccountQuota objects. Within this list, each quota has a name,
  4933. // a count of usage toward the quota maximum, and a maximum value for the quota.
  4934. AccountQuotas []*AccountQuota `locationNameList:"AccountQuota" type:"list"`
  4935. metadataDescribeAccountAttributesOutput `json:"-" xml:"-"`
  4936. }
  4937. type metadataDescribeAccountAttributesOutput struct {
  4938. SDKShapeTraits bool `type:"structure"`
  4939. }
  4940. // String returns the string representation
  4941. func (s DescribeAccountAttributesOutput) String() string {
  4942. return awsutil.Prettify(s)
  4943. }
  4944. // GoString returns the string representation
  4945. func (s DescribeAccountAttributesOutput) GoString() string {
  4946. return s.String()
  4947. }
  4948. type DescribeCertificatesInput struct {
  4949. // The user-supplied certificate identifier. If this parameter is specified,
  4950. // information for only the identified certificate is returned. This parameter
  4951. // isn't case-sensitive.
  4952. //
  4953. // Constraints:
  4954. //
  4955. // Must contain from 1 to 63 alphanumeric characters or hyphens First character
  4956. // must be a letter Cannot end with a hyphen or contain two consecutive hyphens
  4957. CertificateIdentifier *string `type:"string"`
  4958. // This parameter is not currently supported.
  4959. Filters []*Filter `locationNameList:"Filter" type:"list"`
  4960. // An optional pagination token provided by a previous DescribeCertificates
  4961. // request. If this parameter is specified, the response includes only records
  4962. // beyond the marker, up to the value specified by MaxRecords.
  4963. Marker *string `type:"string"`
  4964. // The maximum number of records to include in the response. If more records
  4965. // exist than the specified MaxRecords value, a pagination token called a marker
  4966. // is included in the response so that the remaining results can be retrieved.
  4967. //
  4968. // Default: 100
  4969. //
  4970. // Constraints: Minimum 20, maximum 100.
  4971. MaxRecords *int64 `type:"integer"`
  4972. metadataDescribeCertificatesInput `json:"-" xml:"-"`
  4973. }
  4974. type metadataDescribeCertificatesInput struct {
  4975. SDKShapeTraits bool `type:"structure"`
  4976. }
  4977. // String returns the string representation
  4978. func (s DescribeCertificatesInput) String() string {
  4979. return awsutil.Prettify(s)
  4980. }
  4981. // GoString returns the string representation
  4982. func (s DescribeCertificatesInput) GoString() string {
  4983. return s.String()
  4984. }
  4985. // Data returned by the DescribeCertificates action.
  4986. type DescribeCertificatesOutput struct {
  4987. // The list of Certificate objects for the AWS account.
  4988. Certificates []*Certificate `locationNameList:"Certificate" type:"list"`
  4989. // An optional pagination token provided by a previous DescribeCertificates
  4990. // request. If this parameter is specified, the response includes only records
  4991. // beyond the marker, up to the value specified by MaxRecords .
  4992. Marker *string `type:"string"`
  4993. metadataDescribeCertificatesOutput `json:"-" xml:"-"`
  4994. }
  4995. type metadataDescribeCertificatesOutput struct {
  4996. SDKShapeTraits bool `type:"structure"`
  4997. }
  4998. // String returns the string representation
  4999. func (s DescribeCertificatesOutput) String() string {
  5000. return awsutil.Prettify(s)
  5001. }
  5002. // GoString returns the string representation
  5003. func (s DescribeCertificatesOutput) GoString() string {
  5004. return s.String()
  5005. }
  5006. type DescribeDBClusterParameterGroupsInput struct {
  5007. // The name of a specific DB cluster parameter group to return details for.
  5008. //
  5009. // Constraints:
  5010. //
  5011. // Must be 1 to 255 alphanumeric characters First character must be a letter
  5012. // Cannot end with a hyphen or contain two consecutive hyphens
  5013. DBClusterParameterGroupName *string `type:"string"`
  5014. // This parameter is not currently supported.
  5015. Filters []*Filter `locationNameList:"Filter" type:"list"`
  5016. // An optional pagination token provided by a previous DescribeDBClusterParameterGroups
  5017. // request. If this parameter is specified, the response includes only records
  5018. // beyond the marker, up to the value specified by MaxRecords.
  5019. Marker *string `type:"string"`
  5020. // The maximum number of records to include in the response. If more records
  5021. // exist than the specified MaxRecords value, a pagination token called a marker
  5022. // is included in the response so that the remaining results can be retrieved.
  5023. //
  5024. // Default: 100
  5025. //
  5026. // Constraints: Minimum 20, maximum 100.
  5027. MaxRecords *int64 `type:"integer"`
  5028. metadataDescribeDBClusterParameterGroupsInput `json:"-" xml:"-"`
  5029. }
  5030. type metadataDescribeDBClusterParameterGroupsInput struct {
  5031. SDKShapeTraits bool `type:"structure"`
  5032. }
  5033. // String returns the string representation
  5034. func (s DescribeDBClusterParameterGroupsInput) String() string {
  5035. return awsutil.Prettify(s)
  5036. }
  5037. // GoString returns the string representation
  5038. func (s DescribeDBClusterParameterGroupsInput) GoString() string {
  5039. return s.String()
  5040. }
  5041. type DescribeDBClusterParameterGroupsOutput struct {
  5042. // A list of DB cluster parameter groups.
  5043. DBClusterParameterGroups []*DBClusterParameterGroup `locationNameList:"DBClusterParameterGroup" type:"list"`
  5044. // An optional pagination token provided by a previous DescribeDBClusterParameterGroups
  5045. // request. If this parameter is specified, the response includes only records
  5046. // beyond the marker, up to the value specified by MaxRecords.
  5047. Marker *string `type:"string"`
  5048. metadataDescribeDBClusterParameterGroupsOutput `json:"-" xml:"-"`
  5049. }
  5050. type metadataDescribeDBClusterParameterGroupsOutput struct {
  5051. SDKShapeTraits bool `type:"structure"`
  5052. }
  5053. // String returns the string representation
  5054. func (s DescribeDBClusterParameterGroupsOutput) String() string {
  5055. return awsutil.Prettify(s)
  5056. }
  5057. // GoString returns the string representation
  5058. func (s DescribeDBClusterParameterGroupsOutput) GoString() string {
  5059. return s.String()
  5060. }
  5061. type DescribeDBClusterParametersInput struct {
  5062. // The name of a specific DB cluster parameter group to return parameter details
  5063. // for.
  5064. //
  5065. // Constraints:
  5066. //
  5067. // Must be 1 to 255 alphanumeric characters First character must be a letter
  5068. // Cannot end with a hyphen or contain two consecutive hyphens
  5069. DBClusterParameterGroupName *string `type:"string" required:"true"`
  5070. // This parameter is not currently supported.
  5071. Filters []*Filter `locationNameList:"Filter" type:"list"`
  5072. // An optional pagination token provided by a previous DescribeDBClusterParameters
  5073. // request. If this parameter is specified, the response includes only records
  5074. // beyond the marker, up to the value specified by MaxRecords.
  5075. Marker *string `type:"string"`
  5076. // The maximum number of records to include in the response. If more records
  5077. // exist than the specified MaxRecords value, a pagination token called a marker
  5078. // is included in the response so that the remaining results can be retrieved.
  5079. //
  5080. // Default: 100
  5081. //
  5082. // Constraints: Minimum 20, maximum 100.
  5083. MaxRecords *int64 `type:"integer"`
  5084. // A value that indicates to return only parameters for a specific source. Parameter
  5085. // sources can be engine, service, or customer.
  5086. Source *string `type:"string"`
  5087. metadataDescribeDBClusterParametersInput `json:"-" xml:"-"`
  5088. }
  5089. type metadataDescribeDBClusterParametersInput struct {
  5090. SDKShapeTraits bool `type:"structure"`
  5091. }
  5092. // String returns the string representation
  5093. func (s DescribeDBClusterParametersInput) String() string {
  5094. return awsutil.Prettify(s)
  5095. }
  5096. // GoString returns the string representation
  5097. func (s DescribeDBClusterParametersInput) GoString() string {
  5098. return s.String()
  5099. }
  5100. // Provides details about a DB cluster parameter group including the parameters
  5101. // in the DB cluster parameter group.
  5102. type DescribeDBClusterParametersOutput struct {
  5103. // An optional pagination token provided by a previous DescribeDBClusterParameters
  5104. // request. If this parameter is specified, the response includes only records
  5105. // beyond the marker, up to the value specified by MaxRecords .
  5106. Marker *string `type:"string"`
  5107. // Provides a list of parameters for the DB cluster parameter group.
  5108. Parameters []*Parameter `locationNameList:"Parameter" type:"list"`
  5109. metadataDescribeDBClusterParametersOutput `json:"-" xml:"-"`
  5110. }
  5111. type metadataDescribeDBClusterParametersOutput struct {
  5112. SDKShapeTraits bool `type:"structure"`
  5113. }
  5114. // String returns the string representation
  5115. func (s DescribeDBClusterParametersOutput) String() string {
  5116. return awsutil.Prettify(s)
  5117. }
  5118. // GoString returns the string representation
  5119. func (s DescribeDBClusterParametersOutput) GoString() string {
  5120. return s.String()
  5121. }
  5122. type DescribeDBClusterSnapshotsInput struct {
  5123. // A DB cluster identifier to retrieve the list of DB cluster snapshots for.
  5124. // This parameter cannot be used in conjunction with the DBClusterSnapshotIdentifier
  5125. // parameter. This parameter is not case-sensitive.
  5126. //
  5127. // Constraints:
  5128. //
  5129. // Must contain from 1 to 63 alphanumeric characters or hyphens First character
  5130. // must be a letter Cannot end with a hyphen or contain two consecutive hyphens
  5131. DBClusterIdentifier *string `type:"string"`
  5132. // A specific DB cluster snapshot identifier to describe. This parameter cannot
  5133. // be used in conjunction with the DBClusterIdentifier parameter. This value
  5134. // is stored as a lowercase string.
  5135. //
  5136. // Constraints:
  5137. //
  5138. // Must be 1 to 255 alphanumeric characters First character must be a letter
  5139. // Cannot end with a hyphen or contain two consecutive hyphens If this is the
  5140. // identifier of an automated snapshot, the SnapshotType parameter must also
  5141. // be specified.
  5142. DBClusterSnapshotIdentifier *string `type:"string"`
  5143. // This parameter is not currently supported.
  5144. Filters []*Filter `locationNameList:"Filter" type:"list"`
  5145. // An optional pagination token provided by a previous DescribeDBClusterSnapshots
  5146. // request. If this parameter is specified, the response includes only records
  5147. // beyond the marker, up to the value specified by MaxRecords.
  5148. Marker *string `type:"string"`
  5149. // The maximum number of records to include in the response. If more records
  5150. // exist than the specified MaxRecords value, a pagination token called a marker
  5151. // is included in the response so that the remaining results can be retrieved.
  5152. //
  5153. // Default: 100
  5154. //
  5155. // Constraints: Minimum 20, maximum 100.
  5156. MaxRecords *int64 `type:"integer"`
  5157. // The type of DB cluster snapshots that will be returned. Values can be automated
  5158. // or manual. If this parameter is not specified, the returned results will
  5159. // include all snapshot types.
  5160. SnapshotType *string `type:"string"`
  5161. metadataDescribeDBClusterSnapshotsInput `json:"-" xml:"-"`
  5162. }
  5163. type metadataDescribeDBClusterSnapshotsInput struct {
  5164. SDKShapeTraits bool `type:"structure"`
  5165. }
  5166. // String returns the string representation
  5167. func (s DescribeDBClusterSnapshotsInput) String() string {
  5168. return awsutil.Prettify(s)
  5169. }
  5170. // GoString returns the string representation
  5171. func (s DescribeDBClusterSnapshotsInput) GoString() string {
  5172. return s.String()
  5173. }
  5174. // Provides a list of DB cluster snapshots for the user as the result of a call
  5175. // to the DescribeDBClusterSnapshots action.
  5176. type DescribeDBClusterSnapshotsOutput struct {
  5177. // Provides a list of DB cluster snapshots for the user.
  5178. DBClusterSnapshots []*DBClusterSnapshot `locationNameList:"DBClusterSnapshot" type:"list"`
  5179. // An optional pagination token provided by a previous DescribeDBClusterSnapshots
  5180. // request. If this parameter is specified, the response includes only records
  5181. // beyond the marker, up to the value specified by MaxRecords.
  5182. Marker *string `type:"string"`
  5183. metadataDescribeDBClusterSnapshotsOutput `json:"-" xml:"-"`
  5184. }
  5185. type metadataDescribeDBClusterSnapshotsOutput struct {
  5186. SDKShapeTraits bool `type:"structure"`
  5187. }
  5188. // String returns the string representation
  5189. func (s DescribeDBClusterSnapshotsOutput) String() string {
  5190. return awsutil.Prettify(s)
  5191. }
  5192. // GoString returns the string representation
  5193. func (s DescribeDBClusterSnapshotsOutput) GoString() string {
  5194. return s.String()
  5195. }
  5196. type DescribeDBClustersInput struct {
  5197. // The user-supplied DB cluster identifier. If this parameter is specified,
  5198. // information from only the specific DB cluster is returned. This parameter
  5199. // isn't case-sensitive.
  5200. //
  5201. // Constraints:
  5202. //
  5203. // Must contain from 1 to 63 alphanumeric characters or hyphens First character
  5204. // must be a letter Cannot end with a hyphen or contain two consecutive hyphens
  5205. DBClusterIdentifier *string `type:"string"`
  5206. // This parameter is not currently supported.
  5207. Filters []*Filter `locationNameList:"Filter" type:"list"`
  5208. // An optional pagination token provided by a previous DescribeDBClusters request.
  5209. // If this parameter is specified, the response includes only records beyond
  5210. // the marker, up to the value specified by MaxRecords.
  5211. Marker *string `type:"string"`
  5212. // The maximum number of records to include in the response. If more records
  5213. // exist than the specified MaxRecords value, a pagination token called a marker
  5214. // is included in the response so that the remaining results can be retrieved.
  5215. //
  5216. // Default: 100
  5217. //
  5218. // Constraints: Minimum 20, maximum 100.
  5219. MaxRecords *int64 `type:"integer"`
  5220. metadataDescribeDBClustersInput `json:"-" xml:"-"`
  5221. }
  5222. type metadataDescribeDBClustersInput struct {
  5223. SDKShapeTraits bool `type:"structure"`
  5224. }
  5225. // String returns the string representation
  5226. func (s DescribeDBClustersInput) String() string {
  5227. return awsutil.Prettify(s)
  5228. }
  5229. // GoString returns the string representation
  5230. func (s DescribeDBClustersInput) GoString() string {
  5231. return s.String()
  5232. }
  5233. // Contains the result of a successful invocation of the DescribeDBClusters
  5234. // action.
  5235. type DescribeDBClustersOutput struct {
  5236. // Contains a list of DB clusters for the user.
  5237. DBClusters []*DBCluster `locationNameList:"DBCluster" type:"list"`
  5238. // A pagination token that can be used in a subsequent DescribeDBClusters request.
  5239. Marker *string `type:"string"`
  5240. metadataDescribeDBClustersOutput `json:"-" xml:"-"`
  5241. }
  5242. type metadataDescribeDBClustersOutput struct {
  5243. SDKShapeTraits bool `type:"structure"`
  5244. }
  5245. // String returns the string representation
  5246. func (s DescribeDBClustersOutput) String() string {
  5247. return awsutil.Prettify(s)
  5248. }
  5249. // GoString returns the string representation
  5250. func (s DescribeDBClustersOutput) GoString() string {
  5251. return s.String()
  5252. }
  5253. type DescribeDBEngineVersionsInput struct {
  5254. // The name of a specific DB parameter group family to return details for.
  5255. //
  5256. // Constraints:
  5257. //
  5258. // Must be 1 to 255 alphanumeric characters First character must be a letter
  5259. // Cannot end with a hyphen or contain two consecutive hyphens
  5260. DBParameterGroupFamily *string `type:"string"`
  5261. // Indicates that only the default version of the specified engine or engine
  5262. // and major version combination is returned.
  5263. DefaultOnly *bool `type:"boolean"`
  5264. // The database engine to return.
  5265. Engine *string `type:"string"`
  5266. // The database engine version to return.
  5267. //
  5268. // Example: 5.1.49
  5269. EngineVersion *string `type:"string"`
  5270. // Not currently supported.
  5271. Filters []*Filter `locationNameList:"Filter" type:"list"`
  5272. // If this parameter is specified, and if the requested engine supports the
  5273. // CharacterSetName parameter for CreateDBInstance, the response includes a
  5274. // list of supported character sets for each engine version.
  5275. ListSupportedCharacterSets *bool `type:"boolean"`
  5276. // An optional pagination token provided by a previous request. If this parameter
  5277. // is specified, the response includes only records beyond the marker, up to
  5278. // the value specified by MaxRecords.
  5279. Marker *string `type:"string"`
  5280. // The maximum number of records to include in the response. If more than the
  5281. // MaxRecords value is available, a pagination token called a marker is included
  5282. // in the response so that the following results can be retrieved.
  5283. //
  5284. // Default: 100
  5285. //
  5286. // Constraints: Minimum 20, maximum 100.
  5287. MaxRecords *int64 `type:"integer"`
  5288. metadataDescribeDBEngineVersionsInput `json:"-" xml:"-"`
  5289. }
  5290. type metadataDescribeDBEngineVersionsInput struct {
  5291. SDKShapeTraits bool `type:"structure"`
  5292. }
  5293. // String returns the string representation
  5294. func (s DescribeDBEngineVersionsInput) String() string {
  5295. return awsutil.Prettify(s)
  5296. }
  5297. // GoString returns the string representation
  5298. func (s DescribeDBEngineVersionsInput) GoString() string {
  5299. return s.String()
  5300. }
  5301. // Contains the result of a successful invocation of the DescribeDBEngineVersions
  5302. // action.
  5303. type DescribeDBEngineVersionsOutput struct {
  5304. // A list of DBEngineVersion elements.
  5305. DBEngineVersions []*DBEngineVersion `locationNameList:"DBEngineVersion" type:"list"`
  5306. // An optional pagination token provided by a previous request. If this parameter
  5307. // is specified, the response includes only records beyond the marker, up to
  5308. // the value specified by MaxRecords.
  5309. Marker *string `type:"string"`
  5310. metadataDescribeDBEngineVersionsOutput `json:"-" xml:"-"`
  5311. }
  5312. type metadataDescribeDBEngineVersionsOutput struct {
  5313. SDKShapeTraits bool `type:"structure"`
  5314. }
  5315. // String returns the string representation
  5316. func (s DescribeDBEngineVersionsOutput) String() string {
  5317. return awsutil.Prettify(s)
  5318. }
  5319. // GoString returns the string representation
  5320. func (s DescribeDBEngineVersionsOutput) GoString() string {
  5321. return s.String()
  5322. }
  5323. type DescribeDBInstancesInput struct {
  5324. // The user-supplied instance identifier. If this parameter is specified, information
  5325. // from only the specific DB instance is returned. This parameter isn't case-sensitive.
  5326. //
  5327. // Constraints:
  5328. //
  5329. // Must contain from 1 to 63 alphanumeric characters or hyphens First character
  5330. // must be a letter Cannot end with a hyphen or contain two consecutive hyphens
  5331. DBInstanceIdentifier *string `type:"string"`
  5332. // This parameter is not currently supported.
  5333. Filters []*Filter `locationNameList:"Filter" type:"list"`
  5334. // An optional pagination token provided by a previous DescribeDBInstances request.
  5335. // If this parameter is specified, the response includes only records beyond
  5336. // the marker, up to the value specified by MaxRecords.
  5337. Marker *string `type:"string"`
  5338. // The maximum number of records to include in the response. If more records
  5339. // exist than the specified MaxRecords value, a pagination token called a marker
  5340. // is included in the response so that the remaining results can be retrieved.
  5341. //
  5342. // Default: 100
  5343. //
  5344. // Constraints: Minimum 20, maximum 100.
  5345. MaxRecords *int64 `type:"integer"`
  5346. metadataDescribeDBInstancesInput `json:"-" xml:"-"`
  5347. }
  5348. type metadataDescribeDBInstancesInput struct {
  5349. SDKShapeTraits bool `type:"structure"`
  5350. }
  5351. // String returns the string representation
  5352. func (s DescribeDBInstancesInput) String() string {
  5353. return awsutil.Prettify(s)
  5354. }
  5355. // GoString returns the string representation
  5356. func (s DescribeDBInstancesInput) GoString() string {
  5357. return s.String()
  5358. }
  5359. // Contains the result of a successful invocation of the DescribeDBInstances
  5360. // action.
  5361. type DescribeDBInstancesOutput struct {
  5362. // A list of DBInstance instances.
  5363. DBInstances []*DBInstance `locationNameList:"DBInstance" type:"list"`
  5364. // An optional pagination token provided by a previous request. If this parameter
  5365. // is specified, the response includes only records beyond the marker, up to
  5366. // the value specified by MaxRecords .
  5367. Marker *string `type:"string"`
  5368. metadataDescribeDBInstancesOutput `json:"-" xml:"-"`
  5369. }
  5370. type metadataDescribeDBInstancesOutput struct {
  5371. SDKShapeTraits bool `type:"structure"`
  5372. }
  5373. // String returns the string representation
  5374. func (s DescribeDBInstancesOutput) String() string {
  5375. return awsutil.Prettify(s)
  5376. }
  5377. // GoString returns the string representation
  5378. func (s DescribeDBInstancesOutput) GoString() string {
  5379. return s.String()
  5380. }
  5381. // This data type is used as a response element to DescribeDBLogFiles.
  5382. type DescribeDBLogFilesDetails struct {
  5383. // A POSIX timestamp when the last log entry was written.
  5384. LastWritten *int64 `type:"long"`
  5385. // The name of the log file for the specified DB instance.
  5386. LogFileName *string `type:"string"`
  5387. // The size, in bytes, of the log file for the specified DB instance.
  5388. Size *int64 `type:"long"`
  5389. metadataDescribeDBLogFilesDetails `json:"-" xml:"-"`
  5390. }
  5391. type metadataDescribeDBLogFilesDetails struct {
  5392. SDKShapeTraits bool `type:"structure"`
  5393. }
  5394. // String returns the string representation
  5395. func (s DescribeDBLogFilesDetails) String() string {
  5396. return awsutil.Prettify(s)
  5397. }
  5398. // GoString returns the string representation
  5399. func (s DescribeDBLogFilesDetails) GoString() string {
  5400. return s.String()
  5401. }
  5402. type DescribeDBLogFilesInput struct {
  5403. // The customer-assigned name of the DB instance that contains the log files
  5404. // you want to list.
  5405. //
  5406. // Constraints:
  5407. //
  5408. // Must contain from 1 to 63 alphanumeric characters or hyphens First character
  5409. // must be a letter Cannot end with a hyphen or contain two consecutive hyphens
  5410. DBInstanceIdentifier *string `type:"string" required:"true"`
  5411. // Filters the available log files for files written since the specified date,
  5412. // in POSIX timestamp format with milliseconds.
  5413. FileLastWritten *int64 `type:"long"`
  5414. // Filters the available log files for files larger than the specified size.
  5415. FileSize *int64 `type:"long"`
  5416. // Filters the available log files for log file names that contain the specified
  5417. // string.
  5418. FilenameContains *string `type:"string"`
  5419. // This parameter is not currently supported.
  5420. Filters []*Filter `locationNameList:"Filter" type:"list"`
  5421. // The pagination token provided in the previous request. If this parameter
  5422. // is specified the response includes only records beyond the marker, up to
  5423. // MaxRecords.
  5424. Marker *string `type:"string"`
  5425. // The maximum number of records to include in the response. If more records
  5426. // exist than the specified MaxRecords value, a pagination token called a marker
  5427. // is included in the response so that the remaining results can be retrieved.
  5428. MaxRecords *int64 `type:"integer"`
  5429. metadataDescribeDBLogFilesInput `json:"-" xml:"-"`
  5430. }
  5431. type metadataDescribeDBLogFilesInput struct {
  5432. SDKShapeTraits bool `type:"structure"`
  5433. }
  5434. // String returns the string representation
  5435. func (s DescribeDBLogFilesInput) String() string {
  5436. return awsutil.Prettify(s)
  5437. }
  5438. // GoString returns the string representation
  5439. func (s DescribeDBLogFilesInput) GoString() string {
  5440. return s.String()
  5441. }
  5442. // The response from a call to DescribeDBLogFiles.
  5443. type DescribeDBLogFilesOutput struct {
  5444. // The DB log files returned.
  5445. DescribeDBLogFiles []*DescribeDBLogFilesDetails `locationNameList:"DescribeDBLogFilesDetails" type:"list"`
  5446. // A pagination token that can be used in a subsequent DescribeDBLogFiles request.
  5447. Marker *string `type:"string"`
  5448. metadataDescribeDBLogFilesOutput `json:"-" xml:"-"`
  5449. }
  5450. type metadataDescribeDBLogFilesOutput struct {
  5451. SDKShapeTraits bool `type:"structure"`
  5452. }
  5453. // String returns the string representation
  5454. func (s DescribeDBLogFilesOutput) String() string {
  5455. return awsutil.Prettify(s)
  5456. }
  5457. // GoString returns the string representation
  5458. func (s DescribeDBLogFilesOutput) GoString() string {
  5459. return s.String()
  5460. }
  5461. type DescribeDBParameterGroupsInput struct {
  5462. // The name of a specific DB parameter group to return details for.
  5463. //
  5464. // Constraints:
  5465. //
  5466. // Must be 1 to 255 alphanumeric characters First character must be a letter
  5467. // Cannot end with a hyphen or contain two consecutive hyphens
  5468. DBParameterGroupName *string `type:"string"`
  5469. // This parameter is not currently supported.
  5470. Filters []*Filter `locationNameList:"Filter" type:"list"`
  5471. // An optional pagination token provided by a previous DescribeDBParameterGroups
  5472. // request. If this parameter is specified, the response includes only records
  5473. // beyond the marker, up to the value specified by MaxRecords.
  5474. Marker *string `type:"string"`
  5475. // The maximum number of records to include in the response. If more records
  5476. // exist than the specified MaxRecords value, a pagination token called a marker
  5477. // is included in the response so that the remaining results can be retrieved.
  5478. //
  5479. // Default: 100
  5480. //
  5481. // Constraints: Minimum 20, maximum 100.
  5482. MaxRecords *int64 `type:"integer"`
  5483. metadataDescribeDBParameterGroupsInput `json:"-" xml:"-"`
  5484. }
  5485. type metadataDescribeDBParameterGroupsInput struct {
  5486. SDKShapeTraits bool `type:"structure"`
  5487. }
  5488. // String returns the string representation
  5489. func (s DescribeDBParameterGroupsInput) String() string {
  5490. return awsutil.Prettify(s)
  5491. }
  5492. // GoString returns the string representation
  5493. func (s DescribeDBParameterGroupsInput) GoString() string {
  5494. return s.String()
  5495. }
  5496. // Contains the result of a successful invocation of the DescribeDBParameterGroups
  5497. // action.
  5498. type DescribeDBParameterGroupsOutput struct {
  5499. // A list of DBParameterGroup instances.
  5500. DBParameterGroups []*DBParameterGroup `locationNameList:"DBParameterGroup" type:"list"`
  5501. // An optional pagination token provided by a previous request. If this parameter
  5502. // is specified, the response includes only records beyond the marker, up to
  5503. // the value specified by MaxRecords.
  5504. Marker *string `type:"string"`
  5505. metadataDescribeDBParameterGroupsOutput `json:"-" xml:"-"`
  5506. }
  5507. type metadataDescribeDBParameterGroupsOutput struct {
  5508. SDKShapeTraits bool `type:"structure"`
  5509. }
  5510. // String returns the string representation
  5511. func (s DescribeDBParameterGroupsOutput) String() string {
  5512. return awsutil.Prettify(s)
  5513. }
  5514. // GoString returns the string representation
  5515. func (s DescribeDBParameterGroupsOutput) GoString() string {
  5516. return s.String()
  5517. }
  5518. type DescribeDBParametersInput struct {
  5519. // The name of a specific DB parameter group to return details for.
  5520. //
  5521. // Constraints:
  5522. //
  5523. // Must be 1 to 255 alphanumeric characters First character must be a letter
  5524. // Cannot end with a hyphen or contain two consecutive hyphens
  5525. DBParameterGroupName *string `type:"string" required:"true"`
  5526. // This parameter is not currently supported.
  5527. Filters []*Filter `locationNameList:"Filter" type:"list"`
  5528. // An optional pagination token provided by a previous DescribeDBParameters
  5529. // request. If this parameter is specified, the response includes only records
  5530. // beyond the marker, up to the value specified by MaxRecords.
  5531. Marker *string `type:"string"`
  5532. // The maximum number of records to include in the response. If more records
  5533. // exist than the specified MaxRecords value, a pagination token called a marker
  5534. // is included in the response so that the remaining results can be retrieved.
  5535. //
  5536. // Default: 100
  5537. //
  5538. // Constraints: Minimum 20, maximum 100.
  5539. MaxRecords *int64 `type:"integer"`
  5540. // The parameter types to return.
  5541. //
  5542. // Default: All parameter types returned
  5543. //
  5544. // Valid Values: user | system | engine-default
  5545. Source *string `type:"string"`
  5546. metadataDescribeDBParametersInput `json:"-" xml:"-"`
  5547. }
  5548. type metadataDescribeDBParametersInput struct {
  5549. SDKShapeTraits bool `type:"structure"`
  5550. }
  5551. // String returns the string representation
  5552. func (s DescribeDBParametersInput) String() string {
  5553. return awsutil.Prettify(s)
  5554. }
  5555. // GoString returns the string representation
  5556. func (s DescribeDBParametersInput) GoString() string {
  5557. return s.String()
  5558. }
  5559. // Contains the result of a successful invocation of the DescribeDBParameters
  5560. // action.
  5561. type DescribeDBParametersOutput struct {
  5562. // An optional pagination token provided by a previous request. If this parameter
  5563. // is specified, the response includes only records beyond the marker, up to
  5564. // the value specified by MaxRecords.
  5565. Marker *string `type:"string"`
  5566. // A list of Parameter values.
  5567. Parameters []*Parameter `locationNameList:"Parameter" type:"list"`
  5568. metadataDescribeDBParametersOutput `json:"-" xml:"-"`
  5569. }
  5570. type metadataDescribeDBParametersOutput struct {
  5571. SDKShapeTraits bool `type:"structure"`
  5572. }
  5573. // String returns the string representation
  5574. func (s DescribeDBParametersOutput) String() string {
  5575. return awsutil.Prettify(s)
  5576. }
  5577. // GoString returns the string representation
  5578. func (s DescribeDBParametersOutput) GoString() string {
  5579. return s.String()
  5580. }
  5581. type DescribeDBSecurityGroupsInput struct {
  5582. // The name of the DB security group to return details for.
  5583. DBSecurityGroupName *string `type:"string"`
  5584. // This parameter is not currently supported.
  5585. Filters []*Filter `locationNameList:"Filter" type:"list"`
  5586. // An optional pagination token provided by a previous DescribeDBSecurityGroups
  5587. // request. If this parameter is specified, the response includes only records
  5588. // beyond the marker, up to the value specified by MaxRecords.
  5589. Marker *string `type:"string"`
  5590. // The maximum number of records to include in the response. If more records
  5591. // exist than the specified MaxRecords value, a pagination token called a marker
  5592. // is included in the response so that the remaining results can be retrieved.
  5593. //
  5594. // Default: 100
  5595. //
  5596. // Constraints: Minimum 20, maximum 100.
  5597. MaxRecords *int64 `type:"integer"`
  5598. metadataDescribeDBSecurityGroupsInput `json:"-" xml:"-"`
  5599. }
  5600. type metadataDescribeDBSecurityGroupsInput struct {
  5601. SDKShapeTraits bool `type:"structure"`
  5602. }
  5603. // String returns the string representation
  5604. func (s DescribeDBSecurityGroupsInput) String() string {
  5605. return awsutil.Prettify(s)
  5606. }
  5607. // GoString returns the string representation
  5608. func (s DescribeDBSecurityGroupsInput) GoString() string {
  5609. return s.String()
  5610. }
  5611. // Contains the result of a successful invocation of the DescribeDBSecurityGroups
  5612. // action.
  5613. type DescribeDBSecurityGroupsOutput struct {
  5614. // A list of DBSecurityGroup instances.
  5615. DBSecurityGroups []*DBSecurityGroup `locationNameList:"DBSecurityGroup" type:"list"`
  5616. // An optional pagination token provided by a previous request. If this parameter
  5617. // is specified, the response includes only records beyond the marker, up to
  5618. // the value specified by MaxRecords.
  5619. Marker *string `type:"string"`
  5620. metadataDescribeDBSecurityGroupsOutput `json:"-" xml:"-"`
  5621. }
  5622. type metadataDescribeDBSecurityGroupsOutput struct {
  5623. SDKShapeTraits bool `type:"structure"`
  5624. }
  5625. // String returns the string representation
  5626. func (s DescribeDBSecurityGroupsOutput) String() string {
  5627. return awsutil.Prettify(s)
  5628. }
  5629. // GoString returns the string representation
  5630. func (s DescribeDBSecurityGroupsOutput) GoString() string {
  5631. return s.String()
  5632. }
  5633. type DescribeDBSnapshotsInput struct {
  5634. // A DB instance identifier to retrieve the list of DB snapshots for. This parameter
  5635. // cannot be used in conjunction with DBSnapshotIdentifier. This parameter is
  5636. // not case-sensitive.
  5637. //
  5638. // Constraints:
  5639. //
  5640. // Must contain from 1 to 63 alphanumeric characters or hyphens First character
  5641. // must be a letter Cannot end with a hyphen or contain two consecutive hyphens
  5642. DBInstanceIdentifier *string `type:"string"`
  5643. // A specific DB snapshot identifier to describe. This parameter cannot be used
  5644. // in conjunction with DBInstanceIdentifier. This value is stored as a lowercase
  5645. // string.
  5646. //
  5647. // Constraints:
  5648. //
  5649. // Must be 1 to 255 alphanumeric characters. First character must be a letter.
  5650. // Cannot end with a hyphen or contain two consecutive hyphens. If this is the
  5651. // identifier of an automated snapshot, the SnapshotType parameter must also
  5652. // be specified.
  5653. DBSnapshotIdentifier *string `type:"string"`
  5654. // This parameter is not currently supported.
  5655. Filters []*Filter `locationNameList:"Filter" type:"list"`
  5656. // An optional pagination token provided by a previous DescribeDBSnapshots request.
  5657. // If this parameter is specified, the response includes only records beyond
  5658. // the marker, up to the value specified by MaxRecords.
  5659. Marker *string `type:"string"`
  5660. // The maximum number of records to include in the response. If more records
  5661. // exist than the specified MaxRecords value, a pagination token called a marker
  5662. // is included in the response so that the remaining results can be retrieved.
  5663. //
  5664. // Default: 100
  5665. //
  5666. // Constraints: Minimum 20, maximum 100.
  5667. MaxRecords *int64 `type:"integer"`
  5668. // The type of snapshots that will be returned. Values can be "automated" or
  5669. // "manual." If not specified, the returned results will include all snapshots
  5670. // types.
  5671. SnapshotType *string `type:"string"`
  5672. metadataDescribeDBSnapshotsInput `json:"-" xml:"-"`
  5673. }
  5674. type metadataDescribeDBSnapshotsInput struct {
  5675. SDKShapeTraits bool `type:"structure"`
  5676. }
  5677. // String returns the string representation
  5678. func (s DescribeDBSnapshotsInput) String() string {
  5679. return awsutil.Prettify(s)
  5680. }
  5681. // GoString returns the string representation
  5682. func (s DescribeDBSnapshotsInput) GoString() string {
  5683. return s.String()
  5684. }
  5685. // Contains the result of a successful invocation of the DescribeDBSnapshots
  5686. // action.
  5687. type DescribeDBSnapshotsOutput struct {
  5688. // A list of DBSnapshot instances.
  5689. DBSnapshots []*DBSnapshot `locationNameList:"DBSnapshot" type:"list"`
  5690. // An optional pagination token provided by a previous request. If this parameter
  5691. // is specified, the response includes only records beyond the marker, up to
  5692. // the value specified by MaxRecords.
  5693. Marker *string `type:"string"`
  5694. metadataDescribeDBSnapshotsOutput `json:"-" xml:"-"`
  5695. }
  5696. type metadataDescribeDBSnapshotsOutput struct {
  5697. SDKShapeTraits bool `type:"structure"`
  5698. }
  5699. // String returns the string representation
  5700. func (s DescribeDBSnapshotsOutput) String() string {
  5701. return awsutil.Prettify(s)
  5702. }
  5703. // GoString returns the string representation
  5704. func (s DescribeDBSnapshotsOutput) GoString() string {
  5705. return s.String()
  5706. }
  5707. type DescribeDBSubnetGroupsInput struct {
  5708. // The name of the DB subnet group to return details for.
  5709. DBSubnetGroupName *string `type:"string"`
  5710. // This parameter is not currently supported.
  5711. Filters []*Filter `locationNameList:"Filter" type:"list"`
  5712. // An optional pagination token provided by a previous DescribeDBSubnetGroups
  5713. // request. If this parameter is specified, the response includes only records
  5714. // beyond the marker, up to the value specified by MaxRecords.
  5715. Marker *string `type:"string"`
  5716. // The maximum number of records to include in the response. If more records
  5717. // exist than the specified MaxRecords value, a pagination token called a marker
  5718. // is included in the response so that the remaining results can be retrieved.
  5719. //
  5720. // Default: 100
  5721. //
  5722. // Constraints: Minimum 20, maximum 100.
  5723. MaxRecords *int64 `type:"integer"`
  5724. metadataDescribeDBSubnetGroupsInput `json:"-" xml:"-"`
  5725. }
  5726. type metadataDescribeDBSubnetGroupsInput struct {
  5727. SDKShapeTraits bool `type:"structure"`
  5728. }
  5729. // String returns the string representation
  5730. func (s DescribeDBSubnetGroupsInput) String() string {
  5731. return awsutil.Prettify(s)
  5732. }
  5733. // GoString returns the string representation
  5734. func (s DescribeDBSubnetGroupsInput) GoString() string {
  5735. return s.String()
  5736. }
  5737. // Contains the result of a successful invocation of the DescribeDBSubnetGroups
  5738. // action.
  5739. type DescribeDBSubnetGroupsOutput struct {
  5740. // A list of DBSubnetGroup instances.
  5741. DBSubnetGroups []*DBSubnetGroup `locationNameList:"DBSubnetGroup" type:"list"`
  5742. // An optional pagination token provided by a previous request. If this parameter
  5743. // is specified, the response includes only records beyond the marker, up to
  5744. // the value specified by MaxRecords.
  5745. Marker *string `type:"string"`
  5746. metadataDescribeDBSubnetGroupsOutput `json:"-" xml:"-"`
  5747. }
  5748. type metadataDescribeDBSubnetGroupsOutput struct {
  5749. SDKShapeTraits bool `type:"structure"`
  5750. }
  5751. // String returns the string representation
  5752. func (s DescribeDBSubnetGroupsOutput) String() string {
  5753. return awsutil.Prettify(s)
  5754. }
  5755. // GoString returns the string representation
  5756. func (s DescribeDBSubnetGroupsOutput) GoString() string {
  5757. return s.String()
  5758. }
  5759. type DescribeEngineDefaultClusterParametersInput struct {
  5760. // The name of the DB cluster parameter group family to return engine parameter
  5761. // information for.
  5762. DBParameterGroupFamily *string `type:"string" required:"true"`
  5763. // This parameter is not currently supported.
  5764. Filters []*Filter `locationNameList:"Filter" type:"list"`
  5765. // An optional pagination token provided by a previous DescribeEngineDefaultClusterParameters
  5766. // request. If this parameter is specified, the response includes only records
  5767. // beyond the marker, up to the value specified by MaxRecords.
  5768. Marker *string `type:"string"`
  5769. // The maximum number of records to include in the response. If more records
  5770. // exist than the specified MaxRecords value, a pagination token called a marker
  5771. // is included in the response so that the remaining results can be retrieved.
  5772. //
  5773. // Default: 100
  5774. //
  5775. // Constraints: Minimum 20, maximum 100.
  5776. MaxRecords *int64 `type:"integer"`
  5777. metadataDescribeEngineDefaultClusterParametersInput `json:"-" xml:"-"`
  5778. }
  5779. type metadataDescribeEngineDefaultClusterParametersInput struct {
  5780. SDKShapeTraits bool `type:"structure"`
  5781. }
  5782. // String returns the string representation
  5783. func (s DescribeEngineDefaultClusterParametersInput) String() string {
  5784. return awsutil.Prettify(s)
  5785. }
  5786. // GoString returns the string representation
  5787. func (s DescribeEngineDefaultClusterParametersInput) GoString() string {
  5788. return s.String()
  5789. }
  5790. type DescribeEngineDefaultClusterParametersOutput struct {
  5791. // Contains the result of a successful invocation of the DescribeEngineDefaultParameters
  5792. // action.
  5793. EngineDefaults *EngineDefaults `type:"structure"`
  5794. metadataDescribeEngineDefaultClusterParametersOutput `json:"-" xml:"-"`
  5795. }
  5796. type metadataDescribeEngineDefaultClusterParametersOutput struct {
  5797. SDKShapeTraits bool `type:"structure"`
  5798. }
  5799. // String returns the string representation
  5800. func (s DescribeEngineDefaultClusterParametersOutput) String() string {
  5801. return awsutil.Prettify(s)
  5802. }
  5803. // GoString returns the string representation
  5804. func (s DescribeEngineDefaultClusterParametersOutput) GoString() string {
  5805. return s.String()
  5806. }
  5807. type DescribeEngineDefaultParametersInput struct {
  5808. // The name of the DB parameter group family.
  5809. DBParameterGroupFamily *string `type:"string" required:"true"`
  5810. // Not currently supported.
  5811. Filters []*Filter `locationNameList:"Filter" type:"list"`
  5812. // An optional pagination token provided by a previous DescribeEngineDefaultParameters
  5813. // request. If this parameter is specified, the response includes only records
  5814. // beyond the marker, up to the value specified by MaxRecords.
  5815. Marker *string `type:"string"`
  5816. // The maximum number of records to include in the response. If more records
  5817. // exist than the specified MaxRecords value, a pagination token called a marker
  5818. // is included in the response so that the remaining results can be retrieved.
  5819. //
  5820. // Default: 100
  5821. //
  5822. // Constraints: Minimum 20, maximum 100.
  5823. MaxRecords *int64 `type:"integer"`
  5824. metadataDescribeEngineDefaultParametersInput `json:"-" xml:"-"`
  5825. }
  5826. type metadataDescribeEngineDefaultParametersInput struct {
  5827. SDKShapeTraits bool `type:"structure"`
  5828. }
  5829. // String returns the string representation
  5830. func (s DescribeEngineDefaultParametersInput) String() string {
  5831. return awsutil.Prettify(s)
  5832. }
  5833. // GoString returns the string representation
  5834. func (s DescribeEngineDefaultParametersInput) GoString() string {
  5835. return s.String()
  5836. }
  5837. type DescribeEngineDefaultParametersOutput struct {
  5838. // Contains the result of a successful invocation of the DescribeEngineDefaultParameters
  5839. // action.
  5840. EngineDefaults *EngineDefaults `type:"structure"`
  5841. metadataDescribeEngineDefaultParametersOutput `json:"-" xml:"-"`
  5842. }
  5843. type metadataDescribeEngineDefaultParametersOutput struct {
  5844. SDKShapeTraits bool `type:"structure"`
  5845. }
  5846. // String returns the string representation
  5847. func (s DescribeEngineDefaultParametersOutput) String() string {
  5848. return awsutil.Prettify(s)
  5849. }
  5850. // GoString returns the string representation
  5851. func (s DescribeEngineDefaultParametersOutput) GoString() string {
  5852. return s.String()
  5853. }
  5854. type DescribeEventCategoriesInput struct {
  5855. // This parameter is not currently supported.
  5856. Filters []*Filter `locationNameList:"Filter" type:"list"`
  5857. // The type of source that will be generating the events.
  5858. //
  5859. // Valid values: db-instance | db-parameter-group | db-security-group | db-snapshot
  5860. SourceType *string `type:"string"`
  5861. metadataDescribeEventCategoriesInput `json:"-" xml:"-"`
  5862. }
  5863. type metadataDescribeEventCategoriesInput struct {
  5864. SDKShapeTraits bool `type:"structure"`
  5865. }
  5866. // String returns the string representation
  5867. func (s DescribeEventCategoriesInput) String() string {
  5868. return awsutil.Prettify(s)
  5869. }
  5870. // GoString returns the string representation
  5871. func (s DescribeEventCategoriesInput) GoString() string {
  5872. return s.String()
  5873. }
  5874. // Data returned from the DescribeEventCategories action.
  5875. type DescribeEventCategoriesOutput struct {
  5876. // A list of EventCategoriesMap data types.
  5877. EventCategoriesMapList []*EventCategoriesMap `locationNameList:"EventCategoriesMap" type:"list"`
  5878. metadataDescribeEventCategoriesOutput `json:"-" xml:"-"`
  5879. }
  5880. type metadataDescribeEventCategoriesOutput struct {
  5881. SDKShapeTraits bool `type:"structure"`
  5882. }
  5883. // String returns the string representation
  5884. func (s DescribeEventCategoriesOutput) String() string {
  5885. return awsutil.Prettify(s)
  5886. }
  5887. // GoString returns the string representation
  5888. func (s DescribeEventCategoriesOutput) GoString() string {
  5889. return s.String()
  5890. }
  5891. type DescribeEventSubscriptionsInput struct {
  5892. // This parameter is not currently supported.
  5893. Filters []*Filter `locationNameList:"Filter" type:"list"`
  5894. // An optional pagination token provided by a previous DescribeOrderableDBInstanceOptions
  5895. // request. If this parameter is specified, the response includes only records
  5896. // beyond the marker, up to the value specified by MaxRecords .
  5897. Marker *string `type:"string"`
  5898. // The maximum number of records to include in the response. If more records
  5899. // exist than the specified MaxRecords value, a pagination token called a marker
  5900. // is included in the response so that the remaining results can be retrieved.
  5901. //
  5902. // Default: 100
  5903. //
  5904. // Constraints: Minimum 20, maximum 100.
  5905. MaxRecords *int64 `type:"integer"`
  5906. // The name of the RDS event notification subscription you want to describe.
  5907. SubscriptionName *string `type:"string"`
  5908. metadataDescribeEventSubscriptionsInput `json:"-" xml:"-"`
  5909. }
  5910. type metadataDescribeEventSubscriptionsInput struct {
  5911. SDKShapeTraits bool `type:"structure"`
  5912. }
  5913. // String returns the string representation
  5914. func (s DescribeEventSubscriptionsInput) String() string {
  5915. return awsutil.Prettify(s)
  5916. }
  5917. // GoString returns the string representation
  5918. func (s DescribeEventSubscriptionsInput) GoString() string {
  5919. return s.String()
  5920. }
  5921. // Data returned by the DescribeEventSubscriptions action.
  5922. type DescribeEventSubscriptionsOutput struct {
  5923. // A list of EventSubscriptions data types.
  5924. EventSubscriptionsList []*EventSubscription `locationNameList:"EventSubscription" type:"list"`
  5925. // An optional pagination token provided by a previous DescribeOrderableDBInstanceOptions
  5926. // request. If this parameter is specified, the response includes only records
  5927. // beyond the marker, up to the value specified by MaxRecords.
  5928. Marker *string `type:"string"`
  5929. metadataDescribeEventSubscriptionsOutput `json:"-" xml:"-"`
  5930. }
  5931. type metadataDescribeEventSubscriptionsOutput struct {
  5932. SDKShapeTraits bool `type:"structure"`
  5933. }
  5934. // String returns the string representation
  5935. func (s DescribeEventSubscriptionsOutput) String() string {
  5936. return awsutil.Prettify(s)
  5937. }
  5938. // GoString returns the string representation
  5939. func (s DescribeEventSubscriptionsOutput) GoString() string {
  5940. return s.String()
  5941. }
  5942. type DescribeEventsInput struct {
  5943. // The number of minutes to retrieve events for.
  5944. //
  5945. // Default: 60
  5946. Duration *int64 `type:"integer"`
  5947. // The end of the time interval for which to retrieve events, specified in ISO
  5948. // 8601 format. For more information about ISO 8601, go to the ISO8601 Wikipedia
  5949. // page. (http://en.wikipedia.org/wiki/ISO_8601)
  5950. //
  5951. // Example: 2009-07-08T18:00Z
  5952. EndTime *time.Time `type:"timestamp" timestampFormat:"iso8601"`
  5953. // A list of event categories that trigger notifications for a event notification
  5954. // subscription.
  5955. EventCategories []*string `locationNameList:"EventCategory" type:"list"`
  5956. // This parameter is not currently supported.
  5957. Filters []*Filter `locationNameList:"Filter" type:"list"`
  5958. // An optional pagination token provided by a previous DescribeEvents request.
  5959. // If this parameter is specified, the response includes only records beyond
  5960. // the marker, up to the value specified by MaxRecords.
  5961. Marker *string `type:"string"`
  5962. // The maximum number of records to include in the response. If more records
  5963. // exist than the specified MaxRecords value, a pagination token called a marker
  5964. // is included in the response so that the remaining results can be retrieved.
  5965. //
  5966. // Default: 100
  5967. //
  5968. // Constraints: Minimum 20, maximum 100.
  5969. MaxRecords *int64 `type:"integer"`
  5970. // The identifier of the event source for which events will be returned. If
  5971. // not specified, then all sources are included in the response.
  5972. //
  5973. // Constraints:
  5974. //
  5975. // If SourceIdentifier is supplied, SourceType must also be provided. If the
  5976. // source type is DBInstance, then a DBInstanceIdentifier must be supplied.
  5977. // If the source type is DBSecurityGroup, a DBSecurityGroupName must be supplied.
  5978. // If the source type is DBParameterGroup, a DBParameterGroupName must be supplied.
  5979. // If the source type is DBSnapshot, a DBSnapshotIdentifier must be supplied.
  5980. // Cannot end with a hyphen or contain two consecutive hyphens.
  5981. SourceIdentifier *string `type:"string"`
  5982. // The event source to retrieve events for. If no value is specified, all events
  5983. // are returned.
  5984. SourceType *string `type:"string" enum:"SourceType"`
  5985. // The beginning of the time interval to retrieve events for, specified in ISO
  5986. // 8601 format. For more information about ISO 8601, go to the ISO8601 Wikipedia
  5987. // page. (http://en.wikipedia.org/wiki/ISO_8601)
  5988. //
  5989. // Example: 2009-07-08T18:00Z
  5990. StartTime *time.Time `type:"timestamp" timestampFormat:"iso8601"`
  5991. metadataDescribeEventsInput `json:"-" xml:"-"`
  5992. }
  5993. type metadataDescribeEventsInput struct {
  5994. SDKShapeTraits bool `type:"structure"`
  5995. }
  5996. // String returns the string representation
  5997. func (s DescribeEventsInput) String() string {
  5998. return awsutil.Prettify(s)
  5999. }
  6000. // GoString returns the string representation
  6001. func (s DescribeEventsInput) GoString() string {
  6002. return s.String()
  6003. }
  6004. // Contains the result of a successful invocation of the DescribeEvents action.
  6005. type DescribeEventsOutput struct {
  6006. // A list of Event instances.
  6007. Events []*Event `locationNameList:"Event" type:"list"`
  6008. // An optional pagination token provided by a previous Events request. If this
  6009. // parameter is specified, the response includes only records beyond the marker,
  6010. // up to the value specified by MaxRecords .
  6011. Marker *string `type:"string"`
  6012. metadataDescribeEventsOutput `json:"-" xml:"-"`
  6013. }
  6014. type metadataDescribeEventsOutput struct {
  6015. SDKShapeTraits bool `type:"structure"`
  6016. }
  6017. // String returns the string representation
  6018. func (s DescribeEventsOutput) String() string {
  6019. return awsutil.Prettify(s)
  6020. }
  6021. // GoString returns the string representation
  6022. func (s DescribeEventsOutput) GoString() string {
  6023. return s.String()
  6024. }
  6025. type DescribeOptionGroupOptionsInput struct {
  6026. // A required parameter. Options available for the given engine name will be
  6027. // described.
  6028. EngineName *string `type:"string" required:"true"`
  6029. // This parameter is not currently supported.
  6030. Filters []*Filter `locationNameList:"Filter" type:"list"`
  6031. // If specified, filters the results to include only options for the specified
  6032. // major engine version.
  6033. MajorEngineVersion *string `type:"string"`
  6034. // An optional pagination token provided by a previous request. If this parameter
  6035. // is specified, the response includes only records beyond the marker, up to
  6036. // the value specified by MaxRecords.
  6037. Marker *string `type:"string"`
  6038. // The maximum number of records to include in the response. If more records
  6039. // exist than the specified MaxRecords value, a pagination token called a marker
  6040. // is included in the response so that the remaining results can be retrieved.
  6041. //
  6042. // Default: 100
  6043. //
  6044. // Constraints: Minimum 20, maximum 100.
  6045. MaxRecords *int64 `type:"integer"`
  6046. metadataDescribeOptionGroupOptionsInput `json:"-" xml:"-"`
  6047. }
  6048. type metadataDescribeOptionGroupOptionsInput struct {
  6049. SDKShapeTraits bool `type:"structure"`
  6050. }
  6051. // String returns the string representation
  6052. func (s DescribeOptionGroupOptionsInput) String() string {
  6053. return awsutil.Prettify(s)
  6054. }
  6055. // GoString returns the string representation
  6056. func (s DescribeOptionGroupOptionsInput) GoString() string {
  6057. return s.String()
  6058. }
  6059. type DescribeOptionGroupOptionsOutput struct {
  6060. // An optional pagination token provided by a previous request. If this parameter
  6061. // is specified, the response includes only records beyond the marker, up to
  6062. // the value specified by MaxRecords.
  6063. Marker *string `type:"string"`
  6064. // List of available option group options.
  6065. OptionGroupOptions []*OptionGroupOption `locationNameList:"OptionGroupOption" type:"list"`
  6066. metadataDescribeOptionGroupOptionsOutput `json:"-" xml:"-"`
  6067. }
  6068. type metadataDescribeOptionGroupOptionsOutput struct {
  6069. SDKShapeTraits bool `type:"structure"`
  6070. }
  6071. // String returns the string representation
  6072. func (s DescribeOptionGroupOptionsOutput) String() string {
  6073. return awsutil.Prettify(s)
  6074. }
  6075. // GoString returns the string representation
  6076. func (s DescribeOptionGroupOptionsOutput) GoString() string {
  6077. return s.String()
  6078. }
  6079. type DescribeOptionGroupsInput struct {
  6080. // Filters the list of option groups to only include groups associated with
  6081. // a specific database engine.
  6082. EngineName *string `type:"string"`
  6083. // This parameter is not currently supported.
  6084. Filters []*Filter `locationNameList:"Filter" type:"list"`
  6085. // Filters the list of option groups to only include groups associated with
  6086. // a specific database engine version. If specified, then EngineName must also
  6087. // be specified.
  6088. MajorEngineVersion *string `type:"string"`
  6089. // An optional pagination token provided by a previous DescribeOptionGroups
  6090. // request. If this parameter is specified, the response includes only records
  6091. // beyond the marker, up to the value specified by MaxRecords.
  6092. Marker *string `type:"string"`
  6093. // The maximum number of records to include in the response. If more records
  6094. // exist than the specified MaxRecords value, a pagination token called a marker
  6095. // is included in the response so that the remaining results can be retrieved.
  6096. //
  6097. // Default: 100
  6098. //
  6099. // Constraints: Minimum 20, maximum 100.
  6100. MaxRecords *int64 `type:"integer"`
  6101. // The name of the option group to describe. Cannot be supplied together with
  6102. // EngineName or MajorEngineVersion.
  6103. OptionGroupName *string `type:"string"`
  6104. metadataDescribeOptionGroupsInput `json:"-" xml:"-"`
  6105. }
  6106. type metadataDescribeOptionGroupsInput struct {
  6107. SDKShapeTraits bool `type:"structure"`
  6108. }
  6109. // String returns the string representation
  6110. func (s DescribeOptionGroupsInput) String() string {
  6111. return awsutil.Prettify(s)
  6112. }
  6113. // GoString returns the string representation
  6114. func (s DescribeOptionGroupsInput) GoString() string {
  6115. return s.String()
  6116. }
  6117. // List of option groups.
  6118. type DescribeOptionGroupsOutput struct {
  6119. // An optional pagination token provided by a previous request. If this parameter
  6120. // is specified, the response includes only records beyond the marker, up to
  6121. // the value specified by MaxRecords.
  6122. Marker *string `type:"string"`
  6123. // List of option groups.
  6124. OptionGroupsList []*OptionGroup `locationNameList:"OptionGroup" type:"list"`
  6125. metadataDescribeOptionGroupsOutput `json:"-" xml:"-"`
  6126. }
  6127. type metadataDescribeOptionGroupsOutput struct {
  6128. SDKShapeTraits bool `type:"structure"`
  6129. }
  6130. // String returns the string representation
  6131. func (s DescribeOptionGroupsOutput) String() string {
  6132. return awsutil.Prettify(s)
  6133. }
  6134. // GoString returns the string representation
  6135. func (s DescribeOptionGroupsOutput) GoString() string {
  6136. return s.String()
  6137. }
  6138. type DescribeOrderableDBInstanceOptionsInput struct {
  6139. // The DB instance class filter value. Specify this parameter to show only the
  6140. // available offerings matching the specified DB instance class.
  6141. DBInstanceClass *string `type:"string"`
  6142. // The name of the engine to retrieve DB instance options for.
  6143. Engine *string `type:"string" required:"true"`
  6144. // The engine version filter value. Specify this parameter to show only the
  6145. // available offerings matching the specified engine version.
  6146. EngineVersion *string `type:"string"`
  6147. // This parameter is not currently supported.
  6148. Filters []*Filter `locationNameList:"Filter" type:"list"`
  6149. // The license model filter value. Specify this parameter to show only the available
  6150. // offerings matching the specified license model.
  6151. LicenseModel *string `type:"string"`
  6152. // An optional pagination token provided by a previous DescribeOrderableDBInstanceOptions
  6153. // request. If this parameter is specified, the response includes only records
  6154. // beyond the marker, up to the value specified by MaxRecords .
  6155. Marker *string `type:"string"`
  6156. // The maximum number of records to include in the response. If more records
  6157. // exist than the specified MaxRecords value, a pagination token called a marker
  6158. // is included in the response so that the remaining results can be retrieved.
  6159. //
  6160. // Default: 100
  6161. //
  6162. // Constraints: Minimum 20, maximum 100.
  6163. MaxRecords *int64 `type:"integer"`
  6164. // The VPC filter value. Specify this parameter to show only the available VPC
  6165. // or non-VPC offerings.
  6166. Vpc *bool `type:"boolean"`
  6167. metadataDescribeOrderableDBInstanceOptionsInput `json:"-" xml:"-"`
  6168. }
  6169. type metadataDescribeOrderableDBInstanceOptionsInput struct {
  6170. SDKShapeTraits bool `type:"structure"`
  6171. }
  6172. // String returns the string representation
  6173. func (s DescribeOrderableDBInstanceOptionsInput) String() string {
  6174. return awsutil.Prettify(s)
  6175. }
  6176. // GoString returns the string representation
  6177. func (s DescribeOrderableDBInstanceOptionsInput) GoString() string {
  6178. return s.String()
  6179. }
  6180. // Contains the result of a successful invocation of the DescribeOrderableDBInstanceOptions
  6181. // action.
  6182. type DescribeOrderableDBInstanceOptionsOutput struct {
  6183. // An optional pagination token provided by a previous OrderableDBInstanceOptions
  6184. // request. If this parameter is specified, the response includes only records
  6185. // beyond the marker, up to the value specified by MaxRecords .
  6186. Marker *string `type:"string"`
  6187. // An OrderableDBInstanceOption structure containing information about orderable
  6188. // options for the DB instance.
  6189. OrderableDBInstanceOptions []*OrderableDBInstanceOption `locationNameList:"OrderableDBInstanceOption" type:"list"`
  6190. metadataDescribeOrderableDBInstanceOptionsOutput `json:"-" xml:"-"`
  6191. }
  6192. type metadataDescribeOrderableDBInstanceOptionsOutput struct {
  6193. SDKShapeTraits bool `type:"structure"`
  6194. }
  6195. // String returns the string representation
  6196. func (s DescribeOrderableDBInstanceOptionsOutput) String() string {
  6197. return awsutil.Prettify(s)
  6198. }
  6199. // GoString returns the string representation
  6200. func (s DescribeOrderableDBInstanceOptionsOutput) GoString() string {
  6201. return s.String()
  6202. }
  6203. type DescribePendingMaintenanceActionsInput struct {
  6204. // A filter that specifies one or more resources to return pending maintenance
  6205. // actions for.
  6206. //
  6207. // Supported filters:
  6208. //
  6209. // db-instance-id - Accepts DB instance identifiers and DB instance Amazon
  6210. // Resource Names (ARNs). The results list will only include pending maintenance
  6211. // actions for the DB instances identified by these ARNs.
  6212. Filters []*Filter `locationNameList:"Filter" type:"list"`
  6213. // An optional pagination token provided by a previous DescribePendingMaintenanceActions
  6214. // request. If this parameter is specified, the response includes only records
  6215. // beyond the marker, up to a number of records specified by MaxRecords.
  6216. Marker *string `type:"string"`
  6217. // The maximum number of records to include in the response. If more records
  6218. // exist than the specified MaxRecords value, a pagination token called a marker
  6219. // is included in the response so that the remaining results can be retrieved.
  6220. //
  6221. // Default: 100
  6222. //
  6223. // Constraints: Minimum 20, maximum 100.
  6224. MaxRecords *int64 `type:"integer"`
  6225. // The ARN of a resource to return pending maintenance actions for.
  6226. ResourceIdentifier *string `type:"string"`
  6227. metadataDescribePendingMaintenanceActionsInput `json:"-" xml:"-"`
  6228. }
  6229. type metadataDescribePendingMaintenanceActionsInput struct {
  6230. SDKShapeTraits bool `type:"structure"`
  6231. }
  6232. // String returns the string representation
  6233. func (s DescribePendingMaintenanceActionsInput) String() string {
  6234. return awsutil.Prettify(s)
  6235. }
  6236. // GoString returns the string representation
  6237. func (s DescribePendingMaintenanceActionsInput) GoString() string {
  6238. return s.String()
  6239. }
  6240. // Data returned from the DescribePendingMaintenanceActions action.
  6241. type DescribePendingMaintenanceActionsOutput struct {
  6242. // An optional pagination token provided by a previous DescribePendingMaintenanceActions
  6243. // request. If this parameter is specified, the response includes only records
  6244. // beyond the marker, up to a number of records specified by MaxRecords.
  6245. Marker *string `type:"string"`
  6246. // A list of the pending maintenance actions for the resource.
  6247. PendingMaintenanceActions []*ResourcePendingMaintenanceActions `locationNameList:"ResourcePendingMaintenanceActions" type:"list"`
  6248. metadataDescribePendingMaintenanceActionsOutput `json:"-" xml:"-"`
  6249. }
  6250. type metadataDescribePendingMaintenanceActionsOutput struct {
  6251. SDKShapeTraits bool `type:"structure"`
  6252. }
  6253. // String returns the string representation
  6254. func (s DescribePendingMaintenanceActionsOutput) String() string {
  6255. return awsutil.Prettify(s)
  6256. }
  6257. // GoString returns the string representation
  6258. func (s DescribePendingMaintenanceActionsOutput) GoString() string {
  6259. return s.String()
  6260. }
  6261. type DescribeReservedDBInstancesInput struct {
  6262. // The DB instance class filter value. Specify this parameter to show only those
  6263. // reservations matching the specified DB instances class.
  6264. DBInstanceClass *string `type:"string"`
  6265. // The duration filter value, specified in years or seconds. Specify this parameter
  6266. // to show only reservations for this duration.
  6267. //
  6268. // Valid Values: 1 | 3 | 31536000 | 94608000
  6269. Duration *string `type:"string"`
  6270. // This parameter is not currently supported.
  6271. Filters []*Filter `locationNameList:"Filter" type:"list"`
  6272. // An optional pagination token provided by a previous request. If this parameter
  6273. // is specified, the response includes only records beyond the marker, up to
  6274. // the value specified by MaxRecords.
  6275. Marker *string `type:"string"`
  6276. // The maximum number of records to include in the response. If more than the
  6277. // MaxRecords value is available, a pagination token called a marker is included
  6278. // in the response so that the following results can be retrieved.
  6279. //
  6280. // Default: 100
  6281. //
  6282. // Constraints: Minimum 20, maximum 100.
  6283. MaxRecords *int64 `type:"integer"`
  6284. // The Multi-AZ filter value. Specify this parameter to show only those reservations
  6285. // matching the specified Multi-AZ parameter.
  6286. MultiAZ *bool `type:"boolean"`
  6287. // The offering type filter value. Specify this parameter to show only the available
  6288. // offerings matching the specified offering type.
  6289. //
  6290. // Valid Values: "Partial Upfront" | "All Upfront" | "No Upfront"
  6291. OfferingType *string `type:"string"`
  6292. // The product description filter value. Specify this parameter to show only
  6293. // those reservations matching the specified product description.
  6294. ProductDescription *string `type:"string"`
  6295. // The reserved DB instance identifier filter value. Specify this parameter
  6296. // to show only the reservation that matches the specified reservation ID.
  6297. ReservedDBInstanceId *string `type:"string"`
  6298. // The offering identifier filter value. Specify this parameter to show only
  6299. // purchased reservations matching the specified offering identifier.
  6300. ReservedDBInstancesOfferingId *string `type:"string"`
  6301. metadataDescribeReservedDBInstancesInput `json:"-" xml:"-"`
  6302. }
  6303. type metadataDescribeReservedDBInstancesInput struct {
  6304. SDKShapeTraits bool `type:"structure"`
  6305. }
  6306. // String returns the string representation
  6307. func (s DescribeReservedDBInstancesInput) String() string {
  6308. return awsutil.Prettify(s)
  6309. }
  6310. // GoString returns the string representation
  6311. func (s DescribeReservedDBInstancesInput) GoString() string {
  6312. return s.String()
  6313. }
  6314. type DescribeReservedDBInstancesOfferingsInput struct {
  6315. // The DB instance class filter value. Specify this parameter to show only the
  6316. // available offerings matching the specified DB instance class.
  6317. DBInstanceClass *string `type:"string"`
  6318. // Duration filter value, specified in years or seconds. Specify this parameter
  6319. // to show only reservations for this duration.
  6320. //
  6321. // Valid Values: 1 | 3 | 31536000 | 94608000
  6322. Duration *string `type:"string"`
  6323. // This parameter is not currently supported.
  6324. Filters []*Filter `locationNameList:"Filter" type:"list"`
  6325. // An optional pagination token provided by a previous request. If this parameter
  6326. // is specified, the response includes only records beyond the marker, up to
  6327. // the value specified by MaxRecords.
  6328. Marker *string `type:"string"`
  6329. // The maximum number of records to include in the response. If more than the
  6330. // MaxRecords value is available, a pagination token called a marker is included
  6331. // in the response so that the following results can be retrieved.
  6332. //
  6333. // Default: 100
  6334. //
  6335. // Constraints: Minimum 20, maximum 100.
  6336. MaxRecords *int64 `type:"integer"`
  6337. // The Multi-AZ filter value. Specify this parameter to show only the available
  6338. // offerings matching the specified Multi-AZ parameter.
  6339. MultiAZ *bool `type:"boolean"`
  6340. // The offering type filter value. Specify this parameter to show only the available
  6341. // offerings matching the specified offering type.
  6342. //
  6343. // Valid Values: "Partial Upfront" | "All Upfront" | "No Upfront"
  6344. OfferingType *string `type:"string"`
  6345. // Product description filter value. Specify this parameter to show only the
  6346. // available offerings matching the specified product description.
  6347. ProductDescription *string `type:"string"`
  6348. // The offering identifier filter value. Specify this parameter to show only
  6349. // the available offering that matches the specified reservation identifier.
  6350. //
  6351. // Example: 438012d3-4052-4cc7-b2e3-8d3372e0e706
  6352. ReservedDBInstancesOfferingId *string `type:"string"`
  6353. metadataDescribeReservedDBInstancesOfferingsInput `json:"-" xml:"-"`
  6354. }
  6355. type metadataDescribeReservedDBInstancesOfferingsInput struct {
  6356. SDKShapeTraits bool `type:"structure"`
  6357. }
  6358. // String returns the string representation
  6359. func (s DescribeReservedDBInstancesOfferingsInput) String() string {
  6360. return awsutil.Prettify(s)
  6361. }
  6362. // GoString returns the string representation
  6363. func (s DescribeReservedDBInstancesOfferingsInput) GoString() string {
  6364. return s.String()
  6365. }
  6366. // Contains the result of a successful invocation of the DescribeReservedDBInstancesOfferings
  6367. // action.
  6368. type DescribeReservedDBInstancesOfferingsOutput struct {
  6369. // An optional pagination token provided by a previous request. If this parameter
  6370. // is specified, the response includes only records beyond the marker, up to
  6371. // the value specified by MaxRecords.
  6372. Marker *string `type:"string"`
  6373. // A list of reserved DB instance offerings.
  6374. ReservedDBInstancesOfferings []*ReservedDBInstancesOffering `locationNameList:"ReservedDBInstancesOffering" type:"list"`
  6375. metadataDescribeReservedDBInstancesOfferingsOutput `json:"-" xml:"-"`
  6376. }
  6377. type metadataDescribeReservedDBInstancesOfferingsOutput struct {
  6378. SDKShapeTraits bool `type:"structure"`
  6379. }
  6380. // String returns the string representation
  6381. func (s DescribeReservedDBInstancesOfferingsOutput) String() string {
  6382. return awsutil.Prettify(s)
  6383. }
  6384. // GoString returns the string representation
  6385. func (s DescribeReservedDBInstancesOfferingsOutput) GoString() string {
  6386. return s.String()
  6387. }
  6388. // Contains the result of a successful invocation of the DescribeReservedDBInstances
  6389. // action.
  6390. type DescribeReservedDBInstancesOutput struct {
  6391. // An optional pagination token provided by a previous request. If this parameter
  6392. // is specified, the response includes only records beyond the marker, up to
  6393. // the value specified by MaxRecords.
  6394. Marker *string `type:"string"`
  6395. // A list of reserved DB instances.
  6396. ReservedDBInstances []*ReservedDBInstance `locationNameList:"ReservedDBInstance" type:"list"`
  6397. metadataDescribeReservedDBInstancesOutput `json:"-" xml:"-"`
  6398. }
  6399. type metadataDescribeReservedDBInstancesOutput struct {
  6400. SDKShapeTraits bool `type:"structure"`
  6401. }
  6402. // String returns the string representation
  6403. func (s DescribeReservedDBInstancesOutput) String() string {
  6404. return awsutil.Prettify(s)
  6405. }
  6406. // GoString returns the string representation
  6407. func (s DescribeReservedDBInstancesOutput) GoString() string {
  6408. return s.String()
  6409. }
  6410. type DownloadDBLogFilePortionInput struct {
  6411. // The customer-assigned name of the DB instance that contains the log files
  6412. // you want to list.
  6413. //
  6414. // Constraints:
  6415. //
  6416. // Must contain from 1 to 63 alphanumeric characters or hyphens First character
  6417. // must be a letter Cannot end with a hyphen or contain two consecutive hyphens
  6418. DBInstanceIdentifier *string `type:"string" required:"true"`
  6419. // The name of the log file to be downloaded.
  6420. LogFileName *string `type:"string" required:"true"`
  6421. // The pagination token provided in the previous request or "0". If the Marker
  6422. // parameter is specified the response includes only records beyond the marker
  6423. // until the end of the file or up to NumberOfLines.
  6424. Marker *string `type:"string"`
  6425. // The number of lines to download. If the number of lines specified results
  6426. // in a file over 1 MB in size, the file will be truncated at 1 MB in size.
  6427. //
  6428. // If the NumberOfLines parameter is specified, then the block of lines returned
  6429. // can be from the beginning or the end of the log file, depending on the value
  6430. // of the Marker parameter. If neither Marker or NumberOfLines are specified,
  6431. // the entire log file is returned.
  6432. //
  6433. // If NumberOfLines is specified and Marker is not specified, then the most
  6434. // recent lines from the end of the log file are returned.
  6435. //
  6436. // If Marker is specified as "0", then the specified number of lines from the
  6437. // beginning of the log file are returned.
  6438. //
  6439. // You can download the log file in blocks of lines by specifying the size
  6440. // of the block using the NumberOfLines parameter, and by specifying a value
  6441. // of "0" for the Marker parameter in your first request. Include the Marker
  6442. // value returned in the response as the Marker value for the next request,
  6443. // continuing until the AdditionalDataPending response element returns false.
  6444. NumberOfLines *int64 `type:"integer"`
  6445. metadataDownloadDBLogFilePortionInput `json:"-" xml:"-"`
  6446. }
  6447. type metadataDownloadDBLogFilePortionInput struct {
  6448. SDKShapeTraits bool `type:"structure"`
  6449. }
  6450. // String returns the string representation
  6451. func (s DownloadDBLogFilePortionInput) String() string {
  6452. return awsutil.Prettify(s)
  6453. }
  6454. // GoString returns the string representation
  6455. func (s DownloadDBLogFilePortionInput) GoString() string {
  6456. return s.String()
  6457. }
  6458. // This data type is used as a response element to DownloadDBLogFilePortion.
  6459. type DownloadDBLogFilePortionOutput struct {
  6460. // Boolean value that if true, indicates there is more data to be downloaded.
  6461. AdditionalDataPending *bool `type:"boolean"`
  6462. // Entries from the specified log file.
  6463. LogFileData *string `type:"string"`
  6464. // A pagination token that can be used in a subsequent DownloadDBLogFilePortion
  6465. // request.
  6466. Marker *string `type:"string"`
  6467. metadataDownloadDBLogFilePortionOutput `json:"-" xml:"-"`
  6468. }
  6469. type metadataDownloadDBLogFilePortionOutput struct {
  6470. SDKShapeTraits bool `type:"structure"`
  6471. }
  6472. // String returns the string representation
  6473. func (s DownloadDBLogFilePortionOutput) String() string {
  6474. return awsutil.Prettify(s)
  6475. }
  6476. // GoString returns the string representation
  6477. func (s DownloadDBLogFilePortionOutput) GoString() string {
  6478. return s.String()
  6479. }
  6480. // This data type is used as a response element in the following actions:
  6481. //
  6482. // AuthorizeDBSecurityGroupIngress DescribeDBSecurityGroups RevokeDBSecurityGroupIngress
  6483. type EC2SecurityGroup struct {
  6484. // Specifies the id of the EC2 security group.
  6485. EC2SecurityGroupId *string `type:"string"`
  6486. // Specifies the name of the EC2 security group.
  6487. EC2SecurityGroupName *string `type:"string"`
  6488. // Specifies the AWS ID of the owner of the EC2 security group specified in
  6489. // the EC2SecurityGroupName field.
  6490. EC2SecurityGroupOwnerId *string `type:"string"`
  6491. // Provides the status of the EC2 security group. Status can be "authorizing",
  6492. // "authorized", "revoking", and "revoked".
  6493. Status *string `type:"string"`
  6494. metadataEC2SecurityGroup `json:"-" xml:"-"`
  6495. }
  6496. type metadataEC2SecurityGroup struct {
  6497. SDKShapeTraits bool `type:"structure"`
  6498. }
  6499. // String returns the string representation
  6500. func (s EC2SecurityGroup) String() string {
  6501. return awsutil.Prettify(s)
  6502. }
  6503. // GoString returns the string representation
  6504. func (s EC2SecurityGroup) GoString() string {
  6505. return s.String()
  6506. }
  6507. // This data type is used as a response element in the following actions:
  6508. //
  6509. // CreateDBInstance DescribeDBInstances DeleteDBInstance
  6510. type Endpoint struct {
  6511. // Specifies the DNS address of the DB instance.
  6512. Address *string `type:"string"`
  6513. // Specifies the port that the database engine is listening on.
  6514. Port *int64 `type:"integer"`
  6515. metadataEndpoint `json:"-" xml:"-"`
  6516. }
  6517. type metadataEndpoint struct {
  6518. SDKShapeTraits bool `type:"structure"`
  6519. }
  6520. // String returns the string representation
  6521. func (s Endpoint) String() string {
  6522. return awsutil.Prettify(s)
  6523. }
  6524. // GoString returns the string representation
  6525. func (s Endpoint) GoString() string {
  6526. return s.String()
  6527. }
  6528. // Contains the result of a successful invocation of the DescribeEngineDefaultParameters
  6529. // action.
  6530. type EngineDefaults struct {
  6531. // Specifies the name of the DB parameter group family that the engine default
  6532. // parameters apply to.
  6533. DBParameterGroupFamily *string `type:"string"`
  6534. // An optional pagination token provided by a previous EngineDefaults request.
  6535. // If this parameter is specified, the response includes only records beyond
  6536. // the marker, up to the value specified by MaxRecords .
  6537. Marker *string `type:"string"`
  6538. // Contains a list of engine default parameters.
  6539. Parameters []*Parameter `locationNameList:"Parameter" type:"list"`
  6540. metadataEngineDefaults `json:"-" xml:"-"`
  6541. }
  6542. type metadataEngineDefaults struct {
  6543. SDKShapeTraits bool `type:"structure"`
  6544. }
  6545. // String returns the string representation
  6546. func (s EngineDefaults) String() string {
  6547. return awsutil.Prettify(s)
  6548. }
  6549. // GoString returns the string representation
  6550. func (s EngineDefaults) GoString() string {
  6551. return s.String()
  6552. }
  6553. // This data type is used as a response element in the DescribeEvents action.
  6554. type Event struct {
  6555. // Specifies the date and time of the event.
  6556. Date *time.Time `type:"timestamp" timestampFormat:"iso8601"`
  6557. // Specifies the category for the event.
  6558. EventCategories []*string `locationNameList:"EventCategory" type:"list"`
  6559. // Provides the text of this event.
  6560. Message *string `type:"string"`
  6561. // Provides the identifier for the source of the event.
  6562. SourceIdentifier *string `type:"string"`
  6563. // Specifies the source type for this event.
  6564. SourceType *string `type:"string" enum:"SourceType"`
  6565. metadataEvent `json:"-" xml:"-"`
  6566. }
  6567. type metadataEvent struct {
  6568. SDKShapeTraits bool `type:"structure"`
  6569. }
  6570. // String returns the string representation
  6571. func (s Event) String() string {
  6572. return awsutil.Prettify(s)
  6573. }
  6574. // GoString returns the string representation
  6575. func (s Event) GoString() string {
  6576. return s.String()
  6577. }
  6578. // Contains the results of a successful invocation of the DescribeEventCategories
  6579. // action.
  6580. type EventCategoriesMap struct {
  6581. // The event categories for the specified source type
  6582. EventCategories []*string `locationNameList:"EventCategory" type:"list"`
  6583. // The source type that the returned categories belong to
  6584. SourceType *string `type:"string"`
  6585. metadataEventCategoriesMap `json:"-" xml:"-"`
  6586. }
  6587. type metadataEventCategoriesMap struct {
  6588. SDKShapeTraits bool `type:"structure"`
  6589. }
  6590. // String returns the string representation
  6591. func (s EventCategoriesMap) String() string {
  6592. return awsutil.Prettify(s)
  6593. }
  6594. // GoString returns the string representation
  6595. func (s EventCategoriesMap) GoString() string {
  6596. return s.String()
  6597. }
  6598. // Contains the results of a successful invocation of the DescribeEventSubscriptions
  6599. // action.
  6600. type EventSubscription struct {
  6601. // The RDS event notification subscription Id.
  6602. CustSubscriptionId *string `type:"string"`
  6603. // The AWS customer account associated with the RDS event notification subscription.
  6604. CustomerAwsId *string `type:"string"`
  6605. // A Boolean value indicating if the subscription is enabled. True indicates
  6606. // the subscription is enabled.
  6607. Enabled *bool `type:"boolean"`
  6608. // A list of event categories for the RDS event notification subscription.
  6609. EventCategoriesList []*string `locationNameList:"EventCategory" type:"list"`
  6610. // The topic ARN of the RDS event notification subscription.
  6611. SnsTopicArn *string `type:"string"`
  6612. // A list of source IDs for the RDS event notification subscription.
  6613. SourceIdsList []*string `locationNameList:"SourceId" type:"list"`
  6614. // The source type for the RDS event notification subscription.
  6615. SourceType *string `type:"string"`
  6616. // The status of the RDS event notification subscription.
  6617. //
  6618. // Constraints:
  6619. //
  6620. // Can be one of the following: creating | modifying | deleting | active |
  6621. // no-permission | topic-not-exist
  6622. //
  6623. // The status "no-permission" indicates that RDS no longer has permission to
  6624. // post to the SNS topic. The status "topic-not-exist" indicates that the topic
  6625. // was deleted after the subscription was created.
  6626. Status *string `type:"string"`
  6627. // The time the RDS event notification subscription was created.
  6628. SubscriptionCreationTime *string `type:"string"`
  6629. metadataEventSubscription `json:"-" xml:"-"`
  6630. }
  6631. type metadataEventSubscription struct {
  6632. SDKShapeTraits bool `type:"structure"`
  6633. }
  6634. // String returns the string representation
  6635. func (s EventSubscription) String() string {
  6636. return awsutil.Prettify(s)
  6637. }
  6638. // GoString returns the string representation
  6639. func (s EventSubscription) GoString() string {
  6640. return s.String()
  6641. }
  6642. type FailoverDBClusterInput struct {
  6643. // A DB cluster identifier to force a failover for. This parameter is not case-sensitive.
  6644. //
  6645. // Constraints:
  6646. //
  6647. // Must contain from 1 to 63 alphanumeric characters or hyphens First character
  6648. // must be a letter Cannot end with a hyphen or contain two consecutive hyphens
  6649. DBClusterIdentifier *string `type:"string"`
  6650. metadataFailoverDBClusterInput `json:"-" xml:"-"`
  6651. }
  6652. type metadataFailoverDBClusterInput struct {
  6653. SDKShapeTraits bool `type:"structure"`
  6654. }
  6655. // String returns the string representation
  6656. func (s FailoverDBClusterInput) String() string {
  6657. return awsutil.Prettify(s)
  6658. }
  6659. // GoString returns the string representation
  6660. func (s FailoverDBClusterInput) GoString() string {
  6661. return s.String()
  6662. }
  6663. type FailoverDBClusterOutput struct {
  6664. // Contains the result of a successful invocation of the following actions:
  6665. //
  6666. // CreateDBCluster DeleteDBCluster FailoverDBCluster ModifyDBCluster
  6667. // RestoreDBClusterFromSnapshot This data type is used as a response element
  6668. // in the DescribeDBClusters action.
  6669. DBCluster *DBCluster `type:"structure"`
  6670. metadataFailoverDBClusterOutput `json:"-" xml:"-"`
  6671. }
  6672. type metadataFailoverDBClusterOutput struct {
  6673. SDKShapeTraits bool `type:"structure"`
  6674. }
  6675. // String returns the string representation
  6676. func (s FailoverDBClusterOutput) String() string {
  6677. return awsutil.Prettify(s)
  6678. }
  6679. // GoString returns the string representation
  6680. func (s FailoverDBClusterOutput) GoString() string {
  6681. return s.String()
  6682. }
  6683. type Filter struct {
  6684. // This parameter is not currently supported.
  6685. Name *string `type:"string" required:"true"`
  6686. // This parameter is not currently supported.
  6687. Values []*string `locationNameList:"Value" type:"list" required:"true"`
  6688. metadataFilter `json:"-" xml:"-"`
  6689. }
  6690. type metadataFilter struct {
  6691. SDKShapeTraits bool `type:"structure"`
  6692. }
  6693. // String returns the string representation
  6694. func (s Filter) String() string {
  6695. return awsutil.Prettify(s)
  6696. }
  6697. // GoString returns the string representation
  6698. func (s Filter) GoString() string {
  6699. return s.String()
  6700. }
  6701. // This data type is used as a response element in the DescribeDBSecurityGroups
  6702. // action.
  6703. type IPRange struct {
  6704. // Specifies the IP range.
  6705. CIDRIP *string `type:"string"`
  6706. // Specifies the status of the IP range. Status can be "authorizing", "authorized",
  6707. // "revoking", and "revoked".
  6708. Status *string `type:"string"`
  6709. metadataIPRange `json:"-" xml:"-"`
  6710. }
  6711. type metadataIPRange struct {
  6712. SDKShapeTraits bool `type:"structure"`
  6713. }
  6714. // String returns the string representation
  6715. func (s IPRange) String() string {
  6716. return awsutil.Prettify(s)
  6717. }
  6718. // GoString returns the string representation
  6719. func (s IPRange) GoString() string {
  6720. return s.String()
  6721. }
  6722. type ListTagsForResourceInput struct {
  6723. // This parameter is not currently supported.
  6724. Filters []*Filter `locationNameList:"Filter" type:"list"`
  6725. // The Amazon RDS resource with tags to be listed. This value is an Amazon Resource
  6726. // Name (ARN). For information about creating an ARN, see Constructing an RDS
  6727. // Amazon Resource Name (ARN) (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html#USER_Tagging.ARN).
  6728. ResourceName *string `type:"string" required:"true"`
  6729. metadataListTagsForResourceInput `json:"-" xml:"-"`
  6730. }
  6731. type metadataListTagsForResourceInput struct {
  6732. SDKShapeTraits bool `type:"structure"`
  6733. }
  6734. // String returns the string representation
  6735. func (s ListTagsForResourceInput) String() string {
  6736. return awsutil.Prettify(s)
  6737. }
  6738. // GoString returns the string representation
  6739. func (s ListTagsForResourceInput) GoString() string {
  6740. return s.String()
  6741. }
  6742. type ListTagsForResourceOutput struct {
  6743. // List of tags returned by the ListTagsForResource operation.
  6744. TagList []*Tag `locationNameList:"Tag" type:"list"`
  6745. metadataListTagsForResourceOutput `json:"-" xml:"-"`
  6746. }
  6747. type metadataListTagsForResourceOutput struct {
  6748. SDKShapeTraits bool `type:"structure"`
  6749. }
  6750. // String returns the string representation
  6751. func (s ListTagsForResourceOutput) String() string {
  6752. return awsutil.Prettify(s)
  6753. }
  6754. // GoString returns the string representation
  6755. func (s ListTagsForResourceOutput) GoString() string {
  6756. return s.String()
  6757. }
  6758. type ModifyDBClusterInput struct {
  6759. // A value that specifies whether the modifications in this request and any
  6760. // pending modifications are asynchronously applied as soon as possible, regardless
  6761. // of the PreferredMaintenanceWindow setting for the DB cluster.
  6762. //
  6763. // If this parameter is set to false, changes to the DB cluster are applied
  6764. // during the next maintenance window.
  6765. //
  6766. // Default: false
  6767. ApplyImmediately *bool `type:"boolean"`
  6768. // The number of days for which automated backups are retained. Setting this
  6769. // parameter to a positive number enables backups. Setting this parameter to
  6770. // 0 disables automated backups.
  6771. //
  6772. // Default: 1
  6773. //
  6774. // Constraints:
  6775. //
  6776. // Must be a value from 0 to 35
  6777. BackupRetentionPeriod *int64 `type:"integer"`
  6778. // The DB cluster identifier for the cluster being modified. This parameter
  6779. // is not case-sensitive.
  6780. //
  6781. // Constraints:
  6782. //
  6783. // Must be the identifier for an existing DB cluster. Must contain from 1
  6784. // to 63 alphanumeric characters or hyphens. First character must be a letter.
  6785. // Cannot end with a hyphen or contain two consecutive hyphens.
  6786. DBClusterIdentifier *string `type:"string"`
  6787. // The name of the DB cluster parameter group to use for the DB cluster.
  6788. DBClusterParameterGroupName *string `type:"string"`
  6789. // The new password for the master database user. This password can contain
  6790. // any printable ASCII character except "/", """, or "@".
  6791. //
  6792. // Constraints: Must contain from 8 to 41 characters.
  6793. MasterUserPassword *string `type:"string"`
  6794. // The new DB cluster identifier for the DB cluster when renaming a DB cluster.
  6795. // This value is stored as a lowercase string.
  6796. //
  6797. // Constraints:
  6798. //
  6799. // Must contain from 1 to 63 alphanumeric characters or hyphens First character
  6800. // must be a letter Cannot end with a hyphen or contain two consecutive hyphens
  6801. // Example: my-cluster2
  6802. NewDBClusterIdentifier *string `type:"string"`
  6803. // A value that indicates that the DB cluster should be associated with the
  6804. // specified option group. Changing this parameter does not result in an outage
  6805. // except in the following case, and the change is applied during the next maintenance
  6806. // window unless the ApplyImmediately parameter is set to true for this request.
  6807. // If the parameter change results in an option group that enables OEM, this
  6808. // change can cause a brief (sub-second) period during which new connections
  6809. // are rejected but existing connections are not interrupted.
  6810. //
  6811. // Permanent options cannot be removed from an option group. The option group
  6812. // cannot be removed from a DB cluster once it is associated with a DB cluster.
  6813. OptionGroupName *string `type:"string"`
  6814. // The port number on which the DB cluster accepts connections.
  6815. //
  6816. // Constraints: Value must be 1150-65535
  6817. //
  6818. // Default: The same port as the original DB cluster.
  6819. Port *int64 `type:"integer"`
  6820. // The daily time range during which automated backups are created if automated
  6821. // backups are enabled, using the BackupRetentionPeriod parameter.
  6822. //
  6823. // Default: A 30-minute window selected at random from an 8-hour block of time
  6824. // per region. To see the time blocks available, see Adjusting the Preferred
  6825. // Maintenance Window (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/AdjustingTheMaintenanceWindow.html)
  6826. // in the Amazon RDS User Guide.
  6827. //
  6828. // Constraints:
  6829. //
  6830. // Must be in the format hh24:mi-hh24:mi. Times should be in Universal Coordinated
  6831. // Time (UTC). Must not conflict with the preferred maintenance window. Must
  6832. // be at least 30 minutes.
  6833. PreferredBackupWindow *string `type:"string"`
  6834. // The weekly time range during which system maintenance can occur, in Universal
  6835. // Coordinated Time (UTC).
  6836. //
  6837. // Format: ddd:hh24:mi-ddd:hh24:mi
  6838. //
  6839. // Default: A 30-minute window selected at random from an 8-hour block of time
  6840. // per region, occurring on a random day of the week. To see the time blocks
  6841. // available, see Adjusting the Preferred Maintenance Window (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/AdjustingTheMaintenanceWindow.html)
  6842. // in the Amazon RDS User Guide.
  6843. //
  6844. // Valid Days: Mon, Tue, Wed, Thu, Fri, Sat, Sun
  6845. //
  6846. // Constraints: Minimum 30-minute window.
  6847. PreferredMaintenanceWindow *string `type:"string"`
  6848. // A lst of VPC security groups that the DB cluster will belong to.
  6849. VpcSecurityGroupIds []*string `locationNameList:"VpcSecurityGroupId" type:"list"`
  6850. metadataModifyDBClusterInput `json:"-" xml:"-"`
  6851. }
  6852. type metadataModifyDBClusterInput struct {
  6853. SDKShapeTraits bool `type:"structure"`
  6854. }
  6855. // String returns the string representation
  6856. func (s ModifyDBClusterInput) String() string {
  6857. return awsutil.Prettify(s)
  6858. }
  6859. // GoString returns the string representation
  6860. func (s ModifyDBClusterInput) GoString() string {
  6861. return s.String()
  6862. }
  6863. type ModifyDBClusterOutput struct {
  6864. // Contains the result of a successful invocation of the following actions:
  6865. //
  6866. // CreateDBCluster DeleteDBCluster FailoverDBCluster ModifyDBCluster
  6867. // RestoreDBClusterFromSnapshot This data type is used as a response element
  6868. // in the DescribeDBClusters action.
  6869. DBCluster *DBCluster `type:"structure"`
  6870. metadataModifyDBClusterOutput `json:"-" xml:"-"`
  6871. }
  6872. type metadataModifyDBClusterOutput struct {
  6873. SDKShapeTraits bool `type:"structure"`
  6874. }
  6875. // String returns the string representation
  6876. func (s ModifyDBClusterOutput) String() string {
  6877. return awsutil.Prettify(s)
  6878. }
  6879. // GoString returns the string representation
  6880. func (s ModifyDBClusterOutput) GoString() string {
  6881. return s.String()
  6882. }
  6883. type ModifyDBClusterParameterGroupInput struct {
  6884. // The name of the DB cluster parameter group to modify.
  6885. DBClusterParameterGroupName *string `type:"string" required:"true"`
  6886. // A list of parameters in the DB cluster parameter group to modify.
  6887. Parameters []*Parameter `locationNameList:"Parameter" type:"list" required:"true"`
  6888. metadataModifyDBClusterParameterGroupInput `json:"-" xml:"-"`
  6889. }
  6890. type metadataModifyDBClusterParameterGroupInput struct {
  6891. SDKShapeTraits bool `type:"structure"`
  6892. }
  6893. // String returns the string representation
  6894. func (s ModifyDBClusterParameterGroupInput) String() string {
  6895. return awsutil.Prettify(s)
  6896. }
  6897. // GoString returns the string representation
  6898. func (s ModifyDBClusterParameterGroupInput) GoString() string {
  6899. return s.String()
  6900. }
  6901. type ModifyDBInstanceInput struct {
  6902. // The new storage capacity of the RDS instance. Changing this setting does
  6903. // not result in an outage and the change is applied during the next maintenance
  6904. // window unless ApplyImmediately is set to true for this request.
  6905. //
  6906. // MySQL
  6907. //
  6908. // Default: Uses existing setting
  6909. //
  6910. // Valid Values: 5-6144
  6911. //
  6912. // Constraints: Value supplied must be at least 10% greater than the current
  6913. // value. Values that are not at least 10% greater than the existing value are
  6914. // rounded up so that they are 10% greater than the current value.
  6915. //
  6916. // Type: Integer
  6917. //
  6918. // PostgreSQL
  6919. //
  6920. // Default: Uses existing setting
  6921. //
  6922. // Valid Values: 5-6144
  6923. //
  6924. // Constraints: Value supplied must be at least 10% greater than the current
  6925. // value. Values that are not at least 10% greater than the existing value are
  6926. // rounded up so that they are 10% greater than the current value.
  6927. //
  6928. // Type: Integer
  6929. //
  6930. // Oracle
  6931. //
  6932. // Default: Uses existing setting
  6933. //
  6934. // Valid Values: 10-6144
  6935. //
  6936. // Constraints: Value supplied must be at least 10% greater than the current
  6937. // value. Values that are not at least 10% greater than the existing value are
  6938. // rounded up so that they are 10% greater than the current value.
  6939. //
  6940. // SQL Server
  6941. //
  6942. // Cannot be modified.
  6943. //
  6944. // If you choose to migrate your DB instance from using standard storage to
  6945. // using Provisioned IOPS, or from using Provisioned IOPS to using standard
  6946. // storage, the process can take time. The duration of the migration depends
  6947. // on several factors such as database load, storage size, storage type (standard
  6948. // or Provisioned IOPS), amount of IOPS provisioned (if any), and the number
  6949. // of prior scale storage operations. Typical migration times are under 24 hours,
  6950. // but the process can take up to several days in some cases. During the migration,
  6951. // the DB instance will be available for use, but might experience performance
  6952. // degradation. While the migration takes place, nightly backups for the instance
  6953. // will be suspended. No other Amazon RDS operations can take place for the
  6954. // instance, including modifying the instance, rebooting the instance, deleting
  6955. // the instance, creating a Read Replica for the instance, and creating a DB
  6956. // snapshot of the instance.
  6957. AllocatedStorage *int64 `type:"integer"`
  6958. // Indicates that major version upgrades are allowed. Changing this parameter
  6959. // does not result in an outage and the change is asynchronously applied as
  6960. // soon as possible.
  6961. //
  6962. // Constraints: This parameter must be set to true when specifying a value
  6963. // for the EngineVersion parameter that is a different major version than the
  6964. // DB instance's current version.
  6965. AllowMajorVersionUpgrade *bool `type:"boolean"`
  6966. // Specifies whether the modifications in this request and any pending modifications
  6967. // are asynchronously applied as soon as possible, regardless of the PreferredMaintenanceWindow
  6968. // setting for the DB instance.
  6969. //
  6970. // If this parameter is set to false, changes to the DB instance are applied
  6971. // during the next maintenance window. Some parameter changes can cause an outage
  6972. // and will be applied on the next call to RebootDBInstance, or the next failure
  6973. // reboot. Review the table of parameters in Modifying a DB Instance and Using
  6974. // the Apply Immediately Parameter (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Overview.DBInstance.html#Overview.DBInstance.Modifying)
  6975. // to see the impact that setting ApplyImmediately to true or false has for
  6976. // each modified parameter and to determine when the changes will be applied.
  6977. //
  6978. // Default: false
  6979. ApplyImmediately *bool `type:"boolean"`
  6980. // Indicates that minor version upgrades will be applied automatically to the
  6981. // DB instance during the maintenance window. Changing this parameter does not
  6982. // result in an outage except in the following case and the change is asynchronously
  6983. // applied as soon as possible. An outage will result if this parameter is set
  6984. // to true during the maintenance window, and a newer minor version is available,
  6985. // and RDS has enabled auto patching for that engine version.
  6986. AutoMinorVersionUpgrade *bool `type:"boolean"`
  6987. // The number of days to retain automated backups. Setting this parameter to
  6988. // a positive number enables backups. Setting this parameter to 0 disables automated
  6989. // backups.
  6990. //
  6991. // Changing this parameter can result in an outage if you change from 0 to
  6992. // a non-zero value or from a non-zero value to 0. These changes are applied
  6993. // during the next maintenance window unless the ApplyImmediately parameter
  6994. // is set to true for this request. If you change the parameter from one non-zero
  6995. // value to another non-zero value, the change is asynchronously applied as
  6996. // soon as possible.
  6997. //
  6998. // Default: Uses existing setting
  6999. //
  7000. // Constraints:
  7001. //
  7002. // Must be a value from 0 to 35 Can be specified for a MySQL Read Replica
  7003. // only if the source is running MySQL 5.6 Can be specified for a PostgreSQL
  7004. // Read Replica only if the source is running PostgreSQL 9.3.5 Cannot be set
  7005. // to 0 if the DB instance is a source to Read Replicas
  7006. BackupRetentionPeriod *int64 `type:"integer"`
  7007. // Indicates the certificate that needs to be associated with the instance.
  7008. CACertificateIdentifier *string `type:"string"`
  7009. // The new compute and memory capacity of the DB instance. To determine the
  7010. // instance classes that are available for a particular DB engine, use the DescribeOrderableDBInstanceOptions
  7011. // action.
  7012. //
  7013. // Passing a value for this setting causes an outage during the change and
  7014. // is applied during the next maintenance window, unless ApplyImmediately is
  7015. // specified as true for this request.
  7016. //
  7017. // Default: Uses existing setting
  7018. //
  7019. // Valid Values: db.t1.micro | db.m1.small | db.m1.medium | db.m1.large | db.m1.xlarge
  7020. // | db.m2.xlarge | db.m2.2xlarge | db.m2.4xlarge | db.m3.medium | db.m3.large
  7021. // | db.m3.xlarge | db.m3.2xlarge | db.r3.large | db.r3.xlarge | db.r3.2xlarge
  7022. // | db.r3.4xlarge | db.r3.8xlarge | db.t2.micro | db.t2.small | db.t2.medium
  7023. DBInstanceClass *string `type:"string"`
  7024. // The DB instance identifier. This value is stored as a lowercase string.
  7025. //
  7026. // Constraints:
  7027. //
  7028. // Must be the identifier for an existing DB instance Must contain from 1
  7029. // to 63 alphanumeric characters or hyphens First character must be a letter
  7030. // Cannot end with a hyphen or contain two consecutive hyphens
  7031. DBInstanceIdentifier *string `type:"string" required:"true"`
  7032. // The name of the DB parameter group to apply to the DB instance. Changing
  7033. // this setting does not result in an outage. The parameter group name itself
  7034. // is changed immediately, but the actual parameter changes are not applied
  7035. // until you reboot the instance without failover. The db instance will NOT
  7036. // be rebooted automatically and the parameter changes will NOT be applied during
  7037. // the next maintenance window.
  7038. //
  7039. // Default: Uses existing setting
  7040. //
  7041. // Constraints: The DB parameter group must be in the same DB parameter group
  7042. // family as this DB instance.
  7043. DBParameterGroupName *string `type:"string"`
  7044. // A list of DB security groups to authorize on this DB instance. Changing this
  7045. // setting does not result in an outage and the change is asynchronously applied
  7046. // as soon as possible.
  7047. //
  7048. // Constraints:
  7049. //
  7050. // Must be 1 to 255 alphanumeric characters First character must be a letter
  7051. // Cannot end with a hyphen or contain two consecutive hyphens
  7052. DBSecurityGroups []*string `locationNameList:"DBSecurityGroupName" type:"list"`
  7053. // The version number of the database engine to upgrade to. Changing this parameter
  7054. // results in an outage and the change is applied during the next maintenance
  7055. // window unless the ApplyImmediately parameter is set to true for this request.
  7056. //
  7057. // For major version upgrades, if a non-default DB parameter group is currently
  7058. // in use, a new DB parameter group in the DB parameter group family for the
  7059. // new engine version must be specified. The new DB parameter group can be the
  7060. // default for that DB parameter group family.
  7061. //
  7062. // For a list of valid engine versions, see CreateDBInstance.
  7063. EngineVersion *string `type:"string"`
  7064. // The new Provisioned IOPS (I/O operations per second) value for the RDS instance.
  7065. // Changing this setting does not result in an outage and the change is applied
  7066. // during the next maintenance window unless the ApplyImmediately parameter
  7067. // is set to true for this request.
  7068. //
  7069. // Default: Uses existing setting
  7070. //
  7071. // Constraints: Value supplied must be at least 10% greater than the current
  7072. // value. Values that are not at least 10% greater than the existing value are
  7073. // rounded up so that they are 10% greater than the current value. If you are
  7074. // migrating from Provisioned IOPS to standard storage, set this value to 0.
  7075. // The DB instance will require a reboot for the change in storage type to take
  7076. // effect.
  7077. //
  7078. // SQL Server
  7079. //
  7080. // Setting the IOPS value for the SQL Server database engine is not supported.
  7081. //
  7082. // Type: Integer
  7083. //
  7084. // If you choose to migrate your DB instance from using standard storage to
  7085. // using Provisioned IOPS, or from using Provisioned IOPS to using standard
  7086. // storage, the process can take time. The duration of the migration depends
  7087. // on several factors such as database load, storage size, storage type (standard
  7088. // or Provisioned IOPS), amount of IOPS provisioned (if any), and the number
  7089. // of prior scale storage operations. Typical migration times are under 24 hours,
  7090. // but the process can take up to several days in some cases. During the migration,
  7091. // the DB instance will be available for use, but might experience performance
  7092. // degradation. While the migration takes place, nightly backups for the instance
  7093. // will be suspended. No other Amazon RDS operations can take place for the
  7094. // instance, including modifying the instance, rebooting the instance, deleting
  7095. // the instance, creating a Read Replica for the instance, and creating a DB
  7096. // snapshot of the instance.
  7097. Iops *int64 `type:"integer"`
  7098. // The new password for the DB instance master user. Can be any printable ASCII
  7099. // character except "/", """, or "@".
  7100. //
  7101. // Changing this parameter does not result in an outage and the change is
  7102. // asynchronously applied as soon as possible. Between the time of the request
  7103. // and the completion of the request, the MasterUserPassword element exists
  7104. // in the PendingModifiedValues element of the operation response.
  7105. //
  7106. // Default: Uses existing setting
  7107. //
  7108. // Constraints: Must be 8 to 41 alphanumeric characters (MySQL), 8 to 30 alphanumeric
  7109. // characters (Oracle), or 8 to 128 alphanumeric characters (SQL Server).
  7110. //
  7111. // Amazon RDS API actions never return the password, so this action provides
  7112. // a way to regain access to a primary instance user if the password is lost.
  7113. // This includes restoring privileges that might have been accidentally revoked.
  7114. MasterUserPassword *string `type:"string"`
  7115. // Specifies if the DB instance is a Multi-AZ deployment. Changing this parameter
  7116. // does not result in an outage and the change is applied during the next maintenance
  7117. // window unless the ApplyImmediately parameter is set to true for this request.
  7118. //
  7119. // Constraints: Cannot be specified if the DB instance is a Read Replica. This
  7120. // parameter cannot be used with SQL Server DB instances. Multi-AZ for SQL Server
  7121. // DB instances is set using the Mirroring option in an option group associated
  7122. // with the DB instance.
  7123. MultiAZ *bool `type:"boolean"`
  7124. // The new DB instance identifier for the DB instance when renaming a DB instance.
  7125. // When you change the DB instance identifier, an instance reboot will occur
  7126. // immediately if you set Apply Immediately to true, or will occur during the
  7127. // next maintenance window if Apply Immediately to false. This value is stored
  7128. // as a lowercase string.
  7129. //
  7130. // Constraints:
  7131. //
  7132. // Must contain from 1 to 63 alphanumeric characters or hyphens First character
  7133. // must be a letter Cannot end with a hyphen or contain two consecutive hyphens
  7134. NewDBInstanceIdentifier *string `type:"string"`
  7135. // Indicates that the DB instance should be associated with the specified option
  7136. // group. Changing this parameter does not result in an outage except in the
  7137. // following case and the change is applied during the next maintenance window
  7138. // unless the ApplyImmediately parameter is set to true for this request. If
  7139. // the parameter change results in an option group that enables OEM, this change
  7140. // can cause a brief (sub-second) period during which new connections are rejected
  7141. // but existing connections are not interrupted.
  7142. //
  7143. // Permanent options, such as the TDE option for Oracle Advanced Security
  7144. // TDE, cannot be removed from an option group, and that option group cannot
  7145. // be removed from a DB instance once it is associated with a DB instance
  7146. OptionGroupName *string `type:"string"`
  7147. // The daily time range during which automated backups are created if automated
  7148. // backups are enabled, as determined by the BackupRetentionPeriod parameter.
  7149. // Changing this parameter does not result in an outage and the change is asynchronously
  7150. // applied as soon as possible.
  7151. //
  7152. // Constraints:
  7153. //
  7154. // Must be in the format hh24:mi-hh24:mi Times should be in Universal Time
  7155. // Coordinated (UTC) Must not conflict with the preferred maintenance window
  7156. // Must be at least 30 minutes
  7157. PreferredBackupWindow *string `type:"string"`
  7158. // The weekly time range (in UTC) during which system maintenance can occur,
  7159. // which might result in an outage. Changing this parameter does not result
  7160. // in an outage, except in the following situation, and the change is asynchronously
  7161. // applied as soon as possible. If there are pending actions that cause a reboot,
  7162. // and the maintenance window is changed to include the current time, then changing
  7163. // this parameter will cause a reboot of the DB instance. If moving this window
  7164. // to the current time, there must be at least 30 minutes between the current
  7165. // time and end of the window to ensure pending changes are applied.
  7166. //
  7167. // Default: Uses existing setting
  7168. //
  7169. // Format: ddd:hh24:mi-ddd:hh24:mi
  7170. //
  7171. // Valid Days: Mon | Tue | Wed | Thu | Fri | Sat | Sun
  7172. //
  7173. // Constraints: Must be at least 30 minutes
  7174. PreferredMaintenanceWindow *string `type:"string"`
  7175. // Specifies the storage type to be associated with the DB instance.
  7176. //
  7177. // Valid values: standard | gp2 | io1
  7178. //
  7179. // If you specify io1, you must also include a value for the Iops parameter.
  7180. //
  7181. // Default: io1 if the Iops parameter is specified; otherwise standard
  7182. StorageType *string `type:"string"`
  7183. // The ARN from the Key Store with which to associate the instance for TDE encryption.
  7184. TdeCredentialArn *string `type:"string"`
  7185. // The password for the given ARN from the Key Store in order to access the
  7186. // device.
  7187. TdeCredentialPassword *string `type:"string"`
  7188. // A list of EC2 VPC security groups to authorize on this DB instance. This
  7189. // change is asynchronously applied as soon as possible.
  7190. //
  7191. // Constraints:
  7192. //
  7193. // Must be 1 to 255 alphanumeric characters First character must be a letter
  7194. // Cannot end with a hyphen or contain two consecutive hyphens
  7195. VpcSecurityGroupIds []*string `locationNameList:"VpcSecurityGroupId" type:"list"`
  7196. metadataModifyDBInstanceInput `json:"-" xml:"-"`
  7197. }
  7198. type metadataModifyDBInstanceInput struct {
  7199. SDKShapeTraits bool `type:"structure"`
  7200. }
  7201. // String returns the string representation
  7202. func (s ModifyDBInstanceInput) String() string {
  7203. return awsutil.Prettify(s)
  7204. }
  7205. // GoString returns the string representation
  7206. func (s ModifyDBInstanceInput) GoString() string {
  7207. return s.String()
  7208. }
  7209. type ModifyDBInstanceOutput struct {
  7210. // Contains the result of a successful invocation of the following actions:
  7211. //
  7212. // CreateDBInstance DeleteDBInstance ModifyDBInstance This data type
  7213. // is used as a response element in the DescribeDBInstances action.
  7214. DBInstance *DBInstance `type:"structure"`
  7215. metadataModifyDBInstanceOutput `json:"-" xml:"-"`
  7216. }
  7217. type metadataModifyDBInstanceOutput struct {
  7218. SDKShapeTraits bool `type:"structure"`
  7219. }
  7220. // String returns the string representation
  7221. func (s ModifyDBInstanceOutput) String() string {
  7222. return awsutil.Prettify(s)
  7223. }
  7224. // GoString returns the string representation
  7225. func (s ModifyDBInstanceOutput) GoString() string {
  7226. return s.String()
  7227. }
  7228. type ModifyDBParameterGroupInput struct {
  7229. // The name of the DB parameter group.
  7230. //
  7231. // Constraints:
  7232. //
  7233. // Must be the name of an existing DB parameter group Must be 1 to 255 alphanumeric
  7234. // characters First character must be a letter Cannot end with a hyphen or contain
  7235. // two consecutive hyphens
  7236. DBParameterGroupName *string `type:"string" required:"true"`
  7237. // An array of parameter names, values, and the apply method for the parameter
  7238. // update. At least one parameter name, value, and apply method must be supplied;
  7239. // subsequent arguments are optional. A maximum of 20 parameters can be modified
  7240. // in a single request.
  7241. //
  7242. // Valid Values (for the application method): immediate | pending-reboot
  7243. //
  7244. // You can use the immediate value with dynamic parameters only. You can use
  7245. // the pending-reboot value for both dynamic and static parameters, and changes
  7246. // are applied when you reboot the DB instance without failover.
  7247. Parameters []*Parameter `locationNameList:"Parameter" type:"list" required:"true"`
  7248. metadataModifyDBParameterGroupInput `json:"-" xml:"-"`
  7249. }
  7250. type metadataModifyDBParameterGroupInput struct {
  7251. SDKShapeTraits bool `type:"structure"`
  7252. }
  7253. // String returns the string representation
  7254. func (s ModifyDBParameterGroupInput) String() string {
  7255. return awsutil.Prettify(s)
  7256. }
  7257. // GoString returns the string representation
  7258. func (s ModifyDBParameterGroupInput) GoString() string {
  7259. return s.String()
  7260. }
  7261. type ModifyDBSubnetGroupInput struct {
  7262. // The description for the DB subnet group.
  7263. DBSubnetGroupDescription *string `type:"string"`
  7264. // The name for the DB subnet group. This value is stored as a lowercase string.
  7265. //
  7266. // Constraints: Must contain no more than 255 alphanumeric characters or hyphens.
  7267. // Must not be "Default".
  7268. //
  7269. // Example: mySubnetgroup
  7270. DBSubnetGroupName *string `type:"string" required:"true"`
  7271. // The EC2 subnet IDs for the DB subnet group.
  7272. SubnetIds []*string `locationNameList:"SubnetIdentifier" type:"list" required:"true"`
  7273. metadataModifyDBSubnetGroupInput `json:"-" xml:"-"`
  7274. }
  7275. type metadataModifyDBSubnetGroupInput struct {
  7276. SDKShapeTraits bool `type:"structure"`
  7277. }
  7278. // String returns the string representation
  7279. func (s ModifyDBSubnetGroupInput) String() string {
  7280. return awsutil.Prettify(s)
  7281. }
  7282. // GoString returns the string representation
  7283. func (s ModifyDBSubnetGroupInput) GoString() string {
  7284. return s.String()
  7285. }
  7286. type ModifyDBSubnetGroupOutput struct {
  7287. // Contains the result of a successful invocation of the following actions:
  7288. //
  7289. // CreateDBSubnetGroup ModifyDBSubnetGroup DescribeDBSubnetGroups DeleteDBSubnetGroup
  7290. // This data type is used as a response element in the DescribeDBSubnetGroups
  7291. // action.
  7292. DBSubnetGroup *DBSubnetGroup `type:"structure"`
  7293. metadataModifyDBSubnetGroupOutput `json:"-" xml:"-"`
  7294. }
  7295. type metadataModifyDBSubnetGroupOutput struct {
  7296. SDKShapeTraits bool `type:"structure"`
  7297. }
  7298. // String returns the string representation
  7299. func (s ModifyDBSubnetGroupOutput) String() string {
  7300. return awsutil.Prettify(s)
  7301. }
  7302. // GoString returns the string representation
  7303. func (s ModifyDBSubnetGroupOutput) GoString() string {
  7304. return s.String()
  7305. }
  7306. type ModifyEventSubscriptionInput struct {
  7307. // A Boolean value; set to true to activate the subscription.
  7308. Enabled *bool `type:"boolean"`
  7309. // A list of event categories for a SourceType that you want to subscribe to.
  7310. // You can see a list of the categories for a given SourceType in the Events
  7311. // (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Events.html)
  7312. // topic in the Amazon RDS User Guide or by using the DescribeEventCategories
  7313. // action.
  7314. EventCategories []*string `locationNameList:"EventCategory" type:"list"`
  7315. // The Amazon Resource Name (ARN) of the SNS topic created for event notification.
  7316. // The ARN is created by Amazon SNS when you create a topic and subscribe to
  7317. // it.
  7318. SnsTopicArn *string `type:"string"`
  7319. // The type of source that will be generating the events. For example, if you
  7320. // want to be notified of events generated by a DB instance, you would set this
  7321. // parameter to db-instance. if this value is not specified, all events are
  7322. // returned.
  7323. //
  7324. // Valid values: db-instance | db-parameter-group | db-security-group | db-snapshot
  7325. SourceType *string `type:"string"`
  7326. // The name of the RDS event notification subscription.
  7327. SubscriptionName *string `type:"string" required:"true"`
  7328. metadataModifyEventSubscriptionInput `json:"-" xml:"-"`
  7329. }
  7330. type metadataModifyEventSubscriptionInput struct {
  7331. SDKShapeTraits bool `type:"structure"`
  7332. }
  7333. // String returns the string representation
  7334. func (s ModifyEventSubscriptionInput) String() string {
  7335. return awsutil.Prettify(s)
  7336. }
  7337. // GoString returns the string representation
  7338. func (s ModifyEventSubscriptionInput) GoString() string {
  7339. return s.String()
  7340. }
  7341. type ModifyEventSubscriptionOutput struct {
  7342. // Contains the results of a successful invocation of the DescribeEventSubscriptions
  7343. // action.
  7344. EventSubscription *EventSubscription `type:"structure"`
  7345. metadataModifyEventSubscriptionOutput `json:"-" xml:"-"`
  7346. }
  7347. type metadataModifyEventSubscriptionOutput struct {
  7348. SDKShapeTraits bool `type:"structure"`
  7349. }
  7350. // String returns the string representation
  7351. func (s ModifyEventSubscriptionOutput) String() string {
  7352. return awsutil.Prettify(s)
  7353. }
  7354. // GoString returns the string representation
  7355. func (s ModifyEventSubscriptionOutput) GoString() string {
  7356. return s.String()
  7357. }
  7358. type ModifyOptionGroupInput struct {
  7359. // Indicates whether the changes should be applied immediately, or during the
  7360. // next maintenance window for each instance associated with the option group.
  7361. ApplyImmediately *bool `type:"boolean"`
  7362. // The name of the option group to be modified.
  7363. //
  7364. // Permanent options, such as the TDE option for Oracle Advanced Security
  7365. // TDE, cannot be removed from an option group, and that option group cannot
  7366. // be removed from a DB instance once it is associated with a DB instance
  7367. OptionGroupName *string `type:"string" required:"true"`
  7368. // Options in this list are added to the option group or, if already present,
  7369. // the specified configuration is used to update the existing configuration.
  7370. OptionsToInclude []*OptionConfiguration `locationNameList:"OptionConfiguration" type:"list"`
  7371. // Options in this list are removed from the option group.
  7372. OptionsToRemove []*string `type:"list"`
  7373. metadataModifyOptionGroupInput `json:"-" xml:"-"`
  7374. }
  7375. type metadataModifyOptionGroupInput struct {
  7376. SDKShapeTraits bool `type:"structure"`
  7377. }
  7378. // String returns the string representation
  7379. func (s ModifyOptionGroupInput) String() string {
  7380. return awsutil.Prettify(s)
  7381. }
  7382. // GoString returns the string representation
  7383. func (s ModifyOptionGroupInput) GoString() string {
  7384. return s.String()
  7385. }
  7386. type ModifyOptionGroupOutput struct {
  7387. OptionGroup *OptionGroup `type:"structure"`
  7388. metadataModifyOptionGroupOutput `json:"-" xml:"-"`
  7389. }
  7390. type metadataModifyOptionGroupOutput struct {
  7391. SDKShapeTraits bool `type:"structure"`
  7392. }
  7393. // String returns the string representation
  7394. func (s ModifyOptionGroupOutput) String() string {
  7395. return awsutil.Prettify(s)
  7396. }
  7397. // GoString returns the string representation
  7398. func (s ModifyOptionGroupOutput) GoString() string {
  7399. return s.String()
  7400. }
  7401. // Option details.
  7402. type Option struct {
  7403. // If the option requires access to a port, then this DB security group allows
  7404. // access to the port.
  7405. DBSecurityGroupMemberships []*DBSecurityGroupMembership `locationNameList:"DBSecurityGroup" type:"list"`
  7406. // The description of the option.
  7407. OptionDescription *string `type:"string"`
  7408. // The name of the option.
  7409. OptionName *string `type:"string"`
  7410. // The option settings for this option.
  7411. OptionSettings []*OptionSetting `locationNameList:"OptionSetting" type:"list"`
  7412. // Indicate if this option is permanent.
  7413. Permanent *bool `type:"boolean"`
  7414. // Indicate if this option is persistent.
  7415. Persistent *bool `type:"boolean"`
  7416. // If required, the port configured for this option to use.
  7417. Port *int64 `type:"integer"`
  7418. // If the option requires access to a port, then this VPC security group allows
  7419. // access to the port.
  7420. VpcSecurityGroupMemberships []*VpcSecurityGroupMembership `locationNameList:"VpcSecurityGroupMembership" type:"list"`
  7421. metadataOption `json:"-" xml:"-"`
  7422. }
  7423. type metadataOption struct {
  7424. SDKShapeTraits bool `type:"structure"`
  7425. }
  7426. // String returns the string representation
  7427. func (s Option) String() string {
  7428. return awsutil.Prettify(s)
  7429. }
  7430. // GoString returns the string representation
  7431. func (s Option) GoString() string {
  7432. return s.String()
  7433. }
  7434. // A list of all available options
  7435. type OptionConfiguration struct {
  7436. // A list of DBSecurityGroupMemebrship name strings used for this option.
  7437. DBSecurityGroupMemberships []*string `locationNameList:"DBSecurityGroupName" type:"list"`
  7438. // The configuration of options to include in a group.
  7439. OptionName *string `type:"string" required:"true"`
  7440. // The option settings to include in an option group.
  7441. OptionSettings []*OptionSetting `locationNameList:"OptionSetting" type:"list"`
  7442. // The optional port for the option.
  7443. Port *int64 `type:"integer"`
  7444. // A list of VpcSecurityGroupMemebrship name strings used for this option.
  7445. VpcSecurityGroupMemberships []*string `locationNameList:"VpcSecurityGroupId" type:"list"`
  7446. metadataOptionConfiguration `json:"-" xml:"-"`
  7447. }
  7448. type metadataOptionConfiguration struct {
  7449. SDKShapeTraits bool `type:"structure"`
  7450. }
  7451. // String returns the string representation
  7452. func (s OptionConfiguration) String() string {
  7453. return awsutil.Prettify(s)
  7454. }
  7455. // GoString returns the string representation
  7456. func (s OptionConfiguration) GoString() string {
  7457. return s.String()
  7458. }
  7459. type OptionGroup struct {
  7460. // Indicates whether this option group can be applied to both VPC and non-VPC
  7461. // instances. The value true indicates the option group can be applied to both
  7462. // VPC and non-VPC instances.
  7463. AllowsVpcAndNonVpcInstanceMemberships *bool `type:"boolean"`
  7464. // Indicates the name of the engine that this option group can be applied to.
  7465. EngineName *string `type:"string"`
  7466. // Indicates the major engine version associated with this option group.
  7467. MajorEngineVersion *string `type:"string"`
  7468. // Provides a description of the option group.
  7469. OptionGroupDescription *string `type:"string"`
  7470. // Specifies the name of the option group.
  7471. OptionGroupName *string `type:"string"`
  7472. // Indicates what options are available in the option group.
  7473. Options []*Option `locationNameList:"Option" type:"list"`
  7474. // If AllowsVpcAndNonVpcInstanceMemberships is false, this field is blank. If
  7475. // AllowsVpcAndNonVpcInstanceMemberships is true and this field is blank, then
  7476. // this option group can be applied to both VPC and non-VPC instances. If this
  7477. // field contains a value, then this option group can only be applied to instances
  7478. // that are in the VPC indicated by this field.
  7479. VpcId *string `type:"string"`
  7480. metadataOptionGroup `json:"-" xml:"-"`
  7481. }
  7482. type metadataOptionGroup struct {
  7483. SDKShapeTraits bool `type:"structure"`
  7484. }
  7485. // String returns the string representation
  7486. func (s OptionGroup) String() string {
  7487. return awsutil.Prettify(s)
  7488. }
  7489. // GoString returns the string representation
  7490. func (s OptionGroup) GoString() string {
  7491. return s.String()
  7492. }
  7493. // Provides information on the option groups the DB instance is a member of.
  7494. type OptionGroupMembership struct {
  7495. // The name of the option group that the instance belongs to.
  7496. OptionGroupName *string `type:"string"`
  7497. // The status of the DB instance's option group membership (e.g. in-sync, pending,
  7498. // pending-maintenance, applying).
  7499. Status *string `type:"string"`
  7500. metadataOptionGroupMembership `json:"-" xml:"-"`
  7501. }
  7502. type metadataOptionGroupMembership struct {
  7503. SDKShapeTraits bool `type:"structure"`
  7504. }
  7505. // String returns the string representation
  7506. func (s OptionGroupMembership) String() string {
  7507. return awsutil.Prettify(s)
  7508. }
  7509. // GoString returns the string representation
  7510. func (s OptionGroupMembership) GoString() string {
  7511. return s.String()
  7512. }
  7513. // Available option.
  7514. type OptionGroupOption struct {
  7515. // If the option requires a port, specifies the default port for the option.
  7516. DefaultPort *int64 `type:"integer"`
  7517. // The description of the option.
  7518. Description *string `type:"string"`
  7519. // The name of the engine that this option can be applied to.
  7520. EngineName *string `type:"string"`
  7521. // Indicates the major engine version that the option is available for.
  7522. MajorEngineVersion *string `type:"string"`
  7523. // The minimum required engine version for the option to be applied.
  7524. MinimumRequiredMinorEngineVersion *string `type:"string"`
  7525. // The name of the option.
  7526. Name *string `type:"string"`
  7527. // Specifies the option settings that are available (and the default value)
  7528. // for each option in an option group.
  7529. OptionGroupOptionSettings []*OptionGroupOptionSetting `locationNameList:"OptionGroupOptionSetting" type:"list"`
  7530. // List of all options that are prerequisites for this option.
  7531. OptionsDependedOn []*string `locationNameList:"OptionName" type:"list"`
  7532. // A permanent option cannot be removed from the option group once the option
  7533. // group is used, and it cannot be removed from the db instance after assigning
  7534. // an option group with this permanent option.
  7535. Permanent *bool `type:"boolean"`
  7536. // A persistent option cannot be removed from the option group once the option
  7537. // group is used, but this option can be removed from the db instance while
  7538. // modifying the related data and assigning another option group without this
  7539. // option.
  7540. Persistent *bool `type:"boolean"`
  7541. // Specifies whether the option requires a port.
  7542. PortRequired *bool `type:"boolean"`
  7543. metadataOptionGroupOption `json:"-" xml:"-"`
  7544. }
  7545. type metadataOptionGroupOption struct {
  7546. SDKShapeTraits bool `type:"structure"`
  7547. }
  7548. // String returns the string representation
  7549. func (s OptionGroupOption) String() string {
  7550. return awsutil.Prettify(s)
  7551. }
  7552. // GoString returns the string representation
  7553. func (s OptionGroupOption) GoString() string {
  7554. return s.String()
  7555. }
  7556. // Option group option settings are used to display settings available for each
  7557. // option with their default values and other information. These values are
  7558. // used with the DescribeOptionGroupOptions action.
  7559. type OptionGroupOptionSetting struct {
  7560. // Indicates the acceptable values for the option group option.
  7561. AllowedValues *string `type:"string"`
  7562. // The DB engine specific parameter type for the option group option.
  7563. ApplyType *string `type:"string"`
  7564. // The default value for the option group option.
  7565. DefaultValue *string `type:"string"`
  7566. // Boolean value where true indicates that this option group option can be changed
  7567. // from the default value.
  7568. IsModifiable *bool `type:"boolean"`
  7569. // The description of the option group option.
  7570. SettingDescription *string `type:"string"`
  7571. // The name of the option group option.
  7572. SettingName *string `type:"string"`
  7573. metadataOptionGroupOptionSetting `json:"-" xml:"-"`
  7574. }
  7575. type metadataOptionGroupOptionSetting struct {
  7576. SDKShapeTraits bool `type:"structure"`
  7577. }
  7578. // String returns the string representation
  7579. func (s OptionGroupOptionSetting) String() string {
  7580. return awsutil.Prettify(s)
  7581. }
  7582. // GoString returns the string representation
  7583. func (s OptionGroupOptionSetting) GoString() string {
  7584. return s.String()
  7585. }
  7586. // Option settings are the actual settings being applied or configured for that
  7587. // option. It is used when you modify an option group or describe option groups.
  7588. // For example, the NATIVE_NETWORK_ENCRYPTION option has a setting called SQLNET.ENCRYPTION_SERVER
  7589. // that can have several different values.
  7590. type OptionSetting struct {
  7591. // The allowed values of the option setting.
  7592. AllowedValues *string `type:"string"`
  7593. // The DB engine specific parameter type.
  7594. ApplyType *string `type:"string"`
  7595. // The data type of the option setting.
  7596. DataType *string `type:"string"`
  7597. // The default value of the option setting.
  7598. DefaultValue *string `type:"string"`
  7599. // The description of the option setting.
  7600. Description *string `type:"string"`
  7601. // Indicates if the option setting is part of a collection.
  7602. IsCollection *bool `type:"boolean"`
  7603. // A Boolean value that, when true, indicates the option setting can be modified
  7604. // from the default.
  7605. IsModifiable *bool `type:"boolean"`
  7606. // The name of the option that has settings that you can set.
  7607. Name *string `type:"string"`
  7608. // The current value of the option setting.
  7609. Value *string `type:"string"`
  7610. metadataOptionSetting `json:"-" xml:"-"`
  7611. }
  7612. type metadataOptionSetting struct {
  7613. SDKShapeTraits bool `type:"structure"`
  7614. }
  7615. // String returns the string representation
  7616. func (s OptionSetting) String() string {
  7617. return awsutil.Prettify(s)
  7618. }
  7619. // GoString returns the string representation
  7620. func (s OptionSetting) GoString() string {
  7621. return s.String()
  7622. }
  7623. // Contains a list of available options for a DB instance
  7624. //
  7625. // This data type is used as a response element in the DescribeOrderableDBInstanceOptions
  7626. // action.
  7627. type OrderableDBInstanceOption struct {
  7628. // A list of Availability Zones for the orderable DB instance.
  7629. AvailabilityZones []*AvailabilityZone `locationNameList:"AvailabilityZone" type:"list"`
  7630. // The DB instance class for the orderable DB instance.
  7631. DBInstanceClass *string `type:"string"`
  7632. // The engine type of the orderable DB instance.
  7633. Engine *string `type:"string"`
  7634. // The engine version of the orderable DB instance.
  7635. EngineVersion *string `type:"string"`
  7636. // The license model for the orderable DB instance.
  7637. LicenseModel *string `type:"string"`
  7638. // Indicates whether this orderable DB instance is multi-AZ capable.
  7639. MultiAZCapable *bool `type:"boolean"`
  7640. // Indicates whether this orderable DB instance can have a Read Replica.
  7641. ReadReplicaCapable *bool `type:"boolean"`
  7642. // Indicates the storage type for this orderable DB instance.
  7643. StorageType *string `type:"string"`
  7644. // Indicates whether this orderable DB instance supports provisioned IOPS.
  7645. SupportsIops *bool `type:"boolean"`
  7646. // Indicates whether this orderable DB instance supports encrypted storage.
  7647. SupportsStorageEncryption *bool `type:"boolean"`
  7648. // Indicates whether this is a VPC orderable DB instance.
  7649. Vpc *bool `type:"boolean"`
  7650. metadataOrderableDBInstanceOption `json:"-" xml:"-"`
  7651. }
  7652. type metadataOrderableDBInstanceOption struct {
  7653. SDKShapeTraits bool `type:"structure"`
  7654. }
  7655. // String returns the string representation
  7656. func (s OrderableDBInstanceOption) String() string {
  7657. return awsutil.Prettify(s)
  7658. }
  7659. // GoString returns the string representation
  7660. func (s OrderableDBInstanceOption) GoString() string {
  7661. return s.String()
  7662. }
  7663. // This data type is used as a request parameter in the ModifyDBParameterGroup
  7664. // and ResetDBParameterGroup actions.
  7665. //
  7666. // This data type is used as a response element in the DescribeEngineDefaultParameters
  7667. // and DescribeDBParameters actions.
  7668. type Parameter struct {
  7669. // Specifies the valid range of values for the parameter.
  7670. AllowedValues *string `type:"string"`
  7671. // Indicates when to apply parameter updates.
  7672. ApplyMethod *string `type:"string" enum:"ApplyMethod"`
  7673. // Specifies the engine specific parameters type.
  7674. ApplyType *string `type:"string"`
  7675. // Specifies the valid data type for the parameter.
  7676. DataType *string `type:"string"`
  7677. // Provides a description of the parameter.
  7678. Description *string `type:"string"`
  7679. // Indicates whether (true) or not (false) the parameter can be modified. Some
  7680. // parameters have security or operational implications that prevent them from
  7681. // being changed.
  7682. IsModifiable *bool `type:"boolean"`
  7683. // The earliest engine version to which the parameter can apply.
  7684. MinimumEngineVersion *string `type:"string"`
  7685. // Specifies the name of the parameter.
  7686. ParameterName *string `type:"string"`
  7687. // Specifies the value of the parameter.
  7688. ParameterValue *string `type:"string"`
  7689. // Indicates the source of the parameter value.
  7690. Source *string `type:"string"`
  7691. metadataParameter `json:"-" xml:"-"`
  7692. }
  7693. type metadataParameter struct {
  7694. SDKShapeTraits bool `type:"structure"`
  7695. }
  7696. // String returns the string representation
  7697. func (s Parameter) String() string {
  7698. return awsutil.Prettify(s)
  7699. }
  7700. // GoString returns the string representation
  7701. func (s Parameter) GoString() string {
  7702. return s.String()
  7703. }
  7704. // Provides information about a pending maintenance action for a resource.
  7705. type PendingMaintenanceAction struct {
  7706. // The type of pending maintenance action that is available for the resource.
  7707. Action *string `type:"string"`
  7708. // The date of the maintenance window when the action will be applied. The maintenance
  7709. // action will be applied to the resource during its first maintenance window
  7710. // after this date. If this date is specified, any next-maintenance opt-in requests
  7711. // are ignored.
  7712. AutoAppliedAfterDate *time.Time `type:"timestamp" timestampFormat:"iso8601"`
  7713. // The effective date when the pending maintenance action will be applied to
  7714. // the resource. This date takes into account opt-in requests received from
  7715. // the ApplyPendingMaintenanceAction API, the AutoAppliedAfterDate, and the
  7716. // ForcedApplyDate. This value is blank if an opt-in request has not been received
  7717. // and nothing has been specified as AutoAppliedAfterDate or ForcedApplyDate.
  7718. CurrentApplyDate *time.Time `type:"timestamp" timestampFormat:"iso8601"`
  7719. // A description providing more detail about the maintenance action.
  7720. Description *string `type:"string"`
  7721. // The date when the maintenance action will be automatically applied. The maintenance
  7722. // action will be applied to the resource on this date regardless of the maintenance
  7723. // window for the resource. If this date is specified, any immediate opt-in
  7724. // requests are ignored.
  7725. ForcedApplyDate *time.Time `type:"timestamp" timestampFormat:"iso8601"`
  7726. // Indicates the type of opt-in request that has been received for the resource.
  7727. OptInStatus *string `type:"string"`
  7728. metadataPendingMaintenanceAction `json:"-" xml:"-"`
  7729. }
  7730. type metadataPendingMaintenanceAction struct {
  7731. SDKShapeTraits bool `type:"structure"`
  7732. }
  7733. // String returns the string representation
  7734. func (s PendingMaintenanceAction) String() string {
  7735. return awsutil.Prettify(s)
  7736. }
  7737. // GoString returns the string representation
  7738. func (s PendingMaintenanceAction) GoString() string {
  7739. return s.String()
  7740. }
  7741. // This data type is used as a response element in the ModifyDBInstance action.
  7742. type PendingModifiedValues struct {
  7743. // Contains the new AllocatedStorage size for the DB instance that will be applied
  7744. // or is in progress.
  7745. AllocatedStorage *int64 `type:"integer"`
  7746. // Specifies the pending number of days for which automated backups are retained.
  7747. BackupRetentionPeriod *int64 `type:"integer"`
  7748. // Specifies the identifier of the CA certificate for the DB instance.
  7749. CACertificateIdentifier *string `type:"string"`
  7750. // Contains the new DBInstanceClass for the DB instance that will be applied
  7751. // or is in progress.
  7752. DBInstanceClass *string `type:"string"`
  7753. // Contains the new DBInstanceIdentifier for the DB instance that will be applied
  7754. // or is in progress.
  7755. DBInstanceIdentifier *string `type:"string"`
  7756. // Indicates the database engine version.
  7757. EngineVersion *string `type:"string"`
  7758. // Specifies the new Provisioned IOPS value for the DB instance that will be
  7759. // applied or is being applied.
  7760. Iops *int64 `type:"integer"`
  7761. // Contains the pending or in-progress change of the master credentials for
  7762. // the DB instance.
  7763. MasterUserPassword *string `type:"string"`
  7764. // Indicates that the Single-AZ DB instance is to change to a Multi-AZ deployment.
  7765. MultiAZ *bool `type:"boolean"`
  7766. // Specifies the pending port for the DB instance.
  7767. Port *int64 `type:"integer"`
  7768. // Specifies the storage type to be associated with the DB instance.
  7769. StorageType *string `type:"string"`
  7770. metadataPendingModifiedValues `json:"-" xml:"-"`
  7771. }
  7772. type metadataPendingModifiedValues struct {
  7773. SDKShapeTraits bool `type:"structure"`
  7774. }
  7775. // String returns the string representation
  7776. func (s PendingModifiedValues) String() string {
  7777. return awsutil.Prettify(s)
  7778. }
  7779. // GoString returns the string representation
  7780. func (s PendingModifiedValues) GoString() string {
  7781. return s.String()
  7782. }
  7783. type PromoteReadReplicaInput struct {
  7784. // The number of days to retain automated backups. Setting this parameter to
  7785. // a positive number enables backups. Setting this parameter to 0 disables automated
  7786. // backups.
  7787. //
  7788. // Default: 1
  7789. //
  7790. // Constraints:
  7791. //
  7792. // Must be a value from 0 to 8
  7793. BackupRetentionPeriod *int64 `type:"integer"`
  7794. // The DB instance identifier. This value is stored as a lowercase string.
  7795. //
  7796. // Constraints:
  7797. //
  7798. // Must be the identifier for an existing Read Replica DB instance Must contain
  7799. // from 1 to 63 alphanumeric characters or hyphens First character must be a
  7800. // letter Cannot end with a hyphen or contain two consecutive hyphens Example:
  7801. // mydbinstance
  7802. DBInstanceIdentifier *string `type:"string" required:"true"`
  7803. // The daily time range during which automated backups are created if automated
  7804. // backups are enabled, using the BackupRetentionPeriod parameter.
  7805. //
  7806. // Default: A 30-minute window selected at random from an 8-hour block of
  7807. // time per region. To see the time blocks available, see Adjusting the Preferred
  7808. // Maintenance Window (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/AdjustingTheMaintenanceWindow.html)
  7809. // in the Amazon RDS User Guide.
  7810. //
  7811. // Constraints:
  7812. //
  7813. // Must be in the format hh24:mi-hh24:mi. Times should be in Universal Coordinated
  7814. // Time (UTC). Must not conflict with the preferred maintenance window. Must
  7815. // be at least 30 minutes.
  7816. PreferredBackupWindow *string `type:"string"`
  7817. metadataPromoteReadReplicaInput `json:"-" xml:"-"`
  7818. }
  7819. type metadataPromoteReadReplicaInput struct {
  7820. SDKShapeTraits bool `type:"structure"`
  7821. }
  7822. // String returns the string representation
  7823. func (s PromoteReadReplicaInput) String() string {
  7824. return awsutil.Prettify(s)
  7825. }
  7826. // GoString returns the string representation
  7827. func (s PromoteReadReplicaInput) GoString() string {
  7828. return s.String()
  7829. }
  7830. type PromoteReadReplicaOutput struct {
  7831. // Contains the result of a successful invocation of the following actions:
  7832. //
  7833. // CreateDBInstance DeleteDBInstance ModifyDBInstance This data type
  7834. // is used as a response element in the DescribeDBInstances action.
  7835. DBInstance *DBInstance `type:"structure"`
  7836. metadataPromoteReadReplicaOutput `json:"-" xml:"-"`
  7837. }
  7838. type metadataPromoteReadReplicaOutput struct {
  7839. SDKShapeTraits bool `type:"structure"`
  7840. }
  7841. // String returns the string representation
  7842. func (s PromoteReadReplicaOutput) String() string {
  7843. return awsutil.Prettify(s)
  7844. }
  7845. // GoString returns the string representation
  7846. func (s PromoteReadReplicaOutput) GoString() string {
  7847. return s.String()
  7848. }
  7849. type PurchaseReservedDBInstancesOfferingInput struct {
  7850. // The number of instances to reserve.
  7851. //
  7852. // Default: 1
  7853. DBInstanceCount *int64 `type:"integer"`
  7854. // Customer-specified identifier to track this reservation.
  7855. //
  7856. // Example: myreservationID
  7857. ReservedDBInstanceId *string `type:"string"`
  7858. // The ID of the Reserved DB instance offering to purchase.
  7859. //
  7860. // Example: 438012d3-4052-4cc7-b2e3-8d3372e0e706
  7861. ReservedDBInstancesOfferingId *string `type:"string" required:"true"`
  7862. // A list of tags.
  7863. Tags []*Tag `locationNameList:"Tag" type:"list"`
  7864. metadataPurchaseReservedDBInstancesOfferingInput `json:"-" xml:"-"`
  7865. }
  7866. type metadataPurchaseReservedDBInstancesOfferingInput struct {
  7867. SDKShapeTraits bool `type:"structure"`
  7868. }
  7869. // String returns the string representation
  7870. func (s PurchaseReservedDBInstancesOfferingInput) String() string {
  7871. return awsutil.Prettify(s)
  7872. }
  7873. // GoString returns the string representation
  7874. func (s PurchaseReservedDBInstancesOfferingInput) GoString() string {
  7875. return s.String()
  7876. }
  7877. type PurchaseReservedDBInstancesOfferingOutput struct {
  7878. // This data type is used as a response element in the DescribeReservedDBInstances
  7879. // and PurchaseReservedDBInstancesOffering actions.
  7880. ReservedDBInstance *ReservedDBInstance `type:"structure"`
  7881. metadataPurchaseReservedDBInstancesOfferingOutput `json:"-" xml:"-"`
  7882. }
  7883. type metadataPurchaseReservedDBInstancesOfferingOutput struct {
  7884. SDKShapeTraits bool `type:"structure"`
  7885. }
  7886. // String returns the string representation
  7887. func (s PurchaseReservedDBInstancesOfferingOutput) String() string {
  7888. return awsutil.Prettify(s)
  7889. }
  7890. // GoString returns the string representation
  7891. func (s PurchaseReservedDBInstancesOfferingOutput) GoString() string {
  7892. return s.String()
  7893. }
  7894. type RebootDBInstanceInput struct {
  7895. // The DB instance identifier. This parameter is stored as a lowercase string.
  7896. //
  7897. // Constraints:
  7898. //
  7899. // Must contain from 1 to 63 alphanumeric characters or hyphens First character
  7900. // must be a letter Cannot end with a hyphen or contain two consecutive hyphens
  7901. DBInstanceIdentifier *string `type:"string" required:"true"`
  7902. // When true, the reboot will be conducted through a MultiAZ failover.
  7903. //
  7904. // Constraint: You cannot specify true if the instance is not configured for
  7905. // MultiAZ.
  7906. ForceFailover *bool `type:"boolean"`
  7907. metadataRebootDBInstanceInput `json:"-" xml:"-"`
  7908. }
  7909. type metadataRebootDBInstanceInput struct {
  7910. SDKShapeTraits bool `type:"structure"`
  7911. }
  7912. // String returns the string representation
  7913. func (s RebootDBInstanceInput) String() string {
  7914. return awsutil.Prettify(s)
  7915. }
  7916. // GoString returns the string representation
  7917. func (s RebootDBInstanceInput) GoString() string {
  7918. return s.String()
  7919. }
  7920. type RebootDBInstanceOutput struct {
  7921. // Contains the result of a successful invocation of the following actions:
  7922. //
  7923. // CreateDBInstance DeleteDBInstance ModifyDBInstance This data type
  7924. // is used as a response element in the DescribeDBInstances action.
  7925. DBInstance *DBInstance `type:"structure"`
  7926. metadataRebootDBInstanceOutput `json:"-" xml:"-"`
  7927. }
  7928. type metadataRebootDBInstanceOutput struct {
  7929. SDKShapeTraits bool `type:"structure"`
  7930. }
  7931. // String returns the string representation
  7932. func (s RebootDBInstanceOutput) String() string {
  7933. return awsutil.Prettify(s)
  7934. }
  7935. // GoString returns the string representation
  7936. func (s RebootDBInstanceOutput) GoString() string {
  7937. return s.String()
  7938. }
  7939. // This data type is used as a response element in the DescribeReservedDBInstances
  7940. // and DescribeReservedDBInstancesOfferings actions.
  7941. type RecurringCharge struct {
  7942. // The amount of the recurring charge.
  7943. RecurringChargeAmount *float64 `type:"double"`
  7944. // The frequency of the recurring charge.
  7945. RecurringChargeFrequency *string `type:"string"`
  7946. metadataRecurringCharge `json:"-" xml:"-"`
  7947. }
  7948. type metadataRecurringCharge struct {
  7949. SDKShapeTraits bool `type:"structure"`
  7950. }
  7951. // String returns the string representation
  7952. func (s RecurringCharge) String() string {
  7953. return awsutil.Prettify(s)
  7954. }
  7955. // GoString returns the string representation
  7956. func (s RecurringCharge) GoString() string {
  7957. return s.String()
  7958. }
  7959. type RemoveSourceIdentifierFromSubscriptionInput struct {
  7960. // The source identifier to be removed from the subscription, such as the DB
  7961. // instance identifier for a DB instance or the name of a security group.
  7962. SourceIdentifier *string `type:"string" required:"true"`
  7963. // The name of the RDS event notification subscription you want to remove a
  7964. // source identifier from.
  7965. SubscriptionName *string `type:"string" required:"true"`
  7966. metadataRemoveSourceIdentifierFromSubscriptionInput `json:"-" xml:"-"`
  7967. }
  7968. type metadataRemoveSourceIdentifierFromSubscriptionInput struct {
  7969. SDKShapeTraits bool `type:"structure"`
  7970. }
  7971. // String returns the string representation
  7972. func (s RemoveSourceIdentifierFromSubscriptionInput) String() string {
  7973. return awsutil.Prettify(s)
  7974. }
  7975. // GoString returns the string representation
  7976. func (s RemoveSourceIdentifierFromSubscriptionInput) GoString() string {
  7977. return s.String()
  7978. }
  7979. type RemoveSourceIdentifierFromSubscriptionOutput struct {
  7980. // Contains the results of a successful invocation of the DescribeEventSubscriptions
  7981. // action.
  7982. EventSubscription *EventSubscription `type:"structure"`
  7983. metadataRemoveSourceIdentifierFromSubscriptionOutput `json:"-" xml:"-"`
  7984. }
  7985. type metadataRemoveSourceIdentifierFromSubscriptionOutput struct {
  7986. SDKShapeTraits bool `type:"structure"`
  7987. }
  7988. // String returns the string representation
  7989. func (s RemoveSourceIdentifierFromSubscriptionOutput) String() string {
  7990. return awsutil.Prettify(s)
  7991. }
  7992. // GoString returns the string representation
  7993. func (s RemoveSourceIdentifierFromSubscriptionOutput) GoString() string {
  7994. return s.String()
  7995. }
  7996. type RemoveTagsFromResourceInput struct {
  7997. // The Amazon RDS resource the tags will be removed from. This value is an Amazon
  7998. // Resource Name (ARN). For information about creating an ARN, see Constructing
  7999. // an RDS Amazon Resource Name (ARN) (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html#USER_Tagging.ARN).
  8000. ResourceName *string `type:"string" required:"true"`
  8001. // The tag key (name) of the tag to be removed.
  8002. TagKeys []*string `type:"list" required:"true"`
  8003. metadataRemoveTagsFromResourceInput `json:"-" xml:"-"`
  8004. }
  8005. type metadataRemoveTagsFromResourceInput struct {
  8006. SDKShapeTraits bool `type:"structure"`
  8007. }
  8008. // String returns the string representation
  8009. func (s RemoveTagsFromResourceInput) String() string {
  8010. return awsutil.Prettify(s)
  8011. }
  8012. // GoString returns the string representation
  8013. func (s RemoveTagsFromResourceInput) GoString() string {
  8014. return s.String()
  8015. }
  8016. type RemoveTagsFromResourceOutput struct {
  8017. metadataRemoveTagsFromResourceOutput `json:"-" xml:"-"`
  8018. }
  8019. type metadataRemoveTagsFromResourceOutput struct {
  8020. SDKShapeTraits bool `type:"structure"`
  8021. }
  8022. // String returns the string representation
  8023. func (s RemoveTagsFromResourceOutput) String() string {
  8024. return awsutil.Prettify(s)
  8025. }
  8026. // GoString returns the string representation
  8027. func (s RemoveTagsFromResourceOutput) GoString() string {
  8028. return s.String()
  8029. }
  8030. // This data type is used as a response element in the DescribeReservedDBInstances
  8031. // and PurchaseReservedDBInstancesOffering actions.
  8032. type ReservedDBInstance struct {
  8033. // The currency code for the reserved DB instance.
  8034. CurrencyCode *string `type:"string"`
  8035. // The DB instance class for the reserved DB instance.
  8036. DBInstanceClass *string `type:"string"`
  8037. // The number of reserved DB instances.
  8038. DBInstanceCount *int64 `type:"integer"`
  8039. // The duration of the reservation in seconds.
  8040. Duration *int64 `type:"integer"`
  8041. // The fixed price charged for this reserved DB instance.
  8042. FixedPrice *float64 `type:"double"`
  8043. // Indicates if the reservation applies to Multi-AZ deployments.
  8044. MultiAZ *bool `type:"boolean"`
  8045. // The offering type of this reserved DB instance.
  8046. OfferingType *string `type:"string"`
  8047. // The description of the reserved DB instance.
  8048. ProductDescription *string `type:"string"`
  8049. // The recurring price charged to run this reserved DB instance.
  8050. RecurringCharges []*RecurringCharge `locationNameList:"RecurringCharge" type:"list"`
  8051. // The unique identifier for the reservation.
  8052. ReservedDBInstanceId *string `type:"string"`
  8053. // The offering identifier.
  8054. ReservedDBInstancesOfferingId *string `type:"string"`
  8055. // The time the reservation started.
  8056. StartTime *time.Time `type:"timestamp" timestampFormat:"iso8601"`
  8057. // The state of the reserved DB instance.
  8058. State *string `type:"string"`
  8059. // The hourly price charged for this reserved DB instance.
  8060. UsagePrice *float64 `type:"double"`
  8061. metadataReservedDBInstance `json:"-" xml:"-"`
  8062. }
  8063. type metadataReservedDBInstance struct {
  8064. SDKShapeTraits bool `type:"structure"`
  8065. }
  8066. // String returns the string representation
  8067. func (s ReservedDBInstance) String() string {
  8068. return awsutil.Prettify(s)
  8069. }
  8070. // GoString returns the string representation
  8071. func (s ReservedDBInstance) GoString() string {
  8072. return s.String()
  8073. }
  8074. // This data type is used as a response element in the DescribeReservedDBInstancesOfferings
  8075. // action.
  8076. type ReservedDBInstancesOffering struct {
  8077. // The currency code for the reserved DB instance offering.
  8078. CurrencyCode *string `type:"string"`
  8079. // The DB instance class for the reserved DB instance.
  8080. DBInstanceClass *string `type:"string"`
  8081. // The duration of the offering in seconds.
  8082. Duration *int64 `type:"integer"`
  8083. // The fixed price charged for this offering.
  8084. FixedPrice *float64 `type:"double"`
  8085. // Indicates if the offering applies to Multi-AZ deployments.
  8086. MultiAZ *bool `type:"boolean"`
  8087. // The offering type.
  8088. OfferingType *string `type:"string"`
  8089. // The database engine used by the offering.
  8090. ProductDescription *string `type:"string"`
  8091. // The recurring price charged to run this reserved DB instance.
  8092. RecurringCharges []*RecurringCharge `locationNameList:"RecurringCharge" type:"list"`
  8093. // The offering identifier.
  8094. ReservedDBInstancesOfferingId *string `type:"string"`
  8095. // The hourly price charged for this offering.
  8096. UsagePrice *float64 `type:"double"`
  8097. metadataReservedDBInstancesOffering `json:"-" xml:"-"`
  8098. }
  8099. type metadataReservedDBInstancesOffering struct {
  8100. SDKShapeTraits bool `type:"structure"`
  8101. }
  8102. // String returns the string representation
  8103. func (s ReservedDBInstancesOffering) String() string {
  8104. return awsutil.Prettify(s)
  8105. }
  8106. // GoString returns the string representation
  8107. func (s ReservedDBInstancesOffering) GoString() string {
  8108. return s.String()
  8109. }
  8110. type ResetDBClusterParameterGroupInput struct {
  8111. // The name of the DB cluster parameter group to reset.
  8112. DBClusterParameterGroupName *string `type:"string" required:"true"`
  8113. // A list of parameter names in the DB cluster parameter group to reset to the
  8114. // default values. You cannot use this parameter if the ResetAllParameters parameter
  8115. // is set to true.
  8116. Parameters []*Parameter `locationNameList:"Parameter" type:"list"`
  8117. // A value that is set to true to reset all parameters in the DB cluster parameter
  8118. // group to their default values, and false otherwise. You cannot use this parameter
  8119. // if there is a list of parameter names specified for the Parameters parameter.
  8120. ResetAllParameters *bool `type:"boolean"`
  8121. metadataResetDBClusterParameterGroupInput `json:"-" xml:"-"`
  8122. }
  8123. type metadataResetDBClusterParameterGroupInput struct {
  8124. SDKShapeTraits bool `type:"structure"`
  8125. }
  8126. // String returns the string representation
  8127. func (s ResetDBClusterParameterGroupInput) String() string {
  8128. return awsutil.Prettify(s)
  8129. }
  8130. // GoString returns the string representation
  8131. func (s ResetDBClusterParameterGroupInput) GoString() string {
  8132. return s.String()
  8133. }
  8134. type ResetDBParameterGroupInput struct {
  8135. // The name of the DB parameter group.
  8136. //
  8137. // Constraints:
  8138. //
  8139. // Must be 1 to 255 alphanumeric characters First character must be a letter
  8140. // Cannot end with a hyphen or contain two consecutive hyphens
  8141. DBParameterGroupName *string `type:"string" required:"true"`
  8142. // An array of parameter names, values, and the apply method for the parameter
  8143. // update. At least one parameter name, value, and apply method must be supplied;
  8144. // subsequent arguments are optional. A maximum of 20 parameters can be modified
  8145. // in a single request.
  8146. //
  8147. // MySQL
  8148. //
  8149. // Valid Values (for Apply method): immediate | pending-reboot
  8150. //
  8151. // You can use the immediate value with dynamic parameters only. You can use
  8152. // the pending-reboot value for both dynamic and static parameters, and changes
  8153. // are applied when DB instance reboots.
  8154. //
  8155. // Oracle
  8156. //
  8157. // Valid Values (for Apply method): pending-reboot
  8158. Parameters []*Parameter `locationNameList:"Parameter" type:"list"`
  8159. // Specifies whether (true) or not (false) to reset all parameters in the DB
  8160. // parameter group to default values.
  8161. //
  8162. // Default: true
  8163. ResetAllParameters *bool `type:"boolean"`
  8164. metadataResetDBParameterGroupInput `json:"-" xml:"-"`
  8165. }
  8166. type metadataResetDBParameterGroupInput struct {
  8167. SDKShapeTraits bool `type:"structure"`
  8168. }
  8169. // String returns the string representation
  8170. func (s ResetDBParameterGroupInput) String() string {
  8171. return awsutil.Prettify(s)
  8172. }
  8173. // GoString returns the string representation
  8174. func (s ResetDBParameterGroupInput) GoString() string {
  8175. return s.String()
  8176. }
  8177. // Describes the pending maintenance actions for a resource.
  8178. type ResourcePendingMaintenanceActions struct {
  8179. // A list that provides details about the pending maintenance actions for the
  8180. // resource.
  8181. PendingMaintenanceActionDetails []*PendingMaintenanceAction `locationNameList:"PendingMaintenanceAction" type:"list"`
  8182. // The ARN of the resource that has pending maintenance actions.
  8183. ResourceIdentifier *string `type:"string"`
  8184. metadataResourcePendingMaintenanceActions `json:"-" xml:"-"`
  8185. }
  8186. type metadataResourcePendingMaintenanceActions struct {
  8187. SDKShapeTraits bool `type:"structure"`
  8188. }
  8189. // String returns the string representation
  8190. func (s ResourcePendingMaintenanceActions) String() string {
  8191. return awsutil.Prettify(s)
  8192. }
  8193. // GoString returns the string representation
  8194. func (s ResourcePendingMaintenanceActions) GoString() string {
  8195. return s.String()
  8196. }
  8197. type RestoreDBClusterFromSnapshotInput struct {
  8198. // Provides the list of EC2 Availability Zones that instances in the restored
  8199. // DB cluster can be created in.
  8200. AvailabilityZones []*string `locationNameList:"AvailabilityZone" type:"list"`
  8201. // The name of the DB cluster to create from the DB cluster snapshot. This parameter
  8202. // isn't case-sensitive.
  8203. //
  8204. // Constraints:
  8205. //
  8206. // Must contain from 1 to 255 alphanumeric characters or hyphens First character
  8207. // must be a letter Cannot end with a hyphen or contain two consecutive hyphens
  8208. // Example: my-snapshot-id
  8209. DBClusterIdentifier *string `type:"string" required:"true"`
  8210. // The name of the DB subnet group to use for the new DB cluster.
  8211. DBSubnetGroupName *string `type:"string"`
  8212. // The database name for the restored DB cluster.
  8213. DatabaseName *string `type:"string"`
  8214. // The database engine to use for the new DB cluster.
  8215. //
  8216. // Default: The same as source
  8217. //
  8218. // Constraint: Must be compatible with the engine of the source
  8219. Engine *string `type:"string" required:"true"`
  8220. // The version of the database engine to use for the new DB cluster.
  8221. EngineVersion *string `type:"string"`
  8222. // The name of the option group to use for the restored DB cluster.
  8223. OptionGroupName *string `type:"string"`
  8224. // The port number on which the new DB cluster accepts connections.
  8225. //
  8226. // Constraints: Value must be 1150-65535
  8227. //
  8228. // Default: The same port as the original DB cluster.
  8229. Port *int64 `type:"integer"`
  8230. // The identifier for the DB cluster snapshot to restore from.
  8231. //
  8232. // Constraints:
  8233. //
  8234. // Must contain from 1 to 63 alphanumeric characters or hyphens First character
  8235. // must be a letter Cannot end with a hyphen or contain two consecutive hyphens
  8236. SnapshotIdentifier *string `type:"string" required:"true"`
  8237. // The tags to be assigned to the restored DB cluster.
  8238. Tags []*Tag `locationNameList:"Tag" type:"list"`
  8239. // A list of VPC security groups that the new DB cluster will belong to.
  8240. VpcSecurityGroupIds []*string `locationNameList:"VpcSecurityGroupId" type:"list"`
  8241. metadataRestoreDBClusterFromSnapshotInput `json:"-" xml:"-"`
  8242. }
  8243. type metadataRestoreDBClusterFromSnapshotInput struct {
  8244. SDKShapeTraits bool `type:"structure"`
  8245. }
  8246. // String returns the string representation
  8247. func (s RestoreDBClusterFromSnapshotInput) String() string {
  8248. return awsutil.Prettify(s)
  8249. }
  8250. // GoString returns the string representation
  8251. func (s RestoreDBClusterFromSnapshotInput) GoString() string {
  8252. return s.String()
  8253. }
  8254. type RestoreDBClusterFromSnapshotOutput struct {
  8255. // Contains the result of a successful invocation of the following actions:
  8256. //
  8257. // CreateDBCluster DeleteDBCluster FailoverDBCluster ModifyDBCluster
  8258. // RestoreDBClusterFromSnapshot This data type is used as a response element
  8259. // in the DescribeDBClusters action.
  8260. DBCluster *DBCluster `type:"structure"`
  8261. metadataRestoreDBClusterFromSnapshotOutput `json:"-" xml:"-"`
  8262. }
  8263. type metadataRestoreDBClusterFromSnapshotOutput struct {
  8264. SDKShapeTraits bool `type:"structure"`
  8265. }
  8266. // String returns the string representation
  8267. func (s RestoreDBClusterFromSnapshotOutput) String() string {
  8268. return awsutil.Prettify(s)
  8269. }
  8270. // GoString returns the string representation
  8271. func (s RestoreDBClusterFromSnapshotOutput) GoString() string {
  8272. return s.String()
  8273. }
  8274. type RestoreDBClusterToPointInTimeInput struct {
  8275. // The name of the new DB cluster to be created.
  8276. //
  8277. // Constraints:
  8278. //
  8279. // Must contain from 1 to 63 alphanumeric characters or hyphens First character
  8280. // must be a letter Cannot end with a hyphen or contain two consecutive hyphens
  8281. DBClusterIdentifier *string `type:"string" required:"true"`
  8282. // The DB subnet group name to use for the new DB cluster.
  8283. DBSubnetGroupName *string `type:"string"`
  8284. // The name of the option group for the new DB cluster.
  8285. OptionGroupName *string `type:"string"`
  8286. // The port number on which the new DB cluster accepts connections.
  8287. //
  8288. // Constraints: Value must be 1150-65535
  8289. //
  8290. // Default: The same port as the original DB cluster.
  8291. Port *int64 `type:"integer"`
  8292. // The date and time to restore the DB cluster to.
  8293. //
  8294. // Valid Values: Value must be a time in Universal Coordinated Time (UTC) format
  8295. //
  8296. // Constraints:
  8297. //
  8298. // Must be before the latest restorable time for the DB instance Cannot be
  8299. // specified if UseLatestRestorableTime parameter is true Example: 2015-03-07T23:45:00Z
  8300. RestoreToTime *time.Time `type:"timestamp" timestampFormat:"iso8601"`
  8301. // The identifier of the source DB cluster from which to restore.
  8302. //
  8303. // Constraints:
  8304. //
  8305. // Must be the identifier of an existing database instance Must contain from
  8306. // 1 to 63 alphanumeric characters or hyphens First character must be a letter
  8307. // Cannot end with a hyphen or contain two consecutive hyphens
  8308. SourceDBClusterIdentifier *string `type:"string" required:"true"`
  8309. // A list of tags.
  8310. Tags []*Tag `locationNameList:"Tag" type:"list"`
  8311. // A value that is set to true to restore the DB cluster to the latest restorable
  8312. // backup time, and false otherwise.
  8313. //
  8314. // Default: false
  8315. //
  8316. // Constraints: Cannot be specified if RestoreToTime parameter is provided.
  8317. UseLatestRestorableTime *bool `type:"boolean"`
  8318. // A lst of VPC security groups that the new DB cluster belongs to.
  8319. VpcSecurityGroupIds []*string `locationNameList:"VpcSecurityGroupId" type:"list"`
  8320. metadataRestoreDBClusterToPointInTimeInput `json:"-" xml:"-"`
  8321. }
  8322. type metadataRestoreDBClusterToPointInTimeInput struct {
  8323. SDKShapeTraits bool `type:"structure"`
  8324. }
  8325. // String returns the string representation
  8326. func (s RestoreDBClusterToPointInTimeInput) String() string {
  8327. return awsutil.Prettify(s)
  8328. }
  8329. // GoString returns the string representation
  8330. func (s RestoreDBClusterToPointInTimeInput) GoString() string {
  8331. return s.String()
  8332. }
  8333. type RestoreDBClusterToPointInTimeOutput struct {
  8334. // Contains the result of a successful invocation of the following actions:
  8335. //
  8336. // CreateDBCluster DeleteDBCluster FailoverDBCluster ModifyDBCluster
  8337. // RestoreDBClusterFromSnapshot This data type is used as a response element
  8338. // in the DescribeDBClusters action.
  8339. DBCluster *DBCluster `type:"structure"`
  8340. metadataRestoreDBClusterToPointInTimeOutput `json:"-" xml:"-"`
  8341. }
  8342. type metadataRestoreDBClusterToPointInTimeOutput struct {
  8343. SDKShapeTraits bool `type:"structure"`
  8344. }
  8345. // String returns the string representation
  8346. func (s RestoreDBClusterToPointInTimeOutput) String() string {
  8347. return awsutil.Prettify(s)
  8348. }
  8349. // GoString returns the string representation
  8350. func (s RestoreDBClusterToPointInTimeOutput) GoString() string {
  8351. return s.String()
  8352. }
  8353. type RestoreDBInstanceFromDBSnapshotInput struct {
  8354. // Indicates that minor version upgrades will be applied automatically to the
  8355. // DB instance during the maintenance window.
  8356. AutoMinorVersionUpgrade *bool `type:"boolean"`
  8357. // The EC2 Availability Zone that the database instance will be created in.
  8358. //
  8359. // Default: A random, system-chosen Availability Zone.
  8360. //
  8361. // Constraint: You cannot specify the AvailabilityZone parameter if the MultiAZ
  8362. // parameter is set to true.
  8363. //
  8364. // Example: us-east-1a
  8365. AvailabilityZone *string `type:"string"`
  8366. // The compute and memory capacity of the Amazon RDS DB instance.
  8367. //
  8368. // Valid Values: db.t1.micro | db.m1.small | db.m1.medium | db.m1.large | db.m1.xlarge
  8369. // | db.m2.2xlarge | db.m2.4xlarge | db.m3.medium | db.m3.large | db.m3.xlarge
  8370. // | db.m3.2xlarge | db.r3.large | db.r3.xlarge | db.r3.2xlarge | db.r3.4xlarge
  8371. // | db.r3.8xlarge | db.t2.micro | db.t2.small | db.t2.medium
  8372. DBInstanceClass *string `type:"string"`
  8373. // Name of the DB instance to create from the DB snapshot. This parameter isn't
  8374. // case-sensitive.
  8375. //
  8376. // Constraints:
  8377. //
  8378. // Must contain from 1 to 255 alphanumeric characters or hyphens First character
  8379. // must be a letter Cannot end with a hyphen or contain two consecutive hyphens
  8380. // Example: my-snapshot-id
  8381. DBInstanceIdentifier *string `type:"string" required:"true"`
  8382. // The database name for the restored DB instance.
  8383. //
  8384. // This parameter doesn't apply to the MySQL engine.
  8385. DBName *string `type:"string"`
  8386. // The identifier for the DB snapshot to restore from.
  8387. //
  8388. // Constraints:
  8389. //
  8390. // Must contain from 1 to 63 alphanumeric characters or hyphens First character
  8391. // must be a letter Cannot end with a hyphen or contain two consecutive hyphens
  8392. DBSnapshotIdentifier *string `type:"string" required:"true"`
  8393. // The DB subnet group name to use for the new instance.
  8394. DBSubnetGroupName *string `type:"string"`
  8395. // The database engine to use for the new instance.
  8396. //
  8397. // Default: The same as source
  8398. //
  8399. // Constraint: Must be compatible with the engine of the source
  8400. //
  8401. // Valid Values: MySQL | oracle-se1 | oracle-se | oracle-ee | sqlserver-ee
  8402. // | sqlserver-se | sqlserver-ex | sqlserver-web | postgres
  8403. Engine *string `type:"string"`
  8404. // Specifies the amount of provisioned IOPS for the DB instance, expressed in
  8405. // I/O operations per second. If this parameter is not specified, the IOPS value
  8406. // will be taken from the backup. If this parameter is set to 0, the new instance
  8407. // will be converted to a non-PIOPS instance, which will take additional time,
  8408. // though your DB instance will be available for connections before the conversion
  8409. // starts.
  8410. //
  8411. // Constraints: Must be an integer greater than 1000.
  8412. //
  8413. // SQL Server
  8414. //
  8415. // Setting the IOPS value for the SQL Server database engine is not supported.
  8416. Iops *int64 `type:"integer"`
  8417. // License model information for the restored DB instance.
  8418. //
  8419. // Default: Same as source.
  8420. //
  8421. // Valid values: license-included | bring-your-own-license | general-public-license
  8422. LicenseModel *string `type:"string"`
  8423. // Specifies if the DB instance is a Multi-AZ deployment.
  8424. //
  8425. // Constraint: You cannot specify the AvailabilityZone parameter if the MultiAZ
  8426. // parameter is set to true.
  8427. MultiAZ *bool `type:"boolean"`
  8428. // The name of the option group to be used for the restored DB instance.
  8429. //
  8430. // Permanent options, such as the TDE option for Oracle Advanced Security TDE,
  8431. // cannot be removed from an option group, and that option group cannot be removed
  8432. // from a DB instance once it is associated with a DB instance
  8433. OptionGroupName *string `type:"string"`
  8434. // The port number on which the database accepts connections.
  8435. //
  8436. // Default: The same port as the original DB instance
  8437. //
  8438. // Constraints: Value must be 1150-65535
  8439. Port *int64 `type:"integer"`
  8440. // Specifies the accessibility options for the DB instance. A value of true
  8441. // specifies an Internet-facing instance with a publicly resolvable DNS name,
  8442. // which resolves to a public IP address. A value of false specifies an internal
  8443. // instance with a DNS name that resolves to a private IP address.
  8444. //
  8445. // Default: The default behavior varies depending on whether a VPC has been
  8446. // requested or not. The following list shows the default behavior in each case.
  8447. //
  8448. // Default VPC: true VPC: false If no DB subnet group has been specified
  8449. // as part of the request and the PubliclyAccessible value has not been set,
  8450. // the DB instance will be publicly accessible. If a specific DB subnet group
  8451. // has been specified as part of the request and the PubliclyAccessible value
  8452. // has not been set, the DB instance will be private.
  8453. PubliclyAccessible *bool `type:"boolean"`
  8454. // Specifies the storage type to be associated with the DB instance.
  8455. //
  8456. // Valid values: standard | gp2 | io1
  8457. //
  8458. // If you specify io1, you must also include a value for the Iops parameter.
  8459. //
  8460. // Default: io1 if the Iops parameter is specified; otherwise standard
  8461. StorageType *string `type:"string"`
  8462. // A list of tags.
  8463. Tags []*Tag `locationNameList:"Tag" type:"list"`
  8464. // The ARN from the Key Store with which to associate the instance for TDE encryption.
  8465. TdeCredentialArn *string `type:"string"`
  8466. // The password for the given ARN from the Key Store in order to access the
  8467. // device.
  8468. TdeCredentialPassword *string `type:"string"`
  8469. metadataRestoreDBInstanceFromDBSnapshotInput `json:"-" xml:"-"`
  8470. }
  8471. type metadataRestoreDBInstanceFromDBSnapshotInput struct {
  8472. SDKShapeTraits bool `type:"structure"`
  8473. }
  8474. // String returns the string representation
  8475. func (s RestoreDBInstanceFromDBSnapshotInput) String() string {
  8476. return awsutil.Prettify(s)
  8477. }
  8478. // GoString returns the string representation
  8479. func (s RestoreDBInstanceFromDBSnapshotInput) GoString() string {
  8480. return s.String()
  8481. }
  8482. type RestoreDBInstanceFromDBSnapshotOutput struct {
  8483. // Contains the result of a successful invocation of the following actions:
  8484. //
  8485. // CreateDBInstance DeleteDBInstance ModifyDBInstance This data type
  8486. // is used as a response element in the DescribeDBInstances action.
  8487. DBInstance *DBInstance `type:"structure"`
  8488. metadataRestoreDBInstanceFromDBSnapshotOutput `json:"-" xml:"-"`
  8489. }
  8490. type metadataRestoreDBInstanceFromDBSnapshotOutput struct {
  8491. SDKShapeTraits bool `type:"structure"`
  8492. }
  8493. // String returns the string representation
  8494. func (s RestoreDBInstanceFromDBSnapshotOutput) String() string {
  8495. return awsutil.Prettify(s)
  8496. }
  8497. // GoString returns the string representation
  8498. func (s RestoreDBInstanceFromDBSnapshotOutput) GoString() string {
  8499. return s.String()
  8500. }
  8501. type RestoreDBInstanceToPointInTimeInput struct {
  8502. // Indicates that minor version upgrades will be applied automatically to the
  8503. // DB instance during the maintenance window.
  8504. AutoMinorVersionUpgrade *bool `type:"boolean"`
  8505. // The EC2 Availability Zone that the database instance will be created in.
  8506. //
  8507. // Default: A random, system-chosen Availability Zone.
  8508. //
  8509. // Constraint: You cannot specify the AvailabilityZone parameter if the MultiAZ
  8510. // parameter is set to true.
  8511. //
  8512. // Example: us-east-1a
  8513. AvailabilityZone *string `type:"string"`
  8514. // The compute and memory capacity of the Amazon RDS DB instance.
  8515. //
  8516. // Valid Values: db.t1.micro | db.m1.small | db.m1.medium | db.m1.large | db.m1.xlarge
  8517. // | db.m2.2xlarge | db.m2.4xlarge | db.m3.medium | db.m3.large | db.m3.xlarge
  8518. // | db.m3.2xlarge | db.r3.large | db.r3.xlarge | db.r3.2xlarge | db.r3.4xlarge
  8519. // | db.r3.8xlarge | db.t2.micro | db.t2.small | db.t2.medium
  8520. //
  8521. // Default: The same DBInstanceClass as the original DB instance.
  8522. DBInstanceClass *string `type:"string"`
  8523. // The database name for the restored DB instance.
  8524. //
  8525. // This parameter is not used for the MySQL engine.
  8526. DBName *string `type:"string"`
  8527. // The DB subnet group name to use for the new instance.
  8528. DBSubnetGroupName *string `type:"string"`
  8529. // The database engine to use for the new instance.
  8530. //
  8531. // Default: The same as source
  8532. //
  8533. // Constraint: Must be compatible with the engine of the source
  8534. //
  8535. // Valid Values: MySQL | oracle-se1 | oracle-se | oracle-ee | sqlserver-ee
  8536. // | sqlserver-se | sqlserver-ex | sqlserver-web | postgres
  8537. Engine *string `type:"string"`
  8538. // The amount of Provisioned IOPS (input/output operations per second) to be
  8539. // initially allocated for the DB instance.
  8540. //
  8541. // Constraints: Must be an integer greater than 1000.
  8542. //
  8543. // SQL Server
  8544. //
  8545. // Setting the IOPS value for the SQL Server database engine is not supported.
  8546. Iops *int64 `type:"integer"`
  8547. // License model information for the restored DB instance.
  8548. //
  8549. // Default: Same as source.
  8550. //
  8551. // Valid values: license-included | bring-your-own-license | general-public-license
  8552. LicenseModel *string `type:"string"`
  8553. // Specifies if the DB instance is a Multi-AZ deployment.
  8554. //
  8555. // Constraint: You cannot specify the AvailabilityZone parameter if the MultiAZ
  8556. // parameter is set to true.
  8557. MultiAZ *bool `type:"boolean"`
  8558. // The name of the option group to be used for the restored DB instance.
  8559. //
  8560. // Permanent options, such as the TDE option for Oracle Advanced Security TDE,
  8561. // cannot be removed from an option group, and that option group cannot be removed
  8562. // from a DB instance once it is associated with a DB instance
  8563. OptionGroupName *string `type:"string"`
  8564. // The port number on which the database accepts connections.
  8565. //
  8566. // Constraints: Value must be 1150-65535
  8567. //
  8568. // Default: The same port as the original DB instance.
  8569. Port *int64 `type:"integer"`
  8570. // Specifies the accessibility options for the DB instance. A value of true
  8571. // specifies an Internet-facing instance with a publicly resolvable DNS name,
  8572. // which resolves to a public IP address. A value of false specifies an internal
  8573. // instance with a DNS name that resolves to a private IP address.
  8574. //
  8575. // Default: The default behavior varies depending on whether a VPC has been
  8576. // requested or not. The following list shows the default behavior in each case.
  8577. //
  8578. // Default VPC:true VPC:false If no DB subnet group has been specified
  8579. // as part of the request and the PubliclyAccessible value has not been set,
  8580. // the DB instance will be publicly accessible. If a specific DB subnet group
  8581. // has been specified as part of the request and the PubliclyAccessible value
  8582. // has not been set, the DB instance will be private.
  8583. PubliclyAccessible *bool `type:"boolean"`
  8584. // The date and time to restore from.
  8585. //
  8586. // Valid Values: Value must be a time in Universal Coordinated Time (UTC) format
  8587. //
  8588. // Constraints:
  8589. //
  8590. // Must be before the latest restorable time for the DB instance Cannot be
  8591. // specified if UseLatestRestorableTime parameter is true Example: 2009-09-07T23:45:00Z
  8592. RestoreTime *time.Time `type:"timestamp" timestampFormat:"iso8601"`
  8593. // The identifier of the source DB instance from which to restore.
  8594. //
  8595. // Constraints:
  8596. //
  8597. // Must be the identifier of an existing database instance Must contain from
  8598. // 1 to 63 alphanumeric characters or hyphens First character must be a letter
  8599. // Cannot end with a hyphen or contain two consecutive hyphens
  8600. SourceDBInstanceIdentifier *string `type:"string" required:"true"`
  8601. // Specifies the storage type to be associated with the DB instance.
  8602. //
  8603. // Valid values: standard | gp2 | io1
  8604. //
  8605. // If you specify io1, you must also include a value for the Iops parameter.
  8606. //
  8607. // Default: io1 if the Iops parameter is specified; otherwise standard
  8608. StorageType *string `type:"string"`
  8609. // A list of tags.
  8610. Tags []*Tag `locationNameList:"Tag" type:"list"`
  8611. // The name of the new database instance to be created.
  8612. //
  8613. // Constraints:
  8614. //
  8615. // Must contain from 1 to 63 alphanumeric characters or hyphens First character
  8616. // must be a letter Cannot end with a hyphen or contain two consecutive hyphens
  8617. TargetDBInstanceIdentifier *string `type:"string" required:"true"`
  8618. // The ARN from the Key Store with which to associate the instance for TDE encryption.
  8619. TdeCredentialArn *string `type:"string"`
  8620. // The password for the given ARN from the Key Store in order to access the
  8621. // device.
  8622. TdeCredentialPassword *string `type:"string"`
  8623. // Specifies whether (true) or not (false) the DB instance is restored from
  8624. // the latest backup time.
  8625. //
  8626. // Default: false
  8627. //
  8628. // Constraints: Cannot be specified if RestoreTime parameter is provided.
  8629. UseLatestRestorableTime *bool `type:"boolean"`
  8630. metadataRestoreDBInstanceToPointInTimeInput `json:"-" xml:"-"`
  8631. }
  8632. type metadataRestoreDBInstanceToPointInTimeInput struct {
  8633. SDKShapeTraits bool `type:"structure"`
  8634. }
  8635. // String returns the string representation
  8636. func (s RestoreDBInstanceToPointInTimeInput) String() string {
  8637. return awsutil.Prettify(s)
  8638. }
  8639. // GoString returns the string representation
  8640. func (s RestoreDBInstanceToPointInTimeInput) GoString() string {
  8641. return s.String()
  8642. }
  8643. type RestoreDBInstanceToPointInTimeOutput struct {
  8644. // Contains the result of a successful invocation of the following actions:
  8645. //
  8646. // CreateDBInstance DeleteDBInstance ModifyDBInstance This data type
  8647. // is used as a response element in the DescribeDBInstances action.
  8648. DBInstance *DBInstance `type:"structure"`
  8649. metadataRestoreDBInstanceToPointInTimeOutput `json:"-" xml:"-"`
  8650. }
  8651. type metadataRestoreDBInstanceToPointInTimeOutput struct {
  8652. SDKShapeTraits bool `type:"structure"`
  8653. }
  8654. // String returns the string representation
  8655. func (s RestoreDBInstanceToPointInTimeOutput) String() string {
  8656. return awsutil.Prettify(s)
  8657. }
  8658. // GoString returns the string representation
  8659. func (s RestoreDBInstanceToPointInTimeOutput) GoString() string {
  8660. return s.String()
  8661. }
  8662. type RevokeDBSecurityGroupIngressInput struct {
  8663. // The IP range to revoke access from. Must be a valid CIDR range. If CIDRIP
  8664. // is specified, EC2SecurityGroupName, EC2SecurityGroupId and EC2SecurityGroupOwnerId
  8665. // cannot be provided.
  8666. CIDRIP *string `type:"string"`
  8667. // The name of the DB security group to revoke ingress from.
  8668. DBSecurityGroupName *string `type:"string" required:"true"`
  8669. // The id of the EC2 security group to revoke access from. For VPC DB security
  8670. // groups, EC2SecurityGroupId must be provided. Otherwise, EC2SecurityGroupOwnerId
  8671. // and either EC2SecurityGroupName or EC2SecurityGroupId must be provided.
  8672. EC2SecurityGroupId *string `type:"string"`
  8673. // The name of the EC2 security group to revoke access from. For VPC DB security
  8674. // groups, EC2SecurityGroupId must be provided. Otherwise, EC2SecurityGroupOwnerId
  8675. // and either EC2SecurityGroupName or EC2SecurityGroupId must be provided.
  8676. EC2SecurityGroupName *string `type:"string"`
  8677. // The AWS Account Number of the owner of the EC2 security group specified in
  8678. // the EC2SecurityGroupName parameter. The AWS Access Key ID is not an acceptable
  8679. // value. For VPC DB security groups, EC2SecurityGroupId must be provided. Otherwise,
  8680. // EC2SecurityGroupOwnerId and either EC2SecurityGroupName or EC2SecurityGroupId
  8681. // must be provided.
  8682. EC2SecurityGroupOwnerId *string `type:"string"`
  8683. metadataRevokeDBSecurityGroupIngressInput `json:"-" xml:"-"`
  8684. }
  8685. type metadataRevokeDBSecurityGroupIngressInput struct {
  8686. SDKShapeTraits bool `type:"structure"`
  8687. }
  8688. // String returns the string representation
  8689. func (s RevokeDBSecurityGroupIngressInput) String() string {
  8690. return awsutil.Prettify(s)
  8691. }
  8692. // GoString returns the string representation
  8693. func (s RevokeDBSecurityGroupIngressInput) GoString() string {
  8694. return s.String()
  8695. }
  8696. type RevokeDBSecurityGroupIngressOutput struct {
  8697. // Contains the result of a successful invocation of the following actions:
  8698. //
  8699. // DescribeDBSecurityGroups AuthorizeDBSecurityGroupIngress CreateDBSecurityGroup
  8700. // RevokeDBSecurityGroupIngress This data type is used as a response element
  8701. // in the DescribeDBSecurityGroups action.
  8702. DBSecurityGroup *DBSecurityGroup `type:"structure"`
  8703. metadataRevokeDBSecurityGroupIngressOutput `json:"-" xml:"-"`
  8704. }
  8705. type metadataRevokeDBSecurityGroupIngressOutput struct {
  8706. SDKShapeTraits bool `type:"structure"`
  8707. }
  8708. // String returns the string representation
  8709. func (s RevokeDBSecurityGroupIngressOutput) String() string {
  8710. return awsutil.Prettify(s)
  8711. }
  8712. // GoString returns the string representation
  8713. func (s RevokeDBSecurityGroupIngressOutput) GoString() string {
  8714. return s.String()
  8715. }
  8716. // This data type is used as a response element in the DescribeDBSubnetGroups
  8717. // action.
  8718. type Subnet struct {
  8719. // Contains Availability Zone information.
  8720. //
  8721. // This data type is used as an element in the following data type: OrderableDBInstanceOption
  8722. SubnetAvailabilityZone *AvailabilityZone `type:"structure"`
  8723. // Specifies the identifier of the subnet.
  8724. SubnetIdentifier *string `type:"string"`
  8725. // Specifies the status of the subnet.
  8726. SubnetStatus *string `type:"string"`
  8727. metadataSubnet `json:"-" xml:"-"`
  8728. }
  8729. type metadataSubnet struct {
  8730. SDKShapeTraits bool `type:"structure"`
  8731. }
  8732. // String returns the string representation
  8733. func (s Subnet) String() string {
  8734. return awsutil.Prettify(s)
  8735. }
  8736. // GoString returns the string representation
  8737. func (s Subnet) GoString() string {
  8738. return s.String()
  8739. }
  8740. // Metadata assigned to an Amazon RDS resource consisting of a key-value pair.
  8741. type Tag struct {
  8742. // A key is the required name of the tag. The string value can be from 1 to
  8743. // 128 Unicode characters in length and cannot be prefixed with "aws:" or "rds:".
  8744. // The string can only contain only the set of Unicode letters, digits, white-space,
  8745. // '_', '.', '/', '=', '+', '-' (Java regex: "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-]*)$").
  8746. Key *string `type:"string"`
  8747. // A value is the optional value of the tag. The string value can be from 1
  8748. // to 256 Unicode characters in length and cannot be prefixed with "aws:" or
  8749. // "rds:". The string can only contain only the set of Unicode letters, digits,
  8750. // white-space, '_', '.', '/', '=', '+', '-' (Java regex: "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-]*)$").
  8751. Value *string `type:"string"`
  8752. metadataTag `json:"-" xml:"-"`
  8753. }
  8754. type metadataTag struct {
  8755. SDKShapeTraits bool `type:"structure"`
  8756. }
  8757. // String returns the string representation
  8758. func (s Tag) String() string {
  8759. return awsutil.Prettify(s)
  8760. }
  8761. // GoString returns the string representation
  8762. func (s Tag) GoString() string {
  8763. return s.String()
  8764. }
  8765. // This data type is used as a response element for queries on VPC security
  8766. // group membership.
  8767. type VpcSecurityGroupMembership struct {
  8768. // The status of the VPC security group.
  8769. Status *string `type:"string"`
  8770. // The name of the VPC security group.
  8771. VpcSecurityGroupId *string `type:"string"`
  8772. metadataVpcSecurityGroupMembership `json:"-" xml:"-"`
  8773. }
  8774. type metadataVpcSecurityGroupMembership struct {
  8775. SDKShapeTraits bool `type:"structure"`
  8776. }
  8777. // String returns the string representation
  8778. func (s VpcSecurityGroupMembership) String() string {
  8779. return awsutil.Prettify(s)
  8780. }
  8781. // GoString returns the string representation
  8782. func (s VpcSecurityGroupMembership) GoString() string {
  8783. return s.String()
  8784. }
  8785. const (
  8786. // @enum ApplyMethod
  8787. ApplyMethodImmediate = "immediate"
  8788. // @enum ApplyMethod
  8789. ApplyMethodPendingReboot = "pending-reboot"
  8790. )
  8791. const (
  8792. // @enum SourceType
  8793. SourceTypeDbInstance = "db-instance"
  8794. // @enum SourceType
  8795. SourceTypeDbParameterGroup = "db-parameter-group"
  8796. // @enum SourceType
  8797. SourceTypeDbSecurityGroup = "db-security-group"
  8798. // @enum SourceType
  8799. SourceTypeDbSnapshot = "db-snapshot"
  8800. )