@aws-sdk/client-api-gateway 3.649.0 → 3.650.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 (124) hide show
  1. package/dist-cjs/index.js +120 -360
  2. package/dist-es/commands/CreateApiKeyCommand.js +1 -3
  3. package/dist-es/commands/CreateAuthorizerCommand.js +1 -3
  4. package/dist-es/commands/CreateBasePathMappingCommand.js +1 -3
  5. package/dist-es/commands/CreateDeploymentCommand.js +1 -3
  6. package/dist-es/commands/CreateDocumentationPartCommand.js +1 -3
  7. package/dist-es/commands/CreateDocumentationVersionCommand.js +1 -3
  8. package/dist-es/commands/CreateDomainNameCommand.js +1 -3
  9. package/dist-es/commands/CreateModelCommand.js +1 -3
  10. package/dist-es/commands/CreateRequestValidatorCommand.js +1 -3
  11. package/dist-es/commands/CreateResourceCommand.js +1 -3
  12. package/dist-es/commands/CreateRestApiCommand.js +1 -3
  13. package/dist-es/commands/CreateStageCommand.js +1 -3
  14. package/dist-es/commands/CreateUsagePlanCommand.js +1 -3
  15. package/dist-es/commands/CreateUsagePlanKeyCommand.js +1 -3
  16. package/dist-es/commands/CreateVpcLinkCommand.js +1 -3
  17. package/dist-es/commands/DeleteApiKeyCommand.js +1 -3
  18. package/dist-es/commands/DeleteAuthorizerCommand.js +1 -3
  19. package/dist-es/commands/DeleteBasePathMappingCommand.js +1 -3
  20. package/dist-es/commands/DeleteClientCertificateCommand.js +1 -3
  21. package/dist-es/commands/DeleteDeploymentCommand.js +1 -3
  22. package/dist-es/commands/DeleteDocumentationPartCommand.js +1 -3
  23. package/dist-es/commands/DeleteDocumentationVersionCommand.js +1 -3
  24. package/dist-es/commands/DeleteDomainNameCommand.js +1 -3
  25. package/dist-es/commands/DeleteGatewayResponseCommand.js +1 -3
  26. package/dist-es/commands/DeleteIntegrationCommand.js +1 -3
  27. package/dist-es/commands/DeleteIntegrationResponseCommand.js +1 -3
  28. package/dist-es/commands/DeleteMethodCommand.js +1 -3
  29. package/dist-es/commands/DeleteMethodResponseCommand.js +1 -3
  30. package/dist-es/commands/DeleteModelCommand.js +1 -3
  31. package/dist-es/commands/DeleteRequestValidatorCommand.js +1 -3
  32. package/dist-es/commands/DeleteResourceCommand.js +1 -3
  33. package/dist-es/commands/DeleteRestApiCommand.js +1 -3
  34. package/dist-es/commands/DeleteStageCommand.js +1 -3
  35. package/dist-es/commands/DeleteUsagePlanCommand.js +1 -3
  36. package/dist-es/commands/DeleteUsagePlanKeyCommand.js +1 -3
  37. package/dist-es/commands/DeleteVpcLinkCommand.js +1 -3
  38. package/dist-es/commands/FlushStageAuthorizersCacheCommand.js +1 -3
  39. package/dist-es/commands/FlushStageCacheCommand.js +1 -3
  40. package/dist-es/commands/GenerateClientCertificateCommand.js +1 -3
  41. package/dist-es/commands/GetAccountCommand.js +1 -3
  42. package/dist-es/commands/GetApiKeyCommand.js +1 -3
  43. package/dist-es/commands/GetApiKeysCommand.js +1 -3
  44. package/dist-es/commands/GetAuthorizerCommand.js +1 -3
  45. package/dist-es/commands/GetAuthorizersCommand.js +1 -3
  46. package/dist-es/commands/GetBasePathMappingCommand.js +1 -3
  47. package/dist-es/commands/GetBasePathMappingsCommand.js +1 -3
  48. package/dist-es/commands/GetClientCertificateCommand.js +1 -3
  49. package/dist-es/commands/GetClientCertificatesCommand.js +1 -3
  50. package/dist-es/commands/GetDeploymentCommand.js +1 -3
  51. package/dist-es/commands/GetDeploymentsCommand.js +1 -3
  52. package/dist-es/commands/GetDocumentationPartCommand.js +1 -3
  53. package/dist-es/commands/GetDocumentationPartsCommand.js +1 -3
  54. package/dist-es/commands/GetDocumentationVersionCommand.js +1 -3
  55. package/dist-es/commands/GetDocumentationVersionsCommand.js +1 -3
  56. package/dist-es/commands/GetDomainNameCommand.js +1 -3
  57. package/dist-es/commands/GetDomainNamesCommand.js +1 -3
  58. package/dist-es/commands/GetExportCommand.js +1 -3
  59. package/dist-es/commands/GetGatewayResponseCommand.js +1 -3
  60. package/dist-es/commands/GetGatewayResponsesCommand.js +1 -3
  61. package/dist-es/commands/GetIntegrationCommand.js +1 -3
  62. package/dist-es/commands/GetIntegrationResponseCommand.js +1 -3
  63. package/dist-es/commands/GetMethodCommand.js +1 -3
  64. package/dist-es/commands/GetMethodResponseCommand.js +1 -3
  65. package/dist-es/commands/GetModelCommand.js +1 -3
  66. package/dist-es/commands/GetModelTemplateCommand.js +1 -3
  67. package/dist-es/commands/GetModelsCommand.js +1 -3
  68. package/dist-es/commands/GetRequestValidatorCommand.js +1 -3
  69. package/dist-es/commands/GetRequestValidatorsCommand.js +1 -3
  70. package/dist-es/commands/GetResourceCommand.js +1 -3
  71. package/dist-es/commands/GetResourcesCommand.js +1 -3
  72. package/dist-es/commands/GetRestApiCommand.js +1 -3
  73. package/dist-es/commands/GetRestApisCommand.js +1 -3
  74. package/dist-es/commands/GetSdkCommand.js +1 -3
  75. package/dist-es/commands/GetSdkTypeCommand.js +1 -3
  76. package/dist-es/commands/GetSdkTypesCommand.js +1 -3
  77. package/dist-es/commands/GetStageCommand.js +1 -3
  78. package/dist-es/commands/GetStagesCommand.js +1 -3
  79. package/dist-es/commands/GetTagsCommand.js +1 -3
  80. package/dist-es/commands/GetUsageCommand.js +1 -3
  81. package/dist-es/commands/GetUsagePlanCommand.js +1 -3
  82. package/dist-es/commands/GetUsagePlanKeyCommand.js +1 -3
  83. package/dist-es/commands/GetUsagePlanKeysCommand.js +1 -3
  84. package/dist-es/commands/GetUsagePlansCommand.js +1 -3
  85. package/dist-es/commands/GetVpcLinkCommand.js +1 -3
  86. package/dist-es/commands/GetVpcLinksCommand.js +1 -3
  87. package/dist-es/commands/ImportApiKeysCommand.js +1 -3
  88. package/dist-es/commands/ImportDocumentationPartsCommand.js +1 -3
  89. package/dist-es/commands/ImportRestApiCommand.js +1 -3
  90. package/dist-es/commands/PutGatewayResponseCommand.js +1 -3
  91. package/dist-es/commands/PutIntegrationCommand.js +1 -3
  92. package/dist-es/commands/PutIntegrationResponseCommand.js +1 -3
  93. package/dist-es/commands/PutMethodCommand.js +1 -3
  94. package/dist-es/commands/PutMethodResponseCommand.js +1 -3
  95. package/dist-es/commands/PutRestApiCommand.js +1 -3
  96. package/dist-es/commands/TagResourceCommand.js +1 -3
  97. package/dist-es/commands/TestInvokeAuthorizerCommand.js +1 -3
  98. package/dist-es/commands/TestInvokeMethodCommand.js +1 -3
  99. package/dist-es/commands/UntagResourceCommand.js +1 -3
  100. package/dist-es/commands/UpdateAccountCommand.js +1 -3
  101. package/dist-es/commands/UpdateApiKeyCommand.js +1 -3
  102. package/dist-es/commands/UpdateAuthorizerCommand.js +1 -3
  103. package/dist-es/commands/UpdateBasePathMappingCommand.js +1 -3
  104. package/dist-es/commands/UpdateClientCertificateCommand.js +1 -3
  105. package/dist-es/commands/UpdateDeploymentCommand.js +1 -3
  106. package/dist-es/commands/UpdateDocumentationPartCommand.js +1 -3
  107. package/dist-es/commands/UpdateDocumentationVersionCommand.js +1 -3
  108. package/dist-es/commands/UpdateDomainNameCommand.js +1 -3
  109. package/dist-es/commands/UpdateGatewayResponseCommand.js +1 -3
  110. package/dist-es/commands/UpdateIntegrationCommand.js +1 -3
  111. package/dist-es/commands/UpdateIntegrationResponseCommand.js +1 -3
  112. package/dist-es/commands/UpdateMethodCommand.js +1 -3
  113. package/dist-es/commands/UpdateMethodResponseCommand.js +1 -3
  114. package/dist-es/commands/UpdateModelCommand.js +1 -3
  115. package/dist-es/commands/UpdateRequestValidatorCommand.js +1 -3
  116. package/dist-es/commands/UpdateResourceCommand.js +1 -3
  117. package/dist-es/commands/UpdateRestApiCommand.js +1 -3
  118. package/dist-es/commands/UpdateStageCommand.js +1 -3
  119. package/dist-es/commands/UpdateUsageCommand.js +1 -3
  120. package/dist-es/commands/UpdateUsagePlanCommand.js +1 -3
  121. package/dist-es/commands/UpdateVpcLinkCommand.js +1 -3
  122. package/dist-es/endpoint/endpointResolver.js +7 -3
  123. package/package.json +4 -4
  124. package/dist-types/tsdoc-metadata.json +0 -11
