@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/CHANGELOG.md CHANGED
@@ -3,6 +3,17 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.53.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.52.0...v3.53.0) (2022-02-24)
7
+
8
+
9
+ ### Features
10
+
11
+ * **clients:** generate service exceptions as classes ([#3267](https://github.com/aws/aws-sdk-js-v3/issues/3267)) ([ca64fee](https://github.com/aws/aws-sdk-js-v3/commit/ca64feed3351c394c07dc26b782a5760a396a074))
12
+
13
+
14
+
15
+
16
+
6
17
  # [3.52.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.51.0...v3.52.0) (2022-02-18)
7
18
 
8
19
 
package/dist-cjs/index.js CHANGED
@@ -1,5 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CloudFormationServiceException = void 0;
3
4
  const tslib_1 = require("tslib");
4
5
  tslib_1.__exportStar(require("./CloudFormation"), exports);
5
6
  tslib_1.__exportStar(require("./CloudFormationClient"), exports);
@@ -7,3 +8,5 @@ tslib_1.__exportStar(require("./commands"), exports);
7
8
  tslib_1.__exportStar(require("./models"), exports);
8
9
  tslib_1.__exportStar(require("./pagination"), exports);
9
10
  tslib_1.__exportStar(require("./waiters"), exports);
11
+ var CloudFormationServiceException_1 = require("./models/CloudFormationServiceException");
12
+ Object.defineProperty(exports, "CloudFormationServiceException", { enumerable: true, get: function () { return CloudFormationServiceException_1.CloudFormationServiceException; } });
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CloudFormationServiceException = void 0;
4
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
5
+ class CloudFormationServiceException extends smithy_client_1.ServiceException {
6
+ constructor(options) {
7
+ super(options);
8
+ Object.setPrototypeOf(this, CloudFormationServiceException.prototype);
9
+ }
10
+ }
11
+ exports.CloudFormationServiceException = CloudFormationServiceException;
@@ -1,10 +1,11 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.OnFailure = exports.CreateChangeSetOutput = exports.CreateChangeSetInput = exports.Tag = exports.RollbackConfiguration = exports.RollbackTrigger = exports.ResourceToImport = exports.Parameter = exports.ContinueUpdateRollbackOutput = exports.ContinueUpdateRollbackInput = exports.ChangeSetType = exports.ChangeSetSummary = exports.ExecutionStatus = exports.ChangeSetStatus = exports.ChangeSetHooksStatus = exports.ChangeSetHook = exports.ChangeSetHookTargetDetails = exports.HookTargetType = exports.ChangeSetHookResourceTargetDetails = exports.HookInvocationPoint = exports.HookFailureMode = exports.Change = exports.ChangeType = exports.ResourceChange = exports.Replacement = exports.ModuleInfo = exports.ResourceChangeDetail = exports.ResourceTargetDefinition = exports.RequiresRecreation = exports.ResourceAttribute = exports.EvaluationType = exports.ChangeSource = exports.ChangeAction = exports.Category = exports.Capability = exports.CancelUpdateStackInput = exports.CallAs = exports.BatchDescribeTypeConfigurationsOutput = exports.TypeConfigurationDetails = exports.BatchDescribeTypeConfigurationsError = exports.BatchDescribeTypeConfigurationsInput = exports.TypeConfigurationIdentifier = exports.AutoDeployment = exports.ActivateTypeOutput = exports.ActivateTypeInput = exports.VersionBump = exports.ThirdPartyType = exports.LoggingConfig = exports.AccountLimit = exports.AccountGateResult = void 0;
4
- exports.DescribeStackResourceDriftsInput = exports.DescribeStackResourceOutput = exports.StackResourceDetail = exports.StackResourceDriftInformation = exports.StackResourceDriftStatus = exports.DescribeStackResourceInput = exports.DescribeStackInstanceOutput = exports.StackInstance = exports.StackInstanceComprehensiveStatus = exports.DescribeStackInstanceInput = exports.DescribeStackEventsOutput = exports.StackEvent = exports.ResourceStatus = exports.HookStatus = exports.DescribeStackEventsInput = exports.DescribeStackDriftDetectionStatusOutput = exports.StackDriftStatus = exports.StackDriftDetectionStatus = exports.DescribeStackDriftDetectionStatusInput = exports.DescribePublisherOutput = exports.PublisherStatus = exports.IdentityProvider = exports.DescribePublisherInput = exports.DescribeChangeSetHooksOutput = exports.DescribeChangeSetHooksInput = exports.DescribeChangeSetOutput = exports.DescribeChangeSetInput = exports.DescribeAccountLimitsOutput = exports.DescribeAccountLimitsInput = exports.DeregisterTypeOutput = exports.DeregisterTypeInput = exports.DeleteStackSetOutput = exports.DeleteStackSetInput = exports.DeleteStackInstancesOutput = exports.DeleteStackInstancesInput = exports.DeleteStackInput = exports.DeleteChangeSetOutput = exports.DeleteChangeSetInput = exports.DeactivateTypeOutput = exports.DeactivateTypeInput = exports.CreateStackSetOutput = exports.CreateStackSetInput = exports.ManagedExecution = exports.CreateStackInstancesOutput = exports.CreateStackInstancesInput = exports.StackSetOperationPreferences = exports.RegionConcurrencyType = exports.DeploymentTargets = exports.CreateStackOutput = exports.CreateStackInput = void 0;
5
- exports.ImportStacksToStackSetInput = exports.GetTemplateSummaryOutput = exports.ResourceIdentifierSummary = exports.ParameterDeclaration = exports.ParameterConstraints = exports.GetTemplateSummaryInput = exports.GetTemplateOutput = exports.GetTemplateInput = exports.TemplateStage = exports.GetStackPolicyOutput = exports.GetStackPolicyInput = exports.ExecuteChangeSetOutput = exports.ExecuteChangeSetInput = exports.EstimateTemplateCostOutput = exports.EstimateTemplateCostInput = exports.DetectStackSetDriftOutput = exports.DetectStackSetDriftInput = exports.DetectStackResourceDriftOutput = exports.DetectStackResourceDriftInput = exports.DetectStackDriftOutput = exports.DetectStackDriftInput = exports.DescribeTypeRegistrationOutput = exports.DescribeTypeRegistrationInput = exports.DescribeTypeOutput = exports.TypeTestsStatus = exports.RequiredActivatedType = exports.DescribeTypeInput = exports.DescribeStackSetOperationOutput = exports.StackSetOperation = exports.DescribeStackSetOperationInput = exports.DescribeStackSetOutput = exports.StackSet = exports.StackSetDriftDetectionDetails = exports.StackSetDriftStatus = exports.StackSetDriftDetectionStatus = exports.DescribeStackSetInput = exports.DescribeStacksOutput = exports.Stack = exports.StackStatus = exports.Output = exports.StackDriftInformation = exports.DescribeStacksInput = exports.DescribeStackResourcesOutput = exports.StackResource = exports.DescribeStackResourcesInput = exports.DescribeStackResourceDriftsOutput = exports.StackResourceDrift = exports.PropertyDifference = exports.DifferenceType = exports.PhysicalResourceIdContextKeyValuePair = void 0;
6
- exports.RollbackStackOutput = exports.RollbackStackInput = exports.RegisterTypeOutput = exports.RegisterTypeInput = exports.RegisterPublisherOutput = exports.RegisterPublisherInput = exports.RecordHandlerProgressOutput = exports.RecordHandlerProgressInput = exports.HandlerErrorCode = exports.OperationStatus = exports.PublishTypeOutput = exports.PublishTypeInput = exports.ListTypeVersionsOutput = exports.TypeVersionSummary = exports.ListTypeVersionsInput = exports.ListTypesOutput = exports.TypeSummary = exports.ListTypesInput = exports.TypeFilters = exports.ListTypeRegistrationsOutput = exports.ListTypeRegistrationsInput = exports.ListStackSetsOutput = exports.StackSetSummary = exports.ListStackSetsInput = exports.ListStackSetOperationsOutput = exports.StackSetOperationSummary = exports.ListStackSetOperationsInput = exports.ListStackSetOperationResultsOutput = exports.StackSetOperationResultSummary = exports.ListStackSetOperationResultsInput = exports.ListStacksOutput = exports.StackSummary = exports.StackDriftInformationSummary = exports.ListStacksInput = exports.ListStackResourcesOutput = exports.StackResourceSummary = exports.StackResourceDriftInformationSummary = exports.ListStackResourcesInput = exports.ListStackInstancesOutput = exports.StackInstanceSummary = exports.ListStackInstancesInput = exports.StackInstanceFilter = exports.ListImportsOutput = exports.ListImportsInput = exports.ListExportsOutput = exports.Export = exports.ListExportsInput = exports.ListChangeSetsOutput = exports.ListChangeSetsInput = exports.ImportStacksToStackSetOutput = void 0;
7
- exports.ValidateTemplateOutput = exports.TemplateParameter = exports.ValidateTemplateInput = exports.UpdateTerminationProtectionOutput = exports.UpdateTerminationProtectionInput = exports.UpdateStackSetOutput = exports.UpdateStackSetInput = exports.UpdateStackInstancesOutput = exports.UpdateStackInstancesInput = exports.UpdateStackOutput = exports.UpdateStackInput = exports.TestTypeOutput = exports.TestTypeInput = exports.StopStackSetOperationOutput = exports.StopStackSetOperationInput = exports.SignalResourceInput = exports.ResourceSignalStatus = exports.SetTypeDefaultVersionOutput = exports.SetTypeDefaultVersionInput = exports.SetTypeConfigurationOutput = exports.SetTypeConfigurationInput = exports.SetStackPolicyInput = void 0;
3
+ exports.ResourceToImport = exports.Parameter = exports.ContinueUpdateRollbackOutput = exports.ContinueUpdateRollbackInput = exports.ChangeSetType = exports.ChangeSetSummary = exports.ExecutionStatus = exports.ChangeSetStatus = exports.ChangeSetNotFoundException = exports.ChangeSetHooksStatus = exports.ChangeSetHook = exports.ChangeSetHookTargetDetails = exports.HookTargetType = exports.ChangeSetHookResourceTargetDetails = exports.HookInvocationPoint = exports.HookFailureMode = exports.Change = exports.ChangeType = exports.ResourceChange = exports.Replacement = exports.ModuleInfo = exports.ResourceChangeDetail = exports.ResourceTargetDefinition = exports.RequiresRecreation = exports.ResourceAttribute = exports.EvaluationType = exports.ChangeSource = exports.ChangeAction = exports.Category = exports.Capability = exports.TokenAlreadyExistsException = exports.CancelUpdateStackInput = exports.CallAs = exports.TypeConfigurationNotFoundException = exports.BatchDescribeTypeConfigurationsOutput = exports.TypeConfigurationDetails = exports.BatchDescribeTypeConfigurationsError = exports.BatchDescribeTypeConfigurationsInput = exports.TypeConfigurationIdentifier = exports.AutoDeployment = exports.AlreadyExistsException = exports.TypeNotFoundException = exports.CFNRegistryException = exports.ActivateTypeOutput = exports.ActivateTypeInput = exports.VersionBump = exports.ThirdPartyType = exports.LoggingConfig = exports.AccountLimit = exports.AccountGateResult = void 0;
4
+ exports.StackDriftDetectionStatus = exports.DescribeStackDriftDetectionStatusInput = exports.DescribePublisherOutput = exports.PublisherStatus = exports.IdentityProvider = exports.DescribePublisherInput = exports.DescribeChangeSetHooksOutput = exports.DescribeChangeSetHooksInput = exports.DescribeChangeSetOutput = exports.DescribeChangeSetInput = exports.DescribeAccountLimitsOutput = exports.DescribeAccountLimitsInput = exports.DeregisterTypeOutput = exports.DeregisterTypeInput = exports.StackSetNotEmptyException = exports.DeleteStackSetOutput = exports.DeleteStackSetInput = exports.DeleteStackInstancesOutput = exports.DeleteStackInstancesInput = exports.DeleteStackInput = exports.InvalidChangeSetStatusException = exports.DeleteChangeSetOutput = exports.DeleteChangeSetInput = exports.DeactivateTypeOutput = exports.DeactivateTypeInput = exports.NameAlreadyExistsException = exports.CreateStackSetOutput = exports.CreateStackSetInput = exports.ManagedExecution = exports.CreatedButModifiedException = exports.StaleRequestException = exports.StackSetNotFoundException = exports.OperationInProgressException = exports.OperationIdAlreadyExistsException = exports.InvalidOperationException = exports.CreateStackInstancesOutput = exports.CreateStackInstancesInput = exports.StackSetOperationPreferences = exports.RegionConcurrencyType = exports.DeploymentTargets = exports.CreateStackOutput = exports.CreateStackInput = exports.OnFailure = exports.LimitExceededException = exports.InsufficientCapabilitiesException = exports.CreateChangeSetOutput = exports.CreateChangeSetInput = exports.Tag = exports.RollbackConfiguration = exports.RollbackTrigger = void 0;
5
+ exports.DetectStackDriftOutput = exports.DetectStackDriftInput = exports.DescribeTypeRegistrationOutput = exports.DescribeTypeRegistrationInput = exports.DescribeTypeOutput = exports.TypeTestsStatus = exports.RequiredActivatedType = exports.DescribeTypeInput = exports.OperationNotFoundException = exports.DescribeStackSetOperationOutput = exports.StackSetOperation = exports.DescribeStackSetOperationInput = exports.DescribeStackSetOutput = exports.StackSet = exports.StackSetDriftDetectionDetails = exports.StackSetDriftStatus = exports.StackSetDriftDetectionStatus = exports.DescribeStackSetInput = exports.DescribeStacksOutput = exports.Stack = exports.StackStatus = exports.Output = exports.StackDriftInformation = exports.DescribeStacksInput = exports.DescribeStackResourcesOutput = exports.StackResource = exports.DescribeStackResourcesInput = exports.DescribeStackResourceDriftsOutput = exports.StackResourceDrift = exports.PropertyDifference = exports.DifferenceType = exports.PhysicalResourceIdContextKeyValuePair = exports.DescribeStackResourceDriftsInput = exports.DescribeStackResourceOutput = exports.StackResourceDetail = exports.StackResourceDriftInformation = exports.StackResourceDriftStatus = exports.DescribeStackResourceInput = exports.StackInstanceNotFoundException = exports.DescribeStackInstanceOutput = exports.StackInstance = exports.StackInstanceComprehensiveStatus = exports.DescribeStackInstanceInput = exports.DescribeStackEventsOutput = exports.StackEvent = exports.ResourceStatus = exports.HookStatus = exports.DescribeStackEventsInput = exports.DescribeStackDriftDetectionStatusOutput = exports.StackDriftStatus = void 0;
6
+ exports.ListTypeRegistrationsInput = exports.ListStackSetsOutput = exports.StackSetSummary = exports.ListStackSetsInput = exports.ListStackSetOperationsOutput = exports.StackSetOperationSummary = exports.ListStackSetOperationsInput = exports.ListStackSetOperationResultsOutput = exports.StackSetOperationResultSummary = exports.ListStackSetOperationResultsInput = exports.ListStacksOutput = exports.StackSummary = exports.StackDriftInformationSummary = exports.ListStacksInput = exports.ListStackResourcesOutput = exports.StackResourceSummary = exports.StackResourceDriftInformationSummary = exports.ListStackResourcesInput = exports.ListStackInstancesOutput = exports.StackInstanceSummary = exports.ListStackInstancesInput = exports.StackInstanceFilter = exports.ListImportsOutput = exports.ListImportsInput = exports.ListExportsOutput = exports.Export = exports.ListExportsInput = exports.ListChangeSetsOutput = exports.ListChangeSetsInput = exports.StackNotFoundException = exports.ImportStacksToStackSetOutput = exports.ImportStacksToStackSetInput = exports.GetTemplateSummaryOutput = exports.ResourceIdentifierSummary = exports.ParameterDeclaration = exports.ParameterConstraints = exports.GetTemplateSummaryInput = exports.GetTemplateOutput = exports.GetTemplateInput = exports.TemplateStage = exports.GetStackPolicyOutput = exports.GetStackPolicyInput = exports.ExecuteChangeSetOutput = exports.ExecuteChangeSetInput = exports.EstimateTemplateCostOutput = exports.EstimateTemplateCostInput = exports.DetectStackSetDriftOutput = exports.DetectStackSetDriftInput = exports.DetectStackResourceDriftOutput = exports.DetectStackResourceDriftInput = void 0;
7
+ exports.ValidateTemplateOutput = exports.TemplateParameter = exports.ValidateTemplateInput = exports.UpdateTerminationProtectionOutput = exports.UpdateTerminationProtectionInput = exports.UpdateStackSetOutput = exports.UpdateStackSetInput = exports.UpdateStackInstancesOutput = exports.UpdateStackInstancesInput = exports.UpdateStackOutput = exports.UpdateStackInput = exports.TestTypeOutput = exports.TestTypeInput = exports.StopStackSetOperationOutput = exports.StopStackSetOperationInput = exports.SignalResourceInput = exports.ResourceSignalStatus = exports.SetTypeDefaultVersionOutput = exports.SetTypeDefaultVersionInput = exports.SetTypeConfigurationOutput = exports.SetTypeConfigurationInput = exports.SetStackPolicyInput = exports.RollbackStackOutput = exports.RollbackStackInput = exports.RegisterTypeOutput = exports.RegisterTypeInput = exports.RegisterPublisherOutput = exports.RegisterPublisherInput = exports.RecordHandlerProgressOutput = exports.RecordHandlerProgressInput = exports.HandlerErrorCode = exports.OperationStatus = exports.OperationStatusCheckFailedException = exports.InvalidStateTransitionException = exports.PublishTypeOutput = exports.PublishTypeInput = exports.ListTypeVersionsOutput = exports.TypeVersionSummary = exports.ListTypeVersionsInput = exports.ListTypesOutput = exports.TypeSummary = exports.ListTypesInput = exports.TypeFilters = exports.ListTypeRegistrationsOutput = void 0;
8
+ const CloudFormationServiceException_1 = require("./CloudFormationServiceException");
8
9
  var AccountGateResult;
9
10
  (function (AccountGateResult) {
10
11
  AccountGateResult.filterSensitiveLog = (obj) => ({
@@ -46,6 +47,48 @@ var ActivateTypeOutput;
46
47
  ...obj,
47
48
  });
48
49
  })(ActivateTypeOutput = exports.ActivateTypeOutput || (exports.ActivateTypeOutput = {}));
50
+ class CFNRegistryException extends CloudFormationServiceException_1.CloudFormationServiceException {
51
+ constructor(opts) {
52
+ super({
53
+ name: "CFNRegistryException",
54
+ $fault: "client",
55
+ ...opts,
56
+ });
57
+ this.name = "CFNRegistryException";
58
+ this.$fault = "client";
59
+ Object.setPrototypeOf(this, CFNRegistryException.prototype);
60
+ this.Message = opts.Message;
61
+ }
62
+ }
63
+ exports.CFNRegistryException = CFNRegistryException;
64
+ class TypeNotFoundException extends CloudFormationServiceException_1.CloudFormationServiceException {
65
+ constructor(opts) {
66
+ super({
67
+ name: "TypeNotFoundException",
68
+ $fault: "client",
69
+ ...opts,
70
+ });
71
+ this.name = "TypeNotFoundException";
72
+ this.$fault = "client";
73
+ Object.setPrototypeOf(this, TypeNotFoundException.prototype);
74
+ this.Message = opts.Message;
75
+ }
76
+ }
77
+ exports.TypeNotFoundException = TypeNotFoundException;
78
+ class AlreadyExistsException extends CloudFormationServiceException_1.CloudFormationServiceException {
79
+ constructor(opts) {
80
+ super({
81
+ name: "AlreadyExistsException",
82
+ $fault: "client",
83
+ ...opts,
84
+ });
85
+ this.name = "AlreadyExistsException";
86
+ this.$fault = "client";
87
+ Object.setPrototypeOf(this, AlreadyExistsException.prototype);
88
+ this.Message = opts.Message;
89
+ }
90
+ }
91
+ exports.AlreadyExistsException = AlreadyExistsException;
49
92
  var AutoDeployment;
50
93
  (function (AutoDeployment) {
51
94
  AutoDeployment.filterSensitiveLog = (obj) => ({
@@ -82,6 +125,20 @@ var BatchDescribeTypeConfigurationsOutput;
82
125
  ...obj,
83
126
  });
84
127
  })(BatchDescribeTypeConfigurationsOutput = exports.BatchDescribeTypeConfigurationsOutput || (exports.BatchDescribeTypeConfigurationsOutput = {}));
128
+ class TypeConfigurationNotFoundException extends CloudFormationServiceException_1.CloudFormationServiceException {
129
+ constructor(opts) {
130
+ super({
131
+ name: "TypeConfigurationNotFoundException",
132
+ $fault: "client",
133
+ ...opts,
134
+ });
135
+ this.name = "TypeConfigurationNotFoundException";
136
+ this.$fault = "client";
137
+ Object.setPrototypeOf(this, TypeConfigurationNotFoundException.prototype);
138
+ this.Message = opts.Message;
139
+ }
140
+ }
141
+ exports.TypeConfigurationNotFoundException = TypeConfigurationNotFoundException;
85
142
  var CallAs;
86
143
  (function (CallAs) {
87
144
  CallAs["DELEGATED_ADMIN"] = "DELEGATED_ADMIN";
@@ -93,6 +150,20 @@ var CancelUpdateStackInput;
93
150
  ...obj,
94
151
  });
95
152
  })(CancelUpdateStackInput = exports.CancelUpdateStackInput || (exports.CancelUpdateStackInput = {}));
