@aws-sdk/client-supplychain 3.670.0 → 3.671.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 +47 -7
- package/dist-cjs/index.js +264 -2
- package/dist-es/SupplyChain.js +10 -0
- package/dist-es/commands/CreateInstanceCommand.js +22 -0
- package/dist-es/commands/DeleteInstanceCommand.js +22 -0
- package/dist-es/commands/GetInstanceCommand.js +22 -0
- package/dist-es/commands/ListInstancesCommand.js +22 -0
- package/dist-es/commands/UpdateInstanceCommand.js +22 -0
- package/dist-es/commands/index.js +5 -0
- package/dist-es/models/models_0.js +8 -0
- package/dist-es/pagination/ListInstancesPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +160 -1
- package/dist-types/SupplyChain.d.ts +37 -0
- package/dist-types/SupplyChainClient.d.ts +7 -2
- package/dist-types/commands/CreateInstanceCommand.d.ts +109 -0
- package/dist-types/commands/DeleteInstanceCommand.d.ts +103 -0
- package/dist-types/commands/GetInstanceCommand.d.ts +103 -0
- package/dist-types/commands/ListInstancesCommand.d.ts +113 -0
- package/dist-types/commands/UpdateInstanceCommand.d.ts +105 -0
- package/dist-types/commands/index.d.ts +5 -0
- package/dist-types/models/models_0.d.ts +232 -0
- package/dist-types/pagination/ListInstancesPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +45 -0
- package/dist-types/ts3.4/SupplyChain.d.ts +87 -0
- package/dist-types/ts3.4/SupplyChainClient.d.ts +32 -2
- package/dist-types/ts3.4/commands/CreateInstanceCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/DeleteInstanceCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/GetInstanceCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/ListInstancesCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/UpdateInstanceCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/index.d.ts +5 -0
- package/dist-types/ts3.4/models/models_0.d.ts +61 -0
- package/dist-types/ts3.4/pagination/ListInstancesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +60 -0
- package/package.json +1 -1
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 `ListInstancesCommand`:
|
|
33
33
|
|
|
34
34
|
```js
|
|
35
35
|
// ES5 example
|
|
36
|
-
const { SupplyChainClient,
|
|
36
|
+
const { SupplyChainClient, ListInstancesCommand } = require("@aws-sdk/client-supplychain");
|
|
37
37
|
```
|
|
38
38
|
|
|
39
39
|
```ts
|
|
40
40
|
// ES6+ example
|
|
41
|
-
import { SupplyChainClient,
|
|
41
|
+
import { SupplyChainClient, ListInstancesCommand } 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 ListInstancesCommand(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.listInstances(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
|
+
.listInstances(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.listInstances(params, (err, data) => {
|
|
157
157
|
// process err and data.
|
|
158
158
|
});
|
|
159
159
|
```
|
|
@@ -232,6 +232,14 @@ CreateDataLakeDataset
|
|
|
232
232
|
|
|
233
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
234
|
|
|
235
|
+
</details>
|
|
236
|
+
<details>
|
|
237
|
+
<summary>
|
|
238
|
+
CreateInstance
|
|
239
|
+
</summary>
|
|
240
|
+
|
|
241
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/supplychain/command/CreateInstanceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-supplychain/Interface/CreateInstanceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-supplychain/Interface/CreateInstanceCommandOutput/)
|
|
242
|
+
|
|
235
243
|
</details>
|
|
236
244
|
<details>
|
|
237
245
|
<summary>
|
|
@@ -248,6 +256,14 @@ DeleteDataLakeDataset
|
|
|
248
256
|
|
|
249
257
|
[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
258
|
|
|
259
|
+
</details>
|
|
260
|
+
<details>
|
|
261
|
+
<summary>
|
|
262
|
+
DeleteInstance
|
|
263
|
+
</summary>
|
|
264
|
+
|
|
265
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/supplychain/command/DeleteInstanceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-supplychain/Interface/DeleteInstanceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-supplychain/Interface/DeleteInstanceCommandOutput/)
|
|
266
|
+
|
|
251
267
|
</details>
|
|
252
268
|
<details>
|
|
253
269
|
<summary>
|
|
@@ -272,6 +288,14 @@ GetDataLakeDataset
|
|
|
272
288
|
|
|
273
289
|
[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
290
|
|
|
291
|
+
</details>
|
|
292
|
+
<details>
|
|
293
|
+
<summary>
|
|
294
|
+
GetInstance
|
|
295
|
+
</summary>
|
|
296
|
+
|
|
297
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/supplychain/command/GetInstanceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-supplychain/Interface/GetInstanceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-supplychain/Interface/GetInstanceCommandOutput/)
|
|
298
|
+
|
|
275
299
|
</details>
|
|
276
300
|
<details>
|
|
277
301
|
<summary>
|
|
@@ -288,6 +312,14 @@ ListDataLakeDatasets
|
|
|
288
312
|
|
|
289
313
|
[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
314
|
|
|
315
|
+
</details>
|
|
316
|
+
<details>
|
|
317
|
+
<summary>
|
|
318
|
+
ListInstances
|
|
319
|
+
</summary>
|
|
320
|
+
|
|
321
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/supplychain/command/ListInstancesCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-supplychain/Interface/ListInstancesCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-supplychain/Interface/ListInstancesCommandOutput/)
|
|
322
|
+
|
|
291
323
|
</details>
|
|
292
324
|
<details>
|
|
293
325
|
<summary>
|
|
@@ -337,3 +369,11 @@ UpdateDataLakeDataset
|
|
|
337
369
|
[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
370
|
|
|
339
371
|
</details>
|
|
372
|
+
<details>
|
|
373
|
+
<summary>
|
|
374
|
+
UpdateInstance
|
|
375
|
+
</summary>
|
|
376
|
+
|
|
377
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/supplychain/command/UpdateInstanceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-supplychain/Interface/UpdateInstanceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-supplychain/Interface/UpdateInstanceCommandOutput/)
|
|
378
|
+
|
|
379
|
+
</details>
|
package/dist-cjs/index.js
CHANGED
|
@@ -27,6 +27,7 @@ __export(src_exports, {
|
|
|
27
27
|
CreateBillOfMaterialsImportJobCommand: () => CreateBillOfMaterialsImportJobCommand,
|
|
28
28
|
CreateDataIntegrationFlowCommand: () => CreateDataIntegrationFlowCommand,
|
|
29
29
|
CreateDataLakeDatasetCommand: () => CreateDataLakeDatasetCommand,
|
|
30
|
+
CreateInstanceCommand: () => CreateInstanceCommand,
|
|
30
31
|
DataIntegrationEventType: () => DataIntegrationEventType,
|
|
31
32
|
DataIntegrationFlowFileType: () => DataIntegrationFlowFileType,
|
|
32
33
|
DataIntegrationFlowLoadType: () => DataIntegrationFlowLoadType,
|
|
@@ -36,12 +37,16 @@ __export(src_exports, {
|
|
|
36
37
|
DataLakeDatasetSchemaFieldType: () => DataLakeDatasetSchemaFieldType,
|
|
37
38
|
DeleteDataIntegrationFlowCommand: () => DeleteDataIntegrationFlowCommand,
|
|
38
39
|
DeleteDataLakeDatasetCommand: () => DeleteDataLakeDatasetCommand,
|
|
40
|
+
DeleteInstanceCommand: () => DeleteInstanceCommand,
|
|
39
41
|
GetBillOfMaterialsImportJobCommand: () => GetBillOfMaterialsImportJobCommand,
|
|
40
42
|
GetDataIntegrationFlowCommand: () => GetDataIntegrationFlowCommand,
|
|
41
43
|
GetDataLakeDatasetCommand: () => GetDataLakeDatasetCommand,
|
|
44
|
+
GetInstanceCommand: () => GetInstanceCommand,
|
|
45
|
+
InstanceState: () => InstanceState,
|
|
42
46
|
InternalServerException: () => InternalServerException,
|
|
43
47
|
ListDataIntegrationFlowsCommand: () => ListDataIntegrationFlowsCommand,
|
|
44
48
|
ListDataLakeDatasetsCommand: () => ListDataLakeDatasetsCommand,
|
|
49
|
+
ListInstancesCommand: () => ListInstancesCommand,
|
|
45
50
|
ListTagsForResourceCommand: () => ListTagsForResourceCommand,
|
|
46
51
|
ResourceNotFoundException: () => ResourceNotFoundException,
|
|
47
52
|
SendDataIntegrationEventCommand: () => SendDataIntegrationEventCommand,
|
|
@@ -55,10 +60,12 @@ __export(src_exports, {
|
|
|
55
60
|
UntagResourceCommand: () => UntagResourceCommand,
|
|
56
61
|
UpdateDataIntegrationFlowCommand: () => UpdateDataIntegrationFlowCommand,
|
|
57
62
|
UpdateDataLakeDatasetCommand: () => UpdateDataLakeDatasetCommand,
|
|
63
|
+
UpdateInstanceCommand: () => UpdateInstanceCommand,
|
|
58
64
|
ValidationException: () => ValidationException,
|
|
59
65
|
__Client: () => import_smithy_client.Client,
|
|
60
66
|
paginateListDataIntegrationFlows: () => paginateListDataIntegrationFlows,
|
|
61
|
-
paginateListDataLakeDatasets: () => paginateListDataLakeDatasets
|
|
67
|
+
paginateListDataLakeDatasets: () => paginateListDataLakeDatasets,
|
|
68
|
+
paginateListInstances: () => paginateListInstances
|
|
62
69
|
});
|
|
63
70
|
module.exports = __toCommonJS(src_exports);
|
|
64
71
|
|
|
@@ -388,6 +395,14 @@ var DataLakeDatasetSchemaFieldType = {
|
|
|
388
395
|
STRING: "STRING",
|
|
389
396
|
TIMESTAMP: "TIMESTAMP"
|
|
390
397
|
};
|
|
398
|
+
var InstanceState = {
|
|
399
|
+
ACTIVE: "Active",
|
|
400
|
+
CREATE_FAILED: "CreateFailed",
|
|
401
|
+
DELETED: "Deleted",
|
|
402
|
+
DELETE_FAILED: "DeleteFailed",
|
|
403
|
+
DELETING: "Deleting",
|
|
404
|
+
INITIALIZING: "Initializing"
|
|
405
|
+
};
|
|
391
406
|
var DataIntegrationEventType = {
|
|
392
407
|
FORECAST: "scn.data.forecast",
|
|
393
408
|
INBOUND_ORDER: "scn.data.inboundorder",
|
|
@@ -468,6 +483,25 @@ var se_CreateDataLakeDatasetCommand = /* @__PURE__ */ __name(async (input, conte
|
|
|
468
483
|
b.m("PUT").h(headers).b(body);
|
|
469
484
|
return b.build();
|
|
470
485
|
}, "se_CreateDataLakeDatasetCommand");
|
|
486
|
+
var se_CreateInstanceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
487
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
488
|
+
const headers = {
|
|
489
|
+
"content-type": "application/json"
|
|
490
|
+
};
|
|
491
|
+
b.bp("/api/instance");
|
|
492
|
+
let body;
|
|
493
|
+
body = JSON.stringify(
|
|
494
|
+
(0, import_smithy_client.take)(input, {
|
|
495
|
+
clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
|
|
496
|
+
instanceDescription: [],
|
|
497
|
+
instanceName: [],
|
|
498
|
+
kmsKeyArn: [],
|
|
499
|
+
tags: (_) => (0, import_smithy_client._json)(_)
|
|
500
|
+
})
|
|
501
|
+
);
|
|
502
|
+
b.m("POST").h(headers).b(body);
|
|
503
|
+
return b.build();
|
|
504
|
+
}, "se_CreateInstanceCommand");
|
|
471
505
|
var se_DeleteDataIntegrationFlowCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
472
506
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
473
507
|
const headers = {};
|
|
@@ -489,6 +523,15 @@ var se_DeleteDataLakeDatasetCommand = /* @__PURE__ */ __name(async (input, conte
|
|
|
489
523
|
b.m("DELETE").h(headers).b(body);
|
|
490
524
|
return b.build();
|
|
491
525
|
}, "se_DeleteDataLakeDatasetCommand");
|
|
526
|
+
var se_DeleteInstanceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
527
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
528
|
+
const headers = {};
|
|
529
|
+
b.bp("/api/instance/{instanceId}");
|
|
530
|
+
b.p("instanceId", () => input.instanceId, "{instanceId}", false);
|
|
531
|
+
let body;
|
|
532
|
+
b.m("DELETE").h(headers).b(body);
|
|
533
|
+
return b.build();
|
|
534
|
+
}, "se_DeleteInstanceCommand");
|
|
492
535
|
var se_GetBillOfMaterialsImportJobCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
493
536
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
494
537
|
const headers = {};
|
|
@@ -520,6 +563,15 @@ var se_GetDataLakeDatasetCommand = /* @__PURE__ */ __name(async (input, context)
|
|
|
520
563
|
b.m("GET").h(headers).b(body);
|
|
521
564
|
return b.build();
|
|
522
565
|
}, "se_GetDataLakeDatasetCommand");
|
|
566
|
+
var se_GetInstanceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
567
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
568
|
+
const headers = {};
|
|
569
|
+
b.bp("/api/instance/{instanceId}");
|
|
570
|
+
b.p("instanceId", () => input.instanceId, "{instanceId}", false);
|
|
571
|
+
let body;
|
|
572
|
+
b.m("GET").h(headers).b(body);
|
|
573
|
+
return b.build();
|
|
574
|
+
}, "se_GetInstanceCommand");
|
|
523
575
|
var se_ListDataIntegrationFlowsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
524
576
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
525
577
|
const headers = {};
|
|
@@ -547,6 +599,20 @@ var se_ListDataLakeDatasetsCommand = /* @__PURE__ */ __name(async (input, contex
|
|
|
547
599
|
b.m("GET").h(headers).q(query).b(body);
|
|
548
600
|
return b.build();
|
|
549
601
|
}, "se_ListDataLakeDatasetsCommand");
|
|
602
|
+
var se_ListInstancesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
603
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
604
|
+
const headers = {};
|
|
605
|
+
b.bp("/api/instance");
|
|
606
|
+
const query = (0, import_smithy_client.map)({
|
|
607
|
+
[_nT]: [, input[_nT]],
|
|
608
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
609
|
+
[_iNF]: [() => input.instanceNameFilter !== void 0, () => input[_iNF] || []],
|
|
610
|
+
[_iSF]: [() => input.instanceStateFilter !== void 0, () => input[_iSF] || []]
|
|
611
|
+
});
|
|
612
|
+
let body;
|
|
613
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
614
|
+
return b.build();
|
|
615
|
+
}, "se_ListInstancesCommand");
|
|
550
616
|
var se_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
551
617
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
552
618
|
const headers = {};
|
|
@@ -641,6 +707,23 @@ var se_UpdateDataLakeDatasetCommand = /* @__PURE__ */ __name(async (input, conte
|
|
|
641
707
|
b.m("PATCH").h(headers).b(body);
|
|
642
708
|
return b.build();
|
|
643
709
|
}, "se_UpdateDataLakeDatasetCommand");
|
|
710
|
+
var se_UpdateInstanceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
711
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
712
|
+
const headers = {
|
|
713
|
+
"content-type": "application/json"
|
|
714
|
+
};
|
|
715
|
+
b.bp("/api/instance/{instanceId}");
|
|
716
|
+
b.p("instanceId", () => input.instanceId, "{instanceId}", false);
|
|
717
|
+
let body;
|
|
718
|
+
body = JSON.stringify(
|
|
719
|
+
(0, import_smithy_client.take)(input, {
|
|
720
|
+
instanceDescription: [],
|
|
721
|
+
instanceName: []
|
|
722
|
+
})
|
|
723
|
+
);
|
|
724
|
+
b.m("PATCH").h(headers).b(body);
|
|
725
|
+
return b.build();
|
|
726
|
+
}, "se_UpdateInstanceCommand");
|
|
644
727
|
var de_CreateBillOfMaterialsImportJobCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
645
728
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
646
729
|
return de_CommandError(output, context);
|
|
@@ -684,6 +767,20 @@ var de_CreateDataLakeDatasetCommand = /* @__PURE__ */ __name(async (output, cont
|
|
|
684
767
|
Object.assign(contents, doc);
|
|
685
768
|
return contents;
|
|
686
769
|
}, "de_CreateDataLakeDatasetCommand");
|
|
770
|
+
var de_CreateInstanceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
771
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
772
|
+
return de_CommandError(output, context);
|
|
773
|
+
}
|
|
774
|
+
const contents = (0, import_smithy_client.map)({
|
|
775
|
+
$metadata: deserializeMetadata(output)
|
|
776
|
+
});
|
|
777
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
778
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
779
|
+
instance: (_) => de_Instance(_, context)
|
|
780
|
+
});
|
|
781
|
+
Object.assign(contents, doc);
|
|
782
|
+
return contents;
|
|
783
|
+
}, "de_CreateInstanceCommand");
|
|
687
784
|
var de_DeleteDataIntegrationFlowCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
688
785
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
689
786
|
return de_CommandError(output, context);
|
|
@@ -715,6 +812,20 @@ var de_DeleteDataLakeDatasetCommand = /* @__PURE__ */ __name(async (output, cont
|
|
|
715
812
|
Object.assign(contents, doc);
|
|
716
813
|
return contents;
|
|
717
814
|
}, "de_DeleteDataLakeDatasetCommand");
|
|
815
|
+
var de_DeleteInstanceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
816
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
817
|
+
return de_CommandError(output, context);
|
|
818
|
+
}
|
|
819
|
+
const contents = (0, import_smithy_client.map)({
|
|
820
|
+
$metadata: deserializeMetadata(output)
|
|
821
|
+
});
|
|
822
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
823
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
824
|
+
instance: (_) => de_Instance(_, context)
|
|
825
|
+
});
|
|
826
|
+
Object.assign(contents, doc);
|
|
827
|
+
return contents;
|
|
828
|
+
}, "de_DeleteInstanceCommand");
|
|
718
829
|
var de_GetBillOfMaterialsImportJobCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
719
830
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
720
831
|
return de_CommandError(output, context);
|
|
@@ -757,6 +868,20 @@ var de_GetDataLakeDatasetCommand = /* @__PURE__ */ __name(async (output, context
|
|
|
757
868
|
Object.assign(contents, doc);
|
|
758
869
|
return contents;
|
|
759
870
|
}, "de_GetDataLakeDatasetCommand");
|
|
871
|
+
var de_GetInstanceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
872
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
873
|
+
return de_CommandError(output, context);
|
|
874
|
+
}
|
|
875
|
+
const contents = (0, import_smithy_client.map)({
|
|
876
|
+
$metadata: deserializeMetadata(output)
|
|
877
|
+
});
|
|
878
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
879
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
880
|
+
instance: (_) => de_Instance(_, context)
|
|
881
|
+
});
|
|
882
|
+
Object.assign(contents, doc);
|
|
883
|
+
return contents;
|
|
884
|
+
}, "de_GetInstanceCommand");
|
|
760
885
|
var de_ListDataIntegrationFlowsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
761
886
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
762
887
|
return de_CommandError(output, context);
|
|
@@ -787,6 +912,21 @@ var de_ListDataLakeDatasetsCommand = /* @__PURE__ */ __name(async (output, conte
|
|
|
787
912
|
Object.assign(contents, doc);
|
|
788
913
|
return contents;
|
|
789
914
|
}, "de_ListDataLakeDatasetsCommand");
|
|
915
|
+
var de_ListInstancesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
916
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
917
|
+
return de_CommandError(output, context);
|
|
918
|
+
}
|
|
919
|
+
const contents = (0, import_smithy_client.map)({
|
|
920
|
+
$metadata: deserializeMetadata(output)
|
|
921
|
+
});
|
|
922
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
923
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
924
|
+
instances: (_) => de_InstanceList(_, context),
|
|
925
|
+
nextToken: import_smithy_client.expectString
|
|
926
|
+
});
|
|
927
|
+
Object.assign(contents, doc);
|
|
928
|
+
return contents;
|
|
929
|
+
}, "de_ListInstancesCommand");
|
|
790
930
|
var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
791
931
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
792
932
|
return de_CommandError(output, context);
|
|
@@ -863,6 +1003,20 @@ var de_UpdateDataLakeDatasetCommand = /* @__PURE__ */ __name(async (output, cont
|
|
|
863
1003
|
Object.assign(contents, doc);
|
|
864
1004
|
return contents;
|
|
865
1005
|
}, "de_UpdateDataLakeDatasetCommand");
|
|
1006
|
+
var de_UpdateInstanceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1007
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1008
|
+
return de_CommandError(output, context);
|
|
1009
|
+
}
|
|
1010
|
+
const contents = (0, import_smithy_client.map)({
|
|
1011
|
+
$metadata: deserializeMetadata(output)
|
|
1012
|
+
});
|
|
1013
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1014
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1015
|
+
instance: (_) => de_Instance(_, context)
|
|
1016
|
+
});
|
|
1017
|
+
Object.assign(contents, doc);
|
|
1018
|
+
return contents;
|
|
1019
|
+
}, "de_UpdateInstanceCommand");
|
|
866
1020
|
var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
867
1021
|
const parsedOutput = {
|
|
868
1022
|
...output,
|
|
@@ -1027,12 +1181,34 @@ var de_DataLakeDatasetList = /* @__PURE__ */ __name((output, context) => {
|
|
|
1027
1181
|
});
|
|
1028
1182
|
return retVal;
|
|
1029
1183
|
}, "de_DataLakeDatasetList");
|
|
1184
|
+
var de_Instance = /* @__PURE__ */ __name((output, context) => {
|
|
1185
|
+
return (0, import_smithy_client.take)(output, {
|
|
1186
|
+
awsAccountId: import_smithy_client.expectString,
|
|
1187
|
+
createdTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1188
|
+
instanceDescription: import_smithy_client.expectString,
|
|
1189
|
+
instanceId: import_smithy_client.expectString,
|
|
1190
|
+
instanceName: import_smithy_client.expectString,
|
|
1191
|
+
kmsKeyArn: import_smithy_client.expectString,
|
|
1192
|
+
lastModifiedTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1193
|
+
state: import_smithy_client.expectString,
|
|
1194
|
+
versionNumber: import_smithy_client.limitedParseDouble,
|
|
1195
|
+
webAppDnsDomain: import_smithy_client.expectString
|
|
1196
|
+
});
|
|
1197
|
+
}, "de_Instance");
|
|
1198
|
+
var de_InstanceList = /* @__PURE__ */ __name((output, context) => {
|
|
1199
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
1200
|
+
return de_Instance(entry, context);
|
|
1201
|
+
});
|
|
1202
|
+
return retVal;
|
|
1203
|
+
}, "de_InstanceList");
|
|
1030
1204
|
var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
|
|
1031
1205
|
httpStatusCode: output.statusCode,
|
|
1032
1206
|
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
1033
1207
|
extendedRequestId: output.headers["x-amz-id-2"],
|
|
1034
1208
|
cfId: output.headers["x-amz-cf-id"]
|
|
1035
1209
|
}), "deserializeMetadata");
|
|
1210
|
+
var _iNF = "instanceNameFilter";
|
|
1211
|
+
var _iSF = "instanceStateFilter";
|
|
1036
1212
|
var _mR = "maxResults";
|
|
1037
1213
|
var _nT = "nextToken";
|
|
1038
1214
|
var _tK = "tagKeys";
|
|
@@ -1076,6 +1252,20 @@ var _CreateDataLakeDatasetCommand = class _CreateDataLakeDatasetCommand extends
|
|
|
1076
1252
|
__name(_CreateDataLakeDatasetCommand, "CreateDataLakeDatasetCommand");
|
|
1077
1253
|
var CreateDataLakeDatasetCommand = _CreateDataLakeDatasetCommand;
|
|
1078
1254
|
|
|
1255
|
+
// src/commands/CreateInstanceCommand.ts
|
|
1256
|
+
|
|
1257
|
+
|
|
1258
|
+
|
|
1259
|
+
var _CreateInstanceCommand = class _CreateInstanceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1260
|
+
return [
|
|
1261
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1262
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1263
|
+
];
|
|
1264
|
+
}).s("GalaxyPublicAPIGateway", "CreateInstance", {}).n("SupplyChainClient", "CreateInstanceCommand").f(void 0, void 0).ser(se_CreateInstanceCommand).de(de_CreateInstanceCommand).build() {
|
|
1265
|
+
};
|
|
1266
|
+
__name(_CreateInstanceCommand, "CreateInstanceCommand");
|
|
1267
|
+
var CreateInstanceCommand = _CreateInstanceCommand;
|
|
1268
|
+
|
|
1079
1269
|
// src/commands/DeleteDataIntegrationFlowCommand.ts
|
|
1080
1270
|
|
|
1081
1271
|
|
|
@@ -1104,6 +1294,20 @@ var _DeleteDataLakeDatasetCommand = class _DeleteDataLakeDatasetCommand extends
|
|
|
1104
1294
|
__name(_DeleteDataLakeDatasetCommand, "DeleteDataLakeDatasetCommand");
|
|
1105
1295
|
var DeleteDataLakeDatasetCommand = _DeleteDataLakeDatasetCommand;
|
|
1106
1296
|
|
|
1297
|
+
// src/commands/DeleteInstanceCommand.ts
|
|
1298
|
+
|
|
1299
|
+
|
|
1300
|
+
|
|
1301
|
+
var _DeleteInstanceCommand = class _DeleteInstanceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1302
|
+
return [
|
|
1303
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1304
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1305
|
+
];
|
|
1306
|
+
}).s("GalaxyPublicAPIGateway", "DeleteInstance", {}).n("SupplyChainClient", "DeleteInstanceCommand").f(void 0, void 0).ser(se_DeleteInstanceCommand).de(de_DeleteInstanceCommand).build() {
|
|
1307
|
+
};
|
|
1308
|
+
__name(_DeleteInstanceCommand, "DeleteInstanceCommand");
|
|
1309
|
+
var DeleteInstanceCommand = _DeleteInstanceCommand;
|
|
1310
|
+
|
|
1107
1311
|
// src/commands/GetBillOfMaterialsImportJobCommand.ts
|
|
1108
1312
|
|
|
1109
1313
|
|
|
@@ -1146,6 +1350,20 @@ var _GetDataLakeDatasetCommand = class _GetDataLakeDatasetCommand extends import
|
|
|
1146
1350
|
__name(_GetDataLakeDatasetCommand, "GetDataLakeDatasetCommand");
|
|
1147
1351
|
var GetDataLakeDatasetCommand = _GetDataLakeDatasetCommand;
|
|
1148
1352
|
|
|
1353
|
+
// src/commands/GetInstanceCommand.ts
|
|
1354
|
+
|
|
1355
|
+
|
|
1356
|
+
|
|
1357
|
+
var _GetInstanceCommand = class _GetInstanceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1358
|
+
return [
|
|
1359
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1360
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1361
|
+
];
|
|
1362
|
+
}).s("GalaxyPublicAPIGateway", "GetInstance", {}).n("SupplyChainClient", "GetInstanceCommand").f(void 0, void 0).ser(se_GetInstanceCommand).de(de_GetInstanceCommand).build() {
|
|
1363
|
+
};
|
|
1364
|
+
__name(_GetInstanceCommand, "GetInstanceCommand");
|
|
1365
|
+
var GetInstanceCommand = _GetInstanceCommand;
|
|
1366
|
+
|
|
1149
1367
|
// src/commands/ListDataIntegrationFlowsCommand.ts
|
|
1150
1368
|
|
|
1151
1369
|
|
|
@@ -1174,6 +1392,20 @@ var _ListDataLakeDatasetsCommand = class _ListDataLakeDatasetsCommand extends im
|
|
|
1174
1392
|
__name(_ListDataLakeDatasetsCommand, "ListDataLakeDatasetsCommand");
|
|
1175
1393
|
var ListDataLakeDatasetsCommand = _ListDataLakeDatasetsCommand;
|
|
1176
1394
|
|
|
1395
|
+
// src/commands/ListInstancesCommand.ts
|
|
1396
|
+
|
|
1397
|
+
|
|
1398
|
+
|
|
1399
|
+
var _ListInstancesCommand = class _ListInstancesCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1400
|
+
return [
|
|
1401
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1402
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1403
|
+
];
|
|
1404
|
+
}).s("GalaxyPublicAPIGateway", "ListInstances", {}).n("SupplyChainClient", "ListInstancesCommand").f(void 0, void 0).ser(se_ListInstancesCommand).de(de_ListInstancesCommand).build() {
|
|
1405
|
+
};
|
|
1406
|
+
__name(_ListInstancesCommand, "ListInstancesCommand");
|
|
1407
|
+
var ListInstancesCommand = _ListInstancesCommand;
|
|
1408
|
+
|
|
1177
1409
|
// src/commands/ListTagsForResourceCommand.ts
|
|
1178
1410
|
|
|
1179
1411
|
|
|
@@ -1258,24 +1490,43 @@ var _UpdateDataLakeDatasetCommand = class _UpdateDataLakeDatasetCommand extends
|
|
|
1258
1490
|
__name(_UpdateDataLakeDatasetCommand, "UpdateDataLakeDatasetCommand");
|
|
1259
1491
|
var UpdateDataLakeDatasetCommand = _UpdateDataLakeDatasetCommand;
|
|
1260
1492
|
|
|
1493
|
+
// src/commands/UpdateInstanceCommand.ts
|
|
1494
|
+
|
|
1495
|
+
|
|
1496
|
+
|
|
1497
|
+
var _UpdateInstanceCommand = class _UpdateInstanceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1498
|
+
return [
|
|
1499
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1500
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1501
|
+
];
|
|
1502
|
+
}).s("GalaxyPublicAPIGateway", "UpdateInstance", {}).n("SupplyChainClient", "UpdateInstanceCommand").f(void 0, void 0).ser(se_UpdateInstanceCommand).de(de_UpdateInstanceCommand).build() {
|
|
1503
|
+
};
|
|
1504
|
+
__name(_UpdateInstanceCommand, "UpdateInstanceCommand");
|
|
1505
|
+
var UpdateInstanceCommand = _UpdateInstanceCommand;
|
|
1506
|
+
|
|
1261
1507
|
// src/SupplyChain.ts
|
|
1262
1508
|
var commands = {
|
|
1263
1509
|
CreateBillOfMaterialsImportJobCommand,
|
|
1264
1510
|
CreateDataIntegrationFlowCommand,
|
|
1265
1511
|
CreateDataLakeDatasetCommand,
|
|
1512
|
+
CreateInstanceCommand,
|
|
1266
1513
|
DeleteDataIntegrationFlowCommand,
|
|
1267
1514
|
DeleteDataLakeDatasetCommand,
|
|
1515
|
+
DeleteInstanceCommand,
|
|
1268
1516
|
GetBillOfMaterialsImportJobCommand,
|
|
1269
1517
|
GetDataIntegrationFlowCommand,
|
|
1270
1518
|
GetDataLakeDatasetCommand,
|
|
1519
|
+
GetInstanceCommand,
|
|
1271
1520
|
ListDataIntegrationFlowsCommand,
|
|
1272
1521
|
ListDataLakeDatasetsCommand,
|
|
1522
|
+
ListInstancesCommand,
|
|
1273
1523
|
ListTagsForResourceCommand,
|
|
1274
1524
|
SendDataIntegrationEventCommand,
|
|
1275
1525
|
TagResourceCommand,
|
|
1276
1526
|
UntagResourceCommand,
|
|
1277
1527
|
UpdateDataIntegrationFlowCommand,
|
|
1278
|
-
UpdateDataLakeDatasetCommand
|
|
1528
|
+
UpdateDataLakeDatasetCommand,
|
|
1529
|
+
UpdateInstanceCommand
|
|
1279
1530
|
};
|
|
1280
1531
|
var _SupplyChain = class _SupplyChain extends SupplyChainClient {
|
|
1281
1532
|
};
|
|
@@ -1290,6 +1541,10 @@ var paginateListDataIntegrationFlows = (0, import_core.createPaginator)(SupplyCh
|
|
|
1290
1541
|
// src/pagination/ListDataLakeDatasetsPaginator.ts
|
|
1291
1542
|
|
|
1292
1543
|
var paginateListDataLakeDatasets = (0, import_core.createPaginator)(SupplyChainClient, ListDataLakeDatasetsCommand, "nextToken", "nextToken", "maxResults");
|
|
1544
|
+
|
|
1545
|
+
// src/pagination/ListInstancesPaginator.ts
|
|
1546
|
+
|
|
1547
|
+
var paginateListInstances = (0, import_core.createPaginator)(SupplyChainClient, ListInstancesCommand, "nextToken", "nextToken", "maxResults");
|
|
1293
1548
|
// Annotate the CommonJS export names for ESM import in node:
|
|
1294
1549
|
|
|
1295
1550
|
0 && (module.exports = {
|
|
@@ -1301,21 +1556,27 @@ var paginateListDataLakeDatasets = (0, import_core.createPaginator)(SupplyChainC
|
|
|
1301
1556
|
CreateBillOfMaterialsImportJobCommand,
|
|
1302
1557
|
CreateDataIntegrationFlowCommand,
|
|
1303
1558
|
CreateDataLakeDatasetCommand,
|
|
1559
|
+
CreateInstanceCommand,
|
|
1304
1560
|
DeleteDataIntegrationFlowCommand,
|
|
1305
1561
|
DeleteDataLakeDatasetCommand,
|
|
1562
|
+
DeleteInstanceCommand,
|
|
1306
1563
|
GetBillOfMaterialsImportJobCommand,
|
|
1307
1564
|
GetDataIntegrationFlowCommand,
|
|
1308
1565
|
GetDataLakeDatasetCommand,
|
|
1566
|
+
GetInstanceCommand,
|
|
1309
1567
|
ListDataIntegrationFlowsCommand,
|
|
1310
1568
|
ListDataLakeDatasetsCommand,
|
|
1569
|
+
ListInstancesCommand,
|
|
1311
1570
|
ListTagsForResourceCommand,
|
|
1312
1571
|
SendDataIntegrationEventCommand,
|
|
1313
1572
|
TagResourceCommand,
|
|
1314
1573
|
UntagResourceCommand,
|
|
1315
1574
|
UpdateDataIntegrationFlowCommand,
|
|
1316
1575
|
UpdateDataLakeDatasetCommand,
|
|
1576
|
+
UpdateInstanceCommand,
|
|
1317
1577
|
paginateListDataIntegrationFlows,
|
|
1318
1578
|
paginateListDataLakeDatasets,
|
|
1579
|
+
paginateListInstances,
|
|
1319
1580
|
AccessDeniedException,
|
|
1320
1581
|
ConfigurationJobStatus,
|
|
1321
1582
|
ConflictException,
|
|
@@ -1330,6 +1591,7 @@ var paginateListDataLakeDatasets = (0, import_core.createPaginator)(SupplyChainC
|
|
|
1330
1591
|
DataIntegrationFlowTargetType,
|
|
1331
1592
|
DataIntegrationFlowTransformationType,
|
|
1332
1593
|
DataLakeDatasetSchemaFieldType,
|
|
1594
|
+
InstanceState,
|
|
1333
1595
|
DataIntegrationEventType,
|
|
1334
1596
|
SendDataIntegrationEventRequestFilterSensitiveLog
|
|
1335
1597
|
});
|
package/dist-es/SupplyChain.js
CHANGED
|
@@ -2,37 +2,47 @@ import { createAggregatedClient } from "@smithy/smithy-client";
|
|
|
2
2
|
import { CreateBillOfMaterialsImportJobCommand, } from "./commands/CreateBillOfMaterialsImportJobCommand";
|
|
3
3
|
import { CreateDataIntegrationFlowCommand, } from "./commands/CreateDataIntegrationFlowCommand";
|
|
4
4
|
import { CreateDataLakeDatasetCommand, } from "./commands/CreateDataLakeDatasetCommand";
|
|
5
|
+
import { CreateInstanceCommand, } from "./commands/CreateInstanceCommand";
|
|
5
6
|
import { DeleteDataIntegrationFlowCommand, } from "./commands/DeleteDataIntegrationFlowCommand";
|
|
6
7
|
import { DeleteDataLakeDatasetCommand, } from "./commands/DeleteDataLakeDatasetCommand";
|
|
8
|
+
import { DeleteInstanceCommand, } from "./commands/DeleteInstanceCommand";
|
|
7
9
|
import { GetBillOfMaterialsImportJobCommand, } from "./commands/GetBillOfMaterialsImportJobCommand";
|
|
8
10
|
import { GetDataIntegrationFlowCommand, } from "./commands/GetDataIntegrationFlowCommand";
|
|
9
11
|
import { GetDataLakeDatasetCommand, } from "./commands/GetDataLakeDatasetCommand";
|
|
12
|
+
import { GetInstanceCommand } from "./commands/GetInstanceCommand";
|
|
10
13
|
import { ListDataIntegrationFlowsCommand, } from "./commands/ListDataIntegrationFlowsCommand";
|
|
11
14
|
import { ListDataLakeDatasetsCommand, } from "./commands/ListDataLakeDatasetsCommand";
|
|
15
|
+
import { ListInstancesCommand, } from "./commands/ListInstancesCommand";
|
|
12
16
|
import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
|
|
13
17
|
import { SendDataIntegrationEventCommand, } from "./commands/SendDataIntegrationEventCommand";
|
|
14
18
|
import { TagResourceCommand } from "./commands/TagResourceCommand";
|
|
15
19
|
import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
|
|
16
20
|
import { UpdateDataIntegrationFlowCommand, } from "./commands/UpdateDataIntegrationFlowCommand";
|
|
17
21
|
import { UpdateDataLakeDatasetCommand, } from "./commands/UpdateDataLakeDatasetCommand";
|
|
22
|
+
import { UpdateInstanceCommand, } from "./commands/UpdateInstanceCommand";
|
|
18
23
|
import { SupplyChainClient } from "./SupplyChainClient";
|
|
19
24
|
const commands = {
|
|
20
25
|
CreateBillOfMaterialsImportJobCommand,
|
|
21
26
|
CreateDataIntegrationFlowCommand,
|
|
22
27
|
CreateDataLakeDatasetCommand,
|
|
28
|
+
CreateInstanceCommand,
|
|
23
29
|
DeleteDataIntegrationFlowCommand,
|
|
24
30
|
DeleteDataLakeDatasetCommand,
|
|
31
|
+
DeleteInstanceCommand,
|
|
25
32
|
GetBillOfMaterialsImportJobCommand,
|
|
26
33
|
GetDataIntegrationFlowCommand,
|
|
27
34
|
GetDataLakeDatasetCommand,
|
|
35
|
+
GetInstanceCommand,
|
|
28
36
|
ListDataIntegrationFlowsCommand,
|
|
29
37
|
ListDataLakeDatasetsCommand,
|
|
38
|
+
ListInstancesCommand,
|
|
30
39
|
ListTagsForResourceCommand,
|
|
31
40
|
SendDataIntegrationEventCommand,
|
|
32
41
|
TagResourceCommand,
|
|
33
42
|
UntagResourceCommand,
|
|
34
43
|
UpdateDataIntegrationFlowCommand,
|
|
35
44
|
UpdateDataLakeDatasetCommand,
|
|
45
|
+
UpdateInstanceCommand,
|
|
36
46
|
};
|
|
37
47
|
export class SupplyChain extends SupplyChainClient {
|
|
38
48
|
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_CreateInstanceCommand, se_CreateInstanceCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class CreateInstanceCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("GalaxyPublicAPIGateway", "CreateInstance", {})
|
|
17
|
+
.n("SupplyChainClient", "CreateInstanceCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_CreateInstanceCommand)
|
|
20
|
+
.de(de_CreateInstanceCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|