@aws-sdk/client-cloudformation 3.934.0 → 3.936.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 (77) hide show
  1. package/dist-cjs/index.js +574 -574
  2. package/dist-es/index.js +2 -1
  3. package/dist-es/models/enums.js +520 -0
  4. package/dist-es/models/errors.js +407 -0
  5. package/dist-es/models/models_0.js +1 -844
  6. package/dist-es/schemas/schemas_0.js +1 -1
  7. package/dist-types/commands/ListStackRefactorsCommand.d.ts +1 -2
  8. package/dist-types/commands/ListStackResourcesCommand.d.ts +1 -1
  9. package/dist-types/commands/ListStackSetAutoDeploymentTargetsCommand.d.ts +1 -1
  10. package/dist-types/commands/ListStackSetOperationResultsCommand.d.ts +1 -1
  11. package/dist-types/commands/ListStackSetOperationsCommand.d.ts +1 -1
  12. package/dist-types/commands/ListStackSetsCommand.d.ts +1 -1
  13. package/dist-types/commands/ListStacksCommand.d.ts +1 -1
  14. package/dist-types/commands/ListTypeRegistrationsCommand.d.ts +1 -1
  15. package/dist-types/commands/ListTypeVersionsCommand.d.ts +1 -1
  16. package/dist-types/commands/ListTypesCommand.d.ts +1 -1
  17. package/dist-types/commands/PublishTypeCommand.d.ts +1 -1
  18. package/dist-types/commands/RecordHandlerProgressCommand.d.ts +1 -1
  19. package/dist-types/commands/RegisterPublisherCommand.d.ts +1 -1
  20. package/dist-types/commands/RegisterTypeCommand.d.ts +1 -1
  21. package/dist-types/commands/RollbackStackCommand.d.ts +1 -1
  22. package/dist-types/commands/SetStackPolicyCommand.d.ts +1 -1
  23. package/dist-types/commands/SetTypeConfigurationCommand.d.ts +1 -1
  24. package/dist-types/commands/SetTypeDefaultVersionCommand.d.ts +1 -1
  25. package/dist-types/commands/SignalResourceCommand.d.ts +1 -1
  26. package/dist-types/commands/StartResourceScanCommand.d.ts +1 -1
  27. package/dist-types/commands/StopStackSetOperationCommand.d.ts +1 -1
  28. package/dist-types/commands/TestTypeCommand.d.ts +1 -1
  29. package/dist-types/commands/UpdateGeneratedTemplateCommand.d.ts +1 -1
  30. package/dist-types/commands/UpdateStackCommand.d.ts +1 -1
  31. package/dist-types/commands/UpdateStackInstancesCommand.d.ts +1 -1
  32. package/dist-types/commands/UpdateStackSetCommand.d.ts +1 -1
  33. package/dist-types/commands/UpdateTerminationProtectionCommand.d.ts +1 -1
  34. package/dist-types/commands/ValidateTemplateCommand.d.ts +1 -1
  35. package/dist-types/index.d.ts +3 -1
  36. package/dist-types/models/enums.d.ts +1200 -0
  37. package/dist-types/models/errors.d.ts +413 -0
  38. package/dist-types/models/models_0.d.ts +2937 -1483
  39. package/dist-types/ts3.4/commands/ListStackRefactorsCommand.d.ts +4 -2
  40. package/dist-types/ts3.4/commands/ListStackResourcesCommand.d.ts +1 -1
  41. package/dist-types/ts3.4/commands/ListStackSetAutoDeploymentTargetsCommand.d.ts +1 -1
  42. package/dist-types/ts3.4/commands/ListStackSetOperationResultsCommand.d.ts +1 -1
  43. package/dist-types/ts3.4/commands/ListStackSetOperationsCommand.d.ts +1 -1
  44. package/dist-types/ts3.4/commands/ListStackSetsCommand.d.ts +1 -1
  45. package/dist-types/ts3.4/commands/ListStacksCommand.d.ts +1 -1
  46. package/dist-types/ts3.4/commands/ListTypeRegistrationsCommand.d.ts +1 -1
  47. package/dist-types/ts3.4/commands/ListTypeVersionsCommand.d.ts +1 -1
  48. package/dist-types/ts3.4/commands/ListTypesCommand.d.ts +1 -1
  49. package/dist-types/ts3.4/commands/PublishTypeCommand.d.ts +1 -1
  50. package/dist-types/ts3.4/commands/RecordHandlerProgressCommand.d.ts +1 -1
  51. package/dist-types/ts3.4/commands/RegisterPublisherCommand.d.ts +1 -1
  52. package/dist-types/ts3.4/commands/RegisterTypeCommand.d.ts +1 -1
  53. package/dist-types/ts3.4/commands/RollbackStackCommand.d.ts +1 -1
  54. package/dist-types/ts3.4/commands/SetStackPolicyCommand.d.ts +1 -1
  55. package/dist-types/ts3.4/commands/SetTypeConfigurationCommand.d.ts +1 -1
  56. package/dist-types/ts3.4/commands/SetTypeDefaultVersionCommand.d.ts +1 -1
  57. package/dist-types/ts3.4/commands/SignalResourceCommand.d.ts +1 -1
  58. package/dist-types/ts3.4/commands/StartResourceScanCommand.d.ts +1 -1
  59. package/dist-types/ts3.4/commands/StopStackSetOperationCommand.d.ts +1 -1
  60. package/dist-types/ts3.4/commands/TestTypeCommand.d.ts +1 -1
  61. package/dist-types/ts3.4/commands/UpdateGeneratedTemplateCommand.d.ts +1 -1
  62. package/dist-types/ts3.4/commands/UpdateStackCommand.d.ts +1 -1
  63. package/dist-types/ts3.4/commands/UpdateStackInstancesCommand.d.ts +1 -1
  64. package/dist-types/ts3.4/commands/UpdateStackSetCommand.d.ts +1 -1
  65. package/dist-types/ts3.4/commands/UpdateTerminationProtectionCommand.d.ts +1 -1
  66. package/dist-types/ts3.4/commands/ValidateTemplateCommand.d.ts +1 -1
  67. package/dist-types/ts3.4/index.d.ts +3 -1
  68. package/dist-types/ts3.4/models/enums.d.ts +669 -0
  69. package/dist-types/ts3.4/models/errors.d.ts +264 -0
  70. package/dist-types/ts3.4/models/models_0.d.ts +488 -849
  71. package/package.json +19 -19
  72. package/dist-es/models/index.js +0 -2
  73. package/dist-es/models/models_1.js +0 -84
  74. package/dist-types/models/index.d.ts +0 -2
  75. package/dist-types/models/models_1.d.ts +0 -3069
  76. package/dist-types/ts3.4/models/index.d.ts +0 -2
  77. package/dist-types/ts3.4/models/models_1.d.ts +0 -524
