@aws-sdk/client-ecs 3.489.0 → 3.495.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 (104) hide show
  1. package/dist-cjs/ECS.js +1 -123
  2. package/dist-cjs/ECSClient.js +1 -43
  3. package/dist-cjs/commands/CreateCapacityProviderCommand.js +1 -28
  4. package/dist-cjs/commands/CreateClusterCommand.js +1 -28
  5. package/dist-cjs/commands/CreateServiceCommand.js +1 -28
  6. package/dist-cjs/commands/CreateTaskSetCommand.js +1 -28
  7. package/dist-cjs/commands/DeleteAccountSettingCommand.js +1 -28
  8. package/dist-cjs/commands/DeleteAttributesCommand.js +1 -28
  9. package/dist-cjs/commands/DeleteCapacityProviderCommand.js +1 -28
  10. package/dist-cjs/commands/DeleteClusterCommand.js +1 -28
  11. package/dist-cjs/commands/DeleteServiceCommand.js +1 -28
  12. package/dist-cjs/commands/DeleteTaskDefinitionsCommand.js +1 -28
  13. package/dist-cjs/commands/DeleteTaskSetCommand.js +1 -28
  14. package/dist-cjs/commands/DeregisterContainerInstanceCommand.js +1 -28
  15. package/dist-cjs/commands/DeregisterTaskDefinitionCommand.js +1 -28
  16. package/dist-cjs/commands/DescribeCapacityProvidersCommand.js +1 -28
  17. package/dist-cjs/commands/DescribeClustersCommand.js +1 -28
  18. package/dist-cjs/commands/DescribeContainerInstancesCommand.js +1 -28
  19. package/dist-cjs/commands/DescribeServicesCommand.js +1 -28
  20. package/dist-cjs/commands/DescribeTaskDefinitionCommand.js +1 -28
  21. package/dist-cjs/commands/DescribeTaskSetsCommand.js +1 -28
  22. package/dist-cjs/commands/DescribeTasksCommand.js +1 -28
  23. package/dist-cjs/commands/DiscoverPollEndpointCommand.js +1 -28
  24. package/dist-cjs/commands/ExecuteCommandCommand.js +1 -29
  25. package/dist-cjs/commands/GetTaskProtectionCommand.js +1 -28
  26. package/dist-cjs/commands/ListAccountSettingsCommand.js +1 -28
  27. package/dist-cjs/commands/ListAttributesCommand.js +1 -28
  28. package/dist-cjs/commands/ListClustersCommand.js +1 -28
  29. package/dist-cjs/commands/ListContainerInstancesCommand.js +1 -28
  30. package/dist-cjs/commands/ListServicesByNamespaceCommand.js +1 -28
  31. package/dist-cjs/commands/ListServicesCommand.js +1 -28
  32. package/dist-cjs/commands/ListTagsForResourceCommand.js +1 -28
  33. package/dist-cjs/commands/ListTaskDefinitionFamiliesCommand.js +1 -28
  34. package/dist-cjs/commands/ListTaskDefinitionsCommand.js +1 -28
  35. package/dist-cjs/commands/ListTasksCommand.js +1 -28
  36. package/dist-cjs/commands/PutAccountSettingCommand.js +1 -28
  37. package/dist-cjs/commands/PutAccountSettingDefaultCommand.js +1 -28
  38. package/dist-cjs/commands/PutAttributesCommand.js +1 -28
  39. package/dist-cjs/commands/PutClusterCapacityProvidersCommand.js +1 -28
  40. package/dist-cjs/commands/RegisterContainerInstanceCommand.js +1 -28
  41. package/dist-cjs/commands/RegisterTaskDefinitionCommand.js +1 -28
  42. package/dist-cjs/commands/RunTaskCommand.js +1 -28
  43. package/dist-cjs/commands/StartTaskCommand.js +1 -28
  44. package/dist-cjs/commands/StopTaskCommand.js +1 -28
  45. package/dist-cjs/commands/SubmitAttachmentStateChangesCommand.js +1 -28
  46. package/dist-cjs/commands/SubmitContainerStateChangeCommand.js +1 -28
  47. package/dist-cjs/commands/SubmitTaskStateChangeCommand.js +1 -28
  48. package/dist-cjs/commands/TagResourceCommand.js +1 -28
  49. package/dist-cjs/commands/UntagResourceCommand.js +1 -28
  50. package/dist-cjs/commands/UpdateCapacityProviderCommand.js +1 -28
  51. package/dist-cjs/commands/UpdateClusterCommand.js +1 -28
  52. package/dist-cjs/commands/UpdateClusterSettingsCommand.js +1 -28
  53. package/dist-cjs/commands/UpdateContainerAgentCommand.js +1 -28
  54. package/dist-cjs/commands/UpdateContainerInstancesStateCommand.js +1 -28
  55. package/dist-cjs/commands/UpdateServiceCommand.js +1 -28
  56. package/dist-cjs/commands/UpdateServicePrimaryTaskSetCommand.js +1 -28
  57. package/dist-cjs/commands/UpdateTaskProtectionCommand.js +1 -28
  58. package/dist-cjs/commands/UpdateTaskSetCommand.js +1 -28
  59. package/dist-cjs/commands/index.js +1 -59
  60. package/dist-cjs/endpoint/EndpointParameters.js +1 -18
  61. package/dist-cjs/extensionConfiguration.js +1 -2
  62. package/dist-cjs/index.js +6154 -12
  63. package/dist-cjs/models/ECSServiceException.js +1 -12
  64. package/dist-cjs/models/index.js +1 -4
  65. package/dist-cjs/models/models_0.js +1 -651
  66. package/dist-cjs/pagination/Interfaces.js +1 -2
  67. package/dist-cjs/pagination/ListAccountSettingsPaginator.js +1 -7
  68. package/dist-cjs/pagination/ListAttributesPaginator.js +1 -7
  69. package/dist-cjs/pagination/ListClustersPaginator.js +1 -7
  70. package/dist-cjs/pagination/ListContainerInstancesPaginator.js +1 -7
  71. package/dist-cjs/pagination/ListServicesByNamespacePaginator.js +1 -7
  72. package/dist-cjs/pagination/ListServicesPaginator.js +1 -7
  73. package/dist-cjs/pagination/ListTaskDefinitionFamiliesPaginator.js +1 -7
  74. package/dist-cjs/pagination/ListTaskDefinitionsPaginator.js +1 -7
  75. package/dist-cjs/pagination/ListTasksPaginator.js +1 -7
  76. package/dist-cjs/pagination/index.js +1 -13
  77. package/dist-cjs/protocols/Aws_json1_1.js +1 -3768
  78. package/dist-cjs/runtimeExtensions.js +1 -22
  79. package/dist-cjs/waiters/index.js +1 -7
  80. package/dist-cjs/waiters/waitForServicesInactive.js +1 -57
  81. package/dist-cjs/waiters/waitForServicesStable.js +1 -84
  82. package/dist-cjs/waiters/waitForTasksRunning.js +1 -74
  83. package/dist-cjs/waiters/waitForTasksStopped.js +1 -44
  84. package/dist-es/models/models_0.js +8 -0
  85. package/dist-es/protocols/Aws_json1_1.js +8 -0
  86. package/dist-types/commands/CreateClusterCommand.d.ts +3 -3
  87. package/dist-types/commands/CreateServiceCommand.d.ts +60 -6
  88. package/dist-types/commands/DeleteAccountSettingCommand.d.ts +2 -2
  89. package/dist-types/commands/DeleteServiceCommand.d.ts +29 -6
  90. package/dist-types/commands/DeleteTaskDefinitionsCommand.d.ts +17 -11
  91. package/dist-types/commands/DeregisterTaskDefinitionCommand.d.ts +7 -6
  92. package/dist-types/commands/DescribeServicesCommand.d.ts +29 -6
  93. package/dist-types/commands/DescribeTaskDefinitionCommand.d.ts +1 -0
  94. package/dist-types/commands/ExecuteCommandCommand.d.ts +7 -6
  95. package/dist-types/commands/ListTasksCommand.d.ts +2 -2
  96. package/dist-types/commands/PutAccountSettingCommand.d.ts +12 -11
  97. package/dist-types/commands/PutAccountSettingDefaultCommand.d.ts +2 -3
  98. package/dist-types/commands/RegisterTaskDefinitionCommand.d.ts +6 -4
  99. package/dist-types/commands/RunTaskCommand.d.ts +36 -4
  100. package/dist-types/commands/StartTaskCommand.d.ts +36 -0
  101. package/dist-types/commands/UpdateServiceCommand.d.ts +72 -9
  102. package/dist-types/models/models_0.d.ts +757 -230
  103. package/dist-types/ts3.4/models/models_0.d.ts +59 -0
  104. package/package.json +41 -41
