@aws-sdk/client-global-accelerator 3.45.0 → 3.47.2
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 +44 -0
- package/dist-cjs/models/models_0.js +3 -111
- package/dist-cjs/runtimeConfig.browser.js +7 -2
- package/dist-cjs/runtimeConfig.js +9 -3
- package/dist-es/models/models_0.js +0 -72
- package/dist-es/runtimeConfig.browser.js +12 -3
- package/dist-es/runtimeConfig.js +13 -6
- package/dist-types/GlobalAcceleratorClient.d.ts +5 -1
- package/dist-types/models/models_0.d.ts +0 -108
- package/dist-types/runtimeConfig.browser.d.ts +3 -2
- package/dist-types/runtimeConfig.d.ts +4 -3
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/ts3.4/GlobalAcceleratorClient.d.ts +3 -1
- package/dist-types/ts3.4/models/models_0.d.ts +0 -72
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +3 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
- package/package.json +39 -46
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,50 @@
|
|
|
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.47.2](https://github.com/aws/aws-sdk-js-v3/compare/v3.47.1...v3.47.2) (2022-01-21)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/client-global-accelerator
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
## [3.47.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.47.0-release-test-1...v3.47.1) (2022-01-20)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @aws-sdk/client-global-accelerator
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
# [3.47.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.46.0...v3.47.0) (2022-01-15)
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
### Features
|
|
26
|
+
|
|
27
|
+
* **clients:** update clients to use default values inferred from defaults mode ([#3192](https://github.com/aws/aws-sdk-js-v3/issues/3192)) ([9152e21](https://github.com/aws/aws-sdk-js-v3/commit/9152e210c6ec29f34bb070eaf2874039022e6ab7))
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
# [3.46.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.45.0...v3.46.0) (2022-01-07)
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
### Bug Fixes
|
|
37
|
+
|
|
38
|
+
* **clients:** update clean:dist script to delete dist-* folder ([#3155](https://github.com/aws/aws-sdk-js-v3/issues/3155)) ([cdb1709](https://github.com/aws/aws-sdk-js-v3/commit/cdb17090f82d1fc8755811c82cbed5976ec7e60b))
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
### Features
|
|
42
|
+
|
|
43
|
+
* **clients:** extend typedoc.json from root ([#3136](https://github.com/aws/aws-sdk-js-v3/issues/3136)) ([f6a3ef5](https://github.com/aws/aws-sdk-js-v3/commit/f6a3ef541ae2d92872d09d8cab6727911287ebb2))
|
|
44
|
+
* end support for Node.js 10.x ([#3122](https://github.com/aws/aws-sdk-js-v3/issues/3122)) ([7acf18a](https://github.com/aws/aws-sdk-js-v3/commit/7acf18abd3fb1cc461f809110cdb0d7968c2070e))
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
|
|
6
50
|
# [3.45.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.44.0...v3.45.0) (2021-12-23)
|
|
7
51
|
|
|
8
52
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
5
|
-
exports.WithdrawByoipCidrResponse = exports.WithdrawByoipCidrRequest = exports.UpdateListenerResponse = exports.UpdateListenerRequest = exports.UpdateEndpointGroupResponse = exports.UpdateEndpointGroupRequest = exports.UpdateCustomRoutingListenerResponse = exports.UpdateCustomRoutingListenerRequest = exports.UpdateCustomRoutingAcceleratorAttributesResponse = exports.UpdateCustomRoutingAcceleratorAttributesRequest = exports.UpdateCustomRoutingAcceleratorResponse = exports.UpdateCustomRoutingAcceleratorRequest = exports.UpdateAcceleratorAttributesResponse = exports.UpdateAcceleratorAttributesRequest = exports.UpdateAcceleratorResponse =
|
|
3
|
+
exports.DeleteListenerRequest = exports.DeleteEndpointGroupRequest = exports.DeleteCustomRoutingListenerRequest = exports.DeleteCustomRoutingEndpointGroupRequest = exports.DeleteCustomRoutingAcceleratorRequest = exports.DeleteAcceleratorRequest = exports.CustomRoutingDestinationTrafficState = exports.CustomRoutingAcceleratorAttributes = exports.CreateListenerResponse = exports.Listener = exports.CreateListenerRequest = exports.CreateEndpointGroupResponse = exports.EndpointGroup = exports.EndpointDescription = exports.CreateEndpointGroupRequest = exports.PortOverride = exports.HealthCheckProtocol = exports.EndpointConfiguration = exports.CreateCustomRoutingListenerResponse = exports.CustomRoutingListener = exports.CreateCustomRoutingListenerRequest = exports.PortRange = exports.CreateCustomRoutingEndpointGroupResponse = exports.CustomRoutingEndpointGroup = exports.CustomRoutingDestinationDescription = exports.Protocol = exports.CreateCustomRoutingEndpointGroupRequest = exports.CustomRoutingDestinationConfiguration = exports.CustomRoutingProtocol = exports.CreateCustomRoutingAcceleratorResponse = exports.CustomRoutingAccelerator = exports.CreateCustomRoutingAcceleratorRequest = exports.CreateAcceleratorResponse = exports.CreateAcceleratorRequest = exports.Tag = exports.CidrAuthorizationContext = exports.AllowCustomRoutingTrafficRequest = exports.AdvertiseByoipCidrResponse = exports.ByoipCidr = exports.ByoipCidrState = exports.ByoipCidrEvent = exports.AdvertiseByoipCidrRequest = exports.AddCustomRoutingEndpointsResponse = exports.CustomRoutingEndpointDescription = exports.AddCustomRoutingEndpointsRequest = exports.CustomRoutingEndpointConfiguration = exports.AcceleratorAttributes = exports.Accelerator = exports.IpSet = exports.IpAddressType = void 0;
|
|
4
|
+
exports.UpdateAcceleratorRequest = exports.UntagResourceResponse = exports.UntagResourceRequest = exports.TagResourceResponse = exports.TagResourceRequest = exports.RemoveCustomRoutingEndpointsRequest = exports.ProvisionByoipCidrResponse = exports.ProvisionByoipCidrRequest = exports.ListTagsForResourceResponse = exports.ListTagsForResourceRequest = exports.ListListenersResponse = exports.ListListenersRequest = exports.ListEndpointGroupsResponse = exports.ListEndpointGroupsRequest = exports.ListCustomRoutingPortMappingsByDestinationResponse = exports.ListCustomRoutingPortMappingsByDestinationRequest = exports.ListCustomRoutingPortMappingsResponse = exports.PortMapping = exports.ListCustomRoutingPortMappingsRequest = exports.ListCustomRoutingListenersResponse = exports.ListCustomRoutingListenersRequest = exports.ListCustomRoutingEndpointGroupsResponse = exports.ListCustomRoutingEndpointGroupsRequest = exports.ListCustomRoutingAcceleratorsResponse = exports.ListCustomRoutingAcceleratorsRequest = exports.ListByoipCidrsResponse = exports.ListByoipCidrsRequest = exports.ListAcceleratorsResponse = exports.ListAcceleratorsRequest = exports.DestinationPortMapping = exports.SocketAddress = exports.DescribeListenerResponse = exports.DescribeListenerRequest = exports.DescribeEndpointGroupResponse = exports.DescribeEndpointGroupRequest = exports.DescribeCustomRoutingListenerResponse = exports.DescribeCustomRoutingListenerRequest = exports.DescribeCustomRoutingEndpointGroupResponse = exports.DescribeCustomRoutingEndpointGroupRequest = exports.DescribeCustomRoutingAcceleratorAttributesResponse = exports.DescribeCustomRoutingAcceleratorAttributesRequest = exports.DescribeCustomRoutingAcceleratorResponse = exports.DescribeCustomRoutingAcceleratorRequest = exports.DescribeAcceleratorAttributesResponse = exports.DescribeAcceleratorAttributesRequest = exports.DescribeAcceleratorResponse = exports.DescribeAcceleratorRequest = exports.DeprovisionByoipCidrResponse = exports.DeprovisionByoipCidrRequest = exports.DenyCustomRoutingTrafficRequest = void 0;
|
|
5
|
+
exports.WithdrawByoipCidrResponse = exports.WithdrawByoipCidrRequest = exports.UpdateListenerResponse = exports.UpdateListenerRequest = exports.UpdateEndpointGroupResponse = exports.UpdateEndpointGroupRequest = exports.UpdateCustomRoutingListenerResponse = exports.UpdateCustomRoutingListenerRequest = exports.UpdateCustomRoutingAcceleratorAttributesResponse = exports.UpdateCustomRoutingAcceleratorAttributesRequest = exports.UpdateCustomRoutingAcceleratorResponse = exports.UpdateCustomRoutingAcceleratorRequest = exports.UpdateAcceleratorAttributesResponse = exports.UpdateAcceleratorAttributesRequest = exports.UpdateAcceleratorResponse = void 0;
|
|
6
6
|
var IpAddressType;
|
|
7
7
|
(function (IpAddressType) {
|
|
8
8
|
IpAddressType["IPV4"] = "IPV4";
|
|
@@ -25,24 +25,6 @@ var AcceleratorAttributes;
|
|
|
25
25
|
...obj,
|
|
26
26
|
});
|
|
27
27
|
})(AcceleratorAttributes = exports.AcceleratorAttributes || (exports.AcceleratorAttributes = {}));
|
|
28
|
-
var AcceleratorNotDisabledException;
|
|
29
|
-
(function (AcceleratorNotDisabledException) {
|
|
30
|
-
AcceleratorNotDisabledException.filterSensitiveLog = (obj) => ({
|
|
31
|
-
...obj,
|
|
32
|
-
});
|
|
33
|
-
})(AcceleratorNotDisabledException = exports.AcceleratorNotDisabledException || (exports.AcceleratorNotDisabledException = {}));
|
|
34
|
-
var AcceleratorNotFoundException;
|
|
35
|
-
(function (AcceleratorNotFoundException) {
|
|
36
|
-
AcceleratorNotFoundException.filterSensitiveLog = (obj) => ({
|
|
37
|
-
...obj,
|
|
38
|
-
});
|
|
39
|
-
})(AcceleratorNotFoundException = exports.AcceleratorNotFoundException || (exports.AcceleratorNotFoundException = {}));
|
|
40
|
-
var AccessDeniedException;
|
|
41
|
-
(function (AccessDeniedException) {
|
|
42
|
-
AccessDeniedException.filterSensitiveLog = (obj) => ({
|
|
43
|
-
...obj,
|
|
44
|
-
});
|
|
45
|
-
})(AccessDeniedException = exports.AccessDeniedException || (exports.AccessDeniedException = {}));
|
|
46
28
|
var CustomRoutingEndpointConfiguration;
|
|
47
29
|
(function (CustomRoutingEndpointConfiguration) {
|
|
48
30
|
CustomRoutingEndpointConfiguration.filterSensitiveLog = (obj) => ({
|
|
@@ -67,42 +49,6 @@ var AddCustomRoutingEndpointsResponse;
|
|
|
67
49
|
...obj,
|
|
68
50
|
});
|
|
69
51
|
})(AddCustomRoutingEndpointsResponse = exports.AddCustomRoutingEndpointsResponse || (exports.AddCustomRoutingEndpointsResponse = {}));
|
|
70
|
-
var ConflictException;
|
|
71
|
-
(function (ConflictException) {
|
|
72
|
-
ConflictException.filterSensitiveLog = (obj) => ({
|
|
73
|
-
...obj,
|
|
74
|
-
});
|
|
75
|
-
})(ConflictException = exports.ConflictException || (exports.ConflictException = {}));
|
|
76
|
-
var EndpointAlreadyExistsException;
|
|
77
|
-
(function (EndpointAlreadyExistsException) {
|
|
78
|
-
EndpointAlreadyExistsException.filterSensitiveLog = (obj) => ({
|
|
79
|
-
...obj,
|
|
80
|
-
});
|
|
81
|
-
})(EndpointAlreadyExistsException = exports.EndpointAlreadyExistsException || (exports.EndpointAlreadyExistsException = {}));
|
|
82
|
-
var EndpointGroupNotFoundException;
|
|
83
|
-
(function (EndpointGroupNotFoundException) {
|
|
84
|
-
EndpointGroupNotFoundException.filterSensitiveLog = (obj) => ({
|
|
85
|
-
...obj,
|
|
86
|
-
});
|
|
87
|
-
})(EndpointGroupNotFoundException = exports.EndpointGroupNotFoundException || (exports.EndpointGroupNotFoundException = {}));
|
|
88
|
-
var InternalServiceErrorException;
|
|
89
|
-
(function (InternalServiceErrorException) {
|
|
90
|
-
InternalServiceErrorException.filterSensitiveLog = (obj) => ({
|
|
91
|
-
...obj,
|
|
92
|
-
});
|
|
93
|
-
})(InternalServiceErrorException = exports.InternalServiceErrorException || (exports.InternalServiceErrorException = {}));
|
|
94
|
-
var InvalidArgumentException;
|
|
95
|
-
(function (InvalidArgumentException) {
|
|
96
|
-
InvalidArgumentException.filterSensitiveLog = (obj) => ({
|
|
97
|
-
...obj,
|
|
98
|
-
});
|
|
99
|
-
})(InvalidArgumentException = exports.InvalidArgumentException || (exports.InvalidArgumentException = {}));
|
|
100
|
-
var LimitExceededException;
|
|
101
|
-
(function (LimitExceededException) {
|
|
102
|
-
LimitExceededException.filterSensitiveLog = (obj) => ({
|
|
103
|
-
...obj,
|
|
104
|
-
});
|
|
105
|
-
})(LimitExceededException = exports.LimitExceededException || (exports.LimitExceededException = {}));
|
|
106
52
|
var AdvertiseByoipCidrRequest;
|
|
107
53
|
(function (AdvertiseByoipCidrRequest) {
|
|
108
54
|
AdvertiseByoipCidrRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -141,36 +87,12 @@ var AdvertiseByoipCidrResponse;
|
|
|
141
87
|
...obj,
|
|
142
88
|
});
|
|
143
89
|
})(AdvertiseByoipCidrResponse = exports.AdvertiseByoipCidrResponse || (exports.AdvertiseByoipCidrResponse = {}));
|
|
144
|
-
var ByoipCidrNotFoundException;
|
|
145
|
-
(function (ByoipCidrNotFoundException) {
|
|
146
|
-
ByoipCidrNotFoundException.filterSensitiveLog = (obj) => ({
|
|
147
|
-
...obj,
|
|
148
|
-
});
|
|
149
|
-
})(ByoipCidrNotFoundException = exports.ByoipCidrNotFoundException || (exports.ByoipCidrNotFoundException = {}));
|
|
150
|
-
var IncorrectCidrStateException;
|
|
151
|
-
(function (IncorrectCidrStateException) {
|
|
152
|
-
IncorrectCidrStateException.filterSensitiveLog = (obj) => ({
|
|
153
|
-
...obj,
|
|
154
|
-
});
|
|
155
|
-
})(IncorrectCidrStateException = exports.IncorrectCidrStateException || (exports.IncorrectCidrStateException = {}));
|
|
156
90
|
var AllowCustomRoutingTrafficRequest;
|
|
157
91
|
(function (AllowCustomRoutingTrafficRequest) {
|
|
158
92
|
AllowCustomRoutingTrafficRequest.filterSensitiveLog = (obj) => ({
|
|
159
93
|
...obj,
|
|
160
94
|
});
|
|
161
95
|
})(AllowCustomRoutingTrafficRequest = exports.AllowCustomRoutingTrafficRequest || (exports.AllowCustomRoutingTrafficRequest = {}));
|
|
162
|
-
var AssociatedEndpointGroupFoundException;
|
|
163
|
-
(function (AssociatedEndpointGroupFoundException) {
|
|
164
|
-
AssociatedEndpointGroupFoundException.filterSensitiveLog = (obj) => ({
|
|
165
|
-
...obj,
|
|
166
|
-
});
|
|
167
|
-
})(AssociatedEndpointGroupFoundException = exports.AssociatedEndpointGroupFoundException || (exports.AssociatedEndpointGroupFoundException = {}));
|
|
168
|
-
var AssociatedListenerFoundException;
|
|
169
|
-
(function (AssociatedListenerFoundException) {
|
|
170
|
-
AssociatedListenerFoundException.filterSensitiveLog = (obj) => ({
|
|
171
|
-
...obj,
|
|
172
|
-
});
|
|
173
|
-
})(AssociatedListenerFoundException = exports.AssociatedListenerFoundException || (exports.AssociatedListenerFoundException = {}));
|
|
174
96
|
var CidrAuthorizationContext;
|
|
175
97
|
(function (CidrAuthorizationContext) {
|
|
176
98
|
CidrAuthorizationContext.filterSensitiveLog = (obj) => ({
|
|
@@ -253,24 +175,6 @@ var CreateCustomRoutingEndpointGroupResponse;
|
|
|
253
175
|
...obj,
|
|
254
176
|
});
|
|
255
177
|
})(CreateCustomRoutingEndpointGroupResponse = exports.CreateCustomRoutingEndpointGroupResponse || (exports.CreateCustomRoutingEndpointGroupResponse = {}));
|
|
256
|
-
var EndpointGroupAlreadyExistsException;
|
|
257
|
-
(function (EndpointGroupAlreadyExistsException) {
|
|
258
|
-
EndpointGroupAlreadyExistsException.filterSensitiveLog = (obj) => ({
|
|
259
|
-
...obj,
|
|
260
|
-
});
|
|
261
|
-
})(EndpointGroupAlreadyExistsException = exports.EndpointGroupAlreadyExistsException || (exports.EndpointGroupAlreadyExistsException = {}));
|
|
262
|
-
var InvalidPortRangeException;
|
|
263
|
-
(function (InvalidPortRangeException) {
|
|
264
|
-
InvalidPortRangeException.filterSensitiveLog = (obj) => ({
|
|
265
|
-
...obj,
|
|
266
|
-
});
|
|
267
|
-
})(InvalidPortRangeException = exports.InvalidPortRangeException || (exports.InvalidPortRangeException = {}));
|
|
268
|
-
var ListenerNotFoundException;
|
|
269
|
-
(function (ListenerNotFoundException) {
|
|
270
|
-
ListenerNotFoundException.filterSensitiveLog = (obj) => ({
|
|
271
|
-
...obj,
|
|
272
|
-
});
|
|
273
|
-
})(ListenerNotFoundException = exports.ListenerNotFoundException || (exports.ListenerNotFoundException = {}));
|
|
274
178
|
var PortRange;
|
|
275
179
|
(function (PortRange) {
|
|
276
180
|
PortRange.filterSensitiveLog = (obj) => ({
|
|
@@ -528,18 +432,6 @@ var DestinationPortMapping;
|
|
|
528
432
|
...obj,
|
|
529
433
|
});
|
|
530
434
|
})(DestinationPortMapping = exports.DestinationPortMapping || (exports.DestinationPortMapping = {}));
|
|
531
|
-
var EndpointNotFoundException;
|
|
532
|
-
(function (EndpointNotFoundException) {
|
|
533
|
-
EndpointNotFoundException.filterSensitiveLog = (obj) => ({
|
|
534
|
-
...obj,
|
|
535
|
-
});
|
|
536
|
-
})(EndpointNotFoundException = exports.EndpointNotFoundException || (exports.EndpointNotFoundException = {}));
|
|
537
|
-
var InvalidNextTokenException;
|
|
538
|
-
(function (InvalidNextTokenException) {
|
|
539
|
-
InvalidNextTokenException.filterSensitiveLog = (obj) => ({
|
|
540
|
-
...obj,
|
|
541
|
-
});
|
|
542
|
-
})(InvalidNextTokenException = exports.InvalidNextTokenException || (exports.InvalidNextTokenException = {}));
|
|
543
435
|
var ListAcceleratorsRequest;
|
|
544
436
|
(function (ListAcceleratorsRequest) {
|
|
545
437
|
ListAcceleratorsRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -13,13 +13,18 @@ const util_body_length_browser_1 = require("@aws-sdk/util-body-length-browser");
|
|
|
13
13
|
const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
|
|
14
14
|
const util_utf8_browser_1 = require("@aws-sdk/util-utf8-browser");
|
|
15
15
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
16
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
17
|
+
const util_defaults_mode_browser_1 = require("@aws-sdk/util-defaults-mode-browser");
|
|
16
18
|
const getRuntimeConfig = (config) => {
|
|
17
19
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
20
|
+
const defaultsMode = util_defaults_mode_browser_1.resolveDefaultsModeConfig(config);
|
|
21
|
+
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
18
22
|
const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
|
|
19
23
|
return {
|
|
20
24
|
...clientSharedValues,
|
|
21
25
|
...config,
|
|
22
26
|
runtime: "browser",
|
|
27
|
+
defaultsMode,
|
|
23
28
|
base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : util_base64_browser_1.fromBase64,
|
|
24
29
|
base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_browser_1.toBase64,
|
|
25
30
|
bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_browser_1.calculateBodyLength,
|
|
@@ -27,8 +32,8 @@ const getRuntimeConfig = (config) => {
|
|
|
27
32
|
defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : util_user_agent_browser_1.defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
28
33
|
maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : middleware_retry_1.DEFAULT_MAX_ATTEMPTS,
|
|
29
34
|
region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalid_dependency_1.invalidProvider("Region is missing"),
|
|
30
|
-
requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new fetch_http_handler_1.FetchHttpHandler(),
|
|
31
|
-
retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (() =>
|
|
35
|
+
requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new fetch_http_handler_1.FetchHttpHandler(defaultConfigProvider),
|
|
36
|
+
retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE),
|
|
32
37
|
sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : sha256_browser_1.Sha256,
|
|
33
38
|
streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : fetch_http_handler_1.streamCollector,
|
|
34
39
|
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)),
|
|
@@ -16,14 +16,17 @@ const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
|
|
|
16
16
|
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
|
+
const util_defaults_mode_node_1 = require("@aws-sdk/util-defaults-mode-node");
|
|
19
20
|
const getRuntimeConfig = (config) => {
|
|
20
21
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
21
|
-
|
|
22
|
+
const defaultsMode = util_defaults_mode_node_1.resolveDefaultsModeConfig(config);
|
|
23
|
+
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
22
24
|
const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
|
|
23
25
|
return {
|
|
24
26
|
...clientSharedValues,
|
|
25
27
|
...config,
|
|
26
28
|
runtime: "node",
|
|
29
|
+
defaultsMode,
|
|
27
30
|
base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : util_base64_node_1.fromBase64,
|
|
28
31
|
base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_node_1.toBase64,
|
|
29
32
|
bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_node_1.calculateBodyLength,
|
|
@@ -31,8 +34,11 @@ const getRuntimeConfig = (config) => {
|
|
|
31
34
|
defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : util_user_agent_node_1.defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
32
35
|
maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : node_config_provider_1.loadConfig(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
|
|
33
36
|
region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : node_config_provider_1.loadConfig(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS),
|
|
34
|
-
requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new node_http_handler_1.NodeHttpHandler(),
|
|
35
|
-
retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : node_config_provider_1.loadConfig(
|
|
37
|
+
requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new node_http_handler_1.NodeHttpHandler(defaultConfigProvider),
|
|
38
|
+
retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : node_config_provider_1.loadConfig({
|
|
39
|
+
...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
40
|
+
default: async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE,
|
|
41
|
+
}),
|
|
36
42
|
sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : hash_node_1.Hash.bind(null, "sha256"),
|
|
37
43
|
streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : node_http_handler_1.streamCollector,
|
|
38
44
|
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),
|
|
@@ -15,18 +15,6 @@ export var AcceleratorAttributes;
|
|
|
15
15
|
(function (AcceleratorAttributes) {
|
|
16
16
|
AcceleratorAttributes.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
17
17
|
})(AcceleratorAttributes || (AcceleratorAttributes = {}));
|
|
18
|
-
export var AcceleratorNotDisabledException;
|
|
19
|
-
(function (AcceleratorNotDisabledException) {
|
|
20
|
-
AcceleratorNotDisabledException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
21
|
-
})(AcceleratorNotDisabledException || (AcceleratorNotDisabledException = {}));
|
|
22
|
-
export var AcceleratorNotFoundException;
|
|
23
|
-
(function (AcceleratorNotFoundException) {
|
|
24
|
-
AcceleratorNotFoundException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
25
|
-
})(AcceleratorNotFoundException || (AcceleratorNotFoundException = {}));
|
|
26
|
-
export var AccessDeniedException;
|
|
27
|
-
(function (AccessDeniedException) {
|
|
28
|
-
AccessDeniedException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
29
|
-
})(AccessDeniedException || (AccessDeniedException = {}));
|
|
30
18
|
export var CustomRoutingEndpointConfiguration;
|
|
31
19
|
(function (CustomRoutingEndpointConfiguration) {
|
|
32
20
|
CustomRoutingEndpointConfiguration.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -43,30 +31,6 @@ export var AddCustomRoutingEndpointsResponse;
|
|
|
43
31
|
(function (AddCustomRoutingEndpointsResponse) {
|
|
44
32
|
AddCustomRoutingEndpointsResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
45
33
|
})(AddCustomRoutingEndpointsResponse || (AddCustomRoutingEndpointsResponse = {}));
|
|
46
|
-
export var ConflictException;
|
|
47
|
-
(function (ConflictException) {
|
|
48
|
-
ConflictException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
49
|
-
})(ConflictException || (ConflictException = {}));
|
|
50
|
-
export var EndpointAlreadyExistsException;
|
|
51
|
-
(function (EndpointAlreadyExistsException) {
|
|
52
|
-
EndpointAlreadyExistsException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
53
|
-
})(EndpointAlreadyExistsException || (EndpointAlreadyExistsException = {}));
|
|
54
|
-
export var EndpointGroupNotFoundException;
|
|
55
|
-
(function (EndpointGroupNotFoundException) {
|
|
56
|
-
EndpointGroupNotFoundException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
57
|
-
})(EndpointGroupNotFoundException || (EndpointGroupNotFoundException = {}));
|
|
58
|
-
export var InternalServiceErrorException;
|
|
59
|
-
(function (InternalServiceErrorException) {
|
|
60
|
-
InternalServiceErrorException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
61
|
-
})(InternalServiceErrorException || (InternalServiceErrorException = {}));
|
|
62
|
-
export var InvalidArgumentException;
|
|
63
|
-
(function (InvalidArgumentException) {
|
|
64
|
-
InvalidArgumentException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
65
|
-
})(InvalidArgumentException || (InvalidArgumentException = {}));
|
|
66
|
-
export var LimitExceededException;
|
|
67
|
-
(function (LimitExceededException) {
|
|
68
|
-
LimitExceededException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
69
|
-
})(LimitExceededException || (LimitExceededException = {}));
|
|
70
34
|
export var AdvertiseByoipCidrRequest;
|
|
71
35
|
(function (AdvertiseByoipCidrRequest) {
|
|
72
36
|
AdvertiseByoipCidrRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -97,26 +61,10 @@ export var AdvertiseByoipCidrResponse;
|
|
|
97
61
|
(function (AdvertiseByoipCidrResponse) {
|
|
98
62
|
AdvertiseByoipCidrResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
99
63
|
})(AdvertiseByoipCidrResponse || (AdvertiseByoipCidrResponse = {}));
|
|
100
|
-
export var ByoipCidrNotFoundException;
|
|
101
|
-
(function (ByoipCidrNotFoundException) {
|
|
102
|
-
ByoipCidrNotFoundException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
103
|
-
})(ByoipCidrNotFoundException || (ByoipCidrNotFoundException = {}));
|
|
104
|
-
export var IncorrectCidrStateException;
|
|
105
|
-
(function (IncorrectCidrStateException) {
|
|
106
|
-
IncorrectCidrStateException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
107
|
-
})(IncorrectCidrStateException || (IncorrectCidrStateException = {}));
|
|
108
64
|
export var AllowCustomRoutingTrafficRequest;
|
|
109
65
|
(function (AllowCustomRoutingTrafficRequest) {
|
|
110
66
|
AllowCustomRoutingTrafficRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
111
67
|
})(AllowCustomRoutingTrafficRequest || (AllowCustomRoutingTrafficRequest = {}));
|
|
112
|
-
export var AssociatedEndpointGroupFoundException;
|
|
113
|
-
(function (AssociatedEndpointGroupFoundException) {
|
|
114
|
-
AssociatedEndpointGroupFoundException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
115
|
-
})(AssociatedEndpointGroupFoundException || (AssociatedEndpointGroupFoundException = {}));
|
|
116
|
-
export var AssociatedListenerFoundException;
|
|
117
|
-
(function (AssociatedListenerFoundException) {
|
|
118
|
-
AssociatedListenerFoundException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
119
|
-
})(AssociatedListenerFoundException || (AssociatedListenerFoundException = {}));
|
|
120
68
|
export var CidrAuthorizationContext;
|
|
121
69
|
(function (CidrAuthorizationContext) {
|
|
122
70
|
CidrAuthorizationContext.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -175,18 +123,6 @@ export var CreateCustomRoutingEndpointGroupResponse;
|
|
|
175
123
|
(function (CreateCustomRoutingEndpointGroupResponse) {
|
|
176
124
|
CreateCustomRoutingEndpointGroupResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
177
125
|
})(CreateCustomRoutingEndpointGroupResponse || (CreateCustomRoutingEndpointGroupResponse = {}));
|
|
178
|
-
export var EndpointGroupAlreadyExistsException;
|
|
179
|
-
(function (EndpointGroupAlreadyExistsException) {
|
|
180
|
-
EndpointGroupAlreadyExistsException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
181
|
-
})(EndpointGroupAlreadyExistsException || (EndpointGroupAlreadyExistsException = {}));
|
|
182
|
-
export var InvalidPortRangeException;
|
|
183
|
-
(function (InvalidPortRangeException) {
|
|
184
|
-
InvalidPortRangeException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
185
|
-
})(InvalidPortRangeException || (InvalidPortRangeException = {}));
|
|
186
|
-
export var ListenerNotFoundException;
|
|
187
|
-
(function (ListenerNotFoundException) {
|
|
188
|
-
ListenerNotFoundException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
189
|
-
})(ListenerNotFoundException || (ListenerNotFoundException = {}));
|
|
190
126
|
export var PortRange;
|
|
191
127
|
(function (PortRange) {
|
|
192
128
|
PortRange.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -362,14 +298,6 @@ export var DestinationPortMapping;
|
|
|
362
298
|
(function (DestinationPortMapping) {
|
|
363
299
|
DestinationPortMapping.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
364
300
|
})(DestinationPortMapping || (DestinationPortMapping = {}));
|
|
365
|
-
export var EndpointNotFoundException;
|
|
366
|
-
(function (EndpointNotFoundException) {
|
|
367
|
-
EndpointNotFoundException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
368
|
-
})(EndpointNotFoundException || (EndpointNotFoundException = {}));
|
|
369
|
-
export var InvalidNextTokenException;
|
|
370
|
-
(function (InvalidNextTokenException) {
|
|
371
|
-
InvalidNextTokenException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
372
|
-
})(InvalidNextTokenException || (InvalidNextTokenException = {}));
|
|
373
301
|
export var ListAcceleratorsRequest;
|
|
374
302
|
(function (ListAcceleratorsRequest) {
|
|
375
303
|
ListAcceleratorsRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { __assign } from "tslib";
|
|
1
|
+
import { __assign, __awaiter, __generator } from "tslib";
|
|
2
2
|
import packageInfo from "../package.json";
|
|
3
3
|
import { Sha256 } from "@aws-crypto/sha256-browser";
|
|
4
4
|
import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@aws-sdk/config-resolver";
|
|
5
|
-
import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
|
|
5
|
+
import { FetchHttpHandler as RequestHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
|
|
6
6
|
import { invalidProvider } from "@aws-sdk/invalid-dependency";
|
|
7
7
|
import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@aws-sdk/middleware-retry";
|
|
8
8
|
import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser";
|
|
@@ -10,8 +10,17 @@ import { calculateBodyLength } from "@aws-sdk/util-body-length-browser";
|
|
|
10
10
|
import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser";
|
|
11
11
|
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-browser";
|
|
12
12
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
13
|
+
import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
|
|
14
|
+
import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-browser";
|
|
13
15
|
export var getRuntimeConfig = function (config) {
|
|
14
16
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
17
|
+
var defaultsMode = resolveDefaultsModeConfig(config);
|
|
18
|
+
var defaultConfigProvider = function () { return defaultsMode().then(loadConfigsForDefaultMode); };
|
|
15
19
|
var clientSharedValues = getSharedRuntimeConfig(config);
|
|
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
|
|
20
|
+
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "browser", defaultsMode: defaultsMode, 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 RequestHandler(defaultConfigProvider), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (function () { return __awaiter(void 0, void 0, void 0, function () { return __generator(this, function (_a) {
|
|
21
|
+
switch (_a.label) {
|
|
22
|
+
case 0: return [4, defaultConfigProvider()];
|
|
23
|
+
case 1: return [2, (_a.sent()).retryMode || DEFAULT_RETRY_MODE];
|
|
24
|
+
}
|
|
25
|
+
}); }); }), 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 });
|
|
17
26
|
};
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -1,21 +1,28 @@
|
|
|
1
|
-
import { __assign } from "tslib";
|
|
1
|
+
import { __assign, __awaiter, __generator } from "tslib";
|
|
2
2
|
import packageInfo from "../package.json";
|
|
3
3
|
import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts";
|
|
4
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
|
-
import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry";
|
|
7
|
+
import { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, } from "@aws-sdk/middleware-retry";
|
|
8
8
|
import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider";
|
|
9
|
-
import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler";
|
|
9
|
+
import { NodeHttpHandler as RequestHandler, streamCollector } from "@aws-sdk/node-http-handler";
|
|
10
10
|
import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node";
|
|
11
11
|
import { calculateBodyLength } from "@aws-sdk/util-body-length-node";
|
|
12
12
|
import { defaultUserAgent } from "@aws-sdk/util-user-agent-node";
|
|
13
13
|
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-node";
|
|
14
14
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
15
|
-
import {
|
|
15
|
+
import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
|
|
16
|
+
import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-node";
|
|
16
17
|
export var getRuntimeConfig = function (config) {
|
|
17
18
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
18
|
-
|
|
19
|
+
var defaultsMode = resolveDefaultsModeConfig(config);
|
|
20
|
+
var defaultConfigProvider = function () { return defaultsMode().then(loadConfigsForDefaultMode); };
|
|
19
21
|
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
|
|
22
|
+
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", defaultsMode: defaultsMode, 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 RequestHandler(defaultConfigProvider), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : loadNodeConfig(__assign(__assign({}, NODE_RETRY_MODE_CONFIG_OPTIONS), { default: function () { return __awaiter(void 0, void 0, void 0, function () { return __generator(this, function (_a) {
|
|
23
|
+
switch (_a.label) {
|
|
24
|
+
case 0: return [4, defaultConfigProvider()];
|
|
25
|
+
case 1: return [2, (_a.sent()).retryMode || DEFAULT_RETRY_MODE];
|
|
26
|
+
}
|
|
27
|
+
}); }); } })), 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
28
|
};
|
|
@@ -4,7 +4,7 @@ import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry
|
|
|
4
4
|
import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
|
|
5
5
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
6
6
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
7
|
-
import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
7
|
+
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
8
8
|
import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
9
9
|
import { AddCustomRoutingEndpointsCommandInput, AddCustomRoutingEndpointsCommandOutput } from "./commands/AddCustomRoutingEndpointsCommand";
|
|
10
10
|
import { AdvertiseByoipCidrCommandInput, AdvertiseByoipCidrCommandOutput } from "./commands/AdvertiseByoipCidrCommand";
|
|
@@ -155,6 +155,10 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
155
155
|
* @internal
|
|
156
156
|
*/
|
|
157
157
|
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
158
|
+
/**
|
|
159
|
+
* The {@link DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
|
160
|
+
*/
|
|
161
|
+
defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
|
|
158
162
|
}
|
|
159
163
|
declare type GlobalAcceleratorClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
|
|
160
164
|
/**
|
|
@@ -118,12 +118,6 @@ export interface AcceleratorNotDisabledException extends __SmithyException, $Met
|
|
|
118
118
|
$fault: "client";
|
|
119
119
|
Message?: string;
|
|
120
120
|
}
|
|
121
|
-
export declare namespace AcceleratorNotDisabledException {
|
|
122
|
-
/**
|
|
123
|
-
* @internal
|
|
124
|
-
*/
|
|
125
|
-
const filterSensitiveLog: (obj: AcceleratorNotDisabledException) => any;
|
|
126
|
-
}
|
|
127
121
|
/**
|
|
128
122
|
* <p>The accelerator that you specified doesn't exist.</p>
|
|
129
123
|
*/
|
|
@@ -132,12 +126,6 @@ export interface AcceleratorNotFoundException extends __SmithyException, $Metada
|
|
|
132
126
|
$fault: "client";
|
|
133
127
|
Message?: string;
|
|
134
128
|
}
|
|
135
|
-
export declare namespace AcceleratorNotFoundException {
|
|
136
|
-
/**
|
|
137
|
-
* @internal
|
|
138
|
-
*/
|
|
139
|
-
const filterSensitiveLog: (obj: AcceleratorNotFoundException) => any;
|
|
140
|
-
}
|
|
141
129
|
/**
|
|
142
130
|
* <p>You don't have access permission.</p>
|
|
143
131
|
*/
|
|
@@ -146,12 +134,6 @@ export interface AccessDeniedException extends __SmithyException, $MetadataBeare
|
|
|
146
134
|
$fault: "client";
|
|
147
135
|
Message?: string;
|
|
148
136
|
}
|
|
149
|
-
export declare namespace AccessDeniedException {
|
|
150
|
-
/**
|
|
151
|
-
* @internal
|
|
152
|
-
*/
|
|
153
|
-
const filterSensitiveLog: (obj: AccessDeniedException) => any;
|
|
154
|
-
}
|
|
155
137
|
/**
|
|
156
138
|
* <p>The list of endpoint objects. For custom routing, this is a list of virtual private cloud (VPC) subnet IDs.</p>
|
|
157
139
|
*/
|
|
@@ -225,12 +207,6 @@ export interface ConflictException extends __SmithyException, $MetadataBearer {
|
|
|
225
207
|
$fault: "client";
|
|
226
208
|
Message?: string;
|
|
227
209
|
}
|
|
228
|
-
export declare namespace ConflictException {
|
|
229
|
-
/**
|
|
230
|
-
* @internal
|
|
231
|
-
*/
|
|
232
|
-
const filterSensitiveLog: (obj: ConflictException) => any;
|
|
233
|
-
}
|
|
234
210
|
/**
|
|
235
211
|
* <p>The endpoint that you specified doesn't exist.</p>
|
|
236
212
|
*/
|
|
@@ -239,12 +215,6 @@ export interface EndpointAlreadyExistsException extends __SmithyException, $Meta
|
|
|
239
215
|
$fault: "client";
|
|
240
216
|
Message?: string;
|
|
241
217
|
}
|
|
242
|
-
export declare namespace EndpointAlreadyExistsException {
|
|
243
|
-
/**
|
|
244
|
-
* @internal
|
|
245
|
-
*/
|
|
246
|
-
const filterSensitiveLog: (obj: EndpointAlreadyExistsException) => any;
|
|
247
|
-
}
|
|
248
218
|
/**
|
|
249
219
|
* <p>The endpoint group that you specified doesn't exist.</p>
|
|
250
220
|
*/
|
|
@@ -253,12 +223,6 @@ export interface EndpointGroupNotFoundException extends __SmithyException, $Meta
|
|
|
253
223
|
$fault: "client";
|
|
254
224
|
Message?: string;
|
|
255
225
|
}
|
|
256
|
-
export declare namespace EndpointGroupNotFoundException {
|
|
257
|
-
/**
|
|
258
|
-
* @internal
|
|
259
|
-
*/
|
|
260
|
-
const filterSensitiveLog: (obj: EndpointGroupNotFoundException) => any;
|
|
261
|
-
}
|
|
262
226
|
/**
|
|
263
227
|
* <p>There was an internal error for AWS Global Accelerator.</p>
|
|
264
228
|
*/
|
|
@@ -267,12 +231,6 @@ export interface InternalServiceErrorException extends __SmithyException, $Metad
|
|
|
267
231
|
$fault: "server";
|
|
268
232
|
Message?: string;
|
|
269
233
|
}
|
|
270
|
-
export declare namespace InternalServiceErrorException {
|
|
271
|
-
/**
|
|
272
|
-
* @internal
|
|
273
|
-
*/
|
|
274
|
-
const filterSensitiveLog: (obj: InternalServiceErrorException) => any;
|
|
275
|
-
}
|
|
276
234
|
/**
|
|
277
235
|
* <p>An argument that you specified is invalid.</p>
|
|
278
236
|
*/
|
|
@@ -281,12 +239,6 @@ export interface InvalidArgumentException extends __SmithyException, $MetadataBe
|
|
|
281
239
|
$fault: "client";
|
|
282
240
|
Message?: string;
|
|
283
241
|
}
|
|
284
|
-
export declare namespace InvalidArgumentException {
|
|
285
|
-
/**
|
|
286
|
-
* @internal
|
|
287
|
-
*/
|
|
288
|
-
const filterSensitiveLog: (obj: InvalidArgumentException) => any;
|
|
289
|
-
}
|
|
290
242
|
/**
|
|
291
243
|
* <p>Processing your request would cause you to exceed an AWS Global Accelerator limit.</p>
|
|
292
244
|
*/
|
|
@@ -295,12 +247,6 @@ export interface LimitExceededException extends __SmithyException, $MetadataBear
|
|
|
295
247
|
$fault: "client";
|
|
296
248
|
Message?: string;
|
|
297
249
|
}
|
|
298
|
-
export declare namespace LimitExceededException {
|
|
299
|
-
/**
|
|
300
|
-
* @internal
|
|
301
|
-
*/
|
|
302
|
-
const filterSensitiveLog: (obj: LimitExceededException) => any;
|
|
303
|
-
}
|
|
304
250
|
export interface AdvertiseByoipCidrRequest {
|
|
305
251
|
/**
|
|
306
252
|
* <p>The address range, in CIDR notation. This must be the exact range that you provisioned.
|
|
@@ -463,12 +409,6 @@ export interface ByoipCidrNotFoundException extends __SmithyException, $Metadata
|
|
|
463
409
|
$fault: "client";
|
|
464
410
|
Message?: string;
|
|
465
411
|
}
|
|
466
|
-
export declare namespace ByoipCidrNotFoundException {
|
|
467
|
-
/**
|
|
468
|
-
* @internal
|
|
469
|
-
*/
|
|
470
|
-
const filterSensitiveLog: (obj: ByoipCidrNotFoundException) => any;
|
|
471
|
-
}
|
|
472
412
|
/**
|
|
473
413
|
* <p>The CIDR that you specified is not valid for this action. For example, the state of the CIDR might be
|
|
474
414
|
* incorrect for this action.</p>
|
|
@@ -478,12 +418,6 @@ export interface IncorrectCidrStateException extends __SmithyException, $Metadat
|
|
|
478
418
|
$fault: "client";
|
|
479
419
|
Message?: string;
|
|
480
420
|
}
|
|
481
|
-
export declare namespace IncorrectCidrStateException {
|
|
482
|
-
/**
|
|
483
|
-
* @internal
|
|
484
|
-
*/
|
|
485
|
-
const filterSensitiveLog: (obj: IncorrectCidrStateException) => any;
|
|
486
|
-
}
|
|
487
421
|
export interface AllowCustomRoutingTrafficRequest {
|
|
488
422
|
/**
|
|
489
423
|
* <p>The Amazon Resource Name (ARN) of the endpoint group.</p>
|
|
@@ -532,12 +466,6 @@ export interface AssociatedEndpointGroupFoundException extends __SmithyException
|
|
|
532
466
|
$fault: "client";
|
|
533
467
|
Message?: string;
|
|
534
468
|
}
|
|
535
|
-
export declare namespace AssociatedEndpointGroupFoundException {
|
|
536
|
-
/**
|
|
537
|
-
* @internal
|
|
538
|
-
*/
|
|
539
|
-
const filterSensitiveLog: (obj: AssociatedEndpointGroupFoundException) => any;
|
|
540
|
-
}
|
|
541
469
|
/**
|
|
542
470
|
* <p>The accelerator that you specified has a listener associated with it. You must remove all dependent resources from an
|
|
543
471
|
* accelerator before you can delete it.</p>
|
|
@@ -547,12 +475,6 @@ export interface AssociatedListenerFoundException extends __SmithyException, $Me
|
|
|
547
475
|
$fault: "client";
|
|
548
476
|
Message?: string;
|
|
549
477
|
}
|
|
550
|
-
export declare namespace AssociatedListenerFoundException {
|
|
551
|
-
/**
|
|
552
|
-
* @internal
|
|
553
|
-
*/
|
|
554
|
-
const filterSensitiveLog: (obj: AssociatedListenerFoundException) => any;
|
|
555
|
-
}
|
|
556
478
|
/**
|
|
557
479
|
* <p>Provides authorization for Amazon to bring a specific IP address range to a specific AWS
|
|
558
480
|
* account using bring your own IP addresses (BYOIP). </p>
|
|
@@ -899,12 +821,6 @@ export interface EndpointGroupAlreadyExistsException extends __SmithyException,
|
|
|
899
821
|
$fault: "client";
|
|
900
822
|
Message?: string;
|
|
901
823
|
}
|
|
902
|
-
export declare namespace EndpointGroupAlreadyExistsException {
|
|
903
|
-
/**
|
|
904
|
-
* @internal
|
|
905
|
-
*/
|
|
906
|
-
const filterSensitiveLog: (obj: EndpointGroupAlreadyExistsException) => any;
|
|
907
|
-
}
|
|
908
824
|
/**
|
|
909
825
|
* <p>The port numbers that you specified are not valid numbers or are not unique for this accelerator.</p>
|
|
910
826
|
*/
|
|
@@ -913,12 +829,6 @@ export interface InvalidPortRangeException extends __SmithyException, $MetadataB
|
|
|
913
829
|
$fault: "client";
|
|
914
830
|
Message?: string;
|
|
915
831
|
}
|
|
916
|
-
export declare namespace InvalidPortRangeException {
|
|
917
|
-
/**
|
|
918
|
-
* @internal
|
|
919
|
-
*/
|
|
920
|
-
const filterSensitiveLog: (obj: InvalidPortRangeException) => any;
|
|
921
|
-
}
|
|
922
832
|
/**
|
|
923
833
|
* <p>The listener that you specified doesn't exist.</p>
|
|
924
834
|
*/
|
|
@@ -927,12 +837,6 @@ export interface ListenerNotFoundException extends __SmithyException, $MetadataB
|
|
|
927
837
|
$fault: "client";
|
|
928
838
|
Message?: string;
|
|
929
839
|
}
|
|
930
|
-
export declare namespace ListenerNotFoundException {
|
|
931
|
-
/**
|
|
932
|
-
* @internal
|
|
933
|
-
*/
|
|
934
|
-
const filterSensitiveLog: (obj: ListenerNotFoundException) => any;
|
|
935
|
-
}
|
|
936
840
|
/**
|
|
937
841
|
* <p>A complex type for a range of ports for a listener.</p>
|
|
938
842
|
*/
|
|
@@ -1791,12 +1695,6 @@ export interface EndpointNotFoundException extends __SmithyException, $MetadataB
|
|
|
1791
1695
|
$fault: "client";
|
|
1792
1696
|
Message?: string;
|
|
1793
1697
|
}
|
|
1794
|
-
export declare namespace EndpointNotFoundException {
|
|
1795
|
-
/**
|
|
1796
|
-
* @internal
|
|
1797
|
-
*/
|
|
1798
|
-
const filterSensitiveLog: (obj: EndpointNotFoundException) => any;
|
|
1799
|
-
}
|
|
1800
1698
|
/**
|
|
1801
1699
|
* <p>There isn't another item to return.</p>
|
|
1802
1700
|
*/
|
|
@@ -1805,12 +1703,6 @@ export interface InvalidNextTokenException extends __SmithyException, $MetadataB
|
|
|
1805
1703
|
$fault: "client";
|
|
1806
1704
|
Message?: string;
|
|
1807
1705
|
}
|
|
1808
|
-
export declare namespace InvalidNextTokenException {
|
|
1809
|
-
/**
|
|
1810
|
-
* @internal
|
|
1811
|
-
*/
|
|
1812
|
-
const filterSensitiveLog: (obj: InvalidNextTokenException) => any;
|
|
1813
|
-
}
|
|
1814
1706
|
export interface ListAcceleratorsRequest {
|
|
1815
1707
|
/**
|
|
1816
1708
|
* <p>The number of Global Accelerator objects that you want to return with this call. The default value is 10.</p>
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { FetchHttpHandler } from "@aws-sdk/fetch-http-handler";
|
|
1
|
+
import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler";
|
|
2
2
|
import { GlobalAcceleratorClientConfig } from "./GlobalAcceleratorClient";
|
|
3
3
|
/**
|
|
4
4
|
* @internal
|
|
5
5
|
*/
|
|
6
6
|
export declare const getRuntimeConfig: (config: GlobalAcceleratorClientConfig) => {
|
|
7
7
|
runtime: string;
|
|
8
|
+
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
8
9
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
9
10
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
10
11
|
bodyLengthChecker: (body: any) => number | undefined;
|
|
@@ -12,7 +13,7 @@ export declare const getRuntimeConfig: (config: GlobalAcceleratorClientConfig) =
|
|
|
12
13
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
13
14
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
14
15
|
region: string | import("@aws-sdk/types").Provider<any>;
|
|
15
|
-
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) |
|
|
16
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
|
|
16
17
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
17
18
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
18
19
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
@@ -1,18 +1,19 @@
|
|
|
1
|
-
import { NodeHttpHandler } from "@aws-sdk/node-http-handler";
|
|
1
|
+
import { NodeHttpHandler as RequestHandler } from "@aws-sdk/node-http-handler";
|
|
2
2
|
import { GlobalAcceleratorClientConfig } from "./GlobalAcceleratorClient";
|
|
3
3
|
/**
|
|
4
4
|
* @internal
|
|
5
5
|
*/
|
|
6
6
|
export declare const getRuntimeConfig: (config: GlobalAcceleratorClientConfig) => {
|
|
7
7
|
runtime: string;
|
|
8
|
+
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
8
9
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
9
10
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
10
11
|
bodyLengthChecker: (body: any) => number | undefined;
|
|
11
|
-
credentialDefaultProvider: import("@aws-sdk/
|
|
12
|
+
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
12
13
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
13
14
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
14
15
|
region: string | import("@aws-sdk/types").Provider<string>;
|
|
15
|
-
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) |
|
|
16
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
|
|
16
17
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
17
18
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
18
19
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
@@ -25,6 +25,7 @@ export declare const getRuntimeConfig: (config: GlobalAcceleratorClientConfig) =
|
|
|
25
25
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
26
26
|
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
27
27
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
28
|
+
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode> | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
28
29
|
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
29
30
|
tls?: boolean | undefined;
|
|
30
31
|
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
|
@@ -4,7 +4,7 @@ import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry
|
|
|
4
4
|
import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
|
|
5
5
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
6
6
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
7
|
-
import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
7
|
+
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
8
8
|
import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
9
9
|
import { AddCustomRoutingEndpointsCommandInput, AddCustomRoutingEndpointsCommandOutput } from "./commands/AddCustomRoutingEndpointsCommand";
|
|
10
10
|
import { AdvertiseByoipCidrCommandInput, AdvertiseByoipCidrCommandOutput } from "./commands/AdvertiseByoipCidrCommand";
|
|
@@ -98,6 +98,8 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
98
98
|
regionInfoProvider?: RegionInfoProvider;
|
|
99
99
|
|
|
100
100
|
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
101
|
+
|
|
102
|
+
defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
|
|
101
103
|
}
|
|
102
104
|
declare type GlobalAcceleratorClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
|
|
103
105
|
|
|
@@ -58,30 +58,18 @@ export interface AcceleratorNotDisabledException extends __SmithyException, $Met
|
|
|
58
58
|
$fault: "client";
|
|
59
59
|
Message?: string;
|
|
60
60
|
}
|
|
61
|
-
export declare namespace AcceleratorNotDisabledException {
|
|
62
|
-
|
|
63
|
-
const filterSensitiveLog: (obj: AcceleratorNotDisabledException) => any;
|
|
64
|
-
}
|
|
65
61
|
|
|
66
62
|
export interface AcceleratorNotFoundException extends __SmithyException, $MetadataBearer {
|
|
67
63
|
name: "AcceleratorNotFoundException";
|
|
68
64
|
$fault: "client";
|
|
69
65
|
Message?: string;
|
|
70
66
|
}
|
|
71
|
-
export declare namespace AcceleratorNotFoundException {
|
|
72
|
-
|
|
73
|
-
const filterSensitiveLog: (obj: AcceleratorNotFoundException) => any;
|
|
74
|
-
}
|
|
75
67
|
|
|
76
68
|
export interface AccessDeniedException extends __SmithyException, $MetadataBearer {
|
|
77
69
|
name: "AccessDeniedException";
|
|
78
70
|
$fault: "client";
|
|
79
71
|
Message?: string;
|
|
80
72
|
}
|
|
81
|
-
export declare namespace AccessDeniedException {
|
|
82
|
-
|
|
83
|
-
const filterSensitiveLog: (obj: AccessDeniedException) => any;
|
|
84
|
-
}
|
|
85
73
|
|
|
86
74
|
export interface CustomRoutingEndpointConfiguration {
|
|
87
75
|
|
|
@@ -126,60 +114,36 @@ export interface ConflictException extends __SmithyException, $MetadataBearer {
|
|
|
126
114
|
$fault: "client";
|
|
127
115
|
Message?: string;
|
|
128
116
|
}
|
|
129
|
-
export declare namespace ConflictException {
|
|
130
|
-
|
|
131
|
-
const filterSensitiveLog: (obj: ConflictException) => any;
|
|
132
|
-
}
|
|
133
117
|
|
|
134
118
|
export interface EndpointAlreadyExistsException extends __SmithyException, $MetadataBearer {
|
|
135
119
|
name: "EndpointAlreadyExistsException";
|
|
136
120
|
$fault: "client";
|
|
137
121
|
Message?: string;
|
|
138
122
|
}
|
|
139
|
-
export declare namespace EndpointAlreadyExistsException {
|
|
140
|
-
|
|
141
|
-
const filterSensitiveLog: (obj: EndpointAlreadyExistsException) => any;
|
|
142
|
-
}
|
|
143
123
|
|
|
144
124
|
export interface EndpointGroupNotFoundException extends __SmithyException, $MetadataBearer {
|
|
145
125
|
name: "EndpointGroupNotFoundException";
|
|
146
126
|
$fault: "client";
|
|
147
127
|
Message?: string;
|
|
148
128
|
}
|
|
149
|
-
export declare namespace EndpointGroupNotFoundException {
|
|
150
|
-
|
|
151
|
-
const filterSensitiveLog: (obj: EndpointGroupNotFoundException) => any;
|
|
152
|
-
}
|
|
153
129
|
|
|
154
130
|
export interface InternalServiceErrorException extends __SmithyException, $MetadataBearer {
|
|
155
131
|
name: "InternalServiceErrorException";
|
|
156
132
|
$fault: "server";
|
|
157
133
|
Message?: string;
|
|
158
134
|
}
|
|
159
|
-
export declare namespace InternalServiceErrorException {
|
|
160
|
-
|
|
161
|
-
const filterSensitiveLog: (obj: InternalServiceErrorException) => any;
|
|
162
|
-
}
|
|
163
135
|
|
|
164
136
|
export interface InvalidArgumentException extends __SmithyException, $MetadataBearer {
|
|
165
137
|
name: "InvalidArgumentException";
|
|
166
138
|
$fault: "client";
|
|
167
139
|
Message?: string;
|
|
168
140
|
}
|
|
169
|
-
export declare namespace InvalidArgumentException {
|
|
170
|
-
|
|
171
|
-
const filterSensitiveLog: (obj: InvalidArgumentException) => any;
|
|
172
|
-
}
|
|
173
141
|
|
|
174
142
|
export interface LimitExceededException extends __SmithyException, $MetadataBearer {
|
|
175
143
|
name: "LimitExceededException";
|
|
176
144
|
$fault: "client";
|
|
177
145
|
Message?: string;
|
|
178
146
|
}
|
|
179
|
-
export declare namespace LimitExceededException {
|
|
180
|
-
|
|
181
|
-
const filterSensitiveLog: (obj: LimitExceededException) => any;
|
|
182
|
-
}
|
|
183
147
|
export interface AdvertiseByoipCidrRequest {
|
|
184
148
|
|
|
185
149
|
Cidr: string | undefined;
|
|
@@ -239,20 +203,12 @@ export interface ByoipCidrNotFoundException extends __SmithyException, $Metadata
|
|
|
239
203
|
$fault: "client";
|
|
240
204
|
Message?: string;
|
|
241
205
|
}
|
|
242
|
-
export declare namespace ByoipCidrNotFoundException {
|
|
243
|
-
|
|
244
|
-
const filterSensitiveLog: (obj: ByoipCidrNotFoundException) => any;
|
|
245
|
-
}
|
|
246
206
|
|
|
247
207
|
export interface IncorrectCidrStateException extends __SmithyException, $MetadataBearer {
|
|
248
208
|
name: "IncorrectCidrStateException";
|
|
249
209
|
$fault: "client";
|
|
250
210
|
Message?: string;
|
|
251
211
|
}
|
|
252
|
-
export declare namespace IncorrectCidrStateException {
|
|
253
|
-
|
|
254
|
-
const filterSensitiveLog: (obj: IncorrectCidrStateException) => any;
|
|
255
|
-
}
|
|
256
212
|
export interface AllowCustomRoutingTrafficRequest {
|
|
257
213
|
|
|
258
214
|
EndpointGroupArn: string | undefined;
|
|
@@ -275,20 +231,12 @@ export interface AssociatedEndpointGroupFoundException extends __SmithyException
|
|
|
275
231
|
$fault: "client";
|
|
276
232
|
Message?: string;
|
|
277
233
|
}
|
|
278
|
-
export declare namespace AssociatedEndpointGroupFoundException {
|
|
279
|
-
|
|
280
|
-
const filterSensitiveLog: (obj: AssociatedEndpointGroupFoundException) => any;
|
|
281
|
-
}
|
|
282
234
|
|
|
283
235
|
export interface AssociatedListenerFoundException extends __SmithyException, $MetadataBearer {
|
|
284
236
|
name: "AssociatedListenerFoundException";
|
|
285
237
|
$fault: "client";
|
|
286
238
|
Message?: string;
|
|
287
239
|
}
|
|
288
|
-
export declare namespace AssociatedListenerFoundException {
|
|
289
|
-
|
|
290
|
-
const filterSensitiveLog: (obj: AssociatedListenerFoundException) => any;
|
|
291
|
-
}
|
|
292
240
|
|
|
293
241
|
export interface CidrAuthorizationContext {
|
|
294
242
|
|
|
@@ -467,30 +415,18 @@ export interface EndpointGroupAlreadyExistsException extends __SmithyException,
|
|
|
467
415
|
$fault: "client";
|
|
468
416
|
Message?: string;
|
|
469
417
|
}
|
|
470
|
-
export declare namespace EndpointGroupAlreadyExistsException {
|
|
471
|
-
|
|
472
|
-
const filterSensitiveLog: (obj: EndpointGroupAlreadyExistsException) => any;
|
|
473
|
-
}
|
|
474
418
|
|
|
475
419
|
export interface InvalidPortRangeException extends __SmithyException, $MetadataBearer {
|
|
476
420
|
name: "InvalidPortRangeException";
|
|
477
421
|
$fault: "client";
|
|
478
422
|
Message?: string;
|
|
479
423
|
}
|
|
480
|
-
export declare namespace InvalidPortRangeException {
|
|
481
|
-
|
|
482
|
-
const filterSensitiveLog: (obj: InvalidPortRangeException) => any;
|
|
483
|
-
}
|
|
484
424
|
|
|
485
425
|
export interface ListenerNotFoundException extends __SmithyException, $MetadataBearer {
|
|
486
426
|
name: "ListenerNotFoundException";
|
|
487
427
|
$fault: "client";
|
|
488
428
|
Message?: string;
|
|
489
429
|
}
|
|
490
|
-
export declare namespace ListenerNotFoundException {
|
|
491
|
-
|
|
492
|
-
const filterSensitiveLog: (obj: ListenerNotFoundException) => any;
|
|
493
|
-
}
|
|
494
430
|
|
|
495
431
|
export interface PortRange {
|
|
496
432
|
|
|
@@ -947,20 +883,12 @@ export interface EndpointNotFoundException extends __SmithyException, $MetadataB
|
|
|
947
883
|
$fault: "client";
|
|
948
884
|
Message?: string;
|
|
949
885
|
}
|
|
950
|
-
export declare namespace EndpointNotFoundException {
|
|
951
|
-
|
|
952
|
-
const filterSensitiveLog: (obj: EndpointNotFoundException) => any;
|
|
953
|
-
}
|
|
954
886
|
|
|
955
887
|
export interface InvalidNextTokenException extends __SmithyException, $MetadataBearer {
|
|
956
888
|
name: "InvalidNextTokenException";
|
|
957
889
|
$fault: "client";
|
|
958
890
|
Message?: string;
|
|
959
891
|
}
|
|
960
|
-
export declare namespace InvalidNextTokenException {
|
|
961
|
-
|
|
962
|
-
const filterSensitiveLog: (obj: InvalidNextTokenException) => any;
|
|
963
|
-
}
|
|
964
892
|
export interface ListAcceleratorsRequest {
|
|
965
893
|
|
|
966
894
|
MaxResults?: number;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { FetchHttpHandler } from "@aws-sdk/fetch-http-handler";
|
|
1
|
+
import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler";
|
|
2
2
|
import { GlobalAcceleratorClientConfig } from "./GlobalAcceleratorClient";
|
|
3
3
|
|
|
4
4
|
export declare const getRuntimeConfig: (config: GlobalAcceleratorClientConfig) => {
|
|
5
5
|
runtime: string;
|
|
6
|
+
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
6
7
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
7
8
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
8
9
|
bodyLengthChecker: (body: any) => number | undefined;
|
|
@@ -10,7 +11,7 @@ export declare const getRuntimeConfig: (config: GlobalAcceleratorClientConfig) =
|
|
|
10
11
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
11
12
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
12
13
|
region: string | import("@aws-sdk/types").Provider<any>;
|
|
13
|
-
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) |
|
|
14
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
|
|
14
15
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
15
16
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
16
17
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
@@ -1,16 +1,17 @@
|
|
|
1
|
-
import { NodeHttpHandler } from "@aws-sdk/node-http-handler";
|
|
1
|
+
import { NodeHttpHandler as RequestHandler } from "@aws-sdk/node-http-handler";
|
|
2
2
|
import { GlobalAcceleratorClientConfig } from "./GlobalAcceleratorClient";
|
|
3
3
|
|
|
4
4
|
export declare const getRuntimeConfig: (config: GlobalAcceleratorClientConfig) => {
|
|
5
5
|
runtime: string;
|
|
6
|
+
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
6
7
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
7
8
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
8
9
|
bodyLengthChecker: (body: any) => number | undefined;
|
|
9
|
-
credentialDefaultProvider: import("@aws-sdk/
|
|
10
|
+
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
10
11
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
11
12
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
12
13
|
region: string | import("@aws-sdk/types").Provider<string>;
|
|
13
|
-
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) |
|
|
14
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
|
|
14
15
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
15
16
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
16
17
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
@@ -23,6 +23,7 @@ export declare const getRuntimeConfig: (config: GlobalAcceleratorClientConfig) =
|
|
|
23
23
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
24
24
|
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
25
25
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
26
|
+
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode> | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
26
27
|
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
27
28
|
tls?: boolean | undefined;
|
|
28
29
|
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
package/package.json
CHANGED
|
@@ -1,18 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-global-accelerator",
|
|
3
3
|
"description": "AWS SDK for JavaScript Global Accelerator Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.47.2",
|
|
5
5
|
"scripts": {
|
|
6
|
-
"build": "yarn
|
|
7
|
-
"build:cjs": "tsc -p tsconfig.json",
|
|
8
|
-
"build:docs": "
|
|
6
|
+
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
|
+
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
8
|
+
"build:docs": "typedoc",
|
|
9
9
|
"build:es": "tsc -p tsconfig.es.json",
|
|
10
10
|
"build:types": "tsc -p tsconfig.types.json",
|
|
11
|
-
"
|
|
12
|
-
"clean
|
|
13
|
-
"clean:docs": "rimraf ./docs",
|
|
14
|
-
"downlevel-dts": "downlevel-dts dist-types dist-types/ts3.4",
|
|
15
|
-
"test": "exit 0"
|
|
11
|
+
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
|
12
|
+
"clean": "rimraf ./dist-*"
|
|
16
13
|
},
|
|
17
14
|
"main": "./dist-cjs/index.js",
|
|
18
15
|
"types": "./dist-types/index.d.ts",
|
|
@@ -21,50 +18,46 @@
|
|
|
21
18
|
"dependencies": {
|
|
22
19
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
23
20
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
28
|
-
"@aws-sdk/hash-node": "3.
|
|
29
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
30
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
31
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
32
|
-
"@aws-sdk/middleware-logger": "3.
|
|
33
|
-
"@aws-sdk/middleware-retry": "3.
|
|
34
|
-
"@aws-sdk/middleware-serde": "3.
|
|
35
|
-
"@aws-sdk/middleware-signing": "3.
|
|
36
|
-
"@aws-sdk/middleware-stack": "3.
|
|
37
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
38
|
-
"@aws-sdk/node-config-provider": "3.
|
|
39
|
-
"@aws-sdk/node-http-handler": "3.
|
|
40
|
-
"@aws-sdk/protocol-http": "3.
|
|
41
|
-
"@aws-sdk/smithy-client": "3.
|
|
42
|
-
"@aws-sdk/types": "3.
|
|
43
|
-
"@aws-sdk/url-parser": "3.
|
|
44
|
-
"@aws-sdk/util-base64-browser": "3.
|
|
45
|
-
"@aws-sdk/util-base64-node": "3.
|
|
46
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
47
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
48
|
-
"@aws-sdk/util-
|
|
49
|
-
"@aws-sdk/util-
|
|
50
|
-
"@aws-sdk/util-
|
|
51
|
-
"@aws-sdk/util-
|
|
21
|
+
"@aws-sdk/client-sts": "3.47.2",
|
|
22
|
+
"@aws-sdk/config-resolver": "3.47.2",
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.47.2",
|
|
24
|
+
"@aws-sdk/fetch-http-handler": "3.47.2",
|
|
25
|
+
"@aws-sdk/hash-node": "3.47.2",
|
|
26
|
+
"@aws-sdk/invalid-dependency": "3.47.2",
|
|
27
|
+
"@aws-sdk/middleware-content-length": "3.47.2",
|
|
28
|
+
"@aws-sdk/middleware-host-header": "3.47.2",
|
|
29
|
+
"@aws-sdk/middleware-logger": "3.47.2",
|
|
30
|
+
"@aws-sdk/middleware-retry": "3.47.2",
|
|
31
|
+
"@aws-sdk/middleware-serde": "3.47.2",
|
|
32
|
+
"@aws-sdk/middleware-signing": "3.47.2",
|
|
33
|
+
"@aws-sdk/middleware-stack": "3.47.2",
|
|
34
|
+
"@aws-sdk/middleware-user-agent": "3.47.2",
|
|
35
|
+
"@aws-sdk/node-config-provider": "3.47.2",
|
|
36
|
+
"@aws-sdk/node-http-handler": "3.47.2",
|
|
37
|
+
"@aws-sdk/protocol-http": "3.47.2",
|
|
38
|
+
"@aws-sdk/smithy-client": "3.47.2",
|
|
39
|
+
"@aws-sdk/types": "3.47.1",
|
|
40
|
+
"@aws-sdk/url-parser": "3.47.2",
|
|
41
|
+
"@aws-sdk/util-base64-browser": "3.47.1",
|
|
42
|
+
"@aws-sdk/util-base64-node": "3.47.2",
|
|
43
|
+
"@aws-sdk/util-body-length-browser": "3.47.1",
|
|
44
|
+
"@aws-sdk/util-body-length-node": "3.47.1",
|
|
45
|
+
"@aws-sdk/util-defaults-mode-browser": "3.47.2",
|
|
46
|
+
"@aws-sdk/util-defaults-mode-node": "3.47.2",
|
|
47
|
+
"@aws-sdk/util-user-agent-browser": "3.47.2",
|
|
48
|
+
"@aws-sdk/util-user-agent-node": "3.47.2",
|
|
49
|
+
"@aws-sdk/util-utf8-browser": "3.47.1",
|
|
50
|
+
"@aws-sdk/util-utf8-node": "3.47.2",
|
|
52
51
|
"tslib": "^2.3.0",
|
|
53
52
|
"uuid": "^8.3.2"
|
|
54
53
|
},
|
|
55
54
|
"devDependencies": {
|
|
56
|
-
"@aws-sdk/service-client-documentation-generator": "3.
|
|
55
|
+
"@aws-sdk/service-client-documentation-generator": "3.47.1",
|
|
57
56
|
"@types/node": "^12.7.5",
|
|
58
|
-
"@types/uuid": "^8.3.0"
|
|
59
|
-
"downlevel-dts": "0.7.0",
|
|
60
|
-
"jest": "^26.1.0",
|
|
61
|
-
"rimraf": "^3.0.0",
|
|
62
|
-
"ts-jest": "^26.4.1",
|
|
63
|
-
"typedoc": "^0.19.2",
|
|
64
|
-
"typescript": "~4.3.5"
|
|
57
|
+
"@types/uuid": "^8.3.0"
|
|
65
58
|
},
|
|
66
59
|
"engines": {
|
|
67
|
-
"node": ">=
|
|
60
|
+
"node": ">=12.0.0"
|
|
68
61
|
},
|
|
69
62
|
"typesVersions": {
|
|
70
63
|
"<4.0": {
|