@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.
@@ -1,5 +1,6 @@
1
- import { __assign } from "tslib";
1
+ import { __assign, __extends } from "tslib";
2
2
  import { SENSITIVE_STRING } from "@aws-sdk/smithy-client";
3
+ import { OrganizationsServiceException as __BaseException } from "./OrganizationsServiceException";
3
4
  export var AcceptHandshakeRequest;
4
5
  (function (AcceptHandshakeRequest) {
5
6
  AcceptHandshakeRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -41,10 +42,76 @@ export var HandshakeState;
41
42
  HandshakeState["OPEN"] = "OPEN";
42
43
  HandshakeState["REQUESTED"] = "REQUESTED";
43
44
  })(HandshakeState || (HandshakeState = {}));
45
+ var AccessDeniedException = (function (_super) {
46
+ __extends(AccessDeniedException, _super);
47
+ function AccessDeniedException(opts) {
48
+ var _this = _super.call(this, __assign({ name: "AccessDeniedException", $fault: "client" }, opts)) || this;
49
+ _this.name = "AccessDeniedException";
50
+ _this.$fault = "client";
51
+ Object.setPrototypeOf(_this, AccessDeniedException.prototype);
52
+ _this.Message = opts.Message;
53
+ return _this;
54
+ }
55
+ return AccessDeniedException;
56
+ }(__BaseException));
57
+ export { AccessDeniedException };
44
58
  export var AccessDeniedForDependencyExceptionReason;
45
59
  (function (AccessDeniedForDependencyExceptionReason) {
46
60
  AccessDeniedForDependencyExceptionReason["ACCESS_DENIED_DURING_CREATE_SERVICE_LINKED_ROLE"] = "ACCESS_DENIED_DURING_CREATE_SERVICE_LINKED_ROLE";
47
61
  })(AccessDeniedForDependencyExceptionReason || (AccessDeniedForDependencyExceptionReason = {}));
62
+ var AccessDeniedForDependencyException = (function (_super) {
63
+ __extends(AccessDeniedForDependencyException, _super);
64
+ function AccessDeniedForDependencyException(opts) {
65
+ var _this = _super.call(this, __assign({ name: "AccessDeniedForDependencyException", $fault: "client" }, opts)) || this;
66
+ _this.name = "AccessDeniedForDependencyException";
67
+ _this.$fault = "client";
68
+ Object.setPrototypeOf(_this, AccessDeniedForDependencyException.prototype);
69
+ _this.Message = opts.Message;
70
+ _this.Reason = opts.Reason;
71
+ return _this;
72
+ }
73
+ return AccessDeniedForDependencyException;
74
+ }(__BaseException));
75
+ export { AccessDeniedForDependencyException };
76
+ var AWSOrganizationsNotInUseException = (function (_super) {
77
+ __extends(AWSOrganizationsNotInUseException, _super);
78
+ function AWSOrganizationsNotInUseException(opts) {
79
+ var _this = _super.call(this, __assign({ name: "AWSOrganizationsNotInUseException", $fault: "client" }, opts)) || this;
80
+ _this.name = "AWSOrganizationsNotInUseException";
81
+ _this.$fault = "client";
82
+ Object.setPrototypeOf(_this, AWSOrganizationsNotInUseException.prototype);
83
+ _this.Message = opts.Message;
84
+ return _this;
85
+ }
86
+ return AWSOrganizationsNotInUseException;
87
+ }(__BaseException));
88
+ export { AWSOrganizationsNotInUseException };
89
+ var ConcurrentModificationException = (function (_super) {
90
+ __extends(ConcurrentModificationException, _super);
91
+ function ConcurrentModificationException(opts) {
92
+ var _this = _super.call(this, __assign({ name: "ConcurrentModificationException", $fault: "client" }, opts)) || this;
93
+ _this.name = "ConcurrentModificationException";
94
+ _this.$fault = "client";
95
+ Object.setPrototypeOf(_this, ConcurrentModificationException.prototype);
96
+ _this.Message = opts.Message;
97
+ return _this;
98
+ }
99
+ return ConcurrentModificationException;
100
+ }(__BaseException));
101
+ export { ConcurrentModificationException };
102
+ var HandshakeAlreadyInStateException = (function (_super) {
103
+ __extends(HandshakeAlreadyInStateException, _super);
104
+ function HandshakeAlreadyInStateException(opts) {
105
+ var _this = _super.call(this, __assign({ name: "HandshakeAlreadyInStateException", $fault: "client" }, opts)) || this;
106
+ _this.name = "HandshakeAlreadyInStateException";
107
+ _this.$fault = "client";
108
+ Object.setPrototypeOf(_this, HandshakeAlreadyInStateException.prototype);
109
+ _this.Message = opts.Message;
110
+ return _this;
111
+ }
112
+ return HandshakeAlreadyInStateException;
113
+ }(__BaseException));
114
+ export { HandshakeAlreadyInStateException };
48
115
  export var HandshakeConstraintViolationExceptionReason;
