@aws-sdk/client-imagebuilder 3.194.0 → 3.197.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 (232) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/dist-cjs/ImagebuilderClient.js +11 -8
  3. package/dist-cjs/commands/CancelImageCreationCommand.js +10 -0
  4. package/dist-cjs/commands/CreateComponentCommand.js +10 -0
  5. package/dist-cjs/commands/CreateContainerRecipeCommand.js +10 -0
  6. package/dist-cjs/commands/CreateDistributionConfigurationCommand.js +10 -0
  7. package/dist-cjs/commands/CreateImageCommand.js +10 -0
  8. package/dist-cjs/commands/CreateImagePipelineCommand.js +10 -0
  9. package/dist-cjs/commands/CreateImageRecipeCommand.js +10 -0
  10. package/dist-cjs/commands/CreateInfrastructureConfigurationCommand.js +10 -0
  11. package/dist-cjs/commands/DeleteComponentCommand.js +10 -0
  12. package/dist-cjs/commands/DeleteContainerRecipeCommand.js +10 -0
  13. package/dist-cjs/commands/DeleteDistributionConfigurationCommand.js +10 -0
  14. package/dist-cjs/commands/DeleteImageCommand.js +10 -0
  15. package/dist-cjs/commands/DeleteImagePipelineCommand.js +10 -0
  16. package/dist-cjs/commands/DeleteImageRecipeCommand.js +10 -0
  17. package/dist-cjs/commands/DeleteInfrastructureConfigurationCommand.js +10 -0
  18. package/dist-cjs/commands/GetComponentCommand.js +10 -0
  19. package/dist-cjs/commands/GetComponentPolicyCommand.js +10 -0
  20. package/dist-cjs/commands/GetContainerRecipeCommand.js +10 -0
  21. package/dist-cjs/commands/GetContainerRecipePolicyCommand.js +10 -0
  22. package/dist-cjs/commands/GetDistributionConfigurationCommand.js +10 -0
  23. package/dist-cjs/commands/GetImageCommand.js +10 -0
  24. package/dist-cjs/commands/GetImagePipelineCommand.js +10 -0
  25. package/dist-cjs/commands/GetImagePolicyCommand.js +10 -0
  26. package/dist-cjs/commands/GetImageRecipeCommand.js +10 -0
  27. package/dist-cjs/commands/GetImageRecipePolicyCommand.js +10 -0
  28. package/dist-cjs/commands/GetInfrastructureConfigurationCommand.js +10 -0
  29. package/dist-cjs/commands/ImportComponentCommand.js +10 -0
  30. package/dist-cjs/commands/ImportVmImageCommand.js +10 -0
  31. package/dist-cjs/commands/ListComponentBuildVersionsCommand.js +10 -0
  32. package/dist-cjs/commands/ListComponentsCommand.js +10 -0
  33. package/dist-cjs/commands/ListContainerRecipesCommand.js +10 -0
  34. package/dist-cjs/commands/ListDistributionConfigurationsCommand.js +10 -0
  35. package/dist-cjs/commands/ListImageBuildVersionsCommand.js +10 -0
  36. package/dist-cjs/commands/ListImagePackagesCommand.js +10 -0
  37. package/dist-cjs/commands/ListImagePipelineImagesCommand.js +10 -0
  38. package/dist-cjs/commands/ListImagePipelinesCommand.js +10 -0
  39. package/dist-cjs/commands/ListImageRecipesCommand.js +10 -0
  40. package/dist-cjs/commands/ListImagesCommand.js +10 -0
  41. package/dist-cjs/commands/ListInfrastructureConfigurationsCommand.js +10 -0
  42. package/dist-cjs/commands/ListTagsForResourceCommand.js +10 -0
  43. package/dist-cjs/commands/PutComponentPolicyCommand.js +10 -0
  44. package/dist-cjs/commands/PutContainerRecipePolicyCommand.js +10 -0
  45. package/dist-cjs/commands/PutImagePolicyCommand.js +10 -0
  46. package/dist-cjs/commands/PutImageRecipePolicyCommand.js +10 -0
  47. package/dist-cjs/commands/StartImagePipelineExecutionCommand.js +10 -0
  48. package/dist-cjs/commands/TagResourceCommand.js +10 -0
  49. package/dist-cjs/commands/UntagResourceCommand.js +10 -0
  50. package/dist-cjs/commands/UpdateDistributionConfigurationCommand.js +10 -0
  51. package/dist-cjs/commands/UpdateImagePipelineCommand.js +10 -0
  52. package/dist-cjs/commands/UpdateInfrastructureConfigurationCommand.js +10 -0
  53. package/dist-cjs/endpoint/EndpointParameters.js +13 -0
  54. package/dist-cjs/endpoint/endpointResolver.js +12 -0
  55. package/dist-cjs/endpoint/ruleset.js +312 -0
  56. package/dist-cjs/runtimeConfig.shared.js +3 -3
  57. package/dist-es/ImagebuilderClient.js +12 -9
  58. package/dist-es/commands/CancelImageCreationCommand.js +10 -0
  59. package/dist-es/commands/CreateComponentCommand.js +10 -0
  60. package/dist-es/commands/CreateContainerRecipeCommand.js +10 -0
  61. package/dist-es/commands/CreateDistributionConfigurationCommand.js +10 -0
  62. package/dist-es/commands/CreateImageCommand.js +10 -0
  63. package/dist-es/commands/CreateImagePipelineCommand.js +10 -0
  64. package/dist-es/commands/CreateImageRecipeCommand.js +10 -0
  65. package/dist-es/commands/CreateInfrastructureConfigurationCommand.js +10 -0
  66. package/dist-es/commands/DeleteComponentCommand.js +10 -0
  67. package/dist-es/commands/DeleteContainerRecipeCommand.js +10 -0
  68. package/dist-es/commands/DeleteDistributionConfigurationCommand.js +10 -0
  69. package/dist-es/commands/DeleteImageCommand.js +10 -0
  70. package/dist-es/commands/DeleteImagePipelineCommand.js +10 -0
  71. package/dist-es/commands/DeleteImageRecipeCommand.js +10 -0
  72. package/dist-es/commands/DeleteInfrastructureConfigurationCommand.js +10 -0
  73. package/dist-es/commands/GetComponentCommand.js +10 -0
  74. package/dist-es/commands/GetComponentPolicyCommand.js +10 -0
  75. package/dist-es/commands/GetContainerRecipeCommand.js +10 -0
  76. package/dist-es/commands/GetContainerRecipePolicyCommand.js +10 -0
  77. package/dist-es/commands/GetDistributionConfigurationCommand.js +10 -0
  78. package/dist-es/commands/GetImageCommand.js +10 -0
  79. package/dist-es/commands/GetImagePipelineCommand.js +10 -0
  80. package/dist-es/commands/GetImagePolicyCommand.js +10 -0
  81. package/dist-es/commands/GetImageRecipeCommand.js +10 -0
  82. package/dist-es/commands/GetImageRecipePolicyCommand.js +10 -0
  83. package/dist-es/commands/GetInfrastructureConfigurationCommand.js +10 -0
  84. package/dist-es/commands/ImportComponentCommand.js +10 -0
  85. package/dist-es/commands/ImportVmImageCommand.js +10 -0
  86. package/dist-es/commands/ListComponentBuildVersionsCommand.js +10 -0
  87. package/dist-es/commands/ListComponentsCommand.js +10 -0
  88. package/dist-es/commands/ListContainerRecipesCommand.js +10 -0
  89. package/dist-es/commands/ListDistributionConfigurationsCommand.js +10 -0
  90. package/dist-es/commands/ListImageBuildVersionsCommand.js +10 -0
  91. package/dist-es/commands/ListImagePackagesCommand.js +10 -0
  92. package/dist-es/commands/ListImagePipelineImagesCommand.js +10 -0
  93. package/dist-es/commands/ListImagePipelinesCommand.js +10 -0
  94. package/dist-es/commands/ListImageRecipesCommand.js +10 -0
  95. package/dist-es/commands/ListImagesCommand.js +10 -0
  96. package/dist-es/commands/ListInfrastructureConfigurationsCommand.js +10 -0
  97. package/dist-es/commands/ListTagsForResourceCommand.js +10 -0
  98. package/dist-es/commands/PutComponentPolicyCommand.js +10 -0
  99. package/dist-es/commands/PutContainerRecipePolicyCommand.js +10 -0
  100. package/dist-es/commands/PutImagePolicyCommand.js +10 -0
  101. package/dist-es/commands/PutImageRecipePolicyCommand.js +10 -0
  102. package/dist-es/commands/StartImagePipelineExecutionCommand.js +10 -0
  103. package/dist-es/commands/TagResourceCommand.js +10 -0
  104. package/dist-es/commands/UntagResourceCommand.js +10 -0
  105. package/dist-es/commands/UpdateDistributionConfigurationCommand.js +10 -0
  106. package/dist-es/commands/UpdateImagePipelineCommand.js +10 -0
  107. package/dist-es/commands/UpdateInfrastructureConfigurationCommand.js +10 -0
  108. package/dist-es/endpoint/EndpointParameters.js +8 -0
  109. package/dist-es/endpoint/endpointResolver.js +8 -0
  110. package/dist-es/endpoint/ruleset.js +309 -0
  111. package/dist-es/runtimeConfig.shared.js +2 -2
  112. package/dist-types/ImagebuilderClient.d.ts +6 -9
  113. package/dist-types/commands/CancelImageCreationCommand.d.ts +2 -0
  114. package/dist-types/commands/CreateComponentCommand.d.ts +2 -0
  115. package/dist-types/commands/CreateContainerRecipeCommand.d.ts +2 -0
  116. package/dist-types/commands/CreateDistributionConfigurationCommand.d.ts +2 -0
  117. package/dist-types/commands/CreateImageCommand.d.ts +2 -0
  118. package/dist-types/commands/CreateImagePipelineCommand.d.ts +2 -0
  119. package/dist-types/commands/CreateImageRecipeCommand.d.ts +2 -0
  120. package/dist-types/commands/CreateInfrastructureConfigurationCommand.d.ts +2 -0
  121. package/dist-types/commands/DeleteComponentCommand.d.ts +2 -0
  122. package/dist-types/commands/DeleteContainerRecipeCommand.d.ts +2 -0
  123. package/dist-types/commands/DeleteDistributionConfigurationCommand.d.ts +2 -0
  124. package/dist-types/commands/DeleteImageCommand.d.ts +2 -0
  125. package/dist-types/commands/DeleteImagePipelineCommand.d.ts +2 -0
  126. package/dist-types/commands/DeleteImageRecipeCommand.d.ts +2 -0
  127. package/dist-types/commands/DeleteInfrastructureConfigurationCommand.d.ts +2 -0
  128. package/dist-types/commands/GetComponentCommand.d.ts +2 -0
  129. package/dist-types/commands/GetComponentPolicyCommand.d.ts +2 -0
  130. package/dist-types/commands/GetContainerRecipeCommand.d.ts +2 -0
  131. package/dist-types/commands/GetContainerRecipePolicyCommand.d.ts +2 -0
  132. package/dist-types/commands/GetDistributionConfigurationCommand.d.ts +2 -0
  133. package/dist-types/commands/GetImageCommand.d.ts +2 -0
  134. package/dist-types/commands/GetImagePipelineCommand.d.ts +2 -0
  135. package/dist-types/commands/GetImagePolicyCommand.d.ts +2 -0
  136. package/dist-types/commands/GetImageRecipeCommand.d.ts +2 -0
  137. package/dist-types/commands/GetImageRecipePolicyCommand.d.ts +2 -0
  138. package/dist-types/commands/GetInfrastructureConfigurationCommand.d.ts +2 -0
  139. package/dist-types/commands/ImportComponentCommand.d.ts +2 -0
  140. package/dist-types/commands/ImportVmImageCommand.d.ts +2 -0
  141. package/dist-types/commands/ListComponentBuildVersionsCommand.d.ts +2 -0
  142. package/dist-types/commands/ListComponentsCommand.d.ts +2 -0
  143. package/dist-types/commands/ListContainerRecipesCommand.d.ts +2 -0
  144. package/dist-types/commands/ListDistributionConfigurationsCommand.d.ts +2 -0
  145. package/dist-types/commands/ListImageBuildVersionsCommand.d.ts +2 -0
  146. package/dist-types/commands/ListImagePackagesCommand.d.ts +2 -0
  147. package/dist-types/commands/ListImagePipelineImagesCommand.d.ts +2 -0
  148. package/dist-types/commands/ListImagePipelinesCommand.d.ts +2 -0
  149. package/dist-types/commands/ListImageRecipesCommand.d.ts +2 -0
  150. package/dist-types/commands/ListImagesCommand.d.ts +2 -0
  151. package/dist-types/commands/ListInfrastructureConfigurationsCommand.d.ts +2 -0
  152. package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -0
  153. package/dist-types/commands/PutComponentPolicyCommand.d.ts +2 -0
  154. package/dist-types/commands/PutContainerRecipePolicyCommand.d.ts +2 -0
  155. package/dist-types/commands/PutImagePolicyCommand.d.ts +2 -0
  156. package/dist-types/commands/PutImageRecipePolicyCommand.d.ts +2 -0
  157. package/dist-types/commands/StartImagePipelineExecutionCommand.d.ts +2 -0
  158. package/dist-types/commands/TagResourceCommand.d.ts +2 -0
  159. package/dist-types/commands/UntagResourceCommand.d.ts +2 -0
  160. package/dist-types/commands/UpdateDistributionConfigurationCommand.d.ts +2 -0
  161. package/dist-types/commands/UpdateImagePipelineCommand.d.ts +2 -0
  162. package/dist-types/commands/UpdateInfrastructureConfigurationCommand.d.ts +2 -0
  163. package/dist-types/endpoint/EndpointParameters.d.ts +19 -0
  164. package/dist-types/endpoint/endpointResolver.d.ts +5 -0
  165. package/dist-types/endpoint/ruleset.d.ts +2 -0
  166. package/dist-types/runtimeConfig.browser.d.ts +4 -2
  167. package/dist-types/runtimeConfig.d.ts +4 -2
  168. package/dist-types/runtimeConfig.native.d.ts +4 -2
  169. package/dist-types/runtimeConfig.shared.d.ts +3 -1
  170. package/dist-types/ts3.4/ImagebuilderClient.d.ts +15 -8
  171. package/dist-types/ts3.4/commands/CancelImageCreationCommand.d.ts +2 -0
  172. package/dist-types/ts3.4/commands/CreateComponentCommand.d.ts +2 -0
  173. package/dist-types/ts3.4/commands/CreateContainerRecipeCommand.d.ts +2 -0
  174. package/dist-types/ts3.4/commands/CreateDistributionConfigurationCommand.d.ts +2 -0
  175. package/dist-types/ts3.4/commands/CreateImageCommand.d.ts +2 -0
  176. package/dist-types/ts3.4/commands/CreateImagePipelineCommand.d.ts +2 -0
  177. package/dist-types/ts3.4/commands/CreateImageRecipeCommand.d.ts +2 -0
  178. package/dist-types/ts3.4/commands/CreateInfrastructureConfigurationCommand.d.ts +2 -0
  179. package/dist-types/ts3.4/commands/DeleteComponentCommand.d.ts +2 -0
  180. package/dist-types/ts3.4/commands/DeleteContainerRecipeCommand.d.ts +2 -0
  181. package/dist-types/ts3.4/commands/DeleteDistributionConfigurationCommand.d.ts +2 -0
  182. package/dist-types/ts3.4/commands/DeleteImageCommand.d.ts +2 -0
  183. package/dist-types/ts3.4/commands/DeleteImagePipelineCommand.d.ts +2 -0
  184. package/dist-types/ts3.4/commands/DeleteImageRecipeCommand.d.ts +2 -0
  185. package/dist-types/ts3.4/commands/DeleteInfrastructureConfigurationCommand.d.ts +2 -0
  186. package/dist-types/ts3.4/commands/GetComponentCommand.d.ts +2 -0
  187. package/dist-types/ts3.4/commands/GetComponentPolicyCommand.d.ts +2 -0
  188. package/dist-types/ts3.4/commands/GetContainerRecipeCommand.d.ts +2 -0
  189. package/dist-types/ts3.4/commands/GetContainerRecipePolicyCommand.d.ts +2 -0
  190. package/dist-types/ts3.4/commands/GetDistributionConfigurationCommand.d.ts +2 -0
  191. package/dist-types/ts3.4/commands/GetImageCommand.d.ts +2 -0
  192. package/dist-types/ts3.4/commands/GetImagePipelineCommand.d.ts +2 -0
  193. package/dist-types/ts3.4/commands/GetImagePolicyCommand.d.ts +2 -0
  194. package/dist-types/ts3.4/commands/GetImageRecipeCommand.d.ts +2 -0
  195. package/dist-types/ts3.4/commands/GetImageRecipePolicyCommand.d.ts +2 -0
  196. package/dist-types/ts3.4/commands/GetInfrastructureConfigurationCommand.d.ts +2 -0
  197. package/dist-types/ts3.4/commands/ImportComponentCommand.d.ts +2 -0
  198. package/dist-types/ts3.4/commands/ImportVmImageCommand.d.ts +2 -0
  199. package/dist-types/ts3.4/commands/ListComponentBuildVersionsCommand.d.ts +2 -0
  200. package/dist-types/ts3.4/commands/ListComponentsCommand.d.ts +2 -0
  201. package/dist-types/ts3.4/commands/ListContainerRecipesCommand.d.ts +2 -0
  202. package/dist-types/ts3.4/commands/ListDistributionConfigurationsCommand.d.ts +2 -0
  203. package/dist-types/ts3.4/commands/ListImageBuildVersionsCommand.d.ts +2 -0
  204. package/dist-types/ts3.4/commands/ListImagePackagesCommand.d.ts +2 -0
  205. package/dist-types/ts3.4/commands/ListImagePipelineImagesCommand.d.ts +2 -0
  206. package/dist-types/ts3.4/commands/ListImagePipelinesCommand.d.ts +2 -0
  207. package/dist-types/ts3.4/commands/ListImageRecipesCommand.d.ts +2 -0
  208. package/dist-types/ts3.4/commands/ListImagesCommand.d.ts +2 -0
  209. package/dist-types/ts3.4/commands/ListInfrastructureConfigurationsCommand.d.ts +2 -0
  210. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -0
  211. package/dist-types/ts3.4/commands/PutComponentPolicyCommand.d.ts +2 -0
  212. package/dist-types/ts3.4/commands/PutContainerRecipePolicyCommand.d.ts +2 -0
  213. package/dist-types/ts3.4/commands/PutImagePolicyCommand.d.ts +2 -0
  214. package/dist-types/ts3.4/commands/PutImageRecipePolicyCommand.d.ts +2 -0
  215. package/dist-types/ts3.4/commands/StartImagePipelineExecutionCommand.d.ts +2 -0
  216. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -0
  217. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -0
  218. package/dist-types/ts3.4/commands/UpdateDistributionConfigurationCommand.d.ts +2 -0
  219. package/dist-types/ts3.4/commands/UpdateImagePipelineCommand.d.ts +2 -0
  220. package/dist-types/ts3.4/commands/UpdateInfrastructureConfigurationCommand.d.ts +2 -0
  221. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +34 -0
  222. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  223. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  224. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +23 -4
  225. package/dist-types/ts3.4/runtimeConfig.d.ts +23 -4
  226. package/dist-types/ts3.4/runtimeConfig.native.d.ts +8 -1
  227. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +6 -1
  228. package/package.json +28 -26
  229. package/dist-cjs/endpoints.js +0 -132
  230. package/dist-es/endpoints.js +0 -128
  231. package/dist-types/endpoints.d.ts +0 -2
  232. package/dist-types/ts3.4/endpoints.d.ts +0 -2
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.GetImagePipelineCommand = void 0;
4
+ const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
4
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
7
  const models_0_1 = require("../models/models_0");
