@aws-sdk/client-ecs 3.46.0 → 3.48.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 +35 -0
- package/dist-cjs/endpoints.js +0 -24
- package/dist-cjs/models/models_0.js +5 -150
- package/dist-cjs/runtimeConfig.browser.js +7 -2
- package/dist-cjs/runtimeConfig.js +10 -2
- package/dist-es/endpoints.js +0 -24
- package/dist-es/models/models_0.js +0 -96
- package/dist-es/runtimeConfig.browser.js +12 -3
- package/dist-es/runtimeConfig.js +13 -4
- package/dist-types/ECSClient.d.ts +5 -1
- package/dist-types/models/models_0.d.ts +0 -144
- 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/ECSClient.d.ts +3 -1
- package/dist-types/ts3.4/models/models_0.d.ts +0 -96
- 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 +36 -36
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
import { __assign } from "tslib";
|
|
2
2
|
import { SENSITIVE_STRING } from "@aws-sdk/smithy-client";
|
|
3
|
-
export var AccessDeniedException;
|
|
4
|
-
(function (AccessDeniedException) {
|
|
5
|
-
AccessDeniedException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
6
|
-
})(AccessDeniedException || (AccessDeniedException = {}));
|
|
7
3
|
export var AgentUpdateStatus;
|
|
8
4
|
(function (AgentUpdateStatus) {
|
|
9
5
|
AgentUpdateStatus["FAILED"] = "FAILED";
|
|
@@ -13,10 +9,6 @@ export var AgentUpdateStatus;
|
|
|
13
9
|
AgentUpdateStatus["UPDATED"] = "UPDATED";
|
|
14
10
|
AgentUpdateStatus["UPDATING"] = "UPDATING";
|
|
15
11
|
})(AgentUpdateStatus || (AgentUpdateStatus = {}));
|
|
16
|
-
export var ClientException;
|
|
17
|
-
(function (ClientException) {
|
|
18
|
-
ClientException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
19
|
-
})(ClientException || (ClientException = {}));
|
|
20
12
|
export var ManagedScalingStatus;
|
|
21
13
|
(function (ManagedScalingStatus) {
|
|
22
14
|
ManagedScalingStatus["DISABLED"] = "DISABLED";
|
|
@@ -65,22 +57,6 @@ export var CreateCapacityProviderResponse;
|
|
|
65
57
|
(function (CreateCapacityProviderResponse) {
|
|
66
58
|
CreateCapacityProviderResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
67
59
|
})(CreateCapacityProviderResponse || (CreateCapacityProviderResponse = {}));
|
|
68
|
-
export var InvalidParameterException;
|
|
69
|
-
(function (InvalidParameterException) {
|
|
70
|
-
InvalidParameterException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
71
|
-
})(InvalidParameterException || (InvalidParameterException = {}));
|
|
72
|
-
export var LimitExceededException;
|
|
73
|
-
(function (LimitExceededException) {
|
|
74
|
-
LimitExceededException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
75
|
-
})(LimitExceededException || (LimitExceededException = {}));
|
|
76
|
-
export var ServerException;
|
|
77
|
-
(function (ServerException) {
|
|
78
|
-
ServerException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
79
|
-
})(ServerException || (ServerException = {}));
|
|
80
|
-
export var UpdateInProgressException;
|
|
81
|
-
(function (UpdateInProgressException) {
|
|
82
|
-
UpdateInProgressException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
83
|
-
})(UpdateInProgressException || (UpdateInProgressException = {}));
|
|
84
60
|
export var ExecuteCommandLogConfiguration;
|
|
85
61
|
(function (ExecuteCommandLogConfiguration) {
|
|
86
62
|
ExecuteCommandLogConfiguration.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -131,10 +107,6 @@ export var CreateClusterResponse;
|
|
|
131
107
|
(function (CreateClusterResponse) {
|
|
132
108
|
CreateClusterResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
133
109
|
})(CreateClusterResponse || (CreateClusterResponse = {}));
|
|
134
|
-
export var ClusterNotFoundException;
|
|
135
|
-
(function (ClusterNotFoundException) {
|
|
136
|
-
ClusterNotFoundException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
137
|
-
})(ClusterNotFoundException || (ClusterNotFoundException = {}));
|
|
138
110
|
export var DeploymentCircuitBreaker;
|
|
139
111
|
(function (DeploymentCircuitBreaker) {
|
|
140
112
|
DeploymentCircuitBreaker.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -252,18 +224,6 @@ export var CreateServiceResponse;
|
|
|
252
224
|
(function (CreateServiceResponse) {
|
|
253
225
|
CreateServiceResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
254
226
|
})(CreateServiceResponse || (CreateServiceResponse = {}));
|
|
255
|
-
export var PlatformTaskDefinitionIncompatibilityException;
|
|
256
|
-
(function (PlatformTaskDefinitionIncompatibilityException) {
|
|
257
|
-
PlatformTaskDefinitionIncompatibilityException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
258
|
-
})(PlatformTaskDefinitionIncompatibilityException || (PlatformTaskDefinitionIncompatibilityException = {}));
|
|
259
|
-
export var PlatformUnknownException;
|
|
260
|
-
(function (PlatformUnknownException) {
|
|
261
|
-
PlatformUnknownException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
262
|
-
})(PlatformUnknownException || (PlatformUnknownException = {}));
|
|
263
|
-
export var UnsupportedFeatureException;
|
|
264
|
-
(function (UnsupportedFeatureException) {
|
|
265
|
-
UnsupportedFeatureException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
266
|
-
})(UnsupportedFeatureException || (UnsupportedFeatureException = {}));
|
|
267
227
|
export var CreateTaskSetRequest;
|
|
268
228
|
(function (CreateTaskSetRequest) {
|
|
269
229
|
CreateTaskSetRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -272,14 +232,6 @@ export var CreateTaskSetResponse;
|
|
|
272
232
|
(function (CreateTaskSetResponse) {
|
|
273
233
|
CreateTaskSetResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
274
234
|
})(CreateTaskSetResponse || (CreateTaskSetResponse = {}));
|
|
275
|
-
export var ServiceNotActiveException;
|
|
276
|
-
(function (ServiceNotActiveException) {
|
|
277
|
-
ServiceNotActiveException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
278
|
-
})(ServiceNotActiveException || (ServiceNotActiveException = {}));
|
|
279
|
-
export var ServiceNotFoundException;
|
|
280
|
-
(function (ServiceNotFoundException) {
|
|
281
|
-
ServiceNotFoundException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
282
|
-
})(ServiceNotFoundException || (ServiceNotFoundException = {}));
|
|
283
235
|
export var SettingName;
|
|
284
236
|
(function (SettingName) {
|
|
285
237
|
SettingName["AWSVPC_TRUNKING"] = "awsvpcTrunking";
|
|
@@ -316,10 +268,6 @@ export var DeleteAttributesResponse;
|
|
|
316
268
|
(function (DeleteAttributesResponse) {
|
|
317
269
|
DeleteAttributesResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
318
270
|
})(DeleteAttributesResponse || (DeleteAttributesResponse = {}));
|
|
319
|
-
export var TargetNotFoundException;
|
|
320
|
-
(function (TargetNotFoundException) {
|
|
321
|
-
TargetNotFoundException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
322
|
-
})(TargetNotFoundException || (TargetNotFoundException = {}));
|
|
323
271
|
export var DeleteCapacityProviderRequest;
|
|
324
272
|
(function (DeleteCapacityProviderRequest) {
|
|
325
273
|
DeleteCapacityProviderRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -328,18 +276,6 @@ export var DeleteCapacityProviderResponse;
|
|
|
328
276
|
(function (DeleteCapacityProviderResponse) {
|
|
329
277
|
DeleteCapacityProviderResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
330
278
|
})(DeleteCapacityProviderResponse || (DeleteCapacityProviderResponse = {}));
|
|
331
|
-
export var ClusterContainsContainerInstancesException;
|
|
332
|
-
(function (ClusterContainsContainerInstancesException) {
|
|
333
|
-
ClusterContainsContainerInstancesException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
334
|
-
})(ClusterContainsContainerInstancesException || (ClusterContainsContainerInstancesException = {}));
|
|
335
|
-
export var ClusterContainsServicesException;
|
|
336
|
-
(function (ClusterContainsServicesException) {
|
|
337
|
-
ClusterContainsServicesException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
338
|
-
})(ClusterContainsServicesException || (ClusterContainsServicesException = {}));
|
|
339
|
-
export var ClusterContainsTasksException;
|
|
340
|
-
(function (ClusterContainsTasksException) {
|
|
341
|
-
ClusterContainsTasksException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
342
|
-
})(ClusterContainsTasksException || (ClusterContainsTasksException = {}));
|
|
343
279
|
export var DeleteClusterRequest;
|
|
344
280
|
(function (DeleteClusterRequest) {
|
|
345
281
|
DeleteClusterRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -364,10 +300,6 @@ export var DeleteTaskSetResponse;
|
|
|
364
300
|
(function (DeleteTaskSetResponse) {
|
|
365
301
|
DeleteTaskSetResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
366
302
|
})(DeleteTaskSetResponse || (DeleteTaskSetResponse = {}));
|
|
367
|
-
export var TaskSetNotFoundException;
|
|
368
|
-
(function (TaskSetNotFoundException) {
|
|
369
|
-
TaskSetNotFoundException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
370
|
-
})(TaskSetNotFoundException || (TaskSetNotFoundException = {}));
|
|
371
303
|
export var DeregisterContainerInstanceRequest;
|
|
372
304
|
(function (DeregisterContainerInstanceRequest) {
|
|
373
305
|
DeregisterContainerInstanceRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -838,10 +770,6 @@ export var ExecuteCommandResponse;
|
|
|
838
770
|
(function (ExecuteCommandResponse) {
|
|
839
771
|
ExecuteCommandResponse.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.session && { session: Session.filterSensitiveLog(obj.session) }))); };
|
|
840
772
|
})(ExecuteCommandResponse || (ExecuteCommandResponse = {}));
|
|
841
|
-
export var TargetNotConnectedException;
|
|
842
|
-
(function (TargetNotConnectedException) {
|
|
843
|
-
TargetNotConnectedException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
844
|
-
})(TargetNotConnectedException || (TargetNotConnectedException = {}));
|
|
845
773
|
export var ListAccountSettingsRequest;
|
|
846
774
|
(function (ListAccountSettingsRequest) {
|
|
847
775
|
ListAccountSettingsRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -955,10 +883,6 @@ export var PutAccountSettingDefaultResponse;
|
|
|
955
883
|
(function (PutAccountSettingDefaultResponse) {
|
|
956
884
|
PutAccountSettingDefaultResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
957
885
|
})(PutAccountSettingDefaultResponse || (PutAccountSettingDefaultResponse = {}));
|
|
958
|
-
export var AttributeLimitExceededException;
|
|
959
|
-
(function (AttributeLimitExceededException) {
|
|
960
|
-
AttributeLimitExceededException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
961
|
-
})(AttributeLimitExceededException || (AttributeLimitExceededException = {}));
|
|
962
886
|
export var PutAttributesRequest;
|
|
963
887
|
(function (PutAttributesRequest) {
|
|
964
888
|
PutAttributesRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -975,10 +899,6 @@ export var PutClusterCapacityProvidersResponse;
|
|
|
975
899
|
(function (PutClusterCapacityProvidersResponse) {
|
|
976
900
|
PutClusterCapacityProvidersResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
977
901
|
})(PutClusterCapacityProvidersResponse || (PutClusterCapacityProvidersResponse = {}));
|
|
978
|
-
export var ResourceInUseException;
|
|
979
|
-
(function (ResourceInUseException) {
|
|
980
|
-
ResourceInUseException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
981
|
-
})(ResourceInUseException || (ResourceInUseException = {}));
|
|
982
902
|
export var PlatformDeviceType;
|
|
983
903
|
(function (PlatformDeviceType) {
|
|
984
904
|
PlatformDeviceType["GPU"] = "GPU";
|
|
@@ -1003,10 +923,6 @@ export var RegisterTaskDefinitionResponse;
|
|
|
1003
923
|
(function (RegisterTaskDefinitionResponse) {
|
|
1004
924
|
RegisterTaskDefinitionResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1005
925
|
})(RegisterTaskDefinitionResponse || (RegisterTaskDefinitionResponse = {}));
|
|
1006
|
-
export var BlockedException;
|
|
1007
|
-
(function (BlockedException) {
|
|
1008
|
-
BlockedException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1009
|
-
})(BlockedException || (BlockedException = {}));
|
|
1010
926
|
export var RunTaskRequest;
|
|
1011
927
|
(function (RunTaskRequest) {
|
|
1012
928
|
RunTaskRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -1067,10 +983,6 @@ export var SubmitTaskStateChangeResponse;
|
|
|
1067
983
|
(function (SubmitTaskStateChangeResponse) {
|
|
1068
984
|
SubmitTaskStateChangeResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1069
985
|
})(SubmitTaskStateChangeResponse || (SubmitTaskStateChangeResponse = {}));
|
|
1070
|
-
export var ResourceNotFoundException;
|
|
1071
|
-
(function (ResourceNotFoundException) {
|
|
1072
|
-
ResourceNotFoundException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1073
|
-
})(ResourceNotFoundException || (ResourceNotFoundException = {}));
|
|
1074
986
|
export var TagResourceRequest;
|
|
1075
987
|
(function (TagResourceRequest) {
|
|
1076
988
|
TagResourceRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -1115,14 +1027,6 @@ export var UpdateClusterSettingsResponse;
|
|
|
1115
1027
|
(function (UpdateClusterSettingsResponse) {
|
|
1116
1028
|
UpdateClusterSettingsResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1117
1029
|
})(UpdateClusterSettingsResponse || (UpdateClusterSettingsResponse = {}));
|
|
1118
|
-
export var MissingVersionException;
|
|
1119
|
-
(function (MissingVersionException) {
|
|
1120
|
-
MissingVersionException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1121
|
-
})(MissingVersionException || (MissingVersionException = {}));
|
|
1122
|
-
export var NoUpdateAvailableException;
|
|
1123
|
-
(function (NoUpdateAvailableException) {
|
|
1124
|
-
NoUpdateAvailableException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1125
|
-
})(NoUpdateAvailableException || (NoUpdateAvailableException = {}));
|
|
1126
1030
|
export var UpdateContainerAgentRequest;
|
|
1127
1031
|
(function (UpdateContainerAgentRequest) {
|
|
1128
1032
|
UpdateContainerAgentRequest.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,19 +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 { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
|
|
16
|
+
import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-node";
|
|
15
17
|
export var getRuntimeConfig = function (config) {
|
|
16
18
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
19
|
+
var defaultsMode = resolveDefaultsModeConfig(config);
|
|
20
|
+
var defaultConfigProvider = function () { return defaultsMode().then(loadConfigsForDefaultMode); };
|
|
17
21
|
var clientSharedValues = getSharedRuntimeConfig(config);
|
|
18
|
-
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 });
|
|
19
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 { CreateCapacityProviderCommandInput, CreateCapacityProviderCommandOutput } from "./commands/CreateCapacityProviderCommand";
|
|
10
10
|
import { CreateClusterCommandInput, CreateClusterCommandOutput } from "./commands/CreateClusterCommand";
|
|
@@ -160,6 +160,10 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
160
160
|
* @internal
|
|
161
161
|
*/
|
|
162
162
|
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
163
|
+
/**
|
|
164
|
+
* The {@link DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
|
165
|
+
*/
|
|
166
|
+
defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
|
|
163
167
|
}
|
|
164
168
|
declare type ECSClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
|
|
165
169
|
/**
|
|
@@ -7,12 +7,6 @@ export interface AccessDeniedException extends __SmithyException, $MetadataBeare
|
|
|
7
7
|
$fault: "client";
|
|
8
8
|
message?: string;
|
|
9
9
|
}
|
|
10
|
-
export declare namespace AccessDeniedException {
|
|
11
|
-
/**
|
|
12
|
-
* @internal
|
|
13
|
-
*/
|
|
14
|
-
const filterSensitiveLog: (obj: AccessDeniedException) => any;
|
|
15
|
-
}
|
|
16
10
|
export declare enum AgentUpdateStatus {
|
|
17
11
|
FAILED = "FAILED",
|
|
18
12
|
PENDING = "PENDING",
|
|
@@ -31,12 +25,6 @@ export interface ClientException extends __SmithyException, $MetadataBearer {
|
|
|
31
25
|
$fault: "client";
|
|
32
26
|
message?: string;
|
|
33
27
|
}
|
|
34
|
-
export declare namespace ClientException {
|
|
35
|
-
/**
|
|
36
|
-
* @internal
|
|
37
|
-
*/
|
|
38
|
-
const filterSensitiveLog: (obj: ClientException) => any;
|
|
39
|
-
}
|
|
40
28
|
export declare enum ManagedScalingStatus {
|
|
41
29
|
DISABLED = "DISABLED",
|
|
42
30
|
ENABLED = "ENABLED"
|
|
@@ -358,12 +346,6 @@ export interface InvalidParameterException extends __SmithyException, $MetadataB
|
|
|
358
346
|
$fault: "client";
|
|
359
347
|
message?: string;
|
|
360
348
|
}
|
|
361
|
-
export declare namespace InvalidParameterException {
|
|
362
|
-
/**
|
|
363
|
-
* @internal
|
|
364
|
-
*/
|
|
365
|
-
const filterSensitiveLog: (obj: InvalidParameterException) => any;
|
|
366
|
-
}
|
|
367
349
|
/**
|
|
368
350
|
* <p>The limit for the resource was exceeded.</p>
|
|
369
351
|
*/
|
|
@@ -372,12 +354,6 @@ export interface LimitExceededException extends __SmithyException, $MetadataBear
|
|
|
372
354
|
$fault: "client";
|
|
373
355
|
message?: string;
|
|
374
356
|
}
|
|
375
|
-
export declare namespace LimitExceededException {
|
|
376
|
-
/**
|
|
377
|
-
* @internal
|
|
378
|
-
*/
|
|
379
|
-
const filterSensitiveLog: (obj: LimitExceededException) => any;
|
|
380
|
-
}
|
|
381
357
|
/**
|
|
382
358
|
* <p>These errors are usually caused by a server issue.</p>
|
|
383
359
|
*/
|
|
@@ -386,12 +362,6 @@ export interface ServerException extends __SmithyException, $MetadataBearer {
|
|
|
386
362
|
$fault: "server";
|
|
387
363
|
message?: string;
|
|
388
364
|
}
|
|
389
|
-
export declare namespace ServerException {
|
|
390
|
-
/**
|
|
391
|
-
* @internal
|
|
392
|
-
*/
|
|
393
|
-
const filterSensitiveLog: (obj: ServerException) => any;
|
|
394
|
-
}
|
|
395
365
|
/**
|
|
396
366
|
* <p>There's already a current Amazon ECS container agent update in progress on the container
|
|
397
367
|
* instance that's specified. If the container agent becomes disconnected while it's in a
|
|
@@ -404,12 +374,6 @@ export interface UpdateInProgressException extends __SmithyException, $MetadataB
|
|
|
404
374
|
$fault: "client";
|
|
405
375
|
message?: string;
|
|
406
376
|
}
|
|
407
|
-
export declare namespace UpdateInProgressException {
|
|
408
|
-
/**
|
|
409
|
-
* @internal
|
|
410
|
-
*/
|
|
411
|
-
const filterSensitiveLog: (obj: UpdateInProgressException) => any;
|
|
412
|
-
}
|
|
413
377
|
/**
|
|
414
378
|
* <p>The log configuration for the results of the execute command actions. The logs can be
|
|
415
379
|
* sent to CloudWatch Logs or an Amazon S3 bucket.</p>
|
|
@@ -949,12 +913,6 @@ export interface ClusterNotFoundException extends __SmithyException, $MetadataBe
|
|
|
949
913
|
$fault: "client";
|
|
950
914
|
message?: string;
|
|
951
915
|
}
|
|
952
|
-
export declare namespace ClusterNotFoundException {
|
|
953
|
-
/**
|
|
954
|
-
* @internal
|
|
955
|
-
*/
|
|
956
|
-
const filterSensitiveLog: (obj: ClusterNotFoundException) => any;
|
|
957
|
-
}
|
|
958
916
|
/**
|
|
959
917
|
* <note>
|
|
960
918
|
* <p>The deployment circuit breaker can only be used for services using the rolling
|
|
@@ -2259,12 +2217,6 @@ export interface PlatformTaskDefinitionIncompatibilityException extends __Smithy
|
|
|
2259
2217
|
$fault: "client";
|
|
2260
2218
|
message?: string;
|
|
2261
2219
|
}
|
|
2262
|
-
export declare namespace PlatformTaskDefinitionIncompatibilityException {
|
|
2263
|
-
/**
|
|
2264
|
-
* @internal
|
|
2265
|
-
*/
|
|
2266
|
-
const filterSensitiveLog: (obj: PlatformTaskDefinitionIncompatibilityException) => any;
|
|
2267
|
-
}
|
|
2268
2220
|
/**
|
|
2269
2221
|
* <p>The specified platform version doesn't exist.</p>
|
|
2270
2222
|
*/
|
|
@@ -2273,12 +2225,6 @@ export interface PlatformUnknownException extends __SmithyException, $MetadataBe
|
|
|
2273
2225
|
$fault: "client";
|
|
2274
2226
|
message?: string;
|
|
2275
2227
|
}
|
|
2276
|
-
export declare namespace PlatformUnknownException {
|
|
2277
|
-
/**
|
|
2278
|
-
* @internal
|
|
2279
|
-
*/
|
|
2280
|
-
const filterSensitiveLog: (obj: PlatformUnknownException) => any;
|
|
2281
|
-
}
|
|
2282
2228
|
/**
|
|
2283
2229
|
* <p>The specified task isn't supported in this Region.</p>
|
|
2284
2230
|
*/
|
|
@@ -2287,12 +2233,6 @@ export interface UnsupportedFeatureException extends __SmithyException, $Metadat
|
|
|
2287
2233
|
$fault: "client";
|
|
2288
2234
|
message?: string;
|
|
2289
2235
|
}
|
|
2290
|
-
export declare namespace UnsupportedFeatureException {
|
|
2291
|
-
/**
|
|
2292
|
-
* @internal
|
|
2293
|
-
*/
|
|
2294
|
-
const filterSensitiveLog: (obj: UnsupportedFeatureException) => any;
|
|
2295
|
-
}
|
|
2296
2236
|
export interface CreateTaskSetRequest {
|
|
2297
2237
|
/**
|
|
2298
2238
|
* <p>The short name or full Amazon Resource Name (ARN) of the service to create the task set in.</p>
|
|
@@ -2442,12 +2382,6 @@ export interface ServiceNotActiveException extends __SmithyException, $MetadataB
|
|
|
2442
2382
|
$fault: "client";
|
|
2443
2383
|
message?: string;
|
|
2444
2384
|
}
|
|
2445
|
-
export declare namespace ServiceNotActiveException {
|
|
2446
|
-
/**
|
|
2447
|
-
* @internal
|
|
2448
|
-
*/
|
|
2449
|
-
const filterSensitiveLog: (obj: ServiceNotActiveException) => any;
|
|
2450
|
-
}
|
|
2451
2385
|
/**
|
|
2452
2386
|
* <p>The specified service wasn't found. You can view your available services with <a>ListServices</a>. Amazon ECS services are cluster specific and Region
|
|
2453
2387
|
* specific.</p>
|
|
@@ -2457,12 +2391,6 @@ export interface ServiceNotFoundException extends __SmithyException, $MetadataBe
|
|
|
2457
2391
|
$fault: "client";
|
|
2458
2392
|
message?: string;
|
|
2459
2393
|
}
|
|
2460
|
-
export declare namespace ServiceNotFoundException {
|
|
2461
|
-
/**
|
|
2462
|
-
* @internal
|
|
2463
|
-
*/
|
|
2464
|
-
const filterSensitiveLog: (obj: ServiceNotFoundException) => any;
|
|
2465
|
-
}
|
|
2466
2394
|
export declare enum SettingName {
|
|
2467
2395
|
AWSVPC_TRUNKING = "awsvpcTrunking",
|
|
2468
2396
|
CONTAINER_INSIGHTS = "containerInsights",
|
|
@@ -2614,12 +2542,6 @@ export interface TargetNotFoundException extends __SmithyException, $MetadataBea
|
|
|
2614
2542
|
$fault: "client";
|
|
2615
2543
|
message?: string;
|
|
2616
2544
|
}
|
|
2617
|
-
export declare namespace TargetNotFoundException {
|
|
2618
|
-
/**
|
|
2619
|
-
* @internal
|
|
2620
|
-
*/
|
|
2621
|
-
const filterSensitiveLog: (obj: TargetNotFoundException) => any;
|
|
2622
|
-
}
|
|
2623
2545
|
export interface DeleteCapacityProviderRequest {
|
|
2624
2546
|
/**
|
|
2625
2547
|
* <p>The short name or full Amazon Resource Name (ARN) of the capacity provider to delete.</p>
|
|
@@ -2654,12 +2576,6 @@ export interface ClusterContainsContainerInstancesException extends __SmithyExce
|
|
|
2654
2576
|
$fault: "client";
|
|
2655
2577
|
message?: string;
|
|
2656
2578
|
}
|
|
2657
|
-
export declare namespace ClusterContainsContainerInstancesException {
|
|
2658
|
-
/**
|
|
2659
|
-
* @internal
|
|
2660
|
-
*/
|
|
2661
|
-
const filterSensitiveLog: (obj: ClusterContainsContainerInstancesException) => any;
|
|
2662
|
-
}
|
|
2663
2579
|
/**
|
|
2664
2580
|
* <p>You can't delete a cluster that contains services. First, update the service to reduce
|
|
2665
2581
|
* its desired task count to 0, and then delete the service. For more information, see
|
|
@@ -2670,12 +2586,6 @@ export interface ClusterContainsServicesException extends __SmithyException, $Me
|
|
|
2670
2586
|
$fault: "client";
|
|
2671
2587
|
message?: string;
|
|
2672
2588
|
}
|
|
2673
|
-
export declare namespace ClusterContainsServicesException {
|
|
2674
|
-
/**
|
|
2675
|
-
* @internal
|
|
2676
|
-
*/
|
|
2677
|
-
const filterSensitiveLog: (obj: ClusterContainsServicesException) => any;
|
|
2678
|
-
}
|
|
2679
2589
|
/**
|
|
2680
2590
|
* <p>You can't delete a cluster that has active tasks.</p>
|
|
2681
2591
|
*/
|
|
@@ -2684,12 +2594,6 @@ export interface ClusterContainsTasksException extends __SmithyException, $Metad
|
|
|
2684
2594
|
$fault: "client";
|
|
2685
2595
|
message?: string;
|
|
2686
2596
|
}
|
|
2687
|
-
export declare namespace ClusterContainsTasksException {
|
|
2688
|
-
/**
|
|
2689
|
-
* @internal
|
|
2690
|
-
*/
|
|
2691
|
-
const filterSensitiveLog: (obj: ClusterContainsTasksException) => any;
|
|
2692
|
-
}
|
|
2693
2597
|
export interface DeleteClusterRequest {
|
|
2694
2598
|
/**
|
|
2695
2599
|
* <p>The short name or full Amazon Resource Name (ARN) of the cluster to delete.</p>
|
|
@@ -2797,12 +2701,6 @@ export interface TaskSetNotFoundException extends __SmithyException, $MetadataBe
|
|
|
2797
2701
|
$fault: "client";
|
|
2798
2702
|
message?: string;
|
|
2799
2703
|
}
|
|
2800
|
-
export declare namespace TaskSetNotFoundException {
|
|
2801
|
-
/**
|
|
2802
|
-
* @internal
|
|
2803
|
-
*/
|
|
2804
|
-
const filterSensitiveLog: (obj: TaskSetNotFoundException) => any;
|
|
2805
|
-
}
|
|
2806
2704
|
export interface DeregisterContainerInstanceRequest {
|
|
2807
2705
|
/**
|
|
2808
2706
|
* <p>The short name or full Amazon Resource Name (ARN) of the cluster that hosts the container instance to
|
|
@@ -6625,12 +6523,6 @@ export interface TargetNotConnectedException extends __SmithyException, $Metadat
|
|
|
6625
6523
|
$fault: "client";
|
|
6626
6524
|
message?: string;
|
|
6627
6525
|
}
|
|
6628
|
-
export declare namespace TargetNotConnectedException {
|
|
6629
|
-
/**
|
|
6630
|
-
* @internal
|
|
6631
|
-
*/
|
|
6632
|
-
const filterSensitiveLog: (obj: TargetNotConnectedException) => any;
|
|
6633
|
-
}
|
|
6634
6526
|
export interface ListAccountSettingsRequest {
|
|
6635
6527
|
/**
|
|
6636
6528
|
* <p>The name of the account setting you want to list the settings for.</p>
|
|
@@ -7356,12 +7248,6 @@ export interface AttributeLimitExceededException extends __SmithyException, $Met
|
|
|
7356
7248
|
$fault: "client";
|
|
7357
7249
|
message?: string;
|
|
7358
7250
|
}
|
|
7359
|
-
export declare namespace AttributeLimitExceededException {
|
|
7360
|
-
/**
|
|
7361
|
-
* @internal
|
|
7362
|
-
*/
|
|
7363
|
-
const filterSensitiveLog: (obj: AttributeLimitExceededException) => any;
|
|
7364
|
-
}
|
|
7365
7251
|
export interface PutAttributesRequest {
|
|
7366
7252
|
/**
|
|
7367
7253
|
* <p>The short name or full Amazon Resource Name (ARN) of the cluster that contains the resource to apply
|
|
@@ -7454,12 +7340,6 @@ export interface ResourceInUseException extends __SmithyException, $MetadataBear
|
|
|
7454
7340
|
$fault: "client";
|
|
7455
7341
|
message?: string;
|
|
7456
7342
|
}
|
|
7457
|
-
export declare namespace ResourceInUseException {
|
|
7458
|
-
/**
|
|
7459
|
-
* @internal
|
|
7460
|
-
*/
|
|
7461
|
-
const filterSensitiveLog: (obj: ResourceInUseException) => any;
|
|
7462
|
-
}
|
|
7463
7343
|
export declare enum PlatformDeviceType {
|
|
7464
7344
|
GPU = "GPU"
|
|
7465
7345
|
}
|
|
@@ -7893,12 +7773,6 @@ export interface BlockedException extends __SmithyException, $MetadataBearer {
|
|
|
7893
7773
|
$fault: "client";
|
|
7894
7774
|
message?: string;
|
|
7895
7775
|
}
|
|
7896
|
-
export declare namespace BlockedException {
|
|
7897
|
-
/**
|
|
7898
|
-
* @internal
|
|
7899
|
-
*/
|
|
7900
|
-
const filterSensitiveLog: (obj: BlockedException) => any;
|
|
7901
|
-
}
|
|
7902
7776
|
export interface RunTaskRequest {
|
|
7903
7777
|
/**
|
|
7904
7778
|
* <p>The capacity provider strategy to use for the task.</p>
|
|
@@ -8497,12 +8371,6 @@ export interface ResourceNotFoundException extends __SmithyException, $MetadataB
|
|
|
8497
8371
|
$fault: "client";
|
|
8498
8372
|
message?: string;
|
|
8499
8373
|
}
|
|
8500
|
-
export declare namespace ResourceNotFoundException {
|
|
8501
|
-
/**
|
|
8502
|
-
* @internal
|
|
8503
|
-
*/
|
|
8504
|
-
const filterSensitiveLog: (obj: ResourceNotFoundException) => any;
|
|
8505
|
-
}
|
|
8506
8374
|
export interface TagResourceRequest {
|
|
8507
8375
|
/**
|
|
8508
8376
|
* <p>The Amazon Resource Name (ARN) of the resource to add tags to. Currently, the supported resources are
|
|
@@ -8720,12 +8588,6 @@ export interface MissingVersionException extends __SmithyException, $MetadataBea
|
|
|
8720
8588
|
$fault: "client";
|
|
8721
8589
|
message?: string;
|
|
8722
8590
|
}
|
|
8723
|
-
export declare namespace MissingVersionException {
|
|
8724
|
-
/**
|
|
8725
|
-
* @internal
|
|
8726
|
-
*/
|
|
8727
|
-
const filterSensitiveLog: (obj: MissingVersionException) => any;
|
|
8728
|
-
}
|
|
8729
8591
|
/**
|
|
8730
8592
|
* <p>There's no update available for this Amazon ECS container agent. This might be because the
|
|
8731
8593
|
* agent is already running the latest version or because it's so old that there's no
|
|
@@ -8736,12 +8598,6 @@ export interface NoUpdateAvailableException extends __SmithyException, $Metadata
|
|
|
8736
8598
|
$fault: "client";
|
|
8737
8599
|
message?: string;
|
|
8738
8600
|
}
|
|
8739
|
-
export declare namespace NoUpdateAvailableException {
|
|
8740
|
-
/**
|
|
8741
|
-
* @internal
|
|
8742
|
-
*/
|
|
8743
|
-
const filterSensitiveLog: (obj: NoUpdateAvailableException) => any;
|
|
8744
|
-
}
|
|
8745
8601
|
export interface UpdateContainerAgentRequest {
|
|
8746
8602
|
/**
|
|
8747
8603
|
* <p>The short name or full Amazon Resource Name (ARN) of the cluster that your container instance is
|
|
@@ -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 { ECSClientConfig } from "./ECSClient";
|
|
3
3
|
/**
|
|
4
4
|
* @internal
|
|
5
5
|
*/
|
|
6
6
|
export declare const getRuntimeConfig: (config: ECSClientConfig) => {
|
|
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: ECSClientConfig) => {
|
|
|
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 { ECSClientConfig } from "./ECSClient";
|
|
3
3
|
/**
|
|
4
4
|
* @internal
|
|
5
5
|
*/
|
|
6
6
|
export declare const getRuntimeConfig: (config: ECSClientConfig) => {
|
|
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: ECSClientConfig) => {
|
|
|
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;
|