@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.
Files changed (119) hide show
  1. package/README.md +91 -7
  2. package/dist-cjs/index.js +530 -33
  3. package/dist-cjs/models/errors.js +37 -11
  4. package/dist-cjs/schemas/schemas_0.js +508 -100
  5. package/dist-es/ECS.js +34 -0
  6. package/dist-es/commands/CreateDaemonCommand.js +16 -0
  7. package/dist-es/commands/DeleteDaemonCommand.js +16 -0
  8. package/dist-es/commands/DeleteDaemonTaskDefinitionCommand.js +16 -0
  9. package/dist-es/commands/DescribeDaemonCommand.js +16 -0
  10. package/dist-es/commands/DescribeDaemonDeploymentsCommand.js +16 -0
  11. package/dist-es/commands/DescribeDaemonRevisionsCommand.js +16 -0
  12. package/dist-es/commands/DescribeDaemonTaskDefinitionCommand.js +16 -0
  13. package/dist-es/commands/ListDaemonDeploymentsCommand.js +16 -0
  14. package/dist-es/commands/ListDaemonTaskDefinitionsCommand.js +16 -0
  15. package/dist-es/commands/ListDaemonsCommand.js +16 -0
  16. package/dist-es/commands/RegisterDaemonTaskDefinitionCommand.js +16 -0
  17. package/dist-es/commands/UpdateDaemonCommand.js +16 -0
  18. package/dist-es/commands/index.js +12 -0
  19. package/dist-es/index.js +1 -0
  20. package/dist-es/models/enums.js +72 -33
  21. package/dist-es/models/errors.js +32 -8
  22. package/dist-es/models/models_1.js +1 -0
  23. package/dist-es/schemas/schemas_0.js +500 -93
  24. package/dist-es/waiters/index.js +5 -0
  25. package/dist-es/waiters/waitForDaemonActive.js +40 -0
  26. package/dist-es/waiters/waitForDaemonDeploymentStopped.js +54 -0
  27. package/dist-es/waiters/waitForDaemonDeploymentSuccessful.js +99 -0
  28. package/dist-es/waiters/waitForDaemonTaskDefinitionActive.js +49 -0
  29. package/dist-es/waiters/waitForDaemonTaskDefinitionDeleted.js +31 -0
  30. package/dist-types/ECS.d.ts +116 -0
  31. package/dist-types/ECSClient.d.ts +14 -2
  32. package/dist-types/commands/CreateDaemonCommand.d.ts +150 -0
  33. package/dist-types/commands/CreateTaskSetCommand.d.ts +1 -1
  34. package/dist-types/commands/DeleteDaemonCommand.d.ts +121 -0
  35. package/dist-types/commands/DeleteDaemonTaskDefinitionCommand.d.ts +101 -0
  36. package/dist-types/commands/DeleteTaskDefinitionsCommand.d.ts +1 -0
  37. package/dist-types/commands/DeleteTaskSetCommand.d.ts +1 -1
  38. package/dist-types/commands/DeregisterContainerInstanceCommand.d.ts +1 -1
  39. package/dist-types/commands/DeregisterTaskDefinitionCommand.d.ts +1 -0
  40. package/dist-types/commands/DescribeContainerInstancesCommand.d.ts +1 -1
  41. package/dist-types/commands/DescribeDaemonCommand.d.ts +148 -0
  42. package/dist-types/commands/DescribeDaemonDeploymentsCommand.d.ts +229 -0
  43. package/dist-types/commands/DescribeDaemonRevisionsCommand.d.ts +155 -0
  44. package/dist-types/commands/DescribeDaemonTaskDefinitionCommand.d.ts +286 -0
  45. package/dist-types/commands/DescribeTaskDefinitionCommand.d.ts +1 -0
  46. package/dist-types/commands/DescribeTaskSetsCommand.d.ts +1 -1
  47. package/dist-types/commands/DescribeTasksCommand.d.ts +1 -1
  48. package/dist-types/commands/GetTaskProtectionCommand.d.ts +1 -1
  49. package/dist-types/commands/ListDaemonDeploymentsCommand.d.ts +145 -0
  50. package/dist-types/commands/ListDaemonTaskDefinitionsCommand.d.ts +129 -0
  51. package/dist-types/commands/ListDaemonsCommand.d.ts +133 -0
  52. package/dist-types/commands/ListTaskDefinitionsCommand.d.ts +2 -1
  53. package/dist-types/commands/ListTasksCommand.d.ts +1 -0
  54. package/dist-types/commands/RegisterContainerInstanceCommand.d.ts +1 -1
  55. package/dist-types/commands/RegisterDaemonTaskDefinitionCommand.d.ts +277 -0
  56. package/dist-types/commands/RegisterTaskDefinitionCommand.d.ts +2 -1
  57. package/dist-types/commands/RunTaskCommand.d.ts +1 -1
  58. package/dist-types/commands/StartTaskCommand.d.ts +1 -1
  59. package/dist-types/commands/StopTaskCommand.d.ts +1 -1
  60. package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
  61. package/dist-types/commands/UpdateContainerAgentCommand.d.ts +1 -1
  62. package/dist-types/commands/UpdateContainerInstancesStateCommand.d.ts +1 -1
  63. package/dist-types/commands/UpdateDaemonCommand.d.ts +149 -0
  64. package/dist-types/commands/UpdateTaskProtectionCommand.d.ts +1 -1
  65. package/dist-types/commands/UpdateTaskSetCommand.d.ts +1 -1
  66. package/dist-types/commands/index.d.ts +12 -0
  67. package/dist-types/index.d.ts +1 -0
  68. package/dist-types/models/enums.d.ts +155 -60
  69. package/dist-types/models/errors.d.ts +32 -8
  70. package/dist-types/models/models_0.d.ts +2630 -2613
  71. package/dist-types/models/models_1.d.ts +1245 -0
  72. package/dist-types/schemas/schemas_0.d.ts +58 -0
  73. package/dist-types/ts3.4/ECS.d.ts +251 -0
  74. package/dist-types/ts3.4/ECSClient.d.ts +72 -0
  75. package/dist-types/ts3.4/commands/CreateDaemonCommand.d.ts +47 -0
  76. package/dist-types/ts3.4/commands/CreateTaskSetCommand.d.ts +1 -1
  77. package/dist-types/ts3.4/commands/DeleteDaemonCommand.d.ts +47 -0
  78. package/dist-types/ts3.4/commands/DeleteDaemonTaskDefinitionCommand.d.ts +51 -0
  79. package/dist-types/ts3.4/commands/DeleteTaskSetCommand.d.ts +1 -1
  80. package/dist-types/ts3.4/commands/DescribeDaemonCommand.d.ts +50 -0
  81. package/dist-types/ts3.4/commands/DescribeDaemonDeploymentsCommand.d.ts +51 -0
  82. package/dist-types/ts3.4/commands/DescribeDaemonRevisionsCommand.d.ts +51 -0
  83. package/dist-types/ts3.4/commands/DescribeDaemonTaskDefinitionCommand.d.ts +51 -0
  84. package/dist-types/ts3.4/commands/DescribeTaskSetsCommand.d.ts +1 -1
  85. package/dist-types/ts3.4/commands/DescribeTasksCommand.d.ts +1 -1
  86. package/dist-types/ts3.4/commands/GetTaskProtectionCommand.d.ts +1 -1
  87. package/dist-types/ts3.4/commands/ListDaemonDeploymentsCommand.d.ts +51 -0
  88. package/dist-types/ts3.4/commands/ListDaemonTaskDefinitionsCommand.d.ts +51 -0
  89. package/dist-types/ts3.4/commands/ListDaemonsCommand.d.ts +47 -0
  90. package/dist-types/ts3.4/commands/ListTaskDefinitionsCommand.d.ts +2 -4
  91. package/dist-types/ts3.4/commands/RegisterDaemonTaskDefinitionCommand.d.ts +51 -0
  92. package/dist-types/ts3.4/commands/RegisterTaskDefinitionCommand.d.ts +1 -1
  93. package/dist-types/ts3.4/commands/RunTaskCommand.d.ts +1 -1
  94. package/dist-types/ts3.4/commands/StartTaskCommand.d.ts +1 -1
  95. package/dist-types/ts3.4/commands/StopTaskCommand.d.ts +1 -1
  96. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +1 -1
  97. package/dist-types/ts3.4/commands/UpdateDaemonCommand.d.ts +47 -0
  98. package/dist-types/ts3.4/commands/UpdateTaskProtectionCommand.d.ts +1 -1
  99. package/dist-types/ts3.4/commands/UpdateTaskSetCommand.d.ts +1 -1
  100. package/dist-types/ts3.4/commands/index.d.ts +12 -0
  101. package/dist-types/ts3.4/index.d.ts +1 -0
  102. package/dist-types/ts3.4/models/enums.d.ts +92 -40
  103. package/dist-types/ts3.4/models/errors.d.ts +21 -7
  104. package/dist-types/ts3.4/models/models_0.d.ts +338 -324
  105. package/dist-types/ts3.4/models/models_1.d.ts +322 -0
  106. package/dist-types/ts3.4/schemas/schemas_0.d.ts +58 -0
  107. package/dist-types/ts3.4/waiters/index.d.ts +5 -0
  108. package/dist-types/ts3.4/waiters/waitForDaemonActive.d.ts +11 -0
  109. package/dist-types/ts3.4/waiters/waitForDaemonDeploymentStopped.d.ts +11 -0
  110. package/dist-types/ts3.4/waiters/waitForDaemonDeploymentSuccessful.d.ts +11 -0
  111. package/dist-types/ts3.4/waiters/waitForDaemonTaskDefinitionActive.d.ts +11 -0
  112. package/dist-types/ts3.4/waiters/waitForDaemonTaskDefinitionDeleted.d.ts +11 -0
  113. package/dist-types/waiters/index.d.ts +5 -0
  114. package/dist-types/waiters/waitForDaemonActive.d.ts +14 -0
  115. package/dist-types/waiters/waitForDaemonDeploymentStopped.d.ts +14 -0
  116. package/dist-types/waiters/waitForDaemonDeploymentSuccessful.d.ts +14 -0
  117. package/dist-types/waiters/waitForDaemonTaskDefinitionActive.d.ts +14 -0
  118. package/dist-types/waiters/waitForDaemonTaskDefinitionDeleted.d.ts +14 -0
  119. package/package.json +1 -1
