@aws-sdk/client-supplychain 3.552.0 → 3.554.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 +8 -0
- package/dist-cjs/index.js +84 -2
- package/dist-es/SupplyChain.js +2 -0
- package/dist-es/commands/SendDataIntegrationEventCommand.js +25 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/models_0.js +22 -0
- package/dist-es/protocols/Aws_restJson1.js +32 -0
- package/dist-types/SupplyChain.d.ts +7 -0
- package/dist-types/SupplyChainClient.d.ts +3 -2
- package/dist-types/commands/CreateBillOfMaterialsImportJobCommand.d.ts +18 -0
- package/dist-types/commands/GetBillOfMaterialsImportJobCommand.d.ts +45 -0
- package/dist-types/commands/SendDataIntegrationEventCommand.d.ts +385 -0
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +76 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +9 -0
- package/dist-types/ts3.4/SupplyChain.d.ts +17 -0
- package/dist-types/ts3.4/SupplyChainClient.d.ts +8 -2
- package/dist-types/ts3.4/commands/SendDataIntegrationEventCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +33 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +12 -0
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -225,3 +225,11 @@ GetBillOfMaterialsImportJob
|
|
|
225
225
|
[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
226
|
|
|
227
227
|
</details>
|
|
228
|
+
<details>
|
|
229
|
+
<summary>
|
|
230
|
+
SendDataIntegrationEvent
|
|
231
|
+
</summary>
|
|
232
|
+
|
|
233
|
+
[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
|
+
|
|
235
|
+
</details>
|
package/dist-cjs/index.js
CHANGED
|
@@ -25,9 +25,12 @@ __export(src_exports, {
|
|
|
25
25
|
ConfigurationJobStatus: () => ConfigurationJobStatus,
|
|
26
26
|
ConflictException: () => ConflictException,
|
|
27
27
|
CreateBillOfMaterialsImportJobCommand: () => CreateBillOfMaterialsImportJobCommand,
|
|
28
|
+
DataIntegrationEventType: () => DataIntegrationEventType,
|
|
28
29
|
GetBillOfMaterialsImportJobCommand: () => GetBillOfMaterialsImportJobCommand,
|
|
29
30
|
InternalServerException: () => InternalServerException,
|
|
30
31
|
ResourceNotFoundException: () => ResourceNotFoundException,
|
|
32
|
+
SendDataIntegrationEventCommand: () => SendDataIntegrationEventCommand,
|
|
33
|
+
SendDataIntegrationEventRequestFilterSensitiveLog: () => SendDataIntegrationEventRequestFilterSensitiveLog,
|
|
31
34
|
ServiceQuotaExceededException: () => ServiceQuotaExceededException,
|
|
32
35
|
SupplyChain: () => SupplyChain,
|
|
33
36
|
SupplyChainClient: () => SupplyChainClient,
|
|
@@ -196,6 +199,9 @@ var import_core2 = require("@aws-sdk/core");
|
|
|
196
199
|
|
|
197
200
|
var import_uuid = require("uuid");
|
|
198
201
|
|
|
202
|
+
// src/models/models_0.ts
|
|
203
|
+
|
|
204
|
+
|
|
199
205
|
// src/models/SupplyChainServiceException.ts
|
|
200
206
|
|
|
201
207
|
var _SupplyChainServiceException = class _SupplyChainServiceException extends import_smithy_client.ServiceException {
|
|
@@ -341,6 +347,27 @@ var _ValidationException = class _ValidationException extends SupplyChainService
|
|
|
341
347
|
};
|
|
342
348
|
__name(_ValidationException, "ValidationException");
|
|
343
349
|
var ValidationException = _ValidationException;
|
|
350
|
+
var DataIntegrationEventType = {
|
|
351
|
+
FORECAST: "scn.data.forecast",
|
|
352
|
+
INBOUND_ORDER: "scn.data.inboundorder",
|
|
353
|
+
INBOUND_ORDER_LINE: "scn.data.inboundorderline",
|
|
354
|
+
INBOUND_ORDER_LINE_SCHEDULE: "scn.data.inboundorderlineschedule",
|
|
355
|
+
INVENTORY_LEVEL: "scn.data.inventorylevel",
|
|
356
|
+
OUTBOUND_ORDER_LINE: "scn.data.outboundorderline",
|
|
357
|
+
OUTBOUND_SHIPMENT: "scn.data.outboundshipment",
|
|
358
|
+
PROCESS_HEADER: "scn.data.processheader",
|
|
359
|
+
PROCESS_OPERATION: "scn.data.processoperation",
|
|
360
|
+
PROCESS_PRODUCT: "scn.data.processproduct",
|
|
361
|
+
RESERVATION: "scn.data.reservation",
|
|
362
|
+
SHIPMENT: "scn.data.shipment",
|
|
363
|
+
SHIPMENT_STOP: "scn.data.shipmentstop",
|
|
364
|
+
SHIPMENT_STOP_ORDER: "scn.data.shipmentstoporder",
|
|
365
|
+
SUPPLY_PLAN: "scn.data.supplyplan"
|
|
366
|
+
};
|
|
367
|
+
var SendDataIntegrationEventRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
368
|
+
...obj,
|
|
369
|
+
...obj.data && { data: import_smithy_client.SENSITIVE_STRING }
|
|
370
|
+
}), "SendDataIntegrationEventRequestFilterSensitiveLog");
|
|
344
371
|
|
|
345
372
|
// src/protocols/Aws_restJson1.ts
|
|
346
373
|
var se_CreateBillOfMaterialsImportJobCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
@@ -370,6 +397,26 @@ var se_GetBillOfMaterialsImportJobCommand = /* @__PURE__ */ __name(async (input,
|
|
|
370
397
|
b.m("GET").h(headers).b(body);
|
|
371
398
|
return b.build();
|
|
372
399
|
}, "se_GetBillOfMaterialsImportJobCommand");
|
|
400
|
+
var se_SendDataIntegrationEventCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
401
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
402
|
+
const headers = {
|
|
403
|
+
"content-type": "application/json"
|
|
404
|
+
};
|
|
405
|
+
b.bp("/api-data/data-integration/instance/{instanceId}/data-integration-events");
|
|
406
|
+
b.p("instanceId", () => input.instanceId, "{instanceId}", false);
|
|
407
|
+
let body;
|
|
408
|
+
body = JSON.stringify(
|
|
409
|
+
(0, import_smithy_client.take)(input, {
|
|
410
|
+
clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
|
|
411
|
+
data: [],
|
|
412
|
+
eventGroupId: [],
|
|
413
|
+
eventTimestamp: (_) => Math.round(_.getTime() / 1e3),
|
|
414
|
+
eventType: []
|
|
415
|
+
})
|
|
416
|
+
);
|
|
417
|
+
b.m("POST").h(headers).b(body);
|
|
418
|
+
return b.build();
|
|
419
|
+
}, "se_SendDataIntegrationEventCommand");
|
|
373
420
|
var de_CreateBillOfMaterialsImportJobCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
374
421
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
375
422
|
return de_CommandError(output, context);
|
|
@@ -398,6 +445,20 @@ var de_GetBillOfMaterialsImportJobCommand = /* @__PURE__ */ __name(async (output
|
|
|
398
445
|
Object.assign(contents, doc);
|
|
399
446
|
return contents;
|
|
400
447
|
}, "de_GetBillOfMaterialsImportJobCommand");
|
|
448
|
+
var de_SendDataIntegrationEventCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
449
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
450
|
+
return de_CommandError(output, context);
|
|
451
|
+
}
|
|
452
|
+
const contents = (0, import_smithy_client.map)({
|
|
453
|
+
$metadata: deserializeMetadata(output)
|
|
454
|
+
});
|
|
455
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
456
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
457
|
+
eventId: import_smithy_client.expectString
|
|
458
|
+
});
|
|
459
|
+
Object.assign(contents, doc);
|
|
460
|
+
return contents;
|
|
461
|
+
}, "de_SendDataIntegrationEventCommand");
|
|
401
462
|
var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
402
463
|
const parsedOutput = {
|
|
403
464
|
...output,
|
|
@@ -564,10 +625,28 @@ var _GetBillOfMaterialsImportJobCommand = class _GetBillOfMaterialsImportJobComm
|
|
|
564
625
|
__name(_GetBillOfMaterialsImportJobCommand, "GetBillOfMaterialsImportJobCommand");
|
|
565
626
|
var GetBillOfMaterialsImportJobCommand = _GetBillOfMaterialsImportJobCommand;
|
|
566
627
|
|
|
628
|
+
// src/commands/SendDataIntegrationEventCommand.ts
|
|
629
|
+
|
|
630
|
+
|
|
631
|
+
|
|
632
|
+
|
|
633
|
+
var _SendDataIntegrationEventCommand = class _SendDataIntegrationEventCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
634
|
+
...commonParams
|
|
635
|
+
}).m(function(Command, cs, config, o) {
|
|
636
|
+
return [
|
|
637
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
638
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
639
|
+
];
|
|
640
|
+
}).s("GalaxyPublicAPIGateway", "SendDataIntegrationEvent", {}).n("SupplyChainClient", "SendDataIntegrationEventCommand").f(SendDataIntegrationEventRequestFilterSensitiveLog, void 0).ser(se_SendDataIntegrationEventCommand).de(de_SendDataIntegrationEventCommand).build() {
|
|
641
|
+
};
|
|
642
|
+
__name(_SendDataIntegrationEventCommand, "SendDataIntegrationEventCommand");
|
|
643
|
+
var SendDataIntegrationEventCommand = _SendDataIntegrationEventCommand;
|
|
644
|
+
|
|
567
645
|
// src/SupplyChain.ts
|
|
568
646
|
var commands = {
|
|
569
647
|
CreateBillOfMaterialsImportJobCommand,
|
|
570
|
-
GetBillOfMaterialsImportJobCommand
|
|
648
|
+
GetBillOfMaterialsImportJobCommand,
|
|
649
|
+
SendDataIntegrationEventCommand
|
|
571
650
|
};
|
|
572
651
|
var _SupplyChain = class _SupplyChain extends SupplyChainClient {
|
|
573
652
|
};
|
|
@@ -584,6 +663,7 @@ var SupplyChain = _SupplyChain;
|
|
|
584
663
|
$Command,
|
|
585
664
|
CreateBillOfMaterialsImportJobCommand,
|
|
586
665
|
GetBillOfMaterialsImportJobCommand,
|
|
666
|
+
SendDataIntegrationEventCommand,
|
|
587
667
|
AccessDeniedException,
|
|
588
668
|
ConfigurationJobStatus,
|
|
589
669
|
ConflictException,
|
|
@@ -591,6 +671,8 @@ var SupplyChain = _SupplyChain;
|
|
|
591
671
|
ResourceNotFoundException,
|
|
592
672
|
ServiceQuotaExceededException,
|
|
593
673
|
ThrottlingException,
|
|
594
|
-
ValidationException
|
|
674
|
+
ValidationException,
|
|
675
|
+
DataIntegrationEventType,
|
|
676
|
+
SendDataIntegrationEventRequestFilterSensitiveLog
|
|
595
677
|
});
|
|
596
678
|
|
package/dist-es/SupplyChain.js
CHANGED
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import { createAggregatedClient } from "@smithy/smithy-client";
|
|
2
2
|
import { CreateBillOfMaterialsImportJobCommand, } from "./commands/CreateBillOfMaterialsImportJobCommand";
|
|
3
3
|
import { GetBillOfMaterialsImportJobCommand, } from "./commands/GetBillOfMaterialsImportJobCommand";
|
|
4
|
+
import { SendDataIntegrationEventCommand, } from "./commands/SendDataIntegrationEventCommand";
|
|
4
5
|
import { SupplyChainClient } from "./SupplyChainClient";
|
|
5
6
|
const commands = {
|
|
6
7
|
CreateBillOfMaterialsImportJobCommand,
|
|
7
8
|
GetBillOfMaterialsImportJobCommand,
|
|
9
|
+
SendDataIntegrationEventCommand,
|
|
8
10
|
};
|
|
9
11
|
export class SupplyChain extends SupplyChainClient {
|
|
10
12
|
}
|
|
@@ -0,0 +1,25 @@
|
|
|
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 { SendDataIntegrationEventRequestFilterSensitiveLog, } from "../models/models_0";
|
|
6
|
+
import { de_SendDataIntegrationEventCommand, se_SendDataIntegrationEventCommand } from "../protocols/Aws_restJson1";
|
|
7
|
+
export { $Command };
|
|
8
|
+
export class SendDataIntegrationEventCommand extends $Command
|
|
9
|
+
.classBuilder()
|
|
10
|
+
.ep({
|
|
11
|
+
...commonParams,
|
|
12
|
+
})
|
|
13
|
+
.m(function (Command, cs, config, o) {
|
|
14
|
+
return [
|
|
15
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
16
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
17
|
+
];
|
|
18
|
+
})
|
|
19
|
+
.s("GalaxyPublicAPIGateway", "SendDataIntegrationEvent", {})
|
|
20
|
+
.n("SupplyChainClient", "SendDataIntegrationEventCommand")
|
|
21
|
+
.f(SendDataIntegrationEventRequestFilterSensitiveLog, void 0)
|
|
22
|
+
.ser(se_SendDataIntegrationEventCommand)
|
|
23
|
+
.de(de_SendDataIntegrationEventCommand)
|
|
24
|
+
.build() {
|
|
25
|
+
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
1
2
|
import { SupplyChainServiceException as __BaseException } from "./SupplyChainServiceException";
|
|
2
3
|
export class AccessDeniedException extends __BaseException {
|
|
3
4
|
constructor(opts) {
|
|
@@ -94,3 +95,24 @@ export class ValidationException extends __BaseException {
|
|
|
94
95
|
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
95
96
|
}
|
|
96
97
|
}
|
|
98
|
+
export const DataIntegrationEventType = {
|
|
99
|
+
FORECAST: "scn.data.forecast",
|
|
100
|
+
INBOUND_ORDER: "scn.data.inboundorder",
|
|
101
|
+
INBOUND_ORDER_LINE: "scn.data.inboundorderline",
|
|
102
|
+
INBOUND_ORDER_LINE_SCHEDULE: "scn.data.inboundorderlineschedule",
|
|
103
|
+
INVENTORY_LEVEL: "scn.data.inventorylevel",
|
|
104
|
+
OUTBOUND_ORDER_LINE: "scn.data.outboundorderline",
|
|
105
|
+
OUTBOUND_SHIPMENT: "scn.data.outboundshipment",
|
|
106
|
+
PROCESS_HEADER: "scn.data.processheader",
|
|
107
|
+
PROCESS_OPERATION: "scn.data.processoperation",
|
|
108
|
+
PROCESS_PRODUCT: "scn.data.processproduct",
|
|
109
|
+
RESERVATION: "scn.data.reservation",
|
|
110
|
+
SHIPMENT: "scn.data.shipment",
|
|
111
|
+
SHIPMENT_STOP: "scn.data.shipmentstop",
|
|
112
|
+
SHIPMENT_STOP_ORDER: "scn.data.shipmentstoporder",
|
|
113
|
+
SUPPLY_PLAN: "scn.data.supplyplan",
|
|
114
|
+
};
|
|
115
|
+
export const SendDataIntegrationEventRequestFilterSensitiveLog = (obj) => ({
|
|
116
|
+
...obj,
|
|
117
|
+
...(obj.data && { data: SENSITIVE_STRING }),
|
|
118
|
+
});
|
|
@@ -29,6 +29,24 @@ export const se_GetBillOfMaterialsImportJobCommand = async (input, context) => {
|
|
|
29
29
|
b.m("GET").h(headers).b(body);
|
|
30
30
|
return b.build();
|
|
31
31
|
};
|
|
32
|
+
export const se_SendDataIntegrationEventCommand = async (input, context) => {
|
|
33
|
+
const b = rb(input, context);
|
|
34
|
+
const headers = {
|
|
35
|
+
"content-type": "application/json",
|
|
36
|
+
};
|
|
37
|
+
b.bp("/api-data/data-integration/instance/{instanceId}/data-integration-events");
|
|
38
|
+
b.p("instanceId", () => input.instanceId, "{instanceId}", false);
|
|
39
|
+
let body;
|
|
40
|
+
body = JSON.stringify(take(input, {
|
|
41
|
+
clientToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
42
|
+
data: [],
|
|
43
|
+
eventGroupId: [],
|
|
44
|
+
eventTimestamp: (_) => Math.round(_.getTime() / 1000),
|
|
45
|
+
eventType: [],
|
|
46
|
+
}));
|
|
47
|
+
b.m("POST").h(headers).b(body);
|
|
48
|
+
return b.build();
|
|
49
|
+
};
|
|
32
50
|
export const de_CreateBillOfMaterialsImportJobCommand = async (output, context) => {
|
|
33
51
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
34
52
|
return de_CommandError(output, context);
|
|
@@ -57,6 +75,20 @@ export const de_GetBillOfMaterialsImportJobCommand = async (output, context) =>
|
|
|
57
75
|
Object.assign(contents, doc);
|
|
58
76
|
return contents;
|
|
59
77
|
};
|
|
78
|
+
export const de_SendDataIntegrationEventCommand = async (output, context) => {
|
|
79
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
80
|
+
return de_CommandError(output, context);
|
|
81
|
+
}
|
|
82
|
+
const contents = map({
|
|
83
|
+
$metadata: deserializeMetadata(output),
|
|
84
|
+
});
|
|
85
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
86
|
+
const doc = take(data, {
|
|
87
|
+
eventId: __expectString,
|
|
88
|
+
});
|
|
89
|
+
Object.assign(contents, doc);
|
|
90
|
+
return contents;
|
|
91
|
+
};
|
|
60
92
|
const de_CommandError = async (output, context) => {
|
|
61
93
|
const parsedOutput = {
|
|
62
94
|
...output,
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
2
2
|
import { CreateBillOfMaterialsImportJobCommandInput, CreateBillOfMaterialsImportJobCommandOutput } from "./commands/CreateBillOfMaterialsImportJobCommand";
|
|
3
3
|
import { GetBillOfMaterialsImportJobCommandInput, GetBillOfMaterialsImportJobCommandOutput } from "./commands/GetBillOfMaterialsImportJobCommand";
|
|
4
|
+
import { SendDataIntegrationEventCommandInput, SendDataIntegrationEventCommandOutput } from "./commands/SendDataIntegrationEventCommand";
|
|
4
5
|
import { SupplyChainClient } from "./SupplyChainClient";
|
|
5
6
|
export interface SupplyChain {
|
|
6
7
|
/**
|
|
@@ -15,6 +16,12 @@ export interface SupplyChain {
|
|
|
15
16
|
getBillOfMaterialsImportJob(args: GetBillOfMaterialsImportJobCommandInput, options?: __HttpHandlerOptions): Promise<GetBillOfMaterialsImportJobCommandOutput>;
|
|
16
17
|
getBillOfMaterialsImportJob(args: GetBillOfMaterialsImportJobCommandInput, cb: (err: any, data?: GetBillOfMaterialsImportJobCommandOutput) => void): void;
|
|
17
18
|
getBillOfMaterialsImportJob(args: GetBillOfMaterialsImportJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetBillOfMaterialsImportJobCommandOutput) => void): void;
|
|
19
|
+
/**
|
|
20
|
+
* @see {@link SendDataIntegrationEventCommand}
|
|
21
|
+
*/
|
|
22
|
+
sendDataIntegrationEvent(args: SendDataIntegrationEventCommandInput, options?: __HttpHandlerOptions): Promise<SendDataIntegrationEventCommandOutput>;
|
|
23
|
+
sendDataIntegrationEvent(args: SendDataIntegrationEventCommandInput, cb: (err: any, data?: SendDataIntegrationEventCommandOutput) => void): void;
|
|
24
|
+
sendDataIntegrationEvent(args: SendDataIntegrationEventCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SendDataIntegrationEventCommandOutput) => void): void;
|
|
18
25
|
}
|
|
19
26
|
/**
|
|
20
27
|
* <p>
|
|
@@ -9,17 +9,18 @@ import { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalc
|
|
|
9
9
|
import { HttpAuthSchemeInputConfig, HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
|
|
10
10
|
import { CreateBillOfMaterialsImportJobCommandInput, CreateBillOfMaterialsImportJobCommandOutput } from "./commands/CreateBillOfMaterialsImportJobCommand";
|
|
11
11
|
import { GetBillOfMaterialsImportJobCommandInput, GetBillOfMaterialsImportJobCommandOutput } from "./commands/GetBillOfMaterialsImportJobCommand";
|
|
12
|
+
import { SendDataIntegrationEventCommandInput, SendDataIntegrationEventCommandOutput } from "./commands/SendDataIntegrationEventCommand";
|
|
12
13
|
import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
|
|
13
14
|
import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
|
|
14
15
|
export { __Client };
|
|
15
16
|
/**
|
|
16
17
|
* @public
|
|
17
18
|
*/
|
|
18
|
-
export type ServiceInputTypes = CreateBillOfMaterialsImportJobCommandInput | GetBillOfMaterialsImportJobCommandInput;
|
|
19
|
+
export type ServiceInputTypes = CreateBillOfMaterialsImportJobCommandInput | GetBillOfMaterialsImportJobCommandInput | SendDataIntegrationEventCommandInput;
|
|
19
20
|
/**
|
|
20
21
|
* @public
|
|
21
22
|
*/
|
|
22
|
-
export type ServiceOutputTypes = CreateBillOfMaterialsImportJobCommandOutput | GetBillOfMaterialsImportJobCommandOutput;
|
|
23
|
+
export type ServiceOutputTypes = CreateBillOfMaterialsImportJobCommandOutput | GetBillOfMaterialsImportJobCommandOutput | SendDataIntegrationEventCommandOutput;
|
|
23
24
|
/**
|
|
24
25
|
* @public
|
|
25
26
|
*/
|
|
@@ -78,6 +78,24 @@ declare const CreateBillOfMaterialsImportJobCommand_base: {
|
|
|
78
78
|
* <p>Base exception class for all service exceptions from SupplyChain service.</p>
|
|
79
79
|
*
|
|
80
80
|
* @public
|
|
81
|
+
* @example Invoke CreateBillOfMaterialsImportJob
|
|
82
|
+
* ```javascript
|
|
83
|
+
* //
|
|
84
|
+
* const input = {
|
|
85
|
+
* "clientToken": "550e8400-e29b-41d4-a716-446655440000",
|
|
86
|
+
* "instanceId": "60f82bbd-71f7-4fcd-a941-472f574c5243",
|
|
87
|
+
* "s3uri": "s3://mybucketname/pathelemene/file.csv"
|
|
88
|
+
* };
|
|
89
|
+
* const command = new CreateBillOfMaterialsImportJobCommand(input);
|
|
90
|
+
* const response = await client.send(command);
|
|
91
|
+
* /* response ==
|
|
92
|
+
* {
|
|
93
|
+
* "jobId": "f79b359b-1515-4436-a3bf-bae7b33e47b4"
|
|
94
|
+
* }
|
|
95
|
+
* *\/
|
|
96
|
+
* // example id: example-1
|
|
97
|
+
* ```
|
|
98
|
+
*
|
|
81
99
|
*/
|
|
82
100
|
export declare class CreateBillOfMaterialsImportJobCommand extends CreateBillOfMaterialsImportJobCommand_base {
|
|
83
101
|
}
|
|
@@ -82,6 +82,51 @@ declare const GetBillOfMaterialsImportJobCommand_base: {
|
|
|
82
82
|
* <p>Base exception class for all service exceptions from SupplyChain service.</p>
|
|
83
83
|
*
|
|
84
84
|
* @public
|
|
85
|
+
* @example Invoke GetBillOfMaterialsImportJob for a successful job
|
|
86
|
+
* ```javascript
|
|
87
|
+
* //
|
|
88
|
+
* const input = {
|
|
89
|
+
* "instanceId": "60f82bbd-71f7-4fcd-a941-472f574c5243",
|
|
90
|
+
* "jobId": "f79b359b-1515-4436-a3bf-bae7b33e47b4"
|
|
91
|
+
* };
|
|
92
|
+
* const command = new GetBillOfMaterialsImportJobCommand(input);
|
|
93
|
+
* const response = await client.send(command);
|
|
94
|
+
* /* response ==
|
|
95
|
+
* {
|
|
96
|
+
* "job": {
|
|
97
|
+
* "instanceId": "60f82bbd-71f7-4fcd-a941-472f574c5243",
|
|
98
|
+
* "jobId": "f79b359b-1515-4436-a3bf-bae7b33e47b4",
|
|
99
|
+
* "message": "Import job completed successfully.",
|
|
100
|
+
* "s3uri": "s3://mybucketname/pathelemene/file.csv",
|
|
101
|
+
* "status": "SUCCESS"
|
|
102
|
+
* }
|
|
103
|
+
* }
|
|
104
|
+
* *\/
|
|
105
|
+
* // example id: example-1
|
|
106
|
+
* ```
|
|
107
|
+
*
|
|
108
|
+
* @example Invoke GetBillOfMaterialsImportJob for an in-progress job
|
|
109
|
+
* ```javascript
|
|
110
|
+
* //
|
|
111
|
+
* const input = {
|
|
112
|
+
* "instanceId": "60f82bbd-71f7-4fcd-a941-472f574c5243",
|
|
113
|
+
* "jobId": "f79b359b-1515-4436-a3bf-bae7b33e47b4"
|
|
114
|
+
* };
|
|
115
|
+
* const command = new GetBillOfMaterialsImportJobCommand(input);
|
|
116
|
+
* const response = await client.send(command);
|
|
117
|
+
* /* response ==
|
|
118
|
+
* {
|
|
119
|
+
* "job": {
|
|
120
|
+
* "instanceId": "60f82bbd-71f7-4fcd-a941-472f574c5243",
|
|
121
|
+
* "jobId": "f79b359b-1515-4436-a3bf-bae7b33e47b4",
|
|
122
|
+
* "s3uri": "s3://mybucketname/pathelemene/file.csv",
|
|
123
|
+
* "status": "IN_PROGRESS"
|
|
124
|
+
* }
|
|
125
|
+
* }
|
|
126
|
+
* *\/
|
|
127
|
+
* // example id: example-2
|
|
128
|
+
* ```
|
|
129
|
+
*
|
|
85
130
|
*/
|
|
86
131
|
export declare class GetBillOfMaterialsImportJobCommand extends GetBillOfMaterialsImportJobCommand_base {
|
|
87
132
|
}
|
|
@@ -0,0 +1,385 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { SendDataIntegrationEventRequest, SendDataIntegrationEventResponse } from "../models/models_0";
|
|
4
|
+
import { ServiceInputTypes, ServiceOutputTypes, SupplyChainClientResolvedConfig } from "../SupplyChainClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export { __MetadataBearer, $Command };
|
|
9
|
+
/**
|
|
10
|
+
* @public
|
|
11
|
+
*
|
|
12
|
+
* The input for {@link SendDataIntegrationEventCommand}.
|
|
13
|
+
*/
|
|
14
|
+
export interface SendDataIntegrationEventCommandInput extends SendDataIntegrationEventRequest {
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* @public
|
|
18
|
+
*
|
|
19
|
+
* The output of {@link SendDataIntegrationEventCommand}.
|
|
20
|
+
*/
|
|
21
|
+
export interface SendDataIntegrationEventCommandOutput extends SendDataIntegrationEventResponse, __MetadataBearer {
|
|
22
|
+
}
|
|
23
|
+
declare const SendDataIntegrationEventCommand_base: {
|
|
24
|
+
new (input: SendDataIntegrationEventCommandInput): import("@smithy/smithy-client").CommandImpl<SendDataIntegrationEventCommandInput, SendDataIntegrationEventCommandOutput, SupplyChainClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: SendDataIntegrationEventCommandInput): import("@smithy/smithy-client").CommandImpl<SendDataIntegrationEventCommandInput, SendDataIntegrationEventCommandOutput, SupplyChainClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* <p>Send transactional data events with real-time data for analysis or monitoring.</p>
|
|
30
|
+
* @example
|
|
31
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
32
|
+
* ```javascript
|
|
33
|
+
* import { SupplyChainClient, SendDataIntegrationEventCommand } from "@aws-sdk/client-supplychain"; // ES Modules import
|
|
34
|
+
* // const { SupplyChainClient, SendDataIntegrationEventCommand } = require("@aws-sdk/client-supplychain"); // CommonJS import
|
|
35
|
+
* const client = new SupplyChainClient(config);
|
|
36
|
+
* const input = { // SendDataIntegrationEventRequest
|
|
37
|
+
* instanceId: "STRING_VALUE", // required
|
|
38
|
+
* 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
|
+
* data: "STRING_VALUE", // required
|
|
40
|
+
* eventGroupId: "STRING_VALUE", // required
|
|
41
|
+
* eventTimestamp: new Date("TIMESTAMP"),
|
|
42
|
+
* clientToken: "STRING_VALUE",
|
|
43
|
+
* };
|
|
44
|
+
* const command = new SendDataIntegrationEventCommand(input);
|
|
45
|
+
* const response = await client.send(command);
|
|
46
|
+
* // { // SendDataIntegrationEventResponse
|
|
47
|
+
* // eventId: "STRING_VALUE", // required
|
|
48
|
+
* // };
|
|
49
|
+
*
|
|
50
|
+
* ```
|
|
51
|
+
*
|
|
52
|
+
* @param SendDataIntegrationEventCommandInput - {@link SendDataIntegrationEventCommandInput}
|
|
53
|
+
* @returns {@link SendDataIntegrationEventCommandOutput}
|
|
54
|
+
* @see {@link SendDataIntegrationEventCommandInput} for command's `input` shape.
|
|
55
|
+
* @see {@link SendDataIntegrationEventCommandOutput} for command's `response` shape.
|
|
56
|
+
* @see {@link SupplyChainClientResolvedConfig | config} for SupplyChainClient's `config` shape.
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
59
|
+
* <p>You do not have the required privileges to perform this action.</p>
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link ConflictException} (client fault)
|
|
62
|
+
* <p>Updating or deleting a resource can cause an inconsistent state.</p>
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link InternalServerException} (server fault)
|
|
65
|
+
* <p>Unexpected error during processing of request.</p>
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
68
|
+
* <p>Request references a resource which does not exist.</p>
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
71
|
+
* <p>Request would cause a service quota to be exceeded.</p>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
74
|
+
* <p>Request was denied due to request throttling.</p>
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link ValidationException} (client fault)
|
|
77
|
+
* <p>The input does not satisfy the constraints specified by an AWS service.</p>
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link SupplyChainServiceException}
|
|
80
|
+
* <p>Base exception class for all service exceptions from SupplyChain service.</p>
|
|
81
|
+
*
|
|
82
|
+
* @public
|
|
83
|
+
* @example Successful SendDataIntegrationEvent for inboundorder event type
|
|
84
|
+
* ```javascript
|
|
85
|
+
* //
|
|
86
|
+
* const input = {
|
|
87
|
+
* "data": "{\"id\": \"inbound-order-id-test-123\", \"tpartner_id\": \"partner-id-test-123\" }",
|
|
88
|
+
* "eventGroupId": "inboundOrderId",
|
|
89
|
+
* "eventTimestamp": 1515531081.123,
|
|
90
|
+
* "eventType": "scn.data.inboundorder",
|
|
91
|
+
* "instanceId": "8928ae12-15e5-4441-825d-ec2184f0a43a"
|
|
92
|
+
* };
|
|
93
|
+
* const command = new SendDataIntegrationEventCommand(input);
|
|
94
|
+
* const response = await client.send(command);
|
|
95
|
+
* /* response ==
|
|
96
|
+
* {
|
|
97
|
+
* "eventId": "c4132c1d-8f60-44a2-9932-f723c4f7b8a7"
|
|
98
|
+
* }
|
|
99
|
+
* *\/
|
|
100
|
+
* // example id: example-1
|
|
101
|
+
* ```
|
|
102
|
+
*
|
|
103
|
+
* @example Successful SendDataIntegrationEvent for inboundorderline event type
|
|
104
|
+
* ```javascript
|
|
105
|
+
* //
|
|
106
|
+
* const input = {
|
|
107
|
+
* "data": "{\"id\": \"inbound-order-line-id-test-123\", \"order_id\": \"order-id-test-123\", \"tpartner_id\": \"partner-id-test-123\", \"product_id\": \"product-id-test-123\", \"quantity_submitted\": \"100.0\" }",
|
|
108
|
+
* "eventGroupId": "inboundOrderLineId",
|
|
109
|
+
* "eventTimestamp": 1515531081.123,
|
|
110
|
+
* "eventType": "scn.data.inboundorderline",
|
|
111
|
+
* "instanceId": "8928ae12-15e5-4441-825d-ec2184f0a43a"
|
|
112
|
+
* };
|
|
113
|
+
* const command = new SendDataIntegrationEventCommand(input);
|
|
114
|
+
* const response = await client.send(command);
|
|
115
|
+
* /* response ==
|
|
116
|
+
* {
|
|
117
|
+
* "eventId": "45d95db2-d106-40e0-aa98-f1204230a691"
|
|
118
|
+
* }
|
|
119
|
+
* *\/
|
|
120
|
+
* // example id: example-2
|
|
121
|
+
* ```
|
|
122
|
+
*
|
|
123
|
+
* @example Successful SendDataIntegrationEvent for inboundorderlineschedule event type
|
|
124
|
+
* ```javascript
|
|
125
|
+
* //
|
|
126
|
+
* const input = {
|
|
127
|
+
* "data": "{\"id\": \"inbound-order-line-schedule-id-test-123\", \"order_id\": \"order-id-test-123\", \"order_line_id\": \"order-line-id-test-123\", \"product_id\": \"product-id-test-123\"}",
|
|
128
|
+
* "eventGroupId": "inboundOrderLineScheduleId",
|
|
129
|
+
* "eventTimestamp": 1515531081.123,
|
|
130
|
+
* "eventType": "scn.data.inboundorderlineschedule",
|
|
131
|
+
* "instanceId": "8928ae12-15e5-4441-825d-ec2184f0a43a"
|
|
132
|
+
* };
|
|
133
|
+
* const command = new SendDataIntegrationEventCommand(input);
|
|
134
|
+
* const response = await client.send(command);
|
|
135
|
+
* /* response ==
|
|
136
|
+
* {
|
|
137
|
+
* "eventId": "5abba995-7735-4d1e-95c4-7cc93e48cf9f"
|
|
138
|
+
* }
|
|
139
|
+
* *\/
|
|
140
|
+
* // example id: example-3
|
|
141
|
+
* ```
|
|
142
|
+
*
|
|
143
|
+
* @example Successful SendDataIntegrationEvent for forecast event type
|
|
144
|
+
* ```javascript
|
|
145
|
+
* //
|
|
146
|
+
* const input = {
|
|
147
|
+
* "data": "{\"snapshot_date\": \"1672470400000\", \"product_id\": \"product-id-test-123\", \"site_id\": \"site-id-test-123\", \"region_id\": \"region-id-test-123\", \"product_group_id\": \"product-group-id-test-123\", \"forecast_start_dttm\": \"1672470400000\", \"forecast_end_dttm\": \"1672470400000\" }",
|
|
148
|
+
* "eventGroupId": "forecastId",
|
|
149
|
+
* "eventTimestamp": 1515531081.123,
|
|
150
|
+
* "eventType": "scn.data.forecast",
|
|
151
|
+
* "instanceId": "8928ae12-15e5-4441-825d-ec2184f0a43a"
|
|
152
|
+
* };
|
|
153
|
+
* const command = new SendDataIntegrationEventCommand(input);
|
|
154
|
+
* const response = await client.send(command);
|
|
155
|
+
* /* response ==
|
|
156
|
+
* {
|
|
157
|
+
* "eventId": "29312d5b-f499-4dcd-b017-3dab3cd34d61"
|
|
158
|
+
* }
|
|
159
|
+
* *\/
|
|
160
|
+
* // example id: example-4
|
|
161
|
+
* ```
|
|
162
|
+
*
|
|
163
|
+
* @example Successful SendDataIntegrationEvent for inventorylevel event type
|
|
164
|
+
* ```javascript
|
|
165
|
+
* //
|
|
166
|
+
* const input = {
|
|
167
|
+
* "data": "{\"snapshot_date\": \"1672470400000\", \"site_id\": \"site-id-test-123\", \"product_id\": \"product-id-test-123\", \"on_hand_inventory\": \"100.0\", \"inv_condition\": \"good\", \"lot_number\": \"lot-number-test-123\"}",
|
|
168
|
+
* "eventGroupId": "inventoryLevelId",
|
|
169
|
+
* "eventTimestamp": 1515531081.123,
|
|
170
|
+
* "eventType": "scn.data.inventorylevel",
|
|
171
|
+
* "instanceId": "8928ae12-15e5-4441-825d-ec2184f0a43a"
|
|
172
|
+
* };
|
|
173
|
+
* const command = new SendDataIntegrationEventCommand(input);
|
|
174
|
+
* const response = await client.send(command);
|
|
175
|
+
* /* response ==
|
|
176
|
+
* {
|
|
177
|
+
* "eventId": "3aa78324-acd8-4fdd-a19e-231ea003c2b3"
|
|
178
|
+
* }
|
|
179
|
+
* *\/
|
|
180
|
+
* // example id: example-5
|
|
181
|
+
* ```
|
|
182
|
+
*
|
|
183
|
+
* @example Successful SendDataIntegrationEvent for outboundorderline event type
|
|
184
|
+
* ```javascript
|
|
185
|
+
* //
|
|
186
|
+
* const input = {
|
|
187
|
+
* "data": "{\"id\": \"outbound-orderline-id-test-123\", \"cust_order_id\": \"cust-order-id-test-123\", \"product_id\": \"product-id-test-123\" }",
|
|
188
|
+
* "eventGroupId": "outboundOrderLineId",
|
|
189
|
+
* "eventTimestamp": 1515531081.123,
|
|
190
|
+
* "eventType": "scn.data.outboundorderline",
|
|
191
|
+
* "instanceId": "8928ae12-15e5-4441-825d-ec2184f0a43a"
|
|
192
|
+
* };
|
|
193
|
+
* const command = new SendDataIntegrationEventCommand(input);
|
|
194
|
+
* const response = await client.send(command);
|
|
195
|
+
* /* response ==
|
|
196
|
+
* {
|
|
197
|
+
* "eventId": "959b7ef9-5e2d-4795-b1ca-5b16a3eb6b89"
|
|
198
|
+
* }
|
|
199
|
+
* *\/
|
|
200
|
+
* // example id: example-6
|
|
201
|
+
* ```
|
|
202
|
+
*
|
|
203
|
+
* @example Successful SendDataIntegrationEvent for outboundshipment event type
|
|
204
|
+
* ```javascript
|
|
205
|
+
* //
|
|
206
|
+
* const input = {
|
|
207
|
+
* "data": "{\"id\": \"outbound-shipment-id-test-123\", \"cust_order_id\": \"cust-order-id-test-123\", \"cust_order_line_id\": \"cust-order-line-id-test-123\", \"product_id\": \"product-id-test-123\" }",
|
|
208
|
+
* "eventGroupId": "outboundShipmentId",
|
|
209
|
+
* "eventTimestamp": 1515531081.123,
|
|
210
|
+
* "eventType": "scn.data.outboundshipment",
|
|
211
|
+
* "instanceId": "8928ae12-15e5-4441-825d-ec2184f0a43a"
|
|
212
|
+
* };
|
|
213
|
+
* const command = new SendDataIntegrationEventCommand(input);
|
|
214
|
+
* const response = await client.send(command);
|
|
215
|
+
* /* response ==
|
|
216
|
+
* {
|
|
217
|
+
* "eventId": "59feded3-5e46-4126-81bf-0137ca176ee0"
|
|
218
|
+
* }
|
|
219
|
+
* *\/
|
|
220
|
+
* // example id: example-7
|
|
221
|
+
* ```
|
|
222
|
+
*
|
|
223
|
+
* @example Successful SendDataIntegrationEvent for processheader event type
|
|
224
|
+
* ```javascript
|
|
225
|
+
* //
|
|
226
|
+
* const input = {
|
|
227
|
+
* "data": "{\"process_id\": \"process-id-test-123\" }",
|
|
228
|
+
* "eventGroupId": "processHeaderId",
|
|
229
|
+
* "eventTimestamp": 1515531081.123,
|
|
230
|
+
* "eventType": "scn.data.processheader",
|
|
231
|
+
* "instanceId": "8928ae12-15e5-4441-825d-ec2184f0a43a"
|
|
232
|
+
* };
|
|
233
|
+
* const command = new SendDataIntegrationEventCommand(input);
|
|
234
|
+
* const response = await client.send(command);
|
|
235
|
+
* /* response ==
|
|
236
|
+
* {
|
|
237
|
+
* "eventId": "564130eb-2d8a-4550-a768-ddf0daf7b4a9"
|
|
238
|
+
* }
|
|
239
|
+
* *\/
|
|
240
|
+
* // example id: example-8
|
|
241
|
+
* ```
|
|
242
|
+
*
|
|
243
|
+
* @example Successful SendDataIntegrationEvent for processoperation event type
|
|
244
|
+
* ```javascript
|
|
245
|
+
* //
|
|
246
|
+
* const input = {
|
|
247
|
+
* "data": "{\"process_operation_id\": \"process-operation-id-test-123\", \"process_id\": \"process-id-test-123\" }",
|
|
248
|
+
* "eventGroupId": "processOperationId",
|
|
249
|
+
* "eventTimestamp": 1515531081.123,
|
|
250
|
+
* "eventType": "scn.data.processoperation",
|
|
251
|
+
* "instanceId": "8928ae12-15e5-4441-825d-ec2184f0a43a"
|
|
252
|
+
* };
|
|
253
|
+
* const command = new SendDataIntegrationEventCommand(input);
|
|
254
|
+
* const response = await client.send(command);
|
|
255
|
+
* /* response ==
|
|
256
|
+
* {
|
|
257
|
+
* "eventId": "db5df408-89c7-4b9f-a326-016f6c2b3396"
|
|
258
|
+
* }
|
|
259
|
+
* *\/
|
|
260
|
+
* // example id: example-9
|
|
261
|
+
* ```
|
|
262
|
+
*
|
|
263
|
+
* @example Successful SendDataIntegrationEvent for processproduct event type
|
|
264
|
+
* ```javascript
|
|
265
|
+
* //
|
|
266
|
+
* const input = {
|
|
267
|
+
* "data": "{\"process_product_id\": \"process-product-id-test-123\", \"process_id\": \"process-id-test-123\" }",
|
|
268
|
+
* "eventGroupId": "processProductId",
|
|
269
|
+
* "eventTimestamp": 1515531081.123,
|
|
270
|
+
* "eventType": "scn.data.processproduct",
|
|
271
|
+
* "instanceId": "8928ae12-15e5-4441-825d-ec2184f0a43a"
|
|
272
|
+
* };
|
|
273
|
+
* const command = new SendDataIntegrationEventCommand(input);
|
|
274
|
+
* const response = await client.send(command);
|
|
275
|
+
* /* response ==
|
|
276
|
+
* {
|
|
277
|
+
* "eventId": "6929b275-485e-4035-a798-99077ca6d669"
|
|
278
|
+
* }
|
|
279
|
+
* *\/
|
|
280
|
+
* // example id: example-10
|
|
281
|
+
* ```
|
|
282
|
+
*
|
|
283
|
+
* @example Successful SendDataIntegrationEvent for reservation event type
|
|
284
|
+
* ```javascript
|
|
285
|
+
* //
|
|
286
|
+
* const input = {
|
|
287
|
+
* "data": "{\"reservation_id\": \"reservation-id-test-123\", \"reservation_detail_id\": \"reservation-detail-id-test-123\" }",
|
|
288
|
+
* "eventGroupId": "reservationId",
|
|
289
|
+
* "eventTimestamp": 1515531081.123,
|
|
290
|
+
* "eventType": "scn.data.reservation",
|
|
291
|
+
* "instanceId": "8928ae12-15e5-4441-825d-ec2184f0a43a"
|
|
292
|
+
* };
|
|
293
|
+
* const command = new SendDataIntegrationEventCommand(input);
|
|
294
|
+
* const response = await client.send(command);
|
|
295
|
+
* /* response ==
|
|
296
|
+
* {
|
|
297
|
+
* "eventId": "f6c55a8b-fde2-44f6-848a-9b4336c77209"
|
|
298
|
+
* }
|
|
299
|
+
* *\/
|
|
300
|
+
* // example id: example-11
|
|
301
|
+
* ```
|
|
302
|
+
*
|
|
303
|
+
* @example Successful SendDataIntegrationEvent for shipment event type
|
|
304
|
+
* ```javascript
|
|
305
|
+
* //
|
|
306
|
+
* const input = {
|
|
307
|
+
* "data": "{\"id\": \"shipment-id-test-123\", \"supplier_tpartner_id\": \"supplier-tpartner-id-test-123\", \"product_id\": \"product-id-test-123\", \"order_id\": \"order-id-test-123\", \"order_line_id\": \"order-line-id-test-123\", \"package_id\": \"package-id-test-123\" }",
|
|
308
|
+
* "eventGroupId": "shipmentId",
|
|
309
|
+
* "eventTimestamp": 1515531081.123,
|
|
310
|
+
* "eventType": "scn.data.shipment",
|
|
311
|
+
* "instanceId": "8928ae12-15e5-4441-825d-ec2184f0a43a"
|
|
312
|
+
* };
|
|
313
|
+
* const command = new SendDataIntegrationEventCommand(input);
|
|
314
|
+
* const response = await client.send(command);
|
|
315
|
+
* /* response ==
|
|
316
|
+
* {
|
|
317
|
+
* "eventId": "61d079d8-3f56-49bb-b35a-c0271a4e4f0a"
|
|
318
|
+
* }
|
|
319
|
+
* *\/
|
|
320
|
+
* // example id: example-12
|
|
321
|
+
* ```
|
|
322
|
+
*
|
|
323
|
+
* @example Successful SendDataIntegrationEvent for shipmentstop event type
|
|
324
|
+
* ```javascript
|
|
325
|
+
* //
|
|
326
|
+
* const input = {
|
|
327
|
+
* "data": "{\"shipment_stop_id\": \"shipment-stop-id-test-123\", \"shipment_id\": \"shipment-id-test-123\" }",
|
|
328
|
+
* "eventGroupId": "shipmentStopId",
|
|
329
|
+
* "eventTimestamp": 1515531081.123,
|
|
330
|
+
* "eventType": "scn.data.shipmentstop",
|
|
331
|
+
* "instanceId": "8928ae12-15e5-4441-825d-ec2184f0a43a"
|
|
332
|
+
* };
|
|
333
|
+
* const command = new SendDataIntegrationEventCommand(input);
|
|
334
|
+
* const response = await client.send(command);
|
|
335
|
+
* /* response ==
|
|
336
|
+
* {
|
|
337
|
+
* "eventId": "3610992a-fc2f-4da4-9beb-724994622ba1"
|
|
338
|
+
* }
|
|
339
|
+
* *\/
|
|
340
|
+
* // example id: example-13
|
|
341
|
+
* ```
|
|
342
|
+
*
|
|
343
|
+
* @example Successful SendDataIntegrationEvent for shipmentstoporder event type
|
|
344
|
+
* ```javascript
|
|
345
|
+
* //
|
|
346
|
+
* const input = {
|
|
347
|
+
* "data": "{\"shipment_stop_order_id\": \"shipment-stop-order-id-test-123\", \"shipment_stop_id\": \"shipment-stop-id-test-123\", \"shipment_id\": \"shipment-id-test-123\" }",
|
|
348
|
+
* "eventGroupId": "shipmentStopOrderId",
|
|
349
|
+
* "eventTimestamp": 1515531081.123,
|
|
350
|
+
* "eventType": "scn.data.shipmentstoporder",
|
|
351
|
+
* "instanceId": "8928ae12-15e5-4441-825d-ec2184f0a43a"
|
|
352
|
+
* };
|
|
353
|
+
* const command = new SendDataIntegrationEventCommand(input);
|
|
354
|
+
* const response = await client.send(command);
|
|
355
|
+
* /* response ==
|
|
356
|
+
* {
|
|
357
|
+
* "eventId": "1d550a60-9321-4d25-a132-9dd4b2d9e934"
|
|
358
|
+
* }
|
|
359
|
+
* *\/
|
|
360
|
+
* // example id: example-14
|
|
361
|
+
* ```
|
|
362
|
+
*
|
|
363
|
+
* @example Successful SendDataIntegrationEvent for supplyplan event type
|
|
364
|
+
* ```javascript
|
|
365
|
+
* //
|
|
366
|
+
* const input = {
|
|
367
|
+
* "data": "{\"supply_plan_id\": \"supply-plan-id-test-123\" }",
|
|
368
|
+
* "eventGroupId": "supplyPlanId",
|
|
369
|
+
* "eventTimestamp": 1515531081.123,
|
|
370
|
+
* "eventType": "scn.data.supplyplan",
|
|
371
|
+
* "instanceId": "8928ae12-15e5-4441-825d-ec2184f0a43a"
|
|
372
|
+
* };
|
|
373
|
+
* const command = new SendDataIntegrationEventCommand(input);
|
|
374
|
+
* const response = await client.send(command);
|
|
375
|
+
* /* response ==
|
|
376
|
+
* {
|
|
377
|
+
* "eventId": "9abaee56-5dc4-4c31-8250-3206a651d8a1"
|
|
378
|
+
* }
|
|
379
|
+
* *\/
|
|
380
|
+
* // example id: example-15
|
|
381
|
+
* ```
|
|
382
|
+
*
|
|
383
|
+
*/
|
|
384
|
+
export declare class SendDataIntegrationEventCommand extends SendDataIntegrationEventCommand_base {
|
|
385
|
+
}
|
|
@@ -193,3 +193,79 @@ export interface GetBillOfMaterialsImportJobResponse {
|
|
|
193
193
|
*/
|
|
194
194
|
job: BillOfMaterialsImportJob | undefined;
|
|
195
195
|
}
|
|
196
|
+
/**
|
|
197
|
+
* @public
|
|
198
|
+
* @enum
|
|
199
|
+
*/
|
|
200
|
+
export declare const DataIntegrationEventType: {
|
|
201
|
+
readonly FORECAST: "scn.data.forecast";
|
|
202
|
+
readonly INBOUND_ORDER: "scn.data.inboundorder";
|
|
203
|
+
readonly INBOUND_ORDER_LINE: "scn.data.inboundorderline";
|
|
204
|
+
readonly INBOUND_ORDER_LINE_SCHEDULE: "scn.data.inboundorderlineschedule";
|
|
205
|
+
readonly INVENTORY_LEVEL: "scn.data.inventorylevel";
|
|
206
|
+
readonly OUTBOUND_ORDER_LINE: "scn.data.outboundorderline";
|
|
207
|
+
readonly OUTBOUND_SHIPMENT: "scn.data.outboundshipment";
|
|
208
|
+
readonly PROCESS_HEADER: "scn.data.processheader";
|
|
209
|
+
readonly PROCESS_OPERATION: "scn.data.processoperation";
|
|
210
|
+
readonly PROCESS_PRODUCT: "scn.data.processproduct";
|
|
211
|
+
readonly RESERVATION: "scn.data.reservation";
|
|
212
|
+
readonly SHIPMENT: "scn.data.shipment";
|
|
213
|
+
readonly SHIPMENT_STOP: "scn.data.shipmentstop";
|
|
214
|
+
readonly SHIPMENT_STOP_ORDER: "scn.data.shipmentstoporder";
|
|
215
|
+
readonly SUPPLY_PLAN: "scn.data.supplyplan";
|
|
216
|
+
};
|
|
217
|
+
/**
|
|
218
|
+
* @public
|
|
219
|
+
*/
|
|
220
|
+
export type DataIntegrationEventType = (typeof DataIntegrationEventType)[keyof typeof DataIntegrationEventType];
|
|
221
|
+
/**
|
|
222
|
+
* <p>The request parameters for SendDataIntegrationEvent.</p>
|
|
223
|
+
* @public
|
|
224
|
+
*/
|
|
225
|
+
export interface SendDataIntegrationEventRequest {
|
|
226
|
+
/**
|
|
227
|
+
* <p>The AWS Supply Chain instance identifier.</p>
|
|
228
|
+
* @public
|
|
229
|
+
*/
|
|
230
|
+
instanceId: string | undefined;
|
|
231
|
+
/**
|
|
232
|
+
* <p>The data event type.</p>
|
|
233
|
+
* @public
|
|
234
|
+
*/
|
|
235
|
+
eventType: DataIntegrationEventType | undefined;
|
|
236
|
+
/**
|
|
237
|
+
* <p>The data payload of the event.</p>
|
|
238
|
+
* @public
|
|
239
|
+
*/
|
|
240
|
+
data: string | undefined;
|
|
241
|
+
/**
|
|
242
|
+
* <p>Event identifier (for example, orderId for InboundOrder) used for data sharing or partitioning.</p>
|
|
243
|
+
* @public
|
|
244
|
+
*/
|
|
245
|
+
eventGroupId: string | undefined;
|
|
246
|
+
/**
|
|
247
|
+
* <p>The event timestamp (in epoch seconds).</p>
|
|
248
|
+
* @public
|
|
249
|
+
*/
|
|
250
|
+
eventTimestamp?: Date;
|
|
251
|
+
/**
|
|
252
|
+
* <p>The idempotent client token.</p>
|
|
253
|
+
* @public
|
|
254
|
+
*/
|
|
255
|
+
clientToken?: string;
|
|
256
|
+
}
|
|
257
|
+
/**
|
|
258
|
+
* <p>The response parameters for SendDataIntegrationEvent.</p>
|
|
259
|
+
* @public
|
|
260
|
+
*/
|
|
261
|
+
export interface SendDataIntegrationEventResponse {
|
|
262
|
+
/**
|
|
263
|
+
* <p>The unique event identifier.</p>
|
|
264
|
+
* @public
|
|
265
|
+
*/
|
|
266
|
+
eventId: string | undefined;
|
|
267
|
+
}
|
|
268
|
+
/**
|
|
269
|
+
* @internal
|
|
270
|
+
*/
|
|
271
|
+
export declare const SendDataIntegrationEventRequestFilterSensitiveLog: (obj: SendDataIntegrationEventRequest) => any;
|
|
@@ -2,6 +2,7 @@ import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@s
|
|
|
2
2
|
import { SerdeContext as __SerdeContext } from "@smithy/types";
|
|
3
3
|
import { CreateBillOfMaterialsImportJobCommandInput, CreateBillOfMaterialsImportJobCommandOutput } from "../commands/CreateBillOfMaterialsImportJobCommand";
|
|
4
4
|
import { GetBillOfMaterialsImportJobCommandInput, GetBillOfMaterialsImportJobCommandOutput } from "../commands/GetBillOfMaterialsImportJobCommand";
|
|
5
|
+
import { SendDataIntegrationEventCommandInput, SendDataIntegrationEventCommandOutput } from "../commands/SendDataIntegrationEventCommand";
|
|
5
6
|
/**
|
|
6
7
|
* serializeAws_restJson1CreateBillOfMaterialsImportJobCommand
|
|
7
8
|
*/
|
|
@@ -10,6 +11,10 @@ export declare const se_CreateBillOfMaterialsImportJobCommand: (input: CreateBil
|
|
|
10
11
|
* serializeAws_restJson1GetBillOfMaterialsImportJobCommand
|
|
11
12
|
*/
|
|
12
13
|
export declare const se_GetBillOfMaterialsImportJobCommand: (input: GetBillOfMaterialsImportJobCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
14
|
+
/**
|
|
15
|
+
* serializeAws_restJson1SendDataIntegrationEventCommand
|
|
16
|
+
*/
|
|
17
|
+
export declare const se_SendDataIntegrationEventCommand: (input: SendDataIntegrationEventCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
13
18
|
/**
|
|
14
19
|
* deserializeAws_restJson1CreateBillOfMaterialsImportJobCommand
|
|
15
20
|
*/
|
|
@@ -18,3 +23,7 @@ export declare const de_CreateBillOfMaterialsImportJobCommand: (output: __HttpRe
|
|
|
18
23
|
* deserializeAws_restJson1GetBillOfMaterialsImportJobCommand
|
|
19
24
|
*/
|
|
20
25
|
export declare const de_GetBillOfMaterialsImportJobCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetBillOfMaterialsImportJobCommandOutput>;
|
|
26
|
+
/**
|
|
27
|
+
* deserializeAws_restJson1SendDataIntegrationEventCommand
|
|
28
|
+
*/
|
|
29
|
+
export declare const de_SendDataIntegrationEventCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<SendDataIntegrationEventCommandOutput>;
|
|
@@ -7,6 +7,10 @@ import {
|
|
|
7
7
|
GetBillOfMaterialsImportJobCommandInput,
|
|
8
8
|
GetBillOfMaterialsImportJobCommandOutput,
|
|
9
9
|
} from "./commands/GetBillOfMaterialsImportJobCommand";
|
|
10
|
+
import {
|
|
11
|
+
SendDataIntegrationEventCommandInput,
|
|
12
|
+
SendDataIntegrationEventCommandOutput,
|
|
13
|
+
} from "./commands/SendDataIntegrationEventCommand";
|
|
10
14
|
import { SupplyChainClient } from "./SupplyChainClient";
|
|
11
15
|
export interface SupplyChain {
|
|
12
16
|
createBillOfMaterialsImportJob(
|
|
@@ -35,6 +39,19 @@ export interface SupplyChain {
|
|
|
35
39
|
options: __HttpHandlerOptions,
|
|
36
40
|
cb: (err: any, data?: GetBillOfMaterialsImportJobCommandOutput) => void
|
|
37
41
|
): void;
|
|
42
|
+
sendDataIntegrationEvent(
|
|
43
|
+
args: SendDataIntegrationEventCommandInput,
|
|
44
|
+
options?: __HttpHandlerOptions
|
|
45
|
+
): Promise<SendDataIntegrationEventCommandOutput>;
|
|
46
|
+
sendDataIntegrationEvent(
|
|
47
|
+
args: SendDataIntegrationEventCommandInput,
|
|
48
|
+
cb: (err: any, data?: SendDataIntegrationEventCommandOutput) => void
|
|
49
|
+
): void;
|
|
50
|
+
sendDataIntegrationEvent(
|
|
51
|
+
args: SendDataIntegrationEventCommandInput,
|
|
52
|
+
options: __HttpHandlerOptions,
|
|
53
|
+
cb: (err: any, data?: SendDataIntegrationEventCommandOutput) => void
|
|
54
|
+
): void;
|
|
38
55
|
}
|
|
39
56
|
export declare class SupplyChain
|
|
40
57
|
extends SupplyChainClient
|
|
@@ -53,6 +53,10 @@ import {
|
|
|
53
53
|
GetBillOfMaterialsImportJobCommandInput,
|
|
54
54
|
GetBillOfMaterialsImportJobCommandOutput,
|
|
55
55
|
} from "./commands/GetBillOfMaterialsImportJobCommand";
|
|
56
|
+
import {
|
|
57
|
+
SendDataIntegrationEventCommandInput,
|
|
58
|
+
SendDataIntegrationEventCommandOutput,
|
|
59
|
+
} from "./commands/SendDataIntegrationEventCommand";
|
|
56
60
|
import {
|
|
57
61
|
ClientInputEndpointParameters,
|
|
58
62
|
ClientResolvedEndpointParameters,
|
|
@@ -62,10 +66,12 @@ import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
|
|
|
62
66
|
export { __Client };
|
|
63
67
|
export type ServiceInputTypes =
|
|
64
68
|
| CreateBillOfMaterialsImportJobCommandInput
|
|
65
|
-
| GetBillOfMaterialsImportJobCommandInput
|
|
69
|
+
| GetBillOfMaterialsImportJobCommandInput
|
|
70
|
+
| SendDataIntegrationEventCommandInput;
|
|
66
71
|
export type ServiceOutputTypes =
|
|
67
72
|
| CreateBillOfMaterialsImportJobCommandOutput
|
|
68
|
-
| GetBillOfMaterialsImportJobCommandOutput
|
|
73
|
+
| GetBillOfMaterialsImportJobCommandOutput
|
|
74
|
+
| SendDataIntegrationEventCommandOutput;
|
|
69
75
|
export interface ClientDefaults
|
|
70
76
|
extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
|
|
71
77
|
requestHandler?: __HttpHandlerUserInput;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
SendDataIntegrationEventRequest,
|
|
5
|
+
SendDataIntegrationEventResponse,
|
|
6
|
+
} from "../models/models_0";
|
|
7
|
+
import {
|
|
8
|
+
ServiceInputTypes,
|
|
9
|
+
ServiceOutputTypes,
|
|
10
|
+
SupplyChainClientResolvedConfig,
|
|
11
|
+
} from "../SupplyChainClient";
|
|
12
|
+
export { __MetadataBearer, $Command };
|
|
13
|
+
export interface SendDataIntegrationEventCommandInput
|
|
14
|
+
extends SendDataIntegrationEventRequest {}
|
|
15
|
+
export interface SendDataIntegrationEventCommandOutput
|
|
16
|
+
extends SendDataIntegrationEventResponse,
|
|
17
|
+
__MetadataBearer {}
|
|
18
|
+
declare const SendDataIntegrationEventCommand_base: {
|
|
19
|
+
new (
|
|
20
|
+
input: SendDataIntegrationEventCommandInput
|
|
21
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
22
|
+
SendDataIntegrationEventCommandInput,
|
|
23
|
+
SendDataIntegrationEventCommandOutput,
|
|
24
|
+
SupplyChainClientResolvedConfig,
|
|
25
|
+
ServiceInputTypes,
|
|
26
|
+
ServiceOutputTypes
|
|
27
|
+
>;
|
|
28
|
+
new (
|
|
29
|
+
__0_0: SendDataIntegrationEventCommandInput
|
|
30
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
31
|
+
SendDataIntegrationEventCommandInput,
|
|
32
|
+
SendDataIntegrationEventCommandOutput,
|
|
33
|
+
SupplyChainClientResolvedConfig,
|
|
34
|
+
ServiceInputTypes,
|
|
35
|
+
ServiceOutputTypes
|
|
36
|
+
>;
|
|
37
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
38
|
+
};
|
|
39
|
+
export declare class SendDataIntegrationEventCommand extends SendDataIntegrationEventCommand_base {}
|
|
@@ -82,3 +82,36 @@ export interface GetBillOfMaterialsImportJobRequest {
|
|
|
82
82
|
export interface GetBillOfMaterialsImportJobResponse {
|
|
83
83
|
job: BillOfMaterialsImportJob | undefined;
|
|
84
84
|
}
|
|
85
|
+
export declare const DataIntegrationEventType: {
|
|
86
|
+
readonly FORECAST: "scn.data.forecast";
|
|
87
|
+
readonly INBOUND_ORDER: "scn.data.inboundorder";
|
|
88
|
+
readonly INBOUND_ORDER_LINE: "scn.data.inboundorderline";
|
|
89
|
+
readonly INBOUND_ORDER_LINE_SCHEDULE: "scn.data.inboundorderlineschedule";
|
|
90
|
+
readonly INVENTORY_LEVEL: "scn.data.inventorylevel";
|
|
91
|
+
readonly OUTBOUND_ORDER_LINE: "scn.data.outboundorderline";
|
|
92
|
+
readonly OUTBOUND_SHIPMENT: "scn.data.outboundshipment";
|
|
93
|
+
readonly PROCESS_HEADER: "scn.data.processheader";
|
|
94
|
+
readonly PROCESS_OPERATION: "scn.data.processoperation";
|
|
95
|
+
readonly PROCESS_PRODUCT: "scn.data.processproduct";
|
|
96
|
+
readonly RESERVATION: "scn.data.reservation";
|
|
97
|
+
readonly SHIPMENT: "scn.data.shipment";
|
|
98
|
+
readonly SHIPMENT_STOP: "scn.data.shipmentstop";
|
|
99
|
+
readonly SHIPMENT_STOP_ORDER: "scn.data.shipmentstoporder";
|
|
100
|
+
readonly SUPPLY_PLAN: "scn.data.supplyplan";
|
|
101
|
+
};
|
|
102
|
+
export type DataIntegrationEventType =
|
|
103
|
+
(typeof DataIntegrationEventType)[keyof typeof DataIntegrationEventType];
|
|
104
|
+
export interface SendDataIntegrationEventRequest {
|
|
105
|
+
instanceId: string | undefined;
|
|
106
|
+
eventType: DataIntegrationEventType | undefined;
|
|
107
|
+
data: string | undefined;
|
|
108
|
+
eventGroupId: string | undefined;
|
|
109
|
+
eventTimestamp?: Date;
|
|
110
|
+
clientToken?: string;
|
|
111
|
+
}
|
|
112
|
+
export interface SendDataIntegrationEventResponse {
|
|
113
|
+
eventId: string | undefined;
|
|
114
|
+
}
|
|
115
|
+
export declare const SendDataIntegrationEventRequestFilterSensitiveLog: (
|
|
116
|
+
obj: SendDataIntegrationEventRequest
|
|
117
|
+
) => any;
|
|
@@ -11,6 +11,10 @@ import {
|
|
|
11
11
|
GetBillOfMaterialsImportJobCommandInput,
|
|
12
12
|
GetBillOfMaterialsImportJobCommandOutput,
|
|
13
13
|
} from "../commands/GetBillOfMaterialsImportJobCommand";
|
|
14
|
+
import {
|
|
15
|
+
SendDataIntegrationEventCommandInput,
|
|
16
|
+
SendDataIntegrationEventCommandOutput,
|
|
17
|
+
} from "../commands/SendDataIntegrationEventCommand";
|
|
14
18
|
export declare const se_CreateBillOfMaterialsImportJobCommand: (
|
|
15
19
|
input: CreateBillOfMaterialsImportJobCommandInput,
|
|
16
20
|
context: __SerdeContext
|
|
@@ -19,6 +23,10 @@ export declare const se_GetBillOfMaterialsImportJobCommand: (
|
|
|
19
23
|
input: GetBillOfMaterialsImportJobCommandInput,
|
|
20
24
|
context: __SerdeContext
|
|
21
25
|
) => Promise<__HttpRequest>;
|
|
26
|
+
export declare const se_SendDataIntegrationEventCommand: (
|
|
27
|
+
input: SendDataIntegrationEventCommandInput,
|
|
28
|
+
context: __SerdeContext
|
|
29
|
+
) => Promise<__HttpRequest>;
|
|
22
30
|
export declare const de_CreateBillOfMaterialsImportJobCommand: (
|
|
23
31
|
output: __HttpResponse,
|
|
24
32
|
context: __SerdeContext
|
|
@@ -27,3 +35,7 @@ export declare const de_GetBillOfMaterialsImportJobCommand: (
|
|
|
27
35
|
output: __HttpResponse,
|
|
28
36
|
context: __SerdeContext
|
|
29
37
|
) => Promise<GetBillOfMaterialsImportJobCommandOutput>;
|
|
38
|
+
export declare const de_SendDataIntegrationEventCommand: (
|
|
39
|
+
output: __HttpResponse,
|
|
40
|
+
context: __SerdeContext
|
|
41
|
+
) => Promise<SendDataIntegrationEventCommandOutput>;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-supplychain",
|
|
3
3
|
"description": "AWS SDK for JavaScript Supplychain Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.554.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-supplychain",
|
|
@@ -20,9 +20,9 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
-
"@aws-sdk/core": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/client-sts": "3.554.0",
|
|
24
|
+
"@aws-sdk/core": "3.554.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.554.0",
|
|
26
26
|
"@aws-sdk/middleware-host-header": "3.535.0",
|
|
27
27
|
"@aws-sdk/middleware-logger": "3.535.0",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "3.535.0",
|