@aws-sdk/client-organizations 3.181.0 → 3.183.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.
Files changed (80) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist-es/Organizations.js +210 -217
  3. package/dist-es/OrganizationsClient.js +22 -28
  4. package/dist-es/commands/AcceptHandshakeCommand.js +21 -28
  5. package/dist-es/commands/AttachPolicyCommand.js +22 -29
  6. package/dist-es/commands/CancelHandshakeCommand.js +21 -28
  7. package/dist-es/commands/CloseAccountCommand.js +22 -29
  8. package/dist-es/commands/CreateAccountCommand.js +21 -28
  9. package/dist-es/commands/CreateGovCloudAccountCommand.js +21 -28
  10. package/dist-es/commands/CreateOrganizationCommand.js +21 -28
  11. package/dist-es/commands/CreateOrganizationalUnitCommand.js +21 -28
  12. package/dist-es/commands/CreatePolicyCommand.js +21 -28
  13. package/dist-es/commands/DeclineHandshakeCommand.js +21 -28
  14. package/dist-es/commands/DeleteOrganizationCommand.js +23 -30
  15. package/dist-es/commands/DeleteOrganizationalUnitCommand.js +22 -29
  16. package/dist-es/commands/DeletePolicyCommand.js +22 -29
  17. package/dist-es/commands/DeregisterDelegatedAdministratorCommand.js +22 -29
  18. package/dist-es/commands/DescribeAccountCommand.js +21 -28
  19. package/dist-es/commands/DescribeCreateAccountStatusCommand.js +21 -28
  20. package/dist-es/commands/DescribeEffectivePolicyCommand.js +21 -28
  21. package/dist-es/commands/DescribeHandshakeCommand.js +21 -28
  22. package/dist-es/commands/DescribeOrganizationCommand.js +22 -29
  23. package/dist-es/commands/DescribeOrganizationalUnitCommand.js +21 -28
  24. package/dist-es/commands/DescribePolicyCommand.js +21 -28
  25. package/dist-es/commands/DetachPolicyCommand.js +22 -29
  26. package/dist-es/commands/DisableAWSServiceAccessCommand.js +22 -29
  27. package/dist-es/commands/DisablePolicyTypeCommand.js +21 -28
  28. package/dist-es/commands/EnableAWSServiceAccessCommand.js +22 -29
  29. package/dist-es/commands/EnableAllFeaturesCommand.js +21 -28
  30. package/dist-es/commands/EnablePolicyTypeCommand.js +21 -28
  31. package/dist-es/commands/InviteAccountToOrganizationCommand.js +21 -28
  32. package/dist-es/commands/LeaveOrganizationCommand.js +23 -30
  33. package/dist-es/commands/ListAWSServiceAccessForOrganizationCommand.js +21 -28
  34. package/dist-es/commands/ListAccountsCommand.js +21 -28
  35. package/dist-es/commands/ListAccountsForParentCommand.js +21 -28
  36. package/dist-es/commands/ListChildrenCommand.js +21 -28
  37. package/dist-es/commands/ListCreateAccountStatusCommand.js +21 -28
  38. package/dist-es/commands/ListDelegatedAdministratorsCommand.js +21 -28
  39. package/dist-es/commands/ListDelegatedServicesForAccountCommand.js +21 -28
  40. package/dist-es/commands/ListHandshakesForAccountCommand.js +21 -28
  41. package/dist-es/commands/ListHandshakesForOrganizationCommand.js +21 -28
  42. package/dist-es/commands/ListOrganizationalUnitsForParentCommand.js +21 -28
  43. package/dist-es/commands/ListParentsCommand.js +21 -28
  44. package/dist-es/commands/ListPoliciesCommand.js +21 -28
  45. package/dist-es/commands/ListPoliciesForTargetCommand.js +21 -28
  46. package/dist-es/commands/ListRootsCommand.js +21 -28
  47. package/dist-es/commands/ListTagsForResourceCommand.js +21 -28
  48. package/dist-es/commands/ListTargetsForPolicyCommand.js +21 -28
  49. package/dist-es/commands/MoveAccountCommand.js +22 -29
  50. package/dist-es/commands/RegisterDelegatedAdministratorCommand.js +22 -29
  51. package/dist-es/commands/RemoveAccountFromOrganizationCommand.js +22 -29
  52. package/dist-es/commands/TagResourceCommand.js +22 -29
  53. package/dist-es/commands/UntagResourceCommand.js +22 -29
  54. package/dist-es/commands/UpdateOrganizationalUnitCommand.js +21 -28
  55. package/dist-es/commands/UpdatePolicyCommand.js +21 -28
  56. package/dist-es/endpoints.js +8 -8
  57. package/dist-es/models/OrganizationsServiceException.js +5 -10
  58. package/dist-es/models/models_0.js +964 -720
  59. package/dist-es/pagination/ListAWSServiceAccessForOrganizationPaginator.js +25 -68
  60. package/dist-es/pagination/ListAccountsForParentPaginator.js +25 -68
  61. package/dist-es/pagination/ListAccountsPaginator.js +25 -68
  62. package/dist-es/pagination/ListChildrenPaginator.js +25 -68
  63. package/dist-es/pagination/ListCreateAccountStatusPaginator.js +25 -68
  64. package/dist-es/pagination/ListDelegatedAdministratorsPaginator.js +25 -68
  65. package/dist-es/pagination/ListDelegatedServicesForAccountPaginator.js +25 -68
  66. package/dist-es/pagination/ListHandshakesForAccountPaginator.js +25 -68
  67. package/dist-es/pagination/ListHandshakesForOrganizationPaginator.js +25 -68
  68. package/dist-es/pagination/ListOrganizationalUnitsForParentPaginator.js +25 -68
  69. package/dist-es/pagination/ListParentsPaginator.js +25 -68
  70. package/dist-es/pagination/ListPoliciesForTargetPaginator.js +25 -68
  71. package/dist-es/pagination/ListPoliciesPaginator.js +25 -68
  72. package/dist-es/pagination/ListRootsPaginator.js +25 -68
  73. package/dist-es/pagination/ListTagsForResourcePaginator.js +24 -67
  74. package/dist-es/pagination/ListTargetsForPolicyPaginator.js +25 -68
  75. package/dist-es/protocols/Aws_json1_1.js +4139 -5453
  76. package/dist-es/runtimeConfig.browser.js +26 -12
  77. package/dist-es/runtimeConfig.js +30 -12
  78. package/dist-es/runtimeConfig.native.js +8 -5
  79. package/dist-es/runtimeConfig.shared.js +8 -11
  80. package/package.json +33 -33
@@ -1,4 +1,3 @@
1
- import { __assign, __extends } from "tslib";
2
1
  import { SENSITIVE_STRING } from "@aws-sdk/smithy-client";
3
2
  import { OrganizationsServiceException as __BaseException } from "./OrganizationsServiceException";
4
3
  export var ActionType;
@@ -34,76 +33,76 @@ export var HandshakeState;
34
33
  HandshakeState["OPEN"] = "OPEN";
35
34
  HandshakeState["REQUESTED"] = "REQUESTED";
36
35
  })(HandshakeState || (HandshakeState = {}));
37
- var AccessDeniedException = (function (_super) {
38
- __extends(AccessDeniedException, _super);
39
- function AccessDeniedException(opts) {
40
- var _this = _super.call(this, __assign({ name: "AccessDeniedException", $fault: "client" }, opts)) || this;
41
- _this.name = "AccessDeniedException";
42
- _this.$fault = "client";
43
- Object.setPrototypeOf(_this, AccessDeniedException.prototype);
44
- _this.Message = opts.Message;
45
- return _this;
46
- }
47
- return AccessDeniedException;
48
- }(__BaseException));
49
- export { AccessDeniedException };
36
+ export class AccessDeniedException extends __BaseException {
37
+ constructor(opts) {
38
+ super({
39
+ name: "AccessDeniedException",
40
+ $fault: "client",
41
+ ...opts,
42
+ });
43
+ this.name = "AccessDeniedException";
44
+ this.$fault = "client";
45
+ Object.setPrototypeOf(this, AccessDeniedException.prototype);
46
+ this.Message = opts.Message;
47
+ }
48
+ }
50
49
  export var AccessDeniedForDependencyExceptionReason;
51
50
  (function (AccessDeniedForDependencyExceptionReason) {
52
51
  AccessDeniedForDependencyExceptionReason["ACCESS_DENIED_DURING_CREATE_SERVICE_LINKED_ROLE"] = "ACCESS_DENIED_DURING_CREATE_SERVICE_LINKED_ROLE";
53
52
  })(AccessDeniedForDependencyExceptionReason || (AccessDeniedForDependencyExceptionReason = {}));
54
- var AccessDeniedForDependencyException = (function (_super) {
55
- __extends(AccessDeniedForDependencyException, _super);
56
- function AccessDeniedForDependencyException(opts) {
57
- var _this = _super.call(this, __assign({ name: "AccessDeniedForDependencyException", $fault: "client" }, opts)) || this;
58
- _this.name = "AccessDeniedForDependencyException";
59
- _this.$fault = "client";
60
- Object.setPrototypeOf(_this, AccessDeniedForDependencyException.prototype);
61
- _this.Message = opts.Message;
62
- _this.Reason = opts.Reason;
63
- return _this;
64
- }
65
- return AccessDeniedForDependencyException;
66
- }(__BaseException));
67
- export { AccessDeniedForDependencyException };
68
- var AWSOrganizationsNotInUseException = (function (_super) {
69
- __extends(AWSOrganizationsNotInUseException, _super);
70
- function AWSOrganizationsNotInUseException(opts) {
71
- var _this = _super.call(this, __assign({ name: "AWSOrganizationsNotInUseException", $fault: "client" }, opts)) || this;
72
- _this.name = "AWSOrganizationsNotInUseException";
73
- _this.$fault = "client";
74
- Object.setPrototypeOf(_this, AWSOrganizationsNotInUseException.prototype);
75
- _this.Message = opts.Message;
76
- return _this;
77
- }
78
- return AWSOrganizationsNotInUseException;
79
- }(__BaseException));
80
- export { AWSOrganizationsNotInUseException };
81
- var ConcurrentModificationException = (function (_super) {
82
- __extends(ConcurrentModificationException, _super);
83
- function ConcurrentModificationException(opts) {
84
- var _this = _super.call(this, __assign({ name: "ConcurrentModificationException", $fault: "client" }, opts)) || this;
85
- _this.name = "ConcurrentModificationException";
86
- _this.$fault = "client";
87
- Object.setPrototypeOf(_this, ConcurrentModificationException.prototype);
88
- _this.Message = opts.Message;
89
- return _this;
90
- }
91
- return ConcurrentModificationException;
92
- }(__BaseException));
93
- export { ConcurrentModificationException };
94
- var HandshakeAlreadyInStateException = (function (_super) {
95
- __extends(HandshakeAlreadyInStateException, _super);
96
- function HandshakeAlreadyInStateException(opts) {
97
- var _this = _super.call(this, __assign({ name: "HandshakeAlreadyInStateException", $fault: "client" }, opts)) || this;
98
- _this.name = "HandshakeAlreadyInStateException";
99
- _this.$fault = "client";
100
- Object.setPrototypeOf(_this, HandshakeAlreadyInStateException.prototype);
101
- _this.Message = opts.Message;
102
- return _this;
103
- }
104
- return HandshakeAlreadyInStateException;
105
- }(__BaseException));
106
- export { HandshakeAlreadyInStateException };
53
+ export class AccessDeniedForDependencyException extends __BaseException {
54
+ constructor(opts) {
55
+ super({
56
+ name: "AccessDeniedForDependencyException",
57
+ $fault: "client",
58
+ ...opts,
59
+ });
60
+ this.name = "AccessDeniedForDependencyException";
61
+ this.$fault = "client";
62
+ Object.setPrototypeOf(this, AccessDeniedForDependencyException.prototype);
63
+ this.Message = opts.Message;
64
+ this.Reason = opts.Reason;
65
+ }
66
+ }
67
+ export class AWSOrganizationsNotInUseException extends __BaseException {
68
+ constructor(opts) {
69
+ super({
70
+ name: "AWSOrganizationsNotInUseException",
71
+ $fault: "client",
72
+ ...opts,
73
+ });
74
+ this.name = "AWSOrganizationsNotInUseException";
75
+ this.$fault = "client";
76
+ Object.setPrototypeOf(this, AWSOrganizationsNotInUseException.prototype);
77
+ this.Message = opts.Message;
78
+ }
79
+ }
80
+ export class ConcurrentModificationException extends __BaseException {
81
+ constructor(opts) {
82
+ super({
83
+ name: "ConcurrentModificationException",
84
+ $fault: "client",
85
+ ...opts,
86
+ });
87
+ this.name = "ConcurrentModificationException";
88
+ this.$fault = "client";
89
+ Object.setPrototypeOf(this, ConcurrentModificationException.prototype);
90
+ this.Message = opts.Message;
91
+ }
92
+ }
93
+ export class HandshakeAlreadyInStateException extends __BaseException {
94
+ constructor(opts) {
95
+ super({
96
+ name: "HandshakeAlreadyInStateException",
97
+ $fault: "client",
98
+ ...opts,
99
+ });
100
+ this.name = "HandshakeAlreadyInStateException";
101
+ this.$fault = "client";
102
+ Object.setPrototypeOf(this, HandshakeAlreadyInStateException.prototype);
103
+ this.Message = opts.Message;
104
+ }
105
+ }
107
106
  export var HandshakeConstraintViolationExceptionReason;