@@ -10,8 +11,17 @@ class GetImagePipelineCommand extends smithy_client_1.Command {
10
11
  super();
11
12
  this.input = input;
12
13
  }
14
+ static getEndpointParameterInstructions() {
15
+ return {
16
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
17
+ Endpoint: { type: "builtInParams", name: "endpoint" },
18
+ Region: { type: "builtInParams", name: "region" },
19
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
20
+ };
21
+ }
13
22
  resolveMiddleware(clientStack, configuration, options) {
14
23
  this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
24
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetImagePipelineCommand.getEndpointParameterInstructions()));
15
25
  const stack = clientStack.concat(this.middlewareStack);
16
26
  const { logger } = configuration;
17
27
  const clientName = "ImagebuilderClient";
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.GetImagePolicyCommand = void 0;
4
+ const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
4
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
7
  const models_0_1 = require("../models/models_0");
@@ -10,8 +11,17 @@ class GetImagePolicyCommand extends smithy_client_1.Command {
10
11
  super();
11
12
  this.input = input;
12
13
  }
14
+ static getEndpointParameterInstructions() {
15
+ return {
16
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
17
+ Endpoint: { type: "builtInParams", name: "endpoint" },
18
+ Region: { type: "builtInParams", name: "region" },
19
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
20
+ };
21
+ }
13
22
  resolveMiddleware(clientStack, configuration, options) {
14
23
  this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
24
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetImagePolicyCommand.getEndpointParameterInstructions()));
15
25
  const stack = clientStack.concat(this.middlewareStack);