@@ -0,0 +1,407 @@
1
+ import { CloudFormationServiceException as __BaseException } from "./CloudFormationServiceException";
2
+ export class InvalidOperationException extends __BaseException {
3
+ name = "InvalidOperationException";
4
+ $fault = "client";
5
+ Message;
6
+ constructor(opts) {
7
+ super({
8
+ name: "InvalidOperationException",
9
+ $fault: "client",
10
+ ...opts,
11
+ });
12
+ Object.setPrototypeOf(this, InvalidOperationException.prototype);
13
+ this.Message = opts.Message;
14
+ }
15
+ }
16
+ export class OperationNotFoundException extends __BaseException {
17
+ name = "OperationNotFoundException";
18
+ $fault = "client";
19
+ Message;
20
+ constructor(opts) {
21
+ super({
22
+ name: "OperationNotFoundException",
23
+ $fault: "client",
24
+ ...opts,
25
+ });
26
+ Object.setPrototypeOf(this, OperationNotFoundException.prototype);
27
+ this.Message = opts.Message;
28
+ }
29
+ }
30
+ export class CFNRegistryException extends __BaseException {
31
+ name = "CFNRegistryException";
32
+ $fault = "client";
33
+ Message;
34
+ constructor(opts) {
35
+ super({
36
+ name: "CFNRegistryException",
37
+ $fault: "client",
38
+ ...opts,
39
+ });
40
+ Object.setPrototypeOf(this, CFNRegistryException.prototype);
41
+ this.Message = opts.Message;
42
+ }
43
+ }
44
+ export class TypeNotFoundException extends __BaseException {
45
+ name = "TypeNotFoundException";
46
+ $fault = "client";
47
+ Message;
48
+ constructor(opts) {
49
+ super({
50
+ name: "TypeNotFoundException",
51
+ $fault: "client",
52
+ ...opts,
53
+ });
54
+ Object.setPrototypeOf(this, TypeNotFoundException.prototype);
55
+ this.Message = opts.Message;
56
+ }
57
+ }
58
+ export class AlreadyExistsException extends __BaseException {
59
+ name = "AlreadyExistsException";
60
+ $fault = "client";
61
+ Message;
62
+ constructor(opts) {
63
+ super({
64
+ name: "AlreadyExistsException",
65
+ $fault: "client",
66
+ ...opts,
67
+ });
68
+ Object.setPrototypeOf(this, AlreadyExistsException.prototype);
69
+ this.Message = opts.Message;
70
+ }
71
+ }
72
+ export class TypeConfigurationNotFoundException extends __BaseException {
73
+ name = "TypeConfigurationNotFoundException";
74
+ $fault = "client";
75
+ Message;
76
+ constructor(opts) {
77
+ super({
78
+ name: "TypeConfigurationNotFoundException",
79
+ $fault: "client",
80
+ ...opts,
81
+ });
82
+ Object.setPrototypeOf(this, TypeConfigurationNotFoundException.prototype);
83
+ this.Message = opts.Message;
84
+ }
85
+ }
86
+ export class TokenAlreadyExistsException extends __BaseException {
87
+ name = "TokenAlreadyExistsException";
88
+ $fault = "client";
89
+ Message;
90
+ constructor(opts) {
91
+ super({
92
+ name: "TokenAlreadyExistsException",
93
+ $fault: "client",
94
+ ...opts,
95
+ });
96
+ Object.setPrototypeOf(this, TokenAlreadyExistsException.prototype);
97
+ this.Message = opts.Message;
98
+ }
99
+ }
100
+ export class ChangeSetNotFoundException extends __BaseException {
101
+ name = "ChangeSetNotFoundException";
102
+ $fault = "client";
103
+ Message;
104
+ constructor(opts) {
105
+ super({
106
+ name: "ChangeSetNotFoundException",
107
+ $fault: "client",
108
+ ...opts,
109
+ });
110
+ Object.setPrototypeOf(this, ChangeSetNotFoundException.prototype);
111
+ this.Message = opts.Message;
112
+ }
113
+ }
114
+ export class InsufficientCapabilitiesException extends __BaseException {
115
+ name = "InsufficientCapabilitiesException";
116
+ $fault = "client";
117
+ Message;
118
+ constructor(opts) {
119
+ super({
120
+ name: "InsufficientCapabilitiesException",
121
+ $fault: "client",
122
+ ...opts,
123
+ });
124
+ Object.setPrototypeOf(this, InsufficientCapabilitiesException.prototype);
125
+ this.Message = opts.Message;
126
+ }
127
+ }
128
+ export class LimitExceededException extends __BaseException {
129
+ name = "LimitExceededException";
130
+ $fault = "client";
131
+ Message;
132
+ constructor(opts) {
133
+ super({
134
+ name: "LimitExceededException",
135
+ $fault: "client",
136
+ ...opts,
137
+ });
138
+ Object.setPrototypeOf(this, LimitExceededException.prototype);
139
+ this.Message = opts.Message;
140
+ }
141
+ }
142
+ export class ConcurrentResourcesLimitExceededException extends __BaseException {
143
+ name = "ConcurrentResourcesLimitExceededException";
144
+ $fault = "client";
145
+ Message;
146
+ constructor(opts) {
147
+ super({
148
+ name: "ConcurrentResourcesLimitExceededException",
149
+ $fault: "client",
150
+ ...opts,
151
+ });
152
+ Object.setPrototypeOf(this, ConcurrentResourcesLimitExceededException.prototype);
153
+ this.Message = opts.Message;
154
+ }
155
+ }
156
+ export class OperationIdAlreadyExistsException extends __BaseException {
157
+ name = "OperationIdAlreadyExistsException";
158
+ $fault = "client";
159
+ Message;
160
+ constructor(opts) {
161
+ super({
162
+ name: "OperationIdAlreadyExistsException",
163
+ $fault: "client",
164
+ ...opts,
165
+ });
166
+ Object.setPrototypeOf(this, OperationIdAlreadyExistsException.prototype);
167
+ this.Message = opts.Message;
168
+ }
169
+ }
170
+ export class OperationInProgressException extends __BaseException {
171
+ name = "OperationInProgressException";
172
+ $fault = "client";
173
+ Message;
174
+ constructor(opts) {
175
+ super({
176
+ name: "OperationInProgressException",
177
+ $fault: "client",
178
+ ...opts,
179
+ });
180
+ Object.setPrototypeOf(this, OperationInProgressException.prototype);
181
+ this.Message = opts.Message;
182
+ }
183
+ }
184
+ export class StackSetNotFoundException extends __BaseException {
185
+ name = "StackSetNotFoundException";
186
+ $fault = "client";
187
+ Message;
188
+ constructor(opts) {
189
+ super({
190
+ name: "StackSetNotFoundException",
191
+ $fault: "client",
192
+ ...opts,
193
+ });
194
+ Object.setPrototypeOf(this, StackSetNotFoundException.prototype);
195
+ this.Message = opts.Message;
196
+ }
197
+ }
198
+ export class StaleRequestException extends __BaseException {
199
+ name = "StaleRequestException";
200
+ $fault = "client";
201
+ Message;
202
+ constructor(opts) {
203
+ super({
204
+ name: "StaleRequestException",
205
+ $fault: "client",
206
+ ...opts,
207
+ });
208
+ Object.setPrototypeOf(this, StaleRequestException.prototype);
209
+ this.Message = opts.Message;
210
+ }
211
+ }
212
+ export class CreatedButModifiedException extends __BaseException {
213
+ name = "CreatedButModifiedException";
214
+ $fault = "client";
215
+ Message;
216
+ constructor(opts) {
217
+ super({
218
+ name: "CreatedButModifiedException",
219
+ $fault: "client",
220
+ ...opts,
221
+ });
222
+ Object.setPrototypeOf(this, CreatedButModifiedException.prototype);
223
+ this.Message = opts.Message;
224
+ }
225
+ }
226
+ export class NameAlreadyExistsException extends __BaseException {
227
+ name = "NameAlreadyExistsException";
228
+ $fault = "client";
229
+ Message;
230
+ constructor(opts) {
231
+ super({
232
+ name: "NameAlreadyExistsException",
233
+ $fault: "client",
234
+ ...opts,
235
+ });
236
+ Object.setPrototypeOf(this, NameAlreadyExistsException.prototype);
237
+ this.Message = opts.Message;
238
+ }
239
+ }
240
+ export class InvalidChangeSetStatusException extends __BaseException {
241
+ name = "InvalidChangeSetStatusException";
242
+ $fault = "client";
243
+ Message;
244
+ constructor(opts) {
245
+ super({
246
+ name: "InvalidChangeSetStatusException",
247
+ $fault: "client",
248
+ ...opts,
249
+ });
250
+ Object.setPrototypeOf(this, InvalidChangeSetStatusException.prototype);
251
+ this.Message = opts.Message;
252
+ }
253
+ }
254
+ export class GeneratedTemplateNotFoundException extends __BaseException {
255
+ name = "GeneratedTemplateNotFoundException";
256
+ $fault = "client";
257
+ Message;
258
+ constructor(opts) {
259
+ super({
260
+ name: "GeneratedTemplateNotFoundException",
261
+ $fault: "client",
262
+ ...opts,
263
+ });
264
+ Object.setPrototypeOf(this, GeneratedTemplateNotFoundException.prototype);
265
+ this.Message = opts.Message;
266
+ }
267
+ }
268
+ export class StackSetNotEmptyException extends __BaseException {
269
+ name = "StackSetNotEmptyException";
270
+ $fault = "client";
271
+ Message;
272
+ constructor(opts) {
273
+ super({
274
+ name: "StackSetNotEmptyException",
275
+ $fault: "client",
276
+ ...opts,
277
+ });
278
+ Object.setPrototypeOf(this, StackSetNotEmptyException.prototype);
279
+ this.Message = opts.Message;
280
+ }
281
+ }
282
+ export class ResourceScanNotFoundException extends __BaseException {
283
+ name = "ResourceScanNotFoundException";
284
+ $fault = "client";
285
+ Message;
286
+ constructor(opts) {
287
+ super({
288
+ name: "ResourceScanNotFoundException",
289
+ $fault: "client",
290
+ ...opts,
291
+ });
292
+ Object.setPrototypeOf(this, ResourceScanNotFoundException.prototype);
293
+ this.Message = opts.Message;
294
+ }
295
+ }
296
+ export class StackInstanceNotFoundException extends __BaseException {
297
+ name = "StackInstanceNotFoundException";
298
+ $fault = "client";
299
+ Message;
300
+ constructor(opts) {
301
+ super({
302
+ name: "StackInstanceNotFoundException",
303
+ $fault: "client",
304
+ ...opts,
305
+ });
306
+ Object.setPrototypeOf(this, StackInstanceNotFoundException.prototype);
307
+ this.Message = opts.Message;
308
+ }
309
+ }
310
+ export class StackRefactorNotFoundException extends __BaseException {
311
+ name = "StackRefactorNotFoundException";
312
+ $fault = "client";
313
+ Message;
314
+ constructor(opts) {
315
+ super({
316
+ name: "StackRefactorNotFoundException",
317
+ $fault: "client",
318
+ ...opts,
319
+ });
320
+ Object.setPrototypeOf(this, StackRefactorNotFoundException.prototype);
321
+ this.Message = opts.Message;
322
+ }
323
+ }
324
+ export class HookResultNotFoundException extends __BaseException {
325
+ name = "HookResultNotFoundException";
326
+ $fault = "client";
327
+ Message;
328
+ constructor(opts) {
329
+ super({
330
+ name: "HookResultNotFoundException",
331
+ $fault: "client",
332
+ ...opts,
333
+ });
334
+ Object.setPrototypeOf(this, HookResultNotFoundException.prototype);
335
+ this.Message = opts.Message;
336
+ }
337
+ }
338
+ export class StackNotFoundException extends __BaseException {
339
+ name = "StackNotFoundException";
340
+ $fault = "client";
341
+ Message;
342
+ constructor(opts) {
343
+ super({
344
+ name: "StackNotFoundException",
345
+ $fault: "client",
346
+ ...opts,
347
+ });
348
+ Object.setPrototypeOf(this, StackNotFoundException.prototype);
349
+ this.Message = opts.Message;
350
+ }
351
+ }
352
+ export class ResourceScanInProgressException extends __BaseException {
353
+ name = "ResourceScanInProgressException";
354
+ $fault = "client";
355
+ Message;
356
+ constructor(opts) {
357
+ super({
358
+ name: "ResourceScanInProgressException",
359
+ $fault: "client",
360
+ ...opts,
361
+ });
362
+ Object.setPrototypeOf(this, ResourceScanInProgressException.prototype);
363
+ this.Message = opts.Message;
364
+ }
365
+ }
366
+ export class InvalidStateTransitionException extends __BaseException {
367
+ name = "InvalidStateTransitionException";
368
+ $fault = "client";
369
+ Message;
370
+ constructor(opts) {
371
+ super({
372
+ name: "InvalidStateTransitionException",
373
+ $fault: "client",
374
+ ...opts,
375
+ });
376
+ Object.setPrototypeOf(this, InvalidStateTransitionException.prototype);
377
+ this.Message = opts.Message;
378
+ }
379
+ }
380
+ export class OperationStatusCheckFailedException extends __BaseException {
381
+ name = "OperationStatusCheckFailedException";
382
+ $fault = "client";
383
+ Message;
384
+ constructor(opts) {
385
+ super({
386
+ name: "OperationStatusCheckFailedException",
387
+ $fault: "client",
388
+ ...opts,
389
+ });
390
+ Object.setPrototypeOf(this, OperationStatusCheckFailedException.prototype);
391
+ this.Message = opts.Message;
392
+ }
393
+ }
394
+ export class ResourceScanLimitExceededException extends __BaseException {
395
+ name = "ResourceScanLimitExceededException";
396
+ $fault = "client";
397
+ Message;
398
+ constructor(opts) {
399
+ super({
400
+ name: "ResourceScanLimitExceededException",
401
+ $fault: "client",
402
+ ...opts,
403
+ });
404
+ Object.setPrototypeOf(this, ResourceScanLimitExceededException.prototype);
405
+ this.Message = opts.Message;
406
+ }
407
+ }