108
107
  (function (HandshakeConstraintViolationExceptionReason) {
109
108
  HandshakeConstraintViolationExceptionReason["ACCOUNT_NUMBER_LIMIT_EXCEEDED"] = "ACCOUNT_NUMBER_LIMIT_EXCEEDED";
@@ -117,46 +116,46 @@ export var HandshakeConstraintViolationExceptionReason;
117
116
  HandshakeConstraintViolationExceptionReason["ORGANIZATION_MEMBERSHIP_CHANGE_RATE_LIMIT_EXCEEDED"] = "ORGANIZATION_MEMBERSHIP_CHANGE_RATE_LIMIT_EXCEEDED";
118
117
  HandshakeConstraintViolationExceptionReason["PAYMENT_INSTRUMENT_REQUIRED"] = "PAYMENT_INSTRUMENT_REQUIRED";
119
118
  })(HandshakeConstraintViolationExceptionReason || (HandshakeConstraintViolationExceptionReason = {}));
120
- var HandshakeConstraintViolationException = (function (_super) {
121
- __extends(HandshakeConstraintViolationException, _super);
122
- function HandshakeConstraintViolationException(opts) {
123
- var _this = _super.call(this, __assign({ name: "HandshakeConstraintViolationException", $fault: "client" }, opts)) || this;
124
- _this.name = "HandshakeConstraintViolationException";
125
- _this.$fault = "client";
126
- Object.setPrototypeOf(_this, HandshakeConstraintViolationException.prototype);
127
- _this.Message = opts.Message;
128
- _this.Reason = opts.Reason;
129
- return _this;
130
- }
131
- return HandshakeConstraintViolationException;
132
- }(__BaseException));
133
- export { HandshakeConstraintViolationException };
134
- var HandshakeNotFoundException = (function (_super) {
135
- __extends(HandshakeNotFoundException, _super);
136
- function HandshakeNotFoundException(opts) {
137
- var _this = _super.call(this, __assign({ name: "HandshakeNotFoundException", $fault: "client" }, opts)) || this;
138
- _this.name = "HandshakeNotFoundException";
139
- _this.$fault = "client";
140
- Object.setPrototypeOf(_this, HandshakeNotFoundException.prototype);
141
- _this.Message = opts.Message;
142
- return _this;
143
- }
144
- return HandshakeNotFoundException;
145
- }(__BaseException));
146
- export { HandshakeNotFoundException };
147
- var InvalidHandshakeTransitionException = (function (_super) {
148
- __extends(InvalidHandshakeTransitionException, _super);
149
- function InvalidHandshakeTransitionException(opts) {
150
- var _this = _super.call(this, __assign({ name: "InvalidHandshakeTransitionException", $fault: "client" }, opts)) || this;
151
- _this.name = "InvalidHandshakeTransitionException";
152
- _this.$fault = "client";
153
- Object.setPrototypeOf(_this, InvalidHandshakeTransitionException.prototype);
154
- _this.Message = opts.Message;
155
- return _this;
156
- }
157
- return InvalidHandshakeTransitionException;
158
- }(__BaseException));
159
- export { InvalidHandshakeTransitionException };
119
+ export class HandshakeConstraintViolationException extends __BaseException {
120
+ constructor(opts) {
121
+ super({
122
+ name: "HandshakeConstraintViolationException",
123
+ $fault: "client",
124
+ ...opts,
125
+ });
126
+ this.name = "HandshakeConstraintViolationException";
127
+ this.$fault = "client";
128
+ Object.setPrototypeOf(this, HandshakeConstraintViolationException.prototype);
129
+ this.Message = opts.Message;
130
+ this.Reason = opts.Reason;
131
+ }
132
+ }
133
+ export class HandshakeNotFoundException extends __BaseException {
134
+ constructor(opts) {
135
+ super({
136
+ name: "HandshakeNotFoundException",
137
+ $fault: "client",
138
+ ...opts,
139
+ });
140
+ this.name = "HandshakeNotFoundException";
141
+ this.$fault = "client";
142
+ Object.setPrototypeOf(this, HandshakeNotFoundException.prototype);
143
+ this.Message = opts.Message;
144
+ }
145
+ }
146
+ export class InvalidHandshakeTransitionException extends __BaseException {
147
+ constructor(opts) {
148
+ super({
149
+ name: "InvalidHandshakeTransitionException",
150
+ $fault: "client",
151
+ ...opts,
152
+ });
153
+ this.name = "InvalidHandshakeTransitionException";
154
+ this.$fault = "client";
155
+ Object.setPrototypeOf(this, InvalidHandshakeTransitionException.prototype);
156
+ this.Message = opts.Message;
157
+ }
158
+ }
160
159
  export var InvalidInputExceptionReason;
161
160
  (function (InvalidInputExceptionReason) {
162
161
  InvalidInputExceptionReason["DUPLICATE_TAG_KEY"] = "DUPLICATE_TAG_KEY";
@@ -184,47 +183,47 @@ export var InvalidInputExceptionReason;
184
183
  InvalidInputExceptionReason["TARGET_NOT_SUPPORTED"] = "TARGET_NOT_SUPPORTED";
185
184
  InvalidInputExceptionReason["UNRECOGNIZED_SERVICE_PRINCIPAL"] = "UNRECOGNIZED_SERVICE_PRINCIPAL";
186
185
  })(InvalidInputExceptionReason || (InvalidInputExceptionReason = {}));
187
- var InvalidInputException = (function (_super) {
188
- __extends(InvalidInputException, _super);
189
- function InvalidInputException(opts) {
190
- var _this = _super.call(this, __assign({ name: "InvalidInputException", $fault: "client" }, opts)) || this;
191
- _this.name = "InvalidInputException";
192
- _this.$fault = "client";
193
- Object.setPrototypeOf(_this, InvalidInputException.prototype);
194
- _this.Message = opts.Message;
195
- _this.Reason = opts.Reason;
196
- return _this;
197
- }
198
- return InvalidInputException;
199
- }(__BaseException));
200
- export { InvalidInputException };
201
- var ServiceException = (function (_super) {
202
- __extends(ServiceException, _super);
203
- function ServiceException(opts) {
204
- var _this = _super.call(this, __assign({ name: "ServiceException", $fault: "server" }, opts)) || this;
205
- _this.name = "ServiceException";
206
- _this.$fault = "server";
207
- Object.setPrototypeOf(_this, ServiceException.prototype);
208
- _this.Message = opts.Message;
209
- return _this;
210
- }
211
- return ServiceException;
212
- }(__BaseException));
213
- export { ServiceException };
214
- var TooManyRequestsException = (function (_super) {
215
- __extends(TooManyRequestsException, _super);
216
- function TooManyRequestsException(opts) {
217
- var _this = _super.call(this, __assign({ name: "TooManyRequestsException", $fault: "client" }, opts)) || this;
218
- _this.name = "TooManyRequestsException";
219
- _this.$fault = "client";
220
- Object.setPrototypeOf(_this, TooManyRequestsException.prototype);
221
- _this.Type = opts.Type;
222
- _this.Message = opts.Message;
223
- return _this;
224
- }
225
- return TooManyRequestsException;
226
- }(__BaseException));
227
- export { TooManyRequestsException };
186
+ export class InvalidInputException extends __BaseException {
187
+ constructor(opts) {
188
+ super({
189
+ name: "InvalidInputException",
190
+ $fault: "client",
191
+ ...opts,
192
+ });
193
+ this.name = "InvalidInputException";
194
+ this.$fault = "client";
195
+ Object.setPrototypeOf(this, InvalidInputException.prototype);
196
+ this.Message = opts.Message;
197
+ this.Reason = opts.Reason;
198
+ }
199
+ }
200
+ export class ServiceException extends __BaseException {
201
+ constructor(opts) {
202
+ super({
203
+ name: "ServiceException",
204
+ $fault: "server",
205
+ ...opts,
206
+ });
207
+ this.name = "ServiceException";
208
+ this.$fault = "server";
209
+ Object.setPrototypeOf(this, ServiceException.prototype);
210
+ this.Message = opts.Message;
211
+ }
212
+ }
213
+ export class TooManyRequestsException extends __BaseException {
214
+ constructor(opts) {
215
+ super({
216
+ name: "TooManyRequestsException",
217
+ $fault: "client",
218
+ ...opts,
219
+ });
220
+ this.name = "TooManyRequestsException";
221
+ this.$fault = "client";
222
+ Object.setPrototypeOf(this, TooManyRequestsException.prototype);
223
+ this.Type = opts.Type;
224
+ this.Message = opts.Message;
225
+ }
226
+ }
228
227
  export var AccountJoinedMethod;
229
228
  (function (AccountJoinedMethod) {
230
229
  AccountJoinedMethod["CREATED"] = "CREATED";
@@ -236,84 +235,84 @@ export var AccountStatus;
236
235
  AccountStatus["PENDING_CLOSURE"] = "PENDING_CLOSURE";
237
236
  AccountStatus["SUSPENDED"] = "SUSPENDED";
238
237
  })(AccountStatus || (AccountStatus = {}));
