@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.
@@ -1,4 +1,5 @@
1
- import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
+ import { CloudFormationServiceException as __BaseException } from "./CloudFormationServiceException";
2
3
  export declare type AccountGateStatus = "FAILED" | "SKIPPED" | "SUCCEEDED";
3
4
 
4
5
  export interface AccountGateResult {
@@ -77,22 +78,28 @@ export declare namespace ActivateTypeOutput {
77
78
  const filterSensitiveLog: (obj: ActivateTypeOutput) => any;
78
79
  }
79
80
 
80
- export interface CFNRegistryException extends __SmithyException, $MetadataBearer {
81
- name: "CFNRegistryException";
82
- $fault: "client";
81
+ export declare class CFNRegistryException extends __BaseException {
82
+ readonly name: "CFNRegistryException";
83
+ readonly $fault: "client";
83
84
  Message?: string;
85
+
86
+ constructor(opts: __ExceptionOptionType<CFNRegistryException, __BaseException>);
84
87
  }
85
88
 
86
- export interface TypeNotFoundException extends __SmithyException, $MetadataBearer {
87
- name: "TypeNotFoundException";
88
- $fault: "client";
89
+ export declare class TypeNotFoundException extends __BaseException {
90
+ readonly name: "TypeNotFoundException";
91
+ readonly $fault: "client";
89
92
  Message?: string;
93
+
94
+ constructor(opts: __ExceptionOptionType<TypeNotFoundException, __BaseException>);
90
95
  }
91
96
 
92
- export interface AlreadyExistsException extends __SmithyException, $MetadataBearer {
93
- name: "AlreadyExistsException";
94
- $fault: "client";
97
+ export declare class AlreadyExistsException extends __BaseException {
98
+ readonly name: "AlreadyExistsException";
99
+ readonly $fault: "client";
95
100
  Message?: string;
101
+
102
+ constructor(opts: __ExceptionOptionType<AlreadyExistsException, __BaseException>);
96
103
  }
97
104
 
98
105
  export interface AutoDeployment {
@@ -177,10 +184,12 @@ export declare namespace BatchDescribeTypeConfigurationsOutput {
177
184
  const filterSensitiveLog: (obj: BatchDescribeTypeConfigurationsOutput) => any;
178
185
  }
179
186
 
180
- export interface TypeConfigurationNotFoundException extends __SmithyException, $MetadataBearer {
181
- name: "TypeConfigurationNotFoundException";
182
- $fault: "client";
187
+ export declare class TypeConfigurationNotFoundException extends __BaseException {
188
+ readonly name: "TypeConfigurationNotFoundException";
189
+ readonly $fault: "client";
183
190
  Message?: string;
191
+
192
+ constructor(opts: __ExceptionOptionType<TypeConfigurationNotFoundException, __BaseException>);
184
193
  }
185
194
  export declare enum CallAs {
186
195
  DELEGATED_ADMIN = "DELEGATED_ADMIN",
@@ -198,10 +207,12 @@ export declare namespace CancelUpdateStackInput {
198
207
  const filterSensitiveLog: (obj: CancelUpdateStackInput) => any;
199
208
  }
200
209
 
201
- export interface TokenAlreadyExistsException extends __SmithyException, $MetadataBearer {
202
- name: "TokenAlreadyExistsException";
203
- $fault: "client";
210
+ export declare class TokenAlreadyExistsException extends __BaseException {
211
+ readonly name: "TokenAlreadyExistsException";
212
+ readonly $fault: "client";
204
213
  Message?: string;
214
+
215
+ constructor(opts: __ExceptionOptionType<TokenAlreadyExistsException, __BaseException>);
205
216
  }
206
217
  export declare enum Capability {
207
218
  CAPABILITY_AUTO_EXPAND = "CAPABILITY_AUTO_EXPAND",
@@ -389,10 +400,12 @@ export declare enum ChangeSetHooksStatus {
389
400
  UNAVAILABLE = "UNAVAILABLE"
390
401
  }
391
402
 
392
- export interface ChangeSetNotFoundException extends __SmithyException, $MetadataBearer {
393
- name: "ChangeSetNotFoundException";
394
- $fault: "client";
403
+ export declare class ChangeSetNotFoundException extends __BaseException {
404
+ readonly name: "ChangeSetNotFoundException";
405
+ readonly $fault: "client";
395
406
  Message?: string;
407
+
408
+ constructor(opts: __ExceptionOptionType<ChangeSetNotFoundException, __BaseException>);
396
409
  }
397
410
  export declare enum ChangeSetStatus {
398
411
  CREATE_COMPLETE = "CREATE_COMPLETE",
@@ -586,16 +599,20 @@ export declare namespace CreateChangeSetOutput {
586
599
  const filterSensitiveLog: (obj: CreateChangeSetOutput) => any;
587
600
  }
588
601
 
589
- export interface InsufficientCapabilitiesException extends __SmithyException, $MetadataBearer {
590
- name: "InsufficientCapabilitiesException";
591
- $fault: "client";
602
+ export declare class InsufficientCapabilitiesException extends __BaseException {
603
+ readonly name: "InsufficientCapabilitiesException";
604
+ readonly $fault: "client";
592
605
  Message?: string;
606
+
607
+ constructor(opts: __ExceptionOptionType<InsufficientCapabilitiesException, __BaseException>);
593
608
  }
594
609
 
595
- export interface LimitExceededException extends __SmithyException, $MetadataBearer {
596
- name: "LimitExceededException";
597
- $fault: "client";
610
+ export declare class LimitExceededException extends __BaseException {
611
+ readonly name: "LimitExceededException";
612
+ readonly $fault: "client";
598
613
  Message?: string;
614
+
615
+ constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
599
616
  }
600
617
  export declare enum OnFailure {
601
618
  DELETE = "DELETE",
@@ -719,40 +736,52 @@ export declare namespace CreateStackInstancesOutput {
719
736
  const filterSensitiveLog: (obj: CreateStackInstancesOutput) => any;
720
737
  }
721
738
 
722
- export interface InvalidOperationException extends __SmithyException, $MetadataBearer {
723
- name: "InvalidOperationException";
724
- $fault: "client";
739
+ export declare class InvalidOperationException extends __BaseException {
740
+ readonly name: "InvalidOperationException";
741
+ readonly $fault: "client";
725
742
  Message?: string;
743
+
744
+ constructor(opts: __ExceptionOptionType<InvalidOperationException, __BaseException>);
726
745
  }
727
746
 
728
- export interface OperationIdAlreadyExistsException extends __SmithyException, $MetadataBearer {
729
- name: "OperationIdAlreadyExistsException";
730
- $fault: "client";
747
+ export declare class OperationIdAlreadyExistsException extends __BaseException {
748
+ readonly name: "OperationIdAlreadyExistsException";
749
+ readonly $fault: "client";
731
750
  Message?: string;
751
+
752
+ constructor(opts: __ExceptionOptionType<OperationIdAlreadyExistsException, __BaseException>);
732
753
  }
733
754
 
734
- export interface OperationInProgressException extends __SmithyException, $MetadataBearer {
735
- name: "OperationInProgressException";
736
- $fault: "client";
755
+ export declare class OperationInProgressException extends __BaseException {
756
+ readonly name: "OperationInProgressException";
757
+ readonly $fault: "client";
737
758
  Message?: string;
759
+
760
+ constructor(opts: __ExceptionOptionType<OperationInProgressException, __BaseException>);
738
761
  }
739
762
 
740
- export interface StackSetNotFoundException extends __SmithyException, $MetadataBearer {
741
- name: "StackSetNotFoundException";
742
- $fault: "client";
763
+ export declare class StackSetNotFoundException extends __BaseException {
764
+ readonly name: "StackSetNotFoundException";
765
+ readonly $fault: "client";
743
766
  Message?: string;
767
+
768
+ constructor(opts: __ExceptionOptionType<StackSetNotFoundException, __BaseException>);
744
769
  }
745
770
 
746
- export interface StaleRequestException extends __SmithyException, $MetadataBearer {
747
- name: "StaleRequestException";
748
- $fault: "client";
771
+ export declare class StaleRequestException extends __BaseException {
772
+ readonly name: "StaleRequestException";
773
+ readonly $fault: "client";
749
774
  Message?: string;
775
+
776
+ constructor(opts: __ExceptionOptionType<StaleRequestException, __BaseException>);
750
777
  }
751
778
 
752
- export interface CreatedButModifiedException extends __SmithyException, $MetadataBearer {
753
- name: "CreatedButModifiedException";
754
- $fault: "client";
779
+ export declare class CreatedButModifiedException extends __BaseException {
780
+ readonly name: "CreatedButModifiedException";
781
+ readonly $fault: "client";
755
782
  Message?: string;
783
+
784
+ constructor(opts: __ExceptionOptionType<CreatedButModifiedException, __BaseException>);
756
785
  }
757
786
 
758
787
  export interface ManagedExecution {
@@ -809,10 +838,12 @@ export declare namespace CreateStackSetOutput {
809
838
  const filterSensitiveLog: (obj: CreateStackSetOutput) => any;
810
839
  }
811
840
 
812
- export interface NameAlreadyExistsException extends __SmithyException, $MetadataBearer {
813
- name: "NameAlreadyExistsException";
814
- $fault: "client";
841
+ export declare class NameAlreadyExistsException extends __BaseException {
842
+ readonly name: "NameAlreadyExistsException";
843
+ readonly $fault: "client";
815
844
  Message?: string;
845
+
846
+ constructor(opts: __ExceptionOptionType<NameAlreadyExistsException, __BaseException>);
816
847
  }
817
848
  export interface DeactivateTypeInput {
818
849
 
@@ -851,10 +882,12 @@ export declare namespace DeleteChangeSetOutput {
851
882
  const filterSensitiveLog: (obj: DeleteChangeSetOutput) => any;
852
883
  }
853
884
 
854
- export interface InvalidChangeSetStatusException extends __SmithyException, $MetadataBearer {
855
- name: "InvalidChangeSetStatusException";
856
- $fault: "client";
885
+ export declare class InvalidChangeSetStatusException extends __BaseException {
886
+ readonly name: "InvalidChangeSetStatusException";
887
+ readonly $fault: "client";
857
888
  Message?: string;
889
+
890
+ constructor(opts: __ExceptionOptionType<InvalidChangeSetStatusException, __BaseException>);
858
891
  }
859
892
 
860
893
  export interface DeleteStackInput {
@@ -918,10 +951,12 @@ export declare namespace DeleteStackSetOutput {
918
951
  const filterSensitiveLog: (obj: DeleteStackSetOutput) => any;
919
952
  }
920
953
 
921
- export interface StackSetNotEmptyException extends __SmithyException, $MetadataBearer {
922
- name: "StackSetNotEmptyException";
923
- $fault: "client";
954
+ export declare class StackSetNotEmptyException extends __BaseException {
955
+ readonly name: "StackSetNotEmptyException";
956
+ readonly $fault: "client";
924
957
  Message?: string;
958
+
959
+ constructor(opts: __ExceptionOptionType<StackSetNotEmptyException, __BaseException>);
925
960
  }
926
961
  export declare type RegistryType = "HOOK" | "MODULE" | "RESOURCE";
927
962
  export interface DeregisterTypeInput {
@@ -1280,10 +1315,12 @@ export declare namespace DescribeStackInstanceOutput {
1280
1315
  const filterSensitiveLog: (obj: DescribeStackInstanceOutput) => any;
1281
1316
  }
1282
1317
 
1283
- export interface StackInstanceNotFoundException extends __SmithyException, $MetadataBearer {
1284
- name: "StackInstanceNotFoundException";
1285
- $fault: "client";
1318
+ export declare class StackInstanceNotFoundException extends __BaseException {
1319
+ readonly name: "StackInstanceNotFoundException";
1320
+ readonly $fault: "client";
1286
1321
  Message?: string;
1322
+
1323
+ constructor(opts: __ExceptionOptionType<StackInstanceNotFoundException, __BaseException>);
1287
1324
  }
1288
1325
 
1289
1326
  export interface DescribeStackResourceInput {
@@ -1759,10 +1796,12 @@ export declare namespace DescribeStackSetOperationOutput {
1759
1796
  const filterSensitiveLog: (obj: DescribeStackSetOperationOutput) => any;
1760
1797
  }
1761
1798
 
1762
- export interface OperationNotFoundException extends __SmithyException, $MetadataBearer {
1763
- name: "OperationNotFoundException";
1764
- $fault: "client";
1799
+ export declare class OperationNotFoundException extends __BaseException {
1800
+ readonly name: "OperationNotFoundException";
1801
+ readonly $fault: "client";
1765
1802
  Message?: string;
1803
+
1804
+ constructor(opts: __ExceptionOptionType<OperationNotFoundException, __BaseException>);
1766
1805
  }
1767
1806
  export interface DescribeTypeInput {
1768
1807
 
@@ -2149,10 +2188,12 @@ export declare namespace ImportStacksToStackSetOutput {
2149
2188
  const filterSensitiveLog: (obj: ImportStacksToStackSetOutput) => any;
2150
2189
  }
2151
2190
 
2152
- export interface StackNotFoundException extends __SmithyException, $MetadataBearer {
2153
- name: "StackNotFoundException";
2154
- $fault: "client";
2191
+ export declare class StackNotFoundException extends __BaseException {
2192
+ readonly name: "StackNotFoundException";
2193
+ readonly $fault: "client";
2155
2194
  Message?: string;
2195
+
2196
+ constructor(opts: __ExceptionOptionType<StackNotFoundException, __BaseException>);
2156
2197
  }
2157
2198
 
2158
2199
  export interface ListChangeSetsInput {
@@ -2730,16 +2771,20 @@ export declare namespace PublishTypeOutput {
2730
2771
  const filterSensitiveLog: (obj: PublishTypeOutput) => any;
2731
2772
  }
2732
2773
 
2733
- export interface InvalidStateTransitionException extends __SmithyException, $MetadataBearer {
2734
- name: "InvalidStateTransitionException";
2735
- $fault: "client";
2774
+ export declare class InvalidStateTransitionException extends __BaseException {
2775
+ readonly name: "InvalidStateTransitionException";
2776
+ readonly $fault: "client";
2736
2777
  Message?: string;
2778
+
2779
+ constructor(opts: __ExceptionOptionType<InvalidStateTransitionException, __BaseException>);
2737
2780
  }
2738
2781
 
2739
- export interface OperationStatusCheckFailedException extends __SmithyException, $MetadataBearer {
2740
- name: "OperationStatusCheckFailedException";
2741
- $fault: "client";
2782
+ export declare class OperationStatusCheckFailedException extends __BaseException {
2783
+ readonly name: "OperationStatusCheckFailedException";
2784
+ readonly $fault: "client";
2742
2785
  Message?: string;
2786
+
2787
+ constructor(opts: __ExceptionOptionType<OperationStatusCheckFailedException, __BaseException>);
2743
2788
  }
2744
2789
  export declare enum OperationStatus {
2745
2790
  FAILED = "FAILED",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-cloudformation",
3
3
  "description": "AWS SDK for JavaScript Cloudformation Client for Node.js, Browser and React Native",
4
- "version": "3.52.0",
4
+ "version": "3.53.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -18,37 +18,37 @@
18
18
  "dependencies": {
19
19
  "@aws-crypto/sha256-browser": "2.0.0",
20
20
  "@aws-crypto/sha256-js": "2.0.0",
21
- "@aws-sdk/client-sts": "3.52.0",
22
- "@aws-sdk/config-resolver": "3.52.0",
23
- "@aws-sdk/credential-provider-node": "3.52.0",
24
- "@aws-sdk/fetch-http-handler": "3.52.0",
25
- "@aws-sdk/hash-node": "3.52.0",
26
- "@aws-sdk/invalid-dependency": "3.52.0",
27
- "@aws-sdk/middleware-content-length": "3.52.0",
28
- "@aws-sdk/middleware-host-header": "3.52.0",
29
- "@aws-sdk/middleware-logger": "3.52.0",
30
- "@aws-sdk/middleware-retry": "3.52.0",
31
- "@aws-sdk/middleware-serde": "3.52.0",
32
- "@aws-sdk/middleware-signing": "3.52.0",
33
- "@aws-sdk/middleware-stack": "3.52.0",
34
- "@aws-sdk/middleware-user-agent": "3.52.0",
35
- "@aws-sdk/node-config-provider": "3.52.0",
36
- "@aws-sdk/node-http-handler": "3.52.0",
37
- "@aws-sdk/protocol-http": "3.52.0",
38
- "@aws-sdk/smithy-client": "3.52.0",
39
- "@aws-sdk/types": "3.52.0",
40
- "@aws-sdk/url-parser": "3.52.0",
21
+ "@aws-sdk/client-sts": "3.53.0",
22
+ "@aws-sdk/config-resolver": "3.53.0",
23
+ "@aws-sdk/credential-provider-node": "3.53.0",
24
+ "@aws-sdk/fetch-http-handler": "3.53.0",
25
+ "@aws-sdk/hash-node": "3.53.0",
26
+ "@aws-sdk/invalid-dependency": "3.53.0",
27
+ "@aws-sdk/middleware-content-length": "3.53.0",
28
+ "@aws-sdk/middleware-host-header": "3.53.0",
29
+ "@aws-sdk/middleware-logger": "3.53.0",
30
+ "@aws-sdk/middleware-retry": "3.53.0",
31
+ "@aws-sdk/middleware-serde": "3.53.0",
32
+ "@aws-sdk/middleware-signing": "3.53.0",
33
+ "@aws-sdk/middleware-stack": "3.53.0",
34
+ "@aws-sdk/middleware-user-agent": "3.53.0",
35
+ "@aws-sdk/node-config-provider": "3.53.0",
36
+ "@aws-sdk/node-http-handler": "3.53.0",
37
+ "@aws-sdk/protocol-http": "3.53.0",
38
+ "@aws-sdk/smithy-client": "3.53.0",
39
+ "@aws-sdk/types": "3.53.0",
40
+ "@aws-sdk/url-parser": "3.53.0",
41
41
  "@aws-sdk/util-base64-browser": "3.52.0",
42
42
  "@aws-sdk/util-base64-node": "3.52.0",
43
43
  "@aws-sdk/util-body-length-browser": "3.52.0",
44
44
  "@aws-sdk/util-body-length-node": "3.52.0",
45
- "@aws-sdk/util-defaults-mode-browser": "3.52.0",
46
- "@aws-sdk/util-defaults-mode-node": "3.52.0",
47
- "@aws-sdk/util-user-agent-browser": "3.52.0",
48
- "@aws-sdk/util-user-agent-node": "3.52.0",
45
+ "@aws-sdk/util-defaults-mode-browser": "3.53.0",
46
+ "@aws-sdk/util-defaults-mode-node": "3.53.0",
47
+ "@aws-sdk/util-user-agent-browser": "3.53.0",
48
+ "@aws-sdk/util-user-agent-node": "3.53.0",
49
49
  "@aws-sdk/util-utf8-browser": "3.52.0",
50
50
  "@aws-sdk/util-utf8-node": "3.52.0",
51
- "@aws-sdk/util-waiter": "3.52.0",
51
+ "@aws-sdk/util-waiter": "3.53.0",
52
52
  "entities": "2.2.0",
53
53
  "fast-xml-parser": "3.19.0",
54
54
  "tslib": "^2.3.0",