@aws-sdk/client-ecs 3.99.0 → 3.109.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/CHANGELOG.md +27 -0
- package/dist-cjs/ECSClient.js +2 -0
- package/dist-es/ECSClient.js +2 -0
- package/dist-types/models/models_0.d.ts +5 -15
- package/dist-types/ts3.4/models/models_0.d.ts +5 -15
- package/package.json +30 -29
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,33 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.109.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.108.1...v3.109.0) (2022-06-13)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/client-ecs
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [3.105.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.104.0...v3.105.0) (2022-06-06)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Features
|
|
18
|
+
|
|
19
|
+
* **clients:** support recursion detection in Lambda ([#3654](https://github.com/aws/aws-sdk-js-v3/issues/3654)) ([ecfe46e](https://github.com/aws/aws-sdk-js-v3/commit/ecfe46ea1fd8b6e3812b75b3dc6c03554fb4b3fa))
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
# [3.100.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.99.0...v3.100.0) (2022-05-26)
|
|
26
|
+
|
|
27
|
+
**Note:** Version bump only for package @aws-sdk/client-ecs
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
6
33
|
# [3.99.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.98.0...v3.99.0) (2022-05-25)
|
|
7
34
|
|
|
8
35
|
**Note:** Version bump only for package @aws-sdk/client-ecs
|
package/dist-cjs/ECSClient.js
CHANGED
|
@@ -5,6 +5,7 @@ const config_resolver_1 = require("@aws-sdk/config-resolver");
|
|
|
5
5
|
const middleware_content_length_1 = require("@aws-sdk/middleware-content-length");
|
|
6
6
|
const middleware_host_header_1 = require("@aws-sdk/middleware-host-header");
|
|
7
7
|
const middleware_logger_1 = require("@aws-sdk/middleware-logger");
|
|
8
|
+
const middleware_recursion_detection_1 = require("@aws-sdk/middleware-recursion-detection");
|
|
8
9
|
const middleware_retry_1 = require("@aws-sdk/middleware-retry");
|
|
9
10
|
const middleware_signing_1 = require("@aws-sdk/middleware-signing");
|
|
10
11
|
const middleware_user_agent_1 = require("@aws-sdk/middleware-user-agent");
|
|
@@ -25,6 +26,7 @@ class ECSClient extends smithy_client_1.Client {
|
|
|
25
26
|
this.middlewareStack.use((0, middleware_content_length_1.getContentLengthPlugin)(this.config));
|
|
26
27
|
this.middlewareStack.use((0, middleware_host_header_1.getHostHeaderPlugin)(this.config));
|
|
27
28
|
this.middlewareStack.use((0, middleware_logger_1.getLoggerPlugin)(this.config));
|
|
29
|
+
this.middlewareStack.use((0, middleware_recursion_detection_1.getRecursionDetectionPlugin)(this.config));
|
|
28
30
|
this.middlewareStack.use((0, middleware_signing_1.getAwsAuthPlugin)(this.config));
|
|
29
31
|
this.middlewareStack.use((0, middleware_user_agent_1.getUserAgentPlugin)(this.config));
|
|
30
32
|
}
|
package/dist-es/ECSClient.js
CHANGED
|
@@ -3,6 +3,7 @@ import { resolveEndpointsConfig, resolveRegionConfig, } from "@aws-sdk/config-re
|
|
|
3
3
|
import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
|
|
4
4
|
import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
|
|
5
5
|
import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
|
|
6
|
+
import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detection";
|
|
6
7
|
import { getRetryPlugin, resolveRetryConfig } from "@aws-sdk/middleware-retry";
|
|
7
8
|
import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-signing";
|
|
8
9
|
import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
|
|
@@ -25,6 +26,7 @@ var ECSClient = (function (_super) {
|
|
|
25
26
|
_this.middlewareStack.use(getContentLengthPlugin(_this.config));
|
|
26
27
|
_this.middlewareStack.use(getHostHeaderPlugin(_this.config));
|
|
27
28
|
_this.middlewareStack.use(getLoggerPlugin(_this.config));
|
|
29
|
+
_this.middlewareStack.use(getRecursionDetectionPlugin(_this.config));
|
|
28
30
|
_this.middlewareStack.use(getAwsAuthPlugin(_this.config));
|
|
29
31
|
_this.middlewareStack.use(getUserAgentPlugin(_this.config));
|
|
30
32
|
return _this;
|
|
@@ -3278,9 +3278,7 @@ export interface FirelensConfiguration {
|
|
|
3278
3278
|
* type.</p>
|
|
3279
3279
|
* </note>
|
|
3280
3280
|
*/
|
|
3281
|
-
options?:
|
|
3282
|
-
[key: string]: string;
|
|
3283
|
-
};
|
|
3281
|
+
options?: Record<string, string>;
|
|
3284
3282
|
}
|
|
3285
3283
|
export declare namespace FirelensConfiguration {
|
|
3286
3284
|
/**
|
|
@@ -3734,9 +3732,7 @@ export interface LogConfiguration {
|
|
|
3734
3732
|
* <p>The configuration options to send to the log driver. This parameter requires version 1.19 of the Docker Remote API or greater on your container instance. To check the Docker Remote API version on your container instance, log in to your container instance and run the following command: <code>sudo docker version --format '{{.Server.APIVersion}}'</code>
|
|
3735
3733
|
* </p>
|
|
3736
3734
|
*/
|
|
3737
|
-
options?:
|
|
3738
|
-
[key: string]: string;
|
|
3739
|
-
};
|
|
3735
|
+
options?: Record<string, string>;
|
|
3740
3736
|
/**
|
|
3741
3737
|
* <p>The secrets to pass to the log configuration. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/specifying-sensitive-data.html">Specifying
|
|
3742
3738
|
* Sensitive Data</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
|
|
@@ -4573,9 +4569,7 @@ export interface ContainerDefinition {
|
|
|
4573
4569
|
* <a href="https://docs.docker.com/engine/api/v1.35/">Docker Remote API</a> and the <code>--label</code> option to <a href="https://docs.docker.com/engine/reference/run/#security-configuration">docker run</a>. This parameter requires version 1.18 of the Docker Remote API or greater on your container instance. To check the Docker Remote API version on your container instance, log in to your container instance and run the following command: <code>sudo docker version --format '{{.Server.APIVersion}}'</code>
|
|
4574
4570
|
* </p>
|
|
4575
4571
|
*/
|
|
4576
|
-
dockerLabels?:
|
|
4577
|
-
[key: string]: string;
|
|
4578
|
-
};
|
|
4572
|
+
dockerLabels?: Record<string, string>;
|
|
4579
4573
|
/**
|
|
4580
4574
|
* <p>A list of <code>ulimits</code> to set in the container. If a ulimit value is specified
|
|
4581
4575
|
* in a task definition, it overrides the default values set by Docker. This parameter maps
|
|
@@ -4920,18 +4914,14 @@ export interface DockerVolumeConfiguration {
|
|
|
4920
4914
|
* <a href="https://docs.docker.com/engine/api/v1.35/">Docker Remote API</a> and the <code>xxopt</code> option to <a href="https://docs.docker.com/engine/reference/commandline/volume_create/">docker
|
|
4921
4915
|
* volume create</a>.</p>
|
|
4922
4916
|
*/
|
|
4923
|
-
driverOpts?:
|
|
4924
|
-
[key: string]: string;
|
|
4925
|
-
};
|
|
4917
|
+
driverOpts?: Record<string, string>;
|
|
4926
4918
|
/**
|
|
4927
4919
|
* <p>Custom metadata to add to your Docker volume. This parameter maps to
|
|
4928
4920
|
* <code>Labels</code> in the <a href="https://docs.docker.com/engine/api/v1.35/#operation/VolumeCreate">Create a volume</a> section of the
|
|
4929
4921
|
* <a href="https://docs.docker.com/engine/api/v1.35/">Docker Remote API</a> and the <code>xxlabel</code> option to <a href="https://docs.docker.com/engine/reference/commandline/volume_create/">docker
|
|
4930
4922
|
* volume create</a>.</p>
|
|
4931
4923
|
*/
|
|
4932
|
-
labels?:
|
|
4933
|
-
[key: string]: string;
|
|
4934
|
-
};
|
|
4924
|
+
labels?: Record<string, string>;
|
|
4935
4925
|
}
|
|
4936
4926
|
export declare namespace DockerVolumeConfiguration {
|
|
4937
4927
|
/**
|
|
@@ -1167,9 +1167,7 @@ export interface FirelensConfiguration {
|
|
|
1167
1167
|
|
|
1168
1168
|
type: FirelensConfigurationType | string | undefined;
|
|
1169
1169
|
|
|
1170
|
-
options?:
|
|
1171
|
-
[key: string]: string;
|
|
1172
|
-
};
|
|
1170
|
+
options?: Record<string, string>;
|
|
1173
1171
|
}
|
|
1174
1172
|
export declare namespace FirelensConfiguration {
|
|
1175
1173
|
|
|
@@ -1281,9 +1279,7 @@ export interface LogConfiguration {
|
|
|
1281
1279
|
|
|
1282
1280
|
logDriver: LogDriver | string | undefined;
|
|
1283
1281
|
|
|
1284
|
-
options?:
|
|
1285
|
-
[key: string]: string;
|
|
1286
|
-
};
|
|
1282
|
+
options?: Record<string, string>;
|
|
1287
1283
|
|
|
1288
1284
|
secretOptions?: Secret[];
|
|
1289
1285
|
}
|
|
@@ -1464,9 +1460,7 @@ export interface ContainerDefinition {
|
|
|
1464
1460
|
|
|
1465
1461
|
pseudoTerminal?: boolean;
|
|
1466
1462
|
|
|
1467
|
-
dockerLabels?:
|
|
1468
|
-
[key: string]: string;
|
|
1469
|
-
};
|
|
1463
|
+
dockerLabels?: Record<string, string>;
|
|
1470
1464
|
|
|
1471
1465
|
ulimits?: Ulimit[];
|
|
1472
1466
|
|
|
@@ -1591,13 +1585,9 @@ export interface DockerVolumeConfiguration {
|
|
|
1591
1585
|
|
|
1592
1586
|
driver?: string;
|
|
1593
1587
|
|
|
1594
|
-
driverOpts?:
|
|
1595
|
-
[key: string]: string;
|
|
1596
|
-
};
|
|
1588
|
+
driverOpts?: Record<string, string>;
|
|
1597
1589
|
|
|
1598
|
-
labels?:
|
|
1599
|
-
[key: string]: string;
|
|
1600
|
-
};
|
|
1590
|
+
labels?: Record<string, string>;
|
|
1601
1591
|
}
|
|
1602
1592
|
export declare namespace DockerVolumeConfiguration {
|
|
1603
1593
|
|
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.109.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",
|
|
@@ -18,37 +18,38 @@
|
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
20
20
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
21
|
-
"@aws-sdk/client-sts": "3.
|
|
22
|
-
"@aws-sdk/config-resolver": "3.
|
|
23
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
25
|
-
"@aws-sdk/hash-node": "3.
|
|
26
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
27
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
28
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
29
|
-
"@aws-sdk/middleware-logger": "3.
|
|
30
|
-
"@aws-sdk/middleware-
|
|
31
|
-
"@aws-sdk/middleware-
|
|
32
|
-
"@aws-sdk/middleware-
|
|
33
|
-
"@aws-sdk/middleware-
|
|
34
|
-
"@aws-sdk/middleware-
|
|
35
|
-
"@aws-sdk/
|
|
36
|
-
"@aws-sdk/node-
|
|
37
|
-
"@aws-sdk/
|
|
38
|
-
"@aws-sdk/
|
|
39
|
-
"@aws-sdk/
|
|
40
|
-
"@aws-sdk/
|
|
41
|
-
"@aws-sdk/
|
|
21
|
+
"@aws-sdk/client-sts": "3.109.0",
|
|
22
|
+
"@aws-sdk/config-resolver": "3.109.0",
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.109.0",
|
|
24
|
+
"@aws-sdk/fetch-http-handler": "3.109.0",
|
|
25
|
+
"@aws-sdk/hash-node": "3.109.0",
|
|
26
|
+
"@aws-sdk/invalid-dependency": "3.109.0",
|
|
27
|
+
"@aws-sdk/middleware-content-length": "3.109.0",
|
|
28
|
+
"@aws-sdk/middleware-host-header": "3.109.0",
|
|
29
|
+
"@aws-sdk/middleware-logger": "3.109.0",
|
|
30
|
+
"@aws-sdk/middleware-recursion-detection": "3.109.0",
|
|
31
|
+
"@aws-sdk/middleware-retry": "3.109.0",
|
|
32
|
+
"@aws-sdk/middleware-serde": "3.109.0",
|
|
33
|
+
"@aws-sdk/middleware-signing": "3.109.0",
|
|
34
|
+
"@aws-sdk/middleware-stack": "3.109.0",
|
|
35
|
+
"@aws-sdk/middleware-user-agent": "3.109.0",
|
|
36
|
+
"@aws-sdk/node-config-provider": "3.109.0",
|
|
37
|
+
"@aws-sdk/node-http-handler": "3.109.0",
|
|
38
|
+
"@aws-sdk/protocol-http": "3.109.0",
|
|
39
|
+
"@aws-sdk/smithy-client": "3.109.0",
|
|
40
|
+
"@aws-sdk/types": "3.109.0",
|
|
41
|
+
"@aws-sdk/url-parser": "3.109.0",
|
|
42
|
+
"@aws-sdk/util-base64-browser": "3.109.0",
|
|
42
43
|
"@aws-sdk/util-base64-node": "3.55.0",
|
|
43
44
|
"@aws-sdk/util-body-length-browser": "3.55.0",
|
|
44
45
|
"@aws-sdk/util-body-length-node": "3.55.0",
|
|
45
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
46
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
47
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
48
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
49
|
-
"@aws-sdk/util-utf8-browser": "3.
|
|
50
|
-
"@aws-sdk/util-utf8-node": "3.
|
|
51
|
-
"@aws-sdk/util-waiter": "3.
|
|
46
|
+
"@aws-sdk/util-defaults-mode-browser": "3.109.0",
|
|
47
|
+
"@aws-sdk/util-defaults-mode-node": "3.109.0",
|
|
48
|
+
"@aws-sdk/util-user-agent-browser": "3.109.0",
|
|
49
|
+
"@aws-sdk/util-user-agent-node": "3.109.0",
|
|
50
|
+
"@aws-sdk/util-utf8-browser": "3.109.0",
|
|
51
|
+
"@aws-sdk/util-utf8-node": "3.109.0",
|
|
52
|
+
"@aws-sdk/util-waiter": "3.109.0",
|
|
52
53
|
"tslib": "^2.3.1"
|
|
53
54
|
},
|
|
54
55
|
"devDependencies": {
|