16
26
  const { logger } = configuration;
17
27
  const clientName = "ImagebuilderClient";
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.GetImageRecipeCommand = void 0;
4
+ const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
4
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
7
  const models_0_1 = require("../models/models_0");
@@ -10,8 +11,17 @@ class GetImageRecipeCommand extends smithy_client_1.Command {
10
11
  super();
11
12
  this.input = input;
12
13
  }
14
+ static getEndpointParameterInstructions() {
15
+ return {
16
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
17
+ Endpoint: { type: "builtInParams", name: "endpoint" },
18
+ Region: { type: "builtInParams", name: "region" },
19
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
20
+ };
21
+ }
13
22
  resolveMiddleware(clientStack, configuration, options) {
14
23
  this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
24
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetImageRecipeCommand.getEndpointParameterInstructions()));
15
25
  const stack = clientStack.concat(this.middlewareStack);
16
26
  const { logger } = configuration;
17
27
  const clientName = "ImagebuilderClient";
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.GetImageRecipePolicyCommand = void 0;
4
+ const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
4
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
7
  const models_0_1 = require("../models/models_0");
@@ -10,8 +11,17 @@ class GetImageRecipePolicyCommand extends smithy_client_1.Command {
10
11
  super();
11
12
  this.input = input;
12
13
  }
