@aws-sdk/client-supplychain 3.658.0 → 3.661.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 (71) hide show
  1. package/README.md +111 -7
  2. package/dist-cjs/index.js +675 -2
  3. package/dist-es/SupplyChain.js +26 -0
  4. package/dist-es/commands/CreateDataIntegrationFlowCommand.js +22 -0
  5. package/dist-es/commands/CreateDataLakeDatasetCommand.js +22 -0
  6. package/dist-es/commands/DeleteDataIntegrationFlowCommand.js +22 -0
  7. package/dist-es/commands/DeleteDataLakeDatasetCommand.js +22 -0
  8. package/dist-es/commands/GetDataIntegrationFlowCommand.js +22 -0
  9. package/dist-es/commands/GetDataLakeDatasetCommand.js +22 -0
  10. package/dist-es/commands/ListDataIntegrationFlowsCommand.js +22 -0
  11. package/dist-es/commands/ListDataLakeDatasetsCommand.js +22 -0
  12. package/dist-es/commands/ListTagsForResourceCommand.js +22 -0
  13. package/dist-es/commands/TagResourceCommand.js +22 -0
  14. package/dist-es/commands/UntagResourceCommand.js +22 -0
  15. package/dist-es/commands/UpdateDataIntegrationFlowCommand.js +22 -0
  16. package/dist-es/commands/UpdateDataLakeDatasetCommand.js +22 -0
  17. package/dist-es/commands/index.js +13 -0
  18. package/dist-es/index.js +1 -0
  19. package/dist-es/models/models_0.js +27 -0
  20. package/dist-es/pagination/Interfaces.js +1 -0
  21. package/dist-es/pagination/ListDataIntegrationFlowsPaginator.js +4 -0
  22. package/dist-es/pagination/ListDataLakeDatasetsPaginator.js +4 -0
  23. package/dist-es/pagination/index.js +3 -0
  24. package/dist-es/protocols/Aws_restJson1.js +396 -6
  25. package/dist-types/SupplyChain.d.ts +91 -0
  26. package/dist-types/SupplyChainClient.d.ts +15 -2
  27. package/dist-types/commands/CreateDataIntegrationFlowCommand.d.ts +140 -0
  28. package/dist-types/commands/CreateDataLakeDatasetCommand.d.ts +126 -0
  29. package/dist-types/commands/DeleteDataIntegrationFlowCommand.d.ts +94 -0
  30. package/dist-types/commands/DeleteDataLakeDatasetCommand.d.ts +96 -0
  31. package/dist-types/commands/GetDataIntegrationFlowCommand.d.ts +141 -0
  32. package/dist-types/commands/GetDataLakeDatasetCommand.d.ts +112 -0
  33. package/dist-types/commands/ListDataIntegrationFlowsCommand.d.ts +145 -0
  34. package/dist-types/commands/ListDataLakeDatasetsCommand.d.ts +116 -0
  35. package/dist-types/commands/ListTagsForResourceCommand.d.ts +94 -0
  36. package/dist-types/commands/TagResourceCommand.d.ts +93 -0
  37. package/dist-types/commands/UntagResourceCommand.d.ts +93 -0
  38. package/dist-types/commands/UpdateDataIntegrationFlowCommand.d.ts +184 -0
  39. package/dist-types/commands/UpdateDataLakeDatasetCommand.d.ts +113 -0
  40. package/dist-types/commands/index.d.ts +13 -0
  41. package/dist-types/index.d.ts +1 -0
  42. package/dist-types/models/models_0.d.ts +909 -18
  43. package/dist-types/pagination/Interfaces.d.ts +8 -0
  44. package/dist-types/pagination/ListDataIntegrationFlowsPaginator.d.ts +7 -0
  45. package/dist-types/pagination/ListDataLakeDatasetsPaginator.d.ts +7 -0
  46. package/dist-types/pagination/index.d.ts +3 -0
  47. package/dist-types/protocols/Aws_restJson1.d.ts +117 -0
  48. package/dist-types/ts3.4/SupplyChain.d.ts +221 -0
  49. package/dist-types/ts3.4/SupplyChainClient.d.ts +80 -2
  50. package/dist-types/ts3.4/commands/CreateDataIntegrationFlowCommand.d.ts +51 -0
  51. package/dist-types/ts3.4/commands/CreateDataLakeDatasetCommand.d.ts +51 -0
  52. package/dist-types/ts3.4/commands/DeleteDataIntegrationFlowCommand.d.ts +51 -0
  53. package/dist-types/ts3.4/commands/DeleteDataLakeDatasetCommand.d.ts +51 -0
  54. package/dist-types/ts3.4/commands/GetDataIntegrationFlowCommand.d.ts +51 -0
  55. package/dist-types/ts3.4/commands/GetDataLakeDatasetCommand.d.ts +51 -0
  56. package/dist-types/ts3.4/commands/ListDataIntegrationFlowsCommand.d.ts +51 -0
  57. package/dist-types/ts3.4/commands/ListDataLakeDatasetsCommand.d.ts +51 -0
  58. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +51 -0
  59. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +47 -0
  60. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +50 -0
  61. package/dist-types/ts3.4/commands/UpdateDataIntegrationFlowCommand.d.ts +51 -0
  62. package/dist-types/ts3.4/commands/UpdateDataLakeDatasetCommand.d.ts +51 -0
  63. package/dist-types/ts3.4/commands/index.d.ts +13 -0
  64. package/dist-types/ts3.4/index.d.ts +1 -0
  65. package/dist-types/ts3.4/models/models_0.d.ts +220 -0
  66. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  67. package/dist-types/ts3.4/pagination/ListDataIntegrationFlowsPaginator.d.ts +11 -0
  68. package/dist-types/ts3.4/pagination/ListDataLakeDatasetsPaginator.d.ts +11 -0
  69. package/dist-types/ts3.4/pagination/index.d.ts +3 -0
  70. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +156 -0
  71. package/package.json +12 -12