239
- var AccountAlreadyClosedException = (function (_super) {
240
- __extends(AccountAlreadyClosedException, _super);
241
- function AccountAlreadyClosedException(opts) {
242
- var _this = _super.call(this, __assign({ name: "AccountAlreadyClosedException", $fault: "client" }, opts)) || this;
243
- _this.name = "AccountAlreadyClosedException";
244
- _this.$fault = "client";
245
- Object.setPrototypeOf(_this, AccountAlreadyClosedException.prototype);
246
- _this.Message = opts.Message;
247
- return _this;
248
- }
249
- return AccountAlreadyClosedException;
250
- }(__BaseException));
251
- export { AccountAlreadyClosedException };
252
- var AccountAlreadyRegisteredException = (function (_super) {
253
- __extends(AccountAlreadyRegisteredException, _super);
254
- function AccountAlreadyRegisteredException(opts) {
255
- var _this = _super.call(this, __assign({ name: "AccountAlreadyRegisteredException", $fault: "client" }, opts)) || this;
256
- _this.name = "AccountAlreadyRegisteredException";
257
- _this.$fault = "client";
258
- Object.setPrototypeOf(_this, AccountAlreadyRegisteredException.prototype);
259
- _this.Message = opts.Message;
260
- return _this;
261
- }
262
- return AccountAlreadyRegisteredException;
263
- }(__BaseException));
264
- export { AccountAlreadyRegisteredException };
265
- var AccountNotFoundException = (function (_super) {
266
- __extends(AccountNotFoundException, _super);
267
- function AccountNotFoundException(opts) {
268
- var _this = _super.call(this, __assign({ name: "AccountNotFoundException", $fault: "client" }, opts)) || this;
269
- _this.name = "AccountNotFoundException";
270
- _this.$fault = "client";
271
- Object.setPrototypeOf(_this, AccountNotFoundException.prototype);
272
- _this.Message = opts.Message;
273
- return _this;
274
- }
275
- return AccountNotFoundException;
276
- }(__BaseException));
277
- export { AccountNotFoundException };
278
- var AccountNotRegisteredException = (function (_super) {
279
- __extends(AccountNotRegisteredException, _super);
280
- function AccountNotRegisteredException(opts) {
281
- var _this = _super.call(this, __assign({ name: "AccountNotRegisteredException", $fault: "client" }, opts)) || this;
282
- _this.name = "AccountNotRegisteredException";
283
- _this.$fault = "client";
284
- Object.setPrototypeOf(_this, AccountNotRegisteredException.prototype);
285
- _this.Message = opts.Message;
286
- return _this;
287
- }
288
- return AccountNotRegisteredException;
289
- }(__BaseException));
290
- export { AccountNotRegisteredException };
291
- var AccountOwnerNotVerifiedException = (function (_super) {
292
- __extends(AccountOwnerNotVerifiedException, _super);
293
- function AccountOwnerNotVerifiedException(opts) {
294
- var _this = _super.call(this, __assign({ name: "AccountOwnerNotVerifiedException", $fault: "client" }, opts)) || this;
295
- _this.name = "AccountOwnerNotVerifiedException";
296
- _this.$fault = "client";
297
- Object.setPrototypeOf(_this, AccountOwnerNotVerifiedException.prototype);
298
- _this.Message = opts.Message;
299
- return _this;
300
- }
301
- return AccountOwnerNotVerifiedException;
302
- }(__BaseException));
303
- export { AccountOwnerNotVerifiedException };
304
- var AlreadyInOrganizationException = (function (_super) {
305
- __extends(AlreadyInOrganizationException, _super);
306
- function AlreadyInOrganizationException(opts) {
307
- var _this = _super.call(this, __assign({ name: "AlreadyInOrganizationException", $fault: "client" }, opts)) || this;
308
- _this.name = "AlreadyInOrganizationException";
309
- _this.$fault = "client";
310
- Object.setPrototypeOf(_this, AlreadyInOrganizationException.prototype);
311
- _this.Message = opts.Message;
312
- return _this;
313
- }
314
- return AlreadyInOrganizationException;
315
- }(__BaseException));
316
- export { AlreadyInOrganizationException };
238
+ export class AccountAlreadyClosedException extends __BaseException {
239
+ constructor(opts) {
240
+ super({
241
+ name: "AccountAlreadyClosedException",
242
+ $fault: "client",
243
+ ...opts,
244
+ });
245
+ this.name = "AccountAlreadyClosedException";
246
+ this.$fault = "client";
247
+ Object.setPrototypeOf(this, AccountAlreadyClosedException.prototype);
248
+ this.Message = opts.Message;
249
+ }
250
+ }
251
+ export class AccountAlreadyRegisteredException extends __BaseException {
252
+ constructor(opts) {
253
+ super({
254
+ name: "AccountAlreadyRegisteredException",
255
+ $fault: "client",
256
+ ...opts,
257
+ });
258
+ this.name = "AccountAlreadyRegisteredException";
259
+ this.$fault = "client";
260
+ Object.setPrototypeOf(this, AccountAlreadyRegisteredException.prototype);
261
+ this.Message = opts.Message;
262
+ }
263
+ }
264
+ export class AccountNotFoundException extends __BaseException {
265
+ constructor(opts) {
266
+ super({
267
+ name: "AccountNotFoundException",
268
+ $fault: "client",
269
+ ...opts,
270
+ });
271
+ this.name = "AccountNotFoundException";
272
+ this.$fault = "client";
273
+ Object.setPrototypeOf(this, AccountNotFoundException.prototype);
274
+ this.Message = opts.Message;
275
+ }
276
+ }
277
+ export class AccountNotRegisteredException extends __BaseException {
278
+ constructor(opts) {
279
+ super({
280
+ name: "AccountNotRegisteredException",
281
+ $fault: "client",
282
+ ...opts,
283
+ });
284
+ this.name = "AccountNotRegisteredException";
285
+ this.$fault = "client";
286
+ Object.setPrototypeOf(this, AccountNotRegisteredException.prototype);
287
+ this.Message = opts.Message;
288
+ }
289
+ }
290
+ export class AccountOwnerNotVerifiedException extends __BaseException {
291
+ constructor(opts) {
292
+ super({
293
+ name: "AccountOwnerNotVerifiedException",
294
+ $fault: "client",
295
+ ...opts,
296
+ });
297
+ this.name = "AccountOwnerNotVerifiedException";
298
+ this.$fault = "client";
299
+ Object.setPrototypeOf(this, AccountOwnerNotVerifiedException.prototype);
300
+ this.Message = opts.Message;
301
+ }
302
+ }
303
+ export class AlreadyInOrganizationException extends __BaseException {
304
+ constructor(opts) {
305
+ super({
306
+ name: "AlreadyInOrganizationException",
307
+ $fault: "client",
308
+ ...opts,
309
+ });
310
+ this.name = "AlreadyInOrganizationException";
311
+ this.$fault = "client";
312
+ Object.setPrototypeOf(this, AlreadyInOrganizationException.prototype);
313
+ this.Message = opts.Message;
314
+ }
315
+ }
317
316
  export var ConstraintViolationExceptionReason;
318
317
  (function (ConstraintViolationExceptionReason) {
319
318
  ConstraintViolationExceptionReason["ACCOUNT_CANNOT_LEAVE_ORGANIZATION"] = "ACCOUNT_CANNOT_LEAVE_ORGANIZATION";
@@ -350,111 +349,111 @@ export var ConstraintViolationExceptionReason;
350
349
  ConstraintViolationExceptionReason["TAG_POLICY_VIOLATION"] = "TAG_POLICY_VIOLATION";
351
350
  ConstraintViolationExceptionReason["WAIT_PERIOD_ACTIVE"] = "WAIT_PERIOD_ACTIVE";
352
351
  })(ConstraintViolationExceptionReason || (ConstraintViolationExceptionReason = {}));