14
+ static getEndpointParameterInstructions() {
15
+ return {
16
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
17
+ Endpoint: { type: "builtInParams", name: "endpoint" },
18
+ Region: { type: "builtInParams", name: "region" },
19
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
20
+ };
21
+ }
13
22
  resolveMiddleware(clientStack, configuration, options) {
14
23
  this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
24
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetImageRecipePolicyCommand.getEndpointParameterInstructions()));
15
25
  const stack = clientStack.concat(this.middlewareStack);
16
26
  const { logger } = configuration;
17
27
  const clientName = "ImagebuilderClient";
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.GetInfrastructureConfigurationCommand = void 0;
4
+ const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
4
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
7
  const models_0_1 = require("../models/models_0");
@@ -10,8 +11,17 @@ class GetInfrastructureConfigurationCommand extends smithy_client_1.Command {
10
11
  super();
11
12
  this.input = input;
12
13
  }
14
+ static getEndpointParameterInstructions() {
15
+ return {
16
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
17
+ Endpoint: { type: "builtInParams", name: "endpoint" },
18
+ Region: { type: "builtInParams", name: "region" },
19
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
20
+ };
21
+ }
13
22
  resolveMiddleware(clientStack, configuration, options) {
14
23
  this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
24
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetInfrastructureConfigurationCommand.getEndpointParameterInstructions()));
15
25
  const stack = clientStack.concat(this.middlewareStack);