@@ -6,9 +6,7 @@ import { de_UpdateDomainNameCommand, se_UpdateDomainNameCommand } from "../proto
6
6
  export { $Command };
7
7
  export class UpdateDomainNameCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_UpdateGatewayResponseCommand, se_UpdateGatewayResponseCommand } from
6
6
  export { $Command };
7
7
  export class UpdateGatewayResponseCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_UpdateIntegrationCommand, se_UpdateIntegrationCommand } from "../pro
6
6
  export { $Command };
7
7
  export class UpdateIntegrationCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_UpdateIntegrationResponseCommand, se_UpdateIntegrationResponseComman
6
6
  export { $Command };
7
7
  export class UpdateIntegrationResponseCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_UpdateMethodCommand, se_UpdateMethodCommand } from "../protocols/Aws
6
6
  export { $Command };
7
7
  export class UpdateMethodCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_UpdateMethodResponseCommand, se_UpdateMethodResponseCommand } from "
6
6
  export { $Command };
7
7
  export class UpdateMethodResponseCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_UpdateModelCommand, se_UpdateModelCommand } from "../protocols/Aws_r
6
6
  export { $Command };
7
7
  export class UpdateModelCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_UpdateRequestValidatorCommand, se_UpdateRequestValidatorCommand } fr
6
6
  export { $Command };