package/dist-es/ECS.js CHANGED
@@ -1,6 +1,7 @@
1
1
  import { createAggregatedClient } from "@smithy/smithy-client";
2
2
  import { CreateCapacityProviderCommand, } from "./commands/CreateCapacityProviderCommand";
3
3
  import { CreateClusterCommand, } from "./commands/CreateClusterCommand";
4
+ import { CreateDaemonCommand, } from "./commands/CreateDaemonCommand";
4
5
  import { CreateExpressGatewayServiceCommand, } from "./commands/CreateExpressGatewayServiceCommand";
5
6
  import { CreateServiceCommand, } from "./commands/CreateServiceCommand";
6
7
  import { CreateTaskSetCommand, } from "./commands/CreateTaskSetCommand";
@@ -8,6 +9,8 @@ import { DeleteAccountSettingCommand, } from "./commands/DeleteAccountSettingCom
8
9
  import { DeleteAttributesCommand, } from "./commands/DeleteAttributesCommand";
9
10
  import { DeleteCapacityProviderCommand, } from "./commands/DeleteCapacityProviderCommand";
10
11
  import { DeleteClusterCommand, } from "./commands/DeleteClusterCommand";
12
+ import { DeleteDaemonCommand, } from "./commands/DeleteDaemonCommand";
13
+ import { DeleteDaemonTaskDefinitionCommand, } from "./commands/DeleteDaemonTaskDefinitionCommand";
11
14
  import { DeleteExpressGatewayServiceCommand, } from "./commands/DeleteExpressGatewayServiceCommand";
