@aws-sdk/client-codebuild 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 (203) hide show
  1. package/dist-cjs/index.js +198 -715
  2. package/dist-es/commandBuilder.js +6 -0
  3. package/dist-es/commands/BatchDeleteBuildsCommand.js +2 -14
  4. package/dist-es/commands/BatchGetBuildBatchesCommand.js +2 -14
  5. package/dist-es/commands/BatchGetBuildsCommand.js +2 -14
  6. package/dist-es/commands/BatchGetCommandExecutionsCommand.js +2 -14
  7. package/dist-es/commands/BatchGetFleetsCommand.js +2 -14
  8. package/dist-es/commands/BatchGetProjectsCommand.js +2 -14
  9. package/dist-es/commands/BatchGetReportGroupsCommand.js +2 -14
  10. package/dist-es/commands/BatchGetReportsCommand.js +2 -14
  11. package/dist-es/commands/BatchGetSandboxesCommand.js +2 -14
  12. package/dist-es/commands/CreateFleetCommand.js +2 -14
  13. package/dist-es/commands/CreateProjectCommand.js +2 -14
  14. package/dist-es/commands/CreateReportGroupCommand.js +2 -14
  15. package/dist-es/commands/CreateWebhookCommand.js +2 -14
  16. package/dist-es/commands/DeleteBuildBatchCommand.js +2 -14
  17. package/dist-es/commands/DeleteFleetCommand.js +2 -14
  18. package/dist-es/commands/DeleteProjectCommand.js +2 -14
  19. package/dist-es/commands/DeleteReportCommand.js +2 -14
  20. package/dist-es/commands/DeleteReportGroupCommand.js +2 -14
  21. package/dist-es/commands/DeleteResourcePolicyCommand.js +2 -14
  22. package/dist-es/commands/DeleteSourceCredentialsCommand.js +2 -14
  23. package/dist-es/commands/DeleteWebhookCommand.js +2 -14
  24. package/dist-es/commands/DescribeCodeCoveragesCommand.js +2 -14
  25. package/dist-es/commands/DescribeTestCasesCommand.js +2 -14
  26. package/dist-es/commands/GetReportGroupTrendCommand.js +2 -14
  27. package/dist-es/commands/GetResourcePolicyCommand.js +2 -14
  28. package/dist-es/commands/ImportSourceCredentialsCommand.js +2 -14
  29. package/dist-es/commands/InvalidateProjectCacheCommand.js +2 -14
  30. package/dist-es/commands/ListBuildBatchesCommand.js +2 -14
  31. package/dist-es/commands/ListBuildBatchesForProjectCommand.js +2 -14
  32. package/dist-es/commands/ListBuildsCommand.js +2 -14
  33. package/dist-es/commands/ListBuildsForProjectCommand.js +2 -14
  34. package/dist-es/commands/ListCommandExecutionsForSandboxCommand.js +2 -14
  35. package/dist-es/commands/ListCuratedEnvironmentImagesCommand.js +2 -14
  36. package/dist-es/commands/ListFleetsCommand.js +2 -14
  37. package/dist-es/commands/ListProjectsCommand.js +2 -14
  38. package/dist-es/commands/ListReportGroupsCommand.js +2 -14
  39. package/dist-es/commands/ListReportsCommand.js +2 -14
  40. package/dist-es/commands/ListReportsForReportGroupCommand.js +2 -14
  41. package/dist-es/commands/ListSandboxesCommand.js +2 -14
  42. package/dist-es/commands/ListSandboxesForProjectCommand.js +2 -14
  43. package/dist-es/commands/ListSharedProjectsCommand.js +2 -14
  44. package/dist-es/commands/ListSharedReportGroupsCommand.js +2 -14
  45. package/dist-es/commands/ListSourceCredentialsCommand.js +2 -14
  46. package/dist-es/commands/PutResourcePolicyCommand.js +2 -14
  47. package/dist-es/commands/RetryBuildBatchCommand.js +2 -14
  48. package/dist-es/commands/RetryBuildCommand.js +2 -14
  49. package/dist-es/commands/StartBuildBatchCommand.js +2 -14
  50. package/dist-es/commands/StartBuildCommand.js +2 -14
  51. package/dist-es/commands/StartCommandExecutionCommand.js +2 -14
  52. package/dist-es/commands/StartSandboxCommand.js +2 -14
  53. package/dist-es/commands/StartSandboxConnectionCommand.js +2 -14
  54. package/dist-es/commands/StopBuildBatchCommand.js +2 -14
  55. package/dist-es/commands/StopBuildCommand.js +2 -14
  56. package/dist-es/commands/StopSandboxCommand.js +2 -14
  57. package/dist-es/commands/UpdateFleetCommand.js +2 -14
  58. package/dist-es/commands/UpdateProjectCommand.js +2 -14
  59. package/dist-es/commands/UpdateProjectVisibilityCommand.js +2 -14
  60. package/dist-es/commands/UpdateReportGroupCommand.js +2 -14
  61. package/dist-es/commands/UpdateWebhookCommand.js +2 -14
  62. package/dist-es/index.js +1 -0
  63. package/dist-es/models/enums.js +5 -0
  64. package/dist-es/runtimeConfig.browser.js +0 -2
  65. package/dist-es/runtimeConfig.js +1 -2
  66. package/dist-es/runtimeConfig.native.js +0 -2
  67. package/dist-es/runtimeConfig.shared.js +2 -0
  68. package/dist-es/schemas/schemas_0.js +6 -4
  69. package/dist-types/commandBuilder.d.ts +18 -0
  70. package/dist-types/commands/BatchDeleteBuildsCommand.d.ts +3 -8
  71. package/dist-types/commands/BatchGetBuildBatchesCommand.d.ts +4 -8
  72. package/dist-types/commands/BatchGetBuildsCommand.d.ts +4 -8
  73. package/dist-types/commands/BatchGetCommandExecutionsCommand.d.ts +3 -8
  74. package/dist-types/commands/BatchGetFleetsCommand.d.ts +3 -8
  75. package/dist-types/commands/BatchGetProjectsCommand.d.ts +4 -8
  76. package/dist-types/commands/BatchGetReportGroupsCommand.d.ts +3 -8
  77. package/dist-types/commands/BatchGetReportsCommand.d.ts +3 -8
  78. package/dist-types/commands/BatchGetSandboxesCommand.d.ts +4 -8
  79. package/dist-types/commands/CreateFleetCommand.d.ts +3 -8
  80. package/dist-types/commands/CreateProjectCommand.d.ts +5 -8
  81. package/dist-types/commands/CreateReportGroupCommand.d.ts +3 -8
  82. package/dist-types/commands/CreateWebhookCommand.d.ts +3 -8
  83. package/dist-types/commands/DeleteBuildBatchCommand.d.ts +3 -8
  84. package/dist-types/commands/DeleteFleetCommand.d.ts +3 -8
  85. package/dist-types/commands/DeleteProjectCommand.d.ts +3 -8
  86. package/dist-types/commands/DeleteReportCommand.d.ts +3 -8
  87. package/dist-types/commands/DeleteReportGroupCommand.d.ts +3 -8
  88. package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +3 -8
  89. package/dist-types/commands/DeleteSourceCredentialsCommand.d.ts +3 -8
  90. package/dist-types/commands/DeleteWebhookCommand.d.ts +3 -8
  91. package/dist-types/commands/DescribeCodeCoveragesCommand.d.ts +3 -8
  92. package/dist-types/commands/DescribeTestCasesCommand.d.ts +3 -8
  93. package/dist-types/commands/GetReportGroupTrendCommand.d.ts +3 -8
  94. package/dist-types/commands/GetResourcePolicyCommand.d.ts +3 -8
  95. package/dist-types/commands/ImportSourceCredentialsCommand.d.ts +3 -8
  96. package/dist-types/commands/InvalidateProjectCacheCommand.d.ts +3 -8
  97. package/dist-types/commands/ListBuildBatchesCommand.d.ts +3 -8
  98. package/dist-types/commands/ListBuildBatchesForProjectCommand.d.ts +3 -8
  99. package/dist-types/commands/ListBuildsCommand.d.ts +3 -8
  100. package/dist-types/commands/ListBuildsForProjectCommand.d.ts +3 -8
  101. package/dist-types/commands/ListCommandExecutionsForSandboxCommand.d.ts +3 -8
  102. package/dist-types/commands/ListCuratedEnvironmentImagesCommand.d.ts +3 -8
  103. package/dist-types/commands/ListFleetsCommand.d.ts +3 -8
  104. package/dist-types/commands/ListProjectsCommand.d.ts +3 -8
  105. package/dist-types/commands/ListReportGroupsCommand.d.ts +3 -8
  106. package/dist-types/commands/ListReportsCommand.d.ts +3 -8
  107. package/dist-types/commands/ListReportsForReportGroupCommand.d.ts +3 -8
  108. package/dist-types/commands/ListSandboxesCommand.d.ts +3 -8
  109. package/dist-types/commands/ListSandboxesForProjectCommand.d.ts +3 -8
  110. package/dist-types/commands/ListSharedProjectsCommand.d.ts +3 -8
  111. package/dist-types/commands/ListSharedReportGroupsCommand.d.ts +3 -8
  112. package/dist-types/commands/ListSourceCredentialsCommand.d.ts +3 -8
  113. package/dist-types/commands/PutResourcePolicyCommand.d.ts +3 -8
  114. package/dist-types/commands/RetryBuildBatchCommand.d.ts +4 -8
  115. package/dist-types/commands/RetryBuildCommand.d.ts +4 -8
  116. package/dist-types/commands/StartBuildBatchCommand.d.ts +4 -8
  117. package/dist-types/commands/StartBuildCommand.d.ts +5 -8
  118. package/dist-types/commands/StartCommandExecutionCommand.d.ts +3 -8
  119. package/dist-types/commands/StartSandboxCommand.d.ts +4 -8
  120. package/dist-types/commands/StartSandboxConnectionCommand.d.ts +3 -8
  121. package/dist-types/commands/StopBuildBatchCommand.d.ts +4 -8
  122. package/dist-types/commands/StopBuildCommand.d.ts +4 -8
  123. package/dist-types/commands/StopSandboxCommand.d.ts +4 -8
  124. package/dist-types/commands/UpdateFleetCommand.d.ts +3 -8
  125. package/dist-types/commands/UpdateProjectCommand.d.ts +5 -8
  126. package/dist-types/commands/UpdateProjectVisibilityCommand.d.ts +3 -8
  127. package/dist-types/commands/UpdateReportGroupCommand.d.ts +3 -8
  128. package/dist-types/commands/UpdateWebhookCommand.d.ts +3 -8
  129. package/dist-types/index.d.ts +1 -0
  130. package/dist-types/models/enums.d.ts +13 -0
  131. package/dist-types/models/models_0.d.ts +35 -1
  132. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  133. package/dist-types/runtimeConfig.d.ts +1 -1
  134. package/dist-types/runtimeConfig.native.d.ts +1 -1
  135. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  136. package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
  137. package/dist-types/ts3.4/commands/BatchDeleteBuildsCommand.d.ts +7 -16
  138. package/dist-types/ts3.4/commands/BatchGetBuildBatchesCommand.d.ts +7 -16
  139. package/dist-types/ts3.4/commands/BatchGetBuildsCommand.d.ts +7 -16
  140. package/dist-types/ts3.4/commands/BatchGetCommandExecutionsCommand.d.ts +7 -16
  141. package/dist-types/ts3.4/commands/BatchGetFleetsCommand.d.ts +7 -16
  142. package/dist-types/ts3.4/commands/BatchGetProjectsCommand.d.ts +7 -16
  143. package/dist-types/ts3.4/commands/BatchGetReportGroupsCommand.d.ts +7 -16
  144. package/dist-types/ts3.4/commands/BatchGetReportsCommand.d.ts +7 -16
  145. package/dist-types/ts3.4/commands/BatchGetSandboxesCommand.d.ts +7 -16
  146. package/dist-types/ts3.4/commands/CreateFleetCommand.d.ts +7 -16
  147. package/dist-types/ts3.4/commands/CreateProjectCommand.d.ts +7 -16
  148. package/dist-types/ts3.4/commands/CreateReportGroupCommand.d.ts +7 -16
  149. package/dist-types/ts3.4/commands/CreateWebhookCommand.d.ts +7 -16
  150. package/dist-types/ts3.4/commands/DeleteBuildBatchCommand.d.ts +7 -16
  151. package/dist-types/ts3.4/commands/DeleteFleetCommand.d.ts +7 -16
  152. package/dist-types/ts3.4/commands/DeleteProjectCommand.d.ts +7 -16
  153. package/dist-types/ts3.4/commands/DeleteReportCommand.d.ts +7 -16
  154. package/dist-types/ts3.4/commands/DeleteReportGroupCommand.d.ts +7 -16
  155. package/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +7 -16
  156. package/dist-types/ts3.4/commands/DeleteSourceCredentialsCommand.d.ts +7 -16
  157. package/dist-types/ts3.4/commands/DeleteWebhookCommand.d.ts +7 -16
  158. package/dist-types/ts3.4/commands/DescribeCodeCoveragesCommand.d.ts +7 -16
  159. package/dist-types/ts3.4/commands/DescribeTestCasesCommand.d.ts +7 -16
  160. package/dist-types/ts3.4/commands/GetReportGroupTrendCommand.d.ts +7 -16
  161. package/dist-types/ts3.4/commands/GetResourcePolicyCommand.d.ts +7 -16
  162. package/dist-types/ts3.4/commands/ImportSourceCredentialsCommand.d.ts +7 -16
  163. package/dist-types/ts3.4/commands/InvalidateProjectCacheCommand.d.ts +7 -16
  164. package/dist-types/ts3.4/commands/ListBuildBatchesCommand.d.ts +7 -16
  165. package/dist-types/ts3.4/commands/ListBuildBatchesForProjectCommand.d.ts +7 -16
  166. package/dist-types/ts3.4/commands/ListBuildsCommand.d.ts +7 -16
  167. package/dist-types/ts3.4/commands/ListBuildsForProjectCommand.d.ts +7 -16
  168. package/dist-types/ts3.4/commands/ListCommandExecutionsForSandboxCommand.d.ts +7 -16
  169. package/dist-types/ts3.4/commands/ListCuratedEnvironmentImagesCommand.d.ts +7 -16
  170. package/dist-types/ts3.4/commands/ListFleetsCommand.d.ts +7 -16
  171. package/dist-types/ts3.4/commands/ListProjectsCommand.d.ts +7 -16
  172. package/dist-types/ts3.4/commands/ListReportGroupsCommand.d.ts +7 -16
  173. package/dist-types/ts3.4/commands/ListReportsCommand.d.ts +7 -16
  174. package/dist-types/ts3.4/commands/ListReportsForReportGroupCommand.d.ts +7 -16
  175. package/dist-types/ts3.4/commands/ListSandboxesCommand.d.ts +7 -16
  176. package/dist-types/ts3.4/commands/ListSandboxesForProjectCommand.d.ts +7 -16
  177. package/dist-types/ts3.4/commands/ListSharedProjectsCommand.d.ts +7 -16
  178. package/dist-types/ts3.4/commands/ListSharedReportGroupsCommand.d.ts +7 -16
  179. package/dist-types/ts3.4/commands/ListSourceCredentialsCommand.d.ts +7 -16
  180. package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +7 -16
  181. package/dist-types/ts3.4/commands/RetryBuildBatchCommand.d.ts +7 -16
  182. package/dist-types/ts3.4/commands/RetryBuildCommand.d.ts +7 -16
  183. package/dist-types/ts3.4/commands/StartBuildBatchCommand.d.ts +7 -16
  184. package/dist-types/ts3.4/commands/StartBuildCommand.d.ts +7 -16
  185. package/dist-types/ts3.4/commands/StartCommandExecutionCommand.d.ts +7 -16
  186. package/dist-types/ts3.4/commands/StartSandboxCommand.d.ts +7 -16
  187. package/dist-types/ts3.4/commands/StartSandboxConnectionCommand.d.ts +7 -16
  188. package/dist-types/ts3.4/commands/StopBuildBatchCommand.d.ts +7 -16
  189. package/dist-types/ts3.4/commands/StopBuildCommand.d.ts +7 -16
  190. package/dist-types/ts3.4/commands/StopSandboxCommand.d.ts +7 -16
  191. package/dist-types/ts3.4/commands/UpdateFleetCommand.d.ts +7 -16
  192. package/dist-types/ts3.4/commands/UpdateProjectCommand.d.ts +7 -16
  193. package/dist-types/ts3.4/commands/UpdateProjectVisibilityCommand.d.ts +7 -16
  194. package/dist-types/ts3.4/commands/UpdateReportGroupCommand.d.ts +7 -16
  195. package/dist-types/ts3.4/commands/UpdateWebhookCommand.d.ts +7 -16
  196. package/dist-types/ts3.4/index.d.ts +1 -0
  197. package/dist-types/ts3.4/models/enums.d.ts +6 -0
  198. package/dist-types/ts3.4/models/models_0.d.ts +3 -0
  199. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  200. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  201. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
  202. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
  203. 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 { ListCommandExecutionsForSandbox$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListCommandExecutionsForSandboxCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("CodeBuild_20161006", "ListCommandExecutionsForSandbox", {})
13
- .n("CodeBuildClient", "ListCommandExecutionsForSandboxCommand")
14
- .sc(ListCommandExecutionsForSandbox$)
15
- .build() {
3
+ export class ListCommandExecutionsForSandboxCommand extends command(_ep0, _mw0, "ListCommandExecutionsForSandbox", ListCommandExecutionsForSandbox$) {
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 { ListCuratedEnvironmentImages$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListCuratedEnvironmentImagesCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("CodeBuild_20161006", "ListCuratedEnvironmentImages", {})
13
- .n("CodeBuildClient", "ListCuratedEnvironmentImagesCommand")
14
- .sc(ListCuratedEnvironmentImages$)
15
- .build() {
3
+ export class ListCuratedEnvironmentImagesCommand extends command(_ep0, _mw0, "ListCuratedEnvironmentImages", ListCuratedEnvironmentImages$) {
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 { ListFleets$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListFleetsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("CodeBuild_20161006", "ListFleets", {})
13
- .n("CodeBuildClient", "ListFleetsCommand")
14
- .sc(ListFleets$)
15
- .build() {
3
+ export class ListFleetsCommand extends command(_ep0, _mw0, "ListFleets", ListFleets$) {
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 { ListProjects$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListProjectsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("CodeBuild_20161006", "ListProjects", {})
13
- .n("CodeBuildClient", "ListProjectsCommand")
14
- .sc(ListProjects$)
15
- .build() {
3
+ export class ListProjectsCommand extends command(_ep0, _mw0, "ListProjects", ListProjects$) {
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 { ListReportGroups$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListReportGroupsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("CodeBuild_20161006", "ListReportGroups", {})
13
- .n("CodeBuildClient", "ListReportGroupsCommand")
14
- .sc(ListReportGroups$)
15
- .build() {
3
+ export class ListReportGroupsCommand extends command(_ep0, _mw0, "ListReportGroups", ListReportGroups$) {
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 { ListReports$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListReportsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("CodeBuild_20161006", "ListReports", {})
13
- .n("CodeBuildClient", "ListReportsCommand")
14
- .sc(ListReports$)
15
- .build() {
3
+ export class ListReportsCommand extends command(_ep0, _mw0, "ListReports", ListReports$) {
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 { ListReportsForReportGroup$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListReportsForReportGroupCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("CodeBuild_20161006", "ListReportsForReportGroup", {})
13
- .n("CodeBuildClient", "ListReportsForReportGroupCommand")
14
- .sc(ListReportsForReportGroup$)
15
- .build() {
3
+ export class ListReportsForReportGroupCommand extends command(_ep0, _mw0, "ListReportsForReportGroup", ListReportsForReportGroup$) {
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 { ListSandboxes$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListSandboxesCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("CodeBuild_20161006", "ListSandboxes", {})
13
- .n("CodeBuildClient", "ListSandboxesCommand")
14
- .sc(ListSandboxes$)
15
- .build() {
3
+ export class ListSandboxesCommand extends command(_ep0, _mw0, "ListSandboxes", ListSandboxes$) {
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 { ListSandboxesForProject$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListSandboxesForProjectCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("CodeBuild_20161006", "ListSandboxesForProject", {})
13
- .n("CodeBuildClient", "ListSandboxesForProjectCommand")
14
- .sc(ListSandboxesForProject$)
15
- .build() {
3
+ export class ListSandboxesForProjectCommand extends command(_ep0, _mw0, "ListSandboxesForProject", ListSandboxesForProject$) {
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 { ListSharedProjects$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListSharedProjectsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("CodeBuild_20161006", "ListSharedProjects", {})
13
- .n("CodeBuildClient", "ListSharedProjectsCommand")
14
- .sc(ListSharedProjects$)
15
- .build() {
3
+ export class ListSharedProjectsCommand extends command(_ep0, _mw0, "ListSharedProjects", ListSharedProjects$) {
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 { ListSharedReportGroups$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListSharedReportGroupsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("CodeBuild_20161006", "ListSharedReportGroups", {})
13
- .n("CodeBuildClient", "ListSharedReportGroupsCommand")
14
- .sc(ListSharedReportGroups$)
15
- .build() {
3
+ export class ListSharedReportGroupsCommand extends command(_ep0, _mw0, "ListSharedReportGroups", ListSharedReportGroups$) {
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 { ListSourceCredentials$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListSourceCredentialsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("CodeBuild_20161006", "ListSourceCredentials", {})
13
- .n("CodeBuildClient", "ListSourceCredentialsCommand")
14
- .sc(ListSourceCredentials$)
15
- .build() {
3
+ export class ListSourceCredentialsCommand extends command(_ep0, _mw0, "ListSourceCredentials", ListSourceCredentials$) {
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 { PutResourcePolicy$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class PutResourcePolicyCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("CodeBuild_20161006", "PutResourcePolicy", {})
13
- .n("CodeBuildClient", "PutResourcePolicyCommand")
14
- .sc(PutResourcePolicy$)
15
- .build() {
3
+ export class PutResourcePolicyCommand extends command(_ep0, _mw0, "PutResourcePolicy", PutResourcePolicy$) {
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 { RetryBuildBatch$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class RetryBuildBatchCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("CodeBuild_20161006", "RetryBuildBatch", {})
13
- .n("CodeBuildClient", "RetryBuildBatchCommand")
14
- .sc(RetryBuildBatch$)
15
- .build() {
3
+ export class RetryBuildBatchCommand extends command(_ep0, _mw0, "RetryBuildBatch", RetryBuildBatch$) {
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 { RetryBuild$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class RetryBuildCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("CodeBuild_20161006", "RetryBuild", {})
13
- .n("CodeBuildClient", "RetryBuildCommand")
14
- .sc(RetryBuild$)
15
- .build() {
3
+ export class RetryBuildCommand extends command(_ep0, _mw0, "RetryBuild", RetryBuild$) {
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 { StartBuildBatch$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class StartBuildBatchCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("CodeBuild_20161006", "StartBuildBatch", {})
13
- .n("CodeBuildClient", "StartBuildBatchCommand")
14
- .sc(StartBuildBatch$)
15
- .build() {
3
+ export class StartBuildBatchCommand extends command(_ep0, _mw0, "StartBuildBatch", StartBuildBatch$) {
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 { StartBuild$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class StartBuildCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("CodeBuild_20161006", "StartBuild", {})
13
- .n("CodeBuildClient", "StartBuildCommand")
14
- .sc(StartBuild$)
15
- .build() {
3
+ export class StartBuildCommand extends command(_ep0, _mw0, "StartBuild", StartBuild$) {
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 { StartCommandExecution$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class StartCommandExecutionCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("CodeBuild_20161006", "StartCommandExecution", {})
13
- .n("CodeBuildClient", "StartCommandExecutionCommand")
14
- .sc(StartCommandExecution$)
15
- .build() {
3
+ export class StartCommandExecutionCommand extends command(_ep0, _mw0, "StartCommandExecution", StartCommandExecution$) {
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 { StartSandbox$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class StartSandboxCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("CodeBuild_20161006", "StartSandbox", {})
13
- .n("CodeBuildClient", "StartSandboxCommand")
14
- .sc(StartSandbox$)
15
- .build() {
3
+ export class StartSandboxCommand extends command(_ep0, _mw0, "StartSandbox", StartSandbox$) {
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 { StartSandboxConnection$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class StartSandboxConnectionCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("CodeBuild_20161006", "StartSandboxConnection", {})
13
- .n("CodeBuildClient", "StartSandboxConnectionCommand")
14
- .sc(StartSandboxConnection$)
15
- .build() {
3
+ export class StartSandboxConnectionCommand extends command(_ep0, _mw0, "StartSandboxConnection", StartSandboxConnection$) {
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 { StopBuildBatch$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class StopBuildBatchCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("CodeBuild_20161006", "StopBuildBatch", {})
13
- .n("CodeBuildClient", "StopBuildBatchCommand")
14
- .sc(StopBuildBatch$)
15
- .build() {
3
+ export class StopBuildBatchCommand extends command(_ep0, _mw0, "StopBuildBatch", StopBuildBatch$) {
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 { StopBuild$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class StopBuildCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("CodeBuild_20161006", "StopBuild", {})
13
- .n("CodeBuildClient", "StopBuildCommand")
14
- .sc(StopBuild$)
15
- .build() {
3
+ export class StopBuildCommand extends command(_ep0, _mw0, "StopBuild", StopBuild$) {
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 { StopSandbox$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class StopSandboxCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("CodeBuild_20161006", "StopSandbox", {})
13
- .n("CodeBuildClient", "StopSandboxCommand")
14
- .sc(StopSandbox$)
15
- .build() {
3
+ export class StopSandboxCommand extends command(_ep0, _mw0, "StopSandbox", StopSandbox$) {
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 { UpdateFleet$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateFleetCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("CodeBuild_20161006", "UpdateFleet", {})
13
- .n("CodeBuildClient", "UpdateFleetCommand")
14
- .sc(UpdateFleet$)
15
- .build() {
3
+ export class UpdateFleetCommand extends command(_ep0, _mw0, "UpdateFleet", UpdateFleet$) {
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 { UpdateProject$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateProjectCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("CodeBuild_20161006", "UpdateProject", {})
13
- .n("CodeBuildClient", "UpdateProjectCommand")
14
- .sc(UpdateProject$)
15
- .build() {
3
+ export class UpdateProjectCommand extends command(_ep0, _mw0, "UpdateProject", UpdateProject$) {
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 { UpdateProjectVisibility$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateProjectVisibilityCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("CodeBuild_20161006", "UpdateProjectVisibility", {})
13
- .n("CodeBuildClient", "UpdateProjectVisibilityCommand")
14
- .sc(UpdateProjectVisibility$)
15
- .build() {
3
+ export class UpdateProjectVisibilityCommand extends command(_ep0, _mw0, "UpdateProjectVisibility", UpdateProjectVisibility$) {
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 { UpdateReportGroup$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateReportGroupCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("CodeBuild_20161006", "UpdateReportGroup", {})
13
- .n("CodeBuildClient", "UpdateReportGroupCommand")
14
- .sc(UpdateReportGroup$)
15
- .build() {
3
+ export class UpdateReportGroupCommand extends command(_ep0, _mw0, "UpdateReportGroup", UpdateReportGroup$) {
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 { UpdateWebhook$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateWebhookCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("CodeBuild_20161006", "UpdateWebhook", {})
13
- .n("CodeBuildClient", "UpdateWebhookCommand")
14
- .sc(UpdateWebhook$)
15
- .build() {
3
+ export class UpdateWebhookCommand extends command(_ep0, _mw0, "UpdateWebhook", UpdateWebhook$) {
16
4
  }
package/dist-es/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from "./CodeBuildClient";
2
2
  export * from "./CodeBuild";
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";
@@ -68,6 +68,11 @@ export const EnvironmentVariableType = {
68
68
  PLAINTEXT: "PLAINTEXT",
69
69
  SECRETS_MANAGER: "SECRETS_MANAGER",
70
70
  };
71
+ export const HostKernel = {
72
+ LINUX_KERNEL_4: "LINUX_KERNEL_4",
73
+ LINUX_KERNEL_6: "LINUX_KERNEL_6",
74
+ LINUX_KERNEL_LATEST: "LINUX_KERNEL_LATEST",
75
+ };
71
76
  export const ImagePullCredentialsType = {
72
77
  CODEBUILD: "CODEBUILD",
73
78
  SERVICE_ROLE: "SERVICE_ROLE",
@@ -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
  };