@@ -86,7 +86,7 @@ export interface CreateBillOfMaterialsImportJobRequest {
86
86
  */
87
87
  s3uri: string | undefined;
88
88
  /**
89
- * <p>An idempotency token.</p>
89
+ * <p>An idempotency token ensures the API request is only completed no more than once. This way, retrying the request will not trigger the operation multiple times. A client token is a unique, case-sensitive string of 33 to 128 ASCII characters. To make an idempotent API request, specify a client token in the request. You should not reuse the same client token for other requests. If you retry a successful request with the same client token, the request will succeed with no further actions being taken, and you will receive the same API response as the original successful request.</p>
90
90
  * @public
91
91
  */
92
92
  clientToken?: string;
@@ -193,6 +193,458 @@ export interface GetBillOfMaterialsImportJobResponse {
193
193
  */
194
194
  job: BillOfMaterialsImportJob | undefined;
195
195
  }
196
+ /**
197
+ * @public
198
+ * @enum
199
+ */
200
+ export declare const DataIntegrationFlowLoadType: {
201
+ readonly INCREMENTAL: "INCREMENTAL";
202
+ readonly REPLACE: "REPLACE";
203
+ };
204
+ /**
205
+ * @public
206
+ */
207
+ export type DataIntegrationFlowLoadType = (typeof DataIntegrationFlowLoadType)[keyof typeof DataIntegrationFlowLoadType];
208
+ /**
209
+ * <p>The dataset options used in dataset source and target configurations.</p>
210
+ * @public
211
+ */
212
+ export interface DataIntegrationFlowDatasetOptions {
213
+ /**
214
+ * <p>The dataset data load type in dataset options.</p>
215
+ * @public
216
+ */
217
+ loadType?: DataIntegrationFlowLoadType;
218
+ /**
219
+ * <p>The dataset load option to remove duplicates.</p>
220
+ * @public
221
+ */
222
+ dedupeRecords?: boolean;
223
+ }
224
+ /**
225
+ * <p>The dataset DataIntegrationFlow source configuration parameters.</p>
226
+ * @public
227
+ */
228
+ export interface DataIntegrationFlowDatasetSourceConfiguration {
229
+ /**
230
+ * <p>The ARN of the dataset.</p>
231
+ * @public
232
+ */
233
+ datasetIdentifier: string | undefined;
234
+ /**
235
+ * <p>The dataset DataIntegrationFlow source options.</p>
236
+ * @public
237
+ */
238
+ options?: DataIntegrationFlowDatasetOptions;
239
+ }
240
+ /**
241
+ * @public
242
+ * @enum
243
+ */
244
+ export declare const DataIntegrationFlowFileType: {
245
+ readonly CSV: "CSV";
246
+ readonly JSON: "JSON";
247
+ readonly PARQUET: "PARQUET";
248
+ };
249
+ /**
250
+ * @public
251
+ */
252
+ export type DataIntegrationFlowFileType = (typeof DataIntegrationFlowFileType)[keyof typeof DataIntegrationFlowFileType];
253
+ /**
254
+ * <p>The Amazon S3 options used in S3 source and target configurations.</p>
255
+ * @public
256
+ */
257
+ export interface DataIntegrationFlowS3Options {
258
+ /**
259
+ * <p>The Amazon S3 file type in S3 options.</p>
260
+ * @public
261
+ */
262
+ fileType?: DataIntegrationFlowFileType;
263
+ }
264
+ /**
265
+ * <p>The S3 DataIntegrationFlow source configuration parameters.</p>
266
+ * @public
267
+ */
268
+ export interface DataIntegrationFlowS3SourceConfiguration {
269
+ /**
270
+ * <p>The bucketName of the S3 source objects.</p>
271
+ * @public
272
+ */
273
+ bucketName: string | undefined;
274
+ /**
275
+ * <p>The prefix of the S3 source objects.</p>
276
+ * @public
277
+ */
278
+ prefix: string | undefined;
279
+ /**
280
+ * <p>The other options of the S3 DataIntegrationFlow source.</p>
281
+ * @public
282
+ */
283
+ options?: DataIntegrationFlowS3Options;
284
+ }
285
+ /**
286
+ * @public
287
+ * @enum
288
+ */
289
+ export declare const DataIntegrationFlowSourceType: {
290
+ readonly DATASET: "DATASET";
291
+ readonly S3: "S3";
292
+ };
293
+ /**
294
+ * @public
295
+ */
296
+ export type DataIntegrationFlowSourceType = (typeof DataIntegrationFlowSourceType)[keyof typeof DataIntegrationFlowSourceType];
297
+ /**
298
+ * <p>The DataIntegrationFlow source parameters.</p>
299
+ * @public
300
+ */
301
+ export interface DataIntegrationFlowSource {
302
+ /**
303
+ * <p>The DataIntegrationFlow source type.</p>
304
+ * @public
305
+ */
306
+ sourceType: DataIntegrationFlowSourceType | undefined;
307
+ /**
308
+ * <p>The DataIntegrationFlow source name that can be used as table alias in SQL transformation query.</p>
309
+ * @public
310
+ */
311
+ sourceName: string | undefined;
312
+ /**
313
+ * <p>The S3 DataIntegrationFlow source.</p>
314
+ * @public
315
+ */
316
+ s3Source?: DataIntegrationFlowS3SourceConfiguration;
317
+ /**
318
+ * <p>The dataset DataIntegrationFlow source.</p>
319
+ * @public
320
+ */
321
+ datasetSource?: DataIntegrationFlowDatasetSourceConfiguration;
322
+ }
323
+ /**
324
+ * <p>The dataset DataIntegrationFlow target configuration parameters.</p>
325
+ * @public
326
+ */
327
+ export interface DataIntegrationFlowDatasetTargetConfiguration {
328
+ /**
329
+ * <p>The dataset ARN.</p>
330
+ * @public
331
+ */
332
+ datasetIdentifier: string | undefined;
333
+ /**
334
+ * <p>The dataset DataIntegrationFlow target options.</p>
335
+ * @public
336
+ */
337
+ options?: DataIntegrationFlowDatasetOptions;
338
+ }
339
+ /**
340
+ * <p>The S3 DataIntegrationFlow target configuration parameters.</p>
341
+ * @public
342
+ */
343
+ export interface DataIntegrationFlowS3TargetConfiguration {
344
+ /**
345
+ * <p>The bucketName of the S3 target objects.</p>
346
+ * @public
347
+ */
348
+ bucketName: string | undefined;
349
+ /**
350
+ * <p>The prefix of the S3 target objects.</p>
351
+ * @public
352
+ */
353
+ prefix: string | undefined;
354
+ /**
355
+ * <p>The S3 DataIntegrationFlow target options.</p>
356
+ * @public
357
+ */
358
+ options?: DataIntegrationFlowS3Options;
359
+ }
360
+ /**
361
+ * @public
362
+ * @enum
363
+ */
364
+ export declare const DataIntegrationFlowTargetType: {
365
+ readonly DATASET: "DATASET";
366
+ readonly S3: "S3";
367
+ };
368
+ /**
369
+ * @public
370
+ */
371
+ export type DataIntegrationFlowTargetType = (typeof DataIntegrationFlowTargetType)[keyof typeof DataIntegrationFlowTargetType];
372
+ /**
373
+ * <p>The DataIntegrationFlow target parameters.</p>
374
+ * @public
375
+ */
376
+ export interface DataIntegrationFlowTarget {
377
+ /**
378
+ * <p>The DataIntegrationFlow target type.</p>
379
+ * @public
380
+ */
381
+ targetType: DataIntegrationFlowTargetType | undefined;
382
+ /**
383
+ * <p>The S3 DataIntegrationFlow target.</p>
384
+ * @public
385
+ */
386
+ s3Target?: DataIntegrationFlowS3TargetConfiguration;
387
+ /**
388
+ * <p>The dataset DataIntegrationFlow target.</p>
389
+ * @public
390
+ */
391
+ datasetTarget?: DataIntegrationFlowDatasetTargetConfiguration;
392
+ }
393
+ /**
394
+ * <p>The SQL DataIntegrationFlow transformation configuration parameters.</p>
395
+ * @public
396
+ */
397
+ export interface DataIntegrationFlowSQLTransformationConfiguration {
398
+ /**
399
+ * <p>The transformation SQL query body based on SparkSQL.</p>
400
+ * @public
401
+ */
402
+ query: string | undefined;
403
+ }
404
+ /**
405
+ * @public
406
+ * @enum
407
+ */
408
+ export declare const DataIntegrationFlowTransformationType: {
409
+ readonly NONE: "NONE";
410
+ readonly SQL: "SQL";
411
+ };
412
+ /**
413
+ * @public
414
+ */
415
+ export type DataIntegrationFlowTransformationType = (typeof DataIntegrationFlowTransformationType)[keyof typeof DataIntegrationFlowTransformationType];
416
+ /**
417
+ * <p>The DataIntegrationFlow transformation parameters.</p>
418
+ * @public
419
+ */
420
+ export interface DataIntegrationFlowTransformation {
421
+ /**
422
+ * <p>The DataIntegrationFlow transformation type.</p>
423
+ * @public
424
+ */
425
+ transformationType: DataIntegrationFlowTransformationType | undefined;
426
+ /**
427
+ * <p>The SQL DataIntegrationFlow transformation configuration.</p>
428
+ * @public
429
+ */
430
+ sqlTransformation?: DataIntegrationFlowSQLTransformationConfiguration;
431
+ }
432
+ /**
433
+ * <p>The request parameters for CreateDataIntegrationFlow.</p>
434
+ * @public
435
+ */
436
+ export interface CreateDataIntegrationFlowRequest {
437
+ /**
438
+ * <p>The Amazon Web Services Supply Chain instance identifier.</p>
439
+ * @public
440
+ */
441
+ instanceId: string | undefined;
442
+ /**
443
+ * <p>Name of the DataIntegrationFlow.</p>
444
+ * @public
445
+ */
446
+ name: string | undefined;
447
+ /**
448
+ * <p>The source configurations for DataIntegrationFlow.</p>
449
+ * @public
450
+ */
451
+ sources: DataIntegrationFlowSource[] | undefined;
452
+ /**
453
+ * <p>The transformation configurations for DataIntegrationFlow.</p>
454
+ * @public
455
+ */
456
+ transformation: DataIntegrationFlowTransformation | undefined;
457
+ /**
458
+ * <p>The target configurations for DataIntegrationFlow.</p>
459
+ * @public
460
+ */
461
+ target: DataIntegrationFlowTarget | undefined;
462
+ /**
463
+ * <p>The tags of the DataIntegrationFlow to be created</p>
464
+ * @public
465
+ */
466
+ tags?: Record<string, string>;
467
+ }
468
+ /**
469
+ * <p>The response parameters for CreateDataIntegrationFlow.</p>
470
+ * @public
471
+ */
472
+ export interface CreateDataIntegrationFlowResponse {
473
+ /**
474
+ * <p>The Amazon Web Services Supply Chain instance identifier.</p>
475
+ * @public
476
+ */
477
+ instanceId: string | undefined;
478
+ /**
479
+ * <p>The name of the DataIntegrationFlow created.</p>
480
+ * @public
481
+ */
482
+ name: string | undefined;
483
+ }
484
+ /**
485
+ * @public
486
+ * @enum
487
+ */
488
+ export declare const DataLakeDatasetSchemaFieldType: {
489
+ readonly DOUBLE: "DOUBLE";
490
+ readonly INT: "INT";
491
+ readonly STRING: "STRING";
492
+ readonly TIMESTAMP: "TIMESTAMP";
493
+ };
494
+ /**
495
+ * @public
496
+ */
497
+ export type DataLakeDatasetSchemaFieldType = (typeof DataLakeDatasetSchemaFieldType)[keyof typeof DataLakeDatasetSchemaFieldType];
498
+ /**
499
+ * <p>The dataset field details.</p>
500
+ * @public
501
+ */
502
+ export interface DataLakeDatasetSchemaField {
503
+ /**
504
+ * <p>The dataset field name.</p>
505
+ * @public
506
+ */
507
+ name: string | undefined;
508
+ /**
509
+ * <p>The dataset field type.</p>
510
+ * @public
511
+ */
512
+ type: DataLakeDatasetSchemaFieldType | undefined;
513
+ /**
514
+ * <p>Indicate if the field is required or not.</p>
515
+ * @public
516
+ */
517
+ isRequired: boolean | undefined;
518
+ }
519
+ /**
520
+ * <p>The schema details of the dataset.</p>
521
+ * @public
522
+ */
523
+ export interface DataLakeDatasetSchema {
524
+ /**
525
+ * <p>The name of the dataset schema.</p>
526
+ * @public
527
+ */
528
+ name: string | undefined;
529
+ /**
530
+ * <p>The list of field details of the dataset schema.</p>
531
+ * @public
532
+ */
533
+ fields: DataLakeDatasetSchemaField[] | undefined;
534
+ }
535
+ /**
536
+ * <p>The request parameters for CreateDataLakeDataset.</p>
537
+ * @public
538
+ */
539
+ export interface CreateDataLakeDatasetRequest {
540
+ /**
541
+ * <p>The Amazon Web Services Supply Chain instance identifier.</p>
542
+ * @public
543
+ */
544
+ instanceId: string | undefined;
545
+ /**
546
+ * <p>The name space of the dataset.</p>
547
+ * <ul>
548
+ * <li>
549
+ * <p>
550
+ * <b>asc</b> - For information on the Amazon Web Services Supply Chain supported datasets see <a href="https://docs.aws.amazon.com/aws-supply-chain/latest/userguide/data-model-asc.html">https://docs.aws.amazon.com/aws-supply-chain/latest/userguide/data-model-asc.html</a>.</p>
551
+ * </li>
552
+ * <li>
553
+ * <p>
554
+ * <b>default</b> - For datasets with custom user-defined schemas.</p>
555
+ * </li>
556
+ * </ul>
557
+ * @public
558
+ */
559
+ namespace: string | undefined;
560
+ /**
561
+ * <p>The name of the dataset. For <b>asc</b> name space, the name must be one of the supported data entities under <a href="https://docs.aws.amazon.com/aws-supply-chain/latest/userguide/data-model-asc.html">https://docs.aws.amazon.com/aws-supply-chain/latest/userguide/data-model-asc.html</a>.</p>
562
+ * @public
563
+ */
564
+ name: string | undefined;
565
+ /**
566
+ * <p>The custom schema of the data lake dataset and is only required when the name space is <i>default</i>.</p>
567
+ * @public
568
+ */
569
+ schema?: DataLakeDatasetSchema;
570
+ /**
571
+ * <p>The description of the dataset.</p>
572
+ * @public
573
+ */
574
+ description?: string;
575
+ /**
576
+ * <p>The tags of the dataset.</p>
577
+ * @public
578
+ */
579
+ tags?: Record<string, string>;
580
+ }
581
+ /**
582
+ * <p>The data lake dataset details.</p>
583
+ * @public
584
+ */
585
+ export interface DataLakeDataset {
586
+ /**
587
+ * <p>The Amazon Web Services Supply Chain instance identifier.</p>
588
+ * @public
589
+ */
590
+ instanceId: string | undefined;
591
+ /**
592
+ * <p>The name space of the dataset. The available values are:</p>
593
+ * <ul>
594
+ * <li>
595
+ * <p>
596
+ * <b>asc</b> - For information on the Amazon Web Services Supply Chain supported datasets see <a href="https://docs.aws.amazon.com/aws-supply-chain/latest/userguide/data-model-asc.html">https://docs.aws.amazon.com/aws-supply-chain/latest/userguide/data-model-asc.html</a>.</p>
597
+ * </li>
598
+ * <li>
599
+ * <p>
600
+ * <b>default</b> - For datasets with custom user-defined schemas.</p>
601
+ * </li>
602
+ * </ul>
603
+ * @public
604
+ */
605
+ namespace: string | undefined;
606
+ /**
607
+ * <p>The name of the dataset. For <b>asc</b> name space, the name must be one of the supported data entities under <a href="https://docs.aws.amazon.com/aws-supply-chain/latest/userguide/data-model-asc.html">https://docs.aws.amazon.com/aws-supply-chain/latest/userguide/data-model-asc.html</a>.</p>
608
+ * @public
609
+ */
610
+ name: string | undefined;
611
+ /**
612
+ * <p>The arn of the dataset.</p>
613
+ * @public
614
+ */
615
+ arn: string | undefined;
616
+ /**
617
+ * <p>The schema of the dataset.</p>
618
+ * @public
619
+ */
620
+ schema: DataLakeDatasetSchema | undefined;
621
+ /**
622
+ * <p>The description of the dataset.</p>
623
+ * @public
624
+ */
625
+ description?: string;
626
+ /**
627
+ * <p>The creation time of the dataset.</p>
628
+ * @public
629
+ */
630
+ createdTime: Date | undefined;
631
+ /**
632
+ * <p>The last modified time of the dataset.</p>
633
+ * @public
634
+ */
635
+ lastModifiedTime: Date | undefined;
636
+ }
637
+ /**
638
+ * <p>The response parameters of CreateDataLakeDataset.</p>
639
+ * @public
640
+ */
641
+ export interface CreateDataLakeDatasetResponse {
642
+ /**
643
+ * <p>The detail of created dataset.</p>
644
+ * @public
645
+ */
646
+ dataset: DataLakeDataset | undefined;
647
+ }
196
648
  /**
197
649
  * @public
198
650
  * @enum
@@ -217,54 +669,493 @@ export declare const DataIntegrationEventType: {
217
669
  /**
218
670
  * @public
219
671
  */
220
- export type DataIntegrationEventType = (typeof DataIntegrationEventType)[keyof typeof DataIntegrationEventType];
672
+ export type DataIntegrationEventType = (typeof DataIntegrationEventType)[keyof typeof DataIntegrationEventType];
673
+ /**
674
+ * <p>The request parameters for SendDataIntegrationEvent.</p>
675
+ * @public
676
+ */
677
+ export interface SendDataIntegrationEventRequest {
678
+ /**
679
+ * <p>The AWS Supply Chain instance identifier.</p>
680
+ * @public
681
+ */
682
+ instanceId: string | undefined;
683
+ /**
684
+ * <p>The data event type.</p>
685
+ * @public
686
+ */
687
+ eventType: DataIntegrationEventType | undefined;
688
+ /**
689
+ * <p>The data payload of the event. For more information on the data schema to use, see <a href="https://docs.aws.amazon.com/aws-supply-chain/latest/userguide/data-model-asc.html">Data entities supported in AWS Supply Chain
690
+ * </a>.</p>
691
+ * @public
692
+ */
693
+ data: string | undefined;
694
+ /**
695
+ * <p>Event identifier (for example, orderId for InboundOrder) used for data sharing or partitioning.</p>
696
+ * @public
697
+ */
698
+ eventGroupId: string | undefined;
699
+ /**
700
+ * <p>The event timestamp (in epoch seconds).</p>
701
+ * @public
702
+ */
703
+ eventTimestamp?: Date;
704
+ /**
705
+ * <p>The idempotent client token.</p>
706
+ * @public
707
+ */
708
+ clientToken?: string;
709
+ }
710
+ /**
711
+ * <p>The response parameters for SendDataIntegrationEvent.</p>
712
+ * @public
713
+ */
714
+ export interface SendDataIntegrationEventResponse {
715
+ /**
716
+ * <p>The unique event identifier.</p>
717
+ * @public
718
+ */
719
+ eventId: string | undefined;
720
+ }
221
721
  /**
222
- * <p>The request parameters for SendDataIntegrationEvent.</p>
722
+ * <p>The DataIntegrationFlow details.</p>
223
723
  * @public
224
724
  */
225
- export interface SendDataIntegrationEventRequest {
725
+ export interface DataIntegrationFlow {
726
+ /**
727
+ * <p>The DataIntegrationFlow instance ID.</p>
728
+ * @public
729
+ */
730
+ instanceId: string | undefined;
731
+ /**
732
+ * <p>The DataIntegrationFlow name.</p>
733
+ * @public
734
+ */
735
+ name: string | undefined;
736
+ /**
737
+ * <p>The DataIntegrationFlow source configurations.</p>
738
+ * @public
739
+ */
740
+ sources: DataIntegrationFlowSource[] | undefined;
741
+ /**
742
+ * <p>The DataIntegrationFlow transformation configurations.</p>
743
+ * @public
744
+ */
745
+ transformation: DataIntegrationFlowTransformation | undefined;
746
+ /**
747
+ * <p>The DataIntegrationFlow target configuration.</p>
748
+ * @public
749
+ */
750
+ target: DataIntegrationFlowTarget | undefined;
751
+ /**
752
+ * <p>The DataIntegrationFlow creation timestamp.</p>
753
+ * @public
754
+ */
755
+ createdTime: Date | undefined;
756
+ /**
757
+ * <p>The DataIntegrationFlow last modified timestamp.</p>
758
+ * @public
759
+ */
760
+ lastModifiedTime: Date | undefined;
761
+ }
762
+ /**
763
+ * <p>The request parameters for DeleteDataIntegrationFlow.</p>
764
+ * @public
765
+ */
766
+ export interface DeleteDataIntegrationFlowRequest {
767
+ /**
768
+ * <p>The Amazon Web Services Supply Chain instance identifier.</p>
769
+ * @public
770
+ */
771
+ instanceId: string | undefined;
772
+ /**
773
+ * <p>The name of the DataIntegrationFlow to be deleted.</p>
774
+ * @public
775
+ */
776
+ name: string | undefined;
777
+ }
778
+ /**
779
+ * <p>The response parameters for DeleteDataIntegrationFlow.</p>
780
+ * @public
781
+ */
782
+ export interface DeleteDataIntegrationFlowResponse {
783
+ /**
784
+ * <p>The Amazon Web Services Supply Chain instance identifier.</p>
785
+ * @public
786
+ */
787
+ instanceId: string | undefined;
788
+ /**
789
+ * <p>The name of the DataIntegrationFlow deleted.</p>
790
+ * @public
791
+ */
792
+ name: string | undefined;
793
+ }
794
+ /**
795
+ * <p>The request parameters for GetDataIntegrationFlow.</p>
796
+ * @public
797
+ */
798
+ export interface GetDataIntegrationFlowRequest {
799
+ /**
800
+ * <p>The Amazon Web Services Supply Chain instance identifier.</p>
801
+ * @public
802
+ */
803
+ instanceId: string | undefined;
804
+ /**
805
+ * <p>The name of the DataIntegrationFlow created.</p>
806
+ * @public
807
+ */
808
+ name: string | undefined;
809
+ }
810
+ /**
811
+ * <p>The response parameters for GetDataIntegrationFlow.</p>
812
+ * @public
813
+ */
814
+ export interface GetDataIntegrationFlowResponse {
815
+ /**
816
+ * <p>The details of the DataIntegrationFlow returned.</p>
817
+ * @public
818
+ */
819
+ flow: DataIntegrationFlow | undefined;
820
+ }
821
+ /**
822
+ * <p>The request parameters for ListDataIntegrationFlows.</p>
823
+ * @public
824
+ */
825
+ export interface ListDataIntegrationFlowsRequest {
826
+ /**
827
+ * <p>The Amazon Web Services Supply Chain instance identifier.</p>
828
+ * @public
829
+ */
830
+ instanceId: string | undefined;
831
+ /**
832
+ * <p>The pagination token to fetch the next page of the DataIntegrationFlows.</p>
833
+ * @public
834
+ */
835
+ nextToken?: string;
836
+ /**
837
+ * <p>Specify the maximum number of DataIntegrationFlows to fetch in one paginated request.</p>
838
+ * @public
839
+ */
840
+ maxResults?: number;
841
+ }
842
+ /**
843
+ * <p>The response parameters for ListDataIntegrationFlows.</p>
844
+ * @public
845
+ */
846
+ export interface ListDataIntegrationFlowsResponse {
847
+ /**
848
+ * <p>The response parameters for ListDataIntegrationFlows.</p>
849
+ * @public
850
+ */
851
+ flows: DataIntegrationFlow[] | undefined;
852
+ /**
853
+ * <p>The pagination token to fetch the next page of the DataIntegrationFlows.</p>
854
+ * @public
855
+ */
856
+ nextToken?: string;
857
+ }
858
+ /**
859
+ * <p>The request parameters for UpdateDataIntegrationFlow.</p>
860
+ * @public
861
+ */
862
+ export interface UpdateDataIntegrationFlowRequest {
863
+ /**
864
+ * <p>The Amazon Web Services Supply Chain instance identifier.</p>
865
+ * @public
866
+ */
867
+ instanceId: string | undefined;
868
+ /**
869
+ * <p>The name of the DataIntegrationFlow to be updated.</p>
870
+ * @public
871
+ */
872
+ name: string | undefined;
873
+ /**
874
+ * <p>The new source configurations for the DataIntegrationFlow.</p>
875
+ * @public
876
+ */
877
+ sources?: DataIntegrationFlowSource[];
878
+ /**
879
+ * <p>The new transformation configurations for the DataIntegrationFlow.</p>
880
+ * @public
881
+ */
882
+ transformation?: DataIntegrationFlowTransformation;
883
+ /**
884
+ * <p>The new target configurations for the DataIntegrationFlow.</p>
885
+ * @public
886
+ */
887
+ target?: DataIntegrationFlowTarget;
888
+ }
889
+ /**
890
+ * <p>The response parameters for UpdateDataIntegrationFlow.</p>
891
+ * @public
892
+ */
893
+ export interface UpdateDataIntegrationFlowResponse {
894
+ /**
895
+ * <p>The details of the updated DataIntegrationFlow.</p>
896
+ * @public
897
+ */
898
+ flow: DataIntegrationFlow | undefined;
899
+ }
900
+ /**
901
+ * <p>The request parameters of DeleteDataLakeDataset.</p>
902
+ * @public
903
+ */
904
+ export interface DeleteDataLakeDatasetRequest {
226
905
  /**
227
906
  * <p>The AWS Supply Chain instance identifier.</p>
228
907
  * @public
229
908
  */
230
909
  instanceId: string | undefined;
231
910
  /**
232
- * <p>The data event type.</p>
911
+ * <p>The namespace of the dataset. The available values are:</p>
912
+ * <ul>
913
+ * <li>
914
+ * <p>asc: for <a href="https://docs.aws.amazon.com/aws-supply-chain/latest/userguide/data-model-asc.html">
915
+ * AWS Supply Chain supported datasets
916
+ * </a>.</p>
917
+ * </li>
918
+ * <li>
919
+ * <p>default: for datasets with custom user-defined schemas.</p>
920
+ * </li>
921
+ * </ul>
233
922
  * @public
234
923
  */
235
- eventType: DataIntegrationEventType | undefined;
924
+ namespace: string | undefined;
236
925
  /**
237
- * <p>The data payload of the event. For more information on the data schema to use, see <a href="https://docs.aws.amazon.com/aws-supply-chain/latest/userguide/data-model-asc.html">Data entities supported in AWS Supply Chain
926
+ * <p>The name of the dataset. If the namespace is <i>asc</i>, the name must be one of the supported <a href="https://docs.aws.amazon.com/aws-supply-chain/latest/userguide/data-model-asc.html">data entities
238
927
  * </a>.</p>
239
928
  * @public
240
929
  */
241
- data: string | undefined;
930
+ name: string | undefined;
931
+ }
932
+ /**
933
+ * <p>The response parameters of DeleteDataLakeDataset.</p>
934
+ * @public
935
+ */
936
+ export interface DeleteDataLakeDatasetResponse {
242
937
  /**
243
- * <p>Event identifier (for example, orderId for InboundOrder) used for data sharing or partitioning.</p>
938
+ * <p>The AWS Supply Chain instance identifier.</p>
244
939
  * @public
245
940
  */
246
- eventGroupId: string | undefined;
941
+ instanceId: string | undefined;
247
942
  /**
248
- * <p>The event timestamp (in epoch seconds).</p>
943
+ * <p>The namespace of deleted dataset.</p>
249
944
  * @public
250
945
  */
251
- eventTimestamp?: Date;
946
+ namespace: string | undefined;
252
947
  /**
253
- * <p>The idempotent client token.</p>
948
+ * <p>The name of deleted dataset.</p>
254
949
  * @public
255
950
  */
256
- clientToken?: string;
951
+ name: string | undefined;
257
952
  }
258
953
  /**
259
- * <p>The response parameters for SendDataIntegrationEvent.</p>
954
+ * <p>The request parameters for GetDataLakeDataset.</p>
260
955
  * @public
261
956
  */
262
- export interface SendDataIntegrationEventResponse {
957
+ export interface GetDataLakeDatasetRequest {
263
958
  /**
264
- * <p>The unique event identifier.</p>
959
+ * <p>The Amazon Web Services Supply Chain instance identifier.</p>
265
960
  * @public
266
961
  */
267
- eventId: string | undefined;
962
+ instanceId: string | undefined;
963
+ /**
964
+ * <p>The name space of the dataset. The available values are:</p>
965
+ * <ul>
966
+ * <li>
967
+ * <p>
968
+ * <b>asc</b> - For information on the Amazon Web Services Supply Chain supported datasets see <a href="https://docs.aws.amazon.com/aws-supply-chain/latest/userguide/data-model-asc.html">https://docs.aws.amazon.com/aws-supply-chain/latest/userguide/data-model-asc.html</a>.</p>
969
+ * </li>
970
+ * <li>
971
+ * <p>
972
+ * <b>default</b> - For datasets with custom user-defined schemas.</p>
973
+ * </li>
974
+ * </ul>
975
+ * @public
976
+ */
977
+ namespace: string | undefined;
978
+ /**
979
+ * <p>The name of the dataset. For <b>asc</b> name space, the name must be one of the supported data entities under <a href="https://docs.aws.amazon.com/aws-supply-chain/latest/userguide/data-model-asc.html">https://docs.aws.amazon.com/aws-supply-chain/latest/userguide/data-model-asc.html</a>.</p>
980
+ * @public
981
+ */
982
+ name: string | undefined;
983
+ }
984
+ /**
985
+ * <p>The response parameters for UpdateDataLakeDataset.</p>
986
+ * @public
987
+ */
988
+ export interface GetDataLakeDatasetResponse {
989
+ /**
990
+ * <p>The fetched dataset details.</p>
991
+ * @public
992
+ */
993
+ dataset: DataLakeDataset | undefined;
994
+ }
995
+ /**
996
+ * <p>The request parameters of ListDataLakeDatasets.</p>
997
+ * @public
998
+ */
999
+ export interface ListDataLakeDatasetsRequest {
1000
+ /**
1001
+ * <p>The Amazon Web Services Supply Chain instance identifier.</p>
1002
+ * @public
1003
+ */
1004
+ instanceId: string | undefined;
1005
+ /**
1006
+ * <p>The namespace of the dataset. The available values are:</p>
1007
+ * <ul>
1008
+ * <li>
1009
+ * <p>asc: for <a href="https://docs.aws.amazon.com/aws-supply-chain/latest/userguide/data-model-asc.html">
1010
+ * AWS Supply Chain supported datasets
1011
+ * </a>.</p>
1012
+ * </li>
1013
+ * <li>
1014
+ * <p>default: for datasets with custom user-defined schemas.</p>
1015
+ * </li>
1016
+ * </ul>
1017
+ * @public
1018
+ */
1019
+ namespace: string | undefined;
1020
+ /**
1021
+ * <p>The pagination token to fetch next page of datasets.</p>
1022
+ * @public
1023
+ */
1024
+ nextToken?: string;
1025
+ /**
1026
+ * <p>The max number of datasets to fetch in this paginated request.</p>
1027
+ * @public
1028
+ */
1029
+ maxResults?: number;
1030
+ }
1031
+ /**
1032
+ * <p>The response parameters of ListDataLakeDatasets.</p>
1033
+ * @public
1034
+ */
1035
+ export interface ListDataLakeDatasetsResponse {
1036
+ /**
1037
+ * <p>The list of fetched dataset details.</p>
1038
+ * @public
1039
+ */
1040
+ datasets: DataLakeDataset[] | undefined;
1041
+ /**
1042
+ * <p>The pagination token to fetch next page of datasets.</p>
1043
+ * @public
1044
+ */
1045
+ nextToken?: string;
1046
+ }
1047
+ /**
1048
+ * <p>The request parameters of UpdateDataLakeDataset.</p>
1049
+ * @public
1050
+ */
1051
+ export interface UpdateDataLakeDatasetRequest {
1052
+ /**
1053
+ * <p>The Amazon Web Services Chain instance identifier.</p>
1054
+ * @public
1055
+ */
1056
+ instanceId: string | undefined;
1057
+ /**
1058
+ * <p>The name space of the dataset. The available values are:</p>
1059
+ * <ul>
1060
+ * <li>
1061
+ * <p>
1062
+ * <b>asc</b> - For information on the Amazon Web Services Supply Chain supported datasets see <a href="https://docs.aws.amazon.com/aws-supply-chain/latest/userguide/data-model-asc.html">https://docs.aws.amazon.com/aws-supply-chain/latest/userguide/data-model-asc.html</a>.</p>
1063
+ * </li>
1064
+ * <li>
1065
+ * <p>
1066
+ * <b>default</b> - For datasets with custom user-defined schemas.</p>
1067
+ * </li>
1068
+ * </ul>
1069
+ * @public
1070
+ */
1071
+ namespace: string | undefined;
1072
+ /**
1073
+ * <p>The name of the dataset. For <b>asc</b> name space, the name must be one of the supported data entities under <a href="https://docs.aws.amazon.com/aws-supply-chain/latest/userguide/data-model-asc.html">https://docs.aws.amazon.com/aws-supply-chain/latest/userguide/data-model-asc.html</a>.</p>
1074
+ * @public
1075
+ */
1076
+ name: string | undefined;
1077
+ /**
1078
+ * <p>The updated description of the data lake dataset.</p>
1079
+ * @public
1080
+ */
1081
+ description?: string;
1082
+ }
1083
+ /**
1084
+ * <p>The response parameters of UpdateDataLakeDataset.</p>
1085
+ * @public
1086
+ */
1087
+ export interface UpdateDataLakeDatasetResponse {
1088
+ /**
1089
+ * <p>The updated dataset details.</p>
1090
+ * @public
1091
+ */
1092
+ dataset: DataLakeDataset | undefined;
1093
+ }
1094
+ /**
1095
+ * <p>The request parameters of ListTagsForResource.</p>
1096
+ * @public
1097
+ */
1098
+ export interface ListTagsForResourceRequest {
1099
+ /**
1100
+ * <p>The Amazon Web Services Supply chain resource ARN that needs tags to be listed.</p>
1101
+ * @public
1102
+ */
1103
+ resourceArn: string | undefined;
1104
+ }
1105
+ /**
1106
+ * <p>The response parameters of ListTagsForResource.</p>
1107
+ * @public
1108
+ */
1109
+ export interface ListTagsForResourceResponse {
1110
+ /**
1111
+ * <p>The tags added to an Amazon Web Services Supply Chain resource.</p>
1112
+ * @public
1113
+ */
1114
+ tags: Record<string, string> | undefined;
1115
+ }
1116
+ /**
1117
+ * <p>The request parameters of TagResource.</p>
1118
+ * @public
1119
+ */
1120
+ export interface TagResourceRequest {
1121
+ /**
1122
+ * <p>The Amazon Web Services Supply chain resource ARN that needs to be tagged.</p>
1123
+ * @public
1124
+ */
1125
+ resourceArn: string | undefined;
1126
+ /**
1127
+ * <p>The tags of the Amazon Web Services Supply chain resource to be created.</p>
1128
+ * @public
1129
+ */
1130
+ tags: Record<string, string> | undefined;
1131
+ }
1132
+ /**
1133
+ * <p>The response parameters for TagResource.</p>
1134
+ * @public
1135
+ */
1136
+ export interface TagResourceResponse {
1137
+ }
1138
+ /**
1139
+ * <p>The request parameters of UntagResource.</p>
1140
+ * @public
1141
+ */
1142
+ export interface UntagResourceRequest {
1143
+ /**
1144
+ * <p>The Amazon Web Services Supply chain resource ARN that needs to be untagged.</p>
1145
+ * @public
1146
+ */
1147
+ resourceArn: string | undefined;
1148
+ /**
1149
+ * <p>The list of tag keys to be deleted for an Amazon Web Services Supply Chain resource.</p>
1150
+ * @public
1151
+ */
1152
+ tagKeys: string[] | undefined;
1153
+ }
1154
+ /**
1155
+ * <p>The response parameters of UntagResource.</p>
1156
+ * @public
1157
+ */
1158
+ export interface UntagResourceResponse {
268
1159
  }
269
1160
  /**
270
1161
  * @internal