@aws-sdk/client-api-gateway 3.94.0 → 3.100.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 (105) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/dist-cjs/runtimeConfig.js +2 -0
  3. package/dist-es/runtimeConfig.js +2 -0
  4. package/dist-types/APIGateway.d.ts +110 -82
  5. package/dist-types/commands/CreateApiKeyCommand.d.ts +1 -2
  6. package/dist-types/commands/CreateAuthorizerCommand.d.ts +1 -2
  7. package/dist-types/commands/CreateBasePathMappingCommand.d.ts +1 -1
  8. package/dist-types/commands/CreateDeploymentCommand.d.ts +1 -1
  9. package/dist-types/commands/CreateDocumentationPartCommand.d.ts +17 -0
  10. package/dist-types/commands/CreateDocumentationVersionCommand.d.ts +17 -0
  11. package/dist-types/commands/CreateModelCommand.d.ts +1 -1
  12. package/dist-types/commands/CreateRequestValidatorCommand.d.ts +1 -1
  13. package/dist-types/commands/CreateResourceCommand.d.ts +1 -1
  14. package/dist-types/commands/CreateRestApiCommand.d.ts +1 -1
  15. package/dist-types/commands/CreateStageCommand.d.ts +1 -2
  16. package/dist-types/commands/DeleteApiKeyCommand.d.ts +1 -1
  17. package/dist-types/commands/DeleteAuthorizerCommand.d.ts +1 -2
  18. package/dist-types/commands/DeleteBasePathMappingCommand.d.ts +1 -1
  19. package/dist-types/commands/DeleteClientCertificateCommand.d.ts +1 -1
  20. package/dist-types/commands/DeleteDeploymentCommand.d.ts +1 -1
  21. package/dist-types/commands/DeleteDocumentationPartCommand.d.ts +17 -0
  22. package/dist-types/commands/DeleteDocumentationVersionCommand.d.ts +17 -0
  23. package/dist-types/commands/DeleteDomainNameCommand.d.ts +1 -1
  24. package/dist-types/commands/DeleteGatewayResponseCommand.d.ts +1 -1
  25. package/dist-types/commands/DeleteMethodCommand.d.ts +1 -1
  26. package/dist-types/commands/DeleteMethodResponseCommand.d.ts +1 -1
  27. package/dist-types/commands/DeleteRequestValidatorCommand.d.ts +1 -1
  28. package/dist-types/commands/DeleteResourceCommand.d.ts +1 -1
  29. package/dist-types/commands/DeleteStageCommand.d.ts +1 -1
  30. package/dist-types/commands/DeleteVpcLinkCommand.d.ts +1 -1
  31. package/dist-types/commands/GenerateClientCertificateCommand.d.ts +1 -1
  32. package/dist-types/commands/GetAccountCommand.d.ts +1 -1
  33. package/dist-types/commands/GetApiKeyCommand.d.ts +1 -1
  34. package/dist-types/commands/GetApiKeysCommand.d.ts +1 -1
  35. package/dist-types/commands/GetAuthorizerCommand.d.ts +1 -2
  36. package/dist-types/commands/GetAuthorizersCommand.d.ts +1 -2
  37. package/dist-types/commands/GetBasePathMappingCommand.d.ts +1 -1
  38. package/dist-types/commands/GetBasePathMappingsCommand.d.ts +1 -1
  39. package/dist-types/commands/GetClientCertificateCommand.d.ts +1 -1
  40. package/dist-types/commands/GetClientCertificatesCommand.d.ts +1 -1
  41. package/dist-types/commands/GetDeploymentCommand.d.ts +1 -1
  42. package/dist-types/commands/GetDeploymentsCommand.d.ts +1 -1
  43. package/dist-types/commands/GetDocumentationPartCommand.d.ts +17 -0
  44. package/dist-types/commands/GetDocumentationPartsCommand.d.ts +17 -0
  45. package/dist-types/commands/GetDocumentationVersionCommand.d.ts +17 -0
  46. package/dist-types/commands/GetDocumentationVersionsCommand.d.ts +17 -0
  47. package/dist-types/commands/GetDomainNamesCommand.d.ts +1 -1
  48. package/dist-types/commands/GetExportCommand.d.ts +1 -1
  49. package/dist-types/commands/GetGatewayResponseCommand.d.ts +1 -1
  50. package/dist-types/commands/GetGatewayResponsesCommand.d.ts +1 -1
  51. package/dist-types/commands/GetMethodCommand.d.ts +1 -1
  52. package/dist-types/commands/GetMethodResponseCommand.d.ts +1 -1
  53. package/dist-types/commands/GetModelCommand.d.ts +1 -1
  54. package/dist-types/commands/GetModelsCommand.d.ts +1 -1
  55. package/dist-types/commands/GetRequestValidatorCommand.d.ts +1 -1
  56. package/dist-types/commands/GetRequestValidatorsCommand.d.ts +1 -1
  57. package/dist-types/commands/GetResourcesCommand.d.ts +1 -1
  58. package/dist-types/commands/GetRestApiCommand.d.ts +1 -1
  59. package/dist-types/commands/GetRestApisCommand.d.ts +1 -1
  60. package/dist-types/commands/GetSdkCommand.d.ts +1 -1
  61. package/dist-types/commands/GetSdkTypeCommand.d.ts +17 -0
  62. package/dist-types/commands/GetSdkTypesCommand.d.ts +17 -0
  63. package/dist-types/commands/GetStageCommand.d.ts +1 -1
  64. package/dist-types/commands/GetStagesCommand.d.ts +1 -1
  65. package/dist-types/commands/GetTagsCommand.d.ts +1 -1
  66. package/dist-types/commands/GetVpcLinksCommand.d.ts +1 -1
  67. package/dist-types/commands/ImportDocumentationPartsCommand.d.ts +17 -0
  68. package/dist-types/commands/PutGatewayResponseCommand.d.ts +1 -1
  69. package/dist-types/commands/PutMethodCommand.d.ts +1 -1
  70. package/dist-types/commands/PutMethodResponseCommand.d.ts +1 -1
  71. package/dist-types/commands/TestInvokeAuthorizerCommand.d.ts +1 -5
  72. package/dist-types/commands/TestInvokeMethodCommand.d.ts +1 -1
  73. package/dist-types/commands/UpdateAccountCommand.d.ts +1 -1
  74. package/dist-types/commands/UpdateApiKeyCommand.d.ts +1 -1
  75. package/dist-types/commands/UpdateAuthorizerCommand.d.ts +1 -2
  76. package/dist-types/commands/UpdateBasePathMappingCommand.d.ts +1 -1
  77. package/dist-types/commands/UpdateClientCertificateCommand.d.ts +1 -1
  78. package/dist-types/commands/UpdateDeploymentCommand.d.ts +1 -1
  79. package/dist-types/commands/UpdateDocumentationPartCommand.d.ts +17 -0
  80. package/dist-types/commands/UpdateDocumentationVersionCommand.d.ts +17 -0
  81. package/dist-types/commands/UpdateDomainNameCommand.d.ts +1 -1
  82. package/dist-types/commands/UpdateGatewayResponseCommand.d.ts +1 -1
  83. package/dist-types/commands/UpdateMethodCommand.d.ts +1 -1
  84. package/dist-types/commands/UpdateMethodResponseCommand.d.ts +1 -1
  85. package/dist-types/commands/UpdateRequestValidatorCommand.d.ts +1 -1
  86. package/dist-types/commands/UpdateResourceCommand.d.ts +1 -1
  87. package/dist-types/commands/UpdateStageCommand.d.ts +1 -1
  88. package/dist-types/commands/UpdateVpcLinkCommand.d.ts +1 -1
  89. package/dist-types/models/models_0.d.ts +645 -1896
  90. package/dist-types/ts3.4/APIGateway.d.ts +13 -0
  91. package/dist-types/ts3.4/commands/CreateDocumentationPartCommand.d.ts +1 -0
  92. package/dist-types/ts3.4/commands/CreateDocumentationVersionCommand.d.ts +1 -0
  93. package/dist-types/ts3.4/commands/DeleteDocumentationPartCommand.d.ts +1 -0
  94. package/dist-types/ts3.4/commands/DeleteDocumentationVersionCommand.d.ts +1 -0
  95. package/dist-types/ts3.4/commands/GetDocumentationPartCommand.d.ts +1 -0
  96. package/dist-types/ts3.4/commands/GetDocumentationPartsCommand.d.ts +1 -0
  97. package/dist-types/ts3.4/commands/GetDocumentationVersionCommand.d.ts +1 -0
  98. package/dist-types/ts3.4/commands/GetDocumentationVersionsCommand.d.ts +1 -0
  99. package/dist-types/ts3.4/commands/GetSdkTypeCommand.d.ts +1 -0
  100. package/dist-types/ts3.4/commands/GetSdkTypesCommand.d.ts +1 -0
  101. package/dist-types/ts3.4/commands/ImportDocumentationPartsCommand.d.ts +1 -0
  102. package/dist-types/ts3.4/commands/UpdateDocumentationPartCommand.d.ts +1 -0
  103. package/dist-types/ts3.4/commands/UpdateDocumentationVersionCommand.d.ts +1 -0
  104. package/dist-types/ts3.4/models/models_0.d.ts +3 -0
  105. package/package.json +6 -6
