@aws-sdk/client-ecs 3.1070.0 → 3.1072.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 +39 -17
- package/dist-es/schemas/schemas_0.js +37 -17
- package/dist-types/commands/ContinueServiceDeploymentCommand.d.ts +4 -4
- package/dist-types/commands/CreateExpressGatewayServiceCommand.d.ts +3 -1
- package/dist-types/commands/CreateServiceCommand.d.ts +51 -0
- 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/DescribeServiceRevisionsCommand.d.ts +50 -0
- package/dist-types/commands/StopServiceDeploymentCommand.d.ts +1 -1
- package/dist-types/commands/UpdateExpressGatewayServiceCommand.d.ts +2 -0
- package/dist-types/commands/UpdateServiceCommand.d.ts +34 -0
- package/dist-types/models/errors.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +68 -133
- package/dist-types/models/models_1.d.ts +123 -1
- package/dist-types/schemas/schemas_0.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +14 -27
- package/dist-types/ts3.4/models/models_1.d.ts +34 -1
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +2 -0
- package/package.json +3 -3
|
@@ -327,6 +327,9 @@ const _MASC = "ManagedAgentStateChange";
|
|
|
327
327
|
const _MASCa = "ManagedAgentStateChanges";
|
|
328
328
|
const _MAa = "ManagedAgents";
|
|
329
329
|
const _MC = "ManagedCertificate";
|
|
330
|
+
const _MCL = "MetricConfigurationList";
|
|
331
|
+
const _MCe = "MetricConfiguration";
|
|
332
|
+
const _MCo = "MonitoringConfiguration";
|
|
330
333
|
const _MGBPVCR = "MemoryGiBPerVCpuRequest";
|
|
331
334
|
const _MILSC = "ManagedInstancesLocalStorageConfiguration";
|
|
332
335
|
const _MINC = "ManagedInstancesNetworkConfiguration";
|
|
@@ -856,12 +859,14 @@ const _mAN = "managedAgentName";
|
|
|
856
859
|
const _mAe = "metricAlarms";
|
|
857
860
|
const _mC = "minCapacity";
|
|
858
861
|
const _mCa = "maxCapacity";
|
|
862
|
+
const _mCe = "metricConfigurations";
|
|
859
863
|
const _mD = "managedDraining";
|
|
860
864
|
const _mEBSV = "managedEBSVolume";
|
|
861
865
|
const _mGBPVC = "memoryGiBPerVCpu";
|
|
862
866
|
const _mHP = "minimumHealthyPercent";
|
|
863
867
|
const _mIP = "managedInstancesProvider";
|
|
864
868
|
const _mMB = "memoryMiB";
|
|
869
|
+
const _mN = "metricNames";
|
|
865
870
|
const _mO = "mountOptions";
|
|
866
871
|
const _mP = "mountPoints";
|
|
867
872
|
const _mPa = "maximumPercent";
|
|
@@ -959,6 +964,7 @@ const _rRe = "remainingResources";
|
|
|
959
964
|
const _rReg = "registeredResources";
|
|
960
965
|
const _rS = "rolloutState";
|
|
961
966
|
const _rSR = "rolloutStateReason";
|
|
967
|
+
const _rSe = "resolutionSeconds";
|
|
962
968
|
const _rT = "resourceType";
|
|
963
969
|
const _rTC = "runningTasksCount";
|
|
964
970
|
const _rTCe = "requestedTaskCount";
|
|
@@ -1057,8 +1063,8 @@ const _tC = "timeoutConfiguration";
|
|
|
1057
1063
|
const _tCa = "targetCapacity";
|
|
1058
1064
|
const _tCar = "targetConfiguration";
|
|
1059
1065
|
const _tD = "taskDefinition";
|
|
1060
|
-
const _tDA = "
|
|
1061
|
-
const _tDAa = "
|
|
1066
|
+
const _tDA = "taskDefinitionArn";
|
|
1067
|
+
const _tDAa = "taskDefinitionArns";
|
|
1062
1068
|
const _tDIC = "totalDrainingInstanceCount";
|
|
1063
1069
|
const _tDR = "targetDaemonRevision";
|
|
1064
1070
|
const _tDRA = "targetDaemonRevisionArn";
|
|
@@ -1572,8 +1578,8 @@ const CreatedAt$ = [3, n0, _CA,
|
|
|
1572
1578
|
exports.CreatedAt$ = CreatedAt$;
|
|
1573
1579
|
const CreateExpressGatewayServiceRequest$ = [3, n0, _CEGSR,
|
|
1574
1580
|
0,
|
|
1575
|
-
[
|
|
1576
|
-
[0, 0, [() => ExpressGatewayContainer$, 0], 0,
|
|
1581
|
+
[_iRA, _eRA, _sN, _cl, _hCP, _pC, _tRA, _nC, _cp, _me, _sTc, _ta, _tDA],
|
|
1582
|
+
[0, 0, 0, 0, 0, [() => ExpressGatewayContainer$, 0], 0, () => ExpressGatewayServiceNetworkConfiguration$, 0, 0, () => ExpressGatewayScalingTarget$, () => Tags, 0], 1
|
|
1577
1583
|
];
|
|
1578
1584
|
exports.CreateExpressGatewayServiceRequest$ = CreateExpressGatewayServiceRequest$;
|
|
1579
1585
|
const CreateExpressGatewayServiceResponse$ = [3, n0, _CEGSRr,
|
|
@@ -1590,8 +1596,8 @@ const CreateManagedInstancesProviderConfiguration$ = [3, n0, _CMIPC,
|
|
|
1590
1596
|
exports.CreateManagedInstancesProviderConfiguration$ = CreateManagedInstancesProviderConfiguration$;
|
|
1591
1597
|
const CreateServiceRequest$ = [3, n0, _CSR,
|
|
1592
1598
|
0,
|
|
1593
|
-
[_sN, _cl, _tD, _aZR, _lB, _sRe, _dCe, _cT, _lT, _cPS, _pV, _ro, _dC, _pCl, _pS, _nC, _hCGPS, _sS, _dCep, _ta, _eECSMT, _pTr, _eEC, _sCC, _vCo, _vLC],
|
|
1594
|
-
[0, 0, 0, 0, () => LoadBalancers, () => ServiceRegistries, 1, 0, 0, () => CapacityProviderStrategy, 0, 0, () => DeploymentConfiguration$, () => PlacementConstraints, () => PlacementStrategies, () => NetworkConfiguration$, 1, 0, () => DeploymentController$, () => Tags, 2, 0, 2, () => ServiceConnectConfiguration$, () => ServiceVolumeConfigurations, () => VpcLatticeConfigurations], 1
|
|
1599
|
+
[_sN, _cl, _tD, _aZR, _lB, _sRe, _dCe, _cT, _lT, _cPS, _pV, _ro, _dC, _pCl, _pS, _nC, _hCGPS, _sS, _dCep, _ta, _eECSMT, _pTr, _eEC, _sCC, _vCo, _vLC, _mo],
|
|
1600
|
+
[0, 0, 0, 0, () => LoadBalancers, () => ServiceRegistries, 1, 0, 0, () => CapacityProviderStrategy, 0, 0, () => DeploymentConfiguration$, () => PlacementConstraints, () => PlacementStrategies, () => NetworkConfiguration$, 1, 0, () => DeploymentController$, () => Tags, 2, 0, 2, () => ServiceConnectConfiguration$, () => ServiceVolumeConfigurations, () => VpcLatticeConfigurations, () => MonitoringConfiguration$], 1
|
|
1595
1601
|
];
|
|
1596
1602
|
exports.CreateServiceRequest$ = CreateServiceRequest$;
|
|
1597
1603
|
const CreateServiceResponse$ = [3, n0, _CSRr,
|
|
@@ -2214,8 +2220,8 @@ const ExpressGatewayServiceAwsLogsConfiguration$ = [3, n0, _EGSALC,
|
|
|
2214
2220
|
exports.ExpressGatewayServiceAwsLogsConfiguration$ = ExpressGatewayServiceAwsLogsConfiguration$;
|
|
2215
2221
|
const ExpressGatewayServiceConfiguration$ = [3, n0, _EGSC,
|
|
2216
2222
|
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]
|
|
2223
|
+
[_sRAe, _eRA, _tRA, _tDA, _cp, _me, _nC, _hCP, _pC, _sTc, _iP, _cAr],
|
|
2224
|
+
[0, 0, 0, 0, 0, 0, () => ExpressGatewayServiceNetworkConfiguration$, 0, [() => ExpressGatewayContainer$, 0], () => ExpressGatewayScalingTarget$, () => IngressPathSummaries, 4]
|
|
2219
2225
|
];
|
|
2220
2226
|
exports.ExpressGatewayServiceConfiguration$ = ExpressGatewayServiceConfiguration$;
|
|
2221
2227
|
const ExpressGatewayServiceNetworkConfiguration$ = [3, n0, _EGSNC,
|
|
@@ -2508,7 +2514,7 @@ const ListTaskDefinitionsRequest$ = [3, n0, _LTDR,
|
|
|
2508
2514
|
exports.ListTaskDefinitionsRequest$ = ListTaskDefinitionsRequest$;
|
|
2509
2515
|
const ListTaskDefinitionsResponse$ = [3, n0, _LTDRi,
|
|
2510
2516
|
0,
|
|
2511
|
-
[
|
|
2517
|
+
[_tDAa, _nT],
|
|
2512
2518
|
[64 | 0, 0]
|
|
2513
2519
|
];
|
|
2514
2520
|
exports.ListTaskDefinitionsResponse$ = ListTaskDefinitionsResponse$;
|
|
@@ -2668,6 +2674,18 @@ const MemoryMiBRequest$ = [3, n0, _MMBR,
|
|
|
2668
2674
|
[1, 1], 1
|
|
2669
2675
|
];
|
|
2670
2676
|
exports.MemoryMiBRequest$ = MemoryMiBRequest$;
|
|
2677
|
+
const MetricConfiguration$ = [3, n0, _MCe,
|
|
2678
|
+
0,
|
|
2679
|
+
[_mN, _rSe],
|
|
2680
|
+
[64 | 0, 1], 2
|
|
2681
|
+
];
|
|
2682
|
+
exports.MetricConfiguration$ = MetricConfiguration$;
|
|
2683
|
+
const MonitoringConfiguration$ = [3, n0, _MCo,
|
|
2684
|
+
0,
|
|
2685
|
+
[_mCe],
|
|
2686
|
+
[() => MetricConfigurationList]
|
|
2687
|
+
];
|
|
2688
|
+
exports.MonitoringConfiguration$ = MonitoringConfiguration$;
|
|
2671
2689
|
const MountPoint$ = [3, n0, _MP,
|
|
2672
2690
|
0,
|
|
2673
2691
|
[_sV, _cPo, _rO],
|
|
@@ -3006,8 +3024,8 @@ const ServiceRegistry$ = [3, n0, _SR,
|
|
|
3006
3024
|
exports.ServiceRegistry$ = ServiceRegistry$;
|
|
3007
3025
|
const ServiceRevision$ = [3, n0, _SRe,
|
|
3008
3026
|
0,
|
|
3009
|
-
[_sRAe, _sAe, _cA, _tD, _cPS, _lT, _pV, _pF, _lB, _sRe, _nC, _cI, _gDE, _sCC, _vCo, _fES, _cAr, _vLC, _rCes, _eMR],
|
|
3010
|
-
[0, 0, 0, 0, () => CapacityProviderStrategy, 0, 0, 0, () => LoadBalancers, () => ServiceRegistries, () => NetworkConfiguration$, () => ContainerImages, 2, () => ServiceConnectConfiguration$, () => ServiceVolumeConfigurations, () => DeploymentEphemeralStorage$, 4, () => VpcLatticeConfigurations, () => ResolvedConfiguration$, () => ECSManagedResources$]
|
|
3027
|
+
[_sRAe, _sAe, _cA, _tD, _cPS, _lT, _pV, _pF, _lB, _sRe, _nC, _cI, _gDE, _sCC, _vCo, _fES, _cAr, _vLC, _rCes, _eMR, _mo],
|
|
3028
|
+
[0, 0, 0, 0, () => CapacityProviderStrategy, 0, 0, 0, () => LoadBalancers, () => ServiceRegistries, () => NetworkConfiguration$, () => ContainerImages, 2, () => ServiceConnectConfiguration$, () => ServiceVolumeConfigurations, () => DeploymentEphemeralStorage$, 4, () => VpcLatticeConfigurations, () => ResolvedConfiguration$, () => ECSManagedResources$, () => MonitoringConfiguration$]
|
|
3011
3029
|
];
|
|
3012
3030
|
exports.ServiceRevision$ = ServiceRevision$;
|
|
3013
3031
|
const ServiceRevisionLoadBalancer$ = [3, n0, _SRLB,
|
|
@@ -3138,13 +3156,13 @@ const TagResourceResponse$ = [3, n0, _TRRa,
|
|
|
3138
3156
|
exports.TagResourceResponse$ = TagResourceResponse$;
|
|
3139
3157
|
const Task$ = [3, n0, _Ta,
|
|
3140
3158
|
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,
|
|
3159
|
+
[_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
3160
|
[() => 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
3161
|
];
|
|
3144
3162
|
exports.Task$ = Task$;
|
|
3145
3163
|
const TaskDefinition$ = [3, n0, _TD,
|
|
3146
3164
|
0,
|
|
3147
|
-
[
|
|
3165
|
+
[_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
3166
|
[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
3167
|
];
|
|
3150
3168
|
exports.TaskDefinition$ = TaskDefinition$;
|
|
@@ -3306,8 +3324,8 @@ const UpdatedExpressGatewayService$ = [3, n0, _UEGS,
|
|
|
3306
3324
|
exports.UpdatedExpressGatewayService$ = UpdatedExpressGatewayService$;
|
|
3307
3325
|
const UpdateExpressGatewayServiceRequest$ = [3, n0, _UEGSR,
|
|
3308
3326
|
0,
|
|
3309
|
-
[_sAe, _eRA, _hCP, _pC, _tRA, _nC, _cp, _me, _sTc],
|
|
3310
|
-
[0, 0, 0, [() => ExpressGatewayContainer$, 0], 0, () => ExpressGatewayServiceNetworkConfiguration$, 0, 0, () => ExpressGatewayScalingTarget
|
|
3327
|
+
[_sAe, _eRA, _hCP, _pC, _tRA, _nC, _cp, _me, _sTc, _tDA],
|
|
3328
|
+
[0, 0, 0, [() => ExpressGatewayContainer$, 0], 0, () => ExpressGatewayServiceNetworkConfiguration$, 0, 0, () => ExpressGatewayScalingTarget$, 0], 1
|
|
3311
3329
|
];
|
|
3312
3330
|
exports.UpdateExpressGatewayServiceRequest$ = UpdateExpressGatewayServiceRequest$;
|
|
3313
3331
|
const UpdateExpressGatewayServiceResponse$ = [3, n0, _UEGSRp,
|
|
@@ -3336,8 +3354,8 @@ const UpdateServicePrimaryTaskSetResponse$ = [3, n0, _USPTSRp,
|
|
|
3336
3354
|
exports.UpdateServicePrimaryTaskSetResponse$ = UpdateServicePrimaryTaskSetResponse$;
|
|
3337
3355
|
const UpdateServiceRequest$ = [3, n0, _USR,
|
|
3338
3356
|
0,
|
|
3339
|
-
[_ser, _cl, _dCe, _tD, _cPS, _dC, _aZR, _nC, _pCl, _pS, _pV, _fND, _hCGPS, _dCep, _eEC, _eECSMT, _lB, _pTr, _sRe, _sCC, _vCo, _vLC],
|
|
3340
|
-
[0, 0, 1, 0, () => CapacityProviderStrategy, () => DeploymentConfiguration$, 0, () => NetworkConfiguration$, () => PlacementConstraints, () => PlacementStrategies, 0, 2, 1, () => DeploymentController$, 2, 2, () => LoadBalancers, 0, () => ServiceRegistries, () => ServiceConnectConfiguration$, () => ServiceVolumeConfigurations, () => VpcLatticeConfigurations], 1
|
|
3357
|
+
[_ser, _cl, _dCe, _tD, _cPS, _dC, _aZR, _nC, _pCl, _pS, _pV, _fND, _hCGPS, _dCep, _eEC, _eECSMT, _lB, _pTr, _sRe, _sCC, _vCo, _vLC, _mo],
|
|
3358
|
+
[0, 0, 1, 0, () => CapacityProviderStrategy, () => DeploymentConfiguration$, 0, () => NetworkConfiguration$, () => PlacementConstraints, () => PlacementStrategies, 0, 2, 1, () => DeploymentController$, 2, 2, () => LoadBalancers, 0, () => ServiceRegistries, () => ServiceConnectConfiguration$, () => ServiceVolumeConfigurations, () => VpcLatticeConfigurations, () => MonitoringConfiguration$], 1
|
|
3341
3359
|
];
|
|
3342
3360
|
exports.UpdateServiceRequest$ = UpdateServiceRequest$;
|
|
3343
3361
|
const UpdateServiceResponse$ = [3, n0, _USRp,
|
|
@@ -3597,6 +3615,10 @@ var ManagedSecurityGroups = [1, n0, _MSGa,
|
|
|
3597
3615
|
var ManagedTargetGroups = [1, n0, _MTGa,
|
|
3598
3616
|
0, () => ManagedTargetGroup$
|
|
3599
3617
|
];
|
|
3618
|
+
var MetricConfigurationList = [1, n0, _MCL,
|
|
3619
|
+
0, () => MetricConfiguration$
|
|
3620
|
+
];
|
|
3621
|
+
var MetricNamesList = 64 | 0;
|
|
3600
3622
|
var MountPointList = [1, n0, _MPL,
|
|
3601
3623
|
0, () => MountPoint$
|
|
3602
3624
|
];
|
|
@@ -327,6 +327,9 @@ const _MASC = "ManagedAgentStateChange";
|
|
|
327
327
|
const _MASCa = "ManagedAgentStateChanges";
|
|
328
328
|
const _MAa = "ManagedAgents";
|
|
329
329
|
const _MC = "ManagedCertificate";
|
|
330
|
+
const _MCL = "MetricConfigurationList";
|
|
331
|
+
const _MCe = "MetricConfiguration";
|
|
332
|
+
const _MCo = "MonitoringConfiguration";
|
|
330
333
|
const _MGBPVCR = "MemoryGiBPerVCpuRequest";
|
|
331
334
|
const _MILSC = "ManagedInstancesLocalStorageConfiguration";
|
|
332
335
|
const _MINC = "ManagedInstancesNetworkConfiguration";
|
|
@@ -856,12 +859,14 @@ const _mAN = "managedAgentName";
|
|
|
856
859
|
const _mAe = "metricAlarms";
|
|
857
860
|
const _mC = "minCapacity";
|
|
858
861
|
const _mCa = "maxCapacity";
|
|
862
|
+
const _mCe = "metricConfigurations";
|
|
859
863
|
const _mD = "managedDraining";
|
|
860
864
|
const _mEBSV = "managedEBSVolume";
|
|
861
865
|
const _mGBPVC = "memoryGiBPerVCpu";
|
|
862
866
|
const _mHP = "minimumHealthyPercent";
|
|
863
867
|
const _mIP = "managedInstancesProvider";
|
|
864
868
|
const _mMB = "memoryMiB";
|
|
869
|
+
const _mN = "metricNames";
|
|
865
870
|
const _mO = "mountOptions";
|
|
866
871
|
const _mP = "mountPoints";
|
|
867
872
|
const _mPa = "maximumPercent";
|
|
@@ -959,6 +964,7 @@ const _rRe = "remainingResources";
|
|
|
959
964
|
const _rReg = "registeredResources";
|
|
960
965
|
const _rS = "rolloutState";
|
|
961
966
|
const _rSR = "rolloutStateReason";
|
|
967
|
+
const _rSe = "resolutionSeconds";
|
|
962
968
|
const _rT = "resourceType";
|
|
963
969
|
const _rTC = "runningTasksCount";
|
|
964
970
|
const _rTCe = "requestedTaskCount";
|
|
@@ -1057,8 +1063,8 @@ const _tC = "timeoutConfiguration";
|
|
|
1057
1063
|
const _tCa = "targetCapacity";
|
|
1058
1064
|
const _tCar = "targetConfiguration";
|
|
1059
1065
|
const _tD = "taskDefinition";
|
|
1060
|
-
const _tDA = "
|
|
1061
|
-
const _tDAa = "
|
|
1066
|
+
const _tDA = "taskDefinitionArn";
|
|
1067
|
+
const _tDAa = "taskDefinitionArns";
|
|
1062
1068
|
const _tDIC = "totalDrainingInstanceCount";
|
|
1063
1069
|
const _tDR = "targetDaemonRevision";
|
|
1064
1070
|
const _tDRA = "targetDaemonRevisionArn";
|
|
@@ -1503,8 +1509,8 @@ export var CreatedAt$ = [3, n0, _CA,
|
|
|
1503
1509
|
];
|
|
1504
1510
|
export var CreateExpressGatewayServiceRequest$ = [3, n0, _CEGSR,
|
|
1505
1511
|
0,
|
|
1506
|
-
[
|
|
1507
|
-
[0, 0, [() => ExpressGatewayContainer$, 0], 0,
|
|
1512
|
+
[_iRA, _eRA, _sN, _cl, _hCP, _pC, _tRA, _nC, _cp, _me, _sTc, _ta, _tDA],
|
|
1513
|
+
[0, 0, 0, 0, 0, [() => ExpressGatewayContainer$, 0], 0, () => ExpressGatewayServiceNetworkConfiguration$, 0, 0, () => ExpressGatewayScalingTarget$, () => Tags, 0], 1
|
|
1508
1514
|
];
|
|
1509
1515
|
export var CreateExpressGatewayServiceResponse$ = [3, n0, _CEGSRr,
|
|
1510
1516
|
0,
|
|
@@ -1518,8 +1524,8 @@ export var CreateManagedInstancesProviderConfiguration$ = [3, n0, _CMIPC,
|
|
|
1518
1524
|
];
|
|
1519
1525
|
export var CreateServiceRequest$ = [3, n0, _CSR,
|
|
1520
1526
|
0,
|
|
1521
|
-
[_sN, _cl, _tD, _aZR, _lB, _sRe, _dCe, _cT, _lT, _cPS, _pV, _ro, _dC, _pCl, _pS, _nC, _hCGPS, _sS, _dCep, _ta, _eECSMT, _pTr, _eEC, _sCC, _vCo, _vLC],
|
|
1522
|
-
[0, 0, 0, 0, () => LoadBalancers, () => ServiceRegistries, 1, 0, 0, () => CapacityProviderStrategy, 0, 0, () => DeploymentConfiguration$, () => PlacementConstraints, () => PlacementStrategies, () => NetworkConfiguration$, 1, 0, () => DeploymentController$, () => Tags, 2, 0, 2, () => ServiceConnectConfiguration$, () => ServiceVolumeConfigurations, () => VpcLatticeConfigurations], 1
|
|
1527
|
+
[_sN, _cl, _tD, _aZR, _lB, _sRe, _dCe, _cT, _lT, _cPS, _pV, _ro, _dC, _pCl, _pS, _nC, _hCGPS, _sS, _dCep, _ta, _eECSMT, _pTr, _eEC, _sCC, _vCo, _vLC, _mo],
|
|
1528
|
+
[0, 0, 0, 0, () => LoadBalancers, () => ServiceRegistries, 1, 0, 0, () => CapacityProviderStrategy, 0, 0, () => DeploymentConfiguration$, () => PlacementConstraints, () => PlacementStrategies, () => NetworkConfiguration$, 1, 0, () => DeploymentController$, () => Tags, 2, 0, 2, () => ServiceConnectConfiguration$, () => ServiceVolumeConfigurations, () => VpcLatticeConfigurations, () => MonitoringConfiguration$], 1
|
|
1523
1529
|
];
|
|
1524
1530
|
export var CreateServiceResponse$ = [3, n0, _CSRr,
|
|
1525
1531
|
0,
|
|
@@ -2038,8 +2044,8 @@ export var ExpressGatewayServiceAwsLogsConfiguration$ = [3, n0, _EGSALC,
|
|
|
2038
2044
|
];
|
|
2039
2045
|
export var ExpressGatewayServiceConfiguration$ = [3, n0, _EGSC,
|
|
2040
2046
|
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]
|
|
2047
|
+
[_sRAe, _eRA, _tRA, _tDA, _cp, _me, _nC, _hCP, _pC, _sTc, _iP, _cAr],
|
|
2048
|
+
[0, 0, 0, 0, 0, 0, () => ExpressGatewayServiceNetworkConfiguration$, 0, [() => ExpressGatewayContainer$, 0], () => ExpressGatewayScalingTarget$, () => IngressPathSummaries, 4]
|
|
2043
2049
|
];
|
|
2044
2050
|
export var ExpressGatewayServiceNetworkConfiguration$ = [3, n0, _EGSNC,
|
|
2045
2051
|
0,
|
|
@@ -2283,7 +2289,7 @@ export var ListTaskDefinitionsRequest$ = [3, n0, _LTDR,
|
|
|
2283
2289
|
];
|
|
2284
2290
|
export var ListTaskDefinitionsResponse$ = [3, n0, _LTDRi,
|
|
2285
2291
|
0,
|
|
2286
|
-
[
|
|
2292
|
+
[_tDAa, _nT],
|
|
2287
2293
|
[64 | 0, 0]
|
|
2288
2294
|
];
|
|
2289
2295
|
export var ListTasksRequest$ = [3, n0, _LTR,
|
|
@@ -2416,6 +2422,16 @@ export var MemoryMiBRequest$ = [3, n0, _MMBR,
|
|
|
2416
2422
|
[_mi, _ma],
|
|
2417
2423
|
[1, 1], 1
|
|
2418
2424
|
];
|
|
2425
|
+
export var MetricConfiguration$ = [3, n0, _MCe,
|
|
2426
|
+
0,
|
|
2427
|
+
[_mN, _rSe],
|
|
2428
|
+
[64 | 0, 1], 2
|
|
2429
|
+
];
|
|
2430
|
+
export var MonitoringConfiguration$ = [3, n0, _MCo,
|
|
2431
|
+
0,
|
|
2432
|
+
[_mCe],
|
|
2433
|
+
[() => MetricConfigurationList]
|
|
2434
|
+
];
|
|
2419
2435
|
export var MountPoint$ = [3, n0, _MP,
|
|
2420
2436
|
0,
|
|
2421
2437
|
[_sV, _cPo, _rO],
|
|
@@ -2698,8 +2714,8 @@ export var ServiceRegistry$ = [3, n0, _SR,
|
|
|
2698
2714
|
];
|
|
2699
2715
|
export var ServiceRevision$ = [3, n0, _SRe,
|
|
2700
2716
|
0,
|
|
2701
|
-
[_sRAe, _sAe, _cA, _tD, _cPS, _lT, _pV, _pF, _lB, _sRe, _nC, _cI, _gDE, _sCC, _vCo, _fES, _cAr, _vLC, _rCes, _eMR],
|
|
2702
|
-
[0, 0, 0, 0, () => CapacityProviderStrategy, 0, 0, 0, () => LoadBalancers, () => ServiceRegistries, () => NetworkConfiguration$, () => ContainerImages, 2, () => ServiceConnectConfiguration$, () => ServiceVolumeConfigurations, () => DeploymentEphemeralStorage$, 4, () => VpcLatticeConfigurations, () => ResolvedConfiguration$, () => ECSManagedResources$]
|
|
2717
|
+
[_sRAe, _sAe, _cA, _tD, _cPS, _lT, _pV, _pF, _lB, _sRe, _nC, _cI, _gDE, _sCC, _vCo, _fES, _cAr, _vLC, _rCes, _eMR, _mo],
|
|
2718
|
+
[0, 0, 0, 0, () => CapacityProviderStrategy, 0, 0, 0, () => LoadBalancers, () => ServiceRegistries, () => NetworkConfiguration$, () => ContainerImages, 2, () => ServiceConnectConfiguration$, () => ServiceVolumeConfigurations, () => DeploymentEphemeralStorage$, 4, () => VpcLatticeConfigurations, () => ResolvedConfiguration$, () => ECSManagedResources$, () => MonitoringConfiguration$]
|
|
2703
2719
|
];
|
|
2704
2720
|
export var ServiceRevisionLoadBalancer$ = [3, n0, _SRLB,
|
|
2705
2721
|
0,
|
|
@@ -2808,12 +2824,12 @@ export var TagResourceResponse$ = [3, n0, _TRRa,
|
|
|
2808
2824
|
];
|
|
2809
2825
|
export var Task$ = [3, n0, _Ta,
|
|
2810
2826
|
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,
|
|
2827
|
+
[_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
2828
|
[() => 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
2829
|
];
|
|
2814
2830
|
export var TaskDefinition$ = [3, n0, _TD,
|
|
2815
2831
|
0,
|
|
2816
|
-
[
|
|
2832
|
+
[_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
2833
|
[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
2834
|
];
|
|
2819
2835
|
export var TaskDefinitionPlacementConstraint$ = [3, n0, _TDPC,
|
|
@@ -2948,8 +2964,8 @@ export var UpdatedExpressGatewayService$ = [3, n0, _UEGS,
|
|
|
2948
2964
|
];
|
|
2949
2965
|
export var UpdateExpressGatewayServiceRequest$ = [3, n0, _UEGSR,
|
|
2950
2966
|
0,
|
|
2951
|
-
[_sAe, _eRA, _hCP, _pC, _tRA, _nC, _cp, _me, _sTc],
|
|
2952
|
-
[0, 0, 0, [() => ExpressGatewayContainer$, 0], 0, () => ExpressGatewayServiceNetworkConfiguration$, 0, 0, () => ExpressGatewayScalingTarget
|
|
2967
|
+
[_sAe, _eRA, _hCP, _pC, _tRA, _nC, _cp, _me, _sTc, _tDA],
|
|
2968
|
+
[0, 0, 0, [() => ExpressGatewayContainer$, 0], 0, () => ExpressGatewayServiceNetworkConfiguration$, 0, 0, () => ExpressGatewayScalingTarget$, 0], 1
|
|
2953
2969
|
];
|
|
2954
2970
|
export var UpdateExpressGatewayServiceResponse$ = [3, n0, _UEGSRp,
|
|
2955
2971
|
0,
|
|
@@ -2973,8 +2989,8 @@ export var UpdateServicePrimaryTaskSetResponse$ = [3, n0, _USPTSRp,
|
|
|
2973
2989
|
];
|
|
2974
2990
|
export var UpdateServiceRequest$ = [3, n0, _USR,
|
|
2975
2991
|
0,
|
|
2976
|
-
[_ser, _cl, _dCe, _tD, _cPS, _dC, _aZR, _nC, _pCl, _pS, _pV, _fND, _hCGPS, _dCep, _eEC, _eECSMT, _lB, _pTr, _sRe, _sCC, _vCo, _vLC],
|
|
2977
|
-
[0, 0, 1, 0, () => CapacityProviderStrategy, () => DeploymentConfiguration$, 0, () => NetworkConfiguration$, () => PlacementConstraints, () => PlacementStrategies, 0, 2, 1, () => DeploymentController$, 2, 2, () => LoadBalancers, 0, () => ServiceRegistries, () => ServiceConnectConfiguration$, () => ServiceVolumeConfigurations, () => VpcLatticeConfigurations], 1
|
|
2992
|
+
[_ser, _cl, _dCe, _tD, _cPS, _dC, _aZR, _nC, _pCl, _pS, _pV, _fND, _hCGPS, _dCep, _eEC, _eECSMT, _lB, _pTr, _sRe, _sCC, _vCo, _vLC, _mo],
|
|
2993
|
+
[0, 0, 1, 0, () => CapacityProviderStrategy, () => DeploymentConfiguration$, 0, () => NetworkConfiguration$, () => PlacementConstraints, () => PlacementStrategies, 0, 2, 1, () => DeploymentController$, 2, 2, () => LoadBalancers, 0, () => ServiceRegistries, () => ServiceConnectConfiguration$, () => ServiceVolumeConfigurations, () => VpcLatticeConfigurations, () => MonitoringConfiguration$], 1
|
|
2978
2994
|
];
|
|
2979
2995
|
export var UpdateServiceResponse$ = [3, n0, _USRp,
|
|
2980
2996
|
0,
|
|
@@ -3223,6 +3239,10 @@ var ManagedSecurityGroups = [1, n0, _MSGa,
|
|
|
3223
3239
|
var ManagedTargetGroups = [1, n0, _MTGa,
|
|
3224
3240
|
0, () => ManagedTargetGroup$
|
|
3225
3241
|
];
|
|
3242
|
+
var MetricConfigurationList = [1, n0, _MCL,
|
|
3243
|
+
0, () => MetricConfiguration$
|
|
3244
|
+
];
|
|
3245
|
+
var MetricNamesList = 64 | 0;
|
|
3226
3246
|
var MountPointList = [1, n0, _MPL,
|
|
3227
3247
|
0, () => MountPoint$
|
|
3228
3248
|
];
|
|
@@ -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
|
|
@@ -242,6 +242,16 @@ declare const CreateServiceCommand_base: {
|
|
|
242
242
|
* portName: "STRING_VALUE", // required
|
|
243
243
|
* },
|
|
244
244
|
* ],
|
|
245
|
+
* monitoring: { // MonitoringConfiguration
|
|
246
|
+
* metricConfigurations: [ // MetricConfigurationList
|
|
247
|
+
* { // MetricConfiguration
|
|
248
|
+
* metricNames: [ // MetricNamesList // required
|
|
249
|
+
* "STRING_VALUE",
|
|
250
|
+
* ],
|
|
251
|
+
* resolutionSeconds: Number("int"), // required
|
|
252
|
+
* },
|
|
253
|
+
* ],
|
|
254
|
+
* },
|
|
245
255
|
* };
|
|
246
256
|
* const command = new CreateServiceCommand(input);
|
|
247
257
|
* const response = await client.send(command);
|
|
@@ -814,6 +824,47 @@ declare const CreateServiceCommand_base: {
|
|
|
814
824
|
* *\/
|
|
815
825
|
* ```
|
|
816
826
|
*
|
|
827
|
+
* @example To create a service with a monitoring configuration
|
|
828
|
+
* ```javascript
|
|
829
|
+
* // This example creates a service with a monitoring configuration that sets 20-second resolution for CPUUtilization and MemoryUtilization CloudWatch metrics. The monitoring configuration is not returned in the CreateService response. Use DescribeServiceRevisions to view the monitoring configuration.
|
|
830
|
+
* const input = {
|
|
831
|
+
* desiredCount: 2,
|
|
832
|
+
* monitoring: {
|
|
833
|
+
* metricConfigurations: [
|
|
834
|
+
* {
|
|
835
|
+
* metricNames: [
|
|
836
|
+
* "CPUUtilization",
|
|
837
|
+
* "MemoryUtilization"
|
|
838
|
+
* ],
|
|
839
|
+
* resolutionSeconds: 20
|
|
840
|
+
* }
|
|
841
|
+
* ]
|
|
842
|
+
* },
|
|
843
|
+
* serviceName: "ecs-monitored-service",
|
|
844
|
+
* taskDefinition: "my-app:1"
|
|
845
|
+
* };
|
|
846
|
+
* const command = new CreateServiceCommand(input);
|
|
847
|
+
* const response = await client.send(command);
|
|
848
|
+
* /* response is
|
|
849
|
+
* {
|
|
850
|
+
* service: {
|
|
851
|
+
* clusterArn: "arn:aws:ecs:us-east-1:012345678910:cluster/default",
|
|
852
|
+
* deploymentConfiguration: {
|
|
853
|
+
* maximumPercent: 200,
|
|
854
|
+
* minimumHealthyPercent: 100
|
|
855
|
+
* },
|
|
856
|
+
* desiredCount: 2,
|
|
857
|
+
* pendingCount: 0,
|
|
858
|
+
* runningCount: 0,
|
|
859
|
+
* serviceArn: "arn:aws:ecs:us-east-1:012345678910:service/default/ecs-monitored-service",
|
|
860
|
+
* serviceName: "ecs-monitored-service",
|
|
861
|
+
* status: "ACTIVE",
|
|
862
|
+
* taskDefinition: "arn:aws:ecs:us-east-1:012345678910:task-definition/my-app:1"
|
|
863
|
+
* }
|
|
864
|
+
* }
|
|
865
|
+
* *\/
|
|
866
|
+
* ```
|
|
867
|
+
*
|
|
817
868
|
* @public
|
|
818
869
|
*/
|
|
819
870
|
export declare class CreateServiceCommand extends CreateServiceCommand_base {
|
|
@@ -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"
|
|
@@ -309,6 +309,16 @@ declare const DescribeServiceRevisionsCommand_base: {
|
|
|
309
309
|
* // },
|
|
310
310
|
* // ],
|
|
311
311
|
* // },
|
|
312
|
+
* // monitoring: { // MonitoringConfiguration
|
|
313
|
+
* // metricConfigurations: [ // MetricConfigurationList
|
|
314
|
+
* // { // MetricConfiguration
|
|
315
|
+
* // metricNames: [ // MetricNamesList // required
|
|
316
|
+
* // "STRING_VALUE",
|
|
317
|
+
* // ],
|
|
318
|
+
* // resolutionSeconds: Number("int"), // required
|
|
319
|
+
* // },
|
|
320
|
+
* // ],
|
|
321
|
+
* // },
|
|
312
322
|
* // },
|
|
313
323
|
* // ],
|
|
314
324
|
* // failures: [ // Failures
|
|
@@ -393,6 +403,46 @@ declare const DescribeServiceRevisionsCommand_base: {
|
|
|
393
403
|
* *\/
|
|
394
404
|
* ```
|
|
395
405
|
*
|
|
406
|
+
* @example To describe a service revision with a monitoring configuration
|
|
407
|
+
* ```javascript
|
|
408
|
+
* // This example describes a service revision that has a monitoring configuration with 20-second resolution for CPUUtilization and MemoryUtilization CloudWatch metrics.
|
|
409
|
+
* const input = {
|
|
410
|
+
* serviceRevisionArns: [
|
|
411
|
+
* "arn:aws:ecs:us-east-1:012345678910:service-revision/default/ecs-monitored-service/8675309012345678901"
|
|
412
|
+
* ]
|
|
413
|
+
* };
|
|
414
|
+
* const command = new DescribeServiceRevisionsCommand(input);
|
|
415
|
+
* const response = await client.send(command);
|
|
416
|
+
* /* response is
|
|
417
|
+
* {
|
|
418
|
+
* failures: [],
|
|
419
|
+
* serviceRevisions: [
|
|
420
|
+
* {
|
|
421
|
+
* clusterArn: "arn:aws:ecs:us-east-1:012345678910:cluster/default",
|
|
422
|
+
* createdAt: "2026-06-10T12:00:00.00Z",
|
|
423
|
+
* launchType: "FARGATE",
|
|
424
|
+
* monitoring: {
|
|
425
|
+
* metricConfigurations: [
|
|
426
|
+
* {
|
|
427
|
+
* metricNames: [
|
|
428
|
+
* "CPUUtilization",
|
|
429
|
+
* "MemoryUtilization"
|
|
430
|
+
* ],
|
|
431
|
+
* resolutionSeconds: 20
|
|
432
|
+
* }
|
|
433
|
+
* ]
|
|
434
|
+
* },
|
|
435
|
+
* platformFamily: "DockerLinux",
|
|
436
|
+
* platformVersion: "1.4.0",
|
|
437
|
+
* serviceArn: "arn:aws:ecs:us-east-1:012345678910:service/default/ecs-monitored-service",
|
|
438
|
+
* serviceRevisionArn: "arn:aws:ecs:us-east-1:012345678910:service-revision/default/ecs-monitored-service/8675309012345678901",
|
|
439
|
+
* taskDefinition: "arn:aws:ecs:us-east-1:012345678910:task-definition/my-app:1"
|
|
440
|
+
* }
|
|
441
|
+
* ]
|
|
442
|
+
* }
|
|
443
|
+
* *\/
|
|
444
|
+
* ```
|
|
445
|
+
*
|
|
396
446
|
* @public
|
|
397
447
|
*/
|
|
398
448
|
export declare class DescribeServiceRevisionsCommand extends DescribeServiceRevisionsCommand_base {
|
|
@@ -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
|
|
@@ -233,6 +233,16 @@ declare const UpdateServiceCommand_base: {
|
|
|
233
233
|
* portName: "STRING_VALUE", // required
|
|
234
234
|
* },
|
|
235
235
|
* ],
|
|
236
|
+
* monitoring: { // MonitoringConfiguration
|
|
237
|
+
* metricConfigurations: [ // MetricConfigurationList
|
|
238
|
+
* { // MetricConfiguration
|
|
239
|
+
* metricNames: [ // MetricNamesList // required
|
|
240
|
+
* "STRING_VALUE",
|
|
241
|
+
* ],
|
|
242
|
+
* resolutionSeconds: Number("int"), // required
|
|
243
|
+
* },
|
|
244
|
+
* ],
|
|
245
|
+
* },
|
|
236
246
|
* };
|
|
237
247
|
* const command = new UpdateServiceCommand(input);
|
|
238
248
|
* const response = await client.send(command);
|
|
@@ -679,6 +689,30 @@ declare const UpdateServiceCommand_base: {
|
|
|
679
689
|
* *\/
|
|
680
690
|
* ```
|
|
681
691
|
*
|
|
692
|
+
* @example To update a service with a monitoring configuration
|
|
693
|
+
* ```javascript
|
|
694
|
+
* // This example updates a service to add a monitoring configuration that sets 20-second resolution for CPUUtilization and MemoryUtilization CloudWatch metrics. The monitoring configuration is not returned in the UpdateService response. Use DescribeServiceRevisions to view the monitoring configuration.
|
|
695
|
+
* const input = {
|
|
696
|
+
* monitoring: {
|
|
697
|
+
* metricConfigurations: [
|
|
698
|
+
* {
|
|
699
|
+
* metricNames: [
|
|
700
|
+
* "CPUUtilization",
|
|
701
|
+
* "MemoryUtilization"
|
|
702
|
+
* ],
|
|
703
|
+
* resolutionSeconds: 20
|
|
704
|
+
* }
|
|
705
|
+
* ]
|
|
706
|
+
* },
|
|
707
|
+
* service: "ecs-monitored-service"
|
|
708
|
+
* };
|
|
709
|
+
* const command = new UpdateServiceCommand(input);
|
|
710
|
+
* const response = await client.send(command);
|
|
711
|
+
* /* response is
|
|
712
|
+
* { /* empty *\/ }
|
|
713
|
+
* *\/
|
|
714
|
+
* ```
|
|
715
|
+
*
|
|
682
716
|
* @public
|
|
683
717
|
*/
|
|
684
718
|
export declare class UpdateServiceCommand extends UpdateServiceCommand_base {
|
|
@@ -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 {
|