finspacedata.d.ts 74 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658
  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 Finspacedata extends Service {
  9. /**
  10. * Constructs a service object. This object has one method for each API operation.
  11. */
  12. constructor(options?: Finspacedata.Types.ClientConfiguration)
  13. config: Config & Finspacedata.Types.ClientConfiguration;
  14. /**
  15. * Adds a user to a permission group to grant permissions for actions a user can perform in FinSpace.
  16. */
  17. associateUserToPermissionGroup(params: Finspacedata.Types.AssociateUserToPermissionGroupRequest, callback?: (err: AWSError, data: Finspacedata.Types.AssociateUserToPermissionGroupResponse) => void): Request<Finspacedata.Types.AssociateUserToPermissionGroupResponse, AWSError>;
  18. /**
  19. * Adds a user to a permission group to grant permissions for actions a user can perform in FinSpace.
  20. */
  21. associateUserToPermissionGroup(callback?: (err: AWSError, data: Finspacedata.Types.AssociateUserToPermissionGroupResponse) => void): Request<Finspacedata.Types.AssociateUserToPermissionGroupResponse, AWSError>;
  22. /**
  23. * Creates a new Changeset in a FinSpace Dataset.
  24. */
  25. createChangeset(params: Finspacedata.Types.CreateChangesetRequest, callback?: (err: AWSError, data: Finspacedata.Types.CreateChangesetResponse) => void): Request<Finspacedata.Types.CreateChangesetResponse, AWSError>;
  26. /**
  27. * Creates a new Changeset in a FinSpace Dataset.
  28. */
  29. createChangeset(callback?: (err: AWSError, data: Finspacedata.Types.CreateChangesetResponse) => void): Request<Finspacedata.Types.CreateChangesetResponse, AWSError>;
  30. /**
  31. * Creates a Dataview for a Dataset.
  32. */
  33. createDataView(params: Finspacedata.Types.CreateDataViewRequest, callback?: (err: AWSError, data: Finspacedata.Types.CreateDataViewResponse) => void): Request<Finspacedata.Types.CreateDataViewResponse, AWSError>;
  34. /**
  35. * Creates a Dataview for a Dataset.
  36. */
  37. createDataView(callback?: (err: AWSError, data: Finspacedata.Types.CreateDataViewResponse) => void): Request<Finspacedata.Types.CreateDataViewResponse, AWSError>;
  38. /**
  39. * Creates a new FinSpace Dataset.
  40. */
  41. createDataset(params: Finspacedata.Types.CreateDatasetRequest, callback?: (err: AWSError, data: Finspacedata.Types.CreateDatasetResponse) => void): Request<Finspacedata.Types.CreateDatasetResponse, AWSError>;
  42. /**
  43. * Creates a new FinSpace Dataset.
  44. */
  45. createDataset(callback?: (err: AWSError, data: Finspacedata.Types.CreateDatasetResponse) => void): Request<Finspacedata.Types.CreateDatasetResponse, AWSError>;
  46. /**
  47. * Creates a group of permissions for various actions that a user can perform in FinSpace.
  48. */
  49. createPermissionGroup(params: Finspacedata.Types.CreatePermissionGroupRequest, callback?: (err: AWSError, data: Finspacedata.Types.CreatePermissionGroupResponse) => void): Request<Finspacedata.Types.CreatePermissionGroupResponse, AWSError>;
  50. /**
  51. * Creates a group of permissions for various actions that a user can perform in FinSpace.
  52. */
  53. createPermissionGroup(callback?: (err: AWSError, data: Finspacedata.Types.CreatePermissionGroupResponse) => void): Request<Finspacedata.Types.CreatePermissionGroupResponse, AWSError>;
  54. /**
  55. * Creates a new user in FinSpace.
  56. */
  57. createUser(params: Finspacedata.Types.CreateUserRequest, callback?: (err: AWSError, data: Finspacedata.Types.CreateUserResponse) => void): Request<Finspacedata.Types.CreateUserResponse, AWSError>;
  58. /**
  59. * Creates a new user in FinSpace.
  60. */
  61. createUser(callback?: (err: AWSError, data: Finspacedata.Types.CreateUserResponse) => void): Request<Finspacedata.Types.CreateUserResponse, AWSError>;
  62. /**
  63. * Deletes a FinSpace Dataset.
  64. */
  65. deleteDataset(params: Finspacedata.Types.DeleteDatasetRequest, callback?: (err: AWSError, data: Finspacedata.Types.DeleteDatasetResponse) => void): Request<Finspacedata.Types.DeleteDatasetResponse, AWSError>;
  66. /**
  67. * Deletes a FinSpace Dataset.
  68. */
  69. deleteDataset(callback?: (err: AWSError, data: Finspacedata.Types.DeleteDatasetResponse) => void): Request<Finspacedata.Types.DeleteDatasetResponse, AWSError>;
  70. /**
  71. * Deletes a permission group. This action is irreversible.
  72. */
  73. deletePermissionGroup(params: Finspacedata.Types.DeletePermissionGroupRequest, callback?: (err: AWSError, data: Finspacedata.Types.DeletePermissionGroupResponse) => void): Request<Finspacedata.Types.DeletePermissionGroupResponse, AWSError>;
  74. /**
  75. * Deletes a permission group. This action is irreversible.
  76. */
  77. deletePermissionGroup(callback?: (err: AWSError, data: Finspacedata.Types.DeletePermissionGroupResponse) => void): Request<Finspacedata.Types.DeletePermissionGroupResponse, AWSError>;
  78. /**
  79. * Denies access to the FinSpace web application and API for the specified user.
  80. */
  81. disableUser(params: Finspacedata.Types.DisableUserRequest, callback?: (err: AWSError, data: Finspacedata.Types.DisableUserResponse) => void): Request<Finspacedata.Types.DisableUserResponse, AWSError>;
  82. /**
  83. * Denies access to the FinSpace web application and API for the specified user.
  84. */
  85. disableUser(callback?: (err: AWSError, data: Finspacedata.Types.DisableUserResponse) => void): Request<Finspacedata.Types.DisableUserResponse, AWSError>;
  86. /**
  87. * Removes a user from a permission group.
  88. */
  89. disassociateUserFromPermissionGroup(params: Finspacedata.Types.DisassociateUserFromPermissionGroupRequest, callback?: (err: AWSError, data: Finspacedata.Types.DisassociateUserFromPermissionGroupResponse) => void): Request<Finspacedata.Types.DisassociateUserFromPermissionGroupResponse, AWSError>;
  90. /**
  91. * Removes a user from a permission group.
  92. */
  93. disassociateUserFromPermissionGroup(callback?: (err: AWSError, data: Finspacedata.Types.DisassociateUserFromPermissionGroupResponse) => void): Request<Finspacedata.Types.DisassociateUserFromPermissionGroupResponse, AWSError>;
  94. /**
  95. * Allows the specified user to access the FinSpace web application and API.
  96. */
  97. enableUser(params: Finspacedata.Types.EnableUserRequest, callback?: (err: AWSError, data: Finspacedata.Types.EnableUserResponse) => void): Request<Finspacedata.Types.EnableUserResponse, AWSError>;
  98. /**
  99. * Allows the specified user to access the FinSpace web application and API.
  100. */
  101. enableUser(callback?: (err: AWSError, data: Finspacedata.Types.EnableUserResponse) => void): Request<Finspacedata.Types.EnableUserResponse, AWSError>;
  102. /**
  103. * Get information about a Changeset.
  104. */
  105. getChangeset(params: Finspacedata.Types.GetChangesetRequest, callback?: (err: AWSError, data: Finspacedata.Types.GetChangesetResponse) => void): Request<Finspacedata.Types.GetChangesetResponse, AWSError>;
  106. /**
  107. * Get information about a Changeset.
  108. */
  109. getChangeset(callback?: (err: AWSError, data: Finspacedata.Types.GetChangesetResponse) => void): Request<Finspacedata.Types.GetChangesetResponse, AWSError>;
  110. /**
  111. * Gets information about a Dataview.
  112. */
  113. getDataView(params: Finspacedata.Types.GetDataViewRequest, callback?: (err: AWSError, data: Finspacedata.Types.GetDataViewResponse) => void): Request<Finspacedata.Types.GetDataViewResponse, AWSError>;
  114. /**
  115. * Gets information about a Dataview.
  116. */
  117. getDataView(callback?: (err: AWSError, data: Finspacedata.Types.GetDataViewResponse) => void): Request<Finspacedata.Types.GetDataViewResponse, AWSError>;
  118. /**
  119. * Returns information about a Dataset.
  120. */
  121. getDataset(params: Finspacedata.Types.GetDatasetRequest, callback?: (err: AWSError, data: Finspacedata.Types.GetDatasetResponse) => void): Request<Finspacedata.Types.GetDatasetResponse, AWSError>;
  122. /**
  123. * Returns information about a Dataset.
  124. */
  125. getDataset(callback?: (err: AWSError, data: Finspacedata.Types.GetDatasetResponse) => void): Request<Finspacedata.Types.GetDatasetResponse, AWSError>;
  126. /**
  127. * Returns the credentials to access the external Dataview from an S3 location. To call this API: You must retrieve the programmatic credentials. You must be a member of a FinSpace user group, where the dataset that you want to access has Read Dataset Data permissions.
  128. */
  129. getExternalDataViewAccessDetails(params: Finspacedata.Types.GetExternalDataViewAccessDetailsRequest, callback?: (err: AWSError, data: Finspacedata.Types.GetExternalDataViewAccessDetailsResponse) => void): Request<Finspacedata.Types.GetExternalDataViewAccessDetailsResponse, AWSError>;
  130. /**
  131. * Returns the credentials to access the external Dataview from an S3 location. To call this API: You must retrieve the programmatic credentials. You must be a member of a FinSpace user group, where the dataset that you want to access has Read Dataset Data permissions.
  132. */
  133. getExternalDataViewAccessDetails(callback?: (err: AWSError, data: Finspacedata.Types.GetExternalDataViewAccessDetailsResponse) => void): Request<Finspacedata.Types.GetExternalDataViewAccessDetailsResponse, AWSError>;
  134. /**
  135. * Retrieves the details of a specific permission group.
  136. */
  137. getPermissionGroup(params: Finspacedata.Types.GetPermissionGroupRequest, callback?: (err: AWSError, data: Finspacedata.Types.GetPermissionGroupResponse) => void): Request<Finspacedata.Types.GetPermissionGroupResponse, AWSError>;
  138. /**
  139. * Retrieves the details of a specific permission group.
  140. */
  141. getPermissionGroup(callback?: (err: AWSError, data: Finspacedata.Types.GetPermissionGroupResponse) => void): Request<Finspacedata.Types.GetPermissionGroupResponse, AWSError>;
  142. /**
  143. * Request programmatic credentials to use with FinSpace SDK. For more information, see Step 2. Access credentials programmatically using IAM access key id and secret access key.
  144. */
  145. getProgrammaticAccessCredentials(params: Finspacedata.Types.GetProgrammaticAccessCredentialsRequest, callback?: (err: AWSError, data: Finspacedata.Types.GetProgrammaticAccessCredentialsResponse) => void): Request<Finspacedata.Types.GetProgrammaticAccessCredentialsResponse, AWSError>;
  146. /**
  147. * Request programmatic credentials to use with FinSpace SDK. For more information, see Step 2. Access credentials programmatically using IAM access key id and secret access key.
  148. */
  149. getProgrammaticAccessCredentials(callback?: (err: AWSError, data: Finspacedata.Types.GetProgrammaticAccessCredentialsResponse) => void): Request<Finspacedata.Types.GetProgrammaticAccessCredentialsResponse, AWSError>;
  150. /**
  151. * Retrieves details for a specific user.
  152. */
  153. getUser(params: Finspacedata.Types.GetUserRequest, callback?: (err: AWSError, data: Finspacedata.Types.GetUserResponse) => void): Request<Finspacedata.Types.GetUserResponse, AWSError>;
  154. /**
  155. * Retrieves details for a specific user.
  156. */
  157. getUser(callback?: (err: AWSError, data: Finspacedata.Types.GetUserResponse) => void): Request<Finspacedata.Types.GetUserResponse, AWSError>;
  158. /**
  159. * A temporary Amazon S3 location, where you can copy your files from a source location to stage or use as a scratch space in FinSpace notebook.
  160. */
  161. getWorkingLocation(params: Finspacedata.Types.GetWorkingLocationRequest, callback?: (err: AWSError, data: Finspacedata.Types.GetWorkingLocationResponse) => void): Request<Finspacedata.Types.GetWorkingLocationResponse, AWSError>;
  162. /**
  163. * A temporary Amazon S3 location, where you can copy your files from a source location to stage or use as a scratch space in FinSpace notebook.
  164. */
  165. getWorkingLocation(callback?: (err: AWSError, data: Finspacedata.Types.GetWorkingLocationResponse) => void): Request<Finspacedata.Types.GetWorkingLocationResponse, AWSError>;
  166. /**
  167. * Lists the FinSpace Changesets for a Dataset.
  168. */
  169. listChangesets(params: Finspacedata.Types.ListChangesetsRequest, callback?: (err: AWSError, data: Finspacedata.Types.ListChangesetsResponse) => void): Request<Finspacedata.Types.ListChangesetsResponse, AWSError>;
  170. /**
  171. * Lists the FinSpace Changesets for a Dataset.
  172. */
  173. listChangesets(callback?: (err: AWSError, data: Finspacedata.Types.ListChangesetsResponse) => void): Request<Finspacedata.Types.ListChangesetsResponse, AWSError>;
  174. /**
  175. * Lists all available Dataviews for a Dataset.
  176. */
  177. listDataViews(params: Finspacedata.Types.ListDataViewsRequest, callback?: (err: AWSError, data: Finspacedata.Types.ListDataViewsResponse) => void): Request<Finspacedata.Types.ListDataViewsResponse, AWSError>;
  178. /**
  179. * Lists all available Dataviews for a Dataset.
  180. */
  181. listDataViews(callback?: (err: AWSError, data: Finspacedata.Types.ListDataViewsResponse) => void): Request<Finspacedata.Types.ListDataViewsResponse, AWSError>;
  182. /**
  183. * Lists all of the active Datasets that a user has access to.
  184. */
  185. listDatasets(params: Finspacedata.Types.ListDatasetsRequest, callback?: (err: AWSError, data: Finspacedata.Types.ListDatasetsResponse) => void): Request<Finspacedata.Types.ListDatasetsResponse, AWSError>;
  186. /**
  187. * Lists all of the active Datasets that a user has access to.
  188. */
  189. listDatasets(callback?: (err: AWSError, data: Finspacedata.Types.ListDatasetsResponse) => void): Request<Finspacedata.Types.ListDatasetsResponse, AWSError>;
  190. /**
  191. * Lists all available permission groups in FinSpace.
  192. */
  193. listPermissionGroups(params: Finspacedata.Types.ListPermissionGroupsRequest, callback?: (err: AWSError, data: Finspacedata.Types.ListPermissionGroupsResponse) => void): Request<Finspacedata.Types.ListPermissionGroupsResponse, AWSError>;
  194. /**
  195. * Lists all available permission groups in FinSpace.
  196. */
  197. listPermissionGroups(callback?: (err: AWSError, data: Finspacedata.Types.ListPermissionGroupsResponse) => void): Request<Finspacedata.Types.ListPermissionGroupsResponse, AWSError>;
  198. /**
  199. * Lists all the permission groups that are associated with a specific user.
  200. */
  201. listPermissionGroupsByUser(params: Finspacedata.Types.ListPermissionGroupsByUserRequest, callback?: (err: AWSError, data: Finspacedata.Types.ListPermissionGroupsByUserResponse) => void): Request<Finspacedata.Types.ListPermissionGroupsByUserResponse, AWSError>;
  202. /**
  203. * Lists all the permission groups that are associated with a specific user.
  204. */
  205. listPermissionGroupsByUser(callback?: (err: AWSError, data: Finspacedata.Types.ListPermissionGroupsByUserResponse) => void): Request<Finspacedata.Types.ListPermissionGroupsByUserResponse, AWSError>;
  206. /**
  207. * Lists all available users in FinSpace.
  208. */
  209. listUsers(params: Finspacedata.Types.ListUsersRequest, callback?: (err: AWSError, data: Finspacedata.Types.ListUsersResponse) => void): Request<Finspacedata.Types.ListUsersResponse, AWSError>;
  210. /**
  211. * Lists all available users in FinSpace.
  212. */
  213. listUsers(callback?: (err: AWSError, data: Finspacedata.Types.ListUsersResponse) => void): Request<Finspacedata.Types.ListUsersResponse, AWSError>;
  214. /**
  215. * Lists details of all the users in a specific permission group.
  216. */
  217. listUsersByPermissionGroup(params: Finspacedata.Types.ListUsersByPermissionGroupRequest, callback?: (err: AWSError, data: Finspacedata.Types.ListUsersByPermissionGroupResponse) => void): Request<Finspacedata.Types.ListUsersByPermissionGroupResponse, AWSError>;
  218. /**
  219. * Lists details of all the users in a specific permission group.
  220. */
  221. listUsersByPermissionGroup(callback?: (err: AWSError, data: Finspacedata.Types.ListUsersByPermissionGroupResponse) => void): Request<Finspacedata.Types.ListUsersByPermissionGroupResponse, AWSError>;
  222. /**
  223. * Resets the password for a specified user ID and generates a temporary one. Only a superuser can reset password for other users. Resetting the password immediately invalidates the previous password associated with the user.
  224. */
  225. resetUserPassword(params: Finspacedata.Types.ResetUserPasswordRequest, callback?: (err: AWSError, data: Finspacedata.Types.ResetUserPasswordResponse) => void): Request<Finspacedata.Types.ResetUserPasswordResponse, AWSError>;
  226. /**
  227. * Resets the password for a specified user ID and generates a temporary one. Only a superuser can reset password for other users. Resetting the password immediately invalidates the previous password associated with the user.
  228. */
  229. resetUserPassword(callback?: (err: AWSError, data: Finspacedata.Types.ResetUserPasswordResponse) => void): Request<Finspacedata.Types.ResetUserPasswordResponse, AWSError>;
  230. /**
  231. * Updates a FinSpace Changeset.
  232. */
  233. updateChangeset(params: Finspacedata.Types.UpdateChangesetRequest, callback?: (err: AWSError, data: Finspacedata.Types.UpdateChangesetResponse) => void): Request<Finspacedata.Types.UpdateChangesetResponse, AWSError>;
  234. /**
  235. * Updates a FinSpace Changeset.
  236. */
  237. updateChangeset(callback?: (err: AWSError, data: Finspacedata.Types.UpdateChangesetResponse) => void): Request<Finspacedata.Types.UpdateChangesetResponse, AWSError>;
  238. /**
  239. * Updates a FinSpace Dataset.
  240. */
  241. updateDataset(params: Finspacedata.Types.UpdateDatasetRequest, callback?: (err: AWSError, data: Finspacedata.Types.UpdateDatasetResponse) => void): Request<Finspacedata.Types.UpdateDatasetResponse, AWSError>;
  242. /**
  243. * Updates a FinSpace Dataset.
  244. */
  245. updateDataset(callback?: (err: AWSError, data: Finspacedata.Types.UpdateDatasetResponse) => void): Request<Finspacedata.Types.UpdateDatasetResponse, AWSError>;
  246. /**
  247. * Modifies the details of a permission group. You cannot modify a permissionGroupID.
  248. */
  249. updatePermissionGroup(params: Finspacedata.Types.UpdatePermissionGroupRequest, callback?: (err: AWSError, data: Finspacedata.Types.UpdatePermissionGroupResponse) => void): Request<Finspacedata.Types.UpdatePermissionGroupResponse, AWSError>;
  250. /**
  251. * Modifies the details of a permission group. You cannot modify a permissionGroupID.
  252. */
  253. updatePermissionGroup(callback?: (err: AWSError, data: Finspacedata.Types.UpdatePermissionGroupResponse) => void): Request<Finspacedata.Types.UpdatePermissionGroupResponse, AWSError>;
  254. /**
  255. * Modifies the details of the specified user. You cannot update the userId for a user.
  256. */
  257. updateUser(params: Finspacedata.Types.UpdateUserRequest, callback?: (err: AWSError, data: Finspacedata.Types.UpdateUserResponse) => void): Request<Finspacedata.Types.UpdateUserResponse, AWSError>;
  258. /**
  259. * Modifies the details of the specified user. You cannot update the userId for a user.
  260. */
  261. updateUser(callback?: (err: AWSError, data: Finspacedata.Types.UpdateUserResponse) => void): Request<Finspacedata.Types.UpdateUserResponse, AWSError>;
  262. }
  263. declare namespace Finspacedata {
  264. export type AccessKeyId = string;
  265. export type AliasString = string;
  266. export type ApiAccess = "ENABLED"|"DISABLED"|string;
  267. export type ApplicationPermission = "CreateDataset"|"ManageClusters"|"ManageUsersAndGroups"|"ManageAttributeSets"|"ViewAuditData"|"AccessNotebooks"|"GetTemporaryCredentials"|string;
  268. export type ApplicationPermissionList = ApplicationPermission[];
  269. export interface AssociateUserToPermissionGroupRequest {
  270. /**
  271. * The unique identifier for the permission group.
  272. */
  273. permissionGroupId: PermissionGroupId;
  274. /**
  275. * The unique identifier for the user.
  276. */
  277. userId: UserId;
  278. /**
  279. * A token that ensures idempotency. This token expires in 10 minutes.
  280. */
  281. clientToken?: ClientToken;
  282. }
  283. export interface AssociateUserToPermissionGroupResponse {
  284. /**
  285. * The returned status code of the response.
  286. */
  287. statusCode?: StatusCode;
  288. }
  289. export interface AwsCredentials {
  290. /**
  291. * The unique identifier for the security credentials.
  292. */
  293. accessKeyId?: AccessKeyId;
  294. /**
  295. * The secret access key that can be used to sign requests.
  296. */
  297. secretAccessKey?: SecretAccessKey;
  298. /**
  299. * The token that users must pass to use the credentials.
  300. */
  301. sessionToken?: SessionToken;
  302. /**
  303. * The Epoch time when the current credentials expire.
  304. */
  305. expiration?: TimestampEpoch;
  306. }
  307. export type Boolean = boolean;
  308. export type ChangeType = "REPLACE"|"APPEND"|"MODIFY"|string;
  309. export type ChangesetArn = string;
  310. export interface ChangesetErrorInfo {
  311. /**
  312. * The text of the error message.
  313. */
  314. errorMessage?: ErrorMessage;
  315. /**
  316. * The category of the error. VALIDATION – The inputs to this request are invalid. SERVICE_QUOTA_EXCEEDED – Service quotas have been exceeded. Please contact AWS support to increase quotas. ACCESS_DENIED – Missing required permission to perform this request. RESOURCE_NOT_FOUND – One or more inputs to this request were not found. THROTTLING – The system temporarily lacks sufficient resources to process the request. INTERNAL_SERVICE_EXCEPTION – An internal service error has occurred. CANCELLED – Cancelled. USER_RECOVERABLE – A user recoverable error has occurred.
  317. */
  318. errorCategory?: ErrorCategory;
  319. }
  320. export type ChangesetId = string;
  321. export type ChangesetList = ChangesetSummary[];
  322. export interface ChangesetSummary {
  323. /**
  324. * The unique identifier for a Changeset.
  325. */
  326. changesetId?: ChangesetId;
  327. /**
  328. * The ARN identifier of the Changeset.
  329. */
  330. changesetArn?: ChangesetArn;
  331. /**
  332. * The unique identifier for the FinSpace Dataset in which the Changeset is created.
  333. */
  334. datasetId?: DatasetId;
  335. /**
  336. * Type that indicates how a Changeset is applied to a Dataset. REPLACE – Changeset is considered as a replacement to all prior loaded Changesets. APPEND – Changeset is considered as an addition to the end of all prior loaded Changesets. MODIFY – Changeset is considered as a replacement to a specific prior ingested Changeset.
  337. */
  338. changeType?: ChangeType;
  339. /**
  340. * Options that define the location of the data being ingested.
  341. */
  342. sourceParams?: SourceParams;
  343. /**
  344. * Options that define the structure of the source file(s).
  345. */
  346. formatParams?: FormatParams;
  347. /**
  348. * 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.
  349. */
  350. createTime?: TimestampEpoch;
  351. /**
  352. * Status of the Changeset ingestion. PENDING – Changeset is pending creation. FAILED – Changeset creation has failed. SUCCESS – Changeset creation has succeeded. RUNNING – Changeset creation is running. STOP_REQUESTED – User requested Changeset creation to stop.
  353. */
  354. status?: IngestionStatus;
  355. /**
  356. * The structure with error messages.
  357. */
  358. errorInfo?: ChangesetErrorInfo;
  359. /**
  360. * Time until 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.
  361. */
  362. activeUntilTimestamp?: TimestampEpoch;
  363. /**
  364. * 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.
  365. */
  366. activeFromTimestamp?: TimestampEpoch;
  367. /**
  368. * The unique identifier of the Changeset that is updated.
  369. */
  370. updatesChangesetId?: ChangesetId;
  371. /**
  372. * The unique identifier of the updated Changeset.
  373. */
  374. updatedByChangesetId?: ChangesetId;
  375. }
  376. export type ClientToken = string;
  377. export type ColumnDataType = "STRING"|"CHAR"|"INTEGER"|"TINYINT"|"SMALLINT"|"BIGINT"|"FLOAT"|"DOUBLE"|"DATE"|"DATETIME"|"BOOLEAN"|"BINARY"|string;
  378. export interface ColumnDefinition {
  379. /**
  380. * Data type of a column. STRING – A String data type. CHAR – A char data type. INTEGER – An integer data type. TINYINT – A tinyint data type. SMALLINT – A smallint data type. BIGINT – A bigint data type. FLOAT – A float data type. DOUBLE – A double data type. DATE – A date data type. DATETIME – A datetime data type. BOOLEAN – A boolean data type. BINARY – A binary data type.
  381. */
  382. dataType?: ColumnDataType;
  383. /**
  384. * The name of a column.
  385. */
  386. columnName?: ColumnName;
  387. /**
  388. * Description for a column.
  389. */
  390. columnDescription?: ColumnDescription;
  391. }
  392. export type ColumnDescription = string;
  393. export type ColumnList = ColumnDefinition[];
  394. export type ColumnName = string;
  395. export type ColumnNameList = ColumnName[];
  396. export interface CreateChangesetRequest {
  397. /**
  398. * A token that ensures idempotency. This token expires in 10 minutes.
  399. */
  400. clientToken?: ClientToken;
  401. /**
  402. * The unique identifier for the FinSpace Dataset where the Changeset will be created.
  403. */
  404. datasetId: DatasetId;
  405. /**
  406. * The option to indicate how a Changeset will be applied to a Dataset. REPLACE – Changeset will be considered as a replacement to all prior loaded Changesets. APPEND – Changeset will be considered as an addition to the end of all prior loaded Changesets. MODIFY – Changeset is considered as a replacement to a specific prior ingested Changeset.
  407. */
  408. changeType: ChangeType;
  409. /**
  410. * Options that define the location of the data being ingested (s3SourcePath) and the source of the changeset (sourceType). Both s3SourcePath and sourceType are required attributes. Here is an example of how you could specify the sourceParams: "sourceParams": { "s3SourcePath": "s3://finspace-landing-us-east-2-bk7gcfvitndqa6ebnvys4d/scratch/wr5hh8pwkpqqkxa4sxrmcw/ingestion/equity.csv", "sourceType": "S3" } The S3 path that you specify must allow the FinSpace role access. To do that, you first need to configure the IAM policy on S3 bucket. For more information, see Loading data from an Amazon S3 Bucket using the FinSpace API section.
  411. */
  412. sourceParams: SourceParams;
  413. /**
  414. * Options that define the structure of the source file(s) including the format type (formatType), header row (withHeader), data separation character (separator) and the type of compression (compression). formatType is a required attribute and can have the following values: PARQUET – Parquet source file format. CSV – CSV source file format. JSON – JSON source file format. XML – XML source file format. Here is an example of how you could specify the formatParams: "formatParams": { "formatType": "CSV", "withHeader": "true", "separator": ",", "compression":"None" } Note that if you only provide formatType as CSV, the rest of the attributes will automatically default to CSV values as following: { "withHeader": "true", "separator": "," } For more information about supported file formats, see Supported Data Types and File Formats in the FinSpace User Guide.
  415. */
  416. formatParams: FormatParams;
  417. }
  418. export interface CreateChangesetResponse {
  419. /**
  420. * The unique identifier for the FinSpace Dataset where the Changeset is created.
  421. */
  422. datasetId?: DatasetId;
  423. /**
  424. * The unique identifier of the Changeset that is created.
  425. */
  426. changesetId?: ChangesetId;
  427. }
  428. export interface CreateDataViewRequest {
  429. /**
  430. * A token that ensures idempotency. This token expires in 10 minutes.
  431. */
  432. clientToken?: ClientToken;
  433. /**
  434. * The unique Dataset identifier that is used to create a Dataview.
  435. */
  436. datasetId: DatasetId;
  437. /**
  438. * Flag to indicate Dataview should be updated automatically.
  439. */
  440. autoUpdate?: Boolean;
  441. /**
  442. * Columns to be used for sorting the data.
  443. */
  444. sortColumns?: SortColumnList;
  445. /**
  446. * Ordered set of column names used to partition data.
  447. */
  448. partitionColumns?: PartitionColumnList;
  449. /**
  450. * Beginning time to use for the Dataview. 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.
  451. */
  452. asOfTimestamp?: TimestampEpoch;
  453. /**
  454. * Options that define the destination type for the Dataview.
  455. */
  456. destinationTypeParams: DataViewDestinationTypeParams;
  457. }
  458. export interface CreateDataViewResponse {
  459. /**
  460. * The unique identifier of the Dataset used for the Dataview.
  461. */
  462. datasetId?: DatasetId;
  463. /**
  464. * The unique identifier for the created Dataview.
  465. */
  466. dataViewId?: DataViewId;
  467. }
  468. export interface CreateDatasetRequest {
  469. /**
  470. * A token that ensures idempotency. This token expires in 10 minutes.
  471. */
  472. clientToken?: ClientToken;
  473. /**
  474. * Display title for a FinSpace Dataset.
  475. */
  476. datasetTitle: DatasetTitle;
  477. /**
  478. * The format in which Dataset data is structured. TABULAR – Data is structured in a tabular format. NON_TABULAR – Data is structured in a non-tabular format.
  479. */
  480. kind: DatasetKind;
  481. /**
  482. * Description of a Dataset.
  483. */
  484. datasetDescription?: DatasetDescription;
  485. /**
  486. * Contact information for a Dataset owner.
  487. */
  488. ownerInfo?: DatasetOwnerInfo;
  489. /**
  490. * Permission group parameters for Dataset permissions.
  491. */
  492. permissionGroupParams: PermissionGroupParams;
  493. /**
  494. * The unique resource identifier for a Dataset.
  495. */
  496. alias?: AliasString;
  497. /**
  498. * Definition for a schema on a tabular Dataset.
  499. */
  500. schemaDefinition?: SchemaUnion;
  501. }
  502. export interface CreateDatasetResponse {
  503. /**
  504. * The unique identifier for the created Dataset.
  505. */
  506. datasetId?: DatasetId;
  507. }
  508. export interface CreatePermissionGroupRequest {
  509. /**
  510. * The name of the permission group.
  511. */
  512. name: PermissionGroupName;
  513. /**
  514. * A brief description for the permission group.
  515. */
  516. description?: PermissionGroupDescription;
  517. /**
  518. * The option to indicate FinSpace application permissions that are granted to a specific group. When assigning application permissions, be aware that the permission ManageUsersAndGroups allows users to grant themselves or others access to any functionality in their FinSpace environment's application. It should only be granted to trusted users. CreateDataset – Group members can create new datasets. ManageClusters – Group members can manage Apache Spark clusters from FinSpace notebooks. ManageUsersAndGroups – Group members can manage users and permission groups. This is a privileged permission that allows users to grant themselves or others access to any functionality in the application. It should only be granted to trusted users. ManageAttributeSets – Group members can manage attribute sets. ViewAuditData – Group members can view audit data. AccessNotebooks – Group members will have access to FinSpace notebooks. GetTemporaryCredentials – Group members can get temporary API credentials.
  519. */
  520. applicationPermissions: ApplicationPermissionList;
  521. /**
  522. * A token that ensures idempotency. This token expires in 10 minutes.
  523. */
  524. clientToken?: ClientToken;
  525. }
  526. export interface CreatePermissionGroupResponse {
  527. /**
  528. * The unique identifier for the permission group.
  529. */
  530. permissionGroupId?: PermissionGroupId;
  531. }
  532. export interface CreateUserRequest {
  533. /**
  534. * The email address of the user that you want to register. The email address serves as a uniquer identifier for each user and cannot be changed after it's created.
  535. */
  536. emailAddress: Email;
  537. /**
  538. * The option to indicate the type of user. Use one of the following options to specify this parameter: SUPER_USER – A user with permission to all the functionality and data in FinSpace. APP_USER – A user with specific permissions in FinSpace. The users are assigned permissions by adding them to a permission group.
  539. */
  540. type: UserType;
  541. /**
  542. * The first name of the user that you want to register.
  543. */
  544. firstName?: FirstName;
  545. /**
  546. * The last name of the user that you want to register.
  547. */
  548. lastName?: LastName;
  549. /**
  550. * The option to indicate whether the user can use the GetProgrammaticAccessCredentials API to obtain credentials that can then be used to access other FinSpace Data API operations. ENABLED – The user has permissions to use the APIs. DISABLED – The user does not have permissions to use any APIs.
  551. */
  552. apiAccess?: ApiAccess;
  553. /**
  554. * The ARN identifier of an AWS user or role that is allowed to call the GetProgrammaticAccessCredentials API to obtain a credentials token for a specific FinSpace user. This must be an IAM role within your FinSpace account.
  555. */
  556. apiAccessPrincipalArn?: RoleArn;
  557. /**
  558. * A token that ensures idempotency. This token expires in 10 minutes.
  559. */
  560. clientToken?: ClientToken;
  561. }
  562. export interface CreateUserResponse {
  563. /**
  564. * The unique identifier for the user.
  565. */
  566. userId?: UserId;
  567. }
  568. export interface Credentials {
  569. /**
  570. * The access key identifier.
  571. */
  572. accessKeyId?: stringValueLength1to255;
  573. /**
  574. * The access key.
  575. */
  576. secretAccessKey?: stringValueMaxLength1000;
  577. /**
  578. * The session token.
  579. */
  580. sessionToken?: stringValueMaxLength1000;
  581. }
  582. export type DataViewArn = string;
  583. export type DataViewDestinationType = string;
  584. export interface DataViewDestinationTypeParams {
  585. /**
  586. * Destination type for a Dataview. GLUE_TABLE – Glue table destination type. S3 – S3 destination type.
  587. */
  588. destinationType: DataViewDestinationType;
  589. /**
  590. * Dataview export file format. PARQUET – Parquet export file format. DELIMITED_TEXT – Delimited text export file format.
  591. */
  592. s3DestinationExportFileFormat?: ExportFileFormat;
  593. /**
  594. * Format Options for S3 Destination type. Here is an example of how you could specify the s3DestinationExportFileFormatOptions { "header": "true", "delimiter": ",", "compression": "gzip" }
  595. */
  596. s3DestinationExportFileFormatOptions?: S3DestinationFormatOptions;
  597. }
  598. export interface DataViewErrorInfo {
  599. /**
  600. * The text of the error message.
  601. */
  602. errorMessage?: ErrorMessage;
  603. /**
  604. * The category of the error. VALIDATION – The inputs to this request are invalid. SERVICE_QUOTA_EXCEEDED – Service quotas have been exceeded. Please contact AWS support to increase quotas. ACCESS_DENIED – Missing required permission to perform this request. RESOURCE_NOT_FOUND – One or more inputs to this request were not found. THROTTLING – The system temporarily lacks sufficient resources to process the request. INTERNAL_SERVICE_EXCEPTION – An internal service error has occurred. CANCELLED – Cancelled. USER_RECOVERABLE – A user recoverable error has occurred.
  605. */
  606. errorCategory?: ErrorCategory;
  607. }
  608. export type DataViewId = string;
  609. export type DataViewList = DataViewSummary[];
  610. export type DataViewStatus = "RUNNING"|"STARTING"|"FAILED"|"CANCELLED"|"TIMEOUT"|"SUCCESS"|"PENDING"|"FAILED_CLEANUP_FAILED"|string;
  611. export interface DataViewSummary {
  612. /**
  613. * The unique identifier for the Dataview.
  614. */
  615. dataViewId?: DataViewId;
  616. /**
  617. * The ARN identifier of the Dataview.
  618. */
  619. dataViewArn?: DataViewArn;
  620. /**
  621. * Th unique identifier for the Dataview Dataset.
  622. */
  623. datasetId?: DatasetId;
  624. /**
  625. * Time range to use for the Dataview. 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.
  626. */
  627. asOfTimestamp?: TimestampEpoch;
  628. /**
  629. * Ordered set of column names used to partition data.
  630. */
  631. partitionColumns?: PartitionColumnList;
  632. /**
  633. * Columns to be used for sorting the data.
  634. */
  635. sortColumns?: SortColumnList;
  636. /**
  637. * The status of a Dataview creation. RUNNING – Dataview creation is running. STARTING – Dataview creation is starting. FAILED – Dataview creation has failed. CANCELLED – Dataview creation has been cancelled. TIMEOUT – Dataview creation has timed out. SUCCESS – Dataview creation has succeeded. PENDING – Dataview creation is pending. FAILED_CLEANUP_FAILED – Dataview creation failed and resource cleanup failed.
  638. */
  639. status?: DataViewStatus;
  640. /**
  641. * The structure with error messages.
  642. */
  643. errorInfo?: DataViewErrorInfo;
  644. /**
  645. * Information about the Dataview destination.
  646. */
  647. destinationTypeProperties?: DataViewDestinationTypeParams;
  648. /**
  649. * The flag to indicate Dataview should be updated automatically.
  650. */
  651. autoUpdate?: Boolean;
  652. /**
  653. * 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.
  654. */
  655. createTime?: TimestampEpoch;
  656. /**
  657. * The last time that a Dataview 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.
  658. */
  659. lastModifiedTime?: TimestampEpoch;
  660. }
  661. export interface Dataset {
  662. /**
  663. * An identifier for a Dataset.
  664. */
  665. datasetId?: DatasetId;
  666. /**
  667. * The ARN identifier of the Dataset.
  668. */
  669. datasetArn?: DatasetArn;
  670. /**
  671. * Display title for a Dataset.
  672. */
  673. datasetTitle?: DatasetTitle;
  674. /**
  675. * The format in which Dataset data is structured. TABULAR – Data is structured in a tabular format. NON_TABULAR – Data is structured in a non-tabular format.
  676. */
  677. kind?: DatasetKind;
  678. /**
  679. * Description for a Dataset.
  680. */
  681. datasetDescription?: DatasetDescription;
  682. /**
  683. * Contact information for a Dataset owner.
  684. */
  685. ownerInfo?: DatasetOwnerInfo;
  686. /**
  687. * The timestamp at which the Dataset 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.
  688. */
  689. createTime?: TimestampEpoch;
  690. /**
  691. * The last time that the Dataset 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.
  692. */
  693. lastModifiedTime?: TimestampEpoch;
  694. /**
  695. * Definition for a schema on a tabular Dataset.
  696. */
  697. schemaDefinition?: SchemaUnion;
  698. /**
  699. * The unique resource identifier for a Dataset.
  700. */
  701. alias?: AliasString;
  702. }
  703. export type DatasetArn = string;
  704. export type DatasetDescription = string;
  705. export type DatasetId = string;
  706. export type DatasetKind = "TABULAR"|"NON_TABULAR"|string;
  707. export type DatasetList = Dataset[];
  708. export interface DatasetOwnerInfo {
  709. /**
  710. * The name of the Dataset owner.
  711. */
  712. name?: OwnerName;
  713. /**
  714. * Phone number for the Dataset owner.
  715. */
  716. phoneNumber?: PhoneNumber;
  717. /**
  718. * Email address for the Dataset owner.
  719. */
  720. email?: Email;
  721. }
  722. export type DatasetStatus = "PENDING"|"FAILED"|"SUCCESS"|"RUNNING"|string;
  723. export type DatasetTitle = string;
  724. export interface DeleteDatasetRequest {
  725. /**
  726. * A token that ensures idempotency. This token expires in 10 minutes.
  727. */
  728. clientToken?: ClientToken;
  729. /**
  730. * The unique identifier of the Dataset to be deleted.
  731. */
  732. datasetId: DatasetId;
  733. }
  734. export interface DeleteDatasetResponse {
  735. /**
  736. * The unique identifier for the deleted Dataset.
  737. */
  738. datasetId?: DatasetId;
  739. }
  740. export interface DeletePermissionGroupRequest {
  741. /**
  742. * The unique identifier for the permission group that you want to delete.
  743. */
  744. permissionGroupId: PermissionGroupId;
  745. /**
  746. * A token that ensures idempotency. This token expires in 10 minutes.
  747. */
  748. clientToken?: ClientToken;
  749. }
  750. export interface DeletePermissionGroupResponse {
  751. /**
  752. * The unique identifier for the deleted permission group.
  753. */
  754. permissionGroupId?: PermissionGroupId;
  755. }
  756. export interface DisableUserRequest {
  757. /**
  758. * The unique identifier for the user that you want to deactivate.
  759. */
  760. userId: UserId;
  761. /**
  762. * A token that ensures idempotency. This token expires in 10 minutes.
  763. */
  764. clientToken?: ClientToken;
  765. }
  766. export interface DisableUserResponse {
  767. /**
  768. * The unique identifier for the deactivated user.
  769. */
  770. userId?: UserId;
  771. }
  772. export interface DisassociateUserFromPermissionGroupRequest {
  773. /**
  774. * The unique identifier for the permission group.
  775. */
  776. permissionGroupId: PermissionGroupId;
  777. /**
  778. * The unique identifier for the user.
  779. */
  780. userId: UserId;
  781. /**
  782. * A token that ensures idempotency. This token expires in 10 minutes.
  783. */
  784. clientToken?: ClientToken;
  785. }
  786. export interface DisassociateUserFromPermissionGroupResponse {
  787. /**
  788. * The returned status code of the response.
  789. */
  790. statusCode?: StatusCode;
  791. }
  792. export type Email = string;
  793. export interface EnableUserRequest {
  794. /**
  795. * The unique identifier for the user that you want to activate.
  796. */
  797. userId: UserId;
  798. /**
  799. * A token that ensures idempotency. This token expires in 10 minutes.
  800. */
  801. clientToken?: ClientToken;
  802. }
  803. export interface EnableUserResponse {
  804. /**
  805. * The unique identifier for the active user.
  806. */
  807. userId?: UserId;
  808. }
  809. export type ErrorCategory = "VALIDATION"|"SERVICE_QUOTA_EXCEEDED"|"ACCESS_DENIED"|"RESOURCE_NOT_FOUND"|"THROTTLING"|"INTERNAL_SERVICE_EXCEPTION"|"CANCELLED"|"USER_RECOVERABLE"|string;
  810. export type ErrorMessage = string;
  811. export type ExportFileFormat = "PARQUET"|"DELIMITED_TEXT"|string;
  812. export type FirstName = string;
  813. export type FormatParams = {[key: string]: StringMapValue};
  814. export interface GetChangesetRequest {
  815. /**
  816. * The unique identifier for the FinSpace Dataset where the Changeset is created.
  817. */
  818. datasetId: DatasetId;
  819. /**
  820. * The unique identifier of the Changeset for which to get data.
  821. */
  822. changesetId: ChangesetId;
  823. }
  824. export interface GetChangesetResponse {
  825. /**
  826. * The unique identifier for a Changeset.
  827. */
  828. changesetId?: ChangesetId;
  829. /**
  830. * The ARN identifier of the Changeset.
  831. */
  832. changesetArn?: ChangesetArn;
  833. /**
  834. * The unique identifier for the FinSpace Dataset where the Changeset is created.
  835. */
  836. datasetId?: DatasetId;
  837. /**
  838. * Type that indicates how a Changeset is applied to a Dataset. REPLACE – Changeset is considered as a replacement to all prior loaded Changesets. APPEND – Changeset is considered as an addition to the end of all prior loaded Changesets. MODIFY – Changeset is considered as a replacement to a specific prior ingested Changeset.
  839. */
  840. changeType?: ChangeType;
  841. /**
  842. * Options that define the location of the data being ingested.
  843. */
  844. sourceParams?: SourceParams;
  845. /**
  846. * Structure of the source file(s).
  847. */
  848. formatParams?: FormatParams;
  849. /**
  850. * 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.
  851. */
  852. createTime?: TimestampEpoch;
  853. /**
  854. * The status of Changeset creation operation.
  855. */
  856. status?: IngestionStatus;
  857. /**
  858. * The structure with error messages.
  859. */
  860. errorInfo?: ChangesetErrorInfo;
  861. /**
  862. * Time until 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.
  863. */
  864. activeUntilTimestamp?: TimestampEpoch;
  865. /**
  866. * 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.
  867. */
  868. activeFromTimestamp?: TimestampEpoch;
  869. /**
  870. * The unique identifier of the Changeset that is being updated.
  871. */
  872. updatesChangesetId?: ChangesetId;
  873. /**
  874. * The unique identifier of the updated Changeset.
  875. */
  876. updatedByChangesetId?: ChangesetId;
  877. }
  878. export interface GetDataViewRequest {
  879. /**
  880. * The unique identifier for the Dataview.
  881. */
  882. dataViewId: DataViewId;
  883. /**
  884. * The unique identifier for the Dataset used in the Dataview.
  885. */
  886. datasetId: DatasetId;
  887. }
  888. export interface GetDataViewResponse {
  889. /**
  890. * Flag to indicate Dataview should be updated automatically.
  891. */
  892. autoUpdate?: Boolean;
  893. /**
  894. * Ordered set of column names used to partition data.
  895. */
  896. partitionColumns?: PartitionColumnList;
  897. /**
  898. * The unique identifier for the Dataset used in the Dataview.
  899. */
  900. datasetId?: DatasetId;
  901. /**
  902. * Time range to use for the Dataview. 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.
  903. */
  904. asOfTimestamp?: TimestampEpoch;
  905. /**
  906. * Information about an error that occurred for the Dataview.
  907. */
  908. errorInfo?: DataViewErrorInfo;
  909. /**
  910. * The last time that a Dataview 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.
  911. */
  912. lastModifiedTime?: TimestampEpoch;
  913. /**
  914. * 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.
  915. */
  916. createTime?: TimestampEpoch;
  917. /**
  918. * Columns to be used for sorting the data.
  919. */
  920. sortColumns?: SortColumnList;
  921. /**
  922. * The unique identifier for the Dataview.
  923. */
  924. dataViewId?: DataViewId;
  925. /**
  926. * The ARN identifier of the Dataview.
  927. */
  928. dataViewArn?: DataViewArn;
  929. /**
  930. * Options that define the destination type for the Dataview.
  931. */
  932. destinationTypeParams?: DataViewDestinationTypeParams;
  933. /**
  934. * The status of a Dataview creation. RUNNING – Dataview creation is running. STARTING – Dataview creation is starting. FAILED – Dataview creation has failed. CANCELLED – Dataview creation has been cancelled. TIMEOUT – Dataview creation has timed out. SUCCESS – Dataview creation has succeeded. PENDING – Dataview creation is pending. FAILED_CLEANUP_FAILED – Dataview creation failed and resource cleanup failed.
  935. */
  936. status?: DataViewStatus;
  937. }
  938. export interface GetDatasetRequest {
  939. /**
  940. * The unique identifier for a Dataset.
  941. */
  942. datasetId: StringValueLength1to255;
  943. }
  944. export interface GetDatasetResponse {
  945. /**
  946. * The unique identifier for a Dataset.
  947. */
  948. datasetId?: DatasetId;
  949. /**
  950. * The ARN identifier of the Dataset.
  951. */
  952. datasetArn?: DatasetArn;
  953. /**
  954. * Display title for a Dataset.
  955. */
  956. datasetTitle?: DatasetTitle;
  957. /**
  958. * The format in which Dataset data is structured. TABULAR – Data is structured in a tabular format. NON_TABULAR – Data is structured in a non-tabular format.
  959. */
  960. kind?: DatasetKind;
  961. /**
  962. * A description of the Dataset.
  963. */
  964. datasetDescription?: DatasetDescription;
  965. /**
  966. * The timestamp at which the Dataset 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.
  967. */
  968. createTime?: TimestampEpoch;
  969. /**
  970. * The last time that the Dataset 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.
  971. */
  972. lastModifiedTime?: TimestampEpoch;
  973. /**
  974. * Definition for a schema on a tabular Dataset.
  975. */
  976. schemaDefinition?: SchemaUnion;
  977. /**
  978. * The unique resource identifier for a Dataset.
  979. */
  980. alias?: AliasString;
  981. /**
  982. * Status of the Dataset creation. PENDING – Dataset is pending creation. FAILED – Dataset creation has failed. SUCCESS – Dataset creation has succeeded. RUNNING – Dataset creation is running.
  983. */
  984. status?: DatasetStatus;
  985. }
  986. export interface GetExternalDataViewAccessDetailsRequest {
  987. /**
  988. * The unique identifier for the Dataview that you want to access.
  989. */
  990. dataViewId: DataViewId;
  991. /**
  992. * The unique identifier for the Dataset.
  993. */
  994. datasetId: DatasetId;
  995. }
  996. export interface GetExternalDataViewAccessDetailsResponse {
  997. /**
  998. * The credentials required to access the external Dataview from the S3 location.
  999. */
  1000. credentials?: AwsCredentials;
  1001. /**
  1002. * The location where the external Dataview is stored.
  1003. */
  1004. s3Location?: S3Location;
  1005. }
  1006. export interface GetPermissionGroupRequest {
  1007. /**
  1008. * The unique identifier for the permission group.
  1009. */
  1010. permissionGroupId: PermissionGroupId;
  1011. }
  1012. export interface GetPermissionGroupResponse {
  1013. permissionGroup?: PermissionGroup;
  1014. }
  1015. export interface GetProgrammaticAccessCredentialsRequest {
  1016. /**
  1017. * The time duration in which the credentials remain valid.
  1018. */
  1019. durationInMinutes?: SessionDuration;
  1020. /**
  1021. * The FinSpace environment identifier.
  1022. */
  1023. environmentId: IdType;
  1024. }
  1025. export interface GetProgrammaticAccessCredentialsResponse {
  1026. /**
  1027. * Returns the programmatic credentials.
  1028. */
  1029. credentials?: Credentials;
  1030. /**
  1031. * Returns the duration in which the credentials will remain valid.
  1032. */
  1033. durationInMinutes?: SessionDuration;
  1034. }
  1035. export interface GetUserRequest {
  1036. /**
  1037. * The unique identifier of the user to get data for.
  1038. */
  1039. userId: UserId;
  1040. }
  1041. export interface GetUserResponse {
  1042. /**
  1043. * The unique identifier for the user that is retrieved.
  1044. */
  1045. userId?: UserId;
  1046. /**
  1047. * The current status of the user. CREATING – The creation is in progress. ENABLED – The user is created and is currently active. DISABLED – The user is currently inactive.
  1048. */
  1049. status?: UserStatus;
  1050. /**
  1051. * The first name of the user.
  1052. */
  1053. firstName?: FirstName;
  1054. /**
  1055. * The last name of the user.
  1056. */
  1057. lastName?: LastName;
  1058. /**
  1059. * The email address that is associated with the user.
  1060. */
  1061. emailAddress?: Email;
  1062. /**
  1063. * Indicates the type of user. SUPER_USER – A user with permission to all the functionality and data in FinSpace. APP_USER – A user with specific permissions in FinSpace. The users are assigned permissions by adding them to a permission group.
  1064. */
  1065. type?: UserType;
  1066. /**
  1067. * Indicates whether the user can use the GetProgrammaticAccessCredentials API to obtain credentials that can then be used to access other FinSpace Data API operations. ENABLED – The user has permissions to use the APIs. DISABLED – The user does not have permissions to use any APIs.
  1068. */
  1069. apiAccess?: ApiAccess;
  1070. /**
  1071. * The ARN identifier of an AWS user or role that is allowed to call the GetProgrammaticAccessCredentials API to obtain a credentials token for a specific FinSpace user. This must be an IAM role within your FinSpace account.
  1072. */
  1073. apiAccessPrincipalArn?: RoleArn;
  1074. /**
  1075. * The timestamp at which the user was created in FinSpace. The value is determined as epoch time in milliseconds.
  1076. */
  1077. createTime?: TimestampEpoch;
  1078. /**
  1079. * Describes the last time the user was activated. The value is determined as epoch time in milliseconds.
  1080. */
  1081. lastEnabledTime?: TimestampEpoch;
  1082. /**
  1083. * Describes the last time the user was deactivated. The value is determined as epoch time in milliseconds.
  1084. */
  1085. lastDisabledTime?: TimestampEpoch;
  1086. /**
  1087. * Describes the last time the user details were updated. The value is determined as epoch time in milliseconds.
  1088. */
  1089. lastModifiedTime?: TimestampEpoch;
  1090. /**
  1091. * Describes the last time that the user logged into their account. The value is determined as epoch time in milliseconds.
  1092. */
  1093. lastLoginTime?: TimestampEpoch;
  1094. }
  1095. export interface GetWorkingLocationRequest {
  1096. /**
  1097. * Specify the type of the working location. SAGEMAKER – Use the Amazon S3 location as a temporary location to store data content when working with FinSpace Notebooks that run on SageMaker studio. INGESTION – Use the Amazon S3 location as a staging location to copy your data content and then use the location with the Changeset creation operation.
  1098. */
  1099. locationType?: locationType;
  1100. }
  1101. export interface GetWorkingLocationResponse {
  1102. /**
  1103. * Returns the Amazon S3 URI for the working location.
  1104. */
  1105. s3Uri?: stringValueLength1to1024;
  1106. /**
  1107. * Returns the Amazon S3 Path for the working location.
  1108. */
  1109. s3Path?: stringValueLength1to1024;
  1110. /**
  1111. * Returns the Amazon S3 bucket name for the working location.
  1112. */
  1113. s3Bucket?: stringValueLength1to63;
  1114. }
  1115. export type IdType = string;
  1116. export type IngestionStatus = "PENDING"|"FAILED"|"SUCCESS"|"RUNNING"|"STOP_REQUESTED"|string;
  1117. export type LastName = string;
  1118. export interface ListChangesetsRequest {
  1119. /**
  1120. * The unique identifier for the FinSpace Dataset to which the Changeset belongs.
  1121. */
  1122. datasetId: DatasetId;
  1123. /**
  1124. * The maximum number of results per page.
  1125. */
  1126. maxResults?: ResultLimit;
  1127. /**
  1128. * A token that indicates where a results page should begin.
  1129. */
  1130. nextToken?: PaginationToken;
  1131. }
  1132. export interface ListChangesetsResponse {
  1133. /**
  1134. * List of Changesets found.
  1135. */
  1136. changesets?: ChangesetList;
  1137. /**
  1138. * A token that indicates where a results page should begin.
  1139. */
  1140. nextToken?: PaginationToken;
  1141. }
  1142. export interface ListDataViewsRequest {
  1143. /**
  1144. * The unique identifier of the Dataset for which to retrieve Dataviews.
  1145. */
  1146. datasetId: DatasetId;
  1147. /**
  1148. * A token that indicates where a results page should begin.
  1149. */
  1150. nextToken?: PaginationToken;
  1151. /**
  1152. * The maximum number of results per page.
  1153. */
  1154. maxResults?: ResultLimit;
  1155. }
  1156. export interface ListDataViewsResponse {
  1157. /**
  1158. * A token that indicates where a results page should begin.
  1159. */
  1160. nextToken?: PaginationToken;
  1161. /**
  1162. * A list of Dataviews.
  1163. */
  1164. dataViews?: DataViewList;
  1165. }
  1166. export interface ListDatasetsRequest {
  1167. /**
  1168. * A token that indicates where a results page should begin.
  1169. */
  1170. nextToken?: PaginationToken;
  1171. /**
  1172. * The maximum number of results per page.
  1173. */
  1174. maxResults?: ResultLimit;
  1175. }
  1176. export interface ListDatasetsResponse {
  1177. /**
  1178. * List of Datasets.
  1179. */
  1180. datasets?: DatasetList;
  1181. /**
  1182. * A token that indicates where a results page should begin.
  1183. */
  1184. nextToken?: PaginationToken;
  1185. }
  1186. export interface ListPermissionGroupsByUserRequest {
  1187. /**
  1188. * The unique identifier for the user.
  1189. */
  1190. userId: UserId;
  1191. /**
  1192. * A token that indicates where a results page should begin.
  1193. */
  1194. nextToken?: PaginationToken;
  1195. /**
  1196. * The maximum number of results per page.
  1197. */
  1198. maxResults: ResultLimit;
  1199. }
  1200. export interface ListPermissionGroupsByUserResponse {
  1201. /**
  1202. * A list of returned permission groups.
  1203. */
  1204. permissionGroups?: PermissionGroupByUserList;
  1205. /**
  1206. * A token that indicates where a results page should begin.
  1207. */
  1208. nextToken?: PaginationToken;
  1209. }
  1210. export interface ListPermissionGroupsRequest {
  1211. /**
  1212. * A token that indicates where a results page should begin.
  1213. */
  1214. nextToken?: PaginationToken;
  1215. /**
  1216. * The maximum number of results per page.
  1217. */
  1218. maxResults: ResultLimit;
  1219. }
  1220. export interface ListPermissionGroupsResponse {
  1221. /**
  1222. * A list of all the permission groups.
  1223. */
  1224. permissionGroups?: PermissionGroupList;
  1225. /**
  1226. * A token that indicates where a results page should begin.
  1227. */
  1228. nextToken?: PaginationToken;
  1229. }
  1230. export interface ListUsersByPermissionGroupRequest {
  1231. /**
  1232. * The unique identifier for the permission group.
  1233. */
  1234. permissionGroupId: PermissionGroupId;
  1235. /**
  1236. * A token that indicates where a results page should begin.
  1237. */
  1238. nextToken?: PaginationToken;
  1239. /**
  1240. * The maximum number of results per page.
  1241. */
  1242. maxResults: ResultLimit;
  1243. }
  1244. export interface ListUsersByPermissionGroupResponse {
  1245. /**
  1246. * Lists details of all users in a specific permission group.
  1247. */
  1248. users?: UserByPermissionGroupList;
  1249. /**
  1250. * A token that indicates where a results page should begin.
  1251. */
  1252. nextToken?: PaginationToken;
  1253. }
  1254. export interface ListUsersRequest {
  1255. /**
  1256. * A token that indicates where a results page should begin.
  1257. */
  1258. nextToken?: PaginationToken;
  1259. /**
  1260. * The maximum number of results per page.
  1261. */
  1262. maxResults: ResultLimit;
  1263. }
  1264. export interface ListUsersResponse {
  1265. /**
  1266. * A list of all the users.
  1267. */
  1268. users?: UserList;
  1269. /**
  1270. * A token that indicates where a results page should begin.
  1271. */
  1272. nextToken?: PaginationToken;
  1273. }
  1274. export type OwnerName = string;
  1275. export type PaginationToken = string;
  1276. export type PartitionColumnList = StringValueLength1to255[];
  1277. export type Password = string;
  1278. export interface PermissionGroup {
  1279. /**
  1280. * The unique identifier for the permission group.
  1281. */
  1282. permissionGroupId?: PermissionGroupId;
  1283. /**
  1284. * The name of the permission group.
  1285. */
  1286. name?: PermissionGroupName;
  1287. /**
  1288. * A brief description for the permission group.
  1289. */
  1290. description?: PermissionGroupDescription;
  1291. /**
  1292. * Indicates the permissions that are granted to a specific group for accessing the FinSpace application. When assigning application permissions, be aware that the permission ManageUsersAndGroups allows users to grant themselves or others access to any functionality in their FinSpace environment's application. It should only be granted to trusted users. CreateDataset – Group members can create new datasets. ManageClusters – Group members can manage Apache Spark clusters from FinSpace notebooks. ManageUsersAndGroups – Group members can manage users and permission groups. This is a privileged permission that allows users to grant themselves or others access to any functionality in the application. It should only be granted to trusted users. ManageAttributeSets – Group members can manage attribute sets. ViewAuditData – Group members can view audit data. AccessNotebooks – Group members will have access to FinSpace notebooks. GetTemporaryCredentials – Group members can get temporary API credentials.
  1293. */
  1294. applicationPermissions?: ApplicationPermissionList;
  1295. /**
  1296. * The timestamp at which the group was created in FinSpace. The value is determined as epoch time in milliseconds.
  1297. */
  1298. createTime?: TimestampEpoch;
  1299. /**
  1300. * Describes the last time the permission group was updated. The value is determined as epoch time in milliseconds.
  1301. */
  1302. lastModifiedTime?: TimestampEpoch;
  1303. /**
  1304. * Indicates the status of the user within a permission group. ADDITION_IN_PROGRESS – The user is currently being added to the permission group. ADDITION_SUCCESS – The user is successfully added to the permission group. REMOVAL_IN_PROGRESS – The user is currently being removed from the permission group.
  1305. */
  1306. membershipStatus?: PermissionGroupMembershipStatus;
  1307. }
  1308. export interface PermissionGroupByUser {
  1309. /**
  1310. * The unique identifier for the permission group.
  1311. */
  1312. permissionGroupId?: PermissionGroupId;
  1313. /**
  1314. * The name of the permission group.
  1315. */
  1316. name?: PermissionGroupName;
  1317. /**
  1318. * Indicates the status of the user within a permission group. ADDITION_IN_PROGRESS – The user is currently being added to the permission group. ADDITION_SUCCESS – The user is successfully added to the permission group. REMOVAL_IN_PROGRESS – The user is currently being removed from the permission group.
  1319. */
  1320. membershipStatus?: PermissionGroupMembershipStatus;
  1321. }
  1322. export type PermissionGroupByUserList = PermissionGroupByUser[];
  1323. export type PermissionGroupDescription = string;
  1324. export type PermissionGroupId = string;
  1325. export type PermissionGroupList = PermissionGroup[];
  1326. export type PermissionGroupMembershipStatus = "ADDITION_IN_PROGRESS"|"ADDITION_SUCCESS"|"REMOVAL_IN_PROGRESS"|string;
  1327. export type PermissionGroupName = string;
  1328. export interface PermissionGroupParams {
  1329. /**
  1330. * The unique identifier for the PermissionGroup.
  1331. */
  1332. permissionGroupId?: PermissionGroupId;
  1333. /**
  1334. * List of resource permissions.
  1335. */
  1336. datasetPermissions?: ResourcePermissionsList;
  1337. }
  1338. export type PhoneNumber = string;
  1339. export interface ResetUserPasswordRequest {
  1340. /**
  1341. * The unique identifier of the user that a temporary password is requested for.
  1342. */
  1343. userId: UserId;
  1344. /**
  1345. * A token that ensures idempotency. This token expires in 10 minutes.
  1346. */
  1347. clientToken?: ClientToken;
  1348. }
  1349. export interface ResetUserPasswordResponse {
  1350. /**
  1351. * The unique identifier of the user that a new password is generated for.
  1352. */
  1353. userId?: UserId;
  1354. /**
  1355. * A randomly generated temporary password for the requested user. This password expires in 7 days.
  1356. */
  1357. temporaryPassword?: Password;
  1358. }
  1359. export interface ResourcePermission {
  1360. /**
  1361. * Permission for a resource.
  1362. */
  1363. permission?: StringValueLength1to250;
  1364. }
  1365. export type ResourcePermissionsList = ResourcePermission[];
  1366. export type ResultLimit = number;
  1367. export type RoleArn = string;
  1368. export type S3BucketName = string;
  1369. export type S3DestinationFormatOptions = {[key: string]: StringMapValue};
  1370. export type S3Key = string;
  1371. export interface S3Location {
  1372. /**
  1373. * The name of the S3 bucket.
  1374. */
  1375. bucket: S3BucketName;
  1376. /**
  1377. * The path of the folder, within the S3 bucket that contains the Dataset.
  1378. */
  1379. key: S3Key;
  1380. }
  1381. export interface SchemaDefinition {
  1382. /**
  1383. * List of column definitions.
  1384. */
  1385. columns?: ColumnList;
  1386. /**
  1387. * List of column names used for primary key.
  1388. */
  1389. primaryKeyColumns?: ColumnNameList;
  1390. }
  1391. export interface SchemaUnion {
  1392. /**
  1393. * The configuration for a schema on a tabular Dataset.
  1394. */
  1395. tabularSchemaConfig?: SchemaDefinition;
  1396. }
  1397. export type SecretAccessKey = string;
  1398. export type SessionDuration = number;
  1399. export type SessionToken = string;
  1400. export type SortColumnList = StringValueLength1to255[];
  1401. export type SourceParams = {[key: string]: StringMapValue};
  1402. export type StatusCode = number;
  1403. export type StringMapKey = string;
  1404. export type StringMapValue = string;
  1405. export type StringValueLength1to250 = string;
  1406. export type StringValueLength1to255 = string;
  1407. export type TimestampEpoch = number;
  1408. export interface UpdateChangesetRequest {
  1409. /**
  1410. * A token that ensures idempotency. This token expires in 10 minutes.
  1411. */
  1412. clientToken?: ClientToken;
  1413. /**
  1414. * The unique identifier for the FinSpace Dataset in which the Changeset is created.
  1415. */
  1416. datasetId: DatasetId;
  1417. /**
  1418. * The unique identifier for the Changeset to update.
  1419. */
  1420. changesetId: ChangesetId;
  1421. /**
  1422. * Options that define the location of the data being ingested (s3SourcePath) and the source of the changeset (sourceType). Both s3SourcePath and sourceType are required attributes. Here is an example of how you could specify the sourceParams: "sourceParams": { "s3SourcePath": "s3://finspace-landing-us-east-2-bk7gcfvitndqa6ebnvys4d/scratch/wr5hh8pwkpqqkxa4sxrmcw/ingestion/equity.csv", "sourceType": "S3" } The S3 path that you specify must allow the FinSpace role access. To do that, you first need to configure the IAM policy on S3 bucket. For more information, see Loading data from an Amazon S3 Bucket using the FinSpace APIsection.
  1423. */
  1424. sourceParams: SourceParams;
  1425. /**
  1426. * Options that define the structure of the source file(s) including the format type (formatType), header row (withHeader), data separation character (separator) and the type of compression (compression). formatType is a required attribute and can have the following values: PARQUET – Parquet source file format. CSV – CSV source file format. JSON – JSON source file format. XML – XML source file format. Here is an example of how you could specify the formatParams: "formatParams": { "formatType": "CSV", "withHeader": "true", "separator": ",", "compression":"None" } Note that if you only provide formatType as CSV, the rest of the attributes will automatically default to CSV values as following: { "withHeader": "true", "separator": "," } For more information about supported file formats, see Supported Data Types and File Formats in the FinSpace User Guide.
  1427. */
  1428. formatParams: FormatParams;
  1429. }
  1430. export interface UpdateChangesetResponse {
  1431. /**
  1432. * The unique identifier for the Changeset to update.
  1433. */
  1434. changesetId?: ChangesetId;
  1435. /**
  1436. * The unique identifier for the FinSpace Dataset in which the Changeset is created.
  1437. */
  1438. datasetId?: DatasetId;
  1439. }
  1440. export interface UpdateDatasetRequest {
  1441. /**
  1442. * A token that ensures idempotency. This token expires in 10 minutes.
  1443. */
  1444. clientToken?: ClientToken;
  1445. /**
  1446. * The unique identifier for the Dataset to update.
  1447. */
  1448. datasetId: DatasetId;
  1449. /**
  1450. * A display title for the Dataset.
  1451. */
  1452. datasetTitle: DatasetTitle;
  1453. /**
  1454. * The format in which the Dataset data is structured. TABULAR – Data is structured in a tabular format. NON_TABULAR – Data is structured in a non-tabular format.
  1455. */
  1456. kind: DatasetKind;
  1457. /**
  1458. * A description for the Dataset.
  1459. */
  1460. datasetDescription?: DatasetDescription;
  1461. /**
  1462. * The unique resource identifier for a Dataset.
  1463. */
  1464. alias?: AliasString;
  1465. /**
  1466. * Definition for a schema on a tabular Dataset.
  1467. */
  1468. schemaDefinition?: SchemaUnion;
  1469. }
  1470. export interface UpdateDatasetResponse {
  1471. /**
  1472. * The unique identifier for updated Dataset.
  1473. */
  1474. datasetId?: DatasetId;
  1475. }
  1476. export interface UpdatePermissionGroupRequest {
  1477. /**
  1478. * The unique identifier for the permission group to update.
  1479. */
  1480. permissionGroupId: PermissionGroupId;
  1481. /**
  1482. * The name of the permission group.
  1483. */
  1484. name?: PermissionGroupName;
  1485. /**
  1486. * A brief description for the permission group.
  1487. */
  1488. description?: PermissionGroupDescription;
  1489. /**
  1490. * The permissions that are granted to a specific group for accessing the FinSpace application. When assigning application permissions, be aware that the permission ManageUsersAndGroups allows users to grant themselves or others access to any functionality in their FinSpace environment's application. It should only be granted to trusted users. CreateDataset – Group members can create new datasets. ManageClusters – Group members can manage Apache Spark clusters from FinSpace notebooks. ManageUsersAndGroups – Group members can manage users and permission groups. This is a privileged permission that allows users to grant themselves or others access to any functionality in the application. It should only be granted to trusted users. ManageAttributeSets – Group members can manage attribute sets. ViewAuditData – Group members can view audit data. AccessNotebooks – Group members will have access to FinSpace notebooks. GetTemporaryCredentials – Group members can get temporary API credentials.
  1491. */
  1492. applicationPermissions?: ApplicationPermissionList;
  1493. /**
  1494. * A token that ensures idempotency. This token expires in 10 minutes.
  1495. */
  1496. clientToken?: ClientToken;
  1497. }
  1498. export interface UpdatePermissionGroupResponse {
  1499. /**
  1500. * The unique identifier for the updated permission group.
  1501. */
  1502. permissionGroupId?: PermissionGroupId;
  1503. }
  1504. export interface UpdateUserRequest {
  1505. /**
  1506. * The unique identifier for the user that you want to update.
  1507. */
  1508. userId: UserId;
  1509. /**
  1510. * The option to indicate the type of user. SUPER_USER– A user with permission to all the functionality and data in FinSpace. APP_USER – A user with specific permissions in FinSpace. The users are assigned permissions by adding them to a permission group.
  1511. */
  1512. type?: UserType;
  1513. /**
  1514. * The first name of the user.
  1515. */
  1516. firstName?: FirstName;
  1517. /**
  1518. * The last name of the user.
  1519. */
  1520. lastName?: LastName;
  1521. /**
  1522. * The option to indicate whether the user can use the GetProgrammaticAccessCredentials API to obtain credentials that can then be used to access other FinSpace Data API operations. ENABLED – The user has permissions to use the APIs. DISABLED – The user does not have permissions to use any APIs.
  1523. */
  1524. apiAccess?: ApiAccess;
  1525. /**
  1526. * The ARN identifier of an AWS user or role that is allowed to call the GetProgrammaticAccessCredentials API to obtain a credentials token for a specific FinSpace user. This must be an IAM role within your FinSpace account.
  1527. */
  1528. apiAccessPrincipalArn?: RoleArn;
  1529. /**
  1530. * A token that ensures idempotency. This token expires in 10 minutes.
  1531. */
  1532. clientToken?: ClientToken;
  1533. }
  1534. export interface UpdateUserResponse {
  1535. /**
  1536. * The unique identifier of the updated user.
  1537. */
  1538. userId?: UserId;
  1539. }
  1540. export interface User {
  1541. /**
  1542. * The unique identifier for the user.
  1543. */
  1544. userId?: UserId;
  1545. /**
  1546. * The current status of the user. CREATING – The user creation is in progress. ENABLED – The user is created and is currently active. DISABLED – The user is currently inactive.
  1547. */
  1548. status?: UserStatus;
  1549. /**
  1550. * The first name of the user.
  1551. */
  1552. firstName?: FirstName;
  1553. /**
  1554. * The last name of the user.
  1555. */
  1556. lastName?: LastName;
  1557. /**
  1558. * The email address of the user. The email address serves as a uniquer identifier for each user and cannot be changed after it's created.
  1559. */
  1560. emailAddress?: Email;
  1561. /**
  1562. * Indicates the type of user. SUPER_USER – A user with permission to all the functionality and data in FinSpace. APP_USER – A user with specific permissions in FinSpace. The users are assigned permissions by adding them to a permission group.
  1563. */
  1564. type?: UserType;
  1565. /**
  1566. * Indicates whether the user can use the GetProgrammaticAccessCredentials API to obtain credentials that can then be used to access other FinSpace Data API operations. ENABLED – The user has permissions to use the APIs. DISABLED – The user does not have permissions to use any APIs.
  1567. */
  1568. apiAccess?: ApiAccess;
  1569. /**
  1570. * The ARN identifier of an AWS user or role that is allowed to call the GetProgrammaticAccessCredentials API to obtain a credentials token for a specific FinSpace user. This must be an IAM role within your FinSpace account.
  1571. */
  1572. apiAccessPrincipalArn?: RoleArn;
  1573. /**
  1574. * The timestamp at which the user was created in FinSpace. The value is determined as epoch time in milliseconds.
  1575. */
  1576. createTime?: TimestampEpoch;
  1577. /**
  1578. * Describes the last time the user was activated. The value is determined as epoch time in milliseconds.
  1579. */
  1580. lastEnabledTime?: TimestampEpoch;
  1581. /**
  1582. * Describes the last time the user was deactivated. The value is determined as epoch time in milliseconds.
  1583. */
  1584. lastDisabledTime?: TimestampEpoch;
  1585. /**
  1586. * Describes the last time the user was updated. The value is determined as epoch time in milliseconds.
  1587. */
  1588. lastModifiedTime?: TimestampEpoch;
  1589. /**
  1590. * Describes the last time that the user logged into their account. The value is determined as epoch time in milliseconds.
  1591. */
  1592. lastLoginTime?: TimestampEpoch;
  1593. }
  1594. export interface UserByPermissionGroup {
  1595. /**
  1596. * The unique identifier for the user.
  1597. */
  1598. userId?: UserId;
  1599. /**
  1600. * The current status of the user. CREATING – The user creation is in progress. ENABLED – The user is created and is currently active. DISABLED – The user is currently inactive.
  1601. */
  1602. status?: UserStatus;
  1603. /**
  1604. * The first name of the user.
  1605. */
  1606. firstName?: FirstName;
  1607. /**
  1608. * The last name of the user.
  1609. */
  1610. lastName?: LastName;
  1611. /**
  1612. * The email address of the user. The email address serves as a unique identifier for each user and cannot be changed after it's created.
  1613. */
  1614. emailAddress?: Email;
  1615. /**
  1616. * Indicates the type of user. SUPER_USER – A user with permission to all the functionality and data in FinSpace. APP_USER – A user with specific permissions in FinSpace. The users are assigned permissions by adding them to a permission group.
  1617. */
  1618. type?: UserType;
  1619. /**
  1620. * Indicates whether the user can access FinSpace API operations. ENABLED – The user has permissions to use the API operations. DISABLED – The user does not have permissions to use any API operations.
  1621. */
  1622. apiAccess?: ApiAccess;
  1623. /**
  1624. * The IAM ARN identifier that is attached to FinSpace API calls.
  1625. */
  1626. apiAccessPrincipalArn?: RoleArn;
  1627. /**
  1628. * Indicates the status of the user within a permission group. ADDITION_IN_PROGRESS – The user is currently being added to the permission group. ADDITION_SUCCESS – The user is successfully added to the permission group. REMOVAL_IN_PROGRESS – The user is currently being removed from the permission group.
  1629. */
  1630. membershipStatus?: PermissionGroupMembershipStatus;
  1631. }
  1632. export type UserByPermissionGroupList = UserByPermissionGroup[];
  1633. export type UserId = string;
  1634. export type UserList = User[];
  1635. export type UserStatus = "CREATING"|"ENABLED"|"DISABLED"|string;
  1636. export type UserType = "SUPER_USER"|"APP_USER"|string;
  1637. export type locationType = "INGESTION"|"SAGEMAKER"|string;
  1638. export type stringValueLength1to1024 = string;
  1639. export type stringValueLength1to255 = string;
  1640. export type stringValueLength1to63 = string;
  1641. export type stringValueMaxLength1000 = string;
  1642. /**
  1643. * 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.
  1644. */
  1645. export type apiVersion = "2020-07-13"|"latest"|string;
  1646. export interface ClientApiVersions {
  1647. /**
  1648. * 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.
  1649. */
  1650. apiVersion?: apiVersion;
  1651. }
  1652. export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions;
  1653. /**
  1654. * Contains interfaces for use with the Finspacedata client.
  1655. */
  1656. export import Types = Finspacedata;
  1657. }
  1658. export = Finspacedata;