package/CHANGELOG.md CHANGED
@@ -3,6 +3,30 @@
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.100.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.99.0...v3.100.0) (2022-05-26)
7
+
8
+ **Note:** Version bump only for package @aws-sdk/client-api-gateway
9
+
10
+
11
+
12
+
13
+
14
+ # [3.99.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.98.0...v3.99.0) (2022-05-25)
15
+
16
+ **Note:** Version bump only for package @aws-sdk/client-api-gateway
17
+
18
+
19
+
20
+
21
+
22
+ # [3.95.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.94.0...v3.95.0) (2022-05-19)
23
+
24
+ **Note:** Version bump only for package @aws-sdk/client-api-gateway
25
+
26
+
27
+
28
+
29
+
6
30
  # [3.94.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.93.0...v3.94.0) (2022-05-18)
7
31
 
8
32
  **Note:** Version bump only for package @aws-sdk/client-api-gateway
@@ -17,8 +17,10 @@ const util_utf8_node_1 = require("@aws-sdk/util-utf8-node");
17
17
  const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
18
18
  const smithy_client_1 = require("@aws-sdk/smithy-client");
19
19
  const util_defaults_mode_node_1 = require("@aws-sdk/util-defaults-mode-node");
20
+ const smithy_client_2 = require("@aws-sdk/smithy-client");
20
21
  const getRuntimeConfig = (config) => {
21
22
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
23
+ (0, smithy_client_2.emitWarningIfUnsupportedVersion)(process.version);
22
24
  const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config);
23
25
  const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
24
26
  const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
@@ -14,8 +14,10 @@ import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-node";
14
14
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
15
15
  import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
16
16
  import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-node";
17
+ import { emitWarningIfUnsupportedVersion } from "@aws-sdk/smithy-client";
17
18
  export var getRuntimeConfig = function (config) {
18
19
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
20
+ emitWarningIfUnsupportedVersion(process.version);
19
21
  var defaultsMode = resolveDefaultsModeConfig(config);
20
22
  var defaultConfigProvider = function () { return defaultsMode().then(loadConfigsForDefaultMode); };
21
23
  var clientSharedValues = getSharedRuntimeConfig(config);