353
- var ConstraintViolationException = (function (_super) {
354
- __extends(ConstraintViolationException, _super);
355
- function ConstraintViolationException(opts) {
356
- var _this = _super.call(this, __assign({ name: "ConstraintViolationException", $fault: "client" }, opts)) || this;
357
- _this.name = "ConstraintViolationException";
358
- _this.$fault = "client";
359
- Object.setPrototypeOf(_this, ConstraintViolationException.prototype);
360
- _this.Message = opts.Message;
361
- _this.Reason = opts.Reason;
362
- return _this;
363
- }
364
- return ConstraintViolationException;
365
- }(__BaseException));
366
- export { ConstraintViolationException };
367
- var DuplicatePolicyAttachmentException = (function (_super) {
368
- __extends(DuplicatePolicyAttachmentException, _super);
369
- function DuplicatePolicyAttachmentException(opts) {
370
- var _this = _super.call(this, __assign({ name: "DuplicatePolicyAttachmentException", $fault: "client" }, opts)) || this;
371
- _this.name = "DuplicatePolicyAttachmentException";
372
- _this.$fault = "client";
373
- Object.setPrototypeOf(_this, DuplicatePolicyAttachmentException.prototype);
374
- _this.Message = opts.Message;
375
- return _this;
376
- }
377
- return DuplicatePolicyAttachmentException;
378
- }(__BaseException));
379
- export { DuplicatePolicyAttachmentException };
380
- var PolicyChangesInProgressException = (function (_super) {
381
- __extends(PolicyChangesInProgressException, _super);
382
- function PolicyChangesInProgressException(opts) {
383
- var _this = _super.call(this, __assign({ name: "PolicyChangesInProgressException", $fault: "client" }, opts)) || this;
384
- _this.name = "PolicyChangesInProgressException";
385
- _this.$fault = "client";
386
- Object.setPrototypeOf(_this, PolicyChangesInProgressException.prototype);
387
- _this.Message = opts.Message;
388
- return _this;
389
- }
390
- return PolicyChangesInProgressException;
391
- }(__BaseException));
392
- export { PolicyChangesInProgressException };
393
- var PolicyNotFoundException = (function (_super) {
394
- __extends(PolicyNotFoundException, _super);
395
- function PolicyNotFoundException(opts) {
396
- var _this = _super.call(this, __assign({ name: "PolicyNotFoundException", $fault: "client" }, opts)) || this;
397
- _this.name = "PolicyNotFoundException";
398
- _this.$fault = "client";
399
- Object.setPrototypeOf(_this, PolicyNotFoundException.prototype);
400
- _this.Message = opts.Message;
401
- return _this;
402
- }
403
- return PolicyNotFoundException;
404
- }(__BaseException));
405
- export { PolicyNotFoundException };
406
- var PolicyTypeNotEnabledException = (function (_super) {
407
- __extends(PolicyTypeNotEnabledException, _super);
408
- function PolicyTypeNotEnabledException(opts) {
409
- var _this = _super.call(this, __assign({ name: "PolicyTypeNotEnabledException", $fault: "client" }, opts)) || this;
410
- _this.name = "PolicyTypeNotEnabledException";
411
- _this.$fault = "client";
412
- Object.setPrototypeOf(_this, PolicyTypeNotEnabledException.prototype);
413
- _this.Message = opts.Message;
414
- return _this;
415
- }
416
- return PolicyTypeNotEnabledException;
417
- }(__BaseException));
418
- export { PolicyTypeNotEnabledException };
419
- var TargetNotFoundException = (function (_super) {
420
- __extends(TargetNotFoundException, _super);
421
- function TargetNotFoundException(opts) {
422
- var _this = _super.call(this, __assign({ name: "TargetNotFoundException", $fault: "client" }, opts)) || this;
423
- _this.name = "TargetNotFoundException";
424
- _this.$fault = "client";
425
- Object.setPrototypeOf(_this, TargetNotFoundException.prototype);
426
- _this.Message = opts.Message;
427
- return _this;
428
- }
429
- return TargetNotFoundException;
430
- }(__BaseException));
431
- export { TargetNotFoundException };
432
- var UnsupportedAPIEndpointException = (function (_super) {
433
- __extends(UnsupportedAPIEndpointException, _super);
434
- function UnsupportedAPIEndpointException(opts) {
435
- var _this = _super.call(this, __assign({ name: "UnsupportedAPIEndpointException", $fault: "client" }, opts)) || this;
436
- _this.name = "UnsupportedAPIEndpointException";
437
- _this.$fault = "client";
438
- Object.setPrototypeOf(_this, UnsupportedAPIEndpointException.prototype);
439
- _this.Message = opts.Message;
440
- return _this;
441
- }
442
- return UnsupportedAPIEndpointException;
443
- }(__BaseException));
444
- export { UnsupportedAPIEndpointException };
445
- var ConflictException = (function (_super) {
446
- __extends(ConflictException, _super);
447
- function ConflictException(opts) {
448
- var _this = _super.call(this, __assign({ name: "ConflictException", $fault: "client" }, opts)) || this;
449
- _this.name = "ConflictException";
450
- _this.$fault = "client";
451
- Object.setPrototypeOf(_this, ConflictException.prototype);
452
- _this.Message = opts.Message;
453
- return _this;
454
- }
455
- return ConflictException;
456
- }(__BaseException));
457
- export { ConflictException };
352
+ export class ConstraintViolationException extends __BaseException {
353
+ constructor(opts) {
354
+ super({
355
+ name: "ConstraintViolationException",
356
+ $fault: "client",
357
+ ...opts,
358
+ });
359
+ this.name = "ConstraintViolationException";
360
+ this.$fault = "client";
361
+ Object.setPrototypeOf(this, ConstraintViolationException.prototype);
362
+ this.Message = opts.Message;
363
+ this.Reason = opts.Reason;
364
+ }
365
+ }
366
+ export class DuplicatePolicyAttachmentException extends __BaseException {
367
+ constructor(opts) {
368
+ super({
369
+ name: "DuplicatePolicyAttachmentException",
370
+ $fault: "client",
371
+ ...opts,
372
+ });
373
+ this.name = "DuplicatePolicyAttachmentException";
374
+ this.$fault = "client";
375
+ Object.setPrototypeOf(this, DuplicatePolicyAttachmentException.prototype);
376
+ this.Message = opts.Message;
377
+ }
378
+ }
379
+ export class PolicyChangesInProgressException extends __BaseException {
380
+ constructor(opts) {
381
+ super({
382
+ name: "PolicyChangesInProgressException",
383
+ $fault: "client",
384
+ ...opts,
385
+ });
386
+ this.name = "PolicyChangesInProgressException";
387
+ this.$fault = "client";
388
+ Object.setPrototypeOf(this, PolicyChangesInProgressException.prototype);
389
+ this.Message = opts.Message;
390
+ }
391
+ }
392
+ export class PolicyNotFoundException extends __BaseException {
393
+ constructor(opts) {
394
+ super({
395
+ name: "PolicyNotFoundException",
396
+ $fault: "client",
397
+ ...opts,
398
+ });
399
+ this.name = "PolicyNotFoundException";
400
+ this.$fault = "client";
401
+ Object.setPrototypeOf(this, PolicyNotFoundException.prototype);
402
+ this.Message = opts.Message;
403
+ }
404
+ }
405
+ export class PolicyTypeNotEnabledException extends __BaseException {
406
+ constructor(opts) {
407
+ super({
408
+ name: "PolicyTypeNotEnabledException",
409
+ $fault: "client",
410
+ ...opts,
411
+ });
412
+ this.name = "PolicyTypeNotEnabledException";
413
+ this.$fault = "client";
414
+ Object.setPrototypeOf(this, PolicyTypeNotEnabledException.prototype);
415
+ this.Message = opts.Message;
416
+ }
417
+ }
418
+ export class TargetNotFoundException extends __BaseException {
419
+ constructor(opts) {
420
+ super({
421
+ name: "TargetNotFoundException",
422
+ $fault: "client",
423
+ ...opts,
424
+ });
425
+ this.name = "TargetNotFoundException";
426
+ this.$fault = "client";
427
+ Object.setPrototypeOf(this, TargetNotFoundException.prototype);
428
+ this.Message = opts.Message;
429
+ }
430
+ }
431
+ export class UnsupportedAPIEndpointException extends __BaseException {
432
+ constructor(opts) {
433
+ super({
434
+ name: "UnsupportedAPIEndpointException",
435
+ $fault: "client",
436
+ ...opts,
437
+ });
438
+ this.name = "UnsupportedAPIEndpointException";
439
+ this.$fault = "client";
440
+ Object.setPrototypeOf(this, UnsupportedAPIEndpointException.prototype);
441
+ this.Message = opts.Message;
442
+ }
443
+ }
444
+ export class ConflictException extends __BaseException {
445
+ constructor(opts) {
446
+ super({
447
+ name: "ConflictException",
448
+ $fault: "client",
449
+ ...opts,
450
+ });
451
+ this.name = "ConflictException";
452
+ this.$fault = "client";
453
+ Object.setPrototypeOf(this, ConflictException.prototype);
454
+ this.Message = opts.Message;
455
+ }
456
+ }
458
457
  export var IAMUserAccessToBilling;
459
458
  (function (IAMUserAccessToBilling) {
460
459
  IAMUserAccessToBilling["ALLOW"] = "ALLOW";
@@ -483,19 +482,19 @@ export var CreateAccountState;
483
482
  CreateAccountState["IN_PROGRESS"] = "IN_PROGRESS";
484
483
  CreateAccountState["SUCCEEDED"] = "SUCCEEDED";
485
484
  })(CreateAccountState || (CreateAccountState = {}));
486
- var FinalizingOrganizationException = (function (_super) {
487
- __extends(FinalizingOrganizationException, _super);
488
- function FinalizingOrganizationException(opts) {
489
- var _this = _super.call(this, __assign({ name: "FinalizingOrganizationException", $fault: "client" }, opts)) || this;
490
- _this.name = "FinalizingOrganizationException";
491
- _this.$fault = "client";
492
- Object.setPrototypeOf(_this, FinalizingOrganizationException.prototype);
493
- _this.Message = opts.Message;
494
- return _this;
495
- }
496
- return FinalizingOrganizationException;
497
- }(__BaseException));
498
- export { FinalizingOrganizationException };
485
+ export class FinalizingOrganizationException extends __BaseException {
486
+ constructor(opts) {
487
+ super({
488
+ name: "FinalizingOrganizationException",
489
+ $fault: "client",
490
+ ...opts,
491
+ });
492
+ this.name = "FinalizingOrganizationException";
493
+ this.$fault = "client";
494
+ Object.setPrototypeOf(this, FinalizingOrganizationException.prototype);
495
+ this.Message = opts.Message;
496
+ }
497
+ }
499
498
  export var OrganizationFeatureSet;
500
499
  (function (OrganizationFeatureSet) {
501
500
  OrganizationFeatureSet["ALL"] = "ALL";
@@ -514,238 +513,238 @@ export var PolicyType;
514
513
  PolicyType["SERVICE_CONTROL_POLICY"] = "SERVICE_CONTROL_POLICY";
515
514
  PolicyType["TAG_POLICY"] = "TAG_POLICY";
516
515
  })(PolicyType || (PolicyType = {}));
