@aws-sdk/client-ecs 3.1069.0 → 3.1071.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/schemas/schemas_0.js +11 -11
- package/dist-es/schemas/schemas_0.js +11 -11
- package/dist-types/commands/ContinueServiceDeploymentCommand.d.ts +4 -4
- package/dist-types/commands/CreateExpressGatewayServiceCommand.d.ts +3 -1
- package/dist-types/commands/DeleteExpressGatewayServiceCommand.d.ts +1 -0
- package/dist-types/commands/DescribeExpressGatewayServiceCommand.d.ts +1 -0
- package/dist-types/commands/DescribeServiceDeploymentsCommand.d.ts +1 -1
- package/dist-types/commands/StopServiceDeploymentCommand.d.ts +1 -1
- package/dist-types/commands/UpdateExpressGatewayServiceCommand.d.ts +2 -0
- package/dist-types/models/errors.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +31 -16
- package/dist-types/ts3.4/models/models_0.d.ts +5 -2
- package/package.json +3 -3
|
@@ -1057,8 +1057,8 @@ const _tC = "timeoutConfiguration";
|
|
|
1057
1057
|
const _tCa = "targetCapacity";
|
|
1058
1058
|
const _tCar = "targetConfiguration";
|
|
1059
1059
|
const _tD = "taskDefinition";
|
|
1060
|
-
const _tDA = "
|
|
1061
|
-
const _tDAa = "
|
|
1060
|
+
const _tDA = "taskDefinitionArn";
|
|
1061
|
+
const _tDAa = "taskDefinitionArns";
|
|
1062
1062
|
const _tDIC = "totalDrainingInstanceCount";
|
|
1063
1063
|
const _tDR = "targetDaemonRevision";
|
|
1064
1064
|
const _tDRA = "targetDaemonRevisionArn";
|
|
@@ -1572,8 +1572,8 @@ const CreatedAt$ = [3, n0, _CA,
|
|
|
1572
1572
|
exports.CreatedAt$ = CreatedAt$;
|
|
1573
1573
|
const CreateExpressGatewayServiceRequest$ = [3, n0, _CEGSR,
|
|
1574
1574
|
0,
|
|
1575
|
-
[
|
|
1576
|
-
[0, 0, [() => ExpressGatewayContainer$, 0], 0,
|
|
1575
|
+
[_iRA, _eRA, _sN, _cl, _hCP, _pC, _tRA, _nC, _cp, _me, _sTc, _ta, _tDA],
|
|
1576
|
+
[0, 0, 0, 0, 0, [() => ExpressGatewayContainer$, 0], 0, () => ExpressGatewayServiceNetworkConfiguration$, 0, 0, () => ExpressGatewayScalingTarget$, () => Tags, 0], 1
|
|
1577
1577
|
];
|
|
1578
1578
|
exports.CreateExpressGatewayServiceRequest$ = CreateExpressGatewayServiceRequest$;
|
|
1579
1579
|
const CreateExpressGatewayServiceResponse$ = [3, n0, _CEGSRr,
|
|
@@ -2214,8 +2214,8 @@ const ExpressGatewayServiceAwsLogsConfiguration$ = [3, n0, _EGSALC,
|
|
|
2214
2214
|
exports.ExpressGatewayServiceAwsLogsConfiguration$ = ExpressGatewayServiceAwsLogsConfiguration$;
|
|
2215
2215
|
const ExpressGatewayServiceConfiguration$ = [3, n0, _EGSC,
|
|
2216
2216
|
0,
|
|
2217
|
-
[_sRAe, _eRA, _tRA, _cp, _me, _nC, _hCP, _pC, _sTc, _iP, _cAr],
|
|
2218
|
-
[0, 0, 0, 0, 0, () => ExpressGatewayServiceNetworkConfiguration$, 0, [() => ExpressGatewayContainer$, 0], () => ExpressGatewayScalingTarget$, () => IngressPathSummaries, 4]
|
|
2217
|
+
[_sRAe, _eRA, _tRA, _tDA, _cp, _me, _nC, _hCP, _pC, _sTc, _iP, _cAr],
|
|
2218
|
+
[0, 0, 0, 0, 0, 0, () => ExpressGatewayServiceNetworkConfiguration$, 0, [() => ExpressGatewayContainer$, 0], () => ExpressGatewayScalingTarget$, () => IngressPathSummaries, 4]
|
|
2219
2219
|
];
|
|
2220
2220
|
exports.ExpressGatewayServiceConfiguration$ = ExpressGatewayServiceConfiguration$;
|
|
2221
2221
|
const ExpressGatewayServiceNetworkConfiguration$ = [3, n0, _EGSNC,
|
|
@@ -2508,7 +2508,7 @@ const ListTaskDefinitionsRequest$ = [3, n0, _LTDR,
|
|
|
2508
2508
|
exports.ListTaskDefinitionsRequest$ = ListTaskDefinitionsRequest$;
|
|
2509
2509
|
const ListTaskDefinitionsResponse$ = [3, n0, _LTDRi,
|
|
2510
2510
|
0,
|
|
2511
|
-
[
|
|
2511
|
+
[_tDAa, _nT],
|
|
2512
2512
|
[64 | 0, 0]
|
|
2513
2513
|
];
|
|
2514
2514
|
exports.ListTaskDefinitionsResponse$ = ListTaskDefinitionsResponse$;
|
|
@@ -3138,13 +3138,13 @@ const TagResourceResponse$ = [3, n0, _TRRa,
|
|
|
3138
3138
|
exports.TagResourceResponse$ = TagResourceResponse$;
|
|
3139
3139
|
const Task$ = [3, n0, _Ta,
|
|
3140
3140
|
0,
|
|
3141
|
-
[_a, _at, _aZ, _cPN, _cA, _conn, _cAon, _cIA, _conta, _cp, _cAr, _dSe, _eEC, _eSA, _g, _hS, _iAn, _lS, _lT, _me, _ov, _pV, _pF, _pSA, _pSAu, _sA, _sB, _sCtop, _sAt, _sRt, _sAto, _ta, _tA,
|
|
3141
|
+
[_a, _at, _aZ, _cPN, _cA, _conn, _cAon, _cIA, _conta, _cp, _cAr, _dSe, _eEC, _eSA, _g, _hS, _iAn, _lS, _lT, _me, _ov, _pV, _pF, _pSA, _pSAu, _sA, _sB, _sCtop, _sAt, _sRt, _sAto, _ta, _tA, _tDA, _ve, _eSp, _fES],
|
|
3142
3142
|
[() => Attachments, () => Attributes, 0, 0, 0, 0, 4, 0, () => Containers, 0, 4, 0, 2, 4, 0, 0, () => InferenceAccelerators, 0, 0, 0, [() => TaskOverride$, 0], 0, 0, 4, 4, 4, 0, 0, 4, 0, 4, () => Tags, 0, 0, 1, () => EphemeralStorage$, () => TaskEphemeralStorage$]
|
|
3143
3143
|
];
|
|
3144
3144
|
exports.Task$ = Task$;
|
|
3145
3145
|
const TaskDefinition$ = [3, n0, _TD,
|
|
3146
3146
|
0,
|
|
3147
|
-
[
|
|
3147
|
+
[_tDA, _cD, _f, _tRA, _eRA, _nM, _re, _vo, _st, _rAeq, _pCl, _comp, _rPu, _rCe, _cp, _me, _iAn, _pMi, _iM, _pCr, _rAe, _dAer, _dRAe, _rB, _eSp, _eFI],
|
|
3148
3148
|
[0, [() => ContainerDefinitions, 0], 0, 0, 0, 0, 1, () => VolumeList, 0, () => RequiresAttributes, () => TaskDefinitionPlacementConstraints, 64 | 0, () => RuntimePlatform$, 64 | 0, 0, 0, () => InferenceAccelerators, 0, 0, () => ProxyConfiguration$, 4, 4, 4, 0, () => EphemeralStorage$, 2]
|
|
3149
3149
|
];
|
|
3150
3150
|
exports.TaskDefinition$ = TaskDefinition$;
|
|
@@ -3306,8 +3306,8 @@ const UpdatedExpressGatewayService$ = [3, n0, _UEGS,
|
|
|
3306
3306
|
exports.UpdatedExpressGatewayService$ = UpdatedExpressGatewayService$;
|
|
3307
3307
|
const UpdateExpressGatewayServiceRequest$ = [3, n0, _UEGSR,
|
|
3308
3308
|
0,
|
|
3309
|
-
[_sAe, _eRA, _hCP, _pC, _tRA, _nC, _cp, _me, _sTc],
|
|
3310
|
-
[0, 0, 0, [() => ExpressGatewayContainer$, 0], 0, () => ExpressGatewayServiceNetworkConfiguration$, 0, 0, () => ExpressGatewayScalingTarget
|
|
3309
|
+
[_sAe, _eRA, _hCP, _pC, _tRA, _nC, _cp, _me, _sTc, _tDA],
|
|
3310
|
+
[0, 0, 0, [() => ExpressGatewayContainer$, 0], 0, () => ExpressGatewayServiceNetworkConfiguration$, 0, 0, () => ExpressGatewayScalingTarget$, 0], 1
|
|
3311
3311
|
];
|
|
3312
3312
|
exports.UpdateExpressGatewayServiceRequest$ = UpdateExpressGatewayServiceRequest$;
|
|
3313
3313
|
const UpdateExpressGatewayServiceResponse$ = [3, n0, _UEGSRp,
|
|
@@ -1057,8 +1057,8 @@ const _tC = "timeoutConfiguration";
|
|
|
1057
1057
|
const _tCa = "targetCapacity";
|
|
1058
1058
|
const _tCar = "targetConfiguration";
|
|
1059
1059
|
const _tD = "taskDefinition";
|
|
1060
|
-
const _tDA = "
|
|
1061
|
-
const _tDAa = "
|
|
1060
|
+
const _tDA = "taskDefinitionArn";
|
|
1061
|
+
const _tDAa = "taskDefinitionArns";
|
|
1062
1062
|
const _tDIC = "totalDrainingInstanceCount";
|
|
1063
1063
|
const _tDR = "targetDaemonRevision";
|
|
1064
1064
|
const _tDRA = "targetDaemonRevisionArn";
|
|
@@ -1503,8 +1503,8 @@ export var CreatedAt$ = [3, n0, _CA,
|
|
|
1503
1503
|
];
|
|
1504
1504
|
export var CreateExpressGatewayServiceRequest$ = [3, n0, _CEGSR,
|
|
1505
1505
|
0,
|
|
1506
|
-
[
|
|
1507
|
-
[0, 0, [() => ExpressGatewayContainer$, 0], 0,
|
|
1506
|
+
[_iRA, _eRA, _sN, _cl, _hCP, _pC, _tRA, _nC, _cp, _me, _sTc, _ta, _tDA],
|
|
1507
|
+
[0, 0, 0, 0, 0, [() => ExpressGatewayContainer$, 0], 0, () => ExpressGatewayServiceNetworkConfiguration$, 0, 0, () => ExpressGatewayScalingTarget$, () => Tags, 0], 1
|
|
1508
1508
|
];
|
|
1509
1509
|
export var CreateExpressGatewayServiceResponse$ = [3, n0, _CEGSRr,
|
|
1510
1510
|
0,
|
|
@@ -2038,8 +2038,8 @@ export var ExpressGatewayServiceAwsLogsConfiguration$ = [3, n0, _EGSALC,
|
|
|
2038
2038
|
];
|
|
2039
2039
|
export var ExpressGatewayServiceConfiguration$ = [3, n0, _EGSC,
|
|
2040
2040
|
0,
|
|
2041
|
-
[_sRAe, _eRA, _tRA, _cp, _me, _nC, _hCP, _pC, _sTc, _iP, _cAr],
|
|
2042
|
-
[0, 0, 0, 0, 0, () => ExpressGatewayServiceNetworkConfiguration$, 0, [() => ExpressGatewayContainer$, 0], () => ExpressGatewayScalingTarget$, () => IngressPathSummaries, 4]
|
|
2041
|
+
[_sRAe, _eRA, _tRA, _tDA, _cp, _me, _nC, _hCP, _pC, _sTc, _iP, _cAr],
|
|
2042
|
+
[0, 0, 0, 0, 0, 0, () => ExpressGatewayServiceNetworkConfiguration$, 0, [() => ExpressGatewayContainer$, 0], () => ExpressGatewayScalingTarget$, () => IngressPathSummaries, 4]
|
|
2043
2043
|
];
|
|
2044
2044
|
export var ExpressGatewayServiceNetworkConfiguration$ = [3, n0, _EGSNC,
|
|
2045
2045
|
0,
|
|
@@ -2283,7 +2283,7 @@ export var ListTaskDefinitionsRequest$ = [3, n0, _LTDR,
|
|
|
2283
2283
|
];
|
|
2284
2284
|
export var ListTaskDefinitionsResponse$ = [3, n0, _LTDRi,
|
|
2285
2285
|
0,
|
|
2286
|
-
[
|
|
2286
|
+
[_tDAa, _nT],
|
|
2287
2287
|
[64 | 0, 0]
|
|
2288
2288
|
];
|
|
2289
2289
|
export var ListTasksRequest$ = [3, n0, _LTR,
|
|
@@ -2808,12 +2808,12 @@ export var TagResourceResponse$ = [3, n0, _TRRa,
|
|
|
2808
2808
|
];
|
|
2809
2809
|
export var Task$ = [3, n0, _Ta,
|
|
2810
2810
|
0,
|
|
2811
|
-
[_a, _at, _aZ, _cPN, _cA, _conn, _cAon, _cIA, _conta, _cp, _cAr, _dSe, _eEC, _eSA, _g, _hS, _iAn, _lS, _lT, _me, _ov, _pV, _pF, _pSA, _pSAu, _sA, _sB, _sCtop, _sAt, _sRt, _sAto, _ta, _tA,
|
|
2811
|
+
[_a, _at, _aZ, _cPN, _cA, _conn, _cAon, _cIA, _conta, _cp, _cAr, _dSe, _eEC, _eSA, _g, _hS, _iAn, _lS, _lT, _me, _ov, _pV, _pF, _pSA, _pSAu, _sA, _sB, _sCtop, _sAt, _sRt, _sAto, _ta, _tA, _tDA, _ve, _eSp, _fES],
|
|
2812
2812
|
[() => Attachments, () => Attributes, 0, 0, 0, 0, 4, 0, () => Containers, 0, 4, 0, 2, 4, 0, 0, () => InferenceAccelerators, 0, 0, 0, [() => TaskOverride$, 0], 0, 0, 4, 4, 4, 0, 0, 4, 0, 4, () => Tags, 0, 0, 1, () => EphemeralStorage$, () => TaskEphemeralStorage$]
|
|
2813
2813
|
];
|
|
2814
2814
|
export var TaskDefinition$ = [3, n0, _TD,
|
|
2815
2815
|
0,
|
|
2816
|
-
[
|
|
2816
|
+
[_tDA, _cD, _f, _tRA, _eRA, _nM, _re, _vo, _st, _rAeq, _pCl, _comp, _rPu, _rCe, _cp, _me, _iAn, _pMi, _iM, _pCr, _rAe, _dAer, _dRAe, _rB, _eSp, _eFI],
|
|
2817
2817
|
[0, [() => ContainerDefinitions, 0], 0, 0, 0, 0, 1, () => VolumeList, 0, () => RequiresAttributes, () => TaskDefinitionPlacementConstraints, 64 | 0, () => RuntimePlatform$, 64 | 0, 0, 0, () => InferenceAccelerators, 0, 0, () => ProxyConfiguration$, 4, 4, 4, 0, () => EphemeralStorage$, 2]
|
|
2818
2818
|
];
|
|
2819
2819
|
export var TaskDefinitionPlacementConstraint$ = [3, n0, _TDPC,
|
|
@@ -2948,8 +2948,8 @@ export var UpdatedExpressGatewayService$ = [3, n0, _UEGS,
|
|
|
2948
2948
|
];
|
|
2949
2949
|
export var UpdateExpressGatewayServiceRequest$ = [3, n0, _UEGSR,
|
|
2950
2950
|
0,
|
|
2951
|
-
[_sAe, _eRA, _hCP, _pC, _tRA, _nC, _cp, _me, _sTc],
|
|
2952
|
-
[0, 0, 0, [() => ExpressGatewayContainer$, 0], 0, () => ExpressGatewayServiceNetworkConfiguration$, 0, 0, () => ExpressGatewayScalingTarget
|
|
2951
|
+
[_sAe, _eRA, _hCP, _pC, _tRA, _nC, _cp, _me, _sTc, _tDA],
|
|
2952
|
+
[0, 0, 0, [() => ExpressGatewayContainer$, 0], 0, () => ExpressGatewayServiceNetworkConfiguration$, 0, 0, () => ExpressGatewayScalingTarget$, 0], 1
|
|
2953
2953
|
];
|
|
2954
2954
|
export var UpdateExpressGatewayServiceResponse$ = [3, n0, _UEGSRp,
|
|
2955
2955
|
0,
|
|
@@ -29,7 +29,7 @@ declare const ContinueServiceDeploymentCommand_base: {
|
|
|
29
29
|
};
|
|
30
30
|
};
|
|
31
31
|
/**
|
|
32
|
-
* <p>Continues or rolls back an Amazon ECS service deployment that is paused at a lifecycle hook.</p> <p>When a service deployment reaches a lifecycle stage that has a <code>PAUSE</code> hook configured, the deployment pauses and waits for an explicit action. Use this API to either continue the deployment to the next stage or roll back to the previous service revision.</p> <p>To find the <code>hookId</code> of the paused hook, call <a href="https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_DescribeServiceDeployments.html">DescribeServiceDeployments</a> and inspect the <code>lifecycleHookDetails</code> field.</p>
|
|
32
|
+
* <p>Continues or rolls back an Amazon ECS service deployment that is paused at a lifecycle hook.</p> <p>When a service deployment reaches a lifecycle stage that has a <code>PAUSE</code> hook configured, the deployment pauses and waits for an explicit action. Use this API to either continue the deployment to the next stage or roll back to the previous service revision.</p> <p>To find the <code>hookId</code> of the paused hook, call <a href="https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_DescribeServiceDeployments.html">DescribeServiceDeployments</a> and inspect the <code>lifecycleHookDetails</code> field.</p> <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/continue-service-deployment.html">Continuing Amazon ECS service deployments</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
|
|
33
33
|
* @example
|
|
34
34
|
* Use a bare-bones client and the command you need to make an API call.
|
|
35
35
|
* ```javascript
|
|
@@ -70,7 +70,7 @@ declare const ContinueServiceDeploymentCommand_base: {
|
|
|
70
70
|
* <p>These errors are usually caused by a server issue.</p>
|
|
71
71
|
*
|
|
72
72
|
* @throws {@link ServiceDeploymentNotFoundException} (client fault)
|
|
73
|
-
* <p>The service deploy ARN that you specified in the <code>
|
|
73
|
+
* <p>The service deploy ARN that you specified in the <code>ContinueServiceDeployment</code> doesn't exist. You can use <code>ListServiceDeployments</code> to retrieve the service deployment ARNs.</p>
|
|
74
74
|
*
|
|
75
75
|
* @throws {@link UnsupportedFeatureException} (client fault)
|
|
76
76
|
* <p>The specified task isn't supported in this Region.</p>
|
|
@@ -84,7 +84,7 @@ declare const ContinueServiceDeploymentCommand_base: {
|
|
|
84
84
|
* // This example continues a service deployment that is paused at a lifecycle hook, using the CONTINUE action to proceed to the next deployment stage.
|
|
85
85
|
* const input = {
|
|
86
86
|
* action: "CONTINUE",
|
|
87
|
-
* hookId: "
|
|
87
|
+
* hookId: "ecs-pause-Xk7rT2mP9sLwQn4vB8fYd3hJ6gA1cE5iO0uR_ZpWq",
|
|
88
88
|
* serviceDeploymentArn: "arn:aws:ecs:us-east-1:123456789012:service-deployment/MyCluster/MyService/r9i43YFjvgF_xlg7m2eJ1r"
|
|
89
89
|
* };
|
|
90
90
|
* const command = new ContinueServiceDeploymentCommand(input);
|
|
@@ -101,7 +101,7 @@ declare const ContinueServiceDeploymentCommand_base: {
|
|
|
101
101
|
* // This example rolls back a service deployment that is paused at a lifecycle hook, using the ROLLBACK action to revert to the previous service revision.
|
|
102
102
|
* const input = {
|
|
103
103
|
* action: "ROLLBACK",
|
|
104
|
-
* hookId: "
|
|
104
|
+
* hookId: "ecs-pause-Xk7rT2mP9sLwQn4vB8fYd3hJ6gA1cE5iO0uR_ZpWq",
|
|
105
105
|
* serviceDeploymentArn: "arn:aws:ecs:us-east-1:123456789012:service-deployment/MyCluster/MyService/r9i43YFjvgF_xlg7m2eJ1r"
|
|
106
106
|
* };
|
|
107
107
|
* const command = new ContinueServiceDeploymentCommand(input);
|
|
@@ -39,7 +39,7 @@ declare const CreateExpressGatewayServiceCommand_base: {
|
|
|
39
39
|
* const config = {}; // type is ECSClientConfig
|
|
40
40
|
* const client = new ECSClient(config);
|
|
41
41
|
* const input = { // CreateExpressGatewayServiceRequest
|
|
42
|
-
* executionRoleArn: "STRING_VALUE",
|
|
42
|
+
* executionRoleArn: "STRING_VALUE",
|
|
43
43
|
* infrastructureRoleArn: "STRING_VALUE", // required
|
|
44
44
|
* serviceName: "STRING_VALUE",
|
|
45
45
|
* cluster: "STRING_VALUE",
|
|
@@ -93,6 +93,7 @@ declare const CreateExpressGatewayServiceCommand_base: {
|
|
|
93
93
|
* value: "STRING_VALUE",
|
|
94
94
|
* },
|
|
95
95
|
* ],
|
|
96
|
+
* taskDefinitionArn: "STRING_VALUE",
|
|
96
97
|
* };
|
|
97
98
|
* const command = new CreateExpressGatewayServiceCommand(input);
|
|
98
99
|
* const response = await client.send(command);
|
|
@@ -112,6 +113,7 @@ declare const CreateExpressGatewayServiceCommand_base: {
|
|
|
112
113
|
* // serviceRevisionArn: "STRING_VALUE",
|
|
113
114
|
* // executionRoleArn: "STRING_VALUE",
|
|
114
115
|
* // taskRoleArn: "STRING_VALUE",
|
|
116
|
+
* // taskDefinitionArn: "STRING_VALUE",
|
|
115
117
|
* // cpu: "STRING_VALUE",
|
|
116
118
|
* // memory: "STRING_VALUE",
|
|
117
119
|
* // networkConfiguration: { // ExpressGatewayServiceNetworkConfiguration
|
|
@@ -59,6 +59,7 @@ declare const DeleteExpressGatewayServiceCommand_base: {
|
|
|
59
59
|
* // serviceRevisionArn: "STRING_VALUE",
|
|
60
60
|
* // executionRoleArn: "STRING_VALUE",
|
|
61
61
|
* // taskRoleArn: "STRING_VALUE",
|
|
62
|
+
* // taskDefinitionArn: "STRING_VALUE",
|
|
62
63
|
* // cpu: "STRING_VALUE",
|
|
63
64
|
* // memory: "STRING_VALUE",
|
|
64
65
|
* // networkConfiguration: { // ExpressGatewayServiceNetworkConfiguration
|
|
@@ -62,6 +62,7 @@ declare const DescribeExpressGatewayServiceCommand_base: {
|
|
|
62
62
|
* // serviceRevisionArn: "STRING_VALUE",
|
|
63
63
|
* // executionRoleArn: "STRING_VALUE",
|
|
64
64
|
* // taskRoleArn: "STRING_VALUE",
|
|
65
|
+
* // taskDefinitionArn: "STRING_VALUE",
|
|
65
66
|
* // cpu: "STRING_VALUE",
|
|
66
67
|
* // memory: "STRING_VALUE",
|
|
67
68
|
* // networkConfiguration: { // ExpressGatewayServiceNetworkConfiguration
|
|
@@ -270,7 +270,7 @@ declare const DescribeServiceDeploymentsCommand_base: {
|
|
|
270
270
|
* lifecycleHookDetails: [
|
|
271
271
|
* {
|
|
272
272
|
* expiresAt: "2026-05-06T17:00:00.000Z",
|
|
273
|
-
* hookId: "
|
|
273
|
+
* hookId: "ecs-pause-Xk7rT2mP9sLwQn4vB8fYd3hJ6gA1cE5iO0uR_ZpWq",
|
|
274
274
|
* status: "AWAITING_ACTION",
|
|
275
275
|
* targetType: "PAUSE",
|
|
276
276
|
* timeoutAction: "ROLLBACK"
|
|
@@ -72,7 +72,7 @@ declare const StopServiceDeploymentCommand_base: {
|
|
|
72
72
|
* <p>These errors are usually caused by a server issue.</p>
|
|
73
73
|
*
|
|
74
74
|
* @throws {@link ServiceDeploymentNotFoundException} (client fault)
|
|
75
|
-
* <p>The service deploy ARN that you specified in the <code>
|
|
75
|
+
* <p>The service deploy ARN that you specified in the <code>ContinueServiceDeployment</code> doesn't exist. You can use <code>ListServiceDeployments</code> to retrieve the service deployment ARNs.</p>
|
|
76
76
|
*
|
|
77
77
|
* @throws {@link UnsupportedFeatureException} (client fault)
|
|
78
78
|
* <p>The specified task isn't supported in this Region.</p>
|
|
@@ -85,6 +85,7 @@ declare const UpdateExpressGatewayServiceCommand_base: {
|
|
|
85
85
|
* autoScalingMetric: "AVERAGE_CPU" || "AVERAGE_MEMORY" || "REQUEST_COUNT_PER_TARGET",
|
|
86
86
|
* autoScalingTargetValue: Number("int"),
|
|
87
87
|
* },
|
|
88
|
+
* taskDefinitionArn: "STRING_VALUE",
|
|
88
89
|
* };
|
|
89
90
|
* const command = new UpdateExpressGatewayServiceCommand(input);
|
|
90
91
|
* const response = await client.send(command);
|
|
@@ -101,6 +102,7 @@ declare const UpdateExpressGatewayServiceCommand_base: {
|
|
|
101
102
|
* // serviceRevisionArn: "STRING_VALUE",
|
|
102
103
|
* // executionRoleArn: "STRING_VALUE",
|
|
103
104
|
* // taskRoleArn: "STRING_VALUE",
|
|
105
|
+
* // taskDefinitionArn: "STRING_VALUE",
|
|
104
106
|
* // cpu: "STRING_VALUE",
|
|
105
107
|
* // memory: "STRING_VALUE",
|
|
106
108
|
* // networkConfiguration: { // ExpressGatewayServiceNetworkConfiguration
|
|
@@ -241,7 +241,7 @@ export declare class NoUpdateAvailableException extends __BaseException {
|
|
|
241
241
|
constructor(opts: __ExceptionOptionType<NoUpdateAvailableException, __BaseException>);
|
|
242
242
|
}
|
|
243
243
|
/**
|
|
244
|
-
* <p>The service deploy ARN that you specified in the <code>
|
|
244
|
+
* <p>The service deploy ARN that you specified in the <code>ContinueServiceDeployment</code> doesn't exist. You can use <code>ListServiceDeployments</code> to retrieve the service deployment ARNs.</p>
|
|
245
245
|
* @public
|
|
246
246
|
*/
|
|
247
247
|
export declare class ServiceDeploymentNotFoundException extends __BaseException {
|
|
@@ -3025,7 +3025,7 @@ export interface ListDaemonDeploymentsResponse {
|
|
|
3025
3025
|
*/
|
|
3026
3026
|
export interface ListDaemonsRequest {
|
|
3027
3027
|
/**
|
|
3028
|
-
* <p>The Amazon Resource Name (ARN) of the cluster to filter daemons by. If not
|
|
3028
|
+
* <p>The Amazon Resource Name (ARN) of the cluster to filter daemons by. If you do not specify a cluster, the default cluster is assumed.</p>
|
|
3029
3029
|
* @public
|
|
3030
3030
|
*/
|
|
3031
3031
|
clusterArn?: string | undefined;
|
|
@@ -3822,12 +3822,12 @@ export interface DaemonTaskDefinition {
|
|
|
3822
3822
|
*/
|
|
3823
3823
|
registeredBy?: string | undefined;
|
|
3824
3824
|
/**
|
|
3825
|
-
* <p>The
|
|
3825
|
+
* <p>The PID namespace mode for the daemon. The valid values are <code>none</code> and <code>shared</code>. The default is <code>none</code>.</p> <p>If <code>none</code> is specified or no value is provided, the daemon runs with its own PID namespace, isolated from other tasks. If <code>shared</code> is specified, the daemon joins the host PID namespace, making it accessible to non-daemon tasks that use <code>pidMode: "host"</code> or other daemons that use <code>pidMode: "shared"</code>.</p>
|
|
3826
3826
|
* @public
|
|
3827
3827
|
*/
|
|
3828
3828
|
pidMode?: DaemonPidMode | undefined;
|
|
3829
3829
|
/**
|
|
3830
|
-
* <p>The IPC namespace mode for the daemon.
|
|
3830
|
+
* <p>The IPC namespace mode for the daemon. The valid values are <code>none</code> and <code>shared</code>. The default is <code>none</code>.</p> <p>If <code>none</code> is specified or no value is provided, the daemon runs with its own IPC namespace, isolated from other tasks. If <code>shared</code> is specified, the daemon joins the host IPC namespace, making it accessible to non-daemon tasks that use <code>ipcMode: "host"</code> or other daemons that use <code>ipcMode: "shared"</code>.</p>
|
|
3831
3831
|
* @public
|
|
3832
3832
|
*/
|
|
3833
3833
|
ipcMode?: DaemonIpcMode | undefined;
|
|
@@ -3973,12 +3973,12 @@ export interface RegisterDaemonTaskDefinitionRequest {
|
|
|
3973
3973
|
*/
|
|
3974
3974
|
tags?: Tag[] | undefined;
|
|
3975
3975
|
/**
|
|
3976
|
-
* <p>The
|
|
3976
|
+
* <p>The PID namespace mode for the daemon. The valid values are <code>none</code> and <code>shared</code>. The default is <code>none</code>.</p> <p>If <code>none</code> is specified or no value is provided, the daemon runs with its own PID namespace, isolated from other tasks. If <code>shared</code> is specified, the daemon joins the host PID namespace, making it accessible to non-daemon tasks that use <code>pidMode: "host"</code> or other daemons that use <code>pidMode: "shared"</code>.</p>
|
|
3977
3977
|
* @public
|
|
3978
3978
|
*/
|
|
3979
3979
|
pidMode?: DaemonPidMode | undefined;
|
|
3980
3980
|
/**
|
|
3981
|
-
* <p>The IPC namespace mode for the daemon.
|
|
3981
|
+
* <p>The IPC namespace mode for the daemon. The valid values are <code>none</code> and <code>shared</code>. The default is <code>none</code>.</p> <p>If <code>none</code> is specified or no value is provided, the daemon runs with its own IPC namespace, isolated from other tasks. If <code>shared</code> is specified, the daemon joins the host IPC namespace, making it accessible to non-daemon tasks that use <code>ipcMode: "host"</code> or other daemons that use <code>ipcMode: "shared"</code>.</p>
|
|
3982
3982
|
* @public
|
|
3983
3983
|
*/
|
|
3984
3984
|
ipcMode?: DaemonIpcMode | undefined;
|
|
@@ -5191,18 +5191,18 @@ export interface DeploymentCircuitBreaker {
|
|
|
5191
5191
|
*/
|
|
5192
5192
|
export interface DeploymentLifecycleHookTimeoutConfiguration {
|
|
5193
5193
|
/**
|
|
5194
|
-
* <p>The number of minutes Amazon ECS waits for the lifecycle hook to complete before taking the timeout action.</p>
|
|
5194
|
+
* <p>The number of minutes Amazon ECS waits for the lifecycle hook to complete before taking the timeout action.</p> <p>Default: 1440 (24 hours)</p>
|
|
5195
5195
|
* @public
|
|
5196
5196
|
*/
|
|
5197
5197
|
timeoutInMinutes?: number | undefined;
|
|
5198
5198
|
/**
|
|
5199
|
-
* <p>The action Amazon ECS takes when the lifecycle hook times out. Valid values are:</p> <ul> <li> <p> <code>CONTINUE</code> - Proceeds the deployment to the next lifecycle stage.</p> </li> <li> <p> <code>ROLLBACK</code> - Rolls back the deployment to the previous service revision.</p> </li> </ul>
|
|
5199
|
+
* <p>The action Amazon ECS takes when the lifecycle hook times out. Valid values are:</p> <ul> <li> <p> <code>CONTINUE</code> - Proceeds the deployment to the next lifecycle stage.</p> </li> <li> <p> <code>ROLLBACK</code> - Rolls back the deployment to the previous service revision.</p> </li> </ul> <p>Default: <code>ROLLBACK</code> </p>
|
|
5200
5200
|
* @public
|
|
5201
5201
|
*/
|
|
5202
5202
|
action?: DeploymentLifecycleHookAction | undefined;
|
|
5203
5203
|
}
|
|
5204
5204
|
/**
|
|
5205
|
-
* <p>A deployment lifecycle hook runs custom logic at specific stages of the deployment process.
|
|
5205
|
+
* <p>A deployment lifecycle hook runs custom logic or pauses the deployment at specific stages of the deployment process. You can use Lambda functions or pause hooks as hook targets.</p> <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-lifecycle-hooks.html">Lifecycle hooks for Amazon ECS service deployments</a> in the <i> Amazon Elastic Container Service Developer Guide</i>.</p>
|
|
5206
5206
|
* @public
|
|
5207
5207
|
*/
|
|
5208
5208
|
export interface DeploymentLifecycleHook {
|
|
@@ -5212,7 +5212,7 @@ export interface DeploymentLifecycleHook {
|
|
|
5212
5212
|
*/
|
|
5213
5213
|
targetType?: DeploymentLifecycleHookTargetType | undefined;
|
|
5214
5214
|
/**
|
|
5215
|
-
* <p>The Amazon Resource Name (ARN) of the hook target.
|
|
5215
|
+
* <p>The Amazon Resource Name (ARN) of the hook target. For <code>AWS_LAMBDA</code> hooks, this is the Lambda function ARN. This field is not applicable for <code>PAUSE</code> hooks.</p> <p>You must provide this parameter when configuring an <code>AWS_LAMBDA</code> lifecycle hook.</p>
|
|
5216
5216
|
* @public
|
|
5217
5217
|
*/
|
|
5218
5218
|
hookTargetArn?: string | undefined;
|
|
@@ -5222,12 +5222,12 @@ export interface DeploymentLifecycleHook {
|
|
|
5222
5222
|
*/
|
|
5223
5223
|
roleArn?: string | undefined;
|
|
5224
5224
|
/**
|
|
5225
|
-
* <p>The lifecycle stages at which to run the hook. Choose from these valid values:</p> <ul> <li> <p>RECONCILE_SERVICE</p> <p>The reconciliation stage that only happens when you start a new service deployment with more than 1 service revision in an ACTIVE state.</p> <p>You can use a lifecycle hook for this stage.</p> </li> <li> <p>PRE_SCALE_UP</p> <p>The green service revision has not started. The blue service revision is handling 100% of the production traffic. There is no test traffic.</p> <p>You can use a lifecycle hook for this stage.</p> </li> <li> <p>POST_SCALE_UP</p> <p>The green service revision has started. The blue service revision is handling 100% of the production traffic. There is no test traffic.</p> <p>You can use a lifecycle hook for this stage.</p> </li> <li> <p>TEST_TRAFFIC_SHIFT</p> <p>The blue and green service revisions are running. The blue service revision handles 100% of the production traffic. The green service revision is migrating from 0% to 100% of test traffic.</p> <p>You can use a lifecycle hook for this stage.</p> </li> <li> <p>POST_TEST_TRAFFIC_SHIFT</p> <p>The test traffic shift is complete. The green service revision handles 100% of the test traffic.</p> <p>You can use a lifecycle hook for this stage.</p> </li> <li> <p>PRODUCTION_TRAFFIC_SHIFT</p> <p>Production traffic is shifting to the green service revision. The green service revision is migrating from 0% to 100% of production traffic.</p> <p>You can use a lifecycle hook for this stage.</p> </li> <li> <p>POST_PRODUCTION_TRAFFIC_SHIFT</p> <p>The production traffic shift is complete.</p> <p>You can use a lifecycle hook for this stage.</p> </li> </ul> <p>You must provide this parameter when configuring a deployment lifecycle hook.</p>
|
|
5225
|
+
* <p>The lifecycle stages at which to run the hook. Choose from these valid values:</p> <ul> <li> <p>RECONCILE_SERVICE</p> <p>The reconciliation stage that only happens when you start a new service deployment with more than 1 service revision in an ACTIVE state.</p> <p>You can use a lifecycle hook for this stage.</p> </li> <li> <p>PRE_SCALE_UP</p> <p>The green service revision has not started. The blue service revision is handling 100% of the production traffic. There is no test traffic.</p> <p>You can use a lifecycle hook for this stage.</p> </li> <li> <p>POST_SCALE_UP</p> <p>The green service revision has started. The blue service revision is handling 100% of the production traffic. There is no test traffic.</p> <p>You can use a lifecycle hook for this stage.</p> </li> <li> <p>TEST_TRAFFIC_SHIFT</p> <p>The blue and green service revisions are running. The blue service revision handles 100% of the production traffic. The green service revision is migrating from 0% to 100% of test traffic.</p> <p>You can use a lifecycle hook for this stage.</p> </li> <li> <p>POST_TEST_TRAFFIC_SHIFT</p> <p>The test traffic shift is complete. The green service revision handles 100% of the test traffic.</p> <p>You can use a lifecycle hook for this stage.</p> </li> <li> <p>PRE_PRODUCTION_TRAFFIC_SHIFT</p> <p>Occurs before production traffic shift. For linear and canary deployments, this stage is invoked before every traffic shift step.</p> <p>You can use a lifecycle hook for this stage.</p> </li> <li> <p>PRODUCTION_TRAFFIC_SHIFT</p> <p>Production traffic is shifting to the green service revision. The green service revision is migrating from 0% to 100% of production traffic. For linear and canary deployments, this stage is invoked at every traffic shift step.</p> <p>You can use a lifecycle hook for this stage.</p> </li> <li> <p>POST_PRODUCTION_TRAFFIC_SHIFT</p> <p>The production traffic shift is complete.</p> <p>You can use a lifecycle hook for this stage.</p> </li> </ul> <note> <p> <code>PAUSE</code> hooks cannot be configured at <code>TEST_TRAFFIC_SHIFT</code> or <code>PRODUCTION_TRAFFIC_SHIFT</code> stages. These stages are only valid for <code>AWS_LAMBDA</code> hooks.</p> </note> <p>You must provide this parameter when configuring a deployment lifecycle hook.</p>
|
|
5226
5226
|
* @public
|
|
5227
5227
|
*/
|
|
5228
5228
|
lifecycleStages?: DeploymentLifecycleHookStage[] | undefined;
|
|
5229
5229
|
/**
|
|
5230
|
-
* <p>Use this field to specify custom parameters that Amazon ECS
|
|
5230
|
+
* <p>Use this field to specify custom parameters that Amazon ECS passes to your Lambda function on each invocation. This field is not used for <code>PAUSE</code> hooks.</p>
|
|
5231
5231
|
* @public
|
|
5232
5232
|
*/
|
|
5233
5233
|
hookDetails?: __DocumentType | undefined;
|
|
@@ -5289,7 +5289,7 @@ export interface DeploymentConfiguration {
|
|
|
5289
5289
|
*/
|
|
5290
5290
|
bakeTimeInMinutes?: number | undefined;
|
|
5291
5291
|
/**
|
|
5292
|
-
* <p>An array of deployment lifecycle hook objects to run custom logic at specific stages of the deployment lifecycle.</p>
|
|
5292
|
+
* <p>An array of deployment lifecycle hook objects to run custom logic or pause the deployment at specific stages of the deployment lifecycle.</p>
|
|
5293
5293
|
* @public
|
|
5294
5294
|
*/
|
|
5295
5295
|
lifecycleHooks?: DeploymentLifecycleHook[] | undefined;
|
|
@@ -5325,7 +5325,7 @@ export interface DeploymentLifecycleHookDetail {
|
|
|
5325
5325
|
*/
|
|
5326
5326
|
targetArn?: string | undefined;
|
|
5327
5327
|
/**
|
|
5328
|
-
* <p>The status of the lifecycle hook. Valid values
|
|
5328
|
+
* <p>The status of the lifecycle hook. Valid values include <code>AWAITING_ACTION</code>, <code>IN_PROGRESS</code>, <code>SUCCEEDED</code>, <code>FAILED</code>, and <code>TIMED_OUT</code>.</p>
|
|
5329
5329
|
* @public
|
|
5330
5330
|
*/
|
|
5331
5331
|
status?: DeploymentLifecycleHookStatus | undefined;
|
|
@@ -5463,7 +5463,7 @@ export interface ServiceDeployment {
|
|
|
5463
5463
|
*/
|
|
5464
5464
|
statusReason?: string | undefined;
|
|
5465
5465
|
/**
|
|
5466
|
-
* <p>The current lifecycle stage of the deployment. Possible values include:</p> <ul> <li> <p>RECONCILE_SERVICE</p> <p>The reconciliation stage that only happens when you start a new service deployment with more than 1 service revision in an ACTIVE state.</p> </li> <li> <p>PRE_SCALE_UP</p> <p>The green service revision has not started. The blue service revision is handling 100% of the production traffic. There is no test traffic.</p> </li> <li> <p>SCALE_UP</p> <p>The stage when the green service revision scales up to 100% and launches new tasks. The green service revision is not serving any traffic at this point.</p> </li> <li> <p>POST_SCALE_UP</p> <p>The green service revision has started. The blue service revision is handling 100% of the production traffic. There is no test traffic.</p> </li> <li> <p>TEST_TRAFFIC_SHIFT</p> <p>The blue and green service revisions are running. The blue service revision handles 100% of the production traffic. The green service revision is migrating from 0% to 100% of test traffic.</p> </li> <li> <p>POST_TEST_TRAFFIC_SHIFT</p> <p>The test traffic shift is complete. The green service revision handles 100% of the test traffic.</p> </li> <li> <p>PRODUCTION_TRAFFIC_SHIFT</p> <p>Production traffic is shifting to the green service revision. The green service revision is migrating from 0% to 100% of production traffic.</p> </li> <li> <p>POST_PRODUCTION_TRAFFIC_SHIFT</p> <p>The production traffic shift is complete.</p> </li> <li> <p>BAKE_TIME</p> <p>The stage when both blue and green service revisions are running simultaneously after the production traffic has shifted.</p> </li> <li> <p>CLEAN_UP</p> <p>The stage when the blue service revision has completely scaled down to 0 running tasks. The green service revision is now the production service revision after this stage.</p> </li> </ul>
|
|
5466
|
+
* <p>The current lifecycle stage of the deployment. Possible values include:</p> <ul> <li> <p>RECONCILE_SERVICE</p> <p>The reconciliation stage that only happens when you start a new service deployment with more than 1 service revision in an ACTIVE state.</p> </li> <li> <p>PRE_SCALE_UP</p> <p>The green service revision has not started. The blue service revision is handling 100% of the production traffic. There is no test traffic.</p> </li> <li> <p>SCALE_UP</p> <p>The stage when the green service revision scales up to 100% and launches new tasks. The green service revision is not serving any traffic at this point.</p> </li> <li> <p>POST_SCALE_UP</p> <p>The green service revision has started. The blue service revision is handling 100% of the production traffic. There is no test traffic.</p> </li> <li> <p>TEST_TRAFFIC_SHIFT</p> <p>The blue and green service revisions are running. The blue service revision handles 100% of the production traffic. The green service revision is migrating from 0% to 100% of test traffic.</p> </li> <li> <p>POST_TEST_TRAFFIC_SHIFT</p> <p>The test traffic shift is complete. The green service revision handles 100% of the test traffic.</p> </li> <li> <p>PRE_PRODUCTION_TRAFFIC_SHIFT</p> <p>Occurs before production traffic shift. For linear and canary deployments, this stage is invoked before every traffic shift step.</p> </li> <li> <p>PRODUCTION_TRAFFIC_SHIFT</p> <p>Production traffic is shifting to the green service revision. The green service revision is migrating from 0% to 100% of production traffic. For linear and canary deployments, this stage is invoked at every traffic shift step.</p> </li> <li> <p>POST_PRODUCTION_TRAFFIC_SHIFT</p> <p>The production traffic shift is complete.</p> </li> <li> <p>BAKE_TIME</p> <p>The stage when both blue and green service revisions are running simultaneously after the production traffic has shifted.</p> </li> <li> <p>CLEAN_UP</p> <p>The stage when the blue service revision has completely scaled down to 0 running tasks. The green service revision is now the production service revision after this stage.</p> </li> </ul>
|
|
5467
5467
|
* @public
|
|
5468
5468
|
*/
|
|
5469
5469
|
lifecycleStage?: ServiceDeploymentLifecycleStage | undefined;
|
|
@@ -5626,7 +5626,7 @@ export interface CreateExpressGatewayServiceRequest {
|
|
|
5626
5626
|
* <p>The Amazon Resource Name (ARN) of the task execution role that grants the Amazon ECS container agent permission to make Amazon Web Services API calls on your behalf. This role is required for Amazon ECS to pull container images from Amazon ECR, send container logs to Amazon CloudWatch Logs, and retrieve sensitive data from Amazon Web Services Systems Manager Parameter Store or Amazon Web Services Secrets Manager.</p> <p>The execution role must include the <code>AmazonECSTaskExecutionRolePolicy</code> managed policy or equivalent permissions. For Express services, this role is used during task startup and runtime for container management operations.</p>
|
|
5627
5627
|
* @public
|
|
5628
5628
|
*/
|
|
5629
|
-
executionRoleArn
|
|
5629
|
+
executionRoleArn?: string | undefined;
|
|
5630
5630
|
/**
|
|
5631
5631
|
* <p>The Amazon Resource Name (ARN) of the infrastructure role that grants Amazon ECS permission to create and manage Amazon Web Services resources on your behalf for the Express service. This role is used to provision and manage Application Load Balancers, target groups, security groups, auto-scaling policies, and other Amazon Web Services infrastructure components.</p> <p>The infrastructure role must include permissions for Elastic Load Balancing, Application Auto Scaling, Amazon EC2 (for security groups), and other services required for managed infrastructure. This role is only used during Express service creation, updates, and deletion operations.</p>
|
|
5632
5632
|
* @public
|
|
@@ -5651,7 +5651,7 @@ export interface CreateExpressGatewayServiceRequest {
|
|
|
5651
5651
|
* <p>The primary container configuration for the Express service. This defines the main application container that will receive traffic from the Application Load Balancer.</p> <p>The primary container must specify at minimum a container image. You can also configure the container port (defaults to 80), logging configuration, environment variables, secrets, and startup commands. The container image can be from Amazon ECR, Docker Hub, or any other container registry accessible to your execution role.</p>
|
|
5652
5652
|
* @public
|
|
5653
5653
|
*/
|
|
5654
|
-
primaryContainer
|
|
5654
|
+
primaryContainer?: ExpressGatewayContainer | undefined;
|
|
5655
5655
|
/**
|
|
5656
5656
|
* <p>The Amazon Resource Name (ARN) of the IAM role that containers in this task can assume. This role allows your application code to access other Amazon Web Services services securely.</p> <p>The task role is different from the execution role. While the execution role is used by the Amazon ECS agent to set up the task, the task role is used by your application code running inside the container to make Amazon Web Services API calls. If your application doesn't need to access Amazon Web Services services, you can omit this parameter.</p>
|
|
5657
5657
|
* @public
|
|
@@ -5682,6 +5682,11 @@ export interface CreateExpressGatewayServiceRequest {
|
|
|
5682
5682
|
* @public
|
|
5683
5683
|
*/
|
|
5684
5684
|
tags?: Tag[] | undefined;
|
|
5685
|
+
/**
|
|
5686
|
+
* <p>The Amazon Resource Name (ARN) of a task definition to use to create the Express Gateway service. This allows you to manage your own task definition, giving you more control over the service configuration such as adding sidecar containers.</p> <p>The task definition must have a container named <code>Main</code> with a single TCP port mapping that includes a container port and port name. The task definition must also have <code>FARGATE</code> compatibility.</p> <p>If you provide a task definition ARN, you cannot also specify <code>primaryContainer</code>, <code>executionRoleArn</code>, <code>taskRoleArn</code>, <code>cpu</code>, or <code>memory</code>.</p>
|
|
5687
|
+
* @public
|
|
5688
|
+
*/
|
|
5689
|
+
taskDefinitionArn?: string | undefined;
|
|
5685
5690
|
}
|
|
5686
5691
|
/**
|
|
5687
5692
|
* <p>The entry point into an Express service.</p>
|
|
@@ -5719,6 +5724,11 @@ export interface ExpressGatewayServiceConfiguration {
|
|
|
5719
5724
|
* @public
|
|
5720
5725
|
*/
|
|
5721
5726
|
taskRoleArn?: string | undefined;
|
|
5727
|
+
/**
|
|
5728
|
+
* <p>The ARN of the task definition used by this service revision. This is present for all Express services and reflects the task definition in use, whether managed by Amazon ECS or provided by the customer.</p>
|
|
5729
|
+
* @public
|
|
5730
|
+
*/
|
|
5731
|
+
taskDefinitionArn?: string | undefined;
|
|
5722
5732
|
/**
|
|
5723
5733
|
* <p>The CPU allocation for tasks in this service revision.</p>
|
|
5724
5734
|
* @public
|
|
@@ -7284,6 +7294,11 @@ export interface UpdateExpressGatewayServiceRequest {
|
|
|
7284
7294
|
* @public
|
|
7285
7295
|
*/
|
|
7286
7296
|
scalingTarget?: ExpressGatewayScalingTarget | undefined;
|
|
7297
|
+
/**
|
|
7298
|
+
* <p>The Amazon Resource Name (ARN) of a task definition to use to update the Express Gateway service. This allows you to manage your own task definition, giving you more control over the service configuration such as adding sidecar containers.</p> <p>The task definition must have a container named <code>Main</code> with a single TCP port mapping that includes a container port and port name. The task definition must also have <code>FARGATE</code> compatibility.</p> <p>If you provide a task definition ARN, you cannot also specify <code>primaryContainer</code>, <code>taskRoleArn</code>, <code>cpu</code>, or <code>memory</code>.</p>
|
|
7299
|
+
* @public
|
|
7300
|
+
*/
|
|
7301
|
+
taskDefinitionArn?: string | undefined;
|
|
7287
7302
|
}
|
|
7288
7303
|
/**
|
|
7289
7304
|
* <p>An object that describes an Express service to be updated.</p>
|
|
@@ -1427,18 +1427,19 @@ export interface ExpressGatewayScalingTarget {
|
|
|
1427
1427
|
autoScalingTargetValue?: number | undefined;
|
|
1428
1428
|
}
|
|
1429
1429
|
export interface CreateExpressGatewayServiceRequest {
|
|
1430
|
-
executionRoleArn
|
|
1430
|
+
executionRoleArn?: string | undefined;
|
|
1431
1431
|
infrastructureRoleArn: string | undefined;
|
|
1432
1432
|
serviceName?: string | undefined;
|
|
1433
1433
|
cluster?: string | undefined;
|
|
1434
1434
|
healthCheckPath?: string | undefined;
|
|
1435
|
-
primaryContainer
|
|
1435
|
+
primaryContainer?: ExpressGatewayContainer | undefined;
|
|
1436
1436
|
taskRoleArn?: string | undefined;
|
|
1437
1437
|
networkConfiguration?: ExpressGatewayServiceNetworkConfiguration | undefined;
|
|
1438
1438
|
cpu?: string | undefined;
|
|
1439
1439
|
memory?: string | undefined;
|
|
1440
1440
|
scalingTarget?: ExpressGatewayScalingTarget | undefined;
|
|
1441
1441
|
tags?: Tag[] | undefined;
|
|
1442
|
+
taskDefinitionArn?: string | undefined;
|
|
1442
1443
|
}
|
|
1443
1444
|
export interface IngressPathSummary {
|
|
1444
1445
|
accessType: AccessType | undefined;
|
|
@@ -1448,6 +1449,7 @@ export interface ExpressGatewayServiceConfiguration {
|
|
|
1448
1449
|
serviceRevisionArn?: string | undefined;
|
|
1449
1450
|
executionRoleArn?: string | undefined;
|
|
1450
1451
|
taskRoleArn?: string | undefined;
|
|
1452
|
+
taskDefinitionArn?: string | undefined;
|
|
1451
1453
|
cpu?: string | undefined;
|
|
1452
1454
|
memory?: string | undefined;
|
|
1453
1455
|
networkConfiguration?: ExpressGatewayServiceNetworkConfiguration | undefined;
|
|
@@ -1803,6 +1805,7 @@ export interface UpdateExpressGatewayServiceRequest {
|
|
|
1803
1805
|
cpu?: string | undefined;
|
|
1804
1806
|
memory?: string | undefined;
|
|
1805
1807
|
scalingTarget?: ExpressGatewayScalingTarget | undefined;
|
|
1808
|
+
taskDefinitionArn?: string | undefined;
|
|
1806
1809
|
}
|
|
1807
1810
|
export interface UpdatedExpressGatewayService {
|
|
1808
1811
|
serviceArn?: string | undefined;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-ecs",
|
|
3
3
|
"description": "AWS SDK for JavaScript Ecs Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.1071.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline",
|
|
@@ -23,8 +23,8 @@
|
|
|
23
23
|
"dependencies": {
|
|
24
24
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
25
25
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
26
|
-
"@aws-sdk/core": "^3.974.
|
|
27
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
26
|
+
"@aws-sdk/core": "^3.974.22",
|
|
27
|
+
"@aws-sdk/credential-provider-node": "^3.972.57",
|
|
28
28
|
"@aws-sdk/types": "^3.973.13",
|
|
29
29
|
"@smithy/core": "^3.24.6",
|
|
30
30
|
"@smithy/fetch-http-handler": "^5.4.6",
|