153
+ class TokenAlreadyExistsException extends CloudFormationServiceException_1.CloudFormationServiceException {
154
+ constructor(opts) {
155
+ super({
156
+ name: "TokenAlreadyExistsException",
157
+ $fault: "client",
158
+ ...opts,
159
+ });
160
+ this.name = "TokenAlreadyExistsException";
161
+ this.$fault = "client";
162
+ Object.setPrototypeOf(this, TokenAlreadyExistsException.prototype);
163
+ this.Message = opts.Message;
164
+ }
165
+ }
166
+ exports.TokenAlreadyExistsException = TokenAlreadyExistsException;
96
167
  var Capability;
97
168
  (function (Capability) {
98
169
  Capability["CAPABILITY_AUTO_EXPAND"] = "CAPABILITY_AUTO_EXPAND";
@@ -219,6 +290,20 @@ var ChangeSetHooksStatus;
219
290
  ChangeSetHooksStatus["PLANNING"] = "PLANNING";
220
291
  ChangeSetHooksStatus["UNAVAILABLE"] = "UNAVAILABLE";
221
292
  })(ChangeSetHooksStatus = exports.ChangeSetHooksStatus || (exports.ChangeSetHooksStatus = {}));
293
+ class ChangeSetNotFoundException extends CloudFormationServiceException_1.CloudFormationServiceException {
294
+ constructor(opts) {
295
+ super({
296
+ name: "ChangeSetNotFoundException",
297
+ $fault: "client",
298
+ ...opts,
299
+ });
300
+ this.name = "ChangeSetNotFoundException";
301
+ this.$fault = "client";
302
+ Object.setPrototypeOf(this, ChangeSetNotFoundException.prototype);
303
+ this.Message = opts.Message;
304
+ }
305
+ }
306
+ exports.ChangeSetNotFoundException = ChangeSetNotFoundException;
222
307
  var ChangeSetStatus;