517
- var DuplicateOrganizationalUnitException = (function (_super) {
518
- __extends(DuplicateOrganizationalUnitException, _super);
519
- function DuplicateOrganizationalUnitException(opts) {
520
- var _this = _super.call(this, __assign({ name: "DuplicateOrganizationalUnitException", $fault: "client" }, opts)) || this;
521
- _this.name = "DuplicateOrganizationalUnitException";
522
- _this.$fault = "client";
523
- Object.setPrototypeOf(_this, DuplicateOrganizationalUnitException.prototype);
524
- _this.Message = opts.Message;
525
- return _this;
526
- }
527
- return DuplicateOrganizationalUnitException;
528
- }(__BaseException));
529
- export { DuplicateOrganizationalUnitException };
530
- var ParentNotFoundException = (function (_super) {
531
- __extends(ParentNotFoundException, _super);
532
- function ParentNotFoundException(opts) {
533
- var _this = _super.call(this, __assign({ name: "ParentNotFoundException", $fault: "client" }, opts)) || this;
534
- _this.name = "ParentNotFoundException";
535
- _this.$fault = "client";
536
- Object.setPrototypeOf(_this, ParentNotFoundException.prototype);
537
- _this.Message = opts.Message;
538
- return _this;
539
- }
540
- return ParentNotFoundException;
541
- }(__BaseException));
542
- export { ParentNotFoundException };
543
- var DuplicatePolicyException = (function (_super) {
544
- __extends(DuplicatePolicyException, _super);
545
- function DuplicatePolicyException(opts) {
546
- var _this = _super.call(this, __assign({ name: "DuplicatePolicyException", $fault: "client" }, opts)) || this;
547
- _this.name = "DuplicatePolicyException";
548
- _this.$fault = "client";
549
- Object.setPrototypeOf(_this, DuplicatePolicyException.prototype);
550
- _this.Message = opts.Message;
551
- return _this;
552
- }
553
- return DuplicatePolicyException;
554
- }(__BaseException));
555
- export { DuplicatePolicyException };
556
- var MalformedPolicyDocumentException = (function (_super) {
557
- __extends(MalformedPolicyDocumentException, _super);
558
- function MalformedPolicyDocumentException(opts) {
559
- var _this = _super.call(this, __assign({ name: "MalformedPolicyDocumentException", $fault: "client" }, opts)) || this;
560
- _this.name = "MalformedPolicyDocumentException";
561
- _this.$fault = "client";
562
- Object.setPrototypeOf(_this, MalformedPolicyDocumentException.prototype);
563
- _this.Message = opts.Message;
564
- return _this;
565
- }
566
- return MalformedPolicyDocumentException;
567
- }(__BaseException));
568
- export { MalformedPolicyDocumentException };
569
- var PolicyTypeNotAvailableForOrganizationException = (function (_super) {
570
- __extends(PolicyTypeNotAvailableForOrganizationException, _super);
571
- function PolicyTypeNotAvailableForOrganizationException(opts) {
572
- var _this = _super.call(this, __assign({ name: "PolicyTypeNotAvailableForOrganizationException", $fault: "client" }, opts)) || this;
573
- _this.name = "PolicyTypeNotAvailableForOrganizationException";
574
- _this.$fault = "client";
575
- Object.setPrototypeOf(_this, PolicyTypeNotAvailableForOrganizationException.prototype);
576
- _this.Message = opts.Message;
577
- return _this;
578
- }
579
- return PolicyTypeNotAvailableForOrganizationException;
580
- }(__BaseException));
581
- export { PolicyTypeNotAvailableForOrganizationException };
582
- var OrganizationNotEmptyException = (function (_super) {
583
- __extends(OrganizationNotEmptyException, _super);
584
- function OrganizationNotEmptyException(opts) {
585
- var _this = _super.call(this, __assign({ name: "OrganizationNotEmptyException", $fault: "client" }, opts)) || this;
586
- _this.name = "OrganizationNotEmptyException";
587
- _this.$fault = "client";
588
- Object.setPrototypeOf(_this, OrganizationNotEmptyException.prototype);
589
- _this.Message = opts.Message;
590
- return _this;
591
- }
592
- return OrganizationNotEmptyException;
593
- }(__BaseException));
594
- export { OrganizationNotEmptyException };
595
- var OrganizationalUnitNotEmptyException = (function (_super) {
596
- __extends(OrganizationalUnitNotEmptyException, _super);
597
- function OrganizationalUnitNotEmptyException(opts) {
598
- var _this = _super.call(this, __assign({ name: "OrganizationalUnitNotEmptyException", $fault: "client" }, opts)) || this;
599
- _this.name = "OrganizationalUnitNotEmptyException";
600
- _this.$fault = "client";
601
- Object.setPrototypeOf(_this, OrganizationalUnitNotEmptyException.prototype);
602
- _this.Message = opts.Message;
603
- return _this;
604
- }
605
- return OrganizationalUnitNotEmptyException;
606
- }(__BaseException));
607
- export { OrganizationalUnitNotEmptyException };
608
- var OrganizationalUnitNotFoundException = (function (_super) {
609
- __extends(OrganizationalUnitNotFoundException, _super);
610
- function OrganizationalUnitNotFoundException(opts) {
611
- var _this = _super.call(this, __assign({ name: "OrganizationalUnitNotFoundException", $fault: "client" }, opts)) || this;
612
- _this.name = "OrganizationalUnitNotFoundException";
613
- _this.$fault = "client";
614
- Object.setPrototypeOf(_this, OrganizationalUnitNotFoundException.prototype);
615
- _this.Message = opts.Message;
616
- return _this;
617
- }
618
- return OrganizationalUnitNotFoundException;
619
- }(__BaseException));
620
- export { OrganizationalUnitNotFoundException };
621
- var PolicyInUseException = (function (_super) {
622
- __extends(PolicyInUseException, _super);
623
- function PolicyInUseException(opts) {
624
- var _this = _super.call(this, __assign({ name: "PolicyInUseException", $fault: "client" }, opts)) || this;
625
- _this.name = "PolicyInUseException";
626
- _this.$fault = "client";
627
- Object.setPrototypeOf(_this, PolicyInUseException.prototype);
628
- _this.Message = opts.Message;
629
- return _this;
630
- }
631
- return PolicyInUseException;
632
- }(__BaseException));
633
- export { PolicyInUseException };
634
- var CreateAccountStatusNotFoundException = (function (_super) {
635
- __extends(CreateAccountStatusNotFoundException, _super);
636
- function CreateAccountStatusNotFoundException(opts) {
637
- var _this = _super.call(this, __assign({ name: "CreateAccountStatusNotFoundException", $fault: "client" }, opts)) || this;
638
- _this.name = "CreateAccountStatusNotFoundException";
639
- _this.$fault = "client";
640
- Object.setPrototypeOf(_this, CreateAccountStatusNotFoundException.prototype);
641
- _this.Message = opts.Message;
642
- return _this;
643
- }
644
- return CreateAccountStatusNotFoundException;
645
- }(__BaseException));
646
- export { CreateAccountStatusNotFoundException };
516
+ export class DuplicateOrganizationalUnitException extends __BaseException {
517
+ constructor(opts) {
518
+ super({
519
+ name: "DuplicateOrganizationalUnitException",
520
+ $fault: "client",
521
+ ...opts,
522
+ });
523
+ this.name = "DuplicateOrganizationalUnitException";
524
+ this.$fault = "client";
525
+ Object.setPrototypeOf(this, DuplicateOrganizationalUnitException.prototype);
526
+ this.Message = opts.Message;
527
+ }
528
+ }
529
+ export class ParentNotFoundException extends __BaseException {
530
+ constructor(opts) {
531
+ super({
532
+ name: "ParentNotFoundException",
533
+ $fault: "client",
534
+ ...opts,
535
+ });
536
+ this.name = "ParentNotFoundException";
537
+ this.$fault = "client";
538
+ Object.setPrototypeOf(this, ParentNotFoundException.prototype);
539
+ this.Message = opts.Message;
540
+ }
541
+ }
542
+ export class DuplicatePolicyException extends __BaseException {
543
+ constructor(opts) {
544
+ super({
545
+ name: "DuplicatePolicyException",
546
+ $fault: "client",
547
+ ...opts,
548
+ });
549
+ this.name = "DuplicatePolicyException";
550
+ this.$fault = "client";
551
+ Object.setPrototypeOf(this, DuplicatePolicyException.prototype);
552
+ this.Message = opts.Message;
553
+ }
554
+ }
555
+ export class MalformedPolicyDocumentException extends __BaseException {
556
+ constructor(opts) {
557
+ super({
558
+ name: "MalformedPolicyDocumentException",
559
+ $fault: "client",
560
+ ...opts,
561
+ });
562
+ this.name = "MalformedPolicyDocumentException";
563
+ this.$fault = "client";
564
+ Object.setPrototypeOf(this, MalformedPolicyDocumentException.prototype);
565
+ this.Message = opts.Message;
566
+ }
567
+ }
568
+ export class PolicyTypeNotAvailableForOrganizationException extends __BaseException {
569
+ constructor(opts) {
570
+ super({
571
+ name: "PolicyTypeNotAvailableForOrganizationException",
572
+ $fault: "client",
573
+ ...opts,
574
+ });
575
+ this.name = "PolicyTypeNotAvailableForOrganizationException";
576
+ this.$fault = "client";
577
+ Object.setPrototypeOf(this, PolicyTypeNotAvailableForOrganizationException.prototype);
578
+ this.Message = opts.Message;
579
+ }
580
+ }
581
+ export class OrganizationNotEmptyException extends __BaseException {
582
+ constructor(opts) {
583
+ super({
584
+ name: "OrganizationNotEmptyException",
585
+ $fault: "client",
586
+ ...opts,
587
+ });
588
+ this.name = "OrganizationNotEmptyException";
589
+ this.$fault = "client";
590
+ Object.setPrototypeOf(this, OrganizationNotEmptyException.prototype);
591
+ this.Message = opts.Message;
592
+ }
593
+ }
594
+ export class OrganizationalUnitNotEmptyException extends __BaseException {
595
+ constructor(opts) {
596
+ super({
597
+ name: "OrganizationalUnitNotEmptyException",
598
+ $fault: "client",
599
+ ...opts,
600
+ });
601
+ this.name = "OrganizationalUnitNotEmptyException";
602
+ this.$fault = "client";
603
+ Object.setPrototypeOf(this, OrganizationalUnitNotEmptyException.prototype);
604
+ this.Message = opts.Message;
605
+ }
606
+ }
607
+ export class OrganizationalUnitNotFoundException extends __BaseException {
608
+ constructor(opts) {
609
+ super({
610
+ name: "OrganizationalUnitNotFoundException",
611
+ $fault: "client",
612
+ ...opts,
613
+ });
614
+ this.name = "OrganizationalUnitNotFoundException";
615
+ this.$fault = "client";
616
+ Object.setPrototypeOf(this, OrganizationalUnitNotFoundException.prototype);
617
+ this.Message = opts.Message;
618
+ }
619
+ }
620
+ export class PolicyInUseException extends __BaseException {
621
+ constructor(opts) {
622
+ super({
623
+ name: "PolicyInUseException",
624
+ $fault: "client",
625
+ ...opts,
626
+ });
627
+ this.name = "PolicyInUseException";
628
+ this.$fault = "client";
629
+ Object.setPrototypeOf(this, PolicyInUseException.prototype);
630
+ this.Message = opts.Message;
631
+ }
632
+ }
633
+ export class CreateAccountStatusNotFoundException extends __BaseException {
634
+ constructor(opts) {
635
+ super({
636
+ name: "CreateAccountStatusNotFoundException",
637
+ $fault: "client",
638
+ ...opts,
639
+ });
640
+ this.name = "CreateAccountStatusNotFoundException";
641
+ this.$fault = "client";
642
+ Object.setPrototypeOf(this, CreateAccountStatusNotFoundException.prototype);
643
+ this.Message = opts.Message;
644
+ }
645
+ }
647
646
  export var EffectivePolicyType;
648
647
  (function (EffectivePolicyType) {
649
648
  EffectivePolicyType["AISERVICES_OPT_OUT_POLICY"] = "AISERVICES_OPT_OUT_POLICY";
650
649
  EffectivePolicyType["BACKUP_POLICY"] = "BACKUP_POLICY";
651
650
  EffectivePolicyType["TAG_POLICY"] = "TAG_POLICY";
652
651
  })(EffectivePolicyType || (EffectivePolicyType = {}));
653
- var EffectivePolicyNotFoundException = (function (_super) {
654
- __extends(EffectivePolicyNotFoundException, _super);
655
- function EffectivePolicyNotFoundException(opts) {
656
- var _this = _super.call(this, __assign({ name: "EffectivePolicyNotFoundException", $fault: "client" }, opts)) || this;
657
- _this.name = "EffectivePolicyNotFoundException";
658
- _this.$fault = "client";
659
- Object.setPrototypeOf(_this, EffectivePolicyNotFoundException.prototype);
660
- _this.Message = opts.Message;
661
- return _this;
662
- }
663
- return EffectivePolicyNotFoundException;
664
- }(__BaseException));
665
- export { EffectivePolicyNotFoundException };
666
- var PolicyNotAttachedException = (function (_super) {
667
- __extends(PolicyNotAttachedException, _super);
668
- function PolicyNotAttachedException(opts) {
669
- var _this = _super.call(this, __assign({ name: "PolicyNotAttachedException", $fault: "client" }, opts)) || this;
670
- _this.name = "PolicyNotAttachedException";
671
- _this.$fault = "client";
672
- Object.setPrototypeOf(_this, PolicyNotAttachedException.prototype);
673
- _this.Message = opts.Message;
674
- return _this;
675
- }
676
- return PolicyNotAttachedException;
677
- }(__BaseException));
678
- export { PolicyNotAttachedException };
679
- var RootNotFoundException = (function (_super) {
680
- __extends(RootNotFoundException, _super);
681
- function RootNotFoundException(opts) {
682
- var _this = _super.call(this, __assign({ name: "RootNotFoundException", $fault: "client" }, opts)) || this;
683
- _this.name = "RootNotFoundException";
684
- _this.$fault = "client";
685
- Object.setPrototypeOf(_this, RootNotFoundException.prototype);
686
- _this.Message = opts.Message;
687
- return _this;
688
- }
689
- return RootNotFoundException;
690
- }(__BaseException));
691
- export { RootNotFoundException };
692
- var PolicyTypeAlreadyEnabledException = (function (_super) {
693
- __extends(PolicyTypeAlreadyEnabledException, _super);
694
- function PolicyTypeAlreadyEnabledException(opts) {
695
- var _this = _super.call(this, __assign({ name: "PolicyTypeAlreadyEnabledException", $fault: "client" }, opts)) || this;
696
- _this.name = "PolicyTypeAlreadyEnabledException";
697
- _this.$fault = "client";
698
- Object.setPrototypeOf(_this, PolicyTypeAlreadyEnabledException.prototype);
699
- _this.Message = opts.Message;
700
- return _this;
701
- }
702
- return PolicyTypeAlreadyEnabledException;
703
- }(__BaseException));
704
- export { PolicyTypeAlreadyEnabledException };
705
- var DuplicateHandshakeException = (function (_super) {
706
- __extends(DuplicateHandshakeException, _super);
707
- function DuplicateHandshakeException(opts) {
708
- var _this = _super.call(this, __assign({ name: "DuplicateHandshakeException", $fault: "client" }, opts)) || this;
709
- _this.name = "DuplicateHandshakeException";
710
- _this.$fault = "client";
711
- Object.setPrototypeOf(_this, DuplicateHandshakeException.prototype);
712
- _this.Message = opts.Message;
713
- return _this;
714
- }
715
- return DuplicateHandshakeException;
716
- }(__BaseException));
717
- export { DuplicateHandshakeException };
718
- var MasterCannotLeaveOrganizationException = (function (_super) {
719
- __extends(MasterCannotLeaveOrganizationException, _super);
720
- function MasterCannotLeaveOrganizationException(opts) {
721
- var _this = _super.call(this, __assign({ name: "MasterCannotLeaveOrganizationException", $fault: "client" }, opts)) || this;
722
- _this.name = "MasterCannotLeaveOrganizationException";
723
- _this.$fault = "client";
724
- Object.setPrototypeOf(_this, MasterCannotLeaveOrganizationException.prototype);
725
- _this.Message = opts.Message;
726
- return _this;
727
- }
728
- return MasterCannotLeaveOrganizationException;
729
- }(__BaseException));
730
- export { MasterCannotLeaveOrganizationException };
652
+ export class EffectivePolicyNotFoundException extends __BaseException {
653
+ constructor(opts) {
654
+ super({
655
+ name: "EffectivePolicyNotFoundException",
656
+ $fault: "client",
657
+ ...opts,
658
+ });
659
+ this.name = "EffectivePolicyNotFoundException";
660
+ this.$fault = "client";
661
+ Object.setPrototypeOf(this, EffectivePolicyNotFoundException.prototype);
662
+ this.Message = opts.Message;
663
+ }
664
+ }
665
+ export class PolicyNotAttachedException extends __BaseException {
666
+ constructor(opts) {
667
+ super({
668
+ name: "PolicyNotAttachedException",
669
+ $fault: "client",
670
+ ...opts,
671
+ });
672
+ this.name = "PolicyNotAttachedException";
673
+ this.$fault = "client";
674
+ Object.setPrototypeOf(this, PolicyNotAttachedException.prototype);
675
+ this.Message = opts.Message;
676
+ }
677
+ }
678
+ export class RootNotFoundException extends __BaseException {
679
+ constructor(opts) {
680
+ super({
681
+ name: "RootNotFoundException",
682
+ $fault: "client",
683
+ ...opts,
684
+ });
685
+ this.name = "RootNotFoundException";
686
+ this.$fault = "client";
687
+ Object.setPrototypeOf(this, RootNotFoundException.prototype);
688
+ this.Message = opts.Message;
689
+ }
690
+ }
691
+ export class PolicyTypeAlreadyEnabledException extends __BaseException {
692
+ constructor(opts) {
693
+ super({
694
+ name: "PolicyTypeAlreadyEnabledException",
695
+ $fault: "client",
696
+ ...opts,
697
+ });
698
+ this.name = "PolicyTypeAlreadyEnabledException";
699
+ this.$fault = "client";
700
+ Object.setPrototypeOf(this, PolicyTypeAlreadyEnabledException.prototype);
701
+ this.Message = opts.Message;
702
+ }
703
+ }
704
+ export class DuplicateHandshakeException extends __BaseException {
705
+ constructor(opts) {
706
+ super({
707
+ name: "DuplicateHandshakeException",
708
+ $fault: "client",
709
+ ...opts,
710
+ });
711
+ this.name = "DuplicateHandshakeException";
712
+ this.$fault = "client";
713
+ Object.setPrototypeOf(this, DuplicateHandshakeException.prototype);
714
+ this.Message = opts.Message;
715
+ }
716
+ }
717
+ export class MasterCannotLeaveOrganizationException extends __BaseException {
718
+ constructor(opts) {
719
+ super({
720
+ name: "MasterCannotLeaveOrganizationException",
721
+ $fault: "client",
722
+ ...opts,
723
+ });
724
+ this.name = "MasterCannotLeaveOrganizationException";
725
+ this.$fault = "client";
726
+ Object.setPrototypeOf(this, MasterCannotLeaveOrganizationException.prototype);
727
+ this.Message = opts.Message;
728
+ }
729
+ }
731
730
  export var ChildType;
