@aws-sdk/client-api-gateway 3.36.1 → 3.40.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 +72 -6
- 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 +72 -6
- 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/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 +33 -33
package/dist-es/endpoints.js
CHANGED
|
@@ -26,23 +26,89 @@ var partitionHash = {
|
|
|
26
26
|
"us-west-1",
|
|
27
27
|
"us-west-2",
|
|
28
28
|
],
|
|
29
|
-
|
|
29
|
+
regionRegex: "^(us|eu|ap|sa|ca|me|af)\\-\\w+\\-\\d+$",
|
|
30
|
+
variants: [
|
|
31
|
+
{
|
|
32
|
+
hostname: "apigateway.{region}.amazonaws.com",
|
|
33
|
+
tags: [],
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
hostname: "apigateway-fips.{region}.amazonaws.com",
|
|
37
|
+
tags: ["fips"],
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
hostname: "apigateway-fips.{region}.api.aws",
|
|
41
|
+
tags: ["dualstack", "fips"],
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
hostname: "apigateway.{region}.api.aws",
|
|
45
|
+
tags: ["dualstack"],
|
|
46
|
+
},
|
|
47
|
+
],
|
|
30
48
|
},
|
|
31
49
|
"aws-cn": {
|
|
32
50
|
regions: ["cn-north-1", "cn-northwest-1"],
|
|
33
|
-
|
|
51
|
+
regionRegex: "^cn\\-\\w+\\-\\d+$",
|
|
52
|
+
variants: [
|
|
53
|
+
{
|
|
54
|
+
hostname: "apigateway.{region}.amazonaws.com.cn",
|
|
55
|
+
tags: [],
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
hostname: "apigateway-fips.{region}.amazonaws.com.cn",
|
|
59
|
+
tags: ["fips"],
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
hostname: "apigateway-fips.{region}.api.amazonwebservices.com.cn",
|
|
63
|
+
tags: ["dualstack", "fips"],
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
hostname: "apigateway.{region}.api.amazonwebservices.com.cn",
|
|
67
|
+
tags: ["dualstack"],
|
|
68
|
+
},
|
|
69
|
+
],
|
|
34
70
|
},
|
|
35
71
|
"aws-iso": {
|
|
36
|
-
regions: ["us-iso-east-1"],
|
|
37
|
-
|
|
72
|
+
regions: ["us-iso-east-1", "us-iso-west-1"],
|
|
73
|
+
regionRegex: "^us\\-iso\\-\\w+\\-\\d+$",
|
|
74
|
+
variants: [
|
|
75
|
+
{
|
|
76
|
+
hostname: "apigateway.{region}.c2s.ic.gov",
|
|
77
|
+
tags: [],
|
|
78
|
+
},
|
|
79
|
+
],
|
|
38
80
|
},
|
|
39
81
|
"aws-iso-b": {
|
|
40
82
|
regions: ["us-isob-east-1"],
|
|
41
|
-
|
|
83
|
+
regionRegex: "^us\\-isob\\-\\w+\\-\\d+$",
|
|
84
|
+
variants: [
|
|
85
|
+
{
|
|
86
|
+
hostname: "apigateway.{region}.sc2s.sgov.gov",
|
|
87
|
+
tags: [],
|
|
88
|
+
},
|
|
89
|
+
],
|
|
42
90
|
},
|
|
43
91
|
"aws-us-gov": {
|
|
44
92
|
regions: ["us-gov-east-1", "us-gov-west-1"],
|
|
45
|
-
|
|
93
|
+
regionRegex: "^us\\-gov\\-\\w+\\-\\d+$",
|
|
94
|
+
variants: [
|
|
95
|
+
{
|
|
96
|
+
hostname: "apigateway.{region}.amazonaws.com",
|
|
97
|
+
tags: [],
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
hostname: "apigateway-fips.{region}.amazonaws.com",
|
|
101
|
+
tags: ["fips"],
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
hostname: "apigateway-fips.{region}.api.aws",
|
|
105
|
+
tags: ["dualstack", "fips"],
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
hostname: "apigateway.{region}.api.aws",
|
|
109
|
+
tags: ["dualstack"],
|
|
110
|
+
},
|
|
111
|
+
],
|
|
46
112
|
},
|
|
47
113
|
};
|
|
48
114
|
export var defaultRegionInfoProvider = function (region, options) { return __awaiter(void 0, void 0, void 0, function () {
|
package/dist-es/index.js
CHANGED
|
@@ -1,136 +1,5 @@
|
|
|
1
|
-
export * from "./APIGatewayClient";
|
|
2
1
|
export * from "./APIGateway";
|
|
3
|
-
export * from "./
|
|
4
|
-
export * from "./commands
|
|
5
|
-
export * from "./
|
|
6
|
-
export * from "./
|
|
7
|
-
export * from "./commands/CreateDocumentationPartCommand";
|
|
8
|
-
export * from "./commands/CreateDocumentationVersionCommand";
|
|
9
|
-
export * from "./commands/CreateDomainNameCommand";
|
|
10
|
-
export * from "./commands/CreateModelCommand";
|
|
11
|
-
export * from "./commands/CreateRequestValidatorCommand";
|
|
12
|
-
export * from "./commands/CreateResourceCommand";
|
|
13
|
-
export * from "./commands/CreateRestApiCommand";
|
|
14
|
-
export * from "./commands/CreateStageCommand";
|
|
15
|
-
export * from "./commands/CreateUsagePlanCommand";
|
|
16
|
-
export * from "./commands/CreateUsagePlanKeyCommand";
|
|
17
|
-
export * from "./commands/CreateVpcLinkCommand";
|
|
18
|
-
export * from "./commands/DeleteApiKeyCommand";
|
|
19
|
-
export * from "./commands/DeleteAuthorizerCommand";
|
|
20
|
-
export * from "./commands/DeleteBasePathMappingCommand";
|
|
21
|
-
export * from "./commands/DeleteClientCertificateCommand";
|
|
22
|
-
export * from "./commands/DeleteDeploymentCommand";
|
|
23
|
-
export * from "./commands/DeleteDocumentationPartCommand";
|
|
24
|
-
export * from "./commands/DeleteDocumentationVersionCommand";
|
|
25
|
-
export * from "./commands/DeleteDomainNameCommand";
|
|
26
|
-
export * from "./commands/DeleteGatewayResponseCommand";
|
|
27
|
-
export * from "./commands/DeleteIntegrationCommand";
|
|
28
|
-
export * from "./commands/DeleteIntegrationResponseCommand";
|
|
29
|
-
export * from "./commands/DeleteMethodCommand";
|
|
30
|
-
export * from "./commands/DeleteMethodResponseCommand";
|
|
31
|
-
export * from "./commands/DeleteModelCommand";
|
|
32
|
-
export * from "./commands/DeleteRequestValidatorCommand";
|
|
33
|
-
export * from "./commands/DeleteResourceCommand";
|
|
34
|
-
export * from "./commands/DeleteRestApiCommand";
|
|
35
|
-
export * from "./commands/DeleteStageCommand";
|
|
36
|
-
export * from "./commands/DeleteUsagePlanCommand";
|
|
37
|
-
export * from "./commands/DeleteUsagePlanKeyCommand";
|
|
38
|
-
export * from "./commands/DeleteVpcLinkCommand";
|
|
39
|
-
export * from "./commands/FlushStageAuthorizersCacheCommand";
|
|
40
|
-
export * from "./commands/FlushStageCacheCommand";
|
|
41
|
-
export * from "./commands/GenerateClientCertificateCommand";
|
|
42
|
-
export * from "./commands/GetAccountCommand";
|
|
43
|
-
export * from "./commands/GetApiKeyCommand";
|
|
44
|
-
export * from "./commands/GetApiKeysCommand";
|
|
45
|
-
export * from "./pagination/GetApiKeysPaginator";
|
|
46
|
-
export * from "./commands/GetAuthorizerCommand";
|
|
47
|
-
export * from "./commands/GetAuthorizersCommand";
|
|
48
|
-
export * from "./commands/GetBasePathMappingCommand";
|
|
49
|
-
export * from "./commands/GetBasePathMappingsCommand";
|
|
50
|
-
export * from "./pagination/GetBasePathMappingsPaginator";
|
|
51
|
-
export * from "./commands/GetClientCertificateCommand";
|
|
52
|
-
export * from "./commands/GetClientCertificatesCommand";
|
|
53
|
-
export * from "./pagination/GetClientCertificatesPaginator";
|
|
54
|
-
export * from "./commands/GetDeploymentCommand";
|
|
55
|
-
export * from "./commands/GetDeploymentsCommand";
|
|
56
|
-
export * from "./pagination/GetDeploymentsPaginator";
|
|
57
|
-
export * from "./commands/GetDocumentationPartCommand";
|
|
58
|
-
export * from "./commands/GetDocumentationPartsCommand";
|
|
59
|
-
export * from "./commands/GetDocumentationVersionCommand";
|
|
60
|
-
export * from "./commands/GetDocumentationVersionsCommand";
|
|
61
|
-
export * from "./commands/GetDomainNameCommand";
|
|
62
|
-
export * from "./commands/GetDomainNamesCommand";
|
|
63
|
-
export * from "./pagination/GetDomainNamesPaginator";
|
|
64
|
-
export * from "./commands/GetExportCommand";
|
|
65
|
-
export * from "./commands/GetGatewayResponseCommand";
|
|
66
|
-
export * from "./commands/GetGatewayResponsesCommand";
|
|
67
|
-
export * from "./commands/GetIntegrationCommand";
|
|
68
|
-
export * from "./commands/GetIntegrationResponseCommand";
|
|
69
|
-
export * from "./commands/GetMethodCommand";
|
|
70
|
-
export * from "./commands/GetMethodResponseCommand";
|
|
71
|
-
export * from "./commands/GetModelCommand";
|
|
72
|
-
export * from "./commands/GetModelsCommand";
|
|
73
|
-
export * from "./pagination/GetModelsPaginator";
|
|
74
|
-
export * from "./commands/GetModelTemplateCommand";
|
|
75
|
-
export * from "./commands/GetRequestValidatorCommand";
|
|
76
|
-
export * from "./commands/GetRequestValidatorsCommand";
|
|
77
|
-
export * from "./commands/GetResourceCommand";
|
|
78
|
-
export * from "./commands/GetResourcesCommand";
|
|
79
|
-
export * from "./pagination/GetResourcesPaginator";
|
|
80
|
-
export * from "./commands/GetRestApiCommand";
|
|
81
|
-
export * from "./commands/GetRestApisCommand";
|
|
82
|
-
export * from "./pagination/GetRestApisPaginator";
|
|
83
|
-
export * from "./commands/GetSdkCommand";
|
|
84
|
-
export * from "./commands/GetSdkTypeCommand";
|
|
85
|
-
export * from "./commands/GetSdkTypesCommand";
|
|
86
|
-
export * from "./commands/GetStageCommand";
|
|
87
|
-
export * from "./commands/GetStagesCommand";
|
|
88
|
-
export * from "./commands/GetTagsCommand";
|
|
89
|
-
export * from "./commands/GetUsageCommand";
|
|
90
|
-
export * from "./pagination/GetUsagePaginator";
|
|
91
|
-
export * from "./commands/GetUsagePlanCommand";
|
|
92
|
-
export * from "./commands/GetUsagePlanKeyCommand";
|
|
93
|
-
export * from "./commands/GetUsagePlanKeysCommand";
|
|
94
|
-
export * from "./pagination/GetUsagePlanKeysPaginator";
|
|
95
|
-
export * from "./commands/GetUsagePlansCommand";
|
|
96
|
-
export * from "./pagination/GetUsagePlansPaginator";
|
|
97
|
-
export * from "./commands/GetVpcLinkCommand";
|
|
98
|
-
export * from "./commands/GetVpcLinksCommand";
|
|
99
|
-
export * from "./pagination/GetVpcLinksPaginator";
|
|
100
|
-
export * from "./commands/ImportApiKeysCommand";
|
|
101
|
-
export * from "./commands/ImportDocumentationPartsCommand";
|
|
102
|
-
export * from "./commands/ImportRestApiCommand";
|
|
103
|
-
export * from "./commands/PutGatewayResponseCommand";
|
|
104
|
-
export * from "./commands/PutIntegrationCommand";
|
|
105
|
-
export * from "./commands/PutIntegrationResponseCommand";
|
|
106
|
-
export * from "./commands/PutMethodCommand";
|
|
107
|
-
export * from "./commands/PutMethodResponseCommand";
|
|
108
|
-
export * from "./commands/PutRestApiCommand";
|
|
109
|
-
export * from "./commands/TagResourceCommand";
|
|
110
|
-
export * from "./commands/TestInvokeAuthorizerCommand";
|
|
111
|
-
export * from "./commands/TestInvokeMethodCommand";
|
|
112
|
-
export * from "./commands/UntagResourceCommand";
|
|
113
|
-
export * from "./commands/UpdateAccountCommand";
|
|
114
|
-
export * from "./commands/UpdateApiKeyCommand";
|
|
115
|
-
export * from "./commands/UpdateAuthorizerCommand";
|
|
116
|
-
export * from "./commands/UpdateBasePathMappingCommand";
|
|
117
|
-
export * from "./commands/UpdateClientCertificateCommand";
|
|
118
|
-
export * from "./commands/UpdateDeploymentCommand";
|
|
119
|
-
export * from "./commands/UpdateDocumentationPartCommand";
|
|
120
|
-
export * from "./commands/UpdateDocumentationVersionCommand";
|
|
121
|
-
export * from "./commands/UpdateDomainNameCommand";
|
|
122
|
-
export * from "./commands/UpdateGatewayResponseCommand";
|
|
123
|
-
export * from "./commands/UpdateIntegrationCommand";
|
|
124
|
-
export * from "./commands/UpdateIntegrationResponseCommand";
|
|
125
|
-
export * from "./commands/UpdateMethodCommand";
|
|
126
|
-
export * from "./commands/UpdateMethodResponseCommand";
|
|
127
|
-
export * from "./commands/UpdateModelCommand";
|
|
128
|
-
export * from "./commands/UpdateRequestValidatorCommand";
|
|
129
|
-
export * from "./commands/UpdateResourceCommand";
|
|
130
|
-
export * from "./commands/UpdateRestApiCommand";
|
|
131
|
-
export * from "./commands/UpdateStageCommand";
|
|
132
|
-
export * from "./commands/UpdateUsageCommand";
|
|
133
|
-
export * from "./commands/UpdateUsagePlanCommand";
|
|
134
|
-
export * from "./commands/UpdateVpcLinkCommand";
|
|
135
|
-
export * from "./pagination/Interfaces";
|
|
136
|
-
export * from "./models/index";
|
|
2
|
+
export * from "./APIGatewayClient";
|
|
3
|
+
export * from "./commands";
|
|
4
|
+
export * from "./models";
|
|
5
|
+
export * from "./pagination";
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export * from "./GetApiKeysPaginator";
|
|
2
|
+
export * from "./GetBasePathMappingsPaginator";
|
|
3
|
+
export * from "./GetClientCertificatesPaginator";
|
|
4
|
+
export * from "./GetDeploymentsPaginator";
|
|
5
|
+
export * from "./GetDomainNamesPaginator";
|
|
6
|
+
export * from "./GetModelsPaginator";
|
|
7
|
+
export * from "./GetResourcesPaginator";
|
|
8
|
+
export * from "./GetRestApisPaginator";
|
|
9
|
+
export * from "./GetUsagePaginator";
|
|
10
|
+
export * from "./GetUsagePlanKeysPaginator";
|
|
11
|
+
export * from "./Interfaces";
|
|
12
|
+
export * from "./GetUsagePlansPaginator";
|
|
13
|
+
export * from "./GetVpcLinksPaginator";
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { __assign } from "tslib";
|
|
2
2
|
import packageInfo from "../package.json";
|
|
3
3
|
import { Sha256 } from "@aws-crypto/sha256-browser";
|
|
4
|
+
import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@aws-sdk/config-resolver";
|
|
4
5
|
import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
|
|
5
6
|
import { invalidProvider } from "@aws-sdk/invalid-dependency";
|
|
6
7
|
import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@aws-sdk/middleware-retry";
|
|
@@ -10,7 +11,7 @@ import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser";
|
|
|
10
11
|
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-browser";
|
|
11
12
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
12
13
|
export var getRuntimeConfig = function (config) {
|
|
13
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
14
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
14
15
|
var clientSharedValues = getSharedRuntimeConfig(config);
|
|
15
|
-
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "browser", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : (function (_) { return function () { return Promise.reject(new Error("Credential is missing")); }; }), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : DEFAULT_MAX_ATTEMPTS, region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalidProvider("Region is missing"), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new FetchHttpHandler(), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (function () { return Promise.resolve(DEFAULT_RETRY_MODE); }), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Sha256, streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector,
|
|
16
|
+
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "browser", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : (function (_) { return function () { return Promise.reject(new Error("Credential is missing")); }; }), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : DEFAULT_MAX_ATTEMPTS, region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalidProvider("Region is missing"), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new FetchHttpHandler(), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (function () { return Promise.resolve(DEFAULT_RETRY_MODE); }), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Sha256, streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : (function () { return Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT); }), useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : (function () { return Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT); }), utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : fromUtf8, utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : toUtf8 });
|
|
16
17
|
};
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __assign } from "tslib";
|
|
2
2
|
import packageInfo from "../package.json";
|
|
3
3
|
import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts";
|
|
4
|
-
import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS } from "@aws-sdk/config-resolver";
|
|
4
|
+
import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@aws-sdk/config-resolver";
|
|
5
5
|
import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
|
|
6
6
|
import { Hash } from "@aws-sdk/hash-node";
|
|
7
7
|
import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry";
|
|
@@ -14,8 +14,8 @@ import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-node";
|
|
|
14
14
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
15
15
|
import { emitWarningIfUnsupportedVersion } from "@aws-sdk/smithy-client";
|
|
16
16
|
export var getRuntimeConfig = function (config) {
|
|
17
|
-
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;
|
|
18
18
|
emitWarningIfUnsupportedVersion(process.version);
|
|
19
19
|
var clientSharedValues = getSharedRuntimeConfig(config);
|
|
20
|
-
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : decorateDefaultCredentialProvider(credentialDefaultProvider), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new NodeHttpHandler(), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : loadNodeConfig(NODE_RETRY_MODE_CONFIG_OPTIONS), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Hash.bind(null, "sha256"), streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector,
|
|
20
|
+
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : decorateDefaultCredentialProvider(credentialDefaultProvider), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new NodeHttpHandler(), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : loadNodeConfig(NODE_RETRY_MODE_CONFIG_OPTIONS), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Hash.bind(null, "sha256"), streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS), useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS), utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : fromUtf8, utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : toUtf8 });
|
|
21
21
|
};
|
|
@@ -196,6 +196,14 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
196
196
|
* Optional logger for logging debug/info/warn/error.
|
|
197
197
|
*/
|
|
198
198
|
logger?: __Logger;
|
|
199
|
+
/**
|
|
200
|
+
* Enables IPv6/IPv4 dualstack endpoint.
|
|
201
|
+
*/
|
|
202
|
+
useDualstackEndpoint?: boolean | __Provider<boolean>;
|
|
203
|
+
/**
|
|
204
|
+
* Enables FIPS compatible endpoints.
|
|
205
|
+
*/
|
|
206
|
+
useFipsEndpoint?: boolean | __Provider<boolean>;
|
|
199
207
|
/**
|
|
200
208
|
* Unique service identifier.
|
|
201
209
|
* @internal
|
|
@@ -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";
|
package/dist-types/index.d.ts
CHANGED
|
@@ -1,136 +1,5 @@
|
|
|
1
|
-
export * from "./APIGatewayClient";
|
|
2
1
|
export * from "./APIGateway";
|
|
3
|
-
export * from "./
|
|
4
|
-
export * from "./commands
|
|
5
|
-
export * from "./
|
|
6
|
-
export * from "./
|
|
7
|
-
export * from "./commands/CreateDocumentationPartCommand";
|
|
8
|
-
export * from "./commands/CreateDocumentationVersionCommand";
|
|
9
|
-
export * from "./commands/CreateDomainNameCommand";
|
|
10
|
-
export * from "./commands/CreateModelCommand";
|
|
11
|
-
export * from "./commands/CreateRequestValidatorCommand";
|
|
12
|
-
export * from "./commands/CreateResourceCommand";
|
|
13
|
-
export * from "./commands/CreateRestApiCommand";
|
|
14
|
-
export * from "./commands/CreateStageCommand";
|
|
15
|
-
export * from "./commands/CreateUsagePlanCommand";
|
|
16
|
-
export * from "./commands/CreateUsagePlanKeyCommand";
|
|
17
|
-
export * from "./commands/CreateVpcLinkCommand";
|
|
18
|
-
export * from "./commands/DeleteApiKeyCommand";
|
|
19
|
-
export * from "./commands/DeleteAuthorizerCommand";
|
|
20
|
-
export * from "./commands/DeleteBasePathMappingCommand";
|
|
21
|
-
export * from "./commands/DeleteClientCertificateCommand";
|
|
22
|
-
export * from "./commands/DeleteDeploymentCommand";
|
|
23
|
-
export * from "./commands/DeleteDocumentationPartCommand";
|
|
24
|
-
export * from "./commands/DeleteDocumentationVersionCommand";
|
|
25
|
-
export * from "./commands/DeleteDomainNameCommand";
|
|
26
|
-
export * from "./commands/DeleteGatewayResponseCommand";
|
|
27
|
-
export * from "./commands/DeleteIntegrationCommand";
|
|
28
|
-
export * from "./commands/DeleteIntegrationResponseCommand";
|
|
29
|
-
export * from "./commands/DeleteMethodCommand";
|
|
30
|
-
export * from "./commands/DeleteMethodResponseCommand";
|
|
31
|
-
export * from "./commands/DeleteModelCommand";
|
|
32
|
-
export * from "./commands/DeleteRequestValidatorCommand";
|
|
33
|
-
export * from "./commands/DeleteResourceCommand";
|
|
34
|
-
export * from "./commands/DeleteRestApiCommand";
|
|
35
|
-
export * from "./commands/DeleteStageCommand";
|
|
36
|
-
export * from "./commands/DeleteUsagePlanCommand";
|
|
37
|
-
export * from "./commands/DeleteUsagePlanKeyCommand";
|
|
38
|
-
export * from "./commands/DeleteVpcLinkCommand";
|
|
39
|
-
export * from "./commands/FlushStageAuthorizersCacheCommand";
|
|
40
|
-
export * from "./commands/FlushStageCacheCommand";
|
|
41
|
-
export * from "./commands/GenerateClientCertificateCommand";
|
|
42
|
-
export * from "./commands/GetAccountCommand";
|
|
43
|
-
export * from "./commands/GetApiKeyCommand";
|
|
44
|
-
export * from "./commands/GetApiKeysCommand";
|
|
45
|
-
export * from "./pagination/GetApiKeysPaginator";
|
|
46
|
-
export * from "./commands/GetAuthorizerCommand";
|
|
47
|
-
export * from "./commands/GetAuthorizersCommand";
|
|
48
|
-
export * from "./commands/GetBasePathMappingCommand";
|
|
49
|
-
export * from "./commands/GetBasePathMappingsCommand";
|
|
50
|
-
export * from "./pagination/GetBasePathMappingsPaginator";
|
|
51
|
-
export * from "./commands/GetClientCertificateCommand";
|
|
52
|
-
export * from "./commands/GetClientCertificatesCommand";
|
|
53
|
-
export * from "./pagination/GetClientCertificatesPaginator";
|
|
54
|
-
export * from "./commands/GetDeploymentCommand";
|
|
55
|
-
export * from "./commands/GetDeploymentsCommand";
|
|
56
|
-
export * from "./pagination/GetDeploymentsPaginator";
|
|
57
|
-
export * from "./commands/GetDocumentationPartCommand";
|
|
58
|
-
export * from "./commands/GetDocumentationPartsCommand";
|
|
59
|
-
export * from "./commands/GetDocumentationVersionCommand";
|
|
60
|
-
export * from "./commands/GetDocumentationVersionsCommand";
|
|
61
|
-
export * from "./commands/GetDomainNameCommand";
|
|
62
|
-
export * from "./commands/GetDomainNamesCommand";
|
|
63
|
-
export * from "./pagination/GetDomainNamesPaginator";
|
|
64
|
-
export * from "./commands/GetExportCommand";
|
|
65
|
-
export * from "./commands/GetGatewayResponseCommand";
|
|
66
|
-
export * from "./commands/GetGatewayResponsesCommand";
|
|
67
|
-
export * from "./commands/GetIntegrationCommand";
|
|
68
|
-
export * from "./commands/GetIntegrationResponseCommand";
|
|
69
|
-
export * from "./commands/GetMethodCommand";
|
|
70
|
-
export * from "./commands/GetMethodResponseCommand";
|
|
71
|
-
export * from "./commands/GetModelCommand";
|
|
72
|
-
export * from "./commands/GetModelsCommand";
|
|
73
|
-
export * from "./pagination/GetModelsPaginator";
|
|
74
|
-
export * from "./commands/GetModelTemplateCommand";
|
|
75
|
-
export * from "./commands/GetRequestValidatorCommand";
|
|
76
|
-
export * from "./commands/GetRequestValidatorsCommand";
|
|
77
|
-
export * from "./commands/GetResourceCommand";
|
|
78
|
-
export * from "./commands/GetResourcesCommand";
|
|
79
|
-
export * from "./pagination/GetResourcesPaginator";
|
|
80
|
-
export * from "./commands/GetRestApiCommand";
|
|
81
|
-
export * from "./commands/GetRestApisCommand";
|
|
82
|
-
export * from "./pagination/GetRestApisPaginator";
|
|
83
|
-
export * from "./commands/GetSdkCommand";
|
|
84
|
-
export * from "./commands/GetSdkTypeCommand";
|
|
85
|
-
export * from "./commands/GetSdkTypesCommand";
|
|
86
|
-
export * from "./commands/GetStageCommand";
|
|
87
|
-
export * from "./commands/GetStagesCommand";
|
|
88
|
-
export * from "./commands/GetTagsCommand";
|
|
89
|
-
export * from "./commands/GetUsageCommand";
|
|
90
|
-
export * from "./pagination/GetUsagePaginator";
|
|
91
|
-
export * from "./commands/GetUsagePlanCommand";
|
|
92
|
-
export * from "./commands/GetUsagePlanKeyCommand";
|
|
93
|
-
export * from "./commands/GetUsagePlanKeysCommand";
|
|
94
|
-
export * from "./pagination/GetUsagePlanKeysPaginator";
|
|
95
|
-
export * from "./commands/GetUsagePlansCommand";
|
|
96
|
-
export * from "./pagination/GetUsagePlansPaginator";
|
|
97
|
-
export * from "./commands/GetVpcLinkCommand";
|
|
98
|
-
export * from "./commands/GetVpcLinksCommand";
|
|
99
|
-
export * from "./pagination/GetVpcLinksPaginator";
|
|
100
|
-
export * from "./commands/ImportApiKeysCommand";
|
|
101
|
-
export * from "./commands/ImportDocumentationPartsCommand";
|
|
102
|
-
export * from "./commands/ImportRestApiCommand";
|
|
103
|
-
export * from "./commands/PutGatewayResponseCommand";
|
|
104
|
-
export * from "./commands/PutIntegrationCommand";
|
|
105
|
-
export * from "./commands/PutIntegrationResponseCommand";
|
|
106
|
-
export * from "./commands/PutMethodCommand";
|
|
107
|
-
export * from "./commands/PutMethodResponseCommand";
|
|
108
|
-
export * from "./commands/PutRestApiCommand";
|
|
109
|
-
export * from "./commands/TagResourceCommand";
|
|
110
|
-
export * from "./commands/TestInvokeAuthorizerCommand";
|
|
111
|
-
export * from "./commands/TestInvokeMethodCommand";
|
|
112
|
-
export * from "./commands/UntagResourceCommand";
|
|
113
|
-
export * from "./commands/UpdateAccountCommand";
|
|
114
|
-
export * from "./commands/UpdateApiKeyCommand";
|
|
115
|
-
export * from "./commands/UpdateAuthorizerCommand";
|
|
116
|
-
export * from "./commands/UpdateBasePathMappingCommand";
|
|
117
|
-
export * from "./commands/UpdateClientCertificateCommand";
|
|
118
|
-
export * from "./commands/UpdateDeploymentCommand";
|
|
119
|
-
export * from "./commands/UpdateDocumentationPartCommand";
|
|
120
|
-
export * from "./commands/UpdateDocumentationVersionCommand";
|
|
121
|
-
export * from "./commands/UpdateDomainNameCommand";
|
|
122
|
-
export * from "./commands/UpdateGatewayResponseCommand";
|
|
123
|
-
export * from "./commands/UpdateIntegrationCommand";
|
|
124
|
-
export * from "./commands/UpdateIntegrationResponseCommand";
|
|
125
|
-
export * from "./commands/UpdateMethodCommand";
|
|
126
|
-
export * from "./commands/UpdateMethodResponseCommand";
|
|
127
|
-
export * from "./commands/UpdateModelCommand";
|
|
128
|
-
export * from "./commands/UpdateRequestValidatorCommand";
|
|
129
|
-
export * from "./commands/UpdateResourceCommand";
|
|
130
|
-
export * from "./commands/UpdateRestApiCommand";
|
|
131
|
-
export * from "./commands/UpdateStageCommand";
|
|
132
|
-
export * from "./commands/UpdateUsageCommand";
|
|
133
|
-
export * from "./commands/UpdateUsagePlanCommand";
|
|
134
|
-
export * from "./commands/UpdateVpcLinkCommand";
|
|
135
|
-
export * from "./pagination/Interfaces";
|
|
136
|
-
export * from "./models/index";
|
|
2
|
+
export * from "./APIGatewayClient";
|
|
3
|
+
export * from "./commands";
|
|
4
|
+
export * from "./models";
|
|
5
|
+
export * from "./pagination";
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export * from "./GetApiKeysPaginator";
|
|
2
|
+
export * from "./GetBasePathMappingsPaginator";
|
|
3
|
+
export * from "./GetClientCertificatesPaginator";
|
|
4
|
+
export * from "./GetDeploymentsPaginator";
|
|
5
|
+
export * from "./GetDomainNamesPaginator";
|
|
6
|
+
export * from "./GetModelsPaginator";
|
|
7
|
+
export * from "./GetResourcesPaginator";
|
|
8
|
+
export * from "./GetRestApisPaginator";
|
|
9
|
+
export * from "./GetUsagePaginator";
|
|
10
|
+
export * from "./GetUsagePlanKeysPaginator";
|
|
11
|
+
export * from "./Interfaces";
|
|
12
|
+
export * from "./GetUsagePlansPaginator";
|
|
13
|
+
export * from "./GetVpcLinksPaginator";
|
|
@@ -16,6 +16,8 @@ export declare const getRuntimeConfig: (config: APIGatewayClientConfig) => {
|
|
|
16
16
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
17
17
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
18
18
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
19
|
+
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
20
|
+
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
19
21
|
utf8Decoder: import("@aws-sdk/types").Decoder;
|
|
20
22
|
utf8Encoder: import("@aws-sdk/types").Encoder;
|
|
21
23
|
apiVersion: string;
|
|
@@ -16,6 +16,8 @@ export declare const getRuntimeConfig: (config: APIGatewayClientConfig) => {
|
|
|
16
16
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
17
17
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
18
18
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
19
|
+
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
20
|
+
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
19
21
|
utf8Decoder: import("@aws-sdk/types").Decoder;
|
|
20
22
|
utf8Encoder: import("@aws-sdk/types").Encoder;
|
|
21
23
|
apiVersion: string;
|
|
@@ -18,6 +18,8 @@ export declare const getRuntimeConfig: (config: APIGatewayClientConfig) => {
|
|
|
18
18
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
19
19
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
20
20
|
logger: import("@aws-sdk/types").Logger;
|
|
21
|
+
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
22
|
+
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
21
23
|
serviceId: string;
|
|
22
24
|
region: string | import("@aws-sdk/types").Provider<string> | import("@aws-sdk/types").Provider<any>;
|
|
23
25
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
@@ -158,6 +158,10 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
158
158
|
|
|
159
159
|
logger?: __Logger;
|
|
160
160
|
|
|
161
|
+
useDualstackEndpoint?: boolean | __Provider<boolean>;
|
|
162
|
+
|
|
163
|
+
useFipsEndpoint?: boolean | __Provider<boolean>;
|
|
164
|
+
|
|
161
165
|
serviceId?: string;
|
|
162
166
|
|
|
163
167
|
region?: string | __Provider<string>;
|