223
308
  (function (ChangeSetStatus) {
224
309
  ChangeSetStatus["CREATE_COMPLETE"] = "CREATE_COMPLETE";
@@ -305,6 +390,34 @@ var CreateChangeSetOutput;
305
390
  ...obj,
306
391
  });
307
392
  })(CreateChangeSetOutput = exports.CreateChangeSetOutput || (exports.CreateChangeSetOutput = {}));
393
+ class InsufficientCapabilitiesException extends CloudFormationServiceException_1.CloudFormationServiceException {
394
+ constructor(opts) {
395
+ super({
396
+ name: "InsufficientCapabilitiesException",
397
+ $fault: "client",
398
+ ...opts,
399
+ });
400
+ this.name = "InsufficientCapabilitiesException";
401
+ this.$fault = "client";
402
+ Object.setPrototypeOf(this, InsufficientCapabilitiesException.prototype);
403
+ this.Message = opts.Message;
404
+ }
405
+ }
406
+ exports.InsufficientCapabilitiesException = InsufficientCapabilitiesException;
407
+ class LimitExceededException extends CloudFormationServiceException_1.CloudFormationServiceException {
408
+ constructor(opts) {
409
+ super({
410
+ name: "LimitExceededException",
411
+ $fault: "client",
412
+ ...opts,
413
+ });
414
+ this.name = "LimitExceededException";
415
+ this.$fault = "client";
416
+ Object.setPrototypeOf(this, LimitExceededException.prototype);
417
+ this.Message = opts.Message;
418
+ }
419
+ }
420
+ exports.LimitExceededException = LimitExceededException;
308
421
  var OnFailure;
