@aws-sdk/client-ecs 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.
@@ -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 FetchHttpHandler(), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (function () { return Promise.resolve(DEFAULT_RETRY_MODE); }), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Sha256, streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : (function () { return Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT); }), useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : (function () { return Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT); }), utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : fromUtf8, utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : toUtf8 });
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
  };
@@ -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 { emitWarningIfUnsupportedVersion } from "@aws-sdk/smithy-client";
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
- emitWarningIfUnsupportedVersion(process.version);
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 NodeHttpHandler(), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : loadNodeConfig(NODE_RETRY_MODE_CONFIG_OPTIONS), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Hash.bind(null, "sha256"), streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS), useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS), utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : fromUtf8, utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : toUtf8 });
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
  };
@@ -585,7 +585,7 @@ export declare class ECS extends ECSClient {
585
585
  * <i>Amazon Elastic Container Service Developer Guide</i>.</p>
586
586
  * <p>Alternatively, you can use <a>StartTask</a> to use your own scheduler or
587
587
  * place tasks manually on specific container instances.</p>
588
- * <p>The Amazon ECS API follows an eventual consistency model. This is because the distributed
588
+ * <p>The Amazon ECS API follows an eventual consistency model. This is because of the distributed
589
589
  * nature of the system supporting the API. This means that the result of an API command
590
590
  * you run that affects your Amazon ECS resources might not be immediately visible to all
591
591
  * subsequent commands you run. Keep this in mind when you carry out an API command that
@@ -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
  /**
@@ -14,7 +14,7 @@ export interface RunTaskCommandOutput extends RunTaskResponse, __MetadataBearer
14
14
  * <i>Amazon Elastic Container Service Developer Guide</i>.</p>
15
15
  * <p>Alternatively, you can use <a>StartTask</a> to use your own scheduler or
16
16
  * place tasks manually on specific container instances.</p>
17
- * <p>The Amazon ECS API follows an eventual consistency model. This is because the distributed
17
+ * <p>The Amazon ECS API follows an eventual consistency model. This is because of the distributed
18
18
  * nature of the system supporting the API. This means that the result of an API command
19
19
  * you run that affects your Amazon ECS resources might not be immediately visible to all
20
20
  * subsequent commands you run. Keep this in mind when you carry out an API command that
@@ -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"
@@ -105,7 +93,7 @@ export interface AutoScalingGroupProvider {
105
93
  /**
106
94
  * <p>The managed termination protection setting to use for the Auto Scaling group capacity
107
95
  * provider. This determines whether the Auto Scaling group has managed termination
108
- * protection.</p>
96
+ * protection. The default is disabled.</p>
109
97
  * <important>
110
98
  * <p>When using managed termination protection, managed scaling must also be used
111
99
  * otherwise managed termination protection doesn't work.</p>
@@ -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>
@@ -728,7 +692,8 @@ export interface Attachment {
728
692
  /**
729
693
  * <p> The status of the attachment. Valid values are <code>PRECREATED</code>,
730
694
  * <code>CREATED</code>, <code>ATTACHING</code>, <code>ATTACHED</code>,
731
- * <code>DETACHING</code>, <code>DETACHED</code>, and <code>DELETED</code>.</p>
695
+ * <code>DETACHING</code>, <code>DETACHED</code>, <code>DELETED</code>, and
696
+ * <code>FAILED</code>.</p>
732
697
  */
733
698
  status?: string;
734
699
  /**
@@ -948,12 +913,6 @@ export interface ClusterNotFoundException extends __SmithyException, $MetadataBe
948
913
  $fault: "client";
949
914
  message?: string;
950
915
  }
951
- export declare namespace ClusterNotFoundException {
952
- /**
953
- * @internal
954
- */
955
- const filterSensitiveLog: (obj: ClusterNotFoundException) => any;
956
- }
957
916
  /**
958
917
  * <note>
959
918
  * <p>The deployment circuit breaker can only be used for services using the rolling
@@ -2258,12 +2217,6 @@ export interface PlatformTaskDefinitionIncompatibilityException extends __Smithy
2258
2217
  $fault: "client";
2259
2218
  message?: string;
2260
2219
  }
2261
- export declare namespace PlatformTaskDefinitionIncompatibilityException {
2262
- /**
2263
- * @internal
2264
- */
2265
- const filterSensitiveLog: (obj: PlatformTaskDefinitionIncompatibilityException) => any;
2266
- }
2267
2220
  /**
2268
2221
  * <p>The specified platform version doesn't exist.</p>
2269
2222
  */
@@ -2272,12 +2225,6 @@ export interface PlatformUnknownException extends __SmithyException, $MetadataBe
2272
2225
  $fault: "client";
2273
2226
  message?: string;
2274
2227
  }