49
116
  (function (HandshakeConstraintViolationExceptionReason) {
50
117
  HandshakeConstraintViolationExceptionReason["ACCOUNT_NUMBER_LIMIT_EXCEEDED"] = "ACCOUNT_NUMBER_LIMIT_EXCEEDED";
@@ -57,6 +124,46 @@ export var HandshakeConstraintViolationExceptionReason;
57
124
  HandshakeConstraintViolationExceptionReason["ORGANIZATION_MEMBERSHIP_CHANGE_RATE_LIMIT_EXCEEDED"] = "ORGANIZATION_MEMBERSHIP_CHANGE_RATE_LIMIT_EXCEEDED";
58
125
  HandshakeConstraintViolationExceptionReason["PAYMENT_INSTRUMENT_REQUIRED"] = "PAYMENT_INSTRUMENT_REQUIRED";
59
126
  })(HandshakeConstraintViolationExceptionReason || (HandshakeConstraintViolationExceptionReason = {}));
127
+ var HandshakeConstraintViolationException = (function (_super) {
128
+ __extends(HandshakeConstraintViolationException, _super);
129
+ function HandshakeConstraintViolationException(opts) {
130
+ var _this = _super.call(this, __assign({ name: "HandshakeConstraintViolationException", $fault: "client" }, opts)) || this;
131
+ _this.name = "HandshakeConstraintViolationException";
132
+ _this.$fault = "client";
133
+ Object.setPrototypeOf(_this, HandshakeConstraintViolationException.prototype);
134
+ _this.Message = opts.Message;
135
+ _this.Reason = opts.Reason;
136
+ return _this;
137
+ }
138
+ return HandshakeConstraintViolationException;
139
+ }(__BaseException));
140
+ export { HandshakeConstraintViolationException };
141
+ var HandshakeNotFoundException = (function (_super) {
142
+ __extends(HandshakeNotFoundException, _super);
143
+ function HandshakeNotFoundException(opts) {
144
+ var _this = _super.call(this, __assign({ name: "HandshakeNotFoundException", $fault: "client" }, opts)) || this;
145
+ _this.name = "HandshakeNotFoundException";
146
+ _this.$fault = "client";
147
+ Object.setPrototypeOf(_this, HandshakeNotFoundException.prototype);
148
+ _this.Message = opts.Message;
149
+ return _this;
150
+ }
151
+ return HandshakeNotFoundException;
152
+ }(__BaseException));
153
+ export { HandshakeNotFoundException };
154
+ var InvalidHandshakeTransitionException = (function (_super) {
155
+ __extends(InvalidHandshakeTransitionException, _super);
156
+ function InvalidHandshakeTransitionException(opts) {
157
+ var _this = _super.call(this, __assign({ name: "InvalidHandshakeTransitionException", $fault: "client" }, opts)) || this;
158
+ _this.name = "InvalidHandshakeTransitionException";
159
+ _this.$fault = "client";
160
+ Object.setPrototypeOf(_this, InvalidHandshakeTransitionException.prototype);
161
+ _this.Message = opts.Message;
162
+ return _this;
163
+ }
164
+ return InvalidHandshakeTransitionException;
165
+ }(__BaseException));
166
+ export { InvalidHandshakeTransitionException };
60
167
  export var InvalidInputExceptionReason;
61
168
  (function (InvalidInputExceptionReason) {
62
169
  InvalidInputExceptionReason["DUPLICATE_TAG_KEY"] = "DUPLICATE_TAG_KEY";
@@ -84,6 +191,47 @@ export var InvalidInputExceptionReason;
84
191
  InvalidInputExceptionReason["TARGET_NOT_SUPPORTED"] = "TARGET_NOT_SUPPORTED";
85
192
  InvalidInputExceptionReason["UNRECOGNIZED_SERVICE_PRINCIPAL"] = "UNRECOGNIZED_SERVICE_PRINCIPAL";
86
193
  })(InvalidInputExceptionReason || (InvalidInputExceptionReason = {}));
194
+ var InvalidInputException = (function (_super) {
195
+ __extends(InvalidInputException, _super);
196
+ function InvalidInputException(opts) {
197
+ var _this = _super.call(this, __assign({ name: "InvalidInputException", $fault: "client" }, opts)) || this;
198
+ _this.name = "InvalidInputException";
199
+ _this.$fault = "client";
200
+ Object.setPrototypeOf(_this, InvalidInputException.prototype);
201
+ _this.Message = opts.Message;
202
+ _this.Reason = opts.Reason;
203
+ return _this;
204
+ }
205
+ return InvalidInputException;
206
+ }(__BaseException));
207
+ export { InvalidInputException };
208
+ var ServiceException = (function (_super) {
209
+ __extends(ServiceException, _super);
210
+ function ServiceException(opts) {
211
+ var _this = _super.call(this, __assign({ name: "ServiceException", $fault: "server" }, opts)) || this;
212
+ _this.name = "ServiceException";
213
+ _this.$fault = "server";
214
+ Object.setPrototypeOf(_this, ServiceException.prototype);
215
+ _this.Message = opts.Message;
216
+ return _this;
217
+ }
218
+ return ServiceException;
219
+ }(__BaseException));
220
+ export { ServiceException };
221
+ var TooManyRequestsException = (function (_super) {
222
+ __extends(TooManyRequestsException, _super);
223
+ function TooManyRequestsException(opts) {
224
+ var _this = _super.call(this, __assign({ name: "TooManyRequestsException", $fault: "client" }, opts)) || this;
225
+ _this.name = "TooManyRequestsException";
226
+ _this.$fault = "client";
227
+ Object.setPrototypeOf(_this, TooManyRequestsException.prototype);
228
+ _this.Type = opts.Type;
229
+ _this.Message = opts.Message;
230
+ return _this;
231
+ }
232
+ return TooManyRequestsException;
233
+ }(__BaseException));
234
+ export { TooManyRequestsException };
87
235
  export var AccountJoinedMethod;