16
26
  const { logger } = configuration;
17
27
  const clientName = "ImagebuilderClient";
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ImportComponentCommand = void 0;
4
+ const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
4
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
7
  const models_0_1 = require("../models/models_0");
@@ -10,8 +11,17 @@ class ImportComponentCommand extends smithy_client_1.Command {
10
11
  super();
11
12
  this.input = input;
12
13
  }
14
+ static getEndpointParameterInstructions() {
15
+ return {
16
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
17
+ Endpoint: { type: "builtInParams", name: "endpoint" },
18
+ Region: { type: "builtInParams", name: "region" },
19
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
20
+ };
21
+ }
13
22
  resolveMiddleware(clientStack, configuration, options) {
14
23
  this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
24
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ImportComponentCommand.getEndpointParameterInstructions()));
15
25
  const stack = clientStack.concat(this.middlewareStack);
16
26
  const { logger } = configuration;
17
27
  const clientName = "ImagebuilderClient";
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ImportVmImageCommand = void 0;
4
+ const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
4
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
7
  const models_0_1 = require("../models/models_0");
@@ -10,8 +11,17 @@ class ImportVmImageCommand extends smithy_client_1.Command {
10
11
  super();
11
12
  this.input = input;
12
13
  }
14
+ static getEndpointParameterInstructions() {
15
+ return {
16
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
17
+ Endpoint: { type: "builtInParams", name: "endpoint" },
18
+ Region: { type: "builtInParams", name: "region" },
19
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
20
+ };
21
+ }
13
22
  resolveMiddleware(clientStack, configuration, options) {
14
23
  this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
24
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ImportVmImageCommand.getEndpointParameterInstructions()));
15
25
  const stack = clientStack.concat(this.middlewareStack);