7
7
  export class UpdateRequestValidatorCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_UpdateResourceCommand, se_UpdateResourceCommand } from "../protocols
6
6
  export { $Command };
7
7
  export class UpdateResourceCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_UpdateRestApiCommand, se_UpdateRestApiCommand } from "../protocols/A
6
6
  export { $Command };
7
7
  export class UpdateRestApiCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_UpdateStageCommand, se_UpdateStageCommand } from "../protocols/Aws_r
6
6
  export { $Command };
7
7
  export class UpdateStageCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_UpdateUsageCommand, se_UpdateUsageCommand } from "../protocols/Aws_r
6
6
  export { $Command };
7
7
  export class UpdateUsageCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_UpdateUsagePlanCommand, se_UpdateUsagePlanCommand } from "../protoco
6
6
  export { $Command };
7
7
  export class UpdateUsagePlanCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_UpdateVpcLinkCommand, se_UpdateVpcLinkCommand } from "../protocols/A
6
6
  export { $Command };
7
7
  export class UpdateVpcLinkCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -1,10 +1,14 @@
1
1
  import { awsEndpointFunctions } from "@aws-sdk/util-endpoints";
2
- import { customEndpointFunctions, resolveEndpoint } from "@smithy/util-endpoints";
2
+ import { customEndpointFunctions, EndpointCache, resolveEndpoint } from "@smithy/util-endpoints";
3
3
  import { ruleSet } from "./ruleset";
4
+ const cache = new EndpointCache({
5
+ size: 50,
6
+ params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"],
7
+ });
4
8
  export const defaultEndpointResolver = (endpointParams, context = {}) => {
5
- return resolveEndpoint(ruleSet, {
9
+ return cache.get(endpointParams, () => resolveEndpoint(ruleSet, {
6
10
  endpointParams: endpointParams,
7
11
  logger: context.logger,
8
- });
12
+ }));
9
13
  };
10
14
  customEndpointFunctions.aws = awsEndpointFunctions;
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.649.0",
4
+ "version": "3.650.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-api-gateway",
@@ -20,10 +20,10 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/client-sso-oidc": "3.649.0",
24
- "@aws-sdk/client-sts": "3.649.0",
23
+ "@aws-sdk/client-sso-oidc": "3.650.0",
24
+ "@aws-sdk/client-sts": "3.650.0",
25
25
  "@aws-sdk/core": "3.649.0",
26
- "@aws-sdk/credential-provider-node": "3.649.0",
26
+ "@aws-sdk/credential-provider-node": "3.650.0",
27
27
  "@aws-sdk/middleware-host-header": "3.649.0",
28
28
  "@aws-sdk/middleware-logger": "3.649.0",
29
29
  "@aws-sdk/middleware-recursion-detection": "3.649.0",
@@ -1,11 +0,0 @@
1
- // This file is read by tools that parse documentation comments conforming to the TSDoc standard.
2
- // It should be published with your NPM package. It should not be tracked by Git.
3
- {
4
- "tsdocVersion": "0.12",
5
- "toolPackages": [
6
- {
7
- "packageName": "@microsoft/api-extractor",
8
- "packageVersion": "7.34.4"
9
- }
10
- ]
11
- }