@aws-sdk/client-ecs 3.1120.0 → 3.1121.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 +23 -8
- package/dist-es/models/enums.js +4 -0
- package/dist-es/schemas/schemas_0.js +16 -7
- package/dist-types/commands/CreateServiceCommand.d.ts +10 -0
- package/dist-types/commands/DeleteServiceCommand.d.ts +5 -0
- package/dist-types/commands/DescribeServiceDeploymentsCommand.d.ts +5 -0
- package/dist-types/commands/DescribeServicesCommand.d.ts +5 -0
- package/dist-types/commands/UpdateServiceCommand.d.ts +10 -0
- package/dist-types/models/enums.d.ts +12 -0
- package/dist-types/models/models_0.d.ts +28 -33
- package/dist-types/models/models_1.d.ts +32 -1
- package/dist-types/schemas/schemas_0.d.ts +1 -0
- package/dist-types/ts3.4/models/enums.d.ts +6 -0
- package/dist-types/ts3.4/models/models_0.d.ts +7 -7
- package/dist-types/ts3.4/models/models_1.d.ts +12 -1
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +1 -0
- package/package.json +1 -1
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.1120.0";
|
|
73
73
|
var packageInfo = {
|
|
74
74
|
version: version};
|
|
75
75
|
|
|
@@ -661,6 +661,7 @@ const _DEGSRes = "DescribeExpressGatewayServiceRequest";
|
|
|
661
661
|
const _DEGSResc = "DescribeExpressGatewayServiceResponse";
|
|
662
662
|
const _DEGSe = "DescribeExpressGatewayService";
|
|
663
663
|
const _DES = "DeploymentEphemeralStorage";
|
|
664
|
+
const _DESC = "DeploymentEarlySuccessCriteria";
|
|
664
665
|
const _DL = "DevicesList";
|
|
665
666
|
const _DLH = "DeploymentLifecycleHook";
|
|
666
667
|
const _DLHD = "DeploymentLifecycleHookDetail";
|
|
@@ -1246,6 +1247,7 @@ const _eP = "entryPoint";
|
|
|
1246
1247
|
const _eRA = "executionRoleArn";
|
|
1247
1248
|
const _eS = "effectiveSettings";
|
|
1248
1249
|
const _eSA = "executionStoppedAt";
|
|
1250
|
+
const _eSC = "earlySuccessCriteria";
|
|
1249
1251
|
const _eSp = "ephemeralStorage";
|
|
1250
1252
|
const _eVC = "efsVolumeConfiguration";
|
|
1251
1253
|
const _en = "environment";
|
|
@@ -1289,9 +1291,10 @@ const _hD = "hookDetails";
|
|
|
1289
1291
|
const _hE = "httpError";
|
|
1290
1292
|
const _hI = "hookId";
|
|
1291
1293
|
const _hL = "hardLimit";
|
|
1292
|
-
const _hP = "
|
|
1294
|
+
const _hP = "healthyPercent";
|
|
1293
1295
|
const _hPR = "hostPortRange";
|
|
1294
|
-
const _hPo = "
|
|
1296
|
+
const _hPo = "hostPath";
|
|
1297
|
+
const _hPos = "hostPort";
|
|
1295
1298
|
const _hS = "healthStatus";
|
|
1296
1299
|
const _hTA = "hookTargetArn";
|
|
1297
1300
|
const _he = "header";
|
|
@@ -1533,6 +1536,7 @@ const _sSA = "stabilityStatusAt";
|
|
|
1533
1536
|
const _sSG = "serviceSecurityGroups";
|
|
1534
1537
|
const _sSGB = "storageSizeGiB";
|
|
1535
1538
|
const _sSR = "sourceServiceRevisions";
|
|
1539
|
+
const _sSRC = "sourceServiceRevisionCleanup";
|
|
1536
1540
|
const _sSV = "stringSetValue";
|
|
1537
1541
|
const _sSt = "stabilityStatus";
|
|
1538
1542
|
const _sT = "startTimeout";
|
|
@@ -2264,14 +2268,19 @@ var DeploymentCircuitBreaker$ = [3, n0, _DCBe,
|
|
|
2264
2268
|
];
|
|
2265
2269
|
var DeploymentConfiguration$ = [3, n0, _DC,
|
|
2266
2270
|
0,
|
|
2267
|
-
[_dCB, _mPa, _mHP, _al, _str, _bTIM, _lH, _lCi, _cC],
|
|
2268
|
-
[() => DeploymentCircuitBreaker$, 1, 1, () => DeploymentAlarms$, 0, 1, () => DeploymentLifecycleHookList, () => LinearConfiguration$, () => CanaryConfiguration$]
|
|
2271
|
+
[_dCB, _mPa, _mHP, _al, _str, _bTIM, _lH, _lCi, _cC, _eSC],
|
|
2272
|
+
[() => DeploymentCircuitBreaker$, 1, 1, () => DeploymentAlarms$, 0, 1, () => DeploymentLifecycleHookList, () => LinearConfiguration$, () => CanaryConfiguration$, () => DeploymentEarlySuccessCriteria$]
|
|
2269
2273
|
];
|
|
2270
2274
|
var DeploymentController$ = [3, n0, _DCe,
|
|
2271
2275
|
0,
|
|
2272
2276
|
[_t],
|
|
2273
2277
|
[0], 1
|
|
2274
2278
|
];
|
|
2279
|
+
var DeploymentEarlySuccessCriteria$ = [3, n0, _DESC,
|
|
2280
|
+
0,
|
|
2281
|
+
[_enab, _hP, _sSRC],
|
|
2282
|
+
[2, 1, 0], 1
|
|
2283
|
+
];
|
|
2275
2284
|
var DeploymentEphemeralStorage$ = [3, n0, _DES,
|
|
2276
2285
|
0,
|
|
2277
2286
|
[_kKI],
|
|
@@ -2454,7 +2463,7 @@ var DescribeTasksResponse$ = [3, n0, _DTRe,
|
|
|
2454
2463
|
];
|
|
2455
2464
|
var Device$ = [3, n0, _De,
|
|
2456
2465
|
0,
|
|
2457
|
-
[
|
|
2466
|
+
[_hPo, _cPo, _pe],
|
|
2458
2467
|
[0, 0, 64 | 0], 1
|
|
2459
2468
|
];
|
|
2460
2469
|
var DiscoverPollEndpointRequest$ = [3, n0, _DPER,
|
|
@@ -2949,7 +2958,7 @@ var NetworkBandwidthGbpsRequest$ = [3, n0, _NBGR,
|
|
|
2949
2958
|
];
|
|
2950
2959
|
var NetworkBinding$ = [3, n0, _NB,
|
|
2951
2960
|
0,
|
|
2952
|
-
[_bIP, _cPon,
|
|
2961
|
+
[_bIP, _cPon, _hPos, _pr, _cPR, _hPR],
|
|
2953
2962
|
[0, 1, 1, 0, 0, 0]
|
|
2954
2963
|
];
|
|
2955
2964
|
var NetworkConfiguration$ = [3, n0, _NC,
|
|
@@ -2984,7 +2993,7 @@ var PlatformDevice$ = [3, n0, _PD,
|
|
|
2984
2993
|
];
|
|
2985
2994
|
var PortMapping$ = [3, n0, _PM,
|
|
2986
2995
|
0,
|
|
2987
|
-
[_cPon,
|
|
2996
|
+
[_cPon, _hPos, _pr, _n, _aP, _cPR],
|
|
2988
2997
|
[1, 1, 0, 0, 0, 0]
|
|
2989
2998
|
];
|
|
2990
2999
|
var ProtectedTask$ = [3, n0, _PT,
|
|
@@ -5511,6 +5520,10 @@ const ThresholdType = {
|
|
|
5511
5520
|
COUNT: "COUNT",
|
|
5512
5521
|
UNBOUNDED_PERCENT: "UNBOUNDED_PERCENT",
|
|
5513
5522
|
};
|
|
5523
|
+
const ServiceRevisionCleanup = {
|
|
5524
|
+
BLOCKING: "BLOCKING",
|
|
5525
|
+
DEFERRED: "DEFERRED",
|
|
5526
|
+
};
|
|
5514
5527
|
const DeploymentLifecycleHookStage = {
|
|
5515
5528
|
POST_PRODUCTION_TRAFFIC_SHIFT: "POST_PRODUCTION_TRAFFIC_SHIFT",
|
|
5516
5529
|
POST_SCALE_UP: "POST_SCALE_UP",
|
|
@@ -5861,6 +5874,7 @@ exports.DeploymentCircuitBreaker$ = DeploymentCircuitBreaker$;
|
|
|
5861
5874
|
exports.DeploymentConfiguration$ = DeploymentConfiguration$;
|
|
5862
5875
|
exports.DeploymentController$ = DeploymentController$;
|
|
5863
5876
|
exports.DeploymentControllerType = DeploymentControllerType;
|
|
5877
|
+
exports.DeploymentEarlySuccessCriteria$ = DeploymentEarlySuccessCriteria$;
|
|
5864
5878
|
exports.DeploymentEphemeralStorage$ = DeploymentEphemeralStorage$;
|
|
5865
5879
|
exports.DeploymentLifecycleHook$ = DeploymentLifecycleHook$;
|
|
5866
5880
|
exports.DeploymentLifecycleHookAction = DeploymentLifecycleHookAction;
|
|
@@ -6216,6 +6230,7 @@ exports.ServiceNotFoundException = ServiceNotFoundException;
|
|
|
6216
6230
|
exports.ServiceNotFoundException$ = ServiceNotFoundException$;
|
|
6217
6231
|
exports.ServiceRegistry$ = ServiceRegistry$;
|
|
6218
6232
|
exports.ServiceRevision$ = ServiceRevision$;
|
|
6233
|
+
exports.ServiceRevisionCleanup = ServiceRevisionCleanup;
|
|
6219
6234
|
exports.ServiceRevisionLoadBalancer$ = ServiceRevisionLoadBalancer$;
|
|
6220
6235
|
exports.ServiceRevisionOverrides$ = ServiceRevisionOverrides$;
|
|
6221
6236
|
exports.ServiceRevisionSummary$ = ServiceRevisionSummary$;
|
package/dist-es/models/enums.js
CHANGED
|
@@ -395,6 +395,10 @@ export const ThresholdType = {
|
|
|
395
395
|
COUNT: "COUNT",
|
|
396
396
|
UNBOUNDED_PERCENT: "UNBOUNDED_PERCENT",
|
|
397
397
|
};
|
|
398
|
+
export const ServiceRevisionCleanup = {
|
|
399
|
+
BLOCKING: "BLOCKING",
|
|
400
|
+
DEFERRED: "DEFERRED",
|
|
401
|
+
};
|
|
398
402
|
export const DeploymentLifecycleHookStage = {
|
|
399
403
|
POST_PRODUCTION_TRAFFIC_SHIFT: "POST_PRODUCTION_TRAFFIC_SHIFT",
|
|
400
404
|
POST_SCALE_UP: "POST_SCALE_UP",
|
|
@@ -158,6 +158,7 @@ const _DEGSRes = "DescribeExpressGatewayServiceRequest";
|
|
|
158
158
|
const _DEGSResc = "DescribeExpressGatewayServiceResponse";
|
|
159
159
|
const _DEGSe = "DescribeExpressGatewayService";
|
|
160
160
|
const _DES = "DeploymentEphemeralStorage";
|
|
161
|
+
const _DESC = "DeploymentEarlySuccessCriteria";
|
|
161
162
|
const _DL = "DevicesList";
|
|
162
163
|
const _DLH = "DeploymentLifecycleHook";
|
|
163
164
|
const _DLHD = "DeploymentLifecycleHookDetail";
|
|
@@ -743,6 +744,7 @@ const _eP = "entryPoint";
|
|
|
743
744
|
const _eRA = "executionRoleArn";
|
|
744
745
|
const _eS = "effectiveSettings";
|
|
745
746
|
const _eSA = "executionStoppedAt";
|
|
747
|
+
const _eSC = "earlySuccessCriteria";
|
|
746
748
|
const _eSp = "ephemeralStorage";
|
|
747
749
|
const _eVC = "efsVolumeConfiguration";
|
|
748
750
|
const _en = "environment";
|
|
@@ -786,9 +788,10 @@ const _hD = "hookDetails";
|
|
|
786
788
|
const _hE = "httpError";
|
|
787
789
|
const _hI = "hookId";
|
|
788
790
|
const _hL = "hardLimit";
|
|
789
|
-
const _hP = "
|
|
791
|
+
const _hP = "healthyPercent";
|
|
790
792
|
const _hPR = "hostPortRange";
|
|
791
|
-
const _hPo = "
|
|
793
|
+
const _hPo = "hostPath";
|
|
794
|
+
const _hPos = "hostPort";
|
|
792
795
|
const _hS = "healthStatus";
|
|
793
796
|
const _hTA = "hookTargetArn";
|
|
794
797
|
const _he = "header";
|
|
@@ -1030,6 +1033,7 @@ const _sSA = "stabilityStatusAt";
|
|
|
1030
1033
|
const _sSG = "serviceSecurityGroups";
|
|
1031
1034
|
const _sSGB = "storageSizeGiB";
|
|
1032
1035
|
const _sSR = "sourceServiceRevisions";
|
|
1036
|
+
const _sSRC = "sourceServiceRevisionCleanup";
|
|
1033
1037
|
const _sSV = "stringSetValue";
|
|
1034
1038
|
const _sSt = "stabilityStatus";
|
|
1035
1039
|
const _sT = "startTimeout";
|
|
@@ -1764,14 +1768,19 @@ export var DeploymentCircuitBreaker$ = [3, n0, _DCBe,
|
|
|
1764
1768
|
];
|
|
1765
1769
|
export var DeploymentConfiguration$ = [3, n0, _DC,
|
|
1766
1770
|
0,
|
|
1767
|
-
[_dCB, _mPa, _mHP, _al, _str, _bTIM, _lH, _lCi, _cC],
|
|
1768
|
-
[() => DeploymentCircuitBreaker$, 1, 1, () => DeploymentAlarms$, 0, 1, () => DeploymentLifecycleHookList, () => LinearConfiguration$, () => CanaryConfiguration$]
|
|
1771
|
+
[_dCB, _mPa, _mHP, _al, _str, _bTIM, _lH, _lCi, _cC, _eSC],
|
|
1772
|
+
[() => DeploymentCircuitBreaker$, 1, 1, () => DeploymentAlarms$, 0, 1, () => DeploymentLifecycleHookList, () => LinearConfiguration$, () => CanaryConfiguration$, () => DeploymentEarlySuccessCriteria$]
|
|
1769
1773
|
];
|
|
1770
1774
|
export var DeploymentController$ = [3, n0, _DCe,
|
|
1771
1775
|
0,
|
|
1772
1776
|
[_t],
|
|
1773
1777
|
[0], 1
|
|
1774
1778
|
];
|
|
1779
|
+
export var DeploymentEarlySuccessCriteria$ = [3, n0, _DESC,
|
|
1780
|
+
0,
|
|
1781
|
+
[_enab, _hP, _sSRC],
|
|
1782
|
+
[2, 1, 0], 1
|
|
1783
|
+
];
|
|
1775
1784
|
export var DeploymentEphemeralStorage$ = [3, n0, _DES,
|
|
1776
1785
|
0,
|
|
1777
1786
|
[_kKI],
|
|
@@ -1954,7 +1963,7 @@ export var DescribeTasksResponse$ = [3, n0, _DTRe,
|
|
|
1954
1963
|
];
|
|
1955
1964
|
export var Device$ = [3, n0, _De,
|
|
1956
1965
|
0,
|
|
1957
|
-
[
|
|
1966
|
+
[_hPo, _cPo, _pe],
|
|
1958
1967
|
[0, 0, 64 | 0], 1
|
|
1959
1968
|
];
|
|
1960
1969
|
export var DiscoverPollEndpointRequest$ = [3, n0, _DPER,
|
|
@@ -2449,7 +2458,7 @@ export var NetworkBandwidthGbpsRequest$ = [3, n0, _NBGR,
|
|
|
2449
2458
|
];
|
|
2450
2459
|
export var NetworkBinding$ = [3, n0, _NB,
|
|
2451
2460
|
0,
|
|
2452
|
-
[_bIP, _cPon,
|
|
2461
|
+
[_bIP, _cPon, _hPos, _pr, _cPR, _hPR],
|
|
2453
2462
|
[0, 1, 1, 0, 0, 0]
|
|
2454
2463
|
];
|
|
2455
2464
|
export var NetworkConfiguration$ = [3, n0, _NC,
|
|
@@ -2484,7 +2493,7 @@ export var PlatformDevice$ = [3, n0, _PD,
|
|
|
2484
2493
|
];
|
|
2485
2494
|
export var PortMapping$ = [3, n0, _PM,
|
|
2486
2495
|
0,
|
|
2487
|
-
[_cPon,
|
|
2496
|
+
[_cPon, _hPos, _pr, _n, _aP, _cPR],
|
|
2488
2497
|
[1, 1, 0, 0, 0, 0]
|
|
2489
2498
|
];
|
|
2490
2499
|
export var ProtectedTask$ = [3, n0, _PT,
|
|
@@ -116,6 +116,11 @@ declare const CreateServiceCommand_base: {
|
|
|
116
116
|
* canaryPercent: Number("double"),
|
|
117
117
|
* canaryBakeTimeInMinutes: Number("int"),
|
|
118
118
|
* },
|
|
119
|
+
* earlySuccessCriteria: { // DeploymentEarlySuccessCriteria
|
|
120
|
+
* enable: true || false, // required
|
|
121
|
+
* healthyPercent: Number("int"),
|
|
122
|
+
* sourceServiceRevisionCleanup: "BLOCKING" || "DEFERRED",
|
|
123
|
+
* },
|
|
119
124
|
* },
|
|
120
125
|
* placementConstraints: [ // PlacementConstraints
|
|
121
126
|
* { // PlacementConstraint
|
|
@@ -341,6 +346,11 @@ declare const CreateServiceCommand_base: {
|
|
|
341
346
|
* // canaryPercent: Number("double"),
|
|
342
347
|
* // canaryBakeTimeInMinutes: Number("int"),
|
|
343
348
|
* // },
|
|
349
|
+
* // earlySuccessCriteria: { // DeploymentEarlySuccessCriteria
|
|
350
|
+
* // enable: true || false, // required
|
|
351
|
+
* // healthyPercent: Number("int"),
|
|
352
|
+
* // sourceServiceRevisionCleanup: "BLOCKING" || "DEFERRED",
|
|
353
|
+
* // },
|
|
344
354
|
* // },
|
|
345
355
|
* // taskSets: [ // TaskSets
|
|
346
356
|
* // { // TaskSet
|
|
@@ -126,6 +126,11 @@ declare const DeleteServiceCommand_base: {
|
|
|
126
126
|
* // canaryPercent: Number("double"),
|
|
127
127
|
* // canaryBakeTimeInMinutes: Number("int"),
|
|
128
128
|
* // },
|
|
129
|
+
* // earlySuccessCriteria: { // DeploymentEarlySuccessCriteria
|
|
130
|
+
* // enable: true || false, // required
|
|
131
|
+
* // healthyPercent: Number("int"),
|
|
132
|
+
* // sourceServiceRevisionCleanup: "BLOCKING" || "DEFERRED",
|
|
133
|
+
* // },
|
|
129
134
|
* // },
|
|
130
135
|
* // taskSets: [ // TaskSets
|
|
131
136
|
* // { // TaskSet
|
|
@@ -126,6 +126,11 @@ declare const DescribeServiceDeploymentsCommand_base: {
|
|
|
126
126
|
* // canaryPercent: Number("double"),
|
|
127
127
|
* // canaryBakeTimeInMinutes: Number("int"),
|
|
128
128
|
* // },
|
|
129
|
+
* // earlySuccessCriteria: { // DeploymentEarlySuccessCriteria
|
|
130
|
+
* // enable: true || false, // required
|
|
131
|
+
* // healthyPercent: Number("int"),
|
|
132
|
+
* // sourceServiceRevisionCleanup: "BLOCKING" || "DEFERRED",
|
|
133
|
+
* // },
|
|
129
134
|
* // },
|
|
130
135
|
* // rollback: { // Rollback
|
|
131
136
|
* // reason: "STRING_VALUE",
|
|
@@ -131,6 +131,11 @@ declare const DescribeServicesCommand_base: {
|
|
|
131
131
|
* // canaryPercent: Number("double"),
|
|
132
132
|
* // canaryBakeTimeInMinutes: Number("int"),
|
|
133
133
|
* // },
|
|
134
|
+
* // earlySuccessCriteria: { // DeploymentEarlySuccessCriteria
|
|
135
|
+
* // enable: true || false, // required
|
|
136
|
+
* // healthyPercent: Number("int"),
|
|
137
|
+
* // sourceServiceRevisionCleanup: "BLOCKING" || "DEFERRED",
|
|
138
|
+
* // },
|
|
134
139
|
* // },
|
|
135
140
|
* // taskSets: [ // TaskSets
|
|
136
141
|
* // { // TaskSet
|
|
@@ -89,6 +89,11 @@ declare const UpdateServiceCommand_base: {
|
|
|
89
89
|
* canaryPercent: Number("double"),
|
|
90
90
|
* canaryBakeTimeInMinutes: Number("int"),
|
|
91
91
|
* },
|
|
92
|
+
* earlySuccessCriteria: { // DeploymentEarlySuccessCriteria
|
|
93
|
+
* enable: true || false, // required
|
|
94
|
+
* healthyPercent: Number("int"),
|
|
95
|
+
* sourceServiceRevisionCleanup: "BLOCKING" || "DEFERRED",
|
|
96
|
+
* },
|
|
92
97
|
* },
|
|
93
98
|
* availabilityZoneRebalancing: "ENABLED" || "DISABLED",
|
|
94
99
|
* networkConfiguration: { // NetworkConfiguration
|
|
@@ -332,6 +337,11 @@ declare const UpdateServiceCommand_base: {
|
|
|
332
337
|
* // canaryPercent: Number("double"),
|
|
333
338
|
* // canaryBakeTimeInMinutes: Number("int"),
|
|
334
339
|
* // },
|
|
340
|
+
* // earlySuccessCriteria: { // DeploymentEarlySuccessCriteria
|
|
341
|
+
* // enable: true || false, // required
|
|
342
|
+
* // healthyPercent: Number("int"),
|
|
343
|
+
* // sourceServiceRevisionCleanup: "BLOCKING" || "DEFERRED",
|
|
344
|
+
* // },
|
|
335
345
|
* // },
|
|
336
346
|
* // taskSets: [ // TaskSets
|
|
337
347
|
* // { // TaskSet
|
|
@@ -1008,6 +1008,18 @@ export declare const ThresholdType: {
|
|
|
1008
1008
|
* @public
|
|
1009
1009
|
*/
|
|
1010
1010
|
export type ThresholdType = (typeof ThresholdType)[keyof typeof ThresholdType];
|
|
1011
|
+
/**
|
|
1012
|
+
* @public
|
|
1013
|
+
* @enum
|
|
1014
|
+
*/
|
|
1015
|
+
export declare const ServiceRevisionCleanup: {
|
|
1016
|
+
readonly BLOCKING: "BLOCKING";
|
|
1017
|
+
readonly DEFERRED: "DEFERRED";
|
|
1018
|
+
};
|
|
1019
|
+
/**
|
|
1020
|
+
* @public
|
|
1021
|
+
*/
|
|
1022
|
+
export type ServiceRevisionCleanup = (typeof ServiceRevisionCleanup)[keyof typeof ServiceRevisionCleanup];
|
|
1011
1023
|
/**
|
|
1012
1024
|
* @public
|
|
1013
1025
|
* @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, AvailabilityZoneRebalancing, 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, DeploymentRolloutState, DeploymentStrategy, DesiredStatus, DeviceCgroupPermission, EBSResourceType, EFSAuthorizationConfigIAM, EFSTransitEncryption, EnvironmentFileType, ExecuteCommandLogging, ExpressGatewayServiceInclude, ExpressGatewayServiceScalingMetric, ExpressGatewayServiceStatusCode, FirelensConfigurationType, InstanceGeneration, InstanceHealthCheckState, InstanceHealthCheckType, IpcMode, LaunchType, LocalStorage, LocalStorageType, LogDriver, ManagedAgentName, ManagedDraining, ManagedInstancesMonitoringOptions, ManagedResourceStatus, ManagedScalingStatus, ManagedTerminationProtection, NetworkMode, OSFamily, PidMode, PlacementConstraintType, PlacementStrategyType, PlatformDeviceType, PropagateMITags, PropagateTags, ProxyConfigurationType, ResourceManagementType, ResourceType, ScaleUnit, SchedulingStrategy, Scope, ServiceConnectAccessLoggingFormat, ServiceConnectIncludeQueryParameters, ServiceDeploymentLifecycleStage, ServiceDeploymentRollbackMonitorsStatus, ServiceDeploymentStatus, ServiceField, SettingName, SettingType, SortOrder, StabilityStatus, StopServiceDeploymentStopType, TargetType, TaskDefinitionFamilyStatus, TaskDefinitionField, TaskDefinitionPlacementConstraintType, TaskDefinitionStatus, TaskFilesystemType, ThresholdType, TransportProtocol, UlimitName, VersionConsistency } from "./enums";
|
|
2
|
+
import type { AcceleratorManufacturer, AcceleratorName, AcceleratorType, AccessType, AgentUpdateStatus, ApplicationProtocol, AssignPublicIp, AutoRepairActionsStatus, AvailabilityZoneRebalancing, 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, DeploymentRolloutState, DeploymentStrategy, DesiredStatus, DeviceCgroupPermission, EBSResourceType, EFSAuthorizationConfigIAM, EFSTransitEncryption, EnvironmentFileType, ExecuteCommandLogging, ExpressGatewayServiceInclude, ExpressGatewayServiceScalingMetric, ExpressGatewayServiceStatusCode, FirelensConfigurationType, InstanceGeneration, InstanceHealthCheckState, InstanceHealthCheckType, IpcMode, LaunchType, LocalStorage, LocalStorageType, LogDriver, ManagedAgentName, ManagedDraining, ManagedInstancesMonitoringOptions, ManagedResourceStatus, ManagedScalingStatus, ManagedTerminationProtection, NetworkMode, OSFamily, PidMode, PlacementConstraintType, PlacementStrategyType, PlatformDeviceType, PropagateMITags, PropagateTags, ProxyConfigurationType, ResourceManagementType, ResourceType, ScaleUnit, SchedulingStrategy, Scope, ServiceConnectAccessLoggingFormat, ServiceConnectIncludeQueryParameters, ServiceDeploymentLifecycleStage, ServiceDeploymentRollbackMonitorsStatus, ServiceDeploymentStatus, ServiceField, ServiceRevisionCleanup, SettingName, SettingType, SortOrder, StabilityStatus, StopServiceDeploymentStopType, TargetType, TaskDefinitionFamilyStatus, TaskDefinitionField, TaskDefinitionPlacementConstraintType, TaskDefinitionStatus, TaskFilesystemType, 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
|
|
@@ -4128,7 +4128,7 @@ export interface PortMapping {
|
|
|
4128
4128
|
*/
|
|
4129
4129
|
hostPort?: number | undefined;
|
|
4130
4130
|
/**
|
|
4131
|
-
* <p>The protocol used for the port mapping. Valid values are <code>tcp</code> and <code>udp</code
|
|
4131
|
+
* <p>The protocol that's used for the port mapping. Valid values are <code>tcp</code> and <code>udp</code> (case-sensitive). The default is <code>tcp</code>. Amazon ECS treats any other specified value as <code>tcp</code>. <code>protocol</code> is immutable in a Service Connect service. To update this field, you must delete and redeploy the service. </p>
|
|
4132
4132
|
* @public
|
|
4133
4133
|
*/
|
|
4134
4134
|
protocol?: TransportProtocol | undefined;
|
|
@@ -5211,6 +5211,27 @@ export interface DeploymentCircuitBreaker {
|
|
|
5211
5211
|
*/
|
|
5212
5212
|
thresholdConfiguration?: ThresholdConfiguration | undefined;
|
|
5213
5213
|
}
|
|
5214
|
+
/**
|
|
5215
|
+
* <note> <p>You can use early success criteria only with rolling deployment strategy.</p> </note> <p>The configuration that determines when a rolling update deployment is considered successful. Early success criteria defines the percentage of tasks that must be healthy before a deployment completes. It also controls whether Amazon ECS must remove the previous tasks before a deployment completes.</p>
|
|
5216
|
+
* @public
|
|
5217
|
+
*/
|
|
5218
|
+
export interface DeploymentEarlySuccessCriteria {
|
|
5219
|
+
/**
|
|
5220
|
+
* <p>Specifies whether to use the early success criteria for the service deployment. When set to <code>false</code>, the deployment uses the default behavior, where Amazon ECS considers the deployment successful when the target service revision fully stabilizes and the previous tasks are removed. The default value is <code>false</code>.</p> <p>When set to <code>true</code>, Amazon ECS monitors the deployment to meet early success criteria. You must also specify <code>healthyPercent</code> and <code>sourceServiceRevisionCleanup</code>.</p>
|
|
5221
|
+
* @public
|
|
5222
|
+
*/
|
|
5223
|
+
enable: boolean | undefined;
|
|
5224
|
+
/**
|
|
5225
|
+
* <p>The percentage of healthy tasks that the target service revision must reach before Amazon ECS considers the deployment successful. This percentage is relative to the service's <code>desiredCount</code> and must be an integer between <code>0</code> and <code>100</code>. This value must be greater than or equal to the <code>minimumHealthyPercent</code> value.</p> <p>After this percentage of tasks is healthy and the bake time elapses, Amazon ECS completes the deployment. Amazon ECS continues to scale the target service revision to 100 percent in the background.</p>
|
|
5226
|
+
* @public
|
|
5227
|
+
*/
|
|
5228
|
+
healthyPercent?: number | undefined;
|
|
5229
|
+
/**
|
|
5230
|
+
* <p>The time when Amazon ECS removes the source revisions' tasks relative to deployment completion. The valid values are:</p> <ul> <li> <p> <code>BLOCKING</code>—Amazon ECS removes the previous tasks before it marks the deployment as successful.</p> </li> <li> <p> <code>DEFERRED</code>—Amazon ECS marks the deployment successful, and then removes the previous tasks in the background.</p> </li> </ul>
|
|
5231
|
+
* @public
|
|
5232
|
+
*/
|
|
5233
|
+
sourceServiceRevisionCleanup?: ServiceRevisionCleanup | undefined;
|
|
5234
|
+
}
|
|
5214
5235
|
/**
|
|
5215
5236
|
* <p>The timeout configuration for a deployment lifecycle hook. This determines how long Amazon ECS waits for the hook to complete before taking the specified timeout action.</p>
|
|
5216
5237
|
* @public
|
|
@@ -5329,6 +5350,11 @@ export interface DeploymentConfiguration {
|
|
|
5329
5350
|
* @public
|
|
5330
5351
|
*/
|
|
5331
5352
|
canaryConfiguration?: CanaryConfiguration | undefined;
|
|
5353
|
+
/**
|
|
5354
|
+
* <p>The early success criteria configuration for a rolling deployment. With early success criteria, you can configure an Amazon ECS deployment to complete faster. Amazon ECS declares a deployment successful once a target percentage of tasks are healthy, instead of waiting for the service to fully stabilize.</p>
|
|
5355
|
+
* @public
|
|
5356
|
+
*/
|
|
5357
|
+
earlySuccessCriteria?: DeploymentEarlySuccessCriteria | undefined;
|
|
5332
5358
|
}
|
|
5333
5359
|
/**
|
|
5334
5360
|
* <p>The details of a deployment lifecycle hook that is active during a service deployment.</p> <p>You can view lifecycle hook details by calling <a href="https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_DescribeServiceDeployments.html">DescribeServiceDeployments</a>.</p>
|
|
@@ -7989,34 +8015,3 @@ export interface ManagedMetricAlarm {
|
|
|
7989
8015
|
*/
|
|
7990
8016
|
updatedAt: Date | undefined;
|
|
7991
8017
|
}
|
|
7992
|
-
/**
|
|
7993
|
-
* <p>Represents the Amazon Web Services resources managed by Amazon ECS for an Express service, including ingress paths, auto-scaling policies, metric alarms, and security groups.</p>
|
|
7994
|
-
* @public
|
|
7995
|
-
*/
|
|
7996
|
-
export interface ECSManagedResources {
|
|
7997
|
-
/**
|
|
7998
|
-
* <p>The ingress paths and endpoints for the Express service.</p>
|
|
7999
|
-
* @public
|
|
8000
|
-
*/
|
|
8001
|
-
ingressPaths?: ManagedIngressPath[] | undefined;
|
|
8002
|
-
/**
|
|
8003
|
-
* <p>The auto-scaling configuration and policies for the Express service.</p>
|
|
8004
|
-
* @public
|
|
8005
|
-
*/
|
|
8006
|
-
autoScaling?: ManagedAutoScaling | undefined;
|
|
8007
|
-
/**
|
|
8008
|
-
* <p>The CloudWatch metric alarms associated with the Express service.</p>
|
|
8009
|
-
* @public
|
|
8010
|
-
*/
|
|
8011
|
-
metricAlarms?: ManagedMetricAlarm[] | undefined;
|
|
8012
|
-
/**
|
|
8013
|
-
* <p>The security groups managed by the Express service.</p>
|
|
8014
|
-
* @public
|
|
8015
|
-
*/
|
|
8016
|
-
serviceSecurityGroups?: ManagedSecurityGroup[] | undefined;
|
|
8017
|
-
/**
|
|
8018
|
-
* <p>The log groups managed by the Express service.</p>
|
|
8019
|
-
* @public
|
|
8020
|
-
*/
|
|
8021
|
-
logGroups?: ManagedLogGroup[] | undefined;
|
|
8022
|
-
}
|
|
@@ -1,5 +1,36 @@
|
|
|
1
1
|
import type { Compatibility, Connectivity, HealthStatus, IpcMode, LaunchType, ManagedAgentName, NetworkMode, PidMode, PropagateTags, SortOrder, TaskDefinitionStatus, TaskField, TaskFilesystemType, TaskSetField, TaskStopCode } from "./enums";
|
|
2
|
-
import type { Attachment, Attribute, CapacityProviderStrategyItem, ContainerDefinition, ContainerImage, DeploymentEphemeralStorage, EBSTagSpecification,
|
|
2
|
+
import type { Attachment, Attribute, CapacityProviderStrategyItem, ContainerDefinition, ContainerImage, DeploymentEphemeralStorage, EBSTagSpecification, EnvironmentFile, EphemeralStorage, Failure, InferenceAccelerator, KeyValuePair, LoadBalancer, ManagedAutoScaling, ManagedIngressPath, ManagedLogGroup, ManagedMetricAlarm, ManagedSecurityGroup, MonitoringConfiguration, NetworkBinding, NetworkConfiguration, PlacementConstraint, PlacementStrategy, ProxyConfiguration, ResourceRequirement, RuntimePlatform, Scale, ServiceConnectConfiguration, ServiceRegistry, ServiceVolumeConfiguration, Tag, TaskDefinition, TaskDefinitionPlacementConstraint, TaskSet, Volume, VpcLatticeConfiguration } from "./models_0";
|
|
3
|
+
/**
|
|
4
|
+
* <p>Represents the Amazon Web Services resources managed by Amazon ECS for an Express service, including ingress paths, auto-scaling policies, metric alarms, and security groups.</p>
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export interface ECSManagedResources {
|
|
8
|
+
/**
|
|
9
|
+
* <p>The ingress paths and endpoints for the Express service.</p>
|
|
10
|
+
* @public
|
|
11
|
+
*/
|
|
12
|
+
ingressPaths?: ManagedIngressPath[] | undefined;
|
|
13
|
+
/**
|
|
14
|
+
* <p>The auto-scaling configuration and policies for the Express service.</p>
|
|
15
|
+
* @public
|
|
16
|
+
*/
|
|
17
|
+
autoScaling?: ManagedAutoScaling | undefined;
|
|
18
|
+
/**
|
|
19
|
+
* <p>The CloudWatch metric alarms associated with the Express service.</p>
|
|
20
|
+
* @public
|
|
21
|
+
*/
|
|
22
|
+
metricAlarms?: ManagedMetricAlarm[] | undefined;
|
|
23
|
+
/**
|
|
24
|
+
* <p>The security groups managed by the Express service.</p>
|
|
25
|
+
* @public
|
|
26
|
+
*/
|
|
27
|
+
serviceSecurityGroups?: ManagedSecurityGroup[] | undefined;
|
|
28
|
+
/**
|
|
29
|
+
* <p>The log groups managed by the Express service.</p>
|
|
30
|
+
* @public
|
|
31
|
+
*/
|
|
32
|
+
logGroups?: ManagedLogGroup[] | undefined;
|
|
33
|
+
}
|
|
3
34
|
/**
|
|
4
35
|
* <p>The runtime platform that Amazon ECS applies to a service revision. This value overrides the runtime platform specified in the task definition. You can't set this value.</p>
|
|
5
36
|
* @public
|
|
@@ -127,6 +127,7 @@ export declare var DeploymentAlarms$: StaticStructureSchema;
|
|
|
127
127
|
export declare var DeploymentCircuitBreaker$: StaticStructureSchema;
|
|
128
128
|
export declare var DeploymentConfiguration$: StaticStructureSchema;
|
|
129
129
|
export declare var DeploymentController$: StaticStructureSchema;
|
|
130
|
+
export declare var DeploymentEarlySuccessCriteria$: StaticStructureSchema;
|
|
130
131
|
export declare var DeploymentEphemeralStorage$: StaticStructureSchema;
|
|
131
132
|
export declare var DeploymentLifecycleHook$: StaticStructureSchema;
|
|
132
133
|
export declare var DeploymentLifecycleHookDetail$: StaticStructureSchema;
|
|
@@ -495,6 +495,12 @@ export declare const ThresholdType: {
|
|
|
495
495
|
readonly UNBOUNDED_PERCENT: "UNBOUNDED_PERCENT";
|
|
496
496
|
};
|
|
497
497
|
export type ThresholdType = (typeof ThresholdType)[keyof typeof ThresholdType];
|
|
498
|
+
export declare const ServiceRevisionCleanup: {
|
|
499
|
+
readonly BLOCKING: "BLOCKING";
|
|
500
|
+
readonly DEFERRED: "DEFERRED";
|
|
501
|
+
};
|
|
502
|
+
export type ServiceRevisionCleanup =
|
|
503
|
+
(typeof ServiceRevisionCleanup)[keyof typeof ServiceRevisionCleanup];
|
|
498
504
|
export declare const DeploymentLifecycleHookStage: {
|
|
499
505
|
readonly POST_PRODUCTION_TRAFFIC_SHIFT: "POST_PRODUCTION_TRAFFIC_SHIFT";
|
|
500
506
|
readonly POST_SCALE_UP: "POST_SCALE_UP";
|
|
@@ -86,6 +86,7 @@ import {
|
|
|
86
86
|
ServiceDeploymentRollbackMonitorsStatus,
|
|
87
87
|
ServiceDeploymentStatus,
|
|
88
88
|
ServiceField,
|
|
89
|
+
ServiceRevisionCleanup,
|
|
89
90
|
SettingName,
|
|
90
91
|
SettingType,
|
|
91
92
|
SortOrder,
|
|
@@ -1323,6 +1324,11 @@ export interface DeploymentCircuitBreaker {
|
|
|
1323
1324
|
resetOnHealthyTask?: boolean | undefined;
|
|
1324
1325
|
thresholdConfiguration?: ThresholdConfiguration | undefined;
|
|
1325
1326
|
}
|
|
1327
|
+
export interface DeploymentEarlySuccessCriteria {
|
|
1328
|
+
enable: boolean | undefined;
|
|
1329
|
+
healthyPercent?: number | undefined;
|
|
1330
|
+
sourceServiceRevisionCleanup?: ServiceRevisionCleanup | undefined;
|
|
1331
|
+
}
|
|
1326
1332
|
export interface DeploymentLifecycleHookTimeoutConfiguration {
|
|
1327
1333
|
timeoutInMinutes?: number | undefined;
|
|
1328
1334
|
action?: DeploymentLifecycleHookAction | undefined;
|
|
@@ -1349,6 +1355,7 @@ export interface DeploymentConfiguration {
|
|
|
1349
1355
|
lifecycleHooks?: DeploymentLifecycleHook[] | undefined;
|
|
1350
1356
|
linearConfiguration?: LinearConfiguration | undefined;
|
|
1351
1357
|
canaryConfiguration?: CanaryConfiguration | undefined;
|
|
1358
|
+
earlySuccessCriteria?: DeploymentEarlySuccessCriteria | undefined;
|
|
1352
1359
|
}
|
|
1353
1360
|
export interface DeploymentLifecycleHookDetail {
|
|
1354
1361
|
hookId?: string | undefined;
|
|
@@ -1953,10 +1960,3 @@ export interface ManagedMetricAlarm {
|
|
|
1953
1960
|
statusReason?: string | undefined;
|
|
1954
1961
|
updatedAt: Date | undefined;
|
|
1955
1962
|
}
|
|
1956
|
-
export interface ECSManagedResources {
|
|
1957
|
-
ingressPaths?: ManagedIngressPath[] | undefined;
|
|
1958
|
-
autoScaling?: ManagedAutoScaling | undefined;
|
|
1959
|
-
metricAlarms?: ManagedMetricAlarm[] | undefined;
|
|
1960
|
-
serviceSecurityGroups?: ManagedSecurityGroup[] | undefined;
|
|
1961
|
-
logGroups?: ManagedLogGroup[] | undefined;
|
|
1962
|
-
}
|
|
@@ -23,13 +23,17 @@ import {
|
|
|
23
23
|
ContainerImage,
|
|
24
24
|
DeploymentEphemeralStorage,
|
|
25
25
|
EBSTagSpecification,
|
|
26
|
-
ECSManagedResources,
|
|
27
26
|
EnvironmentFile,
|
|
28
27
|
EphemeralStorage,
|
|
29
28
|
Failure,
|
|
30
29
|
InferenceAccelerator,
|
|
31
30
|
KeyValuePair,
|
|
32
31
|
LoadBalancer,
|
|
32
|
+
ManagedAutoScaling,
|
|
33
|
+
ManagedIngressPath,
|
|
34
|
+
ManagedLogGroup,
|
|
35
|
+
ManagedMetricAlarm,
|
|
36
|
+
ManagedSecurityGroup,
|
|
33
37
|
MonitoringConfiguration,
|
|
34
38
|
NetworkBinding,
|
|
35
39
|
NetworkConfiguration,
|
|
@@ -49,6 +53,13 @@ import {
|
|
|
49
53
|
Volume,
|
|
50
54
|
VpcLatticeConfiguration,
|
|
51
55
|
} from "./models_0";
|
|
56
|
+
export interface ECSManagedResources {
|
|
57
|
+
ingressPaths?: ManagedIngressPath[] | undefined;
|
|
58
|
+
autoScaling?: ManagedAutoScaling | undefined;
|
|
59
|
+
metricAlarms?: ManagedMetricAlarm[] | undefined;
|
|
60
|
+
serviceSecurityGroups?: ManagedSecurityGroup[] | undefined;
|
|
61
|
+
logGroups?: ManagedLogGroup[] | undefined;
|
|
62
|
+
}
|
|
52
63
|
export interface RuntimePlatformOverride {
|
|
53
64
|
cpuArchitecture?: string | undefined;
|
|
54
65
|
}
|
|
@@ -122,6 +122,7 @@ export declare var DeploymentAlarms$: StaticStructureSchema;
|
|
|
122
122
|
export declare var DeploymentCircuitBreaker$: StaticStructureSchema;
|
|
123
123
|
export declare var DeploymentConfiguration$: StaticStructureSchema;
|
|
124
124
|
export declare var DeploymentController$: StaticStructureSchema;
|
|
125
|
+
export declare var DeploymentEarlySuccessCriteria$: StaticStructureSchema;
|
|
125
126
|
export declare var DeploymentEphemeralStorage$: StaticStructureSchema;
|
|
126
127
|
export declare var DeploymentLifecycleHook$: StaticStructureSchema;
|
|
127
128
|
export declare var DeploymentLifecycleHookDetail$: StaticStructureSchema;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-ecs",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1121.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",
|