@aws-sdk/client-ecs 3.1080.0 → 3.1082.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist-cjs/index.js CHANGED
@@ -69,7 +69,7 @@ const commonParams = {
69
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
70
70
  };
71
71
 
72
- var version = "3.1079.0";
72
+ var version = "3.1081.0";
73
73
  var packageInfo = {
74
74
  version: version};
75
75
 
@@ -906,6 +906,7 @@ const _RDTDRe = "RegisterDaemonTaskDefinitionResponse";
906
906
  const _RIUE = "ResourceInUseException";
907
907
  const _RNFE = "ResourceNotFoundException";
908
908
  const _RP = "RuntimePlatform";
909
+ const _RPO = "RuntimePlatformOverride";
909
910
  const _RR = "ResourceRequirement";
910
911
  const _RRe = "ResourceRequirements";
911
912
  const _RT = "RunTask";
@@ -958,6 +959,7 @@ const _SNFE = "ServiceNotFoundException";
958
959
  const _SR = "ServiceRegistry";
959
960
  const _SRLB = "ServiceRevisionLoadBalancer";
960
961
  const _SRLBe = "ServiceRevisionLoadBalancers";
962
+ const _SRO = "ServiceRevisionOverrides";
961
963
  const _SRS = "ServiceRevisionSummary";
962
964
  const _SRSL = "ServiceRevisionsSummaryList";
963
965
  const _SRe = "ServiceRevision";
@@ -3105,6 +3107,11 @@ var RuntimePlatform$ = [3, n0, _RP,
3105
3107
  [_cAp, _oSF],
3106
3108
  [0, 0]
3107
3109
  ];
