@aws-sdk/client-ecs 3.864.0 → 3.873.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-types/models/models_0.d.ts +50 -18
- package/dist-types/models/models_1.d.ts +18 -0
- package/package.json +11 -11
|
@@ -130,10 +130,6 @@ export interface ManagedScaling {
|
|
|
130
130
|
* value of <code>1</code> is used.</p>
|
|
131
131
|
* <p>When additional capacity is required, Amazon ECS will scale up the minimum scaling step
|
|
132
132
|
* size even if the actual demand is less than the minimum scaling step size.</p>
|
|
133
|
-
* <p>If you use a capacity provider with an Auto Scaling group configured with more than
|
|
134
|
-
* one Amazon EC2 instance type or Availability Zone, Amazon ECS will scale up by the exact minimum
|
|
135
|
-
* scaling step size value and will ignore both the maximum scaling step size as well as
|
|
136
|
-
* the capacity demand.</p>
|
|
137
133
|
* @public
|
|
138
134
|
*/
|
|
139
135
|
minimumScalingStepSize?: number | undefined;
|
|
@@ -668,7 +664,7 @@ export interface CapacityProviderStrategyItem {
|
|
|
668
664
|
/**
|
|
669
665
|
* <p>The <i>weight</i> value designates the relative percentage of the total
|
|
670
666
|
* number of tasks launched that should use the specified capacity provider. The
|
|
671
|
-
*
|
|
667
|
+
* <code>weight</code> value is taken into consideration after the <code>base</code>
|
|
672
668
|
* value, if defined, is satisfied.</p>
|
|
673
669
|
* <p>If no <code>weight</code> value is specified, the default value of <code>0</code> is
|
|
674
670
|
* used. When multiple capacity providers are specified within a capacity provider
|
|
@@ -677,22 +673,59 @@ export interface CapacityProviderStrategyItem {
|
|
|
677
673
|
* tasks. If you specify multiple capacity providers in a strategy that all have a weight
|
|
678
674
|
* of <code>0</code>, any <code>RunTask</code> or <code>CreateService</code> actions using
|
|
679
675
|
* the capacity provider strategy will fail.</p>
|
|
680
|
-
* <p>
|
|
681
|
-
*
|
|
682
|
-
*
|
|
683
|
-
*
|
|
684
|
-
*
|
|
685
|
-
*
|
|
686
|
-
*
|
|
687
|
-
*
|
|
676
|
+
* <p>Weight value characteristics:</p>
|
|
677
|
+
* <ul>
|
|
678
|
+
* <li>
|
|
679
|
+
* <p>Weight is considered after the base value is satisfied</p>
|
|
680
|
+
* </li>
|
|
681
|
+
* <li>
|
|
682
|
+
* <p>Default value is <code>0</code> if not specified</p>
|
|
683
|
+
* </li>
|
|
684
|
+
* <li>
|
|
685
|
+
* <p>Valid range: 0 to 1,000</p>
|
|
686
|
+
* </li>
|
|
687
|
+
* <li>
|
|
688
|
+
* <p>At least one capacity provider must have a weight greater than zero</p>
|
|
689
|
+
* </li>
|
|
690
|
+
* <li>
|
|
691
|
+
* <p>Capacity providers with weight of <code>0</code> cannot place tasks</p>
|
|
692
|
+
* </li>
|
|
693
|
+
* </ul>
|
|
694
|
+
* <p>Task distribution logic:</p>
|
|
695
|
+
* <ol>
|
|
696
|
+
* <li>
|
|
697
|
+
* <p>Base satisfaction: The minimum number of tasks specified by the base value are placed on that capacity provider</p>
|
|
698
|
+
* </li>
|
|
699
|
+
* <li>
|
|
700
|
+
* <p>Weight distribution: After base requirements are met, additional tasks are distributed according to weight ratios</p>
|
|
701
|
+
* </li>
|
|
702
|
+
* </ol>
|
|
703
|
+
* <p>Examples:</p>
|
|
704
|
+
* <p>Equal Distribution: Two capacity providers both with weight <code>1</code> will split tasks evenly after base requirements are met.</p>
|
|
705
|
+
* <p>Weighted Distribution: If capacityProviderA has weight <code>1</code> and capacityProviderB has weight <code>4</code>, then for every 1 task on A, 4 tasks will run on B.</p>
|
|
688
706
|
* @public
|
|
689
707
|
*/
|
|
690
708
|
weight?: number | undefined;
|
|
691
709
|
/**
|
|
692
710
|
* <p>The <i>base</i> value designates how many tasks, at a minimum, to run on
|
|
693
|
-
* the specified capacity provider. Only one capacity provider in a capacity provider
|
|
711
|
+
* the specified capacity provider for each service. Only one capacity provider in a capacity provider
|
|
694
712
|
* strategy can have a <i>base</i> defined. If no value is specified, the
|
|
695
713
|
* default value of <code>0</code> is used.</p>
|
|
714
|
+
* <p>Base value characteristics:</p>
|
|
715
|
+
* <ul>
|
|
716
|
+
* <li>
|
|
717
|
+
* <p>Only one capacity provider in a strategy can have a base defined</p>
|
|
718
|
+
* </li>
|
|
719
|
+
* <li>
|
|
720
|
+
* <p>Default value is <code>0</code> if not specified</p>
|
|
721
|
+
* </li>
|
|
722
|
+
* <li>
|
|
723
|
+
* <p>Valid range: 0 to 100,000</p>
|
|
724
|
+
* </li>
|
|
725
|
+
* <li>
|
|
726
|
+
* <p>Base requirements are satisfied first before weight distribution</p>
|
|
727
|
+
* </li>
|
|
728
|
+
* </ul>
|
|
696
729
|
* @public
|
|
697
730
|
*/
|
|
698
731
|
base?: number | undefined;
|
|
@@ -1041,7 +1074,7 @@ export interface Cluster {
|
|
|
1041
1074
|
pendingTasksCount?: number | undefined;
|
|
1042
1075
|
/**
|
|
1043
1076
|
* <p>The number of services that are running on the cluster in an <code>ACTIVE</code>
|
|
1044
|
-
* state. You can view these services with <a href="https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_ListServices.html">
|
|
1077
|
+
* state. You can view these services with <a href="https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_ListServices.html">ListServices</a>.</p>
|
|
1045
1078
|
* @public
|
|
1046
1079
|
*/
|
|
1047
1080
|
activeServicesCount?: number | undefined;
|
|
@@ -2196,7 +2229,7 @@ export interface LogConfiguration {
|
|
|
2196
2229
|
* <dt>max-buffer-size</dt>
|
|
2197
2230
|
* <dd>
|
|
2198
2231
|
* <p>Required: No</p>
|
|
2199
|
-
* <p>Default value: <code>
|
|
2232
|
+
* <p>Default value: <code>10m</code>
|
|
2200
2233
|
* </p>
|
|
2201
2234
|
* <p>When <code>non-blocking</code> mode is used, the
|
|
2202
2235
|
* <code>max-buffer-size</code> log option controls the size of the buffer
|
|
@@ -8626,8 +8659,7 @@ export type TaskField = (typeof TaskField)[keyof typeof TaskField];
|
|
|
8626
8659
|
export interface DescribeTasksRequest {
|
|
8627
8660
|
/**
|
|
8628
8661
|
* <p>The short name or full Amazon Resource Name (ARN) of the cluster that hosts the task or tasks to
|
|
8629
|
-
* describe. If you do not specify a cluster, the default cluster is assumed
|
|
8630
|
-
* value, the <code>default</code> cluster is used.</p>
|
|
8662
|
+
* describe. If you do not specify a cluster, the default cluster is assumed.</p>
|
|
8631
8663
|
* @public
|
|
8632
8664
|
*/
|
|
8633
8665
|
cluster?: string | undefined;
|
|
@@ -583,6 +583,7 @@ export interface UpdateServiceRequest {
|
|
|
583
583
|
/**
|
|
584
584
|
* <p>The number of instantiations of the task to place and keep running in your
|
|
585
585
|
* service.</p>
|
|
586
|
+
* <p>This parameter doesn't trigger a new service deployment.</p>
|
|
586
587
|
* @public
|
|
587
588
|
*/
|
|
588
589
|
desiredCount?: number | undefined;
|
|
@@ -592,6 +593,7 @@ export interface UpdateServiceRequest {
|
|
|
592
593
|
* not specified, the latest <code>ACTIVE</code> revision is used. If you modify the task
|
|
593
594
|
* definition with <code>UpdateService</code>, Amazon ECS spawns a task with the new version of
|
|
594
595
|
* the task definition and then stops an old task after the new version is running.</p>
|
|
596
|
+
* <p>This parameter triggers a new service deployment.</p>
|
|
595
597
|
* @public
|
|
596
598
|
*/
|
|
597
599
|
taskDefinition?: string | undefined;
|
|
@@ -623,12 +625,14 @@ export interface UpdateServiceRequest {
|
|
|
623
625
|
* </li>
|
|
624
626
|
* </ul>
|
|
625
627
|
* <p>For information about Amazon Web Services CDK considerations, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/update-service-parameters.html">Amazon Web Services CDK considerations</a>.</p>
|
|
628
|
+
* <p>This parameter doesn't trigger a new service deployment.</p>
|
|
626
629
|
* @public
|
|
627
630
|
*/
|
|
628
631
|
capacityProviderStrategy?: CapacityProviderStrategyItem[] | undefined;
|
|
629
632
|
/**
|
|
630
633
|
* <p>Optional deployment parameters that control how many tasks run during the deployment
|
|
631
634
|
* and the ordering of stopping and starting tasks.</p>
|
|
635
|
+
* <p>This parameter doesn't trigger a new service deployment.</p>
|
|
632
636
|
* @public
|
|
633
637
|
*/
|
|
634
638
|
deploymentConfiguration?: DeploymentConfiguration | undefined;
|
|
@@ -638,11 +642,13 @@ export interface UpdateServiceRequest {
|
|
|
638
642
|
* the <i>
|
|
639
643
|
* <i>Amazon Elastic Container Service Developer Guide</i>
|
|
640
644
|
* </i>.</p>
|
|
645
|
+
* <p>This parameter doesn't trigger a new service deployment.</p>
|
|
641
646
|
* @public
|
|
642
647
|
*/
|
|
643
648
|
availabilityZoneRebalancing?: AvailabilityZoneRebalancing | undefined;
|
|
644
649
|
/**
|
|
645
650
|
* <p>An object representing the network configuration for the service.</p>
|
|
651
|
+
* <p>This parameter triggers a new service deployment.</p>
|
|
646
652
|
* @public
|
|
647
653
|
*/
|
|
648
654
|
networkConfiguration?: NetworkConfiguration | undefined;
|
|
@@ -654,6 +660,7 @@ export interface UpdateServiceRequest {
|
|
|
654
660
|
* specify an empty array.</p>
|
|
655
661
|
* <p>You can specify a maximum of 10 constraints for each task. This limit includes
|
|
656
662
|
* constraints in the task definition and those specified at runtime.</p>
|
|
663
|
+
* <p>This parameter doesn't trigger a new service deployment.</p>
|
|
657
664
|
* @public
|
|
658
665
|
*/
|
|
659
666
|
placementConstraints?: PlacementConstraint[] | undefined;
|
|
@@ -663,6 +670,7 @@ export interface UpdateServiceRequest {
|
|
|
663
670
|
* this value is specified, it will override the existing placement strategy defined for
|
|
664
671
|
* the service. To remove an existing placement strategy, specify an empty object.</p>
|
|
665
672
|
* <p>You can specify a maximum of five strategy rules for each service.</p>
|
|
673
|
+
* <p>This parameter doesn't trigger a new service deployment.</p>
|
|
666
674
|
* @public
|
|
667
675
|
*/
|
|
668
676
|
placementStrategy?: PlacementStrategy[] | undefined;
|
|
@@ -672,6 +680,7 @@ export interface UpdateServiceRequest {
|
|
|
672
680
|
* is not specified, the <code>LATEST</code> platform version is used. For more
|
|
673
681
|
* information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/platform_versions.html">Fargate Platform
|
|
674
682
|
* Versions</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
|
|
683
|
+
* <p>This parameter triggers a new service deployment.</p>
|
|
675
684
|
* @public
|
|
676
685
|
*/
|
|
677
686
|
platformVersion?: string | undefined;
|
|
@@ -695,6 +704,7 @@ export interface UpdateServiceRequest {
|
|
|
695
704
|
* During that time, the Amazon ECS service scheduler ignores health check status. This grace
|
|
696
705
|
* period can prevent the service scheduler from marking tasks as unhealthy and stopping
|
|
697
706
|
* them before they have time to come up.</p>
|
|
707
|
+
* <p>This parameter doesn't trigger a new service deployment.</p>
|
|
698
708
|
* @public
|
|
699
709
|
*/
|
|
700
710
|
healthCheckGracePeriodSeconds?: number | undefined;
|
|
@@ -708,6 +718,7 @@ export interface UpdateServiceRequest {
|
|
|
708
718
|
* containers.</p>
|
|
709
719
|
* <p>If you do not want to override the value that was set when the service was created,
|
|
710
720
|
* you can set this to <code>null</code> when performing this action.</p>
|
|
721
|
+
* <p>This parameter doesn't trigger a new service deployment.</p>
|
|
711
722
|
* @public
|
|
712
723
|
*/
|
|
713
724
|
enableExecuteCommand?: boolean | undefined;
|
|
@@ -718,6 +729,7 @@ export interface UpdateServiceRequest {
|
|
|
718
729
|
* <p>Only tasks launched after the update will reflect the update. To update the tags on
|
|
719
730
|
* all tasks, set <code>forceNewDeployment</code> to <code>true</code>, so that Amazon ECS
|
|
720
731
|
* starts new tasks with the updated tags.</p>
|
|
732
|
+
* <p>This parameter doesn't trigger a new service deployment.</p>
|
|
721
733
|
* @public
|
|
722
734
|
*/
|
|
723
735
|
enableECSManagedTags?: boolean | undefined;
|
|
@@ -746,6 +758,7 @@ export interface UpdateServiceRequest {
|
|
|
746
758
|
* information see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/register-multiple-targetgroups.html">Register
|
|
747
759
|
* multiple target groups with a service</a> in the <i>Amazon Elastic Container Service Developer Guide</i>. </p>
|
|
748
760
|
* <p>You can remove existing <code>loadBalancers</code> by passing an empty list.</p>
|
|
761
|
+
* <p>This parameter triggers a new service deployment.</p>
|
|
749
762
|
* @public
|
|
750
763
|
*/
|
|
751
764
|
loadBalancers?: LoadBalancer[] | undefined;
|
|
@@ -755,6 +768,7 @@ export interface UpdateServiceRequest {
|
|
|
755
768
|
* <p>Only tasks launched after the update will reflect the update. To update the tags on
|
|
756
769
|
* all tasks, set <code>forceNewDeployment</code> to <code>true</code>, so that Amazon ECS
|
|
757
770
|
* starts new tasks with the updated tags.</p>
|
|
771
|
+
* <p>This parameter doesn't trigger a new service deployment.</p>
|
|
758
772
|
* @public
|
|
759
773
|
*/
|
|
760
774
|
propagateTags?: PropagateTags | undefined;
|
|
@@ -774,6 +788,7 @@ export interface UpdateServiceRequest {
|
|
|
774
788
|
* when the new tasks are running.</p>
|
|
775
789
|
* <p>You can remove existing <code>serviceRegistries</code> by passing an empty
|
|
776
790
|
* list.</p>
|
|
791
|
+
* <p>This parameter triggers a new service deployment.</p>
|
|
777
792
|
* @public
|
|
778
793
|
*/
|
|
779
794
|
serviceRegistries?: ServiceRegistry[] | undefined;
|
|
@@ -786,6 +801,7 @@ export interface UpdateServiceRequest {
|
|
|
786
801
|
* that collects logs and metrics for increased visibility.
|
|
787
802
|
* Only the tasks that Amazon ECS services create are supported with Service Connect.
|
|
788
803
|
* 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>
|
|
804
|
+
* <p>This parameter triggers a new service deployment.</p>
|
|
789
805
|
* @public
|
|
790
806
|
*/
|
|
791
807
|
serviceConnectConfiguration?: ServiceConnectConfiguration | undefined;
|
|
@@ -795,12 +811,14 @@ export interface UpdateServiceRequest {
|
|
|
795
811
|
* must match the <code>name</code> from the task definition. If set to null, no new
|
|
796
812
|
* deployment is triggered. Otherwise, if this configuration differs from the existing one,
|
|
797
813
|
* it triggers a new deployment.</p>
|
|
814
|
+
* <p>This parameter triggers a new service deployment.</p>
|
|
798
815
|
* @public
|
|
799
816
|
*/
|
|
800
817
|
volumeConfigurations?: ServiceVolumeConfiguration[] | undefined;
|
|
801
818
|
/**
|
|
802
819
|
* <p>An object representing the VPC Lattice configuration for the service being
|
|
803
820
|
* updated.</p>
|
|
821
|
+
* <p>This parameter triggers a new service deployment.</p>
|
|
804
822
|
* @public
|
|
805
823
|
*/
|
|
806
824
|
vpcLatticeConfigurations?: VpcLatticeConfiguration[] | 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.873.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-ecs",
|
|
@@ -20,17 +20,17 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
26
|
-
"@aws-sdk/middleware-logger": "3.
|
|
27
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
29
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
23
|
+
"@aws-sdk/core": "3.873.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.873.0",
|
|
25
|
+
"@aws-sdk/middleware-host-header": "3.873.0",
|
|
26
|
+
"@aws-sdk/middleware-logger": "3.873.0",
|
|
27
|
+
"@aws-sdk/middleware-recursion-detection": "3.873.0",
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.873.0",
|
|
29
|
+
"@aws-sdk/region-config-resolver": "3.873.0",
|
|
30
30
|
"@aws-sdk/types": "3.862.0",
|
|
31
|
-
"@aws-sdk/util-endpoints": "3.
|
|
32
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
31
|
+
"@aws-sdk/util-endpoints": "3.873.0",
|
|
32
|
+
"@aws-sdk/util-user-agent-browser": "3.873.0",
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.873.0",
|
|
34
34
|
"@smithy/config-resolver": "^4.1.5",
|
|
35
35
|
"@smithy/core": "^3.8.0",
|
|
36
36
|
"@smithy/fetch-http-handler": "^5.1.1",
|