@aws-sdk/client-ecs 3.1156.0 → 3.1158.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/dist-cjs/index.js +50 -9
- package/dist-es/models/enums.js +5 -0
- package/dist-es/schemas/schemas_0.js +40 -8
- package/dist-types/commands/DeleteTaskDefinitionsCommand.d.ts +7 -1
- package/dist-types/commands/DeregisterContainerInstanceCommand.d.ts +9 -0
- package/dist-types/commands/DeregisterTaskDefinitionCommand.d.ts +7 -1
- package/dist-types/commands/DescribeContainerInstancesCommand.d.ts +9 -0
- package/dist-types/commands/DescribeTaskDefinitionCommand.d.ts +7 -1
- package/dist-types/commands/DescribeTasksCommand.d.ts +13 -1
- package/dist-types/commands/RegisterContainerInstanceCommand.d.ts +9 -0
- package/dist-types/commands/RegisterTaskDefinitionCommand.d.ts +14 -2
- package/dist-types/commands/RunTaskCommand.d.ts +20 -2
- package/dist-types/commands/StartTaskCommand.d.ts +20 -2
- package/dist-types/commands/StopTaskCommand.d.ts +13 -1
- package/dist-types/commands/UpdateContainerAgentCommand.d.ts +9 -0
- package/dist-types/commands/UpdateContainerInstancesStateCommand.d.ts +9 -0
- package/dist-types/models/enums.d.ts +22 -0
- package/dist-types/models/models_0.d.ts +93 -51
- package/dist-types/models/models_1.d.ts +54 -1
- package/dist-types/schemas/schemas_0.d.ts +3 -0
- package/dist-types/ts3.4/models/enums.d.ts +6 -0
- package/dist-types/ts3.4/models/models_0.d.ts +30 -13
- package/dist-types/ts3.4/models/models_1.d.ts +14 -2
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +3 -0
- package/package.json +5 -5
package/dist-cjs/index.js
CHANGED
|
@@ -69,7 +69,7 @@ const commonParams = {
|
|
|
69
69
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
70
70
|
};
|
|
71
71
|
|
|
72
|
-
var version = "3.
|
|
72
|
+
var version = "3.1157.0";
|
|
73
73
|
var packageInfo = {
|
|
74
74
|
version: version};
|
|
75
75
|
|
|
@@ -833,6 +833,8 @@ const _GCLa = "GatewayConnectorList";
|
|
|
833
833
|
const _GCR = "GatewayConnectionResources";
|
|
834
834
|
const _GCa = "GatewayConnector";
|
|
835
835
|
const _GCat = "GatewayConfiguration";
|
|
836
|
+
const _GD = "GpuDevice";
|
|
837
|
+
const _GDp = "GpuDevices";
|
|
836
838
|
const _GEALC = "GatewayElbAccessLogConfiguration";
|
|
837
839
|
const _GEALD = "GatewayElbAccessLogDestination";
|
|
838
840
|
const _GEALSD = "GatewayElbAccessLogS3Destination";
|
|
@@ -982,6 +984,7 @@ const _NC = "NetworkConfiguration";
|
|
|
982
984
|
const _NI = "NetworkInterface";
|
|
983
985
|
const _NICR = "NetworkInterfaceCountRequest";
|
|
984
986
|
const _NIe = "NetworkInterfaces";
|
|
987
|
+
const _NMA = "NvidiaMpsAllocation";
|
|
985
988
|
const _NNFE = "NamespaceNotFoundException";
|
|
986
989
|
const _NUAE = "NoUpdateAvailableException";
|
|
987
990
|
const _PA = "PutAttributes";
|
|
@@ -1090,6 +1093,7 @@ const _SS = "SensitiveString";
|
|
|
1090
1093
|
const _SSD = "StopServiceDeployment";
|
|
1091
1094
|
const _SSDR = "StopServiceDeploymentRequest";
|
|
1092
1095
|
const _SSDRt = "StopServiceDeploymentResponse";
|
|
1096
|
+
const _SSh = "SharingStrategy";
|
|
1093
1097
|
const _ST = "StartTask";
|
|
1094
1098
|
const _STR = "StartTaskRequest";
|
|
1095
1099
|
const _STRt = "StartTaskResponse";
|
|
@@ -1266,7 +1270,8 @@ const _cB = "circuitBreaker";
|
|
|
1266
1270
|
const _cBTIM = "canaryBakeTimeInMinutes";
|
|
1267
1271
|
const _cBr = "createdBy";
|
|
1268
1272
|
const _cC = "canaryConfiguration";
|
|
1269
|
-
const _cCo = "
|
|
1273
|
+
const _cCo = "containerCount";
|
|
1274
|
+
const _cCon = "containerConfigurations";
|
|
1270
1275
|
const _cD = "containerDefinitions";
|
|
1271
1276
|
const _cDC = "computedDesiredCount";
|
|
1272
1277
|
const _cDu = "currentDeployment";
|
|
@@ -1424,13 +1429,16 @@ const _gC = "gatewayConnectors";
|
|
|
1424
1429
|
const _gCA = "gatewayClusterAssociations";
|
|
1425
1430
|
const _gCa = "gatewayConnections";
|
|
1426
1431
|
const _gCr = "grpcCode";
|
|
1432
|
+
const _gD = "gpuDevices";
|
|
1427
1433
|
const _gDE = "guardDutyEnabled";
|
|
1428
1434
|
const _gI = "gpuIds";
|
|
1435
|
+
const _gIp = "gpuId";
|
|
1429
1436
|
const _gR = "gatewayResources";
|
|
1430
1437
|
const _gRA = "gatewayRouteArn";
|
|
1431
1438
|
const _gRAa = "gatewayRouteArns";
|
|
1432
1439
|
const _gRa = "gatewayRoute";
|
|
1433
1440
|
const _gRat = "gatewayRoutes";
|
|
1441
|
+
const _gSS = "gpuSharingStrategy";
|
|
1434
1442
|
const _ga = "gateways";
|
|
1435
1443
|
const _gr = "group";
|
|
1436
1444
|
const _h = "hostname";
|
|
@@ -1533,6 +1541,7 @@ const _mAC = "maxAlbCount";
|
|
|
1533
1541
|
const _mAN = "managedAgentName";
|
|
1534
1542
|
const _mAe = "metricAlarms";
|
|
1535
1543
|
const _mC = "minCapacity";
|
|
1544
|
+
const _mCP = "maxComputePercent";
|
|
1536
1545
|
const _mCa = "maxCapacity";
|
|
1537
1546
|
const _mCe = "metricConfigurations";
|
|
1538
1547
|
const _mD = "managedDraining";
|
|
@@ -1570,6 +1579,7 @@ const _nDI = "neuronDeviceIds";
|
|
|
1570
1579
|
const _nI = "networkInterfaces";
|
|
1571
1580
|
const _nIC = "networkInterfaceCount";
|
|
1572
1581
|
const _nM = "networkMode";
|
|
1582
|
+
const _nMv = "nvidiaMps";
|
|
1573
1583
|
const _nT = "nextToken";
|
|
1574
1584
|
const _na = "namespace";
|
|
1575
1585
|
const _nam = "names";
|
|
@@ -1632,6 +1642,7 @@ const _rI = "resourceIds";
|
|
|
1632
1642
|
const _rIC = "runningInstanceCount";
|
|
1633
1643
|
const _rIe = "referenceId";
|
|
1634
1644
|
const _rIu = "runtimeId";
|
|
1645
|
+
const _rMIMB = "remainingMemoryInMiB";
|
|
1635
1646
|
const _rMT = "resourceManagementType";
|
|
1636
1647
|
const _rO = "readOnly";
|
|
1637
1648
|
const _rOHT = "resetOnHealthyTask";
|
|
@@ -1692,6 +1703,7 @@ const _sIe = "sessionId";
|
|
|
1692
1703
|
const _sIn = "snapshotId";
|
|
1693
1704
|
const _sKP = "s3KeyPrefix";
|
|
1694
1705
|
const _sL = "softLimit";
|
|
1706
|
+
const _sM = "sharingMode";
|
|
1695
1707
|
const _sMPPOLP = "spotMaxPricePercentageOverLowestPrice";
|
|
1696
1708
|
const _sMS = "sharedMemorySize";
|
|
1697
1709
|
const _sN = "serviceName";
|
|
@@ -1713,6 +1725,7 @@ const _sSGB = "storageSizeGiB";
|
|
|
1713
1725
|
const _sSR = "sourceServiceRevisions";
|
|
1714
1726
|
const _sSRC = "sourceServiceRevisionCleanup";
|
|
1715
1727
|
const _sSV = "stringSetValue";
|
|
1728
|
+
const _sSh = "sharingStrategy";
|
|
1716
1729
|
const _sSt = "stabilityStatus";
|
|
1717
1730
|
const _sT = "startTimeout";
|
|
1718
1731
|
const _sTc = "scalingTarget";
|
|
@@ -1770,6 +1783,7 @@ const _tLR = "testListenerRule";
|
|
|
1770
1783
|
const _tLRA = "testListenerRuleArn";
|
|
1771
1784
|
const _tLRAe = "testListenerRuleArns";
|
|
1772
1785
|
const _tLSGB = "totalLocalStorageGB";
|
|
1786
|
+
const _tMIMB = "totalMemoryInMiB";
|
|
1773
1787
|
const _tP = "terminationPolicy";
|
|
1774
1788
|
const _tR = "totalResources";
|
|
1775
1789
|
const _tRA = "taskRoleArn";
|
|
@@ -2130,8 +2144,8 @@ var ClusterSetting$ = [3, n0, _CS,
|
|
|
2130
2144
|
];
|
|
2131
2145
|
var Container$ = [3, n0, _Co,
|
|
2132
2146
|
0,
|
|
2133
|
-
[_cAo, _tA, _n, _im, _iD, _rIu, _lS, _eC, _r, _nB, _nI, _hS, _mA, _cp, _me, _mR, _gI, _nDI],
|
|
2134
|
-
[0, 0, 0, 0, 0, 0, 0, 1, 0, () => NetworkBindings, () => NetworkInterfaces, 0, () => ManagedAgents, 0, 0, 0, 64 | 0, 64 | 0]
|
|
2147
|
+
[_cAo, _tA, _n, _im, _iD, _rIu, _lS, _eC, _r, _nB, _nI, _hS, _mA, _cp, _me, _mR, _gI, _nDI, _gSS],
|
|
2148
|
+
[0, 0, 0, 0, 0, 0, 0, 1, 0, () => NetworkBindings, () => NetworkInterfaces, 0, () => ManagedAgents, 0, 0, 0, 64 | 0, 64 | 0, () => SharingStrategy$]
|
|
2135
2149
|
];
|
|
2136
2150
|
var ContainerDefinition$ = [3, n0, _CD,
|
|
2137
2151
|
0,
|
|
@@ -2150,8 +2164,8 @@ var ContainerImage$ = [3, n0, _CI,
|
|
|
2150
2164
|
];
|
|
2151
2165
|
var ContainerInstance$ = [3, n0, _CIo,
|
|
2152
2166
|
0,
|
|
2153
|
-
[_cIA, _eII, _cPN, _ve, _vI, _rRe, _rReg, _st, _sR, _aC, _rTC, _pTC, _aUS, _at, _rAe, _a, _ta, _hS],
|
|
2154
|
-
[0, 0, 0, 1, () => VersionInfo$, () => Resources, () => Resources, 0, 0, 2, 1, 1, 0, () => Attributes, 4, () => Attachments, () => Tags, () => ContainerInstanceHealthStatus
|
|
2167
|
+
[_cIA, _eII, _cPN, _ve, _vI, _rRe, _rReg, _st, _sR, _aC, _rTC, _pTC, _aUS, _at, _rAe, _a, _ta, _hS, _gD],
|
|
2168
|
+
[0, 0, 0, 1, () => VersionInfo$, () => Resources, () => Resources, 0, 0, 2, 1, 1, 0, () => Attributes, 4, () => Attachments, () => Tags, () => ContainerInstanceHealthStatus$, () => GpuDevices]
|
|
2155
2169
|
];
|
|
2156
2170
|
var ContainerInstanceHealthStatus$ = [3, n0, _CIHS,
|
|
2157
2171
|
0,
|
|
@@ -2978,6 +2992,11 @@ var GetTaskProtectionResponse$ = [3, n0, _GTPRe,
|
|
|
2978
2992
|
[_pTro, _fa],
|
|
2979
2993
|
[() => ProtectedTasks, () => Failures]
|
|
2980
2994
|
];
|
|
2995
|
+
var GpuDevice$ = [3, n0, _GD,
|
|
2996
|
+
0,
|
|
2997
|
+
[_gIp, _sM, _tMIMB, _rMIMB, _cCo],
|
|
2998
|
+
[0, 0, 1, 1, 1]
|
|
2999
|
+
];
|
|
2981
3000
|
var HealthCheck$ = [3, n0, _HC,
|
|
2982
3001
|
0,
|
|
2983
3002
|
[_com, _int, _ti, _ret, _sP],
|
|
@@ -3388,6 +3407,11 @@ var NetworkInterfaceCountRequest$ = [3, n0, _NICR,
|
|
|
3388
3407
|
[_mi, _ma],
|
|
3389
3408
|
[1, 1]
|
|
3390
3409
|
];
|
|
3410
|
+
var NvidiaMpsAllocation$ = [3, n0, _NMA,
|
|
3411
|
+
0,
|
|
3412
|
+
[_me, _mCP],
|
|
3413
|
+
[1, 1], 1
|
|
3414
|
+
];
|
|
3391
3415
|
var PlacementConstraint$ = [3, n0, _PC,
|
|
3392
3416
|
0,
|
|
3393
3417
|
[_t, _ex],
|
|
@@ -3505,8 +3529,8 @@ var Resource$ = [3, n0, _R,
|
|
|
3505
3529
|
];
|
|
3506
3530
|
var ResourceRequirement$ = [3, n0, _RR,
|
|
3507
3531
|
0,
|
|
3508
|
-
[_v,
|
|
3509
|
-
[0, 0],
|
|
3532
|
+
[_t, _v, _sSh],
|
|
3533
|
+
[0, 0, () => SharingStrategy$], 1
|
|
3510
3534
|
];
|
|
3511
3535
|
var Rollback$ = [3, n0, _Ro,
|
|
3512
3536
|
0,
|
|
@@ -3565,7 +3589,7 @@ var ServiceConnectClientAlias$ = [3, n0, _SCCA,
|
|
|
3565
3589
|
];
|
|
3566
3590
|
var ServiceConnectConfiguration$ = [3, n0, _SCC,
|
|
3567
3591
|
0,
|
|
3568
|
-
[_ena, _na, _serv, _lC, _aLCc,
|
|
3592
|
+
[_ena, _na, _serv, _lC, _aLCc, _cCon],
|
|
3569
3593
|
[2, 0, () => ServiceConnectServiceList, () => LogConfiguration$, () => ServiceConnectAccessLogConfiguration$, () => ServiceConnectContainerConfigurations], 1
|
|
3570
3594
|
];
|
|
3571
3595
|
var ServiceConnectService$ = [3, n0, _SCS,
|
|
@@ -4183,6 +4207,9 @@ var GatewayRouteSummaryList = [1, n0, _GRSL,
|
|
|
4183
4207
|
var GatewaySummaryList = [1, n0, _GSL,
|
|
4184
4208
|
0, () => GatewaySummary$
|
|
4185
4209
|
];
|
|
4210
|
+
var GpuDevices = [1, n0, _GDp,
|
|
4211
|
+
0, () => GpuDevice$
|
|
4212
|
+
];
|
|
4186
4213
|
var HostEntryList = [1, n0, _HEL,
|
|
4187
4214
|
0, () => HostEntry$
|
|
4188
4215
|
];
|
|
@@ -4399,6 +4426,11 @@ var ServiceConnectContainerConfiguration$ = [4, n0, _SCCCe,
|
|
|
4399
4426
|
[_lL],
|
|
4400
4427
|
[0]
|
|
4401
4428
|
];
|
|
4429
|
+
var SharingStrategy$ = [4, n0, _SSh,
|
|
4430
|
+
0,
|
|
4431
|
+
[_nMv],
|
|
4432
|
+
[() => NvidiaMpsAllocation$]
|
|
4433
|
+
];
|
|
4402
4434
|
var UpdateGatewayConfiguration$ = [4, n0, _UGC,
|
|
4403
4435
|
0,
|
|
4404
4436
|
[_hSA],
|
|
@@ -5867,6 +5899,11 @@ const ClusterSettingName = {
|
|
|
5867
5899
|
const TargetType = {
|
|
5868
5900
|
CONTAINER_INSTANCE: "container-instance",
|
|
5869
5901
|
};
|
|
5902
|
+
const GpuSharingMode = {
|
|
5903
|
+
DEDICATED: "DEDICATED",
|
|
5904
|
+
IDLE: "IDLE",
|
|
5905
|
+
NVIDIA_MPS: "NVIDIA_MPS",
|
|
5906
|
+
};
|
|
5870
5907
|
const InstanceHealthCheckState = {
|
|
5871
5908
|
IMPAIRED: "IMPAIRED",
|
|
5872
5909
|
INITIALIZING: "INITIALIZING",
|
|
@@ -6728,6 +6765,8 @@ exports.GetTaskProtection$ = GetTaskProtection$;
|
|
|
6728
6765
|
exports.GetTaskProtectionCommand = GetTaskProtectionCommand;
|
|
6729
6766
|
exports.GetTaskProtectionRequest$ = GetTaskProtectionRequest$;
|
|
6730
6767
|
exports.GetTaskProtectionResponse$ = GetTaskProtectionResponse$;
|
|
6768
|
+
exports.GpuDevice$ = GpuDevice$;
|
|
6769
|
+
exports.GpuSharingMode = GpuSharingMode;
|
|
6731
6770
|
exports.HealthCheck$ = HealthCheck$;
|
|
6732
6771
|
exports.HealthStatus = HealthStatus;
|
|
6733
6772
|
exports.HostEntry$ = HostEntry$;
|
|
@@ -6870,6 +6909,7 @@ exports.NetworkInterfaceCountRequest$ = NetworkInterfaceCountRequest$;
|
|
|
6870
6909
|
exports.NetworkMode = NetworkMode;
|
|
6871
6910
|
exports.NoUpdateAvailableException = NoUpdateAvailableException;
|
|
6872
6911
|
exports.NoUpdateAvailableException$ = NoUpdateAvailableException$;
|
|
6912
|
+
exports.NvidiaMpsAllocation$ = NvidiaMpsAllocation$;
|
|
6873
6913
|
exports.OSFamily = OSFamily;
|
|
6874
6914
|
exports.PidMode = PidMode;
|
|
6875
6915
|
exports.PlacementConstraint$ = PlacementConstraint$;
|
|
@@ -6986,6 +7026,7 @@ exports.Session$ = Session$;
|
|
|
6986
7026
|
exports.Setting$ = Setting$;
|
|
6987
7027
|
exports.SettingName = SettingName;
|
|
6988
7028
|
exports.SettingType = SettingType;
|
|
7029
|
+
exports.SharingStrategy$ = SharingStrategy$;
|
|
6989
7030
|
exports.SortOrder = SortOrder;
|
|
6990
7031
|
exports.StabilityStatus = StabilityStatus;
|
|
6991
7032
|
exports.StartTask$ = StartTask$;
|
package/dist-es/models/enums.js
CHANGED
|
@@ -135,6 +135,11 @@ export const ClusterSettingName = {
|
|
|
135
135
|
export const TargetType = {
|
|
136
136
|
CONTAINER_INSTANCE: "container-instance",
|
|
137
137
|
};
|
|
138
|
+
export const GpuSharingMode = {
|
|
139
|
+
DEDICATED: "DEDICATED",
|
|
140
|
+
IDLE: "IDLE",
|
|
141
|
+
NVIDIA_MPS: "NVIDIA_MPS",
|
|
142
|
+
};
|
|
138
143
|
export const InstanceHealthCheckState = {
|
|
139
144
|
IMPAIRED: "IMPAIRED",
|
|
140
145
|
INITIALIZING: "INITIALIZING",
|
|
@@ -286,6 +286,8 @@ const _GCLa = "GatewayConnectorList";
|
|
|
286
286
|
const _GCR = "GatewayConnectionResources";
|
|
287
287
|
const _GCa = "GatewayConnector";
|
|
288
288
|
const _GCat = "GatewayConfiguration";
|
|
289
|
+
const _GD = "GpuDevice";
|
|
290
|
+
const _GDp = "GpuDevices";
|
|
289
291
|
const _GEALC = "GatewayElbAccessLogConfiguration";
|
|
290
292
|
const _GEALD = "GatewayElbAccessLogDestination";
|
|
291
293
|
const _GEALSD = "GatewayElbAccessLogS3Destination";
|
|
@@ -435,6 +437,7 @@ const _NC = "NetworkConfiguration";
|
|
|
435
437
|
const _NI = "NetworkInterface";
|
|
436
438
|
const _NICR = "NetworkInterfaceCountRequest";
|
|
437
439
|
const _NIe = "NetworkInterfaces";
|
|
440
|
+
const _NMA = "NvidiaMpsAllocation";
|
|
438
441
|
const _NNFE = "NamespaceNotFoundException";
|
|
439
442
|
const _NUAE = "NoUpdateAvailableException";
|
|
440
443
|
const _PA = "PutAttributes";
|
|
@@ -543,6 +546,7 @@ const _SS = "SensitiveString";
|
|
|
543
546
|
const _SSD = "StopServiceDeployment";
|
|
544
547
|
const _SSDR = "StopServiceDeploymentRequest";
|
|
545
548
|
const _SSDRt = "StopServiceDeploymentResponse";
|
|
549
|
+
const _SSh = "SharingStrategy";
|
|
546
550
|
const _ST = "StartTask";
|
|
547
551
|
const _STR = "StartTaskRequest";
|
|
548
552
|
const _STRt = "StartTaskResponse";
|
|
@@ -719,7 +723,8 @@ const _cB = "circuitBreaker";
|
|
|
719
723
|
const _cBTIM = "canaryBakeTimeInMinutes";
|
|
720
724
|
const _cBr = "createdBy";
|
|
721
725
|
const _cC = "canaryConfiguration";
|
|
722
|
-
const _cCo = "
|
|
726
|
+
const _cCo = "containerCount";
|
|
727
|
+
const _cCon = "containerConfigurations";
|
|
723
728
|
const _cD = "containerDefinitions";
|
|
724
729
|
const _cDC = "computedDesiredCount";
|
|
725
730
|
const _cDu = "currentDeployment";
|
|
@@ -877,13 +882,16 @@ const _gC = "gatewayConnectors";
|
|
|
877
882
|
const _gCA = "gatewayClusterAssociations";
|
|
878
883
|
const _gCa = "gatewayConnections";
|
|
879
884
|
const _gCr = "grpcCode";
|
|
885
|
+
const _gD = "gpuDevices";
|
|
880
886
|
const _gDE = "guardDutyEnabled";
|
|
881
887
|
const _gI = "gpuIds";
|
|
888
|
+
const _gIp = "gpuId";
|
|
882
889
|
const _gR = "gatewayResources";
|
|
883
890
|
const _gRA = "gatewayRouteArn";
|
|
884
891
|
const _gRAa = "gatewayRouteArns";
|
|
885
892
|
const _gRa = "gatewayRoute";
|
|
886
893
|
const _gRat = "gatewayRoutes";
|
|
894
|
+
const _gSS = "gpuSharingStrategy";
|
|
887
895
|
const _ga = "gateways";
|
|
888
896
|
const _gr = "group";
|
|
889
897
|
const _h = "hostname";
|
|
@@ -986,6 +994,7 @@ const _mAC = "maxAlbCount";
|
|
|
986
994
|
const _mAN = "managedAgentName";
|
|
987
995
|
const _mAe = "metricAlarms";
|
|
988
996
|
const _mC = "minCapacity";
|
|
997
|
+
const _mCP = "maxComputePercent";
|
|
989
998
|
const _mCa = "maxCapacity";
|
|
990
999
|
const _mCe = "metricConfigurations";
|
|
991
1000
|
const _mD = "managedDraining";
|
|
@@ -1023,6 +1032,7 @@ const _nDI = "neuronDeviceIds";
|
|
|
1023
1032
|
const _nI = "networkInterfaces";
|
|
1024
1033
|
const _nIC = "networkInterfaceCount";
|
|
1025
1034
|
const _nM = "networkMode";
|
|
1035
|
+
const _nMv = "nvidiaMps";
|
|
1026
1036
|
const _nT = "nextToken";
|
|
1027
1037
|
const _na = "namespace";
|
|
1028
1038
|
const _nam = "names";
|
|
@@ -1085,6 +1095,7 @@ const _rI = "resourceIds";
|
|
|
1085
1095
|
const _rIC = "runningInstanceCount";
|
|
1086
1096
|
const _rIe = "referenceId";
|
|
1087
1097
|
const _rIu = "runtimeId";
|
|
1098
|
+
const _rMIMB = "remainingMemoryInMiB";
|
|
1088
1099
|
const _rMT = "resourceManagementType";
|
|
1089
1100
|
const _rO = "readOnly";
|
|
1090
1101
|
const _rOHT = "resetOnHealthyTask";
|
|
@@ -1145,6 +1156,7 @@ const _sIe = "sessionId";
|
|
|
1145
1156
|
const _sIn = "snapshotId";
|
|
1146
1157
|
const _sKP = "s3KeyPrefix";
|
|
1147
1158
|
const _sL = "softLimit";
|
|
1159
|
+
const _sM = "sharingMode";
|
|
1148
1160
|
const _sMPPOLP = "spotMaxPricePercentageOverLowestPrice";
|
|
1149
1161
|
const _sMS = "sharedMemorySize";
|
|
1150
1162
|
const _sN = "serviceName";
|
|
@@ -1166,6 +1178,7 @@ const _sSGB = "storageSizeGiB";
|
|
|
1166
1178
|
const _sSR = "sourceServiceRevisions";
|
|
1167
1179
|
const _sSRC = "sourceServiceRevisionCleanup";
|
|
1168
1180
|
const _sSV = "stringSetValue";
|
|
1181
|
+
const _sSh = "sharingStrategy";
|
|
1169
1182
|
const _sSt = "stabilityStatus";
|
|
1170
1183
|
const _sT = "startTimeout";
|
|
1171
1184
|
const _sTc = "scalingTarget";
|
|
@@ -1223,6 +1236,7 @@ const _tLR = "testListenerRule";
|
|
|
1223
1236
|
const _tLRA = "testListenerRuleArn";
|
|
1224
1237
|
const _tLRAe = "testListenerRuleArns";
|
|
1225
1238
|
const _tLSGB = "totalLocalStorageGB";
|
|
1239
|
+
const _tMIMB = "totalMemoryInMiB";
|
|
1226
1240
|
const _tP = "terminationPolicy";
|
|
1227
1241
|
const _tR = "totalResources";
|
|
1228
1242
|
const _tRA = "taskRoleArn";
|
|
@@ -1586,8 +1600,8 @@ export var ClusterSetting$ = [3, n0, _CS,
|
|
|
1586
1600
|
];
|
|
1587
1601
|
export var Container$ = [3, n0, _Co,
|
|
1588
1602
|
0,
|
|
1589
|
-
[_cAo, _tA, _n, _im, _iD, _rIu, _lS, _eC, _r, _nB, _nI, _hS, _mA, _cp, _me, _mR, _gI, _nDI],
|
|
1590
|
-
[0, 0, 0, 0, 0, 0, 0, 1, 0, () => NetworkBindings, () => NetworkInterfaces, 0, () => ManagedAgents, 0, 0, 0, 64 | 0, 64 | 0]
|
|
1603
|
+
[_cAo, _tA, _n, _im, _iD, _rIu, _lS, _eC, _r, _nB, _nI, _hS, _mA, _cp, _me, _mR, _gI, _nDI, _gSS],
|
|
1604
|
+
[0, 0, 0, 0, 0, 0, 0, 1, 0, () => NetworkBindings, () => NetworkInterfaces, 0, () => ManagedAgents, 0, 0, 0, 64 | 0, 64 | 0, () => SharingStrategy$]
|
|
1591
1605
|
];
|
|
1592
1606
|
export var ContainerDefinition$ = [3, n0, _CD,
|
|
1593
1607
|
0,
|
|
@@ -1606,8 +1620,8 @@ export var ContainerImage$ = [3, n0, _CI,
|
|
|
1606
1620
|
];
|
|
1607
1621
|
export var ContainerInstance$ = [3, n0, _CIo,
|
|
1608
1622
|
0,
|
|
1609
|
-
[_cIA, _eII, _cPN, _ve, _vI, _rRe, _rReg, _st, _sR, _aC, _rTC, _pTC, _aUS, _at, _rAe, _a, _ta, _hS],
|
|
1610
|
-
[0, 0, 0, 1, () => VersionInfo$, () => Resources, () => Resources, 0, 0, 2, 1, 1, 0, () => Attributes, 4, () => Attachments, () => Tags, () => ContainerInstanceHealthStatus
|
|
1623
|
+
[_cIA, _eII, _cPN, _ve, _vI, _rRe, _rReg, _st, _sR, _aC, _rTC, _pTC, _aUS, _at, _rAe, _a, _ta, _hS, _gD],
|
|
1624
|
+
[0, 0, 0, 1, () => VersionInfo$, () => Resources, () => Resources, 0, 0, 2, 1, 1, 0, () => Attributes, 4, () => Attachments, () => Tags, () => ContainerInstanceHealthStatus$, () => GpuDevices]
|
|
1611
1625
|
];
|
|
1612
1626
|
export var ContainerInstanceHealthStatus$ = [3, n0, _CIHS,
|
|
1613
1627
|
0,
|
|
@@ -2434,6 +2448,11 @@ export var GetTaskProtectionResponse$ = [3, n0, _GTPRe,
|
|
|
2434
2448
|
[_pTro, _fa],
|
|
2435
2449
|
[() => ProtectedTasks, () => Failures]
|
|
2436
2450
|
];
|
|
2451
|
+
export var GpuDevice$ = [3, n0, _GD,
|
|
2452
|
+
0,
|
|
2453
|
+
[_gIp, _sM, _tMIMB, _rMIMB, _cCo],
|
|
2454
|
+
[0, 0, 1, 1, 1]
|
|
2455
|
+
];
|
|
2437
2456
|
export var HealthCheck$ = [3, n0, _HC,
|
|
2438
2457
|
0,
|
|
2439
2458
|
[_com, _int, _ti, _ret, _sP],
|
|
@@ -2844,6 +2863,11 @@ export var NetworkInterfaceCountRequest$ = [3, n0, _NICR,
|
|
|
2844
2863
|
[_mi, _ma],
|
|
2845
2864
|
[1, 1]
|
|
2846
2865
|
];
|
|
2866
|
+
export var NvidiaMpsAllocation$ = [3, n0, _NMA,
|
|
2867
|
+
0,
|
|
2868
|
+
[_me, _mCP],
|
|
2869
|
+
[1, 1], 1
|
|
2870
|
+
];
|
|
2847
2871
|
export var PlacementConstraint$ = [3, n0, _PC,
|
|
2848
2872
|
0,
|
|
2849
2873
|
[_t, _ex],
|
|
@@ -2961,8 +2985,8 @@ export var Resource$ = [3, n0, _R,
|
|
|
2961
2985
|
];
|
|
2962
2986
|
export var ResourceRequirement$ = [3, n0, _RR,
|
|
2963
2987
|
0,
|
|
2964
|
-
[_v,
|
|
2965
|
-
[0, 0],
|
|
2988
|
+
[_t, _v, _sSh],
|
|
2989
|
+
[0, 0, () => SharingStrategy$], 1
|
|
2966
2990
|
];
|
|
2967
2991
|
export var Rollback$ = [3, n0, _Ro,
|
|
2968
2992
|
0,
|
|
@@ -3021,7 +3045,7 @@ export var ServiceConnectClientAlias$ = [3, n0, _SCCA,
|
|
|
3021
3045
|
];
|
|
3022
3046
|
export var ServiceConnectConfiguration$ = [3, n0, _SCC,
|
|
3023
3047
|
0,
|
|
3024
|
-
[_ena, _na, _serv, _lC, _aLCc,
|
|
3048
|
+
[_ena, _na, _serv, _lC, _aLCc, _cCon],
|
|
3025
3049
|
[2, 0, () => ServiceConnectServiceList, () => LogConfiguration$, () => ServiceConnectAccessLogConfiguration$, () => ServiceConnectContainerConfigurations], 1
|
|
3026
3050
|
];
|
|
3027
3051
|
export var ServiceConnectService$ = [3, n0, _SCS,
|
|
@@ -3651,6 +3675,9 @@ var GatewayStatusList = 64 | 0;
|
|
|
3651
3675
|
var GatewaySummaryList = [1, n0, _GSL,
|
|
3652
3676
|
0, () => GatewaySummary$
|
|
3653
3677
|
];
|
|
3678
|
+
var GpuDevices = [1, n0, _GDp,
|
|
3679
|
+
0, () => GpuDevice$
|
|
3680
|
+
];
|
|
3654
3681
|
var GpuIds = 64 | 0;
|
|
3655
3682
|
var HostEntryList = [1, n0, _HEL,
|
|
3656
3683
|
0, () => HostEntry$
|
|
@@ -3883,6 +3910,11 @@ export var ServiceConnectContainerConfiguration$ = [4, n0, _SCCCe,
|
|
|
3883
3910
|
[_lL],
|
|
3884
3911
|
[0]
|
|
3885
3912
|
];
|
|
3913
|
+
export var SharingStrategy$ = [4, n0, _SSh,
|
|
3914
|
+
0,
|
|
3915
|
+
[_nMv],
|
|
3916
|
+
[() => NvidiaMpsAllocation$]
|
|
3917
|
+
];
|
|
3886
3918
|
export var UpdateGatewayConfiguration$ = [4, n0, _UGC,
|
|
3887
3919
|
0,
|
|
3888
3920
|
[_hSA],
|
|
@@ -205,8 +205,14 @@ declare const DeleteTaskDefinitionsCommand_base: {
|
|
|
205
205
|
* // ],
|
|
206
206
|
* // resourceRequirements: [ // ResourceRequirements
|
|
207
207
|
* // { // ResourceRequirement
|
|
208
|
-
* // value: "STRING_VALUE",
|
|
208
|
+
* // value: "STRING_VALUE",
|
|
209
209
|
* // type: "GPU" || "InferenceAccelerator" || "NeuronDevice", // required
|
|
210
|
+
* // sharingStrategy: { // SharingStrategy Union: only one key present
|
|
211
|
+
* // nvidiaMps: { // NvidiaMpsAllocation
|
|
212
|
+
* // memory: Number("int"), // required
|
|
213
|
+
* // maxComputePercent: Number("int"),
|
|
214
|
+
* // },
|
|
215
|
+
* // },
|
|
210
216
|
* // },
|
|
211
217
|
* // ],
|
|
212
218
|
* // firelensConfiguration: { // FirelensConfiguration
|
|
@@ -121,6 +121,15 @@ declare const DeregisterContainerInstanceCommand_base: {
|
|
|
121
121
|
* // },
|
|
122
122
|
* // ],
|
|
123
123
|
* // },
|
|
124
|
+
* // gpuDevices: [ // GpuDevices
|
|
125
|
+
* // { // GpuDevice
|
|
126
|
+
* // gpuId: "STRING_VALUE",
|
|
127
|
+
* // sharingMode: "IDLE" || "NVIDIA_MPS" || "DEDICATED",
|
|
128
|
+
* // totalMemoryInMiB: Number("int"),
|
|
129
|
+
* // remainingMemoryInMiB: Number("int"),
|
|
130
|
+
* // containerCount: Number("int"),
|
|
131
|
+
* // },
|
|
132
|
+
* // ],
|
|
124
133
|
* // },
|
|
125
134
|
* // };
|
|
126
135
|
*
|
|
@@ -202,8 +202,14 @@ declare const DeregisterTaskDefinitionCommand_base: {
|
|
|
202
202
|
* // ],
|
|
203
203
|
* // resourceRequirements: [ // ResourceRequirements
|
|
204
204
|
* // { // ResourceRequirement
|
|
205
|
-
* // value: "STRING_VALUE",
|
|
205
|
+
* // value: "STRING_VALUE",
|
|
206
206
|
* // type: "GPU" || "InferenceAccelerator" || "NeuronDevice", // required
|
|
207
|
+
* // sharingStrategy: { // SharingStrategy Union: only one key present
|
|
208
|
+
* // nvidiaMps: { // NvidiaMpsAllocation
|
|
209
|
+
* // memory: Number("int"), // required
|
|
210
|
+
* // maxComputePercent: Number("int"),
|
|
211
|
+
* // },
|
|
212
|
+
* // },
|
|
207
213
|
* // },
|
|
208
214
|
* // ],
|
|
209
215
|
* // firelensConfiguration: { // FirelensConfiguration
|
|
@@ -126,6 +126,15 @@ declare const DescribeContainerInstancesCommand_base: {
|
|
|
126
126
|
* // },
|
|
127
127
|
* // ],
|
|
128
128
|
* // },
|
|
129
|
+
* // gpuDevices: [ // GpuDevices
|
|
130
|
+
* // { // GpuDevice
|
|
131
|
+
* // gpuId: "STRING_VALUE",
|
|
132
|
+
* // sharingMode: "IDLE" || "NVIDIA_MPS" || "DEDICATED",
|
|
133
|
+
* // totalMemoryInMiB: Number("int"),
|
|
134
|
+
* // remainingMemoryInMiB: Number("int"),
|
|
135
|
+
* // containerCount: Number("int"),
|
|
136
|
+
* // },
|
|
137
|
+
* // ],
|
|
129
138
|
* // },
|
|
130
139
|
* // ],
|
|
131
140
|
* // failures: [ // Failures
|
|
@@ -205,8 +205,14 @@ declare const DescribeTaskDefinitionCommand_base: {
|
|
|
205
205
|
* // ],
|
|
206
206
|
* // resourceRequirements: [ // ResourceRequirements
|
|
207
207
|
* // { // ResourceRequirement
|
|
208
|
-
* // value: "STRING_VALUE",
|
|
208
|
+
* // value: "STRING_VALUE",
|
|
209
209
|
* // type: "GPU" || "InferenceAccelerator" || "NeuronDevice", // required
|
|
210
|
+
* // sharingStrategy: { // SharingStrategy Union: only one key present
|
|
211
|
+
* // nvidiaMps: { // NvidiaMpsAllocation
|
|
212
|
+
* // memory: Number("int"), // required
|
|
213
|
+
* // maxComputePercent: Number("int"),
|
|
214
|
+
* // },
|
|
215
|
+
* // },
|
|
210
216
|
* // },
|
|
211
217
|
* // ],
|
|
212
218
|
* // firelensConfiguration: { // FirelensConfiguration
|
|
@@ -120,6 +120,12 @@ declare const DescribeTasksCommand_base: {
|
|
|
120
120
|
* // neuronDeviceIds: [ // NeuronDeviceIds
|
|
121
121
|
* // "STRING_VALUE",
|
|
122
122
|
* // ],
|
|
123
|
+
* // gpuSharingStrategy: { // SharingStrategy Union: only one key present
|
|
124
|
+
* // nvidiaMps: { // NvidiaMpsAllocation
|
|
125
|
+
* // memory: Number("int"), // required
|
|
126
|
+
* // maxComputePercent: Number("int"),
|
|
127
|
+
* // },
|
|
128
|
+
* // },
|
|
123
129
|
* // },
|
|
124
130
|
* // ],
|
|
125
131
|
* // cpu: "STRING_VALUE",
|
|
@@ -162,8 +168,14 @@ declare const DescribeTasksCommand_base: {
|
|
|
162
168
|
* // memoryReservation: Number("int"),
|
|
163
169
|
* // resourceRequirements: [ // ResourceRequirements
|
|
164
170
|
* // { // ResourceRequirement
|
|
165
|
-
* // value: "STRING_VALUE",
|
|
171
|
+
* // value: "STRING_VALUE",
|
|
166
172
|
* // type: "GPU" || "InferenceAccelerator" || "NeuronDevice", // required
|
|
173
|
+
* // sharingStrategy: {// Union: only one key present
|
|
174
|
+
* // nvidiaMps: {
|
|
175
|
+
* // memory: Number("int"), // required
|
|
176
|
+
* // maxComputePercent: Number("int"),
|
|
177
|
+
* // },
|
|
178
|
+
* // },
|
|
167
179
|
* // },
|
|
168
180
|
* // ],
|
|
169
181
|
* // },
|
|
@@ -159,6 +159,15 @@ declare const RegisterContainerInstanceCommand_base: {
|
|
|
159
159
|
* // },
|
|
160
160
|
* // ],
|
|
161
161
|
* // },
|
|
162
|
+
* // gpuDevices: [ // GpuDevices
|
|
163
|
+
* // { // GpuDevice
|
|
164
|
+
* // gpuId: "STRING_VALUE",
|
|
165
|
+
* // sharingMode: "IDLE" || "NVIDIA_MPS" || "DEDICATED",
|
|
166
|
+
* // totalMemoryInMiB: Number("int"),
|
|
167
|
+
* // remainingMemoryInMiB: Number("int"),
|
|
168
|
+
* // containerCount: Number("int"),
|
|
169
|
+
* // },
|
|
170
|
+
* // ],
|
|
162
171
|
* // },
|
|
163
172
|
* // };
|
|
164
173
|
*
|
|
@@ -199,8 +199,14 @@ declare const RegisterTaskDefinitionCommand_base: {
|
|
|
199
199
|
* ],
|
|
200
200
|
* resourceRequirements: [ // ResourceRequirements
|
|
201
201
|
* { // ResourceRequirement
|
|
202
|
-
* value: "STRING_VALUE",
|
|
202
|
+
* value: "STRING_VALUE",
|
|
203
203
|
* type: "GPU" || "InferenceAccelerator" || "NeuronDevice", // required
|
|
204
|
+
* sharingStrategy: { // SharingStrategy Union: only one key present
|
|
205
|
+
* nvidiaMps: { // NvidiaMpsAllocation
|
|
206
|
+
* memory: Number("int"), // required
|
|
207
|
+
* maxComputePercent: Number("int"),
|
|
208
|
+
* },
|
|
209
|
+
* },
|
|
204
210
|
* },
|
|
205
211
|
* ],
|
|
206
212
|
* firelensConfiguration: { // FirelensConfiguration
|
|
@@ -466,8 +472,14 @@ declare const RegisterTaskDefinitionCommand_base: {
|
|
|
466
472
|
* // ],
|
|
467
473
|
* // resourceRequirements: [ // ResourceRequirements
|
|
468
474
|
* // { // ResourceRequirement
|
|
469
|
-
* // value: "STRING_VALUE",
|
|
475
|
+
* // value: "STRING_VALUE",
|
|
470
476
|
* // type: "GPU" || "InferenceAccelerator" || "NeuronDevice", // required
|
|
477
|
+
* // sharingStrategy: { // SharingStrategy Union: only one key present
|
|
478
|
+
* // nvidiaMps: { // NvidiaMpsAllocation
|
|
479
|
+
* // memory: Number("int"), // required
|
|
480
|
+
* // maxComputePercent: Number("int"),
|
|
481
|
+
* // },
|
|
482
|
+
* // },
|
|
471
483
|
* // },
|
|
472
484
|
* // ],
|
|
473
485
|
* // firelensConfiguration: { // FirelensConfiguration
|
|
@@ -82,8 +82,14 @@ declare const RunTaskCommand_base: {
|
|
|
82
82
|
* memoryReservation: Number("int"),
|
|
83
83
|
* resourceRequirements: [ // ResourceRequirements
|
|
84
84
|
* { // ResourceRequirement
|
|
85
|
-
* value: "STRING_VALUE",
|
|
85
|
+
* value: "STRING_VALUE",
|
|
86
86
|
* type: "GPU" || "InferenceAccelerator" || "NeuronDevice", // required
|
|
87
|
+
* sharingStrategy: { // SharingStrategy Union: only one key present
|
|
88
|
+
* nvidiaMps: { // NvidiaMpsAllocation
|
|
89
|
+
* memory: Number("int"), // required
|
|
90
|
+
* maxComputePercent: Number("int"),
|
|
91
|
+
* },
|
|
92
|
+
* },
|
|
87
93
|
* },
|
|
88
94
|
* ],
|
|
89
95
|
* },
|
|
@@ -237,6 +243,12 @@ declare const RunTaskCommand_base: {
|
|
|
237
243
|
* // neuronDeviceIds: [ // NeuronDeviceIds
|
|
238
244
|
* // "STRING_VALUE",
|
|
239
245
|
* // ],
|
|
246
|
+
* // gpuSharingStrategy: { // SharingStrategy Union: only one key present
|
|
247
|
+
* // nvidiaMps: { // NvidiaMpsAllocation
|
|
248
|
+
* // memory: Number("int"), // required
|
|
249
|
+
* // maxComputePercent: Number("int"),
|
|
250
|
+
* // },
|
|
251
|
+
* // },
|
|
240
252
|
* // },
|
|
241
253
|
* // ],
|
|
242
254
|
* // cpu: "STRING_VALUE",
|
|
@@ -279,8 +291,14 @@ declare const RunTaskCommand_base: {
|
|
|
279
291
|
* // memoryReservation: Number("int"),
|
|
280
292
|
* // resourceRequirements: [ // ResourceRequirements
|
|
281
293
|
* // { // ResourceRequirement
|
|
282
|
-
* // value: "STRING_VALUE",
|
|
294
|
+
* // value: "STRING_VALUE",
|
|
283
295
|
* // type: "GPU" || "InferenceAccelerator" || "NeuronDevice", // required
|
|
296
|
+
* // sharingStrategy: {// Union: only one key present
|
|
297
|
+
* // nvidiaMps: {
|
|
298
|
+
* // memory: Number("int"), // required
|
|
299
|
+
* // maxComputePercent: Number("int"),
|
|
300
|
+
* // },
|
|
301
|
+
* // },
|
|
284
302
|
* // },
|
|
285
303
|
* // ],
|
|
286
304
|
* // },
|
|
@@ -74,8 +74,14 @@ declare const StartTaskCommand_base: {
|
|
|
74
74
|
* memoryReservation: Number("int"),
|
|
75
75
|
* resourceRequirements: [ // ResourceRequirements
|
|
76
76
|
* { // ResourceRequirement
|
|
77
|
-
* value: "STRING_VALUE",
|
|
77
|
+
* value: "STRING_VALUE",
|
|
78
78
|
* type: "GPU" || "InferenceAccelerator" || "NeuronDevice", // required
|
|
79
|
+
* sharingStrategy: { // SharingStrategy Union: only one key present
|
|
80
|
+
* nvidiaMps: { // NvidiaMpsAllocation
|
|
81
|
+
* memory: Number("int"), // required
|
|
82
|
+
* maxComputePercent: Number("int"),
|
|
83
|
+
* },
|
|
84
|
+
* },
|
|
79
85
|
* },
|
|
80
86
|
* ],
|
|
81
87
|
* },
|
|
@@ -215,6 +221,12 @@ declare const StartTaskCommand_base: {
|
|
|
215
221
|
* // neuronDeviceIds: [ // NeuronDeviceIds
|
|
216
222
|
* // "STRING_VALUE",
|
|
217
223
|
* // ],
|
|
224
|
+
* // gpuSharingStrategy: { // SharingStrategy Union: only one key present
|
|
225
|
+
* // nvidiaMps: { // NvidiaMpsAllocation
|
|
226
|
+
* // memory: Number("int"), // required
|
|
227
|
+
* // maxComputePercent: Number("int"),
|
|
228
|
+
* // },
|
|
229
|
+
* // },
|
|
218
230
|
* // },
|
|
219
231
|
* // ],
|
|
220
232
|
* // cpu: "STRING_VALUE",
|
|
@@ -257,8 +269,14 @@ declare const StartTaskCommand_base: {
|
|
|
257
269
|
* // memoryReservation: Number("int"),
|
|
258
270
|
* // resourceRequirements: [ // ResourceRequirements
|
|
259
271
|
* // { // ResourceRequirement
|
|
260
|
-
* // value: "STRING_VALUE",
|
|
272
|
+
* // value: "STRING_VALUE",
|
|
261
273
|
* // type: "GPU" || "InferenceAccelerator" || "NeuronDevice", // required
|
|
274
|
+
* // sharingStrategy: {// Union: only one key present
|
|
275
|
+
* // nvidiaMps: {
|
|
276
|
+
* // memory: Number("int"), // required
|
|
277
|
+
* // maxComputePercent: Number("int"),
|
|
278
|
+
* // },
|
|
279
|
+
* // },
|
|
262
280
|
* // },
|
|
263
281
|
* // ],
|
|
264
282
|
* // },
|
|
@@ -115,6 +115,12 @@ declare const StopTaskCommand_base: {
|
|
|
115
115
|
* // neuronDeviceIds: [ // NeuronDeviceIds
|
|
116
116
|
* // "STRING_VALUE",
|
|
117
117
|
* // ],
|
|
118
|
+
* // gpuSharingStrategy: { // SharingStrategy Union: only one key present
|
|
119
|
+
* // nvidiaMps: { // NvidiaMpsAllocation
|
|
120
|
+
* // memory: Number("int"), // required
|
|
121
|
+
* // maxComputePercent: Number("int"),
|
|
122
|
+
* // },
|
|
123
|
+
* // },
|
|
118
124
|
* // },
|
|
119
125
|
* // ],
|
|
120
126
|
* // cpu: "STRING_VALUE",
|
|
@@ -157,8 +163,14 @@ declare const StopTaskCommand_base: {
|
|
|
157
163
|
* // memoryReservation: Number("int"),
|
|
158
164
|
* // resourceRequirements: [ // ResourceRequirements
|
|
159
165
|
* // { // ResourceRequirement
|
|
160
|
-
* // value: "STRING_VALUE",
|
|
166
|
+
* // value: "STRING_VALUE",
|
|
161
167
|
* // type: "GPU" || "InferenceAccelerator" || "NeuronDevice", // required
|
|
168
|
+
* // sharingStrategy: {// Union: only one key present
|
|
169
|
+
* // nvidiaMps: {
|
|
170
|
+
* // memory: Number("int"), // required
|
|
171
|
+
* // maxComputePercent: Number("int"),
|
|
172
|
+
* // },
|
|
173
|
+
* // },
|
|
162
174
|
* // },
|
|
163
175
|
* // ],
|
|
164
176
|
* // },
|
|
@@ -120,6 +120,15 @@ declare const UpdateContainerAgentCommand_base: {
|
|
|
120
120
|
* // },
|
|
121
121
|
* // ],
|
|
122
122
|
* // },
|
|
123
|
+
* // gpuDevices: [ // GpuDevices
|
|
124
|
+
* // { // GpuDevice
|
|
125
|
+
* // gpuId: "STRING_VALUE",
|
|
126
|
+
* // sharingMode: "IDLE" || "NVIDIA_MPS" || "DEDICATED",
|
|
127
|
+
* // totalMemoryInMiB: Number("int"),
|
|
128
|
+
* // remainingMemoryInMiB: Number("int"),
|
|
129
|
+
* // containerCount: Number("int"),
|
|
130
|
+
* // },
|
|
131
|
+
* // ],
|
|
123
132
|
* // },
|
|
124
133
|
* // };
|
|
125
134
|
*
|
|
@@ -124,6 +124,15 @@ declare const UpdateContainerInstancesStateCommand_base: {
|
|
|
124
124
|
* // },
|
|
125
125
|
* // ],
|
|
126
126
|
* // },
|
|
127
|
+
* // gpuDevices: [ // GpuDevices
|
|
128
|
+
* // { // GpuDevice
|
|
129
|
+
* // gpuId: "STRING_VALUE",
|
|
130
|
+
* // sharingMode: "IDLE" || "NVIDIA_MPS" || "DEDICATED",
|
|
131
|
+
* // totalMemoryInMiB: Number("int"),
|
|
132
|
+
* // remainingMemoryInMiB: Number("int"),
|
|
133
|
+
* // containerCount: Number("int"),
|
|
134
|
+
* // },
|
|
135
|
+
* // ],
|
|
127
136
|
* // },
|
|
128
137
|
* // ],
|
|
129
138
|
* // failures: [ // Failures
|
|
@@ -349,6 +349,28 @@ export declare const TargetType: {
|
|
|
349
349
|
* @public
|
|
350
350
|
*/
|
|
351
351
|
export type TargetType = (typeof TargetType)[keyof typeof TargetType];
|
|
352
|
+
/**
|
|
353
|
+
* @public
|
|
354
|
+
* @enum
|
|
355
|
+
*/
|
|
356
|
+
export declare const GpuSharingMode: {
|
|
357
|
+
/**
|
|
358
|
+
* <p>One container has exclusive use of the GPU. Amazon ECS assigns GPUs this way to containers that specify <code>value</code> instead of <code>sharingStrategy</code> for the <code>GPU</code> resource type.</p>
|
|
359
|
+
*/
|
|
360
|
+
readonly DEDICATED: "DEDICATED";
|
|
361
|
+
/**
|
|
362
|
+
* <p>No containers are assigned to the GPU, and all of its memory is available.</p>
|
|
363
|
+
*/
|
|
364
|
+
readonly IDLE: "IDLE";
|
|
365
|
+
/**
|
|
366
|
+
* <p>One or more containers share the GPU by using NVIDIA Multi-Process Service (MPS). While the GPU is in this mode, Amazon ECS assigns it only to containers that use the <code>nvidiaMps</code> sharing strategy.</p>
|
|
367
|
+
*/
|
|
368
|
+
readonly NVIDIA_MPS: "NVIDIA_MPS";
|
|
369
|
+
};
|
|
370
|
+
/**
|
|
371
|
+
* @public
|
|
372
|
+
*/
|
|
373
|
+
export type GpuSharingMode = (typeof GpuSharingMode)[keyof typeof GpuSharingMode];
|
|
352
374
|
/**
|
|
353
375
|
* @public
|
|
354
376
|
* @enum
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { DocumentType as __DocumentType } from "@smithy/types";
|
|
2
|
-
import type { AcceleratorManufacturer, AcceleratorName, AcceleratorType, AccessType, AgentUpdateStatus, ApplicationProtocol, AssignPublicIp, AutoRepairActionsStatus, BareMetal, BurstablePerformance, CapacityOptionType, CapacityProviderField, CapacityProviderStatus, CapacityProviderType, CapacityProviderUpdateStatus, CapacityReservationPreference, ClusterField, ClusterSettingName, Compatibility, ContainerCondition, ContainerInstanceField, ContainerInstanceStatus, CPUArchitecture, CpuManufacturer, DaemonDeploymentRollbackMonitorsStatus, DaemonDeploymentStatus, DaemonIpcMode, DaemonPidMode, DaemonPropagateTags, DaemonStatus, DaemonTaskDefinitionRevisionFilter, DaemonTaskDefinitionStatus, DaemonTaskDefinitionStatusFilter, DeploymentControllerType, DeploymentLifecycleHookAction, DeploymentLifecycleHookStage, DeploymentLifecycleHookStatus, DeploymentLifecycleHookTargetType, DeploymentStrategy, DesiredStatus, DeviceCgroupPermission, EFSAuthorizationConfigIAM, EFSTransitEncryption, EnvironmentFileType, ExecuteCommandLogging, ExpressCpuArchitecture, ExpressGatewayServiceScalingMetric, ExpressGatewayServiceStatusCode, FirelensConfigurationType, GatewayAlbDesyncMitigationMode, GatewayAlbProtocol, GatewayClusterAssociationStatus, GatewayConnectorHealthCheckProtocol, GatewayElbIpAddressType, GatewayElbScheme, GatewayRouteStatus, GatewayStatus, InstanceGeneration, InstanceHealthCheckState, InstanceHealthCheckType, IpcMode, LaunchType, LocalStorage, LocalStorageType, LogDriver, ManagedAgentName, ManagedDraining, ManagedInstancesMonitoringOptions, ManagedScalingStatus, ManagedTerminationProtection, NetworkMode, OSFamily, PidMode, PlacementConstraintType, PlacementStrategyType, PlatformDeviceType, PropagateGatewayTags, PropagateMITags, ProxyConfigurationType, ResourceType, Scope, ServiceConnectAccessLoggingFormat, ServiceConnectContainerLogLevel, ServiceConnectIncludeQueryParameters, ServiceDeploymentLifecycleStage, ServiceDeploymentRollbackMonitorsStatus, ServiceDeploymentStatus, ServiceRevisionCleanup, SettingName, SettingType, SortOrder, TargetType, TaskDefinitionFamilyStatus, TaskDefinitionField, TaskDefinitionPlacementConstraintType, TaskDefinitionStatus, ThresholdType, TransportProtocol, UlimitName, VersionConsistency } from "./enums";
|
|
2
|
+
import type { AcceleratorManufacturer, AcceleratorName, AcceleratorType, AccessType, AgentUpdateStatus, ApplicationProtocol, AssignPublicIp, AutoRepairActionsStatus, BareMetal, BurstablePerformance, CapacityOptionType, CapacityProviderField, CapacityProviderStatus, CapacityProviderType, CapacityProviderUpdateStatus, CapacityReservationPreference, ClusterField, ClusterSettingName, Compatibility, ContainerCondition, ContainerInstanceField, ContainerInstanceStatus, CPUArchitecture, CpuManufacturer, DaemonDeploymentRollbackMonitorsStatus, DaemonDeploymentStatus, DaemonIpcMode, DaemonPidMode, DaemonPropagateTags, DaemonStatus, DaemonTaskDefinitionRevisionFilter, DaemonTaskDefinitionStatus, DaemonTaskDefinitionStatusFilter, DeploymentControllerType, DeploymentLifecycleHookAction, DeploymentLifecycleHookStage, DeploymentLifecycleHookStatus, DeploymentLifecycleHookTargetType, DeploymentStrategy, DesiredStatus, DeviceCgroupPermission, EFSAuthorizationConfigIAM, EFSTransitEncryption, EnvironmentFileType, ExecuteCommandLogging, ExpressCpuArchitecture, ExpressGatewayServiceScalingMetric, ExpressGatewayServiceStatusCode, FirelensConfigurationType, GatewayAlbDesyncMitigationMode, GatewayAlbProtocol, GatewayClusterAssociationStatus, GatewayConnectorHealthCheckProtocol, GatewayElbIpAddressType, GatewayElbScheme, GatewayRouteStatus, GatewayStatus, GpuSharingMode, InstanceGeneration, InstanceHealthCheckState, InstanceHealthCheckType, IpcMode, LaunchType, LocalStorage, LocalStorageType, LogDriver, ManagedAgentName, ManagedDraining, ManagedInstancesMonitoringOptions, ManagedScalingStatus, ManagedTerminationProtection, NetworkMode, OSFamily, PidMode, PlacementConstraintType, PlacementStrategyType, PlatformDeviceType, PropagateGatewayTags, PropagateMITags, ProxyConfigurationType, ResourceType, Scope, ServiceConnectAccessLoggingFormat, ServiceConnectContainerLogLevel, ServiceConnectIncludeQueryParameters, ServiceDeploymentLifecycleStage, ServiceDeploymentRollbackMonitorsStatus, ServiceDeploymentStatus, ServiceRevisionCleanup, SettingName, SettingType, SortOrder, TargetType, TaskDefinitionFamilyStatus, TaskDefinitionField, TaskDefinitionPlacementConstraintType, TaskDefinitionStatus, ThresholdType, TransportProtocol, UlimitName, VersionConsistency } from "./enums";
|
|
3
3
|
/**
|
|
4
4
|
* <p>The minimum and maximum number of accelerators (such as GPUs) for instance type selection. This is used for workloads that require specific numbers of accelerators.</p>
|
|
5
5
|
* @public
|
|
@@ -1280,6 +1280,37 @@ export interface Attribute {
|
|
|
1280
1280
|
*/
|
|
1281
1281
|
targetId?: string | undefined;
|
|
1282
1282
|
}
|
|
1283
|
+
/**
|
|
1284
|
+
* <p>The state of a GPU on a container instance, including its sharing mode and the memory that's available for new containers.</p>
|
|
1285
|
+
* @public
|
|
1286
|
+
*/
|
|
1287
|
+
export interface GpuDevice {
|
|
1288
|
+
/**
|
|
1289
|
+
* <p>The ID of the GPU. This ID matches the GPU IDs in the <code>gpuIds</code> of the containers that Amazon ECS assigned to the GPU.</p>
|
|
1290
|
+
* @public
|
|
1291
|
+
*/
|
|
1292
|
+
gpuId?: string | undefined;
|
|
1293
|
+
/**
|
|
1294
|
+
* <p>How the GPU is shared between containers.</p> <p>Valid values:</p> <ul> <li> <p> <code>IDLE</code> - No containers are assigned to the GPU, and all of its memory is available.</p> </li> <li> <p> <code>NVIDIA_MPS</code> - One or more containers share the GPU by using NVIDIA Multi-Process Service (MPS).</p> </li> <li> <p> <code>DEDICATED</code> - One container has exclusive use of the GPU.</p> </li> </ul>
|
|
1295
|
+
* @public
|
|
1296
|
+
*/
|
|
1297
|
+
sharingMode?: GpuSharingMode | undefined;
|
|
1298
|
+
/**
|
|
1299
|
+
* <p>The total amount of GPU memory, in MiB, that the Amazon ECS container agent reported for the GPU. This is the memory that's available to containers, and it can be less than the nominal memory of the GPU.</p>
|
|
1300
|
+
* @public
|
|
1301
|
+
*/
|
|
1302
|
+
totalMemoryInMiB?: number | undefined;
|
|
1303
|
+
/**
|
|
1304
|
+
* <p>The amount of GPU memory, in MiB, that's available to allocate to new containers that use the <code>nvidiaMps</code> sharing strategy. Amazon ECS calculates this value from the memory that it allocated to containers on the GPU, not from the memory that the containers use.</p>
|
|
1305
|
+
* @public
|
|
1306
|
+
*/
|
|
1307
|
+
remainingMemoryInMiB?: number | undefined;
|
|
1308
|
+
/**
|
|
1309
|
+
* <p>The number of containers that Amazon ECS assigned to the GPU. This value is <code>0</code> when the sharing mode is <code>IDLE</code> and <code>1</code> when the sharing mode is <code>DEDICATED</code>. Amazon ECS counts the containers that it assigned to the GPU, not the processes that are running on it.</p>
|
|
1310
|
+
* @public
|
|
1311
|
+
*/
|
|
1312
|
+
containerCount?: number | undefined;
|
|
1313
|
+
}
|
|
1283
1314
|
/**
|
|
1284
1315
|
* <p>An object representing the result of a container instance health status check.</p>
|
|
1285
1316
|
* @public
|
|
@@ -1479,6 +1510,11 @@ export interface ContainerInstance {
|
|
|
1479
1510
|
* @public
|
|
1480
1511
|
*/
|
|
1481
1512
|
healthStatus?: ContainerInstanceHealthStatus | undefined;
|
|
1513
|
+
/**
|
|
1514
|
+
* <p>The state of each GPU on the container instance, including its sharing mode and available memory. This field is present only for container instances that support GPU sharing.</p>
|
|
1515
|
+
* @public
|
|
1516
|
+
*/
|
|
1517
|
+
gpuDevices?: GpuDevice[] | undefined;
|
|
1482
1518
|
}
|
|
1483
1519
|
/**
|
|
1484
1520
|
*
|
|
@@ -4183,21 +4219,75 @@ export interface PortMapping {
|
|
|
4183
4219
|
*/
|
|
4184
4220
|
containerPortRange?: string | undefined;
|
|
4185
4221
|
}
|
|
4222
|
+
/**
|
|
4223
|
+
* <p>The GPU memory and compute limits for a container that shares a GPU by using NVIDIA Multi-Process Service (MPS). Amazon ECS assigns the container a single GPU that has enough memory available. Other containers that use MPS can share the same GPU.</p>
|
|
4224
|
+
* @public
|
|
4225
|
+
*/
|
|
4226
|
+
export interface NvidiaMpsAllocation {
|
|
4227
|
+
/**
|
|
4228
|
+
* <p>The amount of GPU memory, in MiB, to allocate to the container. Amazon ECS assigns the container a GPU that has at least the specified amount of memory available, and sets the <code>CUDA_MPS_PINNED_DEVICE_MEM_LIMIT</code> environment variable in the container to limit its memory to this amount. The memory must be available on a single GPU. If more than one container in a task uses <code>nvidiaMps</code>, Amazon ECS assigns them the same GPU, which must have enough memory available for all of them.</p>
|
|
4229
|
+
* @public
|
|
4230
|
+
*/
|
|
4231
|
+
memory: number | undefined;
|
|
4232
|
+
/**
|
|
4233
|
+
* <p>The maximum percentage of the GPU's compute capacity that the container can use. Amazon ECS sets the <code>CUDA_MPS_ACTIVE_THREAD_PERCENTAGE</code> environment variable in the container to this value. This value is a limit, not a reservation.</p> <p>If you don't specify this parameter, Amazon ECS doesn't set <code>CUDA_MPS_ACTIVE_THREAD_PERCENTAGE</code>, and the active thread percentage of the MPS server on the container instance applies. By default, this is 100 percent.</p>
|
|
4234
|
+
* @public
|
|
4235
|
+
*/
|
|
4236
|
+
maxComputePercent?: number | undefined;
|
|
4237
|
+
}
|
|
4238
|
+
/**
|
|
4239
|
+
* <p>The strategy that a container uses to share a GPU with other containers. Specify exactly one member.</p>
|
|
4240
|
+
* @public
|
|
4241
|
+
*/
|
|
4242
|
+
export type SharingStrategy = SharingStrategy.NvidiaMpsMember | SharingStrategy.$UnknownMember;
|
|
4243
|
+
/**
|
|
4244
|
+
* @public
|
|
4245
|
+
*/
|
|
4246
|
+
export declare namespace SharingStrategy {
|
|
4247
|
+
/**
|
|
4248
|
+
* <p>Shares a GPU between containers by using NVIDIA Multi-Process Service (MPS). You specify the GPU memory to allocate to the container and, optionally, the maximum percentage of the GPU's compute capacity that the container can use.</p>
|
|
4249
|
+
* @public
|
|
4250
|
+
*/
|
|
4251
|
+
interface NvidiaMpsMember {
|
|
4252
|
+
nvidiaMps: NvidiaMpsAllocation;
|
|
4253
|
+
$unknown?: never;
|
|
4254
|
+
}
|
|
4255
|
+
/**
|
|
4256
|
+
* @public
|
|
4257
|
+
*/
|
|
4258
|
+
interface $UnknownMember {
|
|
4259
|
+
nvidiaMps?: never;
|
|
4260
|
+
$unknown: [string, any];
|
|
4261
|
+
}
|
|
4262
|
+
/**
|
|
4263
|
+
* @deprecated unused in schema-serde mode.
|
|
4264
|
+
*
|
|
4265
|
+
*/
|
|
4266
|
+
interface Visitor<T> {
|
|
4267
|
+
nvidiaMps: (value: NvidiaMpsAllocation) => T;
|
|
4268
|
+
_: (name: string, value: any) => T;
|
|
4269
|
+
}
|
|
4270
|
+
}
|
|
4186
4271
|
/**
|
|
4187
4272
|
* <p>The type and amount of a resource to assign to a container. The supported resource types are GPUs, Neuron devices, and Elastic Inference accelerators. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-gpu.html">Working with GPUs on Amazon ECS</a> or <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-inference.html">Working with Amazon Elastic Inference on Amazon ECS</a> in the <i>Amazon Elastic Container Service Developer Guide</i> </p>
|
|
4188
4273
|
* @public
|
|
4189
4274
|
*/
|
|
4190
4275
|
export interface ResourceRequirement {
|
|
4191
4276
|
/**
|
|
4192
|
-
* <p>The value for the specified resource type.</p> <p>When the type is <code>GPU</code>, the value is the number of physical <code>GPUs</code> the Amazon ECS container agent reserves for the container. The number of GPUs that's reserved for all containers in a task can't exceed the number of available GPUs on the container instance that the task is launched on. You can also specify <code>ALL</code> to allocate all available GPUs on the instance to the container.</p> <p>When the type is <code>NeuronDevice</code>, the value must be <code>ALL</code>. This allocates all available Neuron devices on the instance to the container. Only one container in a task can specify <code>NeuronDevice</code> resources. This resource type is only supported on Managed Instances.</p> <p>When the type is <code>InferenceAccelerator</code>, the <code>value</code> matches the <code>deviceName</code> for an <a href="https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_InferenceAccelerator.html">InferenceAccelerator</a> specified in a task definition.</p>
|
|
4277
|
+
* <p>The value for the specified resource type.</p> <p>You must specify this parameter unless the type is <code>GPU</code> and you specify <code>sharingStrategy</code>.</p> <p>When the type is <code>GPU</code>, the value is the number of physical <code>GPUs</code> the Amazon ECS container agent reserves for the container. The number of GPUs that's reserved for all containers in a task can't exceed the number of available GPUs on the container instance that the task is launched on. You can also specify <code>ALL</code> to allocate all available GPUs on the instance to the container.</p> <p>When the type is <code>NeuronDevice</code>, the value must be <code>ALL</code>. This allocates all available Neuron devices on the instance to the container. Only one container in a task can specify <code>NeuronDevice</code> resources. This resource type is only supported on Managed Instances.</p> <p>When the type is <code>InferenceAccelerator</code>, the <code>value</code> matches the <code>deviceName</code> for an <a href="https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_InferenceAccelerator.html">InferenceAccelerator</a> specified in a task definition.</p>
|
|
4193
4278
|
* @public
|
|
4194
4279
|
*/
|
|
4195
|
-
value
|
|
4280
|
+
value?: string | undefined;
|
|
4196
4281
|
/**
|
|
4197
4282
|
* <p>The type of resource to assign to a container. </p>
|
|
4198
4283
|
* @public
|
|
4199
4284
|
*/
|
|
4200
4285
|
type: ResourceType | undefined;
|
|
4286
|
+
/**
|
|
4287
|
+
* <p>The strategy that the container uses to share a GPU with other containers. Specify a sharing strategy only when the type is <code>GPU</code>. For a GPU resource requirement, specify either <code>value</code> or <code>sharingStrategy</code>, but not both. If you don't specify a sharing strategy, the container has exclusive use of each GPU that Amazon ECS assigns to it. The containers in a task that request GPUs must all use the same option.</p> <p>You can use GPU sharing with tasks that run on Amazon EC2 instances or Amazon ECS Managed Instances. Task definitions that require <code>EXTERNAL</code> compatibility don't support GPU sharing.</p>
|
|
4288
|
+
* @public
|
|
4289
|
+
*/
|
|
4290
|
+
sharingStrategy?: SharingStrategy | undefined;
|
|
4201
4291
|
}
|
|
4202
4292
|
/**
|
|
4203
4293
|
* <p>Details on a data volume from another container in the same task definition.</p>
|
|
@@ -7462,51 +7552,3 @@ export interface ServiceConnectClientAlias {
|
|
|
7462
7552
|
*/
|
|
7463
7553
|
testTrafficRules?: ServiceConnectTestTrafficRules | undefined;
|
|
7464
7554
|
}
|
|
7465
|
-
/**
|
|
7466
|
-
* <p>An object that represents the timeout configurations for Service Connect.</p> <note> <p>If <code>idleTimeout</code> is set to a time that is less than <code>perRequestTimeout</code>, the connection will close when the <code>idleTimeout</code> is reached and not the <code>perRequestTimeout</code>.</p> </note>
|
|
7467
|
-
* @public
|
|
7468
|
-
*/
|
|
7469
|
-
export interface TimeoutConfiguration {
|
|
7470
|
-
/**
|
|
7471
|
-
* <p>The amount of time in seconds a connection will stay active while idle. A value of <code>0</code> can be set to disable <code>idleTimeout</code>.</p> <p>The <code>idleTimeout</code> default for <code>HTTP</code>/<code>HTTP2</code>/<code>GRPC</code> is 5 minutes.</p> <p>The <code>idleTimeout</code> default for <code>TCP</code> is 1 hour.</p>
|
|
7472
|
-
* @public
|
|
7473
|
-
*/
|
|
7474
|
-
idleTimeoutSeconds?: number | undefined;
|
|
7475
|
-
/**
|
|
7476
|
-
* <p>The amount of time waiting for the upstream to respond with a complete response per request. A value of <code>0</code> can be set to disable <code>perRequestTimeout</code>. <code>perRequestTimeout</code> can only be set if Service Connect <code>appProtocol</code> isn't <code>TCP</code>. Only <code>idleTimeout</code> is allowed for <code>TCP</code> <code>appProtocol</code>.</p>
|
|
7477
|
-
* @public
|
|
7478
|
-
*/
|
|
7479
|
-
perRequestTimeoutSeconds?: number | undefined;
|
|
7480
|
-
}
|
|
7481
|
-
/**
|
|
7482
|
-
* <p>The certificate root authority that secures your service.</p>
|
|
7483
|
-
* @public
|
|
7484
|
-
*/
|
|
7485
|
-
export interface ServiceConnectTlsCertificateAuthority {
|
|
7486
|
-
/**
|
|
7487
|
-
* <p>The ARN of the Amazon Web Services Private Certificate Authority certificate.</p>
|
|
7488
|
-
* @public
|
|
7489
|
-
*/
|
|
7490
|
-
awsPcaAuthorityArn?: string | undefined;
|
|
7491
|
-
}
|
|
7492
|
-
/**
|
|
7493
|
-
* <p>The key that encrypts and decrypts your resources for Service Connect TLS.</p>
|
|
7494
|
-
* @public
|
|
7495
|
-
*/
|
|
7496
|
-
export interface ServiceConnectTlsConfiguration {
|
|
7497
|
-
/**
|
|
7498
|
-
* <p>The signer certificate authority.</p>
|
|
7499
|
-
* @public
|
|
7500
|
-
*/
|
|
7501
|
-
issuerCertificateAuthority: ServiceConnectTlsCertificateAuthority | undefined;
|
|
7502
|
-
/**
|
|
7503
|
-
* <p>The Amazon Web Services Key Management Service key.</p>
|
|
7504
|
-
* @public
|
|
7505
|
-
*/
|
|
7506
|
-
kmsKey?: string | undefined;
|
|
7507
|
-
/**
|
|
7508
|
-
* <p>The Amazon Resource Name (ARN) of the IAM role that's associated with the Service Connect TLS.</p>
|
|
7509
|
-
* @public
|
|
7510
|
-
*/
|
|
7511
|
-
roleArn?: string | undefined;
|
|
7512
|
-
}
|
|
@@ -1,5 +1,53 @@
|
|
|
1
1
|
import type { AccessType, AvailabilityZoneRebalancing, Compatibility, Connectivity, DeploymentRolloutState, EBSResourceType, ExpressCpuArchitecture, ExpressGatewayServiceInclude, GatewayRouteStatus, HealthStatus, IpcMode, LaunchType, ManagedAgentName, ManagedResourceStatus, NetworkMode, PidMode, PropagateTags, ResourceManagementType, ScaleUnit, SchedulingStrategy, ServiceDeploymentStatus, ServiceField, SortOrder, StabilityStatus, StopServiceDeploymentStopType, TaskDefinitionStatus, TaskField, TaskFilesystemType, TaskSetField, TaskStopCode } from "./enums";
|
|
2
|
-
import type { Attachment, Attribute, CapacityProviderStrategyItem, ContainerDefinition, CreatedAt, DeploymentConfiguration, DeploymentController, ECSExpressGatewayService, EnvironmentFile, EphemeralStorage, ExpressGatewayContainer, ExpressGatewayScalingTarget, ExpressGatewayServiceConfiguration, ExpressGatewayServiceNetworkConfiguration, ExpressGatewayServiceStatus, Failure, GatewayConnector, InferenceAccelerator, KeyValuePair, LoadBalancer, LogConfiguration, MonitoringConfiguration, NetworkBinding, NetworkConfiguration, PlacementConstraint, PlacementStrategy, ProxyConfiguration, ResourceRequirement, RuntimePlatform, ServiceConnectAccessLogConfiguration, ServiceConnectClientAlias, ServiceConnectContainerConfiguration,
|
|
2
|
+
import type { Attachment, Attribute, CapacityProviderStrategyItem, ContainerDefinition, CreatedAt, DeploymentConfiguration, DeploymentController, ECSExpressGatewayService, EnvironmentFile, EphemeralStorage, ExpressGatewayContainer, ExpressGatewayScalingTarget, ExpressGatewayServiceConfiguration, ExpressGatewayServiceNetworkConfiguration, ExpressGatewayServiceStatus, Failure, GatewayConnector, InferenceAccelerator, KeyValuePair, LoadBalancer, LogConfiguration, MonitoringConfiguration, NetworkBinding, NetworkConfiguration, PlacementConstraint, PlacementStrategy, ProxyConfiguration, ResourceRequirement, RuntimePlatform, ServiceConnectAccessLogConfiguration, ServiceConnectClientAlias, ServiceConnectContainerConfiguration, SharingStrategy, Tag, TaskDefinition, TaskDefinitionPlacementConstraint, Volume } from "./models_0";
|
|
3
|
+
/**
|
|
4
|
+
* <p>An object that represents the timeout configurations for Service Connect.</p> <note> <p>If <code>idleTimeout</code> is set to a time that is less than <code>perRequestTimeout</code>, the connection will close when the <code>idleTimeout</code> is reached and not the <code>perRequestTimeout</code>.</p> </note>
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export interface TimeoutConfiguration {
|
|
8
|
+
/**
|
|
9
|
+
* <p>The amount of time in seconds a connection will stay active while idle. A value of <code>0</code> can be set to disable <code>idleTimeout</code>.</p> <p>The <code>idleTimeout</code> default for <code>HTTP</code>/<code>HTTP2</code>/<code>GRPC</code> is 5 minutes.</p> <p>The <code>idleTimeout</code> default for <code>TCP</code> is 1 hour.</p>
|
|
10
|
+
* @public
|
|
11
|
+
*/
|
|
12
|
+
idleTimeoutSeconds?: number | undefined;
|
|
13
|
+
/**
|
|
14
|
+
* <p>The amount of time waiting for the upstream to respond with a complete response per request. A value of <code>0</code> can be set to disable <code>perRequestTimeout</code>. <code>perRequestTimeout</code> can only be set if Service Connect <code>appProtocol</code> isn't <code>TCP</code>. Only <code>idleTimeout</code> is allowed for <code>TCP</code> <code>appProtocol</code>.</p>
|
|
15
|
+
* @public
|
|
16
|
+
*/
|
|
17
|
+
perRequestTimeoutSeconds?: number | undefined;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* <p>The certificate root authority that secures your service.</p>
|
|
21
|
+
* @public
|
|
22
|
+
*/
|
|
23
|
+
export interface ServiceConnectTlsCertificateAuthority {
|
|
24
|
+
/**
|
|
25
|
+
* <p>The ARN of the Amazon Web Services Private Certificate Authority certificate.</p>
|
|
26
|
+
* @public
|
|
27
|
+
*/
|
|
28
|
+
awsPcaAuthorityArn?: string | undefined;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* <p>The key that encrypts and decrypts your resources for Service Connect TLS.</p>
|
|
32
|
+
* @public
|
|
33
|
+
*/
|
|
34
|
+
export interface ServiceConnectTlsConfiguration {
|
|
35
|
+
/**
|
|
36
|
+
* <p>The signer certificate authority.</p>
|
|
37
|
+
* @public
|
|
38
|
+
*/
|
|
39
|
+
issuerCertificateAuthority: ServiceConnectTlsCertificateAuthority | undefined;
|
|
40
|
+
/**
|
|
41
|
+
* <p>The Amazon Web Services Key Management Service key.</p>
|
|
42
|
+
* @public
|
|
43
|
+
*/
|
|
44
|
+
kmsKey?: string | undefined;
|
|
45
|
+
/**
|
|
46
|
+
* <p>The Amazon Resource Name (ARN) of the IAM role that's associated with the Service Connect TLS.</p>
|
|
47
|
+
* @public
|
|
48
|
+
*/
|
|
49
|
+
roleArn?: string | undefined;
|
|
50
|
+
}
|
|
3
51
|
/**
|
|
4
52
|
* <p>The Service Connect service object configuration. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-connect.html">Service Connect</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
|
|
5
53
|
* @public
|
|
@@ -2632,6 +2680,11 @@ export interface Container {
|
|
|
2632
2680
|
* @public
|
|
2633
2681
|
*/
|
|
2634
2682
|
neuronDeviceIds?: string[] | undefined;
|
|
2683
|
+
/**
|
|
2684
|
+
* <p>The GPU sharing strategy that the task definition specifies for the container. This field is present only for containers whose resource requirements include <code>sharingStrategy</code>.</p>
|
|
2685
|
+
* @public
|
|
2686
|
+
*/
|
|
2687
|
+
gpuSharingStrategy?: SharingStrategy | undefined;
|
|
2635
2688
|
}
|
|
2636
2689
|
/**
|
|
2637
2690
|
* <p>The amount of ephemeral storage to allocate for the task.</p>
|
|
@@ -230,6 +230,7 @@ export declare var GatewaySummary$: StaticStructureSchema;
|
|
|
230
230
|
export declare var GatewayTestTrafficHeader$: StaticStructureSchema;
|
|
231
231
|
export declare var GetTaskProtectionRequest$: StaticStructureSchema;
|
|
232
232
|
export declare var GetTaskProtectionResponse$: StaticStructureSchema;
|
|
233
|
+
export declare var GpuDevice$: StaticStructureSchema;
|
|
233
234
|
export declare var HealthCheck$: StaticStructureSchema;
|
|
234
235
|
export declare var HostEntry$: StaticStructureSchema;
|
|
235
236
|
export declare var HostSharedAlbConfiguration$: StaticStructureSchema;
|
|
@@ -312,6 +313,7 @@ export declare var NetworkBinding$: StaticStructureSchema;
|
|
|
312
313
|
export declare var NetworkConfiguration$: StaticStructureSchema;
|
|
313
314
|
export declare var NetworkInterface$: StaticStructureSchema;
|
|
314
315
|
export declare var NetworkInterfaceCountRequest$: StaticStructureSchema;
|
|
316
|
+
export declare var NvidiaMpsAllocation$: StaticStructureSchema;
|
|
315
317
|
export declare var PlacementConstraint$: StaticStructureSchema;
|
|
316
318
|
export declare var PlacementStrategy$: StaticStructureSchema;
|
|
317
319
|
export declare var PlatformDevice$: StaticStructureSchema;
|
|
@@ -444,6 +446,7 @@ export declare var GatewayElbAccessLogDestination$: StaticUnionSchema;
|
|
|
444
446
|
export declare var GatewayInfrastructureResources$: StaticUnionSchema;
|
|
445
447
|
export declare var GatewayRouteResources$: StaticUnionSchema;
|
|
446
448
|
export declare var ServiceConnectContainerConfiguration$: StaticUnionSchema;
|
|
449
|
+
export declare var SharingStrategy$: StaticUnionSchema;
|
|
447
450
|
export declare var UpdateGatewayConfiguration$: StaticUnionSchema;
|
|
448
451
|
export declare var AssociateGatewayWithCluster$: StaticOperationSchema;
|
|
449
452
|
export declare var ContinueServiceDeployment$: StaticOperationSchema;
|
|
@@ -170,6 +170,12 @@ export declare const TargetType: {
|
|
|
170
170
|
readonly CONTAINER_INSTANCE: "container-instance";
|
|
171
171
|
};
|
|
172
172
|
export type TargetType = (typeof TargetType)[keyof typeof TargetType];
|
|
173
|
+
export declare const GpuSharingMode: {
|
|
174
|
+
readonly DEDICATED: "DEDICATED";
|
|
175
|
+
readonly IDLE: "IDLE";
|
|
176
|
+
readonly NVIDIA_MPS: "NVIDIA_MPS";
|
|
177
|
+
};
|
|
178
|
+
export type GpuSharingMode = (typeof GpuSharingMode)[keyof typeof GpuSharingMode];
|
|
173
179
|
export declare const InstanceHealthCheckState: {
|
|
174
180
|
readonly IMPAIRED: "IMPAIRED";
|
|
175
181
|
readonly INITIALIZING: "INITIALIZING";
|
|
@@ -57,6 +57,7 @@ import {
|
|
|
57
57
|
GatewayElbScheme,
|
|
58
58
|
GatewayRouteStatus,
|
|
59
59
|
GatewayStatus,
|
|
60
|
+
GpuSharingMode,
|
|
60
61
|
InstanceGeneration,
|
|
61
62
|
InstanceHealthCheckState,
|
|
62
63
|
InstanceHealthCheckType,
|
|
@@ -401,6 +402,13 @@ export interface Attribute {
|
|
|
401
402
|
targetType?: TargetType | undefined;
|
|
402
403
|
targetId?: string | undefined;
|
|
403
404
|
}
|
|
405
|
+
export interface GpuDevice {
|
|
406
|
+
gpuId?: string | undefined;
|
|
407
|
+
sharingMode?: GpuSharingMode | undefined;
|
|
408
|
+
totalMemoryInMiB?: number | undefined;
|
|
409
|
+
remainingMemoryInMiB?: number | undefined;
|
|
410
|
+
containerCount?: number | undefined;
|
|
411
|
+
}
|
|
404
412
|
export interface InstanceHealthCheckResult {
|
|
405
413
|
type?: InstanceHealthCheckType | undefined;
|
|
406
414
|
status?: InstanceHealthCheckState | undefined;
|
|
@@ -444,6 +452,7 @@ export interface ContainerInstance {
|
|
|
444
452
|
attachments?: Attachment[] | undefined;
|
|
445
453
|
tags?: Tag[] | undefined;
|
|
446
454
|
healthStatus?: ContainerInstanceHealthStatus | undefined;
|
|
455
|
+
gpuDevices?: GpuDevice[] | undefined;
|
|
447
456
|
}
|
|
448
457
|
export interface DeregisterContainerInstanceResponse {
|
|
449
458
|
containerInstance?: ContainerInstance | undefined;
|
|
@@ -1083,9 +1092,29 @@ export interface PortMapping {
|
|
|
1083
1092
|
appProtocol?: ApplicationProtocol | undefined;
|
|
1084
1093
|
containerPortRange?: string | undefined;
|
|
1085
1094
|
}
|
|
1095
|
+
export interface NvidiaMpsAllocation {
|
|
1096
|
+
memory: number | undefined;
|
|
1097
|
+
maxComputePercent?: number | undefined;
|
|
1098
|
+
}
|
|
1099
|
+
export type SharingStrategy = SharingStrategy.NvidiaMpsMember | SharingStrategy.$UnknownMember;
|
|
1100
|
+
export declare namespace SharingStrategy {
|
|
1101
|
+
interface NvidiaMpsMember {
|
|
1102
|
+
nvidiaMps: NvidiaMpsAllocation;
|
|
1103
|
+
$unknown?: never;
|
|
1104
|
+
}
|
|
1105
|
+
interface $UnknownMember {
|
|
1106
|
+
nvidiaMps?: never;
|
|
1107
|
+
$unknown: [string, any];
|
|
1108
|
+
}
|
|
1109
|
+
interface Visitor<T> {
|
|
1110
|
+
nvidiaMps: (value: NvidiaMpsAllocation) => T;
|
|
1111
|
+
_: (name: string, value: any) => T;
|
|
1112
|
+
}
|
|
1113
|
+
}
|
|
1086
1114
|
export interface ResourceRequirement {
|
|
1087
|
-
value
|
|
1115
|
+
value?: string | undefined;
|
|
1088
1116
|
type: ResourceType | undefined;
|
|
1117
|
+
sharingStrategy?: SharingStrategy | undefined;
|
|
1089
1118
|
}
|
|
1090
1119
|
export interface VolumeFrom {
|
|
1091
1120
|
sourceContainer?: string | undefined;
|
|
@@ -1914,15 +1943,3 @@ export interface ServiceConnectClientAlias {
|
|
|
1914
1943
|
dnsName?: string | undefined;
|
|
1915
1944
|
testTrafficRules?: ServiceConnectTestTrafficRules | undefined;
|
|
1916
1945
|
}
|
|
1917
|
-
export interface TimeoutConfiguration {
|
|
1918
|
-
idleTimeoutSeconds?: number | undefined;
|
|
1919
|
-
perRequestTimeoutSeconds?: number | undefined;
|
|
1920
|
-
}
|
|
1921
|
-
export interface ServiceConnectTlsCertificateAuthority {
|
|
1922
|
-
awsPcaAuthorityArn?: string | undefined;
|
|
1923
|
-
}
|
|
1924
|
-
export interface ServiceConnectTlsConfiguration {
|
|
1925
|
-
issuerCertificateAuthority: ServiceConnectTlsCertificateAuthority | undefined;
|
|
1926
|
-
kmsKey?: string | undefined;
|
|
1927
|
-
roleArn?: string | undefined;
|
|
1928
|
-
}
|
|
@@ -63,13 +63,24 @@ import {
|
|
|
63
63
|
ServiceConnectAccessLogConfiguration,
|
|
64
64
|
ServiceConnectClientAlias,
|
|
65
65
|
ServiceConnectContainerConfiguration,
|
|
66
|
-
|
|
66
|
+
SharingStrategy,
|
|
67
67
|
Tag,
|
|
68
68
|
TaskDefinition,
|
|
69
69
|
TaskDefinitionPlacementConstraint,
|
|
70
|
-
TimeoutConfiguration,
|
|
71
70
|
Volume,
|
|
72
71
|
} from "./models_0";
|
|
72
|
+
export interface TimeoutConfiguration {
|
|
73
|
+
idleTimeoutSeconds?: number | undefined;
|
|
74
|
+
perRequestTimeoutSeconds?: number | undefined;
|
|
75
|
+
}
|
|
76
|
+
export interface ServiceConnectTlsCertificateAuthority {
|
|
77
|
+
awsPcaAuthorityArn?: string | undefined;
|
|
78
|
+
}
|
|
79
|
+
export interface ServiceConnectTlsConfiguration {
|
|
80
|
+
issuerCertificateAuthority: ServiceConnectTlsCertificateAuthority | undefined;
|
|
81
|
+
kmsKey?: string | undefined;
|
|
82
|
+
roleArn?: string | undefined;
|
|
83
|
+
}
|
|
73
84
|
export interface ServiceConnectService {
|
|
74
85
|
portName: string | undefined;
|
|
75
86
|
discoveryName?: string | undefined;
|
|
@@ -669,6 +680,7 @@ export interface Container {
|
|
|
669
680
|
memoryReservation?: string | undefined;
|
|
670
681
|
gpuIds?: string[] | undefined;
|
|
671
682
|
neuronDeviceIds?: string[] | undefined;
|
|
683
|
+
gpuSharingStrategy?: SharingStrategy | undefined;
|
|
672
684
|
}
|
|
673
685
|
export interface TaskEphemeralStorage {
|
|
674
686
|
sizeInGiB?: number | undefined;
|
|
@@ -230,6 +230,7 @@ export declare var GatewaySummary$: StaticStructureSchema;
|
|
|
230
230
|
export declare var GatewayTestTrafficHeader$: StaticStructureSchema;
|
|
231
231
|
export declare var GetTaskProtectionRequest$: StaticStructureSchema;
|
|
232
232
|
export declare var GetTaskProtectionResponse$: StaticStructureSchema;
|
|
233
|
+
export declare var GpuDevice$: StaticStructureSchema;
|
|
233
234
|
export declare var HealthCheck$: StaticStructureSchema;
|
|
234
235
|
export declare var HostEntry$: StaticStructureSchema;
|
|
235
236
|
export declare var HostSharedAlbConfiguration$: StaticStructureSchema;
|
|
@@ -312,6 +313,7 @@ export declare var NetworkBinding$: StaticStructureSchema;
|
|
|
312
313
|
export declare var NetworkConfiguration$: StaticStructureSchema;
|
|
313
314
|
export declare var NetworkInterface$: StaticStructureSchema;
|
|
314
315
|
export declare var NetworkInterfaceCountRequest$: StaticStructureSchema;
|
|
316
|
+
export declare var NvidiaMpsAllocation$: StaticStructureSchema;
|
|
315
317
|
export declare var PlacementConstraint$: StaticStructureSchema;
|
|
316
318
|
export declare var PlacementStrategy$: StaticStructureSchema;
|
|
317
319
|
export declare var PlatformDevice$: StaticStructureSchema;
|
|
@@ -444,6 +446,7 @@ export declare var GatewayElbAccessLogDestination$: StaticUnionSchema;
|
|
|
444
446
|
export declare var GatewayInfrastructureResources$: StaticUnionSchema;
|
|
445
447
|
export declare var GatewayRouteResources$: StaticUnionSchema;
|
|
446
448
|
export declare var ServiceConnectContainerConfiguration$: StaticUnionSchema;
|
|
449
|
+
export declare var SharingStrategy$: StaticUnionSchema;
|
|
447
450
|
export declare var UpdateGatewayConfiguration$: StaticUnionSchema;
|
|
448
451
|
export declare var AssociateGatewayWithCluster$: StaticOperationSchema;
|
|
449
452
|
export declare var ContinueServiceDeployment$: StaticOperationSchema;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-ecs",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1158.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript Ecs Client for Node.js, Browser and React Native",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-ecs",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -48,12 +48,12 @@
|
|
|
48
48
|
"test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
|
|
49
49
|
},
|
|
50
50
|
"dependencies": {
|
|
51
|
-
"@aws-sdk/core": "^3.978.
|
|
52
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
51
|
+
"@aws-sdk/core": "^3.978.6",
|
|
52
|
+
"@aws-sdk/credential-provider-node": "^3.972.89",
|
|
53
53
|
"@aws-sdk/types": "^3.975.0",
|
|
54
|
-
"@smithy/core": "^3.
|
|
54
|
+
"@smithy/core": "^3.37.0",
|
|
55
55
|
"@smithy/fetch-http-handler": "^5.8.0",
|
|
56
|
-
"@smithy/node-http-handler": "^4.
|
|
56
|
+
"@smithy/node-http-handler": "^4.13.0",
|
|
57
57
|
"@smithy/types": "^4.19.0",
|
|
58
58
|
"tslib": "^2.6.2"
|
|
59
59
|
},
|