12
15
  import { DeleteServiceCommand, } from "./commands/DeleteServiceCommand";
13
16
  import { DeleteTaskDefinitionsCommand, } from "./commands/DeleteTaskDefinitionsCommand";
@@ -17,6 +20,10 @@ import { DeregisterTaskDefinitionCommand, } from "./commands/DeregisterTaskDefin
17
20
  import { DescribeCapacityProvidersCommand, } from "./commands/DescribeCapacityProvidersCommand";
18
21
  import { DescribeClustersCommand, } from "./commands/DescribeClustersCommand";
19
22
  import { DescribeContainerInstancesCommand, } from "./commands/DescribeContainerInstancesCommand";
23
+ import { DescribeDaemonCommand, } from "./commands/DescribeDaemonCommand";
24
+ import { DescribeDaemonDeploymentsCommand, } from "./commands/DescribeDaemonDeploymentsCommand";
25
+ import { DescribeDaemonRevisionsCommand, } from "./commands/DescribeDaemonRevisionsCommand";
26
+ import { DescribeDaemonTaskDefinitionCommand, } from "./commands/DescribeDaemonTaskDefinitionCommand";
20
27
  import { DescribeExpressGatewayServiceCommand, } from "./commands/DescribeExpressGatewayServiceCommand";
21
28
  import { DescribeServiceDeploymentsCommand, } from "./commands/DescribeServiceDeploymentsCommand";
22
29
  import { DescribeServiceRevisionsCommand, } from "./commands/DescribeServiceRevisionsCommand";
@@ -31,6 +38,9 @@ import { ListAccountSettingsCommand, } from "./commands/ListAccountSettingsComma
31
38
  import { ListAttributesCommand, } from "./commands/ListAttributesCommand";
32
39
  import { ListClustersCommand, } from "./commands/ListClustersCommand";
33
40
  import { ListContainerInstancesCommand, } from "./commands/ListContainerInstancesCommand";
41
+ import { ListDaemonDeploymentsCommand, } from "./commands/ListDaemonDeploymentsCommand";
42
+ import { ListDaemonsCommand, } from "./commands/ListDaemonsCommand";
43
+ import { ListDaemonTaskDefinitionsCommand, } from "./commands/ListDaemonTaskDefinitionsCommand";
34
44
  import { ListServiceDeploymentsCommand, } from "./commands/ListServiceDeploymentsCommand";
35
45
  import { ListServicesByNamespaceCommand, } from "./commands/ListServicesByNamespaceCommand";
36
46
  import { ListServicesCommand, } from "./commands/ListServicesCommand";
