@aws-sdk/client-api-gateway 3.36.0 → 3.39.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 (283) hide show
  1. package/CHANGELOG.md +42 -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/commands/index.js +123 -0
  125. package/dist-cjs/endpoints.js +6 -1
  126. package/dist-cjs/index.js +4 -135
  127. package/dist-cjs/models/models_0.js +0 -579
  128. package/dist-cjs/pagination/GetApiKeysPaginator.js +0 -10
  129. package/dist-cjs/pagination/GetBasePathMappingsPaginator.js +0 -10
  130. package/dist-cjs/pagination/GetClientCertificatesPaginator.js +0 -10
  131. package/dist-cjs/pagination/GetDeploymentsPaginator.js +0 -10
  132. package/dist-cjs/pagination/GetDomainNamesPaginator.js +0 -10
  133. package/dist-cjs/pagination/GetModelsPaginator.js +0 -10
  134. package/dist-cjs/pagination/GetResourcesPaginator.js +0 -10
  135. package/dist-cjs/pagination/GetRestApisPaginator.js +0 -10
  136. package/dist-cjs/pagination/GetUsagePaginator.js +0 -10
  137. package/dist-cjs/pagination/GetUsagePlanKeysPaginator.js +0 -10
  138. package/dist-cjs/pagination/GetUsagePlansPaginator.js +0 -10
  139. package/dist-cjs/pagination/GetVpcLinksPaginator.js +0 -10
  140. package/dist-cjs/pagination/index.js +16 -0
  141. package/dist-cjs/protocols/Aws_restJson1.js +0 -5
  142. package/dist-cjs/runtimeConfig.browser.js +1 -5
  143. package/dist-cjs/runtimeConfig.js +1 -5
  144. package/dist-cjs/runtimeConfig.native.js +0 -3
  145. package/dist-cjs/runtimeConfig.shared.js +0 -3
  146. package/dist-es/commands/index.js +120 -0
  147. package/dist-es/endpoints.js +6 -1
  148. package/dist-es/index.js +4 -135
  149. package/dist-es/pagination/index.js +13 -0
  150. package/dist-types/commands/index.d.ts +120 -0
  151. package/dist-types/index.d.ts +4 -135
  152. package/dist-types/pagination/index.d.ts +13 -0
  153. package/dist-types/ts3.4/APIGateway.d.ts +108 -337
  154. package/dist-types/ts3.4/APIGatewayClient.d.ts +24 -90
  155. package/dist-types/ts3.4/commands/CreateApiKeyCommand.d.ts +2 -21
  156. package/dist-types/ts3.4/commands/CreateAuthorizerCommand.d.ts +2 -21
  157. package/dist-types/ts3.4/commands/CreateBasePathMappingCommand.d.ts +2 -20
  158. package/dist-types/ts3.4/commands/CreateDeploymentCommand.d.ts +2 -20
  159. package/dist-types/ts3.4/commands/CreateDocumentationPartCommand.d.ts +1 -3
  160. package/dist-types/ts3.4/commands/CreateDocumentationVersionCommand.d.ts +1 -3
  161. package/dist-types/ts3.4/commands/CreateDomainNameCommand.d.ts +2 -20
  162. package/dist-types/ts3.4/commands/CreateModelCommand.d.ts +2 -20
  163. package/dist-types/ts3.4/commands/CreateRequestValidatorCommand.d.ts +2 -20
  164. package/dist-types/ts3.4/commands/CreateResourceCommand.d.ts +2 -20
  165. package/dist-types/ts3.4/commands/CreateRestApiCommand.d.ts +2 -20
  166. package/dist-types/ts3.4/commands/CreateStageCommand.d.ts +2 -21
  167. package/dist-types/ts3.4/commands/CreateUsagePlanCommand.d.ts +2 -20
  168. package/dist-types/ts3.4/commands/CreateUsagePlanKeyCommand.d.ts +2 -20
  169. package/dist-types/ts3.4/commands/CreateVpcLinkCommand.d.ts +2 -20
  170. package/dist-types/ts3.4/commands/DeleteApiKeyCommand.d.ts +2 -20
  171. package/dist-types/ts3.4/commands/DeleteAuthorizerCommand.d.ts +2 -21
  172. package/dist-types/ts3.4/commands/DeleteBasePathMappingCommand.d.ts +2 -20
  173. package/dist-types/ts3.4/commands/DeleteClientCertificateCommand.d.ts +2 -20
  174. package/dist-types/ts3.4/commands/DeleteDeploymentCommand.d.ts +2 -20
  175. package/dist-types/ts3.4/commands/DeleteDocumentationPartCommand.d.ts +1 -3
  176. package/dist-types/ts3.4/commands/DeleteDocumentationVersionCommand.d.ts +1 -3
  177. package/dist-types/ts3.4/commands/DeleteDomainNameCommand.d.ts +2 -20
  178. package/dist-types/ts3.4/commands/DeleteGatewayResponseCommand.d.ts +2 -20
  179. package/dist-types/ts3.4/commands/DeleteIntegrationCommand.d.ts +2 -20
  180. package/dist-types/ts3.4/commands/DeleteIntegrationResponseCommand.d.ts +2 -20
  181. package/dist-types/ts3.4/commands/DeleteMethodCommand.d.ts +2 -20
  182. package/dist-types/ts3.4/commands/DeleteMethodResponseCommand.d.ts +2 -20
  183. package/dist-types/ts3.4/commands/DeleteModelCommand.d.ts +2 -20
  184. package/dist-types/ts3.4/commands/DeleteRequestValidatorCommand.d.ts +2 -20
  185. package/dist-types/ts3.4/commands/DeleteResourceCommand.d.ts +2 -20
  186. package/dist-types/ts3.4/commands/DeleteRestApiCommand.d.ts +2 -20
  187. package/dist-types/ts3.4/commands/DeleteStageCommand.d.ts +2 -20
  188. package/dist-types/ts3.4/commands/DeleteUsagePlanCommand.d.ts +2 -20
  189. package/dist-types/ts3.4/commands/DeleteUsagePlanKeyCommand.d.ts +2 -20
  190. package/dist-types/ts3.4/commands/DeleteVpcLinkCommand.d.ts +2 -20
  191. package/dist-types/ts3.4/commands/FlushStageAuthorizersCacheCommand.d.ts +2 -20
  192. package/dist-types/ts3.4/commands/FlushStageCacheCommand.d.ts +2 -20
  193. package/dist-types/ts3.4/commands/GenerateClientCertificateCommand.d.ts +2 -20
  194. package/dist-types/ts3.4/commands/GetAccountCommand.d.ts +2 -20
  195. package/dist-types/ts3.4/commands/GetApiKeyCommand.d.ts +2 -20
  196. package/dist-types/ts3.4/commands/GetApiKeysCommand.d.ts +2 -20
  197. package/dist-types/ts3.4/commands/GetAuthorizerCommand.d.ts +2 -21
  198. package/dist-types/ts3.4/commands/GetAuthorizersCommand.d.ts +2 -21
  199. package/dist-types/ts3.4/commands/GetBasePathMappingCommand.d.ts +2 -20
  200. package/dist-types/ts3.4/commands/GetBasePathMappingsCommand.d.ts +2 -20
  201. package/dist-types/ts3.4/commands/GetClientCertificateCommand.d.ts +2 -20
  202. package/dist-types/ts3.4/commands/GetClientCertificatesCommand.d.ts +2 -20
  203. package/dist-types/ts3.4/commands/GetDeploymentCommand.d.ts +2 -20
  204. package/dist-types/ts3.4/commands/GetDeploymentsCommand.d.ts +2 -20
  205. package/dist-types/ts3.4/commands/GetDocumentationPartCommand.d.ts +1 -3
  206. package/dist-types/ts3.4/commands/GetDocumentationPartsCommand.d.ts +1 -3
  207. package/dist-types/ts3.4/commands/GetDocumentationVersionCommand.d.ts +1 -3
  208. package/dist-types/ts3.4/commands/GetDocumentationVersionsCommand.d.ts +1 -3
  209. package/dist-types/ts3.4/commands/GetDomainNameCommand.d.ts +2 -20
  210. package/dist-types/ts3.4/commands/GetDomainNamesCommand.d.ts +2 -20
  211. package/dist-types/ts3.4/commands/GetExportCommand.d.ts +2 -20
  212. package/dist-types/ts3.4/commands/GetGatewayResponseCommand.d.ts +2 -20
  213. package/dist-types/ts3.4/commands/GetGatewayResponsesCommand.d.ts +2 -20
  214. package/dist-types/ts3.4/commands/GetIntegrationCommand.d.ts +2 -20
  215. package/dist-types/ts3.4/commands/GetIntegrationResponseCommand.d.ts +2 -20
  216. package/dist-types/ts3.4/commands/GetMethodCommand.d.ts +2 -20
  217. package/dist-types/ts3.4/commands/GetMethodResponseCommand.d.ts +2 -20
  218. package/dist-types/ts3.4/commands/GetModelCommand.d.ts +2 -20
  219. package/dist-types/ts3.4/commands/GetModelTemplateCommand.d.ts +2 -20
  220. package/dist-types/ts3.4/commands/GetModelsCommand.d.ts +2 -20
  221. package/dist-types/ts3.4/commands/GetRequestValidatorCommand.d.ts +2 -20
  222. package/dist-types/ts3.4/commands/GetRequestValidatorsCommand.d.ts +2 -20
  223. package/dist-types/ts3.4/commands/GetResourceCommand.d.ts +2 -20
  224. package/dist-types/ts3.4/commands/GetResourcesCommand.d.ts +2 -20
  225. package/dist-types/ts3.4/commands/GetRestApiCommand.d.ts +2 -20
  226. package/dist-types/ts3.4/commands/GetRestApisCommand.d.ts +2 -20
  227. package/dist-types/ts3.4/commands/GetSdkCommand.d.ts +2 -20
  228. package/dist-types/ts3.4/commands/GetSdkTypeCommand.d.ts +1 -3
  229. package/dist-types/ts3.4/commands/GetSdkTypesCommand.d.ts +1 -3
  230. package/dist-types/ts3.4/commands/GetStageCommand.d.ts +2 -20
  231. package/dist-types/ts3.4/commands/GetStagesCommand.d.ts +2 -20
  232. package/dist-types/ts3.4/commands/GetTagsCommand.d.ts +2 -20
  233. package/dist-types/ts3.4/commands/GetUsageCommand.d.ts +2 -20
  234. package/dist-types/ts3.4/commands/GetUsagePlanCommand.d.ts +2 -20
  235. package/dist-types/ts3.4/commands/GetUsagePlanKeyCommand.d.ts +2 -20
  236. package/dist-types/ts3.4/commands/GetUsagePlanKeysCommand.d.ts +2 -20
  237. package/dist-types/ts3.4/commands/GetUsagePlansCommand.d.ts +2 -20
  238. package/dist-types/ts3.4/commands/GetVpcLinkCommand.d.ts +2 -20
  239. package/dist-types/ts3.4/commands/GetVpcLinksCommand.d.ts +2 -20
  240. package/dist-types/ts3.4/commands/ImportApiKeysCommand.d.ts +2 -20
  241. package/dist-types/ts3.4/commands/ImportDocumentationPartsCommand.d.ts +1 -3
  242. package/dist-types/ts3.4/commands/ImportRestApiCommand.d.ts +2 -20
  243. package/dist-types/ts3.4/commands/PutGatewayResponseCommand.d.ts +2 -20
  244. package/dist-types/ts3.4/commands/PutIntegrationCommand.d.ts +2 -20
  245. package/dist-types/ts3.4/commands/PutIntegrationResponseCommand.d.ts +2 -20
  246. package/dist-types/ts3.4/commands/PutMethodCommand.d.ts +2 -20
  247. package/dist-types/ts3.4/commands/PutMethodResponseCommand.d.ts +2 -20
  248. package/dist-types/ts3.4/commands/PutRestApiCommand.d.ts +2 -21
  249. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -20
  250. package/dist-types/ts3.4/commands/TestInvokeAuthorizerCommand.d.ts +2 -24
  251. package/dist-types/ts3.4/commands/TestInvokeMethodCommand.d.ts +2 -20
  252. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -20
  253. package/dist-types/ts3.4/commands/UpdateAccountCommand.d.ts +2 -20
  254. package/dist-types/ts3.4/commands/UpdateApiKeyCommand.d.ts +2 -20
  255. package/dist-types/ts3.4/commands/UpdateAuthorizerCommand.d.ts +2 -21
  256. package/dist-types/ts3.4/commands/UpdateBasePathMappingCommand.d.ts +2 -20
  257. package/dist-types/ts3.4/commands/UpdateClientCertificateCommand.d.ts +2 -20
  258. package/dist-types/ts3.4/commands/UpdateDeploymentCommand.d.ts +2 -20
  259. package/dist-types/ts3.4/commands/UpdateDocumentationPartCommand.d.ts +1 -3
  260. package/dist-types/ts3.4/commands/UpdateDocumentationVersionCommand.d.ts +1 -3
  261. package/dist-types/ts3.4/commands/UpdateDomainNameCommand.d.ts +2 -20
  262. package/dist-types/ts3.4/commands/UpdateGatewayResponseCommand.d.ts +2 -20
  263. package/dist-types/ts3.4/commands/UpdateIntegrationCommand.d.ts +2 -20
  264. package/dist-types/ts3.4/commands/UpdateIntegrationResponseCommand.d.ts +2 -20
  265. package/dist-types/ts3.4/commands/UpdateMethodCommand.d.ts +2 -20
  266. package/dist-types/ts3.4/commands/UpdateMethodResponseCommand.d.ts +2 -20
  267. package/dist-types/ts3.4/commands/UpdateModelCommand.d.ts +2 -20
  268. package/dist-types/ts3.4/commands/UpdateRequestValidatorCommand.d.ts +2 -20
  269. package/dist-types/ts3.4/commands/UpdateResourceCommand.d.ts +2 -20
  270. package/dist-types/ts3.4/commands/UpdateRestApiCommand.d.ts +2 -20
  271. package/dist-types/ts3.4/commands/UpdateStageCommand.d.ts +2 -20
  272. package/dist-types/ts3.4/commands/UpdateUsageCommand.d.ts +2 -20
  273. package/dist-types/ts3.4/commands/UpdateUsagePlanCommand.d.ts +2 -20
  274. package/dist-types/ts3.4/commands/UpdateVpcLinkCommand.d.ts +2 -20
  275. package/dist-types/ts3.4/commands/index.d.ts +120 -0
  276. package/dist-types/ts3.4/index.d.ts +4 -135
  277. package/dist-types/ts3.4/models/models_0.d.ts +1083 -4677
  278. package/dist-types/ts3.4/pagination/index.d.ts +13 -0
  279. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
  280. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
  281. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
  282. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
  283. package/package.json +33 -33
