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