finspace.d.ts 155 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451
  1. import {Request} from '../lib/request';
  2. import {Response} from '../lib/response';
  3. import {AWSError} from '../lib/error';
  4. import {Service} from '../lib/service';
  5. import {ServiceConfigurationOptions} from '../lib/service';
  6. import {ConfigBase as Config} from '../lib/config-base';
  7. interface Blob {}
  8. declare class Finspace extends Service {
  9. /**
  10. * Constructs a service object. This object has one method for each API operation.
  11. */
  12. constructor(options?: Finspace.Types.ClientConfiguration)
  13. config: Config & Finspace.Types.ClientConfiguration;
  14. /**
  15. * Create a new FinSpace environment.
  16. */
  17. createEnvironment(params: Finspace.Types.CreateEnvironmentRequest, callback?: (err: AWSError, data: Finspace.Types.CreateEnvironmentResponse) => void): Request<Finspace.Types.CreateEnvironmentResponse, AWSError>;
  18. /**
  19. * Create a new FinSpace environment.
  20. */
  21. createEnvironment(callback?: (err: AWSError, data: Finspace.Types.CreateEnvironmentResponse) => void): Request<Finspace.Types.CreateEnvironmentResponse, AWSError>;
  22. /**
  23. * Creates a changeset for a kdb database. A changeset allows you to add and delete existing files by using an ordered list of change requests.
  24. */
  25. createKxChangeset(params: Finspace.Types.CreateKxChangesetRequest, callback?: (err: AWSError, data: Finspace.Types.CreateKxChangesetResponse) => void): Request<Finspace.Types.CreateKxChangesetResponse, AWSError>;
  26. /**
  27. * Creates a changeset for a kdb database. A changeset allows you to add and delete existing files by using an ordered list of change requests.
  28. */
  29. createKxChangeset(callback?: (err: AWSError, data: Finspace.Types.CreateKxChangesetResponse) => void): Request<Finspace.Types.CreateKxChangesetResponse, AWSError>;
  30. /**
  31. * Creates a new kdb cluster.
  32. */
  33. createKxCluster(params: Finspace.Types.CreateKxClusterRequest, callback?: (err: AWSError, data: Finspace.Types.CreateKxClusterResponse) => void): Request<Finspace.Types.CreateKxClusterResponse, AWSError>;
  34. /**
  35. * Creates a new kdb cluster.
  36. */
  37. createKxCluster(callback?: (err: AWSError, data: Finspace.Types.CreateKxClusterResponse) => void): Request<Finspace.Types.CreateKxClusterResponse, AWSError>;
  38. /**
  39. * Creates a new kdb database in the environment.
  40. */
  41. createKxDatabase(params: Finspace.Types.CreateKxDatabaseRequest, callback?: (err: AWSError, data: Finspace.Types.CreateKxDatabaseResponse) => void): Request<Finspace.Types.CreateKxDatabaseResponse, AWSError>;
  42. /**
  43. * Creates a new kdb database in the environment.
  44. */
  45. createKxDatabase(callback?: (err: AWSError, data: Finspace.Types.CreateKxDatabaseResponse) => void): Request<Finspace.Types.CreateKxDatabaseResponse, AWSError>;
  46. /**
  47. * Creates a snapshot of kdb database with tiered storage capabilities and a pre-warmed cache, ready for mounting on kdb clusters. Dataviews are only available for clusters running on a scaling group. They are not supported on dedicated clusters.
  48. */
  49. createKxDataview(params: Finspace.Types.CreateKxDataviewRequest, callback?: (err: AWSError, data: Finspace.Types.CreateKxDataviewResponse) => void): Request<Finspace.Types.CreateKxDataviewResponse, AWSError>;
  50. /**
  51. * Creates a snapshot of kdb database with tiered storage capabilities and a pre-warmed cache, ready for mounting on kdb clusters. Dataviews are only available for clusters running on a scaling group. They are not supported on dedicated clusters.
  52. */
  53. createKxDataview(callback?: (err: AWSError, data: Finspace.Types.CreateKxDataviewResponse) => void): Request<Finspace.Types.CreateKxDataviewResponse, AWSError>;
  54. /**
  55. * Creates a managed kdb environment for the account.
  56. */
  57. createKxEnvironment(params: Finspace.Types.CreateKxEnvironmentRequest, callback?: (err: AWSError, data: Finspace.Types.CreateKxEnvironmentResponse) => void): Request<Finspace.Types.CreateKxEnvironmentResponse, AWSError>;
  58. /**
  59. * Creates a managed kdb environment for the account.
  60. */
  61. createKxEnvironment(callback?: (err: AWSError, data: Finspace.Types.CreateKxEnvironmentResponse) => void): Request<Finspace.Types.CreateKxEnvironmentResponse, AWSError>;
  62. /**
  63. * Creates a new scaling group.
  64. */
  65. createKxScalingGroup(params: Finspace.Types.CreateKxScalingGroupRequest, callback?: (err: AWSError, data: Finspace.Types.CreateKxScalingGroupResponse) => void): Request<Finspace.Types.CreateKxScalingGroupResponse, AWSError>;
  66. /**
  67. * Creates a new scaling group.
  68. */
  69. createKxScalingGroup(callback?: (err: AWSError, data: Finspace.Types.CreateKxScalingGroupResponse) => void): Request<Finspace.Types.CreateKxScalingGroupResponse, AWSError>;
  70. /**
  71. * Creates a user in FinSpace kdb environment with an associated IAM role.
  72. */
  73. createKxUser(params: Finspace.Types.CreateKxUserRequest, callback?: (err: AWSError, data: Finspace.Types.CreateKxUserResponse) => void): Request<Finspace.Types.CreateKxUserResponse, AWSError>;
  74. /**
  75. * Creates a user in FinSpace kdb environment with an associated IAM role.
  76. */
  77. createKxUser(callback?: (err: AWSError, data: Finspace.Types.CreateKxUserResponse) => void): Request<Finspace.Types.CreateKxUserResponse, AWSError>;
  78. /**
  79. * Creates a new volume with a specific amount of throughput and storage capacity.
  80. */
  81. createKxVolume(params: Finspace.Types.CreateKxVolumeRequest, callback?: (err: AWSError, data: Finspace.Types.CreateKxVolumeResponse) => void): Request<Finspace.Types.CreateKxVolumeResponse, AWSError>;
  82. /**
  83. * Creates a new volume with a specific amount of throughput and storage capacity.
  84. */
  85. createKxVolume(callback?: (err: AWSError, data: Finspace.Types.CreateKxVolumeResponse) => void): Request<Finspace.Types.CreateKxVolumeResponse, AWSError>;
  86. /**
  87. * Delete an FinSpace environment.
  88. */
  89. deleteEnvironment(params: Finspace.Types.DeleteEnvironmentRequest, callback?: (err: AWSError, data: Finspace.Types.DeleteEnvironmentResponse) => void): Request<Finspace.Types.DeleteEnvironmentResponse, AWSError>;
  90. /**
  91. * Delete an FinSpace environment.
  92. */
  93. deleteEnvironment(callback?: (err: AWSError, data: Finspace.Types.DeleteEnvironmentResponse) => void): Request<Finspace.Types.DeleteEnvironmentResponse, AWSError>;
  94. /**
  95. * Deletes a kdb cluster.
  96. */
  97. deleteKxCluster(params: Finspace.Types.DeleteKxClusterRequest, callback?: (err: AWSError, data: Finspace.Types.DeleteKxClusterResponse) => void): Request<Finspace.Types.DeleteKxClusterResponse, AWSError>;
  98. /**
  99. * Deletes a kdb cluster.
  100. */
  101. deleteKxCluster(callback?: (err: AWSError, data: Finspace.Types.DeleteKxClusterResponse) => void): Request<Finspace.Types.DeleteKxClusterResponse, AWSError>;
  102. /**
  103. * Deletes the specified nodes from a cluster.
  104. */
  105. deleteKxClusterNode(params: Finspace.Types.DeleteKxClusterNodeRequest, callback?: (err: AWSError, data: Finspace.Types.DeleteKxClusterNodeResponse) => void): Request<Finspace.Types.DeleteKxClusterNodeResponse, AWSError>;
  106. /**
  107. * Deletes the specified nodes from a cluster.
  108. */
  109. deleteKxClusterNode(callback?: (err: AWSError, data: Finspace.Types.DeleteKxClusterNodeResponse) => void): Request<Finspace.Types.DeleteKxClusterNodeResponse, AWSError>;
  110. /**
  111. * Deletes the specified database and all of its associated data. This action is irreversible. You must copy any data out of the database before deleting it if the data is to be retained.
  112. */
  113. deleteKxDatabase(params: Finspace.Types.DeleteKxDatabaseRequest, callback?: (err: AWSError, data: Finspace.Types.DeleteKxDatabaseResponse) => void): Request<Finspace.Types.DeleteKxDatabaseResponse, AWSError>;
  114. /**
  115. * Deletes the specified database and all of its associated data. This action is irreversible. You must copy any data out of the database before deleting it if the data is to be retained.
  116. */
  117. deleteKxDatabase(callback?: (err: AWSError, data: Finspace.Types.DeleteKxDatabaseResponse) => void): Request<Finspace.Types.DeleteKxDatabaseResponse, AWSError>;
  118. /**
  119. * Deletes the specified dataview. Before deleting a dataview, make sure that it is not in use by any cluster.
  120. */
  121. deleteKxDataview(params: Finspace.Types.DeleteKxDataviewRequest, callback?: (err: AWSError, data: Finspace.Types.DeleteKxDataviewResponse) => void): Request<Finspace.Types.DeleteKxDataviewResponse, AWSError>;
  122. /**
  123. * Deletes the specified dataview. Before deleting a dataview, make sure that it is not in use by any cluster.
  124. */
  125. deleteKxDataview(callback?: (err: AWSError, data: Finspace.Types.DeleteKxDataviewResponse) => void): Request<Finspace.Types.DeleteKxDataviewResponse, AWSError>;
  126. /**
  127. * Deletes the kdb environment. This action is irreversible. Deleting a kdb environment will remove all the associated data and any services running in it.
  128. */
  129. deleteKxEnvironment(params: Finspace.Types.DeleteKxEnvironmentRequest, callback?: (err: AWSError, data: Finspace.Types.DeleteKxEnvironmentResponse) => void): Request<Finspace.Types.DeleteKxEnvironmentResponse, AWSError>;
  130. /**
  131. * Deletes the kdb environment. This action is irreversible. Deleting a kdb environment will remove all the associated data and any services running in it.
  132. */
  133. deleteKxEnvironment(callback?: (err: AWSError, data: Finspace.Types.DeleteKxEnvironmentResponse) => void): Request<Finspace.Types.DeleteKxEnvironmentResponse, AWSError>;
  134. /**
  135. * Deletes the specified scaling group. This action is irreversible. You cannot delete a scaling group until all the clusters running on it have been deleted.
  136. */
  137. deleteKxScalingGroup(params: Finspace.Types.DeleteKxScalingGroupRequest, callback?: (err: AWSError, data: Finspace.Types.DeleteKxScalingGroupResponse) => void): Request<Finspace.Types.DeleteKxScalingGroupResponse, AWSError>;
  138. /**
  139. * Deletes the specified scaling group. This action is irreversible. You cannot delete a scaling group until all the clusters running on it have been deleted.
  140. */
  141. deleteKxScalingGroup(callback?: (err: AWSError, data: Finspace.Types.DeleteKxScalingGroupResponse) => void): Request<Finspace.Types.DeleteKxScalingGroupResponse, AWSError>;
  142. /**
  143. * Deletes a user in the specified kdb environment.
  144. */
  145. deleteKxUser(params: Finspace.Types.DeleteKxUserRequest, callback?: (err: AWSError, data: Finspace.Types.DeleteKxUserResponse) => void): Request<Finspace.Types.DeleteKxUserResponse, AWSError>;
  146. /**
  147. * Deletes a user in the specified kdb environment.
  148. */
  149. deleteKxUser(callback?: (err: AWSError, data: Finspace.Types.DeleteKxUserResponse) => void): Request<Finspace.Types.DeleteKxUserResponse, AWSError>;
  150. /**
  151. * Deletes a volume. You can only delete a volume if it's not attached to a cluster or a dataview. When a volume is deleted, any data on the volume is lost. This action is irreversible.
  152. */
  153. deleteKxVolume(params: Finspace.Types.DeleteKxVolumeRequest, callback?: (err: AWSError, data: Finspace.Types.DeleteKxVolumeResponse) => void): Request<Finspace.Types.DeleteKxVolumeResponse, AWSError>;
  154. /**
  155. * Deletes a volume. You can only delete a volume if it's not attached to a cluster or a dataview. When a volume is deleted, any data on the volume is lost. This action is irreversible.
  156. */
  157. deleteKxVolume(callback?: (err: AWSError, data: Finspace.Types.DeleteKxVolumeResponse) => void): Request<Finspace.Types.DeleteKxVolumeResponse, AWSError>;
  158. /**
  159. * Returns the FinSpace environment object.
  160. */
  161. getEnvironment(params: Finspace.Types.GetEnvironmentRequest, callback?: (err: AWSError, data: Finspace.Types.GetEnvironmentResponse) => void): Request<Finspace.Types.GetEnvironmentResponse, AWSError>;
  162. /**
  163. * Returns the FinSpace environment object.
  164. */
  165. getEnvironment(callback?: (err: AWSError, data: Finspace.Types.GetEnvironmentResponse) => void): Request<Finspace.Types.GetEnvironmentResponse, AWSError>;
  166. /**
  167. * Returns information about a kdb changeset.
  168. */
  169. getKxChangeset(params: Finspace.Types.GetKxChangesetRequest, callback?: (err: AWSError, data: Finspace.Types.GetKxChangesetResponse) => void): Request<Finspace.Types.GetKxChangesetResponse, AWSError>;
  170. /**
  171. * Returns information about a kdb changeset.
  172. */
  173. getKxChangeset(callback?: (err: AWSError, data: Finspace.Types.GetKxChangesetResponse) => void): Request<Finspace.Types.GetKxChangesetResponse, AWSError>;
  174. /**
  175. * Retrieves information about a kdb cluster.
  176. */
  177. getKxCluster(params: Finspace.Types.GetKxClusterRequest, callback?: (err: AWSError, data: Finspace.Types.GetKxClusterResponse) => void): Request<Finspace.Types.GetKxClusterResponse, AWSError>;
  178. /**
  179. * Retrieves information about a kdb cluster.
  180. */
  181. getKxCluster(callback?: (err: AWSError, data: Finspace.Types.GetKxClusterResponse) => void): Request<Finspace.Types.GetKxClusterResponse, AWSError>;
  182. /**
  183. * Retrieves a connection string for a user to connect to a kdb cluster. You must call this API using the same role that you have defined while creating a user.
  184. */
  185. getKxConnectionString(params: Finspace.Types.GetKxConnectionStringRequest, callback?: (err: AWSError, data: Finspace.Types.GetKxConnectionStringResponse) => void): Request<Finspace.Types.GetKxConnectionStringResponse, AWSError>;
  186. /**
  187. * Retrieves a connection string for a user to connect to a kdb cluster. You must call this API using the same role that you have defined while creating a user.
  188. */
  189. getKxConnectionString(callback?: (err: AWSError, data: Finspace.Types.GetKxConnectionStringResponse) => void): Request<Finspace.Types.GetKxConnectionStringResponse, AWSError>;
  190. /**
  191. * Returns database information for the specified environment ID.
  192. */
  193. getKxDatabase(params: Finspace.Types.GetKxDatabaseRequest, callback?: (err: AWSError, data: Finspace.Types.GetKxDatabaseResponse) => void): Request<Finspace.Types.GetKxDatabaseResponse, AWSError>;
  194. /**
  195. * Returns database information for the specified environment ID.
  196. */
  197. getKxDatabase(callback?: (err: AWSError, data: Finspace.Types.GetKxDatabaseResponse) => void): Request<Finspace.Types.GetKxDatabaseResponse, AWSError>;
  198. /**
  199. * Retrieves details of the dataview.
  200. */
  201. getKxDataview(params: Finspace.Types.GetKxDataviewRequest, callback?: (err: AWSError, data: Finspace.Types.GetKxDataviewResponse) => void): Request<Finspace.Types.GetKxDataviewResponse, AWSError>;
  202. /**
  203. * Retrieves details of the dataview.
  204. */
  205. getKxDataview(callback?: (err: AWSError, data: Finspace.Types.GetKxDataviewResponse) => void): Request<Finspace.Types.GetKxDataviewResponse, AWSError>;
  206. /**
  207. * Retrieves all the information for the specified kdb environment.
  208. */
  209. getKxEnvironment(params: Finspace.Types.GetKxEnvironmentRequest, callback?: (err: AWSError, data: Finspace.Types.GetKxEnvironmentResponse) => void): Request<Finspace.Types.GetKxEnvironmentResponse, AWSError>;
  210. /**
  211. * Retrieves all the information for the specified kdb environment.
  212. */
  213. getKxEnvironment(callback?: (err: AWSError, data: Finspace.Types.GetKxEnvironmentResponse) => void): Request<Finspace.Types.GetKxEnvironmentResponse, AWSError>;
  214. /**
  215. * Retrieves details of a scaling group.
  216. */
  217. getKxScalingGroup(params: Finspace.Types.GetKxScalingGroupRequest, callback?: (err: AWSError, data: Finspace.Types.GetKxScalingGroupResponse) => void): Request<Finspace.Types.GetKxScalingGroupResponse, AWSError>;
  218. /**
  219. * Retrieves details of a scaling group.
  220. */
  221. getKxScalingGroup(callback?: (err: AWSError, data: Finspace.Types.GetKxScalingGroupResponse) => void): Request<Finspace.Types.GetKxScalingGroupResponse, AWSError>;
  222. /**
  223. * Retrieves information about the specified kdb user.
  224. */
  225. getKxUser(params: Finspace.Types.GetKxUserRequest, callback?: (err: AWSError, data: Finspace.Types.GetKxUserResponse) => void): Request<Finspace.Types.GetKxUserResponse, AWSError>;
  226. /**
  227. * Retrieves information about the specified kdb user.
  228. */
  229. getKxUser(callback?: (err: AWSError, data: Finspace.Types.GetKxUserResponse) => void): Request<Finspace.Types.GetKxUserResponse, AWSError>;
  230. /**
  231. * Retrieves the information about the volume.
  232. */
  233. getKxVolume(params: Finspace.Types.GetKxVolumeRequest, callback?: (err: AWSError, data: Finspace.Types.GetKxVolumeResponse) => void): Request<Finspace.Types.GetKxVolumeResponse, AWSError>;
  234. /**
  235. * Retrieves the information about the volume.
  236. */
  237. getKxVolume(callback?: (err: AWSError, data: Finspace.Types.GetKxVolumeResponse) => void): Request<Finspace.Types.GetKxVolumeResponse, AWSError>;
  238. /**
  239. * A list of all of your FinSpace environments.
  240. */
  241. listEnvironments(params: Finspace.Types.ListEnvironmentsRequest, callback?: (err: AWSError, data: Finspace.Types.ListEnvironmentsResponse) => void): Request<Finspace.Types.ListEnvironmentsResponse, AWSError>;
  242. /**
  243. * A list of all of your FinSpace environments.
  244. */
  245. listEnvironments(callback?: (err: AWSError, data: Finspace.Types.ListEnvironmentsResponse) => void): Request<Finspace.Types.ListEnvironmentsResponse, AWSError>;
  246. /**
  247. * Returns a list of all the changesets for a database.
  248. */
  249. listKxChangesets(params: Finspace.Types.ListKxChangesetsRequest, callback?: (err: AWSError, data: Finspace.Types.ListKxChangesetsResponse) => void): Request<Finspace.Types.ListKxChangesetsResponse, AWSError>;
  250. /**
  251. * Returns a list of all the changesets for a database.
  252. */
  253. listKxChangesets(callback?: (err: AWSError, data: Finspace.Types.ListKxChangesetsResponse) => void): Request<Finspace.Types.ListKxChangesetsResponse, AWSError>;
  254. /**
  255. * Lists all the nodes in a kdb cluster.
  256. */
  257. listKxClusterNodes(params: Finspace.Types.ListKxClusterNodesRequest, callback?: (err: AWSError, data: Finspace.Types.ListKxClusterNodesResponse) => void): Request<Finspace.Types.ListKxClusterNodesResponse, AWSError>;
  258. /**
  259. * Lists all the nodes in a kdb cluster.
  260. */
  261. listKxClusterNodes(callback?: (err: AWSError, data: Finspace.Types.ListKxClusterNodesResponse) => void): Request<Finspace.Types.ListKxClusterNodesResponse, AWSError>;
  262. /**
  263. * Returns a list of clusters.
  264. */
  265. listKxClusters(params: Finspace.Types.ListKxClustersRequest, callback?: (err: AWSError, data: Finspace.Types.ListKxClustersResponse) => void): Request<Finspace.Types.ListKxClustersResponse, AWSError>;
  266. /**
  267. * Returns a list of clusters.
  268. */
  269. listKxClusters(callback?: (err: AWSError, data: Finspace.Types.ListKxClustersResponse) => void): Request<Finspace.Types.ListKxClustersResponse, AWSError>;
  270. /**
  271. * Returns a list of all the databases in the kdb environment.
  272. */
  273. listKxDatabases(params: Finspace.Types.ListKxDatabasesRequest, callback?: (err: AWSError, data: Finspace.Types.ListKxDatabasesResponse) => void): Request<Finspace.Types.ListKxDatabasesResponse, AWSError>;
  274. /**
  275. * Returns a list of all the databases in the kdb environment.
  276. */
  277. listKxDatabases(callback?: (err: AWSError, data: Finspace.Types.ListKxDatabasesResponse) => void): Request<Finspace.Types.ListKxDatabasesResponse, AWSError>;
  278. /**
  279. * Returns a list of all the dataviews in the database.
  280. */
  281. listKxDataviews(params: Finspace.Types.ListKxDataviewsRequest, callback?: (err: AWSError, data: Finspace.Types.ListKxDataviewsResponse) => void): Request<Finspace.Types.ListKxDataviewsResponse, AWSError>;
  282. /**
  283. * Returns a list of all the dataviews in the database.
  284. */
  285. listKxDataviews(callback?: (err: AWSError, data: Finspace.Types.ListKxDataviewsResponse) => void): Request<Finspace.Types.ListKxDataviewsResponse, AWSError>;
  286. /**
  287. * Returns a list of kdb environments created in an account.
  288. */
  289. listKxEnvironments(params: Finspace.Types.ListKxEnvironmentsRequest, callback?: (err: AWSError, data: Finspace.Types.ListKxEnvironmentsResponse) => void): Request<Finspace.Types.ListKxEnvironmentsResponse, AWSError>;
  290. /**
  291. * Returns a list of kdb environments created in an account.
  292. */
  293. listKxEnvironments(callback?: (err: AWSError, data: Finspace.Types.ListKxEnvironmentsResponse) => void): Request<Finspace.Types.ListKxEnvironmentsResponse, AWSError>;
  294. /**
  295. * Returns a list of scaling groups in a kdb environment.
  296. */
  297. listKxScalingGroups(params: Finspace.Types.ListKxScalingGroupsRequest, callback?: (err: AWSError, data: Finspace.Types.ListKxScalingGroupsResponse) => void): Request<Finspace.Types.ListKxScalingGroupsResponse, AWSError>;
  298. /**
  299. * Returns a list of scaling groups in a kdb environment.
  300. */
  301. listKxScalingGroups(callback?: (err: AWSError, data: Finspace.Types.ListKxScalingGroupsResponse) => void): Request<Finspace.Types.ListKxScalingGroupsResponse, AWSError>;
  302. /**
  303. * Lists all the users in a kdb environment.
  304. */
  305. listKxUsers(params: Finspace.Types.ListKxUsersRequest, callback?: (err: AWSError, data: Finspace.Types.ListKxUsersResponse) => void): Request<Finspace.Types.ListKxUsersResponse, AWSError>;
  306. /**
  307. * Lists all the users in a kdb environment.
  308. */
  309. listKxUsers(callback?: (err: AWSError, data: Finspace.Types.ListKxUsersResponse) => void): Request<Finspace.Types.ListKxUsersResponse, AWSError>;
  310. /**
  311. * Lists all the volumes in a kdb environment.
  312. */
  313. listKxVolumes(params: Finspace.Types.ListKxVolumesRequest, callback?: (err: AWSError, data: Finspace.Types.ListKxVolumesResponse) => void): Request<Finspace.Types.ListKxVolumesResponse, AWSError>;
  314. /**
  315. * Lists all the volumes in a kdb environment.
  316. */
  317. listKxVolumes(callback?: (err: AWSError, data: Finspace.Types.ListKxVolumesResponse) => void): Request<Finspace.Types.ListKxVolumesResponse, AWSError>;
  318. /**
  319. * A list of all tags for a resource.
  320. */
  321. listTagsForResource(params: Finspace.Types.ListTagsForResourceRequest, callback?: (err: AWSError, data: Finspace.Types.ListTagsForResourceResponse) => void): Request<Finspace.Types.ListTagsForResourceResponse, AWSError>;
  322. /**
  323. * A list of all tags for a resource.
  324. */
  325. listTagsForResource(callback?: (err: AWSError, data: Finspace.Types.ListTagsForResourceResponse) => void): Request<Finspace.Types.ListTagsForResourceResponse, AWSError>;
  326. /**
  327. * Adds metadata tags to a FinSpace resource.
  328. */
  329. tagResource(params: Finspace.Types.TagResourceRequest, callback?: (err: AWSError, data: Finspace.Types.TagResourceResponse) => void): Request<Finspace.Types.TagResourceResponse, AWSError>;
  330. /**
  331. * Adds metadata tags to a FinSpace resource.
  332. */
  333. tagResource(callback?: (err: AWSError, data: Finspace.Types.TagResourceResponse) => void): Request<Finspace.Types.TagResourceResponse, AWSError>;
  334. /**
  335. * Removes metadata tags from a FinSpace resource.
  336. */
  337. untagResource(params: Finspace.Types.UntagResourceRequest, callback?: (err: AWSError, data: Finspace.Types.UntagResourceResponse) => void): Request<Finspace.Types.UntagResourceResponse, AWSError>;
  338. /**
  339. * Removes metadata tags from a FinSpace resource.
  340. */
  341. untagResource(callback?: (err: AWSError, data: Finspace.Types.UntagResourceResponse) => void): Request<Finspace.Types.UntagResourceResponse, AWSError>;
  342. /**
  343. * Update your FinSpace environment.
  344. */
  345. updateEnvironment(params: Finspace.Types.UpdateEnvironmentRequest, callback?: (err: AWSError, data: Finspace.Types.UpdateEnvironmentResponse) => void): Request<Finspace.Types.UpdateEnvironmentResponse, AWSError>;
  346. /**
  347. * Update your FinSpace environment.
  348. */
  349. updateEnvironment(callback?: (err: AWSError, data: Finspace.Types.UpdateEnvironmentResponse) => void): Request<Finspace.Types.UpdateEnvironmentResponse, AWSError>;
  350. /**
  351. * Allows you to update code configuration on a running cluster. By using this API you can update the code, the initialization script path, and the command line arguments for a specific cluster. The configuration that you want to update will override any existing configurations on the cluster.
  352. */
  353. updateKxClusterCodeConfiguration(params: Finspace.Types.UpdateKxClusterCodeConfigurationRequest, callback?: (err: AWSError, data: Finspace.Types.UpdateKxClusterCodeConfigurationResponse) => void): Request<Finspace.Types.UpdateKxClusterCodeConfigurationResponse, AWSError>;
  354. /**
  355. * Allows you to update code configuration on a running cluster. By using this API you can update the code, the initialization script path, and the command line arguments for a specific cluster. The configuration that you want to update will override any existing configurations on the cluster.
  356. */
  357. updateKxClusterCodeConfiguration(callback?: (err: AWSError, data: Finspace.Types.UpdateKxClusterCodeConfigurationResponse) => void): Request<Finspace.Types.UpdateKxClusterCodeConfigurationResponse, AWSError>;
  358. /**
  359. * Updates the databases mounted on a kdb cluster, which includes the changesetId and all the dbPaths to be cached. This API does not allow you to change a database name or add a database if you created a cluster without one. Using this API you can point a cluster to a different changeset and modify a list of partitions being cached.
  360. */
  361. updateKxClusterDatabases(params: Finspace.Types.UpdateKxClusterDatabasesRequest, callback?: (err: AWSError, data: Finspace.Types.UpdateKxClusterDatabasesResponse) => void): Request<Finspace.Types.UpdateKxClusterDatabasesResponse, AWSError>;
  362. /**
  363. * Updates the databases mounted on a kdb cluster, which includes the changesetId and all the dbPaths to be cached. This API does not allow you to change a database name or add a database if you created a cluster without one. Using this API you can point a cluster to a different changeset and modify a list of partitions being cached.
  364. */
  365. updateKxClusterDatabases(callback?: (err: AWSError, data: Finspace.Types.UpdateKxClusterDatabasesResponse) => void): Request<Finspace.Types.UpdateKxClusterDatabasesResponse, AWSError>;
  366. /**
  367. * Updates information for the given kdb database.
  368. */
  369. updateKxDatabase(params: Finspace.Types.UpdateKxDatabaseRequest, callback?: (err: AWSError, data: Finspace.Types.UpdateKxDatabaseResponse) => void): Request<Finspace.Types.UpdateKxDatabaseResponse, AWSError>;
  370. /**
  371. * Updates information for the given kdb database.
  372. */
  373. updateKxDatabase(callback?: (err: AWSError, data: Finspace.Types.UpdateKxDatabaseResponse) => void): Request<Finspace.Types.UpdateKxDatabaseResponse, AWSError>;
  374. /**
  375. * Updates the specified dataview. The dataviews get automatically updated when any new changesets are ingested. Each update of the dataview creates a new version, including changeset details and cache configurations
  376. */
  377. updateKxDataview(params: Finspace.Types.UpdateKxDataviewRequest, callback?: (err: AWSError, data: Finspace.Types.UpdateKxDataviewResponse) => void): Request<Finspace.Types.UpdateKxDataviewResponse, AWSError>;
  378. /**
  379. * Updates the specified dataview. The dataviews get automatically updated when any new changesets are ingested. Each update of the dataview creates a new version, including changeset details and cache configurations
  380. */
  381. updateKxDataview(callback?: (err: AWSError, data: Finspace.Types.UpdateKxDataviewResponse) => void): Request<Finspace.Types.UpdateKxDataviewResponse, AWSError>;
  382. /**
  383. * Updates information for the given kdb environment.
  384. */
  385. updateKxEnvironment(params: Finspace.Types.UpdateKxEnvironmentRequest, callback?: (err: AWSError, data: Finspace.Types.UpdateKxEnvironmentResponse) => void): Request<Finspace.Types.UpdateKxEnvironmentResponse, AWSError>;
  386. /**
  387. * Updates information for the given kdb environment.
  388. */
  389. updateKxEnvironment(callback?: (err: AWSError, data: Finspace.Types.UpdateKxEnvironmentResponse) => void): Request<Finspace.Types.UpdateKxEnvironmentResponse, AWSError>;
  390. /**
  391. * Updates environment network to connect to your internal network by using a transit gateway. This API supports request to create a transit gateway attachment from FinSpace VPC to your transit gateway ID and create a custom Route-53 outbound resolvers. Once you send a request to update a network, you cannot change it again. Network update might require termination of any clusters that are running in the existing network.
  392. */
  393. updateKxEnvironmentNetwork(params: Finspace.Types.UpdateKxEnvironmentNetworkRequest, callback?: (err: AWSError, data: Finspace.Types.UpdateKxEnvironmentNetworkResponse) => void): Request<Finspace.Types.UpdateKxEnvironmentNetworkResponse, AWSError>;
  394. /**
  395. * Updates environment network to connect to your internal network by using a transit gateway. This API supports request to create a transit gateway attachment from FinSpace VPC to your transit gateway ID and create a custom Route-53 outbound resolvers. Once you send a request to update a network, you cannot change it again. Network update might require termination of any clusters that are running in the existing network.
  396. */
  397. updateKxEnvironmentNetwork(callback?: (err: AWSError, data: Finspace.Types.UpdateKxEnvironmentNetworkResponse) => void): Request<Finspace.Types.UpdateKxEnvironmentNetworkResponse, AWSError>;
  398. /**
  399. * Updates the user details. You can only update the IAM role associated with a user.
  400. */
  401. updateKxUser(params: Finspace.Types.UpdateKxUserRequest, callback?: (err: AWSError, data: Finspace.Types.UpdateKxUserResponse) => void): Request<Finspace.Types.UpdateKxUserResponse, AWSError>;
  402. /**
  403. * Updates the user details. You can only update the IAM role associated with a user.
  404. */
  405. updateKxUser(callback?: (err: AWSError, data: Finspace.Types.UpdateKxUserResponse) => void): Request<Finspace.Types.UpdateKxUserResponse, AWSError>;
  406. /**
  407. * Updates the throughput or capacity of a volume. During the update process, the filesystem might be unavailable for a few minutes. You can retry any operations after the update is complete.
  408. */
  409. updateKxVolume(params: Finspace.Types.UpdateKxVolumeRequest, callback?: (err: AWSError, data: Finspace.Types.UpdateKxVolumeResponse) => void): Request<Finspace.Types.UpdateKxVolumeResponse, AWSError>;
  410. /**
  411. * Updates the throughput or capacity of a volume. During the update process, the filesystem might be unavailable for a few minutes. You can retry any operations after the update is complete.
  412. */
  413. updateKxVolume(callback?: (err: AWSError, data: Finspace.Types.UpdateKxVolumeResponse) => void): Request<Finspace.Types.UpdateKxVolumeResponse, AWSError>;
  414. }
  415. declare namespace Finspace {
  416. export type AttachedClusterList = KxClusterName[];
  417. export type AttributeMap = {[key: string]: FederationAttributeValue};
  418. export interface AutoScalingConfiguration {
  419. /**
  420. * The lowest number of nodes to scale. This value must be at least 1 and less than the maxNodeCount. If the nodes in a cluster belong to multiple availability zones, then minNodeCount must be at least 3.
  421. */
  422. minNodeCount?: NodeCount;
  423. /**
  424. * The highest number of nodes to scale. This value cannot be greater than 5.
  425. */
  426. maxNodeCount?: NodeCount;
  427. /**
  428. * The metric your cluster will track in order to scale in and out. For example, CPU_UTILIZATION_PERCENTAGE is the average CPU usage across all the nodes in a cluster.
  429. */
  430. autoScalingMetric?: AutoScalingMetric;
  431. /**
  432. * The desired value of the chosen autoScalingMetric. When the metric drops below this value, the cluster will scale in. When the metric goes above this value, the cluster will scale out. You can set the target value between 1 and 100 percent.
  433. */
  434. metricTarget?: AutoScalingMetricTarget;
  435. /**
  436. * The duration in seconds that FinSpace will wait after a scale in event before initiating another scaling event.
  437. */
  438. scaleInCooldownSeconds?: CooldownTime;
  439. /**
  440. * The duration in seconds that FinSpace will wait after a scale out event before initiating another scaling event.
  441. */
  442. scaleOutCooldownSeconds?: CooldownTime;
  443. }
  444. export type AutoScalingMetric = "CPU_UTILIZATION_PERCENTAGE"|string;
  445. export type AutoScalingMetricTarget = number;
  446. export type AvailabilityZoneId = string;
  447. export type AvailabilityZoneIds = AvailabilityZoneId[];
  448. export type BoxedInteger = number;
  449. export interface CapacityConfiguration {
  450. /**
  451. * The type that determines the hardware of the host computer used for your cluster instance. Each node type offers different memory and storage capabilities. Choose a node type based on the requirements of the application or software that you plan to run on your instance. You can only specify one of the following values: kx.s.large – The node type with a configuration of 12 GiB memory and 2 vCPUs. kx.s.xlarge – The node type with a configuration of 27 GiB memory and 4 vCPUs. kx.s.2xlarge – The node type with a configuration of 54 GiB memory and 8 vCPUs. kx.s.4xlarge – The node type with a configuration of 108 GiB memory and 16 vCPUs. kx.s.8xlarge – The node type with a configuration of 216 GiB memory and 32 vCPUs. kx.s.16xlarge – The node type with a configuration of 432 GiB memory and 64 vCPUs. kx.s.32xlarge – The node type with a configuration of 864 GiB memory and 128 vCPUs.
  452. */
  453. nodeType?: NodeType;
  454. /**
  455. * The number of instances running in a cluster.
  456. */
  457. nodeCount?: NodeCount;
  458. }
  459. export interface ChangeRequest {
  460. /**
  461. * Defines the type of change request. A changeType can have the following values: PUT – Adds or updates files in a database. DELETE – Deletes files in a database.
  462. */
  463. changeType: ChangeType;
  464. /**
  465. * Defines the S3 path of the source file that is required to add or update files in a database.
  466. */
  467. s3Path?: S3Path;
  468. /**
  469. * Defines the path within the database directory.
  470. */
  471. dbPath: DbPath;
  472. }
  473. export type ChangeRequests = ChangeRequest[];
  474. export type ChangeType = "PUT"|"DELETE"|string;
  475. export type ChangesetId = string;
  476. export type ChangesetStatus = "PENDING"|"PROCESSING"|"FAILED"|"COMPLETED"|string;
  477. export type ClientToken = string;
  478. export type ClientTokenString = string;
  479. export type ClusterNodeCount = number;
  480. export interface CodeConfiguration {
  481. /**
  482. * A unique name for the S3 bucket.
  483. */
  484. s3Bucket?: S3Bucket;
  485. /**
  486. * The full S3 path (excluding bucket) to the .zip file. This file contains the code that is loaded onto the cluster when it's started.
  487. */
  488. s3Key?: S3Key;
  489. /**
  490. * The version of an S3 object.
  491. */
  492. s3ObjectVersion?: S3ObjectVersion;
  493. }
  494. export type CooldownTime = number;
  495. export type CpuCount = number;
  496. export interface CreateEnvironmentRequest {
  497. /**
  498. * The name of the FinSpace environment to be created.
  499. */
  500. name: EnvironmentName;
  501. /**
  502. * The description of the FinSpace environment to be created.
  503. */
  504. description?: Description;
  505. /**
  506. * The KMS key id to encrypt your data in the FinSpace environment.
  507. */
  508. kmsKeyId?: KmsKeyId;
  509. /**
  510. * Add tags to your FinSpace environment.
  511. */
  512. tags?: TagMap;
  513. /**
  514. * Authentication mode for the environment. FEDERATED - Users access FinSpace through Single Sign On (SSO) via your Identity provider. LOCAL - Users access FinSpace via email and password managed within the FinSpace environment.
  515. */
  516. federationMode?: FederationMode;
  517. /**
  518. * Configuration information when authentication mode is FEDERATED.
  519. */
  520. federationParameters?: FederationParameters;
  521. /**
  522. * Configuration information for the superuser.
  523. */
  524. superuserParameters?: SuperuserParameters;
  525. /**
  526. * The list of Amazon Resource Names (ARN) of the data bundles to install. Currently supported data bundle ARNs: arn:aws:finspace:${Region}::data-bundle/capital-markets-sample - Contains sample Capital Markets datasets, categories and controlled vocabularies. arn:aws:finspace:${Region}::data-bundle/taq (default) - Contains trades and quotes data in addition to sample Capital Markets data.
  527. */
  528. dataBundles?: DataBundleArns;
  529. }
  530. export interface CreateEnvironmentResponse {
  531. /**
  532. * The unique identifier for FinSpace environment that you created.
  533. */
  534. environmentId?: IdType;
  535. /**
  536. * The Amazon Resource Name (ARN) of the FinSpace environment that you created.
  537. */
  538. environmentArn?: EnvironmentArn;
  539. /**
  540. * The sign-in URL for the web application of the FinSpace environment you created.
  541. */
  542. environmentUrl?: url;
  543. }
  544. export interface CreateKxChangesetRequest {
  545. /**
  546. * A unique identifier of the kdb environment.
  547. */
  548. environmentId: EnvironmentId;
  549. /**
  550. * The name of the kdb database.
  551. */
  552. databaseName: DatabaseName;
  553. /**
  554. * A list of change request objects that are run in order. A change request object consists of changeType , s3Path, and dbPath. A changeType can have the following values: PUT – Adds or updates files in a database. DELETE – Deletes files in a database. All the change requests require a mandatory dbPath attribute that defines the path within the database directory. All database paths must start with a leading / and end with a trailing /. The s3Path attribute defines the s3 source file path and is required for a PUT change type. The s3path must end with a trailing / if it is a directory and must end without a trailing / if it is a file. Here are few examples of how you can use the change request object: This request adds a single sym file at database root location. { "changeType": "PUT", "s3Path":"s3://bucket/db/sym", "dbPath":"/"} This request adds files in the given s3Path under the 2020.01.02 partition of the database. { "changeType": "PUT", "s3Path":"s3://bucket/db/2020.01.02/", "dbPath":"/2020.01.02/"} This request adds files in the given s3Path under the taq table partition of the database. [ { "changeType": "PUT", "s3Path":"s3://bucket/db/2020.01.02/taq/", "dbPath":"/2020.01.02/taq/"}] This request deletes the 2020.01.02 partition of the database. [{ "changeType": "DELETE", "dbPath": "/2020.01.02/"} ] The DELETE request allows you to delete the existing files under the 2020.01.02 partition of the database, and the PUT request adds a new taq table under it. [ {"changeType": "DELETE", "dbPath":"/2020.01.02/"}, {"changeType": "PUT", "s3Path":"s3://bucket/db/2020.01.02/taq/", "dbPath":"/2020.01.02/taq/"}]
  555. */
  556. changeRequests: ChangeRequests;
  557. /**
  558. * A token that ensures idempotency. This token expires in 10 minutes.
  559. */
  560. clientToken: ClientTokenString;
  561. }
  562. export interface CreateKxChangesetResponse {
  563. /**
  564. * A unique identifier for the changeset.
  565. */
  566. changesetId?: ChangesetId;
  567. /**
  568. * The name of the kdb database.
  569. */
  570. databaseName?: DatabaseName;
  571. /**
  572. * A unique identifier for the kdb environment.
  573. */
  574. environmentId?: EnvironmentId;
  575. /**
  576. * A list of change requests.
  577. */
  578. changeRequests?: ChangeRequests;
  579. /**
  580. * The timestamp at which the changeset was created in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.
  581. */
  582. createdTimestamp?: Timestamp;
  583. /**
  584. * The timestamp at which the changeset was updated in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.
  585. */
  586. lastModifiedTimestamp?: Timestamp;
  587. /**
  588. * Status of the changeset creation process. Pending – Changeset creation is pending. Processing – Changeset creation is running. Failed – Changeset creation has failed. Complete – Changeset creation has succeeded.
  589. */
  590. status?: ChangesetStatus;
  591. /**
  592. * The details of the error that you receive when creating a changeset. It consists of the type of error and the error message.
  593. */
  594. errorInfo?: ErrorInfo;
  595. }
  596. export interface CreateKxClusterRequest {
  597. /**
  598. * A token that ensures idempotency. This token expires in 10 minutes.
  599. */
  600. clientToken?: ClientToken;
  601. /**
  602. * A unique identifier for the kdb environment.
  603. */
  604. environmentId: KxEnvironmentId;
  605. /**
  606. * A unique name for the cluster that you want to create.
  607. */
  608. clusterName: KxClusterName;
  609. /**
  610. * Specifies the type of KDB database that is being created. The following types are available: HDB – A Historical Database. The data is only accessible with read-only permissions from one of the FinSpace managed kdb databases mounted to the cluster. RDB – A Realtime Database. This type of database captures all the data from a ticker plant and stores it in memory until the end of day, after which it writes all of its data to a disk and reloads the HDB. This cluster type requires local storage for temporary storage of data during the savedown process. If you specify this field in your request, you must provide the savedownStorageConfiguration parameter. GATEWAY – A gateway cluster allows you to access data across processes in kdb systems. It allows you to create your own routing logic using the initialization scripts and custom code. This type of cluster does not require a writable local storage. GP – A general purpose cluster allows you to quickly iterate on code during development by granting greater access to system commands and enabling a fast reload of custom code. This cluster type can optionally mount databases including cache and savedown storage. For this cluster type, the node count is fixed at 1. It does not support autoscaling and supports only SINGLE AZ mode. Tickerplant – A tickerplant cluster allows you to subscribe to feed handlers based on IAM permissions. It can publish to RDBs, other Tickerplants, and real-time subscribers (RTS). Tickerplants can persist messages to log, which is readable by any RDB environment. It supports only single-node that is only one kdb process.
  611. */
  612. clusterType: KxClusterType;
  613. /**
  614. * A configuration to store Tickerplant logs. It consists of a list of volumes that will be mounted to your cluster. For the cluster type Tickerplant, the location of the TP volume on the cluster will be available by using the global variable .aws.tp_log_path.
  615. */
  616. tickerplantLogConfiguration?: TickerplantLogConfiguration;
  617. /**
  618. * A list of databases that will be available for querying.
  619. */
  620. databases?: KxDatabaseConfigurations;
  621. /**
  622. * The configurations for a read only cache storage associated with a cluster. This cache will be stored as an FSx Lustre that reads from the S3 store.
  623. */
  624. cacheStorageConfigurations?: KxCacheStorageConfigurations;
  625. /**
  626. * The configuration based on which FinSpace will scale in or scale out nodes in your cluster.
  627. */
  628. autoScalingConfiguration?: AutoScalingConfiguration;
  629. /**
  630. * A description of the cluster.
  631. */
  632. clusterDescription?: KxClusterDescription;
  633. /**
  634. * A structure for the metadata of a cluster. It includes information like the CPUs needed, memory of instances, and number of instances.
  635. */
  636. capacityConfiguration?: CapacityConfiguration;
  637. /**
  638. * The version of FinSpace managed kdb to run.
  639. */
  640. releaseLabel: ReleaseLabel;
  641. /**
  642. * Configuration details about the network where the Privatelink endpoint of the cluster resides.
  643. */
  644. vpcConfiguration: VpcConfiguration;
  645. /**
  646. * Specifies a Q program that will be run at launch of a cluster. It is a relative path within .zip file that contains the custom code, which will be loaded on the cluster. It must include the file name itself. For example, somedir/init.q.
  647. */
  648. initializationScript?: InitializationScriptFilePath;
  649. /**
  650. * Defines the key-value pairs to make them available inside the cluster.
  651. */
  652. commandLineArguments?: KxCommandLineArguments;
  653. /**
  654. * The details of the custom code that you want to use inside a cluster when analyzing a data. It consists of the S3 source bucket, location, S3 object version, and the relative path from where the custom code is loaded into the cluster.
  655. */
  656. code?: CodeConfiguration;
  657. /**
  658. * An IAM role that defines a set of permissions associated with a cluster. These permissions are assumed when a cluster attempts to access another cluster.
  659. */
  660. executionRole?: ExecutionRoleArn;
  661. /**
  662. * The size and type of the temporary storage that is used to hold data during the savedown process. This parameter is required when you choose clusterType as RDB. All the data written to this storage space is lost when the cluster node is restarted.
  663. */
  664. savedownStorageConfiguration?: KxSavedownStorageConfiguration;
  665. /**
  666. * The number of availability zones you want to assign per cluster. This can be one of the following SINGLE – Assigns one availability zone per cluster. MULTI – Assigns all the availability zones per cluster.
  667. */
  668. azMode: KxAzMode;
  669. /**
  670. * The availability zone identifiers for the requested regions.
  671. */
  672. availabilityZoneId?: AvailabilityZoneId;
  673. /**
  674. * A list of key-value pairs to label the cluster. You can add up to 50 tags to a cluster.
  675. */
  676. tags?: TagMap;
  677. /**
  678. * The structure that stores the configuration details of a scaling group.
  679. */
  680. scalingGroupConfiguration?: KxScalingGroupConfiguration;
  681. }
  682. export interface CreateKxClusterResponse {
  683. /**
  684. * A unique identifier for the kdb environment.
  685. */
  686. environmentId?: KxEnvironmentId;
  687. /**
  688. * The status of cluster creation. PENDING – The cluster is pending creation. CREATING – The cluster creation process is in progress. CREATE_FAILED – The cluster creation process has failed. RUNNING – The cluster creation process is running. UPDATING – The cluster is in the process of being updated. DELETING – The cluster is in the process of being deleted. DELETED – The cluster has been deleted. DELETE_FAILED – The cluster failed to delete.
  689. */
  690. status?: KxClusterStatus;
  691. /**
  692. * The error message when a failed state occurs.
  693. */
  694. statusReason?: KxClusterStatusReason;
  695. /**
  696. * A unique name for the cluster.
  697. */
  698. clusterName?: KxClusterName;
  699. /**
  700. * Specifies the type of KDB database that is being created. The following types are available: HDB – A Historical Database. The data is only accessible with read-only permissions from one of the FinSpace managed kdb databases mounted to the cluster. RDB – A Realtime Database. This type of database captures all the data from a ticker plant and stores it in memory until the end of day, after which it writes all of its data to a disk and reloads the HDB. This cluster type requires local storage for temporary storage of data during the savedown process. If you specify this field in your request, you must provide the savedownStorageConfiguration parameter. GATEWAY – A gateway cluster allows you to access data across processes in kdb systems. It allows you to create your own routing logic using the initialization scripts and custom code. This type of cluster does not require a writable local storage. GP – A general purpose cluster allows you to quickly iterate on code during development by granting greater access to system commands and enabling a fast reload of custom code. This cluster type can optionally mount databases including cache and savedown storage. For this cluster type, the node count is fixed at 1. It does not support autoscaling and supports only SINGLE AZ mode. Tickerplant – A tickerplant cluster allows you to subscribe to feed handlers based on IAM permissions. It can publish to RDBs, other Tickerplants, and real-time subscribers (RTS). Tickerplants can persist messages to log, which is readable by any RDB environment. It supports only single-node that is only one kdb process.
  701. */
  702. clusterType?: KxClusterType;
  703. tickerplantLogConfiguration?: TickerplantLogConfiguration;
  704. /**
  705. * A list of volumes mounted on the cluster.
  706. */
  707. volumes?: Volumes;
  708. /**
  709. * A list of databases that will be available for querying.
  710. */
  711. databases?: KxDatabaseConfigurations;
  712. /**
  713. * The configurations for a read only cache storage associated with a cluster. This cache will be stored as an FSx Lustre that reads from the S3 store.
  714. */
  715. cacheStorageConfigurations?: KxCacheStorageConfigurations;
  716. /**
  717. * The configuration based on which FinSpace will scale in or scale out nodes in your cluster.
  718. */
  719. autoScalingConfiguration?: AutoScalingConfiguration;
  720. /**
  721. * A description of the cluster.
  722. */
  723. clusterDescription?: KxClusterDescription;
  724. /**
  725. * A structure for the metadata of a cluster. It includes information like the CPUs needed, memory of instances, and number of instances.
  726. */
  727. capacityConfiguration?: CapacityConfiguration;
  728. /**
  729. * A version of the FinSpace managed kdb to run.
  730. */
  731. releaseLabel?: ReleaseLabel;
  732. /**
  733. * Configuration details about the network where the Privatelink endpoint of the cluster resides.
  734. */
  735. vpcConfiguration?: VpcConfiguration;
  736. /**
  737. * Specifies a Q program that will be run at launch of a cluster. It is a relative path within .zip file that contains the custom code, which will be loaded on the cluster. It must include the file name itself. For example, somedir/init.q.
  738. */
  739. initializationScript?: InitializationScriptFilePath;
  740. /**
  741. * Defines the key-value pairs to make them available inside the cluster.
  742. */
  743. commandLineArguments?: KxCommandLineArguments;
  744. /**
  745. * The details of the custom code that you want to use inside a cluster when analyzing a data. It consists of the S3 source bucket, location, S3 object version, and the relative path from where the custom code is loaded into the cluster.
  746. */
  747. code?: CodeConfiguration;
  748. /**
  749. * An IAM role that defines a set of permissions associated with a cluster. These permissions are assumed when a cluster attempts to access another cluster.
  750. */
  751. executionRole?: ExecutionRoleArn;
  752. /**
  753. * The last time that the cluster was modified. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.
  754. */
  755. lastModifiedTimestamp?: Timestamp;
  756. /**
  757. * The size and type of the temporary storage that is used to hold data during the savedown process. This parameter is required when you choose clusterType as RDB. All the data written to this storage space is lost when the cluster node is restarted.
  758. */
  759. savedownStorageConfiguration?: KxSavedownStorageConfiguration;
  760. /**
  761. * The number of availability zones you want to assign per cluster. This can be one of the following SINGLE – Assigns one availability zone per cluster. MULTI – Assigns all the availability zones per cluster.
  762. */
  763. azMode?: KxAzMode;
  764. /**
  765. * The availability zone identifiers for the requested regions.
  766. */
  767. availabilityZoneId?: AvailabilityZoneId;
  768. /**
  769. * The timestamp at which the cluster was created in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.
  770. */
  771. createdTimestamp?: Timestamp;
  772. /**
  773. * The structure that stores the configuration details of a scaling group.
  774. */
  775. scalingGroupConfiguration?: KxScalingGroupConfiguration;
  776. }
  777. export interface CreateKxDatabaseRequest {
  778. /**
  779. * A unique identifier for the kdb environment.
  780. */
  781. environmentId: EnvironmentId;
  782. /**
  783. * The name of the kdb database.
  784. */
  785. databaseName: DatabaseName;
  786. /**
  787. * A description of the database.
  788. */
  789. description?: Description;
  790. /**
  791. * A list of key-value pairs to label the kdb database. You can add up to 50 tags to your kdb database
  792. */
  793. tags?: TagMap;
  794. /**
  795. * A token that ensures idempotency. This token expires in 10 minutes.
  796. */
  797. clientToken: ClientTokenString;
  798. }
  799. export interface CreateKxDatabaseResponse {
  800. /**
  801. * The name of the kdb database.
  802. */
  803. databaseName?: DatabaseName;
  804. /**
  805. * The ARN identifier of the database.
  806. */
  807. databaseArn?: DatabaseArn;
  808. /**
  809. * A unique identifier for the kdb environment.
  810. */
  811. environmentId?: EnvironmentId;
  812. /**
  813. * A description of the database.
  814. */
  815. description?: Description;
  816. /**
  817. * The timestamp at which the database is created in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.
  818. */
  819. createdTimestamp?: Timestamp;
  820. /**
  821. * The last time that the database was updated in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.
  822. */
  823. lastModifiedTimestamp?: Timestamp;
  824. }
  825. export interface CreateKxDataviewRequest {
  826. /**
  827. * A unique identifier for the kdb environment, where you want to create the dataview.
  828. */
  829. environmentId: EnvironmentId;
  830. /**
  831. * The name of the database where you want to create a dataview.
  832. */
  833. databaseName: DatabaseName;
  834. /**
  835. * A unique identifier for the dataview.
  836. */
  837. dataviewName: KxDataviewName;
  838. /**
  839. * The number of availability zones you want to assign per volume. Currently, FinSpace only supports SINGLE for volumes. This places dataview in a single AZ.
  840. */
  841. azMode: KxAzMode;
  842. /**
  843. * The identifier of the availability zones.
  844. */
  845. availabilityZoneId?: AvailabilityZoneId;
  846. /**
  847. * A unique identifier of the changeset that you want to use to ingest data.
  848. */
  849. changesetId?: ChangesetId;
  850. /**
  851. * The configuration that contains the database path of the data that you want to place on each selected volume. Each segment must have a unique database path for each volume. If you do not explicitly specify any database path for a volume, they are accessible from the cluster through the default S3/object store segment.
  852. */
  853. segmentConfigurations?: KxDataviewSegmentConfigurationList;
  854. /**
  855. * The option to specify whether you want to apply all the future additions and corrections automatically to the dataview, when you ingest new changesets. The default value is false.
  856. */
  857. autoUpdate?: booleanValue;
  858. /**
  859. * The option to specify whether you want to make the dataview writable to perform database maintenance. The following are some considerations related to writable dataviews.&#x2028;&#x2028; You cannot create partial writable dataviews. When you create writeable dataviews you must provide the entire database path. You cannot perform updates on a writeable dataview. Hence, autoUpdate must be set as False if readWrite is True for a dataview. You must also use a unique volume for creating a writeable dataview. So, if you choose a volume that is already in use by another dataview, the dataview creation fails. Once you create a dataview as writeable, you cannot change it to read-only. So, you cannot update the readWrite parameter later.
  860. */
  861. readWrite?: booleanValue;
  862. /**
  863. * A description of the dataview.
  864. */
  865. description?: Description;
  866. /**
  867. * A list of key-value pairs to label the dataview. You can add up to 50 tags to a dataview.
  868. */
  869. tags?: TagMap;
  870. /**
  871. * A token that ensures idempotency. This token expires in 10 minutes.
  872. */
  873. clientToken: ClientTokenString;
  874. }
  875. export interface CreateKxDataviewResponse {
  876. /**
  877. * A unique identifier for the dataview.
  878. */
  879. dataviewName?: KxDataviewName;
  880. /**
  881. * The name of the database where you want to create a dataview.
  882. */
  883. databaseName?: DatabaseName;
  884. /**
  885. * A unique identifier for the kdb environment, where you want to create the dataview.
  886. */
  887. environmentId?: EnvironmentId;
  888. /**
  889. * The number of availability zones you want to assign per volume. Currently, FinSpace only supports SINGLE for volumes. This places dataview in a single AZ.
  890. */
  891. azMode?: KxAzMode;
  892. /**
  893. * The identifier of the availability zones.
  894. */
  895. availabilityZoneId?: AvailabilityZoneId;
  896. /**
  897. * A unique identifier for the changeset.
  898. */
  899. changesetId?: ChangesetId;
  900. /**
  901. * The configuration that contains the database path of the data that you want to place on each selected volume. Each segment must have a unique database path for each volume. If you do not explicitly specify any database path for a volume, they are accessible from the cluster through the default S3/object store segment.
  902. */
  903. segmentConfigurations?: KxDataviewSegmentConfigurationList;
  904. /**
  905. * A description of the dataview.
  906. */
  907. description?: Description;
  908. /**
  909. * The option to select whether you want to apply all the future additions and corrections automatically to the dataview when you ingest new changesets. The default value is false.
  910. */
  911. autoUpdate?: booleanValue;
  912. /**
  913. * Returns True if the dataview is created as writeable and False otherwise.
  914. */
  915. readWrite?: booleanValue;
  916. /**
  917. * The timestamp at which the dataview was created in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.
  918. */
  919. createdTimestamp?: Timestamp;
  920. /**
  921. * The last time that the dataview was updated in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.
  922. */
  923. lastModifiedTimestamp?: Timestamp;
  924. /**
  925. * The status of dataview creation. CREATING – The dataview creation is in progress. UPDATING – The dataview is in the process of being updated. ACTIVE – The dataview is active.
  926. */
  927. status?: KxDataviewStatus;
  928. }
  929. export interface CreateKxEnvironmentRequest {
  930. /**
  931. * The name of the kdb environment that you want to create.
  932. */
  933. name: KxEnvironmentName;
  934. /**
  935. * A description for the kdb environment.
  936. */
  937. description?: Description;
  938. /**
  939. * The KMS key ID to encrypt your data in the FinSpace environment.
  940. */
  941. kmsKeyId: KmsKeyARN;
  942. /**
  943. * A list of key-value pairs to label the kdb environment. You can add up to 50 tags to your kdb environment.
  944. */
  945. tags?: TagMap;
  946. /**
  947. * A token that ensures idempotency. This token expires in 10 minutes.
  948. */
  949. clientToken?: ClientToken;
  950. }
  951. export interface CreateKxEnvironmentResponse {
  952. /**
  953. * The name of the kdb environment.
  954. */
  955. name?: KxEnvironmentName;
  956. /**
  957. * The status of the kdb environment.
  958. */
  959. status?: EnvironmentStatus;
  960. /**
  961. * A unique identifier for the kdb environment.
  962. */
  963. environmentId?: IdType;
  964. /**
  965. * A description for the kdb environment.
  966. */
  967. description?: Description;
  968. /**
  969. * The ARN identifier of the environment.
  970. */
  971. environmentArn?: EnvironmentArn;
  972. /**
  973. * The KMS key ID to encrypt your data in the FinSpace environment.
  974. */
  975. kmsKeyId?: KmsKeyId;
  976. /**
  977. * The timestamp at which the kdb environment was created in FinSpace.
  978. */
  979. creationTimestamp?: Timestamp;
  980. }
  981. export interface CreateKxScalingGroupRequest {
  982. /**
  983. * A token that ensures idempotency. This token expires in 10 minutes.
  984. */
  985. clientToken: ClientToken;
  986. /**
  987. * A unique identifier for the kdb environment, where you want to create the scaling group.
  988. */
  989. environmentId: KxEnvironmentId;
  990. /**
  991. * A unique identifier for the kdb scaling group.
  992. */
  993. scalingGroupName: KxScalingGroupName;
  994. /**
  995. * The memory and CPU capabilities of the scaling group host on which FinSpace Managed kdb clusters will be placed. You can add one of the following values: kx.sg.4xlarge – The host type with a configuration of 108 GiB memory and 16 vCPUs. kx.sg.8xlarge – The host type with a configuration of 216 GiB memory and 32 vCPUs. kx.sg.16xlarge – The host type with a configuration of 432 GiB memory and 64 vCPUs. kx.sg.32xlarge – The host type with a configuration of 864 GiB memory and 128 vCPUs. kx.sg1.16xlarge – The host type with a configuration of 1949 GiB memory and 64 vCPUs. kx.sg1.24xlarge – The host type with a configuration of 2948 GiB memory and 96 vCPUs.
  996. */
  997. hostType: KxHostType;
  998. /**
  999. * The identifier of the availability zones.
  1000. */
  1001. availabilityZoneId: AvailabilityZoneId;
  1002. /**
  1003. * A list of key-value pairs to label the scaling group. You can add up to 50 tags to a scaling group.
  1004. */
  1005. tags?: TagMap;
  1006. }
  1007. export interface CreateKxScalingGroupResponse {
  1008. /**
  1009. * A unique identifier for the kdb environment, where you create the scaling group.
  1010. */
  1011. environmentId?: KxEnvironmentId;
  1012. /**
  1013. * A unique identifier for the kdb scaling group.
  1014. */
  1015. scalingGroupName?: KxScalingGroupName;
  1016. /**
  1017. * The memory and CPU capabilities of the scaling group host on which FinSpace Managed kdb clusters will be placed.
  1018. */
  1019. hostType?: KxHostType;
  1020. /**
  1021. * The identifier of the availability zones.
  1022. */
  1023. availabilityZoneId?: AvailabilityZoneId;
  1024. /**
  1025. * The status of scaling group. CREATING – The scaling group creation is in progress. CREATE_FAILED – The scaling group creation has failed. ACTIVE – The scaling group is active. UPDATING – The scaling group is in the process of being updated. UPDATE_FAILED – The update action failed. DELETING – The scaling group is in the process of being deleted. DELETE_FAILED – The system failed to delete the scaling group. DELETED – The scaling group is successfully deleted.
  1026. */
  1027. status?: KxScalingGroupStatus;
  1028. /**
  1029. * The last time that the scaling group was updated in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.
  1030. */
  1031. lastModifiedTimestamp?: Timestamp;
  1032. /**
  1033. * The timestamp at which the scaling group was created in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.
  1034. */
  1035. createdTimestamp?: Timestamp;
  1036. }
  1037. export interface CreateKxUserRequest {
  1038. /**
  1039. * A unique identifier for the kdb environment where you want to create a user.
  1040. */
  1041. environmentId: IdType;
  1042. /**
  1043. * A unique identifier for the user.
  1044. */
  1045. userName: KxUserNameString;
  1046. /**
  1047. * The IAM role ARN that will be associated with the user.
  1048. */
  1049. iamRole: RoleArn;
  1050. /**
  1051. * A list of key-value pairs to label the user. You can add up to 50 tags to a user.
  1052. */
  1053. tags?: TagMap;
  1054. /**
  1055. * A token that ensures idempotency. This token expires in 10 minutes.
  1056. */
  1057. clientToken?: ClientToken;
  1058. }
  1059. export interface CreateKxUserResponse {
  1060. /**
  1061. * A unique identifier for the user.
  1062. */
  1063. userName?: KxUserNameString;
  1064. /**
  1065. * The Amazon Resource Name (ARN) that identifies the user. For more information about ARNs and how to use ARNs in policies, see IAM Identifiers in the IAM User Guide.
  1066. */
  1067. userArn?: KxUserArn;
  1068. /**
  1069. * A unique identifier for the kdb environment.
  1070. */
  1071. environmentId?: IdType;
  1072. /**
  1073. * The IAM role ARN that will be associated with the user.
  1074. */
  1075. iamRole?: RoleArn;
  1076. }
  1077. export interface CreateKxVolumeRequest {
  1078. /**
  1079. * A token that ensures idempotency. This token expires in 10 minutes.
  1080. */
  1081. clientToken?: ClientToken;
  1082. /**
  1083. * A unique identifier for the kdb environment, whose clusters can attach to the volume.
  1084. */
  1085. environmentId: KxEnvironmentId;
  1086. /**
  1087. * The type of file system volume. Currently, FinSpace only supports NAS_1 volume type. When you select NAS_1 volume type, you must also provide nas1Configuration.
  1088. */
  1089. volumeType: KxVolumeType;
  1090. /**
  1091. * A unique identifier for the volume.
  1092. */
  1093. volumeName: KxVolumeName;
  1094. /**
  1095. * A description of the volume.
  1096. */
  1097. description?: Description;
  1098. /**
  1099. * Specifies the configuration for the Network attached storage (NAS_1) file system volume. This parameter is required when you choose volumeType as NAS_1.
  1100. */
  1101. nas1Configuration?: KxNAS1Configuration;
  1102. /**
  1103. * The number of availability zones you want to assign per volume. Currently, FinSpace only supports SINGLE for volumes. This places dataview in a single AZ.
  1104. */
  1105. azMode: KxAzMode;
  1106. /**
  1107. * The identifier of the availability zones.
  1108. */
  1109. availabilityZoneIds: AvailabilityZoneIds;
  1110. /**
  1111. * A list of key-value pairs to label the volume. You can add up to 50 tags to a volume.
  1112. */
  1113. tags?: TagMap;
  1114. }
  1115. export interface CreateKxVolumeResponse {
  1116. /**
  1117. * A unique identifier for the kdb environment, whose clusters can attach to the volume.
  1118. */
  1119. environmentId?: KxEnvironmentId;
  1120. /**
  1121. * A unique identifier for the volume.
  1122. */
  1123. volumeName?: KxVolumeName;
  1124. /**
  1125. * The type of file system volume. Currently, FinSpace only supports NAS_1 volume type.
  1126. */
  1127. volumeType?: KxVolumeType;
  1128. /**
  1129. * The ARN identifier of the volume.
  1130. */
  1131. volumeArn?: KxVolumeArn;
  1132. /**
  1133. * Specifies the configuration for the Network attached storage (NAS_1) file system volume.
  1134. */
  1135. nas1Configuration?: KxNAS1Configuration;
  1136. /**
  1137. * The status of volume creation. CREATING – The volume creation is in progress. CREATE_FAILED – The volume creation has failed. ACTIVE – The volume is active. UPDATING – The volume is in the process of being updated. UPDATE_FAILED – The update action failed. UPDATED – The volume is successfully updated. DELETING – The volume is in the process of being deleted. DELETE_FAILED – The system failed to delete the volume. DELETED – The volume is successfully deleted.
  1138. */
  1139. status?: KxVolumeStatus;
  1140. /**
  1141. * The error message when a failed state occurs.
  1142. */
  1143. statusReason?: KxVolumeStatusReason;
  1144. /**
  1145. * The number of availability zones you want to assign per volume. Currently, FinSpace only supports SINGLE for volumes. This places dataview in a single AZ.
  1146. */
  1147. azMode?: KxAzMode;
  1148. /**
  1149. * A description of the volume.
  1150. */
  1151. description?: Description;
  1152. /**
  1153. * The identifier of the availability zones.
  1154. */
  1155. availabilityZoneIds?: AvailabilityZoneIds;
  1156. /**
  1157. * The timestamp at which the volume was created in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.
  1158. */
  1159. createdTimestamp?: Timestamp;
  1160. }
  1161. export type CustomDNSConfiguration = CustomDNSServer[];
  1162. export interface CustomDNSServer {
  1163. /**
  1164. * The name of the DNS server.
  1165. */
  1166. customDNSServerName: ValidHostname;
  1167. /**
  1168. * The IP address of the DNS server.
  1169. */
  1170. customDNSServerIP: ValidIPAddress;
  1171. }
  1172. export type DataBundleArn = string;
  1173. export type DataBundleArns = DataBundleArn[];
  1174. export type DatabaseArn = string;
  1175. export type DatabaseName = string;
  1176. export type DbPath = string;
  1177. export type DbPaths = DbPath[];
  1178. export interface DeleteEnvironmentRequest {
  1179. /**
  1180. * The identifier for the FinSpace environment.
  1181. */
  1182. environmentId: IdType;
  1183. }
  1184. export interface DeleteEnvironmentResponse {
  1185. }
  1186. export interface DeleteKxClusterNodeRequest {
  1187. /**
  1188. * A unique identifier for the kdb environment.
  1189. */
  1190. environmentId: KxEnvironmentId;
  1191. /**
  1192. * The name of the cluster, for which you want to delete the nodes.
  1193. */
  1194. clusterName: KxClusterName;
  1195. /**
  1196. * A unique identifier for the node that you want to delete.
  1197. */
  1198. nodeId: KxClusterNodeIdString;
  1199. }
  1200. export interface DeleteKxClusterNodeResponse {
  1201. }
  1202. export interface DeleteKxClusterRequest {
  1203. /**
  1204. * A unique identifier for the kdb environment.
  1205. */
  1206. environmentId: KxEnvironmentId;
  1207. /**
  1208. * The name of the cluster that you want to delete.
  1209. */
  1210. clusterName: KxClusterName;
  1211. /**
  1212. * A token that ensures idempotency. This token expires in 10 minutes.
  1213. */
  1214. clientToken?: ClientTokenString;
  1215. }
  1216. export interface DeleteKxClusterResponse {
  1217. }
  1218. export interface DeleteKxDatabaseRequest {
  1219. /**
  1220. * A unique identifier for the kdb environment.
  1221. */
  1222. environmentId: EnvironmentId;
  1223. /**
  1224. * The name of the kdb database that you want to delete.
  1225. */
  1226. databaseName: DatabaseName;
  1227. /**
  1228. * A token that ensures idempotency. This token expires in 10 minutes.
  1229. */
  1230. clientToken: ClientTokenString;
  1231. }
  1232. export interface DeleteKxDatabaseResponse {
  1233. }
  1234. export interface DeleteKxDataviewRequest {
  1235. /**
  1236. * A unique identifier for the kdb environment, from where you want to delete the dataview.
  1237. */
  1238. environmentId: EnvironmentId;
  1239. /**
  1240. * The name of the database whose dataview you want to delete.
  1241. */
  1242. databaseName: DatabaseName;
  1243. /**
  1244. * The name of the dataview that you want to delete.
  1245. */
  1246. dataviewName: KxDataviewName;
  1247. /**
  1248. * A token that ensures idempotency. This token expires in 10 minutes.
  1249. */
  1250. clientToken: ClientTokenString;
  1251. }
  1252. export interface DeleteKxDataviewResponse {
  1253. }
  1254. export interface DeleteKxEnvironmentRequest {
  1255. /**
  1256. * A unique identifier for the kdb environment.
  1257. */
  1258. environmentId: IdType;
  1259. /**
  1260. * A token that ensures idempotency. This token expires in 10 minutes.
  1261. */
  1262. clientToken?: ClientToken;
  1263. }
  1264. export interface DeleteKxEnvironmentResponse {
  1265. }
  1266. export interface DeleteKxScalingGroupRequest {
  1267. /**
  1268. * A unique identifier for the kdb environment, from where you want to delete the dataview.
  1269. */
  1270. environmentId: KxEnvironmentId;
  1271. /**
  1272. * A unique identifier for the kdb scaling group.
  1273. */
  1274. scalingGroupName: KxScalingGroupName;
  1275. /**
  1276. * A token that ensures idempotency. This token expires in 10 minutes.
  1277. */
  1278. clientToken?: ClientTokenString;
  1279. }
  1280. export interface DeleteKxScalingGroupResponse {
  1281. }
  1282. export interface DeleteKxUserRequest {
  1283. /**
  1284. * A unique identifier for the user that you want to delete.
  1285. */
  1286. userName: KxUserNameString;
  1287. /**
  1288. * A unique identifier for the kdb environment.
  1289. */
  1290. environmentId: IdType;
  1291. /**
  1292. * A token that ensures idempotency. This token expires in 10 minutes.
  1293. */
  1294. clientToken?: ClientToken;
  1295. }
  1296. export interface DeleteKxUserResponse {
  1297. }
  1298. export interface DeleteKxVolumeRequest {
  1299. /**
  1300. * A unique identifier for the kdb environment, whose clusters can attach to the volume.
  1301. */
  1302. environmentId: KxEnvironmentId;
  1303. /**
  1304. * The name of the volume that you want to delete.
  1305. */
  1306. volumeName: KxVolumeName;
  1307. /**
  1308. * A token that ensures idempotency. This token expires in 10 minutes.
  1309. */
  1310. clientToken?: ClientTokenString;
  1311. }
  1312. export interface DeleteKxVolumeResponse {
  1313. }
  1314. export type Description = string;
  1315. export type EmailId = string;
  1316. export interface Environment {
  1317. /**
  1318. * The name of the FinSpace environment.
  1319. */
  1320. name?: EnvironmentName;
  1321. /**
  1322. * The identifier of the FinSpace environment.
  1323. */
  1324. environmentId?: IdType;
  1325. /**
  1326. * The ID of the AWS account in which the FinSpace environment is created.
  1327. */
  1328. awsAccountId?: IdType;
  1329. /**
  1330. * The current status of creation of the FinSpace environment.
  1331. */
  1332. status?: EnvironmentStatus;
  1333. /**
  1334. * The sign-in URL for the web application of your FinSpace environment.
  1335. */
  1336. environmentUrl?: url;
  1337. /**
  1338. * The description of the FinSpace environment.
  1339. */
  1340. description?: Description;
  1341. /**
  1342. * The Amazon Resource Name (ARN) of your FinSpace environment.
  1343. */
  1344. environmentArn?: EnvironmentArn;
  1345. /**
  1346. * The URL of the integrated FinSpace notebook environment in your web application.
  1347. */
  1348. sageMakerStudioDomainUrl?: SmsDomainUrl;
  1349. /**
  1350. * The KMS key id used to encrypt in the FinSpace environment.
  1351. */
  1352. kmsKeyId?: KmsKeyId;
  1353. /**
  1354. * The AWS account ID of the dedicated service account associated with your FinSpace environment.
  1355. */
  1356. dedicatedServiceAccountId?: IdType;
  1357. /**
  1358. * The authentication mode for the environment.
  1359. */
  1360. federationMode?: FederationMode;
  1361. /**
  1362. * Configuration information when authentication mode is FEDERATED.
  1363. */
  1364. federationParameters?: FederationParameters;
  1365. }
  1366. export type EnvironmentArn = string;
  1367. export type EnvironmentErrorMessage = string;
  1368. export type EnvironmentId = string;
  1369. export type EnvironmentList = Environment[];
  1370. export type EnvironmentName = string;
  1371. export type EnvironmentStatus = "CREATE_REQUESTED"|"CREATING"|"CREATED"|"DELETE_REQUESTED"|"DELETING"|"DELETED"|"FAILED_CREATION"|"RETRY_DELETION"|"FAILED_DELETION"|"UPDATE_NETWORK_REQUESTED"|"UPDATING_NETWORK"|"FAILED_UPDATING_NETWORK"|"SUSPENDED"|string;
  1372. export type ErrorDetails = "The inputs to this request are invalid."|"Service limits have been exceeded."|"Missing required permission to perform this request."|"One or more inputs to this request were not found."|"The system temporarily lacks sufficient resources to process the request."|"An internal error has occurred."|"Cancelled"|"A user recoverable error has occurred"|string;
  1373. export interface ErrorInfo {
  1374. /**
  1375. * Specifies the error message that appears if a flow fails.
  1376. */
  1377. errorMessage?: ErrorMessage;
  1378. /**
  1379. * Specifies the type of error.
  1380. */
  1381. errorType?: ErrorDetails;
  1382. }
  1383. export type ErrorMessage = string;
  1384. export type ExecutionRoleArn = string;
  1385. export type FederationAttributeKey = string;
  1386. export type FederationAttributeValue = string;
  1387. export type FederationMode = "FEDERATED"|"LOCAL"|string;
  1388. export interface FederationParameters {
  1389. /**
  1390. * SAML 2.0 Metadata document from identity provider (IdP).
  1391. */
  1392. samlMetadataDocument?: SamlMetadataDocument;
  1393. /**
  1394. * Provide the metadata URL from your SAML 2.0 compliant identity provider (IdP).
  1395. */
  1396. samlMetadataURL?: url;
  1397. /**
  1398. * The redirect or sign-in URL that should be entered into the SAML 2.0 compliant identity provider configuration (IdP).
  1399. */
  1400. applicationCallBackURL?: url;
  1401. /**
  1402. * The Uniform Resource Name (URN). Also referred as Service Provider URN or Audience URI or Service Provider Entity ID.
  1403. */
  1404. federationURN?: urn;
  1405. /**
  1406. * Name of the identity provider (IdP).
  1407. */
  1408. federationProviderName?: FederationProviderName;
  1409. /**
  1410. * SAML attribute name and value. The name must always be Email and the value should be set to the attribute definition in which user email is set. For example, name would be Email and value http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress. Please check your SAML 2.0 compliant identity provider (IdP) documentation for details.
  1411. */
  1412. attributeMap?: AttributeMap;
  1413. }
  1414. export type FederationProviderName = string;
  1415. export type FinSpaceTaggableArn = string;
  1416. export interface GetEnvironmentRequest {
  1417. /**
  1418. * The identifier of the FinSpace environment.
  1419. */
  1420. environmentId: IdType;
  1421. }
  1422. export interface GetEnvironmentResponse {
  1423. /**
  1424. * The name of the FinSpace environment.
  1425. */
  1426. environment?: Environment;
  1427. }
  1428. export interface GetKxChangesetRequest {
  1429. /**
  1430. * A unique identifier for the kdb environment.
  1431. */
  1432. environmentId: EnvironmentId;
  1433. /**
  1434. * The name of the kdb database.
  1435. */
  1436. databaseName: DatabaseName;
  1437. /**
  1438. * A unique identifier of the changeset for which you want to retrieve data.
  1439. */
  1440. changesetId: ChangesetId;
  1441. }
  1442. export interface GetKxChangesetResponse {
  1443. /**
  1444. * A unique identifier for the changeset.
  1445. */
  1446. changesetId?: ChangesetId;
  1447. /**
  1448. * The name of the kdb database.
  1449. */
  1450. databaseName?: DatabaseName;
  1451. /**
  1452. * A unique identifier for the kdb environment.
  1453. */
  1454. environmentId?: EnvironmentId;
  1455. /**
  1456. * A list of change request objects that are run in order.
  1457. */
  1458. changeRequests?: ChangeRequests;
  1459. /**
  1460. * The timestamp at which the changeset was created in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.
  1461. */
  1462. createdTimestamp?: Timestamp;
  1463. /**
  1464. * Beginning time from which the changeset is active. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.
  1465. */
  1466. activeFromTimestamp?: Timestamp;
  1467. /**
  1468. * The timestamp at which the changeset was updated in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.
  1469. */
  1470. lastModifiedTimestamp?: Timestamp;
  1471. /**
  1472. * Status of the changeset creation process. Pending – Changeset creation is pending. Processing – Changeset creation is running. Failed – Changeset creation has failed. Complete – Changeset creation has succeeded.
  1473. */
  1474. status?: ChangesetStatus;
  1475. /**
  1476. * Provides details in the event of a failed flow, including the error type and the related error message.
  1477. */
  1478. errorInfo?: ErrorInfo;
  1479. }
  1480. export interface GetKxClusterRequest {
  1481. /**
  1482. * A unique identifier for the kdb environment.
  1483. */
  1484. environmentId: KxEnvironmentId;
  1485. /**
  1486. * The name of the cluster that you want to retrieve.
  1487. */
  1488. clusterName: KxClusterName;
  1489. }
  1490. export interface GetKxClusterResponse {
  1491. /**
  1492. * The status of cluster creation. PENDING – The cluster is pending creation. CREATING – The cluster creation process is in progress. CREATE_FAILED – The cluster creation process has failed. RUNNING – The cluster creation process is running. UPDATING – The cluster is in the process of being updated. DELETING – The cluster is in the process of being deleted. DELETED – The cluster has been deleted. DELETE_FAILED – The cluster failed to delete.
  1493. */
  1494. status?: KxClusterStatus;
  1495. /**
  1496. * The error message when a failed state occurs.
  1497. */
  1498. statusReason?: KxClusterStatusReason;
  1499. /**
  1500. * A unique name for the cluster.
  1501. */
  1502. clusterName?: KxClusterName;
  1503. /**
  1504. * Specifies the type of KDB database that is being created. The following types are available: HDB – A Historical Database. The data is only accessible with read-only permissions from one of the FinSpace managed kdb databases mounted to the cluster. RDB – A Realtime Database. This type of database captures all the data from a ticker plant and stores it in memory until the end of day, after which it writes all of its data to a disk and reloads the HDB. This cluster type requires local storage for temporary storage of data during the savedown process. If you specify this field in your request, you must provide the savedownStorageConfiguration parameter. GATEWAY – A gateway cluster allows you to access data across processes in kdb systems. It allows you to create your own routing logic using the initialization scripts and custom code. This type of cluster does not require a writable local storage. GP – A general purpose cluster allows you to quickly iterate on code during development by granting greater access to system commands and enabling a fast reload of custom code. This cluster type can optionally mount databases including cache and savedown storage. For this cluster type, the node count is fixed at 1. It does not support autoscaling and supports only SINGLE AZ mode. Tickerplant – A tickerplant cluster allows you to subscribe to feed handlers based on IAM permissions. It can publish to RDBs, other Tickerplants, and real-time subscribers (RTS). Tickerplants can persist messages to log, which is readable by any RDB environment. It supports only single-node that is only one kdb process.
  1505. */
  1506. clusterType?: KxClusterType;
  1507. tickerplantLogConfiguration?: TickerplantLogConfiguration;
  1508. /**
  1509. * A list of volumes attached to the cluster.
  1510. */
  1511. volumes?: Volumes;
  1512. /**
  1513. * A list of databases mounted on the cluster.
  1514. */
  1515. databases?: KxDatabaseConfigurations;
  1516. /**
  1517. * The configurations for a read only cache storage associated with a cluster. This cache will be stored as an FSx Lustre that reads from the S3 store.
  1518. */
  1519. cacheStorageConfigurations?: KxCacheStorageConfigurations;
  1520. /**
  1521. * The configuration based on which FinSpace will scale in or scale out nodes in your cluster.
  1522. */
  1523. autoScalingConfiguration?: AutoScalingConfiguration;
  1524. /**
  1525. * A description of the cluster.
  1526. */
  1527. clusterDescription?: KxClusterDescription;
  1528. /**
  1529. * A structure for the metadata of a cluster. It includes information like the CPUs needed, memory of instances, and number of instances.
  1530. */
  1531. capacityConfiguration?: CapacityConfiguration;
  1532. /**
  1533. * The version of FinSpace managed kdb to run.
  1534. */
  1535. releaseLabel?: ReleaseLabel;
  1536. /**
  1537. * Configuration details about the network where the Privatelink endpoint of the cluster resides.
  1538. */
  1539. vpcConfiguration?: VpcConfiguration;
  1540. /**
  1541. * Specifies a Q program that will be run at launch of a cluster. It is a relative path within .zip file that contains the custom code, which will be loaded on the cluster. It must include the file name itself. For example, somedir/init.q.
  1542. */
  1543. initializationScript?: InitializationScriptFilePath;
  1544. /**
  1545. * Defines key-value pairs to make them available inside the cluster.
  1546. */
  1547. commandLineArguments?: KxCommandLineArguments;
  1548. /**
  1549. * The details of the custom code that you want to use inside a cluster when analyzing a data. It consists of the S3 source bucket, location, S3 object version, and the relative path from where the custom code is loaded into the cluster.
  1550. */
  1551. code?: CodeConfiguration;
  1552. /**
  1553. * An IAM role that defines a set of permissions associated with a cluster. These permissions are assumed when a cluster attempts to access another cluster.
  1554. */
  1555. executionRole?: ExecutionRoleArn;
  1556. /**
  1557. * The last time that the cluster was modified. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.
  1558. */
  1559. lastModifiedTimestamp?: Timestamp;
  1560. /**
  1561. * The size and type of the temporary storage that is used to hold data during the savedown process. This parameter is required when you choose clusterType as RDB. All the data written to this storage space is lost when the cluster node is restarted.
  1562. */
  1563. savedownStorageConfiguration?: KxSavedownStorageConfiguration;
  1564. /**
  1565. * The number of availability zones you want to assign per cluster. This can be one of the following SINGLE – Assigns one availability zone per cluster. MULTI – Assigns all the availability zones per cluster.
  1566. */
  1567. azMode?: KxAzMode;
  1568. /**
  1569. * The availability zone identifiers for the requested regions.
  1570. */
  1571. availabilityZoneId?: AvailabilityZoneId;
  1572. /**
  1573. * The timestamp at which the cluster was created in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.
  1574. */
  1575. createdTimestamp?: Timestamp;
  1576. scalingGroupConfiguration?: KxScalingGroupConfiguration;
  1577. }
  1578. export interface GetKxConnectionStringRequest {
  1579. /**
  1580. * The Amazon Resource Name (ARN) that identifies the user. For more information about ARNs and how to use ARNs in policies, see IAM Identifiers in the IAM User Guide.
  1581. */
  1582. userArn: KxUserArn;
  1583. /**
  1584. * A unique identifier for the kdb environment.
  1585. */
  1586. environmentId: IdType;
  1587. /**
  1588. * A name of the kdb cluster.
  1589. */
  1590. clusterName: KxClusterName;
  1591. }
  1592. export interface GetKxConnectionStringResponse {
  1593. /**
  1594. * The signed connection string that you can use to connect to clusters.
  1595. */
  1596. signedConnectionString?: SignedKxConnectionString;
  1597. }
  1598. export interface GetKxDatabaseRequest {
  1599. /**
  1600. * A unique identifier for the kdb environment.
  1601. */
  1602. environmentId: EnvironmentId;
  1603. /**
  1604. * The name of the kdb database.
  1605. */
  1606. databaseName: DatabaseName;
  1607. }
  1608. export interface GetKxDatabaseResponse {
  1609. /**
  1610. * The name of the kdb database for which the information is retrieved.
  1611. */
  1612. databaseName?: DatabaseName;
  1613. /**
  1614. * The ARN identifier of the database.
  1615. */
  1616. databaseArn?: DatabaseArn;
  1617. /**
  1618. * A unique identifier for the kdb environment.
  1619. */
  1620. environmentId?: EnvironmentId;
  1621. /**
  1622. * A description of the database.
  1623. */
  1624. description?: Description;
  1625. /**
  1626. * The timestamp at which the database is created in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.
  1627. */
  1628. createdTimestamp?: Timestamp;
  1629. /**
  1630. * The last time that the database was modified. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.
  1631. */
  1632. lastModifiedTimestamp?: Timestamp;
  1633. /**
  1634. * A unique identifier for the changeset.
  1635. */
  1636. lastCompletedChangesetId?: ChangesetId;
  1637. /**
  1638. * The total number of bytes in the database.
  1639. */
  1640. numBytes?: numBytes;
  1641. /**
  1642. * The total number of changesets in the database.
  1643. */
  1644. numChangesets?: numChangesets;
  1645. /**
  1646. * The total number of files in the database.
  1647. */
  1648. numFiles?: numFiles;
  1649. }
  1650. export interface GetKxDataviewRequest {
  1651. /**
  1652. * A unique identifier for the kdb environment, from where you want to retrieve the dataview details.
  1653. */
  1654. environmentId: EnvironmentId;
  1655. /**
  1656. * The name of the database where you created the dataview.
  1657. */
  1658. databaseName: DatabaseName;
  1659. /**
  1660. * A unique identifier for the dataview.
  1661. */
  1662. dataviewName: KxDataviewName;
  1663. }
  1664. export interface GetKxDataviewResponse {
  1665. /**
  1666. * The name of the database where you created the dataview.
  1667. */
  1668. databaseName?: DatabaseName;
  1669. /**
  1670. * A unique identifier for the dataview.
  1671. */
  1672. dataviewName?: KxDataviewName;
  1673. /**
  1674. * The number of availability zones you want to assign per volume. Currently, FinSpace only supports SINGLE for volumes. This places dataview in a single AZ.
  1675. */
  1676. azMode?: KxAzMode;
  1677. /**
  1678. * The identifier of the availability zones.
  1679. */
  1680. availabilityZoneId?: AvailabilityZoneId;
  1681. /**
  1682. * A unique identifier of the changeset that you want to use to ingest data.
  1683. */
  1684. changesetId?: ChangesetId;
  1685. /**
  1686. * The configuration that contains the database path of the data that you want to place on each selected volume. Each segment must have a unique database path for each volume. If you do not explicitly specify any database path for a volume, they are accessible from the cluster through the default S3/object store segment.
  1687. */
  1688. segmentConfigurations?: KxDataviewSegmentConfigurationList;
  1689. /**
  1690. * The current active changeset versions of the database on the given dataview.
  1691. */
  1692. activeVersions?: KxDataviewActiveVersionList;
  1693. /**
  1694. * A description of the dataview.
  1695. */
  1696. description?: Description;
  1697. /**
  1698. * The option to specify whether you want to apply all the future additions and corrections automatically to the dataview when new changesets are ingested. The default value is false.
  1699. */
  1700. autoUpdate?: booleanValue;
  1701. /**
  1702. * Returns True if the dataview is created as writeable and False otherwise.
  1703. */
  1704. readWrite?: booleanValue;
  1705. /**
  1706. * A unique identifier for the kdb environment, from where you want to retrieve the dataview details.
  1707. */
  1708. environmentId?: EnvironmentId;
  1709. /**
  1710. * The timestamp at which the dataview was created in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.
  1711. */
  1712. createdTimestamp?: Timestamp;
  1713. /**
  1714. * The last time that the dataview was updated in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.
  1715. */
  1716. lastModifiedTimestamp?: Timestamp;
  1717. /**
  1718. * The status of dataview creation. CREATING – The dataview creation is in progress. UPDATING – The dataview is in the process of being updated. ACTIVE – The dataview is active.
  1719. */
  1720. status?: KxDataviewStatus;
  1721. /**
  1722. * The error message when a failed state occurs.
  1723. */
  1724. statusReason?: KxDataviewStatusReason;
  1725. }
  1726. export interface GetKxEnvironmentRequest {
  1727. /**
  1728. * A unique identifier for the kdb environment.
  1729. */
  1730. environmentId: IdType;
  1731. }
  1732. export interface GetKxEnvironmentResponse {
  1733. /**
  1734. * The name of the kdb environment.
  1735. */
  1736. name?: KxEnvironmentName;
  1737. /**
  1738. * A unique identifier for the kdb environment.
  1739. */
  1740. environmentId?: IdType;
  1741. /**
  1742. * The unique identifier of the AWS account that is used to create the kdb environment.
  1743. */
  1744. awsAccountId?: IdType;
  1745. /**
  1746. * The status of the kdb environment.
  1747. */
  1748. status?: EnvironmentStatus;
  1749. /**
  1750. * The status of the network configuration.
  1751. */
  1752. tgwStatus?: tgwStatus;
  1753. /**
  1754. * The status of DNS configuration.
  1755. */
  1756. dnsStatus?: dnsStatus;
  1757. /**
  1758. * Specifies the error message that appears if a flow fails.
  1759. */
  1760. errorMessage?: EnvironmentErrorMessage;
  1761. /**
  1762. * A description for the kdb environment.
  1763. */
  1764. description?: Description;
  1765. /**
  1766. * The ARN identifier of the environment.
  1767. */
  1768. environmentArn?: EnvironmentArn;
  1769. /**
  1770. * The KMS key ID to encrypt your data in the FinSpace environment.
  1771. */
  1772. kmsKeyId?: KmsKeyId;
  1773. /**
  1774. * A unique identifier for the AWS environment infrastructure account.
  1775. */
  1776. dedicatedServiceAccountId?: IdType;
  1777. transitGatewayConfiguration?: TransitGatewayConfiguration;
  1778. /**
  1779. * A list of DNS server name and server IP. This is used to set up Route-53 outbound resolvers.
  1780. */
  1781. customDNSConfiguration?: CustomDNSConfiguration;
  1782. /**
  1783. * The timestamp at which the kdb environment was created in FinSpace.
  1784. */
  1785. creationTimestamp?: Timestamp;
  1786. /**
  1787. * The timestamp at which the kdb environment was updated.
  1788. */
  1789. updateTimestamp?: Timestamp;
  1790. /**
  1791. * The identifier of the availability zones where subnets for the environment are created.
  1792. */
  1793. availabilityZoneIds?: AvailabilityZoneIds;
  1794. /**
  1795. * The Amazon Resource Name (ARN) of the certificate authority of the kdb environment.
  1796. */
  1797. certificateAuthorityArn?: stringValueLength1to255;
  1798. }
  1799. export interface GetKxScalingGroupRequest {
  1800. /**
  1801. * A unique identifier for the kdb environment.
  1802. */
  1803. environmentId: KxEnvironmentId;
  1804. /**
  1805. * A unique identifier for the kdb scaling group.
  1806. */
  1807. scalingGroupName: KxScalingGroupName;
  1808. }
  1809. export interface GetKxScalingGroupResponse {
  1810. /**
  1811. * A unique identifier for the kdb scaling group.
  1812. */
  1813. scalingGroupName?: KxScalingGroupName;
  1814. /**
  1815. * The ARN identifier for the scaling group.
  1816. */
  1817. scalingGroupArn?: arn;
  1818. /**
  1819. * The memory and CPU capabilities of the scaling group host on which FinSpace Managed kdb clusters will be placed. It can have one of the following values: kx.sg.4xlarge – The host type with a configuration of 108 GiB memory and 16 vCPUs. kx.sg.8xlarge – The host type with a configuration of 216 GiB memory and 32 vCPUs. kx.sg.16xlarge – The host type with a configuration of 432 GiB memory and 64 vCPUs. kx.sg.32xlarge – The host type with a configuration of 864 GiB memory and 128 vCPUs. kx.sg1.16xlarge – The host type with a configuration of 1949 GiB memory and 64 vCPUs. kx.sg1.24xlarge – The host type with a configuration of 2948 GiB memory and 96 vCPUs.
  1820. */
  1821. hostType?: KxHostType;
  1822. /**
  1823. * The list of Managed kdb clusters that are currently active in the given scaling group.
  1824. */
  1825. clusters?: KxClusterNameList;
  1826. /**
  1827. * The identifier of the availability zones.
  1828. */
  1829. availabilityZoneId?: AvailabilityZoneId;
  1830. /**
  1831. * The status of scaling group. CREATING – The scaling group creation is in progress. CREATE_FAILED – The scaling group creation has failed. ACTIVE – The scaling group is active. UPDATING – The scaling group is in the process of being updated. UPDATE_FAILED – The update action failed. DELETING – The scaling group is in the process of being deleted. DELETE_FAILED – The system failed to delete the scaling group. DELETED – The scaling group is successfully deleted.
  1832. */
  1833. status?: KxScalingGroupStatus;
  1834. /**
  1835. * The error message when a failed state occurs.
  1836. */
  1837. statusReason?: KxClusterStatusReason;
  1838. /**
  1839. * The last time that the scaling group was updated in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.
  1840. */
  1841. lastModifiedTimestamp?: Timestamp;
  1842. /**
  1843. * The timestamp at which the scaling group was created in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.
  1844. */
  1845. createdTimestamp?: Timestamp;
  1846. }
  1847. export interface GetKxUserRequest {
  1848. /**
  1849. * A unique identifier for the user.
  1850. */
  1851. userName: KxUserNameString;
  1852. /**
  1853. * A unique identifier for the kdb environment.
  1854. */
  1855. environmentId: IdType;
  1856. }
  1857. export interface GetKxUserResponse {
  1858. /**
  1859. * A unique identifier for the user.
  1860. */
  1861. userName?: IdType;
  1862. /**
  1863. * The Amazon Resource Name (ARN) that identifies the user. For more information about ARNs and how to use ARNs in policies, see IAM Identifiers in the IAM User Guide.
  1864. */
  1865. userArn?: KxUserArn;
  1866. /**
  1867. * A unique identifier for the kdb environment.
  1868. */
  1869. environmentId?: IdType;
  1870. /**
  1871. * The IAM role ARN that is associated with the user.
  1872. */
  1873. iamRole?: RoleArn;
  1874. }
  1875. export interface GetKxVolumeRequest {
  1876. /**
  1877. * A unique identifier for the kdb environment, whose clusters can attach to the volume.
  1878. */
  1879. environmentId: KxEnvironmentId;
  1880. /**
  1881. * A unique identifier for the volume.
  1882. */
  1883. volumeName: KxVolumeName;
  1884. }
  1885. export interface GetKxVolumeResponse {
  1886. /**
  1887. * A unique identifier for the kdb environment, whose clusters can attach to the volume.
  1888. */
  1889. environmentId?: KxEnvironmentId;
  1890. /**
  1891. * A unique identifier for the volume.
  1892. */
  1893. volumeName?: KxVolumeName;
  1894. /**
  1895. * The type of file system volume. Currently, FinSpace only supports NAS_1 volume type.
  1896. */
  1897. volumeType?: KxVolumeType;
  1898. /**
  1899. * The ARN identifier of the volume.
  1900. */
  1901. volumeArn?: KxVolumeArn;
  1902. /**
  1903. * Specifies the configuration for the Network attached storage (NAS_1) file system volume.
  1904. */
  1905. nas1Configuration?: KxNAS1Configuration;
  1906. /**
  1907. * The status of volume creation. CREATING – The volume creation is in progress. CREATE_FAILED – The volume creation has failed. ACTIVE – The volume is active. UPDATING – The volume is in the process of being updated. UPDATE_FAILED – The update action failed. UPDATED – The volume is successfully updated. DELETING – The volume is in the process of being deleted. DELETE_FAILED – The system failed to delete the volume. DELETED – The volume is successfully deleted.
  1908. */
  1909. status?: KxVolumeStatus;
  1910. /**
  1911. * The error message when a failed state occurs.
  1912. */
  1913. statusReason?: KxVolumeStatusReason;
  1914. /**
  1915. * The timestamp at which the volume was created in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.
  1916. */
  1917. createdTimestamp?: Timestamp;
  1918. /**
  1919. * A description of the volume.
  1920. */
  1921. description?: Description;
  1922. /**
  1923. * The number of availability zones you want to assign per volume. Currently, FinSpace only supports SINGLE for volumes. This places dataview in a single AZ.
  1924. */
  1925. azMode?: KxAzMode;
  1926. /**
  1927. * The identifier of the availability zones.
  1928. */
  1929. availabilityZoneIds?: AvailabilityZoneIds;
  1930. /**
  1931. * The last time that the volume was updated in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.
  1932. */
  1933. lastModifiedTimestamp?: Timestamp;
  1934. /**
  1935. * A list of cluster identifiers that a volume is attached to.
  1936. */
  1937. attachedClusters?: KxAttachedClusters;
  1938. }
  1939. export type IPAddressType = "IP_V4"|string;
  1940. export interface IcmpTypeCode {
  1941. /**
  1942. * The ICMP type. A value of -1 means all types.
  1943. */
  1944. type: IcmpTypeOrCode;
  1945. /**
  1946. * The ICMP code. A value of -1 means all codes for the specified ICMP type.
  1947. */
  1948. code: IcmpTypeOrCode;
  1949. }
  1950. export type IcmpTypeOrCode = number;
  1951. export type IdType = string;
  1952. export type InitializationScriptFilePath = string;
  1953. export type KmsKeyARN = string;
  1954. export type KmsKeyId = string;
  1955. export interface KxAttachedCluster {
  1956. /**
  1957. * A unique name for the attached cluster.
  1958. */
  1959. clusterName?: KxClusterName;
  1960. /**
  1961. * Specifies the type of cluster. The volume for TP and RDB cluster types will be used for TP logs.
  1962. */
  1963. clusterType?: KxClusterType;
  1964. /**
  1965. * The status of the attached cluster. PENDING – The cluster is pending creation. CREATING – The cluster creation process is in progress. CREATE_FAILED – The cluster creation process has failed. RUNNING – The cluster creation process is running. UPDATING – The cluster is in the process of being updated. DELETING – The cluster is in the process of being deleted. DELETED – The cluster has been deleted. DELETE_FAILED – The cluster failed to delete.
  1966. */
  1967. clusterStatus?: KxClusterStatus;
  1968. }
  1969. export type KxAttachedClusters = KxAttachedCluster[];
  1970. export type KxAzMode = "SINGLE"|"MULTI"|string;
  1971. export interface KxCacheStorageConfiguration {
  1972. /**
  1973. * The type of cache storage. The valid values are: CACHE_1000 – This type provides at least 1000 MB/s disk access throughput. CACHE_250 – This type provides at least 250 MB/s disk access throughput. CACHE_12 – This type provides at least 12 MB/s disk access throughput. For cache type CACHE_1000 and CACHE_250 you can select cache size as 1200 GB or increments of 2400 GB. For cache type CACHE_12 you can select the cache size in increments of 6000 GB.
  1974. */
  1975. type: KxCacheStorageType;
  1976. /**
  1977. * The size of cache in Gigabytes.
  1978. */
  1979. size: KxCacheStorageSize;
  1980. }
  1981. export type KxCacheStorageConfigurations = KxCacheStorageConfiguration[];
  1982. export type KxCacheStorageSize = number;
  1983. export type KxCacheStorageType = string;
  1984. export interface KxChangesetListEntry {
  1985. /**
  1986. * A unique identifier for the changeset.
  1987. */
  1988. changesetId?: ChangesetId;
  1989. /**
  1990. * The timestamp at which the changeset was created in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.
  1991. */
  1992. createdTimestamp?: Timestamp;
  1993. /**
  1994. * Beginning time from which the changeset is active. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.
  1995. */
  1996. activeFromTimestamp?: Timestamp;
  1997. /**
  1998. * The timestamp at which the changeset was modified. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.
  1999. */
  2000. lastModifiedTimestamp?: Timestamp;
  2001. /**
  2002. * Status of the changeset. Pending – Changeset creation is pending. Processing – Changeset creation is running. Failed – Changeset creation has failed. Complete – Changeset creation has succeeded.
  2003. */
  2004. status?: ChangesetStatus;
  2005. }
  2006. export type KxChangesets = KxChangesetListEntry[];
  2007. export interface KxCluster {
  2008. /**
  2009. * The status of a cluster. PENDING – The cluster is pending creation. CREATING –The cluster creation process is in progress. CREATE_FAILED– The cluster creation process has failed. RUNNING – The cluster creation process is running. UPDATING – The cluster is in the process of being updated. DELETING – The cluster is in the process of being deleted. DELETED – The cluster has been deleted. DELETE_FAILED – The cluster failed to delete.
  2010. */
  2011. status?: KxClusterStatus;
  2012. /**
  2013. * The error message when a failed state occurs.
  2014. */
  2015. statusReason?: KxClusterStatusReason;
  2016. /**
  2017. * A unique name for the cluster.
  2018. */
  2019. clusterName?: KxClusterName;
  2020. /**
  2021. * Specifies the type of KDB database that is being created. The following types are available: HDB – A Historical Database. The data is only accessible with read-only permissions from one of the FinSpace managed kdb databases mounted to the cluster. RDB – A Realtime Database. This type of database captures all the data from a ticker plant and stores it in memory until the end of day, after which it writes all of its data to a disk and reloads the HDB. This cluster type requires local storage for temporary storage of data during the savedown process. If you specify this field in your request, you must provide the savedownStorageConfiguration parameter. GATEWAY – A gateway cluster allows you to access data across processes in kdb systems. It allows you to create your own routing logic using the initialization scripts and custom code. This type of cluster does not require a writable local storage. GP – A general purpose cluster allows you to quickly iterate on code during development by granting greater access to system commands and enabling a fast reload of custom code. This cluster type can optionally mount databases including cache and savedown storage. For this cluster type, the node count is fixed at 1. It does not support autoscaling and supports only SINGLE AZ mode. Tickerplant – A tickerplant cluster allows you to subscribe to feed handlers based on IAM permissions. It can publish to RDBs, other Tickerplants, and real-time subscribers (RTS). Tickerplants can persist messages to log, which is readable by any RDB environment. It supports only single-node that is only one kdb process.
  2022. */
  2023. clusterType?: KxClusterType;
  2024. /**
  2025. * A description of the cluster.
  2026. */
  2027. clusterDescription?: KxClusterDescription;
  2028. /**
  2029. * A version of the FinSpace managed kdb to run.
  2030. */
  2031. releaseLabel?: ReleaseLabel;
  2032. /**
  2033. * A list of volumes attached to the cluster.
  2034. */
  2035. volumes?: Volumes;
  2036. /**
  2037. * Specifies a Q program that will be run at launch of a cluster. It is a relative path within .zip file that contains the custom code, which will be loaded on the cluster. It must include the file name itself. For example, somedir/init.q.
  2038. */
  2039. initializationScript?: InitializationScriptFilePath;
  2040. /**
  2041. * An IAM role that defines a set of permissions associated with a cluster. These permissions are assumed when a cluster attempts to access another cluster.
  2042. */
  2043. executionRole?: ExecutionRoleArn;
  2044. /**
  2045. * The number of availability zones assigned per cluster. This can be one of the following: SINGLE – Assigns one availability zone per cluster. MULTI – Assigns all the availability zones per cluster.
  2046. */
  2047. azMode?: KxAzMode;
  2048. /**
  2049. * The availability zone identifiers for the requested regions.
  2050. */
  2051. availabilityZoneId?: AvailabilityZoneId;
  2052. /**
  2053. * The last time that the cluster was modified. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.
  2054. */
  2055. lastModifiedTimestamp?: Timestamp;
  2056. /**
  2057. * The timestamp at which the cluster was created in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.
  2058. */
  2059. createdTimestamp?: Timestamp;
  2060. }
  2061. export interface KxClusterCodeDeploymentConfiguration {
  2062. /**
  2063. * The type of deployment that you want on a cluster. ROLLING – This options updates the cluster by stopping the exiting q process and starting a new q process with updated configuration. NO_RESTART – This option updates the cluster without stopping the running q process. It is only available for GP type cluster. This option is quicker as it reduces the turn around time to update configuration on a cluster. With this deployment mode, you cannot update the initializationScript and commandLineArguments parameters. FORCE – This option updates the cluster by immediately stopping all the running processes before starting up new ones with the updated configuration.
  2064. */
  2065. deploymentStrategy: KxClusterCodeDeploymentStrategy;
  2066. }
  2067. export type KxClusterCodeDeploymentStrategy = "NO_RESTART"|"ROLLING"|"FORCE"|string;
  2068. export type KxClusterDescription = string;
  2069. export type KxClusterName = string;
  2070. export type KxClusterNameList = KxClusterName[];
  2071. export type KxClusterNodeIdString = string;
  2072. export type KxClusterStatus = "PENDING"|"CREATING"|"CREATE_FAILED"|"RUNNING"|"UPDATING"|"DELETING"|"DELETED"|"DELETE_FAILED"|string;
  2073. export type KxClusterStatusReason = string;
  2074. export type KxClusterType = "HDB"|"RDB"|"GATEWAY"|"GP"|"TICKERPLANT"|string;
  2075. export type KxClusters = KxCluster[];
  2076. export interface KxCommandLineArgument {
  2077. /**
  2078. * The name of the key.
  2079. */
  2080. key?: KxCommandLineArgumentKey;
  2081. /**
  2082. * The value of the key.
  2083. */
  2084. value?: KxCommandLineArgumentValue;
  2085. }
  2086. export type KxCommandLineArgumentKey = string;
  2087. export type KxCommandLineArgumentValue = string;
  2088. export type KxCommandLineArguments = KxCommandLineArgument[];
  2089. export interface KxDatabaseCacheConfiguration {
  2090. /**
  2091. * The type of disk cache. This parameter is used to map the database path to cache storage. The valid values are: CACHE_1000 – This type provides at least 1000 MB/s disk access throughput.
  2092. */
  2093. cacheType: KxCacheStorageType;
  2094. /**
  2095. * Specifies the portions of database that will be loaded into the cache for access.
  2096. */
  2097. dbPaths: DbPaths;
  2098. /**
  2099. * The name of the dataview to be used for caching historical data on disk.
  2100. */
  2101. dataviewName?: KxDataviewName;
  2102. }
  2103. export type KxDatabaseCacheConfigurations = KxDatabaseCacheConfiguration[];
  2104. export interface KxDatabaseConfiguration {
  2105. /**
  2106. * The name of the kdb database. When this parameter is specified in the structure, S3 with the whole database is included by default.
  2107. */
  2108. databaseName: DatabaseName;
  2109. /**
  2110. * Configuration details for the disk cache used to increase performance reading from a kdb database mounted to the cluster.
  2111. */
  2112. cacheConfigurations?: KxDatabaseCacheConfigurations;
  2113. /**
  2114. * A unique identifier of the changeset that is associated with the cluster.
  2115. */
  2116. changesetId?: ChangesetId;
  2117. /**
  2118. * The name of the dataview to be used for caching historical data on disk.
  2119. */
  2120. dataviewName?: KxDataviewName;
  2121. /**
  2122. * The configuration of the dataview to be used with specified cluster.
  2123. */
  2124. dataviewConfiguration?: KxDataviewConfiguration;
  2125. }
  2126. export type KxDatabaseConfigurations = KxDatabaseConfiguration[];
  2127. export interface KxDatabaseListEntry {
  2128. /**
  2129. * The name of the kdb database.
  2130. */
  2131. databaseName?: DatabaseName;
  2132. /**
  2133. * The timestamp at which the database was created in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.
  2134. */
  2135. createdTimestamp?: Timestamp;
  2136. /**
  2137. * The last time that the database was modified. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.
  2138. */
  2139. lastModifiedTimestamp?: Timestamp;
  2140. }
  2141. export type KxDatabases = KxDatabaseListEntry[];
  2142. export interface KxDataviewActiveVersion {
  2143. /**
  2144. * A unique identifier for the changeset.
  2145. */
  2146. changesetId?: ChangesetId;
  2147. /**
  2148. * The configuration that contains the database path of the data that you want to place on each selected volume. Each segment must have a unique database path for each volume. If you do not explicitly specify any database path for a volume, they are accessible from the cluster through the default S3/object store segment.
  2149. */
  2150. segmentConfigurations?: KxDataviewSegmentConfigurationList;
  2151. /**
  2152. * The list of clusters that are currently using this dataview.
  2153. */
  2154. attachedClusters?: AttachedClusterList;
  2155. /**
  2156. * The timestamp at which the dataview version was active. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.
  2157. */
  2158. createdTimestamp?: Timestamp;
  2159. /**
  2160. * A unique identifier of the active version.
  2161. */
  2162. versionId?: VersionId;
  2163. }
  2164. export type KxDataviewActiveVersionList = KxDataviewActiveVersion[];
  2165. export interface KxDataviewConfiguration {
  2166. /**
  2167. * The unique identifier of the dataview.
  2168. */
  2169. dataviewName?: KxDataviewName;
  2170. /**
  2171. * The version of the dataview corresponding to a given changeset.
  2172. */
  2173. dataviewVersionId?: VersionId;
  2174. /**
  2175. * A unique identifier for the changeset.
  2176. */
  2177. changesetId?: ChangesetId;
  2178. /**
  2179. * The db path and volume configuration for the segmented database.
  2180. */
  2181. segmentConfigurations?: KxDataviewSegmentConfigurationList;
  2182. }
  2183. export interface KxDataviewListEntry {
  2184. /**
  2185. * A unique identifier for the kdb environment.
  2186. */
  2187. environmentId?: EnvironmentId;
  2188. /**
  2189. * A unique identifier of the database.
  2190. */
  2191. databaseName?: DatabaseName;
  2192. /**
  2193. * A unique identifier of the dataview.
  2194. */
  2195. dataviewName?: KxDataviewName;
  2196. /**
  2197. * The number of availability zones you want to assign per volume. Currently, FinSpace only supports SINGLE for volumes. This places dataview in a single AZ.
  2198. */
  2199. azMode?: KxAzMode;
  2200. /**
  2201. * The identifier of the availability zones.
  2202. */
  2203. availabilityZoneId?: AvailabilityZoneId;
  2204. /**
  2205. * A unique identifier for the changeset.
  2206. */
  2207. changesetId?: ChangesetId;
  2208. /**
  2209. * The configuration that contains the database path of the data that you want to place on each selected volume. Each segment must have a unique database path for each volume. If you do not explicitly specify any database path for a volume, they are accessible from the cluster through the default S3/object store segment.
  2210. */
  2211. segmentConfigurations?: KxDataviewSegmentConfigurationList;
  2212. /**
  2213. * The active changeset versions for the given dataview entry.
  2214. */
  2215. activeVersions?: KxDataviewActiveVersionList;
  2216. /**
  2217. * The status of a given dataview entry.
  2218. */
  2219. status?: KxDataviewStatus;
  2220. /**
  2221. * A description for the dataview list entry.
  2222. */
  2223. description?: Description;
  2224. /**
  2225. * The option to specify whether you want to apply all the future additions and corrections automatically to the dataview when you ingest new changesets. The default value is false.
  2226. */
  2227. autoUpdate?: booleanValue;
  2228. /**
  2229. * Returns True if the dataview is created as writeable and False otherwise.
  2230. */
  2231. readWrite?: booleanValue;
  2232. /**
  2233. * The timestamp at which the dataview list entry was created in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.
  2234. */
  2235. createdTimestamp?: Timestamp;
  2236. /**
  2237. * The last time that the dataview list was updated in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.
  2238. */
  2239. lastModifiedTimestamp?: Timestamp;
  2240. /**
  2241. * The error message when a failed state occurs.
  2242. */
  2243. statusReason?: KxDataviewStatusReason;
  2244. }
  2245. export type KxDataviewName = string;
  2246. export interface KxDataviewSegmentConfiguration {
  2247. /**
  2248. * The database path of the data that you want to place on each selected volume for the segment. Each segment must have a unique database path for each volume.
  2249. */
  2250. dbPaths: SegmentConfigurationDbPathList;
  2251. /**
  2252. * The name of the volume where you want to add data.
  2253. */
  2254. volumeName: KxVolumeName;
  2255. /**
  2256. * Enables on-demand caching on the selected database path when a particular file or a column of the database is accessed. When on demand caching is True, dataviews perform minimal loading of files on the filesystem as needed. When it is set to False, everything is cached. The default value is False.
  2257. */
  2258. onDemand?: booleanValue;
  2259. }
  2260. export type KxDataviewSegmentConfigurationList = KxDataviewSegmentConfiguration[];
  2261. export type KxDataviewStatus = "CREATING"|"ACTIVE"|"UPDATING"|"FAILED"|"DELETING"|string;
  2262. export type KxDataviewStatusReason = string;
  2263. export type KxDataviews = KxDataviewListEntry[];
  2264. export interface KxDeploymentConfiguration {
  2265. /**
  2266. * The type of deployment that you want on a cluster. ROLLING – This options updates the cluster by stopping the exiting q process and starting a new q process with updated configuration. NO_RESTART – This option updates the cluster without stopping the running q process. It is only available for HDB type cluster. This option is quicker as it reduces the turn around time to update configuration on a cluster. With this deployment mode, you cannot update the initializationScript and commandLineArguments parameters.
  2267. */
  2268. deploymentStrategy: KxDeploymentStrategy;
  2269. }
  2270. export type KxDeploymentStrategy = "NO_RESTART"|"ROLLING"|string;
  2271. export interface KxEnvironment {
  2272. /**
  2273. * The name of the kdb environment.
  2274. */
  2275. name?: KxEnvironmentName;
  2276. /**
  2277. * A unique identifier for the kdb environment.
  2278. */
  2279. environmentId?: IdType;
  2280. /**
  2281. * The unique identifier of the AWS account in which you create the kdb environment.
  2282. */
  2283. awsAccountId?: IdType;
  2284. /**
  2285. * The status of the environment creation. CREATE_REQUESTED – Environment creation has been requested. CREATING – Environment is in the process of being created. FAILED_CREATION – Environment creation has failed. CREATED – Environment is successfully created and is currently active. DELETE REQUESTED – Environment deletion has been requested. DELETING – Environment is in the process of being deleted. RETRY_DELETION – Initial environment deletion failed, system is reattempting delete. DELETED – Environment has been deleted. FAILED_DELETION – Environment deletion has failed.
  2286. */
  2287. status?: EnvironmentStatus;
  2288. /**
  2289. * The status of the network configuration.
  2290. */
  2291. tgwStatus?: tgwStatus;
  2292. /**
  2293. * The status of DNS configuration.
  2294. */
  2295. dnsStatus?: dnsStatus;
  2296. /**
  2297. * Specifies the error message that appears if a flow fails.
  2298. */
  2299. errorMessage?: EnvironmentErrorMessage;
  2300. /**
  2301. * A description of the kdb environment.
  2302. */
  2303. description?: Description;
  2304. /**
  2305. * The Amazon Resource Name (ARN) of your kdb environment.
  2306. */
  2307. environmentArn?: EnvironmentArn;
  2308. /**
  2309. * The unique identifier of the KMS key.
  2310. */
  2311. kmsKeyId?: KmsKeyId;
  2312. /**
  2313. * A unique identifier for the AWS environment infrastructure account.
  2314. */
  2315. dedicatedServiceAccountId?: IdType;
  2316. /**
  2317. * Specifies the transit gateway and network configuration to connect the kdb environment to an internal network.
  2318. */
  2319. transitGatewayConfiguration?: TransitGatewayConfiguration;
  2320. /**
  2321. * A list of DNS server name and server IP. This is used to set up Route-53 outbound resolvers.
  2322. */
  2323. customDNSConfiguration?: CustomDNSConfiguration;
  2324. /**
  2325. * The timestamp at which the kdb environment was created in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.
  2326. */
  2327. creationTimestamp?: Timestamp;
  2328. /**
  2329. * The timestamp at which the kdb environment was modified in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.
  2330. */
  2331. updateTimestamp?: Timestamp;
  2332. /**
  2333. * The identifier of the availability zones where subnets for the environment are created.
  2334. */
  2335. availabilityZoneIds?: AvailabilityZoneIds;
  2336. /**
  2337. * The Amazon Resource Name (ARN) of the certificate authority:
  2338. */
  2339. certificateAuthorityArn?: stringValueLength1to255;
  2340. }
  2341. export type KxEnvironmentId = string;
  2342. export type KxEnvironmentList = KxEnvironment[];
  2343. export type KxEnvironmentName = string;
  2344. export type KxHostType = string;
  2345. export interface KxNAS1Configuration {
  2346. /**
  2347. * The type of the network attached storage.
  2348. */
  2349. type?: KxNAS1Type;
  2350. /**
  2351. * The size of the network attached storage. For storage type SSD_1000 and SSD_250 you can select the minimum size as 1200 GB or increments of 2400 GB. For storage type HDD_12 you can select the minimum size as 6000 GB or increments of 6000 GB.
  2352. */
  2353. size?: KxNAS1Size;
  2354. }
  2355. export type KxNAS1Size = number;
  2356. export type KxNAS1Type = "SSD_1000"|"SSD_250"|"HDD_12"|string;
  2357. export interface KxNode {
  2358. /**
  2359. * A unique identifier for the node.
  2360. */
  2361. nodeId?: KxClusterNodeIdString;
  2362. /**
  2363. * The identifier of the availability zones where subnets for the environment are created.
  2364. */
  2365. availabilityZoneId?: AvailabilityZoneId;
  2366. /**
  2367. * The time when a particular node is started. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.
  2368. */
  2369. launchTime?: Timestamp;
  2370. /**
  2371. * Specifies the status of the cluster nodes. RUNNING – The node is actively serving. PROVISIONING – The node is being prepared.
  2372. */
  2373. status?: KxNodeStatus;
  2374. }
  2375. export type KxNodeStatus = "RUNNING"|"PROVISIONING"|string;
  2376. export type KxNodeSummaries = KxNode[];
  2377. export interface KxSavedownStorageConfiguration {
  2378. /**
  2379. * The type of writeable storage space for temporarily storing your savedown data. The valid values are: SDS01 – This type represents 3000 IOPS and io2 ebs volume type.
  2380. */
  2381. type?: KxSavedownStorageType;
  2382. /**
  2383. * The size of temporary storage in gibibytes.
  2384. */
  2385. size?: KxSavedownStorageSize;
  2386. /**
  2387. * The name of the kdb volume that you want to use as writeable save-down storage for clusters.
  2388. */
  2389. volumeName?: KxVolumeName;
  2390. }
  2391. export type KxSavedownStorageSize = number;
  2392. export type KxSavedownStorageType = "SDS01"|string;
  2393. export interface KxScalingGroup {
  2394. /**
  2395. * A unique identifier for the kdb scaling group.
  2396. */
  2397. scalingGroupName?: KxScalingGroupName;
  2398. /**
  2399. * The memory and CPU capabilities of the scaling group host on which FinSpace Managed kdb clusters will be placed. You can add one of the following values: kx.sg.4xlarge – The host type with a configuration of 108 GiB memory and 16 vCPUs. kx.sg.8xlarge – The host type with a configuration of 216 GiB memory and 32 vCPUs. kx.sg.16xlarge – The host type with a configuration of 432 GiB memory and 64 vCPUs. kx.sg.32xlarge – The host type with a configuration of 864 GiB memory and 128 vCPUs. kx.sg1.16xlarge – The host type with a configuration of 1949 GiB memory and 64 vCPUs. kx.sg1.24xlarge – The host type with a configuration of 2948 GiB memory and 96 vCPUs.
  2400. */
  2401. hostType?: KxHostType;
  2402. /**
  2403. * The list of clusters currently active in a given scaling group.
  2404. */
  2405. clusters?: KxClusterNameList;
  2406. /**
  2407. * The identifier of the availability zones.
  2408. */
  2409. availabilityZoneId?: AvailabilityZoneId;
  2410. /**
  2411. * The status of scaling groups.
  2412. */
  2413. status?: KxScalingGroupStatus;
  2414. /**
  2415. * The error message when a failed state occurs.
  2416. */
  2417. statusReason?: KxClusterStatusReason;
  2418. /**
  2419. * The last time that the scaling group was updated in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.
  2420. */
  2421. lastModifiedTimestamp?: Timestamp;
  2422. /**
  2423. * The timestamp at which the scaling group was created in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.
  2424. */
  2425. createdTimestamp?: Timestamp;
  2426. }
  2427. export interface KxScalingGroupConfiguration {
  2428. /**
  2429. * A unique identifier for the kdb scaling group.
  2430. */
  2431. scalingGroupName: KxScalingGroupName;
  2432. /**
  2433. * An optional hard limit on the amount of memory a kdb cluster can use.
  2434. */
  2435. memoryLimit?: MemoryMib;
  2436. /**
  2437. * A reservation of the minimum amount of memory that should be available on the scaling group for a kdb cluster to be successfully placed in a scaling group.
  2438. */
  2439. memoryReservation: MemoryMib;
  2440. /**
  2441. * The number of kdb cluster nodes.
  2442. */
  2443. nodeCount: ClusterNodeCount;
  2444. /**
  2445. * The number of vCPUs that you want to reserve for each node of this kdb cluster on the scaling group host.
  2446. */
  2447. cpu?: CpuCount;
  2448. }
  2449. export type KxScalingGroupList = KxScalingGroup[];
  2450. export type KxScalingGroupName = string;
  2451. export type KxScalingGroupStatus = "CREATING"|"CREATE_FAILED"|"ACTIVE"|"DELETING"|"DELETED"|"DELETE_FAILED"|string;
  2452. export interface KxUser {
  2453. /**
  2454. * The Amazon Resource Name (ARN) that identifies the user. For more information about ARNs and how to use ARNs in policies, see IAM Identifiers in the IAM User Guide.
  2455. */
  2456. userArn?: KxUserArn;
  2457. /**
  2458. * A unique identifier for the user.
  2459. */
  2460. userName?: KxUserNameString;
  2461. /**
  2462. * The IAM role ARN that is associated with the user.
  2463. */
  2464. iamRole?: RoleArn;
  2465. /**
  2466. * The timestamp at which the kdb user was created.
  2467. */
  2468. createTimestamp?: Timestamp;
  2469. /**
  2470. * The timestamp at which the kdb user was updated.
  2471. */
  2472. updateTimestamp?: Timestamp;
  2473. }
  2474. export type KxUserArn = string;
  2475. export type KxUserList = KxUser[];
  2476. export type KxUserNameString = string;
  2477. export interface KxVolume {
  2478. /**
  2479. * A unique identifier for the volume.
  2480. */
  2481. volumeName?: KxVolumeName;
  2482. /**
  2483. * The type of file system volume. Currently, FinSpace only supports NAS_1 volume type.
  2484. */
  2485. volumeType?: KxVolumeType;
  2486. /**
  2487. * The status of volume. CREATING – The volume creation is in progress. CREATE_FAILED – The volume creation has failed. ACTIVE – The volume is active. UPDATING – The volume is in the process of being updated. UPDATE_FAILED – The update action failed. UPDATED – The volume is successfully updated. DELETING – The volume is in the process of being deleted. DELETE_FAILED – The system failed to delete the volume. DELETED – The volume is successfully deleted.
  2488. */
  2489. status?: KxVolumeStatus;
  2490. /**
  2491. * A description of the volume.
  2492. */
  2493. description?: Description;
  2494. /**
  2495. * The error message when a failed state occurs.
  2496. */
  2497. statusReason?: KxVolumeStatusReason;
  2498. /**
  2499. * The number of availability zones you want to assign per volume. Currently, FinSpace only supports SINGLE for volumes. This places dataview in a single AZ.
  2500. */
  2501. azMode?: KxAzMode;
  2502. /**
  2503. * The identifier of the availability zones.
  2504. */
  2505. availabilityZoneIds?: AvailabilityZoneIds;
  2506. /**
  2507. * The timestamp at which the volume was created in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.
  2508. */
  2509. createdTimestamp?: Timestamp;
  2510. /**
  2511. * The last time that the volume was updated in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.
  2512. */
  2513. lastModifiedTimestamp?: Timestamp;
  2514. }
  2515. export type KxVolumeArn = string;
  2516. export type KxVolumeName = string;
  2517. export type KxVolumeStatus = "CREATING"|"CREATE_FAILED"|"ACTIVE"|"UPDATING"|"UPDATED"|"UPDATE_FAILED"|"DELETING"|"DELETED"|"DELETE_FAILED"|string;
  2518. export type KxVolumeStatusReason = string;
  2519. export type KxVolumeType = "NAS_1"|string;
  2520. export type KxVolumes = KxVolume[];
  2521. export interface ListEnvironmentsRequest {
  2522. /**
  2523. * A token generated by FinSpace that specifies where to continue pagination if a previous request was truncated. To get the next set of pages, pass in the nextTokennextToken value from the response object of the previous page call.
  2524. */
  2525. nextToken?: PaginationToken;
  2526. /**
  2527. * The maximum number of results to return in this request.
  2528. */
  2529. maxResults?: ResultLimit;
  2530. }
  2531. export interface ListEnvironmentsResponse {
  2532. /**
  2533. * A list of all of your FinSpace environments.
  2534. */
  2535. environments?: EnvironmentList;
  2536. /**
  2537. * A token that you can use in a subsequent call to retrieve the next set of results.
  2538. */
  2539. nextToken?: PaginationToken;
  2540. }
  2541. export interface ListKxChangesetsRequest {
  2542. /**
  2543. * A unique identifier for the kdb environment.
  2544. */
  2545. environmentId: EnvironmentId;
  2546. /**
  2547. * The name of the kdb database.
  2548. */
  2549. databaseName: DatabaseName;
  2550. /**
  2551. * A token that indicates where a results page should begin.
  2552. */
  2553. nextToken?: PaginationToken;
  2554. /**
  2555. * The maximum number of results to return in this request.
  2556. */
  2557. maxResults?: MaxResults;
  2558. }
  2559. export interface ListKxChangesetsResponse {
  2560. /**
  2561. * A list of changesets for a database.
  2562. */
  2563. kxChangesets?: KxChangesets;
  2564. /**
  2565. * A token that indicates where a results page should begin.
  2566. */
  2567. nextToken?: PaginationToken;
  2568. }
  2569. export interface ListKxClusterNodesRequest {
  2570. /**
  2571. * A unique identifier for the kdb environment.
  2572. */
  2573. environmentId: KxEnvironmentId;
  2574. /**
  2575. * A unique name for the cluster.
  2576. */
  2577. clusterName: KxClusterName;
  2578. /**
  2579. * A token that indicates where a results page should begin.
  2580. */
  2581. nextToken?: PaginationToken;
  2582. /**
  2583. * The maximum number of results to return in this request.
  2584. */
  2585. maxResults?: ResultLimit;
  2586. }
  2587. export interface ListKxClusterNodesResponse {
  2588. /**
  2589. * A list of nodes associated with the cluster.
  2590. */
  2591. nodes?: KxNodeSummaries;
  2592. /**
  2593. * A token that indicates where a results page should begin.
  2594. */
  2595. nextToken?: PaginationToken;
  2596. }
  2597. export interface ListKxClustersRequest {
  2598. /**
  2599. * A unique identifier for the kdb environment.
  2600. */
  2601. environmentId: KxEnvironmentId;
  2602. /**
  2603. * Specifies the type of KDB database that is being created. The following types are available: HDB – A Historical Database. The data is only accessible with read-only permissions from one of the FinSpace managed kdb databases mounted to the cluster. RDB – A Realtime Database. This type of database captures all the data from a ticker plant and stores it in memory until the end of day, after which it writes all of its data to a disk and reloads the HDB. This cluster type requires local storage for temporary storage of data during the savedown process. If you specify this field in your request, you must provide the savedownStorageConfiguration parameter. GATEWAY – A gateway cluster allows you to access data across processes in kdb systems. It allows you to create your own routing logic using the initialization scripts and custom code. This type of cluster does not require a writable local storage. GP – A general purpose cluster allows you to quickly iterate on code during development by granting greater access to system commands and enabling a fast reload of custom code. This cluster type can optionally mount databases including cache and savedown storage. For this cluster type, the node count is fixed at 1. It does not support autoscaling and supports only SINGLE AZ mode. Tickerplant – A tickerplant cluster allows you to subscribe to feed handlers based on IAM permissions. It can publish to RDBs, other Tickerplants, and real-time subscribers (RTS). Tickerplants can persist messages to log, which is readable by any RDB environment. It supports only single-node that is only one kdb process.
  2604. */
  2605. clusterType?: KxClusterType;
  2606. /**
  2607. * The maximum number of results to return in this request.
  2608. */
  2609. maxResults?: MaxResults;
  2610. /**
  2611. * A token that indicates where a results page should begin.
  2612. */
  2613. nextToken?: PaginationToken;
  2614. }
  2615. export interface ListKxClustersResponse {
  2616. /**
  2617. * Lists the cluster details.
  2618. */
  2619. kxClusterSummaries?: KxClusters;
  2620. /**
  2621. * A token that indicates where a results page should begin.
  2622. */
  2623. nextToken?: PaginationToken;
  2624. }
  2625. export interface ListKxDatabasesRequest {
  2626. /**
  2627. * A unique identifier for the kdb environment.
  2628. */
  2629. environmentId: EnvironmentId;
  2630. /**
  2631. * A token that indicates where a results page should begin.
  2632. */
  2633. nextToken?: PaginationToken;
  2634. /**
  2635. * The maximum number of results to return in this request.
  2636. */
  2637. maxResults?: MaxResults;
  2638. }
  2639. export interface ListKxDatabasesResponse {
  2640. /**
  2641. * A list of databases in the kdb environment.
  2642. */
  2643. kxDatabases?: KxDatabases;
  2644. /**
  2645. * A token that indicates where a results page should begin.
  2646. */
  2647. nextToken?: PaginationToken;
  2648. }
  2649. export interface ListKxDataviewsRequest {
  2650. /**
  2651. * A unique identifier for the kdb environment, for which you want to retrieve a list of dataviews.
  2652. */
  2653. environmentId: EnvironmentId;
  2654. /**
  2655. * The name of the database where the dataviews were created.
  2656. */
  2657. databaseName: DatabaseName;
  2658. /**
  2659. * A token that indicates where a results page should begin.
  2660. */
  2661. nextToken?: PaginationToken;
  2662. /**
  2663. * The maximum number of results to return in this request.
  2664. */
  2665. maxResults?: MaxResults;
  2666. }
  2667. export interface ListKxDataviewsResponse {
  2668. /**
  2669. * The list of kdb dataviews that are currently active for the given database.
  2670. */
  2671. kxDataviews?: KxDataviews;
  2672. /**
  2673. * A token that indicates where a results page should begin.
  2674. */
  2675. nextToken?: PaginationToken;
  2676. }
  2677. export interface ListKxEnvironmentsRequest {
  2678. /**
  2679. * A token that indicates where a results page should begin.
  2680. */
  2681. nextToken?: PaginationToken;
  2682. /**
  2683. * The maximum number of results to return in this request.
  2684. */
  2685. maxResults?: BoxedInteger;
  2686. }
  2687. export interface ListKxEnvironmentsResponse {
  2688. /**
  2689. * A list of environments in an account.
  2690. */
  2691. environments?: KxEnvironmentList;
  2692. /**
  2693. * A token that indicates where a results page should begin.
  2694. */
  2695. nextToken?: PaginationToken;
  2696. }
  2697. export interface ListKxScalingGroupsRequest {
  2698. /**
  2699. * A unique identifier for the kdb environment, for which you want to retrieve a list of scaling groups.
  2700. */
  2701. environmentId: KxEnvironmentId;
  2702. /**
  2703. * The maximum number of results to return in this request.
  2704. */
  2705. maxResults?: MaxResults;
  2706. /**
  2707. * A token that indicates where a results page should begin.
  2708. */
  2709. nextToken?: PaginationToken;
  2710. }
  2711. export interface ListKxScalingGroupsResponse {
  2712. /**
  2713. * A list of scaling groups available in a kdb environment.
  2714. */
  2715. scalingGroups?: KxScalingGroupList;
  2716. /**
  2717. * A token that indicates where a results page should begin.
  2718. */
  2719. nextToken?: PaginationToken;
  2720. }
  2721. export interface ListKxUsersRequest {
  2722. /**
  2723. * A unique identifier for the kdb environment.
  2724. */
  2725. environmentId: IdType;
  2726. /**
  2727. * A token that indicates where a results page should begin.
  2728. */
  2729. nextToken?: PaginationToken;
  2730. /**
  2731. * The maximum number of results to return in this request.
  2732. */
  2733. maxResults?: ResultLimit;
  2734. }
  2735. export interface ListKxUsersResponse {
  2736. /**
  2737. * A list of users in a kdb environment.
  2738. */
  2739. users?: KxUserList;
  2740. /**
  2741. * A token that indicates where a results page should begin.
  2742. */
  2743. nextToken?: PaginationToken;
  2744. }
  2745. export interface ListKxVolumesRequest {
  2746. /**
  2747. * A unique identifier for the kdb environment, whose clusters can attach to the volume.
  2748. */
  2749. environmentId: KxEnvironmentId;
  2750. /**
  2751. * The maximum number of results to return in this request.
  2752. */
  2753. maxResults?: MaxResults;
  2754. /**
  2755. * A token that indicates where a results page should begin.
  2756. */
  2757. nextToken?: PaginationToken;
  2758. /**
  2759. * The type of file system volume. Currently, FinSpace only supports NAS_1 volume type.
  2760. */
  2761. volumeType?: KxVolumeType;
  2762. }
  2763. export interface ListKxVolumesResponse {
  2764. /**
  2765. * A summary of volumes.
  2766. */
  2767. kxVolumeSummaries?: KxVolumes;
  2768. /**
  2769. * A token that indicates where a results page should begin.
  2770. */
  2771. nextToken?: PaginationToken;
  2772. }
  2773. export interface ListTagsForResourceRequest {
  2774. /**
  2775. * The Amazon Resource Name of the resource.
  2776. */
  2777. resourceArn: FinSpaceTaggableArn;
  2778. }
  2779. export interface ListTagsForResourceResponse {
  2780. /**
  2781. * A list of all tags for a resource.
  2782. */
  2783. tags?: TagMap;
  2784. }
  2785. export type MaxResults = number;
  2786. export type MemoryMib = number;
  2787. export type NameString = string;
  2788. export type NetworkACLConfiguration = NetworkACLEntry[];
  2789. export interface NetworkACLEntry {
  2790. /**
  2791. * The rule number for the entry. For example 100. All the network ACL entries are processed in ascending order by rule number.
  2792. */
  2793. ruleNumber: RuleNumber;
  2794. /**
  2795. * The protocol number. A value of -1 means all the protocols.
  2796. */
  2797. protocol: Protocol;
  2798. /**
  2799. * Indicates whether to allow or deny the traffic that matches the rule.
  2800. */
  2801. ruleAction: RuleAction;
  2802. /**
  2803. * The range of ports the rule applies to.
  2804. */
  2805. portRange?: PortRange;
  2806. /**
  2807. * Defines the ICMP protocol that consists of the ICMP type and code.
  2808. */
  2809. icmpTypeCode?: IcmpTypeCode;
  2810. /**
  2811. * The IPv4 network range to allow or deny, in CIDR notation. For example, 172.16.0.0/24. We modify the specified CIDR block to its canonical form. For example, if you specify 100.68.0.18/18, we modify it to 100.68.0.0/18.
  2812. */
  2813. cidrBlock: ValidCIDRBlock;
  2814. }
  2815. export type NodeCount = number;
  2816. export type NodeType = string;
  2817. export type PaginationToken = string;
  2818. export type Port = number;
  2819. export interface PortRange {
  2820. /**
  2821. * The first port in the range.
  2822. */
  2823. from: Port;
  2824. /**
  2825. * The last port in the range.
  2826. */
  2827. to: Port;
  2828. }
  2829. export type Protocol = string;
  2830. export type ReleaseLabel = string;
  2831. export type ResultLimit = number;
  2832. export type RoleArn = string;
  2833. export type RuleAction = "allow"|"deny"|string;
  2834. export type RuleNumber = number;
  2835. export type S3Bucket = string;
  2836. export type S3Key = string;
  2837. export type S3ObjectVersion = string;
  2838. export type S3Path = string;
  2839. export type SamlMetadataDocument = string;
  2840. export type SecurityGroupIdList = SecurityGroupIdString[];
  2841. export type SecurityGroupIdString = string;
  2842. export type SegmentConfigurationDbPathList = DbPath[];
  2843. export type SignedKxConnectionString = string;
  2844. export type SmsDomainUrl = string;
  2845. export type SubnetIdList = SubnetIdString[];
  2846. export type SubnetIdString = string;
  2847. export interface SuperuserParameters {
  2848. /**
  2849. * The email address of the superuser.
  2850. */
  2851. emailAddress: EmailId;
  2852. /**
  2853. * The first name of the superuser.
  2854. */
  2855. firstName: NameString;
  2856. /**
  2857. * The last name of the superuser.
  2858. */
  2859. lastName: NameString;
  2860. }
  2861. export type TagKey = string;
  2862. export type TagKeyList = TagKey[];
  2863. export type TagMap = {[key: string]: TagValue};
  2864. export interface TagResourceRequest {
  2865. /**
  2866. * The Amazon Resource Name (ARN) for the resource.
  2867. */
  2868. resourceArn: FinSpaceTaggableArn;
  2869. /**
  2870. * One or more tags to be assigned to the resource.
  2871. */
  2872. tags: TagMap;
  2873. }
  2874. export interface TagResourceResponse {
  2875. }
  2876. export type TagValue = string;
  2877. export interface TickerplantLogConfiguration {
  2878. /**
  2879. * The name of the volumes for tickerplant logs.
  2880. */
  2881. tickerplantLogVolumes?: TickerplantLogVolumes;
  2882. }
  2883. export type TickerplantLogVolumes = VolumeName[];
  2884. export type Timestamp = Date;
  2885. export interface TransitGatewayConfiguration {
  2886. /**
  2887. * The identifier of the transit gateway created by the customer to connect outbound traffics from kdb network to your internal network.
  2888. */
  2889. transitGatewayID: TransitGatewayID;
  2890. /**
  2891. * The routing CIDR on behalf of kdb environment. It could be any "/26 range in the 100.64.0.0 CIDR space. After providing, it will be added to the customer's transit gateway routing table so that the traffics could be routed to kdb network.
  2892. */
  2893. routableCIDRSpace: ValidCIDRSpace;
  2894. /**
  2895. * The rules that define how you manage the outbound traffic from kdb network to your internal network.
  2896. */
  2897. attachmentNetworkAclConfiguration?: NetworkACLConfiguration;
  2898. }
  2899. export type TransitGatewayID = string;
  2900. export interface UntagResourceRequest {
  2901. /**
  2902. * A FinSpace resource from which you want to remove a tag or tags. The value for this parameter is an Amazon Resource Name (ARN).
  2903. */
  2904. resourceArn: FinSpaceTaggableArn;
  2905. /**
  2906. * The tag keys (names) of one or more tags to be removed.
  2907. */
  2908. tagKeys: TagKeyList;
  2909. }
  2910. export interface UntagResourceResponse {
  2911. }
  2912. export interface UpdateEnvironmentRequest {
  2913. /**
  2914. * The identifier of the FinSpace environment.
  2915. */
  2916. environmentId: IdType;
  2917. /**
  2918. * The name of the environment.
  2919. */
  2920. name?: EnvironmentName;
  2921. /**
  2922. * The description of the environment.
  2923. */
  2924. description?: Description;
  2925. /**
  2926. * Authentication mode for the environment. FEDERATED - Users access FinSpace through Single Sign On (SSO) via your Identity provider. LOCAL - Users access FinSpace via email and password managed within the FinSpace environment.
  2927. */
  2928. federationMode?: FederationMode;
  2929. federationParameters?: FederationParameters;
  2930. }
  2931. export interface UpdateEnvironmentResponse {
  2932. /**
  2933. * Returns the FinSpace environment object.
  2934. */
  2935. environment?: Environment;
  2936. }
  2937. export interface UpdateKxClusterCodeConfigurationRequest {
  2938. /**
  2939. * A unique identifier of the kdb environment.
  2940. */
  2941. environmentId: KxEnvironmentId;
  2942. /**
  2943. * The name of the cluster.
  2944. */
  2945. clusterName: KxClusterName;
  2946. /**
  2947. * A token that ensures idempotency. This token expires in 10 minutes.
  2948. */
  2949. clientToken?: ClientTokenString;
  2950. code: CodeConfiguration;
  2951. /**
  2952. * Specifies a Q program that will be run at launch of a cluster. It is a relative path within .zip file that contains the custom code, which will be loaded on the cluster. It must include the file name itself. For example, somedir/init.q. You cannot update this parameter for a NO_RESTART deployment.
  2953. */
  2954. initializationScript?: InitializationScriptFilePath;
  2955. /**
  2956. * Specifies the key-value pairs to make them available inside the cluster. You cannot update this parameter for a NO_RESTART deployment.
  2957. */
  2958. commandLineArguments?: KxCommandLineArguments;
  2959. /**
  2960. * The configuration that allows you to choose how you want to update the code on a cluster.
  2961. */
  2962. deploymentConfiguration?: KxClusterCodeDeploymentConfiguration;
  2963. }
  2964. export interface UpdateKxClusterCodeConfigurationResponse {
  2965. }
  2966. export interface UpdateKxClusterDatabasesRequest {
  2967. /**
  2968. * The unique identifier of a kdb environment.
  2969. */
  2970. environmentId: KxEnvironmentId;
  2971. /**
  2972. * A unique name for the cluster that you want to modify.
  2973. */
  2974. clusterName: KxClusterName;
  2975. /**
  2976. * A token that ensures idempotency. This token expires in 10 minutes.
  2977. */
  2978. clientToken?: ClientTokenString;
  2979. /**
  2980. * The structure of databases mounted on the cluster.
  2981. */
  2982. databases: KxDatabaseConfigurations;
  2983. /**
  2984. * The configuration that allows you to choose how you want to update the databases on a cluster.
  2985. */
  2986. deploymentConfiguration?: KxDeploymentConfiguration;
  2987. }
  2988. export interface UpdateKxClusterDatabasesResponse {
  2989. }
  2990. export interface UpdateKxDatabaseRequest {
  2991. /**
  2992. * A unique identifier for the kdb environment.
  2993. */
  2994. environmentId: EnvironmentId;
  2995. /**
  2996. * The name of the kdb database.
  2997. */
  2998. databaseName: DatabaseName;
  2999. /**
  3000. * A description of the database.
  3001. */
  3002. description?: Description;
  3003. /**
  3004. * A token that ensures idempotency. This token expires in 10 minutes.
  3005. */
  3006. clientToken: ClientTokenString;
  3007. }
  3008. export interface UpdateKxDatabaseResponse {
  3009. /**
  3010. * The name of the kdb database.
  3011. */
  3012. databaseName?: DatabaseName;
  3013. /**
  3014. * A unique identifier for the kdb environment.
  3015. */
  3016. environmentId?: EnvironmentId;
  3017. /**
  3018. * A description of the database.
  3019. */
  3020. description?: Description;
  3021. /**
  3022. * The last time that the database was modified. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.
  3023. */
  3024. lastModifiedTimestamp?: Timestamp;
  3025. }
  3026. export interface UpdateKxDataviewRequest {
  3027. /**
  3028. * A unique identifier for the kdb environment, where you want to update the dataview.
  3029. */
  3030. environmentId: EnvironmentId;
  3031. /**
  3032. * The name of the database.
  3033. */
  3034. databaseName: DatabaseName;
  3035. /**
  3036. * The name of the dataview that you want to update.
  3037. */
  3038. dataviewName: KxDataviewName;
  3039. /**
  3040. * The description for a dataview.
  3041. */
  3042. description?: Description;
  3043. /**
  3044. * A unique identifier for the changeset.
  3045. */
  3046. changesetId?: ChangesetId;
  3047. /**
  3048. * The configuration that contains the database path of the data that you want to place on each selected volume. Each segment must have a unique database path for each volume. If you do not explicitly specify any database path for a volume, they are accessible from the cluster through the default S3/object store segment.
  3049. */
  3050. segmentConfigurations?: KxDataviewSegmentConfigurationList;
  3051. /**
  3052. * A token that ensures idempotency. This token expires in 10 minutes.
  3053. */
  3054. clientToken: ClientTokenString;
  3055. }
  3056. export interface UpdateKxDataviewResponse {
  3057. /**
  3058. * A unique identifier for the kdb environment, where you want to update the dataview.
  3059. */
  3060. environmentId?: EnvironmentId;
  3061. /**
  3062. * The name of the database.
  3063. */
  3064. databaseName?: DatabaseName;
  3065. /**
  3066. * The name of the database under which the dataview was created.
  3067. */
  3068. dataviewName?: KxDataviewName;
  3069. /**
  3070. * The number of availability zones you want to assign per volume. Currently, FinSpace only supports SINGLE for volumes. This places dataview in a single AZ.
  3071. */
  3072. azMode?: KxAzMode;
  3073. /**
  3074. * The identifier of the availability zones.
  3075. */
  3076. availabilityZoneId?: AvailabilityZoneId;
  3077. /**
  3078. * A unique identifier for the changeset.
  3079. */
  3080. changesetId?: ChangesetId;
  3081. /**
  3082. * The configuration that contains the database path of the data that you want to place on each selected volume. Each segment must have a unique database path for each volume. If you do not explicitly specify any database path for a volume, they are accessible from the cluster through the default S3/object store segment.
  3083. */
  3084. segmentConfigurations?: KxDataviewSegmentConfigurationList;
  3085. /**
  3086. * The current active changeset versions of the database on the given dataview.
  3087. */
  3088. activeVersions?: KxDataviewActiveVersionList;
  3089. /**
  3090. * The status of dataview creation. CREATING – The dataview creation is in progress. UPDATING – The dataview is in the process of being updated. ACTIVE – The dataview is active.
  3091. */
  3092. status?: KxDataviewStatus;
  3093. /**
  3094. * The option to specify whether you want to apply all the future additions and corrections automatically to the dataview when new changesets are ingested. The default value is false.
  3095. */
  3096. autoUpdate?: booleanValue;
  3097. /**
  3098. * Returns True if the dataview is created as writeable and False otherwise.
  3099. */
  3100. readWrite?: booleanValue;
  3101. /**
  3102. * A description of the dataview.
  3103. */
  3104. description?: Description;
  3105. /**
  3106. * The timestamp at which the dataview was created in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.
  3107. */
  3108. createdTimestamp?: Timestamp;
  3109. /**
  3110. * The last time that the dataview was updated in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.
  3111. */
  3112. lastModifiedTimestamp?: Timestamp;
  3113. }
  3114. export interface UpdateKxEnvironmentNetworkRequest {
  3115. /**
  3116. * A unique identifier for the kdb environment.
  3117. */
  3118. environmentId: IdType;
  3119. /**
  3120. * Specifies the transit gateway and network configuration to connect the kdb environment to an internal network.
  3121. */
  3122. transitGatewayConfiguration?: TransitGatewayConfiguration;
  3123. /**
  3124. * A list of DNS server name and server IP. This is used to set up Route-53 outbound resolvers.
  3125. */
  3126. customDNSConfiguration?: CustomDNSConfiguration;
  3127. /**
  3128. * A token that ensures idempotency. This token expires in 10 minutes.
  3129. */
  3130. clientToken?: ClientToken;
  3131. }
  3132. export interface UpdateKxEnvironmentNetworkResponse {
  3133. /**
  3134. * The name of the kdb environment.
  3135. */
  3136. name?: KxEnvironmentName;
  3137. /**
  3138. * A unique identifier for the kdb environment.
  3139. */
  3140. environmentId?: IdType;
  3141. /**
  3142. * The unique identifier of the AWS account that is used to create the kdb environment.
  3143. */
  3144. awsAccountId?: IdType;
  3145. /**
  3146. * The status of the kdb environment.
  3147. */
  3148. status?: EnvironmentStatus;
  3149. /**
  3150. * The status of the network configuration.
  3151. */
  3152. tgwStatus?: tgwStatus;
  3153. /**
  3154. * The status of DNS configuration.
  3155. */
  3156. dnsStatus?: dnsStatus;
  3157. /**
  3158. * Specifies the error message that appears if a flow fails.
  3159. */
  3160. errorMessage?: EnvironmentErrorMessage;
  3161. /**
  3162. * The description of the environment.
  3163. */
  3164. description?: Description;
  3165. /**
  3166. * The ARN identifier of the environment.
  3167. */
  3168. environmentArn?: EnvironmentArn;
  3169. /**
  3170. * The KMS key ID to encrypt your data in the FinSpace environment.
  3171. */
  3172. kmsKeyId?: KmsKeyId;
  3173. /**
  3174. * A unique identifier for the AWS environment infrastructure account.
  3175. */
  3176. dedicatedServiceAccountId?: IdType;
  3177. transitGatewayConfiguration?: TransitGatewayConfiguration;
  3178. /**
  3179. * A list of DNS server name and server IP. This is used to set up Route-53 outbound resolvers.
  3180. */
  3181. customDNSConfiguration?: CustomDNSConfiguration;
  3182. /**
  3183. * The timestamp at which the kdb environment was created in FinSpace.
  3184. */
  3185. creationTimestamp?: Timestamp;
  3186. /**
  3187. * The timestamp at which the kdb environment was updated.
  3188. */
  3189. updateTimestamp?: Timestamp;
  3190. /**
  3191. * The identifier of the availability zones where subnets for the environment are created.
  3192. */
  3193. availabilityZoneIds?: AvailabilityZoneIds;
  3194. }
  3195. export interface UpdateKxEnvironmentRequest {
  3196. /**
  3197. * A unique identifier for the kdb environment.
  3198. */
  3199. environmentId: IdType;
  3200. /**
  3201. * The name of the kdb environment.
  3202. */
  3203. name?: KxEnvironmentName;
  3204. /**
  3205. * A description of the kdb environment.
  3206. */
  3207. description?: Description;
  3208. /**
  3209. * A token that ensures idempotency. This token expires in 10 minutes.
  3210. */
  3211. clientToken?: ClientToken;
  3212. }
  3213. export interface UpdateKxEnvironmentResponse {
  3214. /**
  3215. * The name of the kdb environment.
  3216. */
  3217. name?: KxEnvironmentName;
  3218. /**
  3219. * A unique identifier for the kdb environment.
  3220. */
  3221. environmentId?: IdType;
  3222. /**
  3223. * The unique identifier of the AWS account that is used to create the kdb environment.
  3224. */
  3225. awsAccountId?: IdType;
  3226. /**
  3227. * The status of the kdb environment.
  3228. */
  3229. status?: EnvironmentStatus;
  3230. /**
  3231. * The status of the network configuration.
  3232. */
  3233. tgwStatus?: tgwStatus;
  3234. /**
  3235. * The status of DNS configuration.
  3236. */
  3237. dnsStatus?: dnsStatus;
  3238. /**
  3239. * Specifies the error message that appears if a flow fails.
  3240. */
  3241. errorMessage?: EnvironmentErrorMessage;
  3242. /**
  3243. * The description of the environment.
  3244. */
  3245. description?: Description;
  3246. /**
  3247. * The ARN identifier of the environment.
  3248. */
  3249. environmentArn?: EnvironmentArn;
  3250. /**
  3251. * The KMS key ID to encrypt your data in the FinSpace environment.
  3252. */
  3253. kmsKeyId?: KmsKeyId;
  3254. /**
  3255. * A unique identifier for the AWS environment infrastructure account.
  3256. */
  3257. dedicatedServiceAccountId?: IdType;
  3258. transitGatewayConfiguration?: TransitGatewayConfiguration;
  3259. /**
  3260. * A list of DNS server name and server IP. This is used to set up Route-53 outbound resolvers.
  3261. */
  3262. customDNSConfiguration?: CustomDNSConfiguration;
  3263. /**
  3264. * The timestamp at which the kdb environment was created in FinSpace.
  3265. */
  3266. creationTimestamp?: Timestamp;
  3267. /**
  3268. * The timestamp at which the kdb environment was updated.
  3269. */
  3270. updateTimestamp?: Timestamp;
  3271. /**
  3272. * The identifier of the availability zones where subnets for the environment are created.
  3273. */
  3274. availabilityZoneIds?: AvailabilityZoneIds;
  3275. }
  3276. export interface UpdateKxUserRequest {
  3277. /**
  3278. * A unique identifier for the kdb environment.
  3279. */
  3280. environmentId: IdType;
  3281. /**
  3282. * A unique identifier for the user.
  3283. */
  3284. userName: KxUserNameString;
  3285. /**
  3286. * The IAM role ARN that is associated with the user.
  3287. */
  3288. iamRole: RoleArn;
  3289. /**
  3290. * A token that ensures idempotency. This token expires in 10 minutes.
  3291. */
  3292. clientToken?: ClientToken;
  3293. }
  3294. export interface UpdateKxUserResponse {
  3295. /**
  3296. * A unique identifier for the user.
  3297. */
  3298. userName?: KxUserNameString;
  3299. /**
  3300. * The Amazon Resource Name (ARN) that identifies the user. For more information about ARNs and how to use ARNs in policies, see IAM Identifiers in the IAM User Guide.
  3301. */
  3302. userArn?: KxUserArn;
  3303. /**
  3304. * A unique identifier for the kdb environment.
  3305. */
  3306. environmentId?: IdType;
  3307. /**
  3308. * The IAM role ARN that is associated with the user.
  3309. */
  3310. iamRole?: RoleArn;
  3311. }
  3312. export interface UpdateKxVolumeRequest {
  3313. /**
  3314. * A unique identifier for the kdb environment where you created the storage volume.
  3315. */
  3316. environmentId: KxEnvironmentId;
  3317. /**
  3318. * A unique identifier for the volume.
  3319. */
  3320. volumeName: KxVolumeName;
  3321. /**
  3322. * A description of the volume.
  3323. */
  3324. description?: Description;
  3325. /**
  3326. * A token that ensures idempotency. This token expires in 10 minutes.
  3327. */
  3328. clientToken?: ClientTokenString;
  3329. /**
  3330. * Specifies the configuration for the Network attached storage (NAS_1) file system volume.
  3331. */
  3332. nas1Configuration?: KxNAS1Configuration;
  3333. }
  3334. export interface UpdateKxVolumeResponse {
  3335. /**
  3336. * A unique identifier for the kdb environment where you want to update the volume.
  3337. */
  3338. environmentId?: KxEnvironmentId;
  3339. /**
  3340. * A unique identifier for the volume that you want to update.
  3341. */
  3342. volumeName?: KxVolumeName;
  3343. /**
  3344. * The type of file system volume. Currently, FinSpace only supports NAS_1 volume type.
  3345. */
  3346. volumeType?: KxVolumeType;
  3347. /**
  3348. * The ARN identifier of the volume.
  3349. */
  3350. volumeArn?: KxVolumeArn;
  3351. /**
  3352. * Specifies the configuration for the Network attached storage (NAS_1) file system volume.
  3353. */
  3354. nas1Configuration?: KxNAS1Configuration;
  3355. /**
  3356. * The status of the volume. CREATING – The volume creation is in progress. CREATE_FAILED – The volume creation has failed. ACTIVE – The volume is active. UPDATING – The volume is in the process of being updated. UPDATE_FAILED – The update action failed. UPDATED – The volume is successfully updated. DELETING – The volume is in the process of being deleted. DELETE_FAILED – The system failed to delete the volume. DELETED – The volume is successfully deleted.
  3357. */
  3358. status?: KxVolumeStatus;
  3359. /**
  3360. * The description for the volume.
  3361. */
  3362. description?: Description;
  3363. /**
  3364. * The error message when a failed state occurs.
  3365. */
  3366. statusReason?: KxVolumeStatusReason;
  3367. /**
  3368. * The timestamp at which the volume was created in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.
  3369. */
  3370. createdTimestamp?: Timestamp;
  3371. /**
  3372. * The number of availability zones you want to assign per volume. Currently, FinSpace only supports SINGLE for volumes. This places dataview in a single AZ.
  3373. */
  3374. azMode?: KxAzMode;
  3375. /**
  3376. * The identifier of the availability zones.
  3377. */
  3378. availabilityZoneIds?: AvailabilityZoneIds;
  3379. /**
  3380. * The last time that the volume was updated in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.
  3381. */
  3382. lastModifiedTimestamp?: Timestamp;
  3383. /**
  3384. * Specifies the clusters that a volume is attached to.
  3385. */
  3386. attachedClusters?: KxAttachedClusters;
  3387. }
  3388. export type ValidCIDRBlock = string;
  3389. export type ValidCIDRSpace = string;
  3390. export type ValidHostname = string;
  3391. export type ValidIPAddress = string;
  3392. export type VersionId = string;
  3393. export interface Volume {
  3394. /**
  3395. * A unique identifier for the volume.
  3396. */
  3397. volumeName?: VolumeName;
  3398. /**
  3399. * The type of file system volume. Currently, FinSpace only supports NAS_1 volume type.
  3400. */
  3401. volumeType?: VolumeType;
  3402. }
  3403. export type VolumeName = string;
  3404. export type VolumeType = "NAS_1"|string;
  3405. export type Volumes = Volume[];
  3406. export interface VpcConfiguration {
  3407. /**
  3408. * The identifier of the VPC endpoint.
  3409. */
  3410. vpcId?: VpcIdString;
  3411. /**
  3412. * The unique identifier of the VPC security group applied to the VPC endpoint ENI for the cluster.
  3413. */
  3414. securityGroupIds?: SecurityGroupIdList;
  3415. /**
  3416. * The identifier of the subnet that the Privatelink VPC endpoint uses to connect to the cluster.
  3417. */
  3418. subnetIds?: SubnetIdList;
  3419. /**
  3420. * The IP address type for cluster network configuration parameters. The following type is available: IP_V4 – IP address version 4
  3421. */
  3422. ipAddressType?: IPAddressType;
  3423. }
  3424. export type VpcIdString = string;
  3425. export type arn = string;
  3426. export type booleanValue = boolean;
  3427. export type dnsStatus = "NONE"|"UPDATE_REQUESTED"|"UPDATING"|"FAILED_UPDATE"|"SUCCESSFULLY_UPDATED"|string;
  3428. export type numBytes = number;
  3429. export type numChangesets = number;
  3430. export type numFiles = number;
  3431. export type stringValueLength1to255 = string;
  3432. export type tgwStatus = "NONE"|"UPDATE_REQUESTED"|"UPDATING"|"FAILED_UPDATE"|"SUCCESSFULLY_UPDATED"|string;
  3433. export type url = string;
  3434. export type urn = string;
  3435. /**
  3436. * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version.
  3437. */
  3438. export type apiVersion = "2021-03-12"|"latest"|string;
  3439. export interface ClientApiVersions {
  3440. /**
  3441. * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version.
  3442. */
  3443. apiVersion?: apiVersion;
  3444. }
  3445. export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions;
  3446. /**
  3447. * Contains interfaces for use with the Finspace client.
  3448. */
  3449. export import Types = Finspace;
  3450. }
  3451. export = Finspace;