@aws-sdk/client-ecs 3.934.0 → 3.935.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 (76) hide show
  1. package/dist-cjs/index.js +480 -476
  2. package/dist-es/index.js +2 -1
  3. package/dist-es/models/enums.js +447 -0
  4. package/dist-es/models/errors.js +339 -0
  5. package/dist-es/models/models_0.js +1 -688
  6. package/dist-es/schemas/schemas_0.js +11 -7
  7. package/dist-types/commands/CreateCapacityProviderCommand.d.ts +6 -0
  8. package/dist-types/commands/DeleteCapacityProviderCommand.d.ts +3 -0
  9. package/dist-types/commands/DescribeCapacityProvidersCommand.d.ts +3 -0
  10. package/dist-types/commands/ListTasksCommand.d.ts +1 -1
  11. package/dist-types/commands/PutAccountSettingCommand.d.ts +1 -1
  12. package/dist-types/commands/PutAccountSettingDefaultCommand.d.ts +1 -1
  13. package/dist-types/commands/PutAttributesCommand.d.ts +1 -1
  14. package/dist-types/commands/PutClusterCapacityProvidersCommand.d.ts +1 -1
  15. package/dist-types/commands/RegisterContainerInstanceCommand.d.ts +1 -1
  16. package/dist-types/commands/RegisterTaskDefinitionCommand.d.ts +1 -1
  17. package/dist-types/commands/RunTaskCommand.d.ts +1 -1
  18. package/dist-types/commands/StartTaskCommand.d.ts +1 -1
  19. package/dist-types/commands/StopServiceDeploymentCommand.d.ts +1 -1
  20. package/dist-types/commands/StopTaskCommand.d.ts +1 -1
  21. package/dist-types/commands/SubmitAttachmentStateChangesCommand.d.ts +1 -1
  22. package/dist-types/commands/SubmitContainerStateChangeCommand.d.ts +1 -1
  23. package/dist-types/commands/SubmitTaskStateChangeCommand.d.ts +1 -1
  24. package/dist-types/commands/TagResourceCommand.d.ts +1 -1
  25. package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
  26. package/dist-types/commands/UpdateCapacityProviderCommand.d.ts +7 -1
  27. package/dist-types/commands/UpdateClusterCommand.d.ts +1 -1
  28. package/dist-types/commands/UpdateClusterSettingsCommand.d.ts +1 -1
  29. package/dist-types/commands/UpdateContainerAgentCommand.d.ts +1 -1
  30. package/dist-types/commands/UpdateContainerInstancesStateCommand.d.ts +1 -1
  31. package/dist-types/commands/UpdateServiceCommand.d.ts +1 -1
  32. package/dist-types/commands/UpdateServicePrimaryTaskSetCommand.d.ts +1 -1
  33. package/dist-types/commands/UpdateTaskProtectionCommand.d.ts +1 -1
  34. package/dist-types/commands/UpdateTaskSetCommand.d.ts +1 -1
  35. package/dist-types/index.d.ts +3 -1
  36. package/dist-types/models/enums.d.ts +1119 -0
  37. package/dist-types/models/errors.d.ts +397 -0
  38. package/dist-types/models/models_0.d.ts +2816 -1381
  39. package/dist-types/schemas/schemas_0.d.ts +1 -0
  40. package/dist-types/ts3.4/commands/ListTasksCommand.d.ts +1 -1
  41. package/dist-types/ts3.4/commands/PutAccountSettingCommand.d.ts +1 -1
  42. package/dist-types/ts3.4/commands/PutAccountSettingDefaultCommand.d.ts +1 -1
  43. package/dist-types/ts3.4/commands/PutAttributesCommand.d.ts +1 -1
  44. package/dist-types/ts3.4/commands/PutClusterCapacityProvidersCommand.d.ts +1 -1
  45. package/dist-types/ts3.4/commands/RegisterContainerInstanceCommand.d.ts +1 -1
  46. package/dist-types/ts3.4/commands/RegisterTaskDefinitionCommand.d.ts +1 -1
  47. package/dist-types/ts3.4/commands/RunTaskCommand.d.ts +1 -1
  48. package/dist-types/ts3.4/commands/StartTaskCommand.d.ts +1 -1
  49. package/dist-types/ts3.4/commands/StopServiceDeploymentCommand.d.ts +1 -1
  50. package/dist-types/ts3.4/commands/StopTaskCommand.d.ts +1 -1
  51. package/dist-types/ts3.4/commands/SubmitAttachmentStateChangesCommand.d.ts +1 -1
  52. package/dist-types/ts3.4/commands/SubmitContainerStateChangeCommand.d.ts +1 -1
  53. package/dist-types/ts3.4/commands/SubmitTaskStateChangeCommand.d.ts +1 -1
  54. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +1 -1
  55. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +1 -1
  56. package/dist-types/ts3.4/commands/UpdateCapacityProviderCommand.d.ts +1 -1
  57. package/dist-types/ts3.4/commands/UpdateClusterCommand.d.ts +1 -1
  58. package/dist-types/ts3.4/commands/UpdateClusterSettingsCommand.d.ts +1 -1
  59. package/dist-types/ts3.4/commands/UpdateContainerAgentCommand.d.ts +1 -1
  60. package/dist-types/ts3.4/commands/UpdateContainerInstancesStateCommand.d.ts +1 -1
  61. package/dist-types/ts3.4/commands/UpdateServiceCommand.d.ts +1 -1
  62. package/dist-types/ts3.4/commands/UpdateServicePrimaryTaskSetCommand.d.ts +1 -1
  63. package/dist-types/ts3.4/commands/UpdateTaskProtectionCommand.d.ts +1 -1
  64. package/dist-types/ts3.4/commands/UpdateTaskSetCommand.d.ts +1 -1
  65. package/dist-types/ts3.4/index.d.ts +3 -1
  66. package/dist-types/ts3.4/models/enums.d.ts +589 -0
  67. package/dist-types/ts3.4/models/errors.d.ts +209 -0
  68. package/dist-types/ts3.4/models/models_0.d.ts +437 -729
  69. package/dist-types/ts3.4/schemas/schemas_0.d.ts +1 -0
  70. package/package.json +12 -12
  71. package/dist-es/models/index.js +0 -2
  72. package/dist-es/models/models_1.js +0 -99
  73. package/dist-types/models/index.d.ts +0 -2
  74. package/dist-types/models/models_1.d.ts +0 -2908
  75. package/dist-types/ts3.4/models/index.d.ts +0 -2
  76. package/dist-types/ts3.4/models/models_1.d.ts +0 -476