88
236
  (function (AccountJoinedMethod) {
89
237
  AccountJoinedMethod["CREATED"] = "CREATED";
@@ -98,6 +246,71 @@ export var Account;
98
246
  (function (Account) {
99
247
  Account.filterSensitiveLog = function (obj) { return (__assign(__assign(__assign({}, obj), (obj.Email && { Email: SENSITIVE_STRING })), (obj.Name && { Name: SENSITIVE_STRING }))); };
100
248
  })(Account || (Account = {}));
249
+ var AccountAlreadyRegisteredException = (function (_super) {
250
+ __extends(AccountAlreadyRegisteredException, _super);
251
+ function AccountAlreadyRegisteredException(opts) {
252
+ var _this = _super.call(this, __assign({ name: "AccountAlreadyRegisteredException", $fault: "client" }, opts)) || this;
253
+ _this.name = "AccountAlreadyRegisteredException";
254
+ _this.$fault = "client";
255
+ Object.setPrototypeOf(_this, AccountAlreadyRegisteredException.prototype);
256
+ _this.Message = opts.Message;
257
+ return _this;
258
+ }
259
+ return AccountAlreadyRegisteredException;
260
+ }(__BaseException));
261
+ export { AccountAlreadyRegisteredException };
262
+ var AccountNotFoundException = (function (_super) {
263
+ __extends(AccountNotFoundException, _super);
264
+ function AccountNotFoundException(opts) {
265
+ var _this = _super.call(this, __assign({ name: "AccountNotFoundException", $fault: "client" }, opts)) || this;
266
+ _this.name = "AccountNotFoundException";
267
+ _this.$fault = "client";
268
+ Object.setPrototypeOf(_this, AccountNotFoundException.prototype);
269
+ _this.Message = opts.Message;
270
+ return _this;
271
+ }
272
+ return AccountNotFoundException;
273
+ }(__BaseException));
274
+ export { AccountNotFoundException };
275
+ var AccountNotRegisteredException = (function (_super) {
276
+ __extends(AccountNotRegisteredException, _super);
277
+ function AccountNotRegisteredException(opts) {
278
+ var _this = _super.call(this, __assign({ name: "AccountNotRegisteredException", $fault: "client" }, opts)) || this;
279
+ _this.name = "AccountNotRegisteredException";
280
+ _this.$fault = "client";
281
+ Object.setPrototypeOf(_this, AccountNotRegisteredException.prototype);
282
+ _this.Message = opts.Message;
283
+ return _this;
284
+ }
285
+ return AccountNotRegisteredException;
286
+ }(__BaseException));
287
+ export { AccountNotRegisteredException };
288
+ var AccountOwnerNotVerifiedException = (function (_super) {
289
+ __extends(AccountOwnerNotVerifiedException, _super);
290
+ function AccountOwnerNotVerifiedException(opts) {
291
+ var _this = _super.call(this, __assign({ name: "AccountOwnerNotVerifiedException", $fault: "client" }, opts)) || this;
292
+ _this.name = "AccountOwnerNotVerifiedException";
293
+ _this.$fault = "client";
294
+ Object.setPrototypeOf(_this, AccountOwnerNotVerifiedException.prototype);
295
+ _this.Message = opts.Message;
296
+ return _this;
297
+ }
298
+ return AccountOwnerNotVerifiedException;
299
+ }(__BaseException));
300
+ export { AccountOwnerNotVerifiedException };
301
+ var AlreadyInOrganizationException = (function (_super) {
302
+ __extends(AlreadyInOrganizationException, _super);
303
+ function AlreadyInOrganizationException(opts) {
304
+ var _this = _super.call(this, __assign({ name: "AlreadyInOrganizationException", $fault: "client" }, opts)) || this;
305
+ _this.name = "AlreadyInOrganizationException";
306
+ _this.$fault = "client";
307
+ Object.setPrototypeOf(_this, AlreadyInOrganizationException.prototype);
308
+ _this.Message = opts.Message;
309
+ return _this;
310
+ }
311
+ return AlreadyInOrganizationException;
312
+ }(__BaseException));
313
+ export { AlreadyInOrganizationException };
101
314
  export var AttachPolicyRequest;
102
315
  (function (AttachPolicyRequest) {
103
316
  AttachPolicyRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -133,6 +346,98 @@ export var ConstraintViolationExceptionReason;
133
346
  ConstraintViolationExceptionReason["TAG_POLICY_VIOLATION"] = "TAG_POLICY_VIOLATION";
134
347
  ConstraintViolationExceptionReason["WAIT_PERIOD_ACTIVE"] = "WAIT_PERIOD_ACTIVE";
135
348
  })(ConstraintViolationExceptionReason || (ConstraintViolationExceptionReason = {}));
349
+ var ConstraintViolationException = (function (_super) {
350
+ __extends(ConstraintViolationException, _super);
351
+ function ConstraintViolationException(opts) {
352
+ var _this = _super.call(this, __assign({ name: "ConstraintViolationException", $fault: "client" }, opts)) || this;
353
+ _this.name = "ConstraintViolationException";
354
+ _this.$fault = "client";
355
+ Object.setPrototypeOf(_this, ConstraintViolationException.prototype);
356
+ _this.Message = opts.Message;
357
+ _this.Reason = opts.Reason;
358
+ return _this;
359
+ }
360
+ return ConstraintViolationException;
361
+ }(__BaseException));
362
+ export { ConstraintViolationException };
363
+ var DuplicatePolicyAttachmentException = (function (_super) {
364
+ __extends(DuplicatePolicyAttachmentException, _super);
365
+ function DuplicatePolicyAttachmentException(opts) {
366
+ var _this = _super.call(this, __assign({ name: "DuplicatePolicyAttachmentException", $fault: "client" }, opts)) || this;
367
+ _this.name = "DuplicatePolicyAttachmentException";
368
+ _this.$fault = "client";
369
+ Object.setPrototypeOf(_this, DuplicatePolicyAttachmentException.prototype);
370
+ _this.Message = opts.Message;
371
+ return _this;
372
+ }
373
+ return DuplicatePolicyAttachmentException;
374
+ }(__BaseException));
375
+ export { DuplicatePolicyAttachmentException };
376
+ var PolicyChangesInProgressException = (function (_super) {
377
+ __extends(PolicyChangesInProgressException, _super);
378
+ function PolicyChangesInProgressException(opts) {
379
+ var _this = _super.call(this, __assign({ name: "PolicyChangesInProgressException", $fault: "client" }, opts)) || this;
380
+ _this.name = "PolicyChangesInProgressException";
381
+ _this.$fault = "client";
382
+ Object.setPrototypeOf(_this, PolicyChangesInProgressException.prototype);
383
+ _this.Message = opts.Message;
384
+ return _this;
385
+ }
386
+ return PolicyChangesInProgressException;
387
+ }(__BaseException));
388
+ export { PolicyChangesInProgressException };
389
+ var PolicyNotFoundException = (function (_super) {
390
+ __extends(PolicyNotFoundException, _super);
391
+ function PolicyNotFoundException(opts) {
392
+ var _this = _super.call(this, __assign({ name: "PolicyNotFoundException", $fault: "client" }, opts)) || this;
393
+ _this.name = "PolicyNotFoundException";
394
+ _this.$fault = "client";
395
+ Object.setPrototypeOf(_this, PolicyNotFoundException.prototype);
396
+ _this.Message = opts.Message;
397
+ return _this;
398
+ }
399
+ return PolicyNotFoundException;
400
+ }(__BaseException));
401
+ export { PolicyNotFoundException };
402
+ var PolicyTypeNotEnabledException = (function (_super) {
403
+ __extends(PolicyTypeNotEnabledException, _super);
404
+ function PolicyTypeNotEnabledException(opts) {
405
+ var _this = _super.call(this, __assign({ name: "PolicyTypeNotEnabledException", $fault: "client" }, opts)) || this;
406
+ _this.name = "PolicyTypeNotEnabledException";
407
+ _this.$fault = "client";
408
+ Object.setPrototypeOf(_this, PolicyTypeNotEnabledException.prototype);
409
+ _this.Message = opts.Message;
410
+ return _this;
411
+ }
412
+ return PolicyTypeNotEnabledException;
413
+ }(__BaseException));
414
+ export { PolicyTypeNotEnabledException };
415
+ var TargetNotFoundException = (function (_super) {
416
+ __extends(TargetNotFoundException, _super);
417
+ function TargetNotFoundException(opts) {
418
+ var _this = _super.call(this, __assign({ name: "TargetNotFoundException", $fault: "client" }, opts)) || this;
419
+ _this.name = "TargetNotFoundException";
420
+ _this.$fault = "client";
421
+ Object.setPrototypeOf(_this, TargetNotFoundException.prototype);
422
+ _this.Message = opts.Message;
423
+ return _this;
424
+ }
425
+ return TargetNotFoundException;
426
+ }(__BaseException));
427
+ export { TargetNotFoundException };
428
+ var UnsupportedAPIEndpointException = (function (_super) {
429
+ __extends(UnsupportedAPIEndpointException, _super);
430
+ function UnsupportedAPIEndpointException(opts) {
431
+ var _this = _super.call(this, __assign({ name: "UnsupportedAPIEndpointException", $fault: "client" }, opts)) || this;
432
+ _this.name = "UnsupportedAPIEndpointException";
433
+ _this.$fault = "client";
434
+ Object.setPrototypeOf(_this, UnsupportedAPIEndpointException.prototype);
435
+ _this.Message = opts.Message;
436
+ return _this;
437
+ }
438
+ return UnsupportedAPIEndpointException;
439
+ }(__BaseException));
440
+ export { UnsupportedAPIEndpointException };
136
441
  export var CancelHandshakeRequest;
137
442
  (function (CancelHandshakeRequest) {
138
443
  CancelHandshakeRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -182,6 +487,19 @@ export var CreateAccountResponse;
182
487
  CreateAccountStatus: CreateAccountStatus.filterSensitiveLog(obj.CreateAccountStatus),
183
488
  }))); };
