@aws-sdk/client-supplychain 3.806.0 → 3.810.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 (69) hide show
  1. package/README.md +72 -0
  2. package/dist-cjs/index.js +585 -4
  3. package/dist-es/SupplyChain.js +18 -0
  4. package/dist-es/commands/CreateDataIntegrationFlowCommand.js +2 -1
  5. package/dist-es/commands/CreateDataLakeNamespaceCommand.js +22 -0
  6. package/dist-es/commands/DeleteDataLakeNamespaceCommand.js +22 -0
  7. package/dist-es/commands/GetDataIntegrationEventCommand.js +22 -0
  8. package/dist-es/commands/GetDataIntegrationFlowCommand.js +2 -1
  9. package/dist-es/commands/GetDataIntegrationFlowExecutionCommand.js +22 -0
  10. package/dist-es/commands/GetDataLakeNamespaceCommand.js +22 -0
  11. package/dist-es/commands/ListDataIntegrationEventsCommand.js +22 -0
  12. package/dist-es/commands/ListDataIntegrationFlowExecutionsCommand.js +22 -0
  13. package/dist-es/commands/ListDataIntegrationFlowsCommand.js +2 -1
  14. package/dist-es/commands/ListDataLakeNamespacesCommand.js +22 -0
  15. package/dist-es/commands/UpdateDataIntegrationFlowCommand.js +2 -1
  16. package/dist-es/commands/UpdateDataLakeNamespaceCommand.js +22 -0
  17. package/dist-es/commands/index.js +9 -0
  18. package/dist-es/models/models_0.js +71 -0
  19. package/dist-es/pagination/ListDataIntegrationEventsPaginator.js +4 -0
  20. package/dist-es/pagination/ListDataIntegrationFlowExecutionsPaginator.js +4 -0
  21. package/dist-es/pagination/ListDataLakeNamespacesPaginator.js +4 -0
  22. package/dist-es/pagination/index.js +3 -0
  23. package/dist-es/protocols/Aws_restJson1.js +304 -0
  24. package/dist-types/SupplyChain.d.ts +63 -0
  25. package/dist-types/SupplyChainClient.d.ts +11 -2
  26. package/dist-types/commands/CreateDataIntegrationFlowCommand.d.ts +38 -1
  27. package/dist-types/commands/CreateDataLakeDatasetCommand.d.ts +89 -7
  28. package/dist-types/commands/CreateDataLakeNamespaceCommand.d.ts +133 -0
  29. package/dist-types/commands/DeleteDataLakeNamespaceCommand.d.ts +112 -0
  30. package/dist-types/commands/GetDataIntegrationEventCommand.d.ts +137 -0
  31. package/dist-types/commands/GetDataIntegrationFlowCommand.d.ts +22 -0
  32. package/dist-types/commands/GetDataIntegrationFlowExecutionCommand.d.ts +177 -0
  33. package/dist-types/commands/GetDataLakeDatasetCommand.d.ts +43 -2
  34. package/dist-types/commands/GetDataLakeNamespaceCommand.d.ts +146 -0
  35. package/dist-types/commands/ListDataIntegrationEventsCommand.d.ts +143 -0
  36. package/dist-types/commands/ListDataIntegrationFlowExecutionsCommand.d.ts +152 -0
  37. package/dist-types/commands/ListDataIntegrationFlowsCommand.d.ts +38 -1
  38. package/dist-types/commands/ListDataLakeDatasetsCommand.d.ts +43 -2
  39. package/dist-types/commands/ListDataLakeNamespacesCommand.d.ts +161 -0
  40. package/dist-types/commands/SendDataIntegrationEventCommand.d.ts +29 -2
  41. package/dist-types/commands/UpdateDataIntegrationFlowCommand.d.ts +76 -2
  42. package/dist-types/commands/UpdateDataLakeDatasetCommand.d.ts +43 -2
  43. package/dist-types/commands/UpdateDataLakeNamespaceCommand.d.ts +126 -0
  44. package/dist-types/commands/index.d.ts +9 -0
  45. package/dist-types/models/models_0.d.ts +938 -34
  46. package/dist-types/pagination/ListDataIntegrationEventsPaginator.d.ts +7 -0
  47. package/dist-types/pagination/ListDataIntegrationFlowExecutionsPaginator.d.ts +7 -0
  48. package/dist-types/pagination/ListDataLakeNamespacesPaginator.d.ts +7 -0
  49. package/dist-types/pagination/index.d.ts +3 -0
  50. package/dist-types/protocols/Aws_restJson1.d.ts +81 -0
  51. package/dist-types/ts3.4/SupplyChain.d.ts +159 -0
  52. package/dist-types/ts3.4/SupplyChainClient.d.ts +54 -0
  53. package/dist-types/ts3.4/commands/CreateDataLakeNamespaceCommand.d.ts +51 -0
  54. package/dist-types/ts3.4/commands/DeleteDataLakeNamespaceCommand.d.ts +51 -0
  55. package/dist-types/ts3.4/commands/GetDataIntegrationEventCommand.d.ts +51 -0
  56. package/dist-types/ts3.4/commands/GetDataIntegrationFlowExecutionCommand.d.ts +51 -0
  57. package/dist-types/ts3.4/commands/GetDataLakeNamespaceCommand.d.ts +51 -0
  58. package/dist-types/ts3.4/commands/ListDataIntegrationEventsCommand.d.ts +51 -0
  59. package/dist-types/ts3.4/commands/ListDataIntegrationFlowExecutionsCommand.d.ts +51 -0
  60. package/dist-types/ts3.4/commands/ListDataLakeNamespacesCommand.d.ts +51 -0
  61. package/dist-types/ts3.4/commands/UpdateDataLakeNamespaceCommand.d.ts +51 -0
  62. package/dist-types/ts3.4/commands/index.d.ts +9 -0
  63. package/dist-types/ts3.4/models/models_0.d.ts +237 -6
  64. package/dist-types/ts3.4/pagination/ListDataIntegrationEventsPaginator.d.ts +11 -0
  65. package/dist-types/ts3.4/pagination/ListDataIntegrationFlowExecutionsPaginator.d.ts +11 -0
  66. package/dist-types/ts3.4/pagination/ListDataLakeNamespacesPaginator.d.ts +11 -0
  67. package/dist-types/ts3.4/pagination/index.d.ts +3 -0
  68. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +108 -0
  69. package/package.json +17 -17
@@ -193,6 +193,78 @@ export interface GetBillOfMaterialsImportJobResponse {
193
193
  */
194
194
  job: BillOfMaterialsImportJob | undefined;
195
195
  }