309
422
  (function (OnFailure) {
310
423
  OnFailure["DELETE"] = "DELETE";
@@ -352,6 +465,90 @@ var CreateStackInstancesOutput;
352
465
  ...obj,
353
466
  });
354
467
  })(CreateStackInstancesOutput = exports.CreateStackInstancesOutput || (exports.CreateStackInstancesOutput = {}));
468
+ class InvalidOperationException extends CloudFormationServiceException_1.CloudFormationServiceException {
469
+ constructor(opts) {
470
+ super({
471
+ name: "InvalidOperationException",
472
+ $fault: "client",
473
+ ...opts,
474
+ });
475
+ this.name = "InvalidOperationException";
476
+ this.$fault = "client";
477
+ Object.setPrototypeOf(this, InvalidOperationException.prototype);
478
+ this.Message = opts.Message;
479
+ }
480
+ }
481
+ exports.InvalidOperationException = InvalidOperationException;
482
+ class OperationIdAlreadyExistsException extends CloudFormationServiceException_1.CloudFormationServiceException {
483
+ constructor(opts) {
484
+ super({
485
+ name: "OperationIdAlreadyExistsException",
486
+ $fault: "client",
487
+ ...opts,
488
+ });
489
+ this.name = "OperationIdAlreadyExistsException";
490
+ this.$fault = "client";
491
+ Object.setPrototypeOf(this, OperationIdAlreadyExistsException.prototype);
492
+ this.Message = opts.Message;
493
+ }
494
+ }
495
+ exports.OperationIdAlreadyExistsException = OperationIdAlreadyExistsException;
496
+ class OperationInProgressException extends CloudFormationServiceException_1.CloudFormationServiceException {
497
+ constructor(opts) {
498
+ super({
499
+ name: "OperationInProgressException",
500
+ $fault: "client",
501
+ ...opts,
502
+ });
503
+ this.name = "OperationInProgressException";
504
+ this.$fault = "client";
505
+ Object.setPrototypeOf(this, OperationInProgressException.prototype);
506
+ this.Message = opts.Message;
507
+ }
508
+ }
509
+ exports.OperationInProgressException = OperationInProgressException;
510
+ class StackSetNotFoundException extends CloudFormationServiceException_1.CloudFormationServiceException {
511
+ constructor(opts) {
512
+ super({
513
+ name: "StackSetNotFoundException",
514
+ $fault: "client",
515
+ ...opts,
516
+ });
517
+ this.name = "StackSetNotFoundException";
518
+ this.$fault = "client";
519
+ Object.setPrototypeOf(this, StackSetNotFoundException.prototype);
520
+ this.Message = opts.Message;
521
+ }
522
+ }
523
+ exports.StackSetNotFoundException = StackSetNotFoundException;
524
+ class StaleRequestException extends CloudFormationServiceException_1.CloudFormationServiceException {
525
+ constructor(opts) {
526
+ super({
527
+ name: "StaleRequestException",
528
+ $fault: "client",
529
+ ...opts,
530
+ });
531
+ this.name = "StaleRequestException";
532
+ this.$fault = "client";
533
+ Object.setPrototypeOf(this, StaleRequestException.prototype);
534
+ this.Message = opts.Message;
535
+ }
536
+ }
537
+ exports.StaleRequestException = StaleRequestException;
538
+ class CreatedButModifiedException extends CloudFormationServiceException_1.CloudFormationServiceException {
539
+ constructor(opts) {
540
+ super({
541
+ name: "CreatedButModifiedException",
542
+ $fault: "client",
543
+ ...opts,
544
+ });
545
+ this.name = "CreatedButModifiedException";
546
+ this.$fault = "client";
547
+ Object.setPrototypeOf(this, CreatedButModifiedException.prototype);
548
+ this.Message = opts.Message;
549
+ }
550
+ }
551
+ exports.CreatedButModifiedException = CreatedButModifiedException;
355
552
  var ManagedExecution;