@@ -0,0 +1,209 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { ECSServiceException as __BaseException } from "./ECSServiceException";
3
+ export declare class AccessDeniedException extends __BaseException {
4
+ readonly name: "AccessDeniedException";
5
+ readonly $fault: "client";
6
+ constructor(
7
+ opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
8
+ );
9
+ }
10
+ export declare class ClientException extends __BaseException {
11
+ readonly name: "ClientException";
12
+ readonly $fault: "client";
13
+ constructor(opts: __ExceptionOptionType<ClientException, __BaseException>);
14
+ }
15
+ export declare class ClusterNotFoundException extends __BaseException {
16
+ readonly name: "ClusterNotFoundException";
17
+ readonly $fault: "client";
18
+ constructor(
19
+ opts: __ExceptionOptionType<ClusterNotFoundException, __BaseException>
20
+ );
21
+ }
22
+ export declare class InvalidParameterException extends __BaseException {
23
+ readonly name: "InvalidParameterException";
24
+ readonly $fault: "client";
25
+ constructor(
26
+ opts: __ExceptionOptionType<InvalidParameterException, __BaseException>
27
+ );
28
+ }
29
+ export declare class LimitExceededException extends __BaseException {
30
+ readonly name: "LimitExceededException";
31
+ readonly $fault: "client";
32
+ constructor(
33
+ opts: __ExceptionOptionType<LimitExceededException, __BaseException>
34
+ );
35
+ }
36
+ export declare class ServerException extends __BaseException {
37
+ readonly name: "ServerException";
38
+ readonly $fault: "server";
39
+ constructor(opts: __ExceptionOptionType<ServerException, __BaseException>);
40
+ }
41
+ export declare class UnsupportedFeatureException extends __BaseException {
42
+ readonly name: "UnsupportedFeatureException";
43
+ readonly $fault: "client";
44
+ constructor(
45
+ opts: __ExceptionOptionType<UnsupportedFeatureException, __BaseException>
46
+ );
47
+ }
48
+ export declare class UpdateInProgressException extends __BaseException {
49
+ readonly name: "UpdateInProgressException";
50
+ readonly $fault: "client";
51
+ constructor(
52
+ opts: __ExceptionOptionType<UpdateInProgressException, __BaseException>
53
+ );
54
+ }
55
+ export declare class NamespaceNotFoundException extends __BaseException {
56
+ readonly name: "NamespaceNotFoundException";
57
+ readonly $fault: "client";
58
+ constructor(
59
+ opts: __ExceptionOptionType<NamespaceNotFoundException, __BaseException>
60
+ );
61
+ }
62
+ export declare class PlatformTaskDefinitionIncompatibilityException extends __BaseException {
63
+ readonly name: "PlatformTaskDefinitionIncompatibilityException";
64
+ readonly $fault: "client";
65
+ constructor(
66
+ opts: __ExceptionOptionType<
67
+ PlatformTaskDefinitionIncompatibilityException,
68
+ __BaseException
69
+ >
70
+ );
71
+ }
72
+ export declare class PlatformUnknownException extends __BaseException {
73
+ readonly name: "PlatformUnknownException";
74
+ readonly $fault: "client";
75
+ constructor(
76
+ opts: __ExceptionOptionType<PlatformUnknownException, __BaseException>
77
+ );
78
+ }
79
+ export declare class ServiceNotActiveException extends __BaseException {
80
+ readonly name: "ServiceNotActiveException";
81
+ readonly $fault: "client";
82
+ constructor(
83
+ opts: __ExceptionOptionType<ServiceNotActiveException, __BaseException>
84
+ );
85
+ }
86
+ export declare class ServiceNotFoundException extends __BaseException {
87
+ readonly name: "ServiceNotFoundException";
88
+ readonly $fault: "client";
89
+ constructor(
90
+ opts: __ExceptionOptionType<ServiceNotFoundException, __BaseException>
91
+ );
92
+ }
93
+ export declare class TargetNotFoundException extends __BaseException {
94
+ readonly name: "TargetNotFoundException";
95
+ readonly $fault: "client";
96
+ constructor(
97
+ opts: __ExceptionOptionType<TargetNotFoundException, __BaseException>
98
+ );
99
+ }
100
+ export declare class ClusterContainsCapacityProviderException extends __BaseException {
101
+ readonly name: "ClusterContainsCapacityProviderException";
102
+ readonly $fault: "client";
103
+ constructor(
104
+ opts: __ExceptionOptionType<
105
+ ClusterContainsCapacityProviderException,
106
+ __BaseException
107
+ >
108
+ );
109
+ }
110
+ export declare class ClusterContainsContainerInstancesException extends __BaseException {
111
+ readonly name: "ClusterContainsContainerInstancesException";
112
+ readonly $fault: "client";
113
+ constructor(
114
+ opts: __ExceptionOptionType<
115
+ ClusterContainsContainerInstancesException,
116
+ __BaseException
117
+ >
118
+ );
119
+ }
120
+ export declare class ClusterContainsServicesException extends __BaseException {
121
+ readonly name: "ClusterContainsServicesException";
122
+ readonly $fault: "client";
123
+ constructor(
124
+ opts: __ExceptionOptionType<
125
+ ClusterContainsServicesException,
126
+ __BaseException
127
+ >
128
+ );
129
+ }
130
+ export declare class ClusterContainsTasksException extends __BaseException {
131
+ readonly name: "ClusterContainsTasksException";
132
+ readonly $fault: "client";
133
+ constructor(
134
+ opts: __ExceptionOptionType<ClusterContainsTasksException, __BaseException>
135
+ );
136
+ }
137
+ export declare class TaskSetNotFoundException extends __BaseException {
138
+ readonly name: "TaskSetNotFoundException";
139
+ readonly $fault: "client";
140
+ constructor(
141
+ opts: __ExceptionOptionType<TaskSetNotFoundException, __BaseException>
142
+ );
143
+ }
144
+ export declare class TargetNotConnectedException extends __BaseException {
145
+ readonly name: "TargetNotConnectedException";
146
+ readonly $fault: "client";
147
+ constructor(
148
+ opts: __ExceptionOptionType<TargetNotConnectedException, __BaseException>
149
+ );
150
+ }
151
+ export declare class ResourceNotFoundException extends __BaseException {
152
+ readonly name: "ResourceNotFoundException";
153
+ readonly $fault: "client";
154
+ constructor(
155
+ opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
156
+ );
157
+ }
158
+ export declare class AttributeLimitExceededException extends __BaseException {
159
+ readonly name: "AttributeLimitExceededException";
160
+ readonly $fault: "client";
161
+ constructor(
162
+ opts: __ExceptionOptionType<
163
+ AttributeLimitExceededException,
164
+ __BaseException
165
+ >
166
+ );
167
+ }
168
+ export declare class ResourceInUseException extends __BaseException {
169
+ readonly name: "ResourceInUseException";
170
+ readonly $fault: "client";
171
+ constructor(
172
+ opts: __ExceptionOptionType<ResourceInUseException, __BaseException>
173
+ );
174
+ }
175
+ export declare class BlockedException extends __BaseException {
176
+ readonly name: "BlockedException";
177
+ readonly $fault: "client";
178
+ constructor(opts: __ExceptionOptionType<BlockedException, __BaseException>);
179
+ }
180
+ export declare class ConflictException extends __BaseException {
181
+ readonly name: "ConflictException";
182
+ readonly $fault: "client";
183
+ resourceIds?: string[] | undefined;
184
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
185
+ }
186
+ export declare class ServiceDeploymentNotFoundException extends __BaseException {
187
+ readonly name: "ServiceDeploymentNotFoundException";
188
+ readonly $fault: "client";
189
+ constructor(
190
+ opts: __ExceptionOptionType<
191
+ ServiceDeploymentNotFoundException,
192
+ __BaseException
193
+ >
194
+ );
195
+ }
196
+ export declare class MissingVersionException extends __BaseException {
197
+ readonly name: "MissingVersionException";
198
+ readonly $fault: "client";
199
+ constructor(
200
+ opts: __ExceptionOptionType<MissingVersionException, __BaseException>
201
+ );
202
+ }
203
+ export declare class NoUpdateAvailableException extends __BaseException {
204
+ readonly name: "NoUpdateAvailableException";
205
+ readonly $fault: "client";
206
+ constructor(
207
+ opts: __ExceptionOptionType<NoUpdateAvailableException, __BaseException>
208
+ );
209
+ }