16
26
  const { logger } = configuration;
17
27
  const clientName = "ImagebuilderClient";
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ListComponentBuildVersionsCommand = void 0;
4
+ const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
4
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
7
  const models_0_1 = require("../models/models_0");
@@ -10,8 +11,17 @@ class ListComponentBuildVersionsCommand extends smithy_client_1.Command {
10
11
  super();
11
12
  this.input = input;
12
13
  }
14
+ static getEndpointParameterInstructions() {
15
+ return {
16
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
17
+ Endpoint: { type: "builtInParams", name: "endpoint" },
18
+ Region: { type: "builtInParams", name: "region" },
19
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
20
+ };
21
+ }
13
22
  resolveMiddleware(clientStack, configuration, options) {
14
23
  this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
24
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListComponentBuildVersionsCommand.getEndpointParameterInstructions()));
15
25
  const stack = clientStack.concat(this.middlewareStack);
16
26
  const { logger } = configuration;
17
27
  const clientName = "ImagebuilderClient";
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ListComponentsCommand = void 0;
4
+ const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
4
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
7
  const models_0_1 = require("../models/models_0");
@@ -10,8 +11,17 @@ class ListComponentsCommand extends smithy_client_1.Command {
10
11
  super();
11
12
  this.input = input;
12
13
  }
14
+ static getEndpointParameterInstructions() {
15
+ return {
16
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
17
+ Endpoint: { type: "builtInParams", name: "endpoint" },
18
+ Region: { type: "builtInParams", name: "region" },
19
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
20
+ };
21
+ }
13
22
  resolveMiddleware(clientStack, configuration, options) {
14
23
  this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
24
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListComponentsCommand.getEndpointParameterInstructions()));
15
25
  const stack = clientStack.concat(this.middlewareStack);
16
26
  const { logger } = configuration;
17
27
  const clientName = "ImagebuilderClient";
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ListContainerRecipesCommand = void 0;
4
+ const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
4
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
7
  const models_0_1 = require("../models/models_0");
@@ -10,8 +11,17 @@ class ListContainerRecipesCommand extends smithy_client_1.Command {
10
11
  super();
11
12
  this.input = input;
12
13
  }
14
+ static getEndpointParameterInstructions() {
15
+ return {
16
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
17
+ Endpoint: { type: "builtInParams", name: "endpoint" },
18
+ Region: { type: "builtInParams", name: "region" },
19
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
20
+ };
21
+ }
13
22
  resolveMiddleware(clientStack, configuration, options) {
14
23
  this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
24
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListContainerRecipesCommand.getEndpointParameterInstructions()));
15
25
  const stack = clientStack.concat(this.middlewareStack);
16
26
  const { logger } = configuration;
17
27
  const clientName = "ImagebuilderClient";
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ListDistributionConfigurationsCommand = void 0;
4
+ const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
4
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
7
  const models_0_1 = require("../models/models_0");
@@ -10,8 +11,17 @@ class ListDistributionConfigurationsCommand extends smithy_client_1.Command {
10
11
  super();
11
12
  this.input = input;
12
13
  }
14
+ static getEndpointParameterInstructions() {
15
+ return {
16
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
17
+ Endpoint: { type: "builtInParams", name: "endpoint" },
18
+ Region: { type: "builtInParams", name: "region" },
19
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
20
+ };
21
+ }
13
22
  resolveMiddleware(clientStack, configuration, options) {
14
23
  this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
24
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListDistributionConfigurationsCommand.getEndpointParameterInstructions()));
15
25
  const stack = clientStack.concat(this.middlewareStack);
16
26
  const { logger } = configuration;
17
27
  const clientName = "ImagebuilderClient";
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ListImageBuildVersionsCommand = void 0;
4
+ const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
4
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
7
  const models_0_1 = require("../models/models_0");
@@ -10,8 +11,17 @@ class ListImageBuildVersionsCommand extends smithy_client_1.Command {
10
11
  super();
11
12
  this.input = input;
12
13
  }
14
+ static getEndpointParameterInstructions() {
15
+ return {
16
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
17
+ Endpoint: { type: "builtInParams", name: "endpoint" },
18
+ Region: { type: "builtInParams", name: "region" },
19
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
20
+ };
21
+ }
13
22
  resolveMiddleware(clientStack, configuration, options) {
14
23
  this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
24
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListImageBuildVersionsCommand.getEndpointParameterInstructions()));
15
25
  const stack = clientStack.concat(this.middlewareStack);
16
26
  const { logger } = configuration;
17
27
  const clientName = "ImagebuilderClient";
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ListImagePackagesCommand = void 0;
4
+ const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
4
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
7
  const models_0_1 = require("../models/models_0");
@@ -10,8 +11,17 @@ class ListImagePackagesCommand extends smithy_client_1.Command {
10
11
  super();
11
12
  this.input = input;
12
13
  }