356
553
  (function (ManagedExecution) {
357
554
  ManagedExecution.filterSensitiveLog = (obj) => ({
@@ -370,6 +567,20 @@ var CreateStackSetOutput;
370
567
  ...obj,
371
568
  });
372
569
  })(CreateStackSetOutput = exports.CreateStackSetOutput || (exports.CreateStackSetOutput = {}));
570
+ class NameAlreadyExistsException extends CloudFormationServiceException_1.CloudFormationServiceException {
571
+ constructor(opts) {
572
+ super({
573
+ name: "NameAlreadyExistsException",
574
+ $fault: "client",
575
+ ...opts,
576
+ });
577
+ this.name = "NameAlreadyExistsException";
578
+ this.$fault = "client";
579
+ Object.setPrototypeOf(this, NameAlreadyExistsException.prototype);
580
+ this.Message = opts.Message;
581
+ }
582
+ }
583
+ exports.NameAlreadyExistsException = NameAlreadyExistsException;
373
584
  var DeactivateTypeInput;
374
585
  (function (DeactivateTypeInput) {
375
586
  DeactivateTypeInput.filterSensitiveLog = (obj) => ({
@@ -394,6 +605,20 @@ var DeleteChangeSetOutput;
394
605
  ...obj,
395
606
  });
396
607
  })(DeleteChangeSetOutput = exports.DeleteChangeSetOutput || (exports.DeleteChangeSetOutput = {}));