@@ -43,6 +53,7 @@ import { PutAccountSettingDefaultCommand, } from "./commands/PutAccountSettingDe
43
53
  import { PutAttributesCommand, } from "./commands/PutAttributesCommand";
44
54
  import { PutClusterCapacityProvidersCommand, } from "./commands/PutClusterCapacityProvidersCommand";
45
55
  import { RegisterContainerInstanceCommand, } from "./commands/RegisterContainerInstanceCommand";
56
+ import { RegisterDaemonTaskDefinitionCommand, } from "./commands/RegisterDaemonTaskDefinitionCommand";
46
57
  import { RegisterTaskDefinitionCommand, } from "./commands/RegisterTaskDefinitionCommand";
47
58
  import { RunTaskCommand } from "./commands/RunTaskCommand";
48
59
  import { StartTaskCommand } from "./commands/StartTaskCommand";
@@ -58,6 +69,7 @@ import { UpdateClusterCommand, } from "./commands/UpdateClusterCommand";
58
69
  import { UpdateClusterSettingsCommand, } from "./commands/UpdateClusterSettingsCommand";
59
70
  import { UpdateContainerAgentCommand, } from "./commands/UpdateContainerAgentCommand";
60
71
  import { UpdateContainerInstancesStateCommand, } from "./commands/UpdateContainerInstancesStateCommand";
72
+ import { UpdateDaemonCommand, } from "./commands/UpdateDaemonCommand";
61
73
  import { UpdateExpressGatewayServiceCommand, } from "./commands/UpdateExpressGatewayServiceCommand";
62
74
  import { UpdateServiceCommand, } from "./commands/UpdateServiceCommand";
63
75
  import { UpdateServicePrimaryTaskSetCommand, } from "./commands/UpdateServicePrimaryTaskSetCommand";
@@ -73,6 +85,11 @@ import { paginateListServices } from "./pagination/ListServicesPaginator";
73
85
  import { paginateListTaskDefinitionFamilies } from "./pagination/ListTaskDefinitionFamiliesPaginator";
74
86
  import { paginateListTaskDefinitions } from "./pagination/ListTaskDefinitionsPaginator";
75
87
  import { paginateListTasks } from "./pagination/ListTasksPaginator";
88
+ import { waitUntilDaemonActive } from "./waiters/waitForDaemonActive";
89
+ import { waitUntilDaemonDeploymentStopped } from "./waiters/waitForDaemonDeploymentStopped";
90
+ import { waitUntilDaemonDeploymentSuccessful } from "./waiters/waitForDaemonDeploymentSuccessful";
91
+ import { waitUntilDaemonTaskDefinitionActive } from "./waiters/waitForDaemonTaskDefinitionActive";
92
+ import { waitUntilDaemonTaskDefinitionDeleted } from "./waiters/waitForDaemonTaskDefinitionDeleted";
76
93
  import { waitUntilServicesInactive } from "./waiters/waitForServicesInactive";
77
94
  import { waitUntilServicesStable } from "./waiters/waitForServicesStable";
78
95
  import { waitUntilTasksRunning } from "./waiters/waitForTasksRunning";