196
+ /**
197
+ * @public
198
+ * @enum
199
+ */
200
+ export declare const DataIntegrationFlowFieldPriorityDedupeSortOrder: {
201
+ readonly ASC: "ASC";
202
+ readonly DESC: "DESC";
203
+ };
204
+ /**
205
+ * @public
206
+ */
207
+ export type DataIntegrationFlowFieldPriorityDedupeSortOrder = (typeof DataIntegrationFlowFieldPriorityDedupeSortOrder)[keyof typeof DataIntegrationFlowFieldPriorityDedupeSortOrder];
208
+ /**
209
+ * <p>The field used in the field priority deduplication strategy.</p>
210
+ * @public
211
+ */
212
+ export interface DataIntegrationFlowFieldPriorityDedupeField {
213
+ /**
214
+ * <p>The name of the deduplication field. Must exist in the dataset and not be a primary key.</p>
215
+ * @public
216
+ */
217
+ name: string | undefined;
218
+ /**
219
+ * <p>The sort order for the deduplication field.</p>
220
+ * @public
221
+ */
222
+ sortOrder: DataIntegrationFlowFieldPriorityDedupeSortOrder | undefined;
223
+ }
224
+ /**
225
+ * <p>The field priority deduplication strategy details.</p>
226
+ * @public
227
+ */
228
+ export interface DataIntegrationFlowFieldPriorityDedupeStrategyConfiguration {
229
+ /**
230
+ * <p>The list of field names and their sort order for deduplication, arranged in descending priority from highest to lowest.</p>
231
+ * @public
232
+ */
233
+ fields: DataIntegrationFlowFieldPriorityDedupeField[] | undefined;
234
+ }
235
+ /**
236
+ * @public
237
+ * @enum
238
+ */
239
+ export declare const DataIntegrationFlowDedupeStrategyType: {
240
+ readonly FIELD_PRIORITY: "FIELD_PRIORITY";
241
+ };
242
+ /**
243
+ * @public
244
+ */
245
+ export type DataIntegrationFlowDedupeStrategyType = (typeof DataIntegrationFlowDedupeStrategyType)[keyof typeof DataIntegrationFlowDedupeStrategyType];
246
+ /**
247
+ * <p>The deduplication strategy details.</p>
248
+ * @public
249
+ */
250
+ export interface DataIntegrationFlowDedupeStrategy {
251
+ /**
252
+ * <p>The type of the deduplication strategy.</p>
253
+ * <ul>
254
+ * <li>
255
+ * <p>
256
+ * <b>FIELD_PRIORITY</b> - Field priority configuration for the deduplication strategy specifies an ordered list of fields used to tie-break the data records sharing the same primary key values. Fields earlier in the list have higher priority for evaluation. For each field, the sort order determines whether to retain data record with larger or smaller field value.</p>
257
+ * </li>
258
+ * </ul>
259
+ * @public
260
+ */
261
+ type: DataIntegrationFlowDedupeStrategyType | undefined;
262
+ /**
263
+ * <p>The field priority deduplication strategy.</p>
264
+ * @public
265
+ */
266
+ fieldPriority?: DataIntegrationFlowFieldPriorityDedupeStrategyConfiguration | undefined;
267
+ }
196
268
  /**
197
269
  * @public
198
270
  * @enum
@@ -211,15 +283,31 @@ export type DataIntegrationFlowLoadType = (typeof DataIntegrationFlowLoadType)[k
211
283
  */
212
284
  export interface DataIntegrationFlowDatasetOptions {
213
285
  /**
214
- * <p>The dataset data load type in dataset options.</p>
286
+ * <p>The target dataset's data load type. This only affects how source S3 files are selected in the S3-to-dataset flow.</p>
287
+ * <ul>
288
+ * <li>
289
+ * <p>
290
+ * <b>REPLACE</b> - Target dataset will get replaced with the new file added under the source s3 prefix.</p>
291
+ * </li>
292
+ * <li>
293
+ * <p>
294
+ * <b>INCREMENTAL</b> - Target dataset will get updated with the up-to-date content under S3 prefix incorporating any file additions or removals there.</p>
295
+ * </li>
296
+ * </ul>
215
297
  * @public
216
298
  */
217
299
  loadType?: DataIntegrationFlowLoadType | undefined;
218
300
  /**
219
- * <p>The dataset load option to remove duplicates.</p>
301
+ * <p>The option to perform deduplication on data records sharing same primary key values. If disabled, transformed data with duplicate primary key values will ingest into dataset, for datasets within <b>asc</b> namespace, such duplicates will cause ingestion fail. If enabled without dedupeStrategy, deduplication is done by retaining a random data record among those sharing the same primary key values. If enabled with dedupeStragtegy, the deduplication is done following the strategy.</p>
302
+ * <p>Note that target dataset may have partition configured, when dedupe is enabled, it only dedupe against primary keys and retain only one record out of those duplicates regardless of its partition status.</p>
220
303
  * @public
221
304
  */
222
305
  dedupeRecords?: boolean | undefined;
306
+ /**
307
+ * <p>The deduplication strategy to dedupe the data records sharing same primary key values of the target dataset. This strategy only applies to target dataset with primary keys and with dedupeRecords option enabled. If transformed data still got duplicates after the dedupeStrategy evaluation, a random data record is chosen to be retained.</p>
308
+ * @public
309
+ */
310
+ dedupeStrategy?: DataIntegrationFlowDedupeStrategy | undefined;
223
311
  }
224
312
  /**
225
313
  * <p>The dataset DataIntegrationFlow source configuration parameters.</p>
@@ -272,7 +360,7 @@ export interface DataIntegrationFlowS3SourceConfiguration {
272
360
  */
273
361
  bucketName: string | undefined;
274
362
  /**
275
- * <p>The prefix of the S3 source objects.</p>
363
+ * <p>The prefix of the S3 source objects. To trigger data ingestion, S3 files need to be put under <code>s3://<i>bucketName</i>/<i>prefix</i>/</code>.</p>
276
364
  * @public
277
365
  */
278
366
  prefix: string | undefined;
