@aws-sdk/client-supplychain 3.928.0 → 3.929.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (54) hide show
  1. package/dist-cjs/index.js +1426 -1364
  2. package/dist-cjs/runtimeConfig.shared.js +2 -0
  3. package/dist-es/SupplyChainClient.js +2 -0
  4. package/dist-es/commands/CreateBillOfMaterialsImportJobCommand.js +3 -9
  5. package/dist-es/commands/CreateDataIntegrationFlowCommand.js +3 -10
  6. package/dist-es/commands/CreateDataLakeDatasetCommand.js +3 -9
  7. package/dist-es/commands/CreateDataLakeNamespaceCommand.js +3 -9
  8. package/dist-es/commands/CreateInstanceCommand.js +3 -9
  9. package/dist-es/commands/DeleteDataIntegrationFlowCommand.js +3 -9
  10. package/dist-es/commands/DeleteDataLakeDatasetCommand.js +3 -9
  11. package/dist-es/commands/DeleteDataLakeNamespaceCommand.js +3 -9
  12. package/dist-es/commands/DeleteInstanceCommand.js +3 -9
  13. package/dist-es/commands/GetBillOfMaterialsImportJobCommand.js +3 -9
  14. package/dist-es/commands/GetDataIntegrationEventCommand.js +3 -9
  15. package/dist-es/commands/GetDataIntegrationFlowCommand.js +3 -10
  16. package/dist-es/commands/GetDataIntegrationFlowExecutionCommand.js +3 -9
  17. package/dist-es/commands/GetDataLakeDatasetCommand.js +3 -9
  18. package/dist-es/commands/GetDataLakeNamespaceCommand.js +3 -9
  19. package/dist-es/commands/GetInstanceCommand.js +3 -9
  20. package/dist-es/commands/ListDataIntegrationEventsCommand.js +3 -9
  21. package/dist-es/commands/ListDataIntegrationFlowExecutionsCommand.js +3 -9
  22. package/dist-es/commands/ListDataIntegrationFlowsCommand.js +3 -10
  23. package/dist-es/commands/ListDataLakeDatasetsCommand.js +3 -9
  24. package/dist-es/commands/ListDataLakeNamespacesCommand.js +3 -9
  25. package/dist-es/commands/ListInstancesCommand.js +3 -9
  26. package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
  27. package/dist-es/commands/SendDataIntegrationEventCommand.js +3 -10
  28. package/dist-es/commands/TagResourceCommand.js +3 -9
  29. package/dist-es/commands/UntagResourceCommand.js +3 -9
  30. package/dist-es/commands/UpdateDataIntegrationFlowCommand.js +3 -10
  31. package/dist-es/commands/UpdateDataLakeDatasetCommand.js +3 -9
  32. package/dist-es/commands/UpdateDataLakeNamespaceCommand.js +3 -9
  33. package/dist-es/commands/UpdateInstanceCommand.js +3 -9
  34. package/dist-es/models/models_0.js +0 -45
  35. package/dist-es/runtimeConfig.shared.js +2 -0
  36. package/dist-es/schemas/schemas_0.js +1354 -0
  37. package/dist-types/SupplyChainClient.d.ts +10 -1
  38. package/dist-types/models/models_0.d.ts +0 -36
  39. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  40. package/dist-types/runtimeConfig.d.ts +1 -0
  41. package/dist-types/runtimeConfig.native.d.ts +1 -0
  42. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  43. package/dist-types/schemas/schemas_0.d.ts +150 -0
  44. package/dist-types/ts3.4/SupplyChainClient.d.ts +4 -0
  45. package/dist-types/ts3.4/models/models_0.d.ts +0 -27
  46. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  47. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  48. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  49. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  50. package/dist-types/ts3.4/schemas/schemas_0.d.ts +156 -0
  51. package/package.json +2 -3
  52. package/dist-es/protocols/Aws_restJson1.js +0 -1087
  53. package/dist-types/protocols/Aws_restJson1.d.ts +0 -272
  54. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -365
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListTagsForResourceCommand, se_ListTagsForResourceCommand } from "../protocols/Aws_restJson1";
4
+ import { ListTagsForResource } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListTagsForResourceCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("GalaxyPublicAPIGateway", "ListTagsForResource", {})
17
13
  .n("SupplyChainClient", "ListTagsForResourceCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListTagsForResourceCommand)
20
- .de(de_ListTagsForResourceCommand)
14
+ .sc(ListTagsForResource)
21
15
  .build() {
22
16
  }
@@ -1,23 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { SendDataIntegrationEventRequestFilterSensitiveLog, } from "../models/models_0";
6
- import { de_SendDataIntegrationEventCommand, se_SendDataIntegrationEventCommand } from "../protocols/Aws_restJson1";
4
+ import { SendDataIntegrationEvent } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class SendDataIntegrationEventCommand extends $Command
9
7
  .classBuilder()
10
8
  .ep(commonParams)
11
9
  .m(function (Command, cs, config, o) {
12
- return [
13
- getSerdePlugin(config, this.serialize, this.deserialize),
14
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
15
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
16
11
  })
17
12
  .s("GalaxyPublicAPIGateway", "SendDataIntegrationEvent", {})
18
13
  .n("SupplyChainClient", "SendDataIntegrationEventCommand")
19
- .f(SendDataIntegrationEventRequestFilterSensitiveLog, void 0)
20
- .ser(se_SendDataIntegrationEventCommand)
21
- .de(de_SendDataIntegrationEventCommand)
14
+ .sc(SendDataIntegrationEvent)
22
15
  .build() {
23
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_restJson1";
4
+ import { TagResource } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class TagResourceCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("GalaxyPublicAPIGateway", "TagResource", {})
17
13
  .n("SupplyChainClient", "TagResourceCommand")
18
- .f(void 0, void 0)
19
- .ser(se_TagResourceCommand)
20
- .de(de_TagResourceCommand)
14
+ .sc(TagResource)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/Aws_restJson1";
4
+ import { UntagResource } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UntagResourceCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("GalaxyPublicAPIGateway", "UntagResource", {})
17
13
  .n("SupplyChainClient", "UntagResourceCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UntagResourceCommand)
20
- .de(de_UntagResourceCommand)
14
+ .sc(UntagResource)
21
15
  .build() {
22
16
  }
@@ -1,23 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { UpdateDataIntegrationFlowRequestFilterSensitiveLog, UpdateDataIntegrationFlowResponseFilterSensitiveLog, } from "../models/models_0";
6
- import { de_UpdateDataIntegrationFlowCommand, se_UpdateDataIntegrationFlowCommand } from "../protocols/Aws_restJson1";
4
+ import { UpdateDataIntegrationFlow } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class UpdateDataIntegrationFlowCommand extends $Command
9
7
  .classBuilder()
10
8
  .ep(commonParams)
11
9
  .m(function (Command, cs, config, o) {
12
- return [
13
- getSerdePlugin(config, this.serialize, this.deserialize),
14
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
15
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
16
11
  })
17
12
  .s("GalaxyPublicAPIGateway", "UpdateDataIntegrationFlow", {})
18
13
  .n("SupplyChainClient", "UpdateDataIntegrationFlowCommand")
19
- .f(UpdateDataIntegrationFlowRequestFilterSensitiveLog, UpdateDataIntegrationFlowResponseFilterSensitiveLog)
20
- .ser(se_UpdateDataIntegrationFlowCommand)
21
- .de(de_UpdateDataIntegrationFlowCommand)
14
+ .sc(UpdateDataIntegrationFlow)
22
15
  .build() {
23
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_UpdateDataLakeDatasetCommand, se_UpdateDataLakeDatasetCommand } from "../protocols/Aws_restJson1";
4
+ import { UpdateDataLakeDataset } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateDataLakeDatasetCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("GalaxyPublicAPIGateway", "UpdateDataLakeDataset", {})
17
13
  .n("SupplyChainClient", "UpdateDataLakeDatasetCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateDataLakeDatasetCommand)
20
- .de(de_UpdateDataLakeDatasetCommand)
14
+ .sc(UpdateDataLakeDataset)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_UpdateDataLakeNamespaceCommand, se_UpdateDataLakeNamespaceCommand } from "../protocols/Aws_restJson1";
4
+ import { UpdateDataLakeNamespace } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateDataLakeNamespaceCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("GalaxyPublicAPIGateway", "UpdateDataLakeNamespace", {})
17
13
  .n("SupplyChainClient", "UpdateDataLakeNamespaceCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateDataLakeNamespaceCommand)
20
- .de(de_UpdateDataLakeNamespaceCommand)
14
+ .sc(UpdateDataLakeNamespace)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_UpdateInstanceCommand, se_UpdateInstanceCommand } from "../protocols/Aws_restJson1";
4
+ import { UpdateInstance } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateInstanceCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("GalaxyPublicAPIGateway", "UpdateInstance", {})
17
13
  .n("SupplyChainClient", "UpdateInstanceCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateInstanceCommand)
20
- .de(de_UpdateInstanceCommand)
14
+ .sc(UpdateInstance)
21
15
  .build() {
22
16
  }
@@ -1,4 +1,3 @@
1
- import { SENSITIVE_STRING } from "@smithy/smithy-client";
2
1
  import { SupplyChainServiceException as __BaseException } from "./SupplyChainServiceException";
3
2
  export class AccessDeniedException extends __BaseException {
4
3
  name = "AccessDeniedException";
@@ -178,47 +177,3 @@ export const DataIntegrationFlowExecutionStatus = {
178
177
  IN_PROGRESS: "IN_PROGRESS",
179
178
  SUCCEEDED: "SUCCEEDED",
180
179
  };
181
- export const DataIntegrationFlowSQLTransformationConfigurationFilterSensitiveLog = (obj) => ({
182
- ...obj,
183
- ...(obj.query && { query: SENSITIVE_STRING }),
184
- });
185
- export const DataIntegrationFlowTransformationFilterSensitiveLog = (obj) => ({
186
- ...obj,
187
- ...(obj.sqlTransformation && {
188
- sqlTransformation: DataIntegrationFlowSQLTransformationConfigurationFilterSensitiveLog(obj.sqlTransformation),
189
- }),
190
- });
191
- export const CreateDataIntegrationFlowRequestFilterSensitiveLog = (obj) => ({
192
- ...obj,
193
- ...(obj.transformation && {
194
- transformation: DataIntegrationFlowTransformationFilterSensitiveLog(obj.transformation),
195
- }),
196
- });
197
- export const DataIntegrationFlowFilterSensitiveLog = (obj) => ({
198
- ...obj,
199
- ...(obj.transformation && {
200
- transformation: DataIntegrationFlowTransformationFilterSensitiveLog(obj.transformation),
201
- }),
202
- });
203
- export const GetDataIntegrationFlowResponseFilterSensitiveLog = (obj) => ({
204
- ...obj,
205
- ...(obj.flow && { flow: DataIntegrationFlowFilterSensitiveLog(obj.flow) }),
206
- });
207
- export const ListDataIntegrationFlowsResponseFilterSensitiveLog = (obj) => ({
208
- ...obj,
209
- ...(obj.flows && { flows: obj.flows.map((item) => DataIntegrationFlowFilterSensitiveLog(item)) }),
210
- });
211
- export const UpdateDataIntegrationFlowRequestFilterSensitiveLog = (obj) => ({
212
- ...obj,
213
- ...(obj.transformation && {
214
- transformation: DataIntegrationFlowTransformationFilterSensitiveLog(obj.transformation),
215
- }),
216
- });
217
- export const UpdateDataIntegrationFlowResponseFilterSensitiveLog = (obj) => ({
218
- ...obj,
219
- ...(obj.flow && { flow: DataIntegrationFlowFilterSensitiveLog(obj.flow) }),
220
- });
221
- export const SendDataIntegrationEventRequestFilterSensitiveLog = (obj) => ({
222
- ...obj,
223
- ...(obj.data && { data: SENSITIVE_STRING }),
224
- });
@@ -1,4 +1,5 @@
1
1
  import { AwsSdkSigV4Signer } from "@aws-sdk/core";
2
+ import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
2
3
  import { NoOpLogger } from "@smithy/smithy-client";
3
4
  import { parseUrl } from "@smithy/url-parser";
4
5
  import { fromBase64, toBase64 } from "@smithy/util-base64";
@@ -22,6 +23,7 @@ export const getRuntimeConfig = (config) => {
22
23
  },
23
24
  ],
24
25
  logger: config?.logger ?? new NoOpLogger(),
26
+ protocol: config?.protocol ?? new AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.supplychain" }),
25
27
  serviceId: config?.serviceId ?? "SupplyChain",
26
28
  urlParser: config?.urlParser ?? parseUrl,
27
29
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,