@aws-sdk/client-supplychain 3.1076.0 → 3.1078.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 (110) hide show
  1. package/dist-cjs/index.js +41 -305
  2. package/dist-es/commandBuilder.js +6 -0
  3. package/dist-es/commands/CreateBillOfMaterialsImportJobCommand.js +2 -14
  4. package/dist-es/commands/CreateDataIntegrationFlowCommand.js +2 -14
  5. package/dist-es/commands/CreateDataLakeDatasetCommand.js +2 -14
  6. package/dist-es/commands/CreateDataLakeNamespaceCommand.js +2 -14
  7. package/dist-es/commands/CreateInstanceCommand.js +2 -14
  8. package/dist-es/commands/DeleteDataIntegrationFlowCommand.js +2 -14
  9. package/dist-es/commands/DeleteDataLakeDatasetCommand.js +2 -14
  10. package/dist-es/commands/DeleteDataLakeNamespaceCommand.js +2 -14
  11. package/dist-es/commands/DeleteInstanceCommand.js +2 -14
  12. package/dist-es/commands/GetBillOfMaterialsImportJobCommand.js +2 -14
  13. package/dist-es/commands/GetDataIntegrationEventCommand.js +2 -14
  14. package/dist-es/commands/GetDataIntegrationFlowCommand.js +2 -14
  15. package/dist-es/commands/GetDataIntegrationFlowExecutionCommand.js +2 -14
  16. package/dist-es/commands/GetDataLakeDatasetCommand.js +2 -14
  17. package/dist-es/commands/GetDataLakeNamespaceCommand.js +2 -14
  18. package/dist-es/commands/GetInstanceCommand.js +2 -14
  19. package/dist-es/commands/ListDataIntegrationEventsCommand.js +2 -14
  20. package/dist-es/commands/ListDataIntegrationFlowExecutionsCommand.js +2 -14
  21. package/dist-es/commands/ListDataIntegrationFlowsCommand.js +2 -14
  22. package/dist-es/commands/ListDataLakeDatasetsCommand.js +2 -14
  23. package/dist-es/commands/ListDataLakeNamespacesCommand.js +2 -14
  24. package/dist-es/commands/ListInstancesCommand.js +2 -14
  25. package/dist-es/commands/ListTagsForResourceCommand.js +2 -14
  26. package/dist-es/commands/SendDataIntegrationEventCommand.js +2 -14
  27. package/dist-es/commands/TagResourceCommand.js +2 -14
  28. package/dist-es/commands/UntagResourceCommand.js +2 -14
  29. package/dist-es/commands/UpdateDataIntegrationFlowCommand.js +2 -14
  30. package/dist-es/commands/UpdateDataLakeDatasetCommand.js +2 -14
  31. package/dist-es/commands/UpdateDataLakeNamespaceCommand.js +2 -14
  32. package/dist-es/commands/UpdateInstanceCommand.js +2 -14
  33. package/dist-es/index.js +1 -0
  34. package/dist-es/runtimeConfig.browser.js +0 -2
  35. package/dist-es/runtimeConfig.js +1 -2
  36. package/dist-es/runtimeConfig.native.js +0 -2
  37. package/dist-es/runtimeConfig.shared.js +2 -0
  38. package/dist-types/commandBuilder.d.ts +18 -0
  39. package/dist-types/commands/CreateBillOfMaterialsImportJobCommand.d.ts +3 -8
  40. package/dist-types/commands/CreateDataIntegrationFlowCommand.d.ts +3 -8
  41. package/dist-types/commands/CreateDataLakeDatasetCommand.d.ts +3 -8
  42. package/dist-types/commands/CreateDataLakeNamespaceCommand.d.ts +3 -8
  43. package/dist-types/commands/CreateInstanceCommand.d.ts +3 -8
  44. package/dist-types/commands/DeleteDataIntegrationFlowCommand.d.ts +3 -8
  45. package/dist-types/commands/DeleteDataLakeDatasetCommand.d.ts +3 -8
  46. package/dist-types/commands/DeleteDataLakeNamespaceCommand.d.ts +3 -8
  47. package/dist-types/commands/DeleteInstanceCommand.d.ts +3 -8
  48. package/dist-types/commands/GetBillOfMaterialsImportJobCommand.d.ts +3 -8
  49. package/dist-types/commands/GetDataIntegrationEventCommand.d.ts +3 -8
  50. package/dist-types/commands/GetDataIntegrationFlowCommand.d.ts +3 -8
  51. package/dist-types/commands/GetDataIntegrationFlowExecutionCommand.d.ts +3 -8
  52. package/dist-types/commands/GetDataLakeDatasetCommand.d.ts +3 -8
  53. package/dist-types/commands/GetDataLakeNamespaceCommand.d.ts +3 -8
  54. package/dist-types/commands/GetInstanceCommand.d.ts +3 -8
  55. package/dist-types/commands/ListDataIntegrationEventsCommand.d.ts +3 -8
  56. package/dist-types/commands/ListDataIntegrationFlowExecutionsCommand.d.ts +3 -8
  57. package/dist-types/commands/ListDataIntegrationFlowsCommand.d.ts +3 -8
  58. package/dist-types/commands/ListDataLakeDatasetsCommand.d.ts +3 -8
  59. package/dist-types/commands/ListDataLakeNamespacesCommand.d.ts +3 -8
  60. package/dist-types/commands/ListInstancesCommand.d.ts +3 -8
  61. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
  62. package/dist-types/commands/SendDataIntegrationEventCommand.d.ts +3 -8
  63. package/dist-types/commands/TagResourceCommand.d.ts +3 -8
  64. package/dist-types/commands/UntagResourceCommand.d.ts +3 -8
  65. package/dist-types/commands/UpdateDataIntegrationFlowCommand.d.ts +3 -8
  66. package/dist-types/commands/UpdateDataLakeDatasetCommand.d.ts +3 -8
  67. package/dist-types/commands/UpdateDataLakeNamespaceCommand.d.ts +3 -8
  68. package/dist-types/commands/UpdateInstanceCommand.d.ts +3 -8
  69. package/dist-types/index.d.ts +1 -0
  70. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  71. package/dist-types/runtimeConfig.d.ts +1 -1
  72. package/dist-types/runtimeConfig.native.d.ts +1 -1
  73. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  74. package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
  75. package/dist-types/ts3.4/commands/CreateBillOfMaterialsImportJobCommand.d.ts +7 -16
  76. package/dist-types/ts3.4/commands/CreateDataIntegrationFlowCommand.d.ts +7 -16
  77. package/dist-types/ts3.4/commands/CreateDataLakeDatasetCommand.d.ts +7 -16
  78. package/dist-types/ts3.4/commands/CreateDataLakeNamespaceCommand.d.ts +7 -16
  79. package/dist-types/ts3.4/commands/CreateInstanceCommand.d.ts +7 -16
  80. package/dist-types/ts3.4/commands/DeleteDataIntegrationFlowCommand.d.ts +7 -16
  81. package/dist-types/ts3.4/commands/DeleteDataLakeDatasetCommand.d.ts +7 -16
  82. package/dist-types/ts3.4/commands/DeleteDataLakeNamespaceCommand.d.ts +7 -16
  83. package/dist-types/ts3.4/commands/DeleteInstanceCommand.d.ts +7 -16
  84. package/dist-types/ts3.4/commands/GetBillOfMaterialsImportJobCommand.d.ts +7 -16
  85. package/dist-types/ts3.4/commands/GetDataIntegrationEventCommand.d.ts +7 -16
  86. package/dist-types/ts3.4/commands/GetDataIntegrationFlowCommand.d.ts +7 -16
  87. package/dist-types/ts3.4/commands/GetDataIntegrationFlowExecutionCommand.d.ts +7 -16
  88. package/dist-types/ts3.4/commands/GetDataLakeDatasetCommand.d.ts +7 -16
  89. package/dist-types/ts3.4/commands/GetDataLakeNamespaceCommand.d.ts +7 -16
  90. package/dist-types/ts3.4/commands/GetInstanceCommand.d.ts +7 -16
  91. package/dist-types/ts3.4/commands/ListDataIntegrationEventsCommand.d.ts +7 -16
  92. package/dist-types/ts3.4/commands/ListDataIntegrationFlowExecutionsCommand.d.ts +7 -16
  93. package/dist-types/ts3.4/commands/ListDataIntegrationFlowsCommand.d.ts +7 -16
  94. package/dist-types/ts3.4/commands/ListDataLakeDatasetsCommand.d.ts +7 -16
  95. package/dist-types/ts3.4/commands/ListDataLakeNamespacesCommand.d.ts +7 -16
  96. package/dist-types/ts3.4/commands/ListInstancesCommand.d.ts +7 -16
  97. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
  98. package/dist-types/ts3.4/commands/SendDataIntegrationEventCommand.d.ts +7 -16
  99. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
  100. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
  101. package/dist-types/ts3.4/commands/UpdateDataIntegrationFlowCommand.d.ts +7 -16
  102. package/dist-types/ts3.4/commands/UpdateDataLakeDatasetCommand.d.ts +7 -16
  103. package/dist-types/ts3.4/commands/UpdateDataLakeNamespaceCommand.d.ts +7 -16
  104. package/dist-types/ts3.4/commands/UpdateInstanceCommand.d.ts +7 -16
  105. package/dist-types/ts3.4/index.d.ts +1 -0
  106. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  107. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  108. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
  109. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
  110. package/package.json +8 -10
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { GetDataIntegrationEvent$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetDataIntegrationEventCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("GalaxyPublicAPIGateway", "GetDataIntegrationEvent", {})
13
- .n("SupplyChainClient", "GetDataIntegrationEventCommand")
14
- .sc(GetDataIntegrationEvent$)
15
- .build() {
3
+ export class GetDataIntegrationEventCommand extends command(_ep0, _mw0, "GetDataIntegrationEvent", GetDataIntegrationEvent$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { GetDataIntegrationFlow$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetDataIntegrationFlowCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("GalaxyPublicAPIGateway", "GetDataIntegrationFlow", {})
13
- .n("SupplyChainClient", "GetDataIntegrationFlowCommand")
14
- .sc(GetDataIntegrationFlow$)
15
- .build() {
3
+ export class GetDataIntegrationFlowCommand extends command(_ep0, _mw0, "GetDataIntegrationFlow", GetDataIntegrationFlow$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { GetDataIntegrationFlowExecution$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetDataIntegrationFlowExecutionCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("GalaxyPublicAPIGateway", "GetDataIntegrationFlowExecution", {})
13
- .n("SupplyChainClient", "GetDataIntegrationFlowExecutionCommand")
14
- .sc(GetDataIntegrationFlowExecution$)
15
- .build() {
3
+ export class GetDataIntegrationFlowExecutionCommand extends command(_ep0, _mw0, "GetDataIntegrationFlowExecution", GetDataIntegrationFlowExecution$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { GetDataLakeDataset$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetDataLakeDatasetCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("GalaxyPublicAPIGateway", "GetDataLakeDataset", {})
13
- .n("SupplyChainClient", "GetDataLakeDatasetCommand")
14
- .sc(GetDataLakeDataset$)
15
- .build() {
3
+ export class GetDataLakeDatasetCommand extends command(_ep0, _mw0, "GetDataLakeDataset", GetDataLakeDataset$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { GetDataLakeNamespace$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetDataLakeNamespaceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("GalaxyPublicAPIGateway", "GetDataLakeNamespace", {})
13
- .n("SupplyChainClient", "GetDataLakeNamespaceCommand")
14
- .sc(GetDataLakeNamespace$)
15
- .build() {
3
+ export class GetDataLakeNamespaceCommand extends command(_ep0, _mw0, "GetDataLakeNamespace", GetDataLakeNamespace$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { GetInstance$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetInstanceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("GalaxyPublicAPIGateway", "GetInstance", {})
13
- .n("SupplyChainClient", "GetInstanceCommand")
14
- .sc(GetInstance$)
15
- .build() {
3
+ export class GetInstanceCommand extends command(_ep0, _mw0, "GetInstance", GetInstance$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListDataIntegrationEvents$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListDataIntegrationEventsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("GalaxyPublicAPIGateway", "ListDataIntegrationEvents", {})
13
- .n("SupplyChainClient", "ListDataIntegrationEventsCommand")
14
- .sc(ListDataIntegrationEvents$)
15
- .build() {
3
+ export class ListDataIntegrationEventsCommand extends command(_ep0, _mw0, "ListDataIntegrationEvents", ListDataIntegrationEvents$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListDataIntegrationFlowExecutions$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListDataIntegrationFlowExecutionsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("GalaxyPublicAPIGateway", "ListDataIntegrationFlowExecutions", {})
13
- .n("SupplyChainClient", "ListDataIntegrationFlowExecutionsCommand")
14
- .sc(ListDataIntegrationFlowExecutions$)
15
- .build() {
3
+ export class ListDataIntegrationFlowExecutionsCommand extends command(_ep0, _mw0, "ListDataIntegrationFlowExecutions", ListDataIntegrationFlowExecutions$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListDataIntegrationFlows$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListDataIntegrationFlowsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("GalaxyPublicAPIGateway", "ListDataIntegrationFlows", {})
13
- .n("SupplyChainClient", "ListDataIntegrationFlowsCommand")
14
- .sc(ListDataIntegrationFlows$)
15
- .build() {
3
+ export class ListDataIntegrationFlowsCommand extends command(_ep0, _mw0, "ListDataIntegrationFlows", ListDataIntegrationFlows$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListDataLakeDatasets$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListDataLakeDatasetsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("GalaxyPublicAPIGateway", "ListDataLakeDatasets", {})
13
- .n("SupplyChainClient", "ListDataLakeDatasetsCommand")
14
- .sc(ListDataLakeDatasets$)
15
- .build() {
3
+ export class ListDataLakeDatasetsCommand extends command(_ep0, _mw0, "ListDataLakeDatasets", ListDataLakeDatasets$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListDataLakeNamespaces$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListDataLakeNamespacesCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("GalaxyPublicAPIGateway", "ListDataLakeNamespaces", {})
13
- .n("SupplyChainClient", "ListDataLakeNamespacesCommand")
14
- .sc(ListDataLakeNamespaces$)
15
- .build() {
3
+ export class ListDataLakeNamespacesCommand extends command(_ep0, _mw0, "ListDataLakeNamespaces", ListDataLakeNamespaces$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListInstances$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListInstancesCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("GalaxyPublicAPIGateway", "ListInstances", {})
13
- .n("SupplyChainClient", "ListInstancesCommand")
14
- .sc(ListInstances$)
15
- .build() {
3
+ export class ListInstancesCommand extends command(_ep0, _mw0, "ListInstances", ListInstances$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListTagsForResource$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListTagsForResourceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("GalaxyPublicAPIGateway", "ListTagsForResource", {})
13
- .n("SupplyChainClient", "ListTagsForResourceCommand")
14
- .sc(ListTagsForResource$)
15
- .build() {
3
+ export class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { SendDataIntegrationEvent$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class SendDataIntegrationEventCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("GalaxyPublicAPIGateway", "SendDataIntegrationEvent", {})
13
- .n("SupplyChainClient", "SendDataIntegrationEventCommand")
14
- .sc(SendDataIntegrationEvent$)
15
- .build() {
3
+ export class SendDataIntegrationEventCommand extends command(_ep0, _mw0, "SendDataIntegrationEvent", SendDataIntegrationEvent$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { TagResource$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class TagResourceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("GalaxyPublicAPIGateway", "TagResource", {})
13
- .n("SupplyChainClient", "TagResourceCommand")
14
- .sc(TagResource$)
15
- .build() {
3
+ export class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { UntagResource$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UntagResourceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("GalaxyPublicAPIGateway", "UntagResource", {})
13
- .n("SupplyChainClient", "UntagResourceCommand")
14
- .sc(UntagResource$)
15
- .build() {
3
+ export class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { UpdateDataIntegrationFlow$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateDataIntegrationFlowCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("GalaxyPublicAPIGateway", "UpdateDataIntegrationFlow", {})
13
- .n("SupplyChainClient", "UpdateDataIntegrationFlowCommand")
14
- .sc(UpdateDataIntegrationFlow$)
15
- .build() {
3
+ export class UpdateDataIntegrationFlowCommand extends command(_ep0, _mw0, "UpdateDataIntegrationFlow", UpdateDataIntegrationFlow$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { UpdateDataLakeDataset$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateDataLakeDatasetCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("GalaxyPublicAPIGateway", "UpdateDataLakeDataset", {})
13
- .n("SupplyChainClient", "UpdateDataLakeDatasetCommand")
14
- .sc(UpdateDataLakeDataset$)
15
- .build() {
3
+ export class UpdateDataLakeDatasetCommand extends command(_ep0, _mw0, "UpdateDataLakeDataset", UpdateDataLakeDataset$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { UpdateDataLakeNamespace$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateDataLakeNamespaceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("GalaxyPublicAPIGateway", "UpdateDataLakeNamespace", {})
13
- .n("SupplyChainClient", "UpdateDataLakeNamespaceCommand")
14
- .sc(UpdateDataLakeNamespace$)
15
- .build() {
3
+ export class UpdateDataLakeNamespaceCommand extends command(_ep0, _mw0, "UpdateDataLakeNamespace", UpdateDataLakeNamespace$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { UpdateInstance$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateInstanceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("GalaxyPublicAPIGateway", "UpdateInstance", {})
13
- .n("SupplyChainClient", "UpdateInstanceCommand")
14
- .sc(UpdateInstance$)
15
- .build() {
3
+ export class UpdateInstanceCommand extends command(_ep0, _mw0, "UpdateInstance", UpdateInstance$) {
16
4
  }
package/dist-es/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from "./SupplyChainClient";
2
2
  export * from "./SupplyChain";
3
3
  export * from "./commands";
4
+ export { Command as $Command } from "@smithy/core/client";
4
5
  export * from "./schemas/schemas_0";
5
6
  export * from "./pagination";
6
7
  export * from "./models/enums";
@@ -1,5 +1,4 @@
1
1
  import packageInfo from "../package.json";
2
- import { Sha256 } from "@aws-crypto/sha256-browser";
3
2
  import { createDefaultUserAgentProvider } from "@aws-sdk/core/client";
4
3
  import { invalidProvider, loadConfigsForDefaultMode } from "@smithy/core/client";
5
4
  import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT, resolveDefaultsModeConfig, } from "@smithy/core/config";
@@ -23,7 +22,6 @@ export const getRuntimeConfig = (config) => {
23
22
  region: config?.region ?? invalidProvider("Region is missing"),
24
23
  requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
25
24
  retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE),
26
- sha256: config?.sha256 ?? Sha256,
27
25
  streamCollector: config?.streamCollector ?? streamCollector,
28
26
  useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT)),
29
27
  useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT)),
@@ -5,7 +5,7 @@ import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credentia
5
5
  import { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } from "@smithy/core/client";
6
6
  import { loadConfig as loadNodeConfig, NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, resolveDefaultsModeConfig, } from "@smithy/core/config";
7
7
  import { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, } from "@smithy/core/retry";
8
- import { calculateBodyLength, Hash } from "@smithy/core/serde";
8
+ import { calculateBodyLength } from "@smithy/core/serde";
9
9
  import { NodeHttpHandler as RequestHandler, streamCollector } from "@smithy/node-http-handler";
10
10
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
11
11
  export const getRuntimeConfig = (config) => {
@@ -35,7 +35,6 @@ export const getRuntimeConfig = (config) => {
35
35
  ...NODE_RETRY_MODE_CONFIG_OPTIONS,
36
36
  default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
37
37
  }, config),
38
- sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
39
38
  streamCollector: config?.streamCollector ?? streamCollector,
40
39
  useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
41
40
  useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
@@ -1,4 +1,3 @@
1
- import { Sha256 } from "@aws-crypto/sha256-js";
2
1
  import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.browser";
3
2
  export const getRuntimeConfig = (config) => {
4
3
  const browserDefaults = getBrowserRuntimeConfig(config);
@@ -6,6 +5,5 @@ export const getRuntimeConfig = (config) => {
6
5
  ...browserDefaults,
7
6
  ...config,
8
7
  runtime: "react-native",
9
- sha256: config?.sha256 ?? Sha256,
10
8
  };
11
9
  };
@@ -1,5 +1,6 @@
1
1
  import { AwsSdkSigV4Signer } from "@aws-sdk/core/httpAuthSchemes";
2
2
  import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
3
+ import { Sha256 } from "@smithy/core/checksum";
3
4
  import { NoOpLogger } from "@smithy/core/client";
4
5
  import { parseUrl } from "@smithy/core/protocols";
5
6
  import { fromBase64, fromUtf8, toBase64, toUtf8 } from "@smithy/core/serde";
@@ -31,6 +32,7 @@ export const getRuntimeConfig = (config) => {
31
32
  serviceTarget: "GalaxyPublicAPIGateway",
32
33
  },
33
34
  serviceId: config?.serviceId ?? "SupplyChain",
35
+ sha256: config?.sha256 ?? Sha256,
34
36
  urlParser: config?.urlParser ?? parseUrl,
35
37
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,
36
38
  utf8Encoder: config?.utf8Encoder ?? toUtf8,
@@ -0,0 +1,18 @@
1
+ import type { EndpointParameterInstructions } from "@smithy/types";
2
+ import type { ServiceInputTypes, ServiceOutputTypes, SupplyChainClientResolvedConfig } from "./SupplyChainClient";
3
+ /**
4
+ * @internal
5
+ */
6
+ export declare const command: <I extends ServiceInputTypes, O extends ServiceOutputTypes>(added: EndpointParameterInstructions, plugins: (CommandCtor: any, clientStack: any, config: any, options: any) => import("@smithy/types").Pluggable<any, any>[], op: string, $: import("@smithy/types").StaticOperationSchema, smithyContext?: Record<string, unknown>) => {
7
+ new (input: I): import("@smithy/core/client").CommandImpl<I, O, SupplyChainClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
8
+ new (...[input]: import("@smithy/types").OptionalParameter<I>): import("@smithy/core/client").CommandImpl<I, O, SupplyChainClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
9
+ getEndpointParameterInstructions(): EndpointParameterInstructions;
10
+ };
11
+ /**
12
+ * @internal
13
+ */
14
+ export declare const _ep0: EndpointParameterInstructions;
15
+ /**
16
+ * @internal
17
+ */
18
+ export declare const _mw0: (Command: any, cs: any, config: any, o: any) => never[];
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
2
  import type { CreateBillOfMaterialsImportJobRequest, CreateBillOfMaterialsImportJobResponse } from "../models/models_0";
4
- import type { ServiceInputTypes, ServiceOutputTypes, SupplyChainClientResolvedConfig } from "../SupplyChainClient";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface CreateBillOfMaterialsImportJobCommandInput extends CreateBillOf
22
19
  export interface CreateBillOfMaterialsImportJobCommandOutput extends CreateBillOfMaterialsImportJobResponse, __MetadataBearer {
23
20
  }
24
21
  declare const CreateBillOfMaterialsImportJobCommand_base: {
25
- new (input: CreateBillOfMaterialsImportJobCommandInput): import("@smithy/core/client").CommandImpl<CreateBillOfMaterialsImportJobCommandInput, CreateBillOfMaterialsImportJobCommandOutput, SupplyChainClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: CreateBillOfMaterialsImportJobCommandInput): import("@smithy/core/client").CommandImpl<CreateBillOfMaterialsImportJobCommandInput, CreateBillOfMaterialsImportJobCommandOutput, SupplyChainClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: CreateBillOfMaterialsImportJobCommandInput): import("@smithy/core/client").CommandImpl<CreateBillOfMaterialsImportJobCommandInput, CreateBillOfMaterialsImportJobCommandOutput, import("..").SupplyChainClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: CreateBillOfMaterialsImportJobCommandInput): import("@smithy/core/client").CommandImpl<CreateBillOfMaterialsImportJobCommandInput, CreateBillOfMaterialsImportJobCommandOutput, import("..").SupplyChainClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>CreateBillOfMaterialsImportJob creates an import job for the Product Bill Of Materials (BOM) entity. For information on the product_bom entity, see the AWS Supply Chain User Guide.</p>
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
2
  import type { CreateDataIntegrationFlowRequest, CreateDataIntegrationFlowResponse } from "../models/models_0";
4
- import type { ServiceInputTypes, ServiceOutputTypes, SupplyChainClientResolvedConfig } from "../SupplyChainClient";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface CreateDataIntegrationFlowCommandInput extends CreateDataIntegra
22
19
  export interface CreateDataIntegrationFlowCommandOutput extends CreateDataIntegrationFlowResponse, __MetadataBearer {
23
20
  }
24
21
  declare const CreateDataIntegrationFlowCommand_base: {
25
- new (input: CreateDataIntegrationFlowCommandInput): import("@smithy/core/client").CommandImpl<CreateDataIntegrationFlowCommandInput, CreateDataIntegrationFlowCommandOutput, SupplyChainClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: CreateDataIntegrationFlowCommandInput): import("@smithy/core/client").CommandImpl<CreateDataIntegrationFlowCommandInput, CreateDataIntegrationFlowCommandOutput, SupplyChainClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: CreateDataIntegrationFlowCommandInput): import("@smithy/core/client").CommandImpl<CreateDataIntegrationFlowCommandInput, CreateDataIntegrationFlowCommandOutput, import("..").SupplyChainClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: CreateDataIntegrationFlowCommandInput): import("@smithy/core/client").CommandImpl<CreateDataIntegrationFlowCommandInput, CreateDataIntegrationFlowCommandOutput, import("..").SupplyChainClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Enables you to programmatically create a data pipeline to ingest data from source systems such as Amazon S3 buckets, to a predefined Amazon Web Services Supply Chain dataset (product, inbound_order) or a temporary dataset along with the data transformation query provided with the API.</p>
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
2
  import type { CreateDataLakeDatasetRequest, CreateDataLakeDatasetResponse } from "../models/models_0";
4
- import type { ServiceInputTypes, ServiceOutputTypes, SupplyChainClientResolvedConfig } from "../SupplyChainClient";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface CreateDataLakeDatasetCommandInput extends CreateDataLakeDataset
22
19
  export interface CreateDataLakeDatasetCommandOutput extends CreateDataLakeDatasetResponse, __MetadataBearer {
23
20
  }
24
21
  declare const CreateDataLakeDatasetCommand_base: {
25
- new (input: CreateDataLakeDatasetCommandInput): import("@smithy/core/client").CommandImpl<CreateDataLakeDatasetCommandInput, CreateDataLakeDatasetCommandOutput, SupplyChainClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: CreateDataLakeDatasetCommandInput): import("@smithy/core/client").CommandImpl<CreateDataLakeDatasetCommandInput, CreateDataLakeDatasetCommandOutput, SupplyChainClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: CreateDataLakeDatasetCommandInput): import("@smithy/core/client").CommandImpl<CreateDataLakeDatasetCommandInput, CreateDataLakeDatasetCommandOutput, import("..").SupplyChainClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: CreateDataLakeDatasetCommandInput): import("@smithy/core/client").CommandImpl<CreateDataLakeDatasetCommandInput, CreateDataLakeDatasetCommandOutput, import("..").SupplyChainClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Enables you to programmatically create an Amazon Web Services Supply Chain data lake dataset. Developers can create the datasets using their pre-defined or custom schema for a given instance ID, namespace, and dataset name.</p>
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
2
  import type { CreateDataLakeNamespaceRequest, CreateDataLakeNamespaceResponse } from "../models/models_0";
4
- import type { ServiceInputTypes, ServiceOutputTypes, SupplyChainClientResolvedConfig } from "../SupplyChainClient";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface CreateDataLakeNamespaceCommandInput extends CreateDataLakeNames
22
19
  export interface CreateDataLakeNamespaceCommandOutput extends CreateDataLakeNamespaceResponse, __MetadataBearer {
23
20
  }
24
21
  declare const CreateDataLakeNamespaceCommand_base: {
25
- new (input: CreateDataLakeNamespaceCommandInput): import("@smithy/core/client").CommandImpl<CreateDataLakeNamespaceCommandInput, CreateDataLakeNamespaceCommandOutput, SupplyChainClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: CreateDataLakeNamespaceCommandInput): import("@smithy/core/client").CommandImpl<CreateDataLakeNamespaceCommandInput, CreateDataLakeNamespaceCommandOutput, SupplyChainClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: CreateDataLakeNamespaceCommandInput): import("@smithy/core/client").CommandImpl<CreateDataLakeNamespaceCommandInput, CreateDataLakeNamespaceCommandOutput, import("..").SupplyChainClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: CreateDataLakeNamespaceCommandInput): import("@smithy/core/client").CommandImpl<CreateDataLakeNamespaceCommandInput, CreateDataLakeNamespaceCommandOutput, import("..").SupplyChainClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Enables you to programmatically create an Amazon Web Services Supply Chain data lake namespace. Developers can create the namespaces for a given instance ID.</p>