@aws-sdk/client-api-gateway 3.95.0 → 3.105.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 +27 -0
- package/dist-cjs/APIGatewayClient.js +2 -0
- package/dist-cjs/runtimeConfig.js +2 -0
- package/dist-es/APIGatewayClient.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 +712 -2091
- 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 +66 -191
- package/package.json +7 -6
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,33 @@
|
|
|
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.105.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.104.0...v3.105.0) (2022-06-06)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **clients:** support recursion detection in Lambda ([#3654](https://github.com/aws/aws-sdk-js-v3/issues/3654)) ([ecfe46e](https://github.com/aws/aws-sdk-js-v3/commit/ecfe46ea1fd8b6e3812b75b3dc6c03554fb4b3fa))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
# [3.100.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.99.0...v3.100.0) (2022-05-26)
|
|
18
|
+
|
|
19
|
+
**Note:** Version bump only for package @aws-sdk/client-api-gateway
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
# [3.99.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.98.0...v3.99.0) (2022-05-25)
|
|
26
|
+
|
|
27
|
+
**Note:** Version bump only for package @aws-sdk/client-api-gateway
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
6
33
|
# [3.95.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.94.0...v3.95.0) (2022-05-19)
|
|
7
34
|
|
|
8
35
|
**Note:** Version bump only for package @aws-sdk/client-api-gateway
|
|
@@ -5,6 +5,7 @@ const config_resolver_1 = require("@aws-sdk/config-resolver");
|
|
|
5
5
|
const middleware_content_length_1 = require("@aws-sdk/middleware-content-length");
|
|
6
6
|
const middleware_host_header_1 = require("@aws-sdk/middleware-host-header");
|
|
7
7
|
const middleware_logger_1 = require("@aws-sdk/middleware-logger");
|
|
8
|
+
const middleware_recursion_detection_1 = require("@aws-sdk/middleware-recursion-detection");
|
|
8
9
|
const middleware_retry_1 = require("@aws-sdk/middleware-retry");
|
|
9
10
|
const middleware_sdk_api_gateway_1 = require("@aws-sdk/middleware-sdk-api-gateway");
|
|
10
11
|
const middleware_signing_1 = require("@aws-sdk/middleware-signing");
|
|
@@ -27,6 +28,7 @@ class APIGatewayClient extends smithy_client_1.Client {
|
|
|
27
28
|
this.middlewareStack.use((0, middleware_sdk_api_gateway_1.getAcceptHeaderPlugin)(this.config));
|
|
28
29
|
this.middlewareStack.use((0, middleware_host_header_1.getHostHeaderPlugin)(this.config));
|
|
29
30
|
this.middlewareStack.use((0, middleware_logger_1.getLoggerPlugin)(this.config));
|
|
31
|
+
this.middlewareStack.use((0, middleware_recursion_detection_1.getRecursionDetectionPlugin)(this.config));
|
|
30
32
|
this.middlewareStack.use((0, middleware_signing_1.getAwsAuthPlugin)(this.config));
|
|
31
33
|
this.middlewareStack.use((0, middleware_user_agent_1.getUserAgentPlugin)(this.config));
|
|
32
34
|
}
|
|
@@ -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);
|
|
@@ -3,6 +3,7 @@ import { resolveEndpointsConfig, resolveRegionConfig, } from "@aws-sdk/config-re
|
|
|
3
3
|
import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
|
|
4
4
|
import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
|
|
5
5
|
import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
|
|
6
|
+
import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detection";
|
|
6
7
|
import { getRetryPlugin, resolveRetryConfig } from "@aws-sdk/middleware-retry";
|
|
7
8
|
import { getAcceptHeaderPlugin } from "@aws-sdk/middleware-sdk-api-gateway";
|
|
8
9
|
import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-signing";
|
|
@@ -27,6 +28,7 @@ var APIGatewayClient = (function (_super) {
|
|
|
27
28
|
_this.middlewareStack.use(getAcceptHeaderPlugin(_this.config));
|
|
28
29
|
_this.middlewareStack.use(getHostHeaderPlugin(_this.config));
|
|
29
30
|
_this.middlewareStack.use(getLoggerPlugin(_this.config));
|
|
31
|
+
_this.middlewareStack.use(getRecursionDetectionPlugin(_this.config));
|
|
30
32
|
_this.middlewareStack.use(getAwsAuthPlugin(_this.config));
|
|
31
33
|
_this.middlewareStack.use(getUserAgentPlugin(_this.config));
|
|
32
34
|
return _this;
|
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);
|