api.go 269 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764
  1. // THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT.
  2. // Package redshift provides a client for Amazon Redshift.
  3. package redshift
  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 opAuthorizeClusterSecurityGroupIngress = "AuthorizeClusterSecurityGroupIngress"
  10. // AuthorizeClusterSecurityGroupIngressRequest generates a request for the AuthorizeClusterSecurityGroupIngress operation.
  11. func (c *Redshift) AuthorizeClusterSecurityGroupIngressRequest(input *AuthorizeClusterSecurityGroupIngressInput) (req *request.Request, output *AuthorizeClusterSecurityGroupIngressOutput) {
  12. op := &request.Operation{
  13. Name: opAuthorizeClusterSecurityGroupIngress,
  14. HTTPMethod: "POST",
  15. HTTPPath: "/",
  16. }
  17. if input == nil {
  18. input = &AuthorizeClusterSecurityGroupIngressInput{}
  19. }
  20. req = c.newRequest(op, input, output)
  21. output = &AuthorizeClusterSecurityGroupIngressOutput{}
  22. req.Data = output
  23. return
  24. }
  25. // Adds an inbound (ingress) rule to an Amazon Redshift security group. Depending
  26. // on whether the application accessing your cluster is running on the Internet
  27. // or an EC2 instance, you can authorize inbound access to either a Classless
  28. // Interdomain Routing (CIDR) IP address range or an EC2 security group. You
  29. // can add as many as 20 ingress rules to an Amazon Redshift security group.
  30. //
  31. // The EC2 security group must be defined in the AWS region where the cluster
  32. // resides. For an overview of CIDR blocks, see the Wikipedia article on Classless
  33. // Inter-Domain Routing (http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing).
  34. //
  35. // You must also associate the security group with a cluster so that clients
  36. // running on these IP addresses or the EC2 instance are authorized to connect
  37. // to the cluster. For information about managing security groups, go to Working
  38. // with Security Groups (http://docs.aws.amazon.com/redshift/latest/mgmt/working-with-security-groups.html)
  39. // in the Amazon Redshift Cluster Management Guide.
  40. func (c *Redshift) AuthorizeClusterSecurityGroupIngress(input *AuthorizeClusterSecurityGroupIngressInput) (*AuthorizeClusterSecurityGroupIngressOutput, error) {
  41. req, out := c.AuthorizeClusterSecurityGroupIngressRequest(input)
  42. err := req.Send()
  43. return out, err
  44. }
  45. const opAuthorizeSnapshotAccess = "AuthorizeSnapshotAccess"
  46. // AuthorizeSnapshotAccessRequest generates a request for the AuthorizeSnapshotAccess operation.
  47. func (c *Redshift) AuthorizeSnapshotAccessRequest(input *AuthorizeSnapshotAccessInput) (req *request.Request, output *AuthorizeSnapshotAccessOutput) {
  48. op := &request.Operation{
  49. Name: opAuthorizeSnapshotAccess,
  50. HTTPMethod: "POST",
  51. HTTPPath: "/",
  52. }
  53. if input == nil {
  54. input = &AuthorizeSnapshotAccessInput{}
  55. }
  56. req = c.newRequest(op, input, output)
  57. output = &AuthorizeSnapshotAccessOutput{}
  58. req.Data = output
  59. return
  60. }
  61. // Authorizes the specified AWS customer account to restore the specified snapshot.
  62. //
  63. // For more information about working with snapshots, go to Amazon Redshift
  64. // Snapshots (http://docs.aws.amazon.com/redshift/latest/mgmt/working-with-snapshots.html)
  65. // in the Amazon Redshift Cluster Management Guide.
  66. func (c *Redshift) AuthorizeSnapshotAccess(input *AuthorizeSnapshotAccessInput) (*AuthorizeSnapshotAccessOutput, error) {
  67. req, out := c.AuthorizeSnapshotAccessRequest(input)
  68. err := req.Send()
  69. return out, err
  70. }
  71. const opCopyClusterSnapshot = "CopyClusterSnapshot"
  72. // CopyClusterSnapshotRequest generates a request for the CopyClusterSnapshot operation.
  73. func (c *Redshift) CopyClusterSnapshotRequest(input *CopyClusterSnapshotInput) (req *request.Request, output *CopyClusterSnapshotOutput) {
  74. op := &request.Operation{
  75. Name: opCopyClusterSnapshot,
  76. HTTPMethod: "POST",
  77. HTTPPath: "/",
  78. }
  79. if input == nil {
  80. input = &CopyClusterSnapshotInput{}
  81. }
  82. req = c.newRequest(op, input, output)
  83. output = &CopyClusterSnapshotOutput{}
  84. req.Data = output
  85. return
  86. }
  87. // Copies the specified automated cluster snapshot to a new manual cluster snapshot.
  88. // The source must be an automated snapshot and it must be in the available
  89. // state.
  90. //
  91. // When you delete a cluster, Amazon Redshift deletes any automated snapshots
  92. // of the cluster. Also, when the retention period of the snapshot expires,
  93. // Amazon Redshift automatically deletes it. If you want to keep an automated
  94. // snapshot for a longer period, you can make a manual copy of the snapshot.
  95. // Manual snapshots are retained until you delete them.
  96. //
  97. // For more information about working with snapshots, go to Amazon Redshift
  98. // Snapshots (http://docs.aws.amazon.com/redshift/latest/mgmt/working-with-snapshots.html)
  99. // in the Amazon Redshift Cluster Management Guide.
  100. func (c *Redshift) CopyClusterSnapshot(input *CopyClusterSnapshotInput) (*CopyClusterSnapshotOutput, error) {
  101. req, out := c.CopyClusterSnapshotRequest(input)
  102. err := req.Send()
  103. return out, err
  104. }
  105. const opCreateCluster = "CreateCluster"
  106. // CreateClusterRequest generates a request for the CreateCluster operation.
  107. func (c *Redshift) CreateClusterRequest(input *CreateClusterInput) (req *request.Request, output *CreateClusterOutput) {
  108. op := &request.Operation{
  109. Name: opCreateCluster,
  110. HTTPMethod: "POST",
  111. HTTPPath: "/",
  112. }
  113. if input == nil {
  114. input = &CreateClusterInput{}
  115. }
  116. req = c.newRequest(op, input, output)
  117. output = &CreateClusterOutput{}
  118. req.Data = output
  119. return
  120. }
  121. // Creates a new cluster. To create the cluster in virtual private cloud (VPC),
  122. // you must provide cluster subnet group name. If you don't provide a cluster
  123. // subnet group name or the cluster security group parameter, Amazon Redshift
  124. // creates a non-VPC cluster, it associates the default cluster security group
  125. // with the cluster. For more information about managing clusters, go to Amazon
  126. // Redshift Clusters (http://docs.aws.amazon.com/redshift/latest/mgmt/working-with-clusters.html)
  127. // in the Amazon Redshift Cluster Management Guide .
  128. func (c *Redshift) CreateCluster(input *CreateClusterInput) (*CreateClusterOutput, error) {
  129. req, out := c.CreateClusterRequest(input)
  130. err := req.Send()
  131. return out, err
  132. }
  133. const opCreateClusterParameterGroup = "CreateClusterParameterGroup"
  134. // CreateClusterParameterGroupRequest generates a request for the CreateClusterParameterGroup operation.
  135. func (c *Redshift) CreateClusterParameterGroupRequest(input *CreateClusterParameterGroupInput) (req *request.Request, output *CreateClusterParameterGroupOutput) {
  136. op := &request.Operation{
  137. Name: opCreateClusterParameterGroup,
  138. HTTPMethod: "POST",
  139. HTTPPath: "/",
  140. }
  141. if input == nil {
  142. input = &CreateClusterParameterGroupInput{}
  143. }
  144. req = c.newRequest(op, input, output)
  145. output = &CreateClusterParameterGroupOutput{}
  146. req.Data = output
  147. return
  148. }
  149. // Creates an Amazon Redshift parameter group.
  150. //
  151. // Creating parameter groups is independent of creating clusters. You can associate
  152. // a cluster with a parameter group when you create the cluster. You can also
  153. // associate an existing cluster with a parameter group after the cluster is
  154. // created by using ModifyCluster.
  155. //
  156. // Parameters in the parameter group define specific behavior that applies
  157. // to the databases you create on the cluster. For more information about parameters
  158. // and parameter groups, go to Amazon Redshift Parameter Groups (http://docs.aws.amazon.com/redshift/latest/mgmt/working-with-parameter-groups.html)
  159. // in the Amazon Redshift Cluster Management Guide.
  160. func (c *Redshift) CreateClusterParameterGroup(input *CreateClusterParameterGroupInput) (*CreateClusterParameterGroupOutput, error) {
  161. req, out := c.CreateClusterParameterGroupRequest(input)
  162. err := req.Send()
  163. return out, err
  164. }
  165. const opCreateClusterSecurityGroup = "CreateClusterSecurityGroup"
  166. // CreateClusterSecurityGroupRequest generates a request for the CreateClusterSecurityGroup operation.
  167. func (c *Redshift) CreateClusterSecurityGroupRequest(input *CreateClusterSecurityGroupInput) (req *request.Request, output *CreateClusterSecurityGroupOutput) {
  168. op := &request.Operation{
  169. Name: opCreateClusterSecurityGroup,
  170. HTTPMethod: "POST",
  171. HTTPPath: "/",
  172. }
  173. if input == nil {
  174. input = &CreateClusterSecurityGroupInput{}
  175. }
  176. req = c.newRequest(op, input, output)
  177. output = &CreateClusterSecurityGroupOutput{}
  178. req.Data = output
  179. return
  180. }
  181. // Creates a new Amazon Redshift security group. You use security groups to
  182. // control access to non-VPC clusters.
  183. //
  184. // For information about managing security groups, go to Amazon Redshift Cluster
  185. // Security Groups (http://docs.aws.amazon.com/redshift/latest/mgmt/working-with-security-groups.html)
  186. // in the Amazon Redshift Cluster Management Guide.
  187. func (c *Redshift) CreateClusterSecurityGroup(input *CreateClusterSecurityGroupInput) (*CreateClusterSecurityGroupOutput, error) {
  188. req, out := c.CreateClusterSecurityGroupRequest(input)
  189. err := req.Send()
  190. return out, err
  191. }
  192. const opCreateClusterSnapshot = "CreateClusterSnapshot"
  193. // CreateClusterSnapshotRequest generates a request for the CreateClusterSnapshot operation.
  194. func (c *Redshift) CreateClusterSnapshotRequest(input *CreateClusterSnapshotInput) (req *request.Request, output *CreateClusterSnapshotOutput) {
  195. op := &request.Operation{
  196. Name: opCreateClusterSnapshot,
  197. HTTPMethod: "POST",
  198. HTTPPath: "/",
  199. }
  200. if input == nil {
  201. input = &CreateClusterSnapshotInput{}
  202. }
  203. req = c.newRequest(op, input, output)
  204. output = &CreateClusterSnapshotOutput{}
  205. req.Data = output
  206. return
  207. }
  208. // Creates a manual snapshot of the specified cluster. The cluster must be in
  209. // the available state.
  210. //
  211. // For more information about working with snapshots, go to Amazon Redshift
  212. // Snapshots (http://docs.aws.amazon.com/redshift/latest/mgmt/working-with-snapshots.html)
  213. // in the Amazon Redshift Cluster Management Guide.
  214. func (c *Redshift) CreateClusterSnapshot(input *CreateClusterSnapshotInput) (*CreateClusterSnapshotOutput, error) {
  215. req, out := c.CreateClusterSnapshotRequest(input)
  216. err := req.Send()
  217. return out, err
  218. }
  219. const opCreateClusterSubnetGroup = "CreateClusterSubnetGroup"
  220. // CreateClusterSubnetGroupRequest generates a request for the CreateClusterSubnetGroup operation.
  221. func (c *Redshift) CreateClusterSubnetGroupRequest(input *CreateClusterSubnetGroupInput) (req *request.Request, output *CreateClusterSubnetGroupOutput) {
  222. op := &request.Operation{
  223. Name: opCreateClusterSubnetGroup,
  224. HTTPMethod: "POST",
  225. HTTPPath: "/",
  226. }
  227. if input == nil {
  228. input = &CreateClusterSubnetGroupInput{}
  229. }
  230. req = c.newRequest(op, input, output)
  231. output = &CreateClusterSubnetGroupOutput{}
  232. req.Data = output
  233. return
  234. }
  235. // Creates a new Amazon Redshift subnet group. You must provide a list of one
  236. // or more subnets in your existing Amazon Virtual Private Cloud (Amazon VPC)
  237. // when creating Amazon Redshift subnet group.
  238. //
  239. // For information about subnet groups, go to Amazon Redshift Cluster Subnet
  240. // Groups (http://docs.aws.amazon.com/redshift/latest/mgmt/working-with-cluster-subnet-groups.html)
  241. // in the Amazon Redshift Cluster Management Guide.
  242. func (c *Redshift) CreateClusterSubnetGroup(input *CreateClusterSubnetGroupInput) (*CreateClusterSubnetGroupOutput, error) {
  243. req, out := c.CreateClusterSubnetGroupRequest(input)
  244. err := req.Send()
  245. return out, err
  246. }
  247. const opCreateEventSubscription = "CreateEventSubscription"
  248. // CreateEventSubscriptionRequest generates a request for the CreateEventSubscription operation.
  249. func (c *Redshift) CreateEventSubscriptionRequest(input *CreateEventSubscriptionInput) (req *request.Request, output *CreateEventSubscriptionOutput) {
  250. op := &request.Operation{
  251. Name: opCreateEventSubscription,
  252. HTTPMethod: "POST",
  253. HTTPPath: "/",
  254. }
  255. if input == nil {
  256. input = &CreateEventSubscriptionInput{}
  257. }
  258. req = c.newRequest(op, input, output)
  259. output = &CreateEventSubscriptionOutput{}
  260. req.Data = output
  261. return
  262. }
  263. // Creates an Amazon Redshift event notification subscription. This action requires
  264. // an ARN (Amazon Resource Name) of an Amazon SNS topic created by either the
  265. // Amazon Redshift console, the Amazon SNS console, or the Amazon SNS API. To
  266. // obtain an ARN with Amazon SNS, you must create a topic in Amazon SNS and
  267. // subscribe to the topic. The ARN is displayed in the SNS console.
  268. //
  269. // You can specify the source type, and lists of Amazon Redshift source IDs,
  270. // event categories, and event severities. Notifications will be sent for all
  271. // events you want that match those criteria. For example, you can specify source
  272. // type = cluster, source ID = my-cluster-1 and mycluster2, event categories
  273. // = Availability, Backup, and severity = ERROR. The subscription will only
  274. // send notifications for those ERROR events in the Availability and Backup
  275. // categories for the specified clusters.
  276. //
  277. // If you specify both the source type and source IDs, such as source type
  278. // = cluster and source identifier = my-cluster-1, notifications will be sent
  279. // for all the cluster events for my-cluster-1. If you specify a source type
  280. // but do not specify a source identifier, you will receive notice of the events
  281. // for the objects of that type in your AWS account. If you do not specify either
  282. // the SourceType nor the SourceIdentifier, you will be notified of events generated
  283. // from all Amazon Redshift sources belonging to your AWS account. You must
  284. // specify a source type if you specify a source ID.
  285. func (c *Redshift) CreateEventSubscription(input *CreateEventSubscriptionInput) (*CreateEventSubscriptionOutput, error) {
  286. req, out := c.CreateEventSubscriptionRequest(input)
  287. err := req.Send()
  288. return out, err
  289. }
  290. const opCreateHsmClientCertificate = "CreateHsmClientCertificate"
  291. // CreateHsmClientCertificateRequest generates a request for the CreateHsmClientCertificate operation.
  292. func (c *Redshift) CreateHsmClientCertificateRequest(input *CreateHsmClientCertificateInput) (req *request.Request, output *CreateHsmClientCertificateOutput) {
  293. op := &request.Operation{
  294. Name: opCreateHsmClientCertificate,
  295. HTTPMethod: "POST",
  296. HTTPPath: "/",
  297. }
  298. if input == nil {
  299. input = &CreateHsmClientCertificateInput{}
  300. }
  301. req = c.newRequest(op, input, output)
  302. output = &CreateHsmClientCertificateOutput{}
  303. req.Data = output
  304. return
  305. }
  306. // Creates an HSM client certificate that an Amazon Redshift cluster will use
  307. // to connect to the client's HSM in order to store and retrieve the keys used
  308. // to encrypt the cluster databases.
  309. //
  310. // The command returns a public key, which you must store in the HSM. In addition
  311. // to creating the HSM certificate, you must create an Amazon Redshift HSM configuration
  312. // that provides a cluster the information needed to store and use encryption
  313. // keys in the HSM. For more information, go to Hardware Security Modules (http://docs.aws.amazon.com/redshift/latest/mgmt/working-with-HSM.html)
  314. // in the Amazon Redshift Cluster Management Guide.
  315. func (c *Redshift) CreateHsmClientCertificate(input *CreateHsmClientCertificateInput) (*CreateHsmClientCertificateOutput, error) {
  316. req, out := c.CreateHsmClientCertificateRequest(input)
  317. err := req.Send()
  318. return out, err
  319. }
  320. const opCreateHsmConfiguration = "CreateHsmConfiguration"
  321. // CreateHsmConfigurationRequest generates a request for the CreateHsmConfiguration operation.
  322. func (c *Redshift) CreateHsmConfigurationRequest(input *CreateHsmConfigurationInput) (req *request.Request, output *CreateHsmConfigurationOutput) {
  323. op := &request.Operation{
  324. Name: opCreateHsmConfiguration,
  325. HTTPMethod: "POST",
  326. HTTPPath: "/",
  327. }
  328. if input == nil {
  329. input = &CreateHsmConfigurationInput{}
  330. }
  331. req = c.newRequest(op, input, output)
  332. output = &CreateHsmConfigurationOutput{}
  333. req.Data = output
  334. return
  335. }
  336. // Creates an HSM configuration that contains the information required by an
  337. // Amazon Redshift cluster to store and use database encryption keys in a Hardware
  338. // Security Module (HSM). After creating the HSM configuration, you can specify
  339. // it as a parameter when creating a cluster. The cluster will then store its
  340. // encryption keys in the HSM.
  341. //
  342. // In addition to creating an HSM configuration, you must also create an HSM
  343. // client certificate. For more information, go to Hardware Security Modules
  344. // (http://docs.aws.amazon.com/redshift/latest/mgmt/working-with-HSM.html) in
  345. // the Amazon Redshift Cluster Management Guide.
  346. func (c *Redshift) CreateHsmConfiguration(input *CreateHsmConfigurationInput) (*CreateHsmConfigurationOutput, error) {
  347. req, out := c.CreateHsmConfigurationRequest(input)
  348. err := req.Send()
  349. return out, err
  350. }
  351. const opCreateSnapshotCopyGrant = "CreateSnapshotCopyGrant"
  352. // CreateSnapshotCopyGrantRequest generates a request for the CreateSnapshotCopyGrant operation.
  353. func (c *Redshift) CreateSnapshotCopyGrantRequest(input *CreateSnapshotCopyGrantInput) (req *request.Request, output *CreateSnapshotCopyGrantOutput) {
  354. op := &request.Operation{
  355. Name: opCreateSnapshotCopyGrant,
  356. HTTPMethod: "POST",
  357. HTTPPath: "/",
  358. }
  359. if input == nil {
  360. input = &CreateSnapshotCopyGrantInput{}
  361. }
  362. req = c.newRequest(op, input, output)
  363. output = &CreateSnapshotCopyGrantOutput{}
  364. req.Data = output
  365. return
  366. }
  367. // Creates a snapshot copy grant that permits Amazon Redshift to use a customer
  368. // master key (CMK) from AWS Key Management Service (AWS KMS) to encrypt copied
  369. // snapshots in a destination region.
  370. //
  371. // For more information about managing snapshot copy grants, go to Amazon
  372. // Redshift Database Encryption (http://docs.aws.amazon.com/redshift/latest/mgmt/working-with-db-encryption.html)
  373. // in the Amazon Redshift Cluster Management Guide.
  374. func (c *Redshift) CreateSnapshotCopyGrant(input *CreateSnapshotCopyGrantInput) (*CreateSnapshotCopyGrantOutput, error) {
  375. req, out := c.CreateSnapshotCopyGrantRequest(input)
  376. err := req.Send()
  377. return out, err
  378. }
  379. const opCreateTags = "CreateTags"
  380. // CreateTagsRequest generates a request for the CreateTags operation.
  381. func (c *Redshift) CreateTagsRequest(input *CreateTagsInput) (req *request.Request, output *CreateTagsOutput) {
  382. op := &request.Operation{
  383. Name: opCreateTags,
  384. HTTPMethod: "POST",
  385. HTTPPath: "/",
  386. }
  387. if input == nil {
  388. input = &CreateTagsInput{}
  389. }
  390. req = c.newRequest(op, input, output)
  391. output = &CreateTagsOutput{}
  392. req.Data = output
  393. return
  394. }
  395. // Adds one or more tags to a specified resource.
  396. //
  397. // A resource can have up to 10 tags. If you try to create more than 10 tags
  398. // for a resource, you will receive an error and the attempt will fail.
  399. //
  400. // If you specify a key that already exists for the resource, the value for
  401. // that key will be updated with the new value.
  402. func (c *Redshift) CreateTags(input *CreateTagsInput) (*CreateTagsOutput, error) {
  403. req, out := c.CreateTagsRequest(input)
  404. err := req.Send()
  405. return out, err
  406. }
  407. const opDeleteCluster = "DeleteCluster"
  408. // DeleteClusterRequest generates a request for the DeleteCluster operation.
  409. func (c *Redshift) DeleteClusterRequest(input *DeleteClusterInput) (req *request.Request, output *DeleteClusterOutput) {
  410. op := &request.Operation{
  411. Name: opDeleteCluster,
  412. HTTPMethod: "POST",
  413. HTTPPath: "/",
  414. }
  415. if input == nil {
  416. input = &DeleteClusterInput{}
  417. }
  418. req = c.newRequest(op, input, output)
  419. output = &DeleteClusterOutput{}
  420. req.Data = output
  421. return
  422. }
  423. // Deletes a previously provisioned cluster. A successful response from the
  424. // web service indicates that the request was received correctly. Use DescribeClusters
  425. // to monitor the status of the deletion. The delete operation cannot be canceled
  426. // or reverted once submitted. For more information about managing clusters,
  427. // go to Amazon Redshift Clusters (http://docs.aws.amazon.com/redshift/latest/mgmt/working-with-clusters.html)
  428. // in the Amazon Redshift Cluster Management Guide .
  429. //
  430. // If you want to shut down the cluster and retain it for future use, set
  431. // SkipFinalClusterSnapshot to false and specify a name for FinalClusterSnapshotIdentifier.
  432. // You can later restore this snapshot to resume using the cluster. If a final
  433. // cluster snapshot is requested, the status of the cluster will be "final-snapshot"
  434. // while the snapshot is being taken, then it's "deleting" once Amazon Redshift
  435. // begins deleting the cluster.
  436. //
  437. // For more information about managing clusters, go to Amazon Redshift Clusters
  438. // (http://docs.aws.amazon.com/redshift/latest/mgmt/working-with-clusters.html)
  439. // in the Amazon Redshift Cluster Management Guide .
  440. func (c *Redshift) DeleteCluster(input *DeleteClusterInput) (*DeleteClusterOutput, error) {
  441. req, out := c.DeleteClusterRequest(input)
  442. err := req.Send()
  443. return out, err
  444. }
  445. const opDeleteClusterParameterGroup = "DeleteClusterParameterGroup"
  446. // DeleteClusterParameterGroupRequest generates a request for the DeleteClusterParameterGroup operation.
  447. func (c *Redshift) DeleteClusterParameterGroupRequest(input *DeleteClusterParameterGroupInput) (req *request.Request, output *DeleteClusterParameterGroupOutput) {
  448. op := &request.Operation{
  449. Name: opDeleteClusterParameterGroup,
  450. HTTPMethod: "POST",
  451. HTTPPath: "/",
  452. }
  453. if input == nil {
  454. input = &DeleteClusterParameterGroupInput{}
  455. }
  456. req = c.newRequest(op, input, output)
  457. output = &DeleteClusterParameterGroupOutput{}
  458. req.Data = output
  459. return
  460. }
  461. // Deletes a specified Amazon Redshift parameter group. You cannot delete a
  462. // parameter group if it is associated with a cluster.
  463. func (c *Redshift) DeleteClusterParameterGroup(input *DeleteClusterParameterGroupInput) (*DeleteClusterParameterGroupOutput, error) {
  464. req, out := c.DeleteClusterParameterGroupRequest(input)
  465. err := req.Send()
  466. return out, err
  467. }
  468. const opDeleteClusterSecurityGroup = "DeleteClusterSecurityGroup"
  469. // DeleteClusterSecurityGroupRequest generates a request for the DeleteClusterSecurityGroup operation.
  470. func (c *Redshift) DeleteClusterSecurityGroupRequest(input *DeleteClusterSecurityGroupInput) (req *request.Request, output *DeleteClusterSecurityGroupOutput) {
  471. op := &request.Operation{
  472. Name: opDeleteClusterSecurityGroup,
  473. HTTPMethod: "POST",
  474. HTTPPath: "/",
  475. }
  476. if input == nil {
  477. input = &DeleteClusterSecurityGroupInput{}
  478. }
  479. req = c.newRequest(op, input, output)
  480. output = &DeleteClusterSecurityGroupOutput{}
  481. req.Data = output
  482. return
  483. }
  484. // Deletes an Amazon Redshift security group.
  485. //
  486. // You cannot delete a security group that is associated with any clusters.
  487. // You cannot delete the default security group. For information about managing
  488. // security groups, go to Amazon Redshift Cluster Security Groups (http://docs.aws.amazon.com/redshift/latest/mgmt/working-with-security-groups.html)
  489. // in the Amazon Redshift Cluster Management Guide.
  490. func (c *Redshift) DeleteClusterSecurityGroup(input *DeleteClusterSecurityGroupInput) (*DeleteClusterSecurityGroupOutput, error) {
  491. req, out := c.DeleteClusterSecurityGroupRequest(input)
  492. err := req.Send()
  493. return out, err
  494. }
  495. const opDeleteClusterSnapshot = "DeleteClusterSnapshot"
  496. // DeleteClusterSnapshotRequest generates a request for the DeleteClusterSnapshot operation.
  497. func (c *Redshift) DeleteClusterSnapshotRequest(input *DeleteClusterSnapshotInput) (req *request.Request, output *DeleteClusterSnapshotOutput) {
  498. op := &request.Operation{
  499. Name: opDeleteClusterSnapshot,
  500. HTTPMethod: "POST",
  501. HTTPPath: "/",
  502. }
  503. if input == nil {
  504. input = &DeleteClusterSnapshotInput{}
  505. }
  506. req = c.newRequest(op, input, output)
  507. output = &DeleteClusterSnapshotOutput{}
  508. req.Data = output
  509. return
  510. }
  511. // Deletes the specified manual snapshot. The snapshot must be in the available
  512. // state, with no other users authorized to access the snapshot.
  513. //
  514. // Unlike automated snapshots, manual snapshots are retained even after you
  515. // delete your cluster. Amazon Redshift does not delete your manual snapshots.
  516. // You must delete manual snapshot explicitly to avoid getting charged. If other
  517. // accounts are authorized to access the snapshot, you must revoke all of the
  518. // authorizations before you can delete the snapshot.
  519. func (c *Redshift) DeleteClusterSnapshot(input *DeleteClusterSnapshotInput) (*DeleteClusterSnapshotOutput, error) {
  520. req, out := c.DeleteClusterSnapshotRequest(input)
  521. err := req.Send()
  522. return out, err
  523. }
  524. const opDeleteClusterSubnetGroup = "DeleteClusterSubnetGroup"
  525. // DeleteClusterSubnetGroupRequest generates a request for the DeleteClusterSubnetGroup operation.
  526. func (c *Redshift) DeleteClusterSubnetGroupRequest(input *DeleteClusterSubnetGroupInput) (req *request.Request, output *DeleteClusterSubnetGroupOutput) {
  527. op := &request.Operation{
  528. Name: opDeleteClusterSubnetGroup,
  529. HTTPMethod: "POST",
  530. HTTPPath: "/",
  531. }
  532. if input == nil {
  533. input = &DeleteClusterSubnetGroupInput{}
  534. }
  535. req = c.newRequest(op, input, output)
  536. output = &DeleteClusterSubnetGroupOutput{}
  537. req.Data = output
  538. return
  539. }
  540. // Deletes the specified cluster subnet group.
  541. func (c *Redshift) DeleteClusterSubnetGroup(input *DeleteClusterSubnetGroupInput) (*DeleteClusterSubnetGroupOutput, error) {
  542. req, out := c.DeleteClusterSubnetGroupRequest(input)
  543. err := req.Send()
  544. return out, err
  545. }
  546. const opDeleteEventSubscription = "DeleteEventSubscription"
  547. // DeleteEventSubscriptionRequest generates a request for the DeleteEventSubscription operation.
  548. func (c *Redshift) DeleteEventSubscriptionRequest(input *DeleteEventSubscriptionInput) (req *request.Request, output *DeleteEventSubscriptionOutput) {
  549. op := &request.Operation{
  550. Name: opDeleteEventSubscription,
  551. HTTPMethod: "POST",
  552. HTTPPath: "/",
  553. }
  554. if input == nil {
  555. input = &DeleteEventSubscriptionInput{}
  556. }
  557. req = c.newRequest(op, input, output)
  558. output = &DeleteEventSubscriptionOutput{}
  559. req.Data = output
  560. return
  561. }
  562. // Deletes an Amazon Redshift event notification subscription.
  563. func (c *Redshift) DeleteEventSubscription(input *DeleteEventSubscriptionInput) (*DeleteEventSubscriptionOutput, error) {
  564. req, out := c.DeleteEventSubscriptionRequest(input)
  565. err := req.Send()
  566. return out, err
  567. }
  568. const opDeleteHsmClientCertificate = "DeleteHsmClientCertificate"
  569. // DeleteHsmClientCertificateRequest generates a request for the DeleteHsmClientCertificate operation.
  570. func (c *Redshift) DeleteHsmClientCertificateRequest(input *DeleteHsmClientCertificateInput) (req *request.Request, output *DeleteHsmClientCertificateOutput) {
  571. op := &request.Operation{
  572. Name: opDeleteHsmClientCertificate,
  573. HTTPMethod: "POST",
  574. HTTPPath: "/",
  575. }
  576. if input == nil {
  577. input = &DeleteHsmClientCertificateInput{}
  578. }
  579. req = c.newRequest(op, input, output)
  580. output = &DeleteHsmClientCertificateOutput{}
  581. req.Data = output
  582. return
  583. }
  584. // Deletes the specified HSM client certificate.
  585. func (c *Redshift) DeleteHsmClientCertificate(input *DeleteHsmClientCertificateInput) (*DeleteHsmClientCertificateOutput, error) {
  586. req, out := c.DeleteHsmClientCertificateRequest(input)
  587. err := req.Send()
  588. return out, err
  589. }
  590. const opDeleteHsmConfiguration = "DeleteHsmConfiguration"
  591. // DeleteHsmConfigurationRequest generates a request for the DeleteHsmConfiguration operation.
  592. func (c *Redshift) DeleteHsmConfigurationRequest(input *DeleteHsmConfigurationInput) (req *request.Request, output *DeleteHsmConfigurationOutput) {
  593. op := &request.Operation{
  594. Name: opDeleteHsmConfiguration,
  595. HTTPMethod: "POST",
  596. HTTPPath: "/",
  597. }
  598. if input == nil {
  599. input = &DeleteHsmConfigurationInput{}
  600. }
  601. req = c.newRequest(op, input, output)
  602. output = &DeleteHsmConfigurationOutput{}
  603. req.Data = output
  604. return
  605. }
  606. // Deletes the specified Amazon Redshift HSM configuration.
  607. func (c *Redshift) DeleteHsmConfiguration(input *DeleteHsmConfigurationInput) (*DeleteHsmConfigurationOutput, error) {
  608. req, out := c.DeleteHsmConfigurationRequest(input)
  609. err := req.Send()
  610. return out, err
  611. }
  612. const opDeleteSnapshotCopyGrant = "DeleteSnapshotCopyGrant"
  613. // DeleteSnapshotCopyGrantRequest generates a request for the DeleteSnapshotCopyGrant operation.
  614. func (c *Redshift) DeleteSnapshotCopyGrantRequest(input *DeleteSnapshotCopyGrantInput) (req *request.Request, output *DeleteSnapshotCopyGrantOutput) {
  615. op := &request.Operation{
  616. Name: opDeleteSnapshotCopyGrant,
  617. HTTPMethod: "POST",
  618. HTTPPath: "/",
  619. }
  620. if input == nil {
  621. input = &DeleteSnapshotCopyGrantInput{}
  622. }
  623. req = c.newRequest(op, input, output)
  624. output = &DeleteSnapshotCopyGrantOutput{}
  625. req.Data = output
  626. return
  627. }
  628. // Deletes the specified snapshot copy grant.
  629. func (c *Redshift) DeleteSnapshotCopyGrant(input *DeleteSnapshotCopyGrantInput) (*DeleteSnapshotCopyGrantOutput, error) {
  630. req, out := c.DeleteSnapshotCopyGrantRequest(input)
  631. err := req.Send()
  632. return out, err
  633. }
  634. const opDeleteTags = "DeleteTags"
  635. // DeleteTagsRequest generates a request for the DeleteTags operation.
  636. func (c *Redshift) DeleteTagsRequest(input *DeleteTagsInput) (req *request.Request, output *DeleteTagsOutput) {
  637. op := &request.Operation{
  638. Name: opDeleteTags,
  639. HTTPMethod: "POST",
  640. HTTPPath: "/",
  641. }
  642. if input == nil {
  643. input = &DeleteTagsInput{}
  644. }
  645. req = c.newRequest(op, input, output)
  646. output = &DeleteTagsOutput{}
  647. req.Data = output
  648. return
  649. }
  650. // Deletes a tag or tags from a resource. You must provide the ARN of the resource
  651. // from which you want to delete the tag or tags.
  652. func (c *Redshift) DeleteTags(input *DeleteTagsInput) (*DeleteTagsOutput, error) {
  653. req, out := c.DeleteTagsRequest(input)
  654. err := req.Send()
  655. return out, err
  656. }
  657. const opDescribeClusterParameterGroups = "DescribeClusterParameterGroups"
  658. // DescribeClusterParameterGroupsRequest generates a request for the DescribeClusterParameterGroups operation.
  659. func (c *Redshift) DescribeClusterParameterGroupsRequest(input *DescribeClusterParameterGroupsInput) (req *request.Request, output *DescribeClusterParameterGroupsOutput) {
  660. op := &request.Operation{
  661. Name: opDescribeClusterParameterGroups,
  662. HTTPMethod: "POST",
  663. HTTPPath: "/",
  664. Paginator: &request.Paginator{
  665. InputTokens: []string{"Marker"},
  666. OutputTokens: []string{"Marker"},
  667. LimitToken: "MaxRecords",
  668. TruncationToken: "",
  669. },
  670. }
  671. if input == nil {
  672. input = &DescribeClusterParameterGroupsInput{}
  673. }
  674. req = c.newRequest(op, input, output)
  675. output = &DescribeClusterParameterGroupsOutput{}
  676. req.Data = output
  677. return
  678. }
  679. // Returns a list of Amazon Redshift parameter groups, including parameter groups
  680. // you created and the default parameter group. For each parameter group, the
  681. // response includes the parameter group name, description, and parameter group
  682. // family name. You can optionally specify a name to retrieve the description
  683. // of a specific parameter group.
  684. //
  685. // For more information about parameters and parameter groups, go to Amazon
  686. // Redshift Parameter Groups (http://docs.aws.amazon.com/redshift/latest/mgmt/working-with-parameter-groups.html)
  687. // in the Amazon Redshift Cluster Management Guide.
  688. //
  689. // If you specify both tag keys and tag values in the same request, Amazon
  690. // Redshift returns all parameter groups that match any combination of the specified
  691. // keys and values. For example, if you have owner and environment for tag keys,
  692. // and admin and test for tag values, all parameter groups that have any combination
  693. // of those values are returned.
  694. //
  695. // If both tag keys and values are omitted from the request, parameter groups
  696. // are returned regardless of whether they have tag keys or values associated
  697. // with them.
  698. func (c *Redshift) DescribeClusterParameterGroups(input *DescribeClusterParameterGroupsInput) (*DescribeClusterParameterGroupsOutput, error) {
  699. req, out := c.DescribeClusterParameterGroupsRequest(input)
  700. err := req.Send()
  701. return out, err
  702. }
  703. func (c *Redshift) DescribeClusterParameterGroupsPages(input *DescribeClusterParameterGroupsInput, fn func(p *DescribeClusterParameterGroupsOutput, lastPage bool) (shouldContinue bool)) error {
  704. page, _ := c.DescribeClusterParameterGroupsRequest(input)
  705. return page.EachPage(func(p interface{}, lastPage bool) bool {
  706. return fn(p.(*DescribeClusterParameterGroupsOutput), lastPage)
  707. })
  708. }
  709. const opDescribeClusterParameters = "DescribeClusterParameters"
  710. // DescribeClusterParametersRequest generates a request for the DescribeClusterParameters operation.
  711. func (c *Redshift) DescribeClusterParametersRequest(input *DescribeClusterParametersInput) (req *request.Request, output *DescribeClusterParametersOutput) {
  712. op := &request.Operation{
  713. Name: opDescribeClusterParameters,
  714. HTTPMethod: "POST",
  715. HTTPPath: "/",
  716. Paginator: &request.Paginator{
  717. InputTokens: []string{"Marker"},
  718. OutputTokens: []string{"Marker"},
  719. LimitToken: "MaxRecords",
  720. TruncationToken: "",
  721. },
  722. }
  723. if input == nil {
  724. input = &DescribeClusterParametersInput{}
  725. }
  726. req = c.newRequest(op, input, output)
  727. output = &DescribeClusterParametersOutput{}
  728. req.Data = output
  729. return
  730. }
  731. // Returns a detailed list of parameters contained within the specified Amazon
  732. // Redshift parameter group. For each parameter the response includes information
  733. // such as parameter name, description, data type, value, whether the parameter
  734. // value is modifiable, and so on.
  735. //
  736. // You can specify source filter to retrieve parameters of only specific type.
  737. // For example, to retrieve parameters that were modified by a user action such
  738. // as from ModifyClusterParameterGroup, you can specify source equal to user.
  739. //
  740. // For more information about parameters and parameter groups, go to Amazon
  741. // Redshift Parameter Groups (http://docs.aws.amazon.com/redshift/latest/mgmt/working-with-parameter-groups.html)
  742. // in the Amazon Redshift Cluster Management Guide.
  743. func (c *Redshift) DescribeClusterParameters(input *DescribeClusterParametersInput) (*DescribeClusterParametersOutput, error) {
  744. req, out := c.DescribeClusterParametersRequest(input)
  745. err := req.Send()
  746. return out, err
  747. }
  748. func (c *Redshift) DescribeClusterParametersPages(input *DescribeClusterParametersInput, fn func(p *DescribeClusterParametersOutput, lastPage bool) (shouldContinue bool)) error {
  749. page, _ := c.DescribeClusterParametersRequest(input)
  750. return page.EachPage(func(p interface{}, lastPage bool) bool {
  751. return fn(p.(*DescribeClusterParametersOutput), lastPage)
  752. })
  753. }
  754. const opDescribeClusterSecurityGroups = "DescribeClusterSecurityGroups"
  755. // DescribeClusterSecurityGroupsRequest generates a request for the DescribeClusterSecurityGroups operation.
  756. func (c *Redshift) DescribeClusterSecurityGroupsRequest(input *DescribeClusterSecurityGroupsInput) (req *request.Request, output *DescribeClusterSecurityGroupsOutput) {
  757. op := &request.Operation{
  758. Name: opDescribeClusterSecurityGroups,
  759. HTTPMethod: "POST",
  760. HTTPPath: "/",
  761. Paginator: &request.Paginator{
  762. InputTokens: []string{"Marker"},
  763. OutputTokens: []string{"Marker"},
  764. LimitToken: "MaxRecords",
  765. TruncationToken: "",
  766. },
  767. }
  768. if input == nil {
  769. input = &DescribeClusterSecurityGroupsInput{}
  770. }
  771. req = c.newRequest(op, input, output)
  772. output = &DescribeClusterSecurityGroupsOutput{}
  773. req.Data = output
  774. return
  775. }
  776. // Returns information about Amazon Redshift security groups. If the name of
  777. // a security group is specified, the response will contain only information
  778. // about only that security group.
  779. //
  780. // For information about managing security groups, go to Amazon Redshift Cluster
  781. // Security Groups (http://docs.aws.amazon.com/redshift/latest/mgmt/working-with-security-groups.html)
  782. // in the Amazon Redshift Cluster Management Guide.
  783. //
  784. // If you specify both tag keys and tag values in the same request, Amazon
  785. // Redshift returns all security groups that match any combination of the specified
  786. // keys and values. For example, if you have owner and environment for tag keys,
  787. // and admin and test for tag values, all security groups that have any combination
  788. // of those values are returned.
  789. //
  790. // If both tag keys and values are omitted from the request, security groups
  791. // are returned regardless of whether they have tag keys or values associated
  792. // with them.
  793. func (c *Redshift) DescribeClusterSecurityGroups(input *DescribeClusterSecurityGroupsInput) (*DescribeClusterSecurityGroupsOutput, error) {
  794. req, out := c.DescribeClusterSecurityGroupsRequest(input)
  795. err := req.Send()
  796. return out, err
  797. }
  798. func (c *Redshift) DescribeClusterSecurityGroupsPages(input *DescribeClusterSecurityGroupsInput, fn func(p *DescribeClusterSecurityGroupsOutput, lastPage bool) (shouldContinue bool)) error {
  799. page, _ := c.DescribeClusterSecurityGroupsRequest(input)
  800. return page.EachPage(func(p interface{}, lastPage bool) bool {
  801. return fn(p.(*DescribeClusterSecurityGroupsOutput), lastPage)
  802. })
  803. }
  804. const opDescribeClusterSnapshots = "DescribeClusterSnapshots"
  805. // DescribeClusterSnapshotsRequest generates a request for the DescribeClusterSnapshots operation.
  806. func (c *Redshift) DescribeClusterSnapshotsRequest(input *DescribeClusterSnapshotsInput) (req *request.Request, output *DescribeClusterSnapshotsOutput) {
  807. op := &request.Operation{
  808. Name: opDescribeClusterSnapshots,
  809. HTTPMethod: "POST",
  810. HTTPPath: "/",
  811. Paginator: &request.Paginator{
  812. InputTokens: []string{"Marker"},
  813. OutputTokens: []string{"Marker"},
  814. LimitToken: "MaxRecords",
  815. TruncationToken: "",
  816. },
  817. }
  818. if input == nil {
  819. input = &DescribeClusterSnapshotsInput{}
  820. }
  821. req = c.newRequest(op, input, output)
  822. output = &DescribeClusterSnapshotsOutput{}
  823. req.Data = output
  824. return
  825. }
  826. // Returns one or more snapshot objects, which contain metadata about your cluster
  827. // snapshots. By default, this operation returns information about all snapshots
  828. // of all clusters that are owned by you AWS customer account. No information
  829. // is returned for snapshots owned by inactive AWS customer accounts.
  830. //
  831. // If you specify both tag keys and tag values in the same request, Amazon
  832. // Redshift returns all snapshots that match any combination of the specified
  833. // keys and values. For example, if you have owner and environment for tag keys,
  834. // and admin and test for tag values, all snapshots that have any combination
  835. // of those values are returned. Only snapshots that you own are returned in
  836. // the response; shared snapshots are not returned with the tag key and tag
  837. // value request parameters.
  838. //
  839. // If both tag keys and values are omitted from the request, snapshots are
  840. // returned regardless of whether they have tag keys or values associated with
  841. // them.
  842. func (c *Redshift) DescribeClusterSnapshots(input *DescribeClusterSnapshotsInput) (*DescribeClusterSnapshotsOutput, error) {
  843. req, out := c.DescribeClusterSnapshotsRequest(input)
  844. err := req.Send()
  845. return out, err
  846. }
  847. func (c *Redshift) DescribeClusterSnapshotsPages(input *DescribeClusterSnapshotsInput, fn func(p *DescribeClusterSnapshotsOutput, lastPage bool) (shouldContinue bool)) error {
  848. page, _ := c.DescribeClusterSnapshotsRequest(input)
  849. return page.EachPage(func(p interface{}, lastPage bool) bool {
  850. return fn(p.(*DescribeClusterSnapshotsOutput), lastPage)
  851. })
  852. }
  853. const opDescribeClusterSubnetGroups = "DescribeClusterSubnetGroups"
  854. // DescribeClusterSubnetGroupsRequest generates a request for the DescribeClusterSubnetGroups operation.
  855. func (c *Redshift) DescribeClusterSubnetGroupsRequest(input *DescribeClusterSubnetGroupsInput) (req *request.Request, output *DescribeClusterSubnetGroupsOutput) {
  856. op := &request.Operation{
  857. Name: opDescribeClusterSubnetGroups,
  858. HTTPMethod: "POST",
  859. HTTPPath: "/",
  860. Paginator: &request.Paginator{
  861. InputTokens: []string{"Marker"},
  862. OutputTokens: []string{"Marker"},
  863. LimitToken: "MaxRecords",
  864. TruncationToken: "",
  865. },
  866. }
  867. if input == nil {
  868. input = &DescribeClusterSubnetGroupsInput{}
  869. }
  870. req = c.newRequest(op, input, output)
  871. output = &DescribeClusterSubnetGroupsOutput{}
  872. req.Data = output
  873. return
  874. }
  875. // Returns one or more cluster subnet group objects, which contain metadata
  876. // about your cluster subnet groups. By default, this operation returns information
  877. // about all cluster subnet groups that are defined in you AWS account.
  878. //
  879. // If you specify both tag keys and tag values in the same request, Amazon
  880. // Redshift returns all subnet groups that match any combination of the specified
  881. // keys and values. For example, if you have owner and environment for tag keys,
  882. // and admin and test for tag values, all subnet groups that have any combination
  883. // of those values are returned.
  884. //
  885. // If both tag keys and values are omitted from the request, subnet groups
  886. // are returned regardless of whether they have tag keys or values associated
  887. // with them.
  888. func (c *Redshift) DescribeClusterSubnetGroups(input *DescribeClusterSubnetGroupsInput) (*DescribeClusterSubnetGroupsOutput, error) {
  889. req, out := c.DescribeClusterSubnetGroupsRequest(input)
  890. err := req.Send()
  891. return out, err
  892. }
  893. func (c *Redshift) DescribeClusterSubnetGroupsPages(input *DescribeClusterSubnetGroupsInput, fn func(p *DescribeClusterSubnetGroupsOutput, lastPage bool) (shouldContinue bool)) error {
  894. page, _ := c.DescribeClusterSubnetGroupsRequest(input)
  895. return page.EachPage(func(p interface{}, lastPage bool) bool {
  896. return fn(p.(*DescribeClusterSubnetGroupsOutput), lastPage)
  897. })
  898. }
  899. const opDescribeClusterVersions = "DescribeClusterVersions"
  900. // DescribeClusterVersionsRequest generates a request for the DescribeClusterVersions operation.
  901. func (c *Redshift) DescribeClusterVersionsRequest(input *DescribeClusterVersionsInput) (req *request.Request, output *DescribeClusterVersionsOutput) {
  902. op := &request.Operation{
  903. Name: opDescribeClusterVersions,
  904. HTTPMethod: "POST",
  905. HTTPPath: "/",
  906. Paginator: &request.Paginator{
  907. InputTokens: []string{"Marker"},
  908. OutputTokens: []string{"Marker"},
  909. LimitToken: "MaxRecords",
  910. TruncationToken: "",
  911. },
  912. }
  913. if input == nil {
  914. input = &DescribeClusterVersionsInput{}
  915. }
  916. req = c.newRequest(op, input, output)
  917. output = &DescribeClusterVersionsOutput{}
  918. req.Data = output
  919. return
  920. }
  921. // Returns descriptions of the available Amazon Redshift cluster versions. You
  922. // can call this operation even before creating any clusters to learn more about
  923. // the Amazon Redshift versions. For more information about managing clusters,
  924. // go to Amazon Redshift Clusters (http://docs.aws.amazon.com/redshift/latest/mgmt/working-with-clusters.html)
  925. // in the Amazon Redshift Cluster Management Guide
  926. func (c *Redshift) DescribeClusterVersions(input *DescribeClusterVersionsInput) (*DescribeClusterVersionsOutput, error) {
  927. req, out := c.DescribeClusterVersionsRequest(input)
  928. err := req.Send()
  929. return out, err
  930. }
  931. func (c *Redshift) DescribeClusterVersionsPages(input *DescribeClusterVersionsInput, fn func(p *DescribeClusterVersionsOutput, lastPage bool) (shouldContinue bool)) error {
  932. page, _ := c.DescribeClusterVersionsRequest(input)
  933. return page.EachPage(func(p interface{}, lastPage bool) bool {
  934. return fn(p.(*DescribeClusterVersionsOutput), lastPage)
  935. })
  936. }
  937. const opDescribeClusters = "DescribeClusters"
  938. // DescribeClustersRequest generates a request for the DescribeClusters operation.
  939. func (c *Redshift) DescribeClustersRequest(input *DescribeClustersInput) (req *request.Request, output *DescribeClustersOutput) {
  940. op := &request.Operation{
  941. Name: opDescribeClusters,
  942. HTTPMethod: "POST",
  943. HTTPPath: "/",
  944. Paginator: &request.Paginator{
  945. InputTokens: []string{"Marker"},
  946. OutputTokens: []string{"Marker"},
  947. LimitToken: "MaxRecords",
  948. TruncationToken: "",
  949. },
  950. }
  951. if input == nil {
  952. input = &DescribeClustersInput{}
  953. }
  954. req = c.newRequest(op, input, output)
  955. output = &DescribeClustersOutput{}
  956. req.Data = output
  957. return
  958. }
  959. // Returns properties of provisioned clusters including general cluster properties,
  960. // cluster database properties, maintenance and backup properties, and security
  961. // and access properties. This operation supports pagination. For more information
  962. // about managing clusters, go to Amazon Redshift Clusters (http://docs.aws.amazon.com/redshift/latest/mgmt/working-with-clusters.html)
  963. // in the Amazon Redshift Cluster Management Guide .
  964. //
  965. // If you specify both tag keys and tag values in the same request, Amazon
  966. // Redshift returns all clusters that match any combination of the specified
  967. // keys and values. For example, if you have owner and environment for tag keys,
  968. // and admin and test for tag values, all clusters that have any combination
  969. // of those values are returned.
  970. //
  971. // If both tag keys and values are omitted from the request, clusters are returned
  972. // regardless of whether they have tag keys or values associated with them.
  973. func (c *Redshift) DescribeClusters(input *DescribeClustersInput) (*DescribeClustersOutput, error) {
  974. req, out := c.DescribeClustersRequest(input)
  975. err := req.Send()
  976. return out, err
  977. }
  978. func (c *Redshift) DescribeClustersPages(input *DescribeClustersInput, fn func(p *DescribeClustersOutput, lastPage bool) (shouldContinue bool)) error {
  979. page, _ := c.DescribeClustersRequest(input)
  980. return page.EachPage(func(p interface{}, lastPage bool) bool {
  981. return fn(p.(*DescribeClustersOutput), lastPage)
  982. })
  983. }
  984. const opDescribeDefaultClusterParameters = "DescribeDefaultClusterParameters"
  985. // DescribeDefaultClusterParametersRequest generates a request for the DescribeDefaultClusterParameters operation.
  986. func (c *Redshift) DescribeDefaultClusterParametersRequest(input *DescribeDefaultClusterParametersInput) (req *request.Request, output *DescribeDefaultClusterParametersOutput) {
  987. op := &request.Operation{
  988. Name: opDescribeDefaultClusterParameters,
  989. HTTPMethod: "POST",
  990. HTTPPath: "/",
  991. Paginator: &request.Paginator{
  992. InputTokens: []string{"Marker"},
  993. OutputTokens: []string{"DefaultClusterParameters.Marker"},
  994. LimitToken: "MaxRecords",
  995. TruncationToken: "",
  996. },
  997. }
  998. if input == nil {
  999. input = &DescribeDefaultClusterParametersInput{}
  1000. }
  1001. req = c.newRequest(op, input, output)
  1002. output = &DescribeDefaultClusterParametersOutput{}
  1003. req.Data = output
  1004. return
  1005. }
  1006. // Returns a list of parameter settings for the specified parameter group family.
  1007. //
  1008. // For more information about parameters and parameter groups, go to Amazon
  1009. // Redshift Parameter Groups (http://docs.aws.amazon.com/redshift/latest/mgmt/working-with-parameter-groups.html)
  1010. // in the Amazon Redshift Cluster Management Guide.
  1011. func (c *Redshift) DescribeDefaultClusterParameters(input *DescribeDefaultClusterParametersInput) (*DescribeDefaultClusterParametersOutput, error) {
  1012. req, out := c.DescribeDefaultClusterParametersRequest(input)
  1013. err := req.Send()
  1014. return out, err
  1015. }
  1016. func (c *Redshift) DescribeDefaultClusterParametersPages(input *DescribeDefaultClusterParametersInput, fn func(p *DescribeDefaultClusterParametersOutput, lastPage bool) (shouldContinue bool)) error {
  1017. page, _ := c.DescribeDefaultClusterParametersRequest(input)
  1018. return page.EachPage(func(p interface{}, lastPage bool) bool {
  1019. return fn(p.(*DescribeDefaultClusterParametersOutput), lastPage)
  1020. })
  1021. }
  1022. const opDescribeEventCategories = "DescribeEventCategories"
  1023. // DescribeEventCategoriesRequest generates a request for the DescribeEventCategories operation.
  1024. func (c *Redshift) DescribeEventCategoriesRequest(input *DescribeEventCategoriesInput) (req *request.Request, output *DescribeEventCategoriesOutput) {
  1025. op := &request.Operation{
  1026. Name: opDescribeEventCategories,
  1027. HTTPMethod: "POST",
  1028. HTTPPath: "/",
  1029. }
  1030. if input == nil {
  1031. input = &DescribeEventCategoriesInput{}
  1032. }
  1033. req = c.newRequest(op, input, output)
  1034. output = &DescribeEventCategoriesOutput{}
  1035. req.Data = output
  1036. return
  1037. }
  1038. // Displays a list of event categories for all event source types, or for a
  1039. // specified source type. For a list of the event categories and source types,
  1040. // go to Amazon Redshift Event Notifications (http://docs.aws.amazon.com/redshift/latest/mgmt/working-with-event-notifications.html).
  1041. func (c *Redshift) DescribeEventCategories(input *DescribeEventCategoriesInput) (*DescribeEventCategoriesOutput, error) {
  1042. req, out := c.DescribeEventCategoriesRequest(input)
  1043. err := req.Send()
  1044. return out, err
  1045. }
  1046. const opDescribeEventSubscriptions = "DescribeEventSubscriptions"
  1047. // DescribeEventSubscriptionsRequest generates a request for the DescribeEventSubscriptions operation.
  1048. func (c *Redshift) DescribeEventSubscriptionsRequest(input *DescribeEventSubscriptionsInput) (req *request.Request, output *DescribeEventSubscriptionsOutput) {
  1049. op := &request.Operation{
  1050. Name: opDescribeEventSubscriptions,
  1051. HTTPMethod: "POST",
  1052. HTTPPath: "/",
  1053. Paginator: &request.Paginator{
  1054. InputTokens: []string{"Marker"},
  1055. OutputTokens: []string{"Marker"},
  1056. LimitToken: "MaxRecords",
  1057. TruncationToken: "",
  1058. },
  1059. }
  1060. if input == nil {
  1061. input = &DescribeEventSubscriptionsInput{}
  1062. }
  1063. req = c.newRequest(op, input, output)
  1064. output = &DescribeEventSubscriptionsOutput{}
  1065. req.Data = output
  1066. return
  1067. }
  1068. // Lists descriptions of all the Amazon Redshift event notifications subscription
  1069. // for a customer account. If you specify a subscription name, lists the description
  1070. // for that subscription.
  1071. func (c *Redshift) DescribeEventSubscriptions(input *DescribeEventSubscriptionsInput) (*DescribeEventSubscriptionsOutput, error) {
  1072. req, out := c.DescribeEventSubscriptionsRequest(input)
  1073. err := req.Send()
  1074. return out, err
  1075. }
  1076. func (c *Redshift) DescribeEventSubscriptionsPages(input *DescribeEventSubscriptionsInput, fn func(p *DescribeEventSubscriptionsOutput, lastPage bool) (shouldContinue bool)) error {
  1077. page, _ := c.DescribeEventSubscriptionsRequest(input)
  1078. return page.EachPage(func(p interface{}, lastPage bool) bool {
  1079. return fn(p.(*DescribeEventSubscriptionsOutput), lastPage)
  1080. })
  1081. }
  1082. const opDescribeEvents = "DescribeEvents"
  1083. // DescribeEventsRequest generates a request for the DescribeEvents operation.
  1084. func (c *Redshift) DescribeEventsRequest(input *DescribeEventsInput) (req *request.Request, output *DescribeEventsOutput) {
  1085. op := &request.Operation{
  1086. Name: opDescribeEvents,
  1087. HTTPMethod: "POST",
  1088. HTTPPath: "/",
  1089. Paginator: &request.Paginator{
  1090. InputTokens: []string{"Marker"},
  1091. OutputTokens: []string{"Marker"},
  1092. LimitToken: "MaxRecords",
  1093. TruncationToken: "",
  1094. },
  1095. }
  1096. if input == nil {
  1097. input = &DescribeEventsInput{}
  1098. }
  1099. req = c.newRequest(op, input, output)
  1100. output = &DescribeEventsOutput{}
  1101. req.Data = output
  1102. return
  1103. }
  1104. // Returns events related to clusters, security groups, snapshots, and parameter
  1105. // groups for the past 14 days. Events specific to a particular cluster, security
  1106. // group, snapshot or parameter group can be obtained by providing the name
  1107. // as a parameter. By default, the past hour of events are returned.
  1108. func (c *Redshift) DescribeEvents(input *DescribeEventsInput) (*DescribeEventsOutput, error) {
  1109. req, out := c.DescribeEventsRequest(input)
  1110. err := req.Send()
  1111. return out, err
  1112. }
  1113. func (c *Redshift) DescribeEventsPages(input *DescribeEventsInput, fn func(p *DescribeEventsOutput, lastPage bool) (shouldContinue bool)) error {
  1114. page, _ := c.DescribeEventsRequest(input)
  1115. return page.EachPage(func(p interface{}, lastPage bool) bool {
  1116. return fn(p.(*DescribeEventsOutput), lastPage)
  1117. })
  1118. }
  1119. const opDescribeHsmClientCertificates = "DescribeHsmClientCertificates"
  1120. // DescribeHsmClientCertificatesRequest generates a request for the DescribeHsmClientCertificates operation.
  1121. func (c *Redshift) DescribeHsmClientCertificatesRequest(input *DescribeHsmClientCertificatesInput) (req *request.Request, output *DescribeHsmClientCertificatesOutput) {
  1122. op := &request.Operation{
  1123. Name: opDescribeHsmClientCertificates,
  1124. HTTPMethod: "POST",
  1125. HTTPPath: "/",
  1126. Paginator: &request.Paginator{
  1127. InputTokens: []string{"Marker"},
  1128. OutputTokens: []string{"Marker"},
  1129. LimitToken: "MaxRecords",
  1130. TruncationToken: "",
  1131. },
  1132. }
  1133. if input == nil {
  1134. input = &DescribeHsmClientCertificatesInput{}
  1135. }
  1136. req = c.newRequest(op, input, output)
  1137. output = &DescribeHsmClientCertificatesOutput{}
  1138. req.Data = output
  1139. return
  1140. }
  1141. // Returns information about the specified HSM client certificate. If no certificate
  1142. // ID is specified, returns information about all the HSM certificates owned
  1143. // by your AWS customer account.
  1144. //
  1145. // If you specify both tag keys and tag values in the same request, Amazon
  1146. // Redshift returns all HSM client certificates that match any combination of
  1147. // the specified keys and values. For example, if you have owner and environment
  1148. // for tag keys, and admin and test for tag values, all HSM client certificates
  1149. // that have any combination of those values are returned.
  1150. //
  1151. // If both tag keys and values are omitted from the request, HSM client certificates
  1152. // are returned regardless of whether they have tag keys or values associated
  1153. // with them.
  1154. func (c *Redshift) DescribeHsmClientCertificates(input *DescribeHsmClientCertificatesInput) (*DescribeHsmClientCertificatesOutput, error) {
  1155. req, out := c.DescribeHsmClientCertificatesRequest(input)
  1156. err := req.Send()
  1157. return out, err
  1158. }
  1159. func (c *Redshift) DescribeHsmClientCertificatesPages(input *DescribeHsmClientCertificatesInput, fn func(p *DescribeHsmClientCertificatesOutput, lastPage bool) (shouldContinue bool)) error {
  1160. page, _ := c.DescribeHsmClientCertificatesRequest(input)
  1161. return page.EachPage(func(p interface{}, lastPage bool) bool {
  1162. return fn(p.(*DescribeHsmClientCertificatesOutput), lastPage)
  1163. })
  1164. }
  1165. const opDescribeHsmConfigurations = "DescribeHsmConfigurations"
  1166. // DescribeHsmConfigurationsRequest generates a request for the DescribeHsmConfigurations operation.
  1167. func (c *Redshift) DescribeHsmConfigurationsRequest(input *DescribeHsmConfigurationsInput) (req *request.Request, output *DescribeHsmConfigurationsOutput) {
  1168. op := &request.Operation{
  1169. Name: opDescribeHsmConfigurations,
  1170. HTTPMethod: "POST",
  1171. HTTPPath: "/",
  1172. Paginator: &request.Paginator{
  1173. InputTokens: []string{"Marker"},
  1174. OutputTokens: []string{"Marker"},
  1175. LimitToken: "MaxRecords",
  1176. TruncationToken: "",
  1177. },
  1178. }
  1179. if input == nil {
  1180. input = &DescribeHsmConfigurationsInput{}
  1181. }
  1182. req = c.newRequest(op, input, output)
  1183. output = &DescribeHsmConfigurationsOutput{}
  1184. req.Data = output
  1185. return
  1186. }
  1187. // Returns information about the specified Amazon Redshift HSM configuration.
  1188. // If no configuration ID is specified, returns information about all the HSM
  1189. // configurations owned by your AWS customer account.
  1190. //
  1191. // If you specify both tag keys and tag values in the same request, Amazon
  1192. // Redshift returns all HSM connections that match any combination of the specified
  1193. // keys and values. For example, if you have owner and environment for tag keys,
  1194. // and admin and test for tag values, all HSM connections that have any combination
  1195. // of those values are returned.
  1196. //
  1197. // If both tag keys and values are omitted from the request, HSM connections
  1198. // are returned regardless of whether they have tag keys or values associated
  1199. // with them.
  1200. func (c *Redshift) DescribeHsmConfigurations(input *DescribeHsmConfigurationsInput) (*DescribeHsmConfigurationsOutput, error) {
  1201. req, out := c.DescribeHsmConfigurationsRequest(input)
  1202. err := req.Send()
  1203. return out, err
  1204. }
  1205. func (c *Redshift) DescribeHsmConfigurationsPages(input *DescribeHsmConfigurationsInput, fn func(p *DescribeHsmConfigurationsOutput, lastPage bool) (shouldContinue bool)) error {
  1206. page, _ := c.DescribeHsmConfigurationsRequest(input)
  1207. return page.EachPage(func(p interface{}, lastPage bool) bool {
  1208. return fn(p.(*DescribeHsmConfigurationsOutput), lastPage)
  1209. })
  1210. }
  1211. const opDescribeLoggingStatus = "DescribeLoggingStatus"
  1212. // DescribeLoggingStatusRequest generates a request for the DescribeLoggingStatus operation.
  1213. func (c *Redshift) DescribeLoggingStatusRequest(input *DescribeLoggingStatusInput) (req *request.Request, output *LoggingStatus) {
  1214. op := &request.Operation{
  1215. Name: opDescribeLoggingStatus,
  1216. HTTPMethod: "POST",
  1217. HTTPPath: "/",
  1218. }
  1219. if input == nil {
  1220. input = &DescribeLoggingStatusInput{}
  1221. }
  1222. req = c.newRequest(op, input, output)
  1223. output = &LoggingStatus{}
  1224. req.Data = output
  1225. return
  1226. }
  1227. // Describes whether information, such as queries and connection attempts, is
  1228. // being logged for the specified Amazon Redshift cluster.
  1229. func (c *Redshift) DescribeLoggingStatus(input *DescribeLoggingStatusInput) (*LoggingStatus, error) {
  1230. req, out := c.DescribeLoggingStatusRequest(input)
  1231. err := req.Send()
  1232. return out, err
  1233. }
  1234. const opDescribeOrderableClusterOptions = "DescribeOrderableClusterOptions"
  1235. // DescribeOrderableClusterOptionsRequest generates a request for the DescribeOrderableClusterOptions operation.
  1236. func (c *Redshift) DescribeOrderableClusterOptionsRequest(input *DescribeOrderableClusterOptionsInput) (req *request.Request, output *DescribeOrderableClusterOptionsOutput) {
  1237. op := &request.Operation{
  1238. Name: opDescribeOrderableClusterOptions,
  1239. HTTPMethod: "POST",
  1240. HTTPPath: "/",
  1241. Paginator: &request.Paginator{
  1242. InputTokens: []string{"Marker"},
  1243. OutputTokens: []string{"Marker"},
  1244. LimitToken: "MaxRecords",
  1245. TruncationToken: "",
  1246. },
  1247. }
  1248. if input == nil {
  1249. input = &DescribeOrderableClusterOptionsInput{}
  1250. }
  1251. req = c.newRequest(op, input, output)
  1252. output = &DescribeOrderableClusterOptionsOutput{}
  1253. req.Data = output
  1254. return
  1255. }
  1256. // Returns a list of orderable cluster options. Before you create a new cluster
  1257. // you can use this operation to find what options are available, such as the
  1258. // EC2 Availability Zones (AZ) in the specific AWS region that you can specify,
  1259. // and the node types you can request. The node types differ by available storage,
  1260. // memory, CPU and price. With the cost involved you might want to obtain a
  1261. // list of cluster options in the specific region and specify values when creating
  1262. // a cluster. For more information about managing clusters, go to Amazon Redshift
  1263. // Clusters (http://docs.aws.amazon.com/redshift/latest/mgmt/working-with-clusters.html)
  1264. // in the Amazon Redshift Cluster Management Guide
  1265. func (c *Redshift) DescribeOrderableClusterOptions(input *DescribeOrderableClusterOptionsInput) (*DescribeOrderableClusterOptionsOutput, error) {
  1266. req, out := c.DescribeOrderableClusterOptionsRequest(input)
  1267. err := req.Send()
  1268. return out, err
  1269. }
  1270. func (c *Redshift) DescribeOrderableClusterOptionsPages(input *DescribeOrderableClusterOptionsInput, fn func(p *DescribeOrderableClusterOptionsOutput, lastPage bool) (shouldContinue bool)) error {
  1271. page, _ := c.DescribeOrderableClusterOptionsRequest(input)
  1272. return page.EachPage(func(p interface{}, lastPage bool) bool {
  1273. return fn(p.(*DescribeOrderableClusterOptionsOutput), lastPage)
  1274. })
  1275. }
  1276. const opDescribeReservedNodeOfferings = "DescribeReservedNodeOfferings"
  1277. // DescribeReservedNodeOfferingsRequest generates a request for the DescribeReservedNodeOfferings operation.
  1278. func (c *Redshift) DescribeReservedNodeOfferingsRequest(input *DescribeReservedNodeOfferingsInput) (req *request.Request, output *DescribeReservedNodeOfferingsOutput) {
  1279. op := &request.Operation{
  1280. Name: opDescribeReservedNodeOfferings,
  1281. HTTPMethod: "POST",
  1282. HTTPPath: "/",
  1283. Paginator: &request.Paginator{
  1284. InputTokens: []string{"Marker"},
  1285. OutputTokens: []string{"Marker"},
  1286. LimitToken: "MaxRecords",
  1287. TruncationToken: "",
  1288. },
  1289. }
  1290. if input == nil {
  1291. input = &DescribeReservedNodeOfferingsInput{}
  1292. }
  1293. req = c.newRequest(op, input, output)
  1294. output = &DescribeReservedNodeOfferingsOutput{}
  1295. req.Data = output
  1296. return
  1297. }
  1298. // Returns a list of the available reserved node offerings by Amazon Redshift
  1299. // with their descriptions including the node type, the fixed and recurring
  1300. // costs of reserving the node and duration the node will be reserved for you.
  1301. // These descriptions help you determine which reserve node offering you want
  1302. // to purchase. You then use the unique offering ID in you call to PurchaseReservedNodeOffering
  1303. // to reserve one or more nodes for your Amazon Redshift cluster.
  1304. //
  1305. // For more information about reserved node offerings, go to Purchasing Reserved
  1306. // Nodes (http://docs.aws.amazon.com/redshift/latest/mgmt/purchase-reserved-node-instance.html)
  1307. // in the Amazon Redshift Cluster Management Guide.
  1308. func (c *Redshift) DescribeReservedNodeOfferings(input *DescribeReservedNodeOfferingsInput) (*DescribeReservedNodeOfferingsOutput, error) {
  1309. req, out := c.DescribeReservedNodeOfferingsRequest(input)
  1310. err := req.Send()
  1311. return out, err
  1312. }
  1313. func (c *Redshift) DescribeReservedNodeOfferingsPages(input *DescribeReservedNodeOfferingsInput, fn func(p *DescribeReservedNodeOfferingsOutput, lastPage bool) (shouldContinue bool)) error {
  1314. page, _ := c.DescribeReservedNodeOfferingsRequest(input)
  1315. return page.EachPage(func(p interface{}, lastPage bool) bool {
  1316. return fn(p.(*DescribeReservedNodeOfferingsOutput), lastPage)
  1317. })
  1318. }
  1319. const opDescribeReservedNodes = "DescribeReservedNodes"
  1320. // DescribeReservedNodesRequest generates a request for the DescribeReservedNodes operation.
  1321. func (c *Redshift) DescribeReservedNodesRequest(input *DescribeReservedNodesInput) (req *request.Request, output *DescribeReservedNodesOutput) {
  1322. op := &request.Operation{
  1323. Name: opDescribeReservedNodes,
  1324. HTTPMethod: "POST",
  1325. HTTPPath: "/",
  1326. Paginator: &request.Paginator{
  1327. InputTokens: []string{"Marker"},
  1328. OutputTokens: []string{"Marker"},
  1329. LimitToken: "MaxRecords",
  1330. TruncationToken: "",
  1331. },
  1332. }
  1333. if input == nil {
  1334. input = &DescribeReservedNodesInput{}
  1335. }
  1336. req = c.newRequest(op, input, output)
  1337. output = &DescribeReservedNodesOutput{}
  1338. req.Data = output
  1339. return
  1340. }
  1341. // Returns the descriptions of the reserved nodes.
  1342. func (c *Redshift) DescribeReservedNodes(input *DescribeReservedNodesInput) (*DescribeReservedNodesOutput, error) {
  1343. req, out := c.DescribeReservedNodesRequest(input)
  1344. err := req.Send()
  1345. return out, err
  1346. }
  1347. func (c *Redshift) DescribeReservedNodesPages(input *DescribeReservedNodesInput, fn func(p *DescribeReservedNodesOutput, lastPage bool) (shouldContinue bool)) error {
  1348. page, _ := c.DescribeReservedNodesRequest(input)
  1349. return page.EachPage(func(p interface{}, lastPage bool) bool {
  1350. return fn(p.(*DescribeReservedNodesOutput), lastPage)
  1351. })
  1352. }
  1353. const opDescribeResize = "DescribeResize"
  1354. // DescribeResizeRequest generates a request for the DescribeResize operation.
  1355. func (c *Redshift) DescribeResizeRequest(input *DescribeResizeInput) (req *request.Request, output *DescribeResizeOutput) {
  1356. op := &request.Operation{
  1357. Name: opDescribeResize,
  1358. HTTPMethod: "POST",
  1359. HTTPPath: "/",
  1360. }
  1361. if input == nil {
  1362. input = &DescribeResizeInput{}
  1363. }
  1364. req = c.newRequest(op, input, output)
  1365. output = &DescribeResizeOutput{}
  1366. req.Data = output
  1367. return
  1368. }
  1369. // Returns information about the last resize operation for the specified cluster.
  1370. // If no resize operation has ever been initiated for the specified cluster,
  1371. // a HTTP 404 error is returned. If a resize operation was initiated and completed,
  1372. // the status of the resize remains as SUCCEEDED until the next resize.
  1373. //
  1374. // A resize operation can be requested using ModifyCluster and specifying
  1375. // a different number or type of nodes for the cluster.
  1376. func (c *Redshift) DescribeResize(input *DescribeResizeInput) (*DescribeResizeOutput, error) {
  1377. req, out := c.DescribeResizeRequest(input)
  1378. err := req.Send()
  1379. return out, err
  1380. }
  1381. const opDescribeSnapshotCopyGrants = "DescribeSnapshotCopyGrants"
  1382. // DescribeSnapshotCopyGrantsRequest generates a request for the DescribeSnapshotCopyGrants operation.
  1383. func (c *Redshift) DescribeSnapshotCopyGrantsRequest(input *DescribeSnapshotCopyGrantsInput) (req *request.Request, output *DescribeSnapshotCopyGrantsOutput) {
  1384. op := &request.Operation{
  1385. Name: opDescribeSnapshotCopyGrants,
  1386. HTTPMethod: "POST",
  1387. HTTPPath: "/",
  1388. }
  1389. if input == nil {
  1390. input = &DescribeSnapshotCopyGrantsInput{}
  1391. }
  1392. req = c.newRequest(op, input, output)
  1393. output = &DescribeSnapshotCopyGrantsOutput{}
  1394. req.Data = output
  1395. return
  1396. }
  1397. // Returns a list of snapshot copy grants owned by the AWS account in the destination
  1398. // region.
  1399. //
  1400. // For more information about managing snapshot copy grants, go to Amazon
  1401. // Redshift Database Encryption (http://docs.aws.amazon.com/redshift/latest/mgmt/working-with-db-encryption.html)
  1402. // in the Amazon Redshift Cluster Management Guide.
  1403. func (c *Redshift) DescribeSnapshotCopyGrants(input *DescribeSnapshotCopyGrantsInput) (*DescribeSnapshotCopyGrantsOutput, error) {
  1404. req, out := c.DescribeSnapshotCopyGrantsRequest(input)
  1405. err := req.Send()
  1406. return out, err
  1407. }
  1408. const opDescribeTags = "DescribeTags"
  1409. // DescribeTagsRequest generates a request for the DescribeTags operation.
  1410. func (c *Redshift) DescribeTagsRequest(input *DescribeTagsInput) (req *request.Request, output *DescribeTagsOutput) {
  1411. op := &request.Operation{
  1412. Name: opDescribeTags,
  1413. HTTPMethod: "POST",
  1414. HTTPPath: "/",
  1415. }
  1416. if input == nil {
  1417. input = &DescribeTagsInput{}
  1418. }
  1419. req = c.newRequest(op, input, output)
  1420. output = &DescribeTagsOutput{}
  1421. req.Data = output
  1422. return
  1423. }
  1424. // Returns a list of tags. You can return tags from a specific resource by specifying
  1425. // an ARN, or you can return all tags for a given type of resource, such as
  1426. // clusters, snapshots, and so on.
  1427. //
  1428. // The following are limitations for DescribeTags: You cannot specify an
  1429. // ARN and a resource-type value together in the same request. You cannot use
  1430. // the MaxRecords and Marker parameters together with the ARN parameter. The
  1431. // MaxRecords parameter can be a range from 10 to 50 results to return in a
  1432. // request.
  1433. //
  1434. // If you specify both tag keys and tag values in the same request, Amazon
  1435. // Redshift returns all resources that match any combination of the specified
  1436. // keys and values. For example, if you have owner and environment for tag keys,
  1437. // and admin and test for tag values, all resources that have any combination
  1438. // of those values are returned.
  1439. //
  1440. // If both tag keys and values are omitted from the request, resources are
  1441. // returned regardless of whether they have tag keys or values associated with
  1442. // them.
  1443. func (c *Redshift) DescribeTags(input *DescribeTagsInput) (*DescribeTagsOutput, error) {
  1444. req, out := c.DescribeTagsRequest(input)
  1445. err := req.Send()
  1446. return out, err
  1447. }
  1448. const opDisableLogging = "DisableLogging"
  1449. // DisableLoggingRequest generates a request for the DisableLogging operation.
  1450. func (c *Redshift) DisableLoggingRequest(input *DisableLoggingInput) (req *request.Request, output *LoggingStatus) {
  1451. op := &request.Operation{
  1452. Name: opDisableLogging,
  1453. HTTPMethod: "POST",
  1454. HTTPPath: "/",
  1455. }
  1456. if input == nil {
  1457. input = &DisableLoggingInput{}
  1458. }
  1459. req = c.newRequest(op, input, output)
  1460. output = &LoggingStatus{}
  1461. req.Data = output
  1462. return
  1463. }
  1464. // Stops logging information, such as queries and connection attempts, for the
  1465. // specified Amazon Redshift cluster.
  1466. func (c *Redshift) DisableLogging(input *DisableLoggingInput) (*LoggingStatus, error) {
  1467. req, out := c.DisableLoggingRequest(input)
  1468. err := req.Send()
  1469. return out, err
  1470. }
  1471. const opDisableSnapshotCopy = "DisableSnapshotCopy"
  1472. // DisableSnapshotCopyRequest generates a request for the DisableSnapshotCopy operation.
  1473. func (c *Redshift) DisableSnapshotCopyRequest(input *DisableSnapshotCopyInput) (req *request.Request, output *DisableSnapshotCopyOutput) {
  1474. op := &request.Operation{
  1475. Name: opDisableSnapshotCopy,
  1476. HTTPMethod: "POST",
  1477. HTTPPath: "/",
  1478. }
  1479. if input == nil {
  1480. input = &DisableSnapshotCopyInput{}
  1481. }
  1482. req = c.newRequest(op, input, output)
  1483. output = &DisableSnapshotCopyOutput{}
  1484. req.Data = output
  1485. return
  1486. }
  1487. // Disables the automatic copying of snapshots from one region to another region
  1488. // for a specified cluster.
  1489. //
  1490. // If your cluster and its snapshots are encrypted using a customer master
  1491. // key (CMK) from AWS KMS, use DeleteSnapshotCopyGrant to delete the grant that
  1492. // grants Amazon Redshift permission to the CMK in the destination region.
  1493. func (c *Redshift) DisableSnapshotCopy(input *DisableSnapshotCopyInput) (*DisableSnapshotCopyOutput, error) {
  1494. req, out := c.DisableSnapshotCopyRequest(input)
  1495. err := req.Send()
  1496. return out, err
  1497. }
  1498. const opEnableLogging = "EnableLogging"
  1499. // EnableLoggingRequest generates a request for the EnableLogging operation.
  1500. func (c *Redshift) EnableLoggingRequest(input *EnableLoggingInput) (req *request.Request, output *LoggingStatus) {
  1501. op := &request.Operation{
  1502. Name: opEnableLogging,
  1503. HTTPMethod: "POST",
  1504. HTTPPath: "/",
  1505. }
  1506. if input == nil {
  1507. input = &EnableLoggingInput{}
  1508. }
  1509. req = c.newRequest(op, input, output)
  1510. output = &LoggingStatus{}
  1511. req.Data = output
  1512. return
  1513. }
  1514. // Starts logging information, such as queries and connection attempts, for
  1515. // the specified Amazon Redshift cluster.
  1516. func (c *Redshift) EnableLogging(input *EnableLoggingInput) (*LoggingStatus, error) {
  1517. req, out := c.EnableLoggingRequest(input)
  1518. err := req.Send()
  1519. return out, err
  1520. }
  1521. const opEnableSnapshotCopy = "EnableSnapshotCopy"
  1522. // EnableSnapshotCopyRequest generates a request for the EnableSnapshotCopy operation.
  1523. func (c *Redshift) EnableSnapshotCopyRequest(input *EnableSnapshotCopyInput) (req *request.Request, output *EnableSnapshotCopyOutput) {
  1524. op := &request.Operation{
  1525. Name: opEnableSnapshotCopy,
  1526. HTTPMethod: "POST",
  1527. HTTPPath: "/",
  1528. }
  1529. if input == nil {
  1530. input = &EnableSnapshotCopyInput{}
  1531. }
  1532. req = c.newRequest(op, input, output)
  1533. output = &EnableSnapshotCopyOutput{}
  1534. req.Data = output
  1535. return
  1536. }
  1537. // Enables the automatic copy of snapshots from one region to another region
  1538. // for a specified cluster.
  1539. func (c *Redshift) EnableSnapshotCopy(input *EnableSnapshotCopyInput) (*EnableSnapshotCopyOutput, error) {
  1540. req, out := c.EnableSnapshotCopyRequest(input)
  1541. err := req.Send()
  1542. return out, err
  1543. }
  1544. const opModifyCluster = "ModifyCluster"
  1545. // ModifyClusterRequest generates a request for the ModifyCluster operation.
  1546. func (c *Redshift) ModifyClusterRequest(input *ModifyClusterInput) (req *request.Request, output *ModifyClusterOutput) {
  1547. op := &request.Operation{
  1548. Name: opModifyCluster,
  1549. HTTPMethod: "POST",
  1550. HTTPPath: "/",
  1551. }
  1552. if input == nil {
  1553. input = &ModifyClusterInput{}
  1554. }
  1555. req = c.newRequest(op, input, output)
  1556. output = &ModifyClusterOutput{}
  1557. req.Data = output
  1558. return
  1559. }
  1560. // Modifies the settings for a cluster. For example, you can add another security
  1561. // or parameter group, update the preferred maintenance window, or change the
  1562. // master user password. Resetting a cluster password or modifying the security
  1563. // groups associated with a cluster do not need a reboot. However, modifying
  1564. // a parameter group requires a reboot for parameters to take effect. For more
  1565. // information about managing clusters, go to Amazon Redshift Clusters (http://docs.aws.amazon.com/redshift/latest/mgmt/working-with-clusters.html)
  1566. // in the Amazon Redshift Cluster Management Guide .
  1567. //
  1568. // You can also change node type and the number of nodes to scale up or down
  1569. // the cluster. When resizing a cluster, you must specify both the number of
  1570. // nodes and the node type even if one of the parameters does not change.
  1571. func (c *Redshift) ModifyCluster(input *ModifyClusterInput) (*ModifyClusterOutput, error) {
  1572. req, out := c.ModifyClusterRequest(input)
  1573. err := req.Send()
  1574. return out, err
  1575. }
  1576. const opModifyClusterParameterGroup = "ModifyClusterParameterGroup"
  1577. // ModifyClusterParameterGroupRequest generates a request for the ModifyClusterParameterGroup operation.
  1578. func (c *Redshift) ModifyClusterParameterGroupRequest(input *ModifyClusterParameterGroupInput) (req *request.Request, output *ClusterParameterGroupNameMessage) {
  1579. op := &request.Operation{
  1580. Name: opModifyClusterParameterGroup,
  1581. HTTPMethod: "POST",
  1582. HTTPPath: "/",
  1583. }
  1584. if input == nil {
  1585. input = &ModifyClusterParameterGroupInput{}
  1586. }
  1587. req = c.newRequest(op, input, output)
  1588. output = &ClusterParameterGroupNameMessage{}
  1589. req.Data = output
  1590. return
  1591. }
  1592. // Modifies the parameters of a parameter group.
  1593. //
  1594. // For more information about parameters and parameter groups, go to Amazon
  1595. // Redshift Parameter Groups (http://docs.aws.amazon.com/redshift/latest/mgmt/working-with-parameter-groups.html)
  1596. // in the Amazon Redshift Cluster Management Guide.
  1597. func (c *Redshift) ModifyClusterParameterGroup(input *ModifyClusterParameterGroupInput) (*ClusterParameterGroupNameMessage, error) {
  1598. req, out := c.ModifyClusterParameterGroupRequest(input)
  1599. err := req.Send()
  1600. return out, err
  1601. }
  1602. const opModifyClusterSubnetGroup = "ModifyClusterSubnetGroup"
  1603. // ModifyClusterSubnetGroupRequest generates a request for the ModifyClusterSubnetGroup operation.
  1604. func (c *Redshift) ModifyClusterSubnetGroupRequest(input *ModifyClusterSubnetGroupInput) (req *request.Request, output *ModifyClusterSubnetGroupOutput) {
  1605. op := &request.Operation{
  1606. Name: opModifyClusterSubnetGroup,
  1607. HTTPMethod: "POST",
  1608. HTTPPath: "/",
  1609. }
  1610. if input == nil {
  1611. input = &ModifyClusterSubnetGroupInput{}
  1612. }
  1613. req = c.newRequest(op, input, output)
  1614. output = &ModifyClusterSubnetGroupOutput{}
  1615. req.Data = output
  1616. return
  1617. }
  1618. // Modifies a cluster subnet group to include the specified list of VPC subnets.
  1619. // The operation replaces the existing list of subnets with the new list of
  1620. // subnets.
  1621. func (c *Redshift) ModifyClusterSubnetGroup(input *ModifyClusterSubnetGroupInput) (*ModifyClusterSubnetGroupOutput, error) {
  1622. req, out := c.ModifyClusterSubnetGroupRequest(input)
  1623. err := req.Send()
  1624. return out, err
  1625. }
  1626. const opModifyEventSubscription = "ModifyEventSubscription"
  1627. // ModifyEventSubscriptionRequest generates a request for the ModifyEventSubscription operation.
  1628. func (c *Redshift) ModifyEventSubscriptionRequest(input *ModifyEventSubscriptionInput) (req *request.Request, output *ModifyEventSubscriptionOutput) {
  1629. op := &request.Operation{
  1630. Name: opModifyEventSubscription,
  1631. HTTPMethod: "POST",
  1632. HTTPPath: "/",
  1633. }
  1634. if input == nil {
  1635. input = &ModifyEventSubscriptionInput{}
  1636. }
  1637. req = c.newRequest(op, input, output)
  1638. output = &ModifyEventSubscriptionOutput{}
  1639. req.Data = output
  1640. return
  1641. }
  1642. // Modifies an existing Amazon Redshift event notification subscription.
  1643. func (c *Redshift) ModifyEventSubscription(input *ModifyEventSubscriptionInput) (*ModifyEventSubscriptionOutput, error) {
  1644. req, out := c.ModifyEventSubscriptionRequest(input)
  1645. err := req.Send()
  1646. return out, err
  1647. }
  1648. const opModifySnapshotCopyRetentionPeriod = "ModifySnapshotCopyRetentionPeriod"
  1649. // ModifySnapshotCopyRetentionPeriodRequest generates a request for the ModifySnapshotCopyRetentionPeriod operation.
  1650. func (c *Redshift) ModifySnapshotCopyRetentionPeriodRequest(input *ModifySnapshotCopyRetentionPeriodInput) (req *request.Request, output *ModifySnapshotCopyRetentionPeriodOutput) {
  1651. op := &request.Operation{
  1652. Name: opModifySnapshotCopyRetentionPeriod,
  1653. HTTPMethod: "POST",
  1654. HTTPPath: "/",
  1655. }
  1656. if input == nil {
  1657. input = &ModifySnapshotCopyRetentionPeriodInput{}
  1658. }
  1659. req = c.newRequest(op, input, output)
  1660. output = &ModifySnapshotCopyRetentionPeriodOutput{}
  1661. req.Data = output
  1662. return
  1663. }
  1664. // Modifies the number of days to retain automated snapshots in the destination
  1665. // region after they are copied from the source region.
  1666. func (c *Redshift) ModifySnapshotCopyRetentionPeriod(input *ModifySnapshotCopyRetentionPeriodInput) (*ModifySnapshotCopyRetentionPeriodOutput, error) {
  1667. req, out := c.ModifySnapshotCopyRetentionPeriodRequest(input)
  1668. err := req.Send()
  1669. return out, err
  1670. }
  1671. const opPurchaseReservedNodeOffering = "PurchaseReservedNodeOffering"
  1672. // PurchaseReservedNodeOfferingRequest generates a request for the PurchaseReservedNodeOffering operation.
  1673. func (c *Redshift) PurchaseReservedNodeOfferingRequest(input *PurchaseReservedNodeOfferingInput) (req *request.Request, output *PurchaseReservedNodeOfferingOutput) {
  1674. op := &request.Operation{
  1675. Name: opPurchaseReservedNodeOffering,
  1676. HTTPMethod: "POST",
  1677. HTTPPath: "/",
  1678. }
  1679. if input == nil {
  1680. input = &PurchaseReservedNodeOfferingInput{}
  1681. }
  1682. req = c.newRequest(op, input, output)
  1683. output = &PurchaseReservedNodeOfferingOutput{}
  1684. req.Data = output
  1685. return
  1686. }
  1687. // Allows you to purchase reserved nodes. Amazon Redshift offers a predefined
  1688. // set of reserved node offerings. You can purchase one or more of the offerings.
  1689. // You can call the DescribeReservedNodeOfferings API to obtain the available
  1690. // reserved node offerings. You can call this API by providing a specific reserved
  1691. // node offering and the number of nodes you want to reserve.
  1692. //
  1693. // For more information about reserved node offerings, go to Purchasing Reserved
  1694. // Nodes (http://docs.aws.amazon.com/redshift/latest/mgmt/purchase-reserved-node-instance.html)
  1695. // in the Amazon Redshift Cluster Management Guide.
  1696. func (c *Redshift) PurchaseReservedNodeOffering(input *PurchaseReservedNodeOfferingInput) (*PurchaseReservedNodeOfferingOutput, error) {
  1697. req, out := c.PurchaseReservedNodeOfferingRequest(input)
  1698. err := req.Send()
  1699. return out, err
  1700. }
  1701. const opRebootCluster = "RebootCluster"
  1702. // RebootClusterRequest generates a request for the RebootCluster operation.
  1703. func (c *Redshift) RebootClusterRequest(input *RebootClusterInput) (req *request.Request, output *RebootClusterOutput) {
  1704. op := &request.Operation{
  1705. Name: opRebootCluster,
  1706. HTTPMethod: "POST",
  1707. HTTPPath: "/",
  1708. }
  1709. if input == nil {
  1710. input = &RebootClusterInput{}
  1711. }
  1712. req = c.newRequest(op, input, output)
  1713. output = &RebootClusterOutput{}
  1714. req.Data = output
  1715. return
  1716. }
  1717. // Reboots a cluster. This action is taken as soon as possible. It results in
  1718. // a momentary outage to the cluster, during which the cluster status is set
  1719. // to rebooting. A cluster event is created when the reboot is completed. Any
  1720. // pending cluster modifications (see ModifyCluster) are applied at this reboot.
  1721. // For more information about managing clusters, go to Amazon Redshift Clusters
  1722. // (http://docs.aws.amazon.com/redshift/latest/mgmt/working-with-clusters.html)
  1723. // in the Amazon Redshift Cluster Management Guide
  1724. func (c *Redshift) RebootCluster(input *RebootClusterInput) (*RebootClusterOutput, error) {
  1725. req, out := c.RebootClusterRequest(input)
  1726. err := req.Send()
  1727. return out, err
  1728. }
  1729. const opResetClusterParameterGroup = "ResetClusterParameterGroup"
  1730. // ResetClusterParameterGroupRequest generates a request for the ResetClusterParameterGroup operation.
  1731. func (c *Redshift) ResetClusterParameterGroupRequest(input *ResetClusterParameterGroupInput) (req *request.Request, output *ClusterParameterGroupNameMessage) {
  1732. op := &request.Operation{
  1733. Name: opResetClusterParameterGroup,
  1734. HTTPMethod: "POST",
  1735. HTTPPath: "/",
  1736. }
  1737. if input == nil {
  1738. input = &ResetClusterParameterGroupInput{}
  1739. }
  1740. req = c.newRequest(op, input, output)
  1741. output = &ClusterParameterGroupNameMessage{}
  1742. req.Data = output
  1743. return
  1744. }
  1745. // Sets one or more parameters of the specified parameter group to their default
  1746. // values and sets the source values of the parameters to "engine-default".
  1747. // To reset the entire parameter group specify the ResetAllParameters parameter.
  1748. // For parameter changes to take effect you must reboot any associated clusters.
  1749. func (c *Redshift) ResetClusterParameterGroup(input *ResetClusterParameterGroupInput) (*ClusterParameterGroupNameMessage, error) {
  1750. req, out := c.ResetClusterParameterGroupRequest(input)
  1751. err := req.Send()
  1752. return out, err
  1753. }
  1754. const opRestoreFromClusterSnapshot = "RestoreFromClusterSnapshot"
  1755. // RestoreFromClusterSnapshotRequest generates a request for the RestoreFromClusterSnapshot operation.
  1756. func (c *Redshift) RestoreFromClusterSnapshotRequest(input *RestoreFromClusterSnapshotInput) (req *request.Request, output *RestoreFromClusterSnapshotOutput) {
  1757. op := &request.Operation{
  1758. Name: opRestoreFromClusterSnapshot,
  1759. HTTPMethod: "POST",
  1760. HTTPPath: "/",
  1761. }
  1762. if input == nil {
  1763. input = &RestoreFromClusterSnapshotInput{}
  1764. }
  1765. req = c.newRequest(op, input, output)
  1766. output = &RestoreFromClusterSnapshotOutput{}
  1767. req.Data = output
  1768. return
  1769. }
  1770. // Creates a new cluster from a snapshot. By default, Amazon Redshift creates
  1771. // the resulting cluster with the same configuration as the original cluster
  1772. // from which the snapshot was created, except that the new cluster is created
  1773. // with the default cluster security and parameter groups. After Amazon Redshift
  1774. // creates the cluster, you can use the ModifyCluster API to associate a different
  1775. // security group and different parameter group with the restored cluster. If
  1776. // you are using a DS node type, you can also choose to change to another DS
  1777. // node type of the same size during restore.
  1778. //
  1779. // If you restore a cluster into a VPC, you must provide a cluster subnet
  1780. // group where you want the cluster restored.
  1781. //
  1782. // For more information about working with snapshots, go to Amazon Redshift
  1783. // Snapshots (http://docs.aws.amazon.com/redshift/latest/mgmt/working-with-snapshots.html)
  1784. // in the Amazon Redshift Cluster Management Guide.
  1785. func (c *Redshift) RestoreFromClusterSnapshot(input *RestoreFromClusterSnapshotInput) (*RestoreFromClusterSnapshotOutput, error) {
  1786. req, out := c.RestoreFromClusterSnapshotRequest(input)
  1787. err := req.Send()
  1788. return out, err
  1789. }
  1790. const opRevokeClusterSecurityGroupIngress = "RevokeClusterSecurityGroupIngress"
  1791. // RevokeClusterSecurityGroupIngressRequest generates a request for the RevokeClusterSecurityGroupIngress operation.
  1792. func (c *Redshift) RevokeClusterSecurityGroupIngressRequest(input *RevokeClusterSecurityGroupIngressInput) (req *request.Request, output *RevokeClusterSecurityGroupIngressOutput) {
  1793. op := &request.Operation{
  1794. Name: opRevokeClusterSecurityGroupIngress,
  1795. HTTPMethod: "POST",
  1796. HTTPPath: "/",
  1797. }
  1798. if input == nil {
  1799. input = &RevokeClusterSecurityGroupIngressInput{}
  1800. }
  1801. req = c.newRequest(op, input, output)
  1802. output = &RevokeClusterSecurityGroupIngressOutput{}
  1803. req.Data = output
  1804. return
  1805. }
  1806. // Revokes an ingress rule in an Amazon Redshift security group for a previously
  1807. // authorized IP range or Amazon EC2 security group. To add an ingress rule,
  1808. // see AuthorizeClusterSecurityGroupIngress. For information about managing
  1809. // security groups, go to Amazon Redshift Cluster Security Groups (http://docs.aws.amazon.com/redshift/latest/mgmt/working-with-security-groups.html)
  1810. // in the Amazon Redshift Cluster Management Guide.
  1811. func (c *Redshift) RevokeClusterSecurityGroupIngress(input *RevokeClusterSecurityGroupIngressInput) (*RevokeClusterSecurityGroupIngressOutput, error) {
  1812. req, out := c.RevokeClusterSecurityGroupIngressRequest(input)
  1813. err := req.Send()
  1814. return out, err
  1815. }
  1816. const opRevokeSnapshotAccess = "RevokeSnapshotAccess"
  1817. // RevokeSnapshotAccessRequest generates a request for the RevokeSnapshotAccess operation.
  1818. func (c *Redshift) RevokeSnapshotAccessRequest(input *RevokeSnapshotAccessInput) (req *request.Request, output *RevokeSnapshotAccessOutput) {
  1819. op := &request.Operation{
  1820. Name: opRevokeSnapshotAccess,
  1821. HTTPMethod: "POST",
  1822. HTTPPath: "/",
  1823. }
  1824. if input == nil {
  1825. input = &RevokeSnapshotAccessInput{}
  1826. }
  1827. req = c.newRequest(op, input, output)
  1828. output = &RevokeSnapshotAccessOutput{}
  1829. req.Data = output
  1830. return
  1831. }
  1832. // Removes the ability of the specified AWS customer account to restore the
  1833. // specified snapshot. If the account is currently restoring the snapshot, the
  1834. // restore will run to completion.
  1835. //
  1836. // For more information about working with snapshots, go to Amazon Redshift
  1837. // Snapshots (http://docs.aws.amazon.com/redshift/latest/mgmt/working-with-snapshots.html)
  1838. // in the Amazon Redshift Cluster Management Guide.
  1839. func (c *Redshift) RevokeSnapshotAccess(input *RevokeSnapshotAccessInput) (*RevokeSnapshotAccessOutput, error) {
  1840. req, out := c.RevokeSnapshotAccessRequest(input)
  1841. err := req.Send()
  1842. return out, err
  1843. }
  1844. const opRotateEncryptionKey = "RotateEncryptionKey"
  1845. // RotateEncryptionKeyRequest generates a request for the RotateEncryptionKey operation.
  1846. func (c *Redshift) RotateEncryptionKeyRequest(input *RotateEncryptionKeyInput) (req *request.Request, output *RotateEncryptionKeyOutput) {
  1847. op := &request.Operation{
  1848. Name: opRotateEncryptionKey,
  1849. HTTPMethod: "POST",
  1850. HTTPPath: "/",
  1851. }
  1852. if input == nil {
  1853. input = &RotateEncryptionKeyInput{}
  1854. }
  1855. req = c.newRequest(op, input, output)
  1856. output = &RotateEncryptionKeyOutput{}
  1857. req.Data = output
  1858. return
  1859. }
  1860. // Rotates the encryption keys for a cluster.
  1861. func (c *Redshift) RotateEncryptionKey(input *RotateEncryptionKeyInput) (*RotateEncryptionKeyOutput, error) {
  1862. req, out := c.RotateEncryptionKeyRequest(input)
  1863. err := req.Send()
  1864. return out, err
  1865. }
  1866. // Describes an AWS customer account authorized to restore a snapshot.
  1867. type AccountWithRestoreAccess struct {
  1868. // The identifier of an AWS customer account authorized to restore a snapshot.
  1869. AccountId *string `type:"string"`
  1870. metadataAccountWithRestoreAccess `json:"-" xml:"-"`
  1871. }
  1872. type metadataAccountWithRestoreAccess struct {
  1873. SDKShapeTraits bool `type:"structure"`
  1874. }
  1875. // String returns the string representation
  1876. func (s AccountWithRestoreAccess) String() string {
  1877. return awsutil.Prettify(s)
  1878. }
  1879. // GoString returns the string representation
  1880. func (s AccountWithRestoreAccess) GoString() string {
  1881. return s.String()
  1882. }
  1883. // ???
  1884. type AuthorizeClusterSecurityGroupIngressInput struct {
  1885. // The IP range to be added the Amazon Redshift security group.
  1886. CIDRIP *string `type:"string"`
  1887. // The name of the security group to which the ingress rule is added.
  1888. ClusterSecurityGroupName *string `type:"string" required:"true"`
  1889. // The EC2 security group to be added the Amazon Redshift security group.
  1890. EC2SecurityGroupName *string `type:"string"`
  1891. // The AWS account number of the owner of the security group specified by the
  1892. // EC2SecurityGroupName parameter. The AWS Access Key ID is not an acceptable
  1893. // value.
  1894. //
  1895. // Example: 111122223333
  1896. EC2SecurityGroupOwnerId *string `type:"string"`
  1897. metadataAuthorizeClusterSecurityGroupIngressInput `json:"-" xml:"-"`
  1898. }
  1899. type metadataAuthorizeClusterSecurityGroupIngressInput struct {
  1900. SDKShapeTraits bool `type:"structure"`
  1901. }
  1902. // String returns the string representation
  1903. func (s AuthorizeClusterSecurityGroupIngressInput) String() string {
  1904. return awsutil.Prettify(s)
  1905. }
  1906. // GoString returns the string representation
  1907. func (s AuthorizeClusterSecurityGroupIngressInput) GoString() string {
  1908. return s.String()
  1909. }
  1910. type AuthorizeClusterSecurityGroupIngressOutput struct {
  1911. // Describes a security group.
  1912. ClusterSecurityGroup *ClusterSecurityGroup `type:"structure"`
  1913. metadataAuthorizeClusterSecurityGroupIngressOutput `json:"-" xml:"-"`
  1914. }
  1915. type metadataAuthorizeClusterSecurityGroupIngressOutput struct {
  1916. SDKShapeTraits bool `type:"structure"`
  1917. }
  1918. // String returns the string representation
  1919. func (s AuthorizeClusterSecurityGroupIngressOutput) String() string {
  1920. return awsutil.Prettify(s)
  1921. }
  1922. // GoString returns the string representation
  1923. func (s AuthorizeClusterSecurityGroupIngressOutput) GoString() string {
  1924. return s.String()
  1925. }
  1926. type AuthorizeSnapshotAccessInput struct {
  1927. // The identifier of the AWS customer account authorized to restore the specified
  1928. // snapshot.
  1929. AccountWithRestoreAccess *string `type:"string" required:"true"`
  1930. // The identifier of the cluster the snapshot was created from. This parameter
  1931. // is required if your IAM user has a policy containing a snapshot resource
  1932. // element that specifies anything other than * for the cluster name.
  1933. SnapshotClusterIdentifier *string `type:"string"`
  1934. // The identifier of the snapshot the account is authorized to restore.
  1935. SnapshotIdentifier *string `type:"string" required:"true"`
  1936. metadataAuthorizeSnapshotAccessInput `json:"-" xml:"-"`
  1937. }
  1938. type metadataAuthorizeSnapshotAccessInput struct {
  1939. SDKShapeTraits bool `type:"structure"`
  1940. }
  1941. // String returns the string representation
  1942. func (s AuthorizeSnapshotAccessInput) String() string {
  1943. return awsutil.Prettify(s)
  1944. }
  1945. // GoString returns the string representation
  1946. func (s AuthorizeSnapshotAccessInput) GoString() string {
  1947. return s.String()
  1948. }
  1949. type AuthorizeSnapshotAccessOutput struct {
  1950. // Describes a snapshot.
  1951. Snapshot *Snapshot `type:"structure"`
  1952. metadataAuthorizeSnapshotAccessOutput `json:"-" xml:"-"`
  1953. }
  1954. type metadataAuthorizeSnapshotAccessOutput struct {
  1955. SDKShapeTraits bool `type:"structure"`
  1956. }
  1957. // String returns the string representation
  1958. func (s AuthorizeSnapshotAccessOutput) String() string {
  1959. return awsutil.Prettify(s)
  1960. }
  1961. // GoString returns the string representation
  1962. func (s AuthorizeSnapshotAccessOutput) GoString() string {
  1963. return s.String()
  1964. }
  1965. // Describes an availability zone.
  1966. type AvailabilityZone struct {
  1967. // The name of the availability zone.
  1968. Name *string `type:"string"`
  1969. metadataAvailabilityZone `json:"-" xml:"-"`
  1970. }
  1971. type metadataAvailabilityZone struct {
  1972. SDKShapeTraits bool `type:"structure"`
  1973. }
  1974. // String returns the string representation
  1975. func (s AvailabilityZone) String() string {
  1976. return awsutil.Prettify(s)
  1977. }
  1978. // GoString returns the string representation
  1979. func (s AvailabilityZone) GoString() string {
  1980. return s.String()
  1981. }
  1982. // Describes a cluster.
  1983. type Cluster struct {
  1984. // If true, major version upgrades will be applied automatically to the cluster
  1985. // during the maintenance window.
  1986. AllowVersionUpgrade *bool `type:"boolean"`
  1987. // The number of days that automatic cluster snapshots are retained.
  1988. AutomatedSnapshotRetentionPeriod *int64 `type:"integer"`
  1989. // The name of the Availability Zone in which the cluster is located.
  1990. AvailabilityZone *string `type:"string"`
  1991. // The date and time that the cluster was created.
  1992. ClusterCreateTime *time.Time `type:"timestamp" timestampFormat:"iso8601"`
  1993. // The unique identifier of the cluster.
  1994. ClusterIdentifier *string `type:"string"`
  1995. // The nodes in a cluster.
  1996. ClusterNodes []*ClusterNode `type:"list"`
  1997. // The list of cluster parameter groups that are associated with this cluster.
  1998. // Each parameter group in the list is returned with its status.
  1999. ClusterParameterGroups []*ClusterParameterGroupStatus `locationNameList:"ClusterParameterGroup" type:"list"`
  2000. // The public key for the cluster.
  2001. ClusterPublicKey *string `type:"string"`
  2002. // The specific revision number of the database in the cluster.
  2003. ClusterRevisionNumber *string `type:"string"`
  2004. // A list of cluster security group that are associated with the cluster. Each
  2005. // security group is represented by an element that contains ClusterSecurityGroup.Name
  2006. // and ClusterSecurityGroup.Status subelements.
  2007. //
  2008. // Cluster security groups are used when the cluster is not created in a VPC.
  2009. // Clusters that are created in a VPC use VPC security groups, which are listed
  2010. // by the VpcSecurityGroups parameter.
  2011. ClusterSecurityGroups []*ClusterSecurityGroupMembership `locationNameList:"ClusterSecurityGroup" type:"list"`
  2012. // Returns the destination region and retention period that are configured for
  2013. // cross-region snapshot copy.
  2014. ClusterSnapshotCopyStatus *ClusterSnapshotCopyStatus `type:"structure"`
  2015. // The current state of this cluster. Possible values include available, creating,
  2016. // deleting, rebooting, renaming, and resizing.
  2017. ClusterStatus *string `type:"string"`
  2018. // The name of the subnet group that is associated with the cluster. This parameter
  2019. // is valid only when the cluster is in a VPC.
  2020. ClusterSubnetGroupName *string `type:"string"`
  2021. // The version ID of the Amazon Redshift engine that is running on the cluster.
  2022. ClusterVersion *string `type:"string"`
  2023. // The name of the initial database that was created when the cluster was created.
  2024. // This same name is returned for the life of the cluster. If an initial database
  2025. // was not specified, a database named "dev" was created by default.
  2026. DBName *string `type:"string"`
  2027. // Describes the status of the elastic IP (EIP) address.
  2028. ElasticIpStatus *ElasticIpStatus `type:"structure"`
  2029. // If true, data in the cluster is encrypted at rest.
  2030. Encrypted *bool `type:"boolean"`
  2031. // The connection endpoint.
  2032. Endpoint *Endpoint `type:"structure"`
  2033. // Reports whether the Amazon Redshift cluster has finished applying any HSM
  2034. // settings changes specified in a modify cluster command.
  2035. //
  2036. // Values: active, applying
  2037. HsmStatus *HsmStatus `type:"structure"`
  2038. // The AWS Key Management Service (KMS) key ID of the encryption key used to
  2039. // encrypt data in the cluster.
  2040. KmsKeyId *string `type:"string"`
  2041. // The master user name for the cluster. This name is used to connect to the
  2042. // database that is specified in DBName.
  2043. MasterUsername *string `type:"string"`
  2044. // The status of a modify operation, if any, initiated for the cluster.
  2045. ModifyStatus *string `type:"string"`
  2046. // The node type for the nodes in the cluster.
  2047. NodeType *string `type:"string"`
  2048. // The number of compute nodes in the cluster.
  2049. NumberOfNodes *int64 `type:"integer"`
  2050. // If present, changes to the cluster are pending. Specific pending changes
  2051. // are identified by subelements.
  2052. PendingModifiedValues *PendingModifiedValues `type:"structure"`
  2053. // The weekly time range (in UTC) during which system maintenance can occur.
  2054. PreferredMaintenanceWindow *string `type:"string"`
  2055. // If true, the cluster can be accessed from a public network.
  2056. PubliclyAccessible *bool `type:"boolean"`
  2057. // Describes the status of a cluster restore action. Returns null if the cluster
  2058. // was not created by restoring a snapshot.
  2059. RestoreStatus *RestoreStatus `type:"structure"`
  2060. // The list of tags for the cluster.
  2061. Tags []*Tag `locationNameList:"Tag" type:"list"`
  2062. // The identifier of the VPC the cluster is in, if the cluster is in a VPC.
  2063. VpcId *string `type:"string"`
  2064. // A list of Virtual Private Cloud (VPC) security groups that are associated
  2065. // with the cluster. This parameter is returned only if the cluster is in a
  2066. // VPC.
  2067. VpcSecurityGroups []*VpcSecurityGroupMembership `locationNameList:"VpcSecurityGroup" type:"list"`
  2068. metadataCluster `json:"-" xml:"-"`
  2069. }
  2070. type metadataCluster struct {
  2071. SDKShapeTraits bool `type:"structure"`
  2072. }
  2073. // String returns the string representation
  2074. func (s Cluster) String() string {
  2075. return awsutil.Prettify(s)
  2076. }
  2077. // GoString returns the string representation
  2078. func (s Cluster) GoString() string {
  2079. return s.String()
  2080. }
  2081. // The identifier of a node in a cluster.
  2082. type ClusterNode struct {
  2083. // Whether the node is a leader node or a compute node.
  2084. NodeRole *string `type:"string"`
  2085. // The private IP address of a node within a cluster.
  2086. PrivateIPAddress *string `type:"string"`
  2087. // The public IP address of a node within a cluster.
  2088. PublicIPAddress *string `type:"string"`
  2089. metadataClusterNode `json:"-" xml:"-"`
  2090. }
  2091. type metadataClusterNode struct {
  2092. SDKShapeTraits bool `type:"structure"`
  2093. }
  2094. // String returns the string representation
  2095. func (s ClusterNode) String() string {
  2096. return awsutil.Prettify(s)
  2097. }
  2098. // GoString returns the string representation
  2099. func (s ClusterNode) GoString() string {
  2100. return s.String()
  2101. }
  2102. // Describes a parameter group.
  2103. type ClusterParameterGroup struct {
  2104. // The description of the parameter group.
  2105. Description *string `type:"string"`
  2106. // The name of the cluster parameter group family that this cluster parameter
  2107. // group is compatible with.
  2108. ParameterGroupFamily *string `type:"string"`
  2109. // The name of the cluster parameter group.
  2110. ParameterGroupName *string `type:"string"`
  2111. // The list of tags for the cluster parameter group.
  2112. Tags []*Tag `locationNameList:"Tag" type:"list"`
  2113. metadataClusterParameterGroup `json:"-" xml:"-"`
  2114. }
  2115. type metadataClusterParameterGroup struct {
  2116. SDKShapeTraits bool `type:"structure"`
  2117. }
  2118. // String returns the string representation
  2119. func (s ClusterParameterGroup) String() string {
  2120. return awsutil.Prettify(s)
  2121. }
  2122. // GoString returns the string representation
  2123. func (s ClusterParameterGroup) GoString() string {
  2124. return s.String()
  2125. }
  2126. // Contains the output from the ModifyClusterParameterGroup and ResetClusterParameterGroup
  2127. // actions and indicate the parameter group involved and the status of the operation
  2128. // on the parameter group.
  2129. type ClusterParameterGroupNameMessage struct {
  2130. // The name of the cluster parameter group.
  2131. ParameterGroupName *string `type:"string"`
  2132. // The status of the parameter group. For example, if you made a change to a
  2133. // parameter group name-value pair, then the change could be pending a reboot
  2134. // of an associated cluster.
  2135. ParameterGroupStatus *string `type:"string"`
  2136. metadataClusterParameterGroupNameMessage `json:"-" xml:"-"`
  2137. }
  2138. type metadataClusterParameterGroupNameMessage struct {
  2139. SDKShapeTraits bool `type:"structure"`
  2140. }
  2141. // String returns the string representation
  2142. func (s ClusterParameterGroupNameMessage) String() string {
  2143. return awsutil.Prettify(s)
  2144. }
  2145. // GoString returns the string representation
  2146. func (s ClusterParameterGroupNameMessage) GoString() string {
  2147. return s.String()
  2148. }
  2149. // Describes the status of a parameter group.
  2150. type ClusterParameterGroupStatus struct {
  2151. // The list of parameter statuses.
  2152. //
  2153. // For more information about parameters and parameter groups, go to Amazon
  2154. // Redshift Parameter Groups (http://docs.aws.amazon.com/redshift/latest/mgmt/working-with-parameter-groups.html)
  2155. // in the Amazon Redshift Cluster Management Guide.
  2156. ClusterParameterStatusList []*ClusterParameterStatus `type:"list"`
  2157. // The status of parameter updates.
  2158. ParameterApplyStatus *string `type:"string"`
  2159. // The name of the cluster parameter group.
  2160. ParameterGroupName *string `type:"string"`
  2161. metadataClusterParameterGroupStatus `json:"-" xml:"-"`
  2162. }
  2163. type metadataClusterParameterGroupStatus struct {
  2164. SDKShapeTraits bool `type:"structure"`
  2165. }
  2166. // String returns the string representation
  2167. func (s ClusterParameterGroupStatus) String() string {
  2168. return awsutil.Prettify(s)
  2169. }
  2170. // GoString returns the string representation
  2171. func (s ClusterParameterGroupStatus) GoString() string {
  2172. return s.String()
  2173. }
  2174. // Describes the status of a parameter group.
  2175. type ClusterParameterStatus struct {
  2176. // The error that prevented the parameter from being applied to the database.
  2177. ParameterApplyErrorDescription *string `type:"string"`
  2178. // The status of the parameter that indicates whether the parameter is in sync
  2179. // with the database, waiting for a cluster reboot, or encountered an error
  2180. // when being applied.
  2181. //
  2182. // The following are possible statuses and descriptions. in-sync: The parameter
  2183. // value is in sync with the database. pending-reboot: The parameter value
  2184. // will be applied after the cluster reboots. applying: The parameter value
  2185. // is being applied to the database. invalid-parameter: Cannot apply the parameter
  2186. // value because it has an invalid value or syntax. apply-deferred: The parameter
  2187. // contains static property changes. The changes are deferred until the cluster
  2188. // reboots. apply-error: Cannot connect to the cluster. The parameter change
  2189. // will be applied after the cluster reboots. unknown-error: Cannot apply the
  2190. // parameter change right now. The change will be applied after the cluster
  2191. // reboots.
  2192. ParameterApplyStatus *string `type:"string"`
  2193. // The name of the parameter.
  2194. ParameterName *string `type:"string"`
  2195. metadataClusterParameterStatus `json:"-" xml:"-"`
  2196. }
  2197. type metadataClusterParameterStatus struct {
  2198. SDKShapeTraits bool `type:"structure"`
  2199. }
  2200. // String returns the string representation
  2201. func (s ClusterParameterStatus) String() string {
  2202. return awsutil.Prettify(s)
  2203. }
  2204. // GoString returns the string representation
  2205. func (s ClusterParameterStatus) GoString() string {
  2206. return s.String()
  2207. }
  2208. // Describes a security group.
  2209. type ClusterSecurityGroup struct {
  2210. // The name of the cluster security group to which the operation was applied.
  2211. ClusterSecurityGroupName *string `type:"string"`
  2212. // A description of the security group.
  2213. Description *string `type:"string"`
  2214. // A list of EC2 security groups that are permitted to access clusters associated
  2215. // with this cluster security group.
  2216. EC2SecurityGroups []*EC2SecurityGroup `locationNameList:"EC2SecurityGroup" type:"list"`
  2217. // A list of IP ranges (CIDR blocks) that are permitted to access clusters associated
  2218. // with this cluster security group.
  2219. IPRanges []*IPRange `locationNameList:"IPRange" type:"list"`
  2220. // The list of tags for the cluster security group.
  2221. Tags []*Tag `locationNameList:"Tag" type:"list"`
  2222. metadataClusterSecurityGroup `json:"-" xml:"-"`
  2223. }
  2224. type metadataClusterSecurityGroup struct {
  2225. SDKShapeTraits bool `type:"structure"`
  2226. }
  2227. // String returns the string representation
  2228. func (s ClusterSecurityGroup) String() string {
  2229. return awsutil.Prettify(s)
  2230. }
  2231. // GoString returns the string representation
  2232. func (s ClusterSecurityGroup) GoString() string {
  2233. return s.String()
  2234. }
  2235. // Describes a security group.
  2236. type ClusterSecurityGroupMembership struct {
  2237. // The name of the cluster security group.
  2238. ClusterSecurityGroupName *string `type:"string"`
  2239. // The status of the cluster security group.
  2240. Status *string `type:"string"`
  2241. metadataClusterSecurityGroupMembership `json:"-" xml:"-"`
  2242. }
  2243. type metadataClusterSecurityGroupMembership struct {
  2244. SDKShapeTraits bool `type:"structure"`
  2245. }
  2246. // String returns the string representation
  2247. func (s ClusterSecurityGroupMembership) String() string {
  2248. return awsutil.Prettify(s)
  2249. }
  2250. // GoString returns the string representation
  2251. func (s ClusterSecurityGroupMembership) GoString() string {
  2252. return s.String()
  2253. }
  2254. // Returns the destination region and retention period that are configured for
  2255. // cross-region snapshot copy.
  2256. type ClusterSnapshotCopyStatus struct {
  2257. // The destination region that snapshots are automatically copied to when cross-region
  2258. // snapshot copy is enabled.
  2259. DestinationRegion *string `type:"string"`
  2260. // The number of days that automated snapshots are retained in the destination
  2261. // region after they are copied from a source region.
  2262. RetentionPeriod *int64 `type:"long"`
  2263. // The name of the snapshot copy grant.
  2264. SnapshotCopyGrantName *string `type:"string"`
  2265. metadataClusterSnapshotCopyStatus `json:"-" xml:"-"`
  2266. }
  2267. type metadataClusterSnapshotCopyStatus struct {
  2268. SDKShapeTraits bool `type:"structure"`
  2269. }
  2270. // String returns the string representation
  2271. func (s ClusterSnapshotCopyStatus) String() string {
  2272. return awsutil.Prettify(s)
  2273. }
  2274. // GoString returns the string representation
  2275. func (s ClusterSnapshotCopyStatus) GoString() string {
  2276. return s.String()
  2277. }
  2278. // Describes a subnet group.
  2279. type ClusterSubnetGroup struct {
  2280. // The name of the cluster subnet group.
  2281. ClusterSubnetGroupName *string `type:"string"`
  2282. // The description of the cluster subnet group.
  2283. Description *string `type:"string"`
  2284. // The status of the cluster subnet group. Possible values are Complete, Incomplete
  2285. // and Invalid.
  2286. SubnetGroupStatus *string `type:"string"`
  2287. // A list of the VPC Subnet elements.
  2288. Subnets []*Subnet `locationNameList:"Subnet" type:"list"`
  2289. // The list of tags for the cluster subnet group.
  2290. Tags []*Tag `locationNameList:"Tag" type:"list"`
  2291. // The VPC ID of the cluster subnet group.
  2292. VpcId *string `type:"string"`
  2293. metadataClusterSubnetGroup `json:"-" xml:"-"`
  2294. }
  2295. type metadataClusterSubnetGroup struct {
  2296. SDKShapeTraits bool `type:"structure"`
  2297. }
  2298. // String returns the string representation
  2299. func (s ClusterSubnetGroup) String() string {
  2300. return awsutil.Prettify(s)
  2301. }
  2302. // GoString returns the string representation
  2303. func (s ClusterSubnetGroup) GoString() string {
  2304. return s.String()
  2305. }
  2306. // Describes a cluster version, including the parameter group family and description
  2307. // of the version.
  2308. type ClusterVersion struct {
  2309. // The name of the cluster parameter group family for the cluster.
  2310. ClusterParameterGroupFamily *string `type:"string"`
  2311. // The version number used by the cluster.
  2312. ClusterVersion *string `type:"string"`
  2313. // The description of the cluster version.
  2314. Description *string `type:"string"`
  2315. metadataClusterVersion `json:"-" xml:"-"`
  2316. }
  2317. type metadataClusterVersion struct {
  2318. SDKShapeTraits bool `type:"structure"`
  2319. }
  2320. // String returns the string representation
  2321. func (s ClusterVersion) String() string {
  2322. return awsutil.Prettify(s)
  2323. }
  2324. // GoString returns the string representation
  2325. func (s ClusterVersion) GoString() string {
  2326. return s.String()
  2327. }
  2328. type CopyClusterSnapshotInput struct {
  2329. // The identifier of the cluster the source snapshot was created from. This
  2330. // parameter is required if your IAM user has a policy containing a snapshot
  2331. // resource element that specifies anything other than * for the cluster name.
  2332. //
  2333. // Constraints:
  2334. //
  2335. // Must be the identifier for a valid cluster.
  2336. SourceSnapshotClusterIdentifier *string `type:"string"`
  2337. // The identifier for the source snapshot.
  2338. //
  2339. // Constraints:
  2340. //
  2341. // Must be the identifier for a valid automated snapshot whose state is available.
  2342. SourceSnapshotIdentifier *string `type:"string" required:"true"`
  2343. // The identifier given to the new manual snapshot.
  2344. //
  2345. // Constraints:
  2346. //
  2347. // Cannot be null, empty, or blank. Must contain from 1 to 255 alphanumeric
  2348. // characters or hyphens. First character must be a letter. Cannot end with
  2349. // a hyphen or contain two consecutive hyphens. Must be unique for the AWS account
  2350. // that is making the request.
  2351. TargetSnapshotIdentifier *string `type:"string" required:"true"`
  2352. metadataCopyClusterSnapshotInput `json:"-" xml:"-"`
  2353. }
  2354. type metadataCopyClusterSnapshotInput struct {
  2355. SDKShapeTraits bool `type:"structure"`
  2356. }
  2357. // String returns the string representation
  2358. func (s CopyClusterSnapshotInput) String() string {
  2359. return awsutil.Prettify(s)
  2360. }
  2361. // GoString returns the string representation
  2362. func (s CopyClusterSnapshotInput) GoString() string {
  2363. return s.String()
  2364. }
  2365. type CopyClusterSnapshotOutput struct {
  2366. // Describes a snapshot.
  2367. Snapshot *Snapshot `type:"structure"`
  2368. metadataCopyClusterSnapshotOutput `json:"-" xml:"-"`
  2369. }
  2370. type metadataCopyClusterSnapshotOutput struct {
  2371. SDKShapeTraits bool `type:"structure"`
  2372. }
  2373. // String returns the string representation
  2374. func (s CopyClusterSnapshotOutput) String() string {
  2375. return awsutil.Prettify(s)
  2376. }
  2377. // GoString returns the string representation
  2378. func (s CopyClusterSnapshotOutput) GoString() string {
  2379. return s.String()
  2380. }
  2381. type CreateClusterInput struct {
  2382. // If true, major version upgrades can be applied during the maintenance window
  2383. // to the Amazon Redshift engine that is running on the cluster.
  2384. //
  2385. // When a new major version of the Amazon Redshift engine is released, you
  2386. // can request that the service automatically apply upgrades during the maintenance
  2387. // window to the Amazon Redshift engine that is running on your cluster.
  2388. //
  2389. // Default: true
  2390. AllowVersionUpgrade *bool `type:"boolean"`
  2391. // The number of days that automated snapshots are retained. If the value is
  2392. // 0, automated snapshots are disabled. Even if automated snapshots are disabled,
  2393. // you can still create manual snapshots when you want with CreateClusterSnapshot.
  2394. //
  2395. // Default: 1
  2396. //
  2397. // Constraints: Must be a value from 0 to 35.
  2398. AutomatedSnapshotRetentionPeriod *int64 `type:"integer"`
  2399. // The EC2 Availability Zone (AZ) in which you want Amazon Redshift to provision
  2400. // the cluster. For example, if you have several EC2 instances running in a
  2401. // specific Availability Zone, then you might want the cluster to be provisioned
  2402. // in the same zone in order to decrease network latency.
  2403. //
  2404. // Default: A random, system-chosen Availability Zone in the region that is
  2405. // specified by the endpoint.
  2406. //
  2407. // Example: us-east-1d
  2408. //
  2409. // Constraint: The specified Availability Zone must be in the same region
  2410. // as the current endpoint.
  2411. AvailabilityZone *string `type:"string"`
  2412. // A unique identifier for the cluster. You use this identifier to refer to
  2413. // the cluster for any subsequent cluster operations such as deleting or modifying.
  2414. // The identifier also appears in the Amazon Redshift console.
  2415. //
  2416. // Constraints:
  2417. //
  2418. // Must contain from 1 to 63 alphanumeric characters or hyphens. Alphabetic
  2419. // characters must be lowercase. First character must be a letter. Cannot end
  2420. // with a hyphen or contain two consecutive hyphens. Must be unique for all
  2421. // clusters within an AWS account. Example: myexamplecluster
  2422. ClusterIdentifier *string `type:"string" required:"true"`
  2423. // The name of the parameter group to be associated with this cluster.
  2424. //
  2425. // Default: The default Amazon Redshift cluster parameter group. For information
  2426. // about the default parameter group, go to Working with Amazon Redshift Parameter
  2427. // Groups (http://docs.aws.amazon.com/redshift/latest/mgmt/working-with-parameter-groups.html)
  2428. //
  2429. // Constraints:
  2430. //
  2431. // Must be 1 to 255 alphanumeric characters or hyphens. First character must
  2432. // be a letter. Cannot end with a hyphen or contain two consecutive hyphens.
  2433. ClusterParameterGroupName *string `type:"string"`
  2434. // A list of security groups to be associated with this cluster.
  2435. //
  2436. // Default: The default cluster security group for Amazon Redshift.
  2437. ClusterSecurityGroups []*string `locationNameList:"ClusterSecurityGroupName" type:"list"`
  2438. // The name of a cluster subnet group to be associated with this cluster.
  2439. //
  2440. // If this parameter is not provided the resulting cluster will be deployed
  2441. // outside virtual private cloud (VPC).
  2442. ClusterSubnetGroupName *string `type:"string"`
  2443. // The type of the cluster. When cluster type is specified as single-node,
  2444. // the NumberOfNodes parameter is not required. multi-node, the NumberOfNodes
  2445. // parameter is required.
  2446. //
  2447. // Valid Values: multi-node | single-node
  2448. //
  2449. // Default: multi-node
  2450. ClusterType *string `type:"string"`
  2451. // The version of the Amazon Redshift engine software that you want to deploy
  2452. // on the cluster.
  2453. //
  2454. // The version selected runs on all the nodes in the cluster.
  2455. //
  2456. // Constraints: Only version 1.0 is currently available.
  2457. //
  2458. // Example: 1.0
  2459. ClusterVersion *string `type:"string"`
  2460. // The name of the first database to be created when the cluster is created.
  2461. //
  2462. // To create additional databases after the cluster is created, connect to
  2463. // the cluster with a SQL client and use SQL commands to create a database.
  2464. // For more information, go to Create a Database (http://docs.aws.amazon.com/redshift/latest/dg/t_creating_database.html)
  2465. // in the Amazon Redshift Database Developer Guide.
  2466. //
  2467. // Default: dev
  2468. //
  2469. // Constraints:
  2470. //
  2471. // Must contain 1 to 64 alphanumeric characters. Must contain only lowercase
  2472. // letters. Cannot be a word that is reserved by the service. A list of reserved
  2473. // words can be found in Reserved Words (http://docs.aws.amazon.com/redshift/latest/dg/r_pg_keywords.html)
  2474. // in the Amazon Redshift Database Developer Guide.
  2475. DBName *string `type:"string"`
  2476. // The Elastic IP (EIP) address for the cluster.
  2477. //
  2478. // Constraints: The cluster must be provisioned in EC2-VPC and publicly-accessible
  2479. // through an Internet gateway. For more information about provisioning clusters
  2480. // in EC2-VPC, go to Supported Platforms to Launch Your Cluster (http://docs.aws.amazon.com/redshift/latest/mgmt/working-with-clusters.html#cluster-platforms)
  2481. // in the Amazon Redshift Cluster Management Guide.
  2482. ElasticIp *string `type:"string"`
  2483. // If true, the data in the cluster is encrypted at rest.
  2484. //
  2485. // Default: false
  2486. Encrypted *bool `type:"boolean"`
  2487. // Specifies the name of the HSM client certificate the Amazon Redshift cluster
  2488. // uses to retrieve the data encryption keys stored in an HSM.
  2489. HsmClientCertificateIdentifier *string `type:"string"`
  2490. // Specifies the name of the HSM configuration that contains the information
  2491. // the Amazon Redshift cluster can use to retrieve and store keys in an HSM.
  2492. HsmConfigurationIdentifier *string `type:"string"`
  2493. // The AWS Key Management Service (KMS) key ID of the encryption key that you
  2494. // want to use to encrypt data in the cluster.
  2495. KmsKeyId *string `type:"string"`
  2496. // The password associated with the master user account for the cluster that
  2497. // is being created.
  2498. //
  2499. // Constraints:
  2500. //
  2501. // Must be between 8 and 64 characters in length. Must contain at least one
  2502. // uppercase letter. Must contain at least one lowercase letter. Must contain
  2503. // one number. Can be any printable ASCII character (ASCII code 33 to 126) except
  2504. // ' (single quote), " (double quote), \, /, @, or space.
  2505. MasterUserPassword *string `type:"string" required:"true"`
  2506. // The user name associated with the master user account for the cluster that
  2507. // is being created.
  2508. //
  2509. // Constraints:
  2510. //
  2511. // Must be 1 - 128 alphanumeric characters. First character must be a letter.
  2512. // Cannot be a reserved word. A list of reserved words can be found in Reserved
  2513. // Words (http://docs.aws.amazon.com/redshift/latest/dg/r_pg_keywords.html)
  2514. // in the Amazon Redshift Database Developer Guide.
  2515. MasterUsername *string `type:"string" required:"true"`
  2516. // The node type to be provisioned for the cluster. For information about node
  2517. // types, go to Working with Clusters (http://docs.aws.amazon.com/redshift/latest/mgmt/working-with-clusters.html#how-many-nodes)
  2518. // in the Amazon Redshift Cluster Management Guide.
  2519. //
  2520. // Valid Values: ds1.xlarge | ds1.8xlarge | ds2.xlarge | ds2.8xlarge | dc1.large
  2521. // | dc1.8xlarge.
  2522. NodeType *string `type:"string" required:"true"`
  2523. // The number of compute nodes in the cluster. This parameter is required when
  2524. // the ClusterType parameter is specified as multi-node.
  2525. //
  2526. // For information about determining how many nodes you need, go to Working
  2527. // with Clusters (http://docs.aws.amazon.com/redshift/latest/mgmt/working-with-clusters.html#how-many-nodes)
  2528. // in the Amazon Redshift Cluster Management Guide.
  2529. //
  2530. // If you don't specify this parameter, you get a single-node cluster. When
  2531. // requesting a multi-node cluster, you must specify the number of nodes that
  2532. // you want in the cluster.
  2533. //
  2534. // Default: 1
  2535. //
  2536. // Constraints: Value must be at least 1 and no more than 100.
  2537. NumberOfNodes *int64 `type:"integer"`
  2538. // The port number on which the cluster accepts incoming connections.
  2539. //
  2540. // The cluster is accessible only via the JDBC and ODBC connection strings.
  2541. // Part of the connection string requires the port on which the cluster will
  2542. // listen for incoming connections.
  2543. //
  2544. // Default: 5439
  2545. //
  2546. // Valid Values: 1150-65535
  2547. Port *int64 `type:"integer"`
  2548. // The weekly time range (in UTC) during which automated cluster maintenance
  2549. // can occur.
  2550. //
  2551. // Format: ddd:hh24:mi-ddd:hh24:mi
  2552. //
  2553. // Default: A 30-minute window selected at random from an 8-hour block of
  2554. // time per region, occurring on a random day of the week. For more information
  2555. // about the time blocks for each region, see Maintenance Windows (http://docs.aws.amazon.com/redshift/latest/mgmt/working-with-clusters.html#rs-maintenance-windows)
  2556. // in Amazon Redshift Cluster Management Guide.
  2557. //
  2558. // Valid Days: Mon | Tue | Wed | Thu | Fri | Sat | Sun
  2559. //
  2560. // Constraints: Minimum 30-minute window.
  2561. PreferredMaintenanceWindow *string `type:"string"`
  2562. // If true, the cluster can be accessed from a public network.
  2563. PubliclyAccessible *bool `type:"boolean"`
  2564. // A list of tag instances.
  2565. Tags []*Tag `locationNameList:"Tag" type:"list"`
  2566. // A list of Virtual Private Cloud (VPC) security groups to be associated with
  2567. // the cluster.
  2568. //
  2569. // Default: The default VPC security group is associated with the cluster.
  2570. VpcSecurityGroupIds []*string `locationNameList:"VpcSecurityGroupId" type:"list"`
  2571. metadataCreateClusterInput `json:"-" xml:"-"`
  2572. }
  2573. type metadataCreateClusterInput struct {
  2574. SDKShapeTraits bool `type:"structure"`
  2575. }
  2576. // String returns the string representation
  2577. func (s CreateClusterInput) String() string {
  2578. return awsutil.Prettify(s)
  2579. }
  2580. // GoString returns the string representation
  2581. func (s CreateClusterInput) GoString() string {
  2582. return s.String()
  2583. }
  2584. type CreateClusterOutput struct {
  2585. // Describes a cluster.
  2586. Cluster *Cluster `type:"structure"`
  2587. metadataCreateClusterOutput `json:"-" xml:"-"`
  2588. }
  2589. type metadataCreateClusterOutput struct {
  2590. SDKShapeTraits bool `type:"structure"`
  2591. }
  2592. // String returns the string representation
  2593. func (s CreateClusterOutput) String() string {
  2594. return awsutil.Prettify(s)
  2595. }
  2596. // GoString returns the string representation
  2597. func (s CreateClusterOutput) GoString() string {
  2598. return s.String()
  2599. }
  2600. type CreateClusterParameterGroupInput struct {
  2601. // A description of the parameter group.
  2602. Description *string `type:"string" required:"true"`
  2603. // The Amazon Redshift engine version to which the cluster parameter group applies.
  2604. // The cluster engine version determines the set of parameters.
  2605. //
  2606. // To get a list of valid parameter group family names, you can call DescribeClusterParameterGroups.
  2607. // By default, Amazon Redshift returns a list of all the parameter groups that
  2608. // are owned by your AWS account, including the default parameter groups for
  2609. // each Amazon Redshift engine version. The parameter group family names associated
  2610. // with the default parameter groups provide you the valid values. For example,
  2611. // a valid family name is "redshift-1.0".
  2612. ParameterGroupFamily *string `type:"string" required:"true"`
  2613. // The name of the cluster parameter group.
  2614. //
  2615. // Constraints:
  2616. //
  2617. // Must be 1 to 255 alphanumeric characters or hyphens First character must
  2618. // be a letter. Cannot end with a hyphen or contain two consecutive hyphens.
  2619. // Must be unique withing your AWS account. This value is stored as a lower-case
  2620. // string.
  2621. ParameterGroupName *string `type:"string" required:"true"`
  2622. // A list of tag instances.
  2623. Tags []*Tag `locationNameList:"Tag" type:"list"`
  2624. metadataCreateClusterParameterGroupInput `json:"-" xml:"-"`
  2625. }
  2626. type metadataCreateClusterParameterGroupInput struct {
  2627. SDKShapeTraits bool `type:"structure"`
  2628. }
  2629. // String returns the string representation
  2630. func (s CreateClusterParameterGroupInput) String() string {
  2631. return awsutil.Prettify(s)
  2632. }
  2633. // GoString returns the string representation
  2634. func (s CreateClusterParameterGroupInput) GoString() string {
  2635. return s.String()
  2636. }
  2637. type CreateClusterParameterGroupOutput struct {
  2638. // Describes a parameter group.
  2639. ClusterParameterGroup *ClusterParameterGroup `type:"structure"`
  2640. metadataCreateClusterParameterGroupOutput `json:"-" xml:"-"`
  2641. }
  2642. type metadataCreateClusterParameterGroupOutput struct {
  2643. SDKShapeTraits bool `type:"structure"`
  2644. }
  2645. // String returns the string representation
  2646. func (s CreateClusterParameterGroupOutput) String() string {
  2647. return awsutil.Prettify(s)
  2648. }
  2649. // GoString returns the string representation
  2650. func (s CreateClusterParameterGroupOutput) GoString() string {
  2651. return s.String()
  2652. }
  2653. // ???
  2654. type CreateClusterSecurityGroupInput struct {
  2655. // The name for the security group. Amazon Redshift stores the value as a lowercase
  2656. // string.
  2657. //
  2658. // Constraints:
  2659. //
  2660. // Must contain no more than 255 alphanumeric characters or hyphens. Must
  2661. // not be "Default". Must be unique for all security groups that are created
  2662. // by your AWS account. Example: examplesecuritygroup
  2663. ClusterSecurityGroupName *string `type:"string" required:"true"`
  2664. // A description for the security group.
  2665. Description *string `type:"string" required:"true"`
  2666. // A list of tag instances.
  2667. Tags []*Tag `locationNameList:"Tag" type:"list"`
  2668. metadataCreateClusterSecurityGroupInput `json:"-" xml:"-"`
  2669. }
  2670. type metadataCreateClusterSecurityGroupInput struct {
  2671. SDKShapeTraits bool `type:"structure"`
  2672. }
  2673. // String returns the string representation
  2674. func (s CreateClusterSecurityGroupInput) String() string {
  2675. return awsutil.Prettify(s)
  2676. }
  2677. // GoString returns the string representation
  2678. func (s CreateClusterSecurityGroupInput) GoString() string {
  2679. return s.String()
  2680. }
  2681. type CreateClusterSecurityGroupOutput struct {
  2682. // Describes a security group.
  2683. ClusterSecurityGroup *ClusterSecurityGroup `type:"structure"`
  2684. metadataCreateClusterSecurityGroupOutput `json:"-" xml:"-"`
  2685. }
  2686. type metadataCreateClusterSecurityGroupOutput struct {
  2687. SDKShapeTraits bool `type:"structure"`
  2688. }
  2689. // String returns the string representation
  2690. func (s CreateClusterSecurityGroupOutput) String() string {
  2691. return awsutil.Prettify(s)
  2692. }
  2693. // GoString returns the string representation
  2694. func (s CreateClusterSecurityGroupOutput) GoString() string {
  2695. return s.String()
  2696. }
  2697. type CreateClusterSnapshotInput struct {
  2698. // The cluster identifier for which you want a snapshot.
  2699. ClusterIdentifier *string `type:"string" required:"true"`
  2700. // A unique identifier for the snapshot that you are requesting. This identifier
  2701. // must be unique for all snapshots within the AWS account.
  2702. //
  2703. // Constraints:
  2704. //
  2705. // Cannot be null, empty, or blank Must contain from 1 to 255 alphanumeric
  2706. // characters or hyphens First character must be a letter Cannot end with a
  2707. // hyphen or contain two consecutive hyphens Example: my-snapshot-id
  2708. SnapshotIdentifier *string `type:"string" required:"true"`
  2709. // A list of tag instances.
  2710. Tags []*Tag `locationNameList:"Tag" type:"list"`
  2711. metadataCreateClusterSnapshotInput `json:"-" xml:"-"`
  2712. }
  2713. type metadataCreateClusterSnapshotInput struct {
  2714. SDKShapeTraits bool `type:"structure"`
  2715. }
  2716. // String returns the string representation
  2717. func (s CreateClusterSnapshotInput) String() string {
  2718. return awsutil.Prettify(s)
  2719. }
  2720. // GoString returns the string representation
  2721. func (s CreateClusterSnapshotInput) GoString() string {
  2722. return s.String()
  2723. }
  2724. type CreateClusterSnapshotOutput struct {
  2725. // Describes a snapshot.
  2726. Snapshot *Snapshot `type:"structure"`
  2727. metadataCreateClusterSnapshotOutput `json:"-" xml:"-"`
  2728. }
  2729. type metadataCreateClusterSnapshotOutput struct {
  2730. SDKShapeTraits bool `type:"structure"`
  2731. }
  2732. // String returns the string representation
  2733. func (s CreateClusterSnapshotOutput) String() string {
  2734. return awsutil.Prettify(s)
  2735. }
  2736. // GoString returns the string representation
  2737. func (s CreateClusterSnapshotOutput) GoString() string {
  2738. return s.String()
  2739. }
  2740. type CreateClusterSubnetGroupInput struct {
  2741. // The name for the subnet group. Amazon Redshift stores the value as a lowercase
  2742. // string.
  2743. //
  2744. // Constraints:
  2745. //
  2746. // Must contain no more than 255 alphanumeric characters or hyphens. Must
  2747. // not be "Default". Must be unique for all subnet groups that are created by
  2748. // your AWS account. Example: examplesubnetgroup
  2749. ClusterSubnetGroupName *string `type:"string" required:"true"`
  2750. // A description for the subnet group.
  2751. Description *string `type:"string" required:"true"`
  2752. // An array of VPC subnet IDs. A maximum of 20 subnets can be modified in a
  2753. // single request.
  2754. SubnetIds []*string `locationNameList:"SubnetIdentifier" type:"list" required:"true"`
  2755. // A list of tag instances.
  2756. Tags []*Tag `locationNameList:"Tag" type:"list"`
  2757. metadataCreateClusterSubnetGroupInput `json:"-" xml:"-"`
  2758. }
  2759. type metadataCreateClusterSubnetGroupInput struct {
  2760. SDKShapeTraits bool `type:"structure"`
  2761. }
  2762. // String returns the string representation
  2763. func (s CreateClusterSubnetGroupInput) String() string {
  2764. return awsutil.Prettify(s)
  2765. }
  2766. // GoString returns the string representation
  2767. func (s CreateClusterSubnetGroupInput) GoString() string {
  2768. return s.String()
  2769. }
  2770. type CreateClusterSubnetGroupOutput struct {
  2771. // Describes a subnet group.
  2772. ClusterSubnetGroup *ClusterSubnetGroup `type:"structure"`
  2773. metadataCreateClusterSubnetGroupOutput `json:"-" xml:"-"`
  2774. }
  2775. type metadataCreateClusterSubnetGroupOutput struct {
  2776. SDKShapeTraits bool `type:"structure"`
  2777. }
  2778. // String returns the string representation
  2779. func (s CreateClusterSubnetGroupOutput) String() string {
  2780. return awsutil.Prettify(s)
  2781. }
  2782. // GoString returns the string representation
  2783. func (s CreateClusterSubnetGroupOutput) GoString() string {
  2784. return s.String()
  2785. }
  2786. type CreateEventSubscriptionInput struct {
  2787. // A Boolean value; set to true to activate the subscription, set to false to
  2788. // create the subscription but not active it.
  2789. Enabled *bool `type:"boolean"`
  2790. // Specifies the Amazon Redshift event categories to be published by the event
  2791. // notification subscription.
  2792. //
  2793. // Values: Configuration, Management, Monitoring, Security
  2794. EventCategories []*string `locationNameList:"EventCategory" type:"list"`
  2795. // Specifies the Amazon Redshift event severity to be published by the event
  2796. // notification subscription.
  2797. //
  2798. // Values: ERROR, INFO
  2799. Severity *string `type:"string"`
  2800. // The Amazon Resource Name (ARN) of the Amazon SNS topic used to transmit the
  2801. // event notifications. The ARN is created by Amazon SNS when you create a topic
  2802. // and subscribe to it.
  2803. SnsTopicArn *string `type:"string" required:"true"`
  2804. // A list of one or more identifiers of Amazon Redshift source objects. All
  2805. // of the objects must be of the same type as was specified in the source type
  2806. // parameter. The event subscription will return only events generated by the
  2807. // specified objects. If not specified, then events are returned for all objects
  2808. // within the source type specified.
  2809. //
  2810. // Example: my-cluster-1, my-cluster-2
  2811. //
  2812. // Example: my-snapshot-20131010
  2813. SourceIds []*string `locationNameList:"SourceId" type:"list"`
  2814. // The type of source that will be generating the events. For example, if you
  2815. // want to be notified of events generated by a cluster, you would set this
  2816. // parameter to cluster. If this value is not specified, events are returned
  2817. // for all Amazon Redshift objects in your AWS account. You must specify a source
  2818. // type in order to specify source IDs.
  2819. //
  2820. // Valid values: cluster, cluster-parameter-group, cluster-security-group,
  2821. // and cluster-snapshot.
  2822. SourceType *string `type:"string"`
  2823. // The name of the event subscription to be created.
  2824. //
  2825. // Constraints:
  2826. //
  2827. // Cannot be null, empty, or blank. Must contain from 1 to 255 alphanumeric
  2828. // characters or hyphens. First character must be a letter. Cannot end with
  2829. // a hyphen or contain two consecutive hyphens.
  2830. SubscriptionName *string `type:"string" required:"true"`
  2831. // A list of tag instances.
  2832. Tags []*Tag `locationNameList:"Tag" type:"list"`
  2833. metadataCreateEventSubscriptionInput `json:"-" xml:"-"`
  2834. }
  2835. type metadataCreateEventSubscriptionInput struct {
  2836. SDKShapeTraits bool `type:"structure"`
  2837. }
  2838. // String returns the string representation
  2839. func (s CreateEventSubscriptionInput) String() string {
  2840. return awsutil.Prettify(s)
  2841. }
  2842. // GoString returns the string representation
  2843. func (s CreateEventSubscriptionInput) GoString() string {
  2844. return s.String()
  2845. }
  2846. type CreateEventSubscriptionOutput struct {
  2847. EventSubscription *EventSubscription `type:"structure"`
  2848. metadataCreateEventSubscriptionOutput `json:"-" xml:"-"`
  2849. }
  2850. type metadataCreateEventSubscriptionOutput struct {
  2851. SDKShapeTraits bool `type:"structure"`
  2852. }
  2853. // String returns the string representation
  2854. func (s CreateEventSubscriptionOutput) String() string {
  2855. return awsutil.Prettify(s)
  2856. }
  2857. // GoString returns the string representation
  2858. func (s CreateEventSubscriptionOutput) GoString() string {
  2859. return s.String()
  2860. }
  2861. type CreateHsmClientCertificateInput struct {
  2862. // The identifier to be assigned to the new HSM client certificate that the
  2863. // cluster will use to connect to the HSM to use the database encryption keys.
  2864. HsmClientCertificateIdentifier *string `type:"string" required:"true"`
  2865. // A list of tag instances.
  2866. Tags []*Tag `locationNameList:"Tag" type:"list"`
  2867. metadataCreateHsmClientCertificateInput `json:"-" xml:"-"`
  2868. }
  2869. type metadataCreateHsmClientCertificateInput struct {
  2870. SDKShapeTraits bool `type:"structure"`
  2871. }
  2872. // String returns the string representation
  2873. func (s CreateHsmClientCertificateInput) String() string {
  2874. return awsutil.Prettify(s)
  2875. }
  2876. // GoString returns the string representation
  2877. func (s CreateHsmClientCertificateInput) GoString() string {
  2878. return s.String()
  2879. }
  2880. type CreateHsmClientCertificateOutput struct {
  2881. // Returns information about an HSM client certificate. The certificate is stored
  2882. // in a secure Hardware Storage Module (HSM), and used by the Amazon Redshift
  2883. // cluster to encrypt data files.
  2884. HsmClientCertificate *HsmClientCertificate `type:"structure"`
  2885. metadataCreateHsmClientCertificateOutput `json:"-" xml:"-"`
  2886. }
  2887. type metadataCreateHsmClientCertificateOutput struct {
  2888. SDKShapeTraits bool `type:"structure"`
  2889. }
  2890. // String returns the string representation
  2891. func (s CreateHsmClientCertificateOutput) String() string {
  2892. return awsutil.Prettify(s)
  2893. }
  2894. // GoString returns the string representation
  2895. func (s CreateHsmClientCertificateOutput) GoString() string {
  2896. return s.String()
  2897. }
  2898. type CreateHsmConfigurationInput struct {
  2899. // A text description of the HSM configuration to be created.
  2900. Description *string `type:"string" required:"true"`
  2901. // The identifier to be assigned to the new Amazon Redshift HSM configuration.
  2902. HsmConfigurationIdentifier *string `type:"string" required:"true"`
  2903. // The IP address that the Amazon Redshift cluster must use to access the HSM.
  2904. HsmIpAddress *string `type:"string" required:"true"`
  2905. // The name of the partition in the HSM where the Amazon Redshift clusters will
  2906. // store their database encryption keys.
  2907. HsmPartitionName *string `type:"string" required:"true"`
  2908. // The password required to access the HSM partition.
  2909. HsmPartitionPassword *string `type:"string" required:"true"`
  2910. // The HSMs public certificate file. When using Cloud HSM, the file name is
  2911. // server.pem.
  2912. HsmServerPublicCertificate *string `type:"string" required:"true"`
  2913. // A list of tag instances.
  2914. Tags []*Tag `locationNameList:"Tag" type:"list"`
  2915. metadataCreateHsmConfigurationInput `json:"-" xml:"-"`
  2916. }
  2917. type metadataCreateHsmConfigurationInput struct {
  2918. SDKShapeTraits bool `type:"structure"`
  2919. }
  2920. // String returns the string representation
  2921. func (s CreateHsmConfigurationInput) String() string {
  2922. return awsutil.Prettify(s)
  2923. }
  2924. // GoString returns the string representation
  2925. func (s CreateHsmConfigurationInput) GoString() string {
  2926. return s.String()
  2927. }
  2928. type CreateHsmConfigurationOutput struct {
  2929. // Returns information about an HSM configuration, which is an object that describes
  2930. // to Amazon Redshift clusters the information they require to connect to an
  2931. // HSM where they can store database encryption keys.
  2932. HsmConfiguration *HsmConfiguration `type:"structure"`
  2933. metadataCreateHsmConfigurationOutput `json:"-" xml:"-"`
  2934. }
  2935. type metadataCreateHsmConfigurationOutput struct {
  2936. SDKShapeTraits bool `type:"structure"`
  2937. }
  2938. // String returns the string representation
  2939. func (s CreateHsmConfigurationOutput) String() string {
  2940. return awsutil.Prettify(s)
  2941. }
  2942. // GoString returns the string representation
  2943. func (s CreateHsmConfigurationOutput) GoString() string {
  2944. return s.String()
  2945. }
  2946. // The result of the CreateSnapshotCopyGrant action.
  2947. type CreateSnapshotCopyGrantInput struct {
  2948. // The unique identifier of the customer master key (CMK) to which to grant
  2949. // Amazon Redshift permission. If no key is specified, the default key is used.
  2950. KmsKeyId *string `type:"string"`
  2951. // The name of the snapshot copy grant. This name must be unique in the region
  2952. // for the AWS account.
  2953. //
  2954. // Constraints:
  2955. //
  2956. // Must contain from 1 to 63 alphanumeric characters or hyphens. Alphabetic
  2957. // characters must be lowercase. First character must be a letter. Cannot end
  2958. // with a hyphen or contain two consecutive hyphens. Must be unique for all
  2959. // clusters within an AWS account.
  2960. SnapshotCopyGrantName *string `type:"string" required:"true"`
  2961. // A list of tag instances.
  2962. Tags []*Tag `locationNameList:"Tag" type:"list"`
  2963. metadataCreateSnapshotCopyGrantInput `json:"-" xml:"-"`
  2964. }
  2965. type metadataCreateSnapshotCopyGrantInput struct {
  2966. SDKShapeTraits bool `type:"structure"`
  2967. }
  2968. // String returns the string representation
  2969. func (s CreateSnapshotCopyGrantInput) String() string {
  2970. return awsutil.Prettify(s)
  2971. }
  2972. // GoString returns the string representation
  2973. func (s CreateSnapshotCopyGrantInput) GoString() string {
  2974. return s.String()
  2975. }
  2976. type CreateSnapshotCopyGrantOutput struct {
  2977. // The snapshot copy grant that grants Amazon Redshift permission to encrypt
  2978. // copied snapshots with the specified customer master key (CMK) from AWS KMS
  2979. // in the destination region.
  2980. //
  2981. // For more information about managing snapshot copy grants, go to Amazon
  2982. // Redshift Database Encryption (http://docs.aws.amazon.com/redshift/latest/mgmt/working-with-db-encryption.html)
  2983. // in the Amazon Redshift Cluster Management Guide.
  2984. SnapshotCopyGrant *SnapshotCopyGrant `type:"structure"`
  2985. metadataCreateSnapshotCopyGrantOutput `json:"-" xml:"-"`
  2986. }
  2987. type metadataCreateSnapshotCopyGrantOutput struct {
  2988. SDKShapeTraits bool `type:"structure"`
  2989. }
  2990. // String returns the string representation
  2991. func (s CreateSnapshotCopyGrantOutput) String() string {
  2992. return awsutil.Prettify(s)
  2993. }
  2994. // GoString returns the string representation
  2995. func (s CreateSnapshotCopyGrantOutput) GoString() string {
  2996. return s.String()
  2997. }
  2998. // Contains the output from the CreateTags action.
  2999. type CreateTagsInput struct {
  3000. // The Amazon Resource Name (ARN) to which you want to add the tag or tags.
  3001. // For example, arn:aws:redshift:us-east-1:123456789:cluster:t1.
  3002. ResourceName *string `type:"string" required:"true"`
  3003. // One or more name/value pairs to add as tags to the specified resource. Each
  3004. // tag name is passed in with the parameter Key and the corresponding value
  3005. // is passed in with the parameter Value. The Key and Value parameters are separated
  3006. // by a comma (,). Separate multiple tags with a space. For example, --tags
  3007. // "Key"="owner","Value"="admin" "Key"="environment","Value"="test" "Key"="version","Value"="1.0".
  3008. Tags []*Tag `locationNameList:"Tag" type:"list" required:"true"`
  3009. metadataCreateTagsInput `json:"-" xml:"-"`
  3010. }
  3011. type metadataCreateTagsInput struct {
  3012. SDKShapeTraits bool `type:"structure"`
  3013. }
  3014. // String returns the string representation
  3015. func (s CreateTagsInput) String() string {
  3016. return awsutil.Prettify(s)
  3017. }
  3018. // GoString returns the string representation
  3019. func (s CreateTagsInput) GoString() string {
  3020. return s.String()
  3021. }
  3022. type CreateTagsOutput struct {
  3023. metadataCreateTagsOutput `json:"-" xml:"-"`
  3024. }
  3025. type metadataCreateTagsOutput struct {
  3026. SDKShapeTraits bool `type:"structure"`
  3027. }
  3028. // String returns the string representation
  3029. func (s CreateTagsOutput) String() string {
  3030. return awsutil.Prettify(s)
  3031. }
  3032. // GoString returns the string representation
  3033. func (s CreateTagsOutput) GoString() string {
  3034. return s.String()
  3035. }
  3036. // Describes the default cluster parameters for a parameter group family.
  3037. type DefaultClusterParameters struct {
  3038. // A value that indicates the starting point for the next set of response records
  3039. // in a subsequent request. If a value is returned in a response, you can retrieve
  3040. // the next set of records by providing this returned marker value in the Marker
  3041. // parameter and retrying the command. If the Marker field is empty, all response
  3042. // records have been retrieved for the request.
  3043. Marker *string `type:"string"`
  3044. // The name of the cluster parameter group family to which the engine default
  3045. // parameters apply.
  3046. ParameterGroupFamily *string `type:"string"`
  3047. // The list of cluster default parameters.
  3048. Parameters []*Parameter `locationNameList:"Parameter" type:"list"`
  3049. metadataDefaultClusterParameters `json:"-" xml:"-"`
  3050. }
  3051. type metadataDefaultClusterParameters struct {
  3052. SDKShapeTraits bool `type:"structure"`
  3053. }
  3054. // String returns the string representation
  3055. func (s DefaultClusterParameters) String() string {
  3056. return awsutil.Prettify(s)
  3057. }
  3058. // GoString returns the string representation
  3059. func (s DefaultClusterParameters) GoString() string {
  3060. return s.String()
  3061. }
  3062. type DeleteClusterInput struct {
  3063. // The identifier of the cluster to be deleted.
  3064. //
  3065. // Constraints:
  3066. //
  3067. // Must contain lowercase characters. Must contain from 1 to 63 alphanumeric
  3068. // characters or hyphens. First character must be a letter. Cannot end with
  3069. // a hyphen or contain two consecutive hyphens.
  3070. ClusterIdentifier *string `type:"string" required:"true"`
  3071. // The identifier of the final snapshot that is to be created immediately before
  3072. // deleting the cluster. If this parameter is provided, SkipFinalClusterSnapshot
  3073. // must be false.
  3074. //
  3075. // Constraints:
  3076. //
  3077. // Must be 1 to 255 alphanumeric characters. First character must be a letter.
  3078. // Cannot end with a hyphen or contain two consecutive hyphens.
  3079. FinalClusterSnapshotIdentifier *string `type:"string"`
  3080. // Determines whether a final snapshot of the cluster is created before Amazon
  3081. // Redshift deletes the cluster. If true, a final cluster snapshot is not created.
  3082. // If false, a final cluster snapshot is created before the cluster is deleted.
  3083. //
  3084. // The FinalClusterSnapshotIdentifier parameter must be specified if SkipFinalClusterSnapshot
  3085. // is false. Default: false
  3086. SkipFinalClusterSnapshot *bool `type:"boolean"`
  3087. metadataDeleteClusterInput `json:"-" xml:"-"`
  3088. }
  3089. type metadataDeleteClusterInput struct {
  3090. SDKShapeTraits bool `type:"structure"`
  3091. }
  3092. // String returns the string representation
  3093. func (s DeleteClusterInput) String() string {
  3094. return awsutil.Prettify(s)
  3095. }
  3096. // GoString returns the string representation
  3097. func (s DeleteClusterInput) GoString() string {
  3098. return s.String()
  3099. }
  3100. type DeleteClusterOutput struct {
  3101. // Describes a cluster.
  3102. Cluster *Cluster `type:"structure"`
  3103. metadataDeleteClusterOutput `json:"-" xml:"-"`
  3104. }
  3105. type metadataDeleteClusterOutput struct {
  3106. SDKShapeTraits bool `type:"structure"`
  3107. }
  3108. // String returns the string representation
  3109. func (s DeleteClusterOutput) String() string {
  3110. return awsutil.Prettify(s)
  3111. }
  3112. // GoString returns the string representation
  3113. func (s DeleteClusterOutput) GoString() string {
  3114. return s.String()
  3115. }
  3116. type DeleteClusterParameterGroupInput struct {
  3117. // The name of the parameter group to be deleted.
  3118. //
  3119. // Constraints:
  3120. //
  3121. // Must be the name of an existing cluster parameter group. Cannot delete
  3122. // a default cluster parameter group.
  3123. ParameterGroupName *string `type:"string" required:"true"`
  3124. metadataDeleteClusterParameterGroupInput `json:"-" xml:"-"`
  3125. }
  3126. type metadataDeleteClusterParameterGroupInput struct {
  3127. SDKShapeTraits bool `type:"structure"`
  3128. }
  3129. // String returns the string representation
  3130. func (s DeleteClusterParameterGroupInput) String() string {
  3131. return awsutil.Prettify(s)
  3132. }
  3133. // GoString returns the string representation
  3134. func (s DeleteClusterParameterGroupInput) GoString() string {
  3135. return s.String()
  3136. }
  3137. type DeleteClusterParameterGroupOutput struct {
  3138. metadataDeleteClusterParameterGroupOutput `json:"-" xml:"-"`
  3139. }
  3140. type metadataDeleteClusterParameterGroupOutput struct {
  3141. SDKShapeTraits bool `type:"structure"`
  3142. }
  3143. // String returns the string representation
  3144. func (s DeleteClusterParameterGroupOutput) String() string {
  3145. return awsutil.Prettify(s)
  3146. }
  3147. // GoString returns the string representation
  3148. func (s DeleteClusterParameterGroupOutput) GoString() string {
  3149. return s.String()
  3150. }
  3151. type DeleteClusterSecurityGroupInput struct {
  3152. // The name of the cluster security group to be deleted.
  3153. ClusterSecurityGroupName *string `type:"string" required:"true"`
  3154. metadataDeleteClusterSecurityGroupInput `json:"-" xml:"-"`
  3155. }
  3156. type metadataDeleteClusterSecurityGroupInput struct {
  3157. SDKShapeTraits bool `type:"structure"`
  3158. }
  3159. // String returns the string representation
  3160. func (s DeleteClusterSecurityGroupInput) String() string {
  3161. return awsutil.Prettify(s)
  3162. }
  3163. // GoString returns the string representation
  3164. func (s DeleteClusterSecurityGroupInput) GoString() string {
  3165. return s.String()
  3166. }
  3167. type DeleteClusterSecurityGroupOutput struct {
  3168. metadataDeleteClusterSecurityGroupOutput `json:"-" xml:"-"`
  3169. }
  3170. type metadataDeleteClusterSecurityGroupOutput struct {
  3171. SDKShapeTraits bool `type:"structure"`
  3172. }
  3173. // String returns the string representation
  3174. func (s DeleteClusterSecurityGroupOutput) String() string {
  3175. return awsutil.Prettify(s)
  3176. }
  3177. // GoString returns the string representation
  3178. func (s DeleteClusterSecurityGroupOutput) GoString() string {
  3179. return s.String()
  3180. }
  3181. type DeleteClusterSnapshotInput struct {
  3182. // The unique identifier of the cluster the snapshot was created from. This
  3183. // parameter is required if your IAM user has a policy containing a snapshot
  3184. // resource element that specifies anything other than * for the cluster name.
  3185. //
  3186. // Constraints: Must be the name of valid cluster.
  3187. SnapshotClusterIdentifier *string `type:"string"`
  3188. // The unique identifier of the manual snapshot to be deleted.
  3189. //
  3190. // Constraints: Must be the name of an existing snapshot that is in the available
  3191. // state.
  3192. SnapshotIdentifier *string `type:"string" required:"true"`
  3193. metadataDeleteClusterSnapshotInput `json:"-" xml:"-"`
  3194. }
  3195. type metadataDeleteClusterSnapshotInput struct {
  3196. SDKShapeTraits bool `type:"structure"`
  3197. }
  3198. // String returns the string representation
  3199. func (s DeleteClusterSnapshotInput) String() string {
  3200. return awsutil.Prettify(s)
  3201. }
  3202. // GoString returns the string representation
  3203. func (s DeleteClusterSnapshotInput) GoString() string {
  3204. return s.String()
  3205. }
  3206. type DeleteClusterSnapshotOutput struct {
  3207. // Describes a snapshot.
  3208. Snapshot *Snapshot `type:"structure"`
  3209. metadataDeleteClusterSnapshotOutput `json:"-" xml:"-"`
  3210. }
  3211. type metadataDeleteClusterSnapshotOutput struct {
  3212. SDKShapeTraits bool `type:"structure"`
  3213. }
  3214. // String returns the string representation
  3215. func (s DeleteClusterSnapshotOutput) String() string {
  3216. return awsutil.Prettify(s)
  3217. }
  3218. // GoString returns the string representation
  3219. func (s DeleteClusterSnapshotOutput) GoString() string {
  3220. return s.String()
  3221. }
  3222. type DeleteClusterSubnetGroupInput struct {
  3223. // The name of the cluster subnet group name to be deleted.
  3224. ClusterSubnetGroupName *string `type:"string" required:"true"`
  3225. metadataDeleteClusterSubnetGroupInput `json:"-" xml:"-"`
  3226. }
  3227. type metadataDeleteClusterSubnetGroupInput struct {
  3228. SDKShapeTraits bool `type:"structure"`
  3229. }
  3230. // String returns the string representation
  3231. func (s DeleteClusterSubnetGroupInput) String() string {
  3232. return awsutil.Prettify(s)
  3233. }
  3234. // GoString returns the string representation
  3235. func (s DeleteClusterSubnetGroupInput) GoString() string {
  3236. return s.String()
  3237. }
  3238. type DeleteClusterSubnetGroupOutput struct {
  3239. metadataDeleteClusterSubnetGroupOutput `json:"-" xml:"-"`
  3240. }
  3241. type metadataDeleteClusterSubnetGroupOutput struct {
  3242. SDKShapeTraits bool `type:"structure"`
  3243. }
  3244. // String returns the string representation
  3245. func (s DeleteClusterSubnetGroupOutput) String() string {
  3246. return awsutil.Prettify(s)
  3247. }
  3248. // GoString returns the string representation
  3249. func (s DeleteClusterSubnetGroupOutput) GoString() string {
  3250. return s.String()
  3251. }
  3252. type DeleteEventSubscriptionInput struct {
  3253. // The name of the Amazon Redshift event notification subscription to be deleted.
  3254. SubscriptionName *string `type:"string" required:"true"`
  3255. metadataDeleteEventSubscriptionInput `json:"-" xml:"-"`
  3256. }
  3257. type metadataDeleteEventSubscriptionInput struct {
  3258. SDKShapeTraits bool `type:"structure"`
  3259. }
  3260. // String returns the string representation
  3261. func (s DeleteEventSubscriptionInput) String() string {
  3262. return awsutil.Prettify(s)
  3263. }
  3264. // GoString returns the string representation
  3265. func (s DeleteEventSubscriptionInput) GoString() string {
  3266. return s.String()
  3267. }
  3268. type DeleteEventSubscriptionOutput struct {
  3269. metadataDeleteEventSubscriptionOutput `json:"-" xml:"-"`
  3270. }
  3271. type metadataDeleteEventSubscriptionOutput struct {
  3272. SDKShapeTraits bool `type:"structure"`
  3273. }
  3274. // String returns the string representation
  3275. func (s DeleteEventSubscriptionOutput) String() string {
  3276. return awsutil.Prettify(s)
  3277. }
  3278. // GoString returns the string representation
  3279. func (s DeleteEventSubscriptionOutput) GoString() string {
  3280. return s.String()
  3281. }
  3282. type DeleteHsmClientCertificateInput struct {
  3283. // The identifier of the HSM client certificate to be deleted.
  3284. HsmClientCertificateIdentifier *string `type:"string" required:"true"`
  3285. metadataDeleteHsmClientCertificateInput `json:"-" xml:"-"`
  3286. }
  3287. type metadataDeleteHsmClientCertificateInput struct {
  3288. SDKShapeTraits bool `type:"structure"`
  3289. }
  3290. // String returns the string representation
  3291. func (s DeleteHsmClientCertificateInput) String() string {
  3292. return awsutil.Prettify(s)
  3293. }
  3294. // GoString returns the string representation
  3295. func (s DeleteHsmClientCertificateInput) GoString() string {
  3296. return s.String()
  3297. }
  3298. type DeleteHsmClientCertificateOutput struct {
  3299. metadataDeleteHsmClientCertificateOutput `json:"-" xml:"-"`
  3300. }
  3301. type metadataDeleteHsmClientCertificateOutput struct {
  3302. SDKShapeTraits bool `type:"structure"`
  3303. }
  3304. // String returns the string representation
  3305. func (s DeleteHsmClientCertificateOutput) String() string {
  3306. return awsutil.Prettify(s)
  3307. }
  3308. // GoString returns the string representation
  3309. func (s DeleteHsmClientCertificateOutput) GoString() string {
  3310. return s.String()
  3311. }
  3312. type DeleteHsmConfigurationInput struct {
  3313. // The identifier of the Amazon Redshift HSM configuration to be deleted.
  3314. HsmConfigurationIdentifier *string `type:"string" required:"true"`
  3315. metadataDeleteHsmConfigurationInput `json:"-" xml:"-"`
  3316. }
  3317. type metadataDeleteHsmConfigurationInput struct {
  3318. SDKShapeTraits bool `type:"structure"`
  3319. }
  3320. // String returns the string representation
  3321. func (s DeleteHsmConfigurationInput) String() string {
  3322. return awsutil.Prettify(s)
  3323. }
  3324. // GoString returns the string representation
  3325. func (s DeleteHsmConfigurationInput) GoString() string {
  3326. return s.String()
  3327. }
  3328. type DeleteHsmConfigurationOutput struct {
  3329. metadataDeleteHsmConfigurationOutput `json:"-" xml:"-"`
  3330. }
  3331. type metadataDeleteHsmConfigurationOutput struct {
  3332. SDKShapeTraits bool `type:"structure"`
  3333. }
  3334. // String returns the string representation
  3335. func (s DeleteHsmConfigurationOutput) String() string {
  3336. return awsutil.Prettify(s)
  3337. }
  3338. // GoString returns the string representation
  3339. func (s DeleteHsmConfigurationOutput) GoString() string {
  3340. return s.String()
  3341. }
  3342. // The result of the DeleteSnapshotCopyGrant action.
  3343. type DeleteSnapshotCopyGrantInput struct {
  3344. // The name of the snapshot copy grant to delete.
  3345. SnapshotCopyGrantName *string `type:"string" required:"true"`
  3346. metadataDeleteSnapshotCopyGrantInput `json:"-" xml:"-"`
  3347. }
  3348. type metadataDeleteSnapshotCopyGrantInput struct {
  3349. SDKShapeTraits bool `type:"structure"`
  3350. }
  3351. // String returns the string representation
  3352. func (s DeleteSnapshotCopyGrantInput) String() string {
  3353. return awsutil.Prettify(s)
  3354. }
  3355. // GoString returns the string representation
  3356. func (s DeleteSnapshotCopyGrantInput) GoString() string {
  3357. return s.String()
  3358. }
  3359. type DeleteSnapshotCopyGrantOutput struct {
  3360. metadataDeleteSnapshotCopyGrantOutput `json:"-" xml:"-"`
  3361. }
  3362. type metadataDeleteSnapshotCopyGrantOutput struct {
  3363. SDKShapeTraits bool `type:"structure"`
  3364. }
  3365. // String returns the string representation
  3366. func (s DeleteSnapshotCopyGrantOutput) String() string {
  3367. return awsutil.Prettify(s)
  3368. }
  3369. // GoString returns the string representation
  3370. func (s DeleteSnapshotCopyGrantOutput) GoString() string {
  3371. return s.String()
  3372. }
  3373. // Contains the output from the DeleteTags action.
  3374. type DeleteTagsInput struct {
  3375. // The Amazon Resource Name (ARN) from which you want to remove the tag or tags.
  3376. // For example, arn:aws:redshift:us-east-1:123456789:cluster:t1.
  3377. ResourceName *string `type:"string" required:"true"`
  3378. // The tag key that you want to delete.
  3379. TagKeys []*string `locationNameList:"TagKey" type:"list" required:"true"`
  3380. metadataDeleteTagsInput `json:"-" xml:"-"`
  3381. }
  3382. type metadataDeleteTagsInput struct {
  3383. SDKShapeTraits bool `type:"structure"`
  3384. }
  3385. // String returns the string representation
  3386. func (s DeleteTagsInput) String() string {
  3387. return awsutil.Prettify(s)
  3388. }
  3389. // GoString returns the string representation
  3390. func (s DeleteTagsInput) GoString() string {
  3391. return s.String()
  3392. }
  3393. type DeleteTagsOutput struct {
  3394. metadataDeleteTagsOutput `json:"-" xml:"-"`
  3395. }
  3396. type metadataDeleteTagsOutput struct {
  3397. SDKShapeTraits bool `type:"structure"`
  3398. }
  3399. // String returns the string representation
  3400. func (s DeleteTagsOutput) String() string {
  3401. return awsutil.Prettify(s)
  3402. }
  3403. // GoString returns the string representation
  3404. func (s DeleteTagsOutput) GoString() string {
  3405. return s.String()
  3406. }
  3407. type DescribeClusterParameterGroupsInput struct {
  3408. // An optional parameter that specifies the starting point to return a set of
  3409. // response records. When the results of a DescribeClusterParameterGroups request
  3410. // exceed the value specified in MaxRecords, AWS returns a value in the Marker
  3411. // field of the response. You can retrieve the next set of response records
  3412. // by providing the returned marker value in the Marker parameter and retrying
  3413. // the request.
  3414. Marker *string `type:"string"`
  3415. // The maximum number of response records to return in each call. If the number
  3416. // of remaining response records exceeds the specified MaxRecords value, a value
  3417. // is returned in a marker field of the response. You can retrieve the next
  3418. // set of records by retrying the command with the returned marker value.
  3419. //
  3420. // Default: 100
  3421. //
  3422. // Constraints: minimum 20, maximum 100.
  3423. MaxRecords *int64 `type:"integer"`
  3424. // The name of a specific parameter group for which to return details. By default,
  3425. // details about all parameter groups and the default parameter group are returned.
  3426. ParameterGroupName *string `type:"string"`
  3427. // A tag key or keys for which you want to return all matching cluster parameter
  3428. // groups that are associated with the specified key or keys. For example, suppose
  3429. // that you have parameter groups that are tagged with keys called owner and
  3430. // environment. If you specify both of these tag keys in the request, Amazon
  3431. // Redshift returns a response with the parameter groups that have either or
  3432. // both of these tag keys associated with them.
  3433. TagKeys []*string `locationNameList:"TagKey" type:"list"`
  3434. // A tag value or values for which you want to return all matching cluster parameter
  3435. // groups that are associated with the specified tag value or values. For example,
  3436. // suppose that you have parameter groups that are tagged with values called
  3437. // admin and test. If you specify both of these tag values in the request, Amazon
  3438. // Redshift returns a response with the parameter groups that have either or
  3439. // both of these tag values associated with them.
  3440. TagValues []*string `locationNameList:"TagValue" type:"list"`
  3441. metadataDescribeClusterParameterGroupsInput `json:"-" xml:"-"`
  3442. }
  3443. type metadataDescribeClusterParameterGroupsInput struct {
  3444. SDKShapeTraits bool `type:"structure"`
  3445. }
  3446. // String returns the string representation
  3447. func (s DescribeClusterParameterGroupsInput) String() string {
  3448. return awsutil.Prettify(s)
  3449. }
  3450. // GoString returns the string representation
  3451. func (s DescribeClusterParameterGroupsInput) GoString() string {
  3452. return s.String()
  3453. }
  3454. // Contains the output from the DescribeClusterParameterGroups action.
  3455. type DescribeClusterParameterGroupsOutput struct {
  3456. // A value that indicates the starting point for the next set of response records
  3457. // in a subsequent request. If a value is returned in a response, you can retrieve
  3458. // the next set of records by providing this returned marker value in the Marker
  3459. // parameter and retrying the command. If the Marker field is empty, all response
  3460. // records have been retrieved for the request.
  3461. Marker *string `type:"string"`
  3462. // A list of ClusterParameterGroup instances. Each instance describes one cluster
  3463. // parameter group.
  3464. ParameterGroups []*ClusterParameterGroup `locationNameList:"ClusterParameterGroup" type:"list"`
  3465. metadataDescribeClusterParameterGroupsOutput `json:"-" xml:"-"`
  3466. }
  3467. type metadataDescribeClusterParameterGroupsOutput struct {
  3468. SDKShapeTraits bool `type:"structure"`
  3469. }
  3470. // String returns the string representation
  3471. func (s DescribeClusterParameterGroupsOutput) String() string {
  3472. return awsutil.Prettify(s)
  3473. }
  3474. // GoString returns the string representation
  3475. func (s DescribeClusterParameterGroupsOutput) GoString() string {
  3476. return s.String()
  3477. }
  3478. type DescribeClusterParametersInput struct {
  3479. // An optional parameter that specifies the starting point to return a set of
  3480. // response records. When the results of a DescribeClusterParameters request
  3481. // exceed the value specified in MaxRecords, AWS returns a value in the Marker
  3482. // field of the response. You can retrieve the next set of response records
  3483. // by providing the returned marker value in the Marker parameter and retrying
  3484. // the request.
  3485. Marker *string `type:"string"`
  3486. // The maximum number of response records to return in each call. If the number
  3487. // of remaining response records exceeds the specified MaxRecords value, a value
  3488. // is returned in a marker field of the response. You can retrieve the next
  3489. // set of records by retrying the command with the returned marker value.
  3490. //
  3491. // Default: 100
  3492. //
  3493. // Constraints: minimum 20, maximum 100.
  3494. MaxRecords *int64 `type:"integer"`
  3495. // The name of a cluster parameter group for which to return details.
  3496. ParameterGroupName *string `type:"string" required:"true"`
  3497. // The parameter types to return. Specify user to show parameters that are different
  3498. // form the default. Similarly, specify engine-default to show parameters that
  3499. // are the same as the default parameter group.
  3500. //
  3501. // Default: All parameter types returned.
  3502. //
  3503. // Valid Values: user | engine-default
  3504. Source *string `type:"string"`
  3505. metadataDescribeClusterParametersInput `json:"-" xml:"-"`
  3506. }
  3507. type metadataDescribeClusterParametersInput struct {
  3508. SDKShapeTraits bool `type:"structure"`
  3509. }
  3510. // String returns the string representation
  3511. func (s DescribeClusterParametersInput) String() string {
  3512. return awsutil.Prettify(s)
  3513. }
  3514. // GoString returns the string representation
  3515. func (s DescribeClusterParametersInput) GoString() string {
  3516. return s.String()
  3517. }
  3518. // Contains the output from the DescribeClusterParameters action.
  3519. type DescribeClusterParametersOutput struct {
  3520. // A value that indicates the starting point for the next set of response records
  3521. // in a subsequent request. If a value is returned in a response, you can retrieve
  3522. // the next set of records by providing this returned marker value in the Marker
  3523. // parameter and retrying the command. If the Marker field is empty, all response
  3524. // records have been retrieved for the request.
  3525. Marker *string `type:"string"`
  3526. // A list of Parameter instances. Each instance lists the parameters of one
  3527. // cluster parameter group.
  3528. Parameters []*Parameter `locationNameList:"Parameter" type:"list"`
  3529. metadataDescribeClusterParametersOutput `json:"-" xml:"-"`
  3530. }
  3531. type metadataDescribeClusterParametersOutput struct {
  3532. SDKShapeTraits bool `type:"structure"`
  3533. }
  3534. // String returns the string representation
  3535. func (s DescribeClusterParametersOutput) String() string {
  3536. return awsutil.Prettify(s)
  3537. }
  3538. // GoString returns the string representation
  3539. func (s DescribeClusterParametersOutput) GoString() string {
  3540. return s.String()
  3541. }
  3542. // ???
  3543. type DescribeClusterSecurityGroupsInput struct {
  3544. // The name of a cluster security group for which you are requesting details.
  3545. // You can specify either the Marker parameter or a ClusterSecurityGroupName
  3546. // parameter, but not both.
  3547. //
  3548. // Example: securitygroup1
  3549. ClusterSecurityGroupName *string `type:"string"`
  3550. // An optional parameter that specifies the starting point to return a set of
  3551. // response records. When the results of a DescribeClusterSecurityGroups request
  3552. // exceed the value specified in MaxRecords, AWS returns a value in the Marker
  3553. // field of the response. You can retrieve the next set of response records
  3554. // by providing the returned marker value in the Marker parameter and retrying
  3555. // the request.
  3556. //
  3557. // Constraints: You can specify either the ClusterSecurityGroupName parameter
  3558. // or the Marker parameter, but not both.
  3559. Marker *string `type:"string"`
  3560. // The maximum number of response records to return in each call. If the number
  3561. // of remaining response records exceeds the specified MaxRecords value, a value
  3562. // is returned in a marker field of the response. You can retrieve the next
  3563. // set of records by retrying the command with the returned marker value.
  3564. //
  3565. // Default: 100
  3566. //
  3567. // Constraints: minimum 20, maximum 100.
  3568. MaxRecords *int64 `type:"integer"`
  3569. // A tag key or keys for which you want to return all matching cluster security
  3570. // groups that are associated with the specified key or keys. For example, suppose
  3571. // that you have security groups that are tagged with keys called owner and
  3572. // environment. If you specify both of these tag keys in the request, Amazon
  3573. // Redshift returns a response with the security groups that have either or
  3574. // both of these tag keys associated with them.
  3575. TagKeys []*string `locationNameList:"TagKey" type:"list"`
  3576. // A tag value or values for which you want to return all matching cluster security
  3577. // groups that are associated with the specified tag value or values. For example,
  3578. // suppose that you have security groups that are tagged with values called
  3579. // admin and test. If you specify both of these tag values in the request, Amazon
  3580. // Redshift returns a response with the security groups that have either or
  3581. // both of these tag values associated with them.
  3582. TagValues []*string `locationNameList:"TagValue" type:"list"`
  3583. metadataDescribeClusterSecurityGroupsInput `json:"-" xml:"-"`
  3584. }
  3585. type metadataDescribeClusterSecurityGroupsInput struct {
  3586. SDKShapeTraits bool `type:"structure"`
  3587. }
  3588. // String returns the string representation
  3589. func (s DescribeClusterSecurityGroupsInput) String() string {
  3590. return awsutil.Prettify(s)
  3591. }
  3592. // GoString returns the string representation
  3593. func (s DescribeClusterSecurityGroupsInput) GoString() string {
  3594. return s.String()
  3595. }
  3596. // Contains the output from the DescribeClusterSecurityGroups action.
  3597. type DescribeClusterSecurityGroupsOutput struct {
  3598. // A list of ClusterSecurityGroup instances.
  3599. ClusterSecurityGroups []*ClusterSecurityGroup `locationNameList:"ClusterSecurityGroup" type:"list"`
  3600. // A value that indicates the starting point for the next set of response records
  3601. // in a subsequent request. If a value is returned in a response, you can retrieve
  3602. // the next set of records by providing this returned marker value in the Marker
  3603. // parameter and retrying the command. If the Marker field is empty, all response
  3604. // records have been retrieved for the request.
  3605. Marker *string `type:"string"`
  3606. metadataDescribeClusterSecurityGroupsOutput `json:"-" xml:"-"`
  3607. }
  3608. type metadataDescribeClusterSecurityGroupsOutput struct {
  3609. SDKShapeTraits bool `type:"structure"`
  3610. }
  3611. // String returns the string representation
  3612. func (s DescribeClusterSecurityGroupsOutput) String() string {
  3613. return awsutil.Prettify(s)
  3614. }
  3615. // GoString returns the string representation
  3616. func (s DescribeClusterSecurityGroupsOutput) GoString() string {
  3617. return s.String()
  3618. }
  3619. type DescribeClusterSnapshotsInput struct {
  3620. // The identifier of the cluster for which information about snapshots is requested.
  3621. ClusterIdentifier *string `type:"string"`
  3622. // A time value that requests only snapshots created at or before the specified
  3623. // time. The time value is specified in ISO 8601 format. For more information
  3624. // about ISO 8601, go to the ISO8601 Wikipedia page. (http://en.wikipedia.org/wiki/ISO_8601)
  3625. //
  3626. // Example: 2012-07-16T18:00:00Z
  3627. EndTime *time.Time `type:"timestamp" timestampFormat:"iso8601"`
  3628. // An optional parameter that specifies the starting point to return a set of
  3629. // response records. When the results of a DescribeClusterSnapshots request
  3630. // exceed the value specified in MaxRecords, AWS returns a value in the Marker
  3631. // field of the response. You can retrieve the next set of response records
  3632. // by providing the returned marker value in the Marker parameter and retrying
  3633. // the request.
  3634. Marker *string `type:"string"`
  3635. // The maximum number of response records to return in each call. If the number
  3636. // of remaining response records exceeds the specified MaxRecords value, a value
  3637. // is returned in a marker field of the response. You can retrieve the next
  3638. // set of records by retrying the command with the returned marker value.
  3639. //
  3640. // Default: 100
  3641. //
  3642. // Constraints: minimum 20, maximum 100.
  3643. MaxRecords *int64 `type:"integer"`
  3644. // The AWS customer account used to create or copy the snapshot. Use this field
  3645. // to filter the results to snapshots owned by a particular account. To describe
  3646. // snapshots you own, either specify your AWS customer account, or do not specify
  3647. // the parameter.
  3648. OwnerAccount *string `type:"string"`
  3649. // The snapshot identifier of the snapshot about which to return information.
  3650. SnapshotIdentifier *string `type:"string"`
  3651. // The type of snapshots for which you are requesting information. By default,
  3652. // snapshots of all types are returned.
  3653. //
  3654. // Valid Values: automated | manual
  3655. SnapshotType *string `type:"string"`
  3656. // A value that requests only snapshots created at or after the specified time.
  3657. // The time value is specified in ISO 8601 format. For more information about
  3658. // ISO 8601, go to the ISO8601 Wikipedia page. (http://en.wikipedia.org/wiki/ISO_8601)
  3659. //
  3660. // Example: 2012-07-16T18:00:00Z
  3661. StartTime *time.Time `type:"timestamp" timestampFormat:"iso8601"`
  3662. // A tag key or keys for which you want to return all matching cluster snapshots
  3663. // that are associated with the specified key or keys. For example, suppose
  3664. // that you have snapshots that are tagged with keys called owner and environment.
  3665. // If you specify both of these tag keys in the request, Amazon Redshift returns
  3666. // a response with the snapshots that have either or both of these tag keys
  3667. // associated with them.
  3668. TagKeys []*string `locationNameList:"TagKey" type:"list"`
  3669. // A tag value or values for which you want to return all matching cluster snapshots
  3670. // that are associated with the specified tag value or values. For example,
  3671. // suppose that you have snapshots that are tagged with values called admin
  3672. // and test. If you specify both of these tag values in the request, Amazon
  3673. // Redshift returns a response with the snapshots that have either or both of
  3674. // these tag values associated with them.
  3675. TagValues []*string `locationNameList:"TagValue" type:"list"`
  3676. metadataDescribeClusterSnapshotsInput `json:"-" xml:"-"`
  3677. }
  3678. type metadataDescribeClusterSnapshotsInput struct {
  3679. SDKShapeTraits bool `type:"structure"`
  3680. }
  3681. // String returns the string representation
  3682. func (s DescribeClusterSnapshotsInput) String() string {
  3683. return awsutil.Prettify(s)
  3684. }
  3685. // GoString returns the string representation
  3686. func (s DescribeClusterSnapshotsInput) GoString() string {
  3687. return s.String()
  3688. }
  3689. // Contains the output from the DescribeClusterSnapshots action.
  3690. type DescribeClusterSnapshotsOutput struct {
  3691. // A value that indicates the starting point for the next set of response records
  3692. // in a subsequent request. If a value is returned in a response, you can retrieve
  3693. // the next set of records by providing this returned marker value in the Marker
  3694. // parameter and retrying the command. If the Marker field is empty, all response
  3695. // records have been retrieved for the request.
  3696. Marker *string `type:"string"`
  3697. // A list of Snapshot instances.
  3698. Snapshots []*Snapshot `locationNameList:"Snapshot" type:"list"`
  3699. metadataDescribeClusterSnapshotsOutput `json:"-" xml:"-"`
  3700. }
  3701. type metadataDescribeClusterSnapshotsOutput struct {
  3702. SDKShapeTraits bool `type:"structure"`
  3703. }
  3704. // String returns the string representation
  3705. func (s DescribeClusterSnapshotsOutput) String() string {
  3706. return awsutil.Prettify(s)
  3707. }
  3708. // GoString returns the string representation
  3709. func (s DescribeClusterSnapshotsOutput) GoString() string {
  3710. return s.String()
  3711. }
  3712. type DescribeClusterSubnetGroupsInput struct {
  3713. // The name of the cluster subnet group for which information is requested.
  3714. ClusterSubnetGroupName *string `type:"string"`
  3715. // An optional parameter that specifies the starting point to return a set of
  3716. // response records. When the results of a DescribeClusterSubnetGroups request
  3717. // exceed the value specified in MaxRecords, AWS returns a value in the Marker
  3718. // field of the response. You can retrieve the next set of response records
  3719. // by providing the returned marker value in the Marker parameter and retrying
  3720. // the request.
  3721. Marker *string `type:"string"`
  3722. // The maximum number of response records to return in each call. If the number
  3723. // of remaining response records exceeds the specified MaxRecords value, a value
  3724. // is returned in a marker field of the response. You can retrieve the next
  3725. // set of records by retrying the command with the returned marker value.
  3726. //
  3727. // Default: 100
  3728. //
  3729. // Constraints: minimum 20, maximum 100.
  3730. MaxRecords *int64 `type:"integer"`
  3731. // A tag key or keys for which you want to return all matching cluster subnet
  3732. // groups that are associated with the specified key or keys. For example, suppose
  3733. // that you have subnet groups that are tagged with keys called owner and environment.
  3734. // If you specify both of these tag keys in the request, Amazon Redshift returns
  3735. // a response with the subnet groups that have either or both of these tag keys
  3736. // associated with them.
  3737. TagKeys []*string `locationNameList:"TagKey" type:"list"`
  3738. // A tag value or values for which you want to return all matching cluster subnet
  3739. // groups that are associated with the specified tag value or values. For example,
  3740. // suppose that you have subnet groups that are tagged with values called admin
  3741. // and test. If you specify both of these tag values in the request, Amazon
  3742. // Redshift returns a response with the subnet groups that have either or both
  3743. // of these tag values associated with them.
  3744. TagValues []*string `locationNameList:"TagValue" type:"list"`
  3745. metadataDescribeClusterSubnetGroupsInput `json:"-" xml:"-"`
  3746. }
  3747. type metadataDescribeClusterSubnetGroupsInput struct {
  3748. SDKShapeTraits bool `type:"structure"`
  3749. }
  3750. // String returns the string representation
  3751. func (s DescribeClusterSubnetGroupsInput) String() string {
  3752. return awsutil.Prettify(s)
  3753. }
  3754. // GoString returns the string representation
  3755. func (s DescribeClusterSubnetGroupsInput) GoString() string {
  3756. return s.String()
  3757. }
  3758. // Contains the output from the DescribeClusterSubnetGroups action.
  3759. type DescribeClusterSubnetGroupsOutput struct {
  3760. // A list of ClusterSubnetGroup instances.
  3761. ClusterSubnetGroups []*ClusterSubnetGroup `locationNameList:"ClusterSubnetGroup" type:"list"`
  3762. // A value that indicates the starting point for the next set of response records
  3763. // in a subsequent request. If a value is returned in a response, you can retrieve
  3764. // the next set of records by providing this returned marker value in the Marker
  3765. // parameter and retrying the command. If the Marker field is empty, all response
  3766. // records have been retrieved for the request.
  3767. Marker *string `type:"string"`
  3768. metadataDescribeClusterSubnetGroupsOutput `json:"-" xml:"-"`
  3769. }
  3770. type metadataDescribeClusterSubnetGroupsOutput struct {
  3771. SDKShapeTraits bool `type:"structure"`
  3772. }
  3773. // String returns the string representation
  3774. func (s DescribeClusterSubnetGroupsOutput) String() string {
  3775. return awsutil.Prettify(s)
  3776. }
  3777. // GoString returns the string representation
  3778. func (s DescribeClusterSubnetGroupsOutput) GoString() string {
  3779. return s.String()
  3780. }
  3781. type DescribeClusterVersionsInput struct {
  3782. // The name of a specific cluster parameter group family to return details for.
  3783. //
  3784. // Constraints:
  3785. //
  3786. // Must be 1 to 255 alphanumeric characters First character must be a letter
  3787. // Cannot end with a hyphen or contain two consecutive hyphens
  3788. ClusterParameterGroupFamily *string `type:"string"`
  3789. // The specific cluster version to return.
  3790. //
  3791. // Example: 1.0
  3792. ClusterVersion *string `type:"string"`
  3793. // An optional parameter that specifies the starting point to return a set of
  3794. // response records. When the results of a DescribeClusterVersions request exceed
  3795. // the value specified in MaxRecords, AWS returns a value in the Marker field
  3796. // of the response. You can retrieve the next set of response records by providing
  3797. // the returned marker value in the Marker parameter and retrying the request.
  3798. Marker *string `type:"string"`
  3799. // The maximum number of response records to return in each call. If the number
  3800. // of remaining response records exceeds the specified MaxRecords value, a value
  3801. // is returned in a marker field of the response. You can retrieve the next
  3802. // set of records by retrying the command with the returned marker value.
  3803. //
  3804. // Default: 100
  3805. //
  3806. // Constraints: minimum 20, maximum 100.
  3807. MaxRecords *int64 `type:"integer"`
  3808. metadataDescribeClusterVersionsInput `json:"-" xml:"-"`
  3809. }
  3810. type metadataDescribeClusterVersionsInput struct {
  3811. SDKShapeTraits bool `type:"structure"`
  3812. }
  3813. // String returns the string representation
  3814. func (s DescribeClusterVersionsInput) String() string {
  3815. return awsutil.Prettify(s)
  3816. }
  3817. // GoString returns the string representation
  3818. func (s DescribeClusterVersionsInput) GoString() string {
  3819. return s.String()
  3820. }
  3821. // Contains the output from the DescribeClusterVersions action.
  3822. type DescribeClusterVersionsOutput struct {
  3823. // A list of Version elements.
  3824. ClusterVersions []*ClusterVersion `locationNameList:"ClusterVersion" type:"list"`
  3825. // A value that indicates the starting point for the next set of response records
  3826. // in a subsequent request. If a value is returned in a response, you can retrieve
  3827. // the next set of records by providing this returned marker value in the Marker
  3828. // parameter and retrying the command. If the Marker field is empty, all response
  3829. // records have been retrieved for the request.
  3830. Marker *string `type:"string"`
  3831. metadataDescribeClusterVersionsOutput `json:"-" xml:"-"`
  3832. }
  3833. type metadataDescribeClusterVersionsOutput struct {
  3834. SDKShapeTraits bool `type:"structure"`
  3835. }
  3836. // String returns the string representation
  3837. func (s DescribeClusterVersionsOutput) String() string {
  3838. return awsutil.Prettify(s)
  3839. }
  3840. // GoString returns the string representation
  3841. func (s DescribeClusterVersionsOutput) GoString() string {
  3842. return s.String()
  3843. }
  3844. type DescribeClustersInput struct {
  3845. // The unique identifier of a cluster whose properties you are requesting. This
  3846. // parameter is case sensitive.
  3847. //
  3848. // The default is that all clusters defined for an account are returned.
  3849. ClusterIdentifier *string `type:"string"`
  3850. // An optional parameter that specifies the starting point to return a set of
  3851. // response records. When the results of a DescribeClusters request exceed the
  3852. // value specified in MaxRecords, AWS returns a value in the Marker field of
  3853. // the response. You can retrieve the next set of response records by providing
  3854. // the returned marker value in the Marker parameter and retrying the request.
  3855. //
  3856. // Constraints: You can specify either the ClusterIdentifier parameter or
  3857. // the Marker parameter, but not both.
  3858. Marker *string `type:"string"`
  3859. // The maximum number of response records to return in each call. If the number
  3860. // of remaining response records exceeds the specified MaxRecords value, a value
  3861. // is returned in a marker field of the response. You can retrieve the next
  3862. // set of records by retrying the command with the returned marker value.
  3863. //
  3864. // Default: 100
  3865. //
  3866. // Constraints: minimum 20, maximum 100.
  3867. MaxRecords *int64 `type:"integer"`
  3868. // A tag key or keys for which you want to return all matching clusters that
  3869. // are associated with the specified key or keys. For example, suppose that
  3870. // you have clusters that are tagged with keys called owner and environment.
  3871. // If you specify both of these tag keys in the request, Amazon Redshift returns
  3872. // a response with the clusters that have either or both of these tag keys associated
  3873. // with them.
  3874. TagKeys []*string `locationNameList:"TagKey" type:"list"`
  3875. // A tag value or values for which you want to return all matching clusters
  3876. // that are associated with the specified tag value or values. For example,
  3877. // suppose that you have clusters that are tagged with values called admin and
  3878. // test. If you specify both of these tag values in the request, Amazon Redshift
  3879. // returns a response with the clusters that have either or both of these tag
  3880. // values associated with them.
  3881. TagValues []*string `locationNameList:"TagValue" type:"list"`
  3882. metadataDescribeClustersInput `json:"-" xml:"-"`
  3883. }
  3884. type metadataDescribeClustersInput struct {
  3885. SDKShapeTraits bool `type:"structure"`
  3886. }
  3887. // String returns the string representation
  3888. func (s DescribeClustersInput) String() string {
  3889. return awsutil.Prettify(s)
  3890. }
  3891. // GoString returns the string representation
  3892. func (s DescribeClustersInput) GoString() string {
  3893. return s.String()
  3894. }
  3895. // Contains the output from the DescribeClusters action.
  3896. type DescribeClustersOutput struct {
  3897. // A list of Cluster objects, where each object describes one cluster.
  3898. Clusters []*Cluster `locationNameList:"Cluster" type:"list"`
  3899. // A value that indicates the starting point for the next set of response records
  3900. // in a subsequent request. If a value is returned in a response, you can retrieve
  3901. // the next set of records by providing this returned marker value in the Marker
  3902. // parameter and retrying the command. If the Marker field is empty, all response
  3903. // records have been retrieved for the request.
  3904. Marker *string `type:"string"`
  3905. metadataDescribeClustersOutput `json:"-" xml:"-"`
  3906. }
  3907. type metadataDescribeClustersOutput struct {
  3908. SDKShapeTraits bool `type:"structure"`
  3909. }
  3910. // String returns the string representation
  3911. func (s DescribeClustersOutput) String() string {
  3912. return awsutil.Prettify(s)
  3913. }
  3914. // GoString returns the string representation
  3915. func (s DescribeClustersOutput) GoString() string {
  3916. return s.String()
  3917. }
  3918. type DescribeDefaultClusterParametersInput struct {
  3919. // An optional parameter that specifies the starting point to return a set of
  3920. // response records. When the results of a DescribeDefaultClusterParameters
  3921. // request exceed the value specified in MaxRecords, AWS returns a value in
  3922. // the Marker field of the response. You can retrieve the next set of response
  3923. // records by providing the returned marker value in the Marker parameter and
  3924. // retrying the request.
  3925. Marker *string `type:"string"`
  3926. // The maximum number of response records to return in each call. If the number
  3927. // of remaining response records exceeds the specified MaxRecords value, a value
  3928. // is returned in a marker field of the response. You can retrieve the next
  3929. // set of records by retrying the command with the returned marker value.
  3930. //
  3931. // Default: 100
  3932. //
  3933. // Constraints: minimum 20, maximum 100.
  3934. MaxRecords *int64 `type:"integer"`
  3935. // The name of the cluster parameter group family.
  3936. ParameterGroupFamily *string `type:"string" required:"true"`
  3937. metadataDescribeDefaultClusterParametersInput `json:"-" xml:"-"`
  3938. }
  3939. type metadataDescribeDefaultClusterParametersInput struct {
  3940. SDKShapeTraits bool `type:"structure"`
  3941. }
  3942. // String returns the string representation
  3943. func (s DescribeDefaultClusterParametersInput) String() string {
  3944. return awsutil.Prettify(s)
  3945. }
  3946. // GoString returns the string representation
  3947. func (s DescribeDefaultClusterParametersInput) GoString() string {
  3948. return s.String()
  3949. }
  3950. type DescribeDefaultClusterParametersOutput struct {
  3951. // Describes the default cluster parameters for a parameter group family.
  3952. DefaultClusterParameters *DefaultClusterParameters `type:"structure"`
  3953. metadataDescribeDefaultClusterParametersOutput `json:"-" xml:"-"`
  3954. }
  3955. type metadataDescribeDefaultClusterParametersOutput struct {
  3956. SDKShapeTraits bool `type:"structure"`
  3957. }
  3958. // String returns the string representation
  3959. func (s DescribeDefaultClusterParametersOutput) String() string {
  3960. return awsutil.Prettify(s)
  3961. }
  3962. // GoString returns the string representation
  3963. func (s DescribeDefaultClusterParametersOutput) GoString() string {
  3964. return s.String()
  3965. }
  3966. type DescribeEventCategoriesInput struct {
  3967. // The source type, such as cluster or parameter group, to which the described
  3968. // event categories apply.
  3969. //
  3970. // Valid values: cluster, snapshot, parameter group, and security group.
  3971. SourceType *string `type:"string"`
  3972. metadataDescribeEventCategoriesInput `json:"-" xml:"-"`
  3973. }
  3974. type metadataDescribeEventCategoriesInput struct {
  3975. SDKShapeTraits bool `type:"structure"`
  3976. }
  3977. // String returns the string representation
  3978. func (s DescribeEventCategoriesInput) String() string {
  3979. return awsutil.Prettify(s)
  3980. }
  3981. // GoString returns the string representation
  3982. func (s DescribeEventCategoriesInput) GoString() string {
  3983. return s.String()
  3984. }
  3985. type DescribeEventCategoriesOutput struct {
  3986. // A list of event categories descriptions.
  3987. EventCategoriesMapList []*EventCategoriesMap `locationNameList:"EventCategoriesMap" type:"list"`
  3988. metadataDescribeEventCategoriesOutput `json:"-" xml:"-"`
  3989. }
  3990. type metadataDescribeEventCategoriesOutput struct {
  3991. SDKShapeTraits bool `type:"structure"`
  3992. }
  3993. // String returns the string representation
  3994. func (s DescribeEventCategoriesOutput) String() string {
  3995. return awsutil.Prettify(s)
  3996. }
  3997. // GoString returns the string representation
  3998. func (s DescribeEventCategoriesOutput) GoString() string {
  3999. return s.String()
  4000. }
  4001. type DescribeEventSubscriptionsInput struct {
  4002. // An optional parameter that specifies the starting point to return a set of
  4003. // response records. When the results of a DescribeEventSubscriptions request
  4004. // exceed the value specified in MaxRecords, AWS returns a value in the Marker
  4005. // field of the response. You can retrieve the next set of response records
  4006. // by providing the returned marker value in the Marker parameter and retrying
  4007. // the request.
  4008. Marker *string `type:"string"`
  4009. // The maximum number of response records to return in each call. If the number
  4010. // of remaining response records exceeds the specified MaxRecords value, a value
  4011. // is returned in a marker field of the response. You can retrieve the next
  4012. // set of records by retrying the command with the returned marker value.
  4013. //
  4014. // Default: 100
  4015. //
  4016. // Constraints: minimum 20, maximum 100.
  4017. MaxRecords *int64 `type:"integer"`
  4018. // The name of the Amazon Redshift event notification subscription to be described.
  4019. SubscriptionName *string `type:"string"`
  4020. metadataDescribeEventSubscriptionsInput `json:"-" xml:"-"`
  4021. }
  4022. type metadataDescribeEventSubscriptionsInput struct {
  4023. SDKShapeTraits bool `type:"structure"`
  4024. }
  4025. // String returns the string representation
  4026. func (s DescribeEventSubscriptionsInput) String() string {
  4027. return awsutil.Prettify(s)
  4028. }
  4029. // GoString returns the string representation
  4030. func (s DescribeEventSubscriptionsInput) GoString() string {
  4031. return s.String()
  4032. }
  4033. type DescribeEventSubscriptionsOutput struct {
  4034. // A list of event subscriptions.
  4035. EventSubscriptionsList []*EventSubscription `locationNameList:"EventSubscription" type:"list"`
  4036. // A value that indicates the starting point for the next set of response records
  4037. // in a subsequent request. If a value is returned in a response, you can retrieve
  4038. // the next set of records by providing this returned marker value in the Marker
  4039. // parameter and retrying the command. If the Marker field is empty, all response
  4040. // records have been retrieved for the request.
  4041. Marker *string `type:"string"`
  4042. metadataDescribeEventSubscriptionsOutput `json:"-" xml:"-"`
  4043. }
  4044. type metadataDescribeEventSubscriptionsOutput struct {
  4045. SDKShapeTraits bool `type:"structure"`
  4046. }
  4047. // String returns the string representation
  4048. func (s DescribeEventSubscriptionsOutput) String() string {
  4049. return awsutil.Prettify(s)
  4050. }
  4051. // GoString returns the string representation
  4052. func (s DescribeEventSubscriptionsOutput) GoString() string {
  4053. return s.String()
  4054. }
  4055. type DescribeEventsInput struct {
  4056. // The number of minutes prior to the time of the request for which to retrieve
  4057. // events. For example, if the request is sent at 18:00 and you specify a duration
  4058. // of 60, then only events which have occurred after 17:00 will be returned.
  4059. //
  4060. // Default: 60
  4061. Duration *int64 `type:"integer"`
  4062. // The end of the time interval for which to retrieve events, specified in ISO
  4063. // 8601 format. For more information about ISO 8601, go to the ISO8601 Wikipedia
  4064. // page. (http://en.wikipedia.org/wiki/ISO_8601)
  4065. //
  4066. // Example: 2009-07-08T18:00Z
  4067. EndTime *time.Time `type:"timestamp" timestampFormat:"iso8601"`
  4068. // An optional parameter that specifies the starting point to return a set of
  4069. // response records. When the results of a DescribeEvents request exceed the
  4070. // value specified in MaxRecords, AWS returns a value in the Marker field of
  4071. // the response. You can retrieve the next set of response records by providing
  4072. // the returned marker value in the Marker parameter and retrying the request.
  4073. Marker *string `type:"string"`
  4074. // The maximum number of response records to return in each call. If the number
  4075. // of remaining response records exceeds the specified MaxRecords value, a value
  4076. // is returned in a marker field of the response. You can retrieve the next
  4077. // set of records by retrying the command with the returned marker value.
  4078. //
  4079. // Default: 100
  4080. //
  4081. // Constraints: minimum 20, maximum 100.
  4082. MaxRecords *int64 `type:"integer"`
  4083. // The identifier of the event source for which events will be returned. If
  4084. // this parameter is not specified, then all sources are included in the response.
  4085. //
  4086. // Constraints:
  4087. //
  4088. // If SourceIdentifier is supplied, SourceType must also be provided.
  4089. //
  4090. // Specify a cluster identifier when SourceType is cluster. Specify a cluster
  4091. // security group name when SourceType is cluster-security-group. Specify a
  4092. // cluster parameter group name when SourceType is cluster-parameter-group.
  4093. // Specify a cluster snapshot identifier when SourceType is cluster-snapshot.
  4094. SourceIdentifier *string `type:"string"`
  4095. // The event source to retrieve events for. If no value is specified, all events
  4096. // are returned.
  4097. //
  4098. // Constraints:
  4099. //
  4100. // If SourceType is supplied, SourceIdentifier must also be provided.
  4101. //
  4102. // Specify cluster when SourceIdentifier is a cluster identifier. Specify
  4103. // cluster-security-group when SourceIdentifier is a cluster security group
  4104. // name. Specify cluster-parameter-group when SourceIdentifier is a cluster
  4105. // parameter group name. Specify cluster-snapshot when SourceIdentifier is a
  4106. // cluster snapshot identifier.
  4107. SourceType *string `type:"string" enum:"SourceType"`
  4108. // The beginning of the time interval to retrieve events for, specified in ISO
  4109. // 8601 format. For more information about ISO 8601, go to the ISO8601 Wikipedia
  4110. // page. (http://en.wikipedia.org/wiki/ISO_8601)
  4111. //
  4112. // Example: 2009-07-08T18:00Z
  4113. StartTime *time.Time `type:"timestamp" timestampFormat:"iso8601"`
  4114. metadataDescribeEventsInput `json:"-" xml:"-"`
  4115. }
  4116. type metadataDescribeEventsInput struct {
  4117. SDKShapeTraits bool `type:"structure"`
  4118. }
  4119. // String returns the string representation
  4120. func (s DescribeEventsInput) String() string {
  4121. return awsutil.Prettify(s)
  4122. }
  4123. // GoString returns the string representation
  4124. func (s DescribeEventsInput) GoString() string {
  4125. return s.String()
  4126. }
  4127. // Contains the output from the DescribeEvents action.
  4128. type DescribeEventsOutput struct {
  4129. // A list of Event instances.
  4130. Events []*Event `locationNameList:"Event" type:"list"`
  4131. // A value that indicates the starting point for the next set of response records
  4132. // in a subsequent request. If a value is returned in a response, you can retrieve
  4133. // the next set of records by providing this returned marker value in the Marker
  4134. // parameter and retrying the command. If the Marker field is empty, all response
  4135. // records have been retrieved for the request.
  4136. Marker *string `type:"string"`
  4137. metadataDescribeEventsOutput `json:"-" xml:"-"`
  4138. }
  4139. type metadataDescribeEventsOutput struct {
  4140. SDKShapeTraits bool `type:"structure"`
  4141. }
  4142. // String returns the string representation
  4143. func (s DescribeEventsOutput) String() string {
  4144. return awsutil.Prettify(s)
  4145. }
  4146. // GoString returns the string representation
  4147. func (s DescribeEventsOutput) GoString() string {
  4148. return s.String()
  4149. }
  4150. type DescribeHsmClientCertificatesInput struct {
  4151. // The identifier of a specific HSM client certificate for which you want information.
  4152. // If no identifier is specified, information is returned for all HSM client
  4153. // certificates owned by your AWS customer account.
  4154. HsmClientCertificateIdentifier *string `type:"string"`
  4155. // An optional parameter that specifies the starting point to return a set of
  4156. // response records. When the results of a DescribeHsmClientCertificates request
  4157. // exceed the value specified in MaxRecords, AWS returns a value in the Marker
  4158. // field of the response. You can retrieve the next set of response records
  4159. // by providing the returned marker value in the Marker parameter and retrying
  4160. // the request.
  4161. Marker *string `type:"string"`
  4162. // The maximum number of response records to return in each call. If the number
  4163. // of remaining response records exceeds the specified MaxRecords value, a value
  4164. // is returned in a marker field of the response. You can retrieve the next
  4165. // set of records by retrying the command with the returned marker value.
  4166. //
  4167. // Default: 100
  4168. //
  4169. // Constraints: minimum 20, maximum 100.
  4170. MaxRecords *int64 `type:"integer"`
  4171. // A tag key or keys for which you want to return all matching HSM client certificates
  4172. // that are associated with the specified key or keys. For example, suppose
  4173. // that you have HSM client certificates that are tagged with keys called owner
  4174. // and environment. If you specify both of these tag keys in the request, Amazon
  4175. // Redshift returns a response with the HSM client certificates that have either
  4176. // or both of these tag keys associated with them.
  4177. TagKeys []*string `locationNameList:"TagKey" type:"list"`
  4178. // A tag value or values for which you want to return all matching HSM client
  4179. // certificates that are associated with the specified tag value or values.
  4180. // For example, suppose that you have HSM client certificates that are tagged
  4181. // with values called admin and test. If you specify both of these tag values
  4182. // in the request, Amazon Redshift returns a response with the HSM client certificates
  4183. // that have either or both of these tag values associated with them.
  4184. TagValues []*string `locationNameList:"TagValue" type:"list"`
  4185. metadataDescribeHsmClientCertificatesInput `json:"-" xml:"-"`
  4186. }
  4187. type metadataDescribeHsmClientCertificatesInput struct {
  4188. SDKShapeTraits bool `type:"structure"`
  4189. }
  4190. // String returns the string representation
  4191. func (s DescribeHsmClientCertificatesInput) String() string {
  4192. return awsutil.Prettify(s)
  4193. }
  4194. // GoString returns the string representation
  4195. func (s DescribeHsmClientCertificatesInput) GoString() string {
  4196. return s.String()
  4197. }
  4198. type DescribeHsmClientCertificatesOutput struct {
  4199. // A list of the identifiers for one or more HSM client certificates used by
  4200. // Amazon Redshift clusters to store and retrieve database encryption keys in
  4201. // an HSM.
  4202. HsmClientCertificates []*HsmClientCertificate `locationNameList:"HsmClientCertificate" type:"list"`
  4203. // A value that indicates the starting point for the next set of response records
  4204. // in a subsequent request. If a value is returned in a response, you can retrieve
  4205. // the next set of records by providing this returned marker value in the Marker
  4206. // parameter and retrying the command. If the Marker field is empty, all response
  4207. // records have been retrieved for the request.
  4208. Marker *string `type:"string"`
  4209. metadataDescribeHsmClientCertificatesOutput `json:"-" xml:"-"`
  4210. }
  4211. type metadataDescribeHsmClientCertificatesOutput struct {
  4212. SDKShapeTraits bool `type:"structure"`
  4213. }
  4214. // String returns the string representation
  4215. func (s DescribeHsmClientCertificatesOutput) String() string {
  4216. return awsutil.Prettify(s)
  4217. }
  4218. // GoString returns the string representation
  4219. func (s DescribeHsmClientCertificatesOutput) GoString() string {
  4220. return s.String()
  4221. }
  4222. type DescribeHsmConfigurationsInput struct {
  4223. // The identifier of a specific Amazon Redshift HSM configuration to be described.
  4224. // If no identifier is specified, information is returned for all HSM configurations
  4225. // owned by your AWS customer account.
  4226. HsmConfigurationIdentifier *string `type:"string"`
  4227. // An optional parameter that specifies the starting point to return a set of
  4228. // response records. When the results of a DescribeHsmConfigurations request
  4229. // exceed the value specified in MaxRecords, AWS returns a value in the Marker
  4230. // field of the response. You can retrieve the next set of response records
  4231. // by providing the returned marker value in the Marker parameter and retrying
  4232. // the request.
  4233. Marker *string `type:"string"`
  4234. // The maximum number of response records to return in each call. If the number
  4235. // of remaining response records exceeds the specified MaxRecords value, a value
  4236. // is returned in a marker field of the response. You can retrieve the next
  4237. // set of records by retrying the command with the returned marker value.
  4238. //
  4239. // Default: 100
  4240. //
  4241. // Constraints: minimum 20, maximum 100.
  4242. MaxRecords *int64 `type:"integer"`
  4243. // A tag key or keys for which you want to return all matching HSM configurations
  4244. // that are associated with the specified key or keys. For example, suppose
  4245. // that you have HSM configurations that are tagged with keys called owner and
  4246. // environment. If you specify both of these tag keys in the request, Amazon
  4247. // Redshift returns a response with the HSM configurations that have either
  4248. // or both of these tag keys associated with them.
  4249. TagKeys []*string `locationNameList:"TagKey" type:"list"`
  4250. // A tag value or values for which you want to return all matching HSM configurations
  4251. // that are associated with the specified tag value or values. For example,
  4252. // suppose that you have HSM configurations that are tagged with values called
  4253. // admin and test. If you specify both of these tag values in the request, Amazon
  4254. // Redshift returns a response with the HSM configurations that have either
  4255. // or both of these tag values associated with them.
  4256. TagValues []*string `locationNameList:"TagValue" type:"list"`
  4257. metadataDescribeHsmConfigurationsInput `json:"-" xml:"-"`
  4258. }
  4259. type metadataDescribeHsmConfigurationsInput struct {
  4260. SDKShapeTraits bool `type:"structure"`
  4261. }
  4262. // String returns the string representation
  4263. func (s DescribeHsmConfigurationsInput) String() string {
  4264. return awsutil.Prettify(s)
  4265. }
  4266. // GoString returns the string representation
  4267. func (s DescribeHsmConfigurationsInput) GoString() string {
  4268. return s.String()
  4269. }
  4270. type DescribeHsmConfigurationsOutput struct {
  4271. // A list of Amazon Redshift HSM configurations.
  4272. HsmConfigurations []*HsmConfiguration `locationNameList:"HsmConfiguration" type:"list"`
  4273. // A value that indicates the starting point for the next set of response records
  4274. // in a subsequent request. If a value is returned in a response, you can retrieve
  4275. // the next set of records by providing this returned marker value in the Marker
  4276. // parameter and retrying the command. If the Marker field is empty, all response
  4277. // records have been retrieved for the request.
  4278. Marker *string `type:"string"`
  4279. metadataDescribeHsmConfigurationsOutput `json:"-" xml:"-"`
  4280. }
  4281. type metadataDescribeHsmConfigurationsOutput struct {
  4282. SDKShapeTraits bool `type:"structure"`
  4283. }
  4284. // String returns the string representation
  4285. func (s DescribeHsmConfigurationsOutput) String() string {
  4286. return awsutil.Prettify(s)
  4287. }
  4288. // GoString returns the string representation
  4289. func (s DescribeHsmConfigurationsOutput) GoString() string {
  4290. return s.String()
  4291. }
  4292. type DescribeLoggingStatusInput struct {
  4293. // The identifier of the cluster to get the logging status from.
  4294. //
  4295. // Example: examplecluster
  4296. ClusterIdentifier *string `type:"string" required:"true"`
  4297. metadataDescribeLoggingStatusInput `json:"-" xml:"-"`
  4298. }
  4299. type metadataDescribeLoggingStatusInput struct {
  4300. SDKShapeTraits bool `type:"structure"`
  4301. }
  4302. // String returns the string representation
  4303. func (s DescribeLoggingStatusInput) String() string {
  4304. return awsutil.Prettify(s)
  4305. }
  4306. // GoString returns the string representation
  4307. func (s DescribeLoggingStatusInput) GoString() string {
  4308. return s.String()
  4309. }
  4310. type DescribeOrderableClusterOptionsInput struct {
  4311. // The version filter value. Specify this parameter to show only the available
  4312. // offerings matching the specified version.
  4313. //
  4314. // Default: All versions.
  4315. //
  4316. // Constraints: Must be one of the version returned from DescribeClusterVersions.
  4317. ClusterVersion *string `type:"string"`
  4318. // An optional parameter that specifies the starting point to return a set of
  4319. // response records. When the results of a DescribeOrderableClusterOptions request
  4320. // exceed the value specified in MaxRecords, AWS returns a value in the Marker
  4321. // field of the response. You can retrieve the next set of response records
  4322. // by providing the returned marker value in the Marker parameter and retrying
  4323. // the request.
  4324. Marker *string `type:"string"`
  4325. // The maximum number of response records to return in each call. If the number
  4326. // of remaining response records exceeds the specified MaxRecords value, a value
  4327. // is returned in a marker field of the response. You can retrieve the next
  4328. // set of records by retrying the command with the returned marker value.
  4329. //
  4330. // Default: 100
  4331. //
  4332. // Constraints: minimum 20, maximum 100.
  4333. MaxRecords *int64 `type:"integer"`
  4334. // The node type filter value. Specify this parameter to show only the available
  4335. // offerings matching the specified node type.
  4336. NodeType *string `type:"string"`
  4337. metadataDescribeOrderableClusterOptionsInput `json:"-" xml:"-"`
  4338. }
  4339. type metadataDescribeOrderableClusterOptionsInput struct {
  4340. SDKShapeTraits bool `type:"structure"`
  4341. }
  4342. // String returns the string representation
  4343. func (s DescribeOrderableClusterOptionsInput) String() string {
  4344. return awsutil.Prettify(s)
  4345. }
  4346. // GoString returns the string representation
  4347. func (s DescribeOrderableClusterOptionsInput) GoString() string {
  4348. return s.String()
  4349. }
  4350. // Contains the output from the DescribeOrderableClusterOptions action.
  4351. type DescribeOrderableClusterOptionsOutput struct {
  4352. // A value that indicates the starting point for the next set of response records
  4353. // in a subsequent request. If a value is returned in a response, you can retrieve
  4354. // the next set of records by providing this returned marker value in the Marker
  4355. // parameter and retrying the command. If the Marker field is empty, all response
  4356. // records have been retrieved for the request.
  4357. Marker *string `type:"string"`
  4358. // An OrderableClusterOption structure containing information about orderable
  4359. // options for the Cluster.
  4360. OrderableClusterOptions []*OrderableClusterOption `locationNameList:"OrderableClusterOption" type:"list"`
  4361. metadataDescribeOrderableClusterOptionsOutput `json:"-" xml:"-"`
  4362. }
  4363. type metadataDescribeOrderableClusterOptionsOutput struct {
  4364. SDKShapeTraits bool `type:"structure"`
  4365. }
  4366. // String returns the string representation
  4367. func (s DescribeOrderableClusterOptionsOutput) String() string {
  4368. return awsutil.Prettify(s)
  4369. }
  4370. // GoString returns the string representation
  4371. func (s DescribeOrderableClusterOptionsOutput) GoString() string {
  4372. return s.String()
  4373. }
  4374. type DescribeReservedNodeOfferingsInput struct {
  4375. // An optional parameter that specifies the starting point to return a set of
  4376. // response records. When the results of a DescribeReservedNodeOfferings request
  4377. // exceed the value specified in MaxRecords, AWS returns a value in the Marker
  4378. // field of the response. You can retrieve the next set of response records
  4379. // by providing the returned marker value in the Marker parameter and retrying
  4380. // the request.
  4381. Marker *string `type:"string"`
  4382. // The maximum number of response records to return in each call. If the number
  4383. // of remaining response records exceeds the specified MaxRecords value, a value
  4384. // is returned in a marker field of the response. You can retrieve the next
  4385. // set of records by retrying the command with the returned marker value.
  4386. //
  4387. // Default: 100
  4388. //
  4389. // Constraints: minimum 20, maximum 100.
  4390. MaxRecords *int64 `type:"integer"`
  4391. // The unique identifier for the offering.
  4392. ReservedNodeOfferingId *string `type:"string"`
  4393. metadataDescribeReservedNodeOfferingsInput `json:"-" xml:"-"`
  4394. }
  4395. type metadataDescribeReservedNodeOfferingsInput struct {
  4396. SDKShapeTraits bool `type:"structure"`
  4397. }
  4398. // String returns the string representation
  4399. func (s DescribeReservedNodeOfferingsInput) String() string {
  4400. return awsutil.Prettify(s)
  4401. }
  4402. // GoString returns the string representation
  4403. func (s DescribeReservedNodeOfferingsInput) GoString() string {
  4404. return s.String()
  4405. }
  4406. // Contains the output from the DescribeReservedNodeOfferings action.
  4407. type DescribeReservedNodeOfferingsOutput struct {
  4408. // A value that indicates the starting point for the next set of response records
  4409. // in a subsequent request. If a value is returned in a response, you can retrieve
  4410. // the next set of records by providing this returned marker value in the Marker
  4411. // parameter and retrying the command. If the Marker field is empty, all response
  4412. // records have been retrieved for the request.
  4413. Marker *string `type:"string"`
  4414. // A list of reserved node offerings.
  4415. ReservedNodeOfferings []*ReservedNodeOffering `locationNameList:"ReservedNodeOffering" type:"list"`
  4416. metadataDescribeReservedNodeOfferingsOutput `json:"-" xml:"-"`
  4417. }
  4418. type metadataDescribeReservedNodeOfferingsOutput struct {
  4419. SDKShapeTraits bool `type:"structure"`
  4420. }
  4421. // String returns the string representation
  4422. func (s DescribeReservedNodeOfferingsOutput) String() string {
  4423. return awsutil.Prettify(s)
  4424. }
  4425. // GoString returns the string representation
  4426. func (s DescribeReservedNodeOfferingsOutput) GoString() string {
  4427. return s.String()
  4428. }
  4429. type DescribeReservedNodesInput struct {
  4430. // An optional parameter that specifies the starting point to return a set of
  4431. // response records. When the results of a DescribeReservedNodes request exceed
  4432. // the value specified in MaxRecords, AWS returns a value in the Marker field
  4433. // of the response. You can retrieve the next set of response records by providing
  4434. // the returned marker value in the Marker parameter and retrying the request.
  4435. Marker *string `type:"string"`
  4436. // The maximum number of response records to return in each call. If the number
  4437. // of remaining response records exceeds the specified MaxRecords value, a value
  4438. // is returned in a marker field of the response. You can retrieve the next
  4439. // set of records by retrying the command with the returned marker value.
  4440. //
  4441. // Default: 100
  4442. //
  4443. // Constraints: minimum 20, maximum 100.
  4444. MaxRecords *int64 `type:"integer"`
  4445. // Identifier for the node reservation.
  4446. ReservedNodeId *string `type:"string"`
  4447. metadataDescribeReservedNodesInput `json:"-" xml:"-"`
  4448. }
  4449. type metadataDescribeReservedNodesInput struct {
  4450. SDKShapeTraits bool `type:"structure"`
  4451. }
  4452. // String returns the string representation
  4453. func (s DescribeReservedNodesInput) String() string {
  4454. return awsutil.Prettify(s)
  4455. }
  4456. // GoString returns the string representation
  4457. func (s DescribeReservedNodesInput) GoString() string {
  4458. return s.String()
  4459. }
  4460. // Contains the output from the DescribeReservedNodes action.
  4461. type DescribeReservedNodesOutput struct {
  4462. // A value that indicates the starting point for the next set of response records
  4463. // in a subsequent request. If a value is returned in a response, you can retrieve
  4464. // the next set of records by providing this returned marker value in the Marker
  4465. // parameter and retrying the command. If the Marker field is empty, all response
  4466. // records have been retrieved for the request.
  4467. Marker *string `type:"string"`
  4468. // The list of reserved nodes.
  4469. ReservedNodes []*ReservedNode `locationNameList:"ReservedNode" type:"list"`
  4470. metadataDescribeReservedNodesOutput `json:"-" xml:"-"`
  4471. }
  4472. type metadataDescribeReservedNodesOutput struct {
  4473. SDKShapeTraits bool `type:"structure"`
  4474. }
  4475. // String returns the string representation
  4476. func (s DescribeReservedNodesOutput) String() string {
  4477. return awsutil.Prettify(s)
  4478. }
  4479. // GoString returns the string representation
  4480. func (s DescribeReservedNodesOutput) GoString() string {
  4481. return s.String()
  4482. }
  4483. type DescribeResizeInput struct {
  4484. // The unique identifier of a cluster whose resize progress you are requesting.
  4485. // This parameter is case-sensitive.
  4486. //
  4487. // By default, resize operations for all clusters defined for an AWS account
  4488. // are returned.
  4489. ClusterIdentifier *string `type:"string" required:"true"`
  4490. metadataDescribeResizeInput `json:"-" xml:"-"`
  4491. }
  4492. type metadataDescribeResizeInput struct {
  4493. SDKShapeTraits bool `type:"structure"`
  4494. }
  4495. // String returns the string representation
  4496. func (s DescribeResizeInput) String() string {
  4497. return awsutil.Prettify(s)
  4498. }
  4499. // GoString returns the string representation
  4500. func (s DescribeResizeInput) GoString() string {
  4501. return s.String()
  4502. }
  4503. // Describes the result of a cluster resize operation.
  4504. type DescribeResizeOutput struct {
  4505. // The average rate of the resize operation over the last few minutes, measured
  4506. // in megabytes per second. After the resize operation completes, this value
  4507. // shows the average rate of the entire resize operation.
  4508. AvgResizeRateInMegaBytesPerSecond *float64 `type:"double"`
  4509. // The amount of seconds that have elapsed since the resize operation began.
  4510. // After the resize operation completes, this value shows the total actual time,
  4511. // in seconds, for the resize operation.
  4512. ElapsedTimeInSeconds *int64 `type:"long"`
  4513. // The estimated time remaining, in seconds, until the resize operation is complete.
  4514. // This value is calculated based on the average resize rate and the estimated
  4515. // amount of data remaining to be processed. Once the resize operation is complete,
  4516. // this value will be 0.
  4517. EstimatedTimeToCompletionInSeconds *int64 `type:"long"`
  4518. // The names of tables that have been completely imported .
  4519. //
  4520. // Valid Values: List of table names.
  4521. ImportTablesCompleted []*string `type:"list"`
  4522. // The names of tables that are being currently imported.
  4523. //
  4524. // Valid Values: List of table names.
  4525. ImportTablesInProgress []*string `type:"list"`
  4526. // The names of tables that have not been yet imported.
  4527. //
  4528. // Valid Values: List of table names
  4529. ImportTablesNotStarted []*string `type:"list"`
  4530. // While the resize operation is in progress, this value shows the current amount
  4531. // of data, in megabytes, that has been processed so far. When the resize operation
  4532. // is complete, this value shows the total amount of data, in megabytes, on
  4533. // the cluster, which may be more or less than TotalResizeDataInMegaBytes (the
  4534. // estimated total amount of data before resize).
  4535. ProgressInMegaBytes *int64 `type:"long"`
  4536. // The status of the resize operation.
  4537. //
  4538. // Valid Values: NONE | IN_PROGRESS | FAILED | SUCCEEDED
  4539. Status *string `type:"string"`
  4540. // The cluster type after the resize operation is complete.
  4541. //
  4542. // Valid Values: multi-node | single-node
  4543. TargetClusterType *string `type:"string"`
  4544. // The node type that the cluster will have after the resize operation is complete.
  4545. TargetNodeType *string `type:"string"`
  4546. // The number of nodes that the cluster will have after the resize operation
  4547. // is complete.
  4548. TargetNumberOfNodes *int64 `type:"integer"`
  4549. // The estimated total amount of data, in megabytes, on the cluster before the
  4550. // resize operation began.
  4551. TotalResizeDataInMegaBytes *int64 `type:"long"`
  4552. metadataDescribeResizeOutput `json:"-" xml:"-"`
  4553. }
  4554. type metadataDescribeResizeOutput struct {
  4555. SDKShapeTraits bool `type:"structure"`
  4556. }
  4557. // String returns the string representation
  4558. func (s DescribeResizeOutput) String() string {
  4559. return awsutil.Prettify(s)
  4560. }
  4561. // GoString returns the string representation
  4562. func (s DescribeResizeOutput) GoString() string {
  4563. return s.String()
  4564. }
  4565. // The result of the DescribeSnapshotCopyGrants action.
  4566. type DescribeSnapshotCopyGrantsInput struct {
  4567. // An optional parameter that specifies the starting point to return a set of
  4568. // response records. When the results of a DescribeSnapshotCopyGrant request
  4569. // exceed the value specified in MaxRecords, AWS returns a value in the Marker
  4570. // field of the response. You can retrieve the next set of response records
  4571. // by providing the returned marker value in the Marker parameter and retrying
  4572. // the request.
  4573. //
  4574. // Constraints: You can specify either the SnapshotCopyGrantName parameter
  4575. // or the Marker parameter, but not both.
  4576. Marker *string `type:"string"`
  4577. // The maximum number of response records to return in each call. If the number
  4578. // of remaining response records exceeds the specified MaxRecords value, a value
  4579. // is returned in a marker field of the response. You can retrieve the next
  4580. // set of records by retrying the command with the returned marker value.
  4581. //
  4582. // Default: 100
  4583. //
  4584. // Constraints: minimum 20, maximum 100.
  4585. MaxRecords *int64 `type:"integer"`
  4586. // The name of the snapshot copy grant.
  4587. SnapshotCopyGrantName *string `type:"string"`
  4588. // A tag key or keys for which you want to return all matching resources that
  4589. // are associated with the specified key or keys. For example, suppose that
  4590. // you have resources tagged with keys called owner and environment. If you
  4591. // specify both of these tag keys in the request, Amazon Redshift returns a
  4592. // response with all resources that have either or both of these tag keys associated
  4593. // with them.
  4594. TagKeys []*string `locationNameList:"TagKey" type:"list"`
  4595. // A tag value or values for which you want to return all matching resources
  4596. // that are associated with the specified value or values. For example, suppose
  4597. // that you have resources tagged with values called admin and test. If you
  4598. // specify both of these tag values in the request, Amazon Redshift returns
  4599. // a response with all resources that have either or both of these tag values
  4600. // associated with them.
  4601. TagValues []*string `locationNameList:"TagValue" type:"list"`
  4602. metadataDescribeSnapshotCopyGrantsInput `json:"-" xml:"-"`
  4603. }
  4604. type metadataDescribeSnapshotCopyGrantsInput struct {
  4605. SDKShapeTraits bool `type:"structure"`
  4606. }
  4607. // String returns the string representation
  4608. func (s DescribeSnapshotCopyGrantsInput) String() string {
  4609. return awsutil.Prettify(s)
  4610. }
  4611. // GoString returns the string representation
  4612. func (s DescribeSnapshotCopyGrantsInput) GoString() string {
  4613. return s.String()
  4614. }
  4615. // The result of the snapshot copy grant.
  4616. type DescribeSnapshotCopyGrantsOutput struct {
  4617. // An optional parameter that specifies the starting point to return a set of
  4618. // response records. When the results of a DescribeSnapshotCopyGrant request
  4619. // exceed the value specified in MaxRecords, AWS returns a value in the Marker
  4620. // field of the response. You can retrieve the next set of response records
  4621. // by providing the returned marker value in the Marker parameter and retrying
  4622. // the request.
  4623. //
  4624. // Constraints: You can specify either the SnapshotCopyGrantName parameter
  4625. // or the Marker parameter, but not both.
  4626. Marker *string `type:"string"`
  4627. // The list of snapshot copy grants.
  4628. SnapshotCopyGrants []*SnapshotCopyGrant `locationNameList:"SnapshotCopyGrant" type:"list"`
  4629. metadataDescribeSnapshotCopyGrantsOutput `json:"-" xml:"-"`
  4630. }
  4631. type metadataDescribeSnapshotCopyGrantsOutput struct {
  4632. SDKShapeTraits bool `type:"structure"`
  4633. }
  4634. // String returns the string representation
  4635. func (s DescribeSnapshotCopyGrantsOutput) String() string {
  4636. return awsutil.Prettify(s)
  4637. }
  4638. // GoString returns the string representation
  4639. func (s DescribeSnapshotCopyGrantsOutput) GoString() string {
  4640. return s.String()
  4641. }
  4642. // Contains the output from the DescribeTags action.
  4643. type DescribeTagsInput struct {
  4644. // A value that indicates the starting point for the next set of response records
  4645. // in a subsequent request. If a value is returned in a response, you can retrieve
  4646. // the next set of records by providing this returned marker value in the marker
  4647. // parameter and retrying the command. If the marker field is empty, all response
  4648. // records have been retrieved for the request.
  4649. Marker *string `type:"string"`
  4650. // The maximum number or response records to return in each call. If the number
  4651. // of remaining response records exceeds the specified MaxRecords value, a value
  4652. // is returned in a marker field of the response. You can retrieve the next
  4653. // set of records by retrying the command with the returned marker value.
  4654. MaxRecords *int64 `type:"integer"`
  4655. // The Amazon Resource Name (ARN) for which you want to describe the tag or
  4656. // tags. For example, arn:aws:redshift:us-east-1:123456789:cluster:t1.
  4657. ResourceName *string `type:"string"`
  4658. // The type of resource with which you want to view tags. Valid resource types
  4659. // are: Cluster CIDR/IP EC2 security group Snapshot Cluster security group
  4660. // Subnet group HSM connection HSM certificate Parameter group Snapshot copy
  4661. // grant
  4662. //
  4663. // For more information about Amazon Redshift resource types and constructing
  4664. // ARNs, go to Constructing an Amazon Redshift Amazon Resource Name (ARN) (http://docs.aws.amazon.com/redshift/latest/mgmt/constructing-redshift-arn.html)
  4665. // in the Amazon Redshift Cluster Management Guide.
  4666. ResourceType *string `type:"string"`
  4667. // A tag key or keys for which you want to return all matching resources that
  4668. // are associated with the specified key or keys. For example, suppose that
  4669. // you have resources tagged with keys called owner and environment. If you
  4670. // specify both of these tag keys in the request, Amazon Redshift returns a
  4671. // response with all resources that have either or both of these tag keys associated
  4672. // with them.
  4673. TagKeys []*string `locationNameList:"TagKey" type:"list"`
  4674. // A tag value or values for which you want to return all matching resources
  4675. // that are associated with the specified value or values. For example, suppose
  4676. // that you have resources tagged with values called admin and test. If you
  4677. // specify both of these tag values in the request, Amazon Redshift returns
  4678. // a response with all resources that have either or both of these tag values
  4679. // associated with them.
  4680. TagValues []*string `locationNameList:"TagValue" type:"list"`
  4681. metadataDescribeTagsInput `json:"-" xml:"-"`
  4682. }
  4683. type metadataDescribeTagsInput struct {
  4684. SDKShapeTraits bool `type:"structure"`
  4685. }
  4686. // String returns the string representation
  4687. func (s DescribeTagsInput) String() string {
  4688. return awsutil.Prettify(s)
  4689. }
  4690. // GoString returns the string representation
  4691. func (s DescribeTagsInput) GoString() string {
  4692. return s.String()
  4693. }
  4694. // Contains the output from the DescribeTags action.
  4695. type DescribeTagsOutput struct {
  4696. // A value that indicates the starting point for the next set of response records
  4697. // in a subsequent request. If a value is returned in a response, you can retrieve
  4698. // the next set of records by providing this returned marker value in the Marker
  4699. // parameter and retrying the command. If the Marker field is empty, all response
  4700. // records have been retrieved for the request.
  4701. Marker *string `type:"string"`
  4702. // A list of tags with their associated resources.
  4703. TaggedResources []*TaggedResource `locationNameList:"TaggedResource" type:"list"`
  4704. metadataDescribeTagsOutput `json:"-" xml:"-"`
  4705. }
  4706. type metadataDescribeTagsOutput struct {
  4707. SDKShapeTraits bool `type:"structure"`
  4708. }
  4709. // String returns the string representation
  4710. func (s DescribeTagsOutput) String() string {
  4711. return awsutil.Prettify(s)
  4712. }
  4713. // GoString returns the string representation
  4714. func (s DescribeTagsOutput) GoString() string {
  4715. return s.String()
  4716. }
  4717. type DisableLoggingInput struct {
  4718. // The identifier of the cluster on which logging is to be stopped.
  4719. //
  4720. // Example: examplecluster
  4721. ClusterIdentifier *string `type:"string" required:"true"`
  4722. metadataDisableLoggingInput `json:"-" xml:"-"`
  4723. }
  4724. type metadataDisableLoggingInput struct {
  4725. SDKShapeTraits bool `type:"structure"`
  4726. }
  4727. // String returns the string representation
  4728. func (s DisableLoggingInput) String() string {
  4729. return awsutil.Prettify(s)
  4730. }
  4731. // GoString returns the string representation
  4732. func (s DisableLoggingInput) GoString() string {
  4733. return s.String()
  4734. }
  4735. type DisableSnapshotCopyInput struct {
  4736. // The unique identifier of the source cluster that you want to disable copying
  4737. // of snapshots to a destination region.
  4738. //
  4739. // Constraints: Must be the valid name of an existing cluster that has cross-region
  4740. // snapshot copy enabled.
  4741. ClusterIdentifier *string `type:"string" required:"true"`
  4742. metadataDisableSnapshotCopyInput `json:"-" xml:"-"`
  4743. }
  4744. type metadataDisableSnapshotCopyInput struct {
  4745. SDKShapeTraits bool `type:"structure"`
  4746. }
  4747. // String returns the string representation
  4748. func (s DisableSnapshotCopyInput) String() string {
  4749. return awsutil.Prettify(s)
  4750. }
  4751. // GoString returns the string representation
  4752. func (s DisableSnapshotCopyInput) GoString() string {
  4753. return s.String()
  4754. }
  4755. type DisableSnapshotCopyOutput struct {
  4756. // Describes a cluster.
  4757. Cluster *Cluster `type:"structure"`
  4758. metadataDisableSnapshotCopyOutput `json:"-" xml:"-"`
  4759. }
  4760. type metadataDisableSnapshotCopyOutput struct {
  4761. SDKShapeTraits bool `type:"structure"`
  4762. }
  4763. // String returns the string representation
  4764. func (s DisableSnapshotCopyOutput) String() string {
  4765. return awsutil.Prettify(s)
  4766. }
  4767. // GoString returns the string representation
  4768. func (s DisableSnapshotCopyOutput) GoString() string {
  4769. return s.String()
  4770. }
  4771. // Describes an Amazon EC2 security group.
  4772. type EC2SecurityGroup struct {
  4773. // The name of the EC2 Security Group.
  4774. EC2SecurityGroupName *string `type:"string"`
  4775. // The AWS ID of the owner of the EC2 security group specified in the EC2SecurityGroupName
  4776. // field.
  4777. EC2SecurityGroupOwnerId *string `type:"string"`
  4778. // The status of the EC2 security group.
  4779. Status *string `type:"string"`
  4780. // The list of tags for the EC2 security group.
  4781. Tags []*Tag `locationNameList:"Tag" type:"list"`
  4782. metadataEC2SecurityGroup `json:"-" xml:"-"`
  4783. }
  4784. type metadataEC2SecurityGroup struct {
  4785. SDKShapeTraits bool `type:"structure"`
  4786. }
  4787. // String returns the string representation
  4788. func (s EC2SecurityGroup) String() string {
  4789. return awsutil.Prettify(s)
  4790. }
  4791. // GoString returns the string representation
  4792. func (s EC2SecurityGroup) GoString() string {
  4793. return s.String()
  4794. }
  4795. // Describes the status of the elastic IP (EIP) address.
  4796. type ElasticIpStatus struct {
  4797. // The elastic IP (EIP) address for the cluster.
  4798. ElasticIp *string `type:"string"`
  4799. // Describes the status of the elastic IP (EIP) address.
  4800. Status *string `type:"string"`
  4801. metadataElasticIpStatus `json:"-" xml:"-"`
  4802. }
  4803. type metadataElasticIpStatus struct {
  4804. SDKShapeTraits bool `type:"structure"`
  4805. }
  4806. // String returns the string representation
  4807. func (s ElasticIpStatus) String() string {
  4808. return awsutil.Prettify(s)
  4809. }
  4810. // GoString returns the string representation
  4811. func (s ElasticIpStatus) GoString() string {
  4812. return s.String()
  4813. }
  4814. type EnableLoggingInput struct {
  4815. // The name of an existing S3 bucket where the log files are to be stored.
  4816. //
  4817. // Constraints:
  4818. //
  4819. // Must be in the same region as the cluster The cluster must have read bucket
  4820. // and put object permissions
  4821. BucketName *string `type:"string" required:"true"`
  4822. // The identifier of the cluster on which logging is to be started.
  4823. //
  4824. // Example: examplecluster
  4825. ClusterIdentifier *string `type:"string" required:"true"`
  4826. // The prefix applied to the log file names.
  4827. //
  4828. // Constraints:
  4829. //
  4830. // Cannot exceed 512 characters Cannot contain spaces( ), double quotes ("),
  4831. // single quotes ('), a backslash (\), or control characters. The hexadecimal
  4832. // codes for invalid characters are: x00 to x20 x22 x27 x5c x7f or larger
  4833. S3KeyPrefix *string `type:"string"`
  4834. metadataEnableLoggingInput `json:"-" xml:"-"`
  4835. }
  4836. type metadataEnableLoggingInput struct {
  4837. SDKShapeTraits bool `type:"structure"`
  4838. }
  4839. // String returns the string representation
  4840. func (s EnableLoggingInput) String() string {
  4841. return awsutil.Prettify(s)
  4842. }
  4843. // GoString returns the string representation
  4844. func (s EnableLoggingInput) GoString() string {
  4845. return s.String()
  4846. }
  4847. type EnableSnapshotCopyInput struct {
  4848. // The unique identifier of the source cluster to copy snapshots from.
  4849. //
  4850. // Constraints: Must be the valid name of an existing cluster that does not
  4851. // already have cross-region snapshot copy enabled.
  4852. ClusterIdentifier *string `type:"string" required:"true"`
  4853. // The destination region that you want to copy snapshots to.
  4854. //
  4855. // Constraints: Must be the name of a valid region. For more information,
  4856. // see Regions and Endpoints (http://docs.aws.amazon.com/general/latest/gr/rande.html#redshift_region)
  4857. // in the Amazon Web Services General Reference.
  4858. DestinationRegion *string `type:"string" required:"true"`
  4859. // The number of days to retain automated snapshots in the destination region
  4860. // after they are copied from the source region.
  4861. //
  4862. // Default: 7.
  4863. //
  4864. // Constraints: Must be at least 1 and no more than 35.
  4865. RetentionPeriod *int64 `type:"integer"`
  4866. // The name of the snapshot copy grant to use when snapshots of an AWS KMS-encrypted
  4867. // cluster are copied to the destination region.
  4868. SnapshotCopyGrantName *string `type:"string"`
  4869. metadataEnableSnapshotCopyInput `json:"-" xml:"-"`
  4870. }
  4871. type metadataEnableSnapshotCopyInput struct {
  4872. SDKShapeTraits bool `type:"structure"`
  4873. }
  4874. // String returns the string representation
  4875. func (s EnableSnapshotCopyInput) String() string {
  4876. return awsutil.Prettify(s)
  4877. }
  4878. // GoString returns the string representation
  4879. func (s EnableSnapshotCopyInput) GoString() string {
  4880. return s.String()
  4881. }
  4882. type EnableSnapshotCopyOutput struct {
  4883. // Describes a cluster.
  4884. Cluster *Cluster `type:"structure"`
  4885. metadataEnableSnapshotCopyOutput `json:"-" xml:"-"`
  4886. }
  4887. type metadataEnableSnapshotCopyOutput struct {
  4888. SDKShapeTraits bool `type:"structure"`
  4889. }
  4890. // String returns the string representation
  4891. func (s EnableSnapshotCopyOutput) String() string {
  4892. return awsutil.Prettify(s)
  4893. }
  4894. // GoString returns the string representation
  4895. func (s EnableSnapshotCopyOutput) GoString() string {
  4896. return s.String()
  4897. }
  4898. // Describes a connection endpoint.
  4899. type Endpoint struct {
  4900. // The DNS address of the Cluster.
  4901. Address *string `type:"string"`
  4902. // The port that the database engine is listening on.
  4903. Port *int64 `type:"integer"`
  4904. metadataEndpoint `json:"-" xml:"-"`
  4905. }
  4906. type metadataEndpoint struct {
  4907. SDKShapeTraits bool `type:"structure"`
  4908. }
  4909. // String returns the string representation
  4910. func (s Endpoint) String() string {
  4911. return awsutil.Prettify(s)
  4912. }
  4913. // GoString returns the string representation
  4914. func (s Endpoint) GoString() string {
  4915. return s.String()
  4916. }
  4917. // Describes an event.
  4918. type Event struct {
  4919. // The date and time of the event.
  4920. Date *time.Time `type:"timestamp" timestampFormat:"iso8601"`
  4921. // A list of the event categories.
  4922. //
  4923. // Values: Configuration, Management, Monitoring, Security
  4924. EventCategories []*string `locationNameList:"EventCategory" type:"list"`
  4925. // The identifier of the event.
  4926. EventId *string `type:"string"`
  4927. // The text of this event.
  4928. Message *string `type:"string"`
  4929. // The severity of the event.
  4930. //
  4931. // Values: ERROR, INFO
  4932. Severity *string `type:"string"`
  4933. // The identifier for the source of the event.
  4934. SourceIdentifier *string `type:"string"`
  4935. // The source type for this event.
  4936. SourceType *string `type:"string" enum:"SourceType"`
  4937. metadataEvent `json:"-" xml:"-"`
  4938. }
  4939. type metadataEvent struct {
  4940. SDKShapeTraits bool `type:"structure"`
  4941. }
  4942. // String returns the string representation
  4943. func (s Event) String() string {
  4944. return awsutil.Prettify(s)
  4945. }
  4946. // GoString returns the string representation
  4947. func (s Event) GoString() string {
  4948. return s.String()
  4949. }
  4950. type EventCategoriesMap struct {
  4951. // The events in the event category.
  4952. Events []*EventInfoMap `locationNameList:"EventInfoMap" type:"list"`
  4953. // The Amazon Redshift source type, such as cluster or cluster-snapshot, that
  4954. // the returned categories belong to.
  4955. SourceType *string `type:"string"`
  4956. metadataEventCategoriesMap `json:"-" xml:"-"`
  4957. }
  4958. type metadataEventCategoriesMap struct {
  4959. SDKShapeTraits bool `type:"structure"`
  4960. }
  4961. // String returns the string representation
  4962. func (s EventCategoriesMap) String() string {
  4963. return awsutil.Prettify(s)
  4964. }
  4965. // GoString returns the string representation
  4966. func (s EventCategoriesMap) GoString() string {
  4967. return s.String()
  4968. }
  4969. type EventInfoMap struct {
  4970. // The category of an Amazon Redshift event.
  4971. EventCategories []*string `locationNameList:"EventCategory" type:"list"`
  4972. // The description of an Amazon Redshift event.
  4973. EventDescription *string `type:"string"`
  4974. // The identifier of an Amazon Redshift event.
  4975. EventId *string `type:"string"`
  4976. // The severity of the event.
  4977. //
  4978. // Values: ERROR, INFO
  4979. Severity *string `type:"string"`
  4980. metadataEventInfoMap `json:"-" xml:"-"`
  4981. }
  4982. type metadataEventInfoMap struct {
  4983. SDKShapeTraits bool `type:"structure"`
  4984. }
  4985. // String returns the string representation
  4986. func (s EventInfoMap) String() string {
  4987. return awsutil.Prettify(s)
  4988. }
  4989. // GoString returns the string representation
  4990. func (s EventInfoMap) GoString() string {
  4991. return s.String()
  4992. }
  4993. type EventSubscription struct {
  4994. // The name of the Amazon Redshift event notification subscription.
  4995. CustSubscriptionId *string `type:"string"`
  4996. // The AWS customer account associated with the Amazon Redshift event notification
  4997. // subscription.
  4998. CustomerAwsId *string `type:"string"`
  4999. // A Boolean value indicating whether the subscription is enabled. true indicates
  5000. // the subscription is enabled.
  5001. Enabled *bool `type:"boolean"`
  5002. // The list of Amazon Redshift event categories specified in the event notification
  5003. // subscription.
  5004. //
  5005. // Values: Configuration, Management, Monitoring, Security
  5006. EventCategoriesList []*string `locationNameList:"EventCategory" type:"list"`
  5007. // The event severity specified in the Amazon Redshift event notification subscription.
  5008. //
  5009. // Values: ERROR, INFO
  5010. Severity *string `type:"string"`
  5011. // The Amazon Resource Name (ARN) of the Amazon SNS topic used by the event
  5012. // notification subscription.
  5013. SnsTopicArn *string `type:"string"`
  5014. // A list of the sources that publish events to the Amazon Redshift event notification
  5015. // subscription.
  5016. SourceIdsList []*string `locationNameList:"SourceId" type:"list"`
  5017. // The source type of the events returned the Amazon Redshift event notification,
  5018. // such as cluster, or cluster-snapshot.
  5019. SourceType *string `type:"string"`
  5020. // The status of the Amazon Redshift event notification subscription.
  5021. //
  5022. // Constraints:
  5023. //
  5024. // Can be one of the following: active | no-permission | topic-not-exist The
  5025. // status "no-permission" indicates that Amazon Redshift no longer has permission
  5026. // to post to the Amazon SNS topic. The status "topic-not-exist" indicates that
  5027. // the topic was deleted after the subscription was created.
  5028. Status *string `type:"string"`
  5029. // The date and time the Amazon Redshift event notification subscription was
  5030. // created.
  5031. SubscriptionCreationTime *time.Time `type:"timestamp" timestampFormat:"iso8601"`
  5032. // The list of tags for the event subscription.
  5033. Tags []*Tag `locationNameList:"Tag" type:"list"`
  5034. metadataEventSubscription `json:"-" xml:"-"`
  5035. }
  5036. type metadataEventSubscription struct {
  5037. SDKShapeTraits bool `type:"structure"`
  5038. }
  5039. // String returns the string representation
  5040. func (s EventSubscription) String() string {
  5041. return awsutil.Prettify(s)
  5042. }
  5043. // GoString returns the string representation
  5044. func (s EventSubscription) GoString() string {
  5045. return s.String()
  5046. }
  5047. // Returns information about an HSM client certificate. The certificate is stored
  5048. // in a secure Hardware Storage Module (HSM), and used by the Amazon Redshift
  5049. // cluster to encrypt data files.
  5050. type HsmClientCertificate struct {
  5051. // The identifier of the HSM client certificate.
  5052. HsmClientCertificateIdentifier *string `type:"string"`
  5053. // The public key that the Amazon Redshift cluster will use to connect to the
  5054. // HSM. You must register the public key in the HSM.
  5055. HsmClientCertificatePublicKey *string `type:"string"`
  5056. // The list of tags for the HSM client certificate.
  5057. Tags []*Tag `locationNameList:"Tag" type:"list"`
  5058. metadataHsmClientCertificate `json:"-" xml:"-"`
  5059. }
  5060. type metadataHsmClientCertificate struct {
  5061. SDKShapeTraits bool `type:"structure"`
  5062. }
  5063. // String returns the string representation
  5064. func (s HsmClientCertificate) String() string {
  5065. return awsutil.Prettify(s)
  5066. }
  5067. // GoString returns the string representation
  5068. func (s HsmClientCertificate) GoString() string {
  5069. return s.String()
  5070. }
  5071. // Returns information about an HSM configuration, which is an object that describes
  5072. // to Amazon Redshift clusters the information they require to connect to an
  5073. // HSM where they can store database encryption keys.
  5074. type HsmConfiguration struct {
  5075. // A text description of the HSM configuration.
  5076. Description *string `type:"string"`
  5077. // The name of the Amazon Redshift HSM configuration.
  5078. HsmConfigurationIdentifier *string `type:"string"`
  5079. // The IP address that the Amazon Redshift cluster must use to access the HSM.
  5080. HsmIpAddress *string `type:"string"`
  5081. // The name of the partition in the HSM where the Amazon Redshift clusters will
  5082. // store their database encryption keys.
  5083. HsmPartitionName *string `type:"string"`
  5084. // The list of tags for the HSM configuration.
  5085. Tags []*Tag `locationNameList:"Tag" type:"list"`
  5086. metadataHsmConfiguration `json:"-" xml:"-"`
  5087. }
  5088. type metadataHsmConfiguration struct {
  5089. SDKShapeTraits bool `type:"structure"`
  5090. }
  5091. // String returns the string representation
  5092. func (s HsmConfiguration) String() string {
  5093. return awsutil.Prettify(s)
  5094. }
  5095. // GoString returns the string representation
  5096. func (s HsmConfiguration) GoString() string {
  5097. return s.String()
  5098. }
  5099. type HsmStatus struct {
  5100. // Specifies the name of the HSM client certificate the Amazon Redshift cluster
  5101. // uses to retrieve the data encryption keys stored in an HSM.
  5102. HsmClientCertificateIdentifier *string `type:"string"`
  5103. // Specifies the name of the HSM configuration that contains the information
  5104. // the Amazon Redshift cluster can use to retrieve and store keys in an HSM.
  5105. HsmConfigurationIdentifier *string `type:"string"`
  5106. // Reports whether the Amazon Redshift cluster has finished applying any HSM
  5107. // settings changes specified in a modify cluster command.
  5108. //
  5109. // Values: active, applying
  5110. Status *string `type:"string"`
  5111. metadataHsmStatus `json:"-" xml:"-"`
  5112. }
  5113. type metadataHsmStatus struct {
  5114. SDKShapeTraits bool `type:"structure"`
  5115. }
  5116. // String returns the string representation
  5117. func (s HsmStatus) String() string {
  5118. return awsutil.Prettify(s)
  5119. }
  5120. // GoString returns the string representation
  5121. func (s HsmStatus) GoString() string {
  5122. return s.String()
  5123. }
  5124. // Describes an IP range used in a security group.
  5125. type IPRange struct {
  5126. // The IP range in Classless Inter-Domain Routing (CIDR) notation.
  5127. CIDRIP *string `type:"string"`
  5128. // The status of the IP range, for example, "authorized".
  5129. Status *string `type:"string"`
  5130. // The list of tags for the IP range.
  5131. Tags []*Tag `locationNameList:"Tag" type:"list"`
  5132. metadataIPRange `json:"-" xml:"-"`
  5133. }
  5134. type metadataIPRange struct {
  5135. SDKShapeTraits bool `type:"structure"`
  5136. }
  5137. // String returns the string representation
  5138. func (s IPRange) String() string {
  5139. return awsutil.Prettify(s)
  5140. }
  5141. // GoString returns the string representation
  5142. func (s IPRange) GoString() string {
  5143. return s.String()
  5144. }
  5145. // Describes the status of logging for a cluster.
  5146. type LoggingStatus struct {
  5147. // The name of the S3 bucket where the log files are stored.
  5148. BucketName *string `type:"string"`
  5149. // The message indicating that logs failed to be delivered.
  5150. LastFailureMessage *string `type:"string"`
  5151. // The last time when logs failed to be delivered.
  5152. LastFailureTime *time.Time `type:"timestamp" timestampFormat:"iso8601"`
  5153. // The last time when logs were delivered.
  5154. LastSuccessfulDeliveryTime *time.Time `type:"timestamp" timestampFormat:"iso8601"`
  5155. // true if logging is on, false if logging is off.
  5156. LoggingEnabled *bool `type:"boolean"`
  5157. // The prefix applied to the log file names.
  5158. S3KeyPrefix *string `type:"string"`
  5159. metadataLoggingStatus `json:"-" xml:"-"`
  5160. }
  5161. type metadataLoggingStatus struct {
  5162. SDKShapeTraits bool `type:"structure"`
  5163. }
  5164. // String returns the string representation
  5165. func (s LoggingStatus) String() string {
  5166. return awsutil.Prettify(s)
  5167. }
  5168. // GoString returns the string representation
  5169. func (s LoggingStatus) GoString() string {
  5170. return s.String()
  5171. }
  5172. type ModifyClusterInput struct {
  5173. // If true, major version upgrades will be applied automatically to the cluster
  5174. // during the maintenance window.
  5175. //
  5176. // Default: false
  5177. AllowVersionUpgrade *bool `type:"boolean"`
  5178. // The number of days that automated snapshots are retained. If the value is
  5179. // 0, automated snapshots are disabled. Even if automated snapshots are disabled,
  5180. // you can still create manual snapshots when you want with CreateClusterSnapshot.
  5181. //
  5182. // If you decrease the automated snapshot retention period from its current
  5183. // value, existing automated snapshots that fall outside of the new retention
  5184. // period will be immediately deleted.
  5185. //
  5186. // Default: Uses existing setting.
  5187. //
  5188. // Constraints: Must be a value from 0 to 35.
  5189. AutomatedSnapshotRetentionPeriod *int64 `type:"integer"`
  5190. // The unique identifier of the cluster to be modified.
  5191. //
  5192. // Example: examplecluster
  5193. ClusterIdentifier *string `type:"string" required:"true"`
  5194. // The name of the cluster parameter group to apply to this cluster. This change
  5195. // is applied only after the cluster is rebooted. To reboot a cluster use RebootCluster.
  5196. //
  5197. // Default: Uses existing setting.
  5198. //
  5199. // Constraints: The cluster parameter group must be in the same parameter group
  5200. // family that matches the cluster version.
  5201. ClusterParameterGroupName *string `type:"string"`
  5202. // A list of cluster security groups to be authorized on this cluster. This
  5203. // change is asynchronously applied as soon as possible.
  5204. //
  5205. // Security groups currently associated with the cluster, and not in the list
  5206. // of groups to apply, will be revoked from the cluster.
  5207. //
  5208. // Constraints:
  5209. //
  5210. // Must be 1 to 255 alphanumeric characters or hyphens First character must
  5211. // be a letter Cannot end with a hyphen or contain two consecutive hyphens
  5212. ClusterSecurityGroups []*string `locationNameList:"ClusterSecurityGroupName" type:"list"`
  5213. // The new cluster type.
  5214. //
  5215. // When you submit your cluster resize request, your existing cluster goes
  5216. // into a read-only mode. After Amazon Redshift provisions a new cluster based
  5217. // on your resize requirements, there will be outage for a period while the
  5218. // old cluster is deleted and your connection is switched to the new cluster.
  5219. // You can use DescribeResize to track the progress of the resize request.
  5220. //
  5221. // Valid Values: multi-node | single-node
  5222. ClusterType *string `type:"string"`
  5223. // The new version number of the Amazon Redshift engine to upgrade to.
  5224. //
  5225. // For major version upgrades, if a non-default cluster parameter group is
  5226. // currently in use, a new cluster parameter group in the cluster parameter
  5227. // group family for the new version must be specified. The new cluster parameter
  5228. // group can be the default for that cluster parameter group family. For more
  5229. // information about parameters and parameter groups, go to Amazon Redshift
  5230. // Parameter Groups (http://docs.aws.amazon.com/redshift/latest/mgmt/working-with-parameter-groups.html)
  5231. // in the Amazon Redshift Cluster Management Guide.
  5232. //
  5233. // Example: 1.0
  5234. ClusterVersion *string `type:"string"`
  5235. // Specifies the name of the HSM client certificate the Amazon Redshift cluster
  5236. // uses to retrieve the data encryption keys stored in an HSM.
  5237. HsmClientCertificateIdentifier *string `type:"string"`
  5238. // Specifies the name of the HSM configuration that contains the information
  5239. // the Amazon Redshift cluster can use to retrieve and store keys in an HSM.
  5240. HsmConfigurationIdentifier *string `type:"string"`
  5241. // The new password for the cluster master user. This change is asynchronously
  5242. // applied as soon as possible. Between the time of the request and the completion
  5243. // of the request, the MasterUserPassword element exists in the PendingModifiedValues
  5244. // element of the operation response. Operations never return the password,
  5245. // so this operation provides a way to regain access to the master user account
  5246. // for a cluster if the password is lost.
  5247. //
  5248. // Default: Uses existing setting.
  5249. //
  5250. // Constraints:
  5251. //
  5252. // Must be between 8 and 64 characters in length. Must contain at least one
  5253. // uppercase letter. Must contain at least one lowercase letter. Must contain
  5254. // one number. Can be any printable ASCII character (ASCII code 33 to 126) except
  5255. // ' (single quote), " (double quote), \, /, @, or space.
  5256. MasterUserPassword *string `type:"string"`
  5257. // The new identifier for the cluster.
  5258. //
  5259. // Constraints:
  5260. //
  5261. // Must contain from 1 to 63 alphanumeric characters or hyphens. Alphabetic
  5262. // characters must be lowercase. First character must be a letter. Cannot end
  5263. // with a hyphen or contain two consecutive hyphens. Must be unique for all
  5264. // clusters within an AWS account. Example: examplecluster
  5265. NewClusterIdentifier *string `type:"string"`
  5266. // The new node type of the cluster. If you specify a new node type, you must
  5267. // also specify the number of nodes parameter.
  5268. //
  5269. // When you submit your request to resize a cluster, Amazon Redshift sets
  5270. // access permissions for the cluster to read-only. After Amazon Redshift provisions
  5271. // a new cluster according to your resize requirements, there will be a temporary
  5272. // outage while the old cluster is deleted and your connection is switched to
  5273. // the new cluster. When the new connection is complete, the original access
  5274. // permissions for the cluster are restored. You can use DescribeResize to track
  5275. // the progress of the resize request.
  5276. //
  5277. // Valid Values: ds1.xlarge | ds1.8xlarge | ds2.xlarge | ds2.8xlarge | dc1.large
  5278. // | dc1.8xlarge.
  5279. NodeType *string `type:"string"`
  5280. // The new number of nodes of the cluster. If you specify a new number of nodes,
  5281. // you must also specify the node type parameter.
  5282. //
  5283. // When you submit your request to resize a cluster, Amazon Redshift sets
  5284. // access permissions for the cluster to read-only. After Amazon Redshift provisions
  5285. // a new cluster according to your resize requirements, there will be a temporary
  5286. // outage while the old cluster is deleted and your connection is switched to
  5287. // the new cluster. When the new connection is complete, the original access
  5288. // permissions for the cluster are restored. You can use DescribeResize to track
  5289. // the progress of the resize request.
  5290. //
  5291. // Valid Values: Integer greater than 0.
  5292. NumberOfNodes *int64 `type:"integer"`
  5293. // The weekly time range (in UTC) during which system maintenance can occur,
  5294. // if necessary. If system maintenance is necessary during the window, it may
  5295. // result in an outage.
  5296. //
  5297. // This maintenance window change is made immediately. If the new maintenance
  5298. // window indicates the current time, there must be at least 120 minutes between
  5299. // the current time and end of the window in order to ensure that pending changes
  5300. // are applied.
  5301. //
  5302. // Default: Uses existing setting.
  5303. //
  5304. // Format: ddd:hh24:mi-ddd:hh24:mi, for example wed:07:30-wed:08:00.
  5305. //
  5306. // Valid Days: Mon | Tue | Wed | Thu | Fri | Sat | Sun
  5307. //
  5308. // Constraints: Must be at least 30 minutes.
  5309. PreferredMaintenanceWindow *string `type:"string"`
  5310. // A list of virtual private cloud (VPC) security groups to be associated with
  5311. // the cluster.
  5312. VpcSecurityGroupIds []*string `locationNameList:"VpcSecurityGroupId" type:"list"`
  5313. metadataModifyClusterInput `json:"-" xml:"-"`
  5314. }
  5315. type metadataModifyClusterInput struct {
  5316. SDKShapeTraits bool `type:"structure"`
  5317. }
  5318. // String returns the string representation
  5319. func (s ModifyClusterInput) String() string {
  5320. return awsutil.Prettify(s)
  5321. }
  5322. // GoString returns the string representation
  5323. func (s ModifyClusterInput) GoString() string {
  5324. return s.String()
  5325. }
  5326. type ModifyClusterOutput struct {
  5327. // Describes a cluster.
  5328. Cluster *Cluster `type:"structure"`
  5329. metadataModifyClusterOutput `json:"-" xml:"-"`
  5330. }
  5331. type metadataModifyClusterOutput struct {
  5332. SDKShapeTraits bool `type:"structure"`
  5333. }
  5334. // String returns the string representation
  5335. func (s ModifyClusterOutput) String() string {
  5336. return awsutil.Prettify(s)
  5337. }
  5338. // GoString returns the string representation
  5339. func (s ModifyClusterOutput) GoString() string {
  5340. return s.String()
  5341. }
  5342. type ModifyClusterParameterGroupInput struct {
  5343. // The name of the parameter group to be modified.
  5344. ParameterGroupName *string `type:"string" required:"true"`
  5345. // An array of parameters to be modified. A maximum of 20 parameters can be
  5346. // modified in a single request.
  5347. //
  5348. // For each parameter to be modified, you must supply at least the parameter
  5349. // name and parameter value; other name-value pairs of the parameter are optional.
  5350. //
  5351. // For the workload management (WLM) configuration, you must supply all the
  5352. // name-value pairs in the wlm_json_configuration parameter.
  5353. Parameters []*Parameter `locationNameList:"Parameter" type:"list" required:"true"`
  5354. metadataModifyClusterParameterGroupInput `json:"-" xml:"-"`
  5355. }
  5356. type metadataModifyClusterParameterGroupInput struct {
  5357. SDKShapeTraits bool `type:"structure"`
  5358. }
  5359. // String returns the string representation
  5360. func (s ModifyClusterParameterGroupInput) String() string {
  5361. return awsutil.Prettify(s)
  5362. }
  5363. // GoString returns the string representation
  5364. func (s ModifyClusterParameterGroupInput) GoString() string {
  5365. return s.String()
  5366. }
  5367. type ModifyClusterSubnetGroupInput struct {
  5368. // The name of the subnet group to be modified.
  5369. ClusterSubnetGroupName *string `type:"string" required:"true"`
  5370. // A text description of the subnet group to be modified.
  5371. Description *string `type:"string"`
  5372. // An array of VPC subnet IDs. A maximum of 20 subnets can be modified in a
  5373. // single request.
  5374. SubnetIds []*string `locationNameList:"SubnetIdentifier" type:"list" required:"true"`
  5375. metadataModifyClusterSubnetGroupInput `json:"-" xml:"-"`
  5376. }
  5377. type metadataModifyClusterSubnetGroupInput struct {
  5378. SDKShapeTraits bool `type:"structure"`
  5379. }
  5380. // String returns the string representation
  5381. func (s ModifyClusterSubnetGroupInput) String() string {
  5382. return awsutil.Prettify(s)
  5383. }
  5384. // GoString returns the string representation
  5385. func (s ModifyClusterSubnetGroupInput) GoString() string {
  5386. return s.String()
  5387. }
  5388. type ModifyClusterSubnetGroupOutput struct {
  5389. // Describes a subnet group.
  5390. ClusterSubnetGroup *ClusterSubnetGroup `type:"structure"`
  5391. metadataModifyClusterSubnetGroupOutput `json:"-" xml:"-"`
  5392. }
  5393. type metadataModifyClusterSubnetGroupOutput struct {
  5394. SDKShapeTraits bool `type:"structure"`
  5395. }
  5396. // String returns the string representation
  5397. func (s ModifyClusterSubnetGroupOutput) String() string {
  5398. return awsutil.Prettify(s)
  5399. }
  5400. // GoString returns the string representation
  5401. func (s ModifyClusterSubnetGroupOutput) GoString() string {
  5402. return s.String()
  5403. }
  5404. type ModifyEventSubscriptionInput struct {
  5405. // A Boolean value indicating if the subscription is enabled. true indicates
  5406. // the subscription is enabled
  5407. Enabled *bool `type:"boolean"`
  5408. // Specifies the Amazon Redshift event categories to be published by the event
  5409. // notification subscription.
  5410. //
  5411. // Values: Configuration, Management, Monitoring, Security
  5412. EventCategories []*string `locationNameList:"EventCategory" type:"list"`
  5413. // Specifies the Amazon Redshift event severity to be published by the event
  5414. // notification subscription.
  5415. //
  5416. // Values: ERROR, INFO
  5417. Severity *string `type:"string"`
  5418. // The Amazon Resource Name (ARN) of the SNS topic to be used by the event notification
  5419. // subscription.
  5420. SnsTopicArn *string `type:"string"`
  5421. // A list of one or more identifiers of Amazon Redshift source objects. All
  5422. // of the objects must be of the same type as was specified in the source type
  5423. // parameter. The event subscription will return only events generated by the
  5424. // specified objects. If not specified, then events are returned for all objects
  5425. // within the source type specified.
  5426. //
  5427. // Example: my-cluster-1, my-cluster-2
  5428. //
  5429. // Example: my-snapshot-20131010
  5430. SourceIds []*string `locationNameList:"SourceId" type:"list"`
  5431. // The type of source that will be generating the events. For example, if you
  5432. // want to be notified of events generated by a cluster, you would set this
  5433. // parameter to cluster. If this value is not specified, events are returned
  5434. // for all Amazon Redshift objects in your AWS account. You must specify a source
  5435. // type in order to specify source IDs.
  5436. //
  5437. // Valid values: cluster, cluster-parameter-group, cluster-security-group,
  5438. // and cluster-snapshot.
  5439. SourceType *string `type:"string"`
  5440. // The name of the modified Amazon Redshift event notification subscription.
  5441. SubscriptionName *string `type:"string" required:"true"`
  5442. metadataModifyEventSubscriptionInput `json:"-" xml:"-"`
  5443. }
  5444. type metadataModifyEventSubscriptionInput struct {
  5445. SDKShapeTraits bool `type:"structure"`
  5446. }
  5447. // String returns the string representation
  5448. func (s ModifyEventSubscriptionInput) String() string {
  5449. return awsutil.Prettify(s)
  5450. }
  5451. // GoString returns the string representation
  5452. func (s ModifyEventSubscriptionInput) GoString() string {
  5453. return s.String()
  5454. }
  5455. type ModifyEventSubscriptionOutput struct {
  5456. EventSubscription *EventSubscription `type:"structure"`
  5457. metadataModifyEventSubscriptionOutput `json:"-" xml:"-"`
  5458. }
  5459. type metadataModifyEventSubscriptionOutput struct {
  5460. SDKShapeTraits bool `type:"structure"`
  5461. }
  5462. // String returns the string representation
  5463. func (s ModifyEventSubscriptionOutput) String() string {
  5464. return awsutil.Prettify(s)
  5465. }
  5466. // GoString returns the string representation
  5467. func (s ModifyEventSubscriptionOutput) GoString() string {
  5468. return s.String()
  5469. }
  5470. type ModifySnapshotCopyRetentionPeriodInput struct {
  5471. // The unique identifier of the cluster for which you want to change the retention
  5472. // period for automated snapshots that are copied to a destination region.
  5473. //
  5474. // Constraints: Must be the valid name of an existing cluster that has cross-region
  5475. // snapshot copy enabled.
  5476. ClusterIdentifier *string `type:"string" required:"true"`
  5477. // The number of days to retain automated snapshots in the destination region
  5478. // after they are copied from the source region.
  5479. //
  5480. // If you decrease the retention period for automated snapshots that are copied
  5481. // to a destination region, Amazon Redshift will delete any existing automated
  5482. // snapshots that were copied to the destination region and that fall outside
  5483. // of the new retention period.
  5484. //
  5485. // Constraints: Must be at least 1 and no more than 35.
  5486. RetentionPeriod *int64 `type:"integer" required:"true"`
  5487. metadataModifySnapshotCopyRetentionPeriodInput `json:"-" xml:"-"`
  5488. }
  5489. type metadataModifySnapshotCopyRetentionPeriodInput struct {
  5490. SDKShapeTraits bool `type:"structure"`
  5491. }
  5492. // String returns the string representation
  5493. func (s ModifySnapshotCopyRetentionPeriodInput) String() string {
  5494. return awsutil.Prettify(s)
  5495. }
  5496. // GoString returns the string representation
  5497. func (s ModifySnapshotCopyRetentionPeriodInput) GoString() string {
  5498. return s.String()
  5499. }
  5500. type ModifySnapshotCopyRetentionPeriodOutput struct {
  5501. // Describes a cluster.
  5502. Cluster *Cluster `type:"structure"`
  5503. metadataModifySnapshotCopyRetentionPeriodOutput `json:"-" xml:"-"`
  5504. }
  5505. type metadataModifySnapshotCopyRetentionPeriodOutput struct {
  5506. SDKShapeTraits bool `type:"structure"`
  5507. }
  5508. // String returns the string representation
  5509. func (s ModifySnapshotCopyRetentionPeriodOutput) String() string {
  5510. return awsutil.Prettify(s)
  5511. }
  5512. // GoString returns the string representation
  5513. func (s ModifySnapshotCopyRetentionPeriodOutput) GoString() string {
  5514. return s.String()
  5515. }
  5516. // Describes an orderable cluster option.
  5517. type OrderableClusterOption struct {
  5518. // A list of availability zones for the orderable cluster.
  5519. AvailabilityZones []*AvailabilityZone `locationNameList:"AvailabilityZone" type:"list"`
  5520. // The cluster type, for example multi-node.
  5521. ClusterType *string `type:"string"`
  5522. // The version of the orderable cluster.
  5523. ClusterVersion *string `type:"string"`
  5524. // The node type for the orderable cluster.
  5525. NodeType *string `type:"string"`
  5526. metadataOrderableClusterOption `json:"-" xml:"-"`
  5527. }
  5528. type metadataOrderableClusterOption struct {
  5529. SDKShapeTraits bool `type:"structure"`
  5530. }
  5531. // String returns the string representation
  5532. func (s OrderableClusterOption) String() string {
  5533. return awsutil.Prettify(s)
  5534. }
  5535. // GoString returns the string representation
  5536. func (s OrderableClusterOption) GoString() string {
  5537. return s.String()
  5538. }
  5539. // Describes a parameter in a cluster parameter group.
  5540. type Parameter struct {
  5541. // The valid range of values for the parameter.
  5542. AllowedValues *string `type:"string"`
  5543. // Specifies how to apply the parameter. Supported value: static.
  5544. ApplyType *string `type:"string" enum:"ParameterApplyType"`
  5545. // The data type of the parameter.
  5546. DataType *string `type:"string"`
  5547. // A description of the parameter.
  5548. Description *string `type:"string"`
  5549. // If true, the parameter can be modified. Some parameters have security or
  5550. // operational implications that prevent them from being changed.
  5551. IsModifiable *bool `type:"boolean"`
  5552. // The earliest engine version to which the parameter can apply.
  5553. MinimumEngineVersion *string `type:"string"`
  5554. // The name of the parameter.
  5555. ParameterName *string `type:"string"`
  5556. // The value of the parameter.
  5557. ParameterValue *string `type:"string"`
  5558. // The source of the parameter value, such as "engine-default" or "user".
  5559. Source *string `type:"string"`
  5560. metadataParameter `json:"-" xml:"-"`
  5561. }
  5562. type metadataParameter struct {
  5563. SDKShapeTraits bool `type:"structure"`
  5564. }
  5565. // String returns the string representation
  5566. func (s Parameter) String() string {
  5567. return awsutil.Prettify(s)
  5568. }
  5569. // GoString returns the string representation
  5570. func (s Parameter) GoString() string {
  5571. return s.String()
  5572. }
  5573. // Describes cluster attributes that are in a pending state. A change to one
  5574. // or more the attributes was requested and is in progress or will be applied.
  5575. type PendingModifiedValues struct {
  5576. // The pending or in-progress change of the automated snapshot retention period.
  5577. AutomatedSnapshotRetentionPeriod *int64 `type:"integer"`
  5578. // The pending or in-progress change of the new identifier for the cluster.
  5579. ClusterIdentifier *string `type:"string"`
  5580. // The pending or in-progress change of the cluster type.
  5581. ClusterType *string `type:"string"`
  5582. // The pending or in-progress change of the service version.
  5583. ClusterVersion *string `type:"string"`
  5584. // The pending or in-progress change of the master user password for the cluster.
  5585. MasterUserPassword *string `type:"string"`
  5586. // The pending or in-progress change of the cluster's node type.
  5587. NodeType *string `type:"string"`
  5588. // The pending or in-progress change of the number of nodes in the cluster.
  5589. NumberOfNodes *int64 `type:"integer"`
  5590. metadataPendingModifiedValues `json:"-" xml:"-"`
  5591. }
  5592. type metadataPendingModifiedValues struct {
  5593. SDKShapeTraits bool `type:"structure"`
  5594. }
  5595. // String returns the string representation
  5596. func (s PendingModifiedValues) String() string {
  5597. return awsutil.Prettify(s)
  5598. }
  5599. // GoString returns the string representation
  5600. func (s PendingModifiedValues) GoString() string {
  5601. return s.String()
  5602. }
  5603. type PurchaseReservedNodeOfferingInput struct {
  5604. // The number of reserved nodes you want to purchase.
  5605. //
  5606. // Default: 1
  5607. NodeCount *int64 `type:"integer"`
  5608. // The unique identifier of the reserved node offering you want to purchase.
  5609. ReservedNodeOfferingId *string `type:"string" required:"true"`
  5610. metadataPurchaseReservedNodeOfferingInput `json:"-" xml:"-"`
  5611. }
  5612. type metadataPurchaseReservedNodeOfferingInput struct {
  5613. SDKShapeTraits bool `type:"structure"`
  5614. }
  5615. // String returns the string representation
  5616. func (s PurchaseReservedNodeOfferingInput) String() string {
  5617. return awsutil.Prettify(s)
  5618. }
  5619. // GoString returns the string representation
  5620. func (s PurchaseReservedNodeOfferingInput) GoString() string {
  5621. return s.String()
  5622. }
  5623. type PurchaseReservedNodeOfferingOutput struct {
  5624. // Describes a reserved node. You can call the DescribeReservedNodeOfferings
  5625. // API to obtain the available reserved node offerings.
  5626. ReservedNode *ReservedNode `type:"structure"`
  5627. metadataPurchaseReservedNodeOfferingOutput `json:"-" xml:"-"`
  5628. }
  5629. type metadataPurchaseReservedNodeOfferingOutput struct {
  5630. SDKShapeTraits bool `type:"structure"`
  5631. }
  5632. // String returns the string representation
  5633. func (s PurchaseReservedNodeOfferingOutput) String() string {
  5634. return awsutil.Prettify(s)
  5635. }
  5636. // GoString returns the string representation
  5637. func (s PurchaseReservedNodeOfferingOutput) GoString() string {
  5638. return s.String()
  5639. }
  5640. type RebootClusterInput struct {
  5641. // The cluster identifier.
  5642. ClusterIdentifier *string `type:"string" required:"true"`
  5643. metadataRebootClusterInput `json:"-" xml:"-"`
  5644. }
  5645. type metadataRebootClusterInput struct {
  5646. SDKShapeTraits bool `type:"structure"`
  5647. }
  5648. // String returns the string representation
  5649. func (s RebootClusterInput) String() string {
  5650. return awsutil.Prettify(s)
  5651. }
  5652. // GoString returns the string representation
  5653. func (s RebootClusterInput) GoString() string {
  5654. return s.String()
  5655. }
  5656. type RebootClusterOutput struct {
  5657. // Describes a cluster.
  5658. Cluster *Cluster `type:"structure"`
  5659. metadataRebootClusterOutput `json:"-" xml:"-"`
  5660. }
  5661. type metadataRebootClusterOutput struct {
  5662. SDKShapeTraits bool `type:"structure"`
  5663. }
  5664. // String returns the string representation
  5665. func (s RebootClusterOutput) String() string {
  5666. return awsutil.Prettify(s)
  5667. }
  5668. // GoString returns the string representation
  5669. func (s RebootClusterOutput) GoString() string {
  5670. return s.String()
  5671. }
  5672. // Describes a recurring charge.
  5673. type RecurringCharge struct {
  5674. // The amount charged per the period of time specified by the recurring charge
  5675. // frequency.
  5676. RecurringChargeAmount *float64 `type:"double"`
  5677. // The frequency at which the recurring charge amount is applied.
  5678. RecurringChargeFrequency *string `type:"string"`
  5679. metadataRecurringCharge `json:"-" xml:"-"`
  5680. }
  5681. type metadataRecurringCharge struct {
  5682. SDKShapeTraits bool `type:"structure"`
  5683. }
  5684. // String returns the string representation
  5685. func (s RecurringCharge) String() string {
  5686. return awsutil.Prettify(s)
  5687. }
  5688. // GoString returns the string representation
  5689. func (s RecurringCharge) GoString() string {
  5690. return s.String()
  5691. }
  5692. // Describes a reserved node. You can call the DescribeReservedNodeOfferings
  5693. // API to obtain the available reserved node offerings.
  5694. type ReservedNode struct {
  5695. // The currency code for the reserved cluster.
  5696. CurrencyCode *string `type:"string"`
  5697. // The duration of the node reservation in seconds.
  5698. Duration *int64 `type:"integer"`
  5699. // The fixed cost Amazon Redshift charges you for this reserved node.
  5700. FixedPrice *float64 `type:"double"`
  5701. // The number of reserved compute nodes.
  5702. NodeCount *int64 `type:"integer"`
  5703. // The node type of the reserved node.
  5704. NodeType *string `type:"string"`
  5705. // The anticipated utilization of the reserved node, as defined in the reserved
  5706. // node offering.
  5707. OfferingType *string `type:"string"`
  5708. // The recurring charges for the reserved node.
  5709. RecurringCharges []*RecurringCharge `locationNameList:"RecurringCharge" type:"list"`
  5710. // The unique identifier for the reservation.
  5711. ReservedNodeId *string `type:"string"`
  5712. // The identifier for the reserved node offering.
  5713. ReservedNodeOfferingId *string `type:"string"`
  5714. // The time the reservation started. You purchase a reserved node offering for
  5715. // a duration. This is the start time of that duration.
  5716. StartTime *time.Time `type:"timestamp" timestampFormat:"iso8601"`
  5717. // The state of the reserved compute node.
  5718. //
  5719. // Possible Values:
  5720. //
  5721. // pending-payment-This reserved node has recently been purchased, and the
  5722. // sale has been approved, but payment has not yet been confirmed. active-This
  5723. // reserved node is owned by the caller and is available for use. payment-failed-Payment
  5724. // failed for the purchase attempt.
  5725. State *string `type:"string"`
  5726. // The hourly rate Amazon Redshift charges you for this reserved node.
  5727. UsagePrice *float64 `type:"double"`
  5728. metadataReservedNode `json:"-" xml:"-"`
  5729. }
  5730. type metadataReservedNode struct {
  5731. SDKShapeTraits bool `type:"structure"`
  5732. }
  5733. // String returns the string representation
  5734. func (s ReservedNode) String() string {
  5735. return awsutil.Prettify(s)
  5736. }
  5737. // GoString returns the string representation
  5738. func (s ReservedNode) GoString() string {
  5739. return s.String()
  5740. }
  5741. // Describes a reserved node offering.
  5742. type ReservedNodeOffering struct {
  5743. // The currency code for the compute nodes offering.
  5744. CurrencyCode *string `type:"string"`
  5745. // The duration, in seconds, for which the offering will reserve the node.
  5746. Duration *int64 `type:"integer"`
  5747. // The upfront fixed charge you will pay to purchase the specific reserved node
  5748. // offering.
  5749. FixedPrice *float64 `type:"double"`
  5750. // The node type offered by the reserved node offering.
  5751. NodeType *string `type:"string"`
  5752. // The anticipated utilization of the reserved node, as defined in the reserved
  5753. // node offering.
  5754. OfferingType *string `type:"string"`
  5755. // The charge to your account regardless of whether you are creating any clusters
  5756. // using the node offering. Recurring charges are only in effect for heavy-utilization
  5757. // reserved nodes.
  5758. RecurringCharges []*RecurringCharge `locationNameList:"RecurringCharge" type:"list"`
  5759. // The offering identifier.
  5760. ReservedNodeOfferingId *string `type:"string"`
  5761. // The rate you are charged for each hour the cluster that is using the offering
  5762. // is running.
  5763. UsagePrice *float64 `type:"double"`
  5764. metadataReservedNodeOffering `json:"-" xml:"-"`
  5765. }
  5766. type metadataReservedNodeOffering struct {
  5767. SDKShapeTraits bool `type:"structure"`
  5768. }
  5769. // String returns the string representation
  5770. func (s ReservedNodeOffering) String() string {
  5771. return awsutil.Prettify(s)
  5772. }
  5773. // GoString returns the string representation
  5774. func (s ReservedNodeOffering) GoString() string {
  5775. return s.String()
  5776. }
  5777. type ResetClusterParameterGroupInput struct {
  5778. // The name of the cluster parameter group to be reset.
  5779. ParameterGroupName *string `type:"string" required:"true"`
  5780. // An array of names of parameters to be reset. If ResetAllParameters option
  5781. // is not used, then at least one parameter name must be supplied.
  5782. //
  5783. // Constraints: A maximum of 20 parameters can be reset in a single request.
  5784. Parameters []*Parameter `locationNameList:"Parameter" type:"list"`
  5785. // If true, all parameters in the specified parameter group will be reset to
  5786. // their default values.
  5787. //
  5788. // Default: true
  5789. ResetAllParameters *bool `type:"boolean"`
  5790. metadataResetClusterParameterGroupInput `json:"-" xml:"-"`
  5791. }
  5792. type metadataResetClusterParameterGroupInput struct {
  5793. SDKShapeTraits bool `type:"structure"`
  5794. }
  5795. // String returns the string representation
  5796. func (s ResetClusterParameterGroupInput) String() string {
  5797. return awsutil.Prettify(s)
  5798. }
  5799. // GoString returns the string representation
  5800. func (s ResetClusterParameterGroupInput) GoString() string {
  5801. return s.String()
  5802. }
  5803. type RestoreFromClusterSnapshotInput struct {
  5804. // If true, major version upgrades can be applied during the maintenance window
  5805. // to the Amazon Redshift engine that is running on the cluster.
  5806. //
  5807. // Default: true
  5808. AllowVersionUpgrade *bool `type:"boolean"`
  5809. // The number of days that automated snapshots are retained. If the value is
  5810. // 0, automated snapshots are disabled. Even if automated snapshots are disabled,
  5811. // you can still create manual snapshots when you want with CreateClusterSnapshot.
  5812. //
  5813. // Default: The value selected for the cluster from which the snapshot was
  5814. // taken.
  5815. //
  5816. // Constraints: Must be a value from 0 to 35.
  5817. AutomatedSnapshotRetentionPeriod *int64 `type:"integer"`
  5818. // The Amazon EC2 Availability Zone in which to restore the cluster.
  5819. //
  5820. // Default: A random, system-chosen Availability Zone.
  5821. //
  5822. // Example: us-east-1a
  5823. AvailabilityZone *string `type:"string"`
  5824. // The identifier of the cluster that will be created from restoring the snapshot.
  5825. //
  5826. // Constraints:
  5827. //
  5828. // Must contain from 1 to 63 alphanumeric characters or hyphens. Alphabetic
  5829. // characters must be lowercase. First character must be a letter. Cannot end
  5830. // with a hyphen or contain two consecutive hyphens. Must be unique for all
  5831. // clusters within an AWS account.
  5832. ClusterIdentifier *string `type:"string" required:"true"`
  5833. // The name of the parameter group to be associated with this cluster.
  5834. //
  5835. // Default: The default Amazon Redshift cluster parameter group. For information
  5836. // about the default parameter group, go to Working with Amazon Redshift Parameter
  5837. // Groups (http://docs.aws.amazon.com/redshift/latest/mgmt/working-with-parameter-groups.html).
  5838. //
  5839. // Constraints:
  5840. //
  5841. // Must be 1 to 255 alphanumeric characters or hyphens. First character must
  5842. // be a letter. Cannot end with a hyphen or contain two consecutive hyphens.
  5843. ClusterParameterGroupName *string `type:"string"`
  5844. // A list of security groups to be associated with this cluster.
  5845. //
  5846. // Default: The default cluster security group for Amazon Redshift.
  5847. //
  5848. // Cluster security groups only apply to clusters outside of VPCs.
  5849. ClusterSecurityGroups []*string `locationNameList:"ClusterSecurityGroupName" type:"list"`
  5850. // The name of the subnet group where you want to cluster restored.
  5851. //
  5852. // A snapshot of cluster in VPC can be restored only in VPC. Therefore, you
  5853. // must provide subnet group name where you want the cluster restored.
  5854. ClusterSubnetGroupName *string `type:"string"`
  5855. // The elastic IP (EIP) address for the cluster.
  5856. ElasticIp *string `type:"string"`
  5857. // Specifies the name of the HSM client certificate the Amazon Redshift cluster
  5858. // uses to retrieve the data encryption keys stored in an HSM.
  5859. HsmClientCertificateIdentifier *string `type:"string"`
  5860. // Specifies the name of the HSM configuration that contains the information
  5861. // the Amazon Redshift cluster can use to retrieve and store keys in an HSM.
  5862. HsmConfigurationIdentifier *string `type:"string"`
  5863. // The AWS Key Management Service (KMS) key ID of the encryption key that you
  5864. // want to use to encrypt data in the cluster that you restore from a shared
  5865. // snapshot.
  5866. KmsKeyId *string `type:"string"`
  5867. // The node type that the restored cluster will be provisioned with.
  5868. //
  5869. // Default: The node type of the cluster from which the snapshot was taken.
  5870. // You can modify this if you are using any DS node type. In that case, you
  5871. // can choose to restore into another DS node type of the same size. For example,
  5872. // you can restore ds1.8xlarge into ds2.8xlarge, or ds2.xlarge into ds1.xlarge.
  5873. // If you have a DC instance type, you must restore into that same instance
  5874. // type and size. In other words, you can only restore a dc1.large instance
  5875. // type into another dc1.large instance type. For more information about node
  5876. // types, see About Clusters and Nodes (http://docs.aws.amazon.com/redshift/latest/mgmt/working-with-clusters.html#rs-about-clusters-and-nodes)
  5877. // in the Amazon Redshift Cluster Management Guide
  5878. NodeType *string `type:"string"`
  5879. // The AWS customer account used to create or copy the snapshot. Required if
  5880. // you are restoring a snapshot you do not own, optional if you own the snapshot.
  5881. OwnerAccount *string `type:"string"`
  5882. // The port number on which the cluster accepts connections.
  5883. //
  5884. // Default: The same port as the original cluster.
  5885. //
  5886. // Constraints: Must be between 1115 and 65535.
  5887. Port *int64 `type:"integer"`
  5888. // The weekly time range (in UTC) during which automated cluster maintenance
  5889. // can occur.
  5890. //
  5891. // Format: ddd:hh24:mi-ddd:hh24:mi
  5892. //
  5893. // Default: The value selected for the cluster from which the snapshot was
  5894. // taken. For more information about the time blocks for each region, see Maintenance
  5895. // Windows (http://docs.aws.amazon.com/redshift/latest/mgmt/working-with-clusters.html#rs-maintenance-windows)
  5896. // in Amazon Redshift Cluster Management Guide.
  5897. //
  5898. // Valid Days: Mon | Tue | Wed | Thu | Fri | Sat | Sun
  5899. //
  5900. // Constraints: Minimum 30-minute window.
  5901. PreferredMaintenanceWindow *string `type:"string"`
  5902. // If true, the cluster can be accessed from a public network.
  5903. PubliclyAccessible *bool `type:"boolean"`
  5904. // The name of the cluster the source snapshot was created from. This parameter
  5905. // is required if your IAM user has a policy containing a snapshot resource
  5906. // element that specifies anything other than * for the cluster name.
  5907. SnapshotClusterIdentifier *string `type:"string"`
  5908. // The name of the snapshot from which to create the new cluster. This parameter
  5909. // isn't case sensitive.
  5910. //
  5911. // Example: my-snapshot-id
  5912. SnapshotIdentifier *string `type:"string" required:"true"`
  5913. // A list of Virtual Private Cloud (VPC) security groups to be associated with
  5914. // the cluster.
  5915. //
  5916. // Default: The default VPC security group is associated with the cluster.
  5917. //
  5918. // VPC security groups only apply to clusters in VPCs.
  5919. VpcSecurityGroupIds []*string `locationNameList:"VpcSecurityGroupId" type:"list"`
  5920. metadataRestoreFromClusterSnapshotInput `json:"-" xml:"-"`
  5921. }
  5922. type metadataRestoreFromClusterSnapshotInput struct {
  5923. SDKShapeTraits bool `type:"structure"`
  5924. }
  5925. // String returns the string representation
  5926. func (s RestoreFromClusterSnapshotInput) String() string {
  5927. return awsutil.Prettify(s)
  5928. }
  5929. // GoString returns the string representation
  5930. func (s RestoreFromClusterSnapshotInput) GoString() string {
  5931. return s.String()
  5932. }
  5933. type RestoreFromClusterSnapshotOutput struct {
  5934. // Describes a cluster.
  5935. Cluster *Cluster `type:"structure"`
  5936. metadataRestoreFromClusterSnapshotOutput `json:"-" xml:"-"`
  5937. }
  5938. type metadataRestoreFromClusterSnapshotOutput struct {
  5939. SDKShapeTraits bool `type:"structure"`
  5940. }
  5941. // String returns the string representation
  5942. func (s RestoreFromClusterSnapshotOutput) String() string {
  5943. return awsutil.Prettify(s)
  5944. }
  5945. // GoString returns the string representation
  5946. func (s RestoreFromClusterSnapshotOutput) GoString() string {
  5947. return s.String()
  5948. }
  5949. // Describes the status of a cluster restore action. Returns null if the cluster
  5950. // was not created by restoring a snapshot.
  5951. type RestoreStatus struct {
  5952. // The number of megabytes per second being transferred from the backup storage.
  5953. // Returns the average rate for a completed backup.
  5954. CurrentRestoreRateInMegaBytesPerSecond *float64 `type:"double"`
  5955. // The amount of time an in-progress restore has been running, or the amount
  5956. // of time it took a completed restore to finish.
  5957. ElapsedTimeInSeconds *int64 `type:"long"`
  5958. // The estimate of the time remaining before the restore will complete. Returns
  5959. // 0 for a completed restore.
  5960. EstimatedTimeToCompletionInSeconds *int64 `type:"long"`
  5961. // The number of megabytes that have been transferred from snapshot storage.
  5962. ProgressInMegaBytes *int64 `type:"long"`
  5963. // The size of the set of snapshot data used to restore the cluster.
  5964. SnapshotSizeInMegaBytes *int64 `type:"long"`
  5965. // The status of the restore action. Returns starting, restoring, completed,
  5966. // or failed.
  5967. Status *string `type:"string"`
  5968. metadataRestoreStatus `json:"-" xml:"-"`
  5969. }
  5970. type metadataRestoreStatus struct {
  5971. SDKShapeTraits bool `type:"structure"`
  5972. }
  5973. // String returns the string representation
  5974. func (s RestoreStatus) String() string {
  5975. return awsutil.Prettify(s)
  5976. }
  5977. // GoString returns the string representation
  5978. func (s RestoreStatus) GoString() string {
  5979. return s.String()
  5980. }
  5981. // ???
  5982. type RevokeClusterSecurityGroupIngressInput struct {
  5983. // The IP range for which to revoke access. This range must be a valid Classless
  5984. // Inter-Domain Routing (CIDR) block of IP addresses. If CIDRIP is specified,
  5985. // EC2SecurityGroupName and EC2SecurityGroupOwnerId cannot be provided.
  5986. CIDRIP *string `type:"string"`
  5987. // The name of the security Group from which to revoke the ingress rule.
  5988. ClusterSecurityGroupName *string `type:"string" required:"true"`
  5989. // The name of the EC2 Security Group whose access is to be revoked. If EC2SecurityGroupName
  5990. // is specified, EC2SecurityGroupOwnerId must also be provided and CIDRIP cannot
  5991. // be provided.
  5992. EC2SecurityGroupName *string `type:"string"`
  5993. // The AWS account number of the owner of the security group specified in the
  5994. // EC2SecurityGroupName parameter. The AWS access key ID is not an acceptable
  5995. // value. If EC2SecurityGroupOwnerId is specified, EC2SecurityGroupName must
  5996. // also be provided. and CIDRIP cannot be provided.
  5997. //
  5998. // Example: 111122223333
  5999. EC2SecurityGroupOwnerId *string `type:"string"`
  6000. metadataRevokeClusterSecurityGroupIngressInput `json:"-" xml:"-"`
  6001. }
  6002. type metadataRevokeClusterSecurityGroupIngressInput struct {
  6003. SDKShapeTraits bool `type:"structure"`
  6004. }
  6005. // String returns the string representation
  6006. func (s RevokeClusterSecurityGroupIngressInput) String() string {
  6007. return awsutil.Prettify(s)
  6008. }
  6009. // GoString returns the string representation
  6010. func (s RevokeClusterSecurityGroupIngressInput) GoString() string {
  6011. return s.String()
  6012. }
  6013. type RevokeClusterSecurityGroupIngressOutput struct {
  6014. // Describes a security group.
  6015. ClusterSecurityGroup *ClusterSecurityGroup `type:"structure"`
  6016. metadataRevokeClusterSecurityGroupIngressOutput `json:"-" xml:"-"`
  6017. }
  6018. type metadataRevokeClusterSecurityGroupIngressOutput struct {
  6019. SDKShapeTraits bool `type:"structure"`
  6020. }
  6021. // String returns the string representation
  6022. func (s RevokeClusterSecurityGroupIngressOutput) String() string {
  6023. return awsutil.Prettify(s)
  6024. }
  6025. // GoString returns the string representation
  6026. func (s RevokeClusterSecurityGroupIngressOutput) GoString() string {
  6027. return s.String()
  6028. }
  6029. type RevokeSnapshotAccessInput struct {
  6030. // The identifier of the AWS customer account that can no longer restore the
  6031. // specified snapshot.
  6032. AccountWithRestoreAccess *string `type:"string" required:"true"`
  6033. // The identifier of the cluster the snapshot was created from. This parameter
  6034. // is required if your IAM user has a policy containing a snapshot resource
  6035. // element that specifies anything other than * for the cluster name.
  6036. SnapshotClusterIdentifier *string `type:"string"`
  6037. // The identifier of the snapshot that the account can no longer access.
  6038. SnapshotIdentifier *string `type:"string" required:"true"`
  6039. metadataRevokeSnapshotAccessInput `json:"-" xml:"-"`
  6040. }
  6041. type metadataRevokeSnapshotAccessInput struct {
  6042. SDKShapeTraits bool `type:"structure"`
  6043. }
  6044. // String returns the string representation
  6045. func (s RevokeSnapshotAccessInput) String() string {
  6046. return awsutil.Prettify(s)
  6047. }
  6048. // GoString returns the string representation
  6049. func (s RevokeSnapshotAccessInput) GoString() string {
  6050. return s.String()
  6051. }
  6052. type RevokeSnapshotAccessOutput struct {
  6053. // Describes a snapshot.
  6054. Snapshot *Snapshot `type:"structure"`
  6055. metadataRevokeSnapshotAccessOutput `json:"-" xml:"-"`
  6056. }
  6057. type metadataRevokeSnapshotAccessOutput struct {
  6058. SDKShapeTraits bool `type:"structure"`
  6059. }
  6060. // String returns the string representation
  6061. func (s RevokeSnapshotAccessOutput) String() string {
  6062. return awsutil.Prettify(s)
  6063. }
  6064. // GoString returns the string representation
  6065. func (s RevokeSnapshotAccessOutput) GoString() string {
  6066. return s.String()
  6067. }
  6068. type RotateEncryptionKeyInput struct {
  6069. // The unique identifier of the cluster that you want to rotate the encryption
  6070. // keys for.
  6071. //
  6072. // Constraints: Must be the name of valid cluster that has encryption enabled.
  6073. ClusterIdentifier *string `type:"string" required:"true"`
  6074. metadataRotateEncryptionKeyInput `json:"-" xml:"-"`
  6075. }
  6076. type metadataRotateEncryptionKeyInput struct {
  6077. SDKShapeTraits bool `type:"structure"`
  6078. }
  6079. // String returns the string representation
  6080. func (s RotateEncryptionKeyInput) String() string {
  6081. return awsutil.Prettify(s)
  6082. }
  6083. // GoString returns the string representation
  6084. func (s RotateEncryptionKeyInput) GoString() string {
  6085. return s.String()
  6086. }
  6087. type RotateEncryptionKeyOutput struct {
  6088. // Describes a cluster.
  6089. Cluster *Cluster `type:"structure"`
  6090. metadataRotateEncryptionKeyOutput `json:"-" xml:"-"`
  6091. }
  6092. type metadataRotateEncryptionKeyOutput struct {
  6093. SDKShapeTraits bool `type:"structure"`
  6094. }
  6095. // String returns the string representation
  6096. func (s RotateEncryptionKeyOutput) String() string {
  6097. return awsutil.Prettify(s)
  6098. }
  6099. // GoString returns the string representation
  6100. func (s RotateEncryptionKeyOutput) GoString() string {
  6101. return s.String()
  6102. }
  6103. // Describes a snapshot.
  6104. type Snapshot struct {
  6105. // A list of the AWS customer accounts authorized to restore the snapshot. Returns
  6106. // null if no accounts are authorized. Visible only to the snapshot owner.
  6107. AccountsWithRestoreAccess []*AccountWithRestoreAccess `locationNameList:"AccountWithRestoreAccess" type:"list"`
  6108. // The size of the incremental backup.
  6109. ActualIncrementalBackupSizeInMegaBytes *float64 `type:"double"`
  6110. // The Availability Zone in which the cluster was created.
  6111. AvailabilityZone *string `type:"string"`
  6112. // The number of megabytes that have been transferred to the snapshot backup.
  6113. BackupProgressInMegaBytes *float64 `type:"double"`
  6114. // The time (UTC) when the cluster was originally created.
  6115. ClusterCreateTime *time.Time `type:"timestamp" timestampFormat:"iso8601"`
  6116. // The identifier of the cluster for which the snapshot was taken.
  6117. ClusterIdentifier *string `type:"string"`
  6118. // The version ID of the Amazon Redshift engine that is running on the cluster.
  6119. ClusterVersion *string `type:"string"`
  6120. // The number of megabytes per second being transferred to the snapshot backup.
  6121. // Returns 0 for a completed backup.
  6122. CurrentBackupRateInMegaBytesPerSecond *float64 `type:"double"`
  6123. // The name of the database that was created when the cluster was created.
  6124. DBName *string `type:"string"`
  6125. // The amount of time an in-progress snapshot backup has been running, or the
  6126. // amount of time it took a completed backup to finish.
  6127. ElapsedTimeInSeconds *int64 `type:"long"`
  6128. // If true, the data in the snapshot is encrypted at rest.
  6129. Encrypted *bool `type:"boolean"`
  6130. // A boolean that indicates whether the snapshot data is encrypted using the
  6131. // HSM keys of the source cluster. true indicates that the data is encrypted
  6132. // using HSM keys.
  6133. EncryptedWithHSM *bool `type:"boolean"`
  6134. // The estimate of the time remaining before the snapshot backup will complete.
  6135. // Returns 0 for a completed backup.
  6136. EstimatedSecondsToCompletion *int64 `type:"long"`
  6137. // The AWS Key Management Service (KMS) key ID of the encryption key that was
  6138. // used to encrypt data in the cluster from which the snapshot was taken.
  6139. KmsKeyId *string `type:"string"`
  6140. // The master user name for the cluster.
  6141. MasterUsername *string `type:"string"`
  6142. // The node type of the nodes in the cluster.
  6143. NodeType *string `type:"string"`
  6144. // The number of nodes in the cluster.
  6145. NumberOfNodes *int64 `type:"integer"`
  6146. // For manual snapshots, the AWS customer account used to create or copy the
  6147. // snapshot. For automatic snapshots, the owner of the cluster. The owner can
  6148. // perform all snapshot actions, such as sharing a manual snapshot.
  6149. OwnerAccount *string `type:"string"`
  6150. // The port that the cluster is listening on.
  6151. Port *int64 `type:"integer"`
  6152. // The list of node types that this cluster snapshot is able to restore into.
  6153. RestorableNodeTypes []*string `locationNameList:"NodeType" type:"list"`
  6154. // The time (UTC) when Amazon Redshift began the snapshot. A snapshot contains
  6155. // a copy of the cluster data as of this exact time.
  6156. SnapshotCreateTime *time.Time `type:"timestamp" timestampFormat:"iso8601"`
  6157. // The snapshot identifier that is provided in the request.
  6158. SnapshotIdentifier *string `type:"string"`
  6159. // The snapshot type. Snapshots created using CreateClusterSnapshot and CopyClusterSnapshot
  6160. // will be of type "manual".
  6161. SnapshotType *string `type:"string"`
  6162. // The source region from which the snapshot was copied.
  6163. SourceRegion *string `type:"string"`
  6164. // The snapshot status. The value of the status depends on the API operation
  6165. // used. CreateClusterSnapshot and CopyClusterSnapshot returns status as "creating".
  6166. // DescribeClusterSnapshots returns status as "creating", "available", "final
  6167. // snapshot", or "failed". DeleteClusterSnapshot returns status as "deleted".
  6168. Status *string `type:"string"`
  6169. // The list of tags for the cluster snapshot.
  6170. Tags []*Tag `locationNameList:"Tag" type:"list"`
  6171. // The size of the complete set of backup data that would be used to restore
  6172. // the cluster.
  6173. TotalBackupSizeInMegaBytes *float64 `type:"double"`
  6174. // The VPC identifier of the cluster if the snapshot is from a cluster in a
  6175. // VPC. Otherwise, this field is not in the output.
  6176. VpcId *string `type:"string"`
  6177. metadataSnapshot `json:"-" xml:"-"`
  6178. }
  6179. type metadataSnapshot struct {
  6180. SDKShapeTraits bool `type:"structure"`
  6181. }
  6182. // String returns the string representation
  6183. func (s Snapshot) String() string {
  6184. return awsutil.Prettify(s)
  6185. }
  6186. // GoString returns the string representation
  6187. func (s Snapshot) GoString() string {
  6188. return s.String()
  6189. }
  6190. // The snapshot copy grant that grants Amazon Redshift permission to encrypt
  6191. // copied snapshots with the specified customer master key (CMK) from AWS KMS
  6192. // in the destination region.
  6193. //
  6194. // For more information about managing snapshot copy grants, go to Amazon
  6195. // Redshift Database Encryption (http://docs.aws.amazon.com/redshift/latest/mgmt/working-with-db-encryption.html)
  6196. // in the Amazon Redshift Cluster Management Guide.
  6197. type SnapshotCopyGrant struct {
  6198. // The unique identifier of the customer master key (CMK) in AWS KMS to which
  6199. // Amazon Redshift is granted permission.
  6200. KmsKeyId *string `type:"string"`
  6201. // The name of the snapshot copy grant.
  6202. SnapshotCopyGrantName *string `type:"string"`
  6203. // A list of tag instances.
  6204. Tags []*Tag `locationNameList:"Tag" type:"list"`
  6205. metadataSnapshotCopyGrant `json:"-" xml:"-"`
  6206. }
  6207. type metadataSnapshotCopyGrant struct {
  6208. SDKShapeTraits bool `type:"structure"`
  6209. }
  6210. // String returns the string representation
  6211. func (s SnapshotCopyGrant) String() string {
  6212. return awsutil.Prettify(s)
  6213. }
  6214. // GoString returns the string representation
  6215. func (s SnapshotCopyGrant) GoString() string {
  6216. return s.String()
  6217. }
  6218. // Describes a subnet.
  6219. type Subnet struct {
  6220. // Describes an availability zone.
  6221. SubnetAvailabilityZone *AvailabilityZone `type:"structure"`
  6222. // The identifier of the subnet.
  6223. SubnetIdentifier *string `type:"string"`
  6224. // The status of the subnet.
  6225. SubnetStatus *string `type:"string"`
  6226. metadataSubnet `json:"-" xml:"-"`
  6227. }
  6228. type metadataSubnet struct {
  6229. SDKShapeTraits bool `type:"structure"`
  6230. }
  6231. // String returns the string representation
  6232. func (s Subnet) String() string {
  6233. return awsutil.Prettify(s)
  6234. }
  6235. // GoString returns the string representation
  6236. func (s Subnet) GoString() string {
  6237. return s.String()
  6238. }
  6239. // A tag consisting of a name/value pair for a resource.
  6240. type Tag struct {
  6241. // The key, or name, for the resource tag.
  6242. Key *string `type:"string"`
  6243. // The value for the resource tag.
  6244. Value *string `type:"string"`
  6245. metadataTag `json:"-" xml:"-"`
  6246. }
  6247. type metadataTag struct {
  6248. SDKShapeTraits bool `type:"structure"`
  6249. }
  6250. // String returns the string representation
  6251. func (s Tag) String() string {
  6252. return awsutil.Prettify(s)
  6253. }
  6254. // GoString returns the string representation
  6255. func (s Tag) GoString() string {
  6256. return s.String()
  6257. }
  6258. // A tag and its associated resource.
  6259. type TaggedResource struct {
  6260. // The Amazon Resource Name (ARN) with which the tag is associated. For example,
  6261. // arn:aws:redshift:us-east-1:123456789:cluster:t1.
  6262. ResourceName *string `type:"string"`
  6263. // The type of resource with which the tag is associated. Valid resource types
  6264. // are: Cluster CIDR/IP EC2 security group Snapshot Cluster security group
  6265. // Subnet group HSM connection HSM certificate Parameter group
  6266. //
  6267. // For more information about Amazon Redshift resource types and constructing
  6268. // ARNs, go to Constructing an Amazon Redshift Amazon Resource Name (ARN) (http://docs.aws.amazon.com/redshift/latest/mgmt/constructing-redshift-arn.html)
  6269. // in the Amazon Redshift Cluster Management Guide.
  6270. ResourceType *string `type:"string"`
  6271. // The tag for the resource.
  6272. Tag *Tag `type:"structure"`
  6273. metadataTaggedResource `json:"-" xml:"-"`
  6274. }
  6275. type metadataTaggedResource struct {
  6276. SDKShapeTraits bool `type:"structure"`
  6277. }
  6278. // String returns the string representation
  6279. func (s TaggedResource) String() string {
  6280. return awsutil.Prettify(s)
  6281. }
  6282. // GoString returns the string representation
  6283. func (s TaggedResource) GoString() string {
  6284. return s.String()
  6285. }
  6286. // Describes the members of a VPC security group.
  6287. type VpcSecurityGroupMembership struct {
  6288. Status *string `type:"string"`
  6289. VpcSecurityGroupId *string `type:"string"`
  6290. metadataVpcSecurityGroupMembership `json:"-" xml:"-"`
  6291. }
  6292. type metadataVpcSecurityGroupMembership struct {
  6293. SDKShapeTraits bool `type:"structure"`
  6294. }
  6295. // String returns the string representation
  6296. func (s VpcSecurityGroupMembership) String() string {
  6297. return awsutil.Prettify(s)
  6298. }
  6299. // GoString returns the string representation
  6300. func (s VpcSecurityGroupMembership) GoString() string {
  6301. return s.String()
  6302. }
  6303. const (
  6304. // @enum ParameterApplyType
  6305. ParameterApplyTypeStatic = "static"
  6306. // @enum ParameterApplyType
  6307. ParameterApplyTypeDynamic = "dynamic"
  6308. )
  6309. const (
  6310. // @enum SourceType
  6311. SourceTypeCluster = "cluster"
  6312. // @enum SourceType
  6313. SourceTypeClusterParameterGroup = "cluster-parameter-group"
  6314. // @enum SourceType
  6315. SourceTypeClusterSecurityGroup = "cluster-security-group"
  6316. // @enum SourceType
  6317. SourceTypeClusterSnapshot = "cluster-snapshot"
  6318. )