608
+ class InvalidChangeSetStatusException extends CloudFormationServiceException_1.CloudFormationServiceException {
609
+ constructor(opts) {
610
+ super({
611
+ name: "InvalidChangeSetStatusException",
612
+ $fault: "client",
613
+ ...opts,
614
+ });
615
+ this.name = "InvalidChangeSetStatusException";
616
+ this.$fault = "client";
617
+ Object.setPrototypeOf(this, InvalidChangeSetStatusException.prototype);
618
+ this.Message = opts.Message;
619
+ }
620
+ }
621
+ exports.InvalidChangeSetStatusException = InvalidChangeSetStatusException;
397
622
  var DeleteStackInput;
398
623
  (function (DeleteStackInput) {
399
624
  DeleteStackInput.filterSensitiveLog = (obj) => ({
@@ -424,6 +649,20 @@ var DeleteStackSetOutput;
424
649
  ...obj,
425
650
  });
426
651
  })(DeleteStackSetOutput = exports.DeleteStackSetOutput || (exports.DeleteStackSetOutput = {}));
652
+ class StackSetNotEmptyException extends CloudFormationServiceException_1.CloudFormationServiceException {
653
+ constructor(opts) {
654
+ super({
655
+ name: "StackSetNotEmptyException",
656
+ $fault: "client",
657
+ ...opts,
658
+ });
659
+ this.name = "StackSetNotEmptyException";
660
+ this.$fault = "client";
661
+ Object.setPrototypeOf(this, StackSetNotEmptyException.prototype);
662
+ this.Message = opts.Message;
663
+ }
664
+ }
665
+ exports.StackSetNotEmptyException = StackSetNotEmptyException;
427
666
  var DeregisterTypeInput;
