@aws-sdk/client-ecs 3.46.0 → 3.47.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 +11 -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 +35 -35
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.47.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.46.0...v3.47.0) (2022-01-15)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **clients:** update clients to use default values inferred from defaults mode ([#3192](https://github.com/aws/aws-sdk-js-v3/issues/3192)) ([9152e21](https://github.com/aws/aws-sdk-js-v3/commit/9152e210c6ec29f34bb070eaf2874039022e6ab7))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
# [3.46.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.45.0...v3.46.0) (2022-01-07)
|
|
7
18
|
|
|
8
19
|
|
package/dist-cjs/endpoints.js
CHANGED
|
@@ -5,10 +5,6 @@ const config_resolver_1 = require("@aws-sdk/config-resolver");
|
|
|
5
5
|
const regionHash = {
|
|
6
6
|
"us-east-1": {
|
|
7
7
|
variants: [
|
|
8
|
-
{
|
|
9
|
-
hostname: "ecs.us-east-1.amazonaws.com",
|
|
10
|
-
tags: [],
|
|
11
|
-
},
|
|
12
8
|
{
|
|
13
9
|
hostname: "ecs-fips.us-east-1.amazonaws.com",
|
|
14
10
|
tags: ["fips"],
|
|
@@ -17,10 +13,6 @@ const regionHash = {
|
|
|
17
13
|
},
|
|
18
14
|
"us-east-2": {
|
|
19
15
|
variants: [
|
|
20
|
-
{
|
|
21
|
-
hostname: "ecs.us-east-2.amazonaws.com",
|
|
22
|
-
tags: [],
|
|
23
|
-
},
|
|
24
16
|
{
|
|
25
17
|
hostname: "ecs-fips.us-east-2.amazonaws.com",
|
|
26
18
|
tags: ["fips"],
|
|
@@ -29,10 +21,6 @@ const regionHash = {
|
|
|
29
21
|
},
|
|
30
22
|
"us-gov-east-1": {
|
|
31
23
|
variants: [
|
|
32
|
-
{
|
|
33
|
-
hostname: "ecs.us-gov-east-1.amazonaws.com",
|
|
34
|
-
tags: [],
|
|
35
|
-
},
|
|
36
24
|
{
|
|
37
25
|
hostname: "ecs-fips.us-gov-east-1.amazonaws.com",
|
|
38
26
|
tags: ["fips"],
|
|
@@ -41,10 +29,6 @@ const regionHash = {
|
|
|
41
29
|
},
|
|
42
30
|
"us-gov-west-1": {
|
|
43
31
|
variants: [
|
|
44
|
-
{
|
|
45
|
-
hostname: "ecs.us-gov-west-1.amazonaws.com",
|
|
46
|
-
tags: [],
|
|
47
|
-
},
|
|
48
32
|
{
|
|
49
33
|
hostname: "ecs-fips.us-gov-west-1.amazonaws.com",
|
|
50
34
|
tags: ["fips"],
|
|
@@ -53,10 +37,6 @@ const regionHash = {
|
|
|
53
37
|
},
|
|
54
38
|
"us-west-1": {
|
|
55
39
|
variants: [
|
|
56
|
-
{
|
|
57
|
-
hostname: "ecs.us-west-1.amazonaws.com",
|
|
58
|
-
tags: [],
|
|
59
|
-
},
|
|
60
40
|
{
|
|
61
41
|
hostname: "ecs-fips.us-west-1.amazonaws.com",
|
|
62
42
|
tags: ["fips"],
|
|
@@ -65,10 +45,6 @@ const regionHash = {
|
|
|
65
45
|
},
|
|
66
46
|
"us-west-2": {
|
|
67
47
|
variants: [
|
|
68
|
-
{
|
|
69
|
-
hostname: "ecs.us-west-2.amazonaws.com",
|
|
70
|
-
tags: [],
|
|
71
|
-
},
|
|
72
48
|
{
|
|
73
49
|
hostname: "ecs-fips.us-west-2.amazonaws.com",
|
|
74
50
|
tags: ["fips"],
|
|
@@ -1,18 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ServiceEvent = exports.Deployment = exports.DeploymentRolloutState = exports.CreateServiceRequest = exports.ServiceRegistry = exports.SchedulingStrategy = exports.PropagateTags = exports.PlacementStrategy = exports.PlacementStrategyType = exports.PlacementConstraint = exports.PlacementConstraintType = exports.NetworkConfiguration = exports.AwsVpcConfiguration = exports.AssignPublicIp = exports.LoadBalancer = exports.LaunchType = exports.DeploymentController = exports.DeploymentControllerType = exports.DeploymentConfiguration = exports.DeploymentCircuitBreaker = exports.
|
|
4
|
-
exports.
|
|
5
|
-
exports.
|
|
6
|
-
exports.
|
|
7
|
-
exports.
|
|
8
|
-
exports.UpdateTaskSetResponse = exports.UpdateTaskSetRequest = exports.UpdateServicePrimaryTaskSetResponse = exports.UpdateServicePrimaryTaskSetRequest = exports.UpdateServiceResponse = exports.UpdateServiceRequest = exports.UpdateContainerInstancesStateResponse = exports.UpdateContainerInstancesStateRequest = exports.UpdateContainerAgentResponse = exports.UpdateContainerAgentRequest = exports.NoUpdateAvailableException = exports.MissingVersionException = exports.UpdateClusterSettingsResponse = exports.UpdateClusterSettingsRequest = exports.UpdateClusterResponse = void 0;
|
|
3
|
+
exports.CreateTaskSetRequest = exports.CreateServiceResponse = exports.Service = exports.TaskSet = exports.StabilityStatus = exports.Scale = exports.ScaleUnit = exports.ServiceEvent = exports.Deployment = exports.DeploymentRolloutState = exports.CreateServiceRequest = exports.ServiceRegistry = exports.SchedulingStrategy = exports.PropagateTags = exports.PlacementStrategy = exports.PlacementStrategyType = exports.PlacementConstraint = exports.PlacementConstraintType = exports.NetworkConfiguration = exports.AwsVpcConfiguration = exports.AssignPublicIp = exports.LoadBalancer = exports.LaunchType = exports.DeploymentController = exports.DeploymentControllerType = exports.DeploymentConfiguration = exports.DeploymentCircuitBreaker = exports.CreateClusterResponse = exports.Cluster = exports.Attachment = exports.KeyValuePair = exports.CreateClusterRequest = exports.ClusterSetting = exports.ClusterSettingName = exports.CapacityProviderStrategyItem = exports.ClusterConfiguration = exports.ExecuteCommandConfiguration = exports.ExecuteCommandLogging = exports.ExecuteCommandLogConfiguration = exports.CreateCapacityProviderResponse = exports.CapacityProvider = exports.CapacityProviderUpdateStatus = exports.CapacityProviderStatus = exports.CreateCapacityProviderRequest = exports.Tag = exports.AutoScalingGroupProvider = exports.ManagedTerminationProtection = exports.ManagedScaling = exports.ManagedScalingStatus = exports.AgentUpdateStatus = void 0;
|
|
4
|
+
exports.ResourceRequirement = exports.ResourceType = exports.RepositoryCredentials = exports.PortMapping = exports.TransportProtocol = exports.MountPoint = exports.LogConfiguration = exports.Secret = exports.LogDriver = exports.LinuxParameters = exports.Tmpfs = exports.Device = exports.DeviceCgroupPermission = exports.KernelCapabilities = exports.HealthCheck = exports.FirelensConfiguration = exports.FirelensConfigurationType = exports.HostEntry = exports.EnvironmentFile = exports.EnvironmentFileType = exports.ContainerDependency = exports.ContainerCondition = exports.Compatibility = exports.DeregisterTaskDefinitionRequest = exports.DeregisterContainerInstanceResponse = exports.ContainerInstance = exports.VersionInfo = exports.Resource = exports.ContainerInstanceHealthStatus = exports.InstanceHealthCheckResult = exports.InstanceHealthCheckType = exports.InstanceHealthCheckState = exports.DeregisterContainerInstanceRequest = exports.DeleteTaskSetResponse = exports.DeleteTaskSetRequest = exports.DeleteServiceResponse = exports.DeleteServiceRequest = exports.DeleteClusterResponse = exports.DeleteClusterRequest = exports.DeleteCapacityProviderResponse = exports.DeleteCapacityProviderRequest = exports.DeleteAttributesResponse = exports.DeleteAttributesRequest = exports.Attribute = exports.TargetType = exports.DeleteAccountSettingResponse = exports.Setting = exports.DeleteAccountSettingRequest = exports.SettingName = exports.CreateTaskSetResponse = void 0;
|
|
5
|
+
exports.HealthStatus = exports.Connectivity = exports.DescribeTasksRequest = exports.TaskField = exports.DescribeTaskDefinitionResponse = exports.DescribeTaskDefinitionRequest = exports.TaskDefinitionField = exports.DescribeServicesResponse = exports.DescribeServicesRequest = exports.ServiceField = exports.DescribeContainerInstancesResponse = exports.DescribeContainerInstancesRequest = exports.ContainerInstanceField = exports.DescribeClustersResponse = exports.DescribeClustersRequest = exports.ClusterField = exports.DescribeCapacityProvidersResponse = exports.Failure = exports.DescribeCapacityProvidersRequest = exports.CapacityProviderField = exports.DeregisterTaskDefinitionResponse = exports.TaskDefinition = exports.Volume = exports.HostVolumeProperties = exports.FSxWindowsFileServerVolumeConfiguration = exports.FSxWindowsFileServerAuthorizationConfig = exports.EFSVolumeConfiguration = exports.EFSTransitEncryption = exports.EFSAuthorizationConfig = exports.EFSAuthorizationConfigIAM = exports.DockerVolumeConfiguration = exports.Scope = exports.TaskDefinitionStatus = exports.RuntimePlatform = exports.OSFamily = exports.CPUArchitecture = exports.ProxyConfiguration = exports.ProxyConfigurationType = exports.TaskDefinitionPlacementConstraint = exports.TaskDefinitionPlacementConstraintType = exports.PidMode = exports.NetworkMode = exports.IpcMode = exports.InferenceAccelerator = exports.EphemeralStorage = exports.ContainerDefinition = exports.VolumeFrom = exports.Ulimit = exports.UlimitName = exports.SystemControl = void 0;
|
|
6
|
+
exports.PlatformDeviceType = exports.PutClusterCapacityProvidersResponse = exports.PutClusterCapacityProvidersRequest = exports.PutAttributesResponse = exports.PutAttributesRequest = exports.PutAccountSettingDefaultResponse = exports.PutAccountSettingDefaultRequest = exports.PutAccountSettingResponse = exports.PutAccountSettingRequest = exports.ListTasksResponse = exports.ListTasksRequest = exports.DesiredStatus = exports.ListTaskDefinitionsResponse = exports.ListTaskDefinitionsRequest = exports.SortOrder = exports.ListTaskDefinitionFamiliesResponse = exports.ListTaskDefinitionFamiliesRequest = exports.TaskDefinitionFamilyStatus = exports.ListTagsForResourceResponse = exports.ListTagsForResourceRequest = exports.ListServicesResponse = exports.ListServicesRequest = exports.ListContainerInstancesResponse = exports.ListContainerInstancesRequest = exports.ContainerInstanceStatus = exports.ListClustersResponse = exports.ListClustersRequest = exports.ListAttributesResponse = exports.ListAttributesRequest = exports.ListAccountSettingsResponse = exports.ListAccountSettingsRequest = exports.ExecuteCommandResponse = exports.Session = exports.ExecuteCommandRequest = exports.DiscoverPollEndpointResponse = exports.DiscoverPollEndpointRequest = exports.DescribeTaskSetsResponse = exports.DescribeTaskSetsRequest = exports.TaskSetField = exports.DescribeTasksResponse = exports.Task = exports.TaskStopCode = exports.TaskOverride = exports.InferenceAcceleratorOverride = exports.ContainerOverride = exports.Container = exports.NetworkInterface = exports.NetworkBinding = exports.ManagedAgent = exports.ManagedAgentName = void 0;
|
|
7
|
+
exports.UpdateTaskSetResponse = exports.UpdateTaskSetRequest = exports.UpdateServicePrimaryTaskSetResponse = exports.UpdateServicePrimaryTaskSetRequest = exports.UpdateServiceResponse = exports.UpdateServiceRequest = exports.UpdateContainerInstancesStateResponse = exports.UpdateContainerInstancesStateRequest = exports.UpdateContainerAgentResponse = exports.UpdateContainerAgentRequest = exports.UpdateClusterSettingsResponse = exports.UpdateClusterSettingsRequest = exports.UpdateClusterResponse = exports.UpdateClusterRequest = exports.UpdateCapacityProviderResponse = exports.UpdateCapacityProviderRequest = exports.AutoScalingGroupProviderUpdate = exports.UntagResourceResponse = exports.UntagResourceRequest = exports.TagResourceResponse = exports.TagResourceRequest = exports.SubmitTaskStateChangeResponse = exports.SubmitTaskStateChangeRequest = exports.ManagedAgentStateChange = exports.ContainerStateChange = exports.SubmitContainerStateChangeResponse = exports.SubmitContainerStateChangeRequest = exports.SubmitAttachmentStateChangesResponse = exports.SubmitAttachmentStateChangesRequest = exports.AttachmentStateChange = exports.StopTaskResponse = exports.StopTaskRequest = exports.StartTaskResponse = exports.StartTaskRequest = exports.RunTaskResponse = exports.RunTaskRequest = exports.RegisterTaskDefinitionResponse = exports.RegisterTaskDefinitionRequest = exports.RegisterContainerInstanceResponse = exports.RegisterContainerInstanceRequest = exports.PlatformDevice = void 0;
|
|
9
8
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
10
|
-
var AccessDeniedException;
|
|
11
|
-
(function (AccessDeniedException) {
|
|
12
|
-
AccessDeniedException.filterSensitiveLog = (obj) => ({
|
|
13
|
-
...obj,
|
|
14
|
-
});
|
|
15
|
-
})(AccessDeniedException = exports.AccessDeniedException || (exports.AccessDeniedException = {}));
|
|
16
9
|
var AgentUpdateStatus;
|
|
17
10
|
(function (AgentUpdateStatus) {
|
|
18
11
|
AgentUpdateStatus["FAILED"] = "FAILED";
|
|
@@ -22,12 +15,6 @@ var AgentUpdateStatus;
|
|
|
22
15
|
AgentUpdateStatus["UPDATED"] = "UPDATED";
|
|
23
16
|
AgentUpdateStatus["UPDATING"] = "UPDATING";
|
|
24
17
|
})(AgentUpdateStatus = exports.AgentUpdateStatus || (exports.AgentUpdateStatus = {}));
|
|
25
|
-
var ClientException;
|
|
26
|
-
(function (ClientException) {
|
|
27
|
-
ClientException.filterSensitiveLog = (obj) => ({
|
|
28
|
-
...obj,
|
|
29
|
-
});
|
|
30
|
-
})(ClientException = exports.ClientException || (exports.ClientException = {}));
|
|
31
18
|
var ManagedScalingStatus;
|
|
32
19
|
(function (ManagedScalingStatus) {
|
|
33
20
|
ManagedScalingStatus["DISABLED"] = "DISABLED";
|
|
@@ -88,30 +75,6 @@ var CreateCapacityProviderResponse;
|
|
|
88
75
|
...obj,
|
|
89
76
|
});
|
|
90
77
|
})(CreateCapacityProviderResponse = exports.CreateCapacityProviderResponse || (exports.CreateCapacityProviderResponse = {}));
|
|
91
|
-
var InvalidParameterException;
|
|
92
|
-
(function (InvalidParameterException) {
|
|
93
|
-
InvalidParameterException.filterSensitiveLog = (obj) => ({
|
|
94
|
-
...obj,
|
|
95
|
-
});
|
|
96
|
-
})(InvalidParameterException = exports.InvalidParameterException || (exports.InvalidParameterException = {}));
|
|
97
|
-
var LimitExceededException;
|
|
98
|
-
(function (LimitExceededException) {
|
|
99
|
-
LimitExceededException.filterSensitiveLog = (obj) => ({
|
|
100
|
-
...obj,
|
|
101
|
-
});
|
|
102
|
-
})(LimitExceededException = exports.LimitExceededException || (exports.LimitExceededException = {}));
|
|
103
|
-
var ServerException;
|
|
104
|
-
(function (ServerException) {
|
|
105
|
-
ServerException.filterSensitiveLog = (obj) => ({
|
|
106
|
-
...obj,
|
|
107
|
-
});
|
|
108
|
-
})(ServerException = exports.ServerException || (exports.ServerException = {}));
|
|
109
|
-
var UpdateInProgressException;
|
|
110
|
-
(function (UpdateInProgressException) {
|
|
111
|
-
UpdateInProgressException.filterSensitiveLog = (obj) => ({
|
|
112
|
-
...obj,
|
|
113
|
-
});
|
|
114
|
-
})(UpdateInProgressException = exports.UpdateInProgressException || (exports.UpdateInProgressException = {}));
|
|
115
78
|
var ExecuteCommandLogConfiguration;
|
|
116
79
|
(function (ExecuteCommandLogConfiguration) {
|
|
117
80
|
ExecuteCommandLogConfiguration.filterSensitiveLog = (obj) => ({
|
|
@@ -182,12 +145,6 @@ var CreateClusterResponse;
|
|
|
182
145
|
...obj,
|
|
183
146
|
});
|
|
184
147
|
})(CreateClusterResponse = exports.CreateClusterResponse || (exports.CreateClusterResponse = {}));
|
|
185
|
-
var ClusterNotFoundException;
|
|
186
|
-
(function (ClusterNotFoundException) {
|
|
187
|
-
ClusterNotFoundException.filterSensitiveLog = (obj) => ({
|
|
188
|
-
...obj,
|
|
189
|
-
});
|
|
190
|
-
})(ClusterNotFoundException = exports.ClusterNotFoundException || (exports.ClusterNotFoundException = {}));
|
|
191
148
|
var DeploymentCircuitBreaker;
|
|
192
149
|
(function (DeploymentCircuitBreaker) {
|
|
193
150
|
DeploymentCircuitBreaker.filterSensitiveLog = (obj) => ({
|
|
@@ -337,24 +294,6 @@ var CreateServiceResponse;
|
|
|
337
294
|
...obj,
|
|
338
295
|
});
|
|
339
296
|
})(CreateServiceResponse = exports.CreateServiceResponse || (exports.CreateServiceResponse = {}));
|
|
340
|
-
var PlatformTaskDefinitionIncompatibilityException;
|
|
341
|
-
(function (PlatformTaskDefinitionIncompatibilityException) {
|
|
342
|
-
PlatformTaskDefinitionIncompatibilityException.filterSensitiveLog = (obj) => ({
|
|
343
|
-
...obj,
|
|
344
|
-
});
|
|
345
|
-
})(PlatformTaskDefinitionIncompatibilityException = exports.PlatformTaskDefinitionIncompatibilityException || (exports.PlatformTaskDefinitionIncompatibilityException = {}));
|
|
346
|
-
var PlatformUnknownException;
|
|
347
|
-
(function (PlatformUnknownException) {
|
|
348
|
-
PlatformUnknownException.filterSensitiveLog = (obj) => ({
|
|
349
|
-
...obj,
|
|
350
|
-
});
|
|
351
|
-
})(PlatformUnknownException = exports.PlatformUnknownException || (exports.PlatformUnknownException = {}));
|
|
352
|
-
var UnsupportedFeatureException;
|
|
353
|
-
(function (UnsupportedFeatureException) {
|
|
354
|
-
UnsupportedFeatureException.filterSensitiveLog = (obj) => ({
|
|
355
|
-
...obj,
|
|
356
|
-
});
|
|
357
|
-
})(UnsupportedFeatureException = exports.UnsupportedFeatureException || (exports.UnsupportedFeatureException = {}));
|
|
358
297
|
var CreateTaskSetRequest;
|
|
359
298
|
(function (CreateTaskSetRequest) {
|
|
360
299
|
CreateTaskSetRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -367,18 +306,6 @@ var CreateTaskSetResponse;
|
|
|
367
306
|
...obj,
|
|
368
307
|
});
|
|
369
308
|
})(CreateTaskSetResponse = exports.CreateTaskSetResponse || (exports.CreateTaskSetResponse = {}));
|
|
370
|
-
var ServiceNotActiveException;
|
|
371
|
-
(function (ServiceNotActiveException) {
|
|
372
|
-
ServiceNotActiveException.filterSensitiveLog = (obj) => ({
|
|
373
|
-
...obj,
|
|
374
|
-
});
|
|
375
|
-
})(ServiceNotActiveException = exports.ServiceNotActiveException || (exports.ServiceNotActiveException = {}));
|
|
376
|
-
var ServiceNotFoundException;
|
|
377
|
-
(function (ServiceNotFoundException) {
|
|
378
|
-
ServiceNotFoundException.filterSensitiveLog = (obj) => ({
|
|
379
|
-
...obj,
|
|
380
|
-
});
|
|
381
|
-
})(ServiceNotFoundException = exports.ServiceNotFoundException || (exports.ServiceNotFoundException = {}));
|
|
382
309
|
var SettingName;
|
|
383
310
|
(function (SettingName) {
|
|
384
311
|
SettingName["AWSVPC_TRUNKING"] = "awsvpcTrunking";
|
|
@@ -427,12 +354,6 @@ var DeleteAttributesResponse;
|
|
|
427
354
|
...obj,
|
|
428
355
|
});
|
|
429
356
|
})(DeleteAttributesResponse = exports.DeleteAttributesResponse || (exports.DeleteAttributesResponse = {}));
|
|
430
|
-
var TargetNotFoundException;
|
|
431
|
-
(function (TargetNotFoundException) {
|
|
432
|
-
TargetNotFoundException.filterSensitiveLog = (obj) => ({
|
|
433
|
-
...obj,
|
|
434
|
-
});
|
|
435
|
-
})(TargetNotFoundException = exports.TargetNotFoundException || (exports.TargetNotFoundException = {}));
|
|
436
357
|
var DeleteCapacityProviderRequest;
|
|
437
358
|
(function (DeleteCapacityProviderRequest) {
|
|
438
359
|
DeleteCapacityProviderRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -445,24 +366,6 @@ var DeleteCapacityProviderResponse;
|
|
|
445
366
|
...obj,
|
|
446
367
|
});
|
|
447
368
|
})(DeleteCapacityProviderResponse = exports.DeleteCapacityProviderResponse || (exports.DeleteCapacityProviderResponse = {}));
|
|
448
|
-
var ClusterContainsContainerInstancesException;
|
|
449
|
-
(function (ClusterContainsContainerInstancesException) {
|
|
450
|
-
ClusterContainsContainerInstancesException.filterSensitiveLog = (obj) => ({
|
|
451
|
-
...obj,
|
|
452
|
-
});
|
|
453
|
-
})(ClusterContainsContainerInstancesException = exports.ClusterContainsContainerInstancesException || (exports.ClusterContainsContainerInstancesException = {}));
|
|
454
|
-
var ClusterContainsServicesException;
|
|
455
|
-
(function (ClusterContainsServicesException) {
|
|
456
|
-
ClusterContainsServicesException.filterSensitiveLog = (obj) => ({
|
|
457
|
-
...obj,
|
|
458
|
-
});
|
|
459
|
-
})(ClusterContainsServicesException = exports.ClusterContainsServicesException || (exports.ClusterContainsServicesException = {}));
|
|
460
|
-
var ClusterContainsTasksException;
|
|
461
|
-
(function (ClusterContainsTasksException) {
|
|
462
|
-
ClusterContainsTasksException.filterSensitiveLog = (obj) => ({
|
|
463
|
-
...obj,
|
|
464
|
-
});
|
|
465
|
-
})(ClusterContainsTasksException = exports.ClusterContainsTasksException || (exports.ClusterContainsTasksException = {}));
|
|
466
369
|
var DeleteClusterRequest;
|
|
467
370
|
(function (DeleteClusterRequest) {
|
|
468
371
|
DeleteClusterRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -499,12 +402,6 @@ var DeleteTaskSetResponse;
|
|
|
499
402
|
...obj,
|
|
500
403
|
});
|
|
501
404
|
})(DeleteTaskSetResponse = exports.DeleteTaskSetResponse || (exports.DeleteTaskSetResponse = {}));
|
|
502
|
-
var TaskSetNotFoundException;
|
|
503
|
-
(function (TaskSetNotFoundException) {
|
|
504
|
-
TaskSetNotFoundException.filterSensitiveLog = (obj) => ({
|
|
505
|
-
...obj,
|
|
506
|
-
});
|
|
507
|
-
})(TaskSetNotFoundException = exports.TaskSetNotFoundException || (exports.TaskSetNotFoundException = {}));
|
|
508
405
|
var DeregisterContainerInstanceRequest;
|
|
509
406
|
(function (DeregisterContainerInstanceRequest) {
|
|
510
407
|
DeregisterContainerInstanceRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -1115,12 +1012,6 @@ var ExecuteCommandResponse;
|
|
|
1115
1012
|
...(obj.session && { session: Session.filterSensitiveLog(obj.session) }),
|
|
1116
1013
|
});
|
|
1117
1014
|
})(ExecuteCommandResponse = exports.ExecuteCommandResponse || (exports.ExecuteCommandResponse = {}));
|
|
1118
|
-
var TargetNotConnectedException;
|
|
1119
|
-
(function (TargetNotConnectedException) {
|
|
1120
|
-
TargetNotConnectedException.filterSensitiveLog = (obj) => ({
|
|
1121
|
-
...obj,
|
|
1122
|
-
});
|
|
1123
|
-
})(TargetNotConnectedException = exports.TargetNotConnectedException || (exports.TargetNotConnectedException = {}));
|
|
1124
1015
|
var ListAccountSettingsRequest;
|
|
1125
1016
|
(function (ListAccountSettingsRequest) {
|
|
1126
1017
|
ListAccountSettingsRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -1278,12 +1169,6 @@ var PutAccountSettingDefaultResponse;
|
|
|
1278
1169
|
...obj,
|
|
1279
1170
|
});
|
|
1280
1171
|
})(PutAccountSettingDefaultResponse = exports.PutAccountSettingDefaultResponse || (exports.PutAccountSettingDefaultResponse = {}));
|
|
1281
|
-
var AttributeLimitExceededException;
|
|
1282
|
-
(function (AttributeLimitExceededException) {
|
|
1283
|
-
AttributeLimitExceededException.filterSensitiveLog = (obj) => ({
|
|
1284
|
-
...obj,
|
|
1285
|
-
});
|
|
1286
|
-
})(AttributeLimitExceededException = exports.AttributeLimitExceededException || (exports.AttributeLimitExceededException = {}));
|
|
1287
1172
|
var PutAttributesRequest;
|
|
1288
1173
|
(function (PutAttributesRequest) {
|
|
1289
1174
|
PutAttributesRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -1308,12 +1193,6 @@ var PutClusterCapacityProvidersResponse;
|
|
|
1308
1193
|
...obj,
|
|
1309
1194
|
});
|
|
1310
1195
|
})(PutClusterCapacityProvidersResponse = exports.PutClusterCapacityProvidersResponse || (exports.PutClusterCapacityProvidersResponse = {}));
|
|
1311
|
-
var ResourceInUseException;
|
|
1312
|
-
(function (ResourceInUseException) {
|
|
1313
|
-
ResourceInUseException.filterSensitiveLog = (obj) => ({
|
|
1314
|
-
...obj,
|
|
1315
|
-
});
|
|
1316
|
-
})(ResourceInUseException = exports.ResourceInUseException || (exports.ResourceInUseException = {}));
|
|
1317
1196
|
var PlatformDeviceType;
|
|
1318
1197
|
(function (PlatformDeviceType) {
|
|
1319
1198
|
PlatformDeviceType["GPU"] = "GPU";
|
|
@@ -1348,12 +1227,6 @@ var RegisterTaskDefinitionResponse;
|
|
|
1348
1227
|
...obj,
|
|
1349
1228
|
});
|
|
1350
1229
|
})(RegisterTaskDefinitionResponse = exports.RegisterTaskDefinitionResponse || (exports.RegisterTaskDefinitionResponse = {}));
|
|
1351
|
-
var BlockedException;
|
|
1352
|
-
(function (BlockedException) {
|
|
1353
|
-
BlockedException.filterSensitiveLog = (obj) => ({
|
|
1354
|
-
...obj,
|
|
1355
|
-
});
|
|
1356
|
-
})(BlockedException = exports.BlockedException || (exports.BlockedException = {}));
|
|
1357
1230
|
var RunTaskRequest;
|
|
1358
1231
|
(function (RunTaskRequest) {
|
|
1359
1232
|
RunTaskRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -1444,12 +1317,6 @@ var SubmitTaskStateChangeResponse;
|
|
|
1444
1317
|
...obj,
|
|
1445
1318
|
});
|
|
1446
1319
|
})(SubmitTaskStateChangeResponse = exports.SubmitTaskStateChangeResponse || (exports.SubmitTaskStateChangeResponse = {}));
|
|
1447
|
-
var ResourceNotFoundException;
|
|
1448
|
-
(function (ResourceNotFoundException) {
|
|
1449
|
-
ResourceNotFoundException.filterSensitiveLog = (obj) => ({
|
|
1450
|
-
...obj,
|
|
1451
|
-
});
|
|
1452
|
-
})(ResourceNotFoundException = exports.ResourceNotFoundException || (exports.ResourceNotFoundException = {}));
|
|
1453
1320
|
var TagResourceRequest;
|
|
1454
1321
|
(function (TagResourceRequest) {
|
|
1455
1322
|
TagResourceRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -1516,18 +1383,6 @@ var UpdateClusterSettingsResponse;
|
|
|
1516
1383
|
...obj,
|
|
1517
1384
|
});
|
|
1518
1385
|
})(UpdateClusterSettingsResponse = exports.UpdateClusterSettingsResponse || (exports.UpdateClusterSettingsResponse = {}));
|
|
1519
|
-
var MissingVersionException;
|
|
1520
|
-
(function (MissingVersionException) {
|
|
1521
|
-
MissingVersionException.filterSensitiveLog = (obj) => ({
|
|
1522
|
-
...obj,
|
|
1523
|
-
});
|
|
1524
|
-
})(MissingVersionException = exports.MissingVersionException || (exports.MissingVersionException = {}));
|
|
1525
|
-
var NoUpdateAvailableException;
|
|
1526
|
-
(function (NoUpdateAvailableException) {
|
|
1527
|
-
NoUpdateAvailableException.filterSensitiveLog = (obj) => ({
|
|
1528
|
-
...obj,
|
|
1529
|
-
});
|
|
1530
|
-
})(NoUpdateAvailableException = exports.NoUpdateAvailableException || (exports.NoUpdateAvailableException = {}));
|
|
1531
1386
|
var UpdateContainerAgentRequest;
|
|
1532
1387
|
(function (UpdateContainerAgentRequest) {
|
|
1533
1388
|
UpdateContainerAgentRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -13,13 +13,18 @@ const util_body_length_browser_1 = require("@aws-sdk/util-body-length-browser");
|
|
|
13
13
|
const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
|
|
14
14
|
const util_utf8_browser_1 = require("@aws-sdk/util-utf8-browser");
|
|
15
15
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
16
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
17
|
+
const util_defaults_mode_browser_1 = require("@aws-sdk/util-defaults-mode-browser");
|
|
16
18
|
const getRuntimeConfig = (config) => {
|
|
17
19
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
20
|
+
const defaultsMode = util_defaults_mode_browser_1.resolveDefaultsModeConfig(config);
|
|
21
|
+
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
18
22
|
const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
|
|
19
23
|
return {
|
|
20
24
|
...clientSharedValues,
|
|
21
25
|
...config,
|
|
22
26
|
runtime: "browser",
|
|
27
|
+
defaultsMode,
|
|
23
28
|
base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : util_base64_browser_1.fromBase64,
|
|
24
29
|
base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_browser_1.toBase64,
|
|
25
30
|
bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_browser_1.calculateBodyLength,
|
|
@@ -27,8 +32,8 @@ const getRuntimeConfig = (config) => {
|
|
|
27
32
|
defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : util_user_agent_browser_1.defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
28
33
|
maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : middleware_retry_1.DEFAULT_MAX_ATTEMPTS,
|
|
29
34
|
region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalid_dependency_1.invalidProvider("Region is missing"),
|
|
30
|
-
requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new fetch_http_handler_1.FetchHttpHandler(),
|
|
31
|
-
retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (() =>
|
|
35
|
+
requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new fetch_http_handler_1.FetchHttpHandler(defaultConfigProvider),
|
|
36
|
+
retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE),
|
|
32
37
|
sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : sha256_browser_1.Sha256,
|
|
33
38
|
streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : fetch_http_handler_1.streamCollector,
|
|
34
39
|
useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : (() => Promise.resolve(config_resolver_1.DEFAULT_USE_DUALSTACK_ENDPOINT)),
|
|
@@ -15,13 +15,18 @@ const util_body_length_node_1 = require("@aws-sdk/util-body-length-node");
|
|
|
15
15
|
const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
|
|
16
16
|
const util_utf8_node_1 = require("@aws-sdk/util-utf8-node");
|
|
17
17
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
18
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
19
|
+
const util_defaults_mode_node_1 = require("@aws-sdk/util-defaults-mode-node");
|
|
18
20
|
const getRuntimeConfig = (config) => {
|
|
19
21
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
22
|
+
const defaultsMode = util_defaults_mode_node_1.resolveDefaultsModeConfig(config);
|
|
23
|
+
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
20
24
|
const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
|
|
21
25
|
return {
|
|
22
26
|
...clientSharedValues,
|
|
23
27
|
...config,
|
|
24
28
|
runtime: "node",
|
|
29
|
+
defaultsMode,
|
|
25
30
|
base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : util_base64_node_1.fromBase64,
|
|
26
31
|
base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_node_1.toBase64,
|
|
27
32
|
bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_node_1.calculateBodyLength,
|
|
@@ -29,8 +34,11 @@ const getRuntimeConfig = (config) => {
|
|
|
29
34
|
defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : util_user_agent_node_1.defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
30
35
|
maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : node_config_provider_1.loadConfig(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
|
|
31
36
|
region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : node_config_provider_1.loadConfig(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS),
|
|
32
|
-
requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new node_http_handler_1.NodeHttpHandler(),
|
|
33
|
-
retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : node_config_provider_1.loadConfig(
|
|
37
|
+
requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new node_http_handler_1.NodeHttpHandler(defaultConfigProvider),
|
|
38
|
+
retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : node_config_provider_1.loadConfig({
|
|
39
|
+
...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
40
|
+
default: async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE,
|
|
41
|
+
}),
|
|
34
42
|
sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : hash_node_1.Hash.bind(null, "sha256"),
|
|
35
43
|
streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : node_http_handler_1.streamCollector,
|
|
36
44
|
useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : node_config_provider_1.loadConfig(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
|
package/dist-es/endpoints.js
CHANGED
|
@@ -3,10 +3,6 @@ import { getRegionInfo } from "@aws-sdk/config-resolver";
|
|
|
3
3
|
var regionHash = {
|
|
4
4
|
"us-east-1": {
|
|
5
5
|
variants: [
|
|
6
|
-
{
|
|
7
|
-
hostname: "ecs.us-east-1.amazonaws.com",
|
|
8
|
-
tags: [],
|
|
9
|
-
},
|
|
10
6
|
{
|
|
11
7
|
hostname: "ecs-fips.us-east-1.amazonaws.com",
|
|
12
8
|
tags: ["fips"],
|
|
@@ -15,10 +11,6 @@ var regionHash = {
|
|
|
15
11
|
},
|
|
16
12
|
"us-east-2": {
|
|
17
13
|
variants: [
|
|
18
|
-
{
|
|
19
|
-
hostname: "ecs.us-east-2.amazonaws.com",
|
|
20
|
-
tags: [],
|
|
21
|
-
},
|
|
22
14
|
{
|
|
23
15
|
hostname: "ecs-fips.us-east-2.amazonaws.com",
|
|
24
16
|
tags: ["fips"],
|
|
@@ -27,10 +19,6 @@ var regionHash = {
|
|
|
27
19
|
},
|
|
28
20
|
"us-gov-east-1": {
|
|
29
21
|
variants: [
|
|
30
|
-
{
|
|
31
|
-
hostname: "ecs.us-gov-east-1.amazonaws.com",
|
|
32
|
-
tags: [],
|
|
33
|
-
},
|
|
34
22
|
{
|
|
35
23
|
hostname: "ecs-fips.us-gov-east-1.amazonaws.com",
|
|
36
24
|
tags: ["fips"],
|
|
@@ -39,10 +27,6 @@ var regionHash = {
|
|
|
39
27
|
},
|
|
40
28
|
"us-gov-west-1": {
|
|
41
29
|
variants: [
|
|
42
|
-
{
|
|
43
|
-
hostname: "ecs.us-gov-west-1.amazonaws.com",
|
|
44
|
-
tags: [],
|
|
45
|
-
},
|
|
46
30
|
{
|
|
47
31
|
hostname: "ecs-fips.us-gov-west-1.amazonaws.com",
|
|
48
32
|
tags: ["fips"],
|
|
@@ -51,10 +35,6 @@ var regionHash = {
|
|
|
51
35
|
},
|
|
52
36
|
"us-west-1": {
|
|
53
37
|
variants: [
|
|
54
|
-
{
|
|
55
|
-
hostname: "ecs.us-west-1.amazonaws.com",
|
|
56
|
-
tags: [],
|
|
57
|
-
},
|
|
58
38
|
{
|
|
59
39
|
hostname: "ecs-fips.us-west-1.amazonaws.com",
|
|
60
40
|
tags: ["fips"],
|
|
@@ -63,10 +43,6 @@ var regionHash = {
|
|
|
63
43
|
},
|
|
64
44
|
"us-west-2": {
|
|
65
45
|
variants: [
|
|
66
|
-
{
|
|
67
|
-
hostname: "ecs.us-west-2.amazonaws.com",
|
|
68
|
-
tags: [],
|
|
69
|
-
},
|
|
70
46
|
{
|
|
71
47
|
hostname: "ecs-fips.us-west-2.amazonaws.com",
|
|
72
48
|
tags: ["fips"],
|