732
731
  (function (ChildType) {
733
732
  ChildType["ACCOUNT"] = "ACCOUNT";
734
733
  ChildType["ORGANIZATIONAL_UNIT"] = "ORGANIZATIONAL_UNIT";
735
734
  })(ChildType || (ChildType = {}));
736
- var ChildNotFoundException = (function (_super) {
737
- __extends(ChildNotFoundException, _super);
738
- function ChildNotFoundException(opts) {
739
- var _this = _super.call(this, __assign({ name: "ChildNotFoundException", $fault: "client" }, opts)) || this;
740
- _this.name = "ChildNotFoundException";
741
- _this.$fault = "client";
742
- Object.setPrototypeOf(_this, ChildNotFoundException.prototype);
743
- _this.Message = opts.Message;
744
- return _this;
745
- }
746
- return ChildNotFoundException;
747
- }(__BaseException));
748
- export { ChildNotFoundException };
735
+ export class ChildNotFoundException extends __BaseException {
736
+ constructor(opts) {
737
+ super({
738
+ name: "ChildNotFoundException",
739
+ $fault: "client",
740
+ ...opts,
741
+ });
742
+ this.name = "ChildNotFoundException";
743
+ this.$fault = "client";
744
+ Object.setPrototypeOf(this, ChildNotFoundException.prototype);
745
+ this.Message = opts.Message;
746
+ }
747
+ }
749
748
  export var ParentType;
750
749
  (function (ParentType) {
751
750
  ParentType["ORGANIZATIONAL_UNIT"] = "ORGANIZATIONAL_UNIT";
@@ -757,158 +756,403 @@ export var TargetType;
757
756
  TargetType["ORGANIZATIONAL_UNIT"] = "ORGANIZATIONAL_UNIT";
758
757
  TargetType["ROOT"] = "ROOT";
759
758
  })(TargetType || (TargetType = {}));
