@aws-sdk/client-ecs 3.1021.0 → 3.1023.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-cjs/index.js
CHANGED
|
@@ -138,6 +138,18 @@ class CreateClusterCommand extends smithyClient.Command
|
|
|
138
138
|
.build() {
|
|
139
139
|
}
|
|
140
140
|
|
|
141
|
+
class CreateDaemonCommand extends smithyClient.Command
|
|
142
|
+
.classBuilder()
|
|
143
|
+
.ep(commonParams)
|
|
144
|
+
.m(function (Command, cs, config, o) {
|
|
145
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
146
|
+
})
|
|
147
|
+
.s("AmazonEC2ContainerServiceV20141113", "CreateDaemon", {})
|
|
148
|
+
.n("ECSClient", "CreateDaemonCommand")
|
|
149
|
+
.sc(schemas_0.CreateDaemon$)
|
|
150
|
+
.build() {
|
|
151
|
+
}
|
|
152
|
+
|
|
141
153
|
class CreateExpressGatewayServiceCommand extends smithyClient.Command
|
|
142
154
|
.classBuilder()
|
|
143
155
|
.ep(commonParams)
|
|
@@ -222,6 +234,30 @@ class DeleteClusterCommand extends smithyClient.Command
|
|
|
222
234
|
.build() {
|
|
223
235
|
}
|
|
224
236
|
|
|
237
|
+
class DeleteDaemonCommand extends smithyClient.Command
|
|
238
|
+
.classBuilder()
|
|
239
|
+
.ep(commonParams)
|
|
240
|
+
.m(function (Command, cs, config, o) {
|
|
241
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
242
|
+
})
|
|
243
|
+
.s("AmazonEC2ContainerServiceV20141113", "DeleteDaemon", {})
|
|
244
|
+
.n("ECSClient", "DeleteDaemonCommand")
|
|
245
|
+
.sc(schemas_0.DeleteDaemon$)
|
|
246
|
+
.build() {
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
class DeleteDaemonTaskDefinitionCommand extends smithyClient.Command
|
|
250
|
+
.classBuilder()
|
|
251
|
+
.ep(commonParams)
|
|
252
|
+
.m(function (Command, cs, config, o) {
|
|
253
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
254
|
+
})
|
|
255
|
+
.s("AmazonEC2ContainerServiceV20141113", "DeleteDaemonTaskDefinition", {})
|
|
256
|
+
.n("ECSClient", "DeleteDaemonTaskDefinitionCommand")
|
|
257
|
+
.sc(schemas_0.DeleteDaemonTaskDefinition$)
|
|
258
|
+
.build() {
|
|
259
|
+
}
|
|
260
|
+
|
|
225
261
|
class DeleteExpressGatewayServiceCommand extends smithyClient.Command
|
|
226
262
|
.classBuilder()
|
|
227
263
|
.ep(commonParams)
|
|
@@ -330,6 +366,54 @@ class DescribeContainerInstancesCommand extends smithyClient.Command
|
|
|
330
366
|
.build() {
|
|
331
367
|
}
|
|
332
368
|
|
|
369
|
+
class DescribeDaemonCommand extends smithyClient.Command
|
|
370
|
+
.classBuilder()
|
|
371
|
+
.ep(commonParams)
|
|
372
|
+
.m(function (Command, cs, config, o) {
|
|
373
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
374
|
+
})
|
|
375
|
+
.s("AmazonEC2ContainerServiceV20141113", "DescribeDaemon", {})
|
|
376
|
+
.n("ECSClient", "DescribeDaemonCommand")
|
|
377
|
+
.sc(schemas_0.DescribeDaemon$)
|
|
378
|
+
.build() {
|
|
379
|
+
}
|
|
380
|
+
|
|
381
|
+
class DescribeDaemonDeploymentsCommand extends smithyClient.Command
|
|
382
|
+
.classBuilder()
|
|
383
|
+
.ep(commonParams)
|
|
384
|
+
.m(function (Command, cs, config, o) {
|
|
385
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
386
|
+
})
|
|
387
|
+
.s("AmazonEC2ContainerServiceV20141113", "DescribeDaemonDeployments", {})
|
|
388
|
+
.n("ECSClient", "DescribeDaemonDeploymentsCommand")
|
|
389
|
+
.sc(schemas_0.DescribeDaemonDeployments$)
|
|
390
|
+
.build() {
|
|
391
|
+
}
|
|
392
|
+
|
|
393
|
+
class DescribeDaemonRevisionsCommand extends smithyClient.Command
|
|
394
|
+
.classBuilder()
|
|
395
|
+
.ep(commonParams)
|
|
396
|
+
.m(function (Command, cs, config, o) {
|
|
397
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
398
|
+
})
|
|
399
|
+
.s("AmazonEC2ContainerServiceV20141113", "DescribeDaemonRevisions", {})
|
|
400
|
+
.n("ECSClient", "DescribeDaemonRevisionsCommand")
|
|
401
|
+
.sc(schemas_0.DescribeDaemonRevisions$)
|
|
402
|
+
.build() {
|
|
403
|
+
}
|
|
404
|
+
|
|
405
|
+
class DescribeDaemonTaskDefinitionCommand extends smithyClient.Command
|
|
406
|
+
.classBuilder()
|
|
407
|
+
.ep(commonParams)
|
|
408
|
+
.m(function (Command, cs, config, o) {
|
|
409
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
410
|
+
})
|
|
411
|
+
.s("AmazonEC2ContainerServiceV20141113", "DescribeDaemonTaskDefinition", {})
|
|
412
|
+
.n("ECSClient", "DescribeDaemonTaskDefinitionCommand")
|
|
413
|
+
.sc(schemas_0.DescribeDaemonTaskDefinition$)
|
|
414
|
+
.build() {
|
|
415
|
+
}
|
|
416
|
+
|
|
333
417
|
class DescribeExpressGatewayServiceCommand extends smithyClient.Command
|
|
334
418
|
.classBuilder()
|
|
335
419
|
.ep(commonParams)
|
|
@@ -498,6 +582,42 @@ class ListContainerInstancesCommand extends smithyClient.Command
|
|
|
498
582
|
.build() {
|
|
499
583
|
}
|
|
500
584
|
|
|
585
|
+
class ListDaemonDeploymentsCommand extends smithyClient.Command
|
|
586
|
+
.classBuilder()
|
|
587
|
+
.ep(commonParams)
|
|
588
|
+
.m(function (Command, cs, config, o) {
|
|
589
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
590
|
+
})
|
|
591
|
+
.s("AmazonEC2ContainerServiceV20141113", "ListDaemonDeployments", {})
|
|
592
|
+
.n("ECSClient", "ListDaemonDeploymentsCommand")
|
|
593
|
+
.sc(schemas_0.ListDaemonDeployments$)
|
|
594
|
+
.build() {
|
|
595
|
+
}
|
|
596
|
+
|
|
597
|
+
class ListDaemonsCommand extends smithyClient.Command
|
|
598
|
+
.classBuilder()
|
|
599
|
+
.ep(commonParams)
|
|
600
|
+
.m(function (Command, cs, config, o) {
|
|
601
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
602
|
+
})
|
|
603
|
+
.s("AmazonEC2ContainerServiceV20141113", "ListDaemons", {})
|
|
604
|
+
.n("ECSClient", "ListDaemonsCommand")
|
|
605
|
+
.sc(schemas_0.ListDaemons$)
|
|
606
|
+
.build() {
|
|
607
|
+
}
|
|
608
|
+
|
|
609
|
+
class ListDaemonTaskDefinitionsCommand extends smithyClient.Command
|
|
610
|
+
.classBuilder()
|
|
611
|
+
.ep(commonParams)
|
|
612
|
+
.m(function (Command, cs, config, o) {
|
|
613
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
614
|
+
})
|
|
615
|
+
.s("AmazonEC2ContainerServiceV20141113", "ListDaemonTaskDefinitions", {})
|
|
616
|
+
.n("ECSClient", "ListDaemonTaskDefinitionsCommand")
|
|
617
|
+
.sc(schemas_0.ListDaemonTaskDefinitions$)
|
|
618
|
+
.build() {
|
|
619
|
+
}
|
|
620
|
+
|
|
501
621
|
class ListServiceDeploymentsCommand extends smithyClient.Command
|
|
502
622
|
.classBuilder()
|
|
503
623
|
.ep(commonParams)
|
|
@@ -642,6 +762,18 @@ class RegisterContainerInstanceCommand extends smithyClient.Command
|
|
|
642
762
|
.build() {
|
|
643
763
|
}
|
|
644
764
|
|
|
765
|
+
class RegisterDaemonTaskDefinitionCommand extends smithyClient.Command
|
|
766
|
+
.classBuilder()
|
|
767
|
+
.ep(commonParams)
|
|
768
|
+
.m(function (Command, cs, config, o) {
|
|
769
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
770
|
+
})
|
|
771
|
+
.s("AmazonEC2ContainerServiceV20141113", "RegisterDaemonTaskDefinition", {})
|
|
772
|
+
.n("ECSClient", "RegisterDaemonTaskDefinitionCommand")
|
|
773
|
+
.sc(schemas_0.RegisterDaemonTaskDefinition$)
|
|
774
|
+
.build() {
|
|
775
|
+
}
|
|
776
|
+
|
|
645
777
|
class RegisterTaskDefinitionCommand extends smithyClient.Command
|
|
646
778
|
.classBuilder()
|
|
647
779
|
.ep(commonParams)
|
|
@@ -822,6 +954,18 @@ class UpdateContainerInstancesStateCommand extends smithyClient.Command
|
|
|
822
954
|
.build() {
|
|
823
955
|
}
|
|
824
956
|
|
|
957
|
+
class UpdateDaemonCommand extends smithyClient.Command
|
|
958
|
+
.classBuilder()
|
|
959
|
+
.ep(commonParams)
|
|
960
|
+
.m(function (Command, cs, config, o) {
|
|
961
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
962
|
+
})
|
|
963
|
+
.s("AmazonEC2ContainerServiceV20141113", "UpdateDaemon", {})
|
|
964
|
+
.n("ECSClient", "UpdateDaemonCommand")
|
|
965
|
+
.sc(schemas_0.UpdateDaemon$)
|
|
966
|
+
.build() {
|
|
967
|
+
}
|
|
968
|
+
|
|
825
969
|
class UpdateExpressGatewayServiceCommand extends smithyClient.Command
|
|
826
970
|
.classBuilder()
|
|
827
971
|
.ep(commonParams)
|
|
@@ -900,6 +1044,274 @@ const paginateListTaskDefinitions = core.createPaginator(ECSClient, ListTaskDefi
|
|
|
900
1044
|
|
|
901
1045
|
const paginateListTasks = core.createPaginator(ECSClient, ListTasksCommand, "nextToken", "nextToken", "maxResults");
|
|
902
1046
|
|
|
1047
|
+
const checkState$8 = async (client, input) => {
|
|
1048
|
+
let reason;
|
|
1049
|
+
try {
|
|
1050
|
+
let result = await client.send(new DescribeDaemonCommand(input));
|
|
1051
|
+
reason = result;
|
|
1052
|
+
try {
|
|
1053
|
+
const returnComparator = () => {
|
|
1054
|
+
return result.daemon.status;
|
|
1055
|
+
};
|
|
1056
|
+
if (returnComparator() === "ACTIVE") {
|
|
1057
|
+
return { state: utilWaiter.WaiterState.SUCCESS, reason };
|
|
1058
|
+
}
|
|
1059
|
+
}
|
|
1060
|
+
catch (e) { }
|
|
1061
|
+
try {
|
|
1062
|
+
const returnComparator = () => {
|
|
1063
|
+
return result.daemon.status;
|
|
1064
|
+
};
|
|
1065
|
+
if (returnComparator() === "DELETE_IN_PROGRESS") {
|
|
1066
|
+
return { state: utilWaiter.WaiterState.FAILURE, reason };
|
|
1067
|
+
}
|
|
1068
|
+
}
|
|
1069
|
+
catch (e) { }
|
|
1070
|
+
}
|
|
1071
|
+
catch (exception) {
|
|
1072
|
+
reason = exception;
|
|
1073
|
+
}
|
|
1074
|
+
return { state: utilWaiter.WaiterState.RETRY, reason };
|
|
1075
|
+
};
|
|
1076
|
+
const waitForDaemonActive = async (params, input) => {
|
|
1077
|
+
const serviceDefaults = { minDelay: 15, maxDelay: 120 };
|
|
1078
|
+
return utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState$8);
|
|
1079
|
+
};
|
|
1080
|
+
const waitUntilDaemonActive = async (params, input) => {
|
|
1081
|
+
const serviceDefaults = { minDelay: 15, maxDelay: 120 };
|
|
1082
|
+
const result = await utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState$8);
|
|
1083
|
+
return utilWaiter.checkExceptions(result);
|
|
1084
|
+
};
|
|
1085
|
+
|
|
1086
|
+
const checkState$7 = async (client, input) => {
|
|
1087
|
+
let reason;
|
|
1088
|
+
try {
|
|
1089
|
+
let result = await client.send(new DescribeDaemonDeploymentsCommand(input));
|
|
1090
|
+
reason = result;
|
|
1091
|
+
try {
|
|
1092
|
+
const returnComparator = () => {
|
|
1093
|
+
let flat_1 = [].concat(...result.daemonDeployments);
|
|
1094
|
+
let projection_3 = flat_1.map((element_2) => {
|
|
1095
|
+
return element_2.status;
|
|
1096
|
+
});
|
|
1097
|
+
return projection_3;
|
|
1098
|
+
};
|
|
1099
|
+
let allStringEq_5 = (returnComparator().length > 0);
|
|
1100
|
+
for (let element_4 of returnComparator()) {
|
|
1101
|
+
allStringEq_5 = allStringEq_5 && (element_4 == "STOPPED");
|
|
1102
|
+
}
|
|
1103
|
+
if (allStringEq_5) {
|
|
1104
|
+
return { state: utilWaiter.WaiterState.SUCCESS, reason };
|
|
1105
|
+
}
|
|
1106
|
+
}
|
|
1107
|
+
catch (e) { }
|
|
1108
|
+
try {
|
|
1109
|
+
const returnComparator = () => {
|
|
1110
|
+
let flat_1 = [].concat(...result.failures);
|
|
1111
|
+
let projection_3 = flat_1.map((element_2) => {
|
|
1112
|
+
return element_2.reason;
|
|
1113
|
+
});
|
|
1114
|
+
return projection_3;
|
|
1115
|
+
};
|
|
1116
|
+
for (let anyStringEq_4 of returnComparator()) {
|
|
1117
|
+
if (anyStringEq_4 == "MISSING") {
|
|
1118
|
+
return { state: utilWaiter.WaiterState.FAILURE, reason };
|
|
1119
|
+
}
|
|
1120
|
+
}
|
|
1121
|
+
}
|
|
1122
|
+
catch (e) { }
|
|
1123
|
+
}
|
|
1124
|
+
catch (exception) {
|
|
1125
|
+
reason = exception;
|
|
1126
|
+
}
|
|
1127
|
+
return { state: utilWaiter.WaiterState.RETRY, reason };
|
|
1128
|
+
};
|
|
1129
|
+
const waitForDaemonDeploymentStopped = async (params, input) => {
|
|
1130
|
+
const serviceDefaults = { minDelay: 15, maxDelay: 120 };
|
|
1131
|
+
return utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState$7);
|
|
1132
|
+
};
|
|
1133
|
+
const waitUntilDaemonDeploymentStopped = async (params, input) => {
|
|
1134
|
+
const serviceDefaults = { minDelay: 15, maxDelay: 120 };
|
|
1135
|
+
const result = await utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState$7);
|
|
1136
|
+
return utilWaiter.checkExceptions(result);
|
|
1137
|
+
};
|
|
1138
|
+
|
|
1139
|
+
const checkState$6 = async (client, input) => {
|
|
1140
|
+
let reason;
|
|
1141
|
+
try {
|
|
1142
|
+
let result = await client.send(new DescribeDaemonDeploymentsCommand(input));
|
|
1143
|
+
reason = result;
|
|
1144
|
+
try {
|
|
1145
|
+
const returnComparator = () => {
|
|
1146
|
+
let flat_1 = [].concat(...result.daemonDeployments);
|
|
1147
|
+
let projection_3 = flat_1.map((element_2) => {
|
|
1148
|
+
return element_2.status;
|
|
1149
|
+
});
|
|
1150
|
+
return projection_3;
|
|
1151
|
+
};
|
|
1152
|
+
let allStringEq_5 = (returnComparator().length > 0);
|
|
1153
|
+
for (let element_4 of returnComparator()) {
|
|
1154
|
+
allStringEq_5 = allStringEq_5 && (element_4 == "SUCCESSFUL");
|
|
1155
|
+
}
|
|
1156
|
+
if (allStringEq_5) {
|
|
1157
|
+
return { state: utilWaiter.WaiterState.SUCCESS, reason };
|
|
1158
|
+
}
|
|
1159
|
+
}
|
|
1160
|
+
catch (e) { }
|
|
1161
|
+
try {
|
|
1162
|
+
const returnComparator = () => {
|
|
1163
|
+
let flat_1 = [].concat(...result.daemonDeployments);
|
|
1164
|
+
let projection_3 = flat_1.map((element_2) => {
|
|
1165
|
+
return element_2.status;
|
|
1166
|
+
});
|
|
1167
|
+
return projection_3;
|
|
1168
|
+
};
|
|
1169
|
+
for (let anyStringEq_4 of returnComparator()) {
|
|
1170
|
+
if (anyStringEq_4 == "STOPPED") {
|
|
1171
|
+
return { state: utilWaiter.WaiterState.FAILURE, reason };
|
|
1172
|
+
}
|
|
1173
|
+
}
|
|
1174
|
+
}
|
|
1175
|
+
catch (e) { }
|
|
1176
|
+
try {
|
|
1177
|
+
const returnComparator = () => {
|
|
1178
|
+
let flat_1 = [].concat(...result.daemonDeployments);
|
|
1179
|
+
let projection_3 = flat_1.map((element_2) => {
|
|
1180
|
+
return element_2.status;
|
|
1181
|
+
});
|
|
1182
|
+
return projection_3;
|
|
1183
|
+
};
|
|
1184
|
+
for (let anyStringEq_4 of returnComparator()) {
|
|
1185
|
+
if (anyStringEq_4 == "ROLLBACK_FAILED") {
|
|
1186
|
+
return { state: utilWaiter.WaiterState.FAILURE, reason };
|
|
1187
|
+
}
|
|
1188
|
+
}
|
|
1189
|
+
}
|
|
1190
|
+
catch (e) { }
|
|
1191
|
+
try {
|
|
1192
|
+
const returnComparator = () => {
|
|
1193
|
+
let flat_1 = [].concat(...result.daemonDeployments);
|
|
1194
|
+
let projection_3 = flat_1.map((element_2) => {
|
|
1195
|
+
return element_2.status;
|
|
1196
|
+
});
|
|
1197
|
+
return projection_3;
|
|
1198
|
+
};
|
|
1199
|
+
for (let anyStringEq_4 of returnComparator()) {
|
|
1200
|
+
if (anyStringEq_4 == "ROLLBACK_SUCCESSFUL") {
|
|
1201
|
+
return { state: utilWaiter.WaiterState.FAILURE, reason };
|
|
1202
|
+
}
|
|
1203
|
+
}
|
|
1204
|
+
}
|
|
1205
|
+
catch (e) { }
|
|
1206
|
+
try {
|
|
1207
|
+
const returnComparator = () => {
|
|
1208
|
+
let flat_1 = [].concat(...result.failures);
|
|
1209
|
+
let projection_3 = flat_1.map((element_2) => {
|
|
1210
|
+
return element_2.reason;
|
|
1211
|
+
});
|
|
1212
|
+
return projection_3;
|
|
1213
|
+
};
|
|
1214
|
+
for (let anyStringEq_4 of returnComparator()) {
|
|
1215
|
+
if (anyStringEq_4 == "MISSING") {
|
|
1216
|
+
return { state: utilWaiter.WaiterState.FAILURE, reason };
|
|
1217
|
+
}
|
|
1218
|
+
}
|
|
1219
|
+
}
|
|
1220
|
+
catch (e) { }
|
|
1221
|
+
}
|
|
1222
|
+
catch (exception) {
|
|
1223
|
+
reason = exception;
|
|
1224
|
+
}
|
|
1225
|
+
return { state: utilWaiter.WaiterState.RETRY, reason };
|
|
1226
|
+
};
|
|
1227
|
+
const waitForDaemonDeploymentSuccessful = async (params, input) => {
|
|
1228
|
+
const serviceDefaults = { minDelay: 15, maxDelay: 120 };
|
|
1229
|
+
return utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState$6);
|
|
1230
|
+
};
|
|
1231
|
+
const waitUntilDaemonDeploymentSuccessful = async (params, input) => {
|
|
1232
|
+
const serviceDefaults = { minDelay: 15, maxDelay: 120 };
|
|
1233
|
+
const result = await utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState$6);
|
|
1234
|
+
return utilWaiter.checkExceptions(result);
|
|
1235
|
+
};
|
|
1236
|
+
|
|
1237
|
+
const checkState$5 = async (client, input) => {
|
|
1238
|
+
let reason;
|
|
1239
|
+
try {
|
|
1240
|
+
let result = await client.send(new DescribeDaemonTaskDefinitionCommand(input));
|
|
1241
|
+
reason = result;
|
|
1242
|
+
try {
|
|
1243
|
+
const returnComparator = () => {
|
|
1244
|
+
return result.daemonTaskDefinition.status;
|
|
1245
|
+
};
|
|
1246
|
+
if (returnComparator() === "ACTIVE") {
|
|
1247
|
+
return { state: utilWaiter.WaiterState.SUCCESS, reason };
|
|
1248
|
+
}
|
|
1249
|
+
}
|
|
1250
|
+
catch (e) { }
|
|
1251
|
+
try {
|
|
1252
|
+
const returnComparator = () => {
|
|
1253
|
+
return result.daemonTaskDefinition.status;
|
|
1254
|
+
};
|
|
1255
|
+
if (returnComparator() === "DELETE_IN_PROGRESS") {
|
|
1256
|
+
return { state: utilWaiter.WaiterState.FAILURE, reason };
|
|
1257
|
+
}
|
|
1258
|
+
}
|
|
1259
|
+
catch (e) { }
|
|
1260
|
+
try {
|
|
1261
|
+
const returnComparator = () => {
|
|
1262
|
+
return result.daemonTaskDefinition.status;
|
|
1263
|
+
};
|
|
1264
|
+
if (returnComparator() === "DELETED") {
|
|
1265
|
+
return { state: utilWaiter.WaiterState.FAILURE, reason };
|
|
1266
|
+
}
|
|
1267
|
+
}
|
|
1268
|
+
catch (e) { }
|
|
1269
|
+
}
|
|
1270
|
+
catch (exception) {
|
|
1271
|
+
reason = exception;
|
|
1272
|
+
}
|
|
1273
|
+
return { state: utilWaiter.WaiterState.RETRY, reason };
|
|
1274
|
+
};
|
|
1275
|
+
const waitForDaemonTaskDefinitionActive = async (params, input) => {
|
|
1276
|
+
const serviceDefaults = { minDelay: 15, maxDelay: 120 };
|
|
1277
|
+
return utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState$5);
|
|
1278
|
+
};
|
|
1279
|
+
const waitUntilDaemonTaskDefinitionActive = async (params, input) => {
|
|
1280
|
+
const serviceDefaults = { minDelay: 15, maxDelay: 120 };
|
|
1281
|
+
const result = await utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState$5);
|
|
1282
|
+
return utilWaiter.checkExceptions(result);
|
|
1283
|
+
};
|
|
1284
|
+
|
|
1285
|
+
const checkState$4 = async (client, input) => {
|
|
1286
|
+
let reason;
|
|
1287
|
+
try {
|
|
1288
|
+
let result = await client.send(new DescribeDaemonTaskDefinitionCommand(input));
|
|
1289
|
+
reason = result;
|
|
1290
|
+
try {
|
|
1291
|
+
const returnComparator = () => {
|
|
1292
|
+
return result.daemonTaskDefinition.status;
|
|
1293
|
+
};
|
|
1294
|
+
if (returnComparator() === "DELETED") {
|
|
1295
|
+
return { state: utilWaiter.WaiterState.SUCCESS, reason };
|
|
1296
|
+
}
|
|
1297
|
+
}
|
|
1298
|
+
catch (e) { }
|
|
1299
|
+
}
|
|
1300
|
+
catch (exception) {
|
|
1301
|
+
reason = exception;
|
|
1302
|
+
}
|
|
1303
|
+
return { state: utilWaiter.WaiterState.RETRY, reason };
|
|
1304
|
+
};
|
|
1305
|
+
const waitForDaemonTaskDefinitionDeleted = async (params, input) => {
|
|
1306
|
+
const serviceDefaults = { minDelay: 15, maxDelay: 120 };
|
|
1307
|
+
return utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState$4);
|
|
1308
|
+
};
|
|
1309
|
+
const waitUntilDaemonTaskDefinitionDeleted = async (params, input) => {
|
|
1310
|
+
const serviceDefaults = { minDelay: 15, maxDelay: 120 };
|
|
1311
|
+
const result = await utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState$4);
|
|
1312
|
+
return utilWaiter.checkExceptions(result);
|
|
1313
|
+
};
|
|
1314
|
+
|
|
903
1315
|
const checkState$3 = async (client, input) => {
|
|
904
1316
|
let reason;
|
|
905
1317
|
try {
|
|
@@ -1138,6 +1550,7 @@ const waitUntilTasksStopped = async (params, input) => {
|
|
|
1138
1550
|
const commands = {
|
|
1139
1551
|
CreateCapacityProviderCommand,
|
|
1140
1552
|
CreateClusterCommand,
|
|
1553
|
+
CreateDaemonCommand,
|
|
1141
1554
|
CreateExpressGatewayServiceCommand,
|
|
1142
1555
|
CreateServiceCommand,
|
|
1143
1556
|
CreateTaskSetCommand,
|
|
@@ -1145,6 +1558,8 @@ const commands = {
|
|
|
1145
1558
|
DeleteAttributesCommand,
|
|
1146
1559
|
DeleteCapacityProviderCommand,
|
|
1147
1560
|
DeleteClusterCommand,
|
|
1561
|
+
DeleteDaemonCommand,
|
|
1562
|
+
DeleteDaemonTaskDefinitionCommand,
|
|
1148
1563
|
DeleteExpressGatewayServiceCommand,
|
|
1149
1564
|
DeleteServiceCommand,
|
|
1150
1565
|
DeleteTaskDefinitionsCommand,
|
|
@@ -1154,6 +1569,10 @@ const commands = {
|
|
|
1154
1569
|
DescribeCapacityProvidersCommand,
|
|
1155
1570
|
DescribeClustersCommand,
|
|
1156
1571
|
DescribeContainerInstancesCommand,
|
|
1572
|
+
DescribeDaemonCommand,
|
|
1573
|
+
DescribeDaemonDeploymentsCommand,
|
|
1574
|
+
DescribeDaemonRevisionsCommand,
|
|
1575
|
+
DescribeDaemonTaskDefinitionCommand,
|
|
1157
1576
|
DescribeExpressGatewayServiceCommand,
|
|
1158
1577
|
DescribeServiceDeploymentsCommand,
|
|
1159
1578
|
DescribeServiceRevisionsCommand,
|
|
@@ -1168,6 +1587,9 @@ const commands = {
|
|
|
1168
1587
|
ListAttributesCommand,
|
|
1169
1588
|
ListClustersCommand,
|
|
1170
1589
|
ListContainerInstancesCommand,
|
|
1590
|
+
ListDaemonDeploymentsCommand,
|
|
1591
|
+
ListDaemonsCommand,
|
|
1592
|
+
ListDaemonTaskDefinitionsCommand,
|
|
1171
1593
|
ListServiceDeploymentsCommand,
|
|
1172
1594
|
ListServicesCommand,
|
|
1173
1595
|
ListServicesByNamespaceCommand,
|
|
@@ -1180,6 +1602,7 @@ const commands = {
|
|
|
1180
1602
|
PutAttributesCommand,
|
|
1181
1603
|
PutClusterCapacityProvidersCommand,
|
|
1182
1604
|
RegisterContainerInstanceCommand,
|
|
1605
|
+
RegisterDaemonTaskDefinitionCommand,
|
|
1183
1606
|
RegisterTaskDefinitionCommand,
|
|
1184
1607
|
RunTaskCommand,
|
|
1185
1608
|
StartTaskCommand,
|
|
@@ -1195,6 +1618,7 @@ const commands = {
|
|
|
1195
1618
|
UpdateClusterSettingsCommand,
|
|
1196
1619
|
UpdateContainerAgentCommand,
|
|
1197
1620
|
UpdateContainerInstancesStateCommand,
|
|
1621
|
+
UpdateDaemonCommand,
|
|
1198
1622
|
UpdateExpressGatewayServiceCommand,
|
|
1199
1623
|
UpdateServiceCommand,
|
|
1200
1624
|
UpdateServicePrimaryTaskSetCommand,
|
|
@@ -1213,6 +1637,11 @@ const paginators = {
|
|
|
1213
1637
|
paginateListTasks,
|
|
1214
1638
|
};
|
|
1215
1639
|
const waiters = {
|
|
1640
|
+
waitUntilDaemonActive,
|
|
1641
|
+
waitUntilDaemonDeploymentSuccessful,
|
|
1642
|
+
waitUntilDaemonDeploymentStopped,
|
|
1643
|
+
waitUntilDaemonTaskDefinitionActive,
|
|
1644
|
+
waitUntilDaemonTaskDefinitionDeleted,
|
|
1216
1645
|
waitUntilServicesInactive,
|
|
1217
1646
|
waitUntilServicesStable,
|
|
1218
1647
|
waitUntilTasksRunning,
|
|
@@ -1362,7 +1791,9 @@ const InstanceHealthCheckState = {
|
|
|
1362
1791
|
OK: "OK",
|
|
1363
1792
|
};
|
|
1364
1793
|
const InstanceHealthCheckType = {
|
|
1794
|
+
ACCELERATED_COMPUTE: "ACCELERATED_COMPUTE",
|
|
1365
1795
|
CONTAINER_RUNTIME: "CONTAINER_RUNTIME",
|
|
1796
|
+
DAEMON: "DAEMON",
|
|
1366
1797
|
};
|
|
1367
1798
|
const ClusterField = {
|
|
1368
1799
|
ATTACHMENTS: "ATTACHMENTS",
|
|
@@ -1403,28 +1834,29 @@ const LaunchType = {
|
|
|
1403
1834
|
const PlatformDeviceType = {
|
|
1404
1835
|
GPU: "GPU",
|
|
1405
1836
|
};
|
|
1406
|
-
const
|
|
1407
|
-
|
|
1408
|
-
|
|
1409
|
-
|
|
1410
|
-
|
|
1411
|
-
FARGATE_EVENT_WINDOWS: "fargateEventWindows",
|
|
1412
|
-
FARGATE_FIPS_MODE: "fargateFIPSMode",
|
|
1413
|
-
FARGATE_TASK_RETIREMENT_WAIT_PERIOD: "fargateTaskRetirementWaitPeriod",
|
|
1414
|
-
GUARD_DUTY_ACTIVATE: "guardDutyActivate",
|
|
1415
|
-
SERVICE_LONG_ARN_FORMAT: "serviceLongArnFormat",
|
|
1416
|
-
TAG_RESOURCE_AUTHORIZATION: "tagResourceAuthorization",
|
|
1417
|
-
TASK_LONG_ARN_FORMAT: "taskLongArnFormat",
|
|
1837
|
+
const DaemonDeploymentRollbackMonitorsStatus = {
|
|
1838
|
+
DISABLED: "DISABLED",
|
|
1839
|
+
MONITORING: "MONITORING",
|
|
1840
|
+
MONITORING_COMPLETE: "MONITORING_COMPLETE",
|
|
1841
|
+
TRIGGERED: "TRIGGERED",
|
|
1418
1842
|
};
|
|
1419
|
-
const
|
|
1420
|
-
|
|
1421
|
-
|
|
1843
|
+
const DaemonDeploymentStatus = {
|
|
1844
|
+
IN_PROGRESS: "IN_PROGRESS",
|
|
1845
|
+
PENDING: "PENDING",
|
|
1846
|
+
ROLLBACK_FAILED: "ROLLBACK_FAILED",
|
|
1847
|
+
ROLLBACK_IN_PROGRESS: "ROLLBACK_IN_PROGRESS",
|
|
1848
|
+
ROLLBACK_SUCCESSFUL: "ROLLBACK_SUCCESSFUL",
|
|
1849
|
+
STOPPED: "STOPPED",
|
|
1850
|
+
STOP_REQUESTED: "STOP_REQUESTED",
|
|
1851
|
+
SUCCESSFUL: "SUCCESSFUL",
|
|
1422
1852
|
};
|
|
1423
|
-
const
|
|
1424
|
-
|
|
1425
|
-
|
|
1426
|
-
|
|
1427
|
-
|
|
1853
|
+
const DaemonPropagateTags = {
|
|
1854
|
+
DAEMON: "DAEMON",
|
|
1855
|
+
NONE: "NONE",
|
|
1856
|
+
};
|
|
1857
|
+
const DaemonStatus = {
|
|
1858
|
+
ACTIVE: "ACTIVE",
|
|
1859
|
+
DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS",
|
|
1428
1860
|
};
|
|
1429
1861
|
const ContainerCondition = {
|
|
1430
1862
|
COMPLETE: "COMPLETE",
|
|
@@ -1454,15 +1886,6 @@ const LogDriver = {
|
|
|
1454
1886
|
SPLUNK: "splunk",
|
|
1455
1887
|
SYSLOG: "syslog",
|
|
1456
1888
|
};
|
|
1457
|
-
const ApplicationProtocol = {
|
|
1458
|
-
GRPC: "grpc",
|
|
1459
|
-
HTTP: "http",
|
|
1460
|
-
HTTP2: "http2",
|
|
1461
|
-
};
|
|
1462
|
-
const ResourceType = {
|
|
1463
|
-
GPU: "GPU",
|
|
1464
|
-
INFERENCE_ACCELERATOR: "InferenceAccelerator",
|
|
1465
|
-
};
|
|
1466
1889
|
const UlimitName = {
|
|
1467
1890
|
CORE: "core",
|
|
1468
1891
|
CPU: "cpu",
|
|
@@ -1480,6 +1903,55 @@ const UlimitName = {
|
|
|
1480
1903
|
SIGPENDING: "sigpending",
|
|
1481
1904
|
STACK: "stack",
|
|
1482
1905
|
};
|
|
1906
|
+
const DaemonTaskDefinitionStatus = {
|
|
1907
|
+
ACTIVE: "ACTIVE",
|
|
1908
|
+
DELETED: "DELETED",
|
|
1909
|
+
DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS",
|
|
1910
|
+
};
|
|
1911
|
+
const DaemonTaskDefinitionRevisionFilter = {
|
|
1912
|
+
LAST_REGISTERED: "LAST_REGISTERED",
|
|
1913
|
+
};
|
|
1914
|
+
const SortOrder = {
|
|
1915
|
+
ASC: "ASC",
|
|
1916
|
+
DESC: "DESC",
|
|
1917
|
+
};
|
|
1918
|
+
const DaemonTaskDefinitionStatusFilter = {
|
|
1919
|
+
ACTIVE: "ACTIVE",
|
|
1920
|
+
ALL: "ALL",
|
|
1921
|
+
DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS",
|
|
1922
|
+
};
|
|
1923
|
+
const SettingName = {
|
|
1924
|
+
AWSVPC_TRUNKING: "awsvpcTrunking",
|
|
1925
|
+
CONTAINER_INSIGHTS: "containerInsights",
|
|
1926
|
+
CONTAINER_INSTANCE_LONG_ARN_FORMAT: "containerInstanceLongArnFormat",
|
|
1927
|
+
DEFAULT_LOG_DRIVER_MODE: "defaultLogDriverMode",
|
|
1928
|
+
FARGATE_EVENT_WINDOWS: "fargateEventWindows",
|
|
1929
|
+
FARGATE_FIPS_MODE: "fargateFIPSMode",
|
|
1930
|
+
FARGATE_TASK_RETIREMENT_WAIT_PERIOD: "fargateTaskRetirementWaitPeriod",
|
|
1931
|
+
GUARD_DUTY_ACTIVATE: "guardDutyActivate",
|
|
1932
|
+
SERVICE_LONG_ARN_FORMAT: "serviceLongArnFormat",
|
|
1933
|
+
TAG_RESOURCE_AUTHORIZATION: "tagResourceAuthorization",
|
|
1934
|
+
TASK_LONG_ARN_FORMAT: "taskLongArnFormat",
|
|
1935
|
+
};
|
|
1936
|
+
const SettingType = {
|
|
1937
|
+
AWS_MANAGED: "aws_managed",
|
|
1938
|
+
USER: "user",
|
|
1939
|
+
};
|
|
1940
|
+
const Compatibility = {
|
|
1941
|
+
EC2: "EC2",
|
|
1942
|
+
EXTERNAL: "EXTERNAL",
|
|
1943
|
+
FARGATE: "FARGATE",
|
|
1944
|
+
MANAGED_INSTANCES: "MANAGED_INSTANCES",
|
|
1945
|
+
};
|
|
1946
|
+
const ApplicationProtocol = {
|
|
1947
|
+
GRPC: "grpc",
|
|
1948
|
+
HTTP: "http",
|
|
1949
|
+
HTTP2: "http2",
|
|
1950
|
+
};
|
|
1951
|
+
const ResourceType = {
|
|
1952
|
+
GPU: "GPU",
|
|
1953
|
+
INFERENCE_ACCELERATOR: "InferenceAccelerator",
|
|
1954
|
+
};
|
|
1483
1955
|
const VersionConsistency = {
|
|
1484
1956
|
DISABLED: "disabled",
|
|
1485
1957
|
ENABLED: "enabled",
|
|
@@ -1681,10 +2153,6 @@ const ManagedResourceStatus = {
|
|
|
1681
2153
|
FAILED: "FAILED",
|
|
1682
2154
|
PROVISIONING: "PROVISIONING",
|
|
1683
2155
|
};
|
|
1684
|
-
const SortOrder = {
|
|
1685
|
-
ASC: "ASC",
|
|
1686
|
-
DESC: "DESC",
|
|
1687
|
-
};
|
|
1688
2156
|
const TaskField = {
|
|
1689
2157
|
TAGS: "TAGS",
|
|
1690
2158
|
};
|
|
@@ -1739,13 +2207,23 @@ exports.ContainerInstanceStatus = ContainerInstanceStatus;
|
|
|
1739
2207
|
exports.CpuManufacturer = CpuManufacturer;
|
|
1740
2208
|
exports.CreateCapacityProviderCommand = CreateCapacityProviderCommand;
|
|
1741
2209
|
exports.CreateClusterCommand = CreateClusterCommand;
|
|
2210
|
+
exports.CreateDaemonCommand = CreateDaemonCommand;
|
|
1742
2211
|
exports.CreateExpressGatewayServiceCommand = CreateExpressGatewayServiceCommand;
|
|
1743
2212
|
exports.CreateServiceCommand = CreateServiceCommand;
|
|
1744
2213
|
exports.CreateTaskSetCommand = CreateTaskSetCommand;
|
|
2214
|
+
exports.DaemonDeploymentRollbackMonitorsStatus = DaemonDeploymentRollbackMonitorsStatus;
|
|
2215
|
+
exports.DaemonDeploymentStatus = DaemonDeploymentStatus;
|
|
2216
|
+
exports.DaemonPropagateTags = DaemonPropagateTags;
|
|
2217
|
+
exports.DaemonStatus = DaemonStatus;
|
|
2218
|
+
exports.DaemonTaskDefinitionRevisionFilter = DaemonTaskDefinitionRevisionFilter;
|
|
2219
|
+
exports.DaemonTaskDefinitionStatus = DaemonTaskDefinitionStatus;
|
|
2220
|
+
exports.DaemonTaskDefinitionStatusFilter = DaemonTaskDefinitionStatusFilter;
|
|
1745
2221
|
exports.DeleteAccountSettingCommand = DeleteAccountSettingCommand;
|
|
1746
2222
|
exports.DeleteAttributesCommand = DeleteAttributesCommand;
|
|
1747
2223
|
exports.DeleteCapacityProviderCommand = DeleteCapacityProviderCommand;
|
|
1748
2224
|
exports.DeleteClusterCommand = DeleteClusterCommand;
|
|
2225
|
+
exports.DeleteDaemonCommand = DeleteDaemonCommand;
|
|
2226
|
+
exports.DeleteDaemonTaskDefinitionCommand = DeleteDaemonTaskDefinitionCommand;
|
|
1749
2227
|
exports.DeleteExpressGatewayServiceCommand = DeleteExpressGatewayServiceCommand;
|
|
1750
2228
|
exports.DeleteServiceCommand = DeleteServiceCommand;
|
|
1751
2229
|
exports.DeleteTaskDefinitionsCommand = DeleteTaskDefinitionsCommand;
|
|
@@ -1759,6 +2237,10 @@ exports.DeregisterTaskDefinitionCommand = DeregisterTaskDefinitionCommand;
|
|
|
1759
2237
|
exports.DescribeCapacityProvidersCommand = DescribeCapacityProvidersCommand;
|
|
1760
2238
|
exports.DescribeClustersCommand = DescribeClustersCommand;
|
|
1761
2239
|
exports.DescribeContainerInstancesCommand = DescribeContainerInstancesCommand;
|
|
2240
|
+
exports.DescribeDaemonCommand = DescribeDaemonCommand;
|
|
2241
|
+
exports.DescribeDaemonDeploymentsCommand = DescribeDaemonDeploymentsCommand;
|
|
2242
|
+
exports.DescribeDaemonRevisionsCommand = DescribeDaemonRevisionsCommand;
|
|
2243
|
+
exports.DescribeDaemonTaskDefinitionCommand = DescribeDaemonTaskDefinitionCommand;
|
|
1762
2244
|
exports.DescribeExpressGatewayServiceCommand = DescribeExpressGatewayServiceCommand;
|
|
1763
2245
|
exports.DescribeServiceDeploymentsCommand = DescribeServiceDeploymentsCommand;
|
|
1764
2246
|
exports.DescribeServiceRevisionsCommand = DescribeServiceRevisionsCommand;
|
|
@@ -1792,6 +2274,9 @@ exports.ListAccountSettingsCommand = ListAccountSettingsCommand;
|
|
|
1792
2274
|
exports.ListAttributesCommand = ListAttributesCommand;
|
|
1793
2275
|
exports.ListClustersCommand = ListClustersCommand;
|
|
1794
2276
|
exports.ListContainerInstancesCommand = ListContainerInstancesCommand;
|
|
2277
|
+
exports.ListDaemonDeploymentsCommand = ListDaemonDeploymentsCommand;
|
|
2278
|
+
exports.ListDaemonTaskDefinitionsCommand = ListDaemonTaskDefinitionsCommand;
|
|
2279
|
+
exports.ListDaemonsCommand = ListDaemonsCommand;
|
|
1795
2280
|
exports.ListServiceDeploymentsCommand = ListServiceDeploymentsCommand;
|
|
1796
2281
|
exports.ListServicesByNamespaceCommand = ListServicesByNamespaceCommand;
|
|
1797
2282
|
exports.ListServicesCommand = ListServicesCommand;
|
|
@@ -1822,6 +2307,7 @@ exports.PutAccountSettingDefaultCommand = PutAccountSettingDefaultCommand;
|
|
|
1822
2307
|
exports.PutAttributesCommand = PutAttributesCommand;
|
|
1823
2308
|
exports.PutClusterCapacityProvidersCommand = PutClusterCapacityProvidersCommand;
|
|
1824
2309
|
exports.RegisterContainerInstanceCommand = RegisterContainerInstanceCommand;
|
|
2310
|
+
exports.RegisterDaemonTaskDefinitionCommand = RegisterDaemonTaskDefinitionCommand;
|
|
1825
2311
|
exports.RegisterTaskDefinitionCommand = RegisterTaskDefinitionCommand;
|
|
1826
2312
|
exports.ResourceManagementType = ResourceManagementType;
|
|
1827
2313
|
exports.ResourceType = ResourceType;
|
|
@@ -1864,6 +2350,7 @@ exports.UpdateClusterCommand = UpdateClusterCommand;
|
|
|
1864
2350
|
exports.UpdateClusterSettingsCommand = UpdateClusterSettingsCommand;
|
|
1865
2351
|
exports.UpdateContainerAgentCommand = UpdateContainerAgentCommand;
|
|
1866
2352
|
exports.UpdateContainerInstancesStateCommand = UpdateContainerInstancesStateCommand;
|
|
2353
|
+
exports.UpdateDaemonCommand = UpdateDaemonCommand;
|
|
1867
2354
|
exports.UpdateExpressGatewayServiceCommand = UpdateExpressGatewayServiceCommand;
|
|
1868
2355
|
exports.UpdateServiceCommand = UpdateServiceCommand;
|
|
1869
2356
|
exports.UpdateServicePrimaryTaskSetCommand = UpdateServicePrimaryTaskSetCommand;
|
|
@@ -1879,10 +2366,20 @@ exports.paginateListServicesByNamespace = paginateListServicesByNamespace;
|
|
|
1879
2366
|
exports.paginateListTaskDefinitionFamilies = paginateListTaskDefinitionFamilies;
|
|
1880
2367
|
exports.paginateListTaskDefinitions = paginateListTaskDefinitions;
|
|
1881
2368
|
exports.paginateListTasks = paginateListTasks;
|
|
2369
|
+
exports.waitForDaemonActive = waitForDaemonActive;
|
|
2370
|
+
exports.waitForDaemonDeploymentStopped = waitForDaemonDeploymentStopped;
|
|
2371
|
+
exports.waitForDaemonDeploymentSuccessful = waitForDaemonDeploymentSuccessful;
|
|
2372
|
+
exports.waitForDaemonTaskDefinitionActive = waitForDaemonTaskDefinitionActive;
|
|
2373
|
+
exports.waitForDaemonTaskDefinitionDeleted = waitForDaemonTaskDefinitionDeleted;
|
|
1882
2374
|
exports.waitForServicesInactive = waitForServicesInactive;
|
|
1883
2375
|
exports.waitForServicesStable = waitForServicesStable;
|
|
1884
2376
|
exports.waitForTasksRunning = waitForTasksRunning;
|
|
1885
2377
|
exports.waitForTasksStopped = waitForTasksStopped;
|
|
2378
|
+
exports.waitUntilDaemonActive = waitUntilDaemonActive;
|
|
2379
|
+
exports.waitUntilDaemonDeploymentStopped = waitUntilDaemonDeploymentStopped;
|
|
2380
|
+
exports.waitUntilDaemonDeploymentSuccessful = waitUntilDaemonDeploymentSuccessful;
|
|
2381
|
+
exports.waitUntilDaemonTaskDefinitionActive = waitUntilDaemonTaskDefinitionActive;
|
|
2382
|
+
exports.waitUntilDaemonTaskDefinitionDeleted = waitUntilDaemonTaskDefinitionDeleted;
|
|
1886
2383
|
exports.waitUntilServicesInactive = waitUntilServicesInactive;
|
|
1887
2384
|
exports.waitUntilServicesStable = waitUntilServicesStable;
|
|
1888
2385
|
exports.waitUntilTasksRunning = waitUntilTasksRunning;
|