@aws-sdk/client-supplychain 3.658.1 → 3.662.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 -1
  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 +232 -0
  28. package/dist-types/commands/CreateDataLakeDatasetCommand.d.ts +393 -0
  29. package/dist-types/commands/DeleteDataIntegrationFlowCommand.d.ts +112 -0
  30. package/dist-types/commands/DeleteDataLakeDatasetCommand.d.ts +136 -0
  31. package/dist-types/commands/GetDataIntegrationFlowCommand.d.ts +185 -0
  32. package/dist-types/commands/GetDataLakeDatasetCommand.d.ts +344 -0
  33. package/dist-types/commands/ListDataIntegrationFlowsCommand.d.ts +224 -0
  34. package/dist-types/commands/ListDataLakeDatasetsCommand.d.ts +377 -0
  35. package/dist-types/commands/ListTagsForResourceCommand.d.ts +112 -0
  36. package/dist-types/commands/TagResourceCommand.d.ts +107 -0
  37. package/dist-types/commands/UntagResourceCommand.d.ts +107 -0
  38. package/dist-types/commands/UpdateDataIntegrationFlowCommand.d.ts +328 -0
  39. package/dist-types/commands/UpdateDataLakeDatasetCommand.d.ts +347 -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 +35 -35
@@ -0,0 +1,347 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { UpdateDataLakeDatasetRequest, UpdateDataLakeDatasetResponse } 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 UpdateDataLakeDatasetCommand}.
14
+ */
15
+ export interface UpdateDataLakeDatasetCommandInput extends UpdateDataLakeDatasetRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link UpdateDataLakeDatasetCommand}.
21
+ */
22
+ export interface UpdateDataLakeDatasetCommandOutput extends UpdateDataLakeDatasetResponse, __MetadataBearer {
23
+ }
24
+ declare const UpdateDataLakeDatasetCommand_base: {
25
+ new (input: UpdateDataLakeDatasetCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateDataLakeDatasetCommandInput, UpdateDataLakeDatasetCommandOutput, SupplyChainClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: UpdateDataLakeDatasetCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateDataLakeDatasetCommandInput, UpdateDataLakeDatasetCommandOutput, SupplyChainClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Update a data lake dataset.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { SupplyChainClient, UpdateDataLakeDatasetCommand } from "@aws-sdk/client-supplychain"; // ES Modules import
35
+ * // const { SupplyChainClient, UpdateDataLakeDatasetCommand } = require("@aws-sdk/client-supplychain"); // CommonJS import
36
+ * const client = new SupplyChainClient(config);
37
+ * const input = { // UpdateDataLakeDatasetRequest
38
+ * instanceId: "STRING_VALUE", // required
39
+ * namespace: "STRING_VALUE", // required
40
+ * name: "STRING_VALUE", // required
41
+ * description: "STRING_VALUE",
42
+ * };
43
+ * const command = new UpdateDataLakeDatasetCommand(input);
44
+ * const response = await client.send(command);
45
+ * // { // UpdateDataLakeDatasetResponse
46
+ * // dataset: { // DataLakeDataset
47
+ * // instanceId: "STRING_VALUE", // required
48
+ * // namespace: "STRING_VALUE", // required
49
+ * // name: "STRING_VALUE", // required
50
+ * // arn: "STRING_VALUE", // required
51
+ * // schema: { // DataLakeDatasetSchema
52
+ * // name: "STRING_VALUE", // required
53
+ * // fields: [ // DataLakeDatasetSchemaFieldList // required
54
+ * // { // DataLakeDatasetSchemaField
55
+ * // name: "STRING_VALUE", // required
56
+ * // type: "INT" || "DOUBLE" || "STRING" || "TIMESTAMP", // required
57
+ * // isRequired: true || false, // required
58
+ * // },
59
+ * // ],
60
+ * // },
61
+ * // description: "STRING_VALUE",
62
+ * // createdTime: new Date("TIMESTAMP"), // required
63
+ * // lastModifiedTime: new Date("TIMESTAMP"), // required
64
+ * // },
65
+ * // };
66
+ *
67
+ * ```
68
+ *
69
+ * @param UpdateDataLakeDatasetCommandInput - {@link UpdateDataLakeDatasetCommandInput}
70
+ * @returns {@link UpdateDataLakeDatasetCommandOutput}
71
+ * @see {@link UpdateDataLakeDatasetCommandInput} for command's `input` shape.
72
+ * @see {@link UpdateDataLakeDatasetCommandOutput} for command's `response` shape.
73
+ * @see {@link SupplyChainClientResolvedConfig | config} for SupplyChainClient's `config` shape.
74
+ *
75
+ * @throws {@link AccessDeniedException} (client fault)
76
+ * <p>You do not have the required privileges to perform this action.</p>
77
+ *
78
+ * @throws {@link InternalServerException} (server fault)
79
+ * <p>Unexpected error during processing of request.</p>
80
+ *
81
+ * @throws {@link ResourceNotFoundException} (client fault)
82
+ * <p>Request references a resource which does not exist.</p>
83
+ *
84
+ * @throws {@link ThrottlingException} (client fault)
85
+ * <p>Request was denied due to request throttling.</p>
86
+ *
87
+ * @throws {@link ValidationException} (client fault)
88
+ * <p>The input does not satisfy the constraints specified by an AWS service.</p>
89
+ *
90
+ * @throws {@link ConflictException} (client fault)
91
+ * <p>Updating or deleting a resource can cause an inconsistent state.</p>
92
+ *
93
+ * @throws {@link ServiceQuotaExceededException} (client fault)
94
+ * <p>Request would cause a service quota to be exceeded.</p>
95
+ *
96
+ * @throws {@link SupplyChainServiceException}
97
+ * <p>Base exception class for all service exceptions from SupplyChain service.</p>
98
+ *
99
+ * @public
100
+ * @example Update description of an existing AWS Supply Chain inbound order dataset
101
+ * ```javascript
102
+ * //
103
+ * const input = {
104
+ * "name": "inbound_order",
105
+ * "description": "This is an updated AWS Supply Chain inbound order dataset",
106
+ * "instanceId": "1877dd20-dee9-4639-8e99-cb67acf21fe5",
107
+ * "namespace": "asc"
108
+ * };
109
+ * const command = new UpdateDataLakeDatasetCommand(input);
110
+ * const response = await client.send(command);
111
+ * /* response ==
112
+ * {
113
+ * "dataset": {
114
+ * "name": "inbound_order",
115
+ * "arn": "arn:aws:scn:us-east-1:012345678910:instance/1877dd20-dee9-4639-8e99-cb67acf21fe5/namespaces/asc/datasets/inbound_order",
116
+ * "createdTime": 1727116807.751,
117
+ * "description": "This is an updated AWS Supply Chain inbound order dataset",
118
+ * "instanceId": "1877dd20-dee9-4639-8e99-cb67acf21fe5",
119
+ * "lastModifiedTime": 1727117453.568,
120
+ * "namespace": "asc",
121
+ * "schema": {
122
+ * "name": "InboundOrder",
123
+ * "fields": [
124
+ * {
125
+ * "name": "id",
126
+ * "type": "STRING",
127
+ * "isRequired": true
128
+ * },
129
+ * {
130
+ * "name": "tpartner_id",
131
+ * "type": "STRING",
132
+ * "isRequired": true
133
+ * },
134
+ * {
135
+ * "name": "connection_id",
136
+ * "type": "STRING",
137
+ * "isRequired": true
138
+ * },
139
+ * {
140
+ * "name": "order_type",
141
+ * "type": "STRING",
142
+ * "isRequired": false
143
+ * },
144
+ * {
145
+ * "name": "order_status",
146
+ * "type": "STRING",
147
+ * "isRequired": false
148
+ * },
149
+ * {
150
+ * "name": "inbound_order_url",
151
+ * "type": "STRING",
152
+ * "isRequired": false
153
+ * },
154
+ * {
155
+ * "name": "order_creation_date",
156
+ * "type": "TIMESTAMP",
157
+ * "isRequired": false
158
+ * },
159
+ * {
160
+ * "name": "company_id",
161
+ * "type": "STRING",
162
+ * "isRequired": false
163
+ * },
164
+ * {
165
+ * "name": "to_site_id",
166
+ * "type": "STRING",
167
+ * "isRequired": false
168
+ * },
169
+ * {
170
+ * "name": "order_currency_uom",
171
+ * "type": "STRING",
172
+ * "isRequired": false
173
+ * },
174
+ * {
175
+ * "name": "vendor_currency_uom",
176
+ * "type": "STRING",
177
+ * "isRequired": false
178
+ * },
179
+ * {
180
+ * "name": "exchange_rate",
181
+ * "type": "DOUBLE",
182
+ * "isRequired": false
183
+ * },
184
+ * {
185
+ * "name": "exchange_rate_date",
186
+ * "type": "TIMESTAMP",
187
+ * "isRequired": false
188
+ * },
189
+ * {
190
+ * "name": "incoterm",
191
+ * "type": "STRING",
192
+ * "isRequired": false
193
+ * },
194
+ * {
195
+ * "name": "incoterm2",
196
+ * "type": "STRING",
197
+ * "isRequired": false
198
+ * },
199
+ * {
200
+ * "name": "incoterm_location_1",
201
+ * "type": "STRING",
202
+ * "isRequired": false
203
+ * },
204
+ * {
205
+ * "name": "incoterm_location_2",
206
+ * "type": "STRING",
207
+ * "isRequired": false
208
+ * },
209
+ * {
210
+ * "name": "submitted_date",
211
+ * "type": "TIMESTAMP",
212
+ * "isRequired": false
213
+ * },
214
+ * {
215
+ * "name": "agreement_start_date",
216
+ * "type": "TIMESTAMP",
217
+ * "isRequired": false
218
+ * },
219
+ * {
220
+ * "name": "agreement_end_date",
221
+ * "type": "TIMESTAMP",
222
+ * "isRequired": false
223
+ * },
224
+ * {
225
+ * "name": "shipping_instr_code",
226
+ * "type": "STRING",
227
+ * "isRequired": false
228
+ * },
229
+ * {
230
+ * "name": "payment_terms_code",
231
+ * "type": "STRING",
232
+ * "isRequired": false
233
+ * },
234
+ * {
235
+ * "name": "std_terms_agreement",
236
+ * "type": "STRING",
237
+ * "isRequired": false
238
+ * },
239
+ * {
240
+ * "name": "std_terms_agreement_ver",
241
+ * "type": "STRING",
242
+ * "isRequired": false
243
+ * },
244
+ * {
245
+ * "name": "agreement_number",
246
+ * "type": "STRING",
247
+ * "isRequired": false
248
+ * },
249
+ * {
250
+ * "name": "source",
251
+ * "type": "STRING",
252
+ * "isRequired": false
253
+ * },
254
+ * {
255
+ * "name": "source_update_dttm",
256
+ * "type": "TIMESTAMP",
257
+ * "isRequired": false
258
+ * },
259
+ * {
260
+ * "name": "source_event_id",
261
+ * "type": "STRING",
262
+ * "isRequired": false
263
+ * },
264
+ * {
265
+ * "name": "db_creation_dttm",
266
+ * "type": "TIMESTAMP",
267
+ * "isRequired": false
268
+ * },
269
+ * {
270
+ * "name": "db_updation_dttm",
271
+ * "type": "TIMESTAMP",
272
+ * "isRequired": false
273
+ * }
274
+ * ]
275
+ * }
276
+ * }
277
+ * }
278
+ * *\/
279
+ * // example id: example-1
280
+ * ```
281
+ *
282
+ * @example Update description of an existing custom dataset
283
+ * ```javascript
284
+ * //
285
+ * const input = {
286
+ * "name": "my_dataset",
287
+ * "description": "This is an updated custom dataset",
288
+ * "instanceId": "1877dd20-dee9-4639-8e99-cb67acf21fe5",
289
+ * "namespace": "default"
290
+ * };
291
+ * const command = new UpdateDataLakeDatasetCommand(input);
292
+ * const response = await client.send(command);
293
+ * /* response ==
294
+ * {
295
+ * "dataset": {
296
+ * "name": "my_dataset",
297
+ * "arn": "arn:aws:scn:us-east-1:012345678910:instance/1877dd20-dee9-4639-8e99-cb67acf21fe5/namespaces/default/datasets/my_dataset",
298
+ * "createdTime": 1727116807.751,
299
+ * "description": "This is an updated custom dataset",
300
+ * "instanceId": "1877dd20-dee9-4639-8e99-cb67acf21fe5",
301
+ * "lastModifiedTime": 1727117453.568,
302
+ * "namespace": "default",
303
+ * "schema": {
304
+ * "name": "MyDataset",
305
+ * "fields": [
306
+ * {
307
+ * "name": "id",
308
+ * "type": "INT",
309
+ * "isRequired": true
310
+ * },
311
+ * {
312
+ * "name": "description",
313
+ * "type": "STRING",
314
+ * "isRequired": true
315
+ * },
316
+ * {
317
+ * "name": "price",
318
+ * "type": "DOUBLE",
319
+ * "isRequired": false
320
+ * },
321
+ * {
322
+ * "name": "creation_time",
323
+ * "type": "TIMESTAMP",
324
+ * "isRequired": false
325
+ * }
326
+ * ]
327
+ * }
328
+ * }
329
+ * }
330
+ * *\/
331
+ * // example id: example-2
332
+ * ```
333
+ *
334
+ */
335
+ export declare class UpdateDataLakeDatasetCommand extends UpdateDataLakeDatasetCommand_base {
336
+ /** @internal type navigation helper, not in runtime. */
337
+ protected static __types: {
338
+ api: {
339
+ input: UpdateDataLakeDatasetRequest;
340
+ output: UpdateDataLakeDatasetResponse;
341
+ };
342
+ sdk: {
343
+ input: UpdateDataLakeDatasetCommandInput;
344
+ output: UpdateDataLakeDatasetCommandOutput;
345
+ };
346
+ };
347
+ }
@@ -1,3 +1,16 @@
1
1
  export * from "./CreateBillOfMaterialsImportJobCommand";
2
+ export * from "./CreateDataIntegrationFlowCommand";
3
+ export * from "./CreateDataLakeDatasetCommand";
4
+ export * from "./DeleteDataIntegrationFlowCommand";
5
+ export * from "./DeleteDataLakeDatasetCommand";
2
6
  export * from "./GetBillOfMaterialsImportJobCommand";
7
+ export * from "./GetDataIntegrationFlowCommand";
8
+ export * from "./GetDataLakeDatasetCommand";
9
+ export * from "./ListDataIntegrationFlowsCommand";
10
+ export * from "./ListDataLakeDatasetsCommand";
11
+ export * from "./ListTagsForResourceCommand";
3
12
  export * from "./SendDataIntegrationEventCommand";
13
+ export * from "./TagResourceCommand";
14
+ export * from "./UntagResourceCommand";
15
+ export * from "./UpdateDataIntegrationFlowCommand";
16
+ export * from "./UpdateDataLakeDatasetCommand";
@@ -15,5 +15,6 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
15
15
  export type { RuntimeExtension } from "./runtimeExtensions";
16
16
  export type { SupplyChainExtensionConfiguration } from "./extensionConfiguration";
17
17
  export * from "./commands";
18
+ export * from "./pagination";
18
19
  export * from "./models";
19
20
  export { SupplyChainServiceException } from "./models/SupplyChainServiceException";