760
- var DestinationParentNotFoundException = (function (_super) {
761
- __extends(DestinationParentNotFoundException, _super);
762
- function DestinationParentNotFoundException(opts) {
763
- var _this = _super.call(this, __assign({ name: "DestinationParentNotFoundException", $fault: "client" }, opts)) || this;
764
- _this.name = "DestinationParentNotFoundException";
765
- _this.$fault = "client";
766
- Object.setPrototypeOf(_this, DestinationParentNotFoundException.prototype);
767
- _this.Message = opts.Message;
768
- return _this;
769
- }
770
- return DestinationParentNotFoundException;
771
- }(__BaseException));
772
- export { DestinationParentNotFoundException };
773
- var DuplicateAccountException = (function (_super) {
774
- __extends(DuplicateAccountException, _super);
775
- function DuplicateAccountException(opts) {
776
- var _this = _super.call(this, __assign({ name: "DuplicateAccountException", $fault: "client" }, opts)) || this;
777
- _this.name = "DuplicateAccountException";
778
- _this.$fault = "client";
779
- Object.setPrototypeOf(_this, DuplicateAccountException.prototype);
780
- _this.Message = opts.Message;
781
- return _this;
782
- }
783
- return DuplicateAccountException;
784
- }(__BaseException));
785
- export { DuplicateAccountException };
786
- var SourceParentNotFoundException = (function (_super) {
787
- __extends(SourceParentNotFoundException, _super);
788
- function SourceParentNotFoundException(opts) {
789
- var _this = _super.call(this, __assign({ name: "SourceParentNotFoundException", $fault: "client" }, opts)) || this;
790
- _this.name = "SourceParentNotFoundException";
791
- _this.$fault = "client";
792
- Object.setPrototypeOf(_this, SourceParentNotFoundException.prototype);
793
- _this.Message = opts.Message;
794
- return _this;
795
- }
796
- return SourceParentNotFoundException;
797
- }(__BaseException));
798
- export { SourceParentNotFoundException };
799
- export var AcceptHandshakeRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
800
- export var HandshakePartyFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Id && { Id: SENSITIVE_STRING }))); };
801
- export var AccountFilterSensitiveLog = function (obj) { return (__assign(__assign(__assign({}, obj), (obj.Email && { Email: SENSITIVE_STRING })), (obj.Name && { Name: SENSITIVE_STRING }))); };
802
- export var AttachPolicyRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
803
- export var CancelHandshakeRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
804
- export var CloseAccountRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
805
- export var TagFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
806
- export var CreateAccountRequestFilterSensitiveLog = function (obj) { return (__assign(__assign(__assign({}, obj), (obj.Email && { Email: SENSITIVE_STRING })), (obj.AccountName && { AccountName: SENSITIVE_STRING }))); };
807
- export var CreateAccountStatusFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.AccountName && { AccountName: SENSITIVE_STRING }))); };
808
- export var CreateAccountResponseFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.CreateAccountStatus && {
809
- CreateAccountStatus: CreateAccountStatusFilterSensitiveLog(obj.CreateAccountStatus),
810
- }))); };
811
- export var CreateGovCloudAccountRequestFilterSensitiveLog = function (obj) { return (__assign(__assign(__assign({}, obj), (obj.Email && { Email: SENSITIVE_STRING })), (obj.AccountName && { AccountName: SENSITIVE_STRING }))); };
812
- export var CreateGovCloudAccountResponseFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.CreateAccountStatus && {
813
- CreateAccountStatus: CreateAccountStatusFilterSensitiveLog(obj.CreateAccountStatus),
814
- }))); };
815
- export var CreateOrganizationRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
816
- export var PolicyTypeSummaryFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
817
- export var OrganizationFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.MasterAccountEmail && { MasterAccountEmail: SENSITIVE_STRING }))); };
818
- export var CreateOrganizationResponseFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Organization && { Organization: OrganizationFilterSensitiveLog(obj.Organization) }))); };
819
- export var CreateOrganizationalUnitRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
820
- export var OrganizationalUnitFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
821
- export var CreateOrganizationalUnitResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
822
- export var CreatePolicyRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
823
- export var PolicySummaryFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
824
- export var PolicyFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
825
- export var CreatePolicyResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
826
- export var DeclineHandshakeRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
827
- export var DeleteOrganizationalUnitRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
828
- export var DeletePolicyRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
829
- export var DeregisterDelegatedAdministratorRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
830
- export var DescribeAccountRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
831
- export var DescribeAccountResponseFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Account && { Account: AccountFilterSensitiveLog(obj.Account) }))); };
832
- export var DescribeCreateAccountStatusRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
833
- export var DescribeCreateAccountStatusResponseFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.CreateAccountStatus && {
834
- CreateAccountStatus: CreateAccountStatusFilterSensitiveLog(obj.CreateAccountStatus),
835
- }))); };
836
- export var DescribeEffectivePolicyRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
837
- export var EffectivePolicyFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
838
- export var DescribeEffectivePolicyResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
839
- export var DescribeHandshakeRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
840
- export var DescribeOrganizationResponseFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Organization && { Organization: OrganizationFilterSensitiveLog(obj.Organization) }))); };
841
- export var DescribeOrganizationalUnitRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
842
- export var DescribeOrganizationalUnitResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
843
- export var DescribePolicyRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
844
- export var DescribePolicyResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
845
- export var DetachPolicyRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
846
- export var DisableAWSServiceAccessRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
847
- export var DisablePolicyTypeRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
848
- export var RootFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
849
- export var DisablePolicyTypeResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
850
- export var EnableAllFeaturesRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
851
- export var EnableAWSServiceAccessRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
852
- export var EnablePolicyTypeRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
853
- export var EnablePolicyTypeResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
854
- export var InviteAccountToOrganizationRequestFilterSensitiveLog = function (obj) { return (__assign(__assign(__assign({}, obj), (obj.Target && { Target: HandshakePartyFilterSensitiveLog(obj.Target) })), (obj.Notes && { Notes: SENSITIVE_STRING }))); };
855
- export var ListAccountsRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
856
- export var ListAccountsResponseFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Accounts && { Accounts: obj.Accounts.map(function (item) { return AccountFilterSensitiveLog(item); }) }))); };
857
- export var ListAccountsForParentRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
858
- export var ListAccountsForParentResponseFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Accounts && { Accounts: obj.Accounts.map(function (item) { return AccountFilterSensitiveLog(item); }) }))); };
859
- export var ListAWSServiceAccessForOrganizationRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
860
- export var EnabledServicePrincipalFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
861
- export var ListAWSServiceAccessForOrganizationResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
862
- export var ListChildrenRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
863
- export var ChildFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
864
- export var ListChildrenResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
865
- export var ListCreateAccountStatusRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
866
- export var ListCreateAccountStatusResponseFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.CreateAccountStatuses && {
867
- CreateAccountStatuses: obj.CreateAccountStatuses.map(function (item) { return CreateAccountStatusFilterSensitiveLog(item); }),
868
- }))); };
869
- export var ListDelegatedAdministratorsRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
870
- export var DelegatedAdministratorFilterSensitiveLog = function (obj) { return (__assign(__assign(__assign({}, obj), (obj.Email && { Email: SENSITIVE_STRING })), (obj.Name && { Name: SENSITIVE_STRING }))); };
871
- export var ListDelegatedAdministratorsResponseFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.DelegatedAdministrators && {
872
- DelegatedAdministrators: obj.DelegatedAdministrators.map(function (item) { return DelegatedAdministratorFilterSensitiveLog(item); }),
873
- }))); };
874
- export var ListDelegatedServicesForAccountRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
875
- export var DelegatedServiceFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
876
- export var ListDelegatedServicesForAccountResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
877
- export var HandshakeFilterFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
878
- export var ListHandshakesForAccountRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
879
- export var ListHandshakesForOrganizationRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
880
- export var ListOrganizationalUnitsForParentRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
881
- export var ListOrganizationalUnitsForParentResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
882
- export var ListParentsRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
883
- export var ParentFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
884
- export var ListParentsResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
885
- export var ListPoliciesRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
886
- export var ListPoliciesResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
887
- export var ListPoliciesForTargetRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
888
- export var ListPoliciesForTargetResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
889
- export var ListRootsRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
890
- export var ListRootsResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
891
- export var ListTagsForResourceRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
892
- export var ListTagsForResourceResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
893
- export var ListTargetsForPolicyRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
894
- export var PolicyTargetSummaryFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
895
- export var ListTargetsForPolicyResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
896
- export var MoveAccountRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
897
- export var RegisterDelegatedAdministratorRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
898
- export var RemoveAccountFromOrganizationRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
899
- export var TagResourceRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
900
- export var UntagResourceRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
901
- export var UpdateOrganizationalUnitRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
902
- export var UpdateOrganizationalUnitResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
903
- export var UpdatePolicyRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
904
- export var UpdatePolicyResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
905
- export var HandshakeResourceFilterSensitiveLog = function (obj) { return (__assign(__assign(__assign({}, obj), (obj.Value && { Value: SENSITIVE_STRING })), (obj.Resources && { Resources: obj.Resources.map(function (item) { return HandshakeResourceFilterSensitiveLog(item); }) }))); };
906
- export var HandshakeFilterSensitiveLog = function (obj) { return (__assign(__assign(__assign({}, obj), (obj.Parties && { Parties: obj.Parties.map(function (item) { return HandshakePartyFilterSensitiveLog(item); }) })), (obj.Resources && { Resources: obj.Resources.map(function (item) { return HandshakeResourceFilterSensitiveLog(item); }) }))); };
907
- export var AcceptHandshakeResponseFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Handshake && { Handshake: HandshakeFilterSensitiveLog(obj.Handshake) }))); };
908
- export var CancelHandshakeResponseFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Handshake && { Handshake: HandshakeFilterSensitiveLog(obj.Handshake) }))); };
909
- export var DeclineHandshakeResponseFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Handshake && { Handshake: HandshakeFilterSensitiveLog(obj.Handshake) }))); };
910
- export var DescribeHandshakeResponseFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Handshake && { Handshake: HandshakeFilterSensitiveLog(obj.Handshake) }))); };
911
- export var EnableAllFeaturesResponseFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Handshake && { Handshake: HandshakeFilterSensitiveLog(obj.Handshake) }))); };
912
- export var InviteAccountToOrganizationResponseFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Handshake && { Handshake: HandshakeFilterSensitiveLog(obj.Handshake) }))); };
913
- export var ListHandshakesForAccountResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
914
- export var ListHandshakesForOrganizationResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
759
+ export class DestinationParentNotFoundException extends __BaseException {
760
+ constructor(opts) {
761
+ super({
762
+ name: "DestinationParentNotFoundException",
763
+ $fault: "client",
764
+ ...opts,
765
+ });
766
+ this.name = "DestinationParentNotFoundException";
767
+ this.$fault = "client";
768
+ Object.setPrototypeOf(this, DestinationParentNotFoundException.prototype);
769
+ this.Message = opts.Message;
770
+ }
771
+ }
772
+ export class DuplicateAccountException extends __BaseException {
773
+ constructor(opts) {
774
+ super({
775
+ name: "DuplicateAccountException",
776
+ $fault: "client",
777
+ ...opts,
778
+ });
779
+ this.name = "DuplicateAccountException";
780
+ this.$fault = "client";
781
+ Object.setPrototypeOf(this, DuplicateAccountException.prototype);
782
+ this.Message = opts.Message;
783
+ }
784
+ }
785
+ export class SourceParentNotFoundException extends __BaseException {
786
+ constructor(opts) {
787
+ super({
788
+ name: "SourceParentNotFoundException",
789
+ $fault: "client",
790
+ ...opts,
791
+ });
792
+ this.name = "SourceParentNotFoundException";
793
+ this.$fault = "client";
794
+ Object.setPrototypeOf(this, SourceParentNotFoundException.prototype);
795
+ this.Message = opts.Message;
796
+ }
797
+ }
798
+ export const AcceptHandshakeRequestFilterSensitiveLog = (obj) => ({
799
+ ...obj,
800
+ });
801
+ export const HandshakePartyFilterSensitiveLog = (obj) => ({
802
+ ...obj,
803
+ ...(obj.Id && { Id: SENSITIVE_STRING }),
804
+ });
805
+ export const AccountFilterSensitiveLog = (obj) => ({
806
+ ...obj,
807
+ ...(obj.Email && { Email: SENSITIVE_STRING }),
808
+ ...(obj.Name && { Name: SENSITIVE_STRING }),
809
+ });
810
+ export const AttachPolicyRequestFilterSensitiveLog = (obj) => ({
811
+ ...obj,
812
+ });
813
+ export const CancelHandshakeRequestFilterSensitiveLog = (obj) => ({
814
+ ...obj,
815
+ });
816
+ export const CloseAccountRequestFilterSensitiveLog = (obj) => ({
817
+ ...obj,
818
+ });
819
+ export const TagFilterSensitiveLog = (obj) => ({
820
+ ...obj,
821
+ });
822
+ export const CreateAccountRequestFilterSensitiveLog = (obj) => ({
823
+ ...obj,
824
+ ...(obj.Email && { Email: SENSITIVE_STRING }),
825
+ ...(obj.AccountName && { AccountName: SENSITIVE_STRING }),
826
+ });
827
+ export const CreateAccountStatusFilterSensitiveLog = (obj) => ({
828
+ ...obj,
829
+ ...(obj.AccountName && { AccountName: SENSITIVE_STRING }),
830
+ });
831
+ export const CreateAccountResponseFilterSensitiveLog = (obj) => ({
832
+ ...obj,
833
+ ...(obj.CreateAccountStatus && {
834
+ CreateAccountStatus: CreateAccountStatusFilterSensitiveLog(obj.CreateAccountStatus),
835
+ }),
836
+ });
837
+ export const CreateGovCloudAccountRequestFilterSensitiveLog = (obj) => ({
838
+ ...obj,
839
+ ...(obj.Email && { Email: SENSITIVE_STRING }),
840
+ ...(obj.AccountName && { AccountName: SENSITIVE_STRING }),
841
+ });
842
+ export const CreateGovCloudAccountResponseFilterSensitiveLog = (obj) => ({
843
+ ...obj,
844
+ ...(obj.CreateAccountStatus && {
845
+ CreateAccountStatus: CreateAccountStatusFilterSensitiveLog(obj.CreateAccountStatus),
846
+ }),
847
+ });
848
+ export const CreateOrganizationRequestFilterSensitiveLog = (obj) => ({
849
+ ...obj,
850
+ });
851
+ export const PolicyTypeSummaryFilterSensitiveLog = (obj) => ({
852
+ ...obj,
853
+ });
854
+ export const OrganizationFilterSensitiveLog = (obj) => ({
855
+ ...obj,
856
+ ...(obj.MasterAccountEmail && { MasterAccountEmail: SENSITIVE_STRING }),
857
+ });
858
+ export const CreateOrganizationResponseFilterSensitiveLog = (obj) => ({
859
+ ...obj,
860
+ ...(obj.Organization && { Organization: OrganizationFilterSensitiveLog(obj.Organization) }),
861
+ });
862
+ export const CreateOrganizationalUnitRequestFilterSensitiveLog = (obj) => ({
863
+ ...obj,
864
+ });
865
+ export const OrganizationalUnitFilterSensitiveLog = (obj) => ({
866
+ ...obj,
867
+ });
868
+ export const CreateOrganizationalUnitResponseFilterSensitiveLog = (obj) => ({
869
+ ...obj,
870
+ });
871
+ export const CreatePolicyRequestFilterSensitiveLog = (obj) => ({
872
+ ...obj,
873
+ });
874
+ export const PolicySummaryFilterSensitiveLog = (obj) => ({
875
+ ...obj,
876
+ });
877
+ export const PolicyFilterSensitiveLog = (obj) => ({
878
+ ...obj,
879
+ });
880
+ export const CreatePolicyResponseFilterSensitiveLog = (obj) => ({
881
+ ...obj,
882
+ });
883
+ export const DeclineHandshakeRequestFilterSensitiveLog = (obj) => ({
884
+ ...obj,
885
+ });
886
+ export const DeleteOrganizationalUnitRequestFilterSensitiveLog = (obj) => ({
887
+ ...obj,
888
+ });
889
+ export const DeletePolicyRequestFilterSensitiveLog = (obj) => ({
890
+ ...obj,
891
+ });
892
+ export const DeregisterDelegatedAdministratorRequestFilterSensitiveLog = (obj) => ({
893
+ ...obj,
894
+ });
895
+ export const DescribeAccountRequestFilterSensitiveLog = (obj) => ({
896
+ ...obj,
897
+ });
898
+ export const DescribeAccountResponseFilterSensitiveLog = (obj) => ({
899
+ ...obj,
900
+ ...(obj.Account && { Account: AccountFilterSensitiveLog(obj.Account) }),
901
+ });
902
+ export const DescribeCreateAccountStatusRequestFilterSensitiveLog = (obj) => ({
903
+ ...obj,
904
+ });
905
+ export const DescribeCreateAccountStatusResponseFilterSensitiveLog = (obj) => ({
906
+ ...obj,
907
+ ...(obj.CreateAccountStatus && {
908
+ CreateAccountStatus: CreateAccountStatusFilterSensitiveLog(obj.CreateAccountStatus),
909
+ }),
910
+ });
911
+ export const DescribeEffectivePolicyRequestFilterSensitiveLog = (obj) => ({
912
+ ...obj,
913
+ });
914
+ export const EffectivePolicyFilterSensitiveLog = (obj) => ({
915
+ ...obj,
916
+ });
917
+ export const DescribeEffectivePolicyResponseFilterSensitiveLog = (obj) => ({
918
+ ...obj,
919
+ });
920
+ export const DescribeHandshakeRequestFilterSensitiveLog = (obj) => ({
921
+ ...obj,
922
+ });
923
+ export const DescribeOrganizationResponseFilterSensitiveLog = (obj) => ({
924
+ ...obj,
925
+ ...(obj.Organization && { Organization: OrganizationFilterSensitiveLog(obj.Organization) }),
926
+ });
927
+ export const DescribeOrganizationalUnitRequestFilterSensitiveLog = (obj) => ({
928
+ ...obj,
929
+ });
930
+ export const DescribeOrganizationalUnitResponseFilterSensitiveLog = (obj) => ({
931
+ ...obj,
932
+ });
933
+ export const DescribePolicyRequestFilterSensitiveLog = (obj) => ({
934
+ ...obj,
935
+ });
936
+ export const DescribePolicyResponseFilterSensitiveLog = (obj) => ({
937
+ ...obj,
938
+ });
939
+ export const DetachPolicyRequestFilterSensitiveLog = (obj) => ({
940
+ ...obj,
941
+ });
942
+ export const DisableAWSServiceAccessRequestFilterSensitiveLog = (obj) => ({
943
+ ...obj,
944
+ });
945
+ export const DisablePolicyTypeRequestFilterSensitiveLog = (obj) => ({
946
+ ...obj,
947
+ });
948
+ export const RootFilterSensitiveLog = (obj) => ({
949
+ ...obj,
950
+ });
951
+ export const DisablePolicyTypeResponseFilterSensitiveLog = (obj) => ({
952
+ ...obj,
953
+ });
954
+ export const EnableAllFeaturesRequestFilterSensitiveLog = (obj) => ({
955
+ ...obj,
956
+ });
957
+ export const EnableAWSServiceAccessRequestFilterSensitiveLog = (obj) => ({
958
+ ...obj,
959
+ });
960
+ export const EnablePolicyTypeRequestFilterSensitiveLog = (obj) => ({
961
+ ...obj,
962
+ });
963
+ export const EnablePolicyTypeResponseFilterSensitiveLog = (obj) => ({
964
+ ...obj,
965
+ });
966
+ export const InviteAccountToOrganizationRequestFilterSensitiveLog = (obj) => ({
967
+ ...obj,
968
+ ...(obj.Target && { Target: HandshakePartyFilterSensitiveLog(obj.Target) }),
969
+ ...(obj.Notes && { Notes: SENSITIVE_STRING }),
970
+ });
971
+ export const ListAccountsRequestFilterSensitiveLog = (obj) => ({
972
+ ...obj,
973
+ });
974
+ export const ListAccountsResponseFilterSensitiveLog = (obj) => ({
975
+ ...obj,
976
+ ...(obj.Accounts && { Accounts: obj.Accounts.map((item) => AccountFilterSensitiveLog(item)) }),
977
+ });
978
+ export const ListAccountsForParentRequestFilterSensitiveLog = (obj) => ({
979
+ ...obj,
980
+ });
981
+ export const ListAccountsForParentResponseFilterSensitiveLog = (obj) => ({
982
+ ...obj,
983
+ ...(obj.Accounts && { Accounts: obj.Accounts.map((item) => AccountFilterSensitiveLog(item)) }),
984
+ });
985
+ export const ListAWSServiceAccessForOrganizationRequestFilterSensitiveLog = (obj) => ({
986
+ ...obj,
987
+ });
988
+ export const EnabledServicePrincipalFilterSensitiveLog = (obj) => ({
989
+ ...obj,
990
+ });
991
+ export const ListAWSServiceAccessForOrganizationResponseFilterSensitiveLog = (obj) => ({
992
+ ...obj,
993
+ });
994
+ export const ListChildrenRequestFilterSensitiveLog = (obj) => ({
995
+ ...obj,
996
+ });
997
+ export const ChildFilterSensitiveLog = (obj) => ({
998
+ ...obj,
999
+ });
1000
+ export const ListChildrenResponseFilterSensitiveLog = (obj) => ({
1001
+ ...obj,
1002
+ });
1003
+ export const ListCreateAccountStatusRequestFilterSensitiveLog = (obj) => ({
1004
+ ...obj,
1005
+ });
1006
+ export const ListCreateAccountStatusResponseFilterSensitiveLog = (obj) => ({
1007
+ ...obj,
1008
+ ...(obj.CreateAccountStatuses && {
1009
+ CreateAccountStatuses: obj.CreateAccountStatuses.map((item) => CreateAccountStatusFilterSensitiveLog(item)),
1010
+ }),
1011
+ });
1012
+ export const ListDelegatedAdministratorsRequestFilterSensitiveLog = (obj) => ({
1013
+ ...obj,
1014
+ });
1015
+ export const DelegatedAdministratorFilterSensitiveLog = (obj) => ({
1016
+ ...obj,
1017
+ ...(obj.Email && { Email: SENSITIVE_STRING }),
1018
+ ...(obj.Name && { Name: SENSITIVE_STRING }),
1019
+ });
1020
+ export const ListDelegatedAdministratorsResponseFilterSensitiveLog = (obj) => ({
1021
+ ...obj,
1022
+ ...(obj.DelegatedAdministrators && {
1023
+ DelegatedAdministrators: obj.DelegatedAdministrators.map((item) => DelegatedAdministratorFilterSensitiveLog(item)),
1024
+ }),
1025
+ });
1026
+ export const ListDelegatedServicesForAccountRequestFilterSensitiveLog = (obj) => ({
1027
+ ...obj,
1028
+ });
1029
+ export const DelegatedServiceFilterSensitiveLog = (obj) => ({
1030
+ ...obj,
1031
+ });
1032
+ export const ListDelegatedServicesForAccountResponseFilterSensitiveLog = (obj) => ({
1033
+ ...obj,
1034
+ });
1035
+ export const HandshakeFilterFilterSensitiveLog = (obj) => ({
1036
+ ...obj,
1037
+ });
1038
+ export const ListHandshakesForAccountRequestFilterSensitiveLog = (obj) => ({
1039
+ ...obj,
1040
+ });
1041
+ export const ListHandshakesForOrganizationRequestFilterSensitiveLog = (obj) => ({
1042
+ ...obj,
1043
+ });
1044
+ export const ListOrganizationalUnitsForParentRequestFilterSensitiveLog = (obj) => ({
1045
+ ...obj,
1046
+ });
1047
+ export const ListOrganizationalUnitsForParentResponseFilterSensitiveLog = (obj) => ({
1048
+ ...obj,
1049
+ });
1050
+ export const ListParentsRequestFilterSensitiveLog = (obj) => ({
1051
+ ...obj,
1052
+ });
1053
+ export const ParentFilterSensitiveLog = (obj) => ({
1054
+ ...obj,
1055
+ });
1056
+ export const ListParentsResponseFilterSensitiveLog = (obj) => ({
1057
+ ...obj,
1058
+ });
1059
+ export const ListPoliciesRequestFilterSensitiveLog = (obj) => ({
1060
+ ...obj,
1061
+ });
1062
+ export const ListPoliciesResponseFilterSensitiveLog = (obj) => ({
1063
+ ...obj,
1064
+ });
1065
+ export const ListPoliciesForTargetRequestFilterSensitiveLog = (obj) => ({
1066
+ ...obj,
1067
+ });
1068
+ export const ListPoliciesForTargetResponseFilterSensitiveLog = (obj) => ({
1069
+ ...obj,
1070
+ });
1071
+ export const ListRootsRequestFilterSensitiveLog = (obj) => ({
1072
+ ...obj,
1073
+ });
1074
+ export const ListRootsResponseFilterSensitiveLog = (obj) => ({
1075
+ ...obj,
1076
+ });
1077
+ export const ListTagsForResourceRequestFilterSensitiveLog = (obj) => ({
1078
+ ...obj,
1079
+ });
1080
+ export const ListTagsForResourceResponseFilterSensitiveLog = (obj) => ({
1081
+ ...obj,
1082
+ });
1083
+ export const ListTargetsForPolicyRequestFilterSensitiveLog = (obj) => ({
1084
+ ...obj,
1085
+ });
1086
+ export const PolicyTargetSummaryFilterSensitiveLog = (obj) => ({
1087
+ ...obj,
1088
+ });
1089
+ export const ListTargetsForPolicyResponseFilterSensitiveLog = (obj) => ({
1090
+ ...obj,
1091
+ });
1092
+ export const MoveAccountRequestFilterSensitiveLog = (obj) => ({
1093
+ ...obj,
1094
+ });
1095
+ export const RegisterDelegatedAdministratorRequestFilterSensitiveLog = (obj) => ({
1096
+ ...obj,
1097
+ });
1098
+ export const RemoveAccountFromOrganizationRequestFilterSensitiveLog = (obj) => ({
1099
+ ...obj,
1100
+ });
1101
+ export const TagResourceRequestFilterSensitiveLog = (obj) => ({
1102
+ ...obj,
1103
+ });
1104
+ export const UntagResourceRequestFilterSensitiveLog = (obj) => ({
1105
+ ...obj,
1106
+ });
1107
+ export const UpdateOrganizationalUnitRequestFilterSensitiveLog = (obj) => ({
1108
+ ...obj,
1109
+ });
1110
+ export const UpdateOrganizationalUnitResponseFilterSensitiveLog = (obj) => ({
1111
+ ...obj,
1112
+ });
1113
+ export const UpdatePolicyRequestFilterSensitiveLog = (obj) => ({
1114
+ ...obj,
1115
+ });
1116
+ export const UpdatePolicyResponseFilterSensitiveLog = (obj) => ({
1117
+ ...obj,
1118
+ });
1119
+ export const HandshakeResourceFilterSensitiveLog = (obj) => ({
1120
+ ...obj,
1121
+ ...(obj.Value && { Value: SENSITIVE_STRING }),
1122
+ ...(obj.Resources && { Resources: obj.Resources.map((item) => HandshakeResourceFilterSensitiveLog(item)) }),
1123
+ });
1124
+ export const HandshakeFilterSensitiveLog = (obj) => ({
1125
+ ...obj,
1126
+ ...(obj.Parties && { Parties: obj.Parties.map((item) => HandshakePartyFilterSensitiveLog(item)) }),
1127
+ ...(obj.Resources && { Resources: obj.Resources.map((item) => HandshakeResourceFilterSensitiveLog(item)) }),
1128
+ });
1129
+ export const AcceptHandshakeResponseFilterSensitiveLog = (obj) => ({
1130
+ ...obj,
1131
+ ...(obj.Handshake && { Handshake: HandshakeFilterSensitiveLog(obj.Handshake) }),
1132
+ });
1133
+ export const CancelHandshakeResponseFilterSensitiveLog = (obj) => ({
1134
+ ...obj,
1135
+ ...(obj.Handshake && { Handshake: HandshakeFilterSensitiveLog(obj.Handshake) }),
1136
+ });
1137
+ export const DeclineHandshakeResponseFilterSensitiveLog = (obj) => ({
1138
+ ...obj,
1139
+ ...(obj.Handshake && { Handshake: HandshakeFilterSensitiveLog(obj.Handshake) }),
1140
+ });
1141
+ export const DescribeHandshakeResponseFilterSensitiveLog = (obj) => ({
1142
+ ...obj,
1143
+ ...(obj.Handshake && { Handshake: HandshakeFilterSensitiveLog(obj.Handshake) }),
1144
+ });
1145
+ export const EnableAllFeaturesResponseFilterSensitiveLog = (obj) => ({
1146
+ ...obj,
1147
+ ...(obj.Handshake && { Handshake: HandshakeFilterSensitiveLog(obj.Handshake) }),
1148
+ });
1149
+ export const InviteAccountToOrganizationResponseFilterSensitiveLog = (obj) => ({
1150
+ ...obj,
1151
+ ...(obj.Handshake && { Handshake: HandshakeFilterSensitiveLog(obj.Handshake) }),
1152
+ });
1153
+ export const ListHandshakesForAccountResponseFilterSensitiveLog = (obj) => ({
1154
+ ...obj,
1155
+ });
1156
+ export const ListHandshakesForOrganizationResponseFilterSensitiveLog = (obj) => ({
1157
+ ...obj,
1158
+ });