184
489
  })(CreateAccountResponse || (CreateAccountResponse = {}));
490
+ var FinalizingOrganizationException = (function (_super) {
491
+ __extends(FinalizingOrganizationException, _super);
492
+ function FinalizingOrganizationException(opts) {
493
+ var _this = _super.call(this, __assign({ name: "FinalizingOrganizationException", $fault: "client" }, opts)) || this;
494
+ _this.name = "FinalizingOrganizationException";
495
+ _this.$fault = "client";
496
+ Object.setPrototypeOf(_this, FinalizingOrganizationException.prototype);
497
+ _this.Message = opts.Message;
498
+ return _this;
499
+ }
500
+ return FinalizingOrganizationException;
501
+ }(__BaseException));
502
+ export { FinalizingOrganizationException };
185
503
  export var CreateGovCloudAccountRequest;
186
504
  (function (CreateGovCloudAccountRequest) {
187
505
  CreateGovCloudAccountRequest.filterSensitiveLog = function (obj) { return (__assign(__assign(__assign({}, obj), (obj.Email && { Email: SENSITIVE_STRING })), (obj.AccountName && { AccountName: SENSITIVE_STRING }))); };
@@ -238,6 +556,32 @@ export var CreateOrganizationalUnitResponse;
238
556
  (function (CreateOrganizationalUnitResponse) {
239
557
  CreateOrganizationalUnitResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
240
558
  })(CreateOrganizationalUnitResponse || (CreateOrganizationalUnitResponse = {}));
559
+ var DuplicateOrganizationalUnitException = (function (_super) {
560
+ __extends(DuplicateOrganizationalUnitException, _super);
561
+ function DuplicateOrganizationalUnitException(opts) {
562
+ var _this = _super.call(this, __assign({ name: "DuplicateOrganizationalUnitException", $fault: "client" }, opts)) || this;
563
+ _this.name = "DuplicateOrganizationalUnitException";
564
+ _this.$fault = "client";
565
+ Object.setPrototypeOf(_this, DuplicateOrganizationalUnitException.prototype);
566
+ _this.Message = opts.Message;
567
+ return _this;
568
+ }
569
+ return DuplicateOrganizationalUnitException;
570
+ }(__BaseException));
571
+ export { DuplicateOrganizationalUnitException };
572
+ var ParentNotFoundException = (function (_super) {
573
+ __extends(ParentNotFoundException, _super);
574
+ function ParentNotFoundException(opts) {
575
+ var _this = _super.call(this, __assign({ name: "ParentNotFoundException", $fault: "client" }, opts)) || this;
576
+ _this.name = "ParentNotFoundException";
577
+ _this.$fault = "client";
578
+ Object.setPrototypeOf(_this, ParentNotFoundException.prototype);
579
+ _this.Message = opts.Message;
580
+ return _this;
581
+ }
582
+ return ParentNotFoundException;
583
+ }(__BaseException));
584
+ export { ParentNotFoundException };
241
585
  export var CreatePolicyRequest;
242
586
  (function (CreatePolicyRequest) {
243
587
  CreatePolicyRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -254,18 +598,109 @@ export var CreatePolicyResponse;
254
598
  (function (CreatePolicyResponse) {
255
599
  CreatePolicyResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
256
600
  })(CreatePolicyResponse || (CreatePolicyResponse = {}));
601
+ var DuplicatePolicyException = (function (_super) {
602
+ __extends(DuplicatePolicyException, _super);
603
+ function DuplicatePolicyException(opts) {
604
+ var _this = _super.call(this, __assign({ name: "DuplicatePolicyException", $fault: "client" }, opts)) || this;
605
+ _this.name = "DuplicatePolicyException";
606
+ _this.$fault = "client";
607
+ Object.setPrototypeOf(_this, DuplicatePolicyException.prototype);
608
+ _this.Message = opts.Message;
609
+ return _this;
610
+ }
611
+ return DuplicatePolicyException;
612
+ }(__BaseException));
613
+ export { DuplicatePolicyException };
614
+ var MalformedPolicyDocumentException = (function (_super) {
615
+ __extends(MalformedPolicyDocumentException, _super);
616
+ function MalformedPolicyDocumentException(opts) {
617
+ var _this = _super.call(this, __assign({ name: "MalformedPolicyDocumentException", $fault: "client" }, opts)) || this;
618
+ _this.name = "MalformedPolicyDocumentException";
619
+ _this.$fault = "client";
620
+ Object.setPrototypeOf(_this, MalformedPolicyDocumentException.prototype);
621
+ _this.Message = opts.Message;
622
+ return _this;
623
+ }
624
+ return MalformedPolicyDocumentException;
625
+ }(__BaseException));
626
+ export { MalformedPolicyDocumentException };
627
+ var PolicyTypeNotAvailableForOrganizationException = (function (_super) {
628
+ __extends(PolicyTypeNotAvailableForOrganizationException, _super);
629
+ function PolicyTypeNotAvailableForOrganizationException(opts) {
630
+ var _this = _super.call(this, __assign({ name: "PolicyTypeNotAvailableForOrganizationException", $fault: "client" }, opts)) || this;
631
+ _this.name = "PolicyTypeNotAvailableForOrganizationException";
632
+ _this.$fault = "client";
633
+ Object.setPrototypeOf(_this, PolicyTypeNotAvailableForOrganizationException.prototype);
634
+ _this.Message = opts.Message;
635
+ return _this;
636
+ }
637
+ return PolicyTypeNotAvailableForOrganizationException;
638
+ }(__BaseException));
639
+ export { PolicyTypeNotAvailableForOrganizationException };
257
640
  export var DeclineHandshakeRequest;
258
641
  (function (DeclineHandshakeRequest) {
259
642
  DeclineHandshakeRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
260
643
  })(DeclineHandshakeRequest || (DeclineHandshakeRequest = {}));
644
+ var OrganizationNotEmptyException = (function (_super) {
645
+ __extends(OrganizationNotEmptyException, _super);
646
+ function OrganizationNotEmptyException(opts) {
647
+ var _this = _super.call(this, __assign({ name: "OrganizationNotEmptyException", $fault: "client" }, opts)) || this;
648
+ _this.name = "OrganizationNotEmptyException";
649
+ _this.$fault = "client";
650
+ Object.setPrototypeOf(_this, OrganizationNotEmptyException.prototype);
651
+ _this.Message = opts.Message;
652
+ return _this;
653
+ }
654
+ return OrganizationNotEmptyException;
655
+ }(__BaseException));
656
+ export { OrganizationNotEmptyException };
261
657
  export var DeleteOrganizationalUnitRequest;
262
658
  (function (DeleteOrganizationalUnitRequest) {
263
659
  DeleteOrganizationalUnitRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
264
660
  })(DeleteOrganizationalUnitRequest || (DeleteOrganizationalUnitRequest = {}));
661
+ var OrganizationalUnitNotEmptyException = (function (_super) {
662
+ __extends(OrganizationalUnitNotEmptyException, _super);
663
+ function OrganizationalUnitNotEmptyException(opts) {
664
+ var _this = _super.call(this, __assign({ name: "OrganizationalUnitNotEmptyException", $fault: "client" }, opts)) || this;
665
+ _this.name = "OrganizationalUnitNotEmptyException";
666
+ _this.$fault = "client";
667
+ Object.setPrototypeOf(_this, OrganizationalUnitNotEmptyException.prototype);
668
+ _this.Message = opts.Message;
669
+ return _this;
670
+ }
671
+ return OrganizationalUnitNotEmptyException;
672
+ }(__BaseException));
673
+ export { OrganizationalUnitNotEmptyException };
674
+ var OrganizationalUnitNotFoundException = (function (_super) {
675
+ __extends(OrganizationalUnitNotFoundException, _super);
676
+ function OrganizationalUnitNotFoundException(opts) {
677
+ var _this = _super.call(this, __assign({ name: "OrganizationalUnitNotFoundException", $fault: "client" }, opts)) || this;
678
+ _this.name = "OrganizationalUnitNotFoundException";
679
+ _this.$fault = "client";
680
+ Object.setPrototypeOf(_this, OrganizationalUnitNotFoundException.prototype);
681
+ _this.Message = opts.Message;
682
+ return _this;
683
+ }
684
+ return OrganizationalUnitNotFoundException;
685
+ }(__BaseException));
686
+ export { OrganizationalUnitNotFoundException };
265
687
  export var DeletePolicyRequest;
266
688
  (function (DeletePolicyRequest) {
267
689
  DeletePolicyRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
268
690
  })(DeletePolicyRequest || (DeletePolicyRequest = {}));
691
+ var PolicyInUseException = (function (_super) {
692
+ __extends(PolicyInUseException, _super);
693
+ function PolicyInUseException(opts) {
694
+ var _this = _super.call(this, __assign({ name: "PolicyInUseException", $fault: "client" }, opts)) || this;
695
+ _this.name = "PolicyInUseException";
696
+ _this.$fault = "client";
697
+ Object.setPrototypeOf(_this, PolicyInUseException.prototype);
698
+ _this.Message = opts.Message;
699
+ return _this;
700
+ }
701
+ return PolicyInUseException;
702
+ }(__BaseException));
703
+ export { PolicyInUseException };
269
704
  export var DeregisterDelegatedAdministratorRequest;
270
705
  (function (DeregisterDelegatedAdministratorRequest) {
271
706
  DeregisterDelegatedAdministratorRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -278,6 +713,19 @@ export var DescribeAccountResponse;
278
713
  (function (DescribeAccountResponse) {
279
714
  DescribeAccountResponse.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Account && { Account: Account.filterSensitiveLog(obj.Account) }))); };
280
715
  })(DescribeAccountResponse || (DescribeAccountResponse = {}));
716
+ var CreateAccountStatusNotFoundException = (function (_super) {
717
+ __extends(CreateAccountStatusNotFoundException, _super);
718
+ function CreateAccountStatusNotFoundException(opts) {
719
+ var _this = _super.call(this, __assign({ name: "CreateAccountStatusNotFoundException", $fault: "client" }, opts)) || this;
720
+ _this.name = "CreateAccountStatusNotFoundException";
721
+ _this.$fault = "client";
722
+ Object.setPrototypeOf(_this, CreateAccountStatusNotFoundException.prototype);
723
+ _this.Message = opts.Message;
724
+ return _this;
725
+ }
726
+ return CreateAccountStatusNotFoundException;
727
+ }(__BaseException));
728
+ export { CreateAccountStatusNotFoundException };
281
729
  export var DescribeCreateAccountStatusRequest;
282
730
  (function (DescribeCreateAccountStatusRequest) {
283
731
  DescribeCreateAccountStatusRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -306,6 +754,19 @@ export var DescribeEffectivePolicyResponse;
306
754
  (function (DescribeEffectivePolicyResponse) {
307
755
  DescribeEffectivePolicyResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
308
756
  })(DescribeEffectivePolicyResponse || (DescribeEffectivePolicyResponse = {}));
757
+ var EffectivePolicyNotFoundException = (function (_super) {
758
+ __extends(EffectivePolicyNotFoundException, _super);
759
+ function EffectivePolicyNotFoundException(opts) {
760
+ var _this = _super.call(this, __assign({ name: "EffectivePolicyNotFoundException", $fault: "client" }, opts)) || this;
761
+ _this.name = "EffectivePolicyNotFoundException";
762
+ _this.$fault = "client";
763
+ Object.setPrototypeOf(_this, EffectivePolicyNotFoundException.prototype);
764
+ _this.Message = opts.Message;
765
+ return _this;
766
+ }
767
+ return EffectivePolicyNotFoundException;
768
+ }(__BaseException));
769
+ export { EffectivePolicyNotFoundException };
309
770
  export var DescribeHandshakeRequest;
310
771
  (function (DescribeHandshakeRequest) {
311
772
  DescribeHandshakeRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -334,6 +795,19 @@ export var DetachPolicyRequest;
334
795
  (function (DetachPolicyRequest) {
335
796
  DetachPolicyRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
336
797
  })(DetachPolicyRequest || (DetachPolicyRequest = {}));
798
+ var PolicyNotAttachedException = (function (_super) {
799
+ __extends(PolicyNotAttachedException, _super);
800
+ function PolicyNotAttachedException(opts) {
801
+ var _this = _super.call(this, __assign({ name: "PolicyNotAttachedException", $fault: "client" }, opts)) || this;
802
+ _this.name = "PolicyNotAttachedException";
803
+ _this.$fault = "client";
804
+ Object.setPrototypeOf(_this, PolicyNotAttachedException.prototype);
805
+ _this.Message = opts.Message;
806
+ return _this;
807
+ }
808
+ return PolicyNotAttachedException;
809
+ }(__BaseException));
810
+ export { PolicyNotAttachedException };
337
811
  export var DisableAWSServiceAccessRequest;
338
812
  (function (DisableAWSServiceAccessRequest) {
339
813
  DisableAWSServiceAccessRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -350,6 +824,19 @@ export var DisablePolicyTypeResponse;
350
824
  (function (DisablePolicyTypeResponse) {
351
825
  DisablePolicyTypeResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
352
826
  })(DisablePolicyTypeResponse || (DisablePolicyTypeResponse = {}));
827
+ var RootNotFoundException = (function (_super) {
828
+ __extends(RootNotFoundException, _super);
829
+ function RootNotFoundException(opts) {
830
+ var _this = _super.call(this, __assign({ name: "RootNotFoundException", $fault: "client" }, opts)) || this;
831
+ _this.name = "RootNotFoundException";
832
+ _this.$fault = "client";
833
+ Object.setPrototypeOf(_this, RootNotFoundException.prototype);
834
+ _this.Message = opts.Message;
835
+ return _this;
836
+ }
837
+ return RootNotFoundException;
838
+ }(__BaseException));
839
+ export { RootNotFoundException };
353
840
  export var EnableAllFeaturesRequest;
354
841
  (function (EnableAllFeaturesRequest) {
355
842
  EnableAllFeaturesRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -366,10 +853,49 @@ export var EnablePolicyTypeResponse;
366
853
  (function (EnablePolicyTypeResponse) {
367
854
  EnablePolicyTypeResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
368
855
  })(EnablePolicyTypeResponse || (EnablePolicyTypeResponse = {}));
856
+ var PolicyTypeAlreadyEnabledException = (function (_super) {
857
+ __extends(PolicyTypeAlreadyEnabledException, _super);
858
+ function PolicyTypeAlreadyEnabledException(opts) {
859
+ var _this = _super.call(this, __assign({ name: "PolicyTypeAlreadyEnabledException", $fault: "client" }, opts)) || this;
860
+ _this.name = "PolicyTypeAlreadyEnabledException";
861
+ _this.$fault = "client";
862
+ Object.setPrototypeOf(_this, PolicyTypeAlreadyEnabledException.prototype);
863
+ _this.Message = opts.Message;
864
+ return _this;
865
+ }
866
+ return PolicyTypeAlreadyEnabledException;
867
+ }(__BaseException));
868
+ export { PolicyTypeAlreadyEnabledException };
869
+ var DuplicateHandshakeException = (function (_super) {
870
+ __extends(DuplicateHandshakeException, _super);
871
+ function DuplicateHandshakeException(opts) {
872
+ var _this = _super.call(this, __assign({ name: "DuplicateHandshakeException", $fault: "client" }, opts)) || this;
873
+ _this.name = "DuplicateHandshakeException";
874
+ _this.$fault = "client";
875
+ Object.setPrototypeOf(_this, DuplicateHandshakeException.prototype);
876
+ _this.Message = opts.Message;
877
+ return _this;
878
+ }
879
+ return DuplicateHandshakeException;
880
+ }(__BaseException));
881
+ export { DuplicateHandshakeException };
369
882
  export var InviteAccountToOrganizationRequest;
370
883
  (function (InviteAccountToOrganizationRequest) {
371
884
  InviteAccountToOrganizationRequest.filterSensitiveLog = function (obj) { return (__assign(__assign(__assign({}, obj), (obj.Target && { Target: HandshakeParty.filterSensitiveLog(obj.Target) })), (obj.Notes && { Notes: SENSITIVE_STRING }))); };
372
885
  })(InviteAccountToOrganizationRequest || (InviteAccountToOrganizationRequest = {}));
886
+ var MasterCannotLeaveOrganizationException = (function (_super) {
887
+ __extends(MasterCannotLeaveOrganizationException, _super);
888
+ function MasterCannotLeaveOrganizationException(opts) {
889
+ var _this = _super.call(this, __assign({ name: "MasterCannotLeaveOrganizationException", $fault: "client" }, opts)) || this;
890
+ _this.name = "MasterCannotLeaveOrganizationException";
891
+ _this.$fault = "client";
892
+ Object.setPrototypeOf(_this, MasterCannotLeaveOrganizationException.prototype);
893
+ _this.Message = opts.Message;
894
+ return _this;
895
+ }
896
+ return MasterCannotLeaveOrganizationException;
897
+ }(__BaseException));
898
+ export { MasterCannotLeaveOrganizationException };
373
899
  export var ListAccountsRequest;
374
900
  (function (ListAccountsRequest) {
375
901
  ListAccountsRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -473,6 +999,19 @@ export var ListOrganizationalUnitsForParentResponse;
473
999
  (function (ListOrganizationalUnitsForParentResponse) {
474
1000
  ListOrganizationalUnitsForParentResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
475
1001
  })(ListOrganizationalUnitsForParentResponse || (ListOrganizationalUnitsForParentResponse = {}));
1002
+ var ChildNotFoundException = (function (_super) {
1003
+ __extends(ChildNotFoundException, _super);
1004
+ function ChildNotFoundException(opts) {
1005
+ var _this = _super.call(this, __assign({ name: "ChildNotFoundException", $fault: "client" }, opts)) || this;
1006
+ _this.name = "ChildNotFoundException";
1007
+ _this.$fault = "client";
1008
+ Object.setPrototypeOf(_this, ChildNotFoundException.prototype);
1009
+ _this.Message = opts.Message;
1010
+ return _this;
1011
+ }
1012
+ return ChildNotFoundException;
1013
+ }(__BaseException));
1014
+ export { ChildNotFoundException };
476
1015
  export var ListParentsRequest;
477
1016
  (function (ListParentsRequest) {
478
1017
  ListParentsRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -540,10 +1079,49 @@ export var ListTargetsForPolicyResponse;
540
1079
  (function (ListTargetsForPolicyResponse) {
541
1080
  ListTargetsForPolicyResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
542
1081
  })(ListTargetsForPolicyResponse || (ListTargetsForPolicyResponse = {}));
1082
+ var DestinationParentNotFoundException = (function (_super) {
1083
+ __extends(DestinationParentNotFoundException, _super);
1084
+ function DestinationParentNotFoundException(opts) {
1085
+ var _this = _super.call(this, __assign({ name: "DestinationParentNotFoundException", $fault: "client" }, opts)) || this;
1086
+ _this.name = "DestinationParentNotFoundException";
1087
+ _this.$fault = "client";
1088
+ Object.setPrototypeOf(_this, DestinationParentNotFoundException.prototype);
1089
+ _this.Message = opts.Message;
1090
+ return _this;
1091
+ }
1092
+ return DestinationParentNotFoundException;
1093
+ }(__BaseException));
1094
+ export { DestinationParentNotFoundException };
1095
+ var DuplicateAccountException = (function (_super) {
1096
+ __extends(DuplicateAccountException, _super);
1097
+ function DuplicateAccountException(opts) {
1098
+ var _this = _super.call(this, __assign({ name: "DuplicateAccountException", $fault: "client" }, opts)) || this;
1099
+ _this.name = "DuplicateAccountException";
1100
+ _this.$fault = "client";
1101
+ Object.setPrototypeOf(_this, DuplicateAccountException.prototype);
1102
+ _this.Message = opts.Message;
1103
+ return _this;
1104
+ }
1105
+ return DuplicateAccountException;
1106
+ }(__BaseException));
1107
+ export { DuplicateAccountException };
543
1108
  export var MoveAccountRequest;
544
1109
  (function (MoveAccountRequest) {
545
1110
  MoveAccountRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
546
1111
  })(MoveAccountRequest || (MoveAccountRequest = {}));
1112
+ var SourceParentNotFoundException = (function (_super) {
1113
+ __extends(SourceParentNotFoundException, _super);
1114
+ function SourceParentNotFoundException(opts) {
1115
+ var _this = _super.call(this, __assign({ name: "SourceParentNotFoundException", $fault: "client" }, opts)) || this;
1116
+ _this.name = "SourceParentNotFoundException";
1117
+ _this.$fault = "client";
1118
+ Object.setPrototypeOf(_this, SourceParentNotFoundException.prototype);
1119
+ _this.Message = opts.Message;
1120
+ return _this;
1121
+ }
1122
+ return SourceParentNotFoundException;
1123
+ }(__BaseException));
1124
+ export { SourceParentNotFoundException };
547
1125
  export var RegisterDelegatedAdministratorRequest;
548
1126
  (function (RegisterDelegatedAdministratorRequest) {
549
1127
  RegisterDelegatedAdministratorRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };