@aws-sdk/client-api-gateway 3.95.0 → 3.99.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.
- package/CHANGELOG.md +8 -0
- package/dist-cjs/runtimeConfig.js +2 -0
- package/dist-es/runtimeConfig.js +2 -0
- package/dist-types/APIGateway.d.ts +110 -82
- package/dist-types/commands/CreateApiKeyCommand.d.ts +1 -2
- package/dist-types/commands/CreateAuthorizerCommand.d.ts +1 -2
- package/dist-types/commands/CreateBasePathMappingCommand.d.ts +1 -1
- package/dist-types/commands/CreateDeploymentCommand.d.ts +1 -1
- package/dist-types/commands/CreateDocumentationPartCommand.d.ts +17 -0
- package/dist-types/commands/CreateDocumentationVersionCommand.d.ts +17 -0
- package/dist-types/commands/CreateModelCommand.d.ts +1 -1
- package/dist-types/commands/CreateRequestValidatorCommand.d.ts +1 -1
- package/dist-types/commands/CreateResourceCommand.d.ts +1 -1
- package/dist-types/commands/CreateRestApiCommand.d.ts +1 -1
- package/dist-types/commands/CreateStageCommand.d.ts +1 -2
- package/dist-types/commands/DeleteApiKeyCommand.d.ts +1 -1
- package/dist-types/commands/DeleteAuthorizerCommand.d.ts +1 -2
- package/dist-types/commands/DeleteBasePathMappingCommand.d.ts +1 -1
- package/dist-types/commands/DeleteClientCertificateCommand.d.ts +1 -1
- package/dist-types/commands/DeleteDeploymentCommand.d.ts +1 -1
- package/dist-types/commands/DeleteDocumentationPartCommand.d.ts +17 -0
- package/dist-types/commands/DeleteDocumentationVersionCommand.d.ts +17 -0
- package/dist-types/commands/DeleteDomainNameCommand.d.ts +1 -1
- package/dist-types/commands/DeleteGatewayResponseCommand.d.ts +1 -1
- package/dist-types/commands/DeleteMethodCommand.d.ts +1 -1
- package/dist-types/commands/DeleteMethodResponseCommand.d.ts +1 -1
- package/dist-types/commands/DeleteRequestValidatorCommand.d.ts +1 -1
- package/dist-types/commands/DeleteResourceCommand.d.ts +1 -1
- package/dist-types/commands/DeleteStageCommand.d.ts +1 -1
- package/dist-types/commands/DeleteVpcLinkCommand.d.ts +1 -1
- package/dist-types/commands/GenerateClientCertificateCommand.d.ts +1 -1
- package/dist-types/commands/GetAccountCommand.d.ts +1 -1
- package/dist-types/commands/GetApiKeyCommand.d.ts +1 -1
- package/dist-types/commands/GetApiKeysCommand.d.ts +1 -1
- package/dist-types/commands/GetAuthorizerCommand.d.ts +1 -2
- package/dist-types/commands/GetAuthorizersCommand.d.ts +1 -2
- package/dist-types/commands/GetBasePathMappingCommand.d.ts +1 -1
- package/dist-types/commands/GetBasePathMappingsCommand.d.ts +1 -1
- package/dist-types/commands/GetClientCertificateCommand.d.ts +1 -1
- package/dist-types/commands/GetClientCertificatesCommand.d.ts +1 -1
- package/dist-types/commands/GetDeploymentCommand.d.ts +1 -1
- package/dist-types/commands/GetDeploymentsCommand.d.ts +1 -1
- package/dist-types/commands/GetDocumentationPartCommand.d.ts +17 -0
- package/dist-types/commands/GetDocumentationPartsCommand.d.ts +17 -0
- package/dist-types/commands/GetDocumentationVersionCommand.d.ts +17 -0
- package/dist-types/commands/GetDocumentationVersionsCommand.d.ts +17 -0
- package/dist-types/commands/GetDomainNamesCommand.d.ts +1 -1
- package/dist-types/commands/GetExportCommand.d.ts +1 -1
- package/dist-types/commands/GetGatewayResponseCommand.d.ts +1 -1
- package/dist-types/commands/GetGatewayResponsesCommand.d.ts +1 -1
- package/dist-types/commands/GetMethodCommand.d.ts +1 -1
- package/dist-types/commands/GetMethodResponseCommand.d.ts +1 -1
- package/dist-types/commands/GetModelCommand.d.ts +1 -1
- package/dist-types/commands/GetModelsCommand.d.ts +1 -1
- package/dist-types/commands/GetRequestValidatorCommand.d.ts +1 -1
- package/dist-types/commands/GetRequestValidatorsCommand.d.ts +1 -1
- package/dist-types/commands/GetResourcesCommand.d.ts +1 -1
- package/dist-types/commands/GetRestApiCommand.d.ts +1 -1
- package/dist-types/commands/GetRestApisCommand.d.ts +1 -1
- package/dist-types/commands/GetSdkCommand.d.ts +1 -1
- package/dist-types/commands/GetSdkTypeCommand.d.ts +17 -0
- package/dist-types/commands/GetSdkTypesCommand.d.ts +17 -0
- package/dist-types/commands/GetStageCommand.d.ts +1 -1
- package/dist-types/commands/GetStagesCommand.d.ts +1 -1
- package/dist-types/commands/GetTagsCommand.d.ts +1 -1
- package/dist-types/commands/GetVpcLinksCommand.d.ts +1 -1
- package/dist-types/commands/ImportDocumentationPartsCommand.d.ts +17 -0
- package/dist-types/commands/PutGatewayResponseCommand.d.ts +1 -1
- package/dist-types/commands/PutMethodCommand.d.ts +1 -1
- package/dist-types/commands/PutMethodResponseCommand.d.ts +1 -1
- package/dist-types/commands/TestInvokeAuthorizerCommand.d.ts +1 -5
- package/dist-types/commands/TestInvokeMethodCommand.d.ts +1 -1
- package/dist-types/commands/UpdateAccountCommand.d.ts +1 -1
- package/dist-types/commands/UpdateApiKeyCommand.d.ts +1 -1
- package/dist-types/commands/UpdateAuthorizerCommand.d.ts +1 -2
- package/dist-types/commands/UpdateBasePathMappingCommand.d.ts +1 -1
- package/dist-types/commands/UpdateClientCertificateCommand.d.ts +1 -1
- package/dist-types/commands/UpdateDeploymentCommand.d.ts +1 -1
- package/dist-types/commands/UpdateDocumentationPartCommand.d.ts +17 -0
- package/dist-types/commands/UpdateDocumentationVersionCommand.d.ts +17 -0
- package/dist-types/commands/UpdateDomainNameCommand.d.ts +1 -1
- package/dist-types/commands/UpdateGatewayResponseCommand.d.ts +1 -1
- package/dist-types/commands/UpdateMethodCommand.d.ts +1 -1
- package/dist-types/commands/UpdateMethodResponseCommand.d.ts +1 -1
- package/dist-types/commands/UpdateRequestValidatorCommand.d.ts +1 -1
- package/dist-types/commands/UpdateResourceCommand.d.ts +1 -1
- package/dist-types/commands/UpdateStageCommand.d.ts +1 -1
- package/dist-types/commands/UpdateVpcLinkCommand.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +645 -1896
- package/dist-types/ts3.4/APIGateway.d.ts +13 -0
- package/dist-types/ts3.4/commands/CreateDocumentationPartCommand.d.ts +1 -0
- package/dist-types/ts3.4/commands/CreateDocumentationVersionCommand.d.ts +1 -0
- package/dist-types/ts3.4/commands/DeleteDocumentationPartCommand.d.ts +1 -0
- package/dist-types/ts3.4/commands/DeleteDocumentationVersionCommand.d.ts +1 -0
- package/dist-types/ts3.4/commands/GetDocumentationPartCommand.d.ts +1 -0
- package/dist-types/ts3.4/commands/GetDocumentationPartsCommand.d.ts +1 -0
- package/dist-types/ts3.4/commands/GetDocumentationVersionCommand.d.ts +1 -0
- package/dist-types/ts3.4/commands/GetDocumentationVersionsCommand.d.ts +1 -0
- package/dist-types/ts3.4/commands/GetSdkTypeCommand.d.ts +1 -0
- package/dist-types/ts3.4/commands/GetSdkTypesCommand.d.ts +1 -0
- package/dist-types/ts3.4/commands/ImportDocumentationPartsCommand.d.ts +1 -0
- package/dist-types/ts3.4/commands/UpdateDocumentationPartCommand.d.ts +1 -0
- package/dist-types/ts3.4/commands/UpdateDocumentationVersionCommand.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +3 -0
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
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.99.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.98.0...v3.99.0) (2022-05-25)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/client-api-gateway
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
6
14
|
# [3.95.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.94.0...v3.95.0) (2022-05-19)
|
|
7
15
|
|
|
8
16
|
**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);
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -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);
|