@aws-sdk/client-ecs 3.1021.0 → 3.1022.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/README.md +91 -7
- package/dist-cjs/index.js +530 -33
- package/dist-cjs/models/errors.js +37 -11
- package/dist-cjs/schemas/schemas_0.js +508 -100
- package/dist-es/ECS.js +34 -0
- package/dist-es/commands/CreateDaemonCommand.js +16 -0
- package/dist-es/commands/DeleteDaemonCommand.js +16 -0
- package/dist-es/commands/DeleteDaemonTaskDefinitionCommand.js +16 -0
- package/dist-es/commands/DescribeDaemonCommand.js +16 -0
- package/dist-es/commands/DescribeDaemonDeploymentsCommand.js +16 -0
- package/dist-es/commands/DescribeDaemonRevisionsCommand.js +16 -0
- package/dist-es/commands/DescribeDaemonTaskDefinitionCommand.js +16 -0
- package/dist-es/commands/ListDaemonDeploymentsCommand.js +16 -0
- package/dist-es/commands/ListDaemonTaskDefinitionsCommand.js +16 -0
- package/dist-es/commands/ListDaemonsCommand.js +16 -0
- package/dist-es/commands/RegisterDaemonTaskDefinitionCommand.js +16 -0
- package/dist-es/commands/UpdateDaemonCommand.js +16 -0
- package/dist-es/commands/index.js +12 -0
- package/dist-es/index.js +1 -0
- package/dist-es/models/enums.js +72 -33
- package/dist-es/models/errors.js +32 -8
- package/dist-es/models/models_1.js +1 -0
- package/dist-es/schemas/schemas_0.js +500 -93
- package/dist-es/waiters/index.js +5 -0
- package/dist-es/waiters/waitForDaemonActive.js +40 -0
- package/dist-es/waiters/waitForDaemonDeploymentStopped.js +54 -0
- package/dist-es/waiters/waitForDaemonDeploymentSuccessful.js +99 -0
- package/dist-es/waiters/waitForDaemonTaskDefinitionActive.js +49 -0
- package/dist-es/waiters/waitForDaemonTaskDefinitionDeleted.js +31 -0
- package/dist-types/ECS.d.ts +116 -0
- package/dist-types/ECSClient.d.ts +14 -2
- package/dist-types/commands/CreateDaemonCommand.d.ts +150 -0
- package/dist-types/commands/CreateTaskSetCommand.d.ts +1 -1
- package/dist-types/commands/DeleteDaemonCommand.d.ts +121 -0
- package/dist-types/commands/DeleteDaemonTaskDefinitionCommand.d.ts +101 -0
- package/dist-types/commands/DeleteTaskDefinitionsCommand.d.ts +1 -0
- package/dist-types/commands/DeleteTaskSetCommand.d.ts +1 -1
- package/dist-types/commands/DeregisterContainerInstanceCommand.d.ts +1 -1
- package/dist-types/commands/DeregisterTaskDefinitionCommand.d.ts +1 -0
- package/dist-types/commands/DescribeContainerInstancesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeDaemonCommand.d.ts +148 -0
- package/dist-types/commands/DescribeDaemonDeploymentsCommand.d.ts +229 -0
- package/dist-types/commands/DescribeDaemonRevisionsCommand.d.ts +155 -0
- package/dist-types/commands/DescribeDaemonTaskDefinitionCommand.d.ts +286 -0
- package/dist-types/commands/DescribeTaskDefinitionCommand.d.ts +1 -0
- package/dist-types/commands/DescribeTaskSetsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeTasksCommand.d.ts +1 -1
- package/dist-types/commands/GetTaskProtectionCommand.d.ts +1 -1
- package/dist-types/commands/ListDaemonDeploymentsCommand.d.ts +145 -0
- package/dist-types/commands/ListDaemonTaskDefinitionsCommand.d.ts +129 -0
- package/dist-types/commands/ListDaemonsCommand.d.ts +133 -0
- package/dist-types/commands/ListTaskDefinitionsCommand.d.ts +2 -1
- package/dist-types/commands/ListTasksCommand.d.ts +1 -0
- package/dist-types/commands/RegisterContainerInstanceCommand.d.ts +1 -1
- package/dist-types/commands/RegisterDaemonTaskDefinitionCommand.d.ts +277 -0
- package/dist-types/commands/RegisterTaskDefinitionCommand.d.ts +2 -1
- package/dist-types/commands/RunTaskCommand.d.ts +1 -1
- package/dist-types/commands/StartTaskCommand.d.ts +1 -1
- package/dist-types/commands/StopTaskCommand.d.ts +1 -1
- package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UpdateContainerAgentCommand.d.ts +1 -1
- package/dist-types/commands/UpdateContainerInstancesStateCommand.d.ts +1 -1
- package/dist-types/commands/UpdateDaemonCommand.d.ts +149 -0
- package/dist-types/commands/UpdateTaskProtectionCommand.d.ts +1 -1
- package/dist-types/commands/UpdateTaskSetCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +12 -0
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/enums.d.ts +155 -60
- package/dist-types/models/errors.d.ts +32 -8
- package/dist-types/models/models_0.d.ts +2630 -2613
- package/dist-types/models/models_1.d.ts +1245 -0
- package/dist-types/schemas/schemas_0.d.ts +58 -0
- package/dist-types/ts3.4/ECS.d.ts +251 -0
- package/dist-types/ts3.4/ECSClient.d.ts +72 -0
- package/dist-types/ts3.4/commands/CreateDaemonCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/CreateTaskSetCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteDaemonCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/DeleteDaemonTaskDefinitionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteTaskSetCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeDaemonCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/DescribeDaemonDeploymentsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DescribeDaemonRevisionsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DescribeDaemonTaskDefinitionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DescribeTaskSetsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeTasksCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetTaskProtectionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListDaemonDeploymentsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListDaemonTaskDefinitionsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListDaemonsCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/ListTaskDefinitionsCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/RegisterDaemonTaskDefinitionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/RegisterTaskDefinitionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/RunTaskCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StartTaskCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StopTaskCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateDaemonCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/UpdateTaskProtectionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateTaskSetCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/index.d.ts +12 -0
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/models/enums.d.ts +92 -40
- package/dist-types/ts3.4/models/errors.d.ts +21 -7
- package/dist-types/ts3.4/models/models_0.d.ts +338 -324
- package/dist-types/ts3.4/models/models_1.d.ts +322 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +58 -0
- package/dist-types/ts3.4/waiters/index.d.ts +5 -0
- package/dist-types/ts3.4/waiters/waitForDaemonActive.d.ts +11 -0
- package/dist-types/ts3.4/waiters/waitForDaemonDeploymentStopped.d.ts +11 -0
- package/dist-types/ts3.4/waiters/waitForDaemonDeploymentSuccessful.d.ts +11 -0
- package/dist-types/ts3.4/waiters/waitForDaemonTaskDefinitionActive.d.ts +11 -0
- package/dist-types/ts3.4/waiters/waitForDaemonTaskDefinitionDeleted.d.ts +11 -0
- package/dist-types/waiters/index.d.ts +5 -0
- package/dist-types/waiters/waitForDaemonActive.d.ts +14 -0
- package/dist-types/waiters/waitForDaemonDeploymentStopped.d.ts +14 -0
- package/dist-types/waiters/waitForDaemonDeploymentSuccessful.d.ts +14 -0
- package/dist-types/waiters/waitForDaemonTaskDefinitionActive.d.ts +14 -0
- package/dist-types/waiters/waitForDaemonTaskDefinitionDeleted.d.ts +14 -0
- package/package.json +1 -1
package/dist-es/waiters/index.js
CHANGED
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
export * from "./waitForDaemonActive";
|
|
2
|
+
export * from "./waitForDaemonDeploymentSuccessful";
|
|
3
|
+
export * from "./waitForDaemonDeploymentStopped";
|
|
4
|
+
export * from "./waitForDaemonTaskDefinitionActive";
|
|
5
|
+
export * from "./waitForDaemonTaskDefinitionDeleted";
|
|
1
6
|
export * from "./waitForServicesInactive";
|
|
2
7
|
export * from "./waitForServicesStable";
|
|
3
8
|
export * from "./waitForTasksRunning";
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { checkExceptions, createWaiter, WaiterState, } from "@smithy/util-waiter";
|
|
2
|
+
import { DescribeDaemonCommand } from "../commands/DescribeDaemonCommand";
|
|
3
|
+
const checkState = async (client, input) => {
|
|
4
|
+
let reason;
|
|
5
|
+
try {
|
|
6
|
+
let result = await client.send(new DescribeDaemonCommand(input));
|
|
7
|
+
reason = result;
|
|
8
|
+
try {
|
|
9
|
+
const returnComparator = () => {
|
|
10
|
+
return result.daemon.status;
|
|
11
|
+
};
|
|
12
|
+
if (returnComparator() === "ACTIVE") {
|
|
13
|
+
return { state: WaiterState.SUCCESS, reason };
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
catch (e) { }
|
|
17
|
+
try {
|
|
18
|
+
const returnComparator = () => {
|
|
19
|
+
return result.daemon.status;
|
|
20
|
+
};
|
|
21
|
+
if (returnComparator() === "DELETE_IN_PROGRESS") {
|
|
22
|
+
return { state: WaiterState.FAILURE, reason };
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
catch (e) { }
|
|
26
|
+
}
|
|
27
|
+
catch (exception) {
|
|
28
|
+
reason = exception;
|
|
29
|
+
}
|
|
30
|
+
return { state: WaiterState.RETRY, reason };
|
|
31
|
+
};
|
|
32
|
+
export const waitForDaemonActive = async (params, input) => {
|
|
33
|
+
const serviceDefaults = { minDelay: 15, maxDelay: 120 };
|
|
34
|
+
return createWaiter({ ...serviceDefaults, ...params }, input, checkState);
|
|
35
|
+
};
|
|
36
|
+
export const waitUntilDaemonActive = async (params, input) => {
|
|
37
|
+
const serviceDefaults = { minDelay: 15, maxDelay: 120 };
|
|
38
|
+
const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState);
|
|
39
|
+
return checkExceptions(result);
|
|
40
|
+
};
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { checkExceptions, createWaiter, WaiterState, } from "@smithy/util-waiter";
|
|
2
|
+
import { DescribeDaemonDeploymentsCommand, } from "../commands/DescribeDaemonDeploymentsCommand";
|
|
3
|
+
const checkState = async (client, input) => {
|
|
4
|
+
let reason;
|
|
5
|
+
try {
|
|
6
|
+
let result = await client.send(new DescribeDaemonDeploymentsCommand(input));
|
|
7
|
+
reason = result;
|
|
8
|
+
try {
|
|
9
|
+
const returnComparator = () => {
|
|
10
|
+
let flat_1 = [].concat(...result.daemonDeployments);
|
|
11
|
+
let projection_3 = flat_1.map((element_2) => {
|
|
12
|
+
return element_2.status;
|
|
13
|
+
});
|
|
14
|
+
return projection_3;
|
|
15
|
+
};
|
|
16
|
+
let allStringEq_5 = (returnComparator().length > 0);
|
|
17
|
+
for (let element_4 of returnComparator()) {
|
|
18
|
+
allStringEq_5 = allStringEq_5 && (element_4 == "STOPPED");
|
|
19
|
+
}
|
|
20
|
+
if (allStringEq_5) {
|
|
21
|
+
return { state: WaiterState.SUCCESS, reason };
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
catch (e) { }
|
|
25
|
+
try {
|
|
26
|
+
const returnComparator = () => {
|
|
27
|
+
let flat_1 = [].concat(...result.failures);
|
|
28
|
+
let projection_3 = flat_1.map((element_2) => {
|
|
29
|
+
return element_2.reason;
|
|
30
|
+
});
|
|
31
|
+
return projection_3;
|
|
32
|
+
};
|
|
33
|
+
for (let anyStringEq_4 of returnComparator()) {
|
|
34
|
+
if (anyStringEq_4 == "MISSING") {
|
|
35
|
+
return { state: WaiterState.FAILURE, reason };
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
catch (e) { }
|
|
40
|
+
}
|
|
41
|
+
catch (exception) {
|
|
42
|
+
reason = exception;
|
|
43
|
+
}
|
|
44
|
+
return { state: WaiterState.RETRY, reason };
|
|
45
|
+
};
|
|
46
|
+
export const waitForDaemonDeploymentStopped = async (params, input) => {
|
|
47
|
+
const serviceDefaults = { minDelay: 15, maxDelay: 120 };
|
|
48
|
+
return createWaiter({ ...serviceDefaults, ...params }, input, checkState);
|
|
49
|
+
};
|
|
50
|
+
export const waitUntilDaemonDeploymentStopped = async (params, input) => {
|
|
51
|
+
const serviceDefaults = { minDelay: 15, maxDelay: 120 };
|
|
52
|
+
const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState);
|
|
53
|
+
return checkExceptions(result);
|
|
54
|
+
};
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
import { checkExceptions, createWaiter, WaiterState, } from "@smithy/util-waiter";
|
|
2
|
+
import { DescribeDaemonDeploymentsCommand, } from "../commands/DescribeDaemonDeploymentsCommand";
|
|
3
|
+
const checkState = async (client, input) => {
|
|
4
|
+
let reason;
|
|
5
|
+
try {
|
|
6
|
+
let result = await client.send(new DescribeDaemonDeploymentsCommand(input));
|
|
7
|
+
reason = result;
|
|
8
|
+
try {
|
|
9
|
+
const returnComparator = () => {
|
|
10
|
+
let flat_1 = [].concat(...result.daemonDeployments);
|
|
11
|
+
let projection_3 = flat_1.map((element_2) => {
|
|
12
|
+
return element_2.status;
|
|
13
|
+
});
|
|
14
|
+
return projection_3;
|
|
15
|
+
};
|
|
16
|
+
let allStringEq_5 = (returnComparator().length > 0);
|
|
17
|
+
for (let element_4 of returnComparator()) {
|
|
18
|
+
allStringEq_5 = allStringEq_5 && (element_4 == "SUCCESSFUL");
|
|
19
|
+
}
|
|
20
|
+
if (allStringEq_5) {
|
|
21
|
+
return { state: WaiterState.SUCCESS, reason };
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
catch (e) { }
|
|
25
|
+
try {
|
|
26
|
+
const returnComparator = () => {
|
|
27
|
+
let flat_1 = [].concat(...result.daemonDeployments);
|
|
28
|
+
let projection_3 = flat_1.map((element_2) => {
|
|
29
|
+
return element_2.status;
|
|
30
|
+
});
|
|
31
|
+
return projection_3;
|
|
32
|
+
};
|
|
33
|
+
for (let anyStringEq_4 of returnComparator()) {
|
|
34
|
+
if (anyStringEq_4 == "STOPPED") {
|
|
35
|
+
return { state: WaiterState.FAILURE, reason };
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
catch (e) { }
|
|
40
|
+
try {
|
|
41
|
+
const returnComparator = () => {
|
|
42
|
+
let flat_1 = [].concat(...result.daemonDeployments);
|
|
43
|
+
let projection_3 = flat_1.map((element_2) => {
|
|
44
|
+
return element_2.status;
|
|
45
|
+
});
|
|
46
|
+
return projection_3;
|
|
47
|
+
};
|
|
48
|
+
for (let anyStringEq_4 of returnComparator()) {
|
|
49
|
+
if (anyStringEq_4 == "ROLLBACK_FAILED") {
|
|
50
|
+
return { state: WaiterState.FAILURE, reason };
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
catch (e) { }
|
|
55
|
+
try {
|
|
56
|
+
const returnComparator = () => {
|
|
57
|
+
let flat_1 = [].concat(...result.daemonDeployments);
|
|
58
|
+
let projection_3 = flat_1.map((element_2) => {
|
|
59
|
+
return element_2.status;
|
|
60
|
+
});
|
|
61
|
+
return projection_3;
|
|
62
|
+
};
|
|
63
|
+
for (let anyStringEq_4 of returnComparator()) {
|
|
64
|
+
if (anyStringEq_4 == "ROLLBACK_SUCCESSFUL") {
|
|
65
|
+
return { state: WaiterState.FAILURE, reason };
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
catch (e) { }
|
|
70
|
+
try {
|
|
71
|
+
const returnComparator = () => {
|
|
72
|
+
let flat_1 = [].concat(...result.failures);
|
|
73
|
+
let projection_3 = flat_1.map((element_2) => {
|
|
74
|
+
return element_2.reason;
|
|
75
|
+
});
|
|
76
|
+
return projection_3;
|
|
77
|
+
};
|
|
78
|
+
for (let anyStringEq_4 of returnComparator()) {
|
|
79
|
+
if (anyStringEq_4 == "MISSING") {
|
|
80
|
+
return { state: WaiterState.FAILURE, reason };
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
catch (e) { }
|
|
85
|
+
}
|
|
86
|
+
catch (exception) {
|
|
87
|
+
reason = exception;
|
|
88
|
+
}
|
|
89
|
+
return { state: WaiterState.RETRY, reason };
|
|
90
|
+
};
|
|
91
|
+
export const waitForDaemonDeploymentSuccessful = async (params, input) => {
|
|
92
|
+
const serviceDefaults = { minDelay: 15, maxDelay: 120 };
|
|
93
|
+
return createWaiter({ ...serviceDefaults, ...params }, input, checkState);
|
|
94
|
+
};
|
|
95
|
+
export const waitUntilDaemonDeploymentSuccessful = async (params, input) => {
|
|
96
|
+
const serviceDefaults = { minDelay: 15, maxDelay: 120 };
|
|
97
|
+
const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState);
|
|
98
|
+
return checkExceptions(result);
|
|
99
|
+
};
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { checkExceptions, createWaiter, WaiterState, } from "@smithy/util-waiter";
|
|
2
|
+
import { DescribeDaemonTaskDefinitionCommand, } from "../commands/DescribeDaemonTaskDefinitionCommand";
|
|
3
|
+
const checkState = async (client, input) => {
|
|
4
|
+
let reason;
|
|
5
|
+
try {
|
|
6
|
+
let result = await client.send(new DescribeDaemonTaskDefinitionCommand(input));
|
|
7
|
+
reason = result;
|
|
8
|
+
try {
|
|
9
|
+
const returnComparator = () => {
|
|
10
|
+
return result.daemonTaskDefinition.status;
|
|
11
|
+
};
|
|
12
|
+
if (returnComparator() === "ACTIVE") {
|
|
13
|
+
return { state: WaiterState.SUCCESS, reason };
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
catch (e) { }
|
|
17
|
+
try {
|
|
18
|
+
const returnComparator = () => {
|
|
19
|
+
return result.daemonTaskDefinition.status;
|
|
20
|
+
};
|
|
21
|
+
if (returnComparator() === "DELETE_IN_PROGRESS") {
|
|
22
|
+
return { state: WaiterState.FAILURE, reason };
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
catch (e) { }
|
|
26
|
+
try {
|
|
27
|
+
const returnComparator = () => {
|
|
28
|
+
return result.daemonTaskDefinition.status;
|
|
29
|
+
};
|
|
30
|
+
if (returnComparator() === "DELETED") {
|
|
31
|
+
return { state: WaiterState.FAILURE, reason };
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
catch (e) { }
|
|
35
|
+
}
|
|
36
|
+
catch (exception) {
|
|
37
|
+
reason = exception;
|
|
38
|
+
}
|
|
39
|
+
return { state: WaiterState.RETRY, reason };
|
|
40
|
+
};
|
|
41
|
+
export const waitForDaemonTaskDefinitionActive = async (params, input) => {
|
|
42
|
+
const serviceDefaults = { minDelay: 15, maxDelay: 120 };
|
|
43
|
+
return createWaiter({ ...serviceDefaults, ...params }, input, checkState);
|
|
44
|
+
};
|
|
45
|
+
export const waitUntilDaemonTaskDefinitionActive = async (params, input) => {
|
|
46
|
+
const serviceDefaults = { minDelay: 15, maxDelay: 120 };
|
|
47
|
+
const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState);
|
|
48
|
+
return checkExceptions(result);
|
|
49
|
+
};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { checkExceptions, createWaiter, WaiterState, } from "@smithy/util-waiter";
|
|
2
|
+
import { DescribeDaemonTaskDefinitionCommand, } from "../commands/DescribeDaemonTaskDefinitionCommand";
|
|
3
|
+
const checkState = async (client, input) => {
|
|
4
|
+
let reason;
|
|
5
|
+
try {
|
|
6
|
+
let result = await client.send(new DescribeDaemonTaskDefinitionCommand(input));
|
|
7
|
+
reason = result;
|
|
8
|
+
try {
|
|
9
|
+
const returnComparator = () => {
|
|
10
|
+
return result.daemonTaskDefinition.status;
|
|
11
|
+
};
|
|
12
|
+
if (returnComparator() === "DELETED") {
|
|
13
|
+
return { state: WaiterState.SUCCESS, reason };
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
catch (e) { }
|
|
17
|
+
}
|
|
18
|
+
catch (exception) {
|
|
19
|
+
reason = exception;
|
|
20
|
+
}
|
|
21
|
+
return { state: WaiterState.RETRY, reason };
|
|
22
|
+
};
|
|
23
|
+
export const waitForDaemonTaskDefinitionDeleted = async (params, input) => {
|
|
24
|
+
const serviceDefaults = { minDelay: 15, maxDelay: 120 };
|
|
25
|
+
return createWaiter({ ...serviceDefaults, ...params }, input, checkState);
|
|
26
|
+
};
|
|
27
|
+
export const waitUntilDaemonTaskDefinitionDeleted = async (params, input) => {
|
|
28
|
+
const serviceDefaults = { minDelay: 15, maxDelay: 120 };
|
|
29
|
+
const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState);
|
|
30
|
+
return checkExceptions(result);
|
|
31
|
+
};
|
package/dist-types/ECS.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ import type { HttpHandlerOptions as __HttpHandlerOptions, PaginationConfiguratio
|
|
|
2
2
|
import type { WaiterResult } from "@smithy/util-waiter";
|
|
3
3
|
import { type CreateCapacityProviderCommandInput, type CreateCapacityProviderCommandOutput } from "./commands/CreateCapacityProviderCommand";
|
|
4
4
|
import { type CreateClusterCommandInput, type CreateClusterCommandOutput } from "./commands/CreateClusterCommand";
|
|
5
|
+
import { type CreateDaemonCommandInput, type CreateDaemonCommandOutput } from "./commands/CreateDaemonCommand";
|
|
5
6
|
import { type CreateExpressGatewayServiceCommandInput, type CreateExpressGatewayServiceCommandOutput } from "./commands/CreateExpressGatewayServiceCommand";
|
|
6
7
|
import { type CreateServiceCommandInput, type CreateServiceCommandOutput } from "./commands/CreateServiceCommand";
|
|
7
8
|
import { type CreateTaskSetCommandInput, type CreateTaskSetCommandOutput } from "./commands/CreateTaskSetCommand";
|
|
@@ -9,6 +10,8 @@ import { type DeleteAccountSettingCommandInput, type DeleteAccountSettingCommand
|
|
|
9
10
|
import { type DeleteAttributesCommandInput, type DeleteAttributesCommandOutput } from "./commands/DeleteAttributesCommand";
|
|
10
11
|
import { type DeleteCapacityProviderCommandInput, type DeleteCapacityProviderCommandOutput } from "./commands/DeleteCapacityProviderCommand";
|
|
11
12
|
import { type DeleteClusterCommandInput, type DeleteClusterCommandOutput } from "./commands/DeleteClusterCommand";
|
|
13
|
+
import { type DeleteDaemonCommandInput, type DeleteDaemonCommandOutput } from "./commands/DeleteDaemonCommand";
|
|
14
|
+
import { type DeleteDaemonTaskDefinitionCommandInput, type DeleteDaemonTaskDefinitionCommandOutput } from "./commands/DeleteDaemonTaskDefinitionCommand";
|
|
12
15
|
import { type DeleteExpressGatewayServiceCommandInput, type DeleteExpressGatewayServiceCommandOutput } from "./commands/DeleteExpressGatewayServiceCommand";
|
|
13
16
|
import { type DeleteServiceCommandInput, type DeleteServiceCommandOutput } from "./commands/DeleteServiceCommand";
|
|
14
17
|
import { type DeleteTaskDefinitionsCommandInput, type DeleteTaskDefinitionsCommandOutput } from "./commands/DeleteTaskDefinitionsCommand";
|
|
@@ -18,6 +21,10 @@ import { type DeregisterTaskDefinitionCommandInput, type DeregisterTaskDefinitio
|
|
|
18
21
|
import { type DescribeCapacityProvidersCommandInput, type DescribeCapacityProvidersCommandOutput } from "./commands/DescribeCapacityProvidersCommand";
|
|
19
22
|
import { type DescribeClustersCommandInput, type DescribeClustersCommandOutput } from "./commands/DescribeClustersCommand";
|
|
20
23
|
import { type DescribeContainerInstancesCommandInput, type DescribeContainerInstancesCommandOutput } from "./commands/DescribeContainerInstancesCommand";
|
|
24
|
+
import { type DescribeDaemonCommandInput, type DescribeDaemonCommandOutput } from "./commands/DescribeDaemonCommand";
|
|
25
|
+
import { type DescribeDaemonDeploymentsCommandInput, type DescribeDaemonDeploymentsCommandOutput } from "./commands/DescribeDaemonDeploymentsCommand";
|
|
26
|
+
import { type DescribeDaemonRevisionsCommandInput, type DescribeDaemonRevisionsCommandOutput } from "./commands/DescribeDaemonRevisionsCommand";
|
|
27
|
+
import { type DescribeDaemonTaskDefinitionCommandInput, type DescribeDaemonTaskDefinitionCommandOutput } from "./commands/DescribeDaemonTaskDefinitionCommand";
|
|
21
28
|
import { type DescribeExpressGatewayServiceCommandInput, type DescribeExpressGatewayServiceCommandOutput } from "./commands/DescribeExpressGatewayServiceCommand";
|
|
22
29
|
import { type DescribeServiceDeploymentsCommandInput, type DescribeServiceDeploymentsCommandOutput } from "./commands/DescribeServiceDeploymentsCommand";
|
|
23
30
|
import { type DescribeServiceRevisionsCommandInput, type DescribeServiceRevisionsCommandOutput } from "./commands/DescribeServiceRevisionsCommand";
|
|
@@ -32,6 +39,9 @@ import { type ListAccountSettingsCommandInput, type ListAccountSettingsCommandOu
|
|
|
32
39
|
import { type ListAttributesCommandInput, type ListAttributesCommandOutput } from "./commands/ListAttributesCommand";
|
|
33
40
|
import { type ListClustersCommandInput, type ListClustersCommandOutput } from "./commands/ListClustersCommand";
|
|
34
41
|
import { type ListContainerInstancesCommandInput, type ListContainerInstancesCommandOutput } from "./commands/ListContainerInstancesCommand";
|
|
42
|
+
import { type ListDaemonDeploymentsCommandInput, type ListDaemonDeploymentsCommandOutput } from "./commands/ListDaemonDeploymentsCommand";
|
|
43
|
+
import { type ListDaemonsCommandInput, type ListDaemonsCommandOutput } from "./commands/ListDaemonsCommand";
|
|
44
|
+
import { type ListDaemonTaskDefinitionsCommandInput, type ListDaemonTaskDefinitionsCommandOutput } from "./commands/ListDaemonTaskDefinitionsCommand";
|
|
35
45
|
import { type ListServiceDeploymentsCommandInput, type ListServiceDeploymentsCommandOutput } from "./commands/ListServiceDeploymentsCommand";
|
|
36
46
|
import { type ListServicesByNamespaceCommandInput, type ListServicesByNamespaceCommandOutput } from "./commands/ListServicesByNamespaceCommand";
|
|
37
47
|
import { type ListServicesCommandInput, type ListServicesCommandOutput } from "./commands/ListServicesCommand";
|
|
@@ -44,6 +54,7 @@ import { type PutAccountSettingDefaultCommandInput, type PutAccountSettingDefaul
|
|
|
44
54
|
import { type PutAttributesCommandInput, type PutAttributesCommandOutput } from "./commands/PutAttributesCommand";
|
|
45
55
|
import { type PutClusterCapacityProvidersCommandInput, type PutClusterCapacityProvidersCommandOutput } from "./commands/PutClusterCapacityProvidersCommand";
|
|
46
56
|
import { type RegisterContainerInstanceCommandInput, type RegisterContainerInstanceCommandOutput } from "./commands/RegisterContainerInstanceCommand";
|
|
57
|
+
import { type RegisterDaemonTaskDefinitionCommandInput, type RegisterDaemonTaskDefinitionCommandOutput } from "./commands/RegisterDaemonTaskDefinitionCommand";
|
|
47
58
|
import { type RegisterTaskDefinitionCommandInput, type RegisterTaskDefinitionCommandOutput } from "./commands/RegisterTaskDefinitionCommand";
|
|
48
59
|
import { type RunTaskCommandInput, type RunTaskCommandOutput } from "./commands/RunTaskCommand";
|
|
49
60
|
import { type StartTaskCommandInput, type StartTaskCommandOutput } from "./commands/StartTaskCommand";
|
|
@@ -59,6 +70,7 @@ import { type UpdateClusterCommandInput, type UpdateClusterCommandOutput } from
|
|
|
59
70
|
import { type UpdateClusterSettingsCommandInput, type UpdateClusterSettingsCommandOutput } from "./commands/UpdateClusterSettingsCommand";
|
|
60
71
|
import { type UpdateContainerAgentCommandInput, type UpdateContainerAgentCommandOutput } from "./commands/UpdateContainerAgentCommand";
|
|
61
72
|
import { type UpdateContainerInstancesStateCommandInput, type UpdateContainerInstancesStateCommandOutput } from "./commands/UpdateContainerInstancesStateCommand";
|
|
73
|
+
import { type UpdateDaemonCommandInput, type UpdateDaemonCommandOutput } from "./commands/UpdateDaemonCommand";
|
|
62
74
|
import { type UpdateExpressGatewayServiceCommandInput, type UpdateExpressGatewayServiceCommandOutput } from "./commands/UpdateExpressGatewayServiceCommand";
|
|
63
75
|
import { type UpdateServiceCommandInput, type UpdateServiceCommandOutput } from "./commands/UpdateServiceCommand";
|
|
64
76
|
import { type UpdateServicePrimaryTaskSetCommandInput, type UpdateServicePrimaryTaskSetCommandOutput } from "./commands/UpdateServicePrimaryTaskSetCommand";
|
|
@@ -79,6 +91,12 @@ export interface ECS {
|
|
|
79
91
|
createCluster(args: CreateClusterCommandInput, options?: __HttpHandlerOptions): Promise<CreateClusterCommandOutput>;
|
|
80
92
|
createCluster(args: CreateClusterCommandInput, cb: (err: any, data?: CreateClusterCommandOutput) => void): void;
|
|
81
93
|
createCluster(args: CreateClusterCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateClusterCommandOutput) => void): void;
|
|
94
|
+
/**
|
|
95
|
+
* @see {@link CreateDaemonCommand}
|
|
96
|
+
*/
|
|
97
|
+
createDaemon(args: CreateDaemonCommandInput, options?: __HttpHandlerOptions): Promise<CreateDaemonCommandOutput>;
|
|
98
|
+
createDaemon(args: CreateDaemonCommandInput, cb: (err: any, data?: CreateDaemonCommandOutput) => void): void;
|
|
99
|
+
createDaemon(args: CreateDaemonCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateDaemonCommandOutput) => void): void;
|
|
82
100
|
/**
|
|
83
101
|
* @see {@link CreateExpressGatewayServiceCommand}
|
|
84
102
|
*/
|
|
@@ -121,6 +139,18 @@ export interface ECS {
|
|
|
121
139
|
deleteCluster(args: DeleteClusterCommandInput, options?: __HttpHandlerOptions): Promise<DeleteClusterCommandOutput>;
|
|
122
140
|
deleteCluster(args: DeleteClusterCommandInput, cb: (err: any, data?: DeleteClusterCommandOutput) => void): void;
|
|
123
141
|
deleteCluster(args: DeleteClusterCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteClusterCommandOutput) => void): void;
|
|
142
|
+
/**
|
|
143
|
+
* @see {@link DeleteDaemonCommand}
|
|
144
|
+
*/
|
|
145
|
+
deleteDaemon(args: DeleteDaemonCommandInput, options?: __HttpHandlerOptions): Promise<DeleteDaemonCommandOutput>;
|
|
146
|
+
deleteDaemon(args: DeleteDaemonCommandInput, cb: (err: any, data?: DeleteDaemonCommandOutput) => void): void;
|
|
147
|
+
deleteDaemon(args: DeleteDaemonCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteDaemonCommandOutput) => void): void;
|
|
148
|
+
/**
|
|
149
|
+
* @see {@link DeleteDaemonTaskDefinitionCommand}
|
|
150
|
+
*/
|
|
151
|
+
deleteDaemonTaskDefinition(args: DeleteDaemonTaskDefinitionCommandInput, options?: __HttpHandlerOptions): Promise<DeleteDaemonTaskDefinitionCommandOutput>;
|
|
152
|
+
deleteDaemonTaskDefinition(args: DeleteDaemonTaskDefinitionCommandInput, cb: (err: any, data?: DeleteDaemonTaskDefinitionCommandOutput) => void): void;
|
|
153
|
+
deleteDaemonTaskDefinition(args: DeleteDaemonTaskDefinitionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteDaemonTaskDefinitionCommandOutput) => void): void;
|
|
124
154
|
/**
|
|
125
155
|
* @see {@link DeleteExpressGatewayServiceCommand}
|
|
126
156
|
*/
|
|
@@ -177,6 +207,30 @@ export interface ECS {
|
|
|
177
207
|
describeContainerInstances(args: DescribeContainerInstancesCommandInput, options?: __HttpHandlerOptions): Promise<DescribeContainerInstancesCommandOutput>;
|
|
178
208
|
describeContainerInstances(args: DescribeContainerInstancesCommandInput, cb: (err: any, data?: DescribeContainerInstancesCommandOutput) => void): void;
|
|
179
209
|
describeContainerInstances(args: DescribeContainerInstancesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeContainerInstancesCommandOutput) => void): void;
|
|
210
|
+
/**
|
|
211
|
+
* @see {@link DescribeDaemonCommand}
|
|
212
|
+
*/
|
|
213
|
+
describeDaemon(args: DescribeDaemonCommandInput, options?: __HttpHandlerOptions): Promise<DescribeDaemonCommandOutput>;
|
|
214
|
+
describeDaemon(args: DescribeDaemonCommandInput, cb: (err: any, data?: DescribeDaemonCommandOutput) => void): void;
|
|
215
|
+
describeDaemon(args: DescribeDaemonCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeDaemonCommandOutput) => void): void;
|
|
216
|
+
/**
|
|
217
|
+
* @see {@link DescribeDaemonDeploymentsCommand}
|
|
218
|
+
*/
|
|
219
|
+
describeDaemonDeployments(args: DescribeDaemonDeploymentsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeDaemonDeploymentsCommandOutput>;
|
|
220
|
+
describeDaemonDeployments(args: DescribeDaemonDeploymentsCommandInput, cb: (err: any, data?: DescribeDaemonDeploymentsCommandOutput) => void): void;
|
|
221
|
+
describeDaemonDeployments(args: DescribeDaemonDeploymentsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeDaemonDeploymentsCommandOutput) => void): void;
|
|
222
|
+
/**
|
|
223
|
+
* @see {@link DescribeDaemonRevisionsCommand}
|
|
224
|
+
*/
|
|
225
|
+
describeDaemonRevisions(args: DescribeDaemonRevisionsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeDaemonRevisionsCommandOutput>;
|
|
226
|
+
describeDaemonRevisions(args: DescribeDaemonRevisionsCommandInput, cb: (err: any, data?: DescribeDaemonRevisionsCommandOutput) => void): void;
|
|
227
|
+
describeDaemonRevisions(args: DescribeDaemonRevisionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeDaemonRevisionsCommandOutput) => void): void;
|
|
228
|
+
/**
|
|
229
|
+
* @see {@link DescribeDaemonTaskDefinitionCommand}
|
|
230
|
+
*/
|
|
231
|
+
describeDaemonTaskDefinition(args: DescribeDaemonTaskDefinitionCommandInput, options?: __HttpHandlerOptions): Promise<DescribeDaemonTaskDefinitionCommandOutput>;
|
|
232
|
+
describeDaemonTaskDefinition(args: DescribeDaemonTaskDefinitionCommandInput, cb: (err: any, data?: DescribeDaemonTaskDefinitionCommandOutput) => void): void;
|
|
233
|
+
describeDaemonTaskDefinition(args: DescribeDaemonTaskDefinitionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeDaemonTaskDefinitionCommandOutput) => void): void;
|
|
180
234
|
/**
|
|
181
235
|
* @see {@link DescribeExpressGatewayServiceCommand}
|
|
182
236
|
*/
|
|
@@ -265,6 +319,26 @@ export interface ECS {
|
|
|
265
319
|
listContainerInstances(args: ListContainerInstancesCommandInput, options?: __HttpHandlerOptions): Promise<ListContainerInstancesCommandOutput>;
|
|
266
320
|
listContainerInstances(args: ListContainerInstancesCommandInput, cb: (err: any, data?: ListContainerInstancesCommandOutput) => void): void;
|
|
267
321
|
listContainerInstances(args: ListContainerInstancesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListContainerInstancesCommandOutput) => void): void;
|
|
322
|
+
/**
|
|
323
|
+
* @see {@link ListDaemonDeploymentsCommand}
|
|
324
|
+
*/
|
|
325
|
+
listDaemonDeployments(args: ListDaemonDeploymentsCommandInput, options?: __HttpHandlerOptions): Promise<ListDaemonDeploymentsCommandOutput>;
|
|
326
|
+
listDaemonDeployments(args: ListDaemonDeploymentsCommandInput, cb: (err: any, data?: ListDaemonDeploymentsCommandOutput) => void): void;
|
|
327
|
+
listDaemonDeployments(args: ListDaemonDeploymentsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListDaemonDeploymentsCommandOutput) => void): void;
|
|
328
|
+
/**
|
|
329
|
+
* @see {@link ListDaemonsCommand}
|
|
330
|
+
*/
|
|
331
|
+
listDaemons(): Promise<ListDaemonsCommandOutput>;
|
|
332
|
+
listDaemons(args: ListDaemonsCommandInput, options?: __HttpHandlerOptions): Promise<ListDaemonsCommandOutput>;
|
|
333
|
+
listDaemons(args: ListDaemonsCommandInput, cb: (err: any, data?: ListDaemonsCommandOutput) => void): void;
|
|
334
|
+
listDaemons(args: ListDaemonsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListDaemonsCommandOutput) => void): void;
|
|
335
|
+
/**
|
|
336
|
+
* @see {@link ListDaemonTaskDefinitionsCommand}
|
|
337
|
+
*/
|
|
338
|
+
listDaemonTaskDefinitions(): Promise<ListDaemonTaskDefinitionsCommandOutput>;
|
|
339
|
+
listDaemonTaskDefinitions(args: ListDaemonTaskDefinitionsCommandInput, options?: __HttpHandlerOptions): Promise<ListDaemonTaskDefinitionsCommandOutput>;
|
|
340
|
+
listDaemonTaskDefinitions(args: ListDaemonTaskDefinitionsCommandInput, cb: (err: any, data?: ListDaemonTaskDefinitionsCommandOutput) => void): void;
|
|
341
|
+
listDaemonTaskDefinitions(args: ListDaemonTaskDefinitionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListDaemonTaskDefinitionsCommandOutput) => void): void;
|
|
268
342
|
/**
|
|
269
343
|
* @see {@link ListServiceDeploymentsCommand}
|
|
270
344
|
*/
|
|
@@ -342,6 +416,12 @@ export interface ECS {
|
|
|
342
416
|
registerContainerInstance(args: RegisterContainerInstanceCommandInput, options?: __HttpHandlerOptions): Promise<RegisterContainerInstanceCommandOutput>;
|
|
343
417
|
registerContainerInstance(args: RegisterContainerInstanceCommandInput, cb: (err: any, data?: RegisterContainerInstanceCommandOutput) => void): void;
|
|
344
418
|
registerContainerInstance(args: RegisterContainerInstanceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RegisterContainerInstanceCommandOutput) => void): void;
|
|
419
|
+
/**
|
|
420
|
+
* @see {@link RegisterDaemonTaskDefinitionCommand}
|
|
421
|
+
*/
|
|
422
|
+
registerDaemonTaskDefinition(args: RegisterDaemonTaskDefinitionCommandInput, options?: __HttpHandlerOptions): Promise<RegisterDaemonTaskDefinitionCommandOutput>;
|
|
423
|
+
registerDaemonTaskDefinition(args: RegisterDaemonTaskDefinitionCommandInput, cb: (err: any, data?: RegisterDaemonTaskDefinitionCommandOutput) => void): void;
|
|
424
|
+
registerDaemonTaskDefinition(args: RegisterDaemonTaskDefinitionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RegisterDaemonTaskDefinitionCommandOutput) => void): void;
|
|
345
425
|
/**
|
|
346
426
|
* @see {@link RegisterTaskDefinitionCommand}
|
|
347
427
|
*/
|
|
@@ -434,6 +514,12 @@ export interface ECS {
|
|
|
434
514
|
updateContainerInstancesState(args: UpdateContainerInstancesStateCommandInput, options?: __HttpHandlerOptions): Promise<UpdateContainerInstancesStateCommandOutput>;
|
|
435
515
|
updateContainerInstancesState(args: UpdateContainerInstancesStateCommandInput, cb: (err: any, data?: UpdateContainerInstancesStateCommandOutput) => void): void;
|
|
436
516
|
updateContainerInstancesState(args: UpdateContainerInstancesStateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateContainerInstancesStateCommandOutput) => void): void;
|
|
517
|
+
/**
|
|
518
|
+
* @see {@link UpdateDaemonCommand}
|
|
519
|
+
*/
|
|
520
|
+
updateDaemon(args: UpdateDaemonCommandInput, options?: __HttpHandlerOptions): Promise<UpdateDaemonCommandOutput>;
|
|
521
|
+
updateDaemon(args: UpdateDaemonCommandInput, cb: (err: any, data?: UpdateDaemonCommandOutput) => void): void;
|
|
522
|
+
updateDaemon(args: UpdateDaemonCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateDaemonCommandOutput) => void): void;
|
|
437
523
|
/**
|
|
438
524
|
* @see {@link UpdateExpressGatewayServiceCommand}
|
|
439
525
|
*/
|
|
@@ -527,6 +613,36 @@ export interface ECS {
|
|
|
527
613
|
* @returns AsyncIterable of {@link ListTasksCommandOutput}.
|
|
528
614
|
*/
|
|
529
615
|
paginateListTasks(args?: ListTasksCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListTasksCommandOutput>;
|
|
616
|
+
/**
|
|
617
|
+
* @see {@link DescribeDaemonCommand}
|
|
618
|
+
* @param args - command input.
|
|
619
|
+
* @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
|
|
620
|
+
*/
|
|
621
|
+
waitUntilDaemonActive(args: DescribeDaemonCommandInput, waiterConfig: number | Omit<WaiterConfiguration<ECS>, "client">): Promise<WaiterResult>;
|
|
622
|
+
/**
|
|
623
|
+
* @see {@link DescribeDaemonDeploymentsCommand}
|
|
624
|
+
* @param args - command input.
|
|
625
|
+
* @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
|
|
626
|
+
*/
|
|
627
|
+
waitUntilDaemonDeploymentSuccessful(args: DescribeDaemonDeploymentsCommandInput, waiterConfig: number | Omit<WaiterConfiguration<ECS>, "client">): Promise<WaiterResult>;
|
|
628
|
+
/**
|
|
629
|
+
* @see {@link DescribeDaemonDeploymentsCommand}
|
|
630
|
+
* @param args - command input.
|
|
631
|
+
* @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
|
|
632
|
+
*/
|
|
633
|
+
waitUntilDaemonDeploymentStopped(args: DescribeDaemonDeploymentsCommandInput, waiterConfig: number | Omit<WaiterConfiguration<ECS>, "client">): Promise<WaiterResult>;
|
|
634
|
+
/**
|
|
635
|
+
* @see {@link DescribeDaemonTaskDefinitionCommand}
|
|
636
|
+
* @param args - command input.
|
|
637
|
+
* @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
|
|
638
|
+
*/
|
|
639
|
+
waitUntilDaemonTaskDefinitionActive(args: DescribeDaemonTaskDefinitionCommandInput, waiterConfig: number | Omit<WaiterConfiguration<ECS>, "client">): Promise<WaiterResult>;
|
|
640
|
+
/**
|
|
641
|
+
* @see {@link DescribeDaemonTaskDefinitionCommand}
|
|
642
|
+
* @param args - command input.
|
|
643
|
+
* @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
|
|
644
|
+
*/
|
|
645
|
+
waitUntilDaemonTaskDefinitionDeleted(args: DescribeDaemonTaskDefinitionCommandInput, waiterConfig: number | Omit<WaiterConfiguration<ECS>, "client">): Promise<WaiterResult>;
|
|
530
646
|
/**
|
|
531
647
|
* @see {@link DescribeServicesCommand}
|
|
532
648
|
* @param args - command input.
|
|
@@ -9,6 +9,7 @@ import type { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengt
|
|
|
9
9
|
import { type HttpAuthSchemeInputConfig, type HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
|
|
10
10
|
import type { CreateCapacityProviderCommandInput, CreateCapacityProviderCommandOutput } from "./commands/CreateCapacityProviderCommand";
|
|
11
11
|
import type { CreateClusterCommandInput, CreateClusterCommandOutput } from "./commands/CreateClusterCommand";
|
|
12
|
+
import type { CreateDaemonCommandInput, CreateDaemonCommandOutput } from "./commands/CreateDaemonCommand";
|
|
12
13
|
import type { CreateExpressGatewayServiceCommandInput, CreateExpressGatewayServiceCommandOutput } from "./commands/CreateExpressGatewayServiceCommand";
|
|
13
14
|
import type { CreateServiceCommandInput, CreateServiceCommandOutput } from "./commands/CreateServiceCommand";
|
|
14
15
|
import type { CreateTaskSetCommandInput, CreateTaskSetCommandOutput } from "./commands/CreateTaskSetCommand";
|
|
@@ -16,6 +17,8 @@ import type { DeleteAccountSettingCommandInput, DeleteAccountSettingCommandOutpu
|
|
|
16
17
|
import type { DeleteAttributesCommandInput, DeleteAttributesCommandOutput } from "./commands/DeleteAttributesCommand";
|
|
17
18
|
import type { DeleteCapacityProviderCommandInput, DeleteCapacityProviderCommandOutput } from "./commands/DeleteCapacityProviderCommand";
|
|
18
19
|
import type { DeleteClusterCommandInput, DeleteClusterCommandOutput } from "./commands/DeleteClusterCommand";
|
|
20
|
+
import type { DeleteDaemonCommandInput, DeleteDaemonCommandOutput } from "./commands/DeleteDaemonCommand";
|
|
21
|
+
import type { DeleteDaemonTaskDefinitionCommandInput, DeleteDaemonTaskDefinitionCommandOutput } from "./commands/DeleteDaemonTaskDefinitionCommand";
|
|
19
22
|
import type { DeleteExpressGatewayServiceCommandInput, DeleteExpressGatewayServiceCommandOutput } from "./commands/DeleteExpressGatewayServiceCommand";
|
|
20
23
|
import type { DeleteServiceCommandInput, DeleteServiceCommandOutput } from "./commands/DeleteServiceCommand";
|
|
21
24
|
import type { DeleteTaskDefinitionsCommandInput, DeleteTaskDefinitionsCommandOutput } from "./commands/DeleteTaskDefinitionsCommand";
|
|
@@ -25,6 +28,10 @@ import type { DeregisterTaskDefinitionCommandInput, DeregisterTaskDefinitionComm
|
|
|
25
28
|
import type { DescribeCapacityProvidersCommandInput, DescribeCapacityProvidersCommandOutput } from "./commands/DescribeCapacityProvidersCommand";
|
|
26
29
|
import type { DescribeClustersCommandInput, DescribeClustersCommandOutput } from "./commands/DescribeClustersCommand";
|
|
27
30
|
import type { DescribeContainerInstancesCommandInput, DescribeContainerInstancesCommandOutput } from "./commands/DescribeContainerInstancesCommand";
|
|
31
|
+
import type { DescribeDaemonCommandInput, DescribeDaemonCommandOutput } from "./commands/DescribeDaemonCommand";
|
|
32
|
+
import type { DescribeDaemonDeploymentsCommandInput, DescribeDaemonDeploymentsCommandOutput } from "./commands/DescribeDaemonDeploymentsCommand";
|
|
33
|
+
import type { DescribeDaemonRevisionsCommandInput, DescribeDaemonRevisionsCommandOutput } from "./commands/DescribeDaemonRevisionsCommand";
|
|
34
|
+
import type { DescribeDaemonTaskDefinitionCommandInput, DescribeDaemonTaskDefinitionCommandOutput } from "./commands/DescribeDaemonTaskDefinitionCommand";
|
|
28
35
|
import type { DescribeExpressGatewayServiceCommandInput, DescribeExpressGatewayServiceCommandOutput } from "./commands/DescribeExpressGatewayServiceCommand";
|
|
29
36
|
import type { DescribeServiceDeploymentsCommandInput, DescribeServiceDeploymentsCommandOutput } from "./commands/DescribeServiceDeploymentsCommand";
|
|
30
37
|
import type { DescribeServiceRevisionsCommandInput, DescribeServiceRevisionsCommandOutput } from "./commands/DescribeServiceRevisionsCommand";
|
|
@@ -39,6 +46,9 @@ import type { ListAccountSettingsCommandInput, ListAccountSettingsCommandOutput
|
|
|
39
46
|
import type { ListAttributesCommandInput, ListAttributesCommandOutput } from "./commands/ListAttributesCommand";
|
|
40
47
|
import type { ListClustersCommandInput, ListClustersCommandOutput } from "./commands/ListClustersCommand";
|
|
41
48
|
import type { ListContainerInstancesCommandInput, ListContainerInstancesCommandOutput } from "./commands/ListContainerInstancesCommand";
|
|
49
|
+
import type { ListDaemonDeploymentsCommandInput, ListDaemonDeploymentsCommandOutput } from "./commands/ListDaemonDeploymentsCommand";
|
|
50
|
+
import type { ListDaemonsCommandInput, ListDaemonsCommandOutput } from "./commands/ListDaemonsCommand";
|
|
51
|
+
import type { ListDaemonTaskDefinitionsCommandInput, ListDaemonTaskDefinitionsCommandOutput } from "./commands/ListDaemonTaskDefinitionsCommand";
|
|
42
52
|
import type { ListServiceDeploymentsCommandInput, ListServiceDeploymentsCommandOutput } from "./commands/ListServiceDeploymentsCommand";
|
|
43
53
|
import type { ListServicesByNamespaceCommandInput, ListServicesByNamespaceCommandOutput } from "./commands/ListServicesByNamespaceCommand";
|
|
44
54
|
import type { ListServicesCommandInput, ListServicesCommandOutput } from "./commands/ListServicesCommand";
|
|
@@ -51,6 +61,7 @@ import type { PutAccountSettingDefaultCommandInput, PutAccountSettingDefaultComm
|
|
|
51
61
|
import type { PutAttributesCommandInput, PutAttributesCommandOutput } from "./commands/PutAttributesCommand";
|
|
52
62
|
import type { PutClusterCapacityProvidersCommandInput, PutClusterCapacityProvidersCommandOutput } from "./commands/PutClusterCapacityProvidersCommand";
|
|
53
63
|
import type { RegisterContainerInstanceCommandInput, RegisterContainerInstanceCommandOutput } from "./commands/RegisterContainerInstanceCommand";
|
|
64
|
+
import type { RegisterDaemonTaskDefinitionCommandInput, RegisterDaemonTaskDefinitionCommandOutput } from "./commands/RegisterDaemonTaskDefinitionCommand";
|
|
54
65
|
import type { RegisterTaskDefinitionCommandInput, RegisterTaskDefinitionCommandOutput } from "./commands/RegisterTaskDefinitionCommand";
|
|
55
66
|
import type { RunTaskCommandInput, RunTaskCommandOutput } from "./commands/RunTaskCommand";
|
|
56
67
|
import type { StartTaskCommandInput, StartTaskCommandOutput } from "./commands/StartTaskCommand";
|
|
@@ -66,6 +77,7 @@ import type { UpdateClusterCommandInput, UpdateClusterCommandOutput } from "./co
|
|
|
66
77
|
import type { UpdateClusterSettingsCommandInput, UpdateClusterSettingsCommandOutput } from "./commands/UpdateClusterSettingsCommand";
|
|
67
78
|
import type { UpdateContainerAgentCommandInput, UpdateContainerAgentCommandOutput } from "./commands/UpdateContainerAgentCommand";
|
|
68
79
|
import type { UpdateContainerInstancesStateCommandInput, UpdateContainerInstancesStateCommandOutput } from "./commands/UpdateContainerInstancesStateCommand";
|
|
80
|
+
import type { UpdateDaemonCommandInput, UpdateDaemonCommandOutput } from "./commands/UpdateDaemonCommand";
|
|
69
81
|
import type { UpdateExpressGatewayServiceCommandInput, UpdateExpressGatewayServiceCommandOutput } from "./commands/UpdateExpressGatewayServiceCommand";
|
|
70
82
|
import type { UpdateServiceCommandInput, UpdateServiceCommandOutput } from "./commands/UpdateServiceCommand";
|
|
71
83
|
import type { UpdateServicePrimaryTaskSetCommandInput, UpdateServicePrimaryTaskSetCommandOutput } from "./commands/UpdateServicePrimaryTaskSetCommand";
|
|
@@ -77,11 +89,11 @@ export { __Client };
|
|
|
77
89
|
/**
|
|
78
90
|
* @public
|
|
79
91
|
*/
|
|
80
|
-
export type ServiceInputTypes = CreateCapacityProviderCommandInput | CreateClusterCommandInput | CreateExpressGatewayServiceCommandInput | CreateServiceCommandInput | CreateTaskSetCommandInput | DeleteAccountSettingCommandInput | DeleteAttributesCommandInput | DeleteCapacityProviderCommandInput | DeleteClusterCommandInput | DeleteExpressGatewayServiceCommandInput | DeleteServiceCommandInput | DeleteTaskDefinitionsCommandInput | DeleteTaskSetCommandInput | DeregisterContainerInstanceCommandInput | DeregisterTaskDefinitionCommandInput | DescribeCapacityProvidersCommandInput | DescribeClustersCommandInput | DescribeContainerInstancesCommandInput | DescribeExpressGatewayServiceCommandInput | DescribeServiceDeploymentsCommandInput | DescribeServiceRevisionsCommandInput | DescribeServicesCommandInput | DescribeTaskDefinitionCommandInput | DescribeTaskSetsCommandInput | DescribeTasksCommandInput | DiscoverPollEndpointCommandInput | ExecuteCommandCommandInput | GetTaskProtectionCommandInput | ListAccountSettingsCommandInput | ListAttributesCommandInput | ListClustersCommandInput | ListContainerInstancesCommandInput | ListServiceDeploymentsCommandInput | ListServicesByNamespaceCommandInput | ListServicesCommandInput | ListTagsForResourceCommandInput | ListTaskDefinitionFamiliesCommandInput | ListTaskDefinitionsCommandInput | ListTasksCommandInput | PutAccountSettingCommandInput | PutAccountSettingDefaultCommandInput | PutAttributesCommandInput | PutClusterCapacityProvidersCommandInput | RegisterContainerInstanceCommandInput | RegisterTaskDefinitionCommandInput | RunTaskCommandInput | StartTaskCommandInput | StopServiceDeploymentCommandInput | StopTaskCommandInput | SubmitAttachmentStateChangesCommandInput | SubmitContainerStateChangeCommandInput | SubmitTaskStateChangeCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateCapacityProviderCommandInput | UpdateClusterCommandInput | UpdateClusterSettingsCommandInput | UpdateContainerAgentCommandInput | UpdateContainerInstancesStateCommandInput | UpdateExpressGatewayServiceCommandInput | UpdateServiceCommandInput | UpdateServicePrimaryTaskSetCommandInput | UpdateTaskProtectionCommandInput | UpdateTaskSetCommandInput;
|
|
92
|
+
export type ServiceInputTypes = CreateCapacityProviderCommandInput | CreateClusterCommandInput | CreateDaemonCommandInput | CreateExpressGatewayServiceCommandInput | CreateServiceCommandInput | CreateTaskSetCommandInput | DeleteAccountSettingCommandInput | DeleteAttributesCommandInput | DeleteCapacityProviderCommandInput | DeleteClusterCommandInput | DeleteDaemonCommandInput | DeleteDaemonTaskDefinitionCommandInput | DeleteExpressGatewayServiceCommandInput | DeleteServiceCommandInput | DeleteTaskDefinitionsCommandInput | DeleteTaskSetCommandInput | DeregisterContainerInstanceCommandInput | DeregisterTaskDefinitionCommandInput | DescribeCapacityProvidersCommandInput | DescribeClustersCommandInput | DescribeContainerInstancesCommandInput | DescribeDaemonCommandInput | DescribeDaemonDeploymentsCommandInput | DescribeDaemonRevisionsCommandInput | DescribeDaemonTaskDefinitionCommandInput | DescribeExpressGatewayServiceCommandInput | DescribeServiceDeploymentsCommandInput | DescribeServiceRevisionsCommandInput | DescribeServicesCommandInput | DescribeTaskDefinitionCommandInput | DescribeTaskSetsCommandInput | DescribeTasksCommandInput | DiscoverPollEndpointCommandInput | ExecuteCommandCommandInput | GetTaskProtectionCommandInput | ListAccountSettingsCommandInput | ListAttributesCommandInput | ListClustersCommandInput | ListContainerInstancesCommandInput | ListDaemonDeploymentsCommandInput | ListDaemonTaskDefinitionsCommandInput | ListDaemonsCommandInput | ListServiceDeploymentsCommandInput | ListServicesByNamespaceCommandInput | ListServicesCommandInput | ListTagsForResourceCommandInput | ListTaskDefinitionFamiliesCommandInput | ListTaskDefinitionsCommandInput | ListTasksCommandInput | PutAccountSettingCommandInput | PutAccountSettingDefaultCommandInput | PutAttributesCommandInput | PutClusterCapacityProvidersCommandInput | RegisterContainerInstanceCommandInput | RegisterDaemonTaskDefinitionCommandInput | RegisterTaskDefinitionCommandInput | RunTaskCommandInput | StartTaskCommandInput | StopServiceDeploymentCommandInput | StopTaskCommandInput | SubmitAttachmentStateChangesCommandInput | SubmitContainerStateChangeCommandInput | SubmitTaskStateChangeCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateCapacityProviderCommandInput | UpdateClusterCommandInput | UpdateClusterSettingsCommandInput | UpdateContainerAgentCommandInput | UpdateContainerInstancesStateCommandInput | UpdateDaemonCommandInput | UpdateExpressGatewayServiceCommandInput | UpdateServiceCommandInput | UpdateServicePrimaryTaskSetCommandInput | UpdateTaskProtectionCommandInput | UpdateTaskSetCommandInput;
|
|
81
93
|
/**
|
|
82
94
|
* @public
|
|
83
95
|
*/
|
|
84
|
-
export type ServiceOutputTypes = CreateCapacityProviderCommandOutput | CreateClusterCommandOutput | CreateExpressGatewayServiceCommandOutput | CreateServiceCommandOutput | CreateTaskSetCommandOutput | DeleteAccountSettingCommandOutput | DeleteAttributesCommandOutput | DeleteCapacityProviderCommandOutput | DeleteClusterCommandOutput | DeleteExpressGatewayServiceCommandOutput | DeleteServiceCommandOutput | DeleteTaskDefinitionsCommandOutput | DeleteTaskSetCommandOutput | DeregisterContainerInstanceCommandOutput | DeregisterTaskDefinitionCommandOutput | DescribeCapacityProvidersCommandOutput | DescribeClustersCommandOutput | DescribeContainerInstancesCommandOutput | DescribeExpressGatewayServiceCommandOutput | DescribeServiceDeploymentsCommandOutput | DescribeServiceRevisionsCommandOutput | DescribeServicesCommandOutput | DescribeTaskDefinitionCommandOutput | DescribeTaskSetsCommandOutput | DescribeTasksCommandOutput | DiscoverPollEndpointCommandOutput | ExecuteCommandCommandOutput | GetTaskProtectionCommandOutput | ListAccountSettingsCommandOutput | ListAttributesCommandOutput | ListClustersCommandOutput | ListContainerInstancesCommandOutput | ListServiceDeploymentsCommandOutput | ListServicesByNamespaceCommandOutput | ListServicesCommandOutput | ListTagsForResourceCommandOutput | ListTaskDefinitionFamiliesCommandOutput | ListTaskDefinitionsCommandOutput | ListTasksCommandOutput | PutAccountSettingCommandOutput | PutAccountSettingDefaultCommandOutput | PutAttributesCommandOutput | PutClusterCapacityProvidersCommandOutput | RegisterContainerInstanceCommandOutput | RegisterTaskDefinitionCommandOutput | RunTaskCommandOutput | StartTaskCommandOutput | StopServiceDeploymentCommandOutput | StopTaskCommandOutput | SubmitAttachmentStateChangesCommandOutput | SubmitContainerStateChangeCommandOutput | SubmitTaskStateChangeCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateCapacityProviderCommandOutput | UpdateClusterCommandOutput | UpdateClusterSettingsCommandOutput | UpdateContainerAgentCommandOutput | UpdateContainerInstancesStateCommandOutput | UpdateExpressGatewayServiceCommandOutput | UpdateServiceCommandOutput | UpdateServicePrimaryTaskSetCommandOutput | UpdateTaskProtectionCommandOutput | UpdateTaskSetCommandOutput;
|
|
96
|
+
export type ServiceOutputTypes = CreateCapacityProviderCommandOutput | CreateClusterCommandOutput | CreateDaemonCommandOutput | CreateExpressGatewayServiceCommandOutput | CreateServiceCommandOutput | CreateTaskSetCommandOutput | DeleteAccountSettingCommandOutput | DeleteAttributesCommandOutput | DeleteCapacityProviderCommandOutput | DeleteClusterCommandOutput | DeleteDaemonCommandOutput | DeleteDaemonTaskDefinitionCommandOutput | DeleteExpressGatewayServiceCommandOutput | DeleteServiceCommandOutput | DeleteTaskDefinitionsCommandOutput | DeleteTaskSetCommandOutput | DeregisterContainerInstanceCommandOutput | DeregisterTaskDefinitionCommandOutput | DescribeCapacityProvidersCommandOutput | DescribeClustersCommandOutput | DescribeContainerInstancesCommandOutput | DescribeDaemonCommandOutput | DescribeDaemonDeploymentsCommandOutput | DescribeDaemonRevisionsCommandOutput | DescribeDaemonTaskDefinitionCommandOutput | DescribeExpressGatewayServiceCommandOutput | DescribeServiceDeploymentsCommandOutput | DescribeServiceRevisionsCommandOutput | DescribeServicesCommandOutput | DescribeTaskDefinitionCommandOutput | DescribeTaskSetsCommandOutput | DescribeTasksCommandOutput | DiscoverPollEndpointCommandOutput | ExecuteCommandCommandOutput | GetTaskProtectionCommandOutput | ListAccountSettingsCommandOutput | ListAttributesCommandOutput | ListClustersCommandOutput | ListContainerInstancesCommandOutput | ListDaemonDeploymentsCommandOutput | ListDaemonTaskDefinitionsCommandOutput | ListDaemonsCommandOutput | ListServiceDeploymentsCommandOutput | ListServicesByNamespaceCommandOutput | ListServicesCommandOutput | ListTagsForResourceCommandOutput | ListTaskDefinitionFamiliesCommandOutput | ListTaskDefinitionsCommandOutput | ListTasksCommandOutput | PutAccountSettingCommandOutput | PutAccountSettingDefaultCommandOutput | PutAttributesCommandOutput | PutClusterCapacityProvidersCommandOutput | RegisterContainerInstanceCommandOutput | RegisterDaemonTaskDefinitionCommandOutput | RegisterTaskDefinitionCommandOutput | RunTaskCommandOutput | StartTaskCommandOutput | StopServiceDeploymentCommandOutput | StopTaskCommandOutput | SubmitAttachmentStateChangesCommandOutput | SubmitContainerStateChangeCommandOutput | SubmitTaskStateChangeCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateCapacityProviderCommandOutput | UpdateClusterCommandOutput | UpdateClusterSettingsCommandOutput | UpdateContainerAgentCommandOutput | UpdateContainerInstancesStateCommandOutput | UpdateDaemonCommandOutput | UpdateExpressGatewayServiceCommandOutput | UpdateServiceCommandOutput | UpdateServicePrimaryTaskSetCommandOutput | UpdateTaskProtectionCommandOutput | UpdateTaskSetCommandOutput;
|
|
85
97
|
/**
|
|
86
98
|
* @public
|
|
87
99
|
*/
|