@aws-sdk/client-finspace-data 3.34.0 → 3.37.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (109) hide show
  1. package/CHANGELOG.md +47 -0
  2. package/{dist/cjs → dist-cjs}/FinspaceData.js +1 -5
  3. package/{dist/cjs → dist-cjs}/FinspaceDataClient.js +8 -17
  4. package/{dist/cjs → dist-cjs}/commands/CreateChangesetCommand.js +2 -27
  5. package/{dist/cjs → dist-cjs}/commands/GetProgrammaticAccessCredentialsCommand.js +2 -27
  6. package/{dist/cjs → dist-cjs}/commands/GetWorkingLocationCommand.js +2 -28
  7. package/{dist/cjs → dist-cjs}/endpoints.js +1 -2
  8. package/{dist/cjs → dist-cjs}/index.js +0 -1
  9. package/{dist/cjs → dist-cjs}/models/index.js +0 -1
  10. package/{dist/cjs → dist-cjs}/models/models_0.js +0 -43
  11. package/{dist/cjs → dist-cjs}/protocols/Aws_restJson1.js +2 -8
  12. package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +1 -5
  13. package/{dist/cjs → dist-cjs}/runtimeConfig.js +1 -5
  14. package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -4
  15. package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -5
  16. package/{dist/es → dist-es}/FinspaceData.js +1 -2
  17. package/{dist/es → dist-es}/FinspaceDataClient.js +1 -2
  18. package/{dist/es → dist-es}/commands/CreateChangesetCommand.js +2 -3
  19. package/{dist/es → dist-es}/commands/GetProgrammaticAccessCredentialsCommand.js +2 -3
  20. package/{dist/es → dist-es}/commands/GetWorkingLocationCommand.js +2 -3
  21. package/{dist/es → dist-es}/endpoints.js +1 -2
  22. package/{dist/types/index.d.ts → dist-es/index.js} +0 -0
  23. package/{dist/types/models/index.d.ts → dist-es/models/index.js} +0 -0
  24. package/{dist/es → dist-es}/models/models_0.js +0 -1
  25. package/{dist/es → dist-es}/protocols/Aws_restJson1.js +0 -1
  26. package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -2
  27. package/{dist/es → dist-es}/runtimeConfig.js +1 -2
  28. package/{dist/es → dist-es}/runtimeConfig.native.js +0 -1
  29. package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -2
  30. package/{dist/types → dist-types}/FinspaceData.d.ts +2 -2
  31. package/{dist/types → dist-types}/FinspaceDataClient.d.ts +4 -4
  32. package/{dist/types → dist-types}/commands/CreateChangesetCommand.d.ts +2 -2
  33. package/{dist/types → dist-types}/commands/GetProgrammaticAccessCredentialsCommand.d.ts +2 -2
  34. package/{dist/types → dist-types}/commands/GetWorkingLocationCommand.d.ts +2 -2
  35. package/{dist/types → dist-types}/endpoints.d.ts +0 -0
  36. package/{index.ts → dist-types/index.d.ts} +0 -0
  37. package/{models/index.ts → dist-types/models/index.d.ts} +0 -0
  38. package/{dist/types → dist-types}/models/models_0.d.ts +0 -0
  39. package/{dist/types → dist-types}/protocols/Aws_restJson1.d.ts +2 -2
  40. package/{dist/types → dist-types}/runtimeConfig.browser.d.ts +0 -0
  41. package/{dist/types → dist-types}/runtimeConfig.d.ts +1 -1
  42. package/{dist/types → dist-types}/runtimeConfig.native.d.ts +0 -0
  43. package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
  44. package/{dist/types → dist-types}/ts3.4/FinspaceData.d.ts +6 -15
  45. package/{dist/types → dist-types}/ts3.4/FinspaceDataClient.d.ts +28 -93
  46. package/dist-types/ts3.4/commands/CreateChangesetCommand.d.ts +17 -0
  47. package/{dist/types → dist-types}/ts3.4/commands/GetProgrammaticAccessCredentialsCommand.d.ts +4 -22
  48. package/dist-types/ts3.4/commands/GetWorkingLocationCommand.d.ts +17 -0
  49. package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
  50. package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
  51. package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
  52. package/dist-types/ts3.4/models/models_0.d.ts +224 -0
  53. package/{dist/types → dist-types}/ts3.4/protocols/Aws_restJson1.d.ts +2 -2
  54. package/{dist/types → dist-types}/ts3.4/runtimeConfig.browser.d.ts +1 -3
  55. package/{dist/types → dist-types}/ts3.4/runtimeConfig.d.ts +2 -4
  56. package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +1 -3
  57. package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +1 -3
  58. package/package.json +45 -42
  59. package/FinspaceData.ts +0 -119
  60. package/FinspaceDataClient.ts +0 -247
  61. package/commands/CreateChangesetCommand.ts +0 -94
  62. package/commands/GetProgrammaticAccessCredentialsCommand.ts +0 -102
  63. package/commands/GetWorkingLocationCommand.ts +0 -95
  64. package/dist/cjs/FinspaceData.js.map +0 -1
  65. package/dist/cjs/FinspaceDataClient.js.map +0 -1
  66. package/dist/cjs/commands/CreateChangesetCommand.js.map +0 -1
  67. package/dist/cjs/commands/GetProgrammaticAccessCredentialsCommand.js.map +0 -1
  68. package/dist/cjs/commands/GetWorkingLocationCommand.js.map +0 -1
  69. package/dist/cjs/endpoints.js.map +0 -1
  70. package/dist/cjs/index.js.map +0 -1
  71. package/dist/cjs/models/index.js.map +0 -1
  72. package/dist/cjs/models/models_0.js.map +0 -1
  73. package/dist/cjs/package.json +0 -91
  74. package/dist/cjs/protocols/Aws_restJson1.js.map +0 -1
  75. package/dist/cjs/runtimeConfig.browser.js.map +0 -1
  76. package/dist/cjs/runtimeConfig.js.map +0 -1
  77. package/dist/cjs/runtimeConfig.native.js.map +0 -1
  78. package/dist/cjs/runtimeConfig.shared.js.map +0 -1
  79. package/dist/es/FinspaceData.js.map +0 -1
  80. package/dist/es/FinspaceDataClient.js.map +0 -1
  81. package/dist/es/commands/CreateChangesetCommand.js.map +0 -1
  82. package/dist/es/commands/GetProgrammaticAccessCredentialsCommand.js.map +0 -1
  83. package/dist/es/commands/GetWorkingLocationCommand.js.map +0 -1
  84. package/dist/es/endpoints.js.map +0 -1
  85. package/dist/es/index.js +0 -7
  86. package/dist/es/index.js.map +0 -1
  87. package/dist/es/models/index.js +0 -2
  88. package/dist/es/models/index.js.map +0 -1
  89. package/dist/es/models/models_0.js.map +0 -1
  90. package/dist/es/package.json +0 -91
  91. package/dist/es/protocols/Aws_restJson1.js.map +0 -1
  92. package/dist/es/runtimeConfig.browser.js.map +0 -1
  93. package/dist/es/runtimeConfig.js.map +0 -1
  94. package/dist/es/runtimeConfig.native.js.map +0 -1
  95. package/dist/es/runtimeConfig.shared.js.map +0 -1
  96. package/dist/types/ts3.4/commands/CreateChangesetCommand.d.ts +0 -35
  97. package/dist/types/ts3.4/commands/GetWorkingLocationCommand.d.ts +0 -36
  98. package/dist/types/ts3.4/models/models_0.d.ts +0 -429
  99. package/endpoints.ts +0 -57
  100. package/jest.config.js +0 -4
  101. package/models/models_0.ts +0 -505
  102. package/protocols/Aws_restJson1.ts +0 -594
  103. package/runtimeConfig.browser.ts +0 -40
  104. package/runtimeConfig.native.ts +0 -16
  105. package/runtimeConfig.shared.ts +0 -16
  106. package/runtimeConfig.ts +0 -45
  107. package/tsconfig.es.json +0 -10
  108. package/tsconfig.json +0 -31
  109. package/tsconfig.types.json +0 -8
