@aws-sdk/client-cloudformation 3.52.0 → 3.53.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist-es/index.js CHANGED
@@ -4,3 +4,4 @@ export * from "./commands";
4
4
  export * from "./models";
5
5
  export * from "./pagination";
6
6
  export * from "./waiters";
7
+ export { CloudFormationServiceException } from "./models/CloudFormationServiceException";
@@ -0,0 +1,12 @@
1
+ import { __extends } from "tslib";
2
+ import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
3
+ var CloudFormationServiceException = (function (_super) {
4
+ __extends(CloudFormationServiceException, _super);
5
+ function CloudFormationServiceException(options) {
6
+ var _this = _super.call(this, options) || this;
7
+ Object.setPrototypeOf(_this, CloudFormationServiceException.prototype);
8
+ return _this;
9
+ }
10
+ return CloudFormationServiceException;
11
+ }(__ServiceException));
12
+ export { CloudFormationServiceException };
@@ -1,4 +1,5 @@
1
- import { __assign } from "tslib";
1
+ import { __assign, __extends } from "tslib";
2
+ import { CloudFormationServiceException as __BaseException } from "./CloudFormationServiceException";
2
3
  export var AccountGateResult;
3
4
  (function (AccountGateResult) {
4
5
  AccountGateResult.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -30,6 +31,45 @@ export var ActivateTypeOutput;
30
31
  (function (ActivateTypeOutput) {
31
32
  ActivateTypeOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
32
33
  })(ActivateTypeOutput || (ActivateTypeOutput = {}));
34
+ var CFNRegistryException = (function (_super) {
35
+ __extends(CFNRegistryException, _super);
36
+ function CFNRegistryException(opts) {
37
+ var _this = _super.call(this, __assign({ name: "CFNRegistryException", $fault: "client" }, opts)) || this;
38
+ _this.name = "CFNRegistryException";
39
+ _this.$fault = "client";
40
+ Object.setPrototypeOf(_this, CFNRegistryException.prototype);
41
+ _this.Message = opts.Message;
42
+ return _this;
43
+ }
44
+ return CFNRegistryException;
45
+ }(__BaseException));
46
+ export { CFNRegistryException };
47
+ var TypeNotFoundException = (function (_super) {
48
+ __extends(TypeNotFoundException, _super);
49
+ function TypeNotFoundException(opts) {
50
+ var _this = _super.call(this, __assign({ name: "TypeNotFoundException", $fault: "client" }, opts)) || this;
51
+ _this.name = "TypeNotFoundException";
52
+ _this.$fault = "client";
53
+ Object.setPrototypeOf(_this, TypeNotFoundException.prototype);
54
+ _this.Message = opts.Message;
55
+ return _this;
56
+ }
57
+ return TypeNotFoundException;
58
+ }(__BaseException));
59
+ export { TypeNotFoundException };
60
+ var AlreadyExistsException = (function (_super) {
61
+ __extends(AlreadyExistsException, _super);
62
+ function AlreadyExistsException(opts) {
63
+ var _this = _super.call(this, __assign({ name: "AlreadyExistsException", $fault: "client" }, opts)) || this;
64
+ _this.name = "AlreadyExistsException";
65
+ _this.$fault = "client";
66
+ Object.setPrototypeOf(_this, AlreadyExistsException.prototype);
67
+ _this.Message = opts.Message;
68
+ return _this;
69
+ }
70
+ return AlreadyExistsException;
71
+ }(__BaseException));
72
+ export { AlreadyExistsException };
33
73
  export var AutoDeployment;
34
74
  (function (AutoDeployment) {
35
75
  AutoDeployment.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -54,6 +94,19 @@ export var BatchDescribeTypeConfigurationsOutput;
54
94
  (function (BatchDescribeTypeConfigurationsOutput) {
55
95
  BatchDescribeTypeConfigurationsOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
56
96
  })(BatchDescribeTypeConfigurationsOutput || (BatchDescribeTypeConfigurationsOutput = {}));
97
+ var TypeConfigurationNotFoundException = (function (_super) {
98
+ __extends(TypeConfigurationNotFoundException, _super);
99
+ function TypeConfigurationNotFoundException(opts) {
100
+ var _this = _super.call(this, __assign({ name: "TypeConfigurationNotFoundException", $fault: "client" }, opts)) || this;
101
+ _this.name = "TypeConfigurationNotFoundException";
102
+ _this.$fault = "client";
103
+ Object.setPrototypeOf(_this, TypeConfigurationNotFoundException.prototype);
104
+ _this.Message = opts.Message;
105
+ return _this;
106
+ }
107
+ return TypeConfigurationNotFoundException;
108
+ }(__BaseException));
109
+ export { TypeConfigurationNotFoundException };
57
110
  export var CallAs;
58
111
  (function (CallAs) {
59
112
  CallAs["DELEGATED_ADMIN"] = "DELEGATED_ADMIN";
@@ -63,6 +116,19 @@ export var CancelUpdateStackInput;
63
116
  (function (CancelUpdateStackInput) {
64
117
  CancelUpdateStackInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
65
118
  })(CancelUpdateStackInput || (CancelUpdateStackInput = {}));
119
+ var TokenAlreadyExistsException = (function (_super) {
120
+ __extends(TokenAlreadyExistsException, _super);
121
+ function TokenAlreadyExistsException(opts) {
122
+ var _this = _super.call(this, __assign({ name: "TokenAlreadyExistsException", $fault: "client" }, opts)) || this;
123
+ _this.name = "TokenAlreadyExistsException";
124
+ _this.$fault = "client";
125
+ Object.setPrototypeOf(_this, TokenAlreadyExistsException.prototype);
126
+ _this.Message = opts.Message;
127
+ return _this;
128
+ }
129
+ return TokenAlreadyExistsException;
130
+ }(__BaseException));
131
+ export { TokenAlreadyExistsException };
66
132
  export var Capability;
67
133
  (function (Capability) {
68
134
  Capability["CAPABILITY_AUTO_EXPAND"] = "CAPABILITY_AUTO_EXPAND";
@@ -173,6 +239,19 @@ export var ChangeSetHooksStatus;
173
239
  ChangeSetHooksStatus["PLANNING"] = "PLANNING";
174
240
  ChangeSetHooksStatus["UNAVAILABLE"] = "UNAVAILABLE";
175
241
  })(ChangeSetHooksStatus || (ChangeSetHooksStatus = {}));
242
+ var ChangeSetNotFoundException = (function (_super) {
243
+ __extends(ChangeSetNotFoundException, _super);
244
+ function ChangeSetNotFoundException(opts) {
245
+ var _this = _super.call(this, __assign({ name: "ChangeSetNotFoundException", $fault: "client" }, opts)) || this;
246
+ _this.name = "ChangeSetNotFoundException";
247
+ _this.$fault = "client";
248
+ Object.setPrototypeOf(_this, ChangeSetNotFoundException.prototype);
249
+ _this.Message = opts.Message;
250
+ return _this;
251
+ }
252
+ return ChangeSetNotFoundException;
253
+ }(__BaseException));
254
+ export { ChangeSetNotFoundException };
176
255
  export var ChangeSetStatus;
177
256
  (function (ChangeSetStatus) {
178
257
  ChangeSetStatus["CREATE_COMPLETE"] = "CREATE_COMPLETE";
@@ -239,6 +318,32 @@ export var CreateChangeSetOutput;
239
318
  (function (CreateChangeSetOutput) {
240
319
  CreateChangeSetOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
241
320
  })(CreateChangeSetOutput || (CreateChangeSetOutput = {}));
321
+ var InsufficientCapabilitiesException = (function (_super) {
322
+ __extends(InsufficientCapabilitiesException, _super);
323
+ function InsufficientCapabilitiesException(opts) {
324
+ var _this = _super.call(this, __assign({ name: "InsufficientCapabilitiesException", $fault: "client" }, opts)) || this;
325
+ _this.name = "InsufficientCapabilitiesException";
326
+ _this.$fault = "client";
327
+ Object.setPrototypeOf(_this, InsufficientCapabilitiesException.prototype);
328
+ _this.Message = opts.Message;
329
+ return _this;
330
+ }
331
+ return InsufficientCapabilitiesException;
332
+ }(__BaseException));
333
+ export { InsufficientCapabilitiesException };
334
+ var LimitExceededException = (function (_super) {
335
+ __extends(LimitExceededException, _super);
336
+ function LimitExceededException(opts) {
337
+ var _this = _super.call(this, __assign({ name: "LimitExceededException", $fault: "client" }, opts)) || this;
338
+ _this.name = "LimitExceededException";
339
+ _this.$fault = "client";
340
+ Object.setPrototypeOf(_this, LimitExceededException.prototype);
341
+ _this.Message = opts.Message;
342
+ return _this;
343
+ }
344
+ return LimitExceededException;
345
+ }(__BaseException));
346
+ export { LimitExceededException };
242
347
  export var OnFailure;
243
348
  (function (OnFailure) {
244
349
  OnFailure["DELETE"] = "DELETE";
@@ -274,6 +379,84 @@ export var CreateStackInstancesOutput;
274
379
  (function (CreateStackInstancesOutput) {
275
380
  CreateStackInstancesOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
276
381
  })(CreateStackInstancesOutput || (CreateStackInstancesOutput = {}));
382
+ var InvalidOperationException = (function (_super) {
383
+ __extends(InvalidOperationException, _super);
384
+ function InvalidOperationException(opts) {
385
+ var _this = _super.call(this, __assign({ name: "InvalidOperationException", $fault: "client" }, opts)) || this;
386
+ _this.name = "InvalidOperationException";
387
+ _this.$fault = "client";
388
+ Object.setPrototypeOf(_this, InvalidOperationException.prototype);
389
+ _this.Message = opts.Message;
390
+ return _this;
391
+ }
392
+ return InvalidOperationException;
393
+ }(__BaseException));
394
+ export { InvalidOperationException };
395
+ var OperationIdAlreadyExistsException = (function (_super) {
396
+ __extends(OperationIdAlreadyExistsException, _super);
397
+ function OperationIdAlreadyExistsException(opts) {
398
+ var _this = _super.call(this, __assign({ name: "OperationIdAlreadyExistsException", $fault: "client" }, opts)) || this;
399
+ _this.name = "OperationIdAlreadyExistsException";
400
+ _this.$fault = "client";
401
+ Object.setPrototypeOf(_this, OperationIdAlreadyExistsException.prototype);
402
+ _this.Message = opts.Message;
403
+ return _this;
404
+ }
405
+ return OperationIdAlreadyExistsException;
406
+ }(__BaseException));
407
+ export { OperationIdAlreadyExistsException };
408
+ var OperationInProgressException = (function (_super) {
409
+ __extends(OperationInProgressException, _super);
410
+ function OperationInProgressException(opts) {
411
+ var _this = _super.call(this, __assign({ name: "OperationInProgressException", $fault: "client" }, opts)) || this;
412
+ _this.name = "OperationInProgressException";
413
+ _this.$fault = "client";
414
+ Object.setPrototypeOf(_this, OperationInProgressException.prototype);
415
+ _this.Message = opts.Message;
416
+ return _this;
417
+ }
418
+ return OperationInProgressException;
419
+ }(__BaseException));
420
+ export { OperationInProgressException };
421
+ var StackSetNotFoundException = (function (_super) {
422
+ __extends(StackSetNotFoundException, _super);
423
+ function StackSetNotFoundException(opts) {
424
+ var _this = _super.call(this, __assign({ name: "StackSetNotFoundException", $fault: "client" }, opts)) || this;
425
+ _this.name = "StackSetNotFoundException";
426
+ _this.$fault = "client";
427
+ Object.setPrototypeOf(_this, StackSetNotFoundException.prototype);
428
+ _this.Message = opts.Message;
429
+ return _this;
430
+ }
431
+ return StackSetNotFoundException;
432
+ }(__BaseException));
433
+ export { StackSetNotFoundException };
434
+ var StaleRequestException = (function (_super) {
435
+ __extends(StaleRequestException, _super);
436
+ function StaleRequestException(opts) {
437
+ var _this = _super.call(this, __assign({ name: "StaleRequestException", $fault: "client" }, opts)) || this;
438
+ _this.name = "StaleRequestException";
439
+ _this.$fault = "client";
440
+ Object.setPrototypeOf(_this, StaleRequestException.prototype);
441
+ _this.Message = opts.Message;
442
+ return _this;
443
+ }
444
+ return StaleRequestException;
445
+ }(__BaseException));
446
+ export { StaleRequestException };
447
+ var CreatedButModifiedException = (function (_super) {
448
+ __extends(CreatedButModifiedException, _super);
449
+ function CreatedButModifiedException(opts) {
450
+ var _this = _super.call(this, __assign({ name: "CreatedButModifiedException", $fault: "client" }, opts)) || this;
451
+ _this.name = "CreatedButModifiedException";
452
+ _this.$fault = "client";
453
+ Object.setPrototypeOf(_this, CreatedButModifiedException.prototype);
454
+ _this.Message = opts.Message;
455
+ return _this;
456
+ }
457
+ return CreatedButModifiedException;
458
+ }(__BaseException));
459
+ export { CreatedButModifiedException };
277
460
  export var ManagedExecution;
278
461
  (function (ManagedExecution) {
279
462
  ManagedExecution.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -286,6 +469,19 @@ export var CreateStackSetOutput;
286
469
  (function (CreateStackSetOutput) {
287
470
  CreateStackSetOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
288
471
  })(CreateStackSetOutput || (CreateStackSetOutput = {}));
472
+ var NameAlreadyExistsException = (function (_super) {
473
+ __extends(NameAlreadyExistsException, _super);
474
+ function NameAlreadyExistsException(opts) {
475
+ var _this = _super.call(this, __assign({ name: "NameAlreadyExistsException", $fault: "client" }, opts)) || this;
476
+ _this.name = "NameAlreadyExistsException";
477
+ _this.$fault = "client";
478
+ Object.setPrototypeOf(_this, NameAlreadyExistsException.prototype);
479
+ _this.Message = opts.Message;
480
+ return _this;
481
+ }
482
+ return NameAlreadyExistsException;
483
+ }(__BaseException));
484
+ export { NameAlreadyExistsException };
289
485
  export var DeactivateTypeInput;
290
486
  (function (DeactivateTypeInput) {
291
487
  DeactivateTypeInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -302,6 +498,19 @@ export var DeleteChangeSetOutput;
302
498
  (function (DeleteChangeSetOutput) {
303
499
  DeleteChangeSetOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
304
500
  })(DeleteChangeSetOutput || (DeleteChangeSetOutput = {}));
501
+ var InvalidChangeSetStatusException = (function (_super) {
502
+ __extends(InvalidChangeSetStatusException, _super);
503
+ function InvalidChangeSetStatusException(opts) {
504
+ var _this = _super.call(this, __assign({ name: "InvalidChangeSetStatusException", $fault: "client" }, opts)) || this;
505
+ _this.name = "InvalidChangeSetStatusException";
506
+ _this.$fault = "client";
507
+ Object.setPrototypeOf(_this, InvalidChangeSetStatusException.prototype);
508
+ _this.Message = opts.Message;
509
+ return _this;
510
+ }
511
+ return InvalidChangeSetStatusException;
512
+ }(__BaseException));
513
+ export { InvalidChangeSetStatusException };
305
514
  export var DeleteStackInput;
306
515
  (function (DeleteStackInput) {
307
516
  DeleteStackInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -322,6 +531,19 @@ export var DeleteStackSetOutput;
322
531
  (function (DeleteStackSetOutput) {
323
532
  DeleteStackSetOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
324
533
  })(DeleteStackSetOutput || (DeleteStackSetOutput = {}));
534
+ var StackSetNotEmptyException = (function (_super) {
535
+ __extends(StackSetNotEmptyException, _super);
536
+ function StackSetNotEmptyException(opts) {
537
+ var _this = _super.call(this, __assign({ name: "StackSetNotEmptyException", $fault: "client" }, opts)) || this;
538
+ _this.name = "StackSetNotEmptyException";
539
+ _this.$fault = "client";
540
+ Object.setPrototypeOf(_this, StackSetNotEmptyException.prototype);
541
+ _this.Message = opts.Message;
542
+ return _this;
543
+ }
544
+ return StackSetNotEmptyException;
545
+ }(__BaseException));
546
+ export { StackSetNotEmptyException };
325
547
  export var DeregisterTypeInput;
326
548
  (function (DeregisterTypeInput) {
327
549
  DeregisterTypeInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -454,6 +676,19 @@ export var DescribeStackInstanceOutput;
454
676
  (function (DescribeStackInstanceOutput) {
455
677
  DescribeStackInstanceOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
456
678
  })(DescribeStackInstanceOutput || (DescribeStackInstanceOutput = {}));
679
+ var StackInstanceNotFoundException = (function (_super) {
680
+ __extends(StackInstanceNotFoundException, _super);
681
+ function StackInstanceNotFoundException(opts) {
682
+ var _this = _super.call(this, __assign({ name: "StackInstanceNotFoundException", $fault: "client" }, opts)) || this;
683
+ _this.name = "StackInstanceNotFoundException";
684
+ _this.$fault = "client";
685
+ Object.setPrototypeOf(_this, StackInstanceNotFoundException.prototype);
686
+ _this.Message = opts.Message;
687
+ return _this;
688
+ }
689
+ return StackInstanceNotFoundException;
690
+ }(__BaseException));
691
+ export { StackInstanceNotFoundException };
457
692
  export var DescribeStackResourceInput;
458
693
  (function (DescribeStackResourceInput) {
459
694
  DescribeStackResourceInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -603,6 +838,19 @@ export var DescribeStackSetOperationOutput;
603
838
  (function (DescribeStackSetOperationOutput) {
604
839
  DescribeStackSetOperationOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
605
840
  })(DescribeStackSetOperationOutput || (DescribeStackSetOperationOutput = {}));
841
+ var OperationNotFoundException = (function (_super) {
842
+ __extends(OperationNotFoundException, _super);
843
+ function OperationNotFoundException(opts) {
844
+ var _this = _super.call(this, __assign({ name: "OperationNotFoundException", $fault: "client" }, opts)) || this;
845
+ _this.name = "OperationNotFoundException";
846
+ _this.$fault = "client";
847
+ Object.setPrototypeOf(_this, OperationNotFoundException.prototype);
848
+ _this.Message = opts.Message;
849
+ return _this;
850
+ }
851
+ return OperationNotFoundException;
852
+ }(__BaseException));
853
+ export { OperationNotFoundException };
606
854
  export var DescribeTypeInput;
607
855
  (function (DescribeTypeInput) {
608
856
  DescribeTypeInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -719,6 +967,19 @@ export var ImportStacksToStackSetOutput;
719
967
  (function (ImportStacksToStackSetOutput) {
720
968
  ImportStacksToStackSetOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
721
969
  })(ImportStacksToStackSetOutput || (ImportStacksToStackSetOutput = {}));
970
+ var StackNotFoundException = (function (_super) {
971
+ __extends(StackNotFoundException, _super);
972
+ function StackNotFoundException(opts) {
973
+ var _this = _super.call(this, __assign({ name: "StackNotFoundException", $fault: "client" }, opts)) || this;
974
+ _this.name = "StackNotFoundException";
975
+ _this.$fault = "client";
976
+ Object.setPrototypeOf(_this, StackNotFoundException.prototype);
977
+ _this.Message = opts.Message;
978
+ return _this;
979
+ }
980
+ return StackNotFoundException;
981
+ }(__BaseException));
982
+ export { StackNotFoundException };
722
983
  export var ListChangeSetsInput;
723
984
  (function (ListChangeSetsInput) {
724
985
  ListChangeSetsInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -875,6 +1136,32 @@ export var PublishTypeOutput;
875
1136
  (function (PublishTypeOutput) {
876
1137
  PublishTypeOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
877
1138
  })(PublishTypeOutput || (PublishTypeOutput = {}));
1139
+ var InvalidStateTransitionException = (function (_super) {
1140
+ __extends(InvalidStateTransitionException, _super);
1141
+ function InvalidStateTransitionException(opts) {
1142
+ var _this = _super.call(this, __assign({ name: "InvalidStateTransitionException", $fault: "client" }, opts)) || this;
1143
+ _this.name = "InvalidStateTransitionException";
1144
+ _this.$fault = "client";
1145
+ Object.setPrototypeOf(_this, InvalidStateTransitionException.prototype);
1146
+ _this.Message = opts.Message;
1147
+ return _this;
1148
+ }
1149
+ return InvalidStateTransitionException;
1150
+ }(__BaseException));
1151
+ export { InvalidStateTransitionException };
1152
+ var OperationStatusCheckFailedException = (function (_super) {
1153
+ __extends(OperationStatusCheckFailedException, _super);
1154
+ function OperationStatusCheckFailedException(opts) {
1155
+ var _this = _super.call(this, __assign({ name: "OperationStatusCheckFailedException", $fault: "client" }, opts)) || this;
1156
+ _this.name = "OperationStatusCheckFailedException";
1157
+ _this.$fault = "client";
1158
+ Object.setPrototypeOf(_this, OperationStatusCheckFailedException.prototype);
1159
+ _this.Message = opts.Message;
1160
+ return _this;
1161
+ }
1162
+ return OperationStatusCheckFailedException;
1163
+ }(__BaseException));
1164
+ export { OperationStatusCheckFailedException };
878
1165
  export var OperationStatus;
879
1166
  (function (OperationStatus) {
880
1167
  OperationStatus["FAILED"] = "FAILED";