14
+ static getEndpointParameterInstructions() {
15
+ return {
16
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
17
+ Endpoint: { type: "builtInParams", name: "endpoint" },
18
+ Region: { type: "builtInParams", name: "region" },
19
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
20
+ };
21
+ }
13
22
  resolveMiddleware(clientStack, configuration, options) {
14
23
  this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
24
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListImagePackagesCommand.getEndpointParameterInstructions()));
15
25
  const stack = clientStack.concat(this.middlewareStack);
16
26
  const { logger } = configuration;
17
27
  const clientName = "ImagebuilderClient";
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ListImagePipelineImagesCommand = void 0;
4
+ const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
4
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
7
  const models_0_1 = require("../models/models_0");
@@ -10,8 +11,17 @@ class ListImagePipelineImagesCommand extends smithy_client_1.Command {
10
11
  super();
11
12
  this.input = input;
12
13
  }
14
+ static getEndpointParameterInstructions() {
15
+ return {
16
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
17
+ Endpoint: { type: "builtInParams", name: "endpoint" },
18
+ Region: { type: "builtInParams", name: "region" },
19
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
20
+ };
21
+ }
13
22
  resolveMiddleware(clientStack, configuration, options) {
14
23
  this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
24
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListImagePipelineImagesCommand.getEndpointParameterInstructions()));
15
25
  const stack = clientStack.concat(this.middlewareStack);
16
26
  const { logger } = configuration;
17
27
  const clientName = "ImagebuilderClient";
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ListImagePipelinesCommand = void 0;
4
+ const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
4
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
7
  const models_0_1 = require("../models/models_0");
@@ -10,8 +11,17 @@ class ListImagePipelinesCommand extends smithy_client_1.Command {
10
11
  super();
11
12
  this.input = input;
12
13
  }
14
+ static getEndpointParameterInstructions() {
15
+ return {
16
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
17
+ Endpoint: { type: "builtInParams", name: "endpoint" },
18
+ Region: { type: "builtInParams", name: "region" },
19
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
20
+ };
21
+ }
13
22
  resolveMiddleware(clientStack, configuration, options) {
14
23
  this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
24
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListImagePipelinesCommand.getEndpointParameterInstructions()));
15
25
  const stack = clientStack.concat(this.middlewareStack);
16
26
  const { logger } = configuration;
17
27
  const clientName = "ImagebuilderClient";
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ListImageRecipesCommand = void 0;
4
+ const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
4
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
7
  const models_0_1 = require("../models/models_0");
@@ -10,8 +11,17 @@ class ListImageRecipesCommand extends smithy_client_1.Command {
10
11
  super();
11
12
  this.input = input;
12
13
  }
14
+ static getEndpointParameterInstructions() {
15
+ return {
16
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
17
+ Endpoint: { type: "builtInParams", name: "endpoint" },
18
+ Region: { type: "builtInParams", name: "region" },
19
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
20
+ };
21
+ }
13
22
  resolveMiddleware(clientStack, configuration, options) {
14
23
  this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
24
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListImageRecipesCommand.getEndpointParameterInstructions()));
15
25
  const stack = clientStack.concat(this.middlewareStack);
16
26
  const { logger } = configuration;
17
27
  const clientName = "ImagebuilderClient";
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ListImagesCommand = void 0;
4
+ const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
4
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
7
  const models_0_1 = require("../models/models_0");
@@ -10,8 +11,17 @@ class ListImagesCommand extends smithy_client_1.Command {
10
11
  super();
11
12
  this.input = input;
12
13
  }
14
+ static getEndpointParameterInstructions() {
15
+ return {
16
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
17
+ Endpoint: { type: "builtInParams", name: "endpoint" },
18
+ Region: { type: "builtInParams", name: "region" },
19
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
20
+ };
21
+ }
13
22
  resolveMiddleware(clientStack, configuration, options) {
14
23
  this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
24
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListImagesCommand.getEndpointParameterInstructions()));
15
25
  const stack = clientStack.concat(this.middlewareStack);
16
26
  const { logger } = configuration;
17
27
  const clientName = "ImagebuilderClient";
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ListInfrastructureConfigurationsCommand = void 0;
4
+ const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
4
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
7
  const models_0_1 = require("../models/models_0");
@@ -10,8 +11,17 @@ class ListInfrastructureConfigurationsCommand extends smithy_client_1.Command {
10
11
  super();
11
12
  this.input = input;
12
13
  }
14
+ static getEndpointParameterInstructions() {
15
+ return {
16
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
17
+ Endpoint: { type: "builtInParams", name: "endpoint" },
18
+ Region: { type: "builtInParams", name: "region" },
19
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
20
+ };
21
+ }
13
22
  resolveMiddleware(clientStack, configuration, options) {
14
23
  this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
24
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListInfrastructureConfigurationsCommand.getEndpointParameterInstructions()));
15
25
  const stack = clientStack.concat(this.middlewareStack);
16
26
  const { logger } = configuration;
17
27
  const clientName = "ImagebuilderClient";
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ListTagsForResourceCommand = void 0;
4
+ const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
4
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
7
  const models_0_1 = require("../models/models_0");