@@ -1,505 +0,0 @@
1
- import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
2
-
3
- /**
4
- * <p>You do not have sufficient access to perform this action.</p>
5
- */
6
- export interface AccessDeniedException extends __SmithyException, $MetadataBearer {
7
- name: "AccessDeniedException";
8
- $fault: "client";
9
- message?: string;
10
- }
11
-
12
- export namespace AccessDeniedException {
13
- /**
14
- * @internal
15
- */
16
- export const filterSensitiveLog = (obj: AccessDeniedException): any => ({
17
- ...obj,
18
- });
19
- }
20
-
21
- export enum ChangeType {
22
- APPEND = "APPEND",
23
- MODIFY = "MODIFY",
24
- REPLACE = "REPLACE",
25
- }
26
-
27
- export enum FormatType {
28
- CSV = "CSV",
29
- JSON = "JSON",
30
- PARQUET = "PARQUET",
31
- XML = "XML",
32
- }
33
-
34
- export enum SourceType {
35
- S3 = "S3",
36
- }
37
-
38
- export interface CreateChangesetRequest {
39
- /**
40
- * <p>The unique identifier for the FinSpace dataset in which the changeset will be
41
- * created.</p>
42
- */
43
- datasetId: string | undefined;
44
-
45
- /**
46
- * <p>Option to indicate how a changeset will be applied to a dataset.</p>
47
- * <ul>
48
- * <li>
49
- * <p>
50
- * <code>REPLACE</code> - Changeset will be considered as a replacement to all prior
51
- * loaded changesets.</p>
52
- * </li>
53
- * <li>
54
- * <p>
55
- * <code>APPEND</code> - Changeset will be considered as an addition to the end of all
56
- * prior loaded changesets.</p>
57
- * </li>
58
- * </ul>
59
- */
60
- changeType: ChangeType | string | undefined;
61
-
62
- /**
63
- * <p>Type of the data source from which the files to create the changeset will be
64
- * sourced.</p>
65
- * <ul>
66
- * <li>
67
- * <p>
68
- * <code>S3</code> - Amazon S3.</p>
69
- * </li>
70
- * </ul>
71
- */
72
- sourceType: SourceType | string | undefined;
73
-
74
- /**
75
- * <p>Source path from which the files to create the changeset will be sourced.</p>
76
- */
77
- sourceParams: { [key: string]: string } | undefined;
78
-
79
- /**
80
- * <p>Format type of the input files being loaded into the changeset.</p>
81
- */
82
- formatType?: FormatType | string;
83
-
84
- /**
85
- * <p>Options that define the structure of the source file(s).</p>
86
- */
87
- formatParams?: { [key: string]: string };
88
-
89
- /**
90
- * <p>Metadata tags to apply to this changeset.</p>
91
- */
92
- tags?: { [key: string]: string };
93
- }
94
-
95
- export namespace CreateChangesetRequest {
96
- /**
97
- * @internal
98
- */
99
- export const filterSensitiveLog = (obj: CreateChangesetRequest): any => ({
100
- ...obj,
101
- });
102
- }
103
-
104
- export enum ErrorCategory {
105
- ACCESS_DENIED = "Missing_required_permission_to_perform_this_request",
106
- CANCELLED = "Cancelled",
107
- INTERNAL_SERVICE_EXCEPTION = "An_internal_error_has_occurred",
108
- RESOURCE_NOT_FOUND = "One_or_more_inputs_to_this_request_were_not_found",
109
- SERVICE_QUOTA_EXCEEDED = "Service_limits_have_been_exceeded",
110
- THROTTLING = "The_system_temporarily_lacks_sufficient_resources_to_process_the_request",
111
- USER_RECOVERABLE = "A_user_recoverable_error_has_occurred",
112
- VALIDATION = "The_inputs_to_this_request_are_invalid",
113
- }
114
-
115
- /**
116
- * <p>Error message.</p>
117
- */
118
- export interface ErrorInfo {
119
- /**
120
- * <p>The text of the error message.</p>
121
- */
122
- errorMessage?: string;
123
-
124
- /**
125
- * <p>The category of the error.</p>
126
- * <ul>
127
- * <li>
128
- * <p>
129
- * <code>VALIDATION</code> -The inputs to this request are invalid.</p>
130
- * </li>
131
- * <li>
132
- * <p>
133
- * <code>SERVICE_QUOTA_EXCEEDED</code> - Service quotas have been exceeded. Please
134
- * contact AWS support to increase quotas.</p>
135
- * </li>
136
- * <li>
137
- * <p>
138
- * <code>ACCESS_DENIED</code> - Missing required permission to perform this
139
- * request.</p>
140
- * </li>
141
- * <li>
142
- * <p>
143
- * <code>RESOURCE_NOT_FOUND</code> - One or more inputs to this request were not
144
- * found.</p>
145
- * </li>
146
- * <li>
147
- * <p>
148
- * <code>THROTTLING</code> - The system temporarily lacks sufficient resources to process
149
- * the request.</p>
150
- * </li>
151
- * <li>
152
- * <p>
153
- * <code>INTERNAL_SERVICE_EXCEPTION</code> - An internal service error has
154
- * occurred.</p>
155
- * </li>
156
- * <li>
157
- * <p>
158
- * <code>CANCELLED</code> - A user recoverable error has occurred.</p>
159
- * </li>
160
- * </ul>
161
- */
162
- errorCategory?: ErrorCategory | string;
163
- }
164
-
165
- export namespace ErrorInfo {
166
- /**
167
- * @internal
168
- */
169
- export const filterSensitiveLog = (obj: ErrorInfo): any => ({
170
- ...obj,
171
- });
172
- }
173
-
174
- export enum ChangesetStatus {
175
- FAILED = "FAILED",
176
- PENDING = "PENDING",
177
- RUNNING = "RUNNING",
178
- STOP_REQUESTED = "STOP_REQUESTED",
179
- SUCCESS = "SUCCESS",
180
- }
181
-
182
- /**
183
- * <p>A changeset is unit of data in a dataset.</p>
184
- */
185
- export interface ChangesetInfo {
186
- /**
187
- * <p>Unique identifier for a changeset.</p>
188
- */
189
- id?: string;
190
-
191
- /**
192
- * <p>The ARN identifier of the changeset.</p>
193
- */
194
- changesetArn?: string;
195
-
196
- /**
197
- * <p>The unique identifier for the FinSpace dataset in which the changeset is created.</p>
198
- */
199
- datasetId?: string;
200
-
201
- /**
202
- * <p>Change type indicates how a changeset is applied to a dataset.</p>
203
- * <ul>
204
- * <li>
205
- * <p>
206
- * <code>REPLACE</code> - Changeset is considered as a replacement to all prior loaded
207
- * changesets.</p>
208
- * </li>
209
- * <li>
210
- * <p>
211
- * <code>APPEND</code> - Changeset is considered as an addition to the end of all prior
212
- * loaded changesets.</p>
213
- * </li>
214
- * <li>
215
- * <p>
216
- * <code>MODIFY</code> - Changeset is considered as a replacement to a specific prior
217
- * ingested changeset.</p>
218
- * </li>
219
- * </ul>
220
- */
221
- changeType?: ChangeType | string;
222
-
223
- /**
224
- * <p>Type of the data source from which the files to create the changeset are sourced.</p>
225
- * <ul>
226
- * <li>
227
- * <p>
228
- * <code>S3</code> - Amazon S3.</p>
229
- * </li>
230
- * </ul>
231
- */
232
- sourceType?: SourceType | string;
233
-
234
- /**
235
- * <p>Source path from which the files to create the changeset are sourced.</p>
236
- */
237
- sourceParams?: { [key: string]: string };
238
-
239
- /**
240
- * <p>Format type of the input files loaded into the changeset.</p>
241
- */
242
- formatType?: FormatType | string;
243
-
244
- /**
245
- * <p>Structure of the source file(s).</p>
246
- */
247
- formatParams?: { [key: string]: string };
248
-
249
- /**
250
- * <p>The timestamp at which the changeset was created in FinSpace.</p>
251
- */
252
- createTimestamp?: Date;
253
-
254
- /**
255
- * <p>The status of changeset creation operation.</p>
256
- */
257
- status?: ChangesetStatus | string;
258
-
259
- /**
260
- * <p>The structure with error messages.</p>
261
- */
262
- errorInfo?: ErrorInfo;
263
-
264
- /**
265
- * <p>Tags associated with the changeset.</p>
266
- */
267
- changesetLabels?: { [key: string]: string };
268
-
269
- /**
270
- * <p>Unique identifier of the changeset that is updated.</p>
271
- */
272
- updatesChangesetId?: string;
273
-
274
- /**
275
- * <p>Unique identifier of the changeset that is updated a changeset.</p>
276
- */
277
- updatedByChangesetId?: string;
278
- }
279
-
280
- export namespace ChangesetInfo {
281
- /**
282
- * @internal
283
- */
284
- export const filterSensitiveLog = (obj: ChangesetInfo): any => ({
285
- ...obj,
286
- });
287
- }
288
-
289
- export interface CreateChangesetResponse {
290
- /**
291
- * <p>Returns the changeset details.</p>
292
- */
293
- changeset?: ChangesetInfo;
294
- }
295
-
296
- export namespace CreateChangesetResponse {
297
- /**
298
- * @internal
299
- */
300
- export const filterSensitiveLog = (obj: CreateChangesetResponse): any => ({
301
- ...obj,
302
- });
303
- }
304
-
305
- /**
306
- * <p>The request processing has failed because of an unknown error, exception or
307
- * failure.</p>
308
- */
309
- export interface InternalServerException extends __SmithyException, $MetadataBearer {
310
- name: "InternalServerException";
311
- $fault: "server";
312
- message?: string;
313
- }
314
-
315
- export namespace InternalServerException {
316
- /**
317
- * @internal
318
- */
319
- export const filterSensitiveLog = (obj: InternalServerException): any => ({
320
- ...obj,
321
- });
322
- }
323
-
324
- /**
325
- * <p>One or more resources can't be found.</p>
326
- */
327
- export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer {
328
- name: "ResourceNotFoundException";
329
- $fault: "client";
330
- message?: string;
331
- }
332
-
333
- export namespace ResourceNotFoundException {
334
- /**
335
- * @internal
336
- */
337
- export const filterSensitiveLog = (obj: ResourceNotFoundException): any => ({
338
- ...obj,
339
- });
340
- }
341
-
342
- /**
343
- * <p>The request was denied due to request throttling.</p>
344
- */
345
- export interface ThrottlingException extends __SmithyException, $MetadataBearer {
346
- name: "ThrottlingException";
347
- $fault: "client";
348
- }
349
-
350
- export namespace ThrottlingException {
351
- /**
352
- * @internal
353
- */
354
- export const filterSensitiveLog = (obj: ThrottlingException): any => ({
355
- ...obj,
356
- });
357
- }
358
-
359
- /**
360
- * <p>The input fails to satisfy the constraints specified by an AWS service.</p>
361
- */
362
- export interface ValidationException extends __SmithyException, $MetadataBearer {
363
- name: "ValidationException";
364
- $fault: "client";
365
- message?: string;
366
- }
367
-
368
- export namespace ValidationException {
369
- /**
370
- * @internal
371
- */
372
- export const filterSensitiveLog = (obj: ValidationException): any => ({
373
- ...obj,
374
- });
375
- }
376
-
377
- export interface GetProgrammaticAccessCredentialsRequest {
378
- /**
379
- * <p>The time duration in which the credentials remain valid. </p>
380
- */
381
- durationInMinutes?: number;
382
-
383
- /**
384
- * <p>The habanero environment identifier.</p>
385
- */
386
- environmentId: string | undefined;
387
- }
388
-
389
- export namespace GetProgrammaticAccessCredentialsRequest {
390
- /**
391
- * @internal
392
- */
393
- export const filterSensitiveLog = (obj: GetProgrammaticAccessCredentialsRequest): any => ({
394
- ...obj,
395
- });
396
- }
397
-
398
- /**
399
- * <p>Set short term API credentials.</p>
400
- */
401
- export interface Credentials {
402
- /**
403
- * <p>The access key identifier.</p>
404
- */
405
- accessKeyId?: string;
406
-
407
- /**
408
- * <p>The access key.</p>
409
- */
410
- secretAccessKey?: string;
411
-
412
- /**
413
- * <p>The session token.</p>
414
- */
415
- sessionToken?: string;
416
- }
417
-
418
- export namespace Credentials {
419
- /**
420
- * @internal
421
- */
422
- export const filterSensitiveLog = (obj: Credentials): any => ({
423
- ...obj,
424
- });
425
- }
426
-
427
- export interface GetProgrammaticAccessCredentialsResponse {
428
- /**
429
- * <p>Returns the programmatic credentials.</p>
430
- */
431
- credentials?: Credentials;
432
-
433
- /**
434
- * <p>Returns the duration in which the credentials will remain valid.</p>
435
- */
436
- durationInMinutes?: number;
437
- }
438
-
439
- export namespace GetProgrammaticAccessCredentialsResponse {
440
- /**
441
- * @internal
442
- */
443
- export const filterSensitiveLog = (obj: GetProgrammaticAccessCredentialsResponse): any => ({
444
- ...obj,
445
- });
446
- }
447
-
448
- export enum LocationType {
449
- INGESTION = "INGESTION",
450
- SAGEMAKER = "SAGEMAKER",
451
- }
452
-
453
- export interface GetWorkingLocationRequest {
454
- /**
455
- * <p>Specify the type of the working location.</p>
456
- * <ul>
457
- * <li>
458
- * <p>
459
- * <code>SAGEMAKER</code> - Use the Amazon S3 location as a temporary location to store data content when
460
- * working with FinSpace Notebooks that run on SageMaker studio.</p>
461
- * </li>
462
- * <li>
463
- * <p>
464
- * <code>INGESTION</code> - Use the Amazon S3 location as a staging location to copy your
465
- * data content and then use the location with the changeset creation operation.</p>
466
- * </li>
467
- * </ul>
468
- */
469
- locationType?: LocationType | string;
470
- }
471
-
472
- export namespace GetWorkingLocationRequest {
473
- /**
474
- * @internal
475
- */
476
- export const filterSensitiveLog = (obj: GetWorkingLocationRequest): any => ({
477
- ...obj,
478
- });
479
- }
480
-
481
- export interface GetWorkingLocationResponse {
482
- /**
483
- * <p>Returns the Amazon S3 URI for the working location.</p>
484
- */
485
- s3Uri?: string;
486
-
487
- /**
488
- * <p>Returns the Amazon S3 Path for the working location.</p>
489
- */
490
- s3Path?: string;
491
-
492
- /**
493
- * <p>Returns the Amazon S3 bucket name for the working location.</p>
494
- */
495
- s3Bucket?: string;
496
- }
497
-
498
- export namespace GetWorkingLocationResponse {
499
- /**
500
- * @internal
501
- */
502
- export const filterSensitiveLog = (obj: GetWorkingLocationResponse): any => ({
503
- ...obj,
504
- });
505
- }