@aws-sdk/client-supplychain 3.658.0 → 3.661.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +111 -7
- package/dist-cjs/index.js +675 -2
- package/dist-es/SupplyChain.js +26 -0
- package/dist-es/commands/CreateDataIntegrationFlowCommand.js +22 -0
- package/dist-es/commands/CreateDataLakeDatasetCommand.js +22 -0
- package/dist-es/commands/DeleteDataIntegrationFlowCommand.js +22 -0
- package/dist-es/commands/DeleteDataLakeDatasetCommand.js +22 -0
- package/dist-es/commands/GetDataIntegrationFlowCommand.js +22 -0
- package/dist-es/commands/GetDataLakeDatasetCommand.js +22 -0
- package/dist-es/commands/ListDataIntegrationFlowsCommand.js +22 -0
- package/dist-es/commands/ListDataLakeDatasetsCommand.js +22 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +22 -0
- package/dist-es/commands/TagResourceCommand.js +22 -0
- package/dist-es/commands/UntagResourceCommand.js +22 -0
- package/dist-es/commands/UpdateDataIntegrationFlowCommand.js +22 -0
- package/dist-es/commands/UpdateDataLakeDatasetCommand.js +22 -0
- package/dist-es/commands/index.js +13 -0
- package/dist-es/index.js +1 -0
- package/dist-es/models/models_0.js +27 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListDataIntegrationFlowsPaginator.js +4 -0
- package/dist-es/pagination/ListDataLakeDatasetsPaginator.js +4 -0
- package/dist-es/pagination/index.js +3 -0
- package/dist-es/protocols/Aws_restJson1.js +396 -6
- package/dist-types/SupplyChain.d.ts +91 -0
- package/dist-types/SupplyChainClient.d.ts +15 -2
- package/dist-types/commands/CreateDataIntegrationFlowCommand.d.ts +140 -0
- package/dist-types/commands/CreateDataLakeDatasetCommand.d.ts +126 -0
- package/dist-types/commands/DeleteDataIntegrationFlowCommand.d.ts +94 -0
- package/dist-types/commands/DeleteDataLakeDatasetCommand.d.ts +96 -0
- package/dist-types/commands/GetDataIntegrationFlowCommand.d.ts +141 -0
- package/dist-types/commands/GetDataLakeDatasetCommand.d.ts +112 -0
- package/dist-types/commands/ListDataIntegrationFlowsCommand.d.ts +145 -0
- package/dist-types/commands/ListDataLakeDatasetsCommand.d.ts +116 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +94 -0
- package/dist-types/commands/TagResourceCommand.d.ts +93 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +93 -0
- package/dist-types/commands/UpdateDataIntegrationFlowCommand.d.ts +184 -0
- package/dist-types/commands/UpdateDataLakeDatasetCommand.d.ts +113 -0
- package/dist-types/commands/index.d.ts +13 -0
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +909 -18
- package/dist-types/pagination/Interfaces.d.ts +8 -0
- package/dist-types/pagination/ListDataIntegrationFlowsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListDataLakeDatasetsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +3 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +117 -0
- package/dist-types/ts3.4/SupplyChain.d.ts +221 -0
- package/dist-types/ts3.4/SupplyChainClient.d.ts +80 -2
- package/dist-types/ts3.4/commands/CreateDataIntegrationFlowCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateDataLakeDatasetCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteDataIntegrationFlowCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteDataLakeDatasetCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetDataIntegrationFlowCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetDataLakeDatasetCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListDataIntegrationFlowsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListDataLakeDatasetsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/UpdateDataIntegrationFlowCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateDataLakeDatasetCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +13 -0
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +220 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListDataIntegrationFlowsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListDataLakeDatasetsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +3 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +156 -0
- package/package.json +12 -12
package/README.md
CHANGED
|
@@ -29,16 +29,16 @@ using your favorite package manager:
|
|
|
29
29
|
|
|
30
30
|
The AWS SDK is modulized by clients and commands.
|
|
31
31
|
To send a request, you only need to import the `SupplyChainClient` and
|
|
32
|
-
the commands you need, for example `
|
|
32
|
+
the commands you need, for example `ListTagsForResourceCommand`:
|
|
33
33
|
|
|
34
34
|
```js
|
|
35
35
|
// ES5 example
|
|
36
|
-
const { SupplyChainClient,
|
|
36
|
+
const { SupplyChainClient, ListTagsForResourceCommand } = require("@aws-sdk/client-supplychain");
|
|
37
37
|
```
|
|
38
38
|
|
|
39
39
|
```ts
|
|
40
40
|
// ES6+ example
|
|
41
|
-
import { SupplyChainClient,
|
|
41
|
+
import { SupplyChainClient, ListTagsForResourceCommand } from "@aws-sdk/client-supplychain";
|
|
42
42
|
```
|
|
43
43
|
|
|
44
44
|
### Usage
|
|
@@ -57,7 +57,7 @@ const client = new SupplyChainClient({ region: "REGION" });
|
|
|
57
57
|
const params = {
|
|
58
58
|
/** input parameters */
|
|
59
59
|
};
|
|
60
|
-
const command = new
|
|
60
|
+
const command = new ListTagsForResourceCommand(params);
|
|
61
61
|
```
|
|
62
62
|
|
|
63
63
|
#### Async/await
|
|
@@ -136,7 +136,7 @@ const client = new AWS.SupplyChain({ region: "REGION" });
|
|
|
136
136
|
|
|
137
137
|
// async/await.
|
|
138
138
|
try {
|
|
139
|
-
const data = await client.
|
|
139
|
+
const data = await client.listTagsForResource(params);
|
|
140
140
|
// process data.
|
|
141
141
|
} catch (error) {
|
|
142
142
|
// error handling.
|
|
@@ -144,7 +144,7 @@ try {
|
|
|
144
144
|
|
|
145
145
|
// Promises.
|
|
146
146
|
client
|
|
147
|
-
.
|
|
147
|
+
.listTagsForResource(params)
|
|
148
148
|
.then((data) => {
|
|
149
149
|
// process data.
|
|
150
150
|
})
|
|
@@ -153,7 +153,7 @@ client
|
|
|
153
153
|
});
|
|
154
154
|
|
|
155
155
|
// callbacks.
|
|
156
|
-
client.
|
|
156
|
+
client.listTagsForResource(params, (err, data) => {
|
|
157
157
|
// process err and data.
|
|
158
158
|
});
|
|
159
159
|
```
|
|
@@ -216,6 +216,38 @@ CreateBillOfMaterialsImportJob
|
|
|
216
216
|
|
|
217
217
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/supplychain/command/CreateBillOfMaterialsImportJobCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-supplychain/Interface/CreateBillOfMaterialsImportJobCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-supplychain/Interface/CreateBillOfMaterialsImportJobCommandOutput/)
|
|
218
218
|
|
|
219
|
+
</details>
|
|
220
|
+
<details>
|
|
221
|
+
<summary>
|
|
222
|
+
CreateDataIntegrationFlow
|
|
223
|
+
</summary>
|
|
224
|
+
|
|
225
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/supplychain/command/CreateDataIntegrationFlowCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-supplychain/Interface/CreateDataIntegrationFlowCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-supplychain/Interface/CreateDataIntegrationFlowCommandOutput/)
|
|
226
|
+
|
|
227
|
+
</details>
|
|
228
|
+
<details>
|
|
229
|
+
<summary>
|
|
230
|
+
CreateDataLakeDataset
|
|
231
|
+
</summary>
|
|
232
|
+
|
|
233
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/supplychain/command/CreateDataLakeDatasetCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-supplychain/Interface/CreateDataLakeDatasetCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-supplychain/Interface/CreateDataLakeDatasetCommandOutput/)
|
|
234
|
+
|
|
235
|
+
</details>
|
|
236
|
+
<details>
|
|
237
|
+
<summary>
|
|
238
|
+
DeleteDataIntegrationFlow
|
|
239
|
+
</summary>
|
|
240
|
+
|
|
241
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/supplychain/command/DeleteDataIntegrationFlowCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-supplychain/Interface/DeleteDataIntegrationFlowCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-supplychain/Interface/DeleteDataIntegrationFlowCommandOutput/)
|
|
242
|
+
|
|
243
|
+
</details>
|
|
244
|
+
<details>
|
|
245
|
+
<summary>
|
|
246
|
+
DeleteDataLakeDataset
|
|
247
|
+
</summary>
|
|
248
|
+
|
|
249
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/supplychain/command/DeleteDataLakeDatasetCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-supplychain/Interface/DeleteDataLakeDatasetCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-supplychain/Interface/DeleteDataLakeDatasetCommandOutput/)
|
|
250
|
+
|
|
219
251
|
</details>
|
|
220
252
|
<details>
|
|
221
253
|
<summary>
|
|
@@ -224,6 +256,46 @@ GetBillOfMaterialsImportJob
|
|
|
224
256
|
|
|
225
257
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/supplychain/command/GetBillOfMaterialsImportJobCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-supplychain/Interface/GetBillOfMaterialsImportJobCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-supplychain/Interface/GetBillOfMaterialsImportJobCommandOutput/)
|
|
226
258
|
|
|
259
|
+
</details>
|
|
260
|
+
<details>
|
|
261
|
+
<summary>
|
|
262
|
+
GetDataIntegrationFlow
|
|
263
|
+
</summary>
|
|
264
|
+
|
|
265
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/supplychain/command/GetDataIntegrationFlowCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-supplychain/Interface/GetDataIntegrationFlowCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-supplychain/Interface/GetDataIntegrationFlowCommandOutput/)
|
|
266
|
+
|
|
267
|
+
</details>
|
|
268
|
+
<details>
|
|
269
|
+
<summary>
|
|
270
|
+
GetDataLakeDataset
|
|
271
|
+
</summary>
|
|
272
|
+
|
|
273
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/supplychain/command/GetDataLakeDatasetCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-supplychain/Interface/GetDataLakeDatasetCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-supplychain/Interface/GetDataLakeDatasetCommandOutput/)
|
|
274
|
+
|
|
275
|
+
</details>
|
|
276
|
+
<details>
|
|
277
|
+
<summary>
|
|
278
|
+
ListDataIntegrationFlows
|
|
279
|
+
</summary>
|
|
280
|
+
|
|
281
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/supplychain/command/ListDataIntegrationFlowsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-supplychain/Interface/ListDataIntegrationFlowsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-supplychain/Interface/ListDataIntegrationFlowsCommandOutput/)
|
|
282
|
+
|
|
283
|
+
</details>
|
|
284
|
+
<details>
|
|
285
|
+
<summary>
|
|
286
|
+
ListDataLakeDatasets
|
|
287
|
+
</summary>
|
|
288
|
+
|
|
289
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/supplychain/command/ListDataLakeDatasetsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-supplychain/Interface/ListDataLakeDatasetsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-supplychain/Interface/ListDataLakeDatasetsCommandOutput/)
|
|
290
|
+
|
|
291
|
+
</details>
|
|
292
|
+
<details>
|
|
293
|
+
<summary>
|
|
294
|
+
ListTagsForResource
|
|
295
|
+
</summary>
|
|
296
|
+
|
|
297
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/supplychain/command/ListTagsForResourceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-supplychain/Interface/ListTagsForResourceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-supplychain/Interface/ListTagsForResourceCommandOutput/)
|
|
298
|
+
|
|
227
299
|
</details>
|
|
228
300
|
<details>
|
|
229
301
|
<summary>
|
|
@@ -233,3 +305,35 @@ SendDataIntegrationEvent
|
|
|
233
305
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/supplychain/command/SendDataIntegrationEventCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-supplychain/Interface/SendDataIntegrationEventCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-supplychain/Interface/SendDataIntegrationEventCommandOutput/)
|
|
234
306
|
|
|
235
307
|
</details>
|
|
308
|
+
<details>
|
|
309
|
+
<summary>
|
|
310
|
+
TagResource
|
|
311
|
+
</summary>
|
|
312
|
+
|
|
313
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/supplychain/command/TagResourceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-supplychain/Interface/TagResourceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-supplychain/Interface/TagResourceCommandOutput/)
|
|
314
|
+
|
|
315
|
+
</details>
|
|
316
|
+
<details>
|
|
317
|
+
<summary>
|
|
318
|
+
UntagResource
|
|
319
|
+
</summary>
|
|
320
|
+
|
|
321
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/supplychain/command/UntagResourceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-supplychain/Interface/UntagResourceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-supplychain/Interface/UntagResourceCommandOutput/)
|
|
322
|
+
|
|
323
|
+
</details>
|
|
324
|
+
<details>
|
|
325
|
+
<summary>
|
|
326
|
+
UpdateDataIntegrationFlow
|
|
327
|
+
</summary>
|
|
328
|
+
|
|
329
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/supplychain/command/UpdateDataIntegrationFlowCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-supplychain/Interface/UpdateDataIntegrationFlowCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-supplychain/Interface/UpdateDataIntegrationFlowCommandOutput/)
|
|
330
|
+
|
|
331
|
+
</details>
|
|
332
|
+
<details>
|
|
333
|
+
<summary>
|
|
334
|
+
UpdateDataLakeDataset
|
|
335
|
+
</summary>
|
|
336
|
+
|
|
337
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/supplychain/command/UpdateDataLakeDatasetCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-supplychain/Interface/UpdateDataLakeDatasetCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-supplychain/Interface/UpdateDataLakeDatasetCommandOutput/)
|
|
338
|
+
|
|
339
|
+
</details>
|