@@ -1,12 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ECSServiceException = exports.__ServiceException = void 0;
4
- const smithy_client_1 = require("@smithy/smithy-client");
5
- Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
6
- class ECSServiceException extends smithy_client_1.ServiceException {
7
- constructor(options) {
8
- super(options);
9
- Object.setPrototypeOf(this, ECSServiceException.prototype);
10
- }
11
- }
12
- exports.ECSServiceException = ECSServiceException;
1
+ module.exports = require("../index.js");
@@ -1,4 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./models_0"), exports);
1
+ module.exports = require("../index.js");
@@ -1,651 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.NetworkMode = exports.IpcMode = exports.UlimitName = exports.ResourceType = exports.TransportProtocol = exports.ApplicationProtocol = exports.DeviceCgroupPermission = exports.FirelensConfigurationType = exports.EnvironmentFileType = exports.ContainerCondition = exports.Compatibility = exports.ClusterContainsTasksException = exports.ClusterContainsServicesException = exports.ClusterContainsContainerInstancesException = exports.TargetNotFoundException = exports.TargetType = exports.SettingType = exports.SettingName = exports.ServiceNotFoundException = exports.ServiceNotActiveException = exports.UnsupportedFeatureException = exports.PlatformUnknownException = exports.PlatformTaskDefinitionIncompatibilityException = exports.StabilityStatus = exports.ScaleUnit = exports.DeploymentRolloutState = exports.LogDriver = exports.SchedulingStrategy = exports.PropagateTags = exports.PlacementStrategyType = exports.PlacementConstraintType = exports.AssignPublicIp = exports.LaunchType = exports.DeploymentControllerType = exports.ClusterNotFoundException = exports.NamespaceNotFoundException = exports.ClusterSettingName = exports.ExecuteCommandLogging = exports.UpdateInProgressException = exports.ServerException = exports.LimitExceededException = exports.InvalidParameterException = exports.CapacityProviderUpdateStatus = exports.CapacityProviderStatus = exports.ManagedTerminationProtection = exports.ManagedScalingStatus = exports.ManagedDraining = exports.ClientException = exports.AgentUpdateStatus = exports.AccessDeniedException = void 0;
4
- exports.ExecuteCommandResponseFilterSensitiveLog = exports.SessionFilterSensitiveLog = exports.NoUpdateAvailableException = exports.MissingVersionException = exports.ConflictException = exports.BlockedException = exports.PlatformDeviceType = exports.ResourceInUseException = exports.AttributeLimitExceededException = exports.DesiredStatus = exports.SortOrder = exports.TaskDefinitionFamilyStatus = exports.ContainerInstanceStatus = exports.ResourceNotFoundException = exports.TargetNotConnectedException = exports.TaskSetField = exports.TaskStopCode = exports.ManagedAgentName = exports.HealthStatus = exports.Connectivity = exports.TaskField = exports.TaskDefinitionField = exports.ServiceField = exports.ContainerInstanceField = exports.ClusterField = exports.CapacityProviderField = exports.InstanceHealthCheckType = exports.InstanceHealthCheckState = exports.TaskSetNotFoundException = exports.EFSTransitEncryption = exports.EFSAuthorizationConfigIAM = exports.Scope = exports.TaskDefinitionStatus = exports.OSFamily = exports.CPUArchitecture = exports.ProxyConfigurationType = exports.TaskDefinitionPlacementConstraintType = exports.PidMode = void 0;
5
- const smithy_client_1 = require("@smithy/smithy-client");
6
- const ECSServiceException_1 = require("./ECSServiceException");
7
- class AccessDeniedException extends ECSServiceException_1.ECSServiceException {
8
- constructor(opts) {
9
- super({
10
- name: "AccessDeniedException",
11
- $fault: "client",
12
- ...opts,
13
- });
14
- this.name = "AccessDeniedException";
15
- this.$fault = "client";
16
- Object.setPrototypeOf(this, AccessDeniedException.prototype);
17
- }
18
- }
19
- exports.AccessDeniedException = AccessDeniedException;
20
- exports.AgentUpdateStatus = {
21
- FAILED: "FAILED",
22
- PENDING: "PENDING",
23
- STAGED: "STAGED",
24
- STAGING: "STAGING",
25
- UPDATED: "UPDATED",
26
- UPDATING: "UPDATING",
27
- };
28
- class ClientException extends ECSServiceException_1.ECSServiceException {
29
- constructor(opts) {
30
- super({
31
- name: "ClientException",
32
- $fault: "client",
33
- ...opts,
34
- });
35
- this.name = "ClientException";
36
- this.$fault = "client";
37
- Object.setPrototypeOf(this, ClientException.prototype);
38
- }
39
- }
40
- exports.ClientException = ClientException;
41
- exports.ManagedDraining = {
42
- DISABLED: "DISABLED",
43
- ENABLED: "ENABLED",
44
- };
45
- exports.ManagedScalingStatus = {
46
- DISABLED: "DISABLED",
47
- ENABLED: "ENABLED",
48
- };
49
- exports.ManagedTerminationProtection = {
50
- DISABLED: "DISABLED",
51
- ENABLED: "ENABLED",
52
- };
53
- exports.CapacityProviderStatus = {
54
- ACTIVE: "ACTIVE",
55
- INACTIVE: "INACTIVE",
56
- };
57
- exports.CapacityProviderUpdateStatus = {
58
- DELETE_COMPLETE: "DELETE_COMPLETE",
59
- DELETE_FAILED: "DELETE_FAILED",
60
- DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS",
61
- UPDATE_COMPLETE: "UPDATE_COMPLETE",
62
- UPDATE_FAILED: "UPDATE_FAILED",
63
- UPDATE_IN_PROGRESS: "UPDATE_IN_PROGRESS",
64
- };
65
- class InvalidParameterException extends ECSServiceException_1.ECSServiceException {
66
- constructor(opts) {
67
- super({
68
- name: "InvalidParameterException",
69
- $fault: "client",
70
- ...opts,
71
- });
72
- this.name = "InvalidParameterException";
73
- this.$fault = "client";
74
- Object.setPrototypeOf(this, InvalidParameterException.prototype);
75
- }
76
- }
77
- exports.InvalidParameterException = InvalidParameterException;
78
- class LimitExceededException extends ECSServiceException_1.ECSServiceException {
79
- constructor(opts) {
80
- super({
81
- name: "LimitExceededException",
82
- $fault: "client",
83
- ...opts,
84
- });
85
- this.name = "LimitExceededException";
86
- this.$fault = "client";
87
- Object.setPrototypeOf(this, LimitExceededException.prototype);
88
- }
89
- }
90
- exports.LimitExceededException = LimitExceededException;
91
- class ServerException extends ECSServiceException_1.ECSServiceException {
92
- constructor(opts) {
93
- super({
94
- name: "ServerException",
95
- $fault: "server",
96
- ...opts,
97
- });
98
- this.name = "ServerException";
99
- this.$fault = "server";
100
- Object.setPrototypeOf(this, ServerException.prototype);
101
- }
102
- }
103
- exports.ServerException = ServerException;
104
- class UpdateInProgressException extends ECSServiceException_1.ECSServiceException {
105
- constructor(opts) {
106
- super({
107
- name: "UpdateInProgressException",
108
- $fault: "client",
109
- ...opts,
110
- });
111
- this.name = "UpdateInProgressException";
112
- this.$fault = "client";
113
- Object.setPrototypeOf(this, UpdateInProgressException.prototype);
114
- }
115
- }
116
- exports.UpdateInProgressException = UpdateInProgressException;
117
- exports.ExecuteCommandLogging = {
118
- DEFAULT: "DEFAULT",
119
- NONE: "NONE",
120
- OVERRIDE: "OVERRIDE",
121
- };
122
- exports.ClusterSettingName = {
123
- CONTAINER_INSIGHTS: "containerInsights",
124
- };
125
- class NamespaceNotFoundException extends ECSServiceException_1.ECSServiceException {
126
- constructor(opts) {
127
- super({
128
- name: "NamespaceNotFoundException",
129
- $fault: "client",
130
- ...opts,
131
- });
132
- this.name = "NamespaceNotFoundException";
133
- this.$fault = "client";
134
- Object.setPrototypeOf(this, NamespaceNotFoundException.prototype);
135
- }
136
- }
137
- exports.NamespaceNotFoundException = NamespaceNotFoundException;
138
- class ClusterNotFoundException extends ECSServiceException_1.ECSServiceException {
139
- constructor(opts) {
140
- super({
141
- name: "ClusterNotFoundException",
142
- $fault: "client",
143
- ...opts,
144
- });
145
- this.name = "ClusterNotFoundException";
146
- this.$fault = "client";
147
- Object.setPrototypeOf(this, ClusterNotFoundException.prototype);
148
- }
149
- }
150
- exports.ClusterNotFoundException = ClusterNotFoundException;
151
- exports.DeploymentControllerType = {
152
- CODE_DEPLOY: "CODE_DEPLOY",
153
- ECS: "ECS",
154
- EXTERNAL: "EXTERNAL",
155
- };
156
- exports.LaunchType = {
157
- EC2: "EC2",
158
- EXTERNAL: "EXTERNAL",
159
- FARGATE: "FARGATE",
160
- };
161
- exports.AssignPublicIp = {
162
- DISABLED: "DISABLED",
163
- ENABLED: "ENABLED",
164
- };
165
- exports.PlacementConstraintType = {
166
- DISTINCT_INSTANCE: "distinctInstance",
167
- MEMBER_OF: "memberOf",
168
- };
169
- exports.PlacementStrategyType = {
170
- BINPACK: "binpack",
171
- RANDOM: "random",
172
- SPREAD: "spread",
173
- };
174
- exports.PropagateTags = {
175
- NONE: "NONE",
176
- SERVICE: "SERVICE",
177
- TASK_DEFINITION: "TASK_DEFINITION",
178
- };
179
- exports.SchedulingStrategy = {
180
- DAEMON: "DAEMON",
181
- REPLICA: "REPLICA",
182
- };
183
- exports.LogDriver = {
184
- AWSFIRELENS: "awsfirelens",
185
- AWSLOGS: "awslogs",
186
- FLUENTD: "fluentd",
187
- GELF: "gelf",
188
- JOURNALD: "journald",
189
- JSON_FILE: "json-file",
190
- SPLUNK: "splunk",
191
- SYSLOG: "syslog",
192
- };
193
- exports.DeploymentRolloutState = {
194
- COMPLETED: "COMPLETED",
195
- FAILED: "FAILED",
196
- IN_PROGRESS: "IN_PROGRESS",
197
- };
198
- exports.ScaleUnit = {
199
- PERCENT: "PERCENT",
200
- };
201
- exports.StabilityStatus = {
202
- STABILIZING: "STABILIZING",
203
- STEADY_STATE: "STEADY_STATE",
204
- };
205
- class PlatformTaskDefinitionIncompatibilityException extends ECSServiceException_1.ECSServiceException {
206
- constructor(opts) {
207
- super({
208
- name: "PlatformTaskDefinitionIncompatibilityException",
209
- $fault: "client",
210
- ...opts,
211
- });
212
- this.name = "PlatformTaskDefinitionIncompatibilityException";
213
- this.$fault = "client";
214
- Object.setPrototypeOf(this, PlatformTaskDefinitionIncompatibilityException.prototype);
215
- }
216
- }
217
- exports.PlatformTaskDefinitionIncompatibilityException = PlatformTaskDefinitionIncompatibilityException;
218
- class PlatformUnknownException extends ECSServiceException_1.ECSServiceException {
219
- constructor(opts) {
220
- super({
221
- name: "PlatformUnknownException",
222
- $fault: "client",
223
- ...opts,
224
- });
225
- this.name = "PlatformUnknownException";
226
- this.$fault = "client";
227
- Object.setPrototypeOf(this, PlatformUnknownException.prototype);
228
- }
229
- }
230
- exports.PlatformUnknownException = PlatformUnknownException;
231
- class UnsupportedFeatureException extends ECSServiceException_1.ECSServiceException {
232
- constructor(opts) {
233
- super({
234
- name: "UnsupportedFeatureException",
235
- $fault: "client",
236
- ...opts,
237
- });
238
- this.name = "UnsupportedFeatureException";
239
- this.$fault = "client";
240
- Object.setPrototypeOf(this, UnsupportedFeatureException.prototype);
241
- }
242
- }
243
- exports.UnsupportedFeatureException = UnsupportedFeatureException;
244
- class ServiceNotActiveException extends ECSServiceException_1.ECSServiceException {
245
- constructor(opts) {
246
- super({
247
- name: "ServiceNotActiveException",
248
- $fault: "client",
249
- ...opts,
250
- });
251
- this.name = "ServiceNotActiveException";
252
- this.$fault = "client";
253
- Object.setPrototypeOf(this, ServiceNotActiveException.prototype);
254
- }
255
- }
256
- exports.ServiceNotActiveException = ServiceNotActiveException;
257
- class ServiceNotFoundException extends ECSServiceException_1.ECSServiceException {
258
- constructor(opts) {
259
- super({
260
- name: "ServiceNotFoundException",
261
- $fault: "client",
262
- ...opts,
263
- });
264
- this.name = "ServiceNotFoundException";
265
- this.$fault = "client";
266
- Object.setPrototypeOf(this, ServiceNotFoundException.prototype);
267
- }
268
- }
269
- exports.ServiceNotFoundException = ServiceNotFoundException;
270
- exports.SettingName = {
271
- AWSVPC_TRUNKING: "awsvpcTrunking",
272
- CONTAINER_INSIGHTS: "containerInsights",
273
- CONTAINER_INSTANCE_LONG_ARN_FORMAT: "containerInstanceLongArnFormat",
274
- FARGATE_FIPS_MODE: "fargateFIPSMode",
275
- FARGATE_TASK_RETIREMENT_WAIT_PERIOD: "fargateTaskRetirementWaitPeriod",
276
- GUARD_DUTY_ACTIVATE: "guardDutyActivate",
277
- SERVICE_LONG_ARN_FORMAT: "serviceLongArnFormat",
278
- TAG_RESOURCE_AUTHORIZATION: "tagResourceAuthorization",
279
- TASK_LONG_ARN_FORMAT: "taskLongArnFormat",
280
- };
281
- exports.SettingType = {
282
- AWS_MANAGED: "aws_managed",
283
- USER: "user",
284
- };
285
- exports.TargetType = {
286
- CONTAINER_INSTANCE: "container-instance",
287
- };
288
- class TargetNotFoundException extends ECSServiceException_1.ECSServiceException {
289
- constructor(opts) {
290
- super({
291
- name: "TargetNotFoundException",
292
- $fault: "client",
293
- ...opts,
294
- });
295
- this.name = "TargetNotFoundException";
296
- this.$fault = "client";
297
- Object.setPrototypeOf(this, TargetNotFoundException.prototype);
298
- }
299
- }
300
- exports.TargetNotFoundException = TargetNotFoundException;
301
- class ClusterContainsContainerInstancesException extends ECSServiceException_1.ECSServiceException {
302
- constructor(opts) {
303
- super({
304
- name: "ClusterContainsContainerInstancesException",
305
- $fault: "client",
306
- ...opts,
307
- });
308
- this.name = "ClusterContainsContainerInstancesException";
309
- this.$fault = "client";
310
- Object.setPrototypeOf(this, ClusterContainsContainerInstancesException.prototype);
311
- }
312
- }
313
- exports.ClusterContainsContainerInstancesException = ClusterContainsContainerInstancesException;
314
- class ClusterContainsServicesException extends ECSServiceException_1.ECSServiceException {
315
- constructor(opts) {
316
- super({
317
- name: "ClusterContainsServicesException",
318
- $fault: "client",
319
- ...opts,
320
- });
321
- this.name = "ClusterContainsServicesException";
322
- this.$fault = "client";
323
- Object.setPrototypeOf(this, ClusterContainsServicesException.prototype);
324
- }
325
- }
326
- exports.ClusterContainsServicesException = ClusterContainsServicesException;
327
- class ClusterContainsTasksException extends ECSServiceException_1.ECSServiceException {
328
- constructor(opts) {
329
- super({
330
- name: "ClusterContainsTasksException",
331
- $fault: "client",
332
- ...opts,
333
- });
334
- this.name = "ClusterContainsTasksException";
335
- this.$fault = "client";
336
- Object.setPrototypeOf(this, ClusterContainsTasksException.prototype);
337
- }
338
- }
339
- exports.ClusterContainsTasksException = ClusterContainsTasksException;
340
- exports.Compatibility = {
341
- EC2: "EC2",
342
- EXTERNAL: "EXTERNAL",
343
- FARGATE: "FARGATE",
344
- };
345
- exports.ContainerCondition = {
346
- COMPLETE: "COMPLETE",
347
- HEALTHY: "HEALTHY",
348
- START: "START",
349
- SUCCESS: "SUCCESS",
350
- };
351
- exports.EnvironmentFileType = {
352
- S3: "s3",
353
- };
354
- exports.FirelensConfigurationType = {
355
- FLUENTBIT: "fluentbit",
356
- FLUENTD: "fluentd",
357
- };
358
- exports.DeviceCgroupPermission = {
359
- MKNOD: "mknod",
360
- READ: "read",
361
- WRITE: "write",
362
- };
363
- exports.ApplicationProtocol = {
364
- GRPC: "grpc",
365
- HTTP: "http",
366
- HTTP2: "http2",
367
- };
368
- exports.TransportProtocol = {
369
- TCP: "tcp",
370
- UDP: "udp",
371
- };
372
- exports.ResourceType = {
373
- GPU: "GPU",
374
- INFERENCE_ACCELERATOR: "InferenceAccelerator",
375
- };
376
- exports.UlimitName = {
377
- CORE: "core",
378
- CPU: "cpu",
379
- DATA: "data",
380
- FSIZE: "fsize",
381
- LOCKS: "locks",
382
- MEMLOCK: "memlock",
383
- MSGQUEUE: "msgqueue",
384
- NICE: "nice",
385
- NOFILE: "nofile",
386
- NPROC: "nproc",
387
- RSS: "rss",
388
- RTPRIO: "rtprio",
389
- RTTIME: "rttime",
390
- SIGPENDING: "sigpending",
391
- STACK: "stack",
392
- };
393
- exports.IpcMode = {
394
- HOST: "host",
395
- NONE: "none",
396
- TASK: "task",
397
- };
398
- exports.NetworkMode = {
399
- AWSVPC: "awsvpc",
400
- BRIDGE: "bridge",
401
- HOST: "host",
402
- NONE: "none",
403
- };
404
- exports.PidMode = {
405
- HOST: "host",
406
- TASK: "task",
407
- };
408
- exports.TaskDefinitionPlacementConstraintType = {
409
- MEMBER_OF: "memberOf",
410
- };
411
- exports.ProxyConfigurationType = {
412
- APPMESH: "APPMESH",
413
- };
414
- exports.CPUArchitecture = {
415
- ARM64: "ARM64",
416
- X86_64: "X86_64",
417
- };
418
- exports.OSFamily = {
419
- LINUX: "LINUX",
420
- WINDOWS_SERVER_2004_CORE: "WINDOWS_SERVER_2004_CORE",
421
- WINDOWS_SERVER_2016_FULL: "WINDOWS_SERVER_2016_FULL",
422
- WINDOWS_SERVER_2019_CORE: "WINDOWS_SERVER_2019_CORE",
423
- WINDOWS_SERVER_2019_FULL: "WINDOWS_SERVER_2019_FULL",
424
- WINDOWS_SERVER_2022_CORE: "WINDOWS_SERVER_2022_CORE",
425
- WINDOWS_SERVER_2022_FULL: "WINDOWS_SERVER_2022_FULL",
426
- WINDOWS_SERVER_20H2_CORE: "WINDOWS_SERVER_20H2_CORE",
427
- };
428
- exports.TaskDefinitionStatus = {
429
- ACTIVE: "ACTIVE",
430
- DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS",
431
- INACTIVE: "INACTIVE",
432
- };
433
- exports.Scope = {
434
- SHARED: "shared",
435
- TASK: "task",
436
- };
437
- exports.EFSAuthorizationConfigIAM = {
438
- DISABLED: "DISABLED",
439
- ENABLED: "ENABLED",
440
- };
441
- exports.EFSTransitEncryption = {
442
- DISABLED: "DISABLED",
443
- ENABLED: "ENABLED",
444
- };
445
- class TaskSetNotFoundException extends ECSServiceException_1.ECSServiceException {
446
- constructor(opts) {
447
- super({
448
- name: "TaskSetNotFoundException",
449
- $fault: "client",
450
- ...opts,
451
- });
452
- this.name = "TaskSetNotFoundException";
453
- this.$fault = "client";
454
- Object.setPrototypeOf(this, TaskSetNotFoundException.prototype);
455
- }
456
- }
457
- exports.TaskSetNotFoundException = TaskSetNotFoundException;
458
- exports.InstanceHealthCheckState = {
459
- IMPAIRED: "IMPAIRED",
460
- INITIALIZING: "INITIALIZING",
461
- INSUFFICIENT_DATA: "INSUFFICIENT_DATA",
462
- OK: "OK",
463
- };
464
- exports.InstanceHealthCheckType = {
465
- CONTAINER_RUNTIME: "CONTAINER_RUNTIME",
466
- };
467
- exports.CapacityProviderField = {
468
- TAGS: "TAGS",
469
- };
470
- exports.ClusterField = {
471
- ATTACHMENTS: "ATTACHMENTS",
472
- CONFIGURATIONS: "CONFIGURATIONS",
473
- SETTINGS: "SETTINGS",
474
- STATISTICS: "STATISTICS",
475
- TAGS: "TAGS",
476
- };
477
- exports.ContainerInstanceField = {
478
- CONTAINER_INSTANCE_HEALTH: "CONTAINER_INSTANCE_HEALTH",
479
- TAGS: "TAGS",
480
- };
481
- exports.ServiceField = {
482
- TAGS: "TAGS",
483
- };
484
- exports.TaskDefinitionField = {
485
- TAGS: "TAGS",
486
- };
487
- exports.TaskField = {
488
- TAGS: "TAGS",
489
- };
490
- exports.Connectivity = {
491
- CONNECTED: "CONNECTED",
492
- DISCONNECTED: "DISCONNECTED",
493
- };
494
- exports.HealthStatus = {
495
- HEALTHY: "HEALTHY",
496
- UNHEALTHY: "UNHEALTHY",
497
- UNKNOWN: "UNKNOWN",
498
- };
499
- exports.ManagedAgentName = {
500
- ExecuteCommandAgent: "ExecuteCommandAgent",
501
- };
502
- exports.TaskStopCode = {
503
- ESSENTIAL_CONTAINER_EXITED: "EssentialContainerExited",
504
- SERVICE_SCHEDULER_INITIATED: "ServiceSchedulerInitiated",
505
- SPOT_INTERRUPTION: "SpotInterruption",
506
- TASK_FAILED_TO_START: "TaskFailedToStart",
507
- TERMINATION_NOTICE: "TerminationNotice",
508
- USER_INITIATED: "UserInitiated",
509
- };
510
- exports.TaskSetField = {
511
- TAGS: "TAGS",
512
- };
513
- class TargetNotConnectedException extends ECSServiceException_1.ECSServiceException {
514
- constructor(opts) {
515
- super({
516
- name: "TargetNotConnectedException",
517
- $fault: "client",
518
- ...opts,
519
- });
520
- this.name = "TargetNotConnectedException";
521
- this.$fault = "client";
522
- Object.setPrototypeOf(this, TargetNotConnectedException.prototype);
523
- }
524
- }
525
- exports.TargetNotConnectedException = TargetNotConnectedException;
526
- class ResourceNotFoundException extends ECSServiceException_1.ECSServiceException {
527
- constructor(opts) {
528
- super({
529
- name: "ResourceNotFoundException",
530
- $fault: "client",
531
- ...opts,
532
- });
533
- this.name = "ResourceNotFoundException";
534
- this.$fault = "client";
535
- Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
536
- }
537
- }
538
- exports.ResourceNotFoundException = ResourceNotFoundException;
539
- exports.ContainerInstanceStatus = {
540
- ACTIVE: "ACTIVE",
541
- DEREGISTERING: "DEREGISTERING",
542
- DRAINING: "DRAINING",
543
- REGISTERING: "REGISTERING",
544
- REGISTRATION_FAILED: "REGISTRATION_FAILED",
545
- };
546
- exports.TaskDefinitionFamilyStatus = {
547
- ACTIVE: "ACTIVE",
548
- ALL: "ALL",
549
- INACTIVE: "INACTIVE",
550
- };
551
- exports.SortOrder = {
552
- ASC: "ASC",
553
- DESC: "DESC",
554
- };
555
- exports.DesiredStatus = {
556
- PENDING: "PENDING",
557
- RUNNING: "RUNNING",
558
- STOPPED: "STOPPED",
559
- };
560
- class AttributeLimitExceededException extends ECSServiceException_1.ECSServiceException {
561
- constructor(opts) {
562
- super({
563
- name: "AttributeLimitExceededException",
564
- $fault: "client",
565
- ...opts,
566
- });
567
- this.name = "AttributeLimitExceededException";
568
- this.$fault = "client";
569
- Object.setPrototypeOf(this, AttributeLimitExceededException.prototype);
570
- }
571
- }
572
- exports.AttributeLimitExceededException = AttributeLimitExceededException;
573
- class ResourceInUseException extends ECSServiceException_1.ECSServiceException {
574
- constructor(opts) {
575
- super({
576
- name: "ResourceInUseException",
577
- $fault: "client",
578
- ...opts,
579
- });
580
- this.name = "ResourceInUseException";
581
- this.$fault = "client";
582
- Object.setPrototypeOf(this, ResourceInUseException.prototype);
583
- }
584
- }
585
- exports.ResourceInUseException = ResourceInUseException;
586
- exports.PlatformDeviceType = {
587
- GPU: "GPU",
588
- };
589
- class BlockedException extends ECSServiceException_1.ECSServiceException {
590
- constructor(opts) {
591
- super({
592
- name: "BlockedException",
593
- $fault: "client",
594
- ...opts,
595
- });
596
- this.name = "BlockedException";
597
- this.$fault = "client";
598
- Object.setPrototypeOf(this, BlockedException.prototype);
599
- }
600
- }
601
- exports.BlockedException = BlockedException;
602
- class ConflictException extends ECSServiceException_1.ECSServiceException {
603
- constructor(opts) {
604
- super({
605
- name: "ConflictException",
606
- $fault: "client",
607
- ...opts,
608
- });
609
- this.name = "ConflictException";
610
- this.$fault = "client";
611
- Object.setPrototypeOf(this, ConflictException.prototype);
612
- this.resourceIds = opts.resourceIds;
613
- }
614
- }
615
- exports.ConflictException = ConflictException;
616
- class MissingVersionException extends ECSServiceException_1.ECSServiceException {
617
- constructor(opts) {
618
- super({
619
- name: "MissingVersionException",
620
- $fault: "client",
621
- ...opts,
622
- });
623
- this.name = "MissingVersionException";
624
- this.$fault = "client";
625
- Object.setPrototypeOf(this, MissingVersionException.prototype);
626
- }
627
- }
628
- exports.MissingVersionException = MissingVersionException;
629
- class NoUpdateAvailableException extends ECSServiceException_1.ECSServiceException {
630
- constructor(opts) {
631
- super({
632
- name: "NoUpdateAvailableException",
633
- $fault: "client",
634
- ...opts,
635
- });
636
- this.name = "NoUpdateAvailableException";
637
- this.$fault = "client";
638
- Object.setPrototypeOf(this, NoUpdateAvailableException.prototype);
639
- }
640
- }
641
- exports.NoUpdateAvailableException = NoUpdateAvailableException;
642
- const SessionFilterSensitiveLog = (obj) => ({
643
- ...obj,
644
- ...(obj.tokenValue && { tokenValue: smithy_client_1.SENSITIVE_STRING }),
645
- });
646
- exports.SessionFilterSensitiveLog = SessionFilterSensitiveLog;
647
- const ExecuteCommandResponseFilterSensitiveLog = (obj) => ({
648
- ...obj,
649
- ...(obj.session && { session: (0, exports.SessionFilterSensitiveLog)(obj.session) }),
650
- });
651
- exports.ExecuteCommandResponseFilterSensitiveLog = ExecuteCommandResponseFilterSensitiveLog;
1
+ module.exports = require("../index.js");
@@ -1,2 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListAccountSettings = void 0;
4
- const core_1 = require("@smithy/core");
5
- const ListAccountSettingsCommand_1 = require("../commands/ListAccountSettingsCommand");
6
- const ECSClient_1 = require("../ECSClient");
7
- exports.paginateListAccountSettings = (0, core_1.createPaginator)(ECSClient_1.ECSClient, ListAccountSettingsCommand_1.ListAccountSettingsCommand, "nextToken", "nextToken", "maxResults");
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListAttributes = void 0;
4
- const core_1 = require("@smithy/core");
5
- const ListAttributesCommand_1 = require("../commands/ListAttributesCommand");
6
- const ECSClient_1 = require("../ECSClient");
7
- exports.paginateListAttributes = (0, core_1.createPaginator)(ECSClient_1.ECSClient, ListAttributesCommand_1.ListAttributesCommand, "nextToken", "nextToken", "maxResults");
1
+ module.exports = require("../index.js");