@aws-sdk/client-ecs 3.1071.0 → 3.1073.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 +28 -6
- package/dist-es/schemas/schemas_0.js +26 -6
- package/dist-types/commands/CreateServiceCommand.d.ts +51 -0
- package/dist-types/commands/DescribeServiceRevisionsCommand.d.ts +50 -0
- package/dist-types/commands/UpdateServiceCommand.d.ts +34 -0
- package/dist-types/models/models_0.d.ts +37 -117
- 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 +9 -25
- 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 +1 -1
|
@@ -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";
|
|
@@ -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,
|
|
@@ -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,
|
|
@@ -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";
|
|
@@ -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,
|
|
@@ -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,
|
|
@@ -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
|
];
|
|
@@ -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 {
|
|
@@ -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 {
|
|
@@ -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 {
|
|
@@ -5894,6 +5894,33 @@ export interface LoadBalancer {
|
|
|
5894
5894
|
*/
|
|
5895
5895
|
advancedConfiguration?: AdvancedConfiguration | undefined;
|
|
5896
5896
|
}
|
|
5897
|
+
/**
|
|
5898
|
+
* <p>The configuration for a specific set of metrics to collect for a service.</p>
|
|
5899
|
+
* @public
|
|
5900
|
+
*/
|
|
5901
|
+
export interface MetricConfiguration {
|
|
5902
|
+
/**
|
|
5903
|
+
* <p>The list of metric names to configure. The supported metric names are <code>CPUUtilization</code> and <code>MemoryUtilization</code>.</p>
|
|
5904
|
+
* @public
|
|
5905
|
+
*/
|
|
5906
|
+
metricNames: string[] | undefined;
|
|
5907
|
+
/**
|
|
5908
|
+
* <p>The resolution, in seconds, at which to collect the metrics. The valid values are <code>20</code> and <code>60</code>.</p>
|
|
5909
|
+
* @public
|
|
5910
|
+
*/
|
|
5911
|
+
resolutionSeconds: number | undefined;
|
|
5912
|
+
}
|
|
5913
|
+
/**
|
|
5914
|
+
* <p>The optional monitoring configuration for a service, which defines the resolution for the service-level <code>CPUUtilization</code> and <code>MemoryUtilization</code> Amazon CloudWatch metrics. When not specified, Amazon ECS uses the default resolution of <code>60</code> seconds.</p>
|
|
5915
|
+
* @public
|
|
5916
|
+
*/
|
|
5917
|
+
export interface MonitoringConfiguration {
|
|
5918
|
+
/**
|
|
5919
|
+
* <p>The list of metric configurations for the service monitoring.</p>
|
|
5920
|
+
* @public
|
|
5921
|
+
*/
|
|
5922
|
+
metricConfigurations?: MetricConfiguration[] | undefined;
|
|
5923
|
+
}
|
|
5897
5924
|
/**
|
|
5898
5925
|
* <p>An object representing the networking details for a task or service. For example <code>awsVpcConfiguration=\{subnets=["subnet-12344321"],securityGroups=["sg-12344321"]\}</code>.</p>
|
|
5899
5926
|
* @public
|
|
@@ -6428,6 +6455,11 @@ export interface CreateServiceRequest {
|
|
|
6428
6455
|
* @public
|
|
6429
6456
|
*/
|
|
6430
6457
|
vpcLatticeConfigurations?: VpcLatticeConfiguration[] | undefined;
|
|
6458
|
+
/**
|
|
6459
|
+
* <p>The optional monitoring configuration for the service, which defines the resolution for the service-level <code>CPUUtilization</code> and <code>MemoryUtilization</code> Amazon CloudWatch metrics. When not specified, Amazon ECS uses the default resolution of <code>60</code> seconds.</p>
|
|
6460
|
+
* @public
|
|
6461
|
+
*/
|
|
6462
|
+
monitoring?: MonitoringConfiguration | undefined;
|
|
6431
6463
|
}
|
|
6432
6464
|
/**
|
|
6433
6465
|
* <p>The summary of the current service revision configuration</p>
|
|
@@ -7466,6 +7498,11 @@ export interface UpdateServiceRequest {
|
|
|
7466
7498
|
* @public
|
|
7467
7499
|
*/
|
|
7468
7500
|
vpcLatticeConfigurations?: VpcLatticeConfiguration[] | undefined;
|
|
7501
|
+
/**
|
|
7502
|
+
* <p>The optional monitoring configuration for the service, which defines the resolution for the service-level <code>CPUUtilization</code> and <code>MemoryUtilization</code> Amazon CloudWatch metrics. When not specified, Amazon ECS uses the default resolution of <code>60</code> seconds.</p>
|
|
7503
|
+
* @public
|
|
7504
|
+
*/
|
|
7505
|
+
monitoring?: MonitoringConfiguration | undefined;
|
|
7469
7506
|
}
|
|
7470
7507
|
/**
|
|
7471
7508
|
*
|
|
@@ -7973,120 +8010,3 @@ export interface ServiceRevisionLoadBalancer {
|
|
|
7973
8010
|
*/
|
|
7974
8011
|
productionListenerRule?: string | undefined;
|
|
7975
8012
|
}
|
|
7976
|
-
/**
|
|
7977
|
-
* <p>The resolved configuration for a service revision, which contains the actual resources your service revision uses, such as which target groups serve traffic.</p>
|
|
7978
|
-
* @public
|
|
7979
|
-
*/
|
|
7980
|
-
export interface ResolvedConfiguration {
|
|
7981
|
-
/**
|
|
7982
|
-
* <p>The resolved load balancer configuration for the service revision. This includes information about which target groups serve traffic and which listener rules direct traffic to them.</p>
|
|
7983
|
-
* @public
|
|
7984
|
-
*/
|
|
7985
|
-
loadBalancers?: ServiceRevisionLoadBalancer[] | undefined;
|
|
7986
|
-
}
|
|
7987
|
-
/**
|
|
7988
|
-
* <p>Information about the service revision.</p> <p>A service revision contains a record of the workload configuration Amazon ECS is attempting to deploy. Whenever you create or deploy a service, Amazon ECS automatically creates and captures the configuration that you're trying to deploy in the service revision. For information about service revisions, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-revision.html">Amazon ECS service revisions</a> in the <i> <i>Amazon Elastic Container Service Developer Guide</i> </i>.</p>
|
|
7989
|
-
* @public
|
|
7990
|
-
*/
|
|
7991
|
-
export interface ServiceRevision {
|
|
7992
|
-
/**
|
|
7993
|
-
* <p>The ARN of the service revision.</p>
|
|
7994
|
-
* @public
|
|
7995
|
-
*/
|
|
7996
|
-
serviceRevisionArn?: string | undefined;
|
|
7997
|
-
/**
|
|
7998
|
-
* <p>The ARN of the service for the service revision.</p>
|
|
7999
|
-
* @public
|
|
8000
|
-
*/
|
|
8001
|
-
serviceArn?: string | undefined;
|
|
8002
|
-
/**
|
|
8003
|
-
* <p>The ARN of the cluster that hosts the service.</p>
|
|
8004
|
-
* @public
|
|
8005
|
-
*/
|
|
8006
|
-
clusterArn?: string | undefined;
|
|
8007
|
-
/**
|
|
8008
|
-
* <p>The task definition the service revision uses.</p>
|
|
8009
|
-
* @public
|
|
8010
|
-
*/
|
|
8011
|
-
taskDefinition?: string | undefined;
|
|
8012
|
-
/**
|
|
8013
|
-
* <p>The capacity provider strategy the service revision uses.</p>
|
|
8014
|
-
* @public
|
|
8015
|
-
*/
|
|
8016
|
-
capacityProviderStrategy?: CapacityProviderStrategyItem[] | undefined;
|
|
8017
|
-
/**
|
|
8018
|
-
* <p>The launch type the service revision uses.</p>
|
|
8019
|
-
* @public
|
|
8020
|
-
*/
|
|
8021
|
-
launchType?: LaunchType | undefined;
|
|
8022
|
-
/**
|
|
8023
|
-
* <p>For the Fargate launch type, the platform version the service revision uses.</p>
|
|
8024
|
-
* @public
|
|
8025
|
-
*/
|
|
8026
|
-
platformVersion?: string | undefined;
|
|
8027
|
-
/**
|
|
8028
|
-
* <p>The platform family the service revision uses.</p>
|
|
8029
|
-
* @public
|
|
8030
|
-
*/
|
|
8031
|
-
platformFamily?: string | undefined;
|
|
8032
|
-
/**
|
|
8033
|
-
* <p>The load balancers the service revision uses.</p>
|
|
8034
|
-
* @public
|
|
8035
|
-
*/
|
|
8036
|
-
loadBalancers?: LoadBalancer[] | undefined;
|
|
8037
|
-
/**
|
|
8038
|
-
* <p>The service registries (for Service Discovery) the service revision uses.</p>
|
|
8039
|
-
* @public
|
|
8040
|
-
*/
|
|
8041
|
-
serviceRegistries?: ServiceRegistry[] | undefined;
|
|
8042
|
-
/**
|
|
8043
|
-
* <p>The network configuration for a task or service.</p>
|
|
8044
|
-
* @public
|
|
8045
|
-
*/
|
|
8046
|
-
networkConfiguration?: NetworkConfiguration | undefined;
|
|
8047
|
-
/**
|
|
8048
|
-
* <p>The container images the service revision uses.</p>
|
|
8049
|
-
* @public
|
|
8050
|
-
*/
|
|
8051
|
-
containerImages?: ContainerImage[] | undefined;
|
|
8052
|
-
/**
|
|
8053
|
-
* <p>Indicates whether Runtime Monitoring is turned on.</p>
|
|
8054
|
-
* @public
|
|
8055
|
-
*/
|
|
8056
|
-
guardDutyEnabled?: boolean | undefined;
|
|
8057
|
-
/**
|
|
8058
|
-
* <p>The Service Connect configuration of your Amazon ECS service. The configuration for this service to discover and connect to services, and be discovered by, and connected from, other services within a namespace.</p> <p>Tasks that run in a namespace can use short names to connect to services in the namespace. Tasks can connect to services across all of the clusters in the namespace. Tasks connect through a managed proxy container that collects logs and metrics for increased visibility. Only the tasks that Amazon ECS services create are supported with Service Connect. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-connect.html">Service Connect</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
|
|
8059
|
-
* @public
|
|
8060
|
-
*/
|
|
8061
|
-
serviceConnectConfiguration?: ServiceConnectConfiguration | undefined;
|
|
8062
|
-
/**
|
|
8063
|
-
* <p>The volumes that are configured at deployment that the service revision uses.</p>
|
|
8064
|
-
* @public
|
|
8065
|
-
*/
|
|
8066
|
-
volumeConfigurations?: ServiceVolumeConfiguration[] | undefined;
|
|
8067
|
-
/**
|
|
8068
|
-
* <p>The amount of ephemeral storage to allocate for the deployment.</p>
|
|
8069
|
-
* @public
|
|
8070
|
-
*/
|
|
8071
|
-
fargateEphemeralStorage?: DeploymentEphemeralStorage | undefined;
|
|
8072
|
-
/**
|
|
8073
|
-
* <p>The time that the service revision was created. The format is yyyy-mm-dd HH:mm:ss.SSSSS.</p>
|
|
8074
|
-
* @public
|
|
8075
|
-
*/
|
|
8076
|
-
createdAt?: Date | undefined;
|
|
8077
|
-
/**
|
|
8078
|
-
* <p>The VPC Lattice configuration for the service revision.</p>
|
|
8079
|
-
* @public
|
|
8080
|
-
*/
|
|
8081
|
-
vpcLatticeConfigurations?: VpcLatticeConfiguration[] | undefined;
|
|
8082
|
-
/**
|
|
8083
|
-
* <p>The resolved configuration for the service revision which contains the actual resources your service revision uses, such as which target groups serve traffic.</p>
|
|
8084
|
-
* @public
|
|
8085
|
-
*/
|
|
8086
|
-
resolvedConfiguration?: ResolvedConfiguration | undefined;
|
|
8087
|
-
/**
|
|
8088
|
-
* <p>The resources created and managed by Amazon ECS when you create an Express service for Amazon ECS.</p>
|
|
8089
|
-
* @public
|
|
8090
|
-
*/
|
|
8091
|
-
ecsManagedResources?: ECSManagedResources | undefined;
|
|
8092
|
-
}
|
|
@@ -1,5 +1,127 @@
|
|
|
1
1
|
import type { Compatibility, Connectivity, HealthStatus, IpcMode, LaunchType, ManagedAgentName, NetworkMode, PidMode, PropagateTags, SortOrder, TaskDefinitionStatus, TaskField, TaskFilesystemType, TaskSetField, TaskStopCode } from "./enums";
|
|
2
|
-
import type { Attachment, Attribute, CapacityProviderStrategyItem, ContainerDefinition, EBSTagSpecification, EnvironmentFile, EphemeralStorage, Failure, InferenceAccelerator, KeyValuePair, LoadBalancer, NetworkBinding, NetworkConfiguration, PlacementConstraint, PlacementStrategy, ProxyConfiguration, ResourceRequirement, RuntimePlatform, Scale, ServiceRegistry,
|
|
2
|
+
import type { Attachment, Attribute, CapacityProviderStrategyItem, ContainerDefinition, ContainerImage, DeploymentEphemeralStorage, EBSTagSpecification, ECSManagedResources, EnvironmentFile, EphemeralStorage, Failure, InferenceAccelerator, KeyValuePair, LoadBalancer, MonitoringConfiguration, NetworkBinding, NetworkConfiguration, PlacementConstraint, PlacementStrategy, ProxyConfiguration, ResourceRequirement, RuntimePlatform, Scale, ServiceConnectConfiguration, ServiceRegistry, ServiceRevisionLoadBalancer, ServiceVolumeConfiguration, Tag, TaskDefinition, TaskDefinitionPlacementConstraint, TaskSet, Volume, VpcLatticeConfiguration } from "./models_0";
|
|
3
|
+
/**
|
|
4
|
+
* <p>The resolved configuration for a service revision, which contains the actual resources your service revision uses, such as which target groups serve traffic.</p>
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export interface ResolvedConfiguration {
|
|
8
|
+
/**
|
|
9
|
+
* <p>The resolved load balancer configuration for the service revision. This includes information about which target groups serve traffic and which listener rules direct traffic to them.</p>
|
|
10
|
+
* @public
|
|
11
|
+
*/
|
|
12
|
+
loadBalancers?: ServiceRevisionLoadBalancer[] | undefined;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* <p>Information about the service revision.</p> <p>A service revision contains a record of the workload configuration Amazon ECS is attempting to deploy. Whenever you create or deploy a service, Amazon ECS automatically creates and captures the configuration that you're trying to deploy in the service revision. For information about service revisions, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-revision.html">Amazon ECS service revisions</a> in the <i> <i>Amazon Elastic Container Service Developer Guide</i> </i>.</p>
|
|
16
|
+
* @public
|
|
17
|
+
*/
|
|
18
|
+
export interface ServiceRevision {
|
|
19
|
+
/**
|
|
20
|
+
* <p>The ARN of the service revision.</p>
|
|
21
|
+
* @public
|
|
22
|
+
*/
|
|
23
|
+
serviceRevisionArn?: string | undefined;
|
|
24
|
+
/**
|
|
25
|
+
* <p>The ARN of the service for the service revision.</p>
|
|
26
|
+
* @public
|
|
27
|
+
*/
|
|
28
|
+
serviceArn?: string | undefined;
|
|
29
|
+
/**
|
|
30
|
+
* <p>The ARN of the cluster that hosts the service.</p>
|
|
31
|
+
* @public
|
|
32
|
+
*/
|
|
33
|
+
clusterArn?: string | undefined;
|
|
34
|
+
/**
|
|
35
|
+
* <p>The task definition the service revision uses.</p>
|
|
36
|
+
* @public
|
|
37
|
+
*/
|
|
38
|
+
taskDefinition?: string | undefined;
|
|
39
|
+
/**
|
|
40
|
+
* <p>The capacity provider strategy the service revision uses.</p>
|
|
41
|
+
* @public
|
|
42
|
+
*/
|
|
43
|
+
capacityProviderStrategy?: CapacityProviderStrategyItem[] | undefined;
|
|
44
|
+
/**
|
|
45
|
+
* <p>The launch type the service revision uses.</p>
|
|
46
|
+
* @public
|
|
47
|
+
*/
|
|
48
|
+
launchType?: LaunchType | undefined;
|
|
49
|
+
/**
|
|
50
|
+
* <p>For the Fargate launch type, the platform version the service revision uses.</p>
|
|
51
|
+
* @public
|
|
52
|
+
*/
|
|
53
|
+
platformVersion?: string | undefined;
|
|
54
|
+
/**
|
|
55
|
+
* <p>The platform family the service revision uses.</p>
|
|
56
|
+
* @public
|
|
57
|
+
*/
|
|
58
|
+
platformFamily?: string | undefined;
|
|
59
|
+
/**
|
|
60
|
+
* <p>The load balancers the service revision uses.</p>
|
|
61
|
+
* @public
|
|
62
|
+
*/
|
|
63
|
+
loadBalancers?: LoadBalancer[] | undefined;
|
|
64
|
+
/**
|
|
65
|
+
* <p>The service registries (for Service Discovery) the service revision uses.</p>
|
|
66
|
+
* @public
|
|
67
|
+
*/
|
|
68
|
+
serviceRegistries?: ServiceRegistry[] | undefined;
|
|
69
|
+
/**
|
|
70
|
+
* <p>The network configuration for a task or service.</p>
|
|
71
|
+
* @public
|
|
72
|
+
*/
|
|
73
|
+
networkConfiguration?: NetworkConfiguration | undefined;
|
|
74
|
+
/**
|
|
75
|
+
* <p>The container images the service revision uses.</p>
|
|
76
|
+
* @public
|
|
77
|
+
*/
|
|
78
|
+
containerImages?: ContainerImage[] | undefined;
|
|
79
|
+
/**
|
|
80
|
+
* <p>Indicates whether Runtime Monitoring is turned on.</p>
|
|
81
|
+
* @public
|
|
82
|
+
*/
|
|
83
|
+
guardDutyEnabled?: boolean | undefined;
|
|
84
|
+
/**
|
|
85
|
+
* <p>The Service Connect configuration of your Amazon ECS service. The configuration for this service to discover and connect to services, and be discovered by, and connected from, other services within a namespace.</p> <p>Tasks that run in a namespace can use short names to connect to services in the namespace. Tasks can connect to services across all of the clusters in the namespace. Tasks connect through a managed proxy container that collects logs and metrics for increased visibility. Only the tasks that Amazon ECS services create are supported with Service Connect. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-connect.html">Service Connect</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
|
|
86
|
+
* @public
|
|
87
|
+
*/
|
|
88
|
+
serviceConnectConfiguration?: ServiceConnectConfiguration | undefined;
|
|
89
|
+
/**
|
|
90
|
+
* <p>The volumes that are configured at deployment that the service revision uses.</p>
|
|
91
|
+
* @public
|
|
92
|
+
*/
|
|
93
|
+
volumeConfigurations?: ServiceVolumeConfiguration[] | undefined;
|
|
94
|
+
/**
|
|
95
|
+
* <p>The amount of ephemeral storage to allocate for the deployment.</p>
|
|
96
|
+
* @public
|
|
97
|
+
*/
|
|
98
|
+
fargateEphemeralStorage?: DeploymentEphemeralStorage | undefined;
|
|
99
|
+
/**
|
|
100
|
+
* <p>The time that the service revision was created. The format is yyyy-mm-dd HH:mm:ss.SSSSS.</p>
|
|
101
|
+
* @public
|
|
102
|
+
*/
|
|
103
|
+
createdAt?: Date | undefined;
|
|
104
|
+
/**
|
|
105
|
+
* <p>The VPC Lattice configuration for the service revision.</p>
|
|
106
|
+
* @public
|
|
107
|
+
*/
|
|
108
|
+
vpcLatticeConfigurations?: VpcLatticeConfiguration[] | undefined;
|
|
109
|
+
/**
|
|
110
|
+
* <p>The resolved configuration for the service revision which contains the actual resources your service revision uses, such as which target groups serve traffic.</p>
|
|
111
|
+
* @public
|
|
112
|
+
*/
|
|
113
|
+
resolvedConfiguration?: ResolvedConfiguration | undefined;
|
|
114
|
+
/**
|
|
115
|
+
* <p>The resources created and managed by Amazon ECS when you create an Express service for Amazon ECS.</p>
|
|
116
|
+
* @public
|
|
117
|
+
*/
|
|
118
|
+
ecsManagedResources?: ECSManagedResources | undefined;
|
|
119
|
+
/**
|
|
120
|
+
* <p>The optional monitoring configuration for the service, which defines the resolution for the service-level <code>CPUUtilization</code> and <code>MemoryUtilization</code> Amazon CloudWatch metrics. When not specified, Amazon ECS uses the default resolution of <code>60</code> seconds.</p>
|
|
121
|
+
* @public
|
|
122
|
+
*/
|
|
123
|
+
monitoring?: MonitoringConfiguration | undefined;
|
|
124
|
+
}
|
|
3
125
|
/**
|
|
4
126
|
* @public
|
|
5
127
|
*/
|
|
@@ -258,6 +258,8 @@ export declare var ManagedStorageConfiguration$: StaticStructureSchema;
|
|
|
258
258
|
export declare var ManagedTargetGroup$: StaticStructureSchema;
|
|
259
259
|
export declare var MemoryGiBPerVCpuRequest$: StaticStructureSchema;
|
|
260
260
|
export declare var MemoryMiBRequest$: StaticStructureSchema;
|
|
261
|
+
export declare var MetricConfiguration$: StaticStructureSchema;
|
|
262
|
+
export declare var MonitoringConfiguration$: StaticStructureSchema;
|
|
261
263
|
export declare var MountPoint$: StaticStructureSchema;
|
|
262
264
|
export declare var NetworkBandwidthGbpsRequest$: StaticStructureSchema;
|
|
263
265
|
export declare var NetworkBinding$: StaticStructureSchema;
|
|
@@ -1488,6 +1488,13 @@ export interface LoadBalancer {
|
|
|
1488
1488
|
containerPort?: number | undefined;
|
|
1489
1489
|
advancedConfiguration?: AdvancedConfiguration | undefined;
|
|
1490
1490
|
}
|
|
1491
|
+
export interface MetricConfiguration {
|
|
1492
|
+
metricNames: string[] | undefined;
|
|
1493
|
+
resolutionSeconds: number | undefined;
|
|
1494
|
+
}
|
|
1495
|
+
export interface MonitoringConfiguration {
|
|
1496
|
+
metricConfigurations?: MetricConfiguration[] | undefined;
|
|
1497
|
+
}
|
|
1491
1498
|
export interface AwsVpcConfiguration {
|
|
1492
1499
|
subnets: string[] | undefined;
|
|
1493
1500
|
securityGroups?: string[] | undefined;
|
|
@@ -1610,6 +1617,7 @@ export interface CreateServiceRequest {
|
|
|
1610
1617
|
serviceConnectConfiguration?: ServiceConnectConfiguration | undefined;
|
|
1611
1618
|
volumeConfigurations?: ServiceVolumeConfiguration[] | undefined;
|
|
1612
1619
|
vpcLatticeConfigurations?: VpcLatticeConfiguration[] | undefined;
|
|
1620
|
+
monitoring?: MonitoringConfiguration | undefined;
|
|
1613
1621
|
}
|
|
1614
1622
|
export interface ServiceCurrentRevisionSummary {
|
|
1615
1623
|
arn?: string | undefined;
|
|
@@ -1842,6 +1850,7 @@ export interface UpdateServiceRequest {
|
|
|
1842
1850
|
serviceConnectConfiguration?: ServiceConnectConfiguration | undefined;
|
|
1843
1851
|
volumeConfigurations?: ServiceVolumeConfiguration[] | undefined;
|
|
1844
1852
|
vpcLatticeConfigurations?: VpcLatticeConfiguration[] | undefined;
|
|
1853
|
+
monitoring?: MonitoringConfiguration | undefined;
|
|
1845
1854
|
}
|
|
1846
1855
|
export interface UpdateServiceResponse {
|
|
1847
1856
|
service?: Service | undefined;
|
|
@@ -1962,28 +1971,3 @@ export interface ServiceRevisionLoadBalancer {
|
|
|
1962
1971
|
targetGroupArn?: string | undefined;
|
|
1963
1972
|
productionListenerRule?: string | undefined;
|
|
1964
1973
|
}
|
|
1965
|
-
export interface ResolvedConfiguration {
|
|
1966
|
-
loadBalancers?: ServiceRevisionLoadBalancer[] | undefined;
|
|
1967
|
-
}
|
|
1968
|
-
export interface ServiceRevision {
|
|
1969
|
-
serviceRevisionArn?: string | undefined;
|
|
1970
|
-
serviceArn?: string | undefined;
|
|
1971
|
-
clusterArn?: string | undefined;
|
|
1972
|
-
taskDefinition?: string | undefined;
|
|
1973
|
-
capacityProviderStrategy?: CapacityProviderStrategyItem[] | undefined;
|
|
1974
|
-
launchType?: LaunchType | undefined;
|
|
1975
|
-
platformVersion?: string | undefined;
|
|
1976
|
-
platformFamily?: string | undefined;
|
|
1977
|
-
loadBalancers?: LoadBalancer[] | undefined;
|
|
1978
|
-
serviceRegistries?: ServiceRegistry[] | undefined;
|
|
1979
|
-
networkConfiguration?: NetworkConfiguration | undefined;
|
|
1980
|
-
containerImages?: ContainerImage[] | undefined;
|
|
1981
|
-
guardDutyEnabled?: boolean | undefined;
|
|
1982
|
-
serviceConnectConfiguration?: ServiceConnectConfiguration | undefined;
|
|
1983
|
-
volumeConfigurations?: ServiceVolumeConfiguration[] | undefined;
|
|
1984
|
-
fargateEphemeralStorage?: DeploymentEphemeralStorage | undefined;
|
|
1985
|
-
createdAt?: Date | undefined;
|
|
1986
|
-
vpcLatticeConfigurations?: VpcLatticeConfiguration[] | undefined;
|
|
1987
|
-
resolvedConfiguration?: ResolvedConfiguration | undefined;
|
|
1988
|
-
ecsManagedResources?: ECSManagedResources | undefined;
|
|
1989
|
-
}
|
|
@@ -20,13 +20,17 @@ import {
|
|
|
20
20
|
Attribute,
|
|
21
21
|
CapacityProviderStrategyItem,
|
|
22
22
|
ContainerDefinition,
|
|
23
|
+
ContainerImage,
|
|
24
|
+
DeploymentEphemeralStorage,
|
|
23
25
|
EBSTagSpecification,
|
|
26
|
+
ECSManagedResources,
|
|
24
27
|
EnvironmentFile,
|
|
25
28
|
EphemeralStorage,
|
|
26
29
|
Failure,
|
|
27
30
|
InferenceAccelerator,
|
|
28
31
|
KeyValuePair,
|
|
29
32
|
LoadBalancer,
|
|
33
|
+
MonitoringConfiguration,
|
|
30
34
|
NetworkBinding,
|
|
31
35
|
NetworkConfiguration,
|
|
32
36
|
PlacementConstraint,
|
|
@@ -35,14 +39,43 @@ import {
|
|
|
35
39
|
ResourceRequirement,
|
|
36
40
|
RuntimePlatform,
|
|
37
41
|
Scale,
|
|
42
|
+
ServiceConnectConfiguration,
|
|
38
43
|
ServiceRegistry,
|
|
39
|
-
|
|
44
|
+
ServiceRevisionLoadBalancer,
|
|
45
|
+
ServiceVolumeConfiguration,
|
|
40
46
|
Tag,
|
|
41
47
|
TaskDefinition,
|
|
42
48
|
TaskDefinitionPlacementConstraint,
|
|
43
49
|
TaskSet,
|
|
44
50
|
Volume,
|
|
51
|
+
VpcLatticeConfiguration,
|
|
45
52
|
} from "./models_0";
|
|
53
|
+
export interface ResolvedConfiguration {
|
|
54
|
+
loadBalancers?: ServiceRevisionLoadBalancer[] | undefined;
|
|
55
|
+
}
|
|
56
|
+
export interface ServiceRevision {
|
|
57
|
+
serviceRevisionArn?: string | undefined;
|
|
58
|
+
serviceArn?: string | undefined;
|
|
59
|
+
clusterArn?: string | undefined;
|
|
60
|
+
taskDefinition?: string | undefined;
|
|
61
|
+
capacityProviderStrategy?: CapacityProviderStrategyItem[] | undefined;
|
|
62
|
+
launchType?: LaunchType | undefined;
|
|
63
|
+
platformVersion?: string | undefined;
|
|
64
|
+
platformFamily?: string | undefined;
|
|
65
|
+
loadBalancers?: LoadBalancer[] | undefined;
|
|
66
|
+
serviceRegistries?: ServiceRegistry[] | undefined;
|
|
67
|
+
networkConfiguration?: NetworkConfiguration | undefined;
|
|
68
|
+
containerImages?: ContainerImage[] | undefined;
|
|
69
|
+
guardDutyEnabled?: boolean | undefined;
|
|
70
|
+
serviceConnectConfiguration?: ServiceConnectConfiguration | undefined;
|
|
71
|
+
volumeConfigurations?: ServiceVolumeConfiguration[] | undefined;
|
|
72
|
+
fargateEphemeralStorage?: DeploymentEphemeralStorage | undefined;
|
|
73
|
+
createdAt?: Date | undefined;
|
|
74
|
+
vpcLatticeConfigurations?: VpcLatticeConfiguration[] | undefined;
|
|
75
|
+
resolvedConfiguration?: ResolvedConfiguration | undefined;
|
|
76
|
+
ecsManagedResources?: ECSManagedResources | undefined;
|
|
77
|
+
monitoring?: MonitoringConfiguration | undefined;
|
|
78
|
+
}
|
|
46
79
|
export interface DescribeServiceRevisionsResponse {
|
|
47
80
|
serviceRevisions?: ServiceRevision[] | undefined;
|
|
48
81
|
failures?: Failure[] | undefined;
|
|
@@ -257,6 +257,8 @@ export declare var ManagedStorageConfiguration$: StaticStructureSchema;
|
|
|
257
257
|
export declare var ManagedTargetGroup$: StaticStructureSchema;
|
|
258
258
|
export declare var MemoryGiBPerVCpuRequest$: StaticStructureSchema;
|
|
259
259
|
export declare var MemoryMiBRequest$: StaticStructureSchema;
|
|
260
|
+
export declare var MetricConfiguration$: StaticStructureSchema;
|
|
261
|
+
export declare var MonitoringConfiguration$: StaticStructureSchema;
|
|
260
262
|
export declare var MountPoint$: StaticStructureSchema;
|
|
261
263
|
export declare var NetworkBandwidthGbpsRequest$: StaticStructureSchema;
|
|
262
264
|
export declare var NetworkBinding$: StaticStructureSchema;
|
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.1073.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",
|