428
667
  (function (DeregisterTypeInput) {
429
668
  DeregisterTypeInput.filterSensitiveLog = (obj) => ({
@@ -594,6 +833,20 @@ var DescribeStackInstanceOutput;
594
833
  ...obj,
595
834
  });
596
835
  })(DescribeStackInstanceOutput = exports.DescribeStackInstanceOutput || (exports.DescribeStackInstanceOutput = {}));
836
+ class StackInstanceNotFoundException extends CloudFormationServiceException_1.CloudFormationServiceException {
837
+ constructor(opts) {
838
+ super({
839
+ name: "StackInstanceNotFoundException",
840
+ $fault: "client",
841
+ ...opts,
842
+ });
843
+ this.name = "StackInstanceNotFoundException";
844
+ this.$fault = "client";
845
+ Object.setPrototypeOf(this, StackInstanceNotFoundException.prototype);
846
+ this.Message = opts.Message;
847
+ }
848
+ }
849
+ exports.StackInstanceNotFoundException = StackInstanceNotFoundException;
597
850
  var DescribeStackResourceInput;
598
851
  (function (DescribeStackResourceInput) {
599
852
  DescribeStackResourceInput.filterSensitiveLog = (obj) => ({
@@ -791,6 +1044,20 @@ var DescribeStackSetOperationOutput;
791
1044
  ...obj,
792
1045
  });
793
1046
  })(DescribeStackSetOperationOutput = exports.DescribeStackSetOperationOutput || (exports.DescribeStackSetOperationOutput = {}));