@@ -10,8 +11,17 @@ class ListTagsForResourceCommand extends smithy_client_1.Command {
10
11
  super();
11
12
  this.input = input;
12
13
  }
14
+ static getEndpointParameterInstructions() {
15
+ return {
16
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
17
+ Endpoint: { type: "builtInParams", name: "endpoint" },
18
+ Region: { type: "builtInParams", name: "region" },
19
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
20
+ };
21
+ }
13
22
  resolveMiddleware(clientStack, configuration, options) {
14
23
  this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
24
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListTagsForResourceCommand.getEndpointParameterInstructions()));
15
25
  const stack = clientStack.concat(this.middlewareStack);
16
26
  const { logger } = configuration;
17
27
  const clientName = "ImagebuilderClient";
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.PutComponentPolicyCommand = void 0;
4
+ const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
4
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
7
  const models_0_1 = require("../models/models_0");
@@ -10,8 +11,17 @@ class PutComponentPolicyCommand extends smithy_client_1.Command {
10
11
  super();
11
12
  this.input = input;
12
13
  }
14
+ static getEndpointParameterInstructions() {
15
+ return {
16
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
17
+ Endpoint: { type: "builtInParams", name: "endpoint" },
18
+ Region: { type: "builtInParams", name: "region" },
19
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
20
+ };
21
+ }
13
22
  resolveMiddleware(clientStack, configuration, options) {
14
23
  this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
24
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, PutComponentPolicyCommand.getEndpointParameterInstructions()));
15
25
  const stack = clientStack.concat(this.middlewareStack);
16
26
  const { logger } = configuration;
17
27
  const clientName = "ImagebuilderClient";
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.PutContainerRecipePolicyCommand = void 0;
4
+ const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
4
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
7
  const models_0_1 = require("../models/models_0");
@@ -10,8 +11,17 @@ class PutContainerRecipePolicyCommand extends smithy_client_1.Command {
10
11
  super();
11
12
  this.input = input;
12
13
  }
14
+ static getEndpointParameterInstructions() {
15
+ return {
16
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
17
+ Endpoint: { type: "builtInParams", name: "endpoint" },
18
+ Region: { type: "builtInParams", name: "region" },
19
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
20
+ };
21
+ }
13
22
  resolveMiddleware(clientStack, configuration, options) {
14
23
  this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
24
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, PutContainerRecipePolicyCommand.getEndpointParameterInstructions()));
15
25
  const stack = clientStack.concat(this.middlewareStack);
16
26
  const { logger } = configuration;
17
27
  const clientName = "ImagebuilderClient";
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.PutImagePolicyCommand = void 0;
4
+ const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
4
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
7
  const models_0_1 = require("../models/models_0");
@@ -10,8 +11,17 @@ class PutImagePolicyCommand extends smithy_client_1.Command {
10
11
  super();
11
12
  this.input = input;
12
13
  }
14
+ static getEndpointParameterInstructions() {
15
+ return {
16
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
17
+ Endpoint: { type: "builtInParams", name: "endpoint" },
18
+ Region: { type: "builtInParams", name: "region" },
19
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
20
+ };
21
+ }
13
22
  resolveMiddleware(clientStack, configuration, options) {
14
23
  this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
24
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, PutImagePolicyCommand.getEndpointParameterInstructions()));
15
25
  const stack = clientStack.concat(this.middlewareStack);
16
26
  const { logger } = configuration;
17
27
  const clientName = "ImagebuilderClient";
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.PutImageRecipePolicyCommand = void 0;
4
+ const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
4
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
7
  const models_0_1 = require("../models/models_0");
@@ -10,8 +11,17 @@ class PutImageRecipePolicyCommand extends smithy_client_1.Command {
10
11
  super();
11
12
  this.input = input;
12
13
  }
14
+ static getEndpointParameterInstructions() {
15
+ return {
16
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
17
+ Endpoint: { type: "builtInParams", name: "endpoint" },
18
+ Region: { type: "builtInParams", name: "region" },
19
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
20
+ };
21
+ }
13
22
  resolveMiddleware(clientStack, configuration, options) {
14
23
  this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
24
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, PutImageRecipePolicyCommand.getEndpointParameterInstructions()));
15
25
  const stack = clientStack.concat(this.middlewareStack);
16
26
  const { logger } = configuration;
17
27
  const clientName = "ImagebuilderClient";
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.StartImagePipelineExecutionCommand = void 0;
4
+ const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
4
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
7
  const models_0_1 = require("../models/models_0");
@@ -10,8 +11,17 @@ class StartImagePipelineExecutionCommand extends smithy_client_1.Command {
10
11
  super();
11
12
  this.input = input;
12
13
  }
14
+ static getEndpointParameterInstructions() {
15
+ return {
16
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
17
+ Endpoint: { type: "builtInParams", name: "endpoint" },
18
+ Region: { type: "builtInParams", name: "region" },
19
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
20
+ };
21
+ }
13
22
  resolveMiddleware(clientStack, configuration, options) {
14
23
  this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
24
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, StartImagePipelineExecutionCommand.getEndpointParameterInstructions()));
15
25
  const stack = clientStack.concat(this.middlewareStack);
16
26
  const { logger } = configuration;
17
27
  const clientName = "ImagebuilderClient";