@aws-sdk/client-organizations 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.
@@ -3,3 +3,4 @@ export * from "./OrganizationsClient";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
5
  export * from "./pagination";
6
+ export { OrganizationsServiceException } from "./models/OrganizationsServiceException";
@@ -0,0 +1,6 @@
1
+ import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
2
+
3
+ export declare class OrganizationsServiceException extends __ServiceException {
4
+
5
+ constructor(options: __ServiceExceptionOptions);
6
+ }
@@ -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 { OrganizationsServiceException as __BaseException } from "./OrganizationsServiceException";
2
3
  export interface AcceptHandshakeRequest {
3
4
 
4
5
  HandshakeId: string | undefined;
@@ -48,38 +49,48 @@ export declare enum HandshakeState {
48
49
  REQUESTED = "REQUESTED"
49
50
  }
50
51
 
51
- export interface AccessDeniedException extends __SmithyException, $MetadataBearer {
52
- name: "AccessDeniedException";
53
- $fault: "client";
52
+ export declare class AccessDeniedException extends __BaseException {
53
+ readonly name: "AccessDeniedException";
54
+ readonly $fault: "client";
54
55
  Message?: string;
56
+
57
+ constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
55
58
  }
56
59
  export declare enum AccessDeniedForDependencyExceptionReason {
57
60
  ACCESS_DENIED_DURING_CREATE_SERVICE_LINKED_ROLE = "ACCESS_DENIED_DURING_CREATE_SERVICE_LINKED_ROLE"
58
61
  }
59
62
 
60
- export interface AccessDeniedForDependencyException extends __SmithyException, $MetadataBearer {
61
- name: "AccessDeniedForDependencyException";
62
- $fault: "client";
63
+ export declare class AccessDeniedForDependencyException extends __BaseException {
64
+ readonly name: "AccessDeniedForDependencyException";
65
+ readonly $fault: "client";
63
66
  Message?: string;
64
67
  Reason?: AccessDeniedForDependencyExceptionReason | string;
68
+
69
+ constructor(opts: __ExceptionOptionType<AccessDeniedForDependencyException, __BaseException>);
65
70
  }
66
71
 
67
- export interface AWSOrganizationsNotInUseException extends __SmithyException, $MetadataBearer {
68
- name: "AWSOrganizationsNotInUseException";
69
- $fault: "client";
72
+ export declare class AWSOrganizationsNotInUseException extends __BaseException {
73
+ readonly name: "AWSOrganizationsNotInUseException";
74
+ readonly $fault: "client";
70
75
  Message?: string;
76
+
77
+ constructor(opts: __ExceptionOptionType<AWSOrganizationsNotInUseException, __BaseException>);
71
78
  }
72
79
 
73
- export interface ConcurrentModificationException extends __SmithyException, $MetadataBearer {
74
- name: "ConcurrentModificationException";
75
- $fault: "client";
80
+ export declare class ConcurrentModificationException extends __BaseException {
81
+ readonly name: "ConcurrentModificationException";
82
+ readonly $fault: "client";
76
83
  Message?: string;
84
+
85
+ constructor(opts: __ExceptionOptionType<ConcurrentModificationException, __BaseException>);
77
86
  }
78
87
 
79
- export interface HandshakeAlreadyInStateException extends __SmithyException, $MetadataBearer {
80
- name: "HandshakeAlreadyInStateException";
81
- $fault: "client";
88
+ export declare class HandshakeAlreadyInStateException extends __BaseException {
89
+ readonly name: "HandshakeAlreadyInStateException";
90
+ readonly $fault: "client";
82
91
  Message?: string;
92
+
93
+ constructor(opts: __ExceptionOptionType<HandshakeAlreadyInStateException, __BaseException>);
83
94
  }
84
95
  export declare enum HandshakeConstraintViolationExceptionReason {
85
96
  ACCOUNT_NUMBER_LIMIT_EXCEEDED = "ACCOUNT_NUMBER_LIMIT_EXCEEDED",
@@ -93,23 +104,29 @@ export declare enum HandshakeConstraintViolationExceptionReason {
93
104
  PAYMENT_INSTRUMENT_REQUIRED = "PAYMENT_INSTRUMENT_REQUIRED"
94
105
  }
95
106
 
96
- export interface HandshakeConstraintViolationException extends __SmithyException, $MetadataBearer {
97
- name: "HandshakeConstraintViolationException";
98
- $fault: "client";
107
+ export declare class HandshakeConstraintViolationException extends __BaseException {
108
+ readonly name: "HandshakeConstraintViolationException";
109
+ readonly $fault: "client";
99
110
  Message?: string;
100
111
  Reason?: HandshakeConstraintViolationExceptionReason | string;
112
+
113
+ constructor(opts: __ExceptionOptionType<HandshakeConstraintViolationException, __BaseException>);
101
114
  }
102
115
 
103
- export interface HandshakeNotFoundException extends __SmithyException, $MetadataBearer {
104
- name: "HandshakeNotFoundException";
105
- $fault: "client";
116
+ export declare class HandshakeNotFoundException extends __BaseException {
117
+ readonly name: "HandshakeNotFoundException";
118
+ readonly $fault: "client";
106
119
  Message?: string;
120
+
121
+ constructor(opts: __ExceptionOptionType<HandshakeNotFoundException, __BaseException>);
107
122
  }
108
123
 
109
- export interface InvalidHandshakeTransitionException extends __SmithyException, $MetadataBearer {
110
- name: "InvalidHandshakeTransitionException";
111
- $fault: "client";
124
+ export declare class InvalidHandshakeTransitionException extends __BaseException {
125
+ readonly name: "InvalidHandshakeTransitionException";
126
+ readonly $fault: "client";
112
127
  Message?: string;
128
+
129
+ constructor(opts: __ExceptionOptionType<InvalidHandshakeTransitionException, __BaseException>);
113
130
  }
114
131
  export declare enum InvalidInputExceptionReason {
115
132
  DUPLICATE_TAG_KEY = "DUPLICATE_TAG_KEY",
@@ -138,24 +155,30 @@ export declare enum InvalidInputExceptionReason {
138
155
  UNRECOGNIZED_SERVICE_PRINCIPAL = "UNRECOGNIZED_SERVICE_PRINCIPAL"
139
156
  }
140
157
 
141
- export interface InvalidInputException extends __SmithyException, $MetadataBearer {
142
- name: "InvalidInputException";
143
- $fault: "client";
158
+ export declare class InvalidInputException extends __BaseException {
159
+ readonly name: "InvalidInputException";
160
+ readonly $fault: "client";
144
161
  Message?: string;
145
162
  Reason?: InvalidInputExceptionReason | string;
163
+
164
+ constructor(opts: __ExceptionOptionType<InvalidInputException, __BaseException>);
146
165
  }
147
166
 
148
- export interface ServiceException extends __SmithyException, $MetadataBearer {
149
- name: "ServiceException";
150
- $fault: "server";
167
+ export declare class ServiceException extends __BaseException {
168
+ readonly name: "ServiceException";
169
+ readonly $fault: "server";
151
170
  Message?: string;
171
+
172
+ constructor(opts: __ExceptionOptionType<ServiceException, __BaseException>);
152
173
  }
153
174
 
154
- export interface TooManyRequestsException extends __SmithyException, $MetadataBearer {
155
- name: "TooManyRequestsException";
156
- $fault: "client";
175
+ export declare class TooManyRequestsException extends __BaseException {
176
+ readonly name: "TooManyRequestsException";
177
+ readonly $fault: "client";
157
178
  Type?: string;
158
179
  Message?: string;
180
+
181
+ constructor(opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>);
159
182
  }
160
183
  export declare enum AccountJoinedMethod {
161
184
  CREATED = "CREATED",
@@ -187,34 +210,44 @@ export declare namespace Account {
187
210
  const filterSensitiveLog: (obj: Account) => any;
188
211
  }
189
212
 
190
- export interface AccountAlreadyRegisteredException extends __SmithyException, $MetadataBearer {
191
- name: "AccountAlreadyRegisteredException";
192
- $fault: "client";
213
+ export declare class AccountAlreadyRegisteredException extends __BaseException {
214
+ readonly name: "AccountAlreadyRegisteredException";
215
+ readonly $fault: "client";
193
216
  Message?: string;
217
+
218
+ constructor(opts: __ExceptionOptionType<AccountAlreadyRegisteredException, __BaseException>);
194
219
  }
195
220
 
196
- export interface AccountNotFoundException extends __SmithyException, $MetadataBearer {
197
- name: "AccountNotFoundException";
198
- $fault: "client";
221
+ export declare class AccountNotFoundException extends __BaseException {
222
+ readonly name: "AccountNotFoundException";
223
+ readonly $fault: "client";
199
224
  Message?: string;
225
+
226
+ constructor(opts: __ExceptionOptionType<AccountNotFoundException, __BaseException>);
200
227
  }
201
228
 
202
- export interface AccountNotRegisteredException extends __SmithyException, $MetadataBearer {
203
- name: "AccountNotRegisteredException";
204
- $fault: "client";
229
+ export declare class AccountNotRegisteredException extends __BaseException {
230
+ readonly name: "AccountNotRegisteredException";
231
+ readonly $fault: "client";
205
232
  Message?: string;
233
+
234
+ constructor(opts: __ExceptionOptionType<AccountNotRegisteredException, __BaseException>);
206
235
  }
207
236
 
208
- export interface AccountOwnerNotVerifiedException extends __SmithyException, $MetadataBearer {
209
- name: "AccountOwnerNotVerifiedException";
210
- $fault: "client";
237
+ export declare class AccountOwnerNotVerifiedException extends __BaseException {
238
+ readonly name: "AccountOwnerNotVerifiedException";
239
+ readonly $fault: "client";
211
240
  Message?: string;
241
+
242
+ constructor(opts: __ExceptionOptionType<AccountOwnerNotVerifiedException, __BaseException>);
212
243
  }
213
244
 
214
- export interface AlreadyInOrganizationException extends __SmithyException, $MetadataBearer {
215
- name: "AlreadyInOrganizationException";
216
- $fault: "client";
245
+ export declare class AlreadyInOrganizationException extends __BaseException {
246
+ readonly name: "AlreadyInOrganizationException";
247
+ readonly $fault: "client";
217
248
  Message?: string;
249
+
250
+ constructor(opts: __ExceptionOptionType<AlreadyInOrganizationException, __BaseException>);
218
251
  }
219
252
  export interface AttachPolicyRequest {
220
253
 
@@ -257,47 +290,61 @@ export declare enum ConstraintViolationExceptionReason {
257
290
  WAIT_PERIOD_ACTIVE = "WAIT_PERIOD_ACTIVE"
258
291
  }
259
292
 
260
- export interface ConstraintViolationException extends __SmithyException, $MetadataBearer {
261
- name: "ConstraintViolationException";
262
- $fault: "client";
293
+ export declare class ConstraintViolationException extends __BaseException {
294
+ readonly name: "ConstraintViolationException";
295
+ readonly $fault: "client";
263
296
  Message?: string;
264
297
  Reason?: ConstraintViolationExceptionReason | string;
298
+
299
+ constructor(opts: __ExceptionOptionType<ConstraintViolationException, __BaseException>);
265
300
  }
266
301
 
267
- export interface DuplicatePolicyAttachmentException extends __SmithyException, $MetadataBearer {
268
- name: "DuplicatePolicyAttachmentException";
269
- $fault: "client";
302
+ export declare class DuplicatePolicyAttachmentException extends __BaseException {
303
+ readonly name: "DuplicatePolicyAttachmentException";
304
+ readonly $fault: "client";
270
305
  Message?: string;
306
+
307
+ constructor(opts: __ExceptionOptionType<DuplicatePolicyAttachmentException, __BaseException>);
271
308
  }
272
309
 
273
- export interface PolicyChangesInProgressException extends __SmithyException, $MetadataBearer {
274
- name: "PolicyChangesInProgressException";
275
- $fault: "client";
310
+ export declare class PolicyChangesInProgressException extends __BaseException {
311
+ readonly name: "PolicyChangesInProgressException";
312
+ readonly $fault: "client";
276
313
  Message?: string;
314
+
315
+ constructor(opts: __ExceptionOptionType<PolicyChangesInProgressException, __BaseException>);
277
316
  }
278
317
 
279
- export interface PolicyNotFoundException extends __SmithyException, $MetadataBearer {
280
- name: "PolicyNotFoundException";
281
- $fault: "client";
318
+ export declare class PolicyNotFoundException extends __BaseException {
319
+ readonly name: "PolicyNotFoundException";
320
+ readonly $fault: "client";
282
321
  Message?: string;
322
+
323
+ constructor(opts: __ExceptionOptionType<PolicyNotFoundException, __BaseException>);
283
324
  }
284
325
 
285
- export interface PolicyTypeNotEnabledException extends __SmithyException, $MetadataBearer {
286
- name: "PolicyTypeNotEnabledException";
287
- $fault: "client";
326
+ export declare class PolicyTypeNotEnabledException extends __BaseException {
327
+ readonly name: "PolicyTypeNotEnabledException";
328
+ readonly $fault: "client";
288
329
  Message?: string;
330
+
331
+ constructor(opts: __ExceptionOptionType<PolicyTypeNotEnabledException, __BaseException>);
289
332
  }
290
333
 
291
- export interface TargetNotFoundException extends __SmithyException, $MetadataBearer {
292
- name: "TargetNotFoundException";
293
- $fault: "client";
334
+ export declare class TargetNotFoundException extends __BaseException {
335
+ readonly name: "TargetNotFoundException";
336
+ readonly $fault: "client";
294
337
  Message?: string;
338
+
339
+ constructor(opts: __ExceptionOptionType<TargetNotFoundException, __BaseException>);
295
340
  }
296
341
 
297
- export interface UnsupportedAPIEndpointException extends __SmithyException, $MetadataBearer {
298
- name: "UnsupportedAPIEndpointException";
299
- $fault: "client";
342
+ export declare class UnsupportedAPIEndpointException extends __BaseException {
343
+ readonly name: "UnsupportedAPIEndpointException";
344
+ readonly $fault: "client";
300
345
  Message?: string;
346
+
347
+ constructor(opts: __ExceptionOptionType<UnsupportedAPIEndpointException, __BaseException>);
301
348
  }
302
349
  export interface CancelHandshakeRequest {
303
350
 
@@ -390,10 +437,12 @@ export declare namespace CreateAccountResponse {
390
437
  const filterSensitiveLog: (obj: CreateAccountResponse) => any;
391
438
  }
392
439
 
393
- export interface FinalizingOrganizationException extends __SmithyException, $MetadataBearer {
394
- name: "FinalizingOrganizationException";
395
- $fault: "client";
440
+ export declare class FinalizingOrganizationException extends __BaseException {
441
+ readonly name: "FinalizingOrganizationException";
442
+ readonly $fault: "client";
396
443
  Message?: string;
444
+
445
+ constructor(opts: __ExceptionOptionType<FinalizingOrganizationException, __BaseException>);
397
446
  }
398
447
  export interface CreateGovCloudAccountRequest {
399
448
 
@@ -516,16 +565,20 @@ export declare namespace CreateOrganizationalUnitResponse {
516
565
  const filterSensitiveLog: (obj: CreateOrganizationalUnitResponse) => any;
517
566
  }
518
567
 
519
- export interface DuplicateOrganizationalUnitException extends __SmithyException, $MetadataBearer {
520
- name: "DuplicateOrganizationalUnitException";
521
- $fault: "client";
568
+ export declare class DuplicateOrganizationalUnitException extends __BaseException {
569
+ readonly name: "DuplicateOrganizationalUnitException";
570
+ readonly $fault: "client";
522
571
  Message?: string;
572
+
573
+ constructor(opts: __ExceptionOptionType<DuplicateOrganizationalUnitException, __BaseException>);
523
574
  }
524
575
 
525
- export interface ParentNotFoundException extends __SmithyException, $MetadataBearer {
526
- name: "ParentNotFoundException";
527
- $fault: "client";
576
+ export declare class ParentNotFoundException extends __BaseException {
577
+ readonly name: "ParentNotFoundException";
578
+ readonly $fault: "client";
528
579
  Message?: string;
580
+
581
+ constructor(opts: __ExceptionOptionType<ParentNotFoundException, __BaseException>);
529
582
  }
530
583
  export interface CreatePolicyRequest {
531
584
 
@@ -582,22 +635,28 @@ export declare namespace CreatePolicyResponse {
582
635
  const filterSensitiveLog: (obj: CreatePolicyResponse) => any;
583
636
  }
584
637
 
585
- export interface DuplicatePolicyException extends __SmithyException, $MetadataBearer {
586
- name: "DuplicatePolicyException";
587
- $fault: "client";
638
+ export declare class DuplicatePolicyException extends __BaseException {
639
+ readonly name: "DuplicatePolicyException";
640
+ readonly $fault: "client";
588
641
  Message?: string;
642
+
643
+ constructor(opts: __ExceptionOptionType<DuplicatePolicyException, __BaseException>);
589
644
  }
590
645
 
591
- export interface MalformedPolicyDocumentException extends __SmithyException, $MetadataBearer {
592
- name: "MalformedPolicyDocumentException";
593
- $fault: "client";
646
+ export declare class MalformedPolicyDocumentException extends __BaseException {
647
+ readonly name: "MalformedPolicyDocumentException";
648
+ readonly $fault: "client";
594
649
  Message?: string;
650
+
651
+ constructor(opts: __ExceptionOptionType<MalformedPolicyDocumentException, __BaseException>);
595
652
  }
596
653
 
597
- export interface PolicyTypeNotAvailableForOrganizationException extends __SmithyException, $MetadataBearer {
598
- name: "PolicyTypeNotAvailableForOrganizationException";
599
- $fault: "client";
654
+ export declare class PolicyTypeNotAvailableForOrganizationException extends __BaseException {
655
+ readonly name: "PolicyTypeNotAvailableForOrganizationException";
656
+ readonly $fault: "client";
600
657
  Message?: string;
658
+
659
+ constructor(opts: __ExceptionOptionType<PolicyTypeNotAvailableForOrganizationException, __BaseException>);
601
660
  }
602
661
  export interface DeclineHandshakeRequest {
603
662
 
@@ -608,10 +667,12 @@ export declare namespace DeclineHandshakeRequest {
608
667
  const filterSensitiveLog: (obj: DeclineHandshakeRequest) => any;
609
668
  }
610
669
 
611
- export interface OrganizationNotEmptyException extends __SmithyException, $MetadataBearer {
612
- name: "OrganizationNotEmptyException";
613
- $fault: "client";
670
+ export declare class OrganizationNotEmptyException extends __BaseException {
671
+ readonly name: "OrganizationNotEmptyException";
672
+ readonly $fault: "client";
614
673
  Message?: string;
674
+
675
+ constructor(opts: __ExceptionOptionType<OrganizationNotEmptyException, __BaseException>);
615
676
  }
616
677
  export interface DeleteOrganizationalUnitRequest {
617
678
 
@@ -622,16 +683,20 @@ export declare namespace DeleteOrganizationalUnitRequest {
622
683
  const filterSensitiveLog: (obj: DeleteOrganizationalUnitRequest) => any;
623
684
  }
624
685
 
625
- export interface OrganizationalUnitNotEmptyException extends __SmithyException, $MetadataBearer {
626
- name: "OrganizationalUnitNotEmptyException";
627
- $fault: "client";
686
+ export declare class OrganizationalUnitNotEmptyException extends __BaseException {
687
+ readonly name: "OrganizationalUnitNotEmptyException";
688
+ readonly $fault: "client";
628
689
  Message?: string;
690
+
691
+ constructor(opts: __ExceptionOptionType<OrganizationalUnitNotEmptyException, __BaseException>);
629
692
  }
630
693
 
631
- export interface OrganizationalUnitNotFoundException extends __SmithyException, $MetadataBearer {
632
- name: "OrganizationalUnitNotFoundException";
633
- $fault: "client";
694
+ export declare class OrganizationalUnitNotFoundException extends __BaseException {
695
+ readonly name: "OrganizationalUnitNotFoundException";
696
+ readonly $fault: "client";
634
697
  Message?: string;
698
+
699
+ constructor(opts: __ExceptionOptionType<OrganizationalUnitNotFoundException, __BaseException>);
635
700
  }
636
701
  export interface DeletePolicyRequest {
637
702
 
@@ -642,10 +707,12 @@ export declare namespace DeletePolicyRequest {
642
707
  const filterSensitiveLog: (obj: DeletePolicyRequest) => any;
643
708
  }
644
709
 
645
- export interface PolicyInUseException extends __SmithyException, $MetadataBearer {
646
- name: "PolicyInUseException";
647
- $fault: "client";
710
+ export declare class PolicyInUseException extends __BaseException {
711
+ readonly name: "PolicyInUseException";
712
+ readonly $fault: "client";
648
713
  Message?: string;
714
+
715
+ constructor(opts: __ExceptionOptionType<PolicyInUseException, __BaseException>);
649
716
  }
650
717
  export interface DeregisterDelegatedAdministratorRequest {
651
718
 
@@ -674,10 +741,12 @@ export declare namespace DescribeAccountResponse {
674
741
  const filterSensitiveLog: (obj: DescribeAccountResponse) => any;
675
742
  }
676
743
 
677
- export interface CreateAccountStatusNotFoundException extends __SmithyException, $MetadataBearer {
678
- name: "CreateAccountStatusNotFoundException";
679
- $fault: "client";
744
+ export declare class CreateAccountStatusNotFoundException extends __BaseException {
745
+ readonly name: "CreateAccountStatusNotFoundException";
746
+ readonly $fault: "client";
680
747
  Message?: string;
748
+
749
+ constructor(opts: __ExceptionOptionType<CreateAccountStatusNotFoundException, __BaseException>);
681
750
  }
682
751
  export interface DescribeCreateAccountStatusRequest {
683
752
 
@@ -734,10 +803,12 @@ export declare namespace DescribeEffectivePolicyResponse {
734
803
  const filterSensitiveLog: (obj: DescribeEffectivePolicyResponse) => any;
735
804
  }
736
805
 
737
- export interface EffectivePolicyNotFoundException extends __SmithyException, $MetadataBearer {
738
- name: "EffectivePolicyNotFoundException";
739
- $fault: "client";
806
+ export declare class EffectivePolicyNotFoundException extends __BaseException {
807
+ readonly name: "EffectivePolicyNotFoundException";
808
+ readonly $fault: "client";
740
809
  Message?: string;
810
+
811
+ constructor(opts: __ExceptionOptionType<EffectivePolicyNotFoundException, __BaseException>);
741
812
  }
742
813
  export interface DescribeHandshakeRequest {
743
814
 
@@ -798,10 +869,12 @@ export declare namespace DetachPolicyRequest {
798
869
  const filterSensitiveLog: (obj: DetachPolicyRequest) => any;
799
870
  }
800
871
 
801
- export interface PolicyNotAttachedException extends __SmithyException, $MetadataBearer {
802
- name: "PolicyNotAttachedException";
803
- $fault: "client";
872
+ export declare class PolicyNotAttachedException extends __BaseException {
873
+ readonly name: "PolicyNotAttachedException";
874
+ readonly $fault: "client";
804
875
  Message?: string;
876
+
877
+ constructor(opts: __ExceptionOptionType<PolicyNotAttachedException, __BaseException>);
805
878
  }
806
879
  export interface DisableAWSServiceAccessRequest {
807
880
 
@@ -845,10 +918,12 @@ export declare namespace DisablePolicyTypeResponse {
845
918
  const filterSensitiveLog: (obj: DisablePolicyTypeResponse) => any;
846
919
  }
847
920
 
848
- export interface RootNotFoundException extends __SmithyException, $MetadataBearer {
849
- name: "RootNotFoundException";
850
- $fault: "client";
921
+ export declare class RootNotFoundException extends __BaseException {
922
+ readonly name: "RootNotFoundException";
923
+ readonly $fault: "client";
851
924
  Message?: string;
925
+
926
+ constructor(opts: __ExceptionOptionType<RootNotFoundException, __BaseException>);
852
927
  }
853
928
  export interface EnableAllFeaturesRequest {
854
929
  }
@@ -883,16 +958,20 @@ export declare namespace EnablePolicyTypeResponse {
883
958
  const filterSensitiveLog: (obj: EnablePolicyTypeResponse) => any;
884
959
  }
885
960
 
886
- export interface PolicyTypeAlreadyEnabledException extends __SmithyException, $MetadataBearer {
887
- name: "PolicyTypeAlreadyEnabledException";
888
- $fault: "client";
961
+ export declare class PolicyTypeAlreadyEnabledException extends __BaseException {
962
+ readonly name: "PolicyTypeAlreadyEnabledException";
963
+ readonly $fault: "client";
889
964
  Message?: string;
965
+
966
+ constructor(opts: __ExceptionOptionType<PolicyTypeAlreadyEnabledException, __BaseException>);
890
967
  }
891
968
 
892
- export interface DuplicateHandshakeException extends __SmithyException, $MetadataBearer {
893
- name: "DuplicateHandshakeException";
894
- $fault: "client";
969
+ export declare class DuplicateHandshakeException extends __BaseException {
970
+ readonly name: "DuplicateHandshakeException";
971
+ readonly $fault: "client";
895
972
  Message?: string;
973
+
974
+ constructor(opts: __ExceptionOptionType<DuplicateHandshakeException, __BaseException>);
896
975
  }
897
976
  export interface InviteAccountToOrganizationRequest {
898
977
 
@@ -907,10 +986,12 @@ export declare namespace InviteAccountToOrganizationRequest {
907
986
  const filterSensitiveLog: (obj: InviteAccountToOrganizationRequest) => any;
908
987
  }
909
988
 
910
- export interface MasterCannotLeaveOrganizationException extends __SmithyException, $MetadataBearer {
911
- name: "MasterCannotLeaveOrganizationException";
912
- $fault: "client";
989
+ export declare class MasterCannotLeaveOrganizationException extends __BaseException {
990
+ readonly name: "MasterCannotLeaveOrganizationException";
991
+ readonly $fault: "client";
913
992
  Message?: string;
993
+
994
+ constructor(opts: __ExceptionOptionType<MasterCannotLeaveOrganizationException, __BaseException>);
914
995
  }
915
996
  export interface ListAccountsRequest {
916
997
 
@@ -1182,10 +1263,12 @@ export declare namespace ListOrganizationalUnitsForParentResponse {
1182
1263
  const filterSensitiveLog: (obj: ListOrganizationalUnitsForParentResponse) => any;
1183
1264
  }
1184
1265
 
1185
- export interface ChildNotFoundException extends __SmithyException, $MetadataBearer {
1186
- name: "ChildNotFoundException";
1187
- $fault: "client";
1266
+ export declare class ChildNotFoundException extends __BaseException {
1267
+ readonly name: "ChildNotFoundException";
1268
+ readonly $fault: "client";
1188
1269
  Message?: string;
1270
+
1271
+ constructor(opts: __ExceptionOptionType<ChildNotFoundException, __BaseException>);
1189
1272
  }
1190
1273
  export interface ListParentsRequest {
1191
1274
 
@@ -1353,16 +1436,20 @@ export declare namespace ListTargetsForPolicyResponse {
1353
1436
  const filterSensitiveLog: (obj: ListTargetsForPolicyResponse) => any;
1354
1437
  }
1355
1438
 
1356
- export interface DestinationParentNotFoundException extends __SmithyException, $MetadataBearer {
1357
- name: "DestinationParentNotFoundException";
1358
- $fault: "client";
1439
+ export declare class DestinationParentNotFoundException extends __BaseException {
1440
+ readonly name: "DestinationParentNotFoundException";
1441
+ readonly $fault: "client";
1359
1442
  Message?: string;
1443
+
1444
+ constructor(opts: __ExceptionOptionType<DestinationParentNotFoundException, __BaseException>);
1360
1445
  }
1361
1446
 
1362
- export interface DuplicateAccountException extends __SmithyException, $MetadataBearer {
1363
- name: "DuplicateAccountException";
1364
- $fault: "client";
1447
+ export declare class DuplicateAccountException extends __BaseException {
1448
+ readonly name: "DuplicateAccountException";
1449
+ readonly $fault: "client";
1365
1450
  Message?: string;
1451
+
1452
+ constructor(opts: __ExceptionOptionType<DuplicateAccountException, __BaseException>);
1366
1453
  }
1367
1454
  export interface MoveAccountRequest {
1368
1455
 
@@ -1377,10 +1464,12 @@ export declare namespace MoveAccountRequest {
1377
1464
  const filterSensitiveLog: (obj: MoveAccountRequest) => any;
1378
1465
  }
1379
1466
 
1380
- export interface SourceParentNotFoundException extends __SmithyException, $MetadataBearer {
1381
- name: "SourceParentNotFoundException";
1382
- $fault: "client";
1467
+ export declare class SourceParentNotFoundException extends __BaseException {
1468
+ readonly name: "SourceParentNotFoundException";
1469
+ readonly $fault: "client";
1383
1470
  Message?: string;
1471
+
1472
+ constructor(opts: __ExceptionOptionType<SourceParentNotFoundException, __BaseException>);
1384
1473
  }
1385
1474
  export interface RegisterDelegatedAdministratorRequest {
1386
1475