@@ -80,6 +97,7 @@ import { waitUntilTasksStopped } from "./waiters/waitForTasksStopped";
80
97
  const commands = {
81
98
  CreateCapacityProviderCommand,
82
99
  CreateClusterCommand,
100
+ CreateDaemonCommand,
83
101
  CreateExpressGatewayServiceCommand,
84
102
  CreateServiceCommand,
85
103
  CreateTaskSetCommand,
@@ -87,6 +105,8 @@ const commands = {
87
105
  DeleteAttributesCommand,
88
106
  DeleteCapacityProviderCommand,
89
107
  DeleteClusterCommand,
108
+ DeleteDaemonCommand,
109
+ DeleteDaemonTaskDefinitionCommand,
90
110
  DeleteExpressGatewayServiceCommand,
91
111
  DeleteServiceCommand,
92
112
  DeleteTaskDefinitionsCommand,
@@ -96,6 +116,10 @@ const commands = {
96
116
  DescribeCapacityProvidersCommand,
97
117
  DescribeClustersCommand,
98
118
  DescribeContainerInstancesCommand,
119
+ DescribeDaemonCommand,
120
+ DescribeDaemonDeploymentsCommand,
121
+ DescribeDaemonRevisionsCommand,
122
+ DescribeDaemonTaskDefinitionCommand,
99
123
  DescribeExpressGatewayServiceCommand,
100
124
  DescribeServiceDeploymentsCommand,
101
125
  DescribeServiceRevisionsCommand,
@@ -110,6 +134,9 @@ const commands = {
110
134
  ListAttributesCommand,
111
135
  ListClustersCommand,
112
136
  ListContainerInstancesCommand,
137
+ ListDaemonDeploymentsCommand,
138
+ ListDaemonsCommand,
139
+ ListDaemonTaskDefinitionsCommand,
113
140
  ListServiceDeploymentsCommand,
114
141
  ListServicesCommand,
115
142
  ListServicesByNamespaceCommand,
@@ -122,6 +149,7 @@ const commands = {
122
149
  PutAttributesCommand,
123
150
  PutClusterCapacityProvidersCommand,
124
151
  RegisterContainerInstanceCommand,
152
+ RegisterDaemonTaskDefinitionCommand,
125
153
  RegisterTaskDefinitionCommand,
126
154
  RunTaskCommand,
127
155
  StartTaskCommand,
@@ -137,6 +165,7 @@ const commands = {
137
165
  UpdateClusterSettingsCommand,
138
166
  UpdateContainerAgentCommand,
139
167
  UpdateContainerInstancesStateCommand,
168
+ UpdateDaemonCommand,
140
169
  UpdateExpressGatewayServiceCommand,
141
170
  UpdateServiceCommand,
142
171
  UpdateServicePrimaryTaskSetCommand,
@@ -155,6 +184,11 @@ const paginators = {
155
184
  paginateListTasks,
156
185
  };
157
186
  const waiters = {
187
+ waitUntilDaemonActive,
188
+ waitUntilDaemonDeploymentSuccessful,
189
+ waitUntilDaemonDeploymentStopped,
190
+ waitUntilDaemonTaskDefinitionActive,
191
+ waitUntilDaemonTaskDefinitionDeleted,
158
192
  waitUntilServicesInactive,
159
193
  waitUntilServicesStable,
160
194
  waitUntilTasksRunning,
@@ -0,0 +1,16 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { CreateDaemon$ } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class CreateDaemonCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("AmazonEC2ContainerServiceV20141113", "CreateDaemon", {})
13
+ .n("ECSClient", "CreateDaemonCommand")
14
+ .sc(CreateDaemon$)
15
+ .build() {
16
+ }
@@ -0,0 +1,16 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { DeleteDaemon$ } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class DeleteDaemonCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("AmazonEC2ContainerServiceV20141113", "DeleteDaemon", {})
13
+ .n("ECSClient", "DeleteDaemonCommand")
14
+ .sc(DeleteDaemon$)
15
+ .build() {
16
+ }
@@ -0,0 +1,16 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { DeleteDaemonTaskDefinition$ } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class DeleteDaemonTaskDefinitionCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("AmazonEC2ContainerServiceV20141113", "DeleteDaemonTaskDefinition", {})
13
+ .n("ECSClient", "DeleteDaemonTaskDefinitionCommand")
14
+ .sc(DeleteDaemonTaskDefinition$)
15
+ .build() {
16
+ }
@@ -0,0 +1,16 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { DescribeDaemon$ } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class DescribeDaemonCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("AmazonEC2ContainerServiceV20141113", "DescribeDaemon", {})
13
+ .n("ECSClient", "DescribeDaemonCommand")
14
+ .sc(DescribeDaemon$)
15
+ .build() {
16
+ }
@@ -0,0 +1,16 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { DescribeDaemonDeployments$ } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class DescribeDaemonDeploymentsCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("AmazonEC2ContainerServiceV20141113", "DescribeDaemonDeployments", {})
13
+ .n("ECSClient", "DescribeDaemonDeploymentsCommand")
14
+ .sc(DescribeDaemonDeployments$)
15
+ .build() {
16
+ }
@@ -0,0 +1,16 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { DescribeDaemonRevisions$ } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class DescribeDaemonRevisionsCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("AmazonEC2ContainerServiceV20141113", "DescribeDaemonRevisions", {})
13
+ .n("ECSClient", "DescribeDaemonRevisionsCommand")
14
+ .sc(DescribeDaemonRevisions$)
15
+ .build() {
16
+ }
@@ -0,0 +1,16 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { DescribeDaemonTaskDefinition$ } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class DescribeDaemonTaskDefinitionCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("AmazonEC2ContainerServiceV20141113", "DescribeDaemonTaskDefinition", {})
13
+ .n("ECSClient", "DescribeDaemonTaskDefinitionCommand")
14
+ .sc(DescribeDaemonTaskDefinition$)
15
+ .build() {
16
+ }
@@ -0,0 +1,16 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { ListDaemonDeployments$ } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class ListDaemonDeploymentsCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("AmazonEC2ContainerServiceV20141113", "ListDaemonDeployments", {})
13
+ .n("ECSClient", "ListDaemonDeploymentsCommand")
14
+ .sc(ListDaemonDeployments$)
15
+ .build() {
16
+ }
@@ -0,0 +1,16 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { ListDaemonTaskDefinitions$ } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class ListDaemonTaskDefinitionsCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("AmazonEC2ContainerServiceV20141113", "ListDaemonTaskDefinitions", {})
13
+ .n("ECSClient", "ListDaemonTaskDefinitionsCommand")
14
+ .sc(ListDaemonTaskDefinitions$)
15
+ .build() {
16
+ }
@@ -0,0 +1,16 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { ListDaemons$ } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class ListDaemonsCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("AmazonEC2ContainerServiceV20141113", "ListDaemons", {})
13
+ .n("ECSClient", "ListDaemonsCommand")
14
+ .sc(ListDaemons$)
15
+ .build() {
16
+ }
@@ -0,0 +1,16 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { RegisterDaemonTaskDefinition$ } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class RegisterDaemonTaskDefinitionCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("AmazonEC2ContainerServiceV20141113", "RegisterDaemonTaskDefinition", {})
13
+ .n("ECSClient", "RegisterDaemonTaskDefinitionCommand")
14
+ .sc(RegisterDaemonTaskDefinition$)
15
+ .build() {
16
+ }
@@ -0,0 +1,16 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { UpdateDaemon$ } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class UpdateDaemonCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("AmazonEC2ContainerServiceV20141113", "UpdateDaemon", {})
13
+ .n("ECSClient", "UpdateDaemonCommand")
14
+ .sc(UpdateDaemon$)
15
+ .build() {
16
+ }
@@ -1,5 +1,6 @@
1
1
  export * from "./CreateCapacityProviderCommand";
2
2
  export * from "./CreateClusterCommand";
3
+ export * from "./CreateDaemonCommand";
3
4
  export * from "./CreateExpressGatewayServiceCommand";
4
5
  export * from "./CreateServiceCommand";
5
6
  export * from "./CreateTaskSetCommand";
@@ -7,6 +8,8 @@ export * from "./DeleteAccountSettingCommand";
7
8
  export * from "./DeleteAttributesCommand";
8
9
  export * from "./DeleteCapacityProviderCommand";
9
10
  export * from "./DeleteClusterCommand";
11
+ export * from "./DeleteDaemonCommand";
12
+ export * from "./DeleteDaemonTaskDefinitionCommand";
10
13
  export * from "./DeleteExpressGatewayServiceCommand";
11
14
  export * from "./DeleteServiceCommand";
12
15
  export * from "./DeleteTaskDefinitionsCommand";
@@ -16,6 +19,10 @@ export * from "./DeregisterTaskDefinitionCommand";
16
19
  export * from "./DescribeCapacityProvidersCommand";
17
20
  export * from "./DescribeClustersCommand";
18
21
  export * from "./DescribeContainerInstancesCommand";
22
+ export * from "./DescribeDaemonCommand";
23
+ export * from "./DescribeDaemonDeploymentsCommand";
24
+ export * from "./DescribeDaemonRevisionsCommand";
25
+ export * from "./DescribeDaemonTaskDefinitionCommand";
19
26
  export * from "./DescribeExpressGatewayServiceCommand";
20
27
  export * from "./DescribeServiceDeploymentsCommand";
21
28
  export * from "./DescribeServiceRevisionsCommand";
@@ -30,6 +37,9 @@ export * from "./ListAccountSettingsCommand";
30
37
  export * from "./ListAttributesCommand";
31
38
  export * from "./ListClustersCommand";
32
39
  export * from "./ListContainerInstancesCommand";
40
+ export * from "./ListDaemonDeploymentsCommand";
41
+ export * from "./ListDaemonTaskDefinitionsCommand";
42
+ export * from "./ListDaemonsCommand";
33
43
  export * from "./ListServiceDeploymentsCommand";
34
44
  export * from "./ListServicesByNamespaceCommand";
35
45
  export * from "./ListServicesCommand";
@@ -42,6 +52,7 @@ export * from "./PutAccountSettingDefaultCommand";
42
52
  export * from "./PutAttributesCommand";
43
53
  export * from "./PutClusterCapacityProvidersCommand";
44
54
  export * from "./RegisterContainerInstanceCommand";
55
+ export * from "./RegisterDaemonTaskDefinitionCommand";
45
56
  export * from "./RegisterTaskDefinitionCommand";
46
57
  export * from "./RunTaskCommand";
47
58
  export * from "./StartTaskCommand";
@@ -57,6 +68,7 @@ export * from "./UpdateClusterCommand";
57
68
  export * from "./UpdateClusterSettingsCommand";
58
69
  export * from "./UpdateContainerAgentCommand";
59
70
  export * from "./UpdateContainerInstancesStateCommand";
71
+ export * from "./UpdateDaemonCommand";
60
72
  export * from "./UpdateExpressGatewayServiceCommand";
61
73
  export * from "./UpdateServiceCommand";
62
74
  export * from "./UpdateServicePrimaryTaskSetCommand";
package/dist-es/index.js CHANGED
@@ -7,4 +7,5 @@ export * from "./waiters";
7
7
  export * from "./models/enums";
8
8
  export * from "./models/errors";
9
9
  export * from "./models/models_0";
10
+ export * from "./models/models_1";
10
11
  export { ECSServiceException } from "./models/ECSServiceException";
@@ -138,7 +138,9 @@ export const InstanceHealthCheckState = {
138
138
  OK: "OK",
139
139
  };
140
140
  export const InstanceHealthCheckType = {
141
+ ACCELERATED_COMPUTE: "ACCELERATED_COMPUTE",
141
142
  CONTAINER_RUNTIME: "CONTAINER_RUNTIME",
143
+ DAEMON: "DAEMON",
142
144
  };
143
145
  export const ClusterField = {
144
146
  ATTACHMENTS: "ATTACHMENTS",
@@ -179,28 +181,29 @@ export const LaunchType = {
179
181
  export const PlatformDeviceType = {
180
182
  GPU: "GPU",
181
183
  };
182
- export const SettingName = {
183
- AWSVPC_TRUNKING: "awsvpcTrunking",
184
- CONTAINER_INSIGHTS: "containerInsights",
185
- CONTAINER_INSTANCE_LONG_ARN_FORMAT: "containerInstanceLongArnFormat",
186
- DEFAULT_LOG_DRIVER_MODE: "defaultLogDriverMode",
187
- FARGATE_EVENT_WINDOWS: "fargateEventWindows",
188
- FARGATE_FIPS_MODE: "fargateFIPSMode",
189
- FARGATE_TASK_RETIREMENT_WAIT_PERIOD: "fargateTaskRetirementWaitPeriod",
190
- GUARD_DUTY_ACTIVATE: "guardDutyActivate",
191
- SERVICE_LONG_ARN_FORMAT: "serviceLongArnFormat",
192
- TAG_RESOURCE_AUTHORIZATION: "tagResourceAuthorization",
193
- TASK_LONG_ARN_FORMAT: "taskLongArnFormat",
184
+ export const DaemonDeploymentRollbackMonitorsStatus = {
185
+ DISABLED: "DISABLED",
186
+ MONITORING: "MONITORING",
187
+ MONITORING_COMPLETE: "MONITORING_COMPLETE",
188
+ TRIGGERED: "TRIGGERED",
194
189
  };
195
- export const SettingType = {
196
- AWS_MANAGED: "aws_managed",
197
- USER: "user",
190
+ export const DaemonDeploymentStatus = {
191
+ IN_PROGRESS: "IN_PROGRESS",
192
+ PENDING: "PENDING",
193
+ ROLLBACK_FAILED: "ROLLBACK_FAILED",
194
+ ROLLBACK_IN_PROGRESS: "ROLLBACK_IN_PROGRESS",
195
+ ROLLBACK_SUCCESSFUL: "ROLLBACK_SUCCESSFUL",
196
+ STOPPED: "STOPPED",
197
+ STOP_REQUESTED: "STOP_REQUESTED",
198
+ SUCCESSFUL: "SUCCESSFUL",
198
199
  };
199
- export const Compatibility = {
200
- EC2: "EC2",
201
- EXTERNAL: "EXTERNAL",
202
- FARGATE: "FARGATE",
203
- MANAGED_INSTANCES: "MANAGED_INSTANCES",
200
+ export const DaemonPropagateTags = {
201
+ DAEMON: "DAEMON",
202
+ NONE: "NONE",
203
+ };
204
+ export const DaemonStatus = {
205
+ ACTIVE: "ACTIVE",
206
+ DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS",
204
207
  };
205
208
  export const ContainerCondition = {
206
209
  COMPLETE: "COMPLETE",
@@ -230,15 +233,6 @@ export const LogDriver = {
230
233
  SPLUNK: "splunk",
231
234
  SYSLOG: "syslog",
232
235
  };
233
- export const ApplicationProtocol = {
234
- GRPC: "grpc",
235
- HTTP: "http",
236
- HTTP2: "http2",
237
- };
238
- export const ResourceType = {
239
- GPU: "GPU",
240
- INFERENCE_ACCELERATOR: "InferenceAccelerator",
241
- };
242
236
  export const UlimitName = {
243
237
  CORE: "core",
244
238
  CPU: "cpu",
@@ -256,6 +250,55 @@ export const UlimitName = {
256
250
  SIGPENDING: "sigpending",
257
251
  STACK: "stack",
258
252
  };
253
+ export const DaemonTaskDefinitionStatus = {
254
+ ACTIVE: "ACTIVE",
255
+ DELETED: "DELETED",
256
+ DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS",
257
+ };
258
+ export const DaemonTaskDefinitionRevisionFilter = {
259
+ LAST_REGISTERED: "LAST_REGISTERED",
260
+ };
261
+ export const SortOrder = {
262
+ ASC: "ASC",
263
+ DESC: "DESC",
264
+ };
265
+ export const DaemonTaskDefinitionStatusFilter = {
266
+ ACTIVE: "ACTIVE",
267
+ ALL: "ALL",
268
+ DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS",
269
+ };
270
+ export const SettingName = {
271
+ AWSVPC_TRUNKING: "awsvpcTrunking",
272
+ CONTAINER_INSIGHTS: "containerInsights",
273
+ CONTAINER_INSTANCE_LONG_ARN_FORMAT: "containerInstanceLongArnFormat",
274
+ DEFAULT_LOG_DRIVER_MODE: "defaultLogDriverMode",
275
+ FARGATE_EVENT_WINDOWS: "fargateEventWindows",
276
+ FARGATE_FIPS_MODE: "fargateFIPSMode",
277
+ FARGATE_TASK_RETIREMENT_WAIT_PERIOD: "fargateTaskRetirementWaitPeriod",
278
+ GUARD_DUTY_ACTIVATE: "guardDutyActivate",
279
+ SERVICE_LONG_ARN_FORMAT: "serviceLongArnFormat",
280
+ TAG_RESOURCE_AUTHORIZATION: "tagResourceAuthorization",
281
+ TASK_LONG_ARN_FORMAT: "taskLongArnFormat",
282
+ };
283
+ export const SettingType = {
284
+ AWS_MANAGED: "aws_managed",
285
+ USER: "user",
286
+ };
287
+ export const Compatibility = {
288
+ EC2: "EC2",
289
+ EXTERNAL: "EXTERNAL",
290
+ FARGATE: "FARGATE",
291
+ MANAGED_INSTANCES: "MANAGED_INSTANCES",
292
+ };
293
+ export const ApplicationProtocol = {
294
+ GRPC: "grpc",
295
+ HTTP: "http",
296
+ HTTP2: "http2",
297
+ };
298
+ export const ResourceType = {
299
+ GPU: "GPU",
300
+ INFERENCE_ACCELERATOR: "InferenceAccelerator",
301
+ };
259
302
  export const VersionConsistency = {
260
303
  DISABLED: "disabled",
261
304
  ENABLED: "enabled",
@@ -457,10 +500,6 @@ export const ManagedResourceStatus = {
457
500
  FAILED: "FAILED",
458
501
  PROVISIONING: "PROVISIONING",
459
502
  };
460
- export const SortOrder = {
461
- ASC: "ASC",
462
- DESC: "DESC",
463
- };
464
503
  export const TaskField = {
465
504
  TAGS: "TAGS",
466
505
  };
@@ -239,28 +239,52 @@ export class NoUpdateAvailableException extends __BaseException {
239
239
  Object.setPrototypeOf(this, NoUpdateAvailableException.prototype);
240
240
  }
241
241
  }
242
- export class PlatformTaskDefinitionIncompatibilityException extends __BaseException {
243
- name = "PlatformTaskDefinitionIncompatibilityException";
242
+ export class PlatformUnknownException extends __BaseException {
243
+ name = "PlatformUnknownException";
244
244
  $fault = "client";
245
245
  constructor(opts) {
246
246
  super({
247
- name: "PlatformTaskDefinitionIncompatibilityException",
247
+ name: "PlatformUnknownException",
248
248
  $fault: "client",
249
249
  ...opts,
250
250
  });
251
- Object.setPrototypeOf(this, PlatformTaskDefinitionIncompatibilityException.prototype);
251
+ Object.setPrototypeOf(this, PlatformUnknownException.prototype);
252
252
  }
253
253
  }
254
- export class PlatformUnknownException extends __BaseException {
255
- name = "PlatformUnknownException";
254
+ export class DaemonNotActiveException extends __BaseException {
255
+ name = "DaemonNotActiveException";
256
256
  $fault = "client";
257
257
  constructor(opts) {
258
258
  super({
259
- name: "PlatformUnknownException",
259
+ name: "DaemonNotActiveException",
260
260
  $fault: "client",
261
261
  ...opts,
262
262
  });
263
- Object.setPrototypeOf(this, PlatformUnknownException.prototype);
263
+ Object.setPrototypeOf(this, DaemonNotActiveException.prototype);
264
+ }
265
+ }
266
+ export class DaemonNotFoundException extends __BaseException {
267
+ name = "DaemonNotFoundException";
268
+ $fault = "client";
269
+ constructor(opts) {
270
+ super({
271
+ name: "DaemonNotFoundException",
272
+ $fault: "client",
273
+ ...opts,
274
+ });
275
+ Object.setPrototypeOf(this, DaemonNotFoundException.prototype);
276
+ }
277
+ }
278
+ export class PlatformTaskDefinitionIncompatibilityException extends __BaseException {
279
+ name = "PlatformTaskDefinitionIncompatibilityException";
280
+ $fault = "client";
281
+ constructor(opts) {
282
+ super({
283
+ name: "PlatformTaskDefinitionIncompatibilityException",
284
+ $fault: "client",
285
+ ...opts,
286
+ });
287
+ Object.setPrototypeOf(this, PlatformTaskDefinitionIncompatibilityException.prototype);
264
288
  }
265
289
  }
266
290
  export class ServiceNotActiveException extends __BaseException {
@@ -0,0 +1 @@
1
+ export {};