@@ -385,7 +473,7 @@ export interface DataIntegrationFlowTarget {
385
473
  */
386
474
  s3Target?: DataIntegrationFlowS3TargetConfiguration | undefined;
387
475
  /**
388
- * <p>The dataset DataIntegrationFlow target.</p>
476
+ * <p>The dataset DataIntegrationFlow target. Note that for AWS Supply Chain dataset under <b>asc</b> namespace, it has a connection_id internal field that is not allowed to be provided by client directly, they will be auto populated.</p>
389
477
  * @public
390
478
  */
391
479
  datasetTarget?: DataIntegrationFlowDatasetTargetConfiguration | undefined;
@@ -481,6 +569,81 @@ export interface CreateDataIntegrationFlowResponse {
481
569
  */
482
570
  name: string | undefined;
483
571
  }
572
+ /**
573
+ * @public
574
+ * @enum
575
+ */
576
+ export declare const DataLakeDatasetPartitionTransformType: {
577
+ readonly DAY: "DAY";
578
+ readonly HOUR: "HOUR";
579
+ readonly IDENTITY: "IDENTITY";
580
+ readonly MONTH: "MONTH";
581
+ readonly YEAR: "YEAR";
582
+ };
583
+ /**
584
+ * @public
585
+ */
586
+ export type DataLakeDatasetPartitionTransformType = (typeof DataLakeDatasetPartitionTransformType)[keyof typeof DataLakeDatasetPartitionTransformType];
587
+ /**
588
+ * <p>The detail of the partition field transformation.</p>
589
+ * @public
590
+ */
591
+ export interface DataLakeDatasetPartitionFieldTransform {
592
+ /**
593
+ * <p>The type of partitioning transformation for this field. The available options are:</p>
594
+ * <ul>
595
+ * <li>
596
+ * <p>
597
+ * <b>IDENTITY</b> - Partitions data on a given field by its exact values.</p>
598
+ * </li>
599
+ * <li>
600
+ * <p>
601
+ * <b>YEAR</b> - Partitions data on a timestamp field using year granularity.</p>
602
+ * </li>
603
+ * <li>
604
+ * <p>
605
+ * <b>MONTH</b> - Partitions data on a timestamp field using month granularity.</p>
606
+ * </li>
607
+ * <li>
608
+ * <p>
609
+ * <b>DAY</b> - Partitions data on a timestamp field using day granularity.</p>
610
+ * </li>
611
+ * <li>
612
+ * <p>
613
+ * <b>HOUR</b> - Partitions data on a timestamp field using hour granularity.</p>
614
+ * </li>
615
+ * </ul>
616
+ * @public
617
+ */
618
+ type: DataLakeDatasetPartitionTransformType | undefined;
619
+ }
620
+ /**
621
+ * <p>The detail of the partition field.</p>
622
+ * @public
623
+ */
624
+ export interface DataLakeDatasetPartitionField {
625
+ /**
626
+ * <p>The name of the partition field.</p>
627
+ * @public
628
+ */
629
+ name: string | undefined;
630
+ /**
631
+ * <p>The transformation of the partition field. A transformation specifies how to partition on a given field. For example, with timestamp you can specify that you'd like to partition fields by day, e.g. data record with value 2025-01-03T00:00:00Z in partition field is in 2025-01-03 partition. Also noted that data record without any value in optional partition field is in NULL partition.</p>
632
+ * @public
633
+ */
634
+ transform: DataLakeDatasetPartitionFieldTransform | undefined;
635
+ }
636
+ /**
637
+ * <p>The partition specification for a dataset.</p>
638
+ * @public
639
+ */
640
+ export interface DataLakeDatasetPartitionSpec {
641
+ /**
642
+ * <p>The fields on which to partition a dataset. The partitions will be applied hierarchically based on the order of this list.</p>
643
+ * @public
644
+ */
645
+ fields: DataLakeDatasetPartitionField[] | undefined;
646
+ }
484
647
  /**
485
648
  * @public
486
649
  * @enum
@@ -488,6 +651,7 @@ export interface CreateDataIntegrationFlowResponse {
488
651
  export declare const DataLakeDatasetSchemaFieldType: {
489
652
  readonly DOUBLE: "DOUBLE";
490
653
  readonly INT: "INT";
654
+ readonly LONG: "LONG";
491
655
  readonly STRING: "STRING";
492
656
  readonly TIMESTAMP: "TIMESTAMP";
493
657
  };
@@ -517,7 +681,18 @@ export interface DataLakeDatasetSchemaField {
517
681
  isRequired: boolean | undefined;
518
682
  }
519
683
  /**
520
- * <p>The schema details of the dataset.</p>
684
+ * <p>The detail of the primary key field.</p>
685
+ * @public
686
+ */
687
+ export interface DataLakeDatasetPrimaryKeyField {
688
+ /**
689
+ * <p>The name of the primary key field.</p>
690
+ * @public
691
+ */
692
+ name: string | undefined;
693
+ }
694
+ /**
695
+ * <p>The schema details of the dataset. Note that for AWS Supply Chain dataset under <b>asc</b> namespace, it may have internal fields like connection_id that will be auto populated by data ingestion methods.</p>
521
696
  * @public
522
697
  */
523
698
  export interface DataLakeDatasetSchema {
@@ -531,6 +706,12 @@ export interface DataLakeDatasetSchema {
531
706
  * @public
532
707
  */
533
708
  fields: DataLakeDatasetSchemaField[] | undefined;
709
+ /**
710
+ * <p>The list of primary key fields for the dataset. Primary keys defined can help data ingestion methods to ensure data uniqueness: CreateDataIntegrationFlow's dedupe strategy will leverage primary keys to perform records deduplication before write to dataset; SendDataIntegrationEvent's UPSERT and DELETE can only work with dataset with primary keys. For more details, refer to those data ingestion documentations.</p>
711
+ * <p>Note that defining primary keys does not necessarily mean the dataset cannot have duplicate records, duplicate records can still be ingested if CreateDataIntegrationFlow's dedupe disabled or through SendDataIntegrationEvent's APPEND operation.</p>
712
+ * @public
713
+ */
714
+ primaryKeys?: DataLakeDatasetPrimaryKeyField[] | undefined;
534
715
  }
535
716
  /**
536
717
  * <p>The request parameters for CreateDataLakeDataset.</p>
@@ -543,7 +724,7 @@ export interface CreateDataLakeDatasetRequest {
543
724
  */
544
725
  instanceId: string | undefined;
545
726
  /**
546
- * <p>The name space of the dataset.</p>
727
+ * <p>The namespace of the dataset, besides the custom defined namespace, every instance comes with below pre-defined namespaces:</p>
547
728
  * <ul>
548
729
  * <li>
549
730
  * <p>
@@ -563,7 +744,7 @@ export interface CreateDataLakeDatasetRequest {
563
744
  */
564
745
  name: string | undefined;
565
746
  /**
566
- * <p>The custom schema of the data lake dataset and is only required when the name space is <b>default</b>.</p>
747
+ * <p>The custom schema of the data lake dataset and required for dataset in <b>default</b> and custom namespaces.</p>
567
748
  * @public
568
749
  */
569
750
  schema?: DataLakeDatasetSchema | undefined;
@@ -572,6 +753,11 @@ export interface CreateDataLakeDatasetRequest {
572
753
  * @public
573
754
  */
574
755
  description?: string | undefined;
756
+ /**
757
+ * <p>The partition specification of the dataset. Partitioning can effectively improve the dataset query performance by reducing the amount of data scanned during query execution. But partitioning or not will affect how data get ingested by data ingestion methods, such as SendDataIntegrationEvent's dataset UPSERT will upsert records within partition (instead of within whole dataset). For more details, refer to those data ingestion documentations.</p>
758
+ * @public
759
+ */
760
+ partitionSpec?: DataLakeDatasetPartitionSpec | undefined;
575
761
  /**
576
762
  * <p>The tags of the dataset.</p>
577
763
  * @public
@@ -589,7 +775,7 @@ export interface DataLakeDataset {
589
775
  */
590
776
  instanceId: string | undefined;
591
777
  /**
592
- * <p>The name space of the dataset. The available values are:</p>
778
+ * <p>The namespace of the dataset, besides the custom defined namespace, every instance comes with below pre-defined namespaces:</p>
593
779
  * <ul>
594
780
  * <li>
595
781
  * <p>
@@ -604,7 +790,7 @@ export interface DataLakeDataset {
604
790
  */
605
791
  namespace: string | undefined;
606
792
  /**
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>
793
+ * <p>The name of the dataset. For <b>asc</b> namespace, 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
794
  * @public
609
795
  */
610
796
  name: string | undefined;
@@ -623,6 +809,11 @@ export interface DataLakeDataset {
623
809
  * @public
624
810
  */
625
811
  description?: string | undefined;
812
+ /**
813
+ * <p>The partition specification for a dataset.</p>
814
+ * @public
815
+ */
816
+ partitionSpec?: DataLakeDatasetPartitionSpec | undefined;
626
817
  /**
627
818
  * <p>The creation time of the dataset.</p>
628
819
  * @public
@@ -645,6 +836,80 @@ export interface CreateDataLakeDatasetResponse {
645
836
  */
646
837
  dataset: DataLakeDataset | undefined;
647
838
  }
839
+ /**
840
+ * <p>The request parameters for CreateDataLakeNamespace.</p>
841
+ * @public
842
+ */
843
+ export interface CreateDataLakeNamespaceRequest {
844
+ /**
845
+ * <p>The Amazon Web Services Supply Chain instance identifier.</p>
846
+ * @public
847
+ */
848
+ instanceId: string | undefined;
849
+ /**
850
+ * <p>The name of the namespace. Noted you cannot create namespace with name starting with <b>asc</b>, <b>default</b>, <b>scn</b>, <b>aws</b>, <b>amazon</b>, <b>amzn</b>
851
+ * </p>
852
+ * @public
853
+ */
854
+ name: string | undefined;
855
+ /**
856
+ * <p>The description of the namespace.</p>
857
+ * @public
858
+ */
859
+ description?: string | undefined;
860
+ /**
861
+ * <p>The tags of the namespace.</p>
862
+ * @public
863
+ */
864
+ tags?: Record<string, string> | undefined;
865
+ }
866
+ /**
867
+ * <p>The data lake namespace details.</p>
868
+ * @public
869
+ */
870
+ export interface DataLakeNamespace {
871
+ /**
872
+ * <p>The Amazon Web Services Supply Chain instance identifier.</p>
873
+ * @public
874
+ */
875
+ instanceId: string | undefined;
876
+ /**
877
+ * <p>The name of the namespace.</p>
878
+ * @public
879
+ */
880
+ name: string | undefined;
881
+ /**
882
+ * <p>The arn of the namespace.</p>
883
+ * @public
884
+ */
885
+ arn: string | undefined;
886
+ /**
887
+ * <p>The description of the namespace.</p>
888
+ * @public
889
+ */
890
+ description?: string | undefined;
891
+ /**
892
+ * <p>The creation time of the namespace.</p>
893
+ * @public
894
+ */
895
+ createdTime: Date | undefined;
896
+ /**
897
+ * <p>The last modified time of the namespace.</p>
898
+ * @public
899
+ */
900
+ lastModifiedTime: Date | undefined;
901
+ }
902
+ /**
903
+ * <p>The response parameters of CreateDataLakeNamespace.</p>
904
+ * @public
905
+ */
906
+ export interface CreateDataLakeNamespaceResponse {
907
+ /**
908
+ * <p>The detail of created namespace.</p>
909
+ * @public
910
+ */
911
+ namespace: DataLakeNamespace | undefined;
912
+ }
648
913
  /**
649
914
  * <p>The request parameters for CreateInstance.</p>
650
915
  * @public
@@ -769,11 +1034,89 @@ export interface CreateInstanceResponse {
769
1034
  */
770
1035
  instance: Instance | undefined;
771
1036
  }
1037
+ /**
1038
+ * @public
1039
+ * @enum
1040
+ */
1041
+ export declare const DataIntegrationEventDatasetLoadStatus: {
1042
+ readonly FAILED: "FAILED";
1043
+ readonly IN_PROGRESS: "IN_PROGRESS";
1044
+ readonly SUCCEEDED: "SUCCEEDED";
1045
+ };
1046
+ /**
1047
+ * @public
1048
+ */
1049
+ export type DataIntegrationEventDatasetLoadStatus = (typeof DataIntegrationEventDatasetLoadStatus)[keyof typeof DataIntegrationEventDatasetLoadStatus];
1050
+ /**
1051
+ * <p>The target dataset load execution details.</p>
1052
+ * @public
1053
+ */
1054
+ export interface DataIntegrationEventDatasetLoadExecutionDetails {
1055
+ /**
1056
+ * <p>The event load execution status to target dataset.</p>
1057
+ * @public
1058
+ */
1059
+ status: DataIntegrationEventDatasetLoadStatus | undefined;
1060
+ /**
1061
+ * <p>The failure message (if any) of failed event load execution to dataset.</p>
1062
+ * @public
1063
+ */
1064
+ message?: string | undefined;
1065
+ }
1066
+ /**
1067
+ * @public
1068
+ * @enum
1069
+ */
1070
+ export declare const DataIntegrationEventDatasetOperationType: {
1071
+ readonly APPEND: "APPEND";
1072
+ readonly DELETE: "DELETE";
1073
+ readonly UPSERT: "UPSERT";
1074
+ };
1075
+ /**
1076
+ * @public
1077
+ */
1078
+ export type DataIntegrationEventDatasetOperationType = (typeof DataIntegrationEventDatasetOperationType)[keyof typeof DataIntegrationEventDatasetOperationType];
1079
+ /**
1080
+ * <p>The target dataset details for a DATASET event type.</p>
1081
+ * @public
1082
+ */
1083
+ export interface DataIntegrationEventDatasetTargetDetails {
1084
+ /**
1085
+ * <p>The datalake dataset ARN identifier.</p>
1086
+ * @public
1087
+ */
1088
+ datasetIdentifier: string | undefined;
1089
+ /**
1090
+ * <p>The target dataset load operation type. The available options are:</p>
1091
+ * <ul>
1092
+ * <li>
1093
+ * <p>
1094
+ * <b>APPEND</b> - Add new records to the dataset. Noted that this operation type will just try to append records as-is without any primary key or partition constraints.</p>
1095
+ * </li>
1096
+ * <li>
1097
+ * <p>
1098
+ * <b>UPSERT</b> - Modify existing records in the dataset with primary key configured, events for datasets without primary keys are not allowed. If event data contains primary keys that match records in the dataset within same partition, then those existing records (in that partition) will be updated. If primary keys do not match, new records will be added. Note that if dataset contain records with duplicate primary key values in the same partition, those duplicate records will be deduped into one updated record.</p>
1099
+ * </li>
1100
+ * <li>
1101
+ * <p>
1102
+ * <b>DELETE</b> - Remove existing records in the dataset with primary key configured, events for datasets without primary keys are not allowed. If event data contains primary keys that match records in the dataset within same partition, then those existing records (in that partition) will be deleted. If primary keys do not match, no actions will be done. Note that if dataset contain records with duplicate primary key values in the same partition, all those duplicates will be removed.</p>
1103
+ * </li>
1104
+ * </ul>
1105
+ * @public
1106
+ */
1107
+ operationType: DataIntegrationEventDatasetOperationType | undefined;
1108
+ /**
1109
+ * <p>The target dataset load execution.</p>
1110
+ * @public
1111
+ */
1112
+ datasetLoadExecution: DataIntegrationEventDatasetLoadExecutionDetails | undefined;
1113
+ }
772
1114
  /**
773
1115
  * @public
774
1116
  * @enum
775
1117
  */
776
1118
  export declare const DataIntegrationEventType: {
1119
+ readonly DATASET: "scn.data.dataset";
777
1120
  readonly FORECAST: "scn.data.forecast";
778
1121
  readonly INBOUND_ORDER: "scn.data.inboundorder";
779
1122
  readonly INBOUND_ORDER_LINE: "scn.data.inboundorderline";
@@ -795,27 +1138,27 @@ export declare const DataIntegrationEventType: {
795
1138
  */
796
1139
  export type DataIntegrationEventType = (typeof DataIntegrationEventType)[keyof typeof DataIntegrationEventType];
797
1140
  /**
798
- * <p>The request parameters for SendDataIntegrationEvent.</p>
1141
+ * <p>The data integration event details.</p>
799
1142
  * @public
800
1143
  */
801
- export interface SendDataIntegrationEventRequest {
1144
+ export interface DataIntegrationEvent {
802
1145
  /**
803
1146
  * <p>The AWS Supply Chain instance identifier.</p>
804
1147
  * @public
805
1148
  */
806
1149
  instanceId: string | undefined;
807
1150
  /**
808
- * <p>The data event type.</p>
1151
+ * <p>The unique event identifier.</p>
809
1152
  * @public
810
1153
  */
811
- eventType: DataIntegrationEventType | undefined;
1154
+ eventId: string | undefined;
812
1155
  /**
813
- * <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</a>.</p>
1156
+ * <p>The data event type.</p>
814
1157
  * @public
815
1158
  */
816
- data: string | undefined;
1159
+ eventType: DataIntegrationEventType | undefined;
817
1160
  /**
818
- * <p>Event identifier (for example, orderId for InboundOrder) used for data sharing or partitioning.</p>
1161
+ * <p>Event identifier (for example, orderId for InboundOrder) used for data sharding or partitioning.</p>
819
1162
  * @public
820
1163
  */
821
1164
  eventGroupId: string | undefined;
@@ -823,25 +1166,30 @@ export interface SendDataIntegrationEventRequest {
823
1166
  * <p>The event timestamp (in epoch seconds).</p>
824
1167
  * @public
825
1168
  */
826
- eventTimestamp?: Date | undefined;
1169
+ eventTimestamp: Date | undefined;
827
1170
  /**
828
- * <p>The idempotent client token.</p>
1171
+ * <p>The target dataset details for a DATASET event type.</p>
829
1172
  * @public
830
1173
  */
831
- clientToken?: string | undefined;
1174
+ datasetTargetDetails?: DataIntegrationEventDatasetTargetDetails | undefined;
832
1175
  }
833
1176
  /**
834
- * <p>The response parameters for SendDataIntegrationEvent.</p>
1177
+ * <p>The target dataset configuration for a DATASET event type.</p>
835
1178
  * @public
836
1179
  */
837
- export interface SendDataIntegrationEventResponse {
1180
+ export interface DataIntegrationEventDatasetTargetConfiguration {
838
1181
  /**
839
- * <p>The unique event identifier.</p>
1182
+ * <p>The datalake dataset ARN identifier.</p>
840
1183
  * @public
841
1184
  */
842
- eventId: string | undefined;
843
- }
844
- /**
1185
+ datasetIdentifier: string | undefined;
1186
+ /**
1187
+ * <p>The target dataset load operation type.</p>
1188
+ * @public
1189
+ */
1190
+ operationType: DataIntegrationEventDatasetOperationType | undefined;
1191
+ }
1192
+ /**
845
1193
  * <p>The DataIntegrationFlow details.</p>
846
1194
  * @public
847
1195
  */
@@ -882,6 +1230,129 @@ export interface DataIntegrationFlow {
882
1230
  */
883
1231
  lastModifiedTime: Date | undefined;
884
1232
  }
1233
+ /**
1234
+ * <p>The details of a flow execution with dataset source.</p>
1235
+ * @public
1236
+ */
1237
+ export interface DataIntegrationFlowDatasetSource {
1238
+ /**
1239
+ * <p>The ARN of the dataset source.</p>
1240
+ * @public
1241
+ */
1242
+ datasetIdentifier: string | undefined;
1243
+ }
1244
+ /**
1245
+ * <p>The output metadata of the flow execution.</p>
1246
+ * @public
1247
+ */
1248
+ export interface DataIntegrationFlowExecutionOutputMetadata {
1249
+ /**
1250
+ * <p>The S3 URI under which all diagnostic files (such as deduped records if any) are stored.</p>
1251
+ * @public
1252
+ */
1253
+ diagnosticReportsRootS3URI?: string | undefined;
1254
+ }
1255
+ /**
1256
+ * <p>The details of a flow execution with S3 source.</p>
1257
+ * @public
1258
+ */
1259
+ export interface DataIntegrationFlowS3Source {
1260
+ /**
1261
+ * <p>The S3 bucket name of the S3 source.</p>
1262
+ * @public
1263
+ */
1264
+ bucketName: string | undefined;
1265
+ /**
1266
+ * <p>The S3 object key of the S3 source.</p>
1267
+ * @public
1268
+ */
1269
+ key: string | undefined;
1270
+ }
1271
+ /**
1272
+ * <p>The source information of a flow execution.</p>
1273
+ * @public
1274
+ */
1275
+ export interface DataIntegrationFlowExecutionSourceInfo {
1276
+ /**
1277
+ * <p>The data integration flow execution source type.</p>
1278
+ * @public
1279
+ */
1280
+ sourceType: DataIntegrationFlowSourceType | undefined;
1281
+ /**
1282
+ * <p>The source details of a flow execution with S3 source.</p>
1283
+ * @public
1284
+ */
1285
+ s3Source?: DataIntegrationFlowS3Source | undefined;
1286
+ /**
1287
+ * <p>The source details of a flow execution with dataset source.</p>
1288
+ * @public
1289
+ */
1290
+ datasetSource?: DataIntegrationFlowDatasetSource | undefined;
1291
+ }
1292
+ /**
1293
+ * @public
1294
+ * @enum
1295
+ */
1296
+ export declare const DataIntegrationFlowExecutionStatus: {
1297
+ readonly FAILED: "FAILED";
1298
+ readonly IN_PROGRESS: "IN_PROGRESS";
1299
+ readonly SUCCEEDED: "SUCCEEDED";
1300
+ };
1301
+ /**
1302
+ * @public
1303
+ */
1304
+ export type DataIntegrationFlowExecutionStatus = (typeof DataIntegrationFlowExecutionStatus)[keyof typeof DataIntegrationFlowExecutionStatus];
1305
+ /**
1306
+ * <p>The flow execution details.</p>
1307
+ * @public
1308
+ */
1309
+ export interface DataIntegrationFlowExecution {
1310
+ /**
1311
+ * <p>The flow execution's instanceId.</p>
1312
+ * @public
1313
+ */
1314
+ instanceId: string | undefined;
1315
+ /**
1316
+ * <p>The flow execution's flowName.</p>
1317
+ * @public
1318
+ */
1319
+ flowName: string | undefined;
1320
+ /**
1321
+ * <p>The flow executionId.</p>
1322
+ * @public
1323
+ */
1324
+ executionId: string | undefined;
1325
+ /**
1326
+ * <p>The status of flow execution.</p>
1327
+ * @public
1328
+ */
1329
+ status?: DataIntegrationFlowExecutionStatus | undefined;
1330
+ /**
1331
+ * <p>The source information for a flow execution.</p>
1332
+ * @public
1333
+ */
1334
+ sourceInfo?: DataIntegrationFlowExecutionSourceInfo | undefined;
1335
+ /**
1336
+ * <p>The failure message (if any) of failed flow execution.</p>
1337
+ * @public
1338
+ */
1339
+ message?: string | undefined;
1340
+ /**
1341
+ * <p>The flow execution start timestamp.</p>
1342
+ * @public
1343
+ */
1344
+ startTime?: Date | undefined;
1345
+ /**
1346
+ * <p>The flow execution end timestamp.</p>
1347
+ * @public
1348
+ */
1349
+ endTime?: Date | undefined;
1350
+ /**
1351
+ * <p>The flow execution output metadata.</p>
1352
+ * @public
1353
+ */
1354
+ outputMetadata?: DataIntegrationFlowExecutionOutputMetadata | undefined;
1355
+ }
885
1356
  /**
886
1357
  * <p>The request parameters for DeleteDataIntegrationFlow.</p>
887
1358
  * @public
@@ -1031,7 +1502,7 @@ export interface DeleteDataLakeDatasetRequest {
1031
1502
  */
1032
1503
  instanceId: string | undefined;
1033
1504
  /**
1034
- * <p>The name space of the dataset. The available values are:</p>
1505
+ * <p>The namespace of the dataset, besides the custom defined namespace, every instance comes with below pre-defined namespaces:</p>
1035
1506
  * <ul>
1036
1507
  * <li>
1037
1508
  * <p>
@@ -1046,7 +1517,7 @@ export interface DeleteDataLakeDatasetRequest {
1046
1517
  */
1047
1518
  namespace: string | undefined;
1048
1519
  /**
1049
- * <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>
1520
+ * <p>The name of the dataset. For <b>asc</b> namespace, 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>
1050
1521
  * @public
1051
1522
  */
1052
1523
  name: string | undefined;
@@ -1062,7 +1533,7 @@ export interface DeleteDataLakeDatasetResponse {
1062
1533
  */
1063
1534
  instanceId: string | undefined;
1064
1535
  /**
1065
- * <p>The name space of deleted dataset.</p>
1536
+ * <p>The namespace of deleted dataset.</p>
1066
1537
  * @public
1067
1538
  */
1068
1539
  namespace: string | undefined;
@@ -1083,7 +1554,7 @@ export interface GetDataLakeDatasetRequest {
1083
1554
  */
1084
1555
  instanceId: string | undefined;
1085
1556
  /**
1086
- * <p>The name space of the dataset. The available values are:</p>
1557
+ * <p>The namespace of the dataset, besides the custom defined namespace, every instance comes with below pre-defined namespaces:</p>
1087
1558
  * <ul>
1088
1559
  * <li>
1089
1560
  * <p>
@@ -1098,13 +1569,13 @@ export interface GetDataLakeDatasetRequest {
1098
1569
  */
1099
1570
  namespace: string | undefined;
1100
1571
  /**
1101
- * <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>
1572
+ * <p>The name of the dataset. For <b>asc</b> namespace, 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>
1102
1573
  * @public
1103
1574
  */
1104
1575
  name: string | undefined;
1105
1576
  }
1106
1577
  /**
1107
- * <p>The response parameters for UpdateDataLakeDataset.</p>
1578
+ * <p>The response parameters for GetDataLakeDataset.</p>
1108
1579
  * @public
1109
1580
  */
1110
1581
  export interface GetDataLakeDatasetResponse {
@@ -1125,7 +1596,7 @@ export interface ListDataLakeDatasetsRequest {
1125
1596
  */
1126
1597
  instanceId: string | undefined;
1127
1598
  /**
1128
- * <p>The name space of the dataset. The available values are:</p>
1599
+ * <p>The namespace of the dataset, besides the custom defined namespace, every instance comes with below pre-defined namespaces:</p>
1129
1600
  * <ul>
1130
1601
  * <li>
1131
1602
  * <p>
@@ -1177,7 +1648,7 @@ export interface UpdateDataLakeDatasetRequest {
1177
1648
  */
1178
1649
  instanceId: string | undefined;
1179
1650
  /**
1180
- * <p>The name space of the dataset. The available values are:</p>
1651
+ * <p>The namespace of the dataset, besides the custom defined namespace, every instance comes with below pre-defined namespaces:</p>
1181
1652
  * <ul>
1182
1653
  * <li>
1183
1654
  * <p>
@@ -1192,7 +1663,7 @@ export interface UpdateDataLakeDatasetRequest {
1192
1663
  */
1193
1664
  namespace: string | undefined;
1194
1665
  /**
1195
- * <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>
1666
+ * <p>The name of the dataset. For <b>asc</b> namespace, 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>
1196
1667
  * @public
1197
1668
  */
1198
1669
  name: string | undefined;
@@ -1213,6 +1684,145 @@ export interface UpdateDataLakeDatasetResponse {
1213
1684
  */
1214
1685
  dataset: DataLakeDataset | undefined;
1215
1686
  }
1687
+ /**
1688
+ * <p>The request parameters of DeleteDataLakeNamespace.</p>
1689
+ * @public
1690
+ */
1691
+ export interface DeleteDataLakeNamespaceRequest {
1692
+ /**
1693
+ * <p>The AWS Supply Chain instance identifier.</p>
1694
+ * @public
1695
+ */
1696
+ instanceId: string | undefined;
1697
+ /**
1698
+ * <p>The name of the namespace. Noted you cannot delete pre-defined namespace like <b>asc</b>, <b>default</b> which are only deleted through instance deletion.</p>
1699
+ * @public
1700
+ */
1701
+ name: string | undefined;
1702
+ }
1703
+ /**
1704
+ * <p>The response parameters of DeleteDataLakeNamespace.</p>
1705
+ * @public
1706
+ */
1707
+ export interface DeleteDataLakeNamespaceResponse {
1708
+ /**
1709
+ * <p>The AWS Supply Chain instance identifier.</p>
1710
+ * @public
1711
+ */
1712
+ instanceId: string | undefined;
1713
+ /**
1714
+ * <p>The name of deleted namespace.</p>
1715
+ * @public
1716
+ */
1717
+ name: string | undefined;
1718
+ }
1719
+ /**
1720
+ * <p>The request parameters for GetDataLakeNamespace.</p>
1721
+ * @public
1722
+ */
1723
+ export interface GetDataLakeNamespaceRequest {
1724
+ /**
1725
+ * <p>The Amazon Web Services Supply Chain instance identifier.</p>
1726
+ * @public
1727
+ */
1728
+ instanceId: string | undefined;
1729
+ /**
1730
+ * <p>The name of the namespace. Besides the namespaces user created, you can also specify the pre-defined namespaces:</p>
1731
+ * <ul>
1732
+ * <li>
1733
+ * <p>
1734
+ * <b>asc</b> - Pre-defined namespace containing 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>
1735
+ * </li>
1736
+ * <li>
1737
+ * <p>
1738
+ * <b>default</b> - Pre-defined namespace containing datasets with custom user-defined schemas.</p>
1739
+ * </li>
1740
+ * </ul>
1741
+ * @public
1742
+ */
1743
+ name: string | undefined;
1744
+ }
1745
+ /**
1746
+ * <p>The response parameters for GetDataLakeNamespace.</p>
1747
+ * @public
1748
+ */
1749
+ export interface GetDataLakeNamespaceResponse {
1750
+ /**
1751
+ * <p>The fetched namespace details.</p>
1752
+ * @public
1753
+ */
1754
+ namespace: DataLakeNamespace | undefined;
1755
+ }
1756
+ /**
1757
+ * <p>The request parameters of ListDataLakeNamespaces.</p>
1758
+ * @public
1759
+ */
1760
+ export interface ListDataLakeNamespacesRequest {
1761
+ /**
1762
+ * <p>The Amazon Web Services Supply Chain instance identifier.</p>
1763
+ * @public
1764
+ */
1765
+ instanceId: string | undefined;
1766
+ /**
1767
+ * <p>The pagination token to fetch next page of namespaces.</p>
1768
+ * @public
1769
+ */
1770
+ nextToken?: string | undefined;
1771
+ /**
1772
+ * <p>The max number of namespaces to fetch in this paginated request.</p>
1773
+ * @public
1774
+ */
1775
+ maxResults?: number | undefined;
1776
+ }
1777
+ /**
1778
+ * <p>The response parameters of ListDataLakeNamespaces.</p>
1779
+ * @public
1780
+ */
1781
+ export interface ListDataLakeNamespacesResponse {
1782
+ /**
1783
+ * <p>The list of fetched namespace details. Noted it only contains custom namespaces, pre-defined namespaces are not included.</p>
1784
+ * @public
1785
+ */
1786
+ namespaces: DataLakeNamespace[] | undefined;
1787
+ /**
1788
+ * <p>The pagination token to fetch next page of namespaces.</p>
1789
+ * @public
1790
+ */
1791
+ nextToken?: string | undefined;
1792
+ }
1793
+ /**
1794
+ * <p>The request parameters of UpdateDataLakeNamespace.</p>
1795
+ * @public
1796
+ */
1797
+ export interface UpdateDataLakeNamespaceRequest {
1798
+ /**
1799
+ * <p>The Amazon Web Services Chain instance identifier.</p>
1800
+ * @public
1801
+ */
1802
+ instanceId: string | undefined;
1803
+ /**
1804
+ * <p>The name of the namespace. Noted you cannot update namespace with name starting with <b>asc</b>, <b>default</b>, <b>scn</b>, <b>aws</b>, <b>amazon</b>, <b>amzn</b>
1805
+ * </p>
1806
+ * @public
1807
+ */
1808
+ name: string | undefined;
1809
+ /**
1810
+ * <p>The updated description of the data lake namespace.</p>
1811
+ * @public
1812
+ */
1813
+ description?: string | undefined;
1814
+ }
1815
+ /**
1816
+ * <p>The response parameters of UpdateDataLakeNamespace.</p>
1817
+ * @public
1818
+ */
1819
+ export interface UpdateDataLakeNamespaceResponse {
1820
+ /**
1821
+ * <p>The updated namespace details.</p>
1822
+ * @public
1823
+ */
1824
+ namespace: DataLakeNamespace | undefined;
1825
+ }
1216
1826
  /**
1217
1827
  * <p>The request parameters for DeleteInstance.</p>
1218
1828
  * @public
@@ -1235,6 +1845,65 @@ export interface DeleteInstanceResponse {
1235
1845
  */
1236
1846
  instance: Instance | undefined;
1237
1847
  }
1848
+ /**
1849
+ * <p>The request parameters for GetDataIntegrationEvent.</p>
1850
+ * @public
1851
+ */
1852
+ export interface GetDataIntegrationEventRequest {
1853
+ /**
1854
+ * <p>The Amazon Web Services Supply Chain instance identifier.</p>
1855
+ * @public
1856
+ */
1857
+ instanceId: string | undefined;
1858
+ /**
1859
+ * <p>The unique event identifier.</p>
1860
+ * @public
1861
+ */
1862
+ eventId: string | undefined;
1863
+ }
1864
+ /**
1865
+ * <p>The response parameters for GetDataIntegrationEvent.</p>
1866
+ * @public
1867
+ */
1868
+ export interface GetDataIntegrationEventResponse {
1869
+ /**
1870
+ * <p>The details of the DataIntegrationEvent returned.</p>
1871
+ * @public
1872
+ */
1873
+ event: DataIntegrationEvent | undefined;
1874
+ }
1875
+ /**
1876
+ * <p>The request parameters of GetFlowExecution.</p>
1877
+ * @public
1878
+ */
1879
+ export interface GetDataIntegrationFlowExecutionRequest {
1880
+ /**
1881
+ * <p>The AWS Supply Chain instance identifier.</p>
1882
+ * @public
1883
+ */
1884
+ instanceId: string | undefined;
1885
+ /**
1886
+ * <p>The flow name.</p>
1887
+ * @public
1888
+ */
1889
+ flowName: string | undefined;
1890
+ /**
1891
+ * <p>The flow execution identifier.</p>
1892
+ * @public
1893
+ */
1894
+ executionId: string | undefined;
1895
+ }
1896
+ /**
1897
+ * <p>The response parameters of GetFlowExecution.</p>
1898
+ * @public
1899
+ */
1900
+ export interface GetDataIntegrationFlowExecutionResponse {
1901
+ /**
1902
+ * <p>The flow execution details.</p>
1903
+ * @public
1904
+ */
1905
+ flowExecution: DataIntegrationFlowExecution | undefined;
1906
+ }
1238
1907
  /**
1239
1908
  * <p>The request parameters for GetInstance.</p>
1240
1909
  * @public
@@ -1331,6 +2000,90 @@ export interface UpdateInstanceResponse {
1331
2000
  */
1332
2001
  instance: Instance | undefined;
1333
2002
  }
2003
+ /**
2004
+ * <p>The request parameters for ListDataIntegrationEvents.</p>
2005
+ * @public
2006
+ */
2007
+ export interface ListDataIntegrationEventsRequest {
2008
+ /**
2009
+ * <p>The Amazon Web Services Supply Chain instance identifier.</p>
2010
+ * @public
2011
+ */
2012
+ instanceId: string | undefined;
2013
+ /**
2014
+ * <p>List data integration events for the specified eventType.</p>
2015
+ * @public
2016
+ */
2017
+ eventType?: DataIntegrationEventType | undefined;
2018
+ /**
2019
+ * <p>The pagination token to fetch the next page of the data integration events.</p>
2020
+ * @public
2021
+ */
2022
+ nextToken?: string | undefined;
2023
+ /**
2024
+ * <p>Specify the maximum number of data integration events to fetch in one paginated request.</p>
2025
+ * @public
2026
+ */
2027
+ maxResults?: number | undefined;
2028
+ }
2029
+ /**
2030
+ * <p>The response parameters for ListDataIntegrationEvents.</p>
2031
+ * @public
2032
+ */
2033
+ export interface ListDataIntegrationEventsResponse {
2034
+ /**
2035
+ * <p>The list of data integration events.</p>
2036
+ * @public
2037
+ */
2038
+ events: DataIntegrationEvent[] | undefined;
2039
+ /**
2040
+ * <p>The pagination token to fetch the next page of the ListDataIntegrationEvents.</p>
2041
+ * @public
2042
+ */
2043
+ nextToken?: string | undefined;
2044
+ }
2045
+ /**
2046
+ * <p>The request parameters of ListFlowExecutions.</p>
2047
+ * @public
2048
+ */
2049
+ export interface ListDataIntegrationFlowExecutionsRequest {
2050
+ /**
2051
+ * <p>The AWS Supply Chain instance identifier.</p>
2052
+ * @public
2053
+ */
2054
+ instanceId: string | undefined;
2055
+ /**
2056
+ * <p>The flow name.</p>
2057
+ * @public
2058
+ */
2059
+ flowName: string | undefined;
2060
+ /**
2061
+ * <p>The pagination token to fetch next page of flow executions.</p>
2062
+ * @public
2063
+ */
2064
+ nextToken?: string | undefined;
2065
+ /**
2066
+ * <p>The number to specify the max number of flow executions to fetch in this paginated request.</p>
2067
+ * @public
2068
+ */
2069
+ maxResults?: number | undefined;
2070
+ }
2071
+ /**
2072
+ * <p>The response parameters of ListFlowExecutions.</p>
2073
+ * @public
2074
+ */
2075
+ export interface ListDataIntegrationFlowExecutionsResponse {
2076
+ /**
2077
+ * <p>The list of flow executions.</p>
2078
+ * @public
2079
+ */
2080
+ flowExecutions: DataIntegrationFlowExecution[] | undefined;
2081
+ /**
2082
+ * <p>The pagination token to fetch next page of flow executions.</p>
2083
+ * @public
2084
+ */
2085
+ nextToken?: string | undefined;
2086
+ }
1334
2087
  /**
1335
2088
  * <p>The request parameters of ListTagsForResource.</p>
1336
2089
  * @public
@@ -1353,6 +2106,125 @@ export interface ListTagsForResourceResponse {
1353
2106
  */
1354
2107
  tags: Record<string, string> | undefined;
1355
2108
  }
2109
+ /**
2110
+ * <p>The request parameters for SendDataIntegrationEvent.</p>
2111
+ * @public
2112
+ */
2113
+ export interface SendDataIntegrationEventRequest {
2114
+ /**
2115
+ * <p>The AWS Supply Chain instance identifier.</p>
2116
+ * @public
2117
+ */
2118
+ instanceId: string | undefined;
2119
+ /**
2120
+ * <p>The data event type.</p>
2121
+ * <ul>
2122
+ * <li>
2123
+ * <p>
2124
+ * <b>scn.data.dataset</b> - Send data directly to any specified dataset.</p>
2125
+ * </li>
2126
+ * <li>
2127
+ * <p>
2128
+ * <b>scn.data.supplyplan</b> - Send data to <a href="https://docs.aws.amazon.com/aws-supply-chain/latest/userguide/supply-plan-entity.html">supply_plan</a> dataset.</p>
2129
+ * </li>
2130
+ * <li>
2131
+ * <p>
2132
+ * <b>scn.data.shipmentstoporder</b> - Send data to <a href="https://docs.aws.amazon.com/aws-supply-chain/latest/userguide/replenishment-shipment-stop-order-entity.html">shipment_stop_order</a> dataset.</p>
2133
+ * </li>
2134
+ * <li>
2135
+ * <p>
2136
+ * <b>scn.data.shipmentstop</b> - Send data to <a href="https://docs.aws.amazon.com/aws-supply-chain/latest/userguide/replenishment-shipment-stop-entity.html">shipment_stop</a> dataset.</p>
2137
+ * </li>
2138
+ * <li>
2139
+ * <p>
2140
+ * <b>scn.data.shipment</b> - Send data to <a href="https://docs.aws.amazon.com/aws-supply-chain/latest/userguide/replenishment-shipment-entity.html">shipment</a> dataset.</p>
2141
+ * </li>
2142
+ * <li>
2143
+ * <p>
2144
+ * <b>scn.data.reservation</b> - Send data to <a href="https://docs.aws.amazon.com/aws-supply-chain/latest/userguide/planning-reservation-entity.html">reservation</a> dataset.</p>
2145
+ * </li>
2146
+ * <li>
2147
+ * <p>
2148
+ * <b>scn.data.processproduct</b> - Send data to <a href="https://docs.aws.amazon.com/aws-supply-chain/latest/userguide/operation-process-product-entity.html">process_product</a> dataset.</p>
2149
+ * </li>
2150
+ * <li>
2151
+ * <p>
2152
+ * <b>scn.data.processoperation</b> - Send data to <a href="https://docs.aws.amazon.com/aws-supply-chain/latest/userguide/operation-process-operation-entity.html">process_operation</a> dataset.</p>
2153
+ * </li>
2154
+ * <li>
2155
+ * <p>
2156
+ * <b>scn.data.processheader</b> - Send data to <a href="https://docs.aws.amazon.com/aws-supply-chain/latest/userguide/operation-process-header-entity.html">process_header</a> dataset.</p>
2157
+ * </li>
2158
+ * <li>
2159
+ * <p>
2160
+ * <b>scn.data.forecast</b> - Send data to <a href="https://docs.aws.amazon.com/aws-supply-chain/latest/userguide/forecast-forecast-entity.html">forecast</a> dataset.</p>
2161
+ * </li>
2162
+ * <li>
2163
+ * <p>
2164
+ * <b>scn.data.inventorylevel</b> - Send data to <a href="https://docs.aws.amazon.com/aws-supply-chain/latest/userguide/inventory_mgmnt-inv-level-entity.html">inv_level</a> dataset.</p>
2165
+ * </li>
2166
+ * <li>
2167
+ * <p>
2168
+ * <b>scn.data.inboundorder</b> - Send data to <a href="https://docs.aws.amazon.com/aws-supply-chain/latest/userguide/replenishment-inbound-order-entity.html">inbound_order</a> dataset.</p>
2169
+ * </li>
2170
+ * <li>
2171
+ * <p>
2172
+ * <b>scn.data.inboundorderline</b> - Send data to <a href="https://docs.aws.amazon.com/aws-supply-chain/latest/userguide/replenishment-inbound-order-line-entity.html">inbound_order_line</a> dataset.</p>
2173
+ * </li>
2174
+ * <li>
2175
+ * <p>
2176
+ * <b>scn.data.inboundorderlineschedule</b> - Send data to <a href="https://docs.aws.amazon.com/aws-supply-chain/latest/userguide/replenishment-inbound-order-line-schedule-entity.html">inbound_order_line_schedule</a> dataset.</p>
2177
+ * </li>
2178
+ * <li>
2179
+ * <p>
2180
+ * <b>scn.data.outboundorderline</b> - Send data to <a href="https://docs.aws.amazon.com/aws-supply-chain/latest/userguide/outbound-fulfillment-order-line-entity.html">outbound_order_line</a> dataset.</p>
2181
+ * </li>
2182
+ * <li>
2183
+ * <p>
2184
+ * <b>scn.data.outboundshipment</b> - Send data to <a href="https://docs.aws.amazon.com/aws-supply-chain/latest/userguide/outbound-fulfillment-shipment-entity.html">outbound_shipment</a> dataset.</p>
2185
+ * </li>
2186
+ * </ul>
2187
+ * @public
2188
+ */
2189
+ eventType: DataIntegrationEventType | undefined;
2190
+ /**
2191
+ * <p>The data payload of the event, should follow the data schema of the target dataset, or see <a href="https://docs.aws.amazon.com/aws-supply-chain/latest/userguide/data-model-asc.html">Data entities supported in AWS Supply Chain</a>. To send single data record, use JsonObject format; to send multiple data records, use JsonArray format.</p>
2192
+ * <p>Note that for AWS Supply Chain dataset under <b>asc</b> namespace, it has a connection_id internal field that is not allowed to be provided by client directly, they will be auto populated.</p>
2193
+ * @public
2194
+ */
2195
+ data: string | undefined;
2196
+ /**
2197
+ * <p>Event identifier (for example, orderId for InboundOrder) used for data sharding or partitioning. Noted under one eventGroupId of same eventType and instanceId, events are processed sequentially in the order they are received by the server.</p>
2198
+ * @public
2199
+ */
2200
+ eventGroupId: string | undefined;
2201
+ /**
2202
+ * <p>The timestamp (in epoch seconds) associated with the event. If not provided, it will be assigned with current timestamp.</p>
2203
+ * @public
2204
+ */
2205
+ eventTimestamp?: Date | undefined;
2206
+ /**
2207
+ * <p>The idempotent client token. The token is active for 8 hours, and within its lifetime, it ensures the request completes only once upon retry with same client token. If omitted, the AWS SDK generates a unique value so that AWS SDK can safely retry the request upon network errors.</p>
2208
+ * @public
2209
+ */
2210
+ clientToken?: string | undefined;
2211
+ /**
2212
+ * <p>The target dataset configuration for <b>scn.data.dataset</b> event type.</p>
2213
+ * @public
2214
+ */
2215
+ datasetTarget?: DataIntegrationEventDatasetTargetConfiguration | undefined;
2216
+ }
2217
+ /**
2218
+ * <p>The response parameters for SendDataIntegrationEvent.</p>
2219
+ * @public
2220
+ */
2221
+ export interface SendDataIntegrationEventResponse {
2222
+ /**
2223
+ * <p>The unique event identifier.</p>
2224
+ * @public
2225
+ */
2226
+ eventId: string | undefined;
2227
+ }
1356
2228
  /**
1357
2229
  * <p>The request parameters of TagResource.</p>
1358
2230
  * @public
@@ -1397,6 +2269,38 @@ export interface UntagResourceRequest {
1397
2269
  */
1398
2270
  export interface UntagResourceResponse {
1399
2271
  }
2272
+ /**
2273
+ * @internal
2274
+ */
2275
+ export declare const DataIntegrationFlowSQLTransformationConfigurationFilterSensitiveLog: (obj: DataIntegrationFlowSQLTransformationConfiguration) => any;
2276
+ /**
2277
+ * @internal
2278
+ */
2279
+ export declare const DataIntegrationFlowTransformationFilterSensitiveLog: (obj: DataIntegrationFlowTransformation) => any;
2280
+ /**
2281
+ * @internal
2282
+ */
2283
+ export declare const CreateDataIntegrationFlowRequestFilterSensitiveLog: (obj: CreateDataIntegrationFlowRequest) => any;
2284
+ /**
2285
+ * @internal
2286
+ */
2287
+ export declare const DataIntegrationFlowFilterSensitiveLog: (obj: DataIntegrationFlow) => any;
2288
+ /**
2289
+ * @internal
2290
+ */
2291
+ export declare const GetDataIntegrationFlowResponseFilterSensitiveLog: (obj: GetDataIntegrationFlowResponse) => any;
2292
+ /**
2293
+ * @internal
2294
+ */
2295
+ export declare const ListDataIntegrationFlowsResponseFilterSensitiveLog: (obj: ListDataIntegrationFlowsResponse) => any;
2296
+ /**
2297
+ * @internal
2298
+ */
2299
+ export declare const UpdateDataIntegrationFlowRequestFilterSensitiveLog: (obj: UpdateDataIntegrationFlowRequest) => any;
2300
+ /**
2301
+ * @internal
2302
+ */
2303
+ export declare const UpdateDataIntegrationFlowResponseFilterSensitiveLog: (obj: UpdateDataIntegrationFlowResponse) => any;
1400
2304
  /**
1401
2305
  * @internal
1402
2306
  */