2275
- export declare namespace PlatformUnknownException {
2276
- /**
2277
- * @internal
2278
- */
2279
- const filterSensitiveLog: (obj: PlatformUnknownException) => any;
2280
- }
2281
2228
  /**
2282
2229
  * <p>The specified task isn't supported in this Region.</p>
2283
2230
  */
@@ -2286,12 +2233,6 @@ export interface UnsupportedFeatureException extends __SmithyException, $Metadat
2286
2233
  $fault: "client";
2287
2234
  message?: string;
2288
2235
  }
2289
- export declare namespace UnsupportedFeatureException {
2290
- /**
2291
- * @internal
2292
- */
2293
- const filterSensitiveLog: (obj: UnsupportedFeatureException) => any;
2294
- }
2295
2236
  export interface CreateTaskSetRequest {
2296
2237
  /**
2297
2238
  * <p>The short name or full Amazon Resource Name (ARN) of the service to create the task set in.</p>
@@ -2441,12 +2382,6 @@ export interface ServiceNotActiveException extends __SmithyException, $MetadataB
2441
2382
  $fault: "client";
2442
2383
  message?: string;
2443
2384
  }
2444
- export declare namespace ServiceNotActiveException {
2445
- /**
2446
- * @internal
2447
- */
2448
- const filterSensitiveLog: (obj: ServiceNotActiveException) => any;
2449
- }
2450
2385
  /**
2451
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
2452
2387
  * specific.</p>
@@ -2456,12 +2391,6 @@ export interface ServiceNotFoundException extends __SmithyException, $MetadataBe
2456
2391
  $fault: "client";
2457
2392
  message?: string;
2458
2393
  }
2459
- export declare namespace ServiceNotFoundException {
2460
- /**
2461
- * @internal
2462
- */
2463
- const filterSensitiveLog: (obj: ServiceNotFoundException) => any;
2464
- }
2465
2394
  export declare enum SettingName {
2466
2395
  AWSVPC_TRUNKING = "awsvpcTrunking",
2467
2396
  CONTAINER_INSIGHTS = "containerInsights",
@@ -2613,12 +2542,6 @@ export interface TargetNotFoundException extends __SmithyException, $MetadataBea
2613
2542
  $fault: "client";
2614
2543
  message?: string;
2615
2544
  }
2616
- export declare namespace TargetNotFoundException {
2617
- /**
2618
- * @internal
2619
- */
2620
- const filterSensitiveLog: (obj: TargetNotFoundException) => any;
2621
- }
2622
2545
  export interface DeleteCapacityProviderRequest {
2623
2546
  /**
2624
2547
  * <p>The short name or full Amazon Resource Name (ARN) of the capacity provider to delete.</p>
@@ -2653,12 +2576,6 @@ export interface ClusterContainsContainerInstancesException extends __SmithyExce
2653
2576
  $fault: "client";
2654
2577
  message?: string;
2655
2578
  }
2656
- export declare namespace ClusterContainsContainerInstancesException {
2657
- /**
2658
- * @internal
2659
- */
2660
- const filterSensitiveLog: (obj: ClusterContainsContainerInstancesException) => any;
2661
- }
2662
2579
  /**
2663
2580
  * <p>You can't delete a cluster that contains services. First, update the service to reduce
2664
2581
  * its desired task count to 0, and then delete the service. For more information, see
@@ -2669,12 +2586,6 @@ export interface ClusterContainsServicesException extends __SmithyException, $Me
2669
2586
  $fault: "client";
2670
2587
  message?: string;
2671
2588
  }
2672
- export declare namespace ClusterContainsServicesException {
2673
- /**
2674
- * @internal
2675
- */
2676
- const filterSensitiveLog: (obj: ClusterContainsServicesException) => any;
2677
- }
2678
2589
  /**
2679
2590
  * <p>You can't delete a cluster that has active tasks.</p>
2680
2591
  */
@@ -2683,12 +2594,6 @@ export interface ClusterContainsTasksException extends __SmithyException, $Metad
2683
2594
  $fault: "client";
2684
2595
  message?: string;
2685
2596
  }