3110
+ var RuntimePlatformOverride$ = [3, n0, _RPO,
3111
+ 0,
3112
+ [_cAp],
3113
+ [0]
3114
+ ];
3108
3115
  var S3FilesVolumeConfiguration$ = [3, n0, _SFVC,
3109
3116
  0,
3110
3117
  [_fSA, _rD, _tEP, _aPA],
@@ -3217,14 +3224,19 @@ var ServiceRegistry$ = [3, n0, _SR,
3217
3224
  ];
3218
3225
  var ServiceRevision$ = [3, n0, _SRe,
3219
3226
  0,
3220
- [_sRAe, _sAe, _cA, _tD, _cPS, _lT, _pV, _pF, _lB, _sRe, _nC, _cI, _gDE, _sCC, _vCo, _fES, _cAr, _vLC, _rCes, _eMR, _mo],
3221
- [0, 0, 0, 0, () => CapacityProviderStrategy, 0, 0, 0, () => LoadBalancers, () => ServiceRegistries, () => NetworkConfiguration$, () => ContainerImages, 2, () => ServiceConnectConfiguration$, () => ServiceVolumeConfigurations, () => DeploymentEphemeralStorage$, 4, () => VpcLatticeConfigurations, () => ResolvedConfiguration$, () => ECSManagedResources$, () => MonitoringConfiguration$]
3227
+ [_sRAe, _sAe, _cA, _tD, _cPS, _lT, _pV, _pF, _lB, _sRe, _nC, _cI, _gDE, _sCC, _vCo, _fES, _cAr, _vLC, _rCes, _eMR, _ov, _mo],
3228
+ [0, 0, 0, 0, () => CapacityProviderStrategy, 0, 0, 0, () => LoadBalancers, () => ServiceRegistries, () => NetworkConfiguration$, () => ContainerImages, 2, () => ServiceConnectConfiguration$, () => ServiceVolumeConfigurations, () => DeploymentEphemeralStorage$, 4, () => VpcLatticeConfigurations, () => ResolvedConfiguration$, () => ECSManagedResources$, () => ServiceRevisionOverrides$, () => MonitoringConfiguration$]
3222
3229
  ];
3223
3230
  var ServiceRevisionLoadBalancer$ = [3, n0, _SRLB,
3224
3231
  0,
3225
3232
  [_tGA, _pLR],
3226
3233
  [0, 0]
3227
3234
  ];
3235
+ var ServiceRevisionOverrides$ = [3, n0, _SRO,
3236
+ 0,
3237
+ [_rPu],
3238
+ [() => RuntimePlatformOverride$]
3239
+ ];
3228
3240
  var ServiceRevisionSummary$ = [3, n0, _SRS,
3229
3241
  0,
3230
3242
  [_ar, _rTCe, _rTCu, _pTCe, _rTTW, _rPTW],
@@ -6161,6 +6173,7 @@ exports.RunTaskCommand = RunTaskCommand;
6161
6173
  exports.RunTaskRequest$ = RunTaskRequest$;
6162
6174
  exports.RunTaskResponse$ = RunTaskResponse$;
6163
6175
  exports.RuntimePlatform$ = RuntimePlatform$;
6176
+ exports.RuntimePlatformOverride$ = RuntimePlatformOverride$;
6164
6177
  exports.S3FilesVolumeConfiguration$ = S3FilesVolumeConfiguration$;
6165
6178
  exports.Scale$ = Scale$;
6166
6179
  exports.ScaleUnit = ScaleUnit;
@@ -6202,6 +6215,7 @@ exports.ServiceNotFoundException$ = ServiceNotFoundException$;
6202
6215
  exports.ServiceRegistry$ = ServiceRegistry$;
6203
6216
  exports.ServiceRevision$ = ServiceRevision$;
6204
6217
  exports.ServiceRevisionLoadBalancer$ = ServiceRevisionLoadBalancer$;
6218
+ exports.ServiceRevisionOverrides$ = ServiceRevisionOverrides$;
6205
6219
  exports.ServiceRevisionSummary$ = ServiceRevisionSummary$;
6206
6220
  exports.ServiceVolumeConfiguration$ = ServiceVolumeConfiguration$;
6207
6221
  exports.Session$ = Session$;
@@ -403,6 +403,7 @@ const _RDTDRe = "RegisterDaemonTaskDefinitionResponse";
403
403
  const _RIUE = "ResourceInUseException";
404
404
  const _RNFE = "ResourceNotFoundException";
405
405
  const _RP = "RuntimePlatform";
406
+ const _RPO = "RuntimePlatformOverride";
406
407
  const _RR = "ResourceRequirement";
407
408
  const _RRe = "ResourceRequirements";
408
409
  const _RT = "RunTask";
@@ -455,6 +456,7 @@ const _SNFE = "ServiceNotFoundException";
455
456
  const _SR = "ServiceRegistry";
456
457
  const _SRLB = "ServiceRevisionLoadBalancer";
457
458
  const _SRLBe = "ServiceRevisionLoadBalancers";
459
+ const _SRO = "ServiceRevisionOverrides";
458
460
  const _SRS = "ServiceRevisionSummary";
459
461
  const _SRSL = "ServiceRevisionsSummaryList";
460
462
  const _SRe = "ServiceRevision";
@@ -2605,6 +2607,11 @@ export var RuntimePlatform$ = [3, n0, _RP,
2605
2607
  [_cAp, _oSF],
2606
2608
  [0, 0]
2607
2609
  ];
2610
+ export var RuntimePlatformOverride$ = [3, n0, _RPO,
2611
+ 0,
2612
+ [_cAp],
2613
+ [0]
2614
+ ];
2608
2615
  export var S3FilesVolumeConfiguration$ = [3, n0, _SFVC,
2609
2616
  0,
2610
2617
  [_fSA, _rD, _tEP, _aPA],
@@ -2717,14 +2724,19 @@ export var ServiceRegistry$ = [3, n0, _SR,
2717
2724
  ];
2718
2725
  export var ServiceRevision$ = [3, n0, _SRe,
2719
2726
  0,
2720
- [_sRAe, _sAe, _cA, _tD, _cPS, _lT, _pV, _pF, _lB, _sRe, _nC, _cI, _gDE, _sCC, _vCo, _fES, _cAr, _vLC, _rCes, _eMR, _mo],
2721
- [0, 0, 0, 0, () => CapacityProviderStrategy, 0, 0, 0, () => LoadBalancers, () => ServiceRegistries, () => NetworkConfiguration$, () => ContainerImages, 2, () => ServiceConnectConfiguration$, () => ServiceVolumeConfigurations, () => DeploymentEphemeralStorage$, 4, () => VpcLatticeConfigurations, () => ResolvedConfiguration$, () => ECSManagedResources$, () => MonitoringConfiguration$]
2727
+ [_sRAe, _sAe, _cA, _tD, _cPS, _lT, _pV, _pF, _lB, _sRe, _nC, _cI, _gDE, _sCC, _vCo, _fES, _cAr, _vLC, _rCes, _eMR, _ov, _mo],
2728
+ [0, 0, 0, 0, () => CapacityProviderStrategy, 0, 0, 0, () => LoadBalancers, () => ServiceRegistries, () => NetworkConfiguration$, () => ContainerImages, 2, () => ServiceConnectConfiguration$, () => ServiceVolumeConfigurations, () => DeploymentEphemeralStorage$, 4, () => VpcLatticeConfigurations, () => ResolvedConfiguration$, () => ECSManagedResources$, () => ServiceRevisionOverrides$, () => MonitoringConfiguration$]
2722
2729
  ];
2723
2730
  export var ServiceRevisionLoadBalancer$ = [3, n0, _SRLB,
2724
2731
  0,
2725
2732
  [_tGA, _pLR],
2726
2733
  [0, 0]
2727
2734
  ];
2735
+ export var ServiceRevisionOverrides$ = [3, n0, _SRO,
2736
+ 0,
2737
+ [_rPu],
2738
+ [() => RuntimePlatformOverride$]
2739
+ ];
2728
2740
  export var ServiceRevisionSummary$ = [3, n0, _SRS,
2729
2741
  0,
2730
2742
  [_ar, _rTCe, _rTCu, _pTCe, _rTTW, _rPTW],
@@ -304,6 +304,11 @@ declare const DescribeServiceRevisionsCommand_base: {
304
304
  * // },
305
305
  * // ],
306
306
  * // },
307
+ * // overrides: { // ServiceRevisionOverrides
308
+ * // runtimePlatform: { // RuntimePlatformOverride
309
+ * // cpuArchitecture: "STRING_VALUE",
310
+ * // },
311
+ * // },
307
312
  * // monitoring: { // MonitoringConfiguration
308
313
  * // metricConfigurations: [ // MetricConfigurationList
309
314
  * // { // MetricConfiguration
@@ -991,7 +991,7 @@ export type ServiceDeploymentRollbackMonitorsStatus = (typeof ServiceDeploymentR
991
991
  */
992
992
  export declare const ThresholdType: {
993
993
  /**
994
- * <p>Amazon ECS calculates the failure threshold by multiplying <code>value</code> by the latest service desired count, then clamps the result to a minimum of <code>3</code> and a maximum of <code>200</code>. This is the default threshold type.</p>
994
+ * <p>Amazon ECS calculates the failure threshold by multiplying <code>value</code> by the latest service desired count, then clamping the result to a minimum of <code>3</code> and a maximum of <code>200</code>. This is the default threshold type, with a default <code>value</code> of <code>50</code>.</p>
995
995
  */
996
996
  readonly BOUNDED_PERCENT: "BOUNDED_PERCENT";
997
997
  /**
@@ -5175,12 +5175,12 @@ export interface CanaryConfiguration {
5175
5175
  */
5176
5176
  export interface ThresholdConfiguration {
5177
5177
  /**
5178
- * <p>Determines how <code>value</code> is used to calculate the failure threshold. For the percentage types (<code>BOUNDED_PERCENT</code> and <code>UNBOUNDED_PERCENT</code>), <code>value</code> is multiplied by the latest service desired count; for <code>COUNT</code>, <code>value</code> is used directly. The default is <code>BOUNDED_PERCENT</code>.</p>
5178
+ * <p>Determines how Amazon ECS uses <code>value</code> to calculate the failure threshold. For the percentage types (<code>BOUNDED_PERCENT</code> and <code>UNBOUNDED_PERCENT</code>), Amazon ECS multiplies <code>value</code> by the latest service desired count. For <code>COUNT</code>, Amazon ECS uses <code>value</code> directly as the threshold. The default is <code>BOUNDED_PERCENT</code>.</p>
5179
5179
  * @public
5180
5180
  */
5181
5181
  type: ThresholdType | undefined;
5182
5182
  /**
5183
- * <p>The integer used to calculate the failure threshold. When <code>type</code> is <code>COUNT</code>, this is the failure threshold itself. When <code>type</code> is a percentage type, this is the percentage that Amazon ECS multiplies by the latest service desired count to calculate the failure threshold.</p>
5183
+ * <p>Specifies the integer that Amazon ECS uses to calculate the failure threshold. When <code>type</code> is <code>COUNT</code>, this value is the failure threshold itself. When <code>type</code> is a percentage type, Amazon ECS multiplies this value by the latest service desired count to produce the failure threshold. The default is <code>50</code>.</p>
5184
5184
  * @public
5185
5185
  */
5186
5186
  value: number | undefined;
@@ -5201,12 +5201,12 @@ export interface DeploymentCircuitBreaker {
5201
5201
  */
5202
5202
  rollback: boolean | undefined;
5203
5203
  /**
5204
- * <p>Determines whether the deployment circuit breaker resets its failure count when a task reaches a healthy state. When set to <code>true</code>, a healthy task resets the failure count to <code>0</code>; when <code>false</code>, it doesn't.</p>
5204
+ * <p>Specifies whether the deployment circuit breaker resets its failure count when a task reaches a healthy state. When set to <code>true</code>, a task that reaches a healthy state resets the failure count to <code>0</code>. When set to <code>false</code>, Amazon ECS does not reset the failure count. The default is <code>true</code>.</p>
5205
5205
  * @public
5206
5206
  */
5207
5207
  resetOnHealthyTask?: boolean | undefined;
5208
5208
  /**
5209
- * <p>The threshold configuration that controls when the deployment circuit breaker triggers.</p>
5209
+ * <p>The threshold configuration that controls when the deployment circuit breaker triggers. The <code>type</code> and <code>value</code> together determine how many task failures are tolerated before the circuit breaker activates.</p>
5210
5210
  * @public
5211
5211
  */
5212
5212
  thresholdConfiguration?: ThresholdConfiguration | undefined;
@@ -1,5 +1,27 @@
1
1
  import type { Compatibility, Connectivity, HealthStatus, IpcMode, LaunchType, ManagedAgentName, NetworkMode, PidMode, PropagateTags, SortOrder, TaskDefinitionStatus, TaskField, TaskFilesystemType, TaskSetField, TaskStopCode } from "./enums";
2
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, ServiceVolumeConfiguration, Tag, TaskDefinition, TaskDefinitionPlacementConstraint, TaskSet, Volume, VpcLatticeConfiguration } from "./models_0";
3
+ /**
4
+ * <p>The runtime platform that Amazon ECS applies to a service revision. This value overrides the runtime platform specified in the task definition. You can't set this value.</p>
5
+ * @public
6
+ */
7
+ export interface RuntimePlatformOverride {
8
+ /**
9
+ * <p>The CPU architecture that tasks in this service revision run on. This value might differ from the architecture declared in the task definition—for example, when Amazon ECS detects an architecture mismatch during an Amazon ECS Express deployment and runs tasks on a different architecture. You can't set this value.</p> <p>Valid values:</p> <ul> <li> <p> <code>X86_64</code> - The x86 64-bit architecture.</p> </li> <li> <p> <code>ARM64</code> - The 64-bit ARM architecture.</p> </li> </ul>
10
+ * @public
11
+ */
12
+ cpuArchitecture?: string | undefined;
13
+ }
14
+ /**
15
+ * <p>Contains the runtime overrides that Amazon ECS automatically applies to a service revision when the effective runtime configuration differs from the task definition. This value is read-only.</p>
16
+ * @public
17
+ */
18
+ export interface ServiceRevisionOverrides {
19
+ /**
20
+ * <p>The runtime platform override that Amazon ECS automatically applies to the service revision. You can't set this value.</p>
21
+ * @public
22
+ */
23
+ runtimePlatform?: RuntimePlatformOverride | undefined;
24
+ }
3
25
  /**
4
26
  * <p>The resolved load balancer configuration for a service revision. This includes information about which target groups serve traffic and which listener rules direct traffic to them.</p>
5
27
  * @public
@@ -132,6 +154,11 @@ export interface ServiceRevision {
132
154
  * @public
133
155
  */
134
156
  ecsManagedResources?: ECSManagedResources | undefined;
157
+ /**
158
+ * <p>The effective runtime overrides that Amazon ECS applies to this service revision. This value is present only when Amazon ECS detects a difference between the task definition and the actual runtime configuration.</p>
159
+ * @public
160
+ */
161
+ overrides?: ServiceRevisionOverrides | undefined;
135
162
  /**
136
163
  * <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>
137
164
  * @public
@@ -294,6 +294,7 @@ export declare var Rollback$: StaticStructureSchema;
294
294
  export declare var RunTaskRequest$: StaticStructureSchema;
295
295
  export declare var RunTaskResponse$: StaticStructureSchema;
296
296
  export declare var RuntimePlatform$: StaticStructureSchema;
297
+ export declare var RuntimePlatformOverride$: StaticStructureSchema;
297
298
  export declare var S3FilesVolumeConfiguration$: StaticStructureSchema;
298
299
  export declare var Scale$: StaticStructureSchema;
299
300
  export declare var Secret$: StaticStructureSchema;
@@ -318,6 +319,7 @@ export declare var ServiceManagedEBSVolumeConfiguration$: StaticStructureSchema;
318
319
  export declare var ServiceRegistry$: StaticStructureSchema;
319
320
  export declare var ServiceRevision$: StaticStructureSchema;
320
321
  export declare var ServiceRevisionLoadBalancer$: StaticStructureSchema;
322
+ export declare var ServiceRevisionOverrides$: StaticStructureSchema;
321
323
  export declare var ServiceRevisionSummary$: StaticStructureSchema;
322
324
  export declare var ServiceVolumeConfiguration$: StaticStructureSchema;
323
325
  export declare var Session$: StaticStructureSchema;
@@ -49,6 +49,12 @@ import {
49
49
  Volume,
50
50
  VpcLatticeConfiguration,
51
51
  } from "./models_0";
52
+ export interface RuntimePlatformOverride {
53
+ cpuArchitecture?: string | undefined;
54
+ }
55
+ export interface ServiceRevisionOverrides {
56
+ runtimePlatform?: RuntimePlatformOverride | undefined;
57
+ }
52
58
  export interface ServiceRevisionLoadBalancer {
53
59
  targetGroupArn?: string | undefined;
54
60
  productionListenerRule?: string | undefined;
@@ -77,6 +83,7 @@ export interface ServiceRevision {
77
83
  vpcLatticeConfigurations?: VpcLatticeConfiguration[] | undefined;
78
84
  resolvedConfiguration?: ResolvedConfiguration | undefined;
79
85
  ecsManagedResources?: ECSManagedResources | undefined;
86
+ overrides?: ServiceRevisionOverrides | undefined;
80
87
  monitoring?: MonitoringConfiguration | undefined;
81
88
  }
82
89
  export interface DescribeServiceRevisionsResponse {
@@ -293,6 +293,7 @@ export declare var Rollback$: StaticStructureSchema;
293
293
  export declare var RunTaskRequest$: StaticStructureSchema;
294
294
  export declare var RunTaskResponse$: StaticStructureSchema;
295
295
  export declare var RuntimePlatform$: StaticStructureSchema;
296
+ export declare var RuntimePlatformOverride$: StaticStructureSchema;
296
297
  export declare var S3FilesVolumeConfiguration$: StaticStructureSchema;
297
298
  export declare var Scale$: StaticStructureSchema;
298
299
  export declare var Secret$: StaticStructureSchema;
@@ -317,6 +318,7 @@ export declare var ServiceManagedEBSVolumeConfiguration$: StaticStructureSchema;
317
318
  export declare var ServiceRegistry$: StaticStructureSchema;
318
319
  export declare var ServiceRevision$: StaticStructureSchema;
319
320
  export declare var ServiceRevisionLoadBalancer$: StaticStructureSchema;
321
+ export declare var ServiceRevisionOverrides$: StaticStructureSchema;
320
322
  export declare var ServiceRevisionSummary$: StaticStructureSchema;
321
323
  export declare var ServiceVolumeConfiguration$: StaticStructureSchema;
322
324
  export declare var Session$: 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.1080.0",
4
+ "version": "3.1082.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",
@@ -21,13 +21,13 @@
21
21
  "module": "./dist-es/index.js",
22
22
  "sideEffects": false,
23
23
  "dependencies": {
24
- "@aws-sdk/core": "^3.974.28",
25
- "@aws-sdk/credential-provider-node": "^3.972.63",
26
- "@aws-sdk/types": "^3.973.15",
27
- "@smithy/core": "^3.29.0",
28
- "@smithy/fetch-http-handler": "^5.6.2",
29
- "@smithy/node-http-handler": "^4.9.2",
30
- "@smithy/types": "^4.15.1",
24
+ "@aws-sdk/core": "^3.975.0",
25
+ "@aws-sdk/credential-provider-node": "^3.972.65",
26
+ "@aws-sdk/types": "^3.974.0",
27
+ "@smithy/core": "^3.29.2",
28
+ "@smithy/fetch-http-handler": "^5.6.4",
29
+ "@smithy/node-http-handler": "^4.9.4",
30
+ "@smithy/types": "^4.16.0",
31
31
  "tslib": "^2.6.2"
32
32
  },
33
33
  "devDependencies": {