@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
@@ -0,0 +1,152 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { ListDataIntegrationFlowExecutionsRequest, ListDataIntegrationFlowExecutionsResponse } from "../models/models_0";
4
+ import { ServiceInputTypes, ServiceOutputTypes, SupplyChainClientResolvedConfig } from "../SupplyChainClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListDataIntegrationFlowExecutionsCommand}.
14
+ */
15
+ export interface ListDataIntegrationFlowExecutionsCommandInput extends ListDataIntegrationFlowExecutionsRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListDataIntegrationFlowExecutionsCommand}.
21
+ */
22
+ export interface ListDataIntegrationFlowExecutionsCommandOutput extends ListDataIntegrationFlowExecutionsResponse, __MetadataBearer {
23
+ }
24
+ declare const ListDataIntegrationFlowExecutionsCommand_base: {
25
+ new (input: ListDataIntegrationFlowExecutionsCommandInput): import("@smithy/smithy-client").CommandImpl<ListDataIntegrationFlowExecutionsCommandInput, ListDataIntegrationFlowExecutionsCommandOutput, SupplyChainClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: ListDataIntegrationFlowExecutionsCommandInput): import("@smithy/smithy-client").CommandImpl<ListDataIntegrationFlowExecutionsCommandInput, ListDataIntegrationFlowExecutionsCommandOutput, SupplyChainClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>List flow executions.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { SupplyChainClient, ListDataIntegrationFlowExecutionsCommand } from "@aws-sdk/client-supplychain"; // ES Modules import
35
+ * // const { SupplyChainClient, ListDataIntegrationFlowExecutionsCommand } = require("@aws-sdk/client-supplychain"); // CommonJS import
36
+ * const client = new SupplyChainClient(config);
37
+ * const input = { // ListDataIntegrationFlowExecutionsRequest
38
+ * instanceId: "STRING_VALUE", // required
39
+ * flowName: "STRING_VALUE", // required
40
+ * nextToken: "STRING_VALUE",
41
+ * maxResults: Number("int"),
42
+ * };
43
+ * const command = new ListDataIntegrationFlowExecutionsCommand(input);
44
+ * const response = await client.send(command);
45
+ * // { // ListDataIntegrationFlowExecutionsResponse
46
+ * // flowExecutions: [ // DataIntegrationFlowExecutionList // required
47
+ * // { // DataIntegrationFlowExecution
48
+ * // instanceId: "STRING_VALUE", // required
49
+ * // flowName: "STRING_VALUE", // required
50
+ * // executionId: "STRING_VALUE", // required
51
+ * // status: "SUCCEEDED" || "IN_PROGRESS" || "FAILED",
52
+ * // sourceInfo: { // DataIntegrationFlowExecutionSourceInfo
53
+ * // sourceType: "S3" || "DATASET", // required
54
+ * // s3Source: { // DataIntegrationFlowS3Source
55
+ * // bucketName: "STRING_VALUE", // required
56
+ * // key: "STRING_VALUE", // required
57
+ * // },
58
+ * // datasetSource: { // DataIntegrationFlowDatasetSource
59
+ * // datasetIdentifier: "STRING_VALUE", // required
60
+ * // },
61
+ * // },
62
+ * // message: "STRING_VALUE",
63
+ * // startTime: new Date("TIMESTAMP"),
64
+ * // endTime: new Date("TIMESTAMP"),
65
+ * // outputMetadata: { // DataIntegrationFlowExecutionOutputMetadata
66
+ * // diagnosticReportsRootS3URI: "STRING_VALUE",
67
+ * // },
68
+ * // },
69
+ * // ],
70
+ * // nextToken: "STRING_VALUE",
71
+ * // };
72
+ *
73
+ * ```
74
+ *
75
+ * @param ListDataIntegrationFlowExecutionsCommandInput - {@link ListDataIntegrationFlowExecutionsCommandInput}
76
+ * @returns {@link ListDataIntegrationFlowExecutionsCommandOutput}
77
+ * @see {@link ListDataIntegrationFlowExecutionsCommandInput} for command's `input` shape.
78
+ * @see {@link ListDataIntegrationFlowExecutionsCommandOutput} for command's `response` shape.
79
+ * @see {@link SupplyChainClientResolvedConfig | config} for SupplyChainClient's `config` shape.
80
+ *
81
+ * @throws {@link AccessDeniedException} (client fault)
82
+ * <p>You do not have the required privileges to perform this action.</p>
83
+ *
84
+ * @throws {@link InternalServerException} (server fault)
85
+ * <p>Unexpected error during processing of request.</p>
86
+ *
87
+ * @throws {@link ResourceNotFoundException} (client fault)
88
+ * <p>Request references a resource which does not exist.</p>
89
+ *
90
+ * @throws {@link ThrottlingException} (client fault)
91
+ * <p>Request was denied due to request throttling.</p>
92
+ *
93
+ * @throws {@link ValidationException} (client fault)
94
+ * <p>The input does not satisfy the constraints specified by an AWS service.</p>
95
+ *
96
+ * @throws {@link ConflictException} (client fault)
97
+ * <p>Updating or deleting a resource can cause an inconsistent state.</p>
98
+ *
99
+ * @throws {@link ServiceQuotaExceededException} (client fault)
100
+ * <p>Request would cause a service quota to be exceeded.</p>
101
+ *
102
+ * @throws {@link SupplyChainServiceException}
103
+ * <p>Base exception class for all service exceptions from SupplyChain service.</p>
104
+ *
105
+ *
106
+ * @example Successful ListDataIntegrationFlowExecutions
107
+ * ```javascript
108
+ * //
109
+ * const input = {
110
+ * flowName: "source-product",
111
+ * instanceId: "8928ae12-15e5-4441-825d-ec2184f0a43a"
112
+ * };
113
+ * const command = new ListDataIntegrationFlowExecutionsCommand(input);
114
+ * const response = await client.send(command);
115
+ * /* response is
116
+ * {
117
+ * flowExecutions: [
118
+ * {
119
+ * endTime: 1.515531090123E9,
120
+ * executionId: "edbbdd3f-c0f9-49d9-ab01-f64542f803b7",
121
+ * flowName: "source-product",
122
+ * instanceId: "8928ae12-15e5-4441-825d-ec2184f0a43a",
123
+ * sourceInfo: {
124
+ * s3Source: {
125
+ * bucketName: "galaxy-raw-input-test-data-prod-pdx-1",
126
+ * key: "sources/product-sources.csv"
127
+ * },
128
+ * sourceType: "S3"
129
+ * },
130
+ * startTime: 1.515531081123E9,
131
+ * status: "SUCCEEDED"
132
+ * }
133
+ * ]
134
+ * }
135
+ * *\/
136
+ * ```
137
+ *
138
+ * @public
139
+ */
140
+ export declare class ListDataIntegrationFlowExecutionsCommand extends ListDataIntegrationFlowExecutionsCommand_base {
141
+ /** @internal type navigation helper, not in runtime. */
142
+ protected static __types: {
143
+ api: {
144
+ input: ListDataIntegrationFlowExecutionsRequest;
145
+ output: ListDataIntegrationFlowExecutionsResponse;
146
+ };
147
+ sdk: {
148
+ input: ListDataIntegrationFlowExecutionsCommandInput;
149
+ output: ListDataIntegrationFlowExecutionsCommandOutput;
150
+ };
151
+ };
152
+ }
@@ -62,6 +62,17 @@ declare const ListDataIntegrationFlowsCommand_base: {
62
62
  * // options: { // DataIntegrationFlowDatasetOptions
63
63
  * // loadType: "INCREMENTAL" || "REPLACE",
64
64
  * // dedupeRecords: true || false,
65
+ * // dedupeStrategy: { // DataIntegrationFlowDedupeStrategy
66
+ * // type: "FIELD_PRIORITY", // required
67
+ * // fieldPriority: { // DataIntegrationFlowFieldPriorityDedupeStrategyConfiguration
68
+ * // fields: [ // DataIntegrationFlowFieldPriorityDedupeFieldList // required
69
+ * // { // DataIntegrationFlowFieldPriorityDedupeField
70
+ * // name: "STRING_VALUE", // required
71
+ * // sortOrder: "ASC" || "DESC", // required
72
+ * // },
73
+ * // ],
74
+ * // },
75
+ * // },
65
76
  * // },
66
77
  * // },
67
78
  * // },
@@ -86,6 +97,17 @@ declare const ListDataIntegrationFlowsCommand_base: {
86
97
  * // options: {
87
98
  * // loadType: "INCREMENTAL" || "REPLACE",
88
99
  * // dedupeRecords: true || false,
100
+ * // dedupeStrategy: {
101
+ * // type: "FIELD_PRIORITY", // required
102
+ * // fieldPriority: {
103
+ * // fields: [ // required
104
+ * // {
105
+ * // name: "STRING_VALUE", // required
106
+ * // sortOrder: "ASC" || "DESC", // required
107
+ * // },
108
+ * // ],
109
+ * // },
110
+ * // },
89
111
  * // },
90
112
  * // },
91
113
  * // },
@@ -191,7 +213,22 @@ declare const ListDataIntegrationFlowsCommand_base: {
191
213
  * ],
192
214
  * target: {
193
215
  * datasetTarget: {
194
- * datasetIdentifier: "arn:aws:scn:us-east-1:123456789012:instance/8850c54e-e187-4fa7-89d4-6370f165174d/namespaces/asc/datasets/trading_partner"
216
+ * datasetIdentifier: "arn:aws:scn:us-east-1:123456789012:instance/8850c54e-e187-4fa7-89d4-6370f165174d/namespaces/asc/datasets/trading_partner",
217
+ * options: {
218
+ * dedupeRecords: true,
219
+ * dedupeStrategy: {
220
+ * fieldPriority: {
221
+ * fields: [
222
+ * {
223
+ * name: "eff_start_date",
224
+ * sortOrder: "DESC"
225
+ * }
226
+ * ]
227
+ * },
228
+ * type: "FIELD_PRIORITY"
229
+ * },
230
+ * loadType: "REPLACE"
231
+ * }
195
232
  * },
196
233
  * targetType: "DATASET"
197
234
  * },
@@ -54,12 +54,27 @@ declare const ListDataLakeDatasetsCommand_base: {
54
54
  * // fields: [ // DataLakeDatasetSchemaFieldList // required
55
55
  * // { // DataLakeDatasetSchemaField
56
56
  * // name: "STRING_VALUE", // required
57
- * // type: "INT" || "DOUBLE" || "STRING" || "TIMESTAMP", // required
57
+ * // type: "INT" || "DOUBLE" || "STRING" || "TIMESTAMP" || "LONG", // required
58
58
  * // isRequired: true || false, // required
59
59
  * // },
60
60
  * // ],
61
+ * // primaryKeys: [ // DataLakeDatasetPrimaryKeyFieldList
62
+ * // { // DataLakeDatasetPrimaryKeyField
63
+ * // name: "STRING_VALUE", // required
64
+ * // },
65
+ * // ],
61
66
  * // },
62
67
  * // description: "STRING_VALUE",
68
+ * // partitionSpec: { // DataLakeDatasetPartitionSpec
69
+ * // fields: [ // DataLakeDatasetPartitionFieldList // required
70
+ * // { // DataLakeDatasetPartitionField
71
+ * // name: "STRING_VALUE", // required
72
+ * // transform: { // DataLakeDatasetPartitionFieldTransform
73
+ * // type: "YEAR" || "MONTH" || "DAY" || "HOUR" || "IDENTITY", // required
74
+ * // },
75
+ * // },
76
+ * // ],
77
+ * // },
63
78
  * // createdTime: new Date("TIMESTAMP"), // required
64
79
  * // lastModifiedTime: new Date("TIMESTAMP"), // required
65
80
  * // },
@@ -303,6 +318,22 @@ declare const ListDataLakeDatasetsCommand_base: {
303
318
  * lastModifiedTime: 1.727116807751E9,
304
319
  * name: "my_dataset",
305
320
  * namespace: "default",
321
+ * partitionSpec: {
322
+ * fields: [
323
+ * {
324
+ * name: "creation_time",
325
+ * transform: {
326
+ * type: "DAY"
327
+ * }
328
+ * },
329
+ * {
330
+ * name: "description",
331
+ * transform: {
332
+ * type: "IDENTITY"
333
+ * }
334
+ * }
335
+ * ]
336
+ * },
306
337
  * schema: {
307
338
  * fields: [
308
339
  * {
@@ -324,9 +355,19 @@ declare const ListDataLakeDatasetsCommand_base: {
324
355
  * isRequired: false,
325
356
  * name: "creation_time",
326
357
  * type: "TIMESTAMP"
358
+ * },
359
+ * {
360
+ * isRequired: false,
361
+ * name: "quantity",
362
+ * type: "LONG"
327
363
  * }
328
364
  * ],
329
- * name: "MyDataset"
365
+ * name: "MyDataset",
366
+ * primaryKeys: [
367
+ * {
368
+ * name: "id"
369
+ * }
370
+ * ]
330
371
  * }
331
372
  * },
332
373
  * {
@@ -0,0 +1,161 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { ListDataLakeNamespacesRequest, ListDataLakeNamespacesResponse } from "../models/models_0";
4
+ import { ServiceInputTypes, ServiceOutputTypes, SupplyChainClientResolvedConfig } from "../SupplyChainClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListDataLakeNamespacesCommand}.
14
+ */
15
+ export interface ListDataLakeNamespacesCommandInput extends ListDataLakeNamespacesRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListDataLakeNamespacesCommand}.
21
+ */
22
+ export interface ListDataLakeNamespacesCommandOutput extends ListDataLakeNamespacesResponse, __MetadataBearer {
23
+ }
24
+ declare const ListDataLakeNamespacesCommand_base: {
25
+ new (input: ListDataLakeNamespacesCommandInput): import("@smithy/smithy-client").CommandImpl<ListDataLakeNamespacesCommandInput, ListDataLakeNamespacesCommandOutput, SupplyChainClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: ListDataLakeNamespacesCommandInput): import("@smithy/smithy-client").CommandImpl<ListDataLakeNamespacesCommandInput, ListDataLakeNamespacesCommandOutput, SupplyChainClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Enables you to programmatically view the list of Amazon Web Services Supply Chain data lake namespaces. Developers can view the namespaces and the corresponding information such as description for a given instance ID. Note that this API only return custom namespaces, instance pre-defined namespaces are not included.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { SupplyChainClient, ListDataLakeNamespacesCommand } from "@aws-sdk/client-supplychain"; // ES Modules import
35
+ * // const { SupplyChainClient, ListDataLakeNamespacesCommand } = require("@aws-sdk/client-supplychain"); // CommonJS import
36
+ * const client = new SupplyChainClient(config);
37
+ * const input = { // ListDataLakeNamespacesRequest
38
+ * instanceId: "STRING_VALUE", // required
39
+ * nextToken: "STRING_VALUE",
40
+ * maxResults: Number("int"),
41
+ * };
42
+ * const command = new ListDataLakeNamespacesCommand(input);
43
+ * const response = await client.send(command);
44
+ * // { // ListDataLakeNamespacesResponse
45
+ * // namespaces: [ // DataLakeNamespaceList // required
46
+ * // { // DataLakeNamespace
47
+ * // instanceId: "STRING_VALUE", // required
48
+ * // name: "STRING_VALUE", // required
49
+ * // arn: "STRING_VALUE", // required
50
+ * // description: "STRING_VALUE",
51
+ * // createdTime: new Date("TIMESTAMP"), // required
52
+ * // lastModifiedTime: new Date("TIMESTAMP"), // required
53
+ * // },
54
+ * // ],
55
+ * // nextToken: "STRING_VALUE",
56
+ * // };
57
+ *
58
+ * ```
59
+ *
60
+ * @param ListDataLakeNamespacesCommandInput - {@link ListDataLakeNamespacesCommandInput}
61
+ * @returns {@link ListDataLakeNamespacesCommandOutput}
62
+ * @see {@link ListDataLakeNamespacesCommandInput} for command's `input` shape.
63
+ * @see {@link ListDataLakeNamespacesCommandOutput} for command's `response` shape.
64
+ * @see {@link SupplyChainClientResolvedConfig | config} for SupplyChainClient's `config` shape.
65
+ *
66
+ * @throws {@link AccessDeniedException} (client fault)
67
+ * <p>You do not have the required privileges to perform this action.</p>
68
+ *
69
+ * @throws {@link InternalServerException} (server fault)
70
+ * <p>Unexpected error during processing of request.</p>
71
+ *
72
+ * @throws {@link ThrottlingException} (client fault)
73
+ * <p>Request was denied due to request throttling.</p>
74
+ *
75
+ * @throws {@link ValidationException} (client fault)
76
+ * <p>The input does not satisfy the constraints specified by an AWS service.</p>
77
+ *
78
+ * @throws {@link ConflictException} (client fault)
79
+ * <p>Updating or deleting a resource can cause an inconsistent state.</p>
80
+ *
81
+ * @throws {@link ResourceNotFoundException} (client fault)
82
+ * <p>Request references a resource which does not exist.</p>
83
+ *
84
+ * @throws {@link ServiceQuotaExceededException} (client fault)
85
+ * <p>Request would cause a service quota to be exceeded.</p>
86
+ *
87
+ * @throws {@link SupplyChainServiceException}
88
+ * <p>Base exception class for all service exceptions from SupplyChain service.</p>
89
+ *
90
+ *
91
+ * @example List AWS Supply Chain namespaces
92
+ * ```javascript
93
+ * //
94
+ * const input = {
95
+ * instanceId: "1877dd20-dee9-4639-8e99-cb67acf21fe5"
96
+ * };
97
+ * const command = new ListDataLakeNamespacesCommand(input);
98
+ * const response = await client.send(command);
99
+ * /* response is
100
+ * {
101
+ * namespaces: [
102
+ * {
103
+ * arn: "arn:aws:scn:us-east-1:012345678910:instance/1877dd20-dee9-4639-8e99-cb67acf21fe5/namespaces/custom_namespace",
104
+ * createdTime: 1.736892060751E9,
105
+ * instanceId: "1877dd20-dee9-4639-8e99-cb67acf21fe5",
106
+ * lastModifiedTime: 1.736892060751E9,
107
+ * name: "custom_namespace"
108
+ * },
109
+ * {
110
+ * arn: "arn:aws:scn:us-east-1:012345678910:instance/1877dd20-dee9-4639-8e99-cb67acf21fe5/namespaces/my_namespace",
111
+ * createdTime: 1.736892560751E9,
112
+ * instanceId: "1877dd20-dee9-4639-8e99-cb67acf21fe5",
113
+ * lastModifiedTime: 1.736892586156E9,
114
+ * name: "my_namespace"
115
+ * }
116
+ * ]
117
+ * }
118
+ * *\/
119
+ * ```
120
+ *
121
+ * @example List AWS Supply Chain namespaces using pagination
122
+ * ```javascript
123
+ * //
124
+ * const input = {
125
+ * instanceId: "1877dd20-dee9-4639-8e99-cb67acf21fe5",
126
+ * maxResults: 1,
127
+ * nextToken: "next_token_returned_from_previous_list_request"
128
+ * };
129
+ * const command = new ListDataLakeNamespacesCommand(input);
130
+ * const response = await client.send(command);
131
+ * /* response is
132
+ * {
133
+ * namespaces: [
134
+ * {
135
+ * arn: "arn:aws:scn:us-east-1:012345678910:instance/1877dd20-dee9-4639-8e99-cb67acf21fe5/namespaces/my_namespace",
136
+ * createdTime: 1.736892560751E9,
137
+ * instanceId: "1877dd20-dee9-4639-8e99-cb67acf21fe5",
138
+ * lastModifiedTime: 1.736892586156E9,
139
+ * name: "my_namespace"
140
+ * }
141
+ * ],
142
+ * nextToken: "next_token_for_next_list_request"
143
+ * }
144
+ * *\/
145
+ * ```
146
+ *
147
+ * @public
148
+ */
149
+ export declare class ListDataLakeNamespacesCommand extends ListDataLakeNamespacesCommand_base {
150
+ /** @internal type navigation helper, not in runtime. */
151
+ protected static __types: {
152
+ api: {
153
+ input: ListDataLakeNamespacesRequest;
154
+ output: ListDataLakeNamespacesResponse;
155
+ };
156
+ sdk: {
157
+ input: ListDataLakeNamespacesCommandInput;
158
+ output: ListDataLakeNamespacesCommandOutput;
159
+ };
160
+ };
161
+ }
@@ -27,7 +27,7 @@ declare const SendDataIntegrationEventCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Send the transactional data payload for the event with real-time data for analysis or monitoring. The real-time data events are stored in an Amazon Web Services service before being processed and stored in data lake. New data events are synced with data lake at 5 PM GMT everyday. The updated transactional data is available in data lake after ingestion.</p>
30
+ * <p>Send the data payload for the event with real-time data for analysis or monitoring. The real-time data events are stored in an Amazon Web Services service before being processed and stored in data lake.</p>
31
31
  * @example
32
32
  * Use a bare-bones client and the command you need to make an API call.
33
33
  * ```javascript
@@ -36,11 +36,15 @@ declare const SendDataIntegrationEventCommand_base: {
36
36
  * const client = new SupplyChainClient(config);
37
37
  * const input = { // SendDataIntegrationEventRequest
38
38
  * instanceId: "STRING_VALUE", // required
39
- * eventType: "scn.data.forecast" || "scn.data.inventorylevel" || "scn.data.inboundorder" || "scn.data.inboundorderline" || "scn.data.inboundorderlineschedule" || "scn.data.outboundorderline" || "scn.data.outboundshipment" || "scn.data.processheader" || "scn.data.processoperation" || "scn.data.processproduct" || "scn.data.reservation" || "scn.data.shipment" || "scn.data.shipmentstop" || "scn.data.shipmentstoporder" || "scn.data.supplyplan", // required
39
+ * eventType: "scn.data.forecast" || "scn.data.inventorylevel" || "scn.data.inboundorder" || "scn.data.inboundorderline" || "scn.data.inboundorderlineschedule" || "scn.data.outboundorderline" || "scn.data.outboundshipment" || "scn.data.processheader" || "scn.data.processoperation" || "scn.data.processproduct" || "scn.data.reservation" || "scn.data.shipment" || "scn.data.shipmentstop" || "scn.data.shipmentstoporder" || "scn.data.supplyplan" || "scn.data.dataset", // required
40
40
  * data: "STRING_VALUE", // required
41
41
  * eventGroupId: "STRING_VALUE", // required
42
42
  * eventTimestamp: new Date("TIMESTAMP"),
43
43
  * clientToken: "STRING_VALUE",
44
+ * datasetTarget: { // DataIntegrationEventDatasetTargetConfiguration
45
+ * datasetIdentifier: "STRING_VALUE", // required
46
+ * operationType: "APPEND" || "UPSERT" || "DELETE", // required
47
+ * },
44
48
  * };
45
49
  * const command = new SendDataIntegrationEventCommand(input);
46
50
  * const response = await client.send(command);
@@ -366,6 +370,29 @@ declare const SendDataIntegrationEventCommand_base: {
366
370
  * *\/
367
371
  * ```
368
372
  *
373
+ * @example Successful SendDataIntegrationEvent for dataset event type
374
+ * ```javascript
375
+ * //
376
+ * const input = {
377
+ * data: `{"dataset_id": "datset-id-test-123" }`,
378
+ * datasetTarget: {
379
+ * datasetIdentifier: "arn:aws:scn:us-west-2:135808960812:instance/8928ae12-15e5-4441-825d-ec2184f0a43a/namespaces/asc/datasets/product",
380
+ * operationType: "APPEND"
381
+ * },
382
+ * eventGroupId: "datasetId",
383
+ * eventTimestamp: 1.515531081123E9,
384
+ * eventType: "scn.data.dataset",
385
+ * instanceId: "8928ae12-15e5-4441-825d-ec2184f0a43a"
386
+ * };
387
+ * const command = new SendDataIntegrationEventCommand(input);
388
+ * const response = await client.send(command);
389
+ * /* response is
390
+ * {
391
+ * eventId: "19739c8e-cd2e-4cbc-a2f7-0dc43239f042"
392
+ * }
393
+ * *\/
394
+ * ```
395
+ *
369
396
  * @public
370
397
  */
371
398
  export declare class SendDataIntegrationEventCommand extends SendDataIntegrationEventCommand_base {
@@ -53,6 +53,17 @@ declare const UpdateDataIntegrationFlowCommand_base: {
53
53
  * options: { // DataIntegrationFlowDatasetOptions
54
54
  * loadType: "INCREMENTAL" || "REPLACE",
55
55
  * dedupeRecords: true || false,
56
+ * dedupeStrategy: { // DataIntegrationFlowDedupeStrategy
57
+ * type: "FIELD_PRIORITY", // required
58
+ * fieldPriority: { // DataIntegrationFlowFieldPriorityDedupeStrategyConfiguration
59
+ * fields: [ // DataIntegrationFlowFieldPriorityDedupeFieldList // required
60
+ * { // DataIntegrationFlowFieldPriorityDedupeField
61
+ * name: "STRING_VALUE", // required
62
+ * sortOrder: "ASC" || "DESC", // required
63
+ * },
64
+ * ],
65
+ * },
66
+ * },
56
67
  * },
57
68
  * },
58
69
  * },
@@ -77,6 +88,17 @@ declare const UpdateDataIntegrationFlowCommand_base: {
77
88
  * options: {
78
89
  * loadType: "INCREMENTAL" || "REPLACE",
79
90
  * dedupeRecords: true || false,
91
+ * dedupeStrategy: {
92
+ * type: "FIELD_PRIORITY", // required
93
+ * fieldPriority: {
94
+ * fields: [ // required
95
+ * {
96
+ * name: "STRING_VALUE", // required
97
+ * sortOrder: "ASC" || "DESC", // required
98
+ * },
99
+ * ],
100
+ * },
101
+ * },
80
102
  * },
81
103
  * },
82
104
  * },
@@ -103,6 +125,17 @@ declare const UpdateDataIntegrationFlowCommand_base: {
103
125
  * // options: { // DataIntegrationFlowDatasetOptions
104
126
  * // loadType: "INCREMENTAL" || "REPLACE",
105
127
  * // dedupeRecords: true || false,
128
+ * // dedupeStrategy: { // DataIntegrationFlowDedupeStrategy
129
+ * // type: "FIELD_PRIORITY", // required
130
+ * // fieldPriority: { // DataIntegrationFlowFieldPriorityDedupeStrategyConfiguration
131
+ * // fields: [ // DataIntegrationFlowFieldPriorityDedupeFieldList // required
132
+ * // { // DataIntegrationFlowFieldPriorityDedupeField
133
+ * // name: "STRING_VALUE", // required
134
+ * // sortOrder: "ASC" || "DESC", // required
135
+ * // },
136
+ * // ],
137
+ * // },
138
+ * // },
106
139
  * // },
107
140
  * // },
108
141
  * // },
@@ -127,6 +160,17 @@ declare const UpdateDataIntegrationFlowCommand_base: {
127
160
  * // options: {
128
161
  * // loadType: "INCREMENTAL" || "REPLACE",
129
162
  * // dedupeRecords: true || false,
163
+ * // dedupeStrategy: {
164
+ * // type: "FIELD_PRIORITY", // required
165
+ * // fieldPriority: {
166
+ * // fields: [ // required
167
+ * // {
168
+ * // name: "STRING_VALUE", // required
169
+ * // sortOrder: "ASC" || "DESC", // required
170
+ * // },
171
+ * // ],
172
+ * // },
173
+ * // },
130
174
  * // },
131
175
  * // },
132
176
  * // },
@@ -257,7 +301,22 @@ declare const UpdateDataIntegrationFlowCommand_base: {
257
301
  * ],
258
302
  * target: {
259
303
  * datasetTarget: {
260
- * datasetIdentifier: "arn:aws:scn:us-east-1:123456789012:instance/8850c54e-e187-4fa7-89d4-6370f165174d/namespaces/asc/datasets/trading_partner"
304
+ * datasetIdentifier: "arn:aws:scn:us-east-1:123456789012:instance/8850c54e-e187-4fa7-89d4-6370f165174d/namespaces/asc/datasets/trading_partner",
305
+ * options: {
306
+ * dedupeRecords: true,
307
+ * dedupeStrategy: {
308
+ * fieldPriority: {
309
+ * fields: [
310
+ * {
311
+ * name: "eff_start_date",
312
+ * sortOrder: "ASC"
313
+ * }
314
+ * ]
315
+ * },
316
+ * type: "FIELD_PRIORITY"
317
+ * },
318
+ * loadType: "REPLACE"
319
+ * }
261
320
  * },
262
321
  * targetType: "DATASET"
263
322
  * },
@@ -295,7 +354,22 @@ declare const UpdateDataIntegrationFlowCommand_base: {
295
354
  * ],
296
355
  * target: {
297
356
  * datasetTarget: {
298
- * datasetIdentifier: "arn:aws:scn:us-east-1:123456789012:instance/8850c54e-e187-4fa7-89d4-6370f165174d/namespaces/asc/datasets/trading_partner"
357
+ * datasetIdentifier: "arn:aws:scn:us-east-1:123456789012:instance/8850c54e-e187-4fa7-89d4-6370f165174d/namespaces/asc/datasets/trading_partner",
358
+ * options: {
359
+ * dedupeRecords: true,
360
+ * dedupeStrategy: {
361
+ * fieldPriority: {
362
+ * fields: [
363
+ * {
364
+ * name: "eff_start_date",
365
+ * sortOrder: "ASC"
366
+ * }
367
+ * ]
368
+ * },
369
+ * type: "FIELD_PRIORITY"
370
+ * },
371
+ * loadType: "REPLACE"
372
+ * }
299
373
  * },
300
374
  * targetType: "DATASET"
301
375
  * },