1047
+ class OperationNotFoundException extends CloudFormationServiceException_1.CloudFormationServiceException {
1048
+ constructor(opts) {
1049
+ super({
1050
+ name: "OperationNotFoundException",
1051
+ $fault: "client",
1052
+ ...opts,
1053
+ });
1054
+ this.name = "OperationNotFoundException";
1055
+ this.$fault = "client";
1056
+ Object.setPrototypeOf(this, OperationNotFoundException.prototype);
1057
+ this.Message = opts.Message;
1058
+ }
1059
+ }
1060
+ exports.OperationNotFoundException = OperationNotFoundException;
794
1061
  var DescribeTypeInput;
795
1062
  (function (DescribeTypeInput) {
796
1063
  DescribeTypeInput.filterSensitiveLog = (obj) => ({
@@ -959,6 +1226,20 @@ var ImportStacksToStackSetOutput;
959
1226
  ...obj,
960
1227
  });
961
1228
  })(ImportStacksToStackSetOutput = exports.ImportStacksToStackSetOutput || (exports.ImportStacksToStackSetOutput = {}));
1229
+ class StackNotFoundException extends CloudFormationServiceException_1.CloudFormationServiceException {
1230
+ constructor(opts) {
1231
+ super({
1232
+ name: "StackNotFoundException",
1233
+ $fault: "client",
1234
+ ...opts,
1235
+ });
1236
+ this.name = "StackNotFoundException";
1237
+ this.$fault = "client";
1238
+ Object.setPrototypeOf(this, StackNotFoundException.prototype);
1239
+ this.Message = opts.Message;
1240
+ }
1241
+ }
1242
+ exports.StackNotFoundException = StackNotFoundException;
962
1243
  var ListChangeSetsInput;
963
1244
  (function (ListChangeSetsInput) {
964
1245
  ListChangeSetsInput.filterSensitiveLog = (obj) => ({
@@ -1193,6 +1474,34 @@ var PublishTypeOutput;
1193
1474
  ...obj,
1194
1475
  });
1195
1476
  })(PublishTypeOutput = exports.PublishTypeOutput || (exports.PublishTypeOutput = {}));
1477
+ class InvalidStateTransitionException extends CloudFormationServiceException_1.CloudFormationServiceException {
1478
+ constructor(opts) {
1479
+ super({
1480
+ name: "InvalidStateTransitionException",
1481
+ $fault: "client",
1482
+ ...opts,
1483
+ });
1484
+ this.name = "InvalidStateTransitionException";
1485
+ this.$fault = "client";
1486
+ Object.setPrototypeOf(this, InvalidStateTransitionException.prototype);
1487
+ this.Message = opts.Message;
1488
+ }
1489
+ }
1490
+ exports.InvalidStateTransitionException = InvalidStateTransitionException;
1491
+ class OperationStatusCheckFailedException extends CloudFormationServiceException_1.CloudFormationServiceException {
1492
+ constructor(opts) {
1493
+ super({
1494
+ name: "OperationStatusCheckFailedException",
1495
+ $fault: "client",
1496
+ ...opts,
1497
+ });
1498
+ this.name = "OperationStatusCheckFailedException";
1499
+ this.$fault = "client";
1500
+ Object.setPrototypeOf(this, OperationStatusCheckFailedException.prototype);
1501
+ this.Message = opts.Message;
1502
+ }
1503
+ }
1504
+ exports.OperationStatusCheckFailedException = OperationStatusCheckFailedException;
1196
1505
  var OperationStatus;
1197
1506
  (function (OperationStatus) {
1198
1507
  OperationStatus["FAILED"] = "FAILED";