@aws-sdk/client-api-gateway 3.36.0 → 3.36.1

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 (269) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist-cjs/APIGateway.js +0 -4
  3. package/dist-cjs/APIGatewayClient.js +0 -9
  4. package/dist-cjs/commands/CreateApiKeyCommand.js +0 -25
  5. package/dist-cjs/commands/CreateAuthorizerCommand.js +0 -25
  6. package/dist-cjs/commands/CreateBasePathMappingCommand.js +0 -24
  7. package/dist-cjs/commands/CreateDeploymentCommand.js +0 -24
  8. package/dist-cjs/commands/CreateDocumentationPartCommand.js +0 -7
  9. package/dist-cjs/commands/CreateDocumentationVersionCommand.js +0 -7
  10. package/dist-cjs/commands/CreateDomainNameCommand.js +0 -24
  11. package/dist-cjs/commands/CreateModelCommand.js +0 -24
  12. package/dist-cjs/commands/CreateRequestValidatorCommand.js +0 -24
  13. package/dist-cjs/commands/CreateResourceCommand.js +0 -24
  14. package/dist-cjs/commands/CreateRestApiCommand.js +0 -24
  15. package/dist-cjs/commands/CreateStageCommand.js +0 -25
  16. package/dist-cjs/commands/CreateUsagePlanCommand.js +0 -24
  17. package/dist-cjs/commands/CreateUsagePlanKeyCommand.js +0 -24
  18. package/dist-cjs/commands/CreateVpcLinkCommand.js +0 -24
  19. package/dist-cjs/commands/DeleteApiKeyCommand.js +0 -24
  20. package/dist-cjs/commands/DeleteAuthorizerCommand.js +0 -25
  21. package/dist-cjs/commands/DeleteBasePathMappingCommand.js +0 -24
  22. package/dist-cjs/commands/DeleteClientCertificateCommand.js +0 -24
  23. package/dist-cjs/commands/DeleteDeploymentCommand.js +0 -24
  24. package/dist-cjs/commands/DeleteDocumentationPartCommand.js +0 -7
  25. package/dist-cjs/commands/DeleteDocumentationVersionCommand.js +0 -7
  26. package/dist-cjs/commands/DeleteDomainNameCommand.js +0 -24
  27. package/dist-cjs/commands/DeleteGatewayResponseCommand.js +0 -24
  28. package/dist-cjs/commands/DeleteIntegrationCommand.js +0 -24
  29. package/dist-cjs/commands/DeleteIntegrationResponseCommand.js +0 -24
  30. package/dist-cjs/commands/DeleteMethodCommand.js +0 -24
  31. package/dist-cjs/commands/DeleteMethodResponseCommand.js +0 -24
  32. package/dist-cjs/commands/DeleteModelCommand.js +0 -24
  33. package/dist-cjs/commands/DeleteRequestValidatorCommand.js +0 -24
  34. package/dist-cjs/commands/DeleteResourceCommand.js +0 -24
  35. package/dist-cjs/commands/DeleteRestApiCommand.js +0 -24
  36. package/dist-cjs/commands/DeleteStageCommand.js +0 -24
  37. package/dist-cjs/commands/DeleteUsagePlanCommand.js +0 -24
  38. package/dist-cjs/commands/DeleteUsagePlanKeyCommand.js +0 -24
  39. package/dist-cjs/commands/DeleteVpcLinkCommand.js +0 -24
  40. package/dist-cjs/commands/FlushStageAuthorizersCacheCommand.js +0 -24
  41. package/dist-cjs/commands/FlushStageCacheCommand.js +0 -24
  42. package/dist-cjs/commands/GenerateClientCertificateCommand.js +0 -24
  43. package/dist-cjs/commands/GetAccountCommand.js +0 -24
  44. package/dist-cjs/commands/GetApiKeyCommand.js +0 -24
  45. package/dist-cjs/commands/GetApiKeysCommand.js +0 -24
  46. package/dist-cjs/commands/GetAuthorizerCommand.js +0 -25
  47. package/dist-cjs/commands/GetAuthorizersCommand.js +0 -25
  48. package/dist-cjs/commands/GetBasePathMappingCommand.js +0 -24
  49. package/dist-cjs/commands/GetBasePathMappingsCommand.js +0 -24
  50. package/dist-cjs/commands/GetClientCertificateCommand.js +0 -24
  51. package/dist-cjs/commands/GetClientCertificatesCommand.js +0 -24
  52. package/dist-cjs/commands/GetDeploymentCommand.js +0 -24
  53. package/dist-cjs/commands/GetDeploymentsCommand.js +0 -24
  54. package/dist-cjs/commands/GetDocumentationPartCommand.js +0 -7
  55. package/dist-cjs/commands/GetDocumentationPartsCommand.js +0 -7
  56. package/dist-cjs/commands/GetDocumentationVersionCommand.js +0 -7
  57. package/dist-cjs/commands/GetDocumentationVersionsCommand.js +0 -7
  58. package/dist-cjs/commands/GetDomainNameCommand.js +0 -24
  59. package/dist-cjs/commands/GetDomainNamesCommand.js +0 -24
  60. package/dist-cjs/commands/GetExportCommand.js +0 -24
  61. package/dist-cjs/commands/GetGatewayResponseCommand.js +0 -24
  62. package/dist-cjs/commands/GetGatewayResponsesCommand.js +0 -24
  63. package/dist-cjs/commands/GetIntegrationCommand.js +0 -24
  64. package/dist-cjs/commands/GetIntegrationResponseCommand.js +0 -24
  65. package/dist-cjs/commands/GetMethodCommand.js +0 -24
  66. package/dist-cjs/commands/GetMethodResponseCommand.js +0 -24
  67. package/dist-cjs/commands/GetModelCommand.js +0 -24
  68. package/dist-cjs/commands/GetModelTemplateCommand.js +0 -24
  69. package/dist-cjs/commands/GetModelsCommand.js +0 -24
  70. package/dist-cjs/commands/GetRequestValidatorCommand.js +0 -24
  71. package/dist-cjs/commands/GetRequestValidatorsCommand.js +0 -24
  72. package/dist-cjs/commands/GetResourceCommand.js +0 -24
  73. package/dist-cjs/commands/GetResourcesCommand.js +0 -24
  74. package/dist-cjs/commands/GetRestApiCommand.js +0 -24
  75. package/dist-cjs/commands/GetRestApisCommand.js +0 -24
  76. package/dist-cjs/commands/GetSdkCommand.js +0 -24
  77. package/dist-cjs/commands/GetSdkTypeCommand.js +0 -7
  78. package/dist-cjs/commands/GetSdkTypesCommand.js +0 -7
  79. package/dist-cjs/commands/GetStageCommand.js +0 -24
  80. package/dist-cjs/commands/GetStagesCommand.js +0 -24
  81. package/dist-cjs/commands/GetTagsCommand.js +0 -24
  82. package/dist-cjs/commands/GetUsageCommand.js +0 -24
  83. package/dist-cjs/commands/GetUsagePlanCommand.js +0 -24
  84. package/dist-cjs/commands/GetUsagePlanKeyCommand.js +0 -24
  85. package/dist-cjs/commands/GetUsagePlanKeysCommand.js +0 -24
  86. package/dist-cjs/commands/GetUsagePlansCommand.js +0 -24
  87. package/dist-cjs/commands/GetVpcLinkCommand.js +0 -24
  88. package/dist-cjs/commands/GetVpcLinksCommand.js +0 -24
  89. package/dist-cjs/commands/ImportApiKeysCommand.js +0 -24
  90. package/dist-cjs/commands/ImportDocumentationPartsCommand.js +0 -7
  91. package/dist-cjs/commands/ImportRestApiCommand.js +0 -24
  92. package/dist-cjs/commands/PutGatewayResponseCommand.js +0 -24
  93. package/dist-cjs/commands/PutIntegrationCommand.js +0 -24
  94. package/dist-cjs/commands/PutIntegrationResponseCommand.js +0 -24
  95. package/dist-cjs/commands/PutMethodCommand.js +0 -24
  96. package/dist-cjs/commands/PutMethodResponseCommand.js +0 -24
  97. package/dist-cjs/commands/PutRestApiCommand.js +0 -25
  98. package/dist-cjs/commands/TagResourceCommand.js +0 -24
  99. package/dist-cjs/commands/TestInvokeAuthorizerCommand.js +0 -28
  100. package/dist-cjs/commands/TestInvokeMethodCommand.js +0 -24
  101. package/dist-cjs/commands/UntagResourceCommand.js +0 -24
  102. package/dist-cjs/commands/UpdateAccountCommand.js +0 -24
  103. package/dist-cjs/commands/UpdateApiKeyCommand.js +0 -24
  104. package/dist-cjs/commands/UpdateAuthorizerCommand.js +0 -25
  105. package/dist-cjs/commands/UpdateBasePathMappingCommand.js +0 -24
  106. package/dist-cjs/commands/UpdateClientCertificateCommand.js +0 -24
  107. package/dist-cjs/commands/UpdateDeploymentCommand.js +0 -24
  108. package/dist-cjs/commands/UpdateDocumentationPartCommand.js +0 -7
  109. package/dist-cjs/commands/UpdateDocumentationVersionCommand.js +0 -7
  110. package/dist-cjs/commands/UpdateDomainNameCommand.js +0 -24
  111. package/dist-cjs/commands/UpdateGatewayResponseCommand.js +0 -24
  112. package/dist-cjs/commands/UpdateIntegrationCommand.js +0 -24
  113. package/dist-cjs/commands/UpdateIntegrationResponseCommand.js +0 -24
  114. package/dist-cjs/commands/UpdateMethodCommand.js +0 -24
  115. package/dist-cjs/commands/UpdateMethodResponseCommand.js +0 -24
  116. package/dist-cjs/commands/UpdateModelCommand.js +0 -24
  117. package/dist-cjs/commands/UpdateRequestValidatorCommand.js +0 -24
  118. package/dist-cjs/commands/UpdateResourceCommand.js +0 -24
  119. package/dist-cjs/commands/UpdateRestApiCommand.js +0 -24
  120. package/dist-cjs/commands/UpdateStageCommand.js +0 -24
  121. package/dist-cjs/commands/UpdateUsageCommand.js +0 -24
  122. package/dist-cjs/commands/UpdateUsagePlanCommand.js +0 -24
  123. package/dist-cjs/commands/UpdateVpcLinkCommand.js +0 -24
  124. package/dist-cjs/models/models_0.js +0 -579
  125. package/dist-cjs/pagination/GetApiKeysPaginator.js +0 -10
  126. package/dist-cjs/pagination/GetBasePathMappingsPaginator.js +0 -10
  127. package/dist-cjs/pagination/GetClientCertificatesPaginator.js +0 -10
  128. package/dist-cjs/pagination/GetDeploymentsPaginator.js +0 -10
  129. package/dist-cjs/pagination/GetDomainNamesPaginator.js +0 -10
  130. package/dist-cjs/pagination/GetModelsPaginator.js +0 -10
  131. package/dist-cjs/pagination/GetResourcesPaginator.js +0 -10
  132. package/dist-cjs/pagination/GetRestApisPaginator.js +0 -10
  133. package/dist-cjs/pagination/GetUsagePaginator.js +0 -10
  134. package/dist-cjs/pagination/GetUsagePlanKeysPaginator.js +0 -10
  135. package/dist-cjs/pagination/GetUsagePlansPaginator.js +0 -10
  136. package/dist-cjs/pagination/GetVpcLinksPaginator.js +0 -10
  137. package/dist-cjs/protocols/Aws_restJson1.js +0 -5
  138. package/dist-cjs/runtimeConfig.browser.js +1 -5
  139. package/dist-cjs/runtimeConfig.js +1 -5
  140. package/dist-cjs/runtimeConfig.native.js +0 -3
  141. package/dist-cjs/runtimeConfig.shared.js +0 -3
  142. package/dist-types/ts3.4/APIGateway.d.ts +108 -337
  143. package/dist-types/ts3.4/APIGatewayClient.d.ts +24 -90
  144. package/dist-types/ts3.4/commands/CreateApiKeyCommand.d.ts +2 -21
  145. package/dist-types/ts3.4/commands/CreateAuthorizerCommand.d.ts +2 -21
  146. package/dist-types/ts3.4/commands/CreateBasePathMappingCommand.d.ts +2 -20
  147. package/dist-types/ts3.4/commands/CreateDeploymentCommand.d.ts +2 -20
  148. package/dist-types/ts3.4/commands/CreateDocumentationPartCommand.d.ts +1 -3
  149. package/dist-types/ts3.4/commands/CreateDocumentationVersionCommand.d.ts +1 -3
  150. package/dist-types/ts3.4/commands/CreateDomainNameCommand.d.ts +2 -20
  151. package/dist-types/ts3.4/commands/CreateModelCommand.d.ts +2 -20
  152. package/dist-types/ts3.4/commands/CreateRequestValidatorCommand.d.ts +2 -20
  153. package/dist-types/ts3.4/commands/CreateResourceCommand.d.ts +2 -20
  154. package/dist-types/ts3.4/commands/CreateRestApiCommand.d.ts +2 -20
  155. package/dist-types/ts3.4/commands/CreateStageCommand.d.ts +2 -21
  156. package/dist-types/ts3.4/commands/CreateUsagePlanCommand.d.ts +2 -20
  157. package/dist-types/ts3.4/commands/CreateUsagePlanKeyCommand.d.ts +2 -20
  158. package/dist-types/ts3.4/commands/CreateVpcLinkCommand.d.ts +2 -20
  159. package/dist-types/ts3.4/commands/DeleteApiKeyCommand.d.ts +2 -20
  160. package/dist-types/ts3.4/commands/DeleteAuthorizerCommand.d.ts +2 -21
  161. package/dist-types/ts3.4/commands/DeleteBasePathMappingCommand.d.ts +2 -20
  162. package/dist-types/ts3.4/commands/DeleteClientCertificateCommand.d.ts +2 -20
  163. package/dist-types/ts3.4/commands/DeleteDeploymentCommand.d.ts +2 -20
  164. package/dist-types/ts3.4/commands/DeleteDocumentationPartCommand.d.ts +1 -3
  165. package/dist-types/ts3.4/commands/DeleteDocumentationVersionCommand.d.ts +1 -3
  166. package/dist-types/ts3.4/commands/DeleteDomainNameCommand.d.ts +2 -20
  167. package/dist-types/ts3.4/commands/DeleteGatewayResponseCommand.d.ts +2 -20
  168. package/dist-types/ts3.4/commands/DeleteIntegrationCommand.d.ts +2 -20
  169. package/dist-types/ts3.4/commands/DeleteIntegrationResponseCommand.d.ts +2 -20
  170. package/dist-types/ts3.4/commands/DeleteMethodCommand.d.ts +2 -20
  171. package/dist-types/ts3.4/commands/DeleteMethodResponseCommand.d.ts +2 -20
  172. package/dist-types/ts3.4/commands/DeleteModelCommand.d.ts +2 -20
  173. package/dist-types/ts3.4/commands/DeleteRequestValidatorCommand.d.ts +2 -20
  174. package/dist-types/ts3.4/commands/DeleteResourceCommand.d.ts +2 -20
  175. package/dist-types/ts3.4/commands/DeleteRestApiCommand.d.ts +2 -20
  176. package/dist-types/ts3.4/commands/DeleteStageCommand.d.ts +2 -20
  177. package/dist-types/ts3.4/commands/DeleteUsagePlanCommand.d.ts +2 -20
  178. package/dist-types/ts3.4/commands/DeleteUsagePlanKeyCommand.d.ts +2 -20
  179. package/dist-types/ts3.4/commands/DeleteVpcLinkCommand.d.ts +2 -20
  180. package/dist-types/ts3.4/commands/FlushStageAuthorizersCacheCommand.d.ts +2 -20
  181. package/dist-types/ts3.4/commands/FlushStageCacheCommand.d.ts +2 -20
  182. package/dist-types/ts3.4/commands/GenerateClientCertificateCommand.d.ts +2 -20
  183. package/dist-types/ts3.4/commands/GetAccountCommand.d.ts +2 -20
  184. package/dist-types/ts3.4/commands/GetApiKeyCommand.d.ts +2 -20
  185. package/dist-types/ts3.4/commands/GetApiKeysCommand.d.ts +2 -20
  186. package/dist-types/ts3.4/commands/GetAuthorizerCommand.d.ts +2 -21
  187. package/dist-types/ts3.4/commands/GetAuthorizersCommand.d.ts +2 -21
  188. package/dist-types/ts3.4/commands/GetBasePathMappingCommand.d.ts +2 -20
  189. package/dist-types/ts3.4/commands/GetBasePathMappingsCommand.d.ts +2 -20
  190. package/dist-types/ts3.4/commands/GetClientCertificateCommand.d.ts +2 -20
  191. package/dist-types/ts3.4/commands/GetClientCertificatesCommand.d.ts +2 -20
  192. package/dist-types/ts3.4/commands/GetDeploymentCommand.d.ts +2 -20
  193. package/dist-types/ts3.4/commands/GetDeploymentsCommand.d.ts +2 -20
  194. package/dist-types/ts3.4/commands/GetDocumentationPartCommand.d.ts +1 -3
  195. package/dist-types/ts3.4/commands/GetDocumentationPartsCommand.d.ts +1 -3
  196. package/dist-types/ts3.4/commands/GetDocumentationVersionCommand.d.ts +1 -3
  197. package/dist-types/ts3.4/commands/GetDocumentationVersionsCommand.d.ts +1 -3
  198. package/dist-types/ts3.4/commands/GetDomainNameCommand.d.ts +2 -20
  199. package/dist-types/ts3.4/commands/GetDomainNamesCommand.d.ts +2 -20
  200. package/dist-types/ts3.4/commands/GetExportCommand.d.ts +2 -20
  201. package/dist-types/ts3.4/commands/GetGatewayResponseCommand.d.ts +2 -20
  202. package/dist-types/ts3.4/commands/GetGatewayResponsesCommand.d.ts +2 -20
  203. package/dist-types/ts3.4/commands/GetIntegrationCommand.d.ts +2 -20
  204. package/dist-types/ts3.4/commands/GetIntegrationResponseCommand.d.ts +2 -20
  205. package/dist-types/ts3.4/commands/GetMethodCommand.d.ts +2 -20
  206. package/dist-types/ts3.4/commands/GetMethodResponseCommand.d.ts +2 -20
  207. package/dist-types/ts3.4/commands/GetModelCommand.d.ts +2 -20
  208. package/dist-types/ts3.4/commands/GetModelTemplateCommand.d.ts +2 -20
  209. package/dist-types/ts3.4/commands/GetModelsCommand.d.ts +2 -20
  210. package/dist-types/ts3.4/commands/GetRequestValidatorCommand.d.ts +2 -20
  211. package/dist-types/ts3.4/commands/GetRequestValidatorsCommand.d.ts +2 -20
  212. package/dist-types/ts3.4/commands/GetResourceCommand.d.ts +2 -20
  213. package/dist-types/ts3.4/commands/GetResourcesCommand.d.ts +2 -20
  214. package/dist-types/ts3.4/commands/GetRestApiCommand.d.ts +2 -20
  215. package/dist-types/ts3.4/commands/GetRestApisCommand.d.ts +2 -20
  216. package/dist-types/ts3.4/commands/GetSdkCommand.d.ts +2 -20
  217. package/dist-types/ts3.4/commands/GetSdkTypeCommand.d.ts +1 -3
  218. package/dist-types/ts3.4/commands/GetSdkTypesCommand.d.ts +1 -3
  219. package/dist-types/ts3.4/commands/GetStageCommand.d.ts +2 -20
  220. package/dist-types/ts3.4/commands/GetStagesCommand.d.ts +2 -20
  221. package/dist-types/ts3.4/commands/GetTagsCommand.d.ts +2 -20
  222. package/dist-types/ts3.4/commands/GetUsageCommand.d.ts +2 -20
  223. package/dist-types/ts3.4/commands/GetUsagePlanCommand.d.ts +2 -20
  224. package/dist-types/ts3.4/commands/GetUsagePlanKeyCommand.d.ts +2 -20
  225. package/dist-types/ts3.4/commands/GetUsagePlanKeysCommand.d.ts +2 -20
  226. package/dist-types/ts3.4/commands/GetUsagePlansCommand.d.ts +2 -20
  227. package/dist-types/ts3.4/commands/GetVpcLinkCommand.d.ts +2 -20
  228. package/dist-types/ts3.4/commands/GetVpcLinksCommand.d.ts +2 -20
  229. package/dist-types/ts3.4/commands/ImportApiKeysCommand.d.ts +2 -20
  230. package/dist-types/ts3.4/commands/ImportDocumentationPartsCommand.d.ts +1 -3
  231. package/dist-types/ts3.4/commands/ImportRestApiCommand.d.ts +2 -20
  232. package/dist-types/ts3.4/commands/PutGatewayResponseCommand.d.ts +2 -20
  233. package/dist-types/ts3.4/commands/PutIntegrationCommand.d.ts +2 -20
  234. package/dist-types/ts3.4/commands/PutIntegrationResponseCommand.d.ts +2 -20
  235. package/dist-types/ts3.4/commands/PutMethodCommand.d.ts +2 -20
  236. package/dist-types/ts3.4/commands/PutMethodResponseCommand.d.ts +2 -20
  237. package/dist-types/ts3.4/commands/PutRestApiCommand.d.ts +2 -21
  238. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -20
  239. package/dist-types/ts3.4/commands/TestInvokeAuthorizerCommand.d.ts +2 -24
  240. package/dist-types/ts3.4/commands/TestInvokeMethodCommand.d.ts +2 -20
  241. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -20
  242. package/dist-types/ts3.4/commands/UpdateAccountCommand.d.ts +2 -20
  243. package/dist-types/ts3.4/commands/UpdateApiKeyCommand.d.ts +2 -20
  244. package/dist-types/ts3.4/commands/UpdateAuthorizerCommand.d.ts +2 -21
  245. package/dist-types/ts3.4/commands/UpdateBasePathMappingCommand.d.ts +2 -20
  246. package/dist-types/ts3.4/commands/UpdateClientCertificateCommand.d.ts +2 -20
  247. package/dist-types/ts3.4/commands/UpdateDeploymentCommand.d.ts +2 -20
  248. package/dist-types/ts3.4/commands/UpdateDocumentationPartCommand.d.ts +1 -3
  249. package/dist-types/ts3.4/commands/UpdateDocumentationVersionCommand.d.ts +1 -3
  250. package/dist-types/ts3.4/commands/UpdateDomainNameCommand.d.ts +2 -20
  251. package/dist-types/ts3.4/commands/UpdateGatewayResponseCommand.d.ts +2 -20
  252. package/dist-types/ts3.4/commands/UpdateIntegrationCommand.d.ts +2 -20
  253. package/dist-types/ts3.4/commands/UpdateIntegrationResponseCommand.d.ts +2 -20
  254. package/dist-types/ts3.4/commands/UpdateMethodCommand.d.ts +2 -20
  255. package/dist-types/ts3.4/commands/UpdateMethodResponseCommand.d.ts +2 -20
  256. package/dist-types/ts3.4/commands/UpdateModelCommand.d.ts +2 -20
  257. package/dist-types/ts3.4/commands/UpdateRequestValidatorCommand.d.ts +2 -20
  258. package/dist-types/ts3.4/commands/UpdateResourceCommand.d.ts +2 -20
  259. package/dist-types/ts3.4/commands/UpdateRestApiCommand.d.ts +2 -20
  260. package/dist-types/ts3.4/commands/UpdateStageCommand.d.ts +2 -20
  261. package/dist-types/ts3.4/commands/UpdateUsageCommand.d.ts +2 -20
  262. package/dist-types/ts3.4/commands/UpdateUsagePlanCommand.d.ts +2 -20
  263. package/dist-types/ts3.4/commands/UpdateVpcLinkCommand.d.ts +2 -20
  264. package/dist-types/ts3.4/models/models_0.d.ts +1083 -4677
  265. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
  266. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
  267. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
  268. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
  269. package/package.json +3 -3
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p>Generates a client SDK for a <a>RestApi</a> and <a>Stage</a>.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { APIGatewayClient, GetSdkCommand } from "@aws-sdk/client-api-gateway"; // ES Modules import
14
- * // const { APIGatewayClient, GetSdkCommand } = require("@aws-sdk/client-api-gateway"); // CommonJS import
15
- * const client = new APIGatewayClient(config);
16
- * const command = new GetSdkCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link GetSdkCommandInput} for command's `input` shape.
21
- * @see {@link GetSdkCommandOutput} for command's `response` shape.
22
- * @see {@link APIGatewayClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class GetSdkCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -6,17 +6,10 @@ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
8
  class GetSdkTypeCommand extends smithy_client_1.Command {
9
- // Start section: command_properties
10
- // End section: command_properties
11
9
  constructor(input) {
12
- // Start section: command_constructor
13
10
  super();
14
11
  this.input = input;
15
- // End section: command_constructor
16
12
  }
17
- /**
18
- * @internal
19
- */
20
13
  resolveMiddleware(clientStack, configuration, options) {
21
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
22
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -6,17 +6,10 @@ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
8
  class GetSdkTypesCommand extends smithy_client_1.Command {
9
- // Start section: command_properties
10
- // End section: command_properties
11
9
  constructor(input) {
12
- // Start section: command_constructor
13
10
  super();
14
11
  this.input = input;
15
- // End section: command_constructor
16
12
  }
17
- /**
18
- * @internal
19
- */
20
13
  resolveMiddleware(clientStack, configuration, options) {
21
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
22
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p>Gets information about a <a>Stage</a> resource.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { APIGatewayClient, GetStageCommand } from "@aws-sdk/client-api-gateway"; // ES Modules import
14
- * // const { APIGatewayClient, GetStageCommand } = require("@aws-sdk/client-api-gateway"); // CommonJS import
15
- * const client = new APIGatewayClient(config);
16
- * const command = new GetStageCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link GetStageCommandInput} for command's `input` shape.
21
- * @see {@link GetStageCommandOutput} for command's `response` shape.
22
- * @see {@link APIGatewayClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class GetStageCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p>Gets information about one or more <a>Stage</a> resources.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { APIGatewayClient, GetStagesCommand } from "@aws-sdk/client-api-gateway"; // ES Modules import
14
- * // const { APIGatewayClient, GetStagesCommand } = require("@aws-sdk/client-api-gateway"); // CommonJS import
15
- * const client = new APIGatewayClient(config);
16
- * const command = new GetStagesCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link GetStagesCommandInput} for command's `input` shape.
21
- * @see {@link GetStagesCommandOutput} for command's `response` shape.
22
- * @see {@link APIGatewayClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class GetStagesCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p>Gets the <a>Tags</a> collection for a given resource.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { APIGatewayClient, GetTagsCommand } from "@aws-sdk/client-api-gateway"; // ES Modules import
14
- * // const { APIGatewayClient, GetTagsCommand } = require("@aws-sdk/client-api-gateway"); // CommonJS import
15
- * const client = new APIGatewayClient(config);
16
- * const command = new GetTagsCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link GetTagsCommandInput} for command's `input` shape.
21
- * @see {@link GetTagsCommandOutput} for command's `response` shape.
22
- * @see {@link APIGatewayClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class GetTagsCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p>Gets the usage data of a usage plan in a specified time interval.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { APIGatewayClient, GetUsageCommand } from "@aws-sdk/client-api-gateway"; // ES Modules import
14
- * // const { APIGatewayClient, GetUsageCommand } = require("@aws-sdk/client-api-gateway"); // CommonJS import
15
- * const client = new APIGatewayClient(config);
16
- * const command = new GetUsageCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link GetUsageCommandInput} for command's `input` shape.
21
- * @see {@link GetUsageCommandOutput} for command's `response` shape.
22
- * @see {@link APIGatewayClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class GetUsageCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p>Gets a usage plan of a given plan identifier.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { APIGatewayClient, GetUsagePlanCommand } from "@aws-sdk/client-api-gateway"; // ES Modules import
14
- * // const { APIGatewayClient, GetUsagePlanCommand } = require("@aws-sdk/client-api-gateway"); // CommonJS import
15
- * const client = new APIGatewayClient(config);
16
- * const command = new GetUsagePlanCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link GetUsagePlanCommandInput} for command's `input` shape.
21
- * @see {@link GetUsagePlanCommandOutput} for command's `response` shape.
22
- * @see {@link APIGatewayClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class GetUsagePlanCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p>Gets a usage plan key of a given key identifier.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { APIGatewayClient, GetUsagePlanKeyCommand } from "@aws-sdk/client-api-gateway"; // ES Modules import
14
- * // const { APIGatewayClient, GetUsagePlanKeyCommand } = require("@aws-sdk/client-api-gateway"); // CommonJS import
15
- * const client = new APIGatewayClient(config);
16
- * const command = new GetUsagePlanKeyCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link GetUsagePlanKeyCommandInput} for command's `input` shape.
21
- * @see {@link GetUsagePlanKeyCommandOutput} for command's `response` shape.
22
- * @see {@link APIGatewayClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class GetUsagePlanKeyCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p>Gets all the usage plan keys representing the API keys added to a specified usage plan.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { APIGatewayClient, GetUsagePlanKeysCommand } from "@aws-sdk/client-api-gateway"; // ES Modules import
14
- * // const { APIGatewayClient, GetUsagePlanKeysCommand } = require("@aws-sdk/client-api-gateway"); // CommonJS import
15
- * const client = new APIGatewayClient(config);
16
- * const command = new GetUsagePlanKeysCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link GetUsagePlanKeysCommandInput} for command's `input` shape.
21
- * @see {@link GetUsagePlanKeysCommandOutput} for command's `response` shape.
22
- * @see {@link APIGatewayClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class GetUsagePlanKeysCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p>Gets all the usage plans of the caller's account.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { APIGatewayClient, GetUsagePlansCommand } from "@aws-sdk/client-api-gateway"; // ES Modules import
14
- * // const { APIGatewayClient, GetUsagePlansCommand } = require("@aws-sdk/client-api-gateway"); // CommonJS import
15
- * const client = new APIGatewayClient(config);
16
- * const command = new GetUsagePlansCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link GetUsagePlansCommandInput} for command's `input` shape.
21
- * @see {@link GetUsagePlansCommandOutput} for command's `response` shape.
22
- * @see {@link APIGatewayClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class GetUsagePlansCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p>Gets a specified VPC link under the caller's account in a region.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { APIGatewayClient, GetVpcLinkCommand } from "@aws-sdk/client-api-gateway"; // ES Modules import
14
- * // const { APIGatewayClient, GetVpcLinkCommand } = require("@aws-sdk/client-api-gateway"); // CommonJS import
15
- * const client = new APIGatewayClient(config);
16
- * const command = new GetVpcLinkCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link GetVpcLinkCommandInput} for command's `input` shape.
21
- * @see {@link GetVpcLinkCommandOutput} for command's `response` shape.
22
- * @see {@link APIGatewayClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class GetVpcLinkCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p>Gets the <a>VpcLinks</a> collection under the caller's account in a selected region.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { APIGatewayClient, GetVpcLinksCommand } from "@aws-sdk/client-api-gateway"; // ES Modules import
14
- * // const { APIGatewayClient, GetVpcLinksCommand } = require("@aws-sdk/client-api-gateway"); // CommonJS import
15
- * const client = new APIGatewayClient(config);
16
- * const command = new GetVpcLinksCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link GetVpcLinksCommandInput} for command's `input` shape.
21
- * @see {@link GetVpcLinksCommandOutput} for command's `response` shape.
22
- * @see {@link APIGatewayClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class GetVpcLinksCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p>Import API keys from an external source, such as a CSV-formatted file.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { APIGatewayClient, ImportApiKeysCommand } from "@aws-sdk/client-api-gateway"; // ES Modules import
14
- * // const { APIGatewayClient, ImportApiKeysCommand } = require("@aws-sdk/client-api-gateway"); // CommonJS import
15
- * const client = new APIGatewayClient(config);
16
- * const command = new ImportApiKeysCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link ImportApiKeysCommandInput} for command's `input` shape.
21
- * @see {@link ImportApiKeysCommandOutput} for command's `response` shape.
22
- * @see {@link APIGatewayClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class ImportApiKeysCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -6,17 +6,10 @@ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
8
  class ImportDocumentationPartsCommand extends smithy_client_1.Command {
9
- // Start section: command_properties
10
- // End section: command_properties
11
9
  constructor(input) {
12
- // Start section: command_constructor
13
10
  super();
14
11
  this.input = input;
15
- // End section: command_constructor
16
12
  }
17
- /**
18
- * @internal
19
- */
20
13
  resolveMiddleware(clientStack, configuration, options) {
21
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
22
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p>A feature of the API Gateway control service for creating a new API from an external API definition file.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { APIGatewayClient, ImportRestApiCommand } from "@aws-sdk/client-api-gateway"; // ES Modules import
14
- * // const { APIGatewayClient, ImportRestApiCommand } = require("@aws-sdk/client-api-gateway"); // CommonJS import
15
- * const client = new APIGatewayClient(config);
16
- * const command = new ImportRestApiCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link ImportRestApiCommandInput} for command's `input` shape.
21
- * @see {@link ImportRestApiCommandOutput} for command's `response` shape.
22
- * @see {@link APIGatewayClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class ImportRestApiCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p>Creates a customization of a <a>GatewayResponse</a> of a specified response type and status code on the given <a>RestApi</a>.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { APIGatewayClient, PutGatewayResponseCommand } from "@aws-sdk/client-api-gateway"; // ES Modules import
14
- * // const { APIGatewayClient, PutGatewayResponseCommand } = require("@aws-sdk/client-api-gateway"); // CommonJS import
15
- * const client = new APIGatewayClient(config);
16
- * const command = new PutGatewayResponseCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link PutGatewayResponseCommandInput} for command's `input` shape.
21
- * @see {@link PutGatewayResponseCommandOutput} for command's `response` shape.
22
- * @see {@link APIGatewayClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class PutGatewayResponseCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p>Sets up a method's integration.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { APIGatewayClient, PutIntegrationCommand } from "@aws-sdk/client-api-gateway"; // ES Modules import
14
- * // const { APIGatewayClient, PutIntegrationCommand } = require("@aws-sdk/client-api-gateway"); // CommonJS import
15
- * const client = new APIGatewayClient(config);
16
- * const command = new PutIntegrationCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link PutIntegrationCommandInput} for command's `input` shape.
21
- * @see {@link PutIntegrationCommandOutput} for command's `response` shape.
22
- * @see {@link APIGatewayClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class PutIntegrationCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p>Represents a put integration.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { APIGatewayClient, PutIntegrationResponseCommand } from "@aws-sdk/client-api-gateway"; // ES Modules import
14
- * // const { APIGatewayClient, PutIntegrationResponseCommand } = require("@aws-sdk/client-api-gateway"); // CommonJS import
15
- * const client = new APIGatewayClient(config);
16
- * const command = new PutIntegrationResponseCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link PutIntegrationResponseCommandInput} for command's `input` shape.
21
- * @see {@link PutIntegrationResponseCommandOutput} for command's `response` shape.
22
- * @see {@link APIGatewayClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class PutIntegrationResponseCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);