@aws-sdk/client-api-gateway 3.940.0 → 3.946.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/dist-cjs/index.js +249 -1205
- package/dist-cjs/runtimeConfig.browser.js +2 -2
- package/dist-cjs/runtimeConfig.js +3 -4
- package/dist-es/APIGateway.js +18 -18
- package/dist-es/APIGatewayClient.js +2 -2
- package/dist-es/runtimeConfig.browser.js +2 -2
- package/dist-es/runtimeConfig.js +2 -3
- package/dist-es/schemas/schemas_0.js +249 -1205
- package/dist-types/APIGateway.d.ts +125 -125
- package/dist-types/APIGatewayClient.d.ts +134 -134
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +2 -2
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +2 -2
- package/dist-types/commands/CreateApiKeyCommand.d.ts +3 -3
- package/dist-types/commands/CreateAuthorizerCommand.d.ts +3 -3
- package/dist-types/commands/CreateBasePathMappingCommand.d.ts +3 -3
- package/dist-types/commands/CreateDeploymentCommand.d.ts +3 -3
- package/dist-types/commands/CreateDocumentationPartCommand.d.ts +3 -3
- package/dist-types/commands/CreateDocumentationVersionCommand.d.ts +3 -3
- package/dist-types/commands/CreateDomainNameAccessAssociationCommand.d.ts +3 -3
- package/dist-types/commands/CreateDomainNameCommand.d.ts +3 -3
- package/dist-types/commands/CreateModelCommand.d.ts +3 -3
- package/dist-types/commands/CreateRequestValidatorCommand.d.ts +3 -3
- package/dist-types/commands/CreateResourceCommand.d.ts +3 -3
- package/dist-types/commands/CreateRestApiCommand.d.ts +3 -3
- package/dist-types/commands/CreateStageCommand.d.ts +3 -3
- package/dist-types/commands/CreateUsagePlanCommand.d.ts +3 -3
- package/dist-types/commands/CreateUsagePlanKeyCommand.d.ts +3 -3
- package/dist-types/commands/CreateVpcLinkCommand.d.ts +3 -3
- package/dist-types/commands/DeleteApiKeyCommand.d.ts +3 -3
- package/dist-types/commands/DeleteAuthorizerCommand.d.ts +3 -3
- package/dist-types/commands/DeleteBasePathMappingCommand.d.ts +3 -3
- package/dist-types/commands/DeleteClientCertificateCommand.d.ts +3 -3
- package/dist-types/commands/DeleteDeploymentCommand.d.ts +3 -3
- package/dist-types/commands/DeleteDocumentationPartCommand.d.ts +3 -3
- package/dist-types/commands/DeleteDocumentationVersionCommand.d.ts +3 -3
- package/dist-types/commands/DeleteDomainNameAccessAssociationCommand.d.ts +3 -3
- package/dist-types/commands/DeleteDomainNameCommand.d.ts +3 -3
- package/dist-types/commands/DeleteGatewayResponseCommand.d.ts +3 -3
- package/dist-types/commands/DeleteIntegrationCommand.d.ts +3 -3
- package/dist-types/commands/DeleteIntegrationResponseCommand.d.ts +3 -3
- package/dist-types/commands/DeleteMethodCommand.d.ts +3 -3
- package/dist-types/commands/DeleteMethodResponseCommand.d.ts +3 -3
- package/dist-types/commands/DeleteModelCommand.d.ts +3 -3
- package/dist-types/commands/DeleteRequestValidatorCommand.d.ts +3 -3
- package/dist-types/commands/DeleteResourceCommand.d.ts +3 -3
- package/dist-types/commands/DeleteRestApiCommand.d.ts +3 -3
- package/dist-types/commands/DeleteStageCommand.d.ts +3 -3
- package/dist-types/commands/DeleteUsagePlanCommand.d.ts +3 -3
- package/dist-types/commands/DeleteUsagePlanKeyCommand.d.ts +3 -3
- package/dist-types/commands/DeleteVpcLinkCommand.d.ts +3 -3
- package/dist-types/commands/FlushStageAuthorizersCacheCommand.d.ts +3 -3
- package/dist-types/commands/FlushStageCacheCommand.d.ts +3 -3
- package/dist-types/commands/GenerateClientCertificateCommand.d.ts +3 -3
- package/dist-types/commands/GetAccountCommand.d.ts +3 -3
- package/dist-types/commands/GetApiKeyCommand.d.ts +3 -3
- package/dist-types/commands/GetApiKeysCommand.d.ts +3 -3
- package/dist-types/commands/GetAuthorizerCommand.d.ts +3 -3
- package/dist-types/commands/GetAuthorizersCommand.d.ts +3 -3
- package/dist-types/commands/GetBasePathMappingCommand.d.ts +3 -3
- package/dist-types/commands/GetBasePathMappingsCommand.d.ts +3 -3
- package/dist-types/commands/GetClientCertificateCommand.d.ts +3 -3
- package/dist-types/commands/GetClientCertificatesCommand.d.ts +3 -3
- package/dist-types/commands/GetDeploymentCommand.d.ts +3 -3
- package/dist-types/commands/GetDeploymentsCommand.d.ts +3 -3
- package/dist-types/commands/GetDocumentationPartCommand.d.ts +3 -3
- package/dist-types/commands/GetDocumentationPartsCommand.d.ts +3 -3
- package/dist-types/commands/GetDocumentationVersionCommand.d.ts +3 -3
- package/dist-types/commands/GetDocumentationVersionsCommand.d.ts +3 -3
- package/dist-types/commands/GetDomainNameAccessAssociationsCommand.d.ts +3 -3
- package/dist-types/commands/GetDomainNameCommand.d.ts +3 -3
- package/dist-types/commands/GetDomainNamesCommand.d.ts +3 -3
- package/dist-types/commands/GetExportCommand.d.ts +3 -3
- package/dist-types/commands/GetGatewayResponseCommand.d.ts +3 -3
- package/dist-types/commands/GetGatewayResponsesCommand.d.ts +3 -3
- package/dist-types/commands/GetIntegrationCommand.d.ts +3 -3
- package/dist-types/commands/GetIntegrationResponseCommand.d.ts +3 -3
- package/dist-types/commands/GetMethodCommand.d.ts +3 -3
- package/dist-types/commands/GetMethodResponseCommand.d.ts +3 -3
- package/dist-types/commands/GetModelCommand.d.ts +3 -3
- package/dist-types/commands/GetModelTemplateCommand.d.ts +3 -3
- package/dist-types/commands/GetModelsCommand.d.ts +3 -3
- package/dist-types/commands/GetRequestValidatorCommand.d.ts +3 -3
- package/dist-types/commands/GetRequestValidatorsCommand.d.ts +3 -3
- package/dist-types/commands/GetResourceCommand.d.ts +3 -3
- package/dist-types/commands/GetResourcesCommand.d.ts +3 -3
- package/dist-types/commands/GetRestApiCommand.d.ts +3 -3
- package/dist-types/commands/GetRestApisCommand.d.ts +3 -3
- package/dist-types/commands/GetSdkCommand.d.ts +3 -3
- package/dist-types/commands/GetSdkTypeCommand.d.ts +3 -3
- package/dist-types/commands/GetSdkTypesCommand.d.ts +3 -3
- package/dist-types/commands/GetStageCommand.d.ts +3 -3
- package/dist-types/commands/GetStagesCommand.d.ts +3 -3
- package/dist-types/commands/GetTagsCommand.d.ts +3 -3
- package/dist-types/commands/GetUsageCommand.d.ts +3 -3
- package/dist-types/commands/GetUsagePlanCommand.d.ts +3 -3
- package/dist-types/commands/GetUsagePlanKeyCommand.d.ts +3 -3
- package/dist-types/commands/GetUsagePlanKeysCommand.d.ts +3 -3
- package/dist-types/commands/GetUsagePlansCommand.d.ts +3 -3
- package/dist-types/commands/GetVpcLinkCommand.d.ts +3 -3
- package/dist-types/commands/GetVpcLinksCommand.d.ts +3 -3
- package/dist-types/commands/ImportApiKeysCommand.d.ts +3 -3
- package/dist-types/commands/ImportDocumentationPartsCommand.d.ts +3 -3
- package/dist-types/commands/ImportRestApiCommand.d.ts +3 -3
- package/dist-types/commands/PutGatewayResponseCommand.d.ts +3 -3
- package/dist-types/commands/PutIntegrationCommand.d.ts +3 -3
- package/dist-types/commands/PutIntegrationResponseCommand.d.ts +3 -3
- package/dist-types/commands/PutMethodCommand.d.ts +3 -3
- package/dist-types/commands/PutMethodResponseCommand.d.ts +3 -3
- package/dist-types/commands/PutRestApiCommand.d.ts +3 -3
- package/dist-types/commands/RejectDomainNameAccessAssociationCommand.d.ts +3 -3
- package/dist-types/commands/TagResourceCommand.d.ts +3 -3
- package/dist-types/commands/TestInvokeAuthorizerCommand.d.ts +3 -3
- package/dist-types/commands/TestInvokeMethodCommand.d.ts +3 -3
- package/dist-types/commands/UntagResourceCommand.d.ts +3 -3
- package/dist-types/commands/UpdateAccountCommand.d.ts +3 -3
- package/dist-types/commands/UpdateApiKeyCommand.d.ts +3 -3
- package/dist-types/commands/UpdateAuthorizerCommand.d.ts +3 -3
- package/dist-types/commands/UpdateBasePathMappingCommand.d.ts +3 -3
- package/dist-types/commands/UpdateClientCertificateCommand.d.ts +3 -3
- package/dist-types/commands/UpdateDeploymentCommand.d.ts +3 -3
- package/dist-types/commands/UpdateDocumentationPartCommand.d.ts +3 -3
- package/dist-types/commands/UpdateDocumentationVersionCommand.d.ts +3 -3
- package/dist-types/commands/UpdateDomainNameCommand.d.ts +3 -3
- package/dist-types/commands/UpdateGatewayResponseCommand.d.ts +3 -3
- package/dist-types/commands/UpdateIntegrationCommand.d.ts +3 -3
- package/dist-types/commands/UpdateIntegrationResponseCommand.d.ts +3 -3
- package/dist-types/commands/UpdateMethodCommand.d.ts +3 -3
- package/dist-types/commands/UpdateMethodResponseCommand.d.ts +3 -3
- package/dist-types/commands/UpdateModelCommand.d.ts +3 -3
- package/dist-types/commands/UpdateRequestValidatorCommand.d.ts +3 -3
- package/dist-types/commands/UpdateResourceCommand.d.ts +3 -3
- package/dist-types/commands/UpdateRestApiCommand.d.ts +3 -3
- package/dist-types/commands/UpdateStageCommand.d.ts +3 -3
- package/dist-types/commands/UpdateUsageCommand.d.ts +3 -3
- package/dist-types/commands/UpdateUsagePlanCommand.d.ts +3 -3
- package/dist-types/commands/UpdateVpcLinkCommand.d.ts +3 -3
- package/dist-types/endpoint/EndpointParameters.d.ts +13 -1
- package/dist-types/endpoint/endpointResolver.d.ts +5 -2
- package/dist-types/extensionConfiguration.d.ts +4 -4
- package/dist-types/models/APIGatewayServiceException.d.ts +1 -1
- package/dist-types/models/errors.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +1 -1
- package/dist-types/pagination/GetApiKeysPaginator.d.ts +1 -1
- package/dist-types/pagination/GetBasePathMappingsPaginator.d.ts +1 -1
- package/dist-types/pagination/GetClientCertificatesPaginator.d.ts +1 -1
- package/dist-types/pagination/GetDeploymentsPaginator.d.ts +1 -1
- package/dist-types/pagination/GetDomainNamesPaginator.d.ts +1 -1
- package/dist-types/pagination/GetModelsPaginator.d.ts +1 -1
- package/dist-types/pagination/GetResourcesPaginator.d.ts +1 -1
- package/dist-types/pagination/GetRestApisPaginator.d.ts +1 -1
- package/dist-types/pagination/GetUsagePaginator.d.ts +1 -1
- package/dist-types/pagination/GetUsagePlanKeysPaginator.d.ts +1 -1
- package/dist-types/pagination/GetUsagePlansPaginator.d.ts +1 -1
- package/dist-types/pagination/GetVpcLinksPaginator.d.ts +1 -1
- package/dist-types/pagination/Interfaces.d.ts +1 -1
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/runtimeConfig.shared.d.ts +1 -1
- package/dist-types/runtimeExtensions.d.ts +1 -1
- package/dist-types/schemas/schemas_0.d.ts +1 -1
- package/dist-types/ts3.4/APIGatewayClient.d.ts +3 -3
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +1 -1
- package/dist-types/ts3.4/models/APIGatewayServiceException.d.ts +1 -1
- package/package.json +13 -12
|
@@ -8,11 +8,11 @@ const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
|
|
|
8
8
|
const config_resolver_1 = require("@smithy/config-resolver");
|
|
9
9
|
const fetch_http_handler_1 = require("@smithy/fetch-http-handler");
|
|
10
10
|
const invalid_dependency_1 = require("@smithy/invalid-dependency");
|
|
11
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
11
12
|
const util_body_length_browser_1 = require("@smithy/util-body-length-browser");
|
|
13
|
+
const util_defaults_mode_browser_1 = require("@smithy/util-defaults-mode-browser");
|
|
12
14
|
const util_retry_1 = require("@smithy/util-retry");
|
|
13
15
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
14
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
|
15
|
-
const util_defaults_mode_browser_1 = require("@smithy/util-defaults-mode-browser");
|
|
16
16
|
const getRuntimeConfig = (config) => {
|
|
17
17
|
const defaultsMode = (0, util_defaults_mode_browser_1.resolveDefaultsModeConfig)(config);
|
|
18
18
|
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
@@ -11,14 +11,13 @@ const hash_node_1 = require("@smithy/hash-node");
|
|
|
11
11
|
const middleware_retry_1 = require("@smithy/middleware-retry");
|
|
12
12
|
const node_config_provider_1 = require("@smithy/node-config-provider");
|
|
13
13
|
const node_http_handler_1 = require("@smithy/node-http-handler");
|
|
14
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
14
15
|
const util_body_length_node_1 = require("@smithy/util-body-length-node");
|
|
16
|
+
const util_defaults_mode_node_1 = require("@smithy/util-defaults-mode-node");
|
|
15
17
|
const util_retry_1 = require("@smithy/util-retry");
|
|
16
18
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
17
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
|
18
|
-
const util_defaults_mode_node_1 = require("@smithy/util-defaults-mode-node");
|
|
19
|
-
const smithy_client_2 = require("@smithy/smithy-client");
|
|
20
19
|
const getRuntimeConfig = (config) => {
|
|
21
|
-
(0,
|
|
20
|
+
(0, smithy_client_1.emitWarningIfUnsupportedVersion)(process.version);
|
|
22
21
|
const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config);
|
|
23
22
|
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
24
23
|
const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
|
package/dist-es/APIGateway.js
CHANGED
|
@@ -8,11 +8,11 @@ import { CreateDocumentationPartCommand, } from "./commands/CreateDocumentationP
|
|
|
8
8
|
import { CreateDocumentationVersionCommand, } from "./commands/CreateDocumentationVersionCommand";
|
|
9
9
|
import { CreateDomainNameAccessAssociationCommand, } from "./commands/CreateDomainNameAccessAssociationCommand";
|
|
10
10
|
import { CreateDomainNameCommand, } from "./commands/CreateDomainNameCommand";
|
|
11
|
-
import { CreateModelCommand } from "./commands/CreateModelCommand";
|
|
11
|
+
import { CreateModelCommand, } from "./commands/CreateModelCommand";
|
|
12
12
|
import { CreateRequestValidatorCommand, } from "./commands/CreateRequestValidatorCommand";
|
|
13
13
|
import { CreateResourceCommand, } from "./commands/CreateResourceCommand";
|
|
14
14
|
import { CreateRestApiCommand, } from "./commands/CreateRestApiCommand";
|
|
15
|
-
import { CreateStageCommand } from "./commands/CreateStageCommand";
|
|
15
|
+
import { CreateStageCommand, } from "./commands/CreateStageCommand";
|
|
16
16
|
import { CreateUsagePlanCommand, } from "./commands/CreateUsagePlanCommand";
|
|
17
17
|
import { CreateUsagePlanKeyCommand, } from "./commands/CreateUsagePlanKeyCommand";
|
|
18
18
|
import { CreateVpcLinkCommand, } from "./commands/CreateVpcLinkCommand";
|
|
@@ -30,20 +30,20 @@ import { DeleteIntegrationCommand, } from "./commands/DeleteIntegrationCommand";
|
|
|
30
30
|
import { DeleteIntegrationResponseCommand, } from "./commands/DeleteIntegrationResponseCommand";
|
|
31
31
|
import { DeleteMethodCommand, } from "./commands/DeleteMethodCommand";
|
|
32
32
|
import { DeleteMethodResponseCommand, } from "./commands/DeleteMethodResponseCommand";
|
|
33
|
-
import { DeleteModelCommand } from "./commands/DeleteModelCommand";
|
|
33
|
+
import { DeleteModelCommand, } from "./commands/DeleteModelCommand";
|
|
34
34
|
import { DeleteRequestValidatorCommand, } from "./commands/DeleteRequestValidatorCommand";
|
|
35
35
|
import { DeleteResourceCommand, } from "./commands/DeleteResourceCommand";
|
|
36
36
|
import { DeleteRestApiCommand, } from "./commands/DeleteRestApiCommand";
|
|
37
|
-
import { DeleteStageCommand } from "./commands/DeleteStageCommand";
|
|
37
|
+
import { DeleteStageCommand, } from "./commands/DeleteStageCommand";
|
|
38
38
|
import { DeleteUsagePlanCommand, } from "./commands/DeleteUsagePlanCommand";
|
|
39
39
|
import { DeleteUsagePlanKeyCommand, } from "./commands/DeleteUsagePlanKeyCommand";
|
|
40
40
|
import { DeleteVpcLinkCommand, } from "./commands/DeleteVpcLinkCommand";
|
|
41
41
|
import { FlushStageAuthorizersCacheCommand, } from "./commands/FlushStageAuthorizersCacheCommand";
|
|
42
42
|
import { FlushStageCacheCommand, } from "./commands/FlushStageCacheCommand";
|
|
43
43
|
import { GenerateClientCertificateCommand, } from "./commands/GenerateClientCertificateCommand";
|
|
44
|
-
import { GetAccountCommand } from "./commands/GetAccountCommand";
|
|
44
|
+
import { GetAccountCommand, } from "./commands/GetAccountCommand";
|
|
45
45
|
import { GetApiKeyCommand } from "./commands/GetApiKeyCommand";
|
|
46
|
-
import { GetApiKeysCommand } from "./commands/GetApiKeysCommand";
|
|
46
|
+
import { GetApiKeysCommand, } from "./commands/GetApiKeysCommand";
|
|
47
47
|
import { GetAuthorizerCommand, } from "./commands/GetAuthorizerCommand";
|
|
48
48
|
import { GetAuthorizersCommand, } from "./commands/GetAuthorizersCommand";
|
|
49
49
|
import { GetBasePathMappingCommand, } from "./commands/GetBasePathMappingCommand";
|
|
@@ -71,13 +71,13 @@ import { GetModelsCommand } from "./commands/GetModelsCommand";
|
|
|
71
71
|
import { GetModelTemplateCommand, } from "./commands/GetModelTemplateCommand";
|
|
72
72
|
import { GetRequestValidatorCommand, } from "./commands/GetRequestValidatorCommand";
|
|
73
73
|
import { GetRequestValidatorsCommand, } from "./commands/GetRequestValidatorsCommand";
|
|
74
|
-
import { GetResourceCommand } from "./commands/GetResourceCommand";
|
|
74
|
+
import { GetResourceCommand, } from "./commands/GetResourceCommand";
|
|
75
75
|
import { GetResourcesCommand, } from "./commands/GetResourcesCommand";
|
|
76
|
-
import { GetRestApiCommand } from "./commands/GetRestApiCommand";
|
|
77
|
-
import { GetRestApisCommand } from "./commands/GetRestApisCommand";
|
|
76
|
+
import { GetRestApiCommand, } from "./commands/GetRestApiCommand";
|
|
77
|
+
import { GetRestApisCommand, } from "./commands/GetRestApisCommand";
|
|
78
78
|
import { GetSdkCommand } from "./commands/GetSdkCommand";
|
|
79
|
-
import { GetSdkTypeCommand } from "./commands/GetSdkTypeCommand";
|
|
80
|
-
import { GetSdkTypesCommand } from "./commands/GetSdkTypesCommand";
|
|
79
|
+
import { GetSdkTypeCommand, } from "./commands/GetSdkTypeCommand";
|
|
80
|
+
import { GetSdkTypesCommand, } from "./commands/GetSdkTypesCommand";
|
|
81
81
|
import { GetStageCommand } from "./commands/GetStageCommand";
|
|
82
82
|
import { GetStagesCommand } from "./commands/GetStagesCommand";
|
|
83
83
|
import { GetTagsCommand } from "./commands/GetTagsCommand";
|
|
@@ -86,8 +86,8 @@ import { GetUsagePlanCommand, } from "./commands/GetUsagePlanCommand";
|
|
|
86
86
|
import { GetUsagePlanKeyCommand, } from "./commands/GetUsagePlanKeyCommand";
|
|
87
87
|
import { GetUsagePlanKeysCommand, } from "./commands/GetUsagePlanKeysCommand";
|
|
88
88
|
import { GetUsagePlansCommand, } from "./commands/GetUsagePlansCommand";
|
|
89
|
-
import { GetVpcLinkCommand } from "./commands/GetVpcLinkCommand";
|
|
90
|
-
import { GetVpcLinksCommand } from "./commands/GetVpcLinksCommand";
|
|
89
|
+
import { GetVpcLinkCommand, } from "./commands/GetVpcLinkCommand";
|
|
90
|
+
import { GetVpcLinksCommand, } from "./commands/GetVpcLinksCommand";
|
|
91
91
|
import { ImportApiKeysCommand, } from "./commands/ImportApiKeysCommand";
|
|
92
92
|
import { ImportDocumentationPartsCommand, } from "./commands/ImportDocumentationPartsCommand";
|
|
93
93
|
import { ImportRestApiCommand, } from "./commands/ImportRestApiCommand";
|
|
@@ -96,9 +96,9 @@ import { PutIntegrationCommand, } from "./commands/PutIntegrationCommand";
|
|
|
96
96
|
import { PutIntegrationResponseCommand, } from "./commands/PutIntegrationResponseCommand";
|
|
97
97
|
import { PutMethodCommand } from "./commands/PutMethodCommand";
|
|
98
98
|
import { PutMethodResponseCommand, } from "./commands/PutMethodResponseCommand";
|
|
99
|
-
import { PutRestApiCommand } from "./commands/PutRestApiCommand";
|
|
99
|
+
import { PutRestApiCommand, } from "./commands/PutRestApiCommand";
|
|
100
100
|
import { RejectDomainNameAccessAssociationCommand, } from "./commands/RejectDomainNameAccessAssociationCommand";
|
|
101
|
-
import { TagResourceCommand } from "./commands/TagResourceCommand";
|
|
101
|
+
import { TagResourceCommand, } from "./commands/TagResourceCommand";
|
|
102
102
|
import { TestInvokeAuthorizerCommand, } from "./commands/TestInvokeAuthorizerCommand";
|
|
103
103
|
import { TestInvokeMethodCommand, } from "./commands/TestInvokeMethodCommand";
|
|
104
104
|
import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
|
|
@@ -116,12 +116,12 @@ import { UpdateIntegrationCommand, } from "./commands/UpdateIntegrationCommand";
|
|
|
116
116
|
import { UpdateIntegrationResponseCommand, } from "./commands/UpdateIntegrationResponseCommand";
|
|
117
117
|
import { UpdateMethodCommand, } from "./commands/UpdateMethodCommand";
|
|
118
118
|
import { UpdateMethodResponseCommand, } from "./commands/UpdateMethodResponseCommand";
|
|
119
|
-
import { UpdateModelCommand } from "./commands/UpdateModelCommand";
|
|
119
|
+
import { UpdateModelCommand, } from "./commands/UpdateModelCommand";
|
|
120
120
|
import { UpdateRequestValidatorCommand, } from "./commands/UpdateRequestValidatorCommand";
|
|
121
121
|
import { UpdateResourceCommand, } from "./commands/UpdateResourceCommand";
|
|
122
122
|
import { UpdateRestApiCommand, } from "./commands/UpdateRestApiCommand";
|
|
123
|
-
import { UpdateStageCommand } from "./commands/UpdateStageCommand";
|
|
124
|
-
import { UpdateUsageCommand } from "./commands/UpdateUsageCommand";
|
|
123
|
+
import { UpdateStageCommand, } from "./commands/UpdateStageCommand";
|
|
124
|
+
import { UpdateUsageCommand, } from "./commands/UpdateUsageCommand";
|
|
125
125
|
import { UpdateUsagePlanCommand, } from "./commands/UpdateUsagePlanCommand";
|
|
126
126
|
import { UpdateVpcLinkCommand, } from "./commands/UpdateVpcLinkCommand";
|
|
127
127
|
const commands = {
|
|
@@ -7,8 +7,8 @@ import { resolveRegionConfig } from "@smithy/config-resolver";
|
|
|
7
7
|
import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
|
|
8
8
|
import { getSchemaSerdePlugin } from "@smithy/core/schema";
|
|
9
9
|
import { getContentLengthPlugin } from "@smithy/middleware-content-length";
|
|
10
|
-
import { resolveEndpointConfig } from "@smithy/middleware-endpoint";
|
|
11
|
-
import { getRetryPlugin, resolveRetryConfig } from "@smithy/middleware-retry";
|
|
10
|
+
import { resolveEndpointConfig, } from "@smithy/middleware-endpoint";
|
|
11
|
+
import { getRetryPlugin, resolveRetryConfig, } from "@smithy/middleware-retry";
|
|
12
12
|
import { Client as __Client, } from "@smithy/smithy-client";
|
|
13
13
|
import { defaultAPIGatewayHttpAuthSchemeParametersProvider, resolveHttpAuthSchemeConfig, } from "./auth/httpAuthSchemeProvider";
|
|
14
14
|
import { resolveClientEndpointParameters, } from "./endpoint/EndpointParameters";
|
|
@@ -4,11 +4,11 @@ import { createDefaultUserAgentProvider } from "@aws-sdk/util-user-agent-browser
|
|
|
4
4
|
import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@smithy/config-resolver";
|
|
5
5
|
import { FetchHttpHandler as RequestHandler, streamCollector } from "@smithy/fetch-http-handler";
|
|
6
6
|
import { invalidProvider } from "@smithy/invalid-dependency";
|
|
7
|
+
import { loadConfigsForDefaultMode } from "@smithy/smithy-client";
|
|
7
8
|
import { calculateBodyLength } from "@smithy/util-body-length-browser";
|
|
9
|
+
import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-browser";
|
|
8
10
|
import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@smithy/util-retry";
|
|
9
11
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
10
|
-
import { loadConfigsForDefaultMode } from "@smithy/smithy-client";
|
|
11
|
-
import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-browser";
|
|
12
12
|
export const getRuntimeConfig = (config) => {
|
|
13
13
|
const defaultsMode = resolveDefaultsModeConfig(config);
|
|
14
14
|
const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -7,12 +7,11 @@ import { Hash } from "@smithy/hash-node";
|
|
|
7
7
|
import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@smithy/middleware-retry";
|
|
8
8
|
import { loadConfig as loadNodeConfig } from "@smithy/node-config-provider";
|
|
9
9
|
import { NodeHttpHandler as RequestHandler, streamCollector } from "@smithy/node-http-handler";
|
|
10
|
+
import { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } from "@smithy/smithy-client";
|
|
10
11
|
import { calculateBodyLength } from "@smithy/util-body-length-node";
|
|
12
|
+
import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-node";
|
|
11
13
|
import { DEFAULT_RETRY_MODE } from "@smithy/util-retry";
|
|
12
14
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
13
|
-
import { loadConfigsForDefaultMode } from "@smithy/smithy-client";
|
|
14
|
-
import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-node";
|
|
15
|
-
import { emitWarningIfUnsupportedVersion } from "@smithy/smithy-client";
|
|
16
15
|
export const getRuntimeConfig = (config) => {
|
|
17
16
|
emitWarningIfUnsupportedVersion(process.version);
|
|
18
17
|
const defaultsMode = resolveDefaultsModeConfig(config);
|