2686
- export declare namespace ClusterContainsTasksException {
2687
- /**
2688
- * @internal
2689
- */
2690
- const filterSensitiveLog: (obj: ClusterContainsTasksException) => any;
2691
- }
2692
2597
  export interface DeleteClusterRequest {
2693
2598
  /**
2694
2599
  * <p>The short name or full Amazon Resource Name (ARN) of the cluster to delete.</p>
@@ -2796,12 +2701,6 @@ export interface TaskSetNotFoundException extends __SmithyException, $MetadataBe
2796
2701
  $fault: "client";
2797
2702
  message?: string;
2798
2703
  }
2799
- export declare namespace TaskSetNotFoundException {
2800
- /**
2801
- * @internal
2802
- */
2803
- const filterSensitiveLog: (obj: TaskSetNotFoundException) => any;
2804
- }
2805
2704
  export interface DeregisterContainerInstanceRequest {
2806
2705
  /**
2807
2706
  * <p>The short name or full Amazon Resource Name (ARN) of the cluster that hosts the container instance to
@@ -6624,12 +6523,6 @@ export interface TargetNotConnectedException extends __SmithyException, $Metadat
6624
6523
  $fault: "client";
6625
6524
  message?: string;
6626
6525
  }
6627
- export declare namespace TargetNotConnectedException {
6628
- /**
6629
- * @internal
6630
- */
6631
- const filterSensitiveLog: (obj: TargetNotConnectedException) => any;
6632
- }
6633
6526
  export interface ListAccountSettingsRequest {
6634
6527
  /**
6635
6528
  * <p>The name of the account setting you want to list the settings for.</p>
@@ -7355,12 +7248,6 @@ export interface AttributeLimitExceededException extends __SmithyException, $Met
7355
7248
  $fault: "client";
7356
7249
  message?: string;
7357
7250
  }
7358
- export declare namespace AttributeLimitExceededException {
7359
- /**
7360
- * @internal
7361
- */
7362
- const filterSensitiveLog: (obj: AttributeLimitExceededException) => any;
7363
- }
7364
7251
  export interface PutAttributesRequest {
7365
7252
  /**
7366
7253
  * <p>The short name or full Amazon Resource Name (ARN) of the cluster that contains the resource to apply
@@ -7453,12 +7340,6 @@ export interface ResourceInUseException extends __SmithyException, $MetadataBear
7453
7340
  $fault: "client";
7454
7341
  message?: string;
7455
7342
  }
7456
- export declare namespace ResourceInUseException {
7457
- /**
7458
- * @internal
7459
- */
7460
- const filterSensitiveLog: (obj: ResourceInUseException) => any;
7461
- }
7462
7343
  export declare enum PlatformDeviceType {
7463
7344
  GPU = "GPU"
7464
7345
  }
@@ -7892,12 +7773,6 @@ export interface BlockedException extends __SmithyException, $MetadataBearer {
7892
7773
  $fault: "client";
7893
7774
  message?: string;
7894
7775
  }
7895
- export declare namespace BlockedException {
7896
- /**
7897
- * @internal
7898
- */
7899
- const filterSensitiveLog: (obj: BlockedException) => any;
7900
- }
7901
7776
  export interface RunTaskRequest {
7902
7777
  /**
7903
7778
  * <p>The capacity provider strategy to use for the task.</p>
@@ -8496,12 +8371,6 @@ export interface ResourceNotFoundException extends __SmithyException, $MetadataB
8496
8371
  $fault: "client";
8497
8372
  message?: string;
8498
8373
  }
8499
- export declare namespace ResourceNotFoundException {
8500
- /**
8501
- * @internal
8502
- */
8503
- const filterSensitiveLog: (obj: ResourceNotFoundException) => any;
8504
- }
8505
8374
  export interface TagResourceRequest {
8506
8375
  /**
8507
8376
  * <p>The Amazon Resource Name (ARN) of the resource to add tags to. Currently, the supported resources are
@@ -8719,12 +8588,6 @@ export interface MissingVersionException extends __SmithyException, $MetadataBea
8719
8588
  $fault: "client";
8720
8589
  message?: string;
8721
8590
  }
8722
- export declare namespace MissingVersionException {
8723
- /**
8724
- * @internal
8725
- */
8726
- const filterSensitiveLog: (obj: MissingVersionException) => any;
8727
- }
8728
8591
  /**
8729
8592
  * <p>There's no update available for this Amazon ECS container agent. This might be because the
8730
8593
  * agent is already running the latest version or because it's so old that there's no
@@ -8735,12 +8598,6 @@ export interface NoUpdateAvailableException extends __SmithyException, $Metadata
8735
8598
  $fault: "client";
8736
8599
  message?: string;
8737
8600
  }
8738
- export declare namespace NoUpdateAvailableException {
8739
- /**
8740
- * @internal
8741
- */
8742
- const filterSensitiveLog: (obj: NoUpdateAvailableException) => any;
8743
- }
8744
8601
  export interface UpdateContainerAgentRequest {
8745
8602
  /**
8746
8603
  * <p>The short name or full Amazon Resource Name (ARN) of the cluster that your container instance is
@@ -8778,7 +8635,7 @@ export interface UpdateContainerInstancesStateRequest {
8778
8635
  */
8779
8636
  cluster?: string;
8780
8637
  /**
8781
- * <p>A list of container instance IDs or full ARN entries.</p>
8638
+ * <p>A list of up to 10 container instance IDs or full ARN entries.</p>
8782
8639
  */
8783
8640
  containerInstances: string[] | undefined;
8784
8641
  /**