@aws-sdk/client-ecs 3.429.0 → 3.430.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.
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ruleSet = void 0;
|
|
4
|
-
const
|
|
5
|
-
const a = "isSet",
|
|
6
|
-
const _data = { version: "1.0", parameters: { Region:
|
|
4
|
+
const s = "required", t = "fn", u = "argv", v = "ref";
|
|
5
|
+
const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = { [s]: false, "type": "String" }, i = { [s]: true, "default": false, "type": "Boolean" }, j = { [v]: "Endpoint" }, k = { [t]: c, [u]: [{ [v]: "UseFIPS" }, true] }, l = { [t]: c, [u]: [{ [v]: "UseDualStack" }, true] }, m = {}, n = { [t]: "getAttr", [u]: [{ [v]: g }, "supportsFIPS"] }, o = { [t]: c, [u]: [true, { [t]: "getAttr", [u]: [{ [v]: g }, "supportsDualStack"] }] }, p = [k], q = [l], r = [{ [v]: "Region" }];
|
|
6
|
+
const _data = { version: "1.0", parameters: { Region: h, UseDualStack: i, UseFIPS: i, Endpoint: h }, rules: [{ conditions: [{ [t]: b, [u]: [j] }], rules: [{ conditions: p, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d }, { conditions: q, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: d }, { endpoint: { url: j, properties: m, headers: m }, type: e }], type: f }, { conditions: [{ [t]: b, [u]: r }], rules: [{ conditions: [{ [t]: "aws.partition", [u]: r, assign: g }], rules: [{ conditions: [k, l], rules: [{ conditions: [{ [t]: c, [u]: [a, n] }, o], rules: [{ endpoint: { url: "https://ecs-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: e }], type: f }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: d }], type: f }, { conditions: p, rules: [{ conditions: [{ [t]: c, [u]: [n, a] }], rules: [{ endpoint: { url: "https://ecs-fips.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: e }], type: f }, { error: "FIPS is enabled but this partition does not support FIPS", type: d }], type: f }, { conditions: q, rules: [{ conditions: [o], rules: [{ endpoint: { url: "https://ecs.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: e }], type: f }, { error: "DualStack is enabled but this partition does not support DualStack", type: d }], type: f }, { endpoint: { url: "https://ecs.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }, { error: "Invalid Configuration: Missing Region", type: d }] };
|
|
7
7
|
exports.ruleSet = _data;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const
|
|
2
|
-
const a = "isSet",
|
|
3
|
-
const _data = { version: "1.0", parameters: { Region:
|
|
1
|
+
const s = "required", t = "fn", u = "argv", v = "ref";
|
|
2
|
+
const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = { [s]: false, "type": "String" }, i = { [s]: true, "default": false, "type": "Boolean" }, j = { [v]: "Endpoint" }, k = { [t]: c, [u]: [{ [v]: "UseFIPS" }, true] }, l = { [t]: c, [u]: [{ [v]: "UseDualStack" }, true] }, m = {}, n = { [t]: "getAttr", [u]: [{ [v]: g }, "supportsFIPS"] }, o = { [t]: c, [u]: [true, { [t]: "getAttr", [u]: [{ [v]: g }, "supportsDualStack"] }] }, p = [k], q = [l], r = [{ [v]: "Region" }];
|
|
3
|
+
const _data = { version: "1.0", parameters: { Region: h, UseDualStack: i, UseFIPS: i, Endpoint: h }, rules: [{ conditions: [{ [t]: b, [u]: [j] }], rules: [{ conditions: p, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d }, { conditions: q, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: d }, { endpoint: { url: j, properties: m, headers: m }, type: e }], type: f }, { conditions: [{ [t]: b, [u]: r }], rules: [{ conditions: [{ [t]: "aws.partition", [u]: r, assign: g }], rules: [{ conditions: [k, l], rules: [{ conditions: [{ [t]: c, [u]: [a, n] }, o], rules: [{ endpoint: { url: "https://ecs-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: e }], type: f }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: d }], type: f }, { conditions: p, rules: [{ conditions: [{ [t]: c, [u]: [n, a] }], rules: [{ endpoint: { url: "https://ecs-fips.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: e }], type: f }, { error: "FIPS is enabled but this partition does not support FIPS", type: d }], type: f }, { conditions: q, rules: [{ conditions: [o], rules: [{ endpoint: { url: "https://ecs.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: e }], type: f }, { error: "DualStack is enabled but this partition does not support DualStack", type: d }], type: f }, { endpoint: { url: "https://ecs.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }, { error: "Invalid Configuration: Missing Region", type: d }] };
|
|
4
4
|
export const ruleSet = _data;
|
|
@@ -637,7 +637,7 @@ export interface ClusterServiceConnectDefaultsRequest {
|
|
|
637
637
|
* Cloud Map namespace with the "API calls" method of instance discovery only. This instance
|
|
638
638
|
* discovery method is the "HTTP" namespace type in the Command Line Interface. Other types of instance
|
|
639
639
|
* discovery aren't used by Service Connect.</p>
|
|
640
|
-
* <p>If you update the
|
|
640
|
+
* <p>If you update the cluster with an empty string <code>""</code> for the namespace name,
|
|
641
641
|
* the cluster configuration for Service Connect is removed. Note that the namespace will
|
|
642
642
|
* remain in Cloud Map and must be deleted separately.</p>
|
|
643
643
|
* <p>For more information about Cloud Map, see <a href="https://docs.aws.amazon.com/cloud-map/latest/dg/working-with-services.html">Working
|
|
@@ -3609,13 +3609,11 @@ export declare const EnvironmentFileType: {
|
|
|
3609
3609
|
export type EnvironmentFileType = (typeof EnvironmentFileType)[keyof typeof EnvironmentFileType];
|
|
3610
3610
|
/**
|
|
3611
3611
|
* @public
|
|
3612
|
-
* <p>A list of files containing the environment variables to pass to a container. You can
|
|
3613
|
-
*
|
|
3614
|
-
*
|
|
3612
|
+
* <p>A list of files containing the environment variables to pass to a container. You can specify
|
|
3613
|
+
* up to ten environment files. The file must have a <code>.env</code> file extension. Each
|
|
3614
|
+
* line in an environment file should contain an environment variable in
|
|
3615
3615
|
* <code>VARIABLE=VALUE</code> format. Lines beginning with <code>#</code> are treated
|
|
3616
|
-
* as comments and are ignored
|
|
3617
|
-
* syntax, see <a href="https://docs.docker.com/compose/env-file/">Declare default
|
|
3618
|
-
* environment variables in file</a>.</p>
|
|
3616
|
+
* as comments and are ignored.</p>
|
|
3619
3617
|
* <p>If there are environment variables specified using the <code>environment</code>
|
|
3620
3618
|
* parameter in a container definition, they take precedence over the variables contained
|
|
3621
3619
|
* within an environment file. If multiple environment files are specified that contain the
|
|
@@ -3631,6 +3629,18 @@ export type EnvironmentFileType = (typeof EnvironmentFileType)[keyof typeof Envi
|
|
|
3631
3629
|
* <p>Windows platform version <code>1.0.0</code> or later.</p>
|
|
3632
3630
|
* </li>
|
|
3633
3631
|
* </ul>
|
|
3632
|
+
* <p>Consider the following when using the Fargate launch type:</p>
|
|
3633
|
+
* <ul>
|
|
3634
|
+
* <li>
|
|
3635
|
+
* <p>The file is handled like a native Docker env-file.</p>
|
|
3636
|
+
* </li>
|
|
3637
|
+
* <li>
|
|
3638
|
+
* <p>There is no support for shell escape handling.</p>
|
|
3639
|
+
* </li>
|
|
3640
|
+
* <li>
|
|
3641
|
+
* <p>The container entry point interperts the <code>VARIABLE</code> values.</p>
|
|
3642
|
+
* </li>
|
|
3643
|
+
* </ul>
|
|
3634
3644
|
*/
|
|
3635
3645
|
export interface EnvironmentFile {
|
|
3636
3646
|
/**
|
|
@@ -3719,8 +3729,8 @@ export interface FirelensConfiguration {
|
|
|
3719
3729
|
* </note>
|
|
3720
3730
|
* <p>You can view the health status of both individual containers and a task with the
|
|
3721
3731
|
* DescribeTasks API operation or when viewing the task details in the console.</p>
|
|
3722
|
-
* <p>The health check is designed to make sure that your containers survive
|
|
3723
|
-
*
|
|
3732
|
+
* <p>The health check is designed to make sure that your containers survive agent restarts,
|
|
3733
|
+
* upgrades, or temporary unavailability.</p>
|
|
3724
3734
|
* <p>The following describes the possible <code>healthStatus</code> values for a
|
|
3725
3735
|
* container:</p>
|
|
3726
3736
|
* <ul>
|
|
@@ -3735,30 +3745,78 @@ export interface FirelensConfiguration {
|
|
|
3735
3745
|
* </li>
|
|
3736
3746
|
* <li>
|
|
3737
3747
|
* <p>
|
|
3738
|
-
* <code>UNKNOWN</code>-The container health check is being evaluated
|
|
3739
|
-
* there's no container health check defined
|
|
3748
|
+
* <code>UNKNOWN</code>-The container health check is being evaluated,
|
|
3749
|
+
* there's no container health check defined, or Amazon ECS doesn't have the health
|
|
3750
|
+
* status of the container.</p>
|
|
3740
3751
|
* </li>
|
|
3741
3752
|
* </ul>
|
|
3742
|
-
* <p>The following describes the possible <code>healthStatus</code> values
|
|
3743
|
-
* container health
|
|
3744
|
-
*
|
|
3753
|
+
* <p>The following describes the possible <code>healthStatus</code> values based on the
|
|
3754
|
+
* container health checker status of essential containers in the task with the following
|
|
3755
|
+
* priority order (high to low):</p>
|
|
3745
3756
|
* <ul>
|
|
3746
3757
|
* <li>
|
|
3747
3758
|
* <p>
|
|
3748
|
-
* <code>
|
|
3749
|
-
*
|
|
3759
|
+
* <code>UNHEALTHY</code>-One or more essential containers have failed
|
|
3760
|
+
* their health check.</p>
|
|
3750
3761
|
* </li>
|
|
3751
3762
|
* <li>
|
|
3752
3763
|
* <p>
|
|
3753
|
-
* <code>
|
|
3754
|
-
*
|
|
3764
|
+
* <code>UNKNOWN</code>-Any essential container running within the task is
|
|
3765
|
+
* in an <code>UNKNOWN</code> state and no other essential containers have an
|
|
3766
|
+
* <code>UNHEALTHY</code> state.</p>
|
|
3755
3767
|
* </li>
|
|
3756
3768
|
* <li>
|
|
3757
3769
|
* <p>
|
|
3758
|
-
* <code>
|
|
3759
|
-
*
|
|
3760
|
-
*
|
|
3761
|
-
*
|
|
3770
|
+
* <code>HEALTHY</code>-All essential containers within the task have
|
|
3771
|
+
* passed their health checks.</p>
|
|
3772
|
+
* </li>
|
|
3773
|
+
* </ul>
|
|
3774
|
+
* <p>Consider the following task health example with 2 containers.</p>
|
|
3775
|
+
* <ul>
|
|
3776
|
+
* <li>
|
|
3777
|
+
* <p>If Container1 is <code>UNHEALTHY</code> and Container2 is
|
|
3778
|
+
* <code>UNKNOWN</code>, the task health is <code>UNHEALTHY</code>.</p>
|
|
3779
|
+
* </li>
|
|
3780
|
+
* <li>
|
|
3781
|
+
* <p>If Container1 is <code>UNHEALTHY</code> and Container2 is
|
|
3782
|
+
* <code>HEALTHY</code>, the task health is <code>UNHEALTHY</code>.</p>
|
|
3783
|
+
* </li>
|
|
3784
|
+
* <li>
|
|
3785
|
+
* <p>If Container1 is <code>HEALTHY</code> and Container2 is <code>UNKNOWN</code>,
|
|
3786
|
+
* the task health is <code>UNKNOWN</code>.</p>
|
|
3787
|
+
* </li>
|
|
3788
|
+
* <li>
|
|
3789
|
+
* <p>If Container1 is <code>HEALTHY</code> and Container2 is <code>HEALTHY</code>,
|
|
3790
|
+
* the task health is <code>HEALTHY</code>.</p>
|
|
3791
|
+
* </li>
|
|
3792
|
+
* </ul>
|
|
3793
|
+
* <p>Consider the following task health example with 3 containers.</p>
|
|
3794
|
+
* <ul>
|
|
3795
|
+
* <li>
|
|
3796
|
+
* <p>If Container1 is <code>UNHEALTHY</code> and Container2 is <code>UNKNOWN</code>, and Container3
|
|
3797
|
+
* is <code>UNKNOWN</code>, the task health is <code>UNHEALTHY</code>.</p>
|
|
3798
|
+
* </li>
|
|
3799
|
+
* <li>
|
|
3800
|
+
* <p>If Container1 is <code>UNHEALTHY</code> and Container2 is <code>UNKNOWN</code>, and Container3
|
|
3801
|
+
* is <code>HEALTHY</code>, the task health is <code>UNHEALTHY</code>.</p>
|
|
3802
|
+
* </li>
|
|
3803
|
+
* <li>
|
|
3804
|
+
* <p>If Container1 is <code>UNHEALTHY</code> and Container2 is <code>HEALTHY</code>, and Container3
|
|
3805
|
+
* is <code>HEALTHY</code>, the task health is <code>UNHEALTHY</code>.</p>
|
|
3806
|
+
* </li>
|
|
3807
|
+
* <li>
|
|
3808
|
+
* <p>If Container1 is <code>HEALTHY</code> and Container2 is <code>UNKNOWN</code>, and Container3
|
|
3809
|
+
* is <code>HEALTHY</code>, the task health is <code>UNKNOWN</code>.</p>
|
|
3810
|
+
* </li>
|
|
3811
|
+
* <li>
|
|
3812
|
+
* <p>If Container1 is <code>HEALTHY</code> and Container2 is <code>UNKNOWN</code>,
|
|
3813
|
+
* and Container3 is <code>UNKNOWN</code>, the task health is
|
|
3814
|
+
* <code>UNKNOWN</code>.</p>
|
|
3815
|
+
* </li>
|
|
3816
|
+
* <li>
|
|
3817
|
+
* <p>If Container1 is <code>HEALTHY</code> and Container2 is <code>HEALTHY</code>,
|
|
3818
|
+
* and Container3 is <code>HEALTHY</code>, the task health is
|
|
3819
|
+
* <code>HEALTHY</code>.</p>
|
|
3762
3820
|
* </li>
|
|
3763
3821
|
* </ul>
|
|
3764
3822
|
* <p>If a task is run manually, and not as part of a service, the task will continue its
|
|
@@ -3768,12 +3826,13 @@ export interface FirelensConfiguration {
|
|
|
3768
3826
|
* <p>The following are notes about container health check support:</p>
|
|
3769
3827
|
* <ul>
|
|
3770
3828
|
* <li>
|
|
3771
|
-
* <p>When the Amazon ECS agent cannot connect to the Amazon ECS service,
|
|
3772
|
-
*
|
|
3829
|
+
* <p>When the Amazon ECS agent cannot connect to the Amazon ECS service, the service reports
|
|
3830
|
+
* the container as <code>UNHEALTHY</code>. </p>
|
|
3773
3831
|
* </li>
|
|
3774
3832
|
* <li>
|
|
3775
|
-
* <p>The health check statuses are the "last heard from" response from the Amazon ECS
|
|
3776
|
-
* are no assumptions made about the status of the container health
|
|
3833
|
+
* <p>The health check statuses are the "last heard from" response from the Amazon ECS
|
|
3834
|
+
* agent. There are no assumptions made about the status of the container health
|
|
3835
|
+
* checks.</p>
|
|
3777
3836
|
* </li>
|
|
3778
3837
|
* <li>
|
|
3779
3838
|
* <p>Container health checks require version 1.17.0 or greater of the Amazon ECS
|
|
@@ -4243,8 +4302,8 @@ export interface PortMapping {
|
|
|
4243
4302
|
* <ul>
|
|
4244
4303
|
* <li>
|
|
4245
4304
|
* <p>For containers in a task with the <code>awsvpc</code> network mode,
|
|
4246
|
-
* the <code>
|
|
4247
|
-
* <code>
|
|
4305
|
+
* the <code>hostPortRange</code> is set to the same value as the
|
|
4306
|
+
* <code>containerPortRange</code>. This is a static mapping
|
|
4248
4307
|
* strategy.</p>
|
|
4249
4308
|
* </li>
|
|
4250
4309
|
* <li>
|
|
@@ -6989,8 +7048,8 @@ export interface NetworkBinding {
|
|
|
6989
7048
|
* <ul>
|
|
6990
7049
|
* <li>
|
|
6991
7050
|
* <p>For containers in a task with the <code>awsvpc</code> network mode,
|
|
6992
|
-
* the <code>
|
|
6993
|
-
* <code>
|
|
7051
|
+
* the <code>hostPortRange</code> is set to the same value as the
|
|
7052
|
+
* <code>containerPortRange</code>. This is a static mapping
|
|
6994
7053
|
* strategy.</p>
|
|
6995
7054
|
* </li>
|
|
6996
7055
|
* <li>
|
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.430.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,28 +21,28 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.430.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.430.0",
|
|
26
26
|
"@aws-sdk/middleware-host-header": "3.429.0",
|
|
27
27
|
"@aws-sdk/middleware-logger": "3.428.0",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "3.428.0",
|
|
29
29
|
"@aws-sdk/middleware-signing": "3.428.0",
|
|
30
30
|
"@aws-sdk/middleware-user-agent": "3.428.0",
|
|
31
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
31
|
+
"@aws-sdk/region-config-resolver": "3.430.0",
|
|
32
32
|
"@aws-sdk/types": "3.428.0",
|
|
33
33
|
"@aws-sdk/util-endpoints": "3.428.0",
|
|
34
34
|
"@aws-sdk/util-user-agent-browser": "3.428.0",
|
|
35
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
36
|
-
"@smithy/config-resolver": "^2.0.
|
|
35
|
+
"@aws-sdk/util-user-agent-node": "3.430.0",
|
|
36
|
+
"@smithy/config-resolver": "^2.0.15",
|
|
37
37
|
"@smithy/fetch-http-handler": "^2.2.3",
|
|
38
38
|
"@smithy/hash-node": "^2.0.11",
|
|
39
39
|
"@smithy/invalid-dependency": "^2.0.11",
|
|
40
40
|
"@smithy/middleware-content-length": "^2.0.13",
|
|
41
|
-
"@smithy/middleware-endpoint": "^2.1.
|
|
42
|
-
"@smithy/middleware-retry": "^2.0.
|
|
41
|
+
"@smithy/middleware-endpoint": "^2.1.2",
|
|
42
|
+
"@smithy/middleware-retry": "^2.0.17",
|
|
43
43
|
"@smithy/middleware-serde": "^2.0.11",
|
|
44
44
|
"@smithy/middleware-stack": "^2.0.5",
|
|
45
|
-
"@smithy/node-config-provider": "^2.1.
|
|
45
|
+
"@smithy/node-config-provider": "^2.1.2",
|
|
46
46
|
"@smithy/node-http-handler": "^2.1.7",
|
|
47
47
|
"@smithy/protocol-http": "^3.0.7",
|
|
48
48
|
"@smithy/smithy-client": "^2.1.11",
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"@smithy/util-body-length-browser": "^2.0.0",
|
|
53
53
|
"@smithy/util-body-length-node": "^2.1.0",
|
|
54
54
|
"@smithy/util-defaults-mode-browser": "^2.0.15",
|
|
55
|
-
"@smithy/util-defaults-mode-node": "^2.0.
|
|
55
|
+
"@smithy/util-defaults-mode-node": "^2.0.20",
|
|
56
56
|
"@smithy/util-retry": "^2.0.4",
|
|
57
57
|
"@smithy/util-utf8": "^2.0.0",
|
|
58
58
|
"@smithy/util-waiter": "^2.0.11",
|