@aws-sdk/client-ecs 3.112.0 → 3.118.1
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 +24 -0
- package/README.md +4 -4
- package/dist-cjs/waiters/index.js +1 -0
- package/dist-cjs/waiters/waitForServicesStable.js +84 -0
- package/dist-es/waiters/index.js +1 -0
- package/dist-es/waiters/waitForServicesStable.js +130 -0
- package/dist-types/ECS.d.ts +52 -52
- package/dist-types/ECSClient.d.ts +4 -4
- package/dist-types/commands/CreateClusterCommand.d.ts +1 -1
- package/dist-types/commands/CreateServiceCommand.d.ts +7 -6
- package/dist-types/commands/CreateTaskSetCommand.d.ts +2 -2
- package/dist-types/commands/DeleteTaskSetCommand.d.ts +1 -1
- package/dist-types/commands/DescribeTasksCommand.d.ts +1 -0
- package/dist-types/commands/ExecuteCommandCommand.d.ts +4 -0
- package/dist-types/commands/PutAccountSettingCommand.d.ts +3 -3
- package/dist-types/commands/RunTaskCommand.d.ts +5 -5
- package/dist-types/commands/UpdateServiceCommand.d.ts +24 -30
- package/dist-types/models/models_0.d.ts +220 -183
- package/dist-types/ts3.4/waiters/index.d.ts +1 -0
- package/dist-types/ts3.4/waiters/waitForServicesStable.d.ts +7 -0
- package/dist-types/waiters/index.d.ts +1 -0
- package/dist-types/waiters/waitForServicesStable.d.ts +14 -0
- package/package.json +7 -7
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { WaiterConfiguration, WaiterResult } from "@aws-sdk/util-waiter";
|
|
2
|
+
import { DescribeServicesCommandInput } from "../commands/DescribeServicesCommand";
|
|
3
|
+
import { ECSClient } from "../ECSClient";
|
|
4
|
+
|
|
5
|
+
export declare const waitForServicesStable: (params: WaiterConfiguration<ECSClient>, input: DescribeServicesCommandInput) => Promise<WaiterResult>;
|
|
6
|
+
|
|
7
|
+
export declare const waitUntilServicesStable: (params: WaiterConfiguration<ECSClient>, input: DescribeServicesCommandInput) => Promise<WaiterResult>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { WaiterConfiguration, WaiterResult } from "@aws-sdk/util-waiter";
|
|
2
|
+
import { DescribeServicesCommandInput } from "../commands/DescribeServicesCommand";
|
|
3
|
+
import { ECSClient } from "../ECSClient";
|
|
4
|
+
/**
|
|
5
|
+
*
|
|
6
|
+
* @deprecated Use waitUntilServicesStable instead. waitForServicesStable does not throw error in non-success cases.
|
|
7
|
+
*/
|
|
8
|
+
export declare const waitForServicesStable: (params: WaiterConfiguration<ECSClient>, input: DescribeServicesCommandInput) => Promise<WaiterResult>;
|
|
9
|
+
/**
|
|
10
|
+
*
|
|
11
|
+
* @param params - Waiter configuration options.
|
|
12
|
+
* @param input - The input to DescribeServicesCommand for polling.
|
|
13
|
+
*/
|
|
14
|
+
export declare const waitUntilServicesStable: (params: WaiterConfiguration<ECSClient>, input: DescribeServicesCommandInput) => Promise<WaiterResult>;
|
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.118.1",
|
|
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,9 +18,9 @@
|
|
|
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.
|
|
21
|
+
"@aws-sdk/client-sts": "3.118.1",
|
|
22
22
|
"@aws-sdk/config-resolver": "3.110.0",
|
|
23
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.118.1",
|
|
24
24
|
"@aws-sdk/fetch-http-handler": "3.110.0",
|
|
25
25
|
"@aws-sdk/hash-node": "3.110.0",
|
|
26
26
|
"@aws-sdk/invalid-dependency": "3.110.0",
|
|
@@ -28,13 +28,13 @@
|
|
|
28
28
|
"@aws-sdk/middleware-host-header": "3.110.0",
|
|
29
29
|
"@aws-sdk/middleware-logger": "3.110.0",
|
|
30
30
|
"@aws-sdk/middleware-recursion-detection": "3.110.0",
|
|
31
|
-
"@aws-sdk/middleware-retry": "3.
|
|
31
|
+
"@aws-sdk/middleware-retry": "3.118.1",
|
|
32
32
|
"@aws-sdk/middleware-serde": "3.110.0",
|
|
33
33
|
"@aws-sdk/middleware-signing": "3.110.0",
|
|
34
34
|
"@aws-sdk/middleware-stack": "3.110.0",
|
|
35
35
|
"@aws-sdk/middleware-user-agent": "3.110.0",
|
|
36
36
|
"@aws-sdk/node-config-provider": "3.110.0",
|
|
37
|
-
"@aws-sdk/node-http-handler": "3.
|
|
37
|
+
"@aws-sdk/node-http-handler": "3.118.1",
|
|
38
38
|
"@aws-sdk/protocol-http": "3.110.0",
|
|
39
39
|
"@aws-sdk/smithy-client": "3.110.0",
|
|
40
40
|
"@aws-sdk/types": "3.110.0",
|
|
@@ -46,10 +46,10 @@
|
|
|
46
46
|
"@aws-sdk/util-defaults-mode-browser": "3.110.0",
|
|
47
47
|
"@aws-sdk/util-defaults-mode-node": "3.110.0",
|
|
48
48
|
"@aws-sdk/util-user-agent-browser": "3.110.0",
|
|
49
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
49
|
+
"@aws-sdk/util-user-agent-node": "3.118.0",
|
|
50
50
|
"@aws-sdk/util-utf8-browser": "3.109.0",
|
|
51
51
|
"@aws-sdk/util-utf8-node": "3.109.0",
|
|
52
|
-
"@aws-sdk/util-waiter": "3.
|
|
52
|
+
"@aws-sdk/util-waiter": "3.118.1",
|
|
53
53
|
"tslib": "^2.3.1"
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|