@aws-sdk/client-api-gateway 3.37.0 → 3.41.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 +42 -0
- package/dist-cjs/commands/index.js +123 -0
- package/dist-cjs/endpoints.js +79 -5
- package/dist-cjs/index.js +4 -135
- package/dist-cjs/pagination/index.js +16 -0
- package/dist-cjs/runtimeConfig.browser.js +6 -3
- package/dist-cjs/runtimeConfig.js +5 -3
- package/dist-es/commands/index.js +120 -0
- package/dist-es/endpoints.js +79 -5
- package/dist-es/index.js +4 -135
- package/dist-es/pagination/index.js +13 -0
- package/dist-es/runtimeConfig.browser.js +3 -2
- package/dist-es/runtimeConfig.js +3 -3
- package/dist-types/APIGatewayClient.d.ts +8 -0
- package/dist-types/commands/CreateApiKeyCommand.d.ts +1 -1
- package/dist-types/commands/CreateAuthorizerCommand.d.ts +1 -1
- package/dist-types/commands/CreateBasePathMappingCommand.d.ts +1 -1
- package/dist-types/commands/CreateDeploymentCommand.d.ts +1 -1
- package/dist-types/commands/CreateDomainNameCommand.d.ts +1 -1
- 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 -1
- package/dist-types/commands/CreateUsagePlanCommand.d.ts +1 -1
- package/dist-types/commands/CreateUsagePlanKeyCommand.d.ts +1 -1
- package/dist-types/commands/CreateVpcLinkCommand.d.ts +1 -1
- package/dist-types/commands/DeleteApiKeyCommand.d.ts +1 -1
- package/dist-types/commands/DeleteAuthorizerCommand.d.ts +1 -1
- 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/DeleteDomainNameCommand.d.ts +1 -1
- package/dist-types/commands/DeleteGatewayResponseCommand.d.ts +1 -1
- package/dist-types/commands/DeleteIntegrationCommand.d.ts +1 -1
- package/dist-types/commands/DeleteIntegrationResponseCommand.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/DeleteModelCommand.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/DeleteRestApiCommand.d.ts +1 -1
- package/dist-types/commands/DeleteStageCommand.d.ts +1 -1
- package/dist-types/commands/DeleteUsagePlanCommand.d.ts +1 -1
- package/dist-types/commands/DeleteUsagePlanKeyCommand.d.ts +1 -1
- package/dist-types/commands/DeleteVpcLinkCommand.d.ts +1 -1
- package/dist-types/commands/FlushStageAuthorizersCacheCommand.d.ts +1 -1
- package/dist-types/commands/FlushStageCacheCommand.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 -1
- package/dist-types/commands/GetAuthorizersCommand.d.ts +1 -1
- 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/GetDomainNameCommand.d.ts +1 -1
- 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/GetIntegrationCommand.d.ts +1 -1
- package/dist-types/commands/GetIntegrationResponseCommand.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/GetModelTemplateCommand.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/GetResourceCommand.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/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/GetUsageCommand.d.ts +1 -1
- package/dist-types/commands/GetUsagePlanCommand.d.ts +1 -1
- package/dist-types/commands/GetUsagePlanKeyCommand.d.ts +1 -1
- package/dist-types/commands/GetUsagePlanKeysCommand.d.ts +1 -1
- package/dist-types/commands/GetUsagePlansCommand.d.ts +1 -1
- package/dist-types/commands/GetVpcLinkCommand.d.ts +1 -1
- package/dist-types/commands/GetVpcLinksCommand.d.ts +1 -1
- package/dist-types/commands/ImportApiKeysCommand.d.ts +1 -1
- package/dist-types/commands/ImportRestApiCommand.d.ts +1 -1
- package/dist-types/commands/PutGatewayResponseCommand.d.ts +1 -1
- package/dist-types/commands/PutIntegrationCommand.d.ts +1 -1
- package/dist-types/commands/PutIntegrationResponseCommand.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/PutRestApiCommand.d.ts +1 -1
- package/dist-types/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/commands/TestInvokeAuthorizerCommand.d.ts +1 -1
- package/dist-types/commands/TestInvokeMethodCommand.d.ts +1 -1
- package/dist-types/commands/UntagResourceCommand.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 -1
- 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/UpdateDomainNameCommand.d.ts +1 -1
- package/dist-types/commands/UpdateGatewayResponseCommand.d.ts +1 -1
- package/dist-types/commands/UpdateIntegrationCommand.d.ts +1 -1
- package/dist-types/commands/UpdateIntegrationResponseCommand.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/UpdateModelCommand.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/UpdateRestApiCommand.d.ts +1 -1
- package/dist-types/commands/UpdateStageCommand.d.ts +1 -1
- package/dist-types/commands/UpdateUsageCommand.d.ts +1 -1
- package/dist-types/commands/UpdateUsagePlanCommand.d.ts +1 -1
- package/dist-types/commands/UpdateVpcLinkCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +120 -0
- package/dist-types/index.d.ts +4 -135
- package/dist-types/pagination/index.d.ts +13 -0
- package/dist-types/runtimeConfig.browser.d.ts +2 -0
- package/dist-types/runtimeConfig.d.ts +2 -0
- package/dist-types/runtimeConfig.native.d.ts +2 -0
- package/dist-types/ts3.4/APIGatewayClient.d.ts +4 -0
- package/dist-types/ts3.4/commands/index.d.ts +120 -0
- package/dist-types/ts3.4/index.d.ts +4 -135
- package/dist-types/ts3.4/pagination/index.d.ts +13 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -0
- package/package.json +27 -27
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,48 @@
|
|
|
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.41.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.40.1...v3.41.0) (2021-11-11)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **clients:** update clients as of 2021/11/11 ([#3015](https://github.com/aws/aws-sdk-js-v3/issues/3015)) ([3d82c4e](https://github.com/aws/aws-sdk-js-v3/commit/3d82c4e3c4d174533f46ce35495cf5cffabdb35a))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
# [3.40.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.39.0...v3.40.0) (2021-11-05)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Features
|
|
21
|
+
|
|
22
|
+
* **clients:** populate variants in endpoints hashes ([#2974](https://github.com/aws/aws-sdk-js-v3/issues/2974)) ([0dd68ef](https://github.com/aws/aws-sdk-js-v3/commit/0dd68ef8b04ea0e96e43b05a9a10221e433fdf86))
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
# [3.39.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.38.0...v3.39.0) (2021-10-29)
|
|
29
|
+
|
|
30
|
+
**Note:** Version bump only for package @aws-sdk/client-api-gateway
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
# [3.38.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.37.0...v3.38.0) (2021-10-22)
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
### Features
|
|
40
|
+
|
|
41
|
+
* **client-documentation-generator:** rename package ([#2916](https://github.com/aws/aws-sdk-js-v3/issues/2916)) ([1a80bfd](https://github.com/aws/aws-sdk-js-v3/commit/1a80bfd2dfc583001ddb4a21b6432eaaad699aa7))
|
|
42
|
+
* **clients:** export folder from index.ts ([#2912](https://github.com/aws/aws-sdk-js-v3/issues/2912)) ([183b46d](https://github.com/aws/aws-sdk-js-v3/commit/183b46dde7f5613128038bf1c076f3c0b693203b))
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
|
|
6
48
|
# [3.37.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.36.1...v3.37.0) (2021-10-15)
|
|
7
49
|
|
|
8
50
|
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
tslib_1.__exportStar(require("./CreateApiKeyCommand"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./CreateAuthorizerCommand"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./CreateBasePathMappingCommand"), exports);
|
|
7
|
+
tslib_1.__exportStar(require("./CreateDeploymentCommand"), exports);
|
|
8
|
+
tslib_1.__exportStar(require("./CreateDocumentationPartCommand"), exports);
|
|
9
|
+
tslib_1.__exportStar(require("./CreateDocumentationVersionCommand"), exports);
|
|
10
|
+
tslib_1.__exportStar(require("./CreateDomainNameCommand"), exports);
|
|
11
|
+
tslib_1.__exportStar(require("./CreateModelCommand"), exports);
|
|
12
|
+
tslib_1.__exportStar(require("./CreateRequestValidatorCommand"), exports);
|
|
13
|
+
tslib_1.__exportStar(require("./CreateResourceCommand"), exports);
|
|
14
|
+
tslib_1.__exportStar(require("./CreateRestApiCommand"), exports);
|
|
15
|
+
tslib_1.__exportStar(require("./CreateStageCommand"), exports);
|
|
16
|
+
tslib_1.__exportStar(require("./CreateUsagePlanCommand"), exports);
|
|
17
|
+
tslib_1.__exportStar(require("./CreateUsagePlanKeyCommand"), exports);
|
|
18
|
+
tslib_1.__exportStar(require("./CreateVpcLinkCommand"), exports);
|
|
19
|
+
tslib_1.__exportStar(require("./DeleteApiKeyCommand"), exports);
|
|
20
|
+
tslib_1.__exportStar(require("./DeleteAuthorizerCommand"), exports);
|
|
21
|
+
tslib_1.__exportStar(require("./DeleteBasePathMappingCommand"), exports);
|
|
22
|
+
tslib_1.__exportStar(require("./DeleteClientCertificateCommand"), exports);
|
|
23
|
+
tslib_1.__exportStar(require("./DeleteDeploymentCommand"), exports);
|
|
24
|
+
tslib_1.__exportStar(require("./DeleteDocumentationPartCommand"), exports);
|
|
25
|
+
tslib_1.__exportStar(require("./DeleteDocumentationVersionCommand"), exports);
|
|
26
|
+
tslib_1.__exportStar(require("./DeleteDomainNameCommand"), exports);
|
|
27
|
+
tslib_1.__exportStar(require("./DeleteGatewayResponseCommand"), exports);
|
|
28
|
+
tslib_1.__exportStar(require("./DeleteIntegrationCommand"), exports);
|
|
29
|
+
tslib_1.__exportStar(require("./DeleteIntegrationResponseCommand"), exports);
|
|
30
|
+
tslib_1.__exportStar(require("./DeleteMethodCommand"), exports);
|
|
31
|
+
tslib_1.__exportStar(require("./DeleteMethodResponseCommand"), exports);
|
|
32
|
+
tslib_1.__exportStar(require("./DeleteModelCommand"), exports);
|
|
33
|
+
tslib_1.__exportStar(require("./DeleteRequestValidatorCommand"), exports);
|
|
34
|
+
tslib_1.__exportStar(require("./DeleteResourceCommand"), exports);
|
|
35
|
+
tslib_1.__exportStar(require("./DeleteRestApiCommand"), exports);
|
|
36
|
+
tslib_1.__exportStar(require("./DeleteStageCommand"), exports);
|
|
37
|
+
tslib_1.__exportStar(require("./DeleteUsagePlanCommand"), exports);
|
|
38
|
+
tslib_1.__exportStar(require("./DeleteUsagePlanKeyCommand"), exports);
|
|
39
|
+
tslib_1.__exportStar(require("./DeleteVpcLinkCommand"), exports);
|
|
40
|
+
tslib_1.__exportStar(require("./FlushStageAuthorizersCacheCommand"), exports);
|
|
41
|
+
tslib_1.__exportStar(require("./FlushStageCacheCommand"), exports);
|
|
42
|
+
tslib_1.__exportStar(require("./GenerateClientCertificateCommand"), exports);
|
|
43
|
+
tslib_1.__exportStar(require("./GetAccountCommand"), exports);
|
|
44
|
+
tslib_1.__exportStar(require("./GetApiKeyCommand"), exports);
|
|
45
|
+
tslib_1.__exportStar(require("./GetApiKeysCommand"), exports);
|
|
46
|
+
tslib_1.__exportStar(require("./GetAuthorizerCommand"), exports);
|
|
47
|
+
tslib_1.__exportStar(require("./GetAuthorizersCommand"), exports);
|
|
48
|
+
tslib_1.__exportStar(require("./GetBasePathMappingCommand"), exports);
|
|
49
|
+
tslib_1.__exportStar(require("./GetBasePathMappingsCommand"), exports);
|
|
50
|
+
tslib_1.__exportStar(require("./GetClientCertificateCommand"), exports);
|
|
51
|
+
tslib_1.__exportStar(require("./GetClientCertificatesCommand"), exports);
|
|
52
|
+
tslib_1.__exportStar(require("./GetDeploymentCommand"), exports);
|
|
53
|
+
tslib_1.__exportStar(require("./GetDeploymentsCommand"), exports);
|
|
54
|
+
tslib_1.__exportStar(require("./GetDocumentationPartCommand"), exports);
|
|
55
|
+
tslib_1.__exportStar(require("./GetDocumentationPartsCommand"), exports);
|
|
56
|
+
tslib_1.__exportStar(require("./GetDocumentationVersionCommand"), exports);
|
|
57
|
+
tslib_1.__exportStar(require("./GetDocumentationVersionsCommand"), exports);
|
|
58
|
+
tslib_1.__exportStar(require("./GetDomainNameCommand"), exports);
|
|
59
|
+
tslib_1.__exportStar(require("./GetDomainNamesCommand"), exports);
|
|
60
|
+
tslib_1.__exportStar(require("./GetExportCommand"), exports);
|
|
61
|
+
tslib_1.__exportStar(require("./GetGatewayResponseCommand"), exports);
|
|
62
|
+
tslib_1.__exportStar(require("./GetGatewayResponsesCommand"), exports);
|
|
63
|
+
tslib_1.__exportStar(require("./GetIntegrationCommand"), exports);
|
|
64
|
+
tslib_1.__exportStar(require("./GetIntegrationResponseCommand"), exports);
|
|
65
|
+
tslib_1.__exportStar(require("./GetMethodCommand"), exports);
|
|
66
|
+
tslib_1.__exportStar(require("./GetMethodResponseCommand"), exports);
|
|
67
|
+
tslib_1.__exportStar(require("./GetModelCommand"), exports);
|
|
68
|
+
tslib_1.__exportStar(require("./GetModelTemplateCommand"), exports);
|
|
69
|
+
tslib_1.__exportStar(require("./GetModelsCommand"), exports);
|
|
70
|
+
tslib_1.__exportStar(require("./GetRequestValidatorCommand"), exports);
|
|
71
|
+
tslib_1.__exportStar(require("./GetRequestValidatorsCommand"), exports);
|
|
72
|
+
tslib_1.__exportStar(require("./GetResourceCommand"), exports);
|
|
73
|
+
tslib_1.__exportStar(require("./GetResourcesCommand"), exports);
|
|
74
|
+
tslib_1.__exportStar(require("./GetRestApiCommand"), exports);
|
|
75
|
+
tslib_1.__exportStar(require("./GetRestApisCommand"), exports);
|
|
76
|
+
tslib_1.__exportStar(require("./GetSdkCommand"), exports);
|
|
77
|
+
tslib_1.__exportStar(require("./GetSdkTypeCommand"), exports);
|
|
78
|
+
tslib_1.__exportStar(require("./GetSdkTypesCommand"), exports);
|
|
79
|
+
tslib_1.__exportStar(require("./GetStageCommand"), exports);
|
|
80
|
+
tslib_1.__exportStar(require("./GetStagesCommand"), exports);
|
|
81
|
+
tslib_1.__exportStar(require("./GetTagsCommand"), exports);
|
|
82
|
+
tslib_1.__exportStar(require("./GetUsageCommand"), exports);
|
|
83
|
+
tslib_1.__exportStar(require("./GetUsagePlanCommand"), exports);
|
|
84
|
+
tslib_1.__exportStar(require("./GetUsagePlanKeyCommand"), exports);
|
|
85
|
+
tslib_1.__exportStar(require("./GetUsagePlanKeysCommand"), exports);
|
|
86
|
+
tslib_1.__exportStar(require("./GetUsagePlansCommand"), exports);
|
|
87
|
+
tslib_1.__exportStar(require("./GetVpcLinkCommand"), exports);
|
|
88
|
+
tslib_1.__exportStar(require("./GetVpcLinksCommand"), exports);
|
|
89
|
+
tslib_1.__exportStar(require("./ImportApiKeysCommand"), exports);
|
|
90
|
+
tslib_1.__exportStar(require("./ImportDocumentationPartsCommand"), exports);
|
|
91
|
+
tslib_1.__exportStar(require("./ImportRestApiCommand"), exports);
|
|
92
|
+
tslib_1.__exportStar(require("./PutGatewayResponseCommand"), exports);
|
|
93
|
+
tslib_1.__exportStar(require("./PutIntegrationCommand"), exports);
|
|
94
|
+
tslib_1.__exportStar(require("./PutIntegrationResponseCommand"), exports);
|
|
95
|
+
tslib_1.__exportStar(require("./PutMethodCommand"), exports);
|
|
96
|
+
tslib_1.__exportStar(require("./PutMethodResponseCommand"), exports);
|
|
97
|
+
tslib_1.__exportStar(require("./PutRestApiCommand"), exports);
|
|
98
|
+
tslib_1.__exportStar(require("./TagResourceCommand"), exports);
|
|
99
|
+
tslib_1.__exportStar(require("./TestInvokeAuthorizerCommand"), exports);
|
|
100
|
+
tslib_1.__exportStar(require("./TestInvokeMethodCommand"), exports);
|
|
101
|
+
tslib_1.__exportStar(require("./UntagResourceCommand"), exports);
|
|
102
|
+
tslib_1.__exportStar(require("./UpdateAccountCommand"), exports);
|
|
103
|
+
tslib_1.__exportStar(require("./UpdateApiKeyCommand"), exports);
|
|
104
|
+
tslib_1.__exportStar(require("./UpdateAuthorizerCommand"), exports);
|
|
105
|
+
tslib_1.__exportStar(require("./UpdateBasePathMappingCommand"), exports);
|
|
106
|
+
tslib_1.__exportStar(require("./UpdateClientCertificateCommand"), exports);
|
|
107
|
+
tslib_1.__exportStar(require("./UpdateDeploymentCommand"), exports);
|
|
108
|
+
tslib_1.__exportStar(require("./UpdateDocumentationPartCommand"), exports);
|
|
109
|
+
tslib_1.__exportStar(require("./UpdateDocumentationVersionCommand"), exports);
|
|
110
|
+
tslib_1.__exportStar(require("./UpdateDomainNameCommand"), exports);
|
|
111
|
+
tslib_1.__exportStar(require("./UpdateGatewayResponseCommand"), exports);
|
|
112
|
+
tslib_1.__exportStar(require("./UpdateIntegrationCommand"), exports);
|
|
113
|
+
tslib_1.__exportStar(require("./UpdateIntegrationResponseCommand"), exports);
|
|
114
|
+
tslib_1.__exportStar(require("./UpdateMethodCommand"), exports);
|
|
115
|
+
tslib_1.__exportStar(require("./UpdateMethodResponseCommand"), exports);
|
|
116
|
+
tslib_1.__exportStar(require("./UpdateModelCommand"), exports);
|
|
117
|
+
tslib_1.__exportStar(require("./UpdateRequestValidatorCommand"), exports);
|
|
118
|
+
tslib_1.__exportStar(require("./UpdateResourceCommand"), exports);
|
|
119
|
+
tslib_1.__exportStar(require("./UpdateRestApiCommand"), exports);
|
|
120
|
+
tslib_1.__exportStar(require("./UpdateStageCommand"), exports);
|
|
121
|
+
tslib_1.__exportStar(require("./UpdateUsageCommand"), exports);
|
|
122
|
+
tslib_1.__exportStar(require("./UpdateUsagePlanCommand"), exports);
|
|
123
|
+
tslib_1.__exportStar(require("./UpdateVpcLinkCommand"), exports);
|
package/dist-cjs/endpoints.js
CHANGED
|
@@ -28,23 +28,97 @@ const partitionHash = {
|
|
|
28
28
|
"us-west-1",
|
|
29
29
|
"us-west-2",
|
|
30
30
|
],
|
|
31
|
-
|
|
31
|
+
regionRegex: "^(us|eu|ap|sa|ca|me|af)\\-\\w+\\-\\d+$",
|
|
32
|
+
variants: [
|
|
33
|
+
{
|
|
34
|
+
hostname: "apigateway.{region}.amazonaws.com",
|
|
35
|
+
tags: [],
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
hostname: "apigateway-fips.{region}.amazonaws.com",
|
|
39
|
+
tags: ["fips"],
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
hostname: "apigateway-fips.{region}.api.aws",
|
|
43
|
+
tags: ["dualstack", "fips"],
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
hostname: "apigateway.{region}.api.aws",
|
|
47
|
+
tags: ["dualstack"],
|
|
48
|
+
},
|
|
49
|
+
],
|
|
32
50
|
},
|
|
33
51
|
"aws-cn": {
|
|
34
52
|
regions: ["cn-north-1", "cn-northwest-1"],
|
|
35
|
-
|
|
53
|
+
regionRegex: "^cn\\-\\w+\\-\\d+$",
|
|
54
|
+
variants: [
|
|
55
|
+
{
|
|
56
|
+
hostname: "apigateway.{region}.amazonaws.com.cn",
|
|
57
|
+
tags: [],
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
hostname: "apigateway-fips.{region}.amazonaws.com.cn",
|
|
61
|
+
tags: ["fips"],
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
hostname: "apigateway-fips.{region}.api.amazonwebservices.com.cn",
|
|
65
|
+
tags: ["dualstack", "fips"],
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
hostname: "apigateway.{region}.api.amazonwebservices.com.cn",
|
|
69
|
+
tags: ["dualstack"],
|
|
70
|
+
},
|
|
71
|
+
],
|
|
36
72
|
},
|
|
37
73
|
"aws-iso": {
|
|
38
74
|
regions: ["us-iso-east-1", "us-iso-west-1"],
|
|
39
|
-
|
|
75
|
+
regionRegex: "^us\\-iso\\-\\w+\\-\\d+$",
|
|
76
|
+
variants: [
|
|
77
|
+
{
|
|
78
|
+
hostname: "apigateway.{region}.c2s.ic.gov",
|
|
79
|
+
tags: [],
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
hostname: "apigateway-fips.{region}.c2s.ic.gov",
|
|
83
|
+
tags: ["fips"],
|
|
84
|
+
},
|
|
85
|
+
],
|
|
40
86
|
},
|
|
41
87
|
"aws-iso-b": {
|
|
42
88
|
regions: ["us-isob-east-1"],
|
|
43
|
-
|
|
89
|
+
regionRegex: "^us\\-isob\\-\\w+\\-\\d+$",
|
|
90
|
+
variants: [
|
|
91
|
+
{
|
|
92
|
+
hostname: "apigateway.{region}.sc2s.sgov.gov",
|
|
93
|
+
tags: [],
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
hostname: "apigateway-fips.{region}.sc2s.sgov.gov",
|
|
97
|
+
tags: ["fips"],
|
|
98
|
+
},
|
|
99
|
+
],
|
|
44
100
|
},
|
|
45
101
|
"aws-us-gov": {
|
|
46
102
|
regions: ["us-gov-east-1", "us-gov-west-1"],
|
|
47
|
-
|
|
103
|
+
regionRegex: "^us\\-gov\\-\\w+\\-\\d+$",
|
|
104
|
+
variants: [
|
|
105
|
+
{
|
|
106
|
+
hostname: "apigateway.{region}.amazonaws.com",
|
|
107
|
+
tags: [],
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
hostname: "apigateway-fips.{region}.amazonaws.com",
|
|
111
|
+
tags: ["fips"],
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
hostname: "apigateway-fips.{region}.api.aws",
|
|
115
|
+
tags: ["dualstack", "fips"],
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
hostname: "apigateway.{region}.api.aws",
|
|
119
|
+
tags: ["dualstack"],
|
|
120
|
+
},
|
|
121
|
+
],
|
|
48
122
|
},
|
|
49
123
|
};
|
|
50
124
|
const defaultRegionInfoProvider = async (region, options) => config_resolver_1.getRegionInfo(region, {
|
package/dist-cjs/index.js
CHANGED
|
@@ -1,139 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
|
-
tslib_1.__exportStar(require("./APIGatewayClient"), exports);
|
|
5
4
|
tslib_1.__exportStar(require("./APIGateway"), exports);
|
|
6
|
-
tslib_1.__exportStar(require("./
|
|
7
|
-
tslib_1.__exportStar(require("./commands
|
|
8
|
-
tslib_1.__exportStar(require("./
|
|
9
|
-
tslib_1.__exportStar(require("./
|
|
10
|
-
tslib_1.__exportStar(require("./commands/CreateDocumentationPartCommand"), exports);
|
|
11
|
-
tslib_1.__exportStar(require("./commands/CreateDocumentationVersionCommand"), exports);
|
|
12
|
-
tslib_1.__exportStar(require("./commands/CreateDomainNameCommand"), exports);
|
|
13
|
-
tslib_1.__exportStar(require("./commands/CreateModelCommand"), exports);
|
|
14
|
-
tslib_1.__exportStar(require("./commands/CreateRequestValidatorCommand"), exports);
|
|
15
|
-
tslib_1.__exportStar(require("./commands/CreateResourceCommand"), exports);
|
|
16
|
-
tslib_1.__exportStar(require("./commands/CreateRestApiCommand"), exports);
|
|
17
|
-
tslib_1.__exportStar(require("./commands/CreateStageCommand"), exports);
|
|
18
|
-
tslib_1.__exportStar(require("./commands/CreateUsagePlanCommand"), exports);
|
|
19
|
-
tslib_1.__exportStar(require("./commands/CreateUsagePlanKeyCommand"), exports);
|
|
20
|
-
tslib_1.__exportStar(require("./commands/CreateVpcLinkCommand"), exports);
|
|
21
|
-
tslib_1.__exportStar(require("./commands/DeleteApiKeyCommand"), exports);
|
|
22
|
-
tslib_1.__exportStar(require("./commands/DeleteAuthorizerCommand"), exports);
|
|
23
|
-
tslib_1.__exportStar(require("./commands/DeleteBasePathMappingCommand"), exports);
|
|
24
|
-
tslib_1.__exportStar(require("./commands/DeleteClientCertificateCommand"), exports);
|
|
25
|
-
tslib_1.__exportStar(require("./commands/DeleteDeploymentCommand"), exports);
|
|
26
|
-
tslib_1.__exportStar(require("./commands/DeleteDocumentationPartCommand"), exports);
|
|
27
|
-
tslib_1.__exportStar(require("./commands/DeleteDocumentationVersionCommand"), exports);
|
|
28
|
-
tslib_1.__exportStar(require("./commands/DeleteDomainNameCommand"), exports);
|
|
29
|
-
tslib_1.__exportStar(require("./commands/DeleteGatewayResponseCommand"), exports);
|
|
30
|
-
tslib_1.__exportStar(require("./commands/DeleteIntegrationCommand"), exports);
|
|
31
|
-
tslib_1.__exportStar(require("./commands/DeleteIntegrationResponseCommand"), exports);
|
|
32
|
-
tslib_1.__exportStar(require("./commands/DeleteMethodCommand"), exports);
|
|
33
|
-
tslib_1.__exportStar(require("./commands/DeleteMethodResponseCommand"), exports);
|
|
34
|
-
tslib_1.__exportStar(require("./commands/DeleteModelCommand"), exports);
|
|
35
|
-
tslib_1.__exportStar(require("./commands/DeleteRequestValidatorCommand"), exports);
|
|
36
|
-
tslib_1.__exportStar(require("./commands/DeleteResourceCommand"), exports);
|
|
37
|
-
tslib_1.__exportStar(require("./commands/DeleteRestApiCommand"), exports);
|
|
38
|
-
tslib_1.__exportStar(require("./commands/DeleteStageCommand"), exports);
|
|
39
|
-
tslib_1.__exportStar(require("./commands/DeleteUsagePlanCommand"), exports);
|
|
40
|
-
tslib_1.__exportStar(require("./commands/DeleteUsagePlanKeyCommand"), exports);
|
|
41
|
-
tslib_1.__exportStar(require("./commands/DeleteVpcLinkCommand"), exports);
|
|
42
|
-
tslib_1.__exportStar(require("./commands/FlushStageAuthorizersCacheCommand"), exports);
|
|
43
|
-
tslib_1.__exportStar(require("./commands/FlushStageCacheCommand"), exports);
|
|
44
|
-
tslib_1.__exportStar(require("./commands/GenerateClientCertificateCommand"), exports);
|
|
45
|
-
tslib_1.__exportStar(require("./commands/GetAccountCommand"), exports);
|
|
46
|
-
tslib_1.__exportStar(require("./commands/GetApiKeyCommand"), exports);
|
|
47
|
-
tslib_1.__exportStar(require("./commands/GetApiKeysCommand"), exports);
|
|
48
|
-
tslib_1.__exportStar(require("./pagination/GetApiKeysPaginator"), exports);
|
|
49
|
-
tslib_1.__exportStar(require("./commands/GetAuthorizerCommand"), exports);
|
|
50
|
-
tslib_1.__exportStar(require("./commands/GetAuthorizersCommand"), exports);
|
|
51
|
-
tslib_1.__exportStar(require("./commands/GetBasePathMappingCommand"), exports);
|
|
52
|
-
tslib_1.__exportStar(require("./commands/GetBasePathMappingsCommand"), exports);
|
|
53
|
-
tslib_1.__exportStar(require("./pagination/GetBasePathMappingsPaginator"), exports);
|
|
54
|
-
tslib_1.__exportStar(require("./commands/GetClientCertificateCommand"), exports);
|
|
55
|
-
tslib_1.__exportStar(require("./commands/GetClientCertificatesCommand"), exports);
|
|
56
|
-
tslib_1.__exportStar(require("./pagination/GetClientCertificatesPaginator"), exports);
|
|
57
|
-
tslib_1.__exportStar(require("./commands/GetDeploymentCommand"), exports);
|
|
58
|
-
tslib_1.__exportStar(require("./commands/GetDeploymentsCommand"), exports);
|
|
59
|
-
tslib_1.__exportStar(require("./pagination/GetDeploymentsPaginator"), exports);
|
|
60
|
-
tslib_1.__exportStar(require("./commands/GetDocumentationPartCommand"), exports);
|
|
61
|
-
tslib_1.__exportStar(require("./commands/GetDocumentationPartsCommand"), exports);
|
|
62
|
-
tslib_1.__exportStar(require("./commands/GetDocumentationVersionCommand"), exports);
|
|
63
|
-
tslib_1.__exportStar(require("./commands/GetDocumentationVersionsCommand"), exports);
|
|
64
|
-
tslib_1.__exportStar(require("./commands/GetDomainNameCommand"), exports);
|
|
65
|
-
tslib_1.__exportStar(require("./commands/GetDomainNamesCommand"), exports);
|
|
66
|
-
tslib_1.__exportStar(require("./pagination/GetDomainNamesPaginator"), exports);
|
|
67
|
-
tslib_1.__exportStar(require("./commands/GetExportCommand"), exports);
|
|
68
|
-
tslib_1.__exportStar(require("./commands/GetGatewayResponseCommand"), exports);
|
|
69
|
-
tslib_1.__exportStar(require("./commands/GetGatewayResponsesCommand"), exports);
|
|
70
|
-
tslib_1.__exportStar(require("./commands/GetIntegrationCommand"), exports);
|
|
71
|
-
tslib_1.__exportStar(require("./commands/GetIntegrationResponseCommand"), exports);
|
|
72
|
-
tslib_1.__exportStar(require("./commands/GetMethodCommand"), exports);
|
|
73
|
-
tslib_1.__exportStar(require("./commands/GetMethodResponseCommand"), exports);
|
|
74
|
-
tslib_1.__exportStar(require("./commands/GetModelCommand"), exports);
|
|
75
|
-
tslib_1.__exportStar(require("./commands/GetModelsCommand"), exports);
|
|
76
|
-
tslib_1.__exportStar(require("./pagination/GetModelsPaginator"), exports);
|
|
77
|
-
tslib_1.__exportStar(require("./commands/GetModelTemplateCommand"), exports);
|
|
78
|
-
tslib_1.__exportStar(require("./commands/GetRequestValidatorCommand"), exports);
|
|
79
|
-
tslib_1.__exportStar(require("./commands/GetRequestValidatorsCommand"), exports);
|
|
80
|
-
tslib_1.__exportStar(require("./commands/GetResourceCommand"), exports);
|
|
81
|
-
tslib_1.__exportStar(require("./commands/GetResourcesCommand"), exports);
|
|
82
|
-
tslib_1.__exportStar(require("./pagination/GetResourcesPaginator"), exports);
|
|
83
|
-
tslib_1.__exportStar(require("./commands/GetRestApiCommand"), exports);
|
|
84
|
-
tslib_1.__exportStar(require("./commands/GetRestApisCommand"), exports);
|
|
85
|
-
tslib_1.__exportStar(require("./pagination/GetRestApisPaginator"), exports);
|
|
86
|
-
tslib_1.__exportStar(require("./commands/GetSdkCommand"), exports);
|
|
87
|
-
tslib_1.__exportStar(require("./commands/GetSdkTypeCommand"), exports);
|
|
88
|
-
tslib_1.__exportStar(require("./commands/GetSdkTypesCommand"), exports);
|
|
89
|
-
tslib_1.__exportStar(require("./commands/GetStageCommand"), exports);
|
|
90
|
-
tslib_1.__exportStar(require("./commands/GetStagesCommand"), exports);
|
|
91
|
-
tslib_1.__exportStar(require("./commands/GetTagsCommand"), exports);
|
|
92
|
-
tslib_1.__exportStar(require("./commands/GetUsageCommand"), exports);
|
|
93
|
-
tslib_1.__exportStar(require("./pagination/GetUsagePaginator"), exports);
|
|
94
|
-
tslib_1.__exportStar(require("./commands/GetUsagePlanCommand"), exports);
|
|
95
|
-
tslib_1.__exportStar(require("./commands/GetUsagePlanKeyCommand"), exports);
|
|
96
|
-
tslib_1.__exportStar(require("./commands/GetUsagePlanKeysCommand"), exports);
|
|
97
|
-
tslib_1.__exportStar(require("./pagination/GetUsagePlanKeysPaginator"), exports);
|
|
98
|
-
tslib_1.__exportStar(require("./commands/GetUsagePlansCommand"), exports);
|
|
99
|
-
tslib_1.__exportStar(require("./pagination/GetUsagePlansPaginator"), exports);
|
|
100
|
-
tslib_1.__exportStar(require("./commands/GetVpcLinkCommand"), exports);
|
|
101
|
-
tslib_1.__exportStar(require("./commands/GetVpcLinksCommand"), exports);
|
|
102
|
-
tslib_1.__exportStar(require("./pagination/GetVpcLinksPaginator"), exports);
|
|
103
|
-
tslib_1.__exportStar(require("./commands/ImportApiKeysCommand"), exports);
|
|
104
|
-
tslib_1.__exportStar(require("./commands/ImportDocumentationPartsCommand"), exports);
|
|
105
|
-
tslib_1.__exportStar(require("./commands/ImportRestApiCommand"), exports);
|
|
106
|
-
tslib_1.__exportStar(require("./commands/PutGatewayResponseCommand"), exports);
|
|
107
|
-
tslib_1.__exportStar(require("./commands/PutIntegrationCommand"), exports);
|
|
108
|
-
tslib_1.__exportStar(require("./commands/PutIntegrationResponseCommand"), exports);
|
|
109
|
-
tslib_1.__exportStar(require("./commands/PutMethodCommand"), exports);
|
|
110
|
-
tslib_1.__exportStar(require("./commands/PutMethodResponseCommand"), exports);
|
|
111
|
-
tslib_1.__exportStar(require("./commands/PutRestApiCommand"), exports);
|
|
112
|
-
tslib_1.__exportStar(require("./commands/TagResourceCommand"), exports);
|
|
113
|
-
tslib_1.__exportStar(require("./commands/TestInvokeAuthorizerCommand"), exports);
|
|
114
|
-
tslib_1.__exportStar(require("./commands/TestInvokeMethodCommand"), exports);
|
|
115
|
-
tslib_1.__exportStar(require("./commands/UntagResourceCommand"), exports);
|
|
116
|
-
tslib_1.__exportStar(require("./commands/UpdateAccountCommand"), exports);
|
|
117
|
-
tslib_1.__exportStar(require("./commands/UpdateApiKeyCommand"), exports);
|
|
118
|
-
tslib_1.__exportStar(require("./commands/UpdateAuthorizerCommand"), exports);
|
|
119
|
-
tslib_1.__exportStar(require("./commands/UpdateBasePathMappingCommand"), exports);
|
|
120
|
-
tslib_1.__exportStar(require("./commands/UpdateClientCertificateCommand"), exports);
|
|
121
|
-
tslib_1.__exportStar(require("./commands/UpdateDeploymentCommand"), exports);
|
|
122
|
-
tslib_1.__exportStar(require("./commands/UpdateDocumentationPartCommand"), exports);
|
|
123
|
-
tslib_1.__exportStar(require("./commands/UpdateDocumentationVersionCommand"), exports);
|
|
124
|
-
tslib_1.__exportStar(require("./commands/UpdateDomainNameCommand"), exports);
|
|
125
|
-
tslib_1.__exportStar(require("./commands/UpdateGatewayResponseCommand"), exports);
|
|
126
|
-
tslib_1.__exportStar(require("./commands/UpdateIntegrationCommand"), exports);
|
|
127
|
-
tslib_1.__exportStar(require("./commands/UpdateIntegrationResponseCommand"), exports);
|
|
128
|
-
tslib_1.__exportStar(require("./commands/UpdateMethodCommand"), exports);
|
|
129
|
-
tslib_1.__exportStar(require("./commands/UpdateMethodResponseCommand"), exports);
|
|
130
|
-
tslib_1.__exportStar(require("./commands/UpdateModelCommand"), exports);
|
|
131
|
-
tslib_1.__exportStar(require("./commands/UpdateRequestValidatorCommand"), exports);
|
|
132
|
-
tslib_1.__exportStar(require("./commands/UpdateResourceCommand"), exports);
|
|
133
|
-
tslib_1.__exportStar(require("./commands/UpdateRestApiCommand"), exports);
|
|
134
|
-
tslib_1.__exportStar(require("./commands/UpdateStageCommand"), exports);
|
|
135
|
-
tslib_1.__exportStar(require("./commands/UpdateUsageCommand"), exports);
|
|
136
|
-
tslib_1.__exportStar(require("./commands/UpdateUsagePlanCommand"), exports);
|
|
137
|
-
tslib_1.__exportStar(require("./commands/UpdateVpcLinkCommand"), exports);
|
|
138
|
-
tslib_1.__exportStar(require("./pagination/Interfaces"), exports);
|
|
139
|
-
tslib_1.__exportStar(require("./models/index"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./APIGatewayClient"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./commands"), exports);
|
|
7
|
+
tslib_1.__exportStar(require("./models"), exports);
|
|
8
|
+
tslib_1.__exportStar(require("./pagination"), exports);
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
tslib_1.__exportStar(require("./GetApiKeysPaginator"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./GetBasePathMappingsPaginator"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./GetClientCertificatesPaginator"), exports);
|
|
7
|
+
tslib_1.__exportStar(require("./GetDeploymentsPaginator"), exports);
|
|
8
|
+
tslib_1.__exportStar(require("./GetDomainNamesPaginator"), exports);
|
|
9
|
+
tslib_1.__exportStar(require("./GetModelsPaginator"), exports);
|
|
10
|
+
tslib_1.__exportStar(require("./GetResourcesPaginator"), exports);
|
|
11
|
+
tslib_1.__exportStar(require("./GetRestApisPaginator"), exports);
|
|
12
|
+
tslib_1.__exportStar(require("./GetUsagePaginator"), exports);
|
|
13
|
+
tslib_1.__exportStar(require("./GetUsagePlanKeysPaginator"), exports);
|
|
14
|
+
tslib_1.__exportStar(require("./Interfaces"), exports);
|
|
15
|
+
tslib_1.__exportStar(require("./GetUsagePlansPaginator"), exports);
|
|
16
|
+
tslib_1.__exportStar(require("./GetVpcLinksPaginator"), exports);
|
|
@@ -4,6 +4,7 @@ exports.getRuntimeConfig = void 0;
|
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const package_json_1 = tslib_1.__importDefault(require("../package.json"));
|
|
6
6
|
const sha256_browser_1 = require("@aws-crypto/sha256-browser");
|
|
7
|
+
const config_resolver_1 = require("@aws-sdk/config-resolver");
|
|
7
8
|
const fetch_http_handler_1 = require("@aws-sdk/fetch-http-handler");
|
|
8
9
|
const invalid_dependency_1 = require("@aws-sdk/invalid-dependency");
|
|
9
10
|
const middleware_retry_1 = require("@aws-sdk/middleware-retry");
|
|
@@ -13,7 +14,7 @@ const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
|
|
|
13
14
|
const util_utf8_browser_1 = require("@aws-sdk/util-utf8-browser");
|
|
14
15
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
15
16
|
const getRuntimeConfig = (config) => {
|
|
16
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
17
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
17
18
|
const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
|
|
18
19
|
return {
|
|
19
20
|
...clientSharedValues,
|
|
@@ -30,8 +31,10 @@ const getRuntimeConfig = (config) => {
|
|
|
30
31
|
retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (() => Promise.resolve(middleware_retry_1.DEFAULT_RETRY_MODE)),
|
|
31
32
|
sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : sha256_browser_1.Sha256,
|
|
32
33
|
streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : fetch_http_handler_1.streamCollector,
|
|
33
|
-
|
|
34
|
-
|
|
34
|
+
useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : (() => Promise.resolve(config_resolver_1.DEFAULT_USE_DUALSTACK_ENDPOINT)),
|
|
35
|
+
useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : (() => Promise.resolve(config_resolver_1.DEFAULT_USE_FIPS_ENDPOINT)),
|
|
36
|
+
utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : util_utf8_browser_1.fromUtf8,
|
|
37
|
+
utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : util_utf8_browser_1.toUtf8,
|
|
35
38
|
};
|
|
36
39
|
};
|
|
37
40
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
@@ -17,7 +17,7 @@ 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 getRuntimeConfig = (config) => {
|
|
20
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
20
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
21
21
|
smithy_client_1.emitWarningIfUnsupportedVersion(process.version);
|
|
22
22
|
const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
|
|
23
23
|
return {
|
|
@@ -35,8 +35,10 @@ const getRuntimeConfig = (config) => {
|
|
|
35
35
|
retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : node_config_provider_1.loadConfig(middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS),
|
|
36
36
|
sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : hash_node_1.Hash.bind(null, "sha256"),
|
|
37
37
|
streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : node_http_handler_1.streamCollector,
|
|
38
|
-
|
|
39
|
-
|
|
38
|
+
useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : node_config_provider_1.loadConfig(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
|
|
39
|
+
useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : node_config_provider_1.loadConfig(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
|
|
40
|
+
utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : util_utf8_node_1.fromUtf8,
|
|
41
|
+
utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : util_utf8_node_1.toUtf8,
|
|
40
42
|
};
|
|
41
43
|
};
|
|
42
44
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
export * from "./CreateApiKeyCommand";
|
|
2
|
+
export * from "./CreateAuthorizerCommand";
|
|
3
|
+
export * from "./CreateBasePathMappingCommand";
|
|
4
|
+
export * from "./CreateDeploymentCommand";
|
|
5
|
+
export * from "./CreateDocumentationPartCommand";
|
|
6
|
+
export * from "./CreateDocumentationVersionCommand";
|
|
7
|
+
export * from "./CreateDomainNameCommand";
|
|
8
|
+
export * from "./CreateModelCommand";
|
|
9
|
+
export * from "./CreateRequestValidatorCommand";
|
|
10
|
+
export * from "./CreateResourceCommand";
|
|
11
|
+
export * from "./CreateRestApiCommand";
|
|
12
|
+
export * from "./CreateStageCommand";
|
|
13
|
+
export * from "./CreateUsagePlanCommand";
|
|
14
|
+
export * from "./CreateUsagePlanKeyCommand";
|
|
15
|
+
export * from "./CreateVpcLinkCommand";
|
|
16
|
+
export * from "./DeleteApiKeyCommand";
|
|
17
|
+
export * from "./DeleteAuthorizerCommand";
|
|
18
|
+
export * from "./DeleteBasePathMappingCommand";
|
|
19
|
+
export * from "./DeleteClientCertificateCommand";
|
|
20
|
+
export * from "./DeleteDeploymentCommand";
|
|
21
|
+
export * from "./DeleteDocumentationPartCommand";
|
|
22
|
+
export * from "./DeleteDocumentationVersionCommand";
|
|
23
|
+
export * from "./DeleteDomainNameCommand";
|
|
24
|
+
export * from "./DeleteGatewayResponseCommand";
|
|
25
|
+
export * from "./DeleteIntegrationCommand";
|
|
26
|
+
export * from "./DeleteIntegrationResponseCommand";
|
|
27
|
+
export * from "./DeleteMethodCommand";
|
|
28
|
+
export * from "./DeleteMethodResponseCommand";
|
|
29
|
+
export * from "./DeleteModelCommand";
|
|
30
|
+
export * from "./DeleteRequestValidatorCommand";
|
|
31
|
+
export * from "./DeleteResourceCommand";
|
|
32
|
+
export * from "./DeleteRestApiCommand";
|
|
33
|
+
export * from "./DeleteStageCommand";
|
|
34
|
+
export * from "./DeleteUsagePlanCommand";
|
|
35
|
+
export * from "./DeleteUsagePlanKeyCommand";
|
|
36
|
+
export * from "./DeleteVpcLinkCommand";
|
|
37
|
+
export * from "./FlushStageAuthorizersCacheCommand";
|
|
38
|
+
export * from "./FlushStageCacheCommand";
|
|
39
|
+
export * from "./GenerateClientCertificateCommand";
|
|
40
|
+
export * from "./GetAccountCommand";
|
|
41
|
+
export * from "./GetApiKeyCommand";
|
|
42
|
+
export * from "./GetApiKeysCommand";
|
|
43
|
+
export * from "./GetAuthorizerCommand";
|
|
44
|
+
export * from "./GetAuthorizersCommand";
|
|
45
|
+
export * from "./GetBasePathMappingCommand";
|
|
46
|
+
export * from "./GetBasePathMappingsCommand";
|
|
47
|
+
export * from "./GetClientCertificateCommand";
|
|
48
|
+
export * from "./GetClientCertificatesCommand";
|
|
49
|
+
export * from "./GetDeploymentCommand";
|
|
50
|
+
export * from "./GetDeploymentsCommand";
|
|
51
|
+
export * from "./GetDocumentationPartCommand";
|
|
52
|
+
export * from "./GetDocumentationPartsCommand";
|
|
53
|
+
export * from "./GetDocumentationVersionCommand";
|
|
54
|
+
export * from "./GetDocumentationVersionsCommand";
|
|
55
|
+
export * from "./GetDomainNameCommand";
|
|
56
|
+
export * from "./GetDomainNamesCommand";
|
|
57
|
+
export * from "./GetExportCommand";
|
|
58
|
+
export * from "./GetGatewayResponseCommand";
|
|
59
|
+
export * from "./GetGatewayResponsesCommand";
|
|
60
|
+
export * from "./GetIntegrationCommand";
|
|
61
|
+
export * from "./GetIntegrationResponseCommand";
|
|
62
|
+
export * from "./GetMethodCommand";
|
|
63
|
+
export * from "./GetMethodResponseCommand";
|
|
64
|
+
export * from "./GetModelCommand";
|
|
65
|
+
export * from "./GetModelTemplateCommand";
|
|
66
|
+
export * from "./GetModelsCommand";
|
|
67
|
+
export * from "./GetRequestValidatorCommand";
|
|
68
|
+
export * from "./GetRequestValidatorsCommand";
|
|
69
|
+
export * from "./GetResourceCommand";
|
|
70
|
+
export * from "./GetResourcesCommand";
|
|
71
|
+
export * from "./GetRestApiCommand";
|
|
72
|
+
export * from "./GetRestApisCommand";
|
|
73
|
+
export * from "./GetSdkCommand";
|
|
74
|
+
export * from "./GetSdkTypeCommand";
|
|
75
|
+
export * from "./GetSdkTypesCommand";
|
|
76
|
+
export * from "./GetStageCommand";
|
|
77
|
+
export * from "./GetStagesCommand";
|
|
78
|
+
export * from "./GetTagsCommand";
|
|
79
|
+
export * from "./GetUsageCommand";
|
|
80
|
+
export * from "./GetUsagePlanCommand";
|
|
81
|
+
export * from "./GetUsagePlanKeyCommand";
|
|
82
|
+
export * from "./GetUsagePlanKeysCommand";
|
|
83
|
+
export * from "./GetUsagePlansCommand";
|
|
84
|
+
export * from "./GetVpcLinkCommand";
|
|
85
|
+
export * from "./GetVpcLinksCommand";
|
|
86
|
+
export * from "./ImportApiKeysCommand";
|
|
87
|
+
export * from "./ImportDocumentationPartsCommand";
|
|
88
|
+
export * from "./ImportRestApiCommand";
|
|
89
|
+
export * from "./PutGatewayResponseCommand";
|
|
90
|
+
export * from "./PutIntegrationCommand";
|
|
91
|
+
export * from "./PutIntegrationResponseCommand";
|
|
92
|
+
export * from "./PutMethodCommand";
|
|
93
|
+
export * from "./PutMethodResponseCommand";
|
|
94
|
+
export * from "./PutRestApiCommand";
|
|
95
|
+
export * from "./TagResourceCommand";
|
|
96
|
+
export * from "./TestInvokeAuthorizerCommand";
|
|
97
|
+
export * from "./TestInvokeMethodCommand";
|
|
98
|
+
export * from "./UntagResourceCommand";
|
|
99
|
+
export * from "./UpdateAccountCommand";
|
|
100
|
+
export * from "./UpdateApiKeyCommand";
|
|
101
|
+
export * from "./UpdateAuthorizerCommand";
|
|
102
|
+
export * from "./UpdateBasePathMappingCommand";
|
|
103
|
+
export * from "./UpdateClientCertificateCommand";
|
|
104
|
+
export * from "./UpdateDeploymentCommand";
|
|
105
|
+
export * from "./UpdateDocumentationPartCommand";
|
|
106
|
+
export * from "./UpdateDocumentationVersionCommand";
|
|
107
|
+
export * from "./UpdateDomainNameCommand";
|
|
108
|
+
export * from "./UpdateGatewayResponseCommand";
|
|
109
|
+
export * from "./UpdateIntegrationCommand";
|
|
110
|
+
export * from "./UpdateIntegrationResponseCommand";
|
|
111
|
+
export * from "./UpdateMethodCommand";
|
|
112
|
+
export * from "./UpdateMethodResponseCommand";
|
|
113
|
+
export * from "./UpdateModelCommand";
|
|
114
|
+
export * from "./UpdateRequestValidatorCommand";
|
|
115
|
+
export * from "./UpdateResourceCommand";
|
|
116
|
+
export * from "./UpdateRestApiCommand";
|
|
117
|
+
export * from "./UpdateStageCommand";
|
|
118
|
+
export * from "./UpdateUsageCommand";
|
|
119
|
+
export * from "./UpdateUsagePlanCommand";
|
|
120
|
+
export * from "./UpdateVpcLinkCommand";
|