package/CHANGELOG.md CHANGED
@@ -3,6 +3,48 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.39.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.38.0...v3.39.0) (2021-10-29)
7
+
8
+ **Note:** Version bump only for package @aws-sdk/client-api-gateway
9
+
10
+
11
+
12
+
13
+
14
+ # [3.38.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.37.0...v3.38.0) (2021-10-22)
15
+
16
+
17
+ ### Features
18
+
19
+ * **client-documentation-generator:** rename package ([#2916](https://github.com/aws/aws-sdk-js-v3/issues/2916)) ([1a80bfd](https://github.com/aws/aws-sdk-js-v3/commit/1a80bfd2dfc583001ddb4a21b6432eaaad699aa7))
20
+ * **clients:** export folder from index.ts ([#2912](https://github.com/aws/aws-sdk-js-v3/issues/2912)) ([183b46d](https://github.com/aws/aws-sdk-js-v3/commit/183b46dde7f5613128038bf1c076f3c0b693203b))
21
+
22
+
23
+
24
+
25
+
26
+ # [3.37.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.36.1...v3.37.0) (2021-10-15)
27
+
28
+
29
+ ### Features
30
+
31
+ * **clients:** update clients as of 10/15/2021 ([#2902](https://github.com/aws/aws-sdk-js-v3/issues/2902)) ([2730b54](https://github.com/aws/aws-sdk-js-v3/commit/2730b5424377944a5a2ad5e1ad7d3ca4135dae1c))
32
+
33
+
34
+
35
+
36
+
37
+ ## [3.36.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.36.0...v3.36.1) (2021-10-12)
38
+
39
+
40
+ ### Bug Fixes
41
+
42
+ * **clients:** emitDeclarationOnly in tsconfig.types.json ([#2893](https://github.com/aws/aws-sdk-js-v3/issues/2893)) ([6dc3d56](https://github.com/aws/aws-sdk-js-v3/commit/6dc3d56c20809c90cbdc4dd48627eeebc64af99d))
43
+
44
+
45
+
46
+
47
+
6
48
  # [3.36.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.35.0...v3.36.0) (2021-10-08)
7
49
 
8
50
 
@@ -122,10 +122,6 @@ const UpdateStageCommand_1 = require("./commands/UpdateStageCommand");
122
122
  const UpdateUsageCommand_1 = require("./commands/UpdateUsageCommand");
123
123
  const UpdateUsagePlanCommand_1 = require("./commands/UpdateUsagePlanCommand");
124
124
  const UpdateVpcLinkCommand_1 = require("./commands/UpdateVpcLinkCommand");
125
- /**
126
- * <fullname>Amazon API Gateway</fullname>
127
- * <p>Amazon API Gateway helps developers deliver robust, secure, and scalable mobile and web application back ends. API Gateway allows developers to securely connect mobile and web applications to APIs that run on AWS Lambda, Amazon EC2, or other publicly addressable web services that are hosted outside of AWS.</p>
128
- */
129
125
  class APIGateway extends APIGatewayClient_1.APIGatewayClient {
130
126
  createApiKey(args, optionsOrCb, cb) {
131
127
  const command = new CreateApiKeyCommand_1.CreateApiKeyCommand(args);
@@ -11,10 +11,6 @@ const middleware_signing_1 = require("@aws-sdk/middleware-signing");
11
11
  const middleware_user_agent_1 = require("@aws-sdk/middleware-user-agent");
12
12
  const smithy_client_1 = require("@aws-sdk/smithy-client");
13
13
  const runtimeConfig_1 = require("./runtimeConfig");
14
- /**
15
- * <fullname>Amazon API Gateway</fullname>
16
- * <p>Amazon API Gateway helps developers deliver robust, secure, and scalable mobile and web application back ends. API Gateway allows developers to securely connect mobile and web applications to APIs that run on AWS Lambda, Amazon EC2, or other publicly addressable web services that are hosted outside of AWS.</p>
17
- */
18
14
  class APIGatewayClient extends smithy_client_1.Client {
19
15
  constructor(configuration) {
20
16
  const _config_0 = runtimeConfig_1.getRuntimeConfig(configuration);
@@ -34,11 +30,6 @@ class APIGatewayClient extends smithy_client_1.Client {
34
30
  this.middlewareStack.use(middleware_signing_1.getAwsAuthPlugin(this.config));
35
31
  this.middlewareStack.use(middleware_user_agent_1.getUserAgentPlugin(this.config));
36
32
  }
37
- /**
38
- * Destroy underlying resources, like sockets. It's usually not necessary to do this.
39
- * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
40
- * Otherwise, sockets might stay open for quite a long time before the server terminates them.
41
- */
42
33
  destroy() {
43
34
  super.destroy();
44
35
  }
@@ -5,36 +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>Create an <a>ApiKey</a> resource. </p>
10
- * <div class="seeAlso"><a href="https://docs.aws.amazon.com/cli/latest/reference/apigateway/create-api-key.html">AWS CLI</a></div>
11
- * @example
12
- * Use a bare-bones client and the command you need to make an API call.
13
- * ```javascript
14
- * import { APIGatewayClient, CreateApiKeyCommand } from "@aws-sdk/client-api-gateway"; // ES Modules import
15
- * // const { APIGatewayClient, CreateApiKeyCommand } = require("@aws-sdk/client-api-gateway"); // CommonJS import
16
- * const client = new APIGatewayClient(config);
17
- * const command = new CreateApiKeyCommand(input);
18
- * const response = await client.send(command);
19
- * ```
20
- *
21
- * @see {@link CreateApiKeyCommandInput} for command's `input` shape.
22
- * @see {@link CreateApiKeyCommandOutput} for command's `response` shape.
23
- * @see {@link APIGatewayClientResolvedConfig | config} for command's `input` shape.
24
- *
25
- */
26
8
  class CreateApiKeyCommand extends smithy_client_1.Command {
27
- // Start section: command_properties
28
- // End section: command_properties
29
9
  constructor(input) {
30
- // Start section: command_constructor
31
10
  super();
32
11
  this.input = input;
33
- // End section: command_constructor
34
12
  }
35
- /**
36
- * @internal
37
- */
38
13
  resolveMiddleware(clientStack, configuration, options) {
39
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
40
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,36 +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>Adds a new <a>Authorizer</a> resource to an existing <a>RestApi</a> resource.</p>
10
- * <div class="seeAlso"><a href="https://docs.aws.amazon.com/cli/latest/reference/apigateway/create-authorizer.html">AWS CLI</a></div>
11
- * @example
12
- * Use a bare-bones client and the command you need to make an API call.
13
- * ```javascript
14
- * import { APIGatewayClient, CreateAuthorizerCommand } from "@aws-sdk/client-api-gateway"; // ES Modules import
15
- * // const { APIGatewayClient, CreateAuthorizerCommand } = require("@aws-sdk/client-api-gateway"); // CommonJS import
16
- * const client = new APIGatewayClient(config);
17
- * const command = new CreateAuthorizerCommand(input);
18
- * const response = await client.send(command);
19
- * ```
20
- *
21
- * @see {@link CreateAuthorizerCommandInput} for command's `input` shape.
22
- * @see {@link CreateAuthorizerCommandOutput} for command's `response` shape.
23
- * @see {@link APIGatewayClientResolvedConfig | config} for command's `input` shape.
24
- *
25
- */
26
8
  class CreateAuthorizerCommand extends smithy_client_1.Command {
27
- // Start section: command_properties
28
- // End section: command_properties
29
9
  constructor(input) {
30
- // Start section: command_constructor
31
10
  super();
32
11
  this.input = input;
33
- // End section: command_constructor
34
12
  }
35
- /**
36
- * @internal
37
- */
38
13
  resolveMiddleware(clientStack, configuration, options) {
39
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
40
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 new <a>BasePathMapping</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, CreateBasePathMappingCommand } from "@aws-sdk/client-api-gateway"; // ES Modules import
14
- * // const { APIGatewayClient, CreateBasePathMappingCommand } = require("@aws-sdk/client-api-gateway"); // CommonJS import
15
- * const client = new APIGatewayClient(config);
16
- * const command = new CreateBasePathMappingCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link CreateBasePathMappingCommandInput} for command's `input` shape.
21
- * @see {@link CreateBasePathMappingCommandOutput} for command's `response` shape.
22
- * @see {@link APIGatewayClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class CreateBasePathMappingCommand 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 <a>Deployment</a> resource, which makes a specified <a>RestApi</a> callable over the internet.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { APIGatewayClient, CreateDeploymentCommand } from "@aws-sdk/client-api-gateway"; // ES Modules import
14
- * // const { APIGatewayClient, CreateDeploymentCommand } = require("@aws-sdk/client-api-gateway"); // CommonJS import
15
- * const client = new APIGatewayClient(config);
16
- * const command = new CreateDeploymentCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link CreateDeploymentCommandInput} for command's `input` shape.
21
- * @see {@link CreateDeploymentCommandOutput} for command's `response` shape.
22
- * @see {@link APIGatewayClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class CreateDeploymentCommand 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 CreateDocumentationPartCommand 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 CreateDocumentationVersionCommand 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>Creates a new domain name.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { APIGatewayClient, CreateDomainNameCommand } from "@aws-sdk/client-api-gateway"; // ES Modules import
14
- * // const { APIGatewayClient, CreateDomainNameCommand } = require("@aws-sdk/client-api-gateway"); // CommonJS import
15
- * const client = new APIGatewayClient(config);
16
- * const command = new CreateDomainNameCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link CreateDomainNameCommandInput} for command's `input` shape.
21
- * @see {@link CreateDomainNameCommandOutput} for command's `response` shape.
22
- * @see {@link APIGatewayClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class CreateDomainNameCommand 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>Adds a new <a>Model</a> resource to an existing <a>RestApi</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, CreateModelCommand } from "@aws-sdk/client-api-gateway"; // ES Modules import
14
- * // const { APIGatewayClient, CreateModelCommand } = require("@aws-sdk/client-api-gateway"); // CommonJS import
15
- * const client = new APIGatewayClient(config);
16
- * const command = new CreateModelCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link CreateModelCommandInput} for command's `input` shape.
21
- * @see {@link CreateModelCommandOutput} for command's `response` shape.
22
- * @see {@link APIGatewayClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class CreateModelCommand 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 <a>ReqeustValidator</a> of a 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, CreateRequestValidatorCommand } from "@aws-sdk/client-api-gateway"; // ES Modules import
14
- * // const { APIGatewayClient, CreateRequestValidatorCommand } = require("@aws-sdk/client-api-gateway"); // CommonJS import
15
- * const client = new APIGatewayClient(config);
16
- * const command = new CreateRequestValidatorCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link CreateRequestValidatorCommandInput} for command's `input` shape.
21
- * @see {@link CreateRequestValidatorCommandOutput} for command's `response` shape.
22
- * @see {@link APIGatewayClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class CreateRequestValidatorCommand 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 <a>Resource</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, CreateResourceCommand } from "@aws-sdk/client-api-gateway"; // ES Modules import
14
- * // const { APIGatewayClient, CreateResourceCommand } = require("@aws-sdk/client-api-gateway"); // CommonJS import
15
- * const client = new APIGatewayClient(config);
16
- * const command = new CreateResourceCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link CreateResourceCommandInput} for command's `input` shape.
21
- * @see {@link CreateResourceCommandOutput} for command's `response` shape.
22
- * @see {@link APIGatewayClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class CreateResourceCommand 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 new <a>RestApi</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, CreateRestApiCommand } from "@aws-sdk/client-api-gateway"; // ES Modules import
14
- * // const { APIGatewayClient, CreateRestApiCommand } = require("@aws-sdk/client-api-gateway"); // CommonJS import
15
- * const client = new APIGatewayClient(config);
16
- * const command = new CreateRestApiCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link CreateRestApiCommandInput} for command's `input` shape.
21
- * @see {@link CreateRestApiCommandOutput} for command's `response` shape.
22
- * @see {@link APIGatewayClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class CreateRestApiCommand 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,36 +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 new <a>Stage</a> resource that references a pre-existing <a>Deployment</a> for the API. </p>
10
- * <!-- <p>Creates a <a>Stage</a> resource.</p> -->
11
- * @example
12
- * Use a bare-bones client and the command you need to make an API call.
13
- * ```javascript
14
- * import { APIGatewayClient, CreateStageCommand } from "@aws-sdk/client-api-gateway"; // ES Modules import
15
- * // const { APIGatewayClient, CreateStageCommand } = require("@aws-sdk/client-api-gateway"); // CommonJS import
16
- * const client = new APIGatewayClient(config);
17
- * const command = new CreateStageCommand(input);
18
- * const response = await client.send(command);
19
- * ```
20
- *
21
- * @see {@link CreateStageCommandInput} for command's `input` shape.
22
- * @see {@link CreateStageCommandOutput} for command's `response` shape.
23
- * @see {@link APIGatewayClientResolvedConfig | config} for command's `input` shape.
24
- *
25
- */
26
8
  class CreateStageCommand extends smithy_client_1.Command {
27
- // Start section: command_properties
28
- // End section: command_properties
29
9
  constructor(input) {
30
- // Start section: command_constructor
31
10
  super();
32
11
  this.input = input;
33
- // End section: command_constructor
34
12
  }
35
- /**
36
- * @internal
37
- */
38
13
  resolveMiddleware(clientStack, configuration, options) {
39
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
40
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 usage plan with the throttle and quota limits, as well as the associated API stages, specified in the payload. </p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { APIGatewayClient, CreateUsagePlanCommand } from "@aws-sdk/client-api-gateway"; // ES Modules import
14
- * // const { APIGatewayClient, CreateUsagePlanCommand } = require("@aws-sdk/client-api-gateway"); // CommonJS import
15
- * const client = new APIGatewayClient(config);
16
- * const command = new CreateUsagePlanCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link CreateUsagePlanCommandInput} for command's `input` shape.
21
- * @see {@link CreateUsagePlanCommandOutput} for command's `response` shape.
22
- * @see {@link APIGatewayClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class CreateUsagePlanCommand 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 usage plan key for adding an existing API key to a 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, CreateUsagePlanKeyCommand } from "@aws-sdk/client-api-gateway"; // ES Modules import
14
- * // const { APIGatewayClient, CreateUsagePlanKeyCommand } = require("@aws-sdk/client-api-gateway"); // CommonJS import
15
- * const client = new APIGatewayClient(config);
16
- * const command = new CreateUsagePlanKeyCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link CreateUsagePlanKeyCommandInput} for command's `input` shape.
21
- * @see {@link CreateUsagePlanKeyCommandOutput} for command's `response` shape.
22
- * @see {@link APIGatewayClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class CreateUsagePlanKeyCommand 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 VPC link, under the caller's account in a selected region, in an asynchronous operation that typically takes 2-4 minutes to complete and become operational. The caller must have permissions to create and update VPC Endpoint services.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { APIGatewayClient, CreateVpcLinkCommand } from "@aws-sdk/client-api-gateway"; // ES Modules import
14
- * // const { APIGatewayClient, CreateVpcLinkCommand } = require("@aws-sdk/client-api-gateway"); // CommonJS import
15
- * const client = new APIGatewayClient(config);
16
- * const command = new CreateVpcLinkCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link CreateVpcLinkCommandInput} for command's `input` shape.
21
- * @see {@link CreateVpcLinkCommandOutput} for command's `response` shape.
22
- * @see {@link APIGatewayClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class CreateVpcLinkCommand 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>Deletes the <a>ApiKey</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, DeleteApiKeyCommand } from "@aws-sdk/client-api-gateway"; // ES Modules import
14
- * // const { APIGatewayClient, DeleteApiKeyCommand } = require("@aws-sdk/client-api-gateway"); // CommonJS import
15
- * const client = new APIGatewayClient(config);
16
- * const command = new DeleteApiKeyCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link DeleteApiKeyCommandInput} for command's `input` shape.
21
- * @see {@link DeleteApiKeyCommandOutput} for command's `response` shape.
22
- * @see {@link APIGatewayClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class DeleteApiKeyCommand 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);