@aws-sdk/client-organizations 3.721.0 → 3.726.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.
@@ -30,14 +30,15 @@ export const HandshakeState = {
30
30
  REQUESTED: "REQUESTED",
31
31
  };
32
32
  export class AccessDeniedException extends __BaseException {
33
+ name = "AccessDeniedException";
34
+ $fault = "client";
35
+ Message;
33
36
  constructor(opts) {
34
37
  super({
35
38
  name: "AccessDeniedException",
36
39
  $fault: "client",
37
40
  ...opts,
38
41
  });
39
- this.name = "AccessDeniedException";
40
- this.$fault = "client";
41
42
  Object.setPrototypeOf(this, AccessDeniedException.prototype);
42
43
  this.Message = opts.Message;
43
44
  }
@@ -46,54 +47,59 @@ export const AccessDeniedForDependencyExceptionReason = {
46
47
  ACCESS_DENIED_DURING_CREATE_SERVICE_LINKED_ROLE: "ACCESS_DENIED_DURING_CREATE_SERVICE_LINKED_ROLE",
47
48
  };
48
49
  export class AccessDeniedForDependencyException extends __BaseException {
50
+ name = "AccessDeniedForDependencyException";
51
+ $fault = "client";
52
+ Message;
53
+ Reason;
49
54
  constructor(opts) {
50
55
  super({
51
56
  name: "AccessDeniedForDependencyException",
52
57
  $fault: "client",
53
58
  ...opts,
54
59
  });
55
- this.name = "AccessDeniedForDependencyException";
56
- this.$fault = "client";
57
60
  Object.setPrototypeOf(this, AccessDeniedForDependencyException.prototype);
58
61
  this.Message = opts.Message;
59
62
  this.Reason = opts.Reason;
60
63
  }
61
64
  }
62
65
  export class AWSOrganizationsNotInUseException extends __BaseException {
66
+ name = "AWSOrganizationsNotInUseException";
67
+ $fault = "client";
68
+ Message;
63
69
  constructor(opts) {
64
70
  super({
65
71
  name: "AWSOrganizationsNotInUseException",
66
72
  $fault: "client",
67
73
  ...opts,
68
74
  });
69
- this.name = "AWSOrganizationsNotInUseException";
70
- this.$fault = "client";
71
75
  Object.setPrototypeOf(this, AWSOrganizationsNotInUseException.prototype);
72
76
  this.Message = opts.Message;
73
77
  }
74
78
  }
75
79
  export class ConcurrentModificationException extends __BaseException {
80
+ name = "ConcurrentModificationException";
81
+ $fault = "client";
82
+ Message;
76
83
  constructor(opts) {
77
84
  super({
78
85
  name: "ConcurrentModificationException",
79
86
  $fault: "client",
80
87
  ...opts,
81
88
  });
82
- this.name = "ConcurrentModificationException";
83
- this.$fault = "client";
84
89
  Object.setPrototypeOf(this, ConcurrentModificationException.prototype);
85
90
  this.Message = opts.Message;
86
91
  }
87
92
  }
88
93
  export class HandshakeAlreadyInStateException extends __BaseException {
94
+ name = "HandshakeAlreadyInStateException";
95
+ $fault = "client";
96
+ Message;
89
97
  constructor(opts) {
90
98
  super({
91
99
  name: "HandshakeAlreadyInStateException",
92
100
  $fault: "client",
93
101
  ...opts,
94
102
  });
95
- this.name = "HandshakeAlreadyInStateException";
96
- this.$fault = "client";
97
103
  Object.setPrototypeOf(this, HandshakeAlreadyInStateException.prototype);
98
104
  this.Message = opts.Message;
99
105
  }
@@ -111,41 +117,45 @@ export const HandshakeConstraintViolationExceptionReason = {
111
117
  PAYMENT_INSTRUMENT_REQUIRED: "PAYMENT_INSTRUMENT_REQUIRED",
112
118
  };
113
119
  export class HandshakeConstraintViolationException extends __BaseException {
120
+ name = "HandshakeConstraintViolationException";
121
+ $fault = "client";
122
+ Message;
123
+ Reason;
114
124
  constructor(opts) {
115
125
  super({
116
126
  name: "HandshakeConstraintViolationException",
117
127
  $fault: "client",
118
128
  ...opts,
119
129
  });
120
- this.name = "HandshakeConstraintViolationException";
121
- this.$fault = "client";
122
130
  Object.setPrototypeOf(this, HandshakeConstraintViolationException.prototype);
123
131
  this.Message = opts.Message;
124
132
  this.Reason = opts.Reason;
125
133
  }
126
134
  }
127
135
  export class HandshakeNotFoundException extends __BaseException {
136
+ name = "HandshakeNotFoundException";
137
+ $fault = "client";
138
+ Message;
128
139
  constructor(opts) {
129
140
  super({
130
141
  name: "HandshakeNotFoundException",
131
142
  $fault: "client",
132
143
  ...opts,
133
144
  });
134
- this.name = "HandshakeNotFoundException";
135
- this.$fault = "client";
136
145
  Object.setPrototypeOf(this, HandshakeNotFoundException.prototype);
137
146
  this.Message = opts.Message;
138
147
  }
139
148
  }
140
149
  export class InvalidHandshakeTransitionException extends __BaseException {
150
+ name = "InvalidHandshakeTransitionException";
151
+ $fault = "client";
152
+ Message;
141
153
  constructor(opts) {
142
154
  super({
143
155
  name: "InvalidHandshakeTransitionException",
144
156
  $fault: "client",
145
157
  ...opts,
146
158
  });
147
- this.name = "InvalidHandshakeTransitionException";
148
- this.$fault = "client";
149
159
  Object.setPrototypeOf(this, InvalidHandshakeTransitionException.prototype);
150
160
  this.Message = opts.Message;
151
161
  }
@@ -183,41 +193,46 @@ export const InvalidInputExceptionReason = {
183
193
  UNSUPPORTED_RESOURCE_IN_RESOURCE_POLICY: "UNSUPPORTED_RESOURCE_IN_RESOURCE_POLICY",
184
194
  };
185
195
  export class InvalidInputException extends __BaseException {
196
+ name = "InvalidInputException";
197
+ $fault = "client";
198
+ Message;
199
+ Reason;
186
200
  constructor(opts) {
187
201
  super({
188
202
  name: "InvalidInputException",
189
203
  $fault: "client",
190
204
  ...opts,
191
205
  });
192
- this.name = "InvalidInputException";
193
- this.$fault = "client";
194
206
  Object.setPrototypeOf(this, InvalidInputException.prototype);
195
207
  this.Message = opts.Message;
196
208
  this.Reason = opts.Reason;
197
209
  }
198
210
  }
199
211
  export class ServiceException extends __BaseException {
212
+ name = "ServiceException";
213
+ $fault = "server";
214
+ Message;
200
215
  constructor(opts) {
201
216
  super({
202
217
  name: "ServiceException",
203
218
  $fault: "server",
204
219
  ...opts,
205
220
  });
206
- this.name = "ServiceException";
207
- this.$fault = "server";
208
221
  Object.setPrototypeOf(this, ServiceException.prototype);
209
222
  this.Message = opts.Message;
210
223
  }
211
224
  }
212
225
  export class TooManyRequestsException extends __BaseException {
226
+ name = "TooManyRequestsException";
227
+ $fault = "client";
228
+ Type;
229
+ Message;
213
230
  constructor(opts) {
214
231
  super({
215
232
  name: "TooManyRequestsException",
216
233
  $fault: "client",
217
234
  ...opts,
218
235
  });
219
- this.name = "TooManyRequestsException";
220
- this.$fault = "client";
221
236
  Object.setPrototypeOf(this, TooManyRequestsException.prototype);
222
237
  this.Type = opts.Type;
223
238
  this.Message = opts.Message;
@@ -233,79 +248,85 @@ export const AccountStatus = {
233
248
  SUSPENDED: "SUSPENDED",
234
249
  };
235
250
  export class AccountAlreadyClosedException extends __BaseException {
251
+ name = "AccountAlreadyClosedException";
252
+ $fault = "client";
253
+ Message;
236
254
  constructor(opts) {
237
255
  super({
238
256
  name: "AccountAlreadyClosedException",
239
257
  $fault: "client",
240
258
  ...opts,
241
259
  });
242
- this.name = "AccountAlreadyClosedException";
243
- this.$fault = "client";
244
260
  Object.setPrototypeOf(this, AccountAlreadyClosedException.prototype);
245
261
  this.Message = opts.Message;
246
262
  }
247
263
  }
248
264
  export class AccountAlreadyRegisteredException extends __BaseException {
265
+ name = "AccountAlreadyRegisteredException";
266
+ $fault = "client";
267
+ Message;
249
268
  constructor(opts) {
250
269
  super({
251
270
  name: "AccountAlreadyRegisteredException",
252
271
  $fault: "client",
253
272
  ...opts,
254
273
  });
255
- this.name = "AccountAlreadyRegisteredException";
256
- this.$fault = "client";
257
274
  Object.setPrototypeOf(this, AccountAlreadyRegisteredException.prototype);
258
275
  this.Message = opts.Message;
259
276
  }
260
277
  }
261
278
  export class AccountNotFoundException extends __BaseException {
279
+ name = "AccountNotFoundException";
280
+ $fault = "client";
281
+ Message;
262
282
  constructor(opts) {
263
283
  super({
264
284
  name: "AccountNotFoundException",
265
285
  $fault: "client",
266
286
  ...opts,
267
287
  });
268
- this.name = "AccountNotFoundException";
269
- this.$fault = "client";
270
288
  Object.setPrototypeOf(this, AccountNotFoundException.prototype);
271
289
  this.Message = opts.Message;
272
290
  }
273
291
  }
274
292
  export class AccountNotRegisteredException extends __BaseException {
293
+ name = "AccountNotRegisteredException";
294
+ $fault = "client";
295
+ Message;
275
296
  constructor(opts) {
276
297
  super({
277
298
  name: "AccountNotRegisteredException",
278
299
  $fault: "client",
279
300
  ...opts,
280
301
  });
281
- this.name = "AccountNotRegisteredException";
282
- this.$fault = "client";
283
302
  Object.setPrototypeOf(this, AccountNotRegisteredException.prototype);
284
303
  this.Message = opts.Message;
285
304
  }
286
305
  }
287
306
  export class AccountOwnerNotVerifiedException extends __BaseException {
307
+ name = "AccountOwnerNotVerifiedException";
308
+ $fault = "client";
309
+ Message;
288
310
  constructor(opts) {
289
311
  super({
290
312
  name: "AccountOwnerNotVerifiedException",
291
313
  $fault: "client",
292
314
  ...opts,
293
315
  });
294
- this.name = "AccountOwnerNotVerifiedException";
295
- this.$fault = "client";
296
316
  Object.setPrototypeOf(this, AccountOwnerNotVerifiedException.prototype);
297
317
  this.Message = opts.Message;
298
318
  }
299
319
  }
300
320
  export class AlreadyInOrganizationException extends __BaseException {
321
+ name = "AlreadyInOrganizationException";
322
+ $fault = "client";
323
+ Message;
301
324
  constructor(opts) {
302
325
  super({
303
326
  name: "AlreadyInOrganizationException",
304
327
  $fault: "client",
305
328
  ...opts,
306
329
  });
307
- this.name = "AlreadyInOrganizationException";
308
- this.$fault = "client";
309
330
  Object.setPrototypeOf(this, AlreadyInOrganizationException.prototype);
310
331
  this.Message = opts.Message;
311
332
  }
@@ -349,106 +370,115 @@ export const ConstraintViolationExceptionReason = {
349
370
  WAIT_PERIOD_ACTIVE: "WAIT_PERIOD_ACTIVE",
350
371
  };
351
372
  export class ConstraintViolationException extends __BaseException {
373
+ name = "ConstraintViolationException";
374
+ $fault = "client";
375
+ Message;
376
+ Reason;
352
377
  constructor(opts) {
353
378
  super({
354
379
  name: "ConstraintViolationException",
355
380
  $fault: "client",
356
381
  ...opts,
357
382
  });
358
- this.name = "ConstraintViolationException";
359
- this.$fault = "client";
360
383
  Object.setPrototypeOf(this, ConstraintViolationException.prototype);
361
384
  this.Message = opts.Message;
362
385
  this.Reason = opts.Reason;
363
386
  }
364
387
  }
365
388
  export class DuplicatePolicyAttachmentException extends __BaseException {
389
+ name = "DuplicatePolicyAttachmentException";
390
+ $fault = "client";
391
+ Message;
366
392
  constructor(opts) {
367
393
  super({
368
394
  name: "DuplicatePolicyAttachmentException",
369
395
  $fault: "client",
370
396
  ...opts,
371
397
  });
372
- this.name = "DuplicatePolicyAttachmentException";
373
- this.$fault = "client";
374
398
  Object.setPrototypeOf(this, DuplicatePolicyAttachmentException.prototype);
375
399
  this.Message = opts.Message;
376
400
  }
377
401
  }
378
402
  export class PolicyChangesInProgressException extends __BaseException {
403
+ name = "PolicyChangesInProgressException";
404
+ $fault = "client";
405
+ Message;
379
406
  constructor(opts) {
380
407
  super({
381
408
  name: "PolicyChangesInProgressException",
382
409
  $fault: "client",
383
410
  ...opts,
384
411
  });
385
- this.name = "PolicyChangesInProgressException";
386
- this.$fault = "client";
387
412
  Object.setPrototypeOf(this, PolicyChangesInProgressException.prototype);
388
413
  this.Message = opts.Message;
389
414
  }
390
415
  }
391
416
  export class PolicyNotFoundException extends __BaseException {
417
+ name = "PolicyNotFoundException";
418
+ $fault = "client";
419
+ Message;
392
420
  constructor(opts) {
393
421
  super({
394
422
  name: "PolicyNotFoundException",
395
423
  $fault: "client",
396
424
  ...opts,
397
425
  });
398
- this.name = "PolicyNotFoundException";
399
- this.$fault = "client";
400
426
  Object.setPrototypeOf(this, PolicyNotFoundException.prototype);
401
427
  this.Message = opts.Message;
402
428
  }
403
429
  }
404
430
  export class PolicyTypeNotEnabledException extends __BaseException {
431
+ name = "PolicyTypeNotEnabledException";
432
+ $fault = "client";
433
+ Message;
405
434
  constructor(opts) {
406
435
  super({
407
436
  name: "PolicyTypeNotEnabledException",
408
437
  $fault: "client",
409
438
  ...opts,
410
439
  });
411
- this.name = "PolicyTypeNotEnabledException";
412
- this.$fault = "client";
413
440
  Object.setPrototypeOf(this, PolicyTypeNotEnabledException.prototype);
414
441
  this.Message = opts.Message;
415
442
  }
416
443
  }
417
444
  export class TargetNotFoundException extends __BaseException {
445
+ name = "TargetNotFoundException";
446
+ $fault = "client";
447
+ Message;
418
448
  constructor(opts) {
419
449
  super({
420
450
  name: "TargetNotFoundException",
421
451
  $fault: "client",
422
452
  ...opts,
423
453
  });
424
- this.name = "TargetNotFoundException";
425
- this.$fault = "client";
426
454
  Object.setPrototypeOf(this, TargetNotFoundException.prototype);
427
455
  this.Message = opts.Message;
428
456
  }
429
457
  }
430
458
  export class UnsupportedAPIEndpointException extends __BaseException {
459
+ name = "UnsupportedAPIEndpointException";
460
+ $fault = "client";
461
+ Message;
431
462
  constructor(opts) {
432
463
  super({
433
464
  name: "UnsupportedAPIEndpointException",
434
465
  $fault: "client",
435
466
  ...opts,
436
467
  });
437
- this.name = "UnsupportedAPIEndpointException";
438
- this.$fault = "client";
439
468
  Object.setPrototypeOf(this, UnsupportedAPIEndpointException.prototype);
440
469
  this.Message = opts.Message;
441
470
  }
442
471
  }
443
472
  export class ConflictException extends __BaseException {
473
+ name = "ConflictException";
474
+ $fault = "client";
475
+ Message;
444
476
  constructor(opts) {
445
477
  super({
446
478
  name: "ConflictException",
447
479
  $fault: "client",
448
480
  ...opts,
449
481
  });
450
- this.name = "ConflictException";
451
- this.$fault = "client";
452
482
  Object.setPrototypeOf(this, ConflictException.prototype);
453
483
  this.Message = opts.Message;
454
484
  }
@@ -480,14 +510,15 @@ export const CreateAccountState = {
480
510
  SUCCEEDED: "SUCCEEDED",
481
511
  };
482
512
  export class FinalizingOrganizationException extends __BaseException {
513
+ name = "FinalizingOrganizationException";
514
+ $fault = "client";
515
+ Message;
483
516
  constructor(opts) {
484
517
  super({
485
518
  name: "FinalizingOrganizationException",
486
519
  $fault: "client",
487
520
  ...opts,
488
521
  });
489
- this.name = "FinalizingOrganizationException";
490
- this.$fault = "client";
491
522
  Object.setPrototypeOf(this, FinalizingOrganizationException.prototype);
492
523
  this.Message = opts.Message;
493
524
  }
@@ -511,144 +542,155 @@ export const PolicyType = {
511
542
  TAG_POLICY: "TAG_POLICY",
512
543
  };
513
544
  export class DuplicateOrganizationalUnitException extends __BaseException {
545
+ name = "DuplicateOrganizationalUnitException";
546
+ $fault = "client";
547
+ Message;
514
548
  constructor(opts) {
515
549
  super({
516
550
  name: "DuplicateOrganizationalUnitException",
517
551
  $fault: "client",
518
552
  ...opts,
519
553
  });
520
- this.name = "DuplicateOrganizationalUnitException";
521
- this.$fault = "client";
522
554
  Object.setPrototypeOf(this, DuplicateOrganizationalUnitException.prototype);
523
555
  this.Message = opts.Message;
524
556
  }
525
557
  }
526
558
  export class ParentNotFoundException extends __BaseException {
559
+ name = "ParentNotFoundException";
560
+ $fault = "client";
561
+ Message;
527
562
  constructor(opts) {
528
563
  super({
529
564
  name: "ParentNotFoundException",
530
565
  $fault: "client",
531
566
  ...opts,
532
567
  });
533
- this.name = "ParentNotFoundException";
534
- this.$fault = "client";
535
568
  Object.setPrototypeOf(this, ParentNotFoundException.prototype);
536
569
  this.Message = opts.Message;
537
570
  }
538
571
  }
539
572
  export class DuplicatePolicyException extends __BaseException {
573
+ name = "DuplicatePolicyException";
574
+ $fault = "client";
575
+ Message;
540
576
  constructor(opts) {
541
577
  super({
542
578
  name: "DuplicatePolicyException",
543
579
  $fault: "client",
544
580
  ...opts,
545
581
  });
546
- this.name = "DuplicatePolicyException";
547
- this.$fault = "client";
548
582
  Object.setPrototypeOf(this, DuplicatePolicyException.prototype);
549
583
  this.Message = opts.Message;
550
584
  }
551
585
  }
552
586
  export class MalformedPolicyDocumentException extends __BaseException {
587
+ name = "MalformedPolicyDocumentException";
588
+ $fault = "client";
589
+ Message;
553
590
  constructor(opts) {
554
591
  super({
555
592
  name: "MalformedPolicyDocumentException",
556
593
  $fault: "client",
557
594
  ...opts,
558
595
  });
559
- this.name = "MalformedPolicyDocumentException";
560
- this.$fault = "client";
561
596
  Object.setPrototypeOf(this, MalformedPolicyDocumentException.prototype);
562
597
  this.Message = opts.Message;
563
598
  }
564
599
  }
565
600
  export class PolicyTypeNotAvailableForOrganizationException extends __BaseException {
601
+ name = "PolicyTypeNotAvailableForOrganizationException";
602
+ $fault = "client";
603
+ Message;
566
604
  constructor(opts) {
567
605
  super({
568
606
  name: "PolicyTypeNotAvailableForOrganizationException",
569
607
  $fault: "client",
570
608
  ...opts,
571
609
  });
572
- this.name = "PolicyTypeNotAvailableForOrganizationException";
573
- this.$fault = "client";
574
610
  Object.setPrototypeOf(this, PolicyTypeNotAvailableForOrganizationException.prototype);
575
611
  this.Message = opts.Message;
576
612
  }
577
613
  }
578
614
  export class OrganizationNotEmptyException extends __BaseException {
615
+ name = "OrganizationNotEmptyException";
616
+ $fault = "client";
617
+ Message;
579
618
  constructor(opts) {
580
619
  super({
581
620
  name: "OrganizationNotEmptyException",
582
621
  $fault: "client",
583
622
  ...opts,
584
623
  });
585
- this.name = "OrganizationNotEmptyException";
586
- this.$fault = "client";
587
624
  Object.setPrototypeOf(this, OrganizationNotEmptyException.prototype);
588
625
  this.Message = opts.Message;
589
626
  }
590
627
  }
591
628
  export class OrganizationalUnitNotEmptyException extends __BaseException {
629
+ name = "OrganizationalUnitNotEmptyException";
630
+ $fault = "client";
631
+ Message;
592
632
  constructor(opts) {
593
633
  super({
594
634
  name: "OrganizationalUnitNotEmptyException",
595
635
  $fault: "client",
596
636
  ...opts,
597
637
  });
598
- this.name = "OrganizationalUnitNotEmptyException";
599
- this.$fault = "client";
600
638
  Object.setPrototypeOf(this, OrganizationalUnitNotEmptyException.prototype);
601
639
  this.Message = opts.Message;
602
640
  }
603
641
  }
604
642
  export class OrganizationalUnitNotFoundException extends __BaseException {
643
+ name = "OrganizationalUnitNotFoundException";
644
+ $fault = "client";
645
+ Message;
605
646
  constructor(opts) {
606
647
  super({
607
648
  name: "OrganizationalUnitNotFoundException",
608
649
  $fault: "client",
609
650
  ...opts,
610
651
  });
611
- this.name = "OrganizationalUnitNotFoundException";
612
- this.$fault = "client";
613
652
  Object.setPrototypeOf(this, OrganizationalUnitNotFoundException.prototype);
614
653
  this.Message = opts.Message;
615
654
  }
616
655
  }
617
656
  export class PolicyInUseException extends __BaseException {
657
+ name = "PolicyInUseException";
658
+ $fault = "client";
659
+ Message;
618
660
  constructor(opts) {
619
661
  super({
620
662
  name: "PolicyInUseException",
621
663
  $fault: "client",
622
664
  ...opts,
623
665
  });
624
- this.name = "PolicyInUseException";
625
- this.$fault = "client";
626
666
  Object.setPrototypeOf(this, PolicyInUseException.prototype);
627
667
  this.Message = opts.Message;
628
668
  }
629
669
  }
630
670
  export class ResourcePolicyNotFoundException extends __BaseException {
671
+ name = "ResourcePolicyNotFoundException";
672
+ $fault = "client";
673
+ Message;
631
674
  constructor(opts) {
632
675
  super({
633
676
  name: "ResourcePolicyNotFoundException",
634
677
  $fault: "client",
635
678
  ...opts,
636
679
  });
637
- this.name = "ResourcePolicyNotFoundException";
638
- this.$fault = "client";
639
680
  Object.setPrototypeOf(this, ResourcePolicyNotFoundException.prototype);
640
681
  this.Message = opts.Message;
641
682
  }
642
683
  }
643
684
  export class CreateAccountStatusNotFoundException extends __BaseException {
685
+ name = "CreateAccountStatusNotFoundException";
686
+ $fault = "client";
687
+ Message;
644
688
  constructor(opts) {
645
689
  super({
646
690
  name: "CreateAccountStatusNotFoundException",
647
691
  $fault: "client",
648
692
  ...opts,
649
693
  });
650
- this.name = "CreateAccountStatusNotFoundException";
651
- this.$fault = "client";
652
694
  Object.setPrototypeOf(this, CreateAccountStatusNotFoundException.prototype);
653
695
  this.Message = opts.Message;
654
696
  }
@@ -661,79 +703,85 @@ export const EffectivePolicyType = {
661
703
  TAG_POLICY: "TAG_POLICY",
662
704
  };
663
705
  export class EffectivePolicyNotFoundException extends __BaseException {
706
+ name = "EffectivePolicyNotFoundException";
707
+ $fault = "client";
708
+ Message;
664
709
  constructor(opts) {
665
710
  super({
666
711
  name: "EffectivePolicyNotFoundException",
667
712
  $fault: "client",
668
713
  ...opts,
669
714
  });
670
- this.name = "EffectivePolicyNotFoundException";
671
- this.$fault = "client";
672
715
  Object.setPrototypeOf(this, EffectivePolicyNotFoundException.prototype);
673
716
  this.Message = opts.Message;
674
717
  }
675
718
  }
676
719
  export class PolicyNotAttachedException extends __BaseException {
720
+ name = "PolicyNotAttachedException";
721
+ $fault = "client";
722
+ Message;
677
723
  constructor(opts) {
678
724
  super({
679
725
  name: "PolicyNotAttachedException",
680
726
  $fault: "client",
681
727
  ...opts,
682
728
  });
683
- this.name = "PolicyNotAttachedException";
684
- this.$fault = "client";
685
729
  Object.setPrototypeOf(this, PolicyNotAttachedException.prototype);
686
730
  this.Message = opts.Message;
687
731
  }
688
732
  }
689
733
  export class RootNotFoundException extends __BaseException {
734
+ name = "RootNotFoundException";
735
+ $fault = "client";
736
+ Message;
690
737
  constructor(opts) {
691
738
  super({
692
739
  name: "RootNotFoundException",
693
740
  $fault: "client",
694
741
  ...opts,
695
742
  });
696
- this.name = "RootNotFoundException";
697
- this.$fault = "client";
698
743
  Object.setPrototypeOf(this, RootNotFoundException.prototype);
699
744
  this.Message = opts.Message;
700
745
  }
701
746
  }
702
747
  export class PolicyTypeAlreadyEnabledException extends __BaseException {
748
+ name = "PolicyTypeAlreadyEnabledException";
749
+ $fault = "client";
750
+ Message;
703
751
  constructor(opts) {
704
752
  super({
705
753
  name: "PolicyTypeAlreadyEnabledException",
706
754
  $fault: "client",
707
755
  ...opts,
708
756
  });
709
- this.name = "PolicyTypeAlreadyEnabledException";
710
- this.$fault = "client";
711
757
  Object.setPrototypeOf(this, PolicyTypeAlreadyEnabledException.prototype);
712
758
  this.Message = opts.Message;
713
759
  }
714
760
  }
715
761
  export class DuplicateHandshakeException extends __BaseException {
762
+ name = "DuplicateHandshakeException";
763
+ $fault = "client";
764
+ Message;
716
765
  constructor(opts) {
717
766
  super({
718
767
  name: "DuplicateHandshakeException",
719
768
  $fault: "client",
720
769
  ...opts,
721
770
  });
722
- this.name = "DuplicateHandshakeException";
723
- this.$fault = "client";
724
771
  Object.setPrototypeOf(this, DuplicateHandshakeException.prototype);
725
772
  this.Message = opts.Message;
726
773
  }
727
774
  }
728
775
  export class MasterCannotLeaveOrganizationException extends __BaseException {
776
+ name = "MasterCannotLeaveOrganizationException";
777
+ $fault = "client";
778
+ Message;
729
779
  constructor(opts) {
730
780
  super({
731
781
  name: "MasterCannotLeaveOrganizationException",
732
782
  $fault: "client",
733
783
  ...opts,
734
784
  });
735
- this.name = "MasterCannotLeaveOrganizationException";
736
- this.$fault = "client";
737
785
  Object.setPrototypeOf(this, MasterCannotLeaveOrganizationException.prototype);
738
786
  this.Message = opts.Message;
739
787
  }
@@ -743,14 +791,15 @@ export const ChildType = {
743
791
  ORGANIZATIONAL_UNIT: "ORGANIZATIONAL_UNIT",
744
792
  };
745
793
  export class ChildNotFoundException extends __BaseException {
794
+ name = "ChildNotFoundException";
795
+ $fault = "client";
796
+ Message;
746
797
  constructor(opts) {
747
798
  super({
748
799
  name: "ChildNotFoundException",
749
800
  $fault: "client",
750
801
  ...opts,
751
802
  });
752
- this.name = "ChildNotFoundException";
753
- this.$fault = "client";
754
803
  Object.setPrototypeOf(this, ChildNotFoundException.prototype);
755
804
  this.Message = opts.Message;
756
805
  }
@@ -765,40 +814,43 @@ export const TargetType = {
765
814
  ROOT: "ROOT",
766
815
  };
767
816
  export class DestinationParentNotFoundException extends __BaseException {
817
+ name = "DestinationParentNotFoundException";
818
+ $fault = "client";
819
+ Message;
768
820
  constructor(opts) {
769
821
  super({
770
822
  name: "DestinationParentNotFoundException",
771
823
  $fault: "client",
772
824
  ...opts,
773
825
  });
774
- this.name = "DestinationParentNotFoundException";
775
- this.$fault = "client";
776
826
  Object.setPrototypeOf(this, DestinationParentNotFoundException.prototype);
777
827
  this.Message = opts.Message;
778
828
  }
779
829
  }
780
830
  export class DuplicateAccountException extends __BaseException {
831
+ name = "DuplicateAccountException";
832
+ $fault = "client";
833
+ Message;
781
834
  constructor(opts) {
782
835
  super({
783
836
  name: "DuplicateAccountException",
784
837
  $fault: "client",
785
838
  ...opts,
786
839
  });
787
- this.name = "DuplicateAccountException";
788
- this.$fault = "client";
789
840
  Object.setPrototypeOf(this, DuplicateAccountException.prototype);
790
841
  this.Message = opts.Message;
791
842
  }
792
843
  }
793
844
  export class SourceParentNotFoundException extends __BaseException {
845
+ name = "SourceParentNotFoundException";
846
+ $fault = "client";
847
+ Message;
794
848
  constructor(opts) {
795
849
  super({
796
850
  name: "SourceParentNotFoundException",
797
851
  $fault: "client",
798
852
  ...opts,
799
853
  });
800
- this.name = "SourceParentNotFoundException";
801
- this.$fault = "client";
802
854
  Object.setPrototypeOf(this, SourceParentNotFoundException.prototype);
803
855
  this.Message = opts.Message;
804
856
  }