@aws-sdk/client-finspace-data 3.47.2 → 3.48.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.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,17 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.48.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.47.2...v3.48.0) (2022-01-22)
7
+
8
+
9
+ ### Features
10
+
11
+ * **clients:** update clients as of 2022/01/21 ([#3228](https://github.com/aws/aws-sdk-js-v3/issues/3228)) ([fa713ef](https://github.com/aws/aws-sdk-js-v3/commit/fa713efca6b2f424c27535d000359f08830960b1))
12
+
13
+
14
+
15
+
16
+
6
17
  ## [3.47.2](https://github.com/aws/aws-sdk-js-v3/compare/v3.47.1...v3.47.2) (2022-01-21)
7
18
 
8
19
  **Note:** Version bump only for package @aws-sdk/client-finspace-data
@@ -25,7 +25,7 @@ export declare enum ChangeType {
25
25
  */
26
26
  export interface CreateChangesetRequest {
27
27
  /**
28
- * <p>A token used to ensure idempotency.</p>
28
+ * <p>A token that ensures idempotency. This token expires in 10 minutes.</p>
29
29
  */
30
30
  clientToken?: string;
31
31
  /**
@@ -54,7 +54,19 @@ export interface CreateChangesetRequest {
54
54
  */
55
55
  changeType: ChangeType | string | undefined;
56
56
  /**
57
- * <p>Options that define the location of the data being ingested.</p>
57
+ * <p>Options that define the location of the data being ingested (<code>s3SourcePath</code>) and the source of the changeset (<code>sourceType</code>).</p>
58
+ * <p>Both <code>s3SourcePath</code> and <code>sourceType</code> are required attributes.</p>
59
+ * <p>Here is an example of how you could specify the <code>sourceParams</code>:</p>
60
+ * <p>
61
+ * <code>
62
+ * "sourceParams":
63
+ * {
64
+ * "s3SourcePath": "s3://finspace-landing-us-east-2-bk7gcfvitndqa6ebnvys4d/scratch/wr5hh8pwkpqqkxa4sxrmcw/ingestion/equity.csv",
65
+ * "sourceType": "S3"
66
+ * }
67
+ * </code>
68
+ * </p>
69
+ * <p>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 <a href="https://docs.aws.amazon.com/finspace/latest/data-api/fs-using-the-finspace-api.html#access-s3-buckets">Loading data from an Amazon S3 Bucket using the FinSpace API</a>section.</p>
58
70
  */
59
71
  sourceParams: {
60
72
  [key: string]: string;
@@ -84,11 +96,9 @@ export interface CreateChangesetRequest {
84
96
  * </li>
85
97
  * </ul>
86
98
  *
99
+ * <p>Here is an example of how you could specify the <code>formatParams</code>:</p>
87
100
  * <p>
88
- *
89
- * For example, you could specify the following for <code>formatParams</code>:
90
- *
91
- * <code>
101
+ * <code>
92
102
  * "formatParams":
93
103
  * {
94
104
  * "formatType": "CSV",
@@ -96,8 +106,18 @@ export interface CreateChangesetRequest {
96
106
  * "separator": ",",
97
107
  * "compression":"None"
98
108
  * }
99
- * </code>
109
+ * </code>
110
+ * </p>
111
+ * <p>Note that if you only provide <code>formatType</code> as <code>CSV</code>, the rest of the attributes will automatically default to CSV values as following:</p>
112
+ * <p>
113
+ * <code>
114
+ * {
115
+ * "withHeader": "true",
116
+ * "separator": ","
117
+ * }
118
+ * </code>
100
119
  * </p>
120
+ * <p> For more information about supported file formats, see <a href="https://docs.aws.amazon.com/finspace/latest/userguide/supported-data-types.html">Supported Data Types and File Formats</a> in the FinSpace User Guide.</p>
101
121
  */
102
122
  formatParams: {
103
123
  [key: string]: string;
@@ -196,7 +216,43 @@ export declare namespace DatasetOwnerInfo {
196
216
  const filterSensitiveLog: (obj: DatasetOwnerInfo) => any;
197
217
  }
198
218
  /**
199
- * <p>Resource permission for a Dataset.</p>
219
+ * <p>Resource permission for a dataset. When you create a dataset, all the other members of the same user group inherit access to the dataset. You can only create a dataset if your user group has application permission for Create Datasets.</p>
220
+ * <p>The following is a list of valid dataset permissions that you can apply:
221
+ *
222
+ * </p>
223
+ * <ul>
224
+ * <li>
225
+ * <p>
226
+ * <code>ViewDatasetDetails</code>
227
+ * </p>
228
+ * </li>
229
+ * <li>
230
+ * <p>
231
+ * <code>ReadDatasetDetails</code>
232
+ * </p>
233
+ * </li>
234
+ * <li>
235
+ * <p>
236
+ * <code>AddDatasetData</code>
237
+ * </p>
238
+ * </li>
239
+ * <li>
240
+ * <p>
241
+ * <code>CreateSnapshot</code>
242
+ * </p>
243
+ * </li>
244
+ * <li>
245
+ * <p>
246
+ * <code>EditDatasetMetadata</code>
247
+ * </p>
248
+ * </li>
249
+ * <li>
250
+ * <p>
251
+ * <code>DeleteDataset</code>
252
+ * </p>
253
+ * </li>
254
+ * </ul>
255
+ * <p>For more information on the ataset permissions, see <a href="https://docs.aws.amazon.com/finspace/latest/userguide/managing-user-permissions.html#supported-dataset-permissions">Supported Dataset Permissions</a> in the FinSpace User Guide.</p>
200
256
  */
201
257
  export interface ResourcePermission {
202
258
  /**
@@ -212,6 +268,20 @@ export declare namespace ResourcePermission {
212
268
  }
213
269
  /**
214
270
  * <p>Permission group parameters for Dataset permissions.</p>
271
+ * <p>Here is an example of how you could specify the <code>PermissionGroupParams</code>:</p>
272
+ * <p>
273
+ * <code>
274
+ * {
275
+ * "permissionGroupId": "0r6fCRtSTUk4XPfXQe3M0g",
276
+ * "datasetPermissions": [
277
+ * {"permission": "ViewDatasetDetails"},
278
+ * {"permission": "AddDatasetData"},
279
+ * {"permission": "EditDatasetMetadata"},
280
+ * {"permission": "DeleteDataset"}
281
+ * ]
282
+ * }
283
+ * </code>
284
+ * </p>
215
285
  */
216
286
  export interface PermissionGroupParams {
217
287
  /**
@@ -333,7 +403,7 @@ export declare namespace SchemaUnion {
333
403
  */
334
404
  export interface CreateDatasetRequest {
335
405
  /**
336
- * <p>A token used to ensure idempotency.</p>
406
+ * <p>A token that ensures idempotency. This token expires in 10 minutes.</p>
337
407
  */
338
408
  clientToken?: string;
339
409
  /**
@@ -411,13 +481,40 @@ export interface DataViewDestinationTypeParams {
411
481
  * <p>
412
482
  * <code>GLUE_TABLE</code> - Glue table destination type.</p>
413
483
  * </li>
484
+ * <li>
485
+ * <p>
486
+ * <code>S3</code> - S3 destination type.</p>
487
+ * </li>
414
488
  * </ul>
415
489
  */
416
490
  destinationType: string | undefined;
417
491
  /**
418
- * Data View Export File Format
492
+ * <p>Data view export file format.</p>
493
+ * <ul>
494
+ * <li>
495
+ * <p>
496
+ * <code>PARQUET</code> - Parquet export file format.</p>
497
+ * </li>
498
+ * <li>
499
+ * <p>
500
+ * <code>DELIMITED_TEXT</code> - Delimited text export file format.</p>
501
+ * </li>
502
+ * </ul>
419
503
  */
420
504
  s3DestinationExportFileFormat?: ExportFileFormat | string;
505
+ /**
506
+ * <p>Format Options for S3 Destination type.</p>
507
+ * <p>Here is an example of how you could specify the <code>s3DestinationExportFileFormatOptions</code>
508
+ * </p>
509
+ * <p>
510
+ * <code>
511
+ * {
512
+ * "header": "true",
513
+ * "delimiter": ",",
514
+ * "compression": "gzip"
515
+ * }</code>
516
+ * </p>
517
+ */
421
518
  s3DestinationExportFileFormatOptions?: {
422
519
  [key: string]: string;
423
520
  };
@@ -433,7 +530,7 @@ export declare namespace DataViewDestinationTypeParams {
433
530
  */
434
531
  export interface CreateDataViewRequest {
435
532
  /**
436
- * <p>A token used to ensure idempotency.</p>
533
+ * <p>A token that ensures idempotency. This token expires in 10 minutes.</p>
437
534
  */
438
535
  clientToken?: string;
439
536
  /**
@@ -491,7 +588,7 @@ export declare namespace CreateDataViewResponse {
491
588
  */
492
589
  export interface DeleteDatasetRequest {
493
590
  /**
494
- * <p>A token used to ensure idempotency.</p>
591
+ * <p>A token that ensures idempotency. This token expires in 10 minutes.</p>
495
592
  */
496
593
  clientToken?: string;
497
594
  /**
@@ -677,7 +774,7 @@ export interface GetChangesetResponse {
677
774
  */
678
775
  activeUntilTimestamp?: number;
679
776
  /**
680
- * Milliseconds since UTC epoch
777
+ * <p>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.</p>
681
778
  */
682
779
  activeFromTimestamp?: number;
683
780
  /**
@@ -1195,7 +1292,7 @@ export interface ChangesetSummary {
1195
1292
  */
1196
1293
  activeUntilTimestamp?: number;
1197
1294
  /**
1198
- * Milliseconds since UTC epoch
1295
+ * <p>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.</p>
1199
1296
  */
1200
1297
  activeFromTimestamp?: number;
1201
1298
  /**
@@ -1468,7 +1565,7 @@ export declare namespace ListDataViewsResponse {
1468
1565
  */
1469
1566
  export interface UpdateChangesetRequest {
1470
1567
  /**
1471
- * <p>A token used to ensure idempotency.</p>
1568
+ * <p>A token that ensures idempotency. This token expires in 10 minutes.</p>
1472
1569
  */
1473
1570
  clientToken?: string;
1474
1571
  /**
@@ -1480,13 +1577,70 @@ export interface UpdateChangesetRequest {
1480
1577
  */
1481
1578
  changesetId: string | undefined;
1482
1579
  /**
1483
- * <p>Options that define the location of the data being ingested.</p>
1580
+ * <p>Options that define the location of the data being ingested (<code>s3SourcePath</code>) and the source of the changeset (<code>sourceType</code>).</p>
1581
+ * <p>Both <code>s3SourcePath</code> and <code>sourceType</code> are required attributes.</p>
1582
+ * <p>Here is an example of how you could specify the <code>sourceParams</code>:</p>
1583
+ * <p>
1584
+ * <code>
1585
+ * "sourceParams":
1586
+ * {
1587
+ * "s3SourcePath": "s3://finspace-landing-us-east-2-bk7gcfvitndqa6ebnvys4d/scratch/wr5hh8pwkpqqkxa4sxrmcw/ingestion/equity.csv",
1588
+ * "sourceType": "S3"
1589
+ * }
1590
+ * </code>
1591
+ * </p>
1592
+ * <p>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 <a href="https://docs.aws.amazon.com/finspace/latest/data-api/fs-using-the-finspace-api.html#access-s3-buckets">Loading data from an Amazon S3 Bucket using the FinSpace API</a>section.</p>
1484
1593
  */
1485
1594
  sourceParams: {
1486
1595
  [key: string]: string;
1487
1596
  } | undefined;
1488
1597
  /**
1489
- * <p>Options that define the structure of the source file(s).</p>
1598
+ * <p>Options that define the structure of the source file(s) including the format type (<code>formatType</code>), header row (<code>withHeader</code>), data separation character (<code>separator</code>) and the type of compression (<code>compression</code>).
1599
+ * </p>
1600
+ * <p>
1601
+ * <code>formatType</code> is a required attribute and can have the following values:
1602
+ * </p>
1603
+ * <ul>
1604
+ * <li>
1605
+ * <p>
1606
+ * <code>PARQUET</code> - Parquet source file format.</p>
1607
+ * </li>
1608
+ * <li>
1609
+ * <p>
1610
+ * <code>CSV</code> - CSV source file format.</p>
1611
+ * </li>
1612
+ * <li>
1613
+ * <p>
1614
+ * <code>JSON</code> - JSON source file format.</p>
1615
+ * </li>
1616
+ * <li>
1617
+ * <p>
1618
+ * <code>XML</code> - XML source file format.</p>
1619
+ * </li>
1620
+ * </ul>
1621
+ *
1622
+ * <p>Here is an example of how you could specify the <code>formatParams</code>:</p>
1623
+ * <p>
1624
+ * <code>
1625
+ * "formatParams":
1626
+ * {
1627
+ * "formatType": "CSV",
1628
+ * "withHeader": "true",
1629
+ * "separator": ",",
1630
+ * "compression":"None"
1631
+ * }
1632
+ * </code>
1633
+ * </p>
1634
+ * <p>Note that if you only provide <code>formatType</code> as <code>CSV</code>, the rest of the attributes will automatically default to CSV values as following:</p>
1635
+ * <p>
1636
+ * <code>
1637
+ * {
1638
+ * "withHeader": "true",
1639
+ * "separator": ","
1640
+ * }
1641
+ * </code>
1642
+ * </p>
1643
+ * <p> For more information about supported file formats, see <a href="https://docs.aws.amazon.com/finspace/latest/userguide/supported-data-types.html">Supported Data Types and File Formats</a> in the FinSpace User Guide.</p>
1490
1644
  */
1491
1645
  formatParams: {
1492
1646
  [key: string]: string;
@@ -1522,7 +1676,7 @@ export declare namespace UpdateChangesetResponse {
1522
1676
  */
1523
1677
  export interface UpdateDatasetRequest {
1524
1678
  /**
1525
- * <p>A token used to ensure idempotency.</p>
1679
+ * <p>A token that ensures idempotency. This token expires in 10 minutes.</p>
1526
1680
  */
1527
1681
  clientToken?: string;
1528
1682
  /**
@@ -203,6 +203,7 @@ export interface DataViewDestinationTypeParams {
203
203
  destinationType: string | undefined;
204
204
 
205
205
  s3DestinationExportFileFormat?: ExportFileFormat | string;
206
+
206
207
  s3DestinationExportFileFormatOptions?: {
207
208
  [key: string]: string;
208
209
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-finspace-data",
3
3
  "description": "AWS SDK for JavaScript Finspace Data Client for Node.js, Browser and React Native",
4
- "version": "3.47.2",
4
+ "version": "3.48.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -18,9 +18,9 @@
18
18
  "dependencies": {
19
19
  "@aws-crypto/sha256-browser": "2.0.0",
20
20
  "@aws-crypto/sha256-js": "2.0.0",
21
- "@aws-sdk/client-sts": "3.47.2",
21
+ "@aws-sdk/client-sts": "3.48.0",
22
22
  "@aws-sdk/config-resolver": "3.47.2",
23
- "@aws-sdk/credential-provider-node": "3.47.2",
23
+ "@aws-sdk/credential-provider-node": "3.48.0",
24
24
  "@aws-sdk/fetch-http-handler": "3.47.2",
25
25
  "@aws-sdk/hash-node": "3.47.2",
26
26
  "@aws-sdk/invalid-dependency": "3.47.2",