@aws-sdk/client-ecs 3.1124.0 → 3.1126.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 +20 -15
- package/dist-es/schemas/schemas_0.js +19 -14
- package/dist-types/commands/CreateDaemonCommand.d.ts +1 -0
- package/dist-types/commands/DescribeDaemonCommand.d.ts +2 -0
- package/dist-types/commands/DescribeDaemonDeploymentsCommand.d.ts +4 -0
- package/dist-types/commands/DescribeDaemonRevisionsCommand.d.ts +1 -0
- package/dist-types/commands/UpdateDaemonCommand.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +35 -0
- package/dist-types/ts3.4/models/models_0.d.ts +7 -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.1125.0";
|
|
73
73
|
var packageInfo = {
|
|
74
74
|
version: version};
|
|
75
75
|
|
|
@@ -1179,6 +1179,7 @@ const _cont = "container";
|
|
|
1179
1179
|
const _conta = "containers";
|
|
1180
1180
|
const _cou = "count";
|
|
1181
1181
|
const _cp = "cpu";
|
|
1182
|
+
const _cr = "critical";
|
|
1182
1183
|
const _d = "details";
|
|
1183
1184
|
const _dA = "daemonArn";
|
|
1184
1185
|
const _dAe = "deploymentArn";
|
|
@@ -1606,6 +1607,8 @@ const _tT = "targetType";
|
|
|
1606
1607
|
const _tTR = "testTrafficRules";
|
|
1607
1608
|
const _tV = "targetValue";
|
|
1608
1609
|
const _tVo = "tokenValue";
|
|
1610
|
+
const _tWDC = "totalWithoutDaemonCount";
|
|
1611
|
+
const _tWDIC = "totalWithoutDaemonInstanceCount";
|
|
1609
1612
|
const _ta = "tags";
|
|
1610
1613
|
const _tas = "tasks";
|
|
1611
1614
|
const _task = "task";
|
|
@@ -1635,6 +1638,8 @@ const _ve = "version";
|
|
|
1635
1638
|
const _vo = "volumes";
|
|
1636
1639
|
const _w = "weight";
|
|
1637
1640
|
const _wD = "workingDirectory";
|
|
1641
|
+
const _wDC = "withoutDaemonCount";
|
|
1642
|
+
const _wDIC = "withoutDaemonInstanceCount";
|
|
1638
1643
|
const _xN = "xmlName";
|
|
1639
1644
|
const n0 = "com.amazonaws.ecs";
|
|
1640
1645
|
const _s_registry = TypeRegistry.for(_s);
|
|
@@ -2003,8 +2008,8 @@ var CreateClusterResponse$ = [3, n0, _CCRr,
|
|
|
2003
2008
|
];
|
|
2004
2009
|
var CreateDaemonRequest$ = [3, n0, _CDR,
|
|
2005
2010
|
0,
|
|
2006
|
-
[_dNa, _dTDA, _cPAa, _cA, _dC, _ta, _pTr, _eECSMT, _eEC, _cT],
|
|
2007
|
-
[0, 0, 64 | 0, 0, () => DaemonDeploymentConfiguration$, () => Tags, 0, 2, 2, 0], 3
|
|
2011
|
+
[_dNa, _dTDA, _cPAa, _cA, _dC, _ta, _pTr, _eECSMT, _eEC, _cT, _cr],
|
|
2012
|
+
[0, 0, 64 | 0, 0, () => DaemonDeploymentConfiguration$, () => Tags, 0, 2, 2, 0, 2], 3
|
|
2008
2013
|
];
|
|
2009
2014
|
var CreateDaemonResponse$ = [3, n0, _CDRr,
|
|
2010
2015
|
0,
|
|
@@ -2058,8 +2063,8 @@ var DaemonAlarmConfiguration$ = [3, n0, _DAC,
|
|
|
2058
2063
|
];
|
|
2059
2064
|
var DaemonCapacityProvider$ = [3, n0, _DCP,
|
|
2060
2065
|
0,
|
|
2061
|
-
[_ar, _rCu],
|
|
2062
|
-
[0, 1]
|
|
2066
|
+
[_ar, _rCu, _wDC],
|
|
2067
|
+
[0, 1, 1]
|
|
2063
2068
|
];
|
|
2064
2069
|
var DaemonCircuitBreaker$ = [3, n0, _DCB,
|
|
2065
2070
|
0,
|
|
@@ -2088,8 +2093,8 @@ var DaemonDeploymentAlarms$ = [3, n0, _DDA,
|
|
|
2088
2093
|
];
|
|
2089
2094
|
var DaemonDeploymentCapacityProvider$ = [3, n0, _DDCP,
|
|
2090
2095
|
0,
|
|
2091
|
-
[_ar, _rIC, _dIC],
|
|
2092
|
-
[0, 1, 1]
|
|
2096
|
+
[_ar, _rIC, _wDIC, _dIC],
|
|
2097
|
+
[0, 1, 1, 1]
|
|
2093
2098
|
];
|
|
2094
2099
|
var DaemonDeploymentConfiguration$ = [3, n0, _DDC,
|
|
2095
2100
|
0,
|
|
@@ -2098,8 +2103,8 @@ var DaemonDeploymentConfiguration$ = [3, n0, _DDC,
|
|
|
2098
2103
|
];
|
|
2099
2104
|
var DaemonDeploymentRevisionDetail$ = [3, n0, _DDRD,
|
|
2100
2105
|
0,
|
|
2101
|
-
[_ar, _cPap, _tRIC, _tDIC],
|
|
2102
|
-
[0, () => DaemonDeploymentCapacityProviderList, 1, 1]
|
|
2106
|
+
[_ar, _cPap, _tRIC, _tWDIC, _tDIC],
|
|
2107
|
+
[0, () => DaemonDeploymentCapacityProviderList, 1, 1, 1]
|
|
2103
2108
|
];
|
|
2104
2109
|
var DaemonDeploymentSummary$ = [3, n0, _DDS,
|
|
2105
2110
|
0,
|
|
@@ -2118,13 +2123,13 @@ var DaemonLinuxParameters$ = [3, n0, _DLP,
|
|
|
2118
2123
|
];
|
|
2119
2124
|
var DaemonRevision$ = [3, n0, _DR,
|
|
2120
2125
|
0,
|
|
2121
|
-
[_dRA, _cA, _dA, _dTDA, _cAr, _cI, _pTr, _eECSMT, _eEC],
|
|
2122
|
-
[0, 0, 0, 0, 4, () => DaemonContainerImages, 0, 2, 2]
|
|
2126
|
+
[_dRA, _cA, _dA, _dTDA, _cAr, _cI, _pTr, _eECSMT, _eEC, _cr],
|
|
2127
|
+
[0, 0, 0, 0, 4, () => DaemonContainerImages, 0, 2, 2, 2]
|
|
2123
2128
|
];
|
|
2124
2129
|
var DaemonRevisionDetail$ = [3, n0, _DRD,
|
|
2125
2130
|
0,
|
|
2126
|
-
[_ar, _cPap, _tRC],
|
|
2127
|
-
[0, () => DaemonCapacityProviderList, 1]
|
|
2131
|
+
[_ar, _cPap, _tRC, _tWDC],
|
|
2132
|
+
[0, () => DaemonCapacityProviderList, 1, 1]
|
|
2128
2133
|
];
|
|
2129
2134
|
var DaemonRollback$ = [3, n0, _DRa,
|
|
2130
2135
|
0,
|
|
@@ -3478,8 +3483,8 @@ var UpdateContainerInstancesStateResponse$ = [3, n0, _UCISRp,
|
|
|
3478
3483
|
];
|
|
3479
3484
|
var UpdateDaemonRequest$ = [3, n0, _UDR,
|
|
3480
3485
|
0,
|
|
3481
|
-
[_dA, _dTDA, _cPAa, _dC, _pTr, _eECSMT, _eEC],
|
|
3482
|
-
[0, 0, 64 | 0, () => DaemonDeploymentConfiguration$, 0, 2, 2], 3
|
|
3486
|
+
[_dA, _dTDA, _cPAa, _dC, _pTr, _eECSMT, _eEC, _cr],
|
|
3487
|
+
[0, 0, 64 | 0, () => DaemonDeploymentConfiguration$, 0, 2, 2, 2], 3
|
|
3483
3488
|
];
|
|
3484
3489
|
var UpdateDaemonResponse$ = [3, n0, _UDRp,
|
|
3485
3490
|
0,
|
|
@@ -676,6 +676,7 @@ const _cont = "container";
|
|
|
676
676
|
const _conta = "containers";
|
|
677
677
|
const _cou = "count";
|
|
678
678
|
const _cp = "cpu";
|
|
679
|
+
const _cr = "critical";
|
|
679
680
|
const _d = "details";
|
|
680
681
|
const _dA = "daemonArn";
|
|
681
682
|
const _dAe = "deploymentArn";
|
|
@@ -1103,6 +1104,8 @@ const _tT = "targetType";
|
|
|
1103
1104
|
const _tTR = "testTrafficRules";
|
|
1104
1105
|
const _tV = "targetValue";
|
|
1105
1106
|
const _tVo = "tokenValue";
|
|
1107
|
+
const _tWDC = "totalWithoutDaemonCount";
|
|
1108
|
+
const _tWDIC = "totalWithoutDaemonInstanceCount";
|
|
1106
1109
|
const _ta = "tags";
|
|
1107
1110
|
const _tas = "tasks";
|
|
1108
1111
|
const _task = "task";
|
|
@@ -1132,6 +1135,8 @@ const _ve = "version";
|
|
|
1132
1135
|
const _vo = "volumes";
|
|
1133
1136
|
const _w = "weight";
|
|
1134
1137
|
const _wD = "workingDirectory";
|
|
1138
|
+
const _wDC = "withoutDaemonCount";
|
|
1139
|
+
const _wDIC = "withoutDaemonInstanceCount";
|
|
1135
1140
|
const _xN = "xmlName";
|
|
1136
1141
|
const n0 = "com.amazonaws.ecs";
|
|
1137
1142
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
@@ -1503,8 +1508,8 @@ export var CreateClusterResponse$ = [3, n0, _CCRr,
|
|
|
1503
1508
|
];
|
|
1504
1509
|
export var CreateDaemonRequest$ = [3, n0, _CDR,
|
|
1505
1510
|
0,
|
|
1506
|
-
[_dNa, _dTDA, _cPAa, _cA, _dC, _ta, _pTr, _eECSMT, _eEC, _cT],
|
|
1507
|
-
[0, 0, 64 | 0, 0, () => DaemonDeploymentConfiguration$, () => Tags, 0, 2, 2, 0], 3
|
|
1511
|
+
[_dNa, _dTDA, _cPAa, _cA, _dC, _ta, _pTr, _eECSMT, _eEC, _cT, _cr],
|
|
1512
|
+
[0, 0, 64 | 0, 0, () => DaemonDeploymentConfiguration$, () => Tags, 0, 2, 2, 0, 2], 3
|
|
1508
1513
|
];
|
|
1509
1514
|
export var CreateDaemonResponse$ = [3, n0, _CDRr,
|
|
1510
1515
|
0,
|
|
@@ -1558,8 +1563,8 @@ export var DaemonAlarmConfiguration$ = [3, n0, _DAC,
|
|
|
1558
1563
|
];
|
|
1559
1564
|
export var DaemonCapacityProvider$ = [3, n0, _DCP,
|
|
1560
1565
|
0,
|
|
1561
|
-
[_ar, _rCu],
|
|
1562
|
-
[0, 1]
|
|
1566
|
+
[_ar, _rCu, _wDC],
|
|
1567
|
+
[0, 1, 1]
|
|
1563
1568
|
];
|
|
1564
1569
|
export var DaemonCircuitBreaker$ = [3, n0, _DCB,
|
|
1565
1570
|
0,
|
|
@@ -1588,8 +1593,8 @@ export var DaemonDeploymentAlarms$ = [3, n0, _DDA,
|
|
|
1588
1593
|
];
|
|
1589
1594
|
export var DaemonDeploymentCapacityProvider$ = [3, n0, _DDCP,
|
|
1590
1595
|
0,
|
|
1591
|
-
[_ar, _rIC, _dIC],
|
|
1592
|
-
[0, 1, 1]
|
|
1596
|
+
[_ar, _rIC, _wDIC, _dIC],
|
|
1597
|
+
[0, 1, 1, 1]
|
|
1593
1598
|
];
|
|
1594
1599
|
export var DaemonDeploymentConfiguration$ = [3, n0, _DDC,
|
|
1595
1600
|
0,
|
|
@@ -1598,8 +1603,8 @@ export var DaemonDeploymentConfiguration$ = [3, n0, _DDC,
|
|
|
1598
1603
|
];
|
|
1599
1604
|
export var DaemonDeploymentRevisionDetail$ = [3, n0, _DDRD,
|
|
1600
1605
|
0,
|
|
1601
|
-
[_ar, _cPap, _tRIC, _tDIC],
|
|
1602
|
-
[0, () => DaemonDeploymentCapacityProviderList, 1, 1]
|
|
1606
|
+
[_ar, _cPap, _tRIC, _tWDIC, _tDIC],
|
|
1607
|
+
[0, () => DaemonDeploymentCapacityProviderList, 1, 1, 1]
|
|
1603
1608
|
];
|
|
1604
1609
|
export var DaemonDeploymentSummary$ = [3, n0, _DDS,
|
|
1605
1610
|
0,
|
|
@@ -1618,13 +1623,13 @@ export var DaemonLinuxParameters$ = [3, n0, _DLP,
|
|
|
1618
1623
|
];
|
|
1619
1624
|
export var DaemonRevision$ = [3, n0, _DR,
|
|
1620
1625
|
0,
|
|
1621
|
-
[_dRA, _cA, _dA, _dTDA, _cAr, _cI, _pTr, _eECSMT, _eEC],
|
|
1622
|
-
[0, 0, 0, 0, 4, () => DaemonContainerImages, 0, 2, 2]
|
|
1626
|
+
[_dRA, _cA, _dA, _dTDA, _cAr, _cI, _pTr, _eECSMT, _eEC, _cr],
|
|
1627
|
+
[0, 0, 0, 0, 4, () => DaemonContainerImages, 0, 2, 2, 2]
|
|
1623
1628
|
];
|
|
1624
1629
|
export var DaemonRevisionDetail$ = [3, n0, _DRD,
|
|
1625
1630
|
0,
|
|
1626
|
-
[_ar, _cPap, _tRC],
|
|
1627
|
-
[0, () => DaemonCapacityProviderList, 1]
|
|
1631
|
+
[_ar, _cPap, _tRC, _tWDC],
|
|
1632
|
+
[0, () => DaemonCapacityProviderList, 1, 1]
|
|
1628
1633
|
];
|
|
1629
1634
|
export var DaemonRollback$ = [3, n0, _DRa,
|
|
1630
1635
|
0,
|
|
@@ -2978,8 +2983,8 @@ export var UpdateContainerInstancesStateResponse$ = [3, n0, _UCISRp,
|
|
|
2978
2983
|
];
|
|
2979
2984
|
export var UpdateDaemonRequest$ = [3, n0, _UDR,
|
|
2980
2985
|
0,
|
|
2981
|
-
[_dA, _dTDA, _cPAa, _dC, _pTr, _eECSMT, _eEC],
|
|
2982
|
-
[0, 0, 64 | 0, () => DaemonDeploymentConfiguration$, 0, 2, 2], 3
|
|
2986
|
+
[_dA, _dTDA, _cPAa, _dC, _pTr, _eECSMT, _eEC, _cr],
|
|
2987
|
+
[0, 0, 64 | 0, () => DaemonDeploymentConfiguration$, 0, 2, 2, 2], 3
|
|
2983
2988
|
];
|
|
2984
2989
|
export var UpdateDaemonResponse$ = [3, n0, _UDRp,
|
|
2985
2990
|
0,
|
|
@@ -60,6 +60,7 @@ declare const CreateDaemonCommand_base: {
|
|
|
60
60
|
* enableECSManagedTags: true || false,
|
|
61
61
|
* enableExecuteCommand: true || false,
|
|
62
62
|
* clientToken: "STRING_VALUE",
|
|
63
|
+
* critical: true || false,
|
|
63
64
|
* };
|
|
64
65
|
* const command = new CreateDaemonCommand(input);
|
|
65
66
|
* const response = await client.send(command);
|
|
@@ -50,9 +50,11 @@ declare const DescribeDaemonCommand_base: {
|
|
|
50
50
|
* // { // DaemonCapacityProvider
|
|
51
51
|
* // arn: "STRING_VALUE",
|
|
52
52
|
* // runningCount: Number("int"),
|
|
53
|
+
* // withoutDaemonCount: Number("int"),
|
|
53
54
|
* // },
|
|
54
55
|
* // ],
|
|
55
56
|
* // totalRunningCount: Number("int"),
|
|
57
|
+
* // totalWithoutDaemonCount: Number("int"),
|
|
56
58
|
* // },
|
|
57
59
|
* // ],
|
|
58
60
|
* // deploymentArn: "STRING_VALUE",
|
|
@@ -60,10 +60,12 @@ declare const DescribeDaemonDeploymentsCommand_base: {
|
|
|
60
60
|
* // { // DaemonDeploymentCapacityProvider
|
|
61
61
|
* // arn: "STRING_VALUE",
|
|
62
62
|
* // runningInstanceCount: Number("int"),
|
|
63
|
+
* // withoutDaemonInstanceCount: Number("int"),
|
|
63
64
|
* // drainingInstanceCount: Number("int"),
|
|
64
65
|
* // },
|
|
65
66
|
* // ],
|
|
66
67
|
* // totalRunningInstanceCount: Number("int"),
|
|
68
|
+
* // totalWithoutDaemonInstanceCount: Number("int"),
|
|
67
69
|
* // totalDrainingInstanceCount: Number("int"),
|
|
68
70
|
* // },
|
|
69
71
|
* // sourceDaemonRevisions: [ // DaemonDeploymentRevisionDetailList
|
|
@@ -73,10 +75,12 @@ declare const DescribeDaemonDeploymentsCommand_base: {
|
|
|
73
75
|
* // {
|
|
74
76
|
* // arn: "STRING_VALUE",
|
|
75
77
|
* // runningInstanceCount: Number("int"),
|
|
78
|
+
* // withoutDaemonInstanceCount: Number("int"),
|
|
76
79
|
* // drainingInstanceCount: Number("int"),
|
|
77
80
|
* // },
|
|
78
81
|
* // ],
|
|
79
82
|
* // totalRunningInstanceCount: Number("int"),
|
|
83
|
+
* // totalWithoutDaemonInstanceCount: Number("int"),
|
|
80
84
|
* // totalDrainingInstanceCount: Number("int"),
|
|
81
85
|
* // },
|
|
82
86
|
* // ],
|
|
@@ -58,6 +58,7 @@ declare const DescribeDaemonRevisionsCommand_base: {
|
|
|
58
58
|
* // propagateTags: "DAEMON" || "NONE",
|
|
59
59
|
* // enableECSManagedTags: true || false,
|
|
60
60
|
* // enableExecuteCommand: true || false,
|
|
61
|
+
* // critical: true || false,
|
|
61
62
|
* // },
|
|
62
63
|
* // ],
|
|
63
64
|
* // failures: [ // Failures
|
|
@@ -52,6 +52,7 @@ declare const UpdateDaemonCommand_base: {
|
|
|
52
52
|
* propagateTags: "DAEMON" || "NONE",
|
|
53
53
|
* enableECSManagedTags: true || false,
|
|
54
54
|
* enableExecuteCommand: true || false,
|
|
55
|
+
* critical: true || false,
|
|
55
56
|
* };
|
|
56
57
|
* const command = new UpdateDaemonCommand(input);
|
|
57
58
|
* const response = await client.send(command);
|
|
@@ -2562,6 +2562,11 @@ export interface DaemonDeploymentCapacityProvider {
|
|
|
2562
2562
|
* @public
|
|
2563
2563
|
*/
|
|
2564
2564
|
runningInstanceCount?: number | undefined;
|
|
2565
|
+
/**
|
|
2566
|
+
* <p>The number of instances on this capacity provider that are running without the daemon task. This applies to daemons that aren't critical, where the instance remains available for your other tasks even if the daemon task can't start or stops. These instances aren't included in <code>runningInstanceCount</code>.</p>
|
|
2567
|
+
* @public
|
|
2568
|
+
*/
|
|
2569
|
+
withoutDaemonInstanceCount?: number | undefined;
|
|
2565
2570
|
/**
|
|
2566
2571
|
* <p>The number of instances being drained on this capacity provider during the deployment.</p>
|
|
2567
2572
|
* @public
|
|
@@ -2588,6 +2593,11 @@ export interface DaemonDeploymentRevisionDetail {
|
|
|
2588
2593
|
* @public
|
|
2589
2594
|
*/
|
|
2590
2595
|
totalRunningInstanceCount?: number | undefined;
|
|
2596
|
+
/**
|
|
2597
|
+
* <p>The total number of instances running without the daemon task for this revision, across all capacity providers. These instances aren't included in <code>totalRunningInstanceCount</code>.</p>
|
|
2598
|
+
* @public
|
|
2599
|
+
*/
|
|
2600
|
+
totalWithoutDaemonInstanceCount?: number | undefined;
|
|
2591
2601
|
/**
|
|
2592
2602
|
* <p>The total number of instances being drained for this revision during the deployment.</p>
|
|
2593
2603
|
* @public
|
|
@@ -2739,6 +2749,11 @@ export interface CreateDaemonRequest {
|
|
|
2739
2749
|
* @public
|
|
2740
2750
|
*/
|
|
2741
2751
|
clientToken?: string | undefined;
|
|
2752
|
+
/**
|
|
2753
|
+
* <p>If the <code>critical</code> parameter of a daemon is <code>true</code>, and the daemon task fails, stops, or becomes unhealthy, Amazon ECS drains the container instance and stops the other tasks running on it. If the <code>critical</code> parameter is <code>false</code>, the daemon task failure doesn't affect the other tasks on the instance. The default value is <code>true</code>.</p> <p>A non-critical daemon doesn't block instance registration. The container instance becomes active and continues to run your other tasks, whether the daemon task fails during scale-out or during a deployment.</p> <p>Amazon ECS emits an EventBridge event when a daemon task fails to start, for both critical and non-critical daemons.</p> <p>Daemon task launch failures during a deployment are still counted by the deployment circuit breaker. The circuit breaker can roll back an unstable target revision.</p>
|
|
2754
|
+
* @public
|
|
2755
|
+
*/
|
|
2756
|
+
critical?: boolean | undefined;
|
|
2742
2757
|
}
|
|
2743
2758
|
/**
|
|
2744
2759
|
* @public
|
|
@@ -2830,6 +2845,11 @@ export interface DaemonCapacityProvider {
|
|
|
2830
2845
|
* @public
|
|
2831
2846
|
*/
|
|
2832
2847
|
runningCount?: number | undefined;
|
|
2848
|
+
/**
|
|
2849
|
+
* <p>The number of instances on this capacity provider that are running without the daemon task. This applies to daemons that aren't critical, where the instance remains available for your other tasks even if the daemon task can't start or stops. These instances aren't included in <code>runningCount</code>.</p>
|
|
2850
|
+
* @public
|
|
2851
|
+
*/
|
|
2852
|
+
withoutDaemonCount?: number | undefined;
|
|
2833
2853
|
}
|
|
2834
2854
|
/**
|
|
2835
2855
|
* <p>Details about a daemon revision, including the running task counts per capacity provider.</p>
|
|
@@ -2851,6 +2871,11 @@ export interface DaemonRevisionDetail {
|
|
|
2851
2871
|
* @public
|
|
2852
2872
|
*/
|
|
2853
2873
|
totalRunningCount?: number | undefined;
|
|
2874
|
+
/**
|
|
2875
|
+
* <p>The total number of instances running without the daemon task for this revision, across all capacity providers. These instances aren't included in <code>totalRunningCount</code>.</p>
|
|
2876
|
+
* @public
|
|
2877
|
+
*/
|
|
2878
|
+
totalWithoutDaemonCount?: number | undefined;
|
|
2854
2879
|
}
|
|
2855
2880
|
/**
|
|
2856
2881
|
* <p>The detailed information about a daemon.</p>
|
|
@@ -3125,6 +3150,11 @@ export interface UpdateDaemonRequest {
|
|
|
3125
3150
|
* @public
|
|
3126
3151
|
*/
|
|
3127
3152
|
enableExecuteCommand?: boolean | undefined;
|
|
3153
|
+
/**
|
|
3154
|
+
* <p>If the <code>critical</code> parameter of a daemon is <code>true</code>, and the daemon task fails, stops, or becomes unhealthy, Amazon ECS drains the container instance and stops the other tasks running on it. If the <code>critical</code> parameter is <code>false</code>, the daemon task failure doesn't affect the other tasks on the instance. The default value is <code>true</code>.</p> <p>A non-critical daemon doesn't block instance registration. The container instance becomes active and continues to run your other tasks, whether the daemon task fails during scale-out or during a deployment.</p> <p>Amazon ECS emits an EventBridge event when a daemon task fails to start, for both critical and non-critical daemons.</p> <p>Daemon task launch failures during a deployment are still counted by the deployment circuit breaker. The circuit breaker can roll back an unstable target revision.</p>
|
|
3155
|
+
* @public
|
|
3156
|
+
*/
|
|
3157
|
+
critical?: boolean | undefined;
|
|
3128
3158
|
}
|
|
3129
3159
|
/**
|
|
3130
3160
|
* @public
|
|
@@ -3237,6 +3267,11 @@ export interface DaemonRevision {
|
|
|
3237
3267
|
* @public
|
|
3238
3268
|
*/
|
|
3239
3269
|
enableExecuteCommand?: boolean | undefined;
|
|
3270
|
+
/**
|
|
3271
|
+
* <p>If the <code>critical</code> parameter of this daemon revision is <code>true</code>, and the daemon task fails, stops, or becomes unhealthy, Amazon ECS drains the container instance and stops the other tasks running on it. If the parameter is <code>false</code>, the daemon task failure doesn't affect the other tasks on the instance, and doesn't block instance registration. The default value is <code>true</code>.</p>
|
|
3272
|
+
* @public
|
|
3273
|
+
*/
|
|
3274
|
+
critical?: boolean | undefined;
|
|
3240
3275
|
}
|
|
3241
3276
|
/**
|
|
3242
3277
|
* @public
|
|
@@ -707,12 +707,14 @@ export interface DaemonRollback {
|
|
|
707
707
|
export interface DaemonDeploymentCapacityProvider {
|
|
708
708
|
arn?: string | undefined;
|
|
709
709
|
runningInstanceCount?: number | undefined;
|
|
710
|
+
withoutDaemonInstanceCount?: number | undefined;
|
|
710
711
|
drainingInstanceCount?: number | undefined;
|
|
711
712
|
}
|
|
712
713
|
export interface DaemonDeploymentRevisionDetail {
|
|
713
714
|
arn?: string | undefined;
|
|
714
715
|
capacityProviders?: DaemonDeploymentCapacityProvider[] | undefined;
|
|
715
716
|
totalRunningInstanceCount?: number | undefined;
|
|
717
|
+
totalWithoutDaemonInstanceCount?: number | undefined;
|
|
716
718
|
totalDrainingInstanceCount?: number | undefined;
|
|
717
719
|
}
|
|
718
720
|
export interface DaemonDeployment {
|
|
@@ -746,6 +748,7 @@ export interface CreateDaemonRequest {
|
|
|
746
748
|
enableECSManagedTags?: boolean | undefined;
|
|
747
749
|
enableExecuteCommand?: boolean | undefined;
|
|
748
750
|
clientToken?: string | undefined;
|
|
751
|
+
critical?: boolean | undefined;
|
|
749
752
|
}
|
|
750
753
|
export interface CreateDaemonResponse {
|
|
751
754
|
daemonArn?: string | undefined;
|
|
@@ -769,11 +772,13 @@ export interface DescribeDaemonRequest {
|
|
|
769
772
|
export interface DaemonCapacityProvider {
|
|
770
773
|
arn?: string | undefined;
|
|
771
774
|
runningCount?: number | undefined;
|
|
775
|
+
withoutDaemonCount?: number | undefined;
|
|
772
776
|
}
|
|
773
777
|
export interface DaemonRevisionDetail {
|
|
774
778
|
arn?: string | undefined;
|
|
775
779
|
capacityProviders?: DaemonCapacityProvider[] | undefined;
|
|
776
780
|
totalRunningCount?: number | undefined;
|
|
781
|
+
totalWithoutDaemonCount?: number | undefined;
|
|
777
782
|
}
|
|
778
783
|
export interface DaemonDetail {
|
|
779
784
|
daemonArn?: string | undefined;
|
|
@@ -838,6 +843,7 @@ export interface UpdateDaemonRequest {
|
|
|
838
843
|
propagateTags?: DaemonPropagateTags | undefined;
|
|
839
844
|
enableECSManagedTags?: boolean | undefined;
|
|
840
845
|
enableExecuteCommand?: boolean | undefined;
|
|
846
|
+
critical?: boolean | undefined;
|
|
841
847
|
}
|
|
842
848
|
export interface UpdateDaemonResponse {
|
|
843
849
|
daemonArn?: string | undefined;
|
|
@@ -864,6 +870,7 @@ export interface DaemonRevision {
|
|
|
864
870
|
propagateTags?: DaemonPropagateTags | undefined;
|
|
865
871
|
enableECSManagedTags?: boolean | undefined;
|
|
866
872
|
enableExecuteCommand?: boolean | undefined;
|
|
873
|
+
critical?: boolean | undefined;
|
|
867
874
|
}
|
|
868
875
|
export interface DescribeDaemonRevisionsResponse {
|
|
869
876
|
daemonRevisions?: DaemonRevision[] | undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-ecs",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1126.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",
|