@aws-sdk/client-api-gateway 3.193.0 → 3.196.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 (512) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/dist-cjs/APIGatewayClient.js +11 -8
  3. package/dist-cjs/commands/CreateApiKeyCommand.js +10 -0
  4. package/dist-cjs/commands/CreateAuthorizerCommand.js +10 -0
  5. package/dist-cjs/commands/CreateBasePathMappingCommand.js +10 -0
  6. package/dist-cjs/commands/CreateDeploymentCommand.js +10 -0
  7. package/dist-cjs/commands/CreateDocumentationPartCommand.js +10 -0
  8. package/dist-cjs/commands/CreateDocumentationVersionCommand.js +10 -0
  9. package/dist-cjs/commands/CreateDomainNameCommand.js +10 -0
  10. package/dist-cjs/commands/CreateModelCommand.js +10 -0
  11. package/dist-cjs/commands/CreateRequestValidatorCommand.js +10 -0
  12. package/dist-cjs/commands/CreateResourceCommand.js +10 -0
  13. package/dist-cjs/commands/CreateRestApiCommand.js +10 -0
  14. package/dist-cjs/commands/CreateStageCommand.js +10 -0
  15. package/dist-cjs/commands/CreateUsagePlanCommand.js +10 -0
  16. package/dist-cjs/commands/CreateUsagePlanKeyCommand.js +10 -0
  17. package/dist-cjs/commands/CreateVpcLinkCommand.js +10 -0
  18. package/dist-cjs/commands/DeleteApiKeyCommand.js +10 -0
  19. package/dist-cjs/commands/DeleteAuthorizerCommand.js +10 -0
  20. package/dist-cjs/commands/DeleteBasePathMappingCommand.js +10 -0
  21. package/dist-cjs/commands/DeleteClientCertificateCommand.js +10 -0
  22. package/dist-cjs/commands/DeleteDeploymentCommand.js +10 -0
  23. package/dist-cjs/commands/DeleteDocumentationPartCommand.js +10 -0
  24. package/dist-cjs/commands/DeleteDocumentationVersionCommand.js +10 -0
  25. package/dist-cjs/commands/DeleteDomainNameCommand.js +10 -0
  26. package/dist-cjs/commands/DeleteGatewayResponseCommand.js +10 -0
  27. package/dist-cjs/commands/DeleteIntegrationCommand.js +10 -0
  28. package/dist-cjs/commands/DeleteIntegrationResponseCommand.js +10 -0
  29. package/dist-cjs/commands/DeleteMethodCommand.js +10 -0
  30. package/dist-cjs/commands/DeleteMethodResponseCommand.js +10 -0
  31. package/dist-cjs/commands/DeleteModelCommand.js +10 -0
  32. package/dist-cjs/commands/DeleteRequestValidatorCommand.js +10 -0
  33. package/dist-cjs/commands/DeleteResourceCommand.js +10 -0
  34. package/dist-cjs/commands/DeleteRestApiCommand.js +10 -0
  35. package/dist-cjs/commands/DeleteStageCommand.js +10 -0
  36. package/dist-cjs/commands/DeleteUsagePlanCommand.js +10 -0
  37. package/dist-cjs/commands/DeleteUsagePlanKeyCommand.js +10 -0
  38. package/dist-cjs/commands/DeleteVpcLinkCommand.js +10 -0
  39. package/dist-cjs/commands/FlushStageAuthorizersCacheCommand.js +10 -0
  40. package/dist-cjs/commands/FlushStageCacheCommand.js +10 -0
  41. package/dist-cjs/commands/GenerateClientCertificateCommand.js +10 -0
  42. package/dist-cjs/commands/GetAccountCommand.js +10 -0
  43. package/dist-cjs/commands/GetApiKeyCommand.js +10 -0
  44. package/dist-cjs/commands/GetApiKeysCommand.js +10 -0
  45. package/dist-cjs/commands/GetAuthorizerCommand.js +10 -0
  46. package/dist-cjs/commands/GetAuthorizersCommand.js +10 -0
  47. package/dist-cjs/commands/GetBasePathMappingCommand.js +10 -0
  48. package/dist-cjs/commands/GetBasePathMappingsCommand.js +10 -0
  49. package/dist-cjs/commands/GetClientCertificateCommand.js +10 -0
  50. package/dist-cjs/commands/GetClientCertificatesCommand.js +10 -0
  51. package/dist-cjs/commands/GetDeploymentCommand.js +10 -0
  52. package/dist-cjs/commands/GetDeploymentsCommand.js +10 -0
  53. package/dist-cjs/commands/GetDocumentationPartCommand.js +10 -0
  54. package/dist-cjs/commands/GetDocumentationPartsCommand.js +10 -0
  55. package/dist-cjs/commands/GetDocumentationVersionCommand.js +10 -0
  56. package/dist-cjs/commands/GetDocumentationVersionsCommand.js +10 -0
  57. package/dist-cjs/commands/GetDomainNameCommand.js +10 -0
  58. package/dist-cjs/commands/GetDomainNamesCommand.js +10 -0
  59. package/dist-cjs/commands/GetExportCommand.js +10 -0
  60. package/dist-cjs/commands/GetGatewayResponseCommand.js +10 -0
  61. package/dist-cjs/commands/GetGatewayResponsesCommand.js +10 -0
  62. package/dist-cjs/commands/GetIntegrationCommand.js +10 -0
  63. package/dist-cjs/commands/GetIntegrationResponseCommand.js +10 -0
  64. package/dist-cjs/commands/GetMethodCommand.js +10 -0
  65. package/dist-cjs/commands/GetMethodResponseCommand.js +10 -0
  66. package/dist-cjs/commands/GetModelCommand.js +10 -0
  67. package/dist-cjs/commands/GetModelTemplateCommand.js +10 -0
  68. package/dist-cjs/commands/GetModelsCommand.js +10 -0
  69. package/dist-cjs/commands/GetRequestValidatorCommand.js +10 -0
  70. package/dist-cjs/commands/GetRequestValidatorsCommand.js +10 -0
  71. package/dist-cjs/commands/GetResourceCommand.js +10 -0
  72. package/dist-cjs/commands/GetResourcesCommand.js +10 -0
  73. package/dist-cjs/commands/GetRestApiCommand.js +10 -0
  74. package/dist-cjs/commands/GetRestApisCommand.js +10 -0
  75. package/dist-cjs/commands/GetSdkCommand.js +10 -0
  76. package/dist-cjs/commands/GetSdkTypeCommand.js +10 -0
  77. package/dist-cjs/commands/GetSdkTypesCommand.js +10 -0
  78. package/dist-cjs/commands/GetStageCommand.js +10 -0
  79. package/dist-cjs/commands/GetStagesCommand.js +10 -0
  80. package/dist-cjs/commands/GetTagsCommand.js +10 -0
  81. package/dist-cjs/commands/GetUsageCommand.js +10 -0
  82. package/dist-cjs/commands/GetUsagePlanCommand.js +10 -0
  83. package/dist-cjs/commands/GetUsagePlanKeyCommand.js +10 -0
  84. package/dist-cjs/commands/GetUsagePlanKeysCommand.js +10 -0
  85. package/dist-cjs/commands/GetUsagePlansCommand.js +10 -0
  86. package/dist-cjs/commands/GetVpcLinkCommand.js +10 -0
  87. package/dist-cjs/commands/GetVpcLinksCommand.js +10 -0
  88. package/dist-cjs/commands/ImportApiKeysCommand.js +10 -0
  89. package/dist-cjs/commands/ImportDocumentationPartsCommand.js +10 -0
  90. package/dist-cjs/commands/ImportRestApiCommand.js +10 -0
  91. package/dist-cjs/commands/PutGatewayResponseCommand.js +10 -0
  92. package/dist-cjs/commands/PutIntegrationCommand.js +10 -0
  93. package/dist-cjs/commands/PutIntegrationResponseCommand.js +10 -0
  94. package/dist-cjs/commands/PutMethodCommand.js +10 -0
  95. package/dist-cjs/commands/PutMethodResponseCommand.js +10 -0
  96. package/dist-cjs/commands/PutRestApiCommand.js +10 -0
  97. package/dist-cjs/commands/TagResourceCommand.js +10 -0
  98. package/dist-cjs/commands/TestInvokeAuthorizerCommand.js +10 -0
  99. package/dist-cjs/commands/TestInvokeMethodCommand.js +10 -0
  100. package/dist-cjs/commands/UntagResourceCommand.js +10 -0
  101. package/dist-cjs/commands/UpdateAccountCommand.js +10 -0
  102. package/dist-cjs/commands/UpdateApiKeyCommand.js +10 -0
  103. package/dist-cjs/commands/UpdateAuthorizerCommand.js +10 -0
  104. package/dist-cjs/commands/UpdateBasePathMappingCommand.js +10 -0
  105. package/dist-cjs/commands/UpdateClientCertificateCommand.js +10 -0
  106. package/dist-cjs/commands/UpdateDeploymentCommand.js +10 -0
  107. package/dist-cjs/commands/UpdateDocumentationPartCommand.js +10 -0
  108. package/dist-cjs/commands/UpdateDocumentationVersionCommand.js +10 -0
  109. package/dist-cjs/commands/UpdateDomainNameCommand.js +10 -0
  110. package/dist-cjs/commands/UpdateGatewayResponseCommand.js +10 -0
  111. package/dist-cjs/commands/UpdateIntegrationCommand.js +10 -0
  112. package/dist-cjs/commands/UpdateIntegrationResponseCommand.js +10 -0
  113. package/dist-cjs/commands/UpdateMethodCommand.js +10 -0
  114. package/dist-cjs/commands/UpdateMethodResponseCommand.js +10 -0
  115. package/dist-cjs/commands/UpdateModelCommand.js +10 -0
  116. package/dist-cjs/commands/UpdateRequestValidatorCommand.js +10 -0
  117. package/dist-cjs/commands/UpdateResourceCommand.js +10 -0
  118. package/dist-cjs/commands/UpdateRestApiCommand.js +10 -0
  119. package/dist-cjs/commands/UpdateStageCommand.js +10 -0
  120. package/dist-cjs/commands/UpdateUsageCommand.js +10 -0
  121. package/dist-cjs/commands/UpdateUsagePlanCommand.js +10 -0
  122. package/dist-cjs/commands/UpdateVpcLinkCommand.js +10 -0
  123. package/dist-cjs/endpoint/EndpointParameters.js +13 -0
  124. package/dist-cjs/endpoint/endpointResolver.js +12 -0
  125. package/dist-cjs/endpoint/ruleset.js +318 -0
  126. package/dist-cjs/runtimeConfig.shared.js +3 -3
  127. package/dist-es/APIGatewayClient.js +12 -9
  128. package/dist-es/commands/CreateApiKeyCommand.js +10 -0
  129. package/dist-es/commands/CreateAuthorizerCommand.js +10 -0
  130. package/dist-es/commands/CreateBasePathMappingCommand.js +10 -0
  131. package/dist-es/commands/CreateDeploymentCommand.js +10 -0
  132. package/dist-es/commands/CreateDocumentationPartCommand.js +10 -0
  133. package/dist-es/commands/CreateDocumentationVersionCommand.js +10 -0
  134. package/dist-es/commands/CreateDomainNameCommand.js +10 -0
  135. package/dist-es/commands/CreateModelCommand.js +10 -0
  136. package/dist-es/commands/CreateRequestValidatorCommand.js +10 -0
  137. package/dist-es/commands/CreateResourceCommand.js +10 -0
  138. package/dist-es/commands/CreateRestApiCommand.js +10 -0
  139. package/dist-es/commands/CreateStageCommand.js +10 -0
  140. package/dist-es/commands/CreateUsagePlanCommand.js +10 -0
  141. package/dist-es/commands/CreateUsagePlanKeyCommand.js +10 -0
  142. package/dist-es/commands/CreateVpcLinkCommand.js +10 -0
  143. package/dist-es/commands/DeleteApiKeyCommand.js +10 -0
  144. package/dist-es/commands/DeleteAuthorizerCommand.js +10 -0
  145. package/dist-es/commands/DeleteBasePathMappingCommand.js +10 -0
  146. package/dist-es/commands/DeleteClientCertificateCommand.js +10 -0
  147. package/dist-es/commands/DeleteDeploymentCommand.js +10 -0
  148. package/dist-es/commands/DeleteDocumentationPartCommand.js +10 -0
  149. package/dist-es/commands/DeleteDocumentationVersionCommand.js +10 -0
  150. package/dist-es/commands/DeleteDomainNameCommand.js +10 -0
  151. package/dist-es/commands/DeleteGatewayResponseCommand.js +10 -0
  152. package/dist-es/commands/DeleteIntegrationCommand.js +10 -0
  153. package/dist-es/commands/DeleteIntegrationResponseCommand.js +10 -0
  154. package/dist-es/commands/DeleteMethodCommand.js +10 -0
  155. package/dist-es/commands/DeleteMethodResponseCommand.js +10 -0
  156. package/dist-es/commands/DeleteModelCommand.js +10 -0
  157. package/dist-es/commands/DeleteRequestValidatorCommand.js +10 -0
  158. package/dist-es/commands/DeleteResourceCommand.js +10 -0
  159. package/dist-es/commands/DeleteRestApiCommand.js +10 -0
  160. package/dist-es/commands/DeleteStageCommand.js +10 -0
  161. package/dist-es/commands/DeleteUsagePlanCommand.js +10 -0
  162. package/dist-es/commands/DeleteUsagePlanKeyCommand.js +10 -0
  163. package/dist-es/commands/DeleteVpcLinkCommand.js +10 -0
  164. package/dist-es/commands/FlushStageAuthorizersCacheCommand.js +10 -0
  165. package/dist-es/commands/FlushStageCacheCommand.js +10 -0
  166. package/dist-es/commands/GenerateClientCertificateCommand.js +10 -0
  167. package/dist-es/commands/GetAccountCommand.js +10 -0
  168. package/dist-es/commands/GetApiKeyCommand.js +10 -0
  169. package/dist-es/commands/GetApiKeysCommand.js +10 -0
  170. package/dist-es/commands/GetAuthorizerCommand.js +10 -0
  171. package/dist-es/commands/GetAuthorizersCommand.js +10 -0
  172. package/dist-es/commands/GetBasePathMappingCommand.js +10 -0
  173. package/dist-es/commands/GetBasePathMappingsCommand.js +10 -0
  174. package/dist-es/commands/GetClientCertificateCommand.js +10 -0
  175. package/dist-es/commands/GetClientCertificatesCommand.js +10 -0
  176. package/dist-es/commands/GetDeploymentCommand.js +10 -0
  177. package/dist-es/commands/GetDeploymentsCommand.js +10 -0
  178. package/dist-es/commands/GetDocumentationPartCommand.js +10 -0
  179. package/dist-es/commands/GetDocumentationPartsCommand.js +10 -0
  180. package/dist-es/commands/GetDocumentationVersionCommand.js +10 -0
  181. package/dist-es/commands/GetDocumentationVersionsCommand.js +10 -0
  182. package/dist-es/commands/GetDomainNameCommand.js +10 -0
  183. package/dist-es/commands/GetDomainNamesCommand.js +10 -0
  184. package/dist-es/commands/GetExportCommand.js +10 -0
  185. package/dist-es/commands/GetGatewayResponseCommand.js +10 -0
  186. package/dist-es/commands/GetGatewayResponsesCommand.js +10 -0
  187. package/dist-es/commands/GetIntegrationCommand.js +10 -0
  188. package/dist-es/commands/GetIntegrationResponseCommand.js +10 -0
  189. package/dist-es/commands/GetMethodCommand.js +10 -0
  190. package/dist-es/commands/GetMethodResponseCommand.js +10 -0
  191. package/dist-es/commands/GetModelCommand.js +10 -0
  192. package/dist-es/commands/GetModelTemplateCommand.js +10 -0
  193. package/dist-es/commands/GetModelsCommand.js +10 -0
  194. package/dist-es/commands/GetRequestValidatorCommand.js +10 -0
  195. package/dist-es/commands/GetRequestValidatorsCommand.js +10 -0
  196. package/dist-es/commands/GetResourceCommand.js +10 -0
  197. package/dist-es/commands/GetResourcesCommand.js +10 -0
  198. package/dist-es/commands/GetRestApiCommand.js +10 -0
  199. package/dist-es/commands/GetRestApisCommand.js +10 -0
  200. package/dist-es/commands/GetSdkCommand.js +10 -0
  201. package/dist-es/commands/GetSdkTypeCommand.js +10 -0
  202. package/dist-es/commands/GetSdkTypesCommand.js +10 -0
  203. package/dist-es/commands/GetStageCommand.js +10 -0
  204. package/dist-es/commands/GetStagesCommand.js +10 -0
  205. package/dist-es/commands/GetTagsCommand.js +10 -0
  206. package/dist-es/commands/GetUsageCommand.js +10 -0
  207. package/dist-es/commands/GetUsagePlanCommand.js +10 -0
  208. package/dist-es/commands/GetUsagePlanKeyCommand.js +10 -0
  209. package/dist-es/commands/GetUsagePlanKeysCommand.js +10 -0
  210. package/dist-es/commands/GetUsagePlansCommand.js +10 -0
  211. package/dist-es/commands/GetVpcLinkCommand.js +10 -0
  212. package/dist-es/commands/GetVpcLinksCommand.js +10 -0
  213. package/dist-es/commands/ImportApiKeysCommand.js +10 -0
  214. package/dist-es/commands/ImportDocumentationPartsCommand.js +10 -0
  215. package/dist-es/commands/ImportRestApiCommand.js +10 -0
  216. package/dist-es/commands/PutGatewayResponseCommand.js +10 -0
  217. package/dist-es/commands/PutIntegrationCommand.js +10 -0
  218. package/dist-es/commands/PutIntegrationResponseCommand.js +10 -0
  219. package/dist-es/commands/PutMethodCommand.js +10 -0
  220. package/dist-es/commands/PutMethodResponseCommand.js +10 -0
  221. package/dist-es/commands/PutRestApiCommand.js +10 -0
  222. package/dist-es/commands/TagResourceCommand.js +10 -0
  223. package/dist-es/commands/TestInvokeAuthorizerCommand.js +10 -0
  224. package/dist-es/commands/TestInvokeMethodCommand.js +10 -0
  225. package/dist-es/commands/UntagResourceCommand.js +10 -0
  226. package/dist-es/commands/UpdateAccountCommand.js +10 -0
  227. package/dist-es/commands/UpdateApiKeyCommand.js +10 -0
  228. package/dist-es/commands/UpdateAuthorizerCommand.js +10 -0
  229. package/dist-es/commands/UpdateBasePathMappingCommand.js +10 -0
  230. package/dist-es/commands/UpdateClientCertificateCommand.js +10 -0
  231. package/dist-es/commands/UpdateDeploymentCommand.js +10 -0
  232. package/dist-es/commands/UpdateDocumentationPartCommand.js +10 -0
  233. package/dist-es/commands/UpdateDocumentationVersionCommand.js +10 -0
  234. package/dist-es/commands/UpdateDomainNameCommand.js +10 -0
  235. package/dist-es/commands/UpdateGatewayResponseCommand.js +10 -0
  236. package/dist-es/commands/UpdateIntegrationCommand.js +10 -0
  237. package/dist-es/commands/UpdateIntegrationResponseCommand.js +10 -0
  238. package/dist-es/commands/UpdateMethodCommand.js +10 -0
  239. package/dist-es/commands/UpdateMethodResponseCommand.js +10 -0
  240. package/dist-es/commands/UpdateModelCommand.js +10 -0
  241. package/dist-es/commands/UpdateRequestValidatorCommand.js +10 -0
  242. package/dist-es/commands/UpdateResourceCommand.js +10 -0
  243. package/dist-es/commands/UpdateRestApiCommand.js +10 -0
  244. package/dist-es/commands/UpdateStageCommand.js +10 -0
  245. package/dist-es/commands/UpdateUsageCommand.js +10 -0
  246. package/dist-es/commands/UpdateUsagePlanCommand.js +10 -0
  247. package/dist-es/commands/UpdateVpcLinkCommand.js +10 -0
  248. package/dist-es/endpoint/EndpointParameters.js +8 -0
  249. package/dist-es/endpoint/endpointResolver.js +8 -0
  250. package/dist-es/endpoint/ruleset.js +315 -0
  251. package/dist-es/runtimeConfig.shared.js +2 -2
  252. package/dist-types/APIGatewayClient.d.ts +6 -9
  253. package/dist-types/commands/CreateApiKeyCommand.d.ts +2 -0
  254. package/dist-types/commands/CreateAuthorizerCommand.d.ts +2 -0
  255. package/dist-types/commands/CreateBasePathMappingCommand.d.ts +2 -0
  256. package/dist-types/commands/CreateDeploymentCommand.d.ts +2 -0
  257. package/dist-types/commands/CreateDocumentationPartCommand.d.ts +2 -0
  258. package/dist-types/commands/CreateDocumentationVersionCommand.d.ts +2 -0
  259. package/dist-types/commands/CreateDomainNameCommand.d.ts +2 -0
  260. package/dist-types/commands/CreateModelCommand.d.ts +2 -0
  261. package/dist-types/commands/CreateRequestValidatorCommand.d.ts +2 -0
  262. package/dist-types/commands/CreateResourceCommand.d.ts +2 -0
  263. package/dist-types/commands/CreateRestApiCommand.d.ts +2 -0
  264. package/dist-types/commands/CreateStageCommand.d.ts +2 -0
  265. package/dist-types/commands/CreateUsagePlanCommand.d.ts +2 -0
  266. package/dist-types/commands/CreateUsagePlanKeyCommand.d.ts +2 -0
  267. package/dist-types/commands/CreateVpcLinkCommand.d.ts +2 -0
  268. package/dist-types/commands/DeleteApiKeyCommand.d.ts +2 -0
  269. package/dist-types/commands/DeleteAuthorizerCommand.d.ts +2 -0
  270. package/dist-types/commands/DeleteBasePathMappingCommand.d.ts +2 -0
  271. package/dist-types/commands/DeleteClientCertificateCommand.d.ts +2 -0
  272. package/dist-types/commands/DeleteDeploymentCommand.d.ts +2 -0
  273. package/dist-types/commands/DeleteDocumentationPartCommand.d.ts +2 -0
  274. package/dist-types/commands/DeleteDocumentationVersionCommand.d.ts +2 -0
  275. package/dist-types/commands/DeleteDomainNameCommand.d.ts +2 -0
  276. package/dist-types/commands/DeleteGatewayResponseCommand.d.ts +2 -0
  277. package/dist-types/commands/DeleteIntegrationCommand.d.ts +2 -0
  278. package/dist-types/commands/DeleteIntegrationResponseCommand.d.ts +2 -0
  279. package/dist-types/commands/DeleteMethodCommand.d.ts +2 -0
  280. package/dist-types/commands/DeleteMethodResponseCommand.d.ts +2 -0
  281. package/dist-types/commands/DeleteModelCommand.d.ts +2 -0
  282. package/dist-types/commands/DeleteRequestValidatorCommand.d.ts +2 -0
  283. package/dist-types/commands/DeleteResourceCommand.d.ts +2 -0
  284. package/dist-types/commands/DeleteRestApiCommand.d.ts +2 -0
  285. package/dist-types/commands/DeleteStageCommand.d.ts +2 -0
  286. package/dist-types/commands/DeleteUsagePlanCommand.d.ts +2 -0
  287. package/dist-types/commands/DeleteUsagePlanKeyCommand.d.ts +2 -0
  288. package/dist-types/commands/DeleteVpcLinkCommand.d.ts +2 -0
  289. package/dist-types/commands/FlushStageAuthorizersCacheCommand.d.ts +2 -0
  290. package/dist-types/commands/FlushStageCacheCommand.d.ts +2 -0
  291. package/dist-types/commands/GenerateClientCertificateCommand.d.ts +2 -0
  292. package/dist-types/commands/GetAccountCommand.d.ts +2 -0
  293. package/dist-types/commands/GetApiKeyCommand.d.ts +2 -0
  294. package/dist-types/commands/GetApiKeysCommand.d.ts +2 -0
  295. package/dist-types/commands/GetAuthorizerCommand.d.ts +2 -0
  296. package/dist-types/commands/GetAuthorizersCommand.d.ts +2 -0
  297. package/dist-types/commands/GetBasePathMappingCommand.d.ts +2 -0
  298. package/dist-types/commands/GetBasePathMappingsCommand.d.ts +2 -0
  299. package/dist-types/commands/GetClientCertificateCommand.d.ts +2 -0
  300. package/dist-types/commands/GetClientCertificatesCommand.d.ts +2 -0
  301. package/dist-types/commands/GetDeploymentCommand.d.ts +2 -0
  302. package/dist-types/commands/GetDeploymentsCommand.d.ts +2 -0
  303. package/dist-types/commands/GetDocumentationPartCommand.d.ts +2 -0
  304. package/dist-types/commands/GetDocumentationPartsCommand.d.ts +2 -0
  305. package/dist-types/commands/GetDocumentationVersionCommand.d.ts +2 -0
  306. package/dist-types/commands/GetDocumentationVersionsCommand.d.ts +2 -0
  307. package/dist-types/commands/GetDomainNameCommand.d.ts +2 -0
  308. package/dist-types/commands/GetDomainNamesCommand.d.ts +2 -0
  309. package/dist-types/commands/GetExportCommand.d.ts +2 -0
  310. package/dist-types/commands/GetGatewayResponseCommand.d.ts +2 -0
  311. package/dist-types/commands/GetGatewayResponsesCommand.d.ts +2 -0
  312. package/dist-types/commands/GetIntegrationCommand.d.ts +2 -0
  313. package/dist-types/commands/GetIntegrationResponseCommand.d.ts +2 -0
  314. package/dist-types/commands/GetMethodCommand.d.ts +2 -0
  315. package/dist-types/commands/GetMethodResponseCommand.d.ts +2 -0
  316. package/dist-types/commands/GetModelCommand.d.ts +2 -0
  317. package/dist-types/commands/GetModelTemplateCommand.d.ts +2 -0
  318. package/dist-types/commands/GetModelsCommand.d.ts +2 -0
  319. package/dist-types/commands/GetRequestValidatorCommand.d.ts +2 -0
  320. package/dist-types/commands/GetRequestValidatorsCommand.d.ts +2 -0
  321. package/dist-types/commands/GetResourceCommand.d.ts +2 -0
  322. package/dist-types/commands/GetResourcesCommand.d.ts +2 -0
  323. package/dist-types/commands/GetRestApiCommand.d.ts +2 -0
  324. package/dist-types/commands/GetRestApisCommand.d.ts +2 -0
  325. package/dist-types/commands/GetSdkCommand.d.ts +2 -0
  326. package/dist-types/commands/GetSdkTypeCommand.d.ts +2 -0
  327. package/dist-types/commands/GetSdkTypesCommand.d.ts +2 -0
  328. package/dist-types/commands/GetStageCommand.d.ts +2 -0
  329. package/dist-types/commands/GetStagesCommand.d.ts +2 -0
  330. package/dist-types/commands/GetTagsCommand.d.ts +2 -0
  331. package/dist-types/commands/GetUsageCommand.d.ts +2 -0
  332. package/dist-types/commands/GetUsagePlanCommand.d.ts +2 -0
  333. package/dist-types/commands/GetUsagePlanKeyCommand.d.ts +2 -0
  334. package/dist-types/commands/GetUsagePlanKeysCommand.d.ts +2 -0
  335. package/dist-types/commands/GetUsagePlansCommand.d.ts +2 -0
  336. package/dist-types/commands/GetVpcLinkCommand.d.ts +2 -0
  337. package/dist-types/commands/GetVpcLinksCommand.d.ts +2 -0
  338. package/dist-types/commands/ImportApiKeysCommand.d.ts +2 -0
  339. package/dist-types/commands/ImportDocumentationPartsCommand.d.ts +2 -0
  340. package/dist-types/commands/ImportRestApiCommand.d.ts +2 -0
  341. package/dist-types/commands/PutGatewayResponseCommand.d.ts +2 -0
  342. package/dist-types/commands/PutIntegrationCommand.d.ts +2 -0
  343. package/dist-types/commands/PutIntegrationResponseCommand.d.ts +2 -0
  344. package/dist-types/commands/PutMethodCommand.d.ts +2 -0
  345. package/dist-types/commands/PutMethodResponseCommand.d.ts +2 -0
  346. package/dist-types/commands/PutRestApiCommand.d.ts +2 -0
  347. package/dist-types/commands/TagResourceCommand.d.ts +2 -0
  348. package/dist-types/commands/TestInvokeAuthorizerCommand.d.ts +2 -0
  349. package/dist-types/commands/TestInvokeMethodCommand.d.ts +2 -0
  350. package/dist-types/commands/UntagResourceCommand.d.ts +2 -0
  351. package/dist-types/commands/UpdateAccountCommand.d.ts +2 -0
  352. package/dist-types/commands/UpdateApiKeyCommand.d.ts +2 -0
  353. package/dist-types/commands/UpdateAuthorizerCommand.d.ts +2 -0
  354. package/dist-types/commands/UpdateBasePathMappingCommand.d.ts +2 -0
  355. package/dist-types/commands/UpdateClientCertificateCommand.d.ts +2 -0
  356. package/dist-types/commands/UpdateDeploymentCommand.d.ts +2 -0
  357. package/dist-types/commands/UpdateDocumentationPartCommand.d.ts +2 -0
  358. package/dist-types/commands/UpdateDocumentationVersionCommand.d.ts +2 -0
  359. package/dist-types/commands/UpdateDomainNameCommand.d.ts +2 -0
  360. package/dist-types/commands/UpdateGatewayResponseCommand.d.ts +2 -0
  361. package/dist-types/commands/UpdateIntegrationCommand.d.ts +2 -0
  362. package/dist-types/commands/UpdateIntegrationResponseCommand.d.ts +2 -0
  363. package/dist-types/commands/UpdateMethodCommand.d.ts +2 -0
  364. package/dist-types/commands/UpdateMethodResponseCommand.d.ts +2 -0
  365. package/dist-types/commands/UpdateModelCommand.d.ts +2 -0
  366. package/dist-types/commands/UpdateRequestValidatorCommand.d.ts +2 -0
  367. package/dist-types/commands/UpdateResourceCommand.d.ts +2 -0
  368. package/dist-types/commands/UpdateRestApiCommand.d.ts +2 -0
  369. package/dist-types/commands/UpdateStageCommand.d.ts +2 -0
  370. package/dist-types/commands/UpdateUsageCommand.d.ts +2 -0
  371. package/dist-types/commands/UpdateUsagePlanCommand.d.ts +2 -0
  372. package/dist-types/commands/UpdateVpcLinkCommand.d.ts +2 -0
  373. package/dist-types/endpoint/EndpointParameters.d.ts +19 -0
  374. package/dist-types/endpoint/endpointResolver.d.ts +5 -0
  375. package/dist-types/endpoint/ruleset.d.ts +2 -0
  376. package/dist-types/runtimeConfig.browser.d.ts +4 -2
  377. package/dist-types/runtimeConfig.d.ts +4 -2
  378. package/dist-types/runtimeConfig.native.d.ts +4 -2
  379. package/dist-types/runtimeConfig.shared.d.ts +3 -1
  380. package/dist-types/ts3.4/APIGatewayClient.d.ts +15 -8
  381. package/dist-types/ts3.4/commands/CreateApiKeyCommand.d.ts +2 -0
  382. package/dist-types/ts3.4/commands/CreateAuthorizerCommand.d.ts +2 -0
  383. package/dist-types/ts3.4/commands/CreateBasePathMappingCommand.d.ts +2 -0
  384. package/dist-types/ts3.4/commands/CreateDeploymentCommand.d.ts +2 -0
  385. package/dist-types/ts3.4/commands/CreateDocumentationPartCommand.d.ts +2 -0
  386. package/dist-types/ts3.4/commands/CreateDocumentationVersionCommand.d.ts +2 -0
  387. package/dist-types/ts3.4/commands/CreateDomainNameCommand.d.ts +2 -0
  388. package/dist-types/ts3.4/commands/CreateModelCommand.d.ts +2 -0
  389. package/dist-types/ts3.4/commands/CreateRequestValidatorCommand.d.ts +2 -0
  390. package/dist-types/ts3.4/commands/CreateResourceCommand.d.ts +2 -0
  391. package/dist-types/ts3.4/commands/CreateRestApiCommand.d.ts +2 -0
  392. package/dist-types/ts3.4/commands/CreateStageCommand.d.ts +2 -0
  393. package/dist-types/ts3.4/commands/CreateUsagePlanCommand.d.ts +2 -0
  394. package/dist-types/ts3.4/commands/CreateUsagePlanKeyCommand.d.ts +2 -0
  395. package/dist-types/ts3.4/commands/CreateVpcLinkCommand.d.ts +2 -0
  396. package/dist-types/ts3.4/commands/DeleteApiKeyCommand.d.ts +2 -0
  397. package/dist-types/ts3.4/commands/DeleteAuthorizerCommand.d.ts +2 -0
  398. package/dist-types/ts3.4/commands/DeleteBasePathMappingCommand.d.ts +2 -0
  399. package/dist-types/ts3.4/commands/DeleteClientCertificateCommand.d.ts +2 -0
  400. package/dist-types/ts3.4/commands/DeleteDeploymentCommand.d.ts +2 -0
  401. package/dist-types/ts3.4/commands/DeleteDocumentationPartCommand.d.ts +2 -0
  402. package/dist-types/ts3.4/commands/DeleteDocumentationVersionCommand.d.ts +2 -0
  403. package/dist-types/ts3.4/commands/DeleteDomainNameCommand.d.ts +2 -0
  404. package/dist-types/ts3.4/commands/DeleteGatewayResponseCommand.d.ts +2 -0
  405. package/dist-types/ts3.4/commands/DeleteIntegrationCommand.d.ts +2 -0
  406. package/dist-types/ts3.4/commands/DeleteIntegrationResponseCommand.d.ts +2 -0
  407. package/dist-types/ts3.4/commands/DeleteMethodCommand.d.ts +2 -0
  408. package/dist-types/ts3.4/commands/DeleteMethodResponseCommand.d.ts +2 -0
  409. package/dist-types/ts3.4/commands/DeleteModelCommand.d.ts +2 -0
  410. package/dist-types/ts3.4/commands/DeleteRequestValidatorCommand.d.ts +2 -0
  411. package/dist-types/ts3.4/commands/DeleteResourceCommand.d.ts +2 -0
  412. package/dist-types/ts3.4/commands/DeleteRestApiCommand.d.ts +2 -0
  413. package/dist-types/ts3.4/commands/DeleteStageCommand.d.ts +2 -0
  414. package/dist-types/ts3.4/commands/DeleteUsagePlanCommand.d.ts +2 -0
  415. package/dist-types/ts3.4/commands/DeleteUsagePlanKeyCommand.d.ts +2 -0
  416. package/dist-types/ts3.4/commands/DeleteVpcLinkCommand.d.ts +2 -0
  417. package/dist-types/ts3.4/commands/FlushStageAuthorizersCacheCommand.d.ts +2 -0
  418. package/dist-types/ts3.4/commands/FlushStageCacheCommand.d.ts +2 -0
  419. package/dist-types/ts3.4/commands/GenerateClientCertificateCommand.d.ts +2 -0
  420. package/dist-types/ts3.4/commands/GetAccountCommand.d.ts +2 -0
  421. package/dist-types/ts3.4/commands/GetApiKeyCommand.d.ts +2 -0
  422. package/dist-types/ts3.4/commands/GetApiKeysCommand.d.ts +2 -0
  423. package/dist-types/ts3.4/commands/GetAuthorizerCommand.d.ts +2 -0
  424. package/dist-types/ts3.4/commands/GetAuthorizersCommand.d.ts +2 -0
  425. package/dist-types/ts3.4/commands/GetBasePathMappingCommand.d.ts +2 -0
  426. package/dist-types/ts3.4/commands/GetBasePathMappingsCommand.d.ts +2 -0
  427. package/dist-types/ts3.4/commands/GetClientCertificateCommand.d.ts +2 -0
  428. package/dist-types/ts3.4/commands/GetClientCertificatesCommand.d.ts +2 -0
  429. package/dist-types/ts3.4/commands/GetDeploymentCommand.d.ts +2 -0
  430. package/dist-types/ts3.4/commands/GetDeploymentsCommand.d.ts +2 -0
  431. package/dist-types/ts3.4/commands/GetDocumentationPartCommand.d.ts +2 -0
  432. package/dist-types/ts3.4/commands/GetDocumentationPartsCommand.d.ts +2 -0
  433. package/dist-types/ts3.4/commands/GetDocumentationVersionCommand.d.ts +2 -0
  434. package/dist-types/ts3.4/commands/GetDocumentationVersionsCommand.d.ts +2 -0
  435. package/dist-types/ts3.4/commands/GetDomainNameCommand.d.ts +2 -0
  436. package/dist-types/ts3.4/commands/GetDomainNamesCommand.d.ts +2 -0
  437. package/dist-types/ts3.4/commands/GetExportCommand.d.ts +2 -0
  438. package/dist-types/ts3.4/commands/GetGatewayResponseCommand.d.ts +2 -0
  439. package/dist-types/ts3.4/commands/GetGatewayResponsesCommand.d.ts +2 -0
  440. package/dist-types/ts3.4/commands/GetIntegrationCommand.d.ts +2 -0
  441. package/dist-types/ts3.4/commands/GetIntegrationResponseCommand.d.ts +2 -0
  442. package/dist-types/ts3.4/commands/GetMethodCommand.d.ts +2 -0
  443. package/dist-types/ts3.4/commands/GetMethodResponseCommand.d.ts +2 -0
  444. package/dist-types/ts3.4/commands/GetModelCommand.d.ts +2 -0
  445. package/dist-types/ts3.4/commands/GetModelTemplateCommand.d.ts +2 -0
  446. package/dist-types/ts3.4/commands/GetModelsCommand.d.ts +2 -0
  447. package/dist-types/ts3.4/commands/GetRequestValidatorCommand.d.ts +2 -0
  448. package/dist-types/ts3.4/commands/GetRequestValidatorsCommand.d.ts +2 -0
  449. package/dist-types/ts3.4/commands/GetResourceCommand.d.ts +2 -0
  450. package/dist-types/ts3.4/commands/GetResourcesCommand.d.ts +2 -0
  451. package/dist-types/ts3.4/commands/GetRestApiCommand.d.ts +2 -0
  452. package/dist-types/ts3.4/commands/GetRestApisCommand.d.ts +2 -0
  453. package/dist-types/ts3.4/commands/GetSdkCommand.d.ts +2 -0
  454. package/dist-types/ts3.4/commands/GetSdkTypeCommand.d.ts +2 -0
  455. package/dist-types/ts3.4/commands/GetSdkTypesCommand.d.ts +2 -0
  456. package/dist-types/ts3.4/commands/GetStageCommand.d.ts +2 -0
  457. package/dist-types/ts3.4/commands/GetStagesCommand.d.ts +2 -0
  458. package/dist-types/ts3.4/commands/GetTagsCommand.d.ts +2 -0
  459. package/dist-types/ts3.4/commands/GetUsageCommand.d.ts +2 -0
  460. package/dist-types/ts3.4/commands/GetUsagePlanCommand.d.ts +2 -0
  461. package/dist-types/ts3.4/commands/GetUsagePlanKeyCommand.d.ts +2 -0
  462. package/dist-types/ts3.4/commands/GetUsagePlanKeysCommand.d.ts +2 -0
  463. package/dist-types/ts3.4/commands/GetUsagePlansCommand.d.ts +2 -0
  464. package/dist-types/ts3.4/commands/GetVpcLinkCommand.d.ts +2 -0
  465. package/dist-types/ts3.4/commands/GetVpcLinksCommand.d.ts +2 -0
  466. package/dist-types/ts3.4/commands/ImportApiKeysCommand.d.ts +2 -0
  467. package/dist-types/ts3.4/commands/ImportDocumentationPartsCommand.d.ts +2 -0
  468. package/dist-types/ts3.4/commands/ImportRestApiCommand.d.ts +2 -0
  469. package/dist-types/ts3.4/commands/PutGatewayResponseCommand.d.ts +2 -0
  470. package/dist-types/ts3.4/commands/PutIntegrationCommand.d.ts +2 -0
  471. package/dist-types/ts3.4/commands/PutIntegrationResponseCommand.d.ts +2 -0
  472. package/dist-types/ts3.4/commands/PutMethodCommand.d.ts +2 -0
  473. package/dist-types/ts3.4/commands/PutMethodResponseCommand.d.ts +2 -0
  474. package/dist-types/ts3.4/commands/PutRestApiCommand.d.ts +2 -0
  475. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -0
  476. package/dist-types/ts3.4/commands/TestInvokeAuthorizerCommand.d.ts +2 -0
  477. package/dist-types/ts3.4/commands/TestInvokeMethodCommand.d.ts +2 -0
  478. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -0
  479. package/dist-types/ts3.4/commands/UpdateAccountCommand.d.ts +2 -0
  480. package/dist-types/ts3.4/commands/UpdateApiKeyCommand.d.ts +2 -0
  481. package/dist-types/ts3.4/commands/UpdateAuthorizerCommand.d.ts +2 -0
  482. package/dist-types/ts3.4/commands/UpdateBasePathMappingCommand.d.ts +2 -0
  483. package/dist-types/ts3.4/commands/UpdateClientCertificateCommand.d.ts +2 -0
  484. package/dist-types/ts3.4/commands/UpdateDeploymentCommand.d.ts +2 -0
  485. package/dist-types/ts3.4/commands/UpdateDocumentationPartCommand.d.ts +2 -0
  486. package/dist-types/ts3.4/commands/UpdateDocumentationVersionCommand.d.ts +2 -0
  487. package/dist-types/ts3.4/commands/UpdateDomainNameCommand.d.ts +2 -0
  488. package/dist-types/ts3.4/commands/UpdateGatewayResponseCommand.d.ts +2 -0
  489. package/dist-types/ts3.4/commands/UpdateIntegrationCommand.d.ts +2 -0
  490. package/dist-types/ts3.4/commands/UpdateIntegrationResponseCommand.d.ts +2 -0
  491. package/dist-types/ts3.4/commands/UpdateMethodCommand.d.ts +2 -0
  492. package/dist-types/ts3.4/commands/UpdateMethodResponseCommand.d.ts +2 -0
  493. package/dist-types/ts3.4/commands/UpdateModelCommand.d.ts +2 -0
  494. package/dist-types/ts3.4/commands/UpdateRequestValidatorCommand.d.ts +2 -0
  495. package/dist-types/ts3.4/commands/UpdateResourceCommand.d.ts +2 -0
  496. package/dist-types/ts3.4/commands/UpdateRestApiCommand.d.ts +2 -0
  497. package/dist-types/ts3.4/commands/UpdateStageCommand.d.ts +2 -0
  498. package/dist-types/ts3.4/commands/UpdateUsageCommand.d.ts +2 -0
  499. package/dist-types/ts3.4/commands/UpdateUsagePlanCommand.d.ts +2 -0
  500. package/dist-types/ts3.4/commands/UpdateVpcLinkCommand.d.ts +2 -0
  501. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +26 -0
  502. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  503. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  504. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +14 -4
  505. package/dist-types/ts3.4/runtimeConfig.d.ts +14 -4
  506. package/dist-types/ts3.4/runtimeConfig.native.d.ts +14 -3
  507. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +6 -1
  508. package/package.json +5 -3
  509. package/dist-cjs/endpoints.js +0 -178
  510. package/dist-es/endpoints.js +0 -174
  511. package/dist-types/endpoints.d.ts +0 -2
  512. package/dist-types/ts3.4/endpoints.d.ts +0 -2
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -21,6 +22,7 @@ export declare class UpdateDeploymentCommand extends $Command<
21
22
  APIGatewayClientResolvedConfig
