@aws-sdk/client-ecs 3.38.0 → 3.39.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 +5 -0
- package/dist-cjs/models/models_0.js +26 -4
- package/dist-cjs/protocols/Aws_json1_1.js +25 -0
- package/dist-es/endpoints.js +5 -0
- package/dist-es/models/models_0.js +20 -0
- package/dist-es/protocols/Aws_json1_1.js +22 -1
- package/dist-types/models/models_0.d.ts +154 -18
- package/dist-types/ts3.4/models/models_0.d.ts +37 -0
- package/package.json +10 -10
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.39.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.38.0...v3.39.0) (2021-10-29)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **clients:** update clients as of 2021/10/28 ([#2955](https://github.com/aws/aws-sdk-js-v3/issues/2955)) ([378d161](https://github.com/aws/aws-sdk-js-v3/commit/378d16166de49b06263291001986715d9533cadf))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
# [3.38.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.37.0...v3.38.0) (2021-10-22)
|
|
7
18
|
|
|
8
19
|
|
package/dist-cjs/endpoints.js
CHANGED
|
@@ -57,22 +57,27 @@ const partitionHash = {
|
|
|
57
57
|
"us-west-1",
|
|
58
58
|
"us-west-2",
|
|
59
59
|
],
|
|
60
|
+
regionRegex: "^(us|eu|ap|sa|ca|me|af)\\-\\w+\\-\\d+$",
|
|
60
61
|
hostname: "ecs.{region}.amazonaws.com",
|
|
61
62
|
},
|
|
62
63
|
"aws-cn": {
|
|
63
64
|
regions: ["cn-north-1", "cn-northwest-1"],
|
|
65
|
+
regionRegex: "^cn\\-\\w+\\-\\d+$",
|
|
64
66
|
hostname: "ecs.{region}.amazonaws.com.cn",
|
|
65
67
|
},
|
|
66
68
|
"aws-iso": {
|
|
67
69
|
regions: ["us-iso-east-1", "us-iso-west-1"],
|
|
70
|
+
regionRegex: "^us\\-iso\\-\\w+\\-\\d+$",
|
|
68
71
|
hostname: "ecs.{region}.c2s.ic.gov",
|
|
69
72
|
},
|
|
70
73
|
"aws-iso-b": {
|
|
71
74
|
regions: ["us-isob-east-1"],
|
|
75
|
+
regionRegex: "^us\\-isob\\-\\w+\\-\\d+$",
|
|
72
76
|
hostname: "ecs.{region}.sc2s.sgov.gov",
|
|
73
77
|
},
|
|
74
78
|
"aws-us-gov": {
|
|
75
79
|
regions: ["fips-us-gov-east-1", "fips-us-gov-west-1", "us-gov-east-1", "us-gov-west-1"],
|
|
80
|
+
regionRegex: "^us\\-gov\\-\\w+\\-\\d+$",
|
|
76
81
|
hostname: "ecs.{region}.amazonaws.com",
|
|
77
82
|
},
|
|
78
83
|
};
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
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.ClusterNotFoundException = 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.UpdateInProgressException = exports.ServerException = exports.LimitExceededException = exports.InvalidParameterException = exports.CreateCapacityProviderResponse = exports.CapacityProvider = exports.CapacityProviderUpdateStatus = exports.CapacityProviderStatus = exports.CreateCapacityProviderRequest = exports.Tag = exports.AutoScalingGroupProvider = exports.ManagedTerminationProtection = exports.ManagedScaling = exports.ManagedScalingStatus = exports.ClientException = exports.AgentUpdateStatus = exports.AccessDeniedException = void 0;
|
|
4
4
|
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.DeregisterContainerInstanceRequest = exports.TaskSetNotFoundException = exports.DeleteTaskSetResponse = exports.DeleteTaskSetRequest = exports.DeleteServiceResponse = exports.DeleteServiceRequest = exports.DeleteClusterResponse = exports.DeleteClusterRequest = exports.ClusterContainsTasksException = exports.ClusterContainsServicesException = exports.ClusterContainsContainerInstancesException = exports.DeleteCapacityProviderResponse = exports.DeleteCapacityProviderRequest = exports.TargetNotFoundException = exports.DeleteAttributesResponse = exports.DeleteAttributesRequest = exports.Attribute = exports.TargetType = exports.DeleteAccountSettingResponse = exports.Setting = exports.DeleteAccountSettingRequest = exports.SettingName = exports.ServiceNotFoundException = exports.ServiceNotActiveException = exports.CreateTaskSetResponse = exports.CreateTaskSetRequest = exports.UnsupportedFeatureException = exports.PlatformUnknownException = exports.PlatformTaskDefinitionIncompatibilityException = exports.CreateServiceResponse = exports.Service = exports.TaskSet = exports.StabilityStatus = exports.Scale = exports.ScaleUnit = void 0;
|
|
5
|
-
exports.
|
|
6
|
-
exports.
|
|
7
|
-
exports.
|
|
8
|
-
exports.UpdateTaskSetResponse = exports.UpdateTaskSetRequest = exports.UpdateServicePrimaryTaskSetResponse = exports.UpdateServicePrimaryTaskSetRequest = exports.UpdateServiceResponse = exports.UpdateServiceRequest = exports.UpdateContainerInstancesStateResponse = exports.UpdateContainerInstancesStateRequest = void 0;
|
|
5
|
+
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 = 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 = void 0;
|
|
6
|
+
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.TargetNotConnectedException = 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 = 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 = void 0;
|
|
7
|
+
exports.MissingVersionException = exports.UpdateClusterSettingsResponse = exports.UpdateClusterSettingsRequest = exports.UpdateClusterResponse = exports.UpdateClusterRequest = exports.UpdateCapacityProviderResponse = exports.UpdateCapacityProviderRequest = exports.AutoScalingGroupProviderUpdate = exports.UntagResourceResponse = exports.UntagResourceRequest = exports.TagResourceResponse = exports.TagResourceRequest = exports.ResourceNotFoundException = 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.BlockedException = exports.RegisterTaskDefinitionResponse = exports.RegisterTaskDefinitionRequest = exports.RegisterContainerInstanceResponse = exports.RegisterContainerInstanceRequest = exports.PlatformDevice = exports.PlatformDeviceType = exports.ResourceInUseException = exports.PutClusterCapacityProvidersResponse = exports.PutClusterCapacityProvidersRequest = exports.PutAttributesResponse = exports.PutAttributesRequest = exports.AttributeLimitExceededException = exports.PutAccountSettingDefaultResponse = exports.PutAccountSettingDefaultRequest = exports.PutAccountSettingResponse = exports.PutAccountSettingRequest = exports.ListTasksResponse = exports.ListTasksRequest = exports.DesiredStatus = exports.ListTaskDefinitionsResponse = exports.ListTaskDefinitionsRequest = void 0;
|
|
8
|
+
exports.UpdateTaskSetResponse = exports.UpdateTaskSetRequest = exports.UpdateServicePrimaryTaskSetResponse = exports.UpdateServicePrimaryTaskSetRequest = exports.UpdateServiceResponse = exports.UpdateServiceRequest = exports.UpdateContainerInstancesStateResponse = exports.UpdateContainerInstancesStateRequest = exports.UpdateContainerAgentResponse = exports.UpdateContainerAgentRequest = exports.NoUpdateAvailableException = void 0;
|
|
9
9
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
10
10
|
var AccessDeniedException;
|
|
11
11
|
(function (AccessDeniedException) {
|
|
@@ -772,6 +772,28 @@ var ProxyConfiguration;
|
|
|
772
772
|
...obj,
|
|
773
773
|
});
|
|
774
774
|
})(ProxyConfiguration = exports.ProxyConfiguration || (exports.ProxyConfiguration = {}));
|
|
775
|
+
var CPUArchitecture;
|
|
776
|
+
(function (CPUArchitecture) {
|
|
777
|
+
CPUArchitecture["ARM64"] = "ARM64";
|
|
778
|
+
CPUArchitecture["X86_64"] = "X86_64";
|
|
779
|
+
})(CPUArchitecture = exports.CPUArchitecture || (exports.CPUArchitecture = {}));
|
|
780
|
+
var OSFamily;
|
|
781
|
+
(function (OSFamily) {
|
|
782
|
+
OSFamily["LINUX"] = "LINUX";
|
|
783
|
+
OSFamily["WINDOWS_SERVER_2004_CORE"] = "WINDOWS_SERVER_2004_CORE";
|
|
784
|
+
OSFamily["WINDOWS_SERVER_2016_FULL"] = "WINDOWS_SERVER_2016_FULL";
|
|
785
|
+
OSFamily["WINDOWS_SERVER_2019_CORE"] = "WINDOWS_SERVER_2019_CORE";
|
|
786
|
+
OSFamily["WINDOWS_SERVER_2019_FULL"] = "WINDOWS_SERVER_2019_FULL";
|
|
787
|
+
OSFamily["WINDOWS_SERVER_2022_CORE"] = "WINDOWS_SERVER_2022_CORE";
|
|
788
|
+
OSFamily["WINDOWS_SERVER_2022_FULL"] = "WINDOWS_SERVER_2022_FULL";
|
|
789
|
+
OSFamily["WINDOWS_SERVER_20H2_CORE"] = "WINDOWS_SERVER_20H2_CORE";
|
|
790
|
+
})(OSFamily = exports.OSFamily || (exports.OSFamily = {}));
|
|
791
|
+
var RuntimePlatform;
|
|
792
|
+
(function (RuntimePlatform) {
|
|
793
|
+
RuntimePlatform.filterSensitiveLog = (obj) => ({
|
|
794
|
+
...obj,
|
|
795
|
+
});
|
|
796
|
+
})(RuntimePlatform = exports.RuntimePlatform || (exports.RuntimePlatform = {}));
|
|
775
797
|
var TaskDefinitionStatus;
|
|
776
798
|
(function (TaskDefinitionStatus) {
|
|
777
799
|
TaskDefinitionStatus["ACTIVE"] = "ACTIVE";
|
|
@@ -5988,6 +5988,10 @@ const serializeAws_json1_1RegisterTaskDefinitionRequest = (input, context) => {
|
|
|
5988
5988
|
input.requiresCompatibilities !== null && {
|
|
5989
5989
|
requiresCompatibilities: serializeAws_json1_1CompatibilityList(input.requiresCompatibilities, context),
|
|
5990
5990
|
}),
|
|
5991
|
+
...(input.runtimePlatform !== undefined &&
|
|
5992
|
+
input.runtimePlatform !== null && {
|
|
5993
|
+
runtimePlatform: serializeAws_json1_1RuntimePlatform(input.runtimePlatform, context),
|
|
5994
|
+
}),
|
|
5991
5995
|
...(input.tags !== undefined && input.tags !== null && { tags: serializeAws_json1_1Tags(input.tags, context) }),
|
|
5992
5996
|
...(input.taskRoleArn !== undefined && input.taskRoleArn !== null && { taskRoleArn: input.taskRoleArn }),
|
|
5993
5997
|
...(input.volumes !== undefined &&
|
|
@@ -6078,6 +6082,14 @@ const serializeAws_json1_1RunTaskRequest = (input, context) => {
|
|
|
6078
6082
|
input.taskDefinition !== null && { taskDefinition: input.taskDefinition }),
|
|
6079
6083
|
};
|
|
6080
6084
|
};
|
|
6085
|
+
const serializeAws_json1_1RuntimePlatform = (input, context) => {
|
|
6086
|
+
return {
|
|
6087
|
+
...(input.cpuArchitecture !== undefined &&
|
|
6088
|
+
input.cpuArchitecture !== null && { cpuArchitecture: input.cpuArchitecture }),
|
|
6089
|
+
...(input.operatingSystemFamily !== undefined &&
|
|
6090
|
+
input.operatingSystemFamily !== null && { operatingSystemFamily: input.operatingSystemFamily }),
|
|
6091
|
+
};
|
|
6092
|
+
};
|
|
6081
6093
|
const serializeAws_json1_1Scale = (input, context) => {
|
|
6082
6094
|
return {
|
|
6083
6095
|
...(input.unit !== undefined && input.unit !== null && { unit: input.unit }),
|
|
@@ -7079,6 +7091,7 @@ const deserializeAws_json1_1Deployment = (output, context) => {
|
|
|
7079
7091
|
? deserializeAws_json1_1NetworkConfiguration(output.networkConfiguration, context)
|
|
7080
7092
|
: undefined,
|
|
7081
7093
|
pendingCount: smithy_client_1.expectInt32(output.pendingCount),
|
|
7094
|
+
platformFamily: smithy_client_1.expectString(output.platformFamily),
|
|
7082
7095
|
platformVersion: smithy_client_1.expectString(output.platformVersion),
|
|
7083
7096
|
rolloutState: smithy_client_1.expectString(output.rolloutState),
|
|
7084
7097
|
rolloutStateReason: smithy_client_1.expectString(output.rolloutStateReason),
|
|
@@ -7909,6 +7922,12 @@ const deserializeAws_json1_1RunTaskResponse = (output, context) => {
|
|
|
7909
7922
|
: undefined,
|
|
7910
7923
|
};
|
|
7911
7924
|
};
|
|
7925
|
+
const deserializeAws_json1_1RuntimePlatform = (output, context) => {
|
|
7926
|
+
return {
|
|
7927
|
+
cpuArchitecture: smithy_client_1.expectString(output.cpuArchitecture),
|
|
7928
|
+
operatingSystemFamily: smithy_client_1.expectString(output.operatingSystemFamily),
|
|
7929
|
+
};
|
|
7930
|
+
};
|
|
7912
7931
|
const deserializeAws_json1_1Scale = (output, context) => {
|
|
7913
7932
|
return {
|
|
7914
7933
|
unit: smithy_client_1.expectString(output.unit),
|
|
@@ -7976,6 +7995,7 @@ const deserializeAws_json1_1Service = (output, context) => {
|
|
|
7976
7995
|
placementStrategy: output.placementStrategy !== undefined && output.placementStrategy !== null
|
|
7977
7996
|
? deserializeAws_json1_1PlacementStrategies(output.placementStrategy, context)
|
|
7978
7997
|
: undefined,
|
|
7998
|
+
platformFamily: smithy_client_1.expectString(output.platformFamily),
|
|
7979
7999
|
platformVersion: smithy_client_1.expectString(output.platformVersion),
|
|
7980
8000
|
propagateTags: smithy_client_1.expectString(output.propagateTags),
|
|
7981
8001
|
roleArn: smithy_client_1.expectString(output.roleArn),
|
|
@@ -8223,6 +8243,7 @@ const deserializeAws_json1_1Task = (output, context) => {
|
|
|
8223
8243
|
overrides: output.overrides !== undefined && output.overrides !== null
|
|
8224
8244
|
? deserializeAws_json1_1TaskOverride(output.overrides, context)
|
|
8225
8245
|
: undefined,
|
|
8246
|
+
platformFamily: smithy_client_1.expectString(output.platformFamily),
|
|
8226
8247
|
platformVersion: smithy_client_1.expectString(output.platformVersion),
|
|
8227
8248
|
pullStartedAt: output.pullStartedAt !== undefined && output.pullStartedAt !== null
|
|
8228
8249
|
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.pullStartedAt)))
|
|
@@ -8289,6 +8310,9 @@ const deserializeAws_json1_1TaskDefinition = (output, context) => {
|
|
|
8289
8310
|
? deserializeAws_json1_1CompatibilityList(output.requiresCompatibilities, context)
|
|
8290
8311
|
: undefined,
|
|
8291
8312
|
revision: smithy_client_1.expectInt32(output.revision),
|
|
8313
|
+
runtimePlatform: output.runtimePlatform !== undefined && output.runtimePlatform !== null
|
|
8314
|
+
? deserializeAws_json1_1RuntimePlatform(output.runtimePlatform, context)
|
|
8315
|
+
: undefined,
|
|
8292
8316
|
status: smithy_client_1.expectString(output.status),
|
|
8293
8317
|
taskDefinitionArn: smithy_client_1.expectString(output.taskDefinitionArn),
|
|
8294
8318
|
taskRoleArn: smithy_client_1.expectString(output.taskRoleArn),
|
|
@@ -8360,6 +8384,7 @@ const deserializeAws_json1_1TaskSet = (output, context) => {
|
|
|
8360
8384
|
? deserializeAws_json1_1NetworkConfiguration(output.networkConfiguration, context)
|
|
8361
8385
|
: undefined,
|
|
8362
8386
|
pendingCount: smithy_client_1.expectInt32(output.pendingCount),
|
|
8387
|
+
platformFamily: smithy_client_1.expectString(output.platformFamily),
|
|
8363
8388
|
platformVersion: smithy_client_1.expectString(output.platformVersion),
|
|
8364
8389
|
runningCount: smithy_client_1.expectInt32(output.runningCount),
|
|
8365
8390
|
scale: output.scale !== undefined && output.scale !== null
|
package/dist-es/endpoints.js
CHANGED
|
@@ -55,22 +55,27 @@ var partitionHash = {
|
|
|
55
55
|
"us-west-1",
|
|
56
56
|
"us-west-2",
|
|
57
57
|
],
|
|
58
|
+
regionRegex: "^(us|eu|ap|sa|ca|me|af)\\-\\w+\\-\\d+$",
|
|
58
59
|
hostname: "ecs.{region}.amazonaws.com",
|
|
59
60
|
},
|
|
60
61
|
"aws-cn": {
|
|
61
62
|
regions: ["cn-north-1", "cn-northwest-1"],
|
|
63
|
+
regionRegex: "^cn\\-\\w+\\-\\d+$",
|
|
62
64
|
hostname: "ecs.{region}.amazonaws.com.cn",
|
|
63
65
|
},
|
|
64
66
|
"aws-iso": {
|
|
65
67
|
regions: ["us-iso-east-1", "us-iso-west-1"],
|
|
68
|
+
regionRegex: "^us\\-iso\\-\\w+\\-\\d+$",
|
|
66
69
|
hostname: "ecs.{region}.c2s.ic.gov",
|
|
67
70
|
},
|
|
68
71
|
"aws-iso-b": {
|
|
69
72
|
regions: ["us-isob-east-1"],
|
|
73
|
+
regionRegex: "^us\\-isob\\-\\w+\\-\\d+$",
|
|
70
74
|
hostname: "ecs.{region}.sc2s.sgov.gov",
|
|
71
75
|
},
|
|
72
76
|
"aws-us-gov": {
|
|
73
77
|
regions: ["fips-us-gov-east-1", "fips-us-gov-west-1", "us-gov-east-1", "us-gov-west-1"],
|
|
78
|
+
regionRegex: "^us\\-gov\\-\\w+\\-\\d+$",
|
|
74
79
|
hostname: "ecs.{region}.amazonaws.com",
|
|
75
80
|
},
|
|
76
81
|
};
|
|
@@ -577,6 +577,26 @@ export var ProxyConfiguration;
|
|
|
577
577
|
(function (ProxyConfiguration) {
|
|
578
578
|
ProxyConfiguration.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
579
579
|
})(ProxyConfiguration || (ProxyConfiguration = {}));
|
|
580
|
+
export var CPUArchitecture;
|
|
581
|
+
(function (CPUArchitecture) {
|
|
582
|
+
CPUArchitecture["ARM64"] = "ARM64";
|
|
583
|
+
CPUArchitecture["X86_64"] = "X86_64";
|
|
584
|
+
})(CPUArchitecture || (CPUArchitecture = {}));
|
|
585
|
+
export var OSFamily;
|
|
586
|
+
(function (OSFamily) {
|
|
587
|
+
OSFamily["LINUX"] = "LINUX";
|
|
588
|
+
OSFamily["WINDOWS_SERVER_2004_CORE"] = "WINDOWS_SERVER_2004_CORE";
|
|
589
|
+
OSFamily["WINDOWS_SERVER_2016_FULL"] = "WINDOWS_SERVER_2016_FULL";
|
|
590
|
+
OSFamily["WINDOWS_SERVER_2019_CORE"] = "WINDOWS_SERVER_2019_CORE";
|
|
591
|
+
OSFamily["WINDOWS_SERVER_2019_FULL"] = "WINDOWS_SERVER_2019_FULL";
|
|
592
|
+
OSFamily["WINDOWS_SERVER_2022_CORE"] = "WINDOWS_SERVER_2022_CORE";
|
|
593
|
+
OSFamily["WINDOWS_SERVER_2022_FULL"] = "WINDOWS_SERVER_2022_FULL";
|
|
594
|
+
OSFamily["WINDOWS_SERVER_20H2_CORE"] = "WINDOWS_SERVER_20H2_CORE";
|
|
595
|
+
})(OSFamily || (OSFamily = {}));
|
|
596
|
+
export var RuntimePlatform;
|
|
597
|
+
(function (RuntimePlatform) {
|
|
598
|
+
RuntimePlatform.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
599
|
+
})(RuntimePlatform || (RuntimePlatform = {}));
|
|
580
600
|
export var TaskDefinitionStatus;
|
|
581
601
|
(function (TaskDefinitionStatus) {
|
|
582
602
|
TaskDefinitionStatus["ACTIVE"] = "ACTIVE";
|
|
@@ -6014,7 +6014,7 @@ var serializeAws_json1_1RegisterContainerInstanceRequest = function (input, cont
|
|
|
6014
6014
|
input.versionInfo !== null && { versionInfo: serializeAws_json1_1VersionInfo(input.versionInfo, context) }));
|
|
6015
6015
|
};
|
|
6016
6016
|
var serializeAws_json1_1RegisterTaskDefinitionRequest = function (input, context) {
|
|
6017
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.containerDefinitions !== undefined &&
|
|
6017
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.containerDefinitions !== undefined &&
|
|
6018
6018
|
input.containerDefinitions !== null && {
|
|
6019
6019
|
containerDefinitions: serializeAws_json1_1ContainerDefinitions(input.containerDefinitions, context),
|
|
6020
6020
|
})), (input.cpu !== undefined && input.cpu !== null && { cpu: input.cpu })), (input.ephemeralStorage !== undefined &&
|
|
@@ -6033,6 +6033,9 @@ var serializeAws_json1_1RegisterTaskDefinitionRequest = function (input, context
|
|
|
6033
6033
|
})), (input.requiresCompatibilities !== undefined &&
|
|
6034
6034
|
input.requiresCompatibilities !== null && {
|
|
6035
6035
|
requiresCompatibilities: serializeAws_json1_1CompatibilityList(input.requiresCompatibilities, context),
|
|
6036
|
+
})), (input.runtimePlatform !== undefined &&
|
|
6037
|
+
input.runtimePlatform !== null && {
|
|
6038
|
+
runtimePlatform: serializeAws_json1_1RuntimePlatform(input.runtimePlatform, context),
|
|
6036
6039
|
})), (input.tags !== undefined && input.tags !== null && { tags: serializeAws_json1_1Tags(input.tags, context) })), (input.taskRoleArn !== undefined && input.taskRoleArn !== null && { taskRoleArn: input.taskRoleArn })), (input.volumes !== undefined &&
|
|
6037
6040
|
input.volumes !== null && { volumes: serializeAws_json1_1VolumeList(input.volumes, context) }));
|
|
6038
6041
|
};
|
|
@@ -6090,6 +6093,11 @@ var serializeAws_json1_1RunTaskRequest = function (input, context) {
|
|
|
6090
6093
|
input.platformVersion !== null && { platformVersion: input.platformVersion })), (input.propagateTags !== undefined && input.propagateTags !== null && { propagateTags: input.propagateTags })), (input.referenceId !== undefined && input.referenceId !== null && { referenceId: input.referenceId })), (input.startedBy !== undefined && input.startedBy !== null && { startedBy: input.startedBy })), (input.tags !== undefined && input.tags !== null && { tags: serializeAws_json1_1Tags(input.tags, context) })), (input.taskDefinition !== undefined &&
|
|
6091
6094
|
input.taskDefinition !== null && { taskDefinition: input.taskDefinition }));
|
|
6092
6095
|
};
|
|
6096
|
+
var serializeAws_json1_1RuntimePlatform = function (input, context) {
|
|
6097
|
+
return __assign(__assign({}, (input.cpuArchitecture !== undefined &&
|
|
6098
|
+
input.cpuArchitecture !== null && { cpuArchitecture: input.cpuArchitecture })), (input.operatingSystemFamily !== undefined &&
|
|
6099
|
+
input.operatingSystemFamily !== null && { operatingSystemFamily: input.operatingSystemFamily }));
|
|
6100
|
+
};
|
|
6093
6101
|
var serializeAws_json1_1Scale = function (input, context) {
|
|
6094
6102
|
return __assign(__assign({}, (input.unit !== undefined && input.unit !== null && { unit: input.unit })), (input.value !== undefined && input.value !== null && { value: __serializeFloat(input.value) }));
|
|
6095
6103
|
};
|
|
@@ -6955,6 +6963,7 @@ var deserializeAws_json1_1Deployment = function (output, context) {
|
|
|
6955
6963
|
? deserializeAws_json1_1NetworkConfiguration(output.networkConfiguration, context)
|
|
6956
6964
|
: undefined,
|
|
6957
6965
|
pendingCount: __expectInt32(output.pendingCount),
|
|
6966
|
+
platformFamily: __expectString(output.platformFamily),
|
|
6958
6967
|
platformVersion: __expectString(output.platformVersion),
|
|
6959
6968
|
rolloutState: __expectString(output.rolloutState),
|
|
6960
6969
|
rolloutStateReason: __expectString(output.rolloutStateReason),
|
|
@@ -7782,6 +7791,12 @@ var deserializeAws_json1_1RunTaskResponse = function (output, context) {
|
|
|
7782
7791
|
: undefined,
|
|
7783
7792
|
};
|
|
7784
7793
|
};
|
|
7794
|
+
var deserializeAws_json1_1RuntimePlatform = function (output, context) {
|
|
7795
|
+
return {
|
|
7796
|
+
cpuArchitecture: __expectString(output.cpuArchitecture),
|
|
7797
|
+
operatingSystemFamily: __expectString(output.operatingSystemFamily),
|
|
7798
|
+
};
|
|
7799
|
+
};
|
|
7785
7800
|
var deserializeAws_json1_1Scale = function (output, context) {
|
|
7786
7801
|
return {
|
|
7787
7802
|
unit: __expectString(output.unit),
|
|
@@ -7849,6 +7864,7 @@ var deserializeAws_json1_1Service = function (output, context) {
|
|
|
7849
7864
|
placementStrategy: output.placementStrategy !== undefined && output.placementStrategy !== null
|
|
7850
7865
|
? deserializeAws_json1_1PlacementStrategies(output.placementStrategy, context)
|
|
7851
7866
|
: undefined,
|
|
7867
|
+
platformFamily: __expectString(output.platformFamily),
|
|
7852
7868
|
platformVersion: __expectString(output.platformVersion),
|
|
7853
7869
|
propagateTags: __expectString(output.propagateTags),
|
|
7854
7870
|
roleArn: __expectString(output.roleArn),
|
|
@@ -8095,6 +8111,7 @@ var deserializeAws_json1_1Task = function (output, context) {
|
|
|
8095
8111
|
overrides: output.overrides !== undefined && output.overrides !== null
|
|
8096
8112
|
? deserializeAws_json1_1TaskOverride(output.overrides, context)
|
|
8097
8113
|
: undefined,
|
|
8114
|
+
platformFamily: __expectString(output.platformFamily),
|
|
8098
8115
|
platformVersion: __expectString(output.platformVersion),
|
|
8099
8116
|
pullStartedAt: output.pullStartedAt !== undefined && output.pullStartedAt !== null
|
|
8100
8117
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.pullStartedAt)))
|
|
@@ -8161,6 +8178,9 @@ var deserializeAws_json1_1TaskDefinition = function (output, context) {
|
|
|
8161
8178
|
? deserializeAws_json1_1CompatibilityList(output.requiresCompatibilities, context)
|
|
8162
8179
|
: undefined,
|
|
8163
8180
|
revision: __expectInt32(output.revision),
|
|
8181
|
+
runtimePlatform: output.runtimePlatform !== undefined && output.runtimePlatform !== null
|
|
8182
|
+
? deserializeAws_json1_1RuntimePlatform(output.runtimePlatform, context)
|
|
8183
|
+
: undefined,
|
|
8164
8184
|
status: __expectString(output.status),
|
|
8165
8185
|
taskDefinitionArn: __expectString(output.taskDefinitionArn),
|
|
8166
8186
|
taskRoleArn: __expectString(output.taskRoleArn),
|
|
@@ -8232,6 +8252,7 @@ var deserializeAws_json1_1TaskSet = function (output, context) {
|
|
|
8232
8252
|
? deserializeAws_json1_1NetworkConfiguration(output.networkConfiguration, context)
|
|
8233
8253
|
: undefined,
|
|
8234
8254
|
pendingCount: __expectInt32(output.pendingCount),
|
|
8255
|
+
platformFamily: __expectString(output.platformFamily),
|
|
8235
8256
|
platformVersion: __expectString(output.platformVersion),
|
|
8236
8257
|
runningCount: __expectInt32(output.runningCount),
|
|
8237
8258
|
scale: output.scale !== undefined && output.scale !== null
|
|
@@ -435,8 +435,8 @@ export interface ExecuteCommandLogConfiguration {
|
|
|
435
435
|
*/
|
|
436
436
|
s3BucketName?: string;
|
|
437
437
|
/**
|
|
438
|
-
* <p>Whether or not to
|
|
439
|
-
* encryption
|
|
438
|
+
* <p>Whether or not to use encryption on the S3 logs. If not specified,
|
|
439
|
+
* encryption is not used.</p>
|
|
440
440
|
*/
|
|
441
441
|
s3EncryptionEnabled?: boolean;
|
|
442
442
|
/**
|
|
@@ -1706,6 +1706,11 @@ export interface Deployment {
|
|
|
1706
1706
|
* Versions</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
|
|
1707
1707
|
*/
|
|
1708
1708
|
platformVersion?: string;
|
|
1709
|
+
/**
|
|
1710
|
+
* <p>The operating system that your tasks in the service, or tasks are running on. A platform family is specified only for tasks using the Fargate launch type. </p>
|
|
1711
|
+
* <p> All tasks that run as part of this service must use the same <code>platformFamily</code> value as the service, for example, <code> LINUX.</code>.</p>
|
|
1712
|
+
*/
|
|
1713
|
+
platformFamily?: string;
|
|
1709
1714
|
/**
|
|
1710
1715
|
* <p>The VPC subnet and security group configuration for tasks that receive their own
|
|
1711
1716
|
* elastic network interface by using the <code>awsvpc</code> networking mode.</p>
|
|
@@ -1893,6 +1898,11 @@ export interface TaskSet {
|
|
|
1893
1898
|
* versions</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
|
|
1894
1899
|
*/
|
|
1895
1900
|
platformVersion?: string;
|
|
1901
|
+
/**
|
|
1902
|
+
* <p>The operating system that your tasks in the set are running on. A platform family is specified only for tasks using the Fargate launch type. </p>
|
|
1903
|
+
* <p> All tasks in the set must have the same value.</p>
|
|
1904
|
+
*/
|
|
1905
|
+
platformFamily?: string;
|
|
1896
1906
|
/**
|
|
1897
1907
|
* <p>The network configuration for the task set.</p>
|
|
1898
1908
|
*/
|
|
@@ -2050,6 +2060,11 @@ export interface Service {
|
|
|
2050
2060
|
* Versions</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
|
|
2051
2061
|
*/
|
|
2052
2062
|
platformVersion?: string;
|
|
2063
|
+
/**
|
|
2064
|
+
* <p>The operating system that your tasks in the service are running on. A platform family is specified only for tasks using the Fargate launch type. </p>
|
|
2065
|
+
* <p> All tasks that run as part of this service must use the same <code>platformFamily</code> value as the service, for example, <code>LINUX</code>.</p>
|
|
2066
|
+
*/
|
|
2067
|
+
platformFamily?: string;
|
|
2053
2068
|
/**
|
|
2054
2069
|
* <p>The task definition to use for tasks in the service. This value is specified when the
|
|
2055
2070
|
* service is created with <a>CreateService</a>, and it can be modified with
|
|
@@ -3081,8 +3096,17 @@ export declare enum ContainerCondition {
|
|
|
3081
3096
|
* <code>20190301</code> or later, then they contain the required versions of the
|
|
3082
3097
|
* container agent and <code>ecs-init</code>. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html">Amazon ECS-optimized Linux AMI</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
|
|
3083
3098
|
* <note>
|
|
3084
|
-
* <p>For tasks using the Fargate launch type,
|
|
3085
|
-
*
|
|
3099
|
+
* <p>For tasks using the Fargate launch type, the task or service requires the followiwng platforms:</p>
|
|
3100
|
+
* <ul>
|
|
3101
|
+
* <li>
|
|
3102
|
+
* <p>Linux platform
|
|
3103
|
+
* version <code>1.3.0</code> or later.</p>
|
|
3104
|
+
* </li>
|
|
3105
|
+
* <li>
|
|
3106
|
+
* <p>Windows platform
|
|
3107
|
+
* version <code>1.0.0</code> or later.</p>
|
|
3108
|
+
* </li>
|
|
3109
|
+
* </ul>
|
|
3086
3110
|
* </note>
|
|
3087
3111
|
*/
|
|
3088
3112
|
export interface ContainerDependency {
|
|
@@ -3148,8 +3172,17 @@ export declare enum EnvironmentFileType {
|
|
|
3148
3172
|
* same variable, they are processed from the top down. It is recommended to use unique
|
|
3149
3173
|
* variable names. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/taskdef-envfiles.html">Specifying environment
|
|
3150
3174
|
* variables</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
|
|
3151
|
-
* <p>This
|
|
3152
|
-
*
|
|
3175
|
+
* <p>This parameter is only supported for tasks hosted on Fargate using the following platform versions:</p>
|
|
3176
|
+
* <ul>
|
|
3177
|
+
* <li>
|
|
3178
|
+
* <p>Linux platform
|
|
3179
|
+
* version <code>1.4.0</code> or later.</p>
|
|
3180
|
+
* </li>
|
|
3181
|
+
* <li>
|
|
3182
|
+
* <p>Windows platform
|
|
3183
|
+
* version <code>1.0.0</code> or later.</p>
|
|
3184
|
+
* </li>
|
|
3185
|
+
* </ul>
|
|
3153
3186
|
*/
|
|
3154
3187
|
export interface EnvironmentFile {
|
|
3155
3188
|
/**
|
|
@@ -4251,8 +4284,17 @@ export interface ContainerDefinition {
|
|
|
4251
4284
|
* <code>ecs-init</code> package. If your container instances are launched from version
|
|
4252
4285
|
* <code>20190301</code> or later, then they contain the required versions of the
|
|
4253
4286
|
* container agent and <code>ecs-init</code>. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html">Amazon ECS-optimized Linux AMI</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
|
|
4254
|
-
* <p>For tasks using the Fargate launch type, the task or service requires
|
|
4255
|
-
*
|
|
4287
|
+
* <p>For tasks using the Fargate launch type, the task or service requires the followiwng platforms:</p>
|
|
4288
|
+
* <ul>
|
|
4289
|
+
* <li>
|
|
4290
|
+
* <p>Linux platform
|
|
4291
|
+
* version <code>1.3.0</code> or later.</p>
|
|
4292
|
+
* </li>
|
|
4293
|
+
* <li>
|
|
4294
|
+
* <p>Windows platform
|
|
4295
|
+
* version <code>1.0.0</code> or later.</p>
|
|
4296
|
+
* </li>
|
|
4297
|
+
* </ul>
|
|
4256
4298
|
*/
|
|
4257
4299
|
dependsOn?: ContainerDependency[];
|
|
4258
4300
|
/**
|
|
@@ -4267,8 +4309,17 @@ export interface ContainerDefinition {
|
|
|
4267
4309
|
* <p>When the <code>ECS_CONTAINER_START_TIMEOUT</code> container agent configuration
|
|
4268
4310
|
* variable is used, it is enforced indendently from this start timeout value.</p>
|
|
4269
4311
|
* </note>
|
|
4270
|
-
* <p>For tasks using the Fargate launch type,
|
|
4271
|
-
*
|
|
4312
|
+
* <p>For tasks using the Fargate launch type, the task or service requires the followiwng platforms:</p>
|
|
4313
|
+
* <ul>
|
|
4314
|
+
* <li>
|
|
4315
|
+
* <p>Linux platform
|
|
4316
|
+
* version <code>1.3.0</code> or later.</p>
|
|
4317
|
+
* </li>
|
|
4318
|
+
* <li>
|
|
4319
|
+
* <p>Windows platform
|
|
4320
|
+
* version <code>1.0.0</code> or later.</p>
|
|
4321
|
+
* </li>
|
|
4322
|
+
* </ul>
|
|
4272
4323
|
* <p>For tasks using the EC2 launch type, your container instances require at
|
|
4273
4324
|
* least version <code>1.26.0</code> of the container agent to enable a container start
|
|
4274
4325
|
* timeout value. However, we recommend using the latest container agent version. For
|
|
@@ -4284,8 +4335,18 @@ export interface ContainerDefinition {
|
|
|
4284
4335
|
/**
|
|
4285
4336
|
* <p>Time duration (in seconds) to wait before the container is forcefully killed if it
|
|
4286
4337
|
* doesn't exit normally on its own.</p>
|
|
4287
|
-
* <p>For tasks using the Fargate launch type, the task or service requires
|
|
4288
|
-
*
|
|
4338
|
+
* <p>For tasks using the Fargate launch type, the task or service requires the followiwng platforms:</p>
|
|
4339
|
+
* <ul>
|
|
4340
|
+
* <li>
|
|
4341
|
+
* <p>Linux platform
|
|
4342
|
+
* version <code>1.3.0</code> or later.</p>
|
|
4343
|
+
* </li>
|
|
4344
|
+
* <li>
|
|
4345
|
+
* <p>Windows platform
|
|
4346
|
+
* version <code>1.0.0</code> or later.</p>
|
|
4347
|
+
* </li>
|
|
4348
|
+
* </ul>
|
|
4349
|
+
* <p>The max stop timeout value is 120 seconds and if the
|
|
4289
4350
|
* parameter is not specified, the default value of 30 seconds is used.</p>
|
|
4290
4351
|
* <p>For tasks using the EC2 launch type, if the <code>stopTimeout</code>
|
|
4291
4352
|
* parameter is not specified, the value set for the Amazon ECS container agent configuration
|
|
@@ -4574,8 +4635,17 @@ export declare namespace ContainerDefinition {
|
|
|
4574
4635
|
* tasks hosted on Fargate. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/userguide/using_data_volumes.html">Fargate task
|
|
4575
4636
|
* storage</a> in the <i>Amazon ECS User Guide for Fargate</i>.</p>
|
|
4576
4637
|
* <note>
|
|
4577
|
-
* <p>This parameter is only supported for tasks hosted on Fargate using platform
|
|
4578
|
-
*
|
|
4638
|
+
* <p>This parameter is only supported for tasks hosted on Fargate using the following platform versions:</p>
|
|
4639
|
+
* <ul>
|
|
4640
|
+
* <li>
|
|
4641
|
+
* <p>Linux platform
|
|
4642
|
+
* version <code>1.4.0</code> or later.</p>
|
|
4643
|
+
* </li>
|
|
4644
|
+
* <li>
|
|
4645
|
+
* <p>Windows platform
|
|
4646
|
+
* version <code>1.0.0</code> or later.</p>
|
|
4647
|
+
* </li>
|
|
4648
|
+
* </ul>
|
|
4579
4649
|
* </note>
|
|
4580
4650
|
*/
|
|
4581
4651
|
export interface EphemeralStorage {
|
|
@@ -4737,6 +4807,39 @@ export declare namespace ProxyConfiguration {
|
|
|
4737
4807
|
*/
|
|
4738
4808
|
const filterSensitiveLog: (obj: ProxyConfiguration) => any;
|
|
4739
4809
|
}
|
|
4810
|
+
export declare enum CPUArchitecture {
|
|
4811
|
+
ARM64 = "ARM64",
|
|
4812
|
+
X86_64 = "X86_64"
|
|
4813
|
+
}
|
|
4814
|
+
export declare enum OSFamily {
|
|
4815
|
+
LINUX = "LINUX",
|
|
4816
|
+
WINDOWS_SERVER_2004_CORE = "WINDOWS_SERVER_2004_CORE",
|
|
4817
|
+
WINDOWS_SERVER_2016_FULL = "WINDOWS_SERVER_2016_FULL",
|
|
4818
|
+
WINDOWS_SERVER_2019_CORE = "WINDOWS_SERVER_2019_CORE",
|
|
4819
|
+
WINDOWS_SERVER_2019_FULL = "WINDOWS_SERVER_2019_FULL",
|
|
4820
|
+
WINDOWS_SERVER_2022_CORE = "WINDOWS_SERVER_2022_CORE",
|
|
4821
|
+
WINDOWS_SERVER_2022_FULL = "WINDOWS_SERVER_2022_FULL",
|
|
4822
|
+
WINDOWS_SERVER_20H2_CORE = "WINDOWS_SERVER_20H2_CORE"
|
|
4823
|
+
}
|
|
4824
|
+
/**
|
|
4825
|
+
* <p>Information about the platform for the Amazon ECS service or task.</p>
|
|
4826
|
+
*/
|
|
4827
|
+
export interface RuntimePlatform {
|
|
4828
|
+
/**
|
|
4829
|
+
* <p>The CPU architecture.</p>
|
|
4830
|
+
*/
|
|
4831
|
+
cpuArchitecture?: CPUArchitecture | string;
|
|
4832
|
+
/**
|
|
4833
|
+
* <p>The operating system.</p>
|
|
4834
|
+
*/
|
|
4835
|
+
operatingSystemFamily?: OSFamily | string;
|
|
4836
|
+
}
|
|
4837
|
+
export declare namespace RuntimePlatform {
|
|
4838
|
+
/**
|
|
4839
|
+
* @internal
|
|
4840
|
+
*/
|
|
4841
|
+
const filterSensitiveLog: (obj: RuntimePlatform) => any;
|
|
4842
|
+
}
|
|
4740
4843
|
export declare enum TaskDefinitionStatus {
|
|
4741
4844
|
ACTIVE = "ACTIVE",
|
|
4742
4845
|
INACTIVE = "INACTIVE"
|
|
@@ -5141,6 +5244,11 @@ export interface TaskDefinition {
|
|
|
5141
5244
|
* in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
|
|
5142
5245
|
*/
|
|
5143
5246
|
compatibilities?: (Compatibility | string)[];
|
|
5247
|
+
/**
|
|
5248
|
+
* <p>The operating system that your task definitions are running on. A platform family is specified only for tasks using the Fargate launch type. </p>
|
|
5249
|
+
* <p>When you specify a task in a service, this value must match the <code>runtimePlatform</code> value of the service.</p>
|
|
5250
|
+
*/
|
|
5251
|
+
runtimePlatform?: RuntimePlatform;
|
|
5144
5252
|
/**
|
|
5145
5253
|
* <p>The task launch types the task definition was validated against. To determine which
|
|
5146
5254
|
* task launch types the task definition is validated for, see the <a>TaskDefinition$compatibilities</a> parameter.</p>
|
|
@@ -5933,8 +6041,17 @@ export interface TaskOverride {
|
|
|
5933
6041
|
/**
|
|
5934
6042
|
* <p>The ephemeral storage setting override for the task.</p>
|
|
5935
6043
|
* <note>
|
|
5936
|
-
* <p>This parameter is only supported for tasks hosted on Fargate using platform
|
|
5937
|
-
*
|
|
6044
|
+
* <p>This parameter is only supported for tasks hosted on Fargate using the following platform versions:</p>
|
|
6045
|
+
* <ul>
|
|
6046
|
+
* <li>
|
|
6047
|
+
* <p>Linux platform
|
|
6048
|
+
* version <code>1.4.0</code> or later.</p>
|
|
6049
|
+
* </li>
|
|
6050
|
+
* <li>
|
|
6051
|
+
* <p>Windows platform
|
|
6052
|
+
* version <code>1.0.0</code> or later.</p>
|
|
6053
|
+
* </li>
|
|
6054
|
+
* </ul>
|
|
5938
6055
|
* </note>
|
|
5939
6056
|
*/
|
|
5940
6057
|
ephemeralStorage?: EphemeralStorage;
|
|
@@ -6118,6 +6235,11 @@ export interface Task {
|
|
|
6118
6235
|
* Versions</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
|
|
6119
6236
|
*/
|
|
6120
6237
|
platformVersion?: string;
|
|
6238
|
+
/**
|
|
6239
|
+
* <p>The operating system that your tasks are running on. A platform family is specified only for tasks using the Fargate launch type. </p>
|
|
6240
|
+
* <p> All tasks that run as part of this service must use the same <code>platformFamily</code> value as the service, for example, <code>LINUX.</code>.</p>
|
|
6241
|
+
*/
|
|
6242
|
+
platformFamily?: string;
|
|
6121
6243
|
/**
|
|
6122
6244
|
* <p>The Unix timestamp for when the container image pull began.</p>
|
|
6123
6245
|
*/
|
|
@@ -7628,11 +7750,25 @@ export interface RegisterTaskDefinitionRequest {
|
|
|
7628
7750
|
* tasks hosted on Fargate. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/userguide/using_data_volumes.html">Fargate task
|
|
7629
7751
|
* storage</a> in the <i>Amazon ECS User Guide for Fargate</i>.</p>
|
|
7630
7752
|
* <note>
|
|
7631
|
-
* <p>This parameter is only supported for tasks hosted on Fargate using platform
|
|
7632
|
-
*
|
|
7753
|
+
* <p>This parameter is only supported for tasks hosted on Fargate using the following platform versions:</p>
|
|
7754
|
+
* <ul>
|
|
7755
|
+
* <li>
|
|
7756
|
+
* <p>Linux platform
|
|
7757
|
+
* version <code>1.4.0</code> or later.</p>
|
|
7758
|
+
* </li>
|
|
7759
|
+
* <li>
|
|
7760
|
+
* <p>Windows platform
|
|
7761
|
+
* version <code>1.0.0</code> or later.</p>
|
|
7762
|
+
* </li>
|
|
7763
|
+
* </ul>
|
|
7633
7764
|
* </note>
|
|
7634
7765
|
*/
|
|
7635
7766
|
ephemeralStorage?: EphemeralStorage;
|
|
7767
|
+
/**
|
|
7768
|
+
* <p>The operating system that your tasks definitions run on. A platform family is specified only for tasks using the Fargate launch type. </p>
|
|
7769
|
+
* <p>When you specify a task definition in a service, this value must match the <code>runtimePlatform</code> value of the service.</p>
|
|
7770
|
+
*/
|
|
7771
|
+
runtimePlatform?: RuntimePlatform;
|
|
7636
7772
|
}
|
|
7637
7773
|
export declare namespace RegisterTaskDefinitionRequest {
|
|
7638
7774
|
/**
|
|
@@ -559,6 +559,8 @@ export interface Deployment {
|
|
|
559
559
|
|
|
560
560
|
platformVersion?: string;
|
|
561
561
|
|
|
562
|
+
platformFamily?: string;
|
|
563
|
+
|
|
562
564
|
networkConfiguration?: NetworkConfiguration;
|
|
563
565
|
|
|
564
566
|
rolloutState?: DeploymentRolloutState | string;
|
|
@@ -635,6 +637,8 @@ export interface TaskSet {
|
|
|
635
637
|
|
|
636
638
|
platformVersion?: string;
|
|
637
639
|
|
|
640
|
+
platformFamily?: string;
|
|
641
|
+
|
|
638
642
|
networkConfiguration?: NetworkConfiguration;
|
|
639
643
|
|
|
640
644
|
loadBalancers?: LoadBalancer[];
|
|
@@ -680,6 +684,8 @@ export interface Service {
|
|
|
680
684
|
|
|
681
685
|
platformVersion?: string;
|
|
682
686
|
|
|
687
|
+
platformFamily?: string;
|
|
688
|
+
|
|
683
689
|
taskDefinition?: string;
|
|
684
690
|
|
|
685
691
|
deploymentConfiguration?: DeploymentConfiguration;
|
|
@@ -1555,6 +1561,31 @@ export declare namespace ProxyConfiguration {
|
|
|
1555
1561
|
|
|
1556
1562
|
const filterSensitiveLog: (obj: ProxyConfiguration) => any;
|
|
1557
1563
|
}
|
|
1564
|
+
export declare enum CPUArchitecture {
|
|
1565
|
+
ARM64 = "ARM64",
|
|
1566
|
+
X86_64 = "X86_64"
|
|
1567
|
+
}
|
|
1568
|
+
export declare enum OSFamily {
|
|
1569
|
+
LINUX = "LINUX",
|
|
1570
|
+
WINDOWS_SERVER_2004_CORE = "WINDOWS_SERVER_2004_CORE",
|
|
1571
|
+
WINDOWS_SERVER_2016_FULL = "WINDOWS_SERVER_2016_FULL",
|
|
1572
|
+
WINDOWS_SERVER_2019_CORE = "WINDOWS_SERVER_2019_CORE",
|
|
1573
|
+
WINDOWS_SERVER_2019_FULL = "WINDOWS_SERVER_2019_FULL",
|
|
1574
|
+
WINDOWS_SERVER_2022_CORE = "WINDOWS_SERVER_2022_CORE",
|
|
1575
|
+
WINDOWS_SERVER_2022_FULL = "WINDOWS_SERVER_2022_FULL",
|
|
1576
|
+
WINDOWS_SERVER_20H2_CORE = "WINDOWS_SERVER_20H2_CORE"
|
|
1577
|
+
}
|
|
1578
|
+
|
|
1579
|
+
export interface RuntimePlatform {
|
|
1580
|
+
|
|
1581
|
+
cpuArchitecture?: CPUArchitecture | string;
|
|
1582
|
+
|
|
1583
|
+
operatingSystemFamily?: OSFamily | string;
|
|
1584
|
+
}
|
|
1585
|
+
export declare namespace RuntimePlatform {
|
|
1586
|
+
|
|
1587
|
+
const filterSensitiveLog: (obj: RuntimePlatform) => any;
|
|
1588
|
+
}
|
|
1558
1589
|
export declare enum TaskDefinitionStatus {
|
|
1559
1590
|
ACTIVE = "ACTIVE",
|
|
1560
1591
|
INACTIVE = "INACTIVE"
|
|
@@ -1697,6 +1728,8 @@ export interface TaskDefinition {
|
|
|
1697
1728
|
|
|
1698
1729
|
compatibilities?: (Compatibility | string)[];
|
|
1699
1730
|
|
|
1731
|
+
runtimePlatform?: RuntimePlatform;
|
|
1732
|
+
|
|
1700
1733
|
requiresCompatibilities?: (Compatibility | string)[];
|
|
1701
1734
|
|
|
1702
1735
|
cpu?: string;
|
|
@@ -2091,6 +2124,8 @@ export interface Task {
|
|
|
2091
2124
|
|
|
2092
2125
|
platformVersion?: string;
|
|
2093
2126
|
|
|
2127
|
+
platformFamily?: string;
|
|
2128
|
+
|
|
2094
2129
|
pullStartedAt?: Date;
|
|
2095
2130
|
|
|
2096
2131
|
pullStoppedAt?: Date;
|
|
@@ -2659,6 +2694,8 @@ export interface RegisterTaskDefinitionRequest {
|
|
|
2659
2694
|
inferenceAccelerators?: InferenceAccelerator[];
|
|
2660
2695
|
|
|
2661
2696
|
ephemeralStorage?: EphemeralStorage;
|
|
2697
|
+
|
|
2698
|
+
runtimePlatform?: RuntimePlatform;
|
|
2662
2699
|
}
|
|
2663
2700
|
export declare namespace RegisterTaskDefinitionRequest {
|
|
2664
2701
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-ecs",
|
|
3
3
|
"description": "AWS SDK for JavaScript Ecs Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.39.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "yarn build:cjs && yarn build:es && yarn build:types",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.json",
|
|
@@ -19,23 +19,23 @@
|
|
|
19
19
|
"module": "./dist-es/index.js",
|
|
20
20
|
"sideEffects": false,
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@aws-crypto/sha256-browser": "
|
|
23
|
-
"@aws-crypto/sha256-js": "
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
22
|
+
"@aws-crypto/sha256-browser": "2.0.0",
|
|
23
|
+
"@aws-crypto/sha256-js": "2.0.0",
|
|
24
|
+
"@aws-sdk/client-sts": "3.39.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.39.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.39.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.38.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.38.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.38.0",
|
|
30
30
|
"@aws-sdk/middleware-content-length": "3.38.0",
|
|
31
31
|
"@aws-sdk/middleware-host-header": "3.38.0",
|
|
32
32
|
"@aws-sdk/middleware-logger": "3.38.0",
|
|
33
|
-
"@aws-sdk/middleware-retry": "3.
|
|
33
|
+
"@aws-sdk/middleware-retry": "3.39.0",
|
|
34
34
|
"@aws-sdk/middleware-serde": "3.38.0",
|
|
35
|
-
"@aws-sdk/middleware-signing": "3.
|
|
35
|
+
"@aws-sdk/middleware-signing": "3.39.0",
|
|
36
36
|
"@aws-sdk/middleware-stack": "3.38.0",
|
|
37
37
|
"@aws-sdk/middleware-user-agent": "3.38.0",
|
|
38
|
-
"@aws-sdk/node-config-provider": "3.
|
|
38
|
+
"@aws-sdk/node-config-provider": "3.39.0",
|
|
39
39
|
"@aws-sdk/node-http-handler": "3.38.0",
|
|
40
40
|
"@aws-sdk/protocol-http": "3.38.0",
|
|
41
41
|
"@aws-sdk/smithy-client": "3.38.0",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"@aws-sdk/util-body-length-browser": "3.37.0",
|
|
47
47
|
"@aws-sdk/util-body-length-node": "3.37.0",
|
|
48
48
|
"@aws-sdk/util-user-agent-browser": "3.38.0",
|
|
49
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
49
|
+
"@aws-sdk/util-user-agent-node": "3.39.0",
|
|
50
50
|
"@aws-sdk/util-utf8-browser": "3.37.0",
|
|
51
51
|
"@aws-sdk/util-utf8-node": "3.37.0",
|
|
52
52
|
"@aws-sdk/util-waiter": "3.38.0",
|