22
23
  > {
23
24
  readonly input: UpdateDeploymentCommandInput;
25
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
24
26
  constructor(input: UpdateDeploymentCommandInput);
25
27
  resolveMiddleware(
26
28
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -25,6 +26,7 @@ export declare class UpdateDocumentationPartCommand extends $Command<
25
26
  APIGatewayClientResolvedConfig
26
27
  > {
27
28
  readonly input: UpdateDocumentationPartCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
28
30
  constructor(input: UpdateDocumentationPartCommandInput);
29
31
  resolveMiddleware(
30
32
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -25,6 +26,7 @@ export declare class UpdateDocumentationVersionCommand extends $Command<
25
26
  APIGatewayClientResolvedConfig
26
27
  > {
27
28
  readonly input: UpdateDocumentationVersionCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
28
30
  constructor(input: UpdateDocumentationVersionCommandInput);
29
31
  resolveMiddleware(
30
32
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -21,6 +22,7 @@ export declare class UpdateDomainNameCommand extends $Command<
21
22
  APIGatewayClientResolvedConfig
22
23
  > {
23
24
  readonly input: UpdateDomainNameCommandInput;
25
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
24
26
  constructor(input: UpdateDomainNameCommandInput);
25
27
  resolveMiddleware(
26
28
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -25,6 +26,7 @@ export declare class UpdateGatewayResponseCommand extends $Command<
25
26
  APIGatewayClientResolvedConfig
26
27
  > {
27
28
  readonly input: UpdateGatewayResponseCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
28
30
  constructor(input: UpdateGatewayResponseCommandInput);
29
31
  resolveMiddleware(
30
32
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -22,6 +23,7 @@ export declare class UpdateIntegrationCommand extends $Command<
22
23
  APIGatewayClientResolvedConfig
23
24
  > {
24
25
  readonly input: UpdateIntegrationCommandInput;
26
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
25
27
  constructor(input: UpdateIntegrationCommandInput);
26
28
  resolveMiddleware(
27
29
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -25,6 +26,7 @@ export declare class UpdateIntegrationResponseCommand extends $Command<
25
26
  APIGatewayClientResolvedConfig
26
27
  > {
27
28
  readonly input: UpdateIntegrationResponseCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
28
30
  constructor(input: UpdateIntegrationResponseCommandInput);
29
31
  resolveMiddleware(
30
32
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -19,6 +20,7 @@ export declare class UpdateMethodCommand extends $Command<
19
20
  APIGatewayClientResolvedConfig
20
21
  > {
21
22
  readonly input: UpdateMethodCommandInput;
23
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
22
24
  constructor(input: UpdateMethodCommandInput);
23
25
  resolveMiddleware(
24
26
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -25,6 +26,7 @@ export declare class UpdateMethodResponseCommand extends $Command<
25
26
  APIGatewayClientResolvedConfig
26
27
  > {
27
28
  readonly input: UpdateMethodResponseCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
28
30
  constructor(input: UpdateMethodResponseCommandInput);
29
31
  resolveMiddleware(
30
32
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -19,6 +20,7 @@ export declare class UpdateModelCommand extends $Command<
19
20
  APIGatewayClientResolvedConfig
20
21
  > {
21
22
  readonly input: UpdateModelCommandInput;
23
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
22
24
  constructor(input: UpdateModelCommandInput);
23
25
  resolveMiddleware(
24
26
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -25,6 +26,7 @@ export declare class UpdateRequestValidatorCommand extends $Command<
25
26
  APIGatewayClientResolvedConfig
26
27
  > {
27
28
  readonly input: UpdateRequestValidatorCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
28
30
  constructor(input: UpdateRequestValidatorCommandInput);
29
31
  resolveMiddleware(
30
32
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -21,6 +22,7 @@ export declare class UpdateResourceCommand extends $Command<
21
22
  APIGatewayClientResolvedConfig
22
23
  > {
23
24
  readonly input: UpdateResourceCommandInput;
25
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
24
26
  constructor(input: UpdateResourceCommandInput);
25
27
  resolveMiddleware(
26
28
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -19,6 +20,7 @@ export declare class UpdateRestApiCommand extends $Command<
19
20
  APIGatewayClientResolvedConfig
20
21
  > {
21
22
  readonly input: UpdateRestApiCommandInput;
23
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
22
24
  constructor(input: UpdateRestApiCommandInput);
23
25
  resolveMiddleware(
24
26
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -19,6 +20,7 @@ export declare class UpdateStageCommand extends $Command<
19
20
  APIGatewayClientResolvedConfig
20
21
  > {
21
22
  readonly input: UpdateStageCommandInput;
23
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
22
24
  constructor(input: UpdateStageCommandInput);
23
25
  resolveMiddleware(
24
26
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -19,6 +20,7 @@ export declare class UpdateUsageCommand extends $Command<
19
20
  APIGatewayClientResolvedConfig
20
21
  > {
21
22
  readonly input: UpdateUsageCommandInput;
23
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
22
24
  constructor(input: UpdateUsageCommandInput);
23
25
  resolveMiddleware(
24
26
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -21,6 +22,7 @@ export declare class UpdateUsagePlanCommand extends $Command<
21
22
  APIGatewayClientResolvedConfig
22
23
  > {
23
24
  readonly input: UpdateUsagePlanCommandInput;
25
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
24
26
  constructor(input: UpdateUsagePlanCommandInput);
25
27
  resolveMiddleware(
26
28
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -19,6 +20,7 @@ export declare class UpdateVpcLinkCommand extends $Command<
19
20
  APIGatewayClientResolvedConfig
20
21
  > {
21
22
  readonly input: UpdateVpcLinkCommandInput;
23
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
22
24
  constructor(input: UpdateVpcLinkCommandInput);
23
25
  resolveMiddleware(
24
26
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -0,0 +1,26 @@
1
+ import {
2
+ EndpointParameters as __EndpointParameters,
3
+ Provider,
4
+ } from "@aws-sdk/types";
5
+ export interface ClientInputEndpointParameters {
6
+ region?: string | Provider<string>;
7
+ useDualstackEndpoint?: boolean | Provider<boolean>;
8
+ useFipsEndpoint?: boolean | Provider<boolean>;
9
+ endpoint?: string | Provider<string>;
10
+ }
11
+ export declare type ClientResolvedEndpointParameters =
12
+ ClientInputEndpointParameters & {
13
+ defaultSigningName: string;
14
+ };
15
+ export declare const resolveClientEndpointParameters: <T>(
16
+ options: T & ClientInputEndpointParameters
17
+ ) => T &
18
+ ClientInputEndpointParameters & {
19
+ defaultSigningName: string;
20
+ };
21
+ export interface EndpointParameters extends __EndpointParameters {
22
+ Region?: string;
23
+ UseDualStack?: boolean;
24
+ UseFIPS?: boolean;
25
+ Endpoint?: string;
26
+ }
@@ -0,0 +1,8 @@
1
+ import { EndpointV2, Logger } from "@aws-sdk/types";
2
+ import { EndpointParameters } from "./EndpointParameters";
3
+ export declare const defaultEndpointResolver: (
4
+ endpointParams: EndpointParameters,
5
+ context?: {
6
+ logger?: Logger;
7
+ }
8
+ ) => EndpointV2;
@@ -0,0 +1,2 @@
1
+ import { RuleSetObject } from "@aws-sdk/util-endpoints";
2
+ export declare const ruleSet: RuleSetObject;
@@ -36,12 +36,22 @@ export declare const getRuntimeConfig: (config: APIGatewayClientConfig) => {
36
36
  disableHostPrefix: boolean;
37
37
  logger: import("@aws-sdk/types").Logger;
38
38
  serviceId: string;
39
- regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
40
39
  endpoint?:
41
- | string
42
- | import("@aws-sdk/types").Endpoint
43
- | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint>
40
+ | ((
41
+ | string
42
+ | import("@aws-sdk/types").Endpoint
43
+ | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint>
44
+ | import("@aws-sdk/types").EndpointV2
45
+ | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>
46
+ ) &
47
+ (string | import("@aws-sdk/types").Provider<string>))
44
48
  | undefined;
49
+ endpointProvider: (
50
+ endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
51
+ context?: {
52
+ logger?: import("@aws-sdk/types").Logger | undefined;
53
+ }
54
+ ) => import("@aws-sdk/types").EndpointV2;
45
55
  tls?: boolean | undefined;
46
56
  retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
47
57
  credentials?:
@@ -36,12 +36,22 @@ export declare const getRuntimeConfig: (config: APIGatewayClientConfig) => {
36
36
  disableHostPrefix: boolean;
37
37
  logger: import("@aws-sdk/types").Logger;
38
38
  serviceId: string;
39
- regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
40
39
  endpoint?:
41
- | string
42
- | import("@aws-sdk/types").Endpoint
43
- | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint>
40
+ | ((
41
+ | string
42
+ | import("@aws-sdk/types").Endpoint
43
+ | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint>
44
+ | import("@aws-sdk/types").EndpointV2
45
+ | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>
46
+ ) &
47
+ (string | import("@aws-sdk/types").Provider<string>))
44
48
  | undefined;
49
+ endpointProvider: (
50
+ endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
51
+ context?: {
52
+ logger?: import("@aws-sdk/types").Logger | undefined;
53
+ }
54
+ ) => import("@aws-sdk/types").EndpointV2;
45
55
  tls?: boolean | undefined;
46
56
  retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
47
57
  credentials?:
@@ -29,7 +29,6 @@ export declare const getRuntimeConfig: (config: APIGatewayClientConfig) => {
29
29
  credentialDefaultProvider: (
30
30
  input: any
31
31
  ) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
32
- regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
33
32
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<
34
33
  import("@aws-sdk/types").UserAgent
35
34
  >;
@@ -40,9 +39,21 @@ export declare const getRuntimeConfig: (config: APIGatewayClientConfig) => {
40
39
  >;
41
40
  endpoint?:
42
41
  | string
43
- | import("@aws-sdk/types").Endpoint
44
- | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint>
42
+ | (import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> &
43
+ import("@aws-sdk/types").Provider<string>)
44
+ | (import("@aws-sdk/types").Endpoint &
45
+ import("@aws-sdk/types").Provider<string>)
46
+ | (import("@aws-sdk/types").EndpointV2 &
47
+ import("@aws-sdk/types").Provider<string>)
48
+ | (import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2> &
49
+ import("@aws-sdk/types").Provider<string>)
45
50
  | undefined;
51
+ endpointProvider: (
52
+ endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
53
+ context?: {
54
+ logger?: import("@aws-sdk/types").Logger | undefined;
55
+ }
56
+ ) => import("@aws-sdk/types").EndpointV2;
46
57
  tls?: boolean | undefined;
47
58
  retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
48
59
  credentials?:
@@ -3,8 +3,13 @@ import { APIGatewayClientConfig } from "./APIGatewayClient";
3
3
  export declare const getRuntimeConfig: (config: APIGatewayClientConfig) => {
4
4
  apiVersion: string;
5
5
  disableHostPrefix: boolean;
6
+ endpointProvider: (
7
+ endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
8
+ context?: {
9
+ logger?: __Logger | undefined;
10
+ }
11
+ ) => import("@aws-sdk/types").EndpointV2;
6
12
  logger: __Logger;
7
- regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
8
13
  serviceId: string;
9
14
  urlParser: import("@aws-sdk/types").UrlParser;
10
15
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-api-gateway",
3
3
  "description": "AWS SDK for JavaScript Api Gateway Client for Node.js, Browser and React Native",
4
- "version": "3.193.0",
4
+ "version": "3.196.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -19,13 +19,14 @@
19
19
  "dependencies": {
20
20
  "@aws-crypto/sha256-browser": "2.0.0",
21
21
  "@aws-crypto/sha256-js": "2.0.0",
22
- "@aws-sdk/client-sts": "3.193.0",
22
+ "@aws-sdk/client-sts": "3.196.0",
23
23
  "@aws-sdk/config-resolver": "3.193.0",
24
- "@aws-sdk/credential-provider-node": "3.193.0",
24
+ "@aws-sdk/credential-provider-node": "3.196.0",
25
25
  "@aws-sdk/fetch-http-handler": "3.193.0",
26
26
  "@aws-sdk/hash-node": "3.193.0",
27
27
  "@aws-sdk/invalid-dependency": "3.193.0",
28
28
  "@aws-sdk/middleware-content-length": "3.193.0",
29
+ "@aws-sdk/middleware-endpoint": "3.193.0",
29
30
  "@aws-sdk/middleware-host-header": "3.193.0",
30
31
  "@aws-sdk/middleware-logger": "3.193.0",
31
32
  "@aws-sdk/middleware-recursion-detection": "3.193.0",
@@ -47,6 +48,7 @@
47
48
  "@aws-sdk/util-body-length-node": "3.188.0",
48
49
  "@aws-sdk/util-defaults-mode-browser": "3.193.0",
49
50
  "@aws-sdk/util-defaults-mode-node": "3.193.0",
51
+ "@aws-sdk/util-endpoints": "3.196.0",
50
52
  "@aws-sdk/util-user-agent-browser": "3.193.0",
51
53
  "@aws-sdk/util-user-agent-node": "3.193.0",
52
54
  "@aws-sdk/util-utf8-browser": "3.188.0",
@@ -1,178 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.defaultRegionInfoProvider = void 0;
4
- const config_resolver_1 = require("@aws-sdk/config-resolver");
5
- const regionHash = {
6
- "ca-central-1": {
7
- variants: [
8
- {
9
- hostname: "apigateway-fips.ca-central-1.amazonaws.com",
10
- tags: ["fips"],
11
- },
12
- ],
13
- },
14
- "us-east-1": {
15
- variants: [
16
- {
17
- hostname: "apigateway-fips.us-east-1.amazonaws.com",
18
- tags: ["fips"],
19
- },
20
- ],
21
- },
22
- "us-east-2": {
23
- variants: [
24
- {
25
- hostname: "apigateway-fips.us-east-2.amazonaws.com",
26
- tags: ["fips"],
27
- },
28
- ],
29
- },
30
- "us-west-1": {
31
- variants: [
32
- {
33
- hostname: "apigateway-fips.us-west-1.amazonaws.com",
34
- tags: ["fips"],
35
- },
36
- ],
37
- },
38
- "us-west-2": {
39
- variants: [
40
- {
41
- hostname: "apigateway-fips.us-west-2.amazonaws.com",
42
- tags: ["fips"],
43
- },
44
- ],
45
- },
46
- };
47
- const partitionHash = {
48
- aws: {
49
- regions: [
50
- "af-south-1",
51
- "ap-east-1",
52
- "ap-northeast-1",
53
- "ap-northeast-2",
54
- "ap-northeast-3",
55
- "ap-south-1",
56
- "ap-southeast-1",
57
- "ap-southeast-2",
58
- "ap-southeast-3",
59
- "ca-central-1",
60
- "eu-central-1",
61
- "eu-north-1",
62
- "eu-south-1",
63
- "eu-west-1",
64
- "eu-west-2",
65
- "eu-west-3",
66
- "fips-ca-central-1",
67
- "fips-us-east-1",
68
- "fips-us-east-2",
69
- "fips-us-west-1",
70
- "fips-us-west-2",
71
- "me-central-1",
72
- "me-south-1",
73
- "sa-east-1",
74
- "us-east-1",
75
- "us-east-2",
76
- "us-west-1",
77
- "us-west-2",
78
- ],
79
- regionRegex: "^(us|eu|ap|sa|ca|me|af)\\-\\w+\\-\\d+$",
80
- variants: [
81
- {
82
- hostname: "apigateway.{region}.amazonaws.com",
83
- tags: [],
84
- },
85
- {
86
- hostname: "apigateway-fips.{region}.amazonaws.com",
87
- tags: ["fips"],
88
- },
89
- {
90
- hostname: "apigateway-fips.{region}.api.aws",
91
- tags: ["dualstack", "fips"],
92
- },
93
- {
94
- hostname: "apigateway.{region}.api.aws",
95
- tags: ["dualstack"],
96
- },
97
- ],
98
- },
99
- "aws-cn": {
100
- regions: ["cn-north-1", "cn-northwest-1"],
101
- regionRegex: "^cn\\-\\w+\\-\\d+$",
102
- variants: [
103
- {
104
- hostname: "apigateway.{region}.amazonaws.com.cn",
105
- tags: [],
106
- },
107
- {
108
- hostname: "apigateway-fips.{region}.amazonaws.com.cn",
109
- tags: ["fips"],
110
- },
111
- {
112
- hostname: "apigateway-fips.{region}.api.amazonwebservices.com.cn",
113
- tags: ["dualstack", "fips"],
114
- },
115
- {
116
- hostname: "apigateway.{region}.api.amazonwebservices.com.cn",
117
- tags: ["dualstack"],
118
- },
119
- ],
120
- },
121
- "aws-iso": {
122
- regions: ["us-iso-east-1", "us-iso-west-1"],
123
- regionRegex: "^us\\-iso\\-\\w+\\-\\d+$",
124
- variants: [
125
- {
126
- hostname: "apigateway.{region}.c2s.ic.gov",
127
- tags: [],
128
- },
129
- {
130
- hostname: "apigateway-fips.{region}.c2s.ic.gov",
131
- tags: ["fips"],
132
- },
133
- ],
134
- },
135
- "aws-iso-b": {
136
- regions: ["us-isob-east-1"],
137
- regionRegex: "^us\\-isob\\-\\w+\\-\\d+$",
138
- variants: [
139
- {
140
- hostname: "apigateway.{region}.sc2s.sgov.gov",
141
- tags: [],
142
- },
143
- {
144
- hostname: "apigateway-fips.{region}.sc2s.sgov.gov",
145
- tags: ["fips"],
146
- },
147
- ],
148
- },
149
- "aws-us-gov": {
150
- regions: ["us-gov-east-1", "us-gov-west-1"],
151
- regionRegex: "^us\\-gov\\-\\w+\\-\\d+$",
152
- variants: [
153
- {
154
- hostname: "apigateway.{region}.amazonaws.com",
155
- tags: [],
156
- },
157
- {
158
- hostname: "apigateway-fips.{region}.amazonaws.com",
159
- tags: ["fips"],
160
- },
161
- {
162
- hostname: "apigateway-fips.{region}.api.aws",
163
- tags: ["dualstack", "fips"],
164
- },
165
- {
166
- hostname: "apigateway.{region}.api.aws",
167
- tags: ["dualstack"],
168
- },
169
- ],
170
- },
171
- };
172
- const defaultRegionInfoProvider = async (region, options) => (0, config_resolver_1.getRegionInfo)(region, {
173
- ...options,
174
- signingService: "apigateway",
175
- regionHash,
176
- partitionHash,
177
- });
178
- exports.defaultRegionInfoProvider = defaultRegionInfoProvider;