@aws-sdk/client-organizations 3.934.0 → 3.935.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,866 +1 @@
1
- import { OrganizationsServiceException as __BaseException } from "./OrganizationsServiceException";
2
- export const ActionType = {
3
- ADD_ORGANIZATIONS_SERVICE_LINKED_ROLE: "ADD_ORGANIZATIONS_SERVICE_LINKED_ROLE",
4
- APPROVE_ALL_FEATURES: "APPROVE_ALL_FEATURES",
5
- ENABLE_ALL_FEATURES: "ENABLE_ALL_FEATURES",
6
- INVITE_ACCOUNT_TO_ORGANIZATION: "INVITE",
7
- };
8
- export const HandshakePartyType = {
9
- ACCOUNT: "ACCOUNT",
10
- EMAIL: "EMAIL",
11
- ORGANIZATION: "ORGANIZATION",
12
- };
13
- export const HandshakeResourceType = {
14
- ACCOUNT: "ACCOUNT",
15
- EMAIL: "EMAIL",
16
- MASTER_EMAIL: "MASTER_EMAIL",
17
- MASTER_NAME: "MASTER_NAME",
18
- NOTES: "NOTES",
19
- ORGANIZATION: "ORGANIZATION",
20
- ORGANIZATION_FEATURE_SET: "ORGANIZATION_FEATURE_SET",
21
- PARENT_HANDSHAKE: "PARENT_HANDSHAKE",
22
- };
23
- export const HandshakeState = {
24
- ACCEPTED: "ACCEPTED",
25
- CANCELED: "CANCELED",
26
- DECLINED: "DECLINED",
27
- EXPIRED: "EXPIRED",
28
- OPEN: "OPEN",
29
- REQUESTED: "REQUESTED",
30
- };
31
- export class AccessDeniedException extends __BaseException {
32
- name = "AccessDeniedException";
33
- $fault = "client";
34
- Message;
35
- constructor(opts) {
36
- super({
37
- name: "AccessDeniedException",
38
- $fault: "client",
39
- ...opts,
40
- });
41
- Object.setPrototypeOf(this, AccessDeniedException.prototype);
42
- this.Message = opts.Message;
43
- }
44
- }
45
- export const AccessDeniedForDependencyExceptionReason = {
46
- ACCESS_DENIED_DURING_CREATE_SERVICE_LINKED_ROLE: "ACCESS_DENIED_DURING_CREATE_SERVICE_LINKED_ROLE",
47
- };
48
- export class AccessDeniedForDependencyException extends __BaseException {
49
- name = "AccessDeniedForDependencyException";
50
- $fault = "client";
51
- Message;
52
- Reason;
53
- constructor(opts) {
54
- super({
55
- name: "AccessDeniedForDependencyException",
56
- $fault: "client",
57
- ...opts,
58
- });
59
- Object.setPrototypeOf(this, AccessDeniedForDependencyException.prototype);
60
- this.Message = opts.Message;
61
- this.Reason = opts.Reason;
62
- }
63
- }
64
- export class AWSOrganizationsNotInUseException extends __BaseException {
65
- name = "AWSOrganizationsNotInUseException";
66
- $fault = "client";
67
- Message;
68
- constructor(opts) {
69
- super({
70
- name: "AWSOrganizationsNotInUseException",
71
- $fault: "client",
72
- ...opts,
73
- });
74
- Object.setPrototypeOf(this, AWSOrganizationsNotInUseException.prototype);
75
- this.Message = opts.Message;
76
- }
77
- }
78
- export class ConcurrentModificationException extends __BaseException {
79
- name = "ConcurrentModificationException";
80
- $fault = "client";
81
- Message;
82
- constructor(opts) {
83
- super({
84
- name: "ConcurrentModificationException",
85
- $fault: "client",
86
- ...opts,
87
- });
88
- Object.setPrototypeOf(this, ConcurrentModificationException.prototype);
89
- this.Message = opts.Message;
90
- }
91
- }
92
- export class HandshakeAlreadyInStateException extends __BaseException {
93
- name = "HandshakeAlreadyInStateException";
94
- $fault = "client";
95
- Message;
96
- constructor(opts) {
97
- super({
98
- name: "HandshakeAlreadyInStateException",
99
- $fault: "client",
100
- ...opts,
101
- });
102
- Object.setPrototypeOf(this, HandshakeAlreadyInStateException.prototype);
103
- this.Message = opts.Message;
104
- }
105
- }
106
- export const HandshakeConstraintViolationExceptionReason = {
107
- ACCOUNT_NUMBER_LIMIT_EXCEEDED: "ACCOUNT_NUMBER_LIMIT_EXCEEDED",
108
- ALREADY_IN_AN_ORGANIZATION: "ALREADY_IN_AN_ORGANIZATION",
109
- HANDSHAKE_RATE_LIMIT_EXCEEDED: "HANDSHAKE_RATE_LIMIT_EXCEEDED",
110
- INVITE_DISABLED_DURING_ENABLE_ALL_FEATURES: "INVITE_DISABLED_DURING_ENABLE_ALL_FEATURES",
111
- MANAGEMENT_ACCOUNT_EMAIL_NOT_VERIFIED: "MANAGEMENT_ACCOUNT_EMAIL_NOT_VERIFIED",
112
- ORGANIZATION_ALREADY_HAS_ALL_FEATURES: "ORGANIZATION_ALREADY_HAS_ALL_FEATURES",
113
- ORGANIZATION_FROM_DIFFERENT_SELLER_OF_RECORD: "ORGANIZATION_FROM_DIFFERENT_SELLER_OF_RECORD",
114
- ORGANIZATION_IS_ALREADY_PENDING_ALL_FEATURES_MIGRATION: "ORGANIZATION_IS_ALREADY_PENDING_ALL_FEATURES_MIGRATION",
115
- ORGANIZATION_MEMBERSHIP_CHANGE_RATE_LIMIT_EXCEEDED: "ORGANIZATION_MEMBERSHIP_CHANGE_RATE_LIMIT_EXCEEDED",
116
- PAYMENT_INSTRUMENT_REQUIRED: "PAYMENT_INSTRUMENT_REQUIRED",
117
- };
118
- export class HandshakeConstraintViolationException extends __BaseException {
119
- name = "HandshakeConstraintViolationException";
120
- $fault = "client";
121
- Message;
122
- Reason;
123
- constructor(opts) {
124
- super({
125
- name: "HandshakeConstraintViolationException",
126
- $fault: "client",
127
- ...opts,
128
- });
129
- Object.setPrototypeOf(this, HandshakeConstraintViolationException.prototype);
130
- this.Message = opts.Message;
131
- this.Reason = opts.Reason;
132
- }
133
- }
134
- export class HandshakeNotFoundException extends __BaseException {
135
- name = "HandshakeNotFoundException";
136
- $fault = "client";
137
- Message;
138
- constructor(opts) {
139
- super({
140
- name: "HandshakeNotFoundException",
141
- $fault: "client",
142
- ...opts,
143
- });
144
- Object.setPrototypeOf(this, HandshakeNotFoundException.prototype);
145
- this.Message = opts.Message;
146
- }
147
- }
148
- export class InvalidHandshakeTransitionException extends __BaseException {
149
- name = "InvalidHandshakeTransitionException";
150
- $fault = "client";
151
- Message;
152
- constructor(opts) {
153
- super({
154
- name: "InvalidHandshakeTransitionException",
155
- $fault: "client",
156
- ...opts,
157
- });
158
- Object.setPrototypeOf(this, InvalidHandshakeTransitionException.prototype);
159
- this.Message = opts.Message;
160
- }
161
- }
162
- export const InvalidInputExceptionReason = {
163
- DUPLICATE_TAG_KEY: "DUPLICATE_TAG_KEY",
164
- IMMUTABLE_POLICY: "IMMUTABLE_POLICY",
165
- INPUT_REQUIRED: "INPUT_REQUIRED",
166
- INVALID_EMAIL_ADDRESS_TARGET: "INVALID_EMAIL_ADDRESS_TARGET",
167
- INVALID_ENUM: "INVALID_ENUM",
168
- INVALID_ENUM_POLICY_TYPE: "INVALID_ENUM_POLICY_TYPE",
169
- INVALID_FULL_NAME_TARGET: "INVALID_FULL_NAME_TARGET",
170
- INVALID_LIST_MEMBER: "INVALID_LIST_MEMBER",
171
- INVALID_PAGINATION_TOKEN: "INVALID_NEXT_TOKEN",
172
- INVALID_PARTY_TYPE_TARGET: "INVALID_PARTY_TYPE_TARGET",
173
- INVALID_PATTERN: "INVALID_PATTERN",
174
- INVALID_PATTERN_TARGET_ID: "INVALID_PATTERN_TARGET_ID",
175
- INVALID_PRINCIPAL: "INVALID_PRINCIPAL",
176
- INVALID_RESOURCE_POLICY_JSON: "INVALID_RESOURCE_POLICY_JSON",
177
- INVALID_ROLE_NAME: "INVALID_ROLE_NAME",
178
- INVALID_SYNTAX_ORGANIZATION: "INVALID_SYNTAX_ORGANIZATION_ARN",
179
- INVALID_SYNTAX_POLICY: "INVALID_SYNTAX_POLICY_ID",
180
- INVALID_SYSTEM_TAGS_PARAMETER: "INVALID_SYSTEM_TAGS_PARAMETER",
181
- MAX_FILTER_LIMIT_EXCEEDED: "MAX_LIMIT_EXCEEDED_FILTER",
182
- MAX_LENGTH_EXCEEDED: "MAX_LENGTH_EXCEEDED",
183
- MAX_VALUE_EXCEEDED: "MAX_VALUE_EXCEEDED",
184
- MIN_LENGTH_EXCEEDED: "MIN_LENGTH_EXCEEDED",
185
- MIN_VALUE_EXCEEDED: "MIN_VALUE_EXCEEDED",
186
- MOVING_ACCOUNT_BETWEEN_DIFFERENT_ROOTS: "MOVING_ACCOUNT_BETWEEN_DIFFERENT_ROOTS",
187
- NON_DETACHABLE_POLICY: "NON_DETACHABLE_POLICY",
188
- TARGET_NOT_SUPPORTED: "TARGET_NOT_SUPPORTED",
189
- UNRECOGNIZED_SERVICE_PRINCIPAL: "UNRECOGNIZED_SERVICE_PRINCIPAL",
190
- UNSUPPORTED_ACTION_IN_RESOURCE_POLICY: "UNSUPPORTED_ACTION_IN_RESOURCE_POLICY",
191
- UNSUPPORTED_POLICY_TYPE_IN_RESOURCE_POLICY: "UNSUPPORTED_POLICY_TYPE_IN_RESOURCE_POLICY",
192
- UNSUPPORTED_RESOURCE_IN_RESOURCE_POLICY: "UNSUPPORTED_RESOURCE_IN_RESOURCE_POLICY",
193
- };
194
- export class InvalidInputException extends __BaseException {
195
- name = "InvalidInputException";
196
- $fault = "client";
197
- Message;
198
- Reason;
199
- constructor(opts) {
200
- super({
201
- name: "InvalidInputException",
202
- $fault: "client",
203
- ...opts,
204
- });
205
- Object.setPrototypeOf(this, InvalidInputException.prototype);
206
- this.Message = opts.Message;
207
- this.Reason = opts.Reason;
208
- }
209
- }
210
- export class ServiceException extends __BaseException {
211
- name = "ServiceException";
212
- $fault = "server";
213
- Message;
214
- constructor(opts) {
215
- super({
216
- name: "ServiceException",
217
- $fault: "server",
218
- ...opts,
219
- });
220
- Object.setPrototypeOf(this, ServiceException.prototype);
221
- this.Message = opts.Message;
222
- }
223
- }
224
- export class TooManyRequestsException extends __BaseException {
225
- name = "TooManyRequestsException";
226
- $fault = "client";
227
- Type;
228
- Message;
229
- constructor(opts) {
230
- super({
231
- name: "TooManyRequestsException",
232
- $fault: "client",
233
- ...opts,
234
- });
235
- Object.setPrototypeOf(this, TooManyRequestsException.prototype);
236
- this.Type = opts.Type;
237
- this.Message = opts.Message;
238
- }
239
- }
240
- export const AccountJoinedMethod = {
241
- CREATED: "CREATED",
242
- INVITED: "INVITED",
243
- };
244
- export const AccountState = {
245
- ACTIVE: "ACTIVE",
246
- CLOSED: "CLOSED",
247
- PENDING_ACTIVATION: "PENDING_ACTIVATION",
248
- PENDING_CLOSURE: "PENDING_CLOSURE",
249
- SUSPENDED: "SUSPENDED",
250
- };
251
- export const AccountStatus = {
252
- ACTIVE: "ACTIVE",
253
- PENDING_CLOSURE: "PENDING_CLOSURE",
254
- SUSPENDED: "SUSPENDED",
255
- };
256
- export class AccountAlreadyClosedException extends __BaseException {
257
- name = "AccountAlreadyClosedException";
258
- $fault = "client";
259
- Message;
260
- constructor(opts) {
261
- super({
262
- name: "AccountAlreadyClosedException",
263
- $fault: "client",
264
- ...opts,
265
- });
266
- Object.setPrototypeOf(this, AccountAlreadyClosedException.prototype);
267
- this.Message = opts.Message;
268
- }
269
- }
270
- export class AccountAlreadyRegisteredException extends __BaseException {
271
- name = "AccountAlreadyRegisteredException";
272
- $fault = "client";
273
- Message;
274
- constructor(opts) {
275
- super({
276
- name: "AccountAlreadyRegisteredException",
277
- $fault: "client",
278
- ...opts,
279
- });
280
- Object.setPrototypeOf(this, AccountAlreadyRegisteredException.prototype);
281
- this.Message = opts.Message;
282
- }
283
- }
284
- export class AccountNotFoundException extends __BaseException {
285
- name = "AccountNotFoundException";
286
- $fault = "client";
287
- Message;
288
- constructor(opts) {
289
- super({
290
- name: "AccountNotFoundException",
291
- $fault: "client",
292
- ...opts,
293
- });
294
- Object.setPrototypeOf(this, AccountNotFoundException.prototype);
295
- this.Message = opts.Message;
296
- }
297
- }
298
- export class AccountNotRegisteredException extends __BaseException {
299
- name = "AccountNotRegisteredException";
300
- $fault = "client";
301
- Message;
302
- constructor(opts) {
303
- super({
304
- name: "AccountNotRegisteredException",
305
- $fault: "client",
306
- ...opts,
307
- });
308
- Object.setPrototypeOf(this, AccountNotRegisteredException.prototype);
309
- this.Message = opts.Message;
310
- }
311
- }
312
- export class AccountOwnerNotVerifiedException extends __BaseException {
313
- name = "AccountOwnerNotVerifiedException";
314
- $fault = "client";
315
- Message;
316
- constructor(opts) {
317
- super({
318
- name: "AccountOwnerNotVerifiedException",
319
- $fault: "client",
320
- ...opts,
321
- });
322
- Object.setPrototypeOf(this, AccountOwnerNotVerifiedException.prototype);
323
- this.Message = opts.Message;
324
- }
325
- }
326
- export class AlreadyInOrganizationException extends __BaseException {
327
- name = "AlreadyInOrganizationException";
328
- $fault = "client";
329
- Message;
330
- constructor(opts) {
331
- super({
332
- name: "AlreadyInOrganizationException",
333
- $fault: "client",
334
- ...opts,
335
- });
336
- Object.setPrototypeOf(this, AlreadyInOrganizationException.prototype);
337
- this.Message = opts.Message;
338
- }
339
- }
340
- export const ConstraintViolationExceptionReason = {
341
- ACCOUNT_CANNOT_LEAVE_ORGANIZATION: "ACCOUNT_CANNOT_LEAVE_ORGANIZATION",
342
- ACCOUNT_CANNOT_LEAVE_WITHOUT_EULA: "ACCOUNT_CANNOT_LEAVE_WITHOUT_EULA",
343
- ACCOUNT_CANNOT_LEAVE_WITHOUT_PHONE_VERIFICATION: "ACCOUNT_CANNOT_LEAVE_WITHOUT_PHONE_VERIFICATION",
344
- ACCOUNT_CREATION_NOT_COMPLETE: "ACCOUNT_CREATION_NOT_COMPLETE",
345
- ACCOUNT_CREATION_RATE_LIMIT_EXCEEDED: "ACCOUNT_CREATION_RATE_LIMIT_EXCEEDED",
346
- ACCOUNT_NUMBER_LIMIT_EXCEEDED: "ACCOUNT_NUMBER_LIMIT_EXCEEDED",
347
- ALL_FEATURES_MIGRATION_ORGANIZATION_SIZE_LIMIT_EXCEEDED: "ALL_FEATURES_MIGRATION_ORGANIZATION_SIZE_LIMIT_EXCEEDED",
348
- CANNOT_CLOSE_MANAGEMENT_ACCOUNT: "CANNOT_CLOSE_MANAGEMENT_ACCOUNT",
349
- CANNOT_REGISTER_MASTER_AS_DELEGATED_ADMINISTRATOR: "CANNOT_REGISTER_MASTER_AS_DELEGATED_ADMINISTRATOR",
350
- CANNOT_REGISTER_SUSPENDED_ACCOUNT_AS_DELEGATED_ADMINISTRATOR: "CANNOT_REGISTER_SUSPENDED_ACCOUNT_AS_DELEGATED_ADMINISTRATOR",
351
- CANNOT_REMOVE_DELEGATED_ADMINISTRATOR_FROM_ORG: "CANNOT_REMOVE_DELEGATED_ADMINISTRATOR_FROM_ORG",
352
- CLOSE_ACCOUNT_QUOTA_EXCEEDED: "CLOSE_ACCOUNT_QUOTA_EXCEEDED",
353
- CLOSE_ACCOUNT_REQUESTS_LIMIT_EXCEEDED: "CLOSE_ACCOUNT_REQUESTS_LIMIT_EXCEEDED",
354
- CREATE_ORGANIZATION_IN_BILLING_MODE_UNSUPPORTED_REGION: "CREATE_ORGANIZATION_IN_BILLING_MODE_UNSUPPORTED_REGION",
355
- DELEGATED_ADMINISTRATOR_EXISTS_FOR_THIS_SERVICE: "DELEGATED_ADMINISTRATOR_EXISTS_FOR_THIS_SERVICE",
356
- EMAIL_VERIFICATION_CODE_EXPIRED: "EMAIL_VERIFICATION_CODE_EXPIRED",
357
- HANDSHAKE_RATE_LIMIT_EXCEEDED: "HANDSHAKE_RATE_LIMIT_EXCEEDED",
358
- INVALID_PAYMENT_INSTRUMENT: "INVALID_PAYMENT_INSTRUMENT",
359
- MASTER_ACCOUNT_ADDRESS_DOES_NOT_MATCH_MARKETPLACE: "MASTER_ACCOUNT_ADDRESS_DOES_NOT_MATCH_MARKETPLACE",
360
- MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE: "MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE",
361
- MASTER_ACCOUNT_MISSING_CONTACT_INFO: "MASTER_ACCOUNT_MISSING_CONTACT_INFO",
362
- MASTER_ACCOUNT_NOT_GOVCLOUD_ENABLED: "MASTER_ACCOUNT_NOT_GOVCLOUD_ENABLED",
363
- MASTER_ACCOUNT_PAYMENT_INSTRUMENT_REQUIRED: "MASTER_ACCOUNT_PAYMENT_INSTRUMENT_REQUIRED",
364
- MAX_DELEGATED_ADMINISTRATORS_FOR_SERVICE_LIMIT_EXCEEDED: "MAX_DELEGATED_ADMINISTRATORS_FOR_SERVICE_LIMIT_EXCEEDED",
365
- MAX_POLICY_TYPE_ATTACHMENT_LIMIT_EXCEEDED: "MAX_POLICY_TYPE_ATTACHMENT_LIMIT_EXCEEDED",
366
- MAX_TAG_LIMIT_EXCEEDED: "MAX_TAG_LIMIT_EXCEEDED",
367
- MEMBER_ACCOUNT_PAYMENT_INSTRUMENT_REQUIRED: "MEMBER_ACCOUNT_PAYMENT_INSTRUMENT_REQUIRED",
368
- MIN_POLICY_TYPE_ATTACHMENT_LIMIT_EXCEEDED: "MIN_POLICY_TYPE_ATTACHMENT_LIMIT_EXCEEDED",
369
- ORGANIZATION_NOT_IN_ALL_FEATURES_MODE: "ORGANIZATION_NOT_IN_ALL_FEATURES_MODE",
370
- OU_DEPTH_LIMIT_EXCEEDED: "OU_DEPTH_LIMIT_EXCEEDED",
371
- OU_NUMBER_LIMIT_EXCEEDED: "OU_NUMBER_LIMIT_EXCEEDED",
372
- POLICY_CONTENT_LIMIT_EXCEEDED: "POLICY_CONTENT_LIMIT_EXCEEDED",
373
- POLICY_NUMBER_LIMIT_EXCEEDED: "POLICY_NUMBER_LIMIT_EXCEEDED",
374
- POLICY_TYPE_ENABLED_FOR_THIS_SERVICE: "POLICY_TYPE_ENABLED_FOR_THIS_SERVICE",
375
- SERVICE_ACCESS_NOT_ENABLED: "SERVICE_ACCESS_NOT_ENABLED",
376
- TAG_POLICY_VIOLATION: "TAG_POLICY_VIOLATION",
377
- WAIT_PERIOD_ACTIVE: "WAIT_PERIOD_ACTIVE",
378
- };
379
- export class ConstraintViolationException extends __BaseException {
380
- name = "ConstraintViolationException";
381
- $fault = "client";
382
- Message;
383
- Reason;
384
- constructor(opts) {
385
- super({
386
- name: "ConstraintViolationException",
387
- $fault: "client",
388
- ...opts,
389
- });
390
- Object.setPrototypeOf(this, ConstraintViolationException.prototype);
391
- this.Message = opts.Message;
392
- this.Reason = opts.Reason;
393
- }
394
- }
395
- export class DuplicatePolicyAttachmentException extends __BaseException {
396
- name = "DuplicatePolicyAttachmentException";
397
- $fault = "client";
398
- Message;
399
- constructor(opts) {
400
- super({
401
- name: "DuplicatePolicyAttachmentException",
402
- $fault: "client",
403
- ...opts,
404
- });
405
- Object.setPrototypeOf(this, DuplicatePolicyAttachmentException.prototype);
406
- this.Message = opts.Message;
407
- }
408
- }
409
- export class PolicyChangesInProgressException extends __BaseException {
410
- name = "PolicyChangesInProgressException";
411
- $fault = "client";
412
- Message;
413
- constructor(opts) {
414
- super({
415
- name: "PolicyChangesInProgressException",
416
- $fault: "client",
417
- ...opts,
418
- });
419
- Object.setPrototypeOf(this, PolicyChangesInProgressException.prototype);
420
- this.Message = opts.Message;
421
- }
422
- }
423
- export class PolicyNotFoundException extends __BaseException {
424
- name = "PolicyNotFoundException";
425
- $fault = "client";
426
- Message;
427
- constructor(opts) {
428
- super({
429
- name: "PolicyNotFoundException",
430
- $fault: "client",
431
- ...opts,
432
- });
433
- Object.setPrototypeOf(this, PolicyNotFoundException.prototype);
434
- this.Message = opts.Message;
435
- }
436
- }
437
- export class PolicyTypeNotEnabledException extends __BaseException {
438
- name = "PolicyTypeNotEnabledException";
439
- $fault = "client";
440
- Message;
441
- constructor(opts) {
442
- super({
443
- name: "PolicyTypeNotEnabledException",
444
- $fault: "client",
445
- ...opts,
446
- });
447
- Object.setPrototypeOf(this, PolicyTypeNotEnabledException.prototype);
448
- this.Message = opts.Message;
449
- }
450
- }
451
- export class TargetNotFoundException extends __BaseException {
452
- name = "TargetNotFoundException";
453
- $fault = "client";
454
- Message;
455
- constructor(opts) {
456
- super({
457
- name: "TargetNotFoundException",
458
- $fault: "client",
459
- ...opts,
460
- });
461
- Object.setPrototypeOf(this, TargetNotFoundException.prototype);
462
- this.Message = opts.Message;
463
- }
464
- }
465
- export class UnsupportedAPIEndpointException extends __BaseException {
466
- name = "UnsupportedAPIEndpointException";
467
- $fault = "client";
468
- Message;
469
- constructor(opts) {
470
- super({
471
- name: "UnsupportedAPIEndpointException",
472
- $fault: "client",
473
- ...opts,
474
- });
475
- Object.setPrototypeOf(this, UnsupportedAPIEndpointException.prototype);
476
- this.Message = opts.Message;
477
- }
478
- }
479
- export class ConflictException extends __BaseException {
480
- name = "ConflictException";
481
- $fault = "client";
482
- Message;
483
- constructor(opts) {
484
- super({
485
- name: "ConflictException",
486
- $fault: "client",
487
- ...opts,
488
- });
489
- Object.setPrototypeOf(this, ConflictException.prototype);
490
- this.Message = opts.Message;
491
- }
492
- }
493
- export const IAMUserAccessToBilling = {
494
- ALLOW: "ALLOW",
495
- DENY: "DENY",
496
- };
497
- export const CreateAccountFailureReason = {
498
- ACCOUNT_LIMIT_EXCEEDED: "ACCOUNT_LIMIT_EXCEEDED",
499
- CONCURRENT_ACCOUNT_MODIFICATION: "CONCURRENT_ACCOUNT_MODIFICATION",
500
- EMAIL_ALREADY_EXISTS: "EMAIL_ALREADY_EXISTS",
501
- FAILED_BUSINESS_VALIDATION: "FAILED_BUSINESS_VALIDATION",
502
- GOVCLOUD_ACCOUNT_ALREADY_EXISTS: "GOVCLOUD_ACCOUNT_ALREADY_EXISTS",
503
- INTERNAL_FAILURE: "INTERNAL_FAILURE",
504
- INVALID_ADDRESS: "INVALID_ADDRESS",
505
- INVALID_EMAIL: "INVALID_EMAIL",
506
- INVALID_IDENTITY_FOR_BUSINESS_VALIDATION: "INVALID_IDENTITY_FOR_BUSINESS_VALIDATION",
507
- INVALID_PAYMENT_INSTRUMENT: "INVALID_PAYMENT_INSTRUMENT",
508
- MISSING_BUSINESS_VALIDATION: "MISSING_BUSINESS_VALIDATION",
509
- MISSING_PAYMENT_INSTRUMENT: "MISSING_PAYMENT_INSTRUMENT",
510
- PENDING_BUSINESS_VALIDATIONv: "PENDING_BUSINESS_VALIDATION",
511
- UNKNOWN_BUSINESS_VALIDATION: "UNKNOWN_BUSINESS_VALIDATION",
512
- UPDATE_EXISTING_RESOURCE_POLICY_WITH_TAGS_NOT_SUPPORTED: "UPDATE_EXISTING_RESOURCE_POLICY_WITH_TAGS_NOT_SUPPORTED",
513
- };
514
- export const CreateAccountState = {
515
- FAILED: "FAILED",
516
- IN_PROGRESS: "IN_PROGRESS",
517
- SUCCEEDED: "SUCCEEDED",
518
- };
519
- export class FinalizingOrganizationException extends __BaseException {
520
- name = "FinalizingOrganizationException";
521
- $fault = "client";
522
- Message;
523
- constructor(opts) {
524
- super({
525
- name: "FinalizingOrganizationException",
526
- $fault: "client",
527
- ...opts,
528
- });
529
- Object.setPrototypeOf(this, FinalizingOrganizationException.prototype);
530
- this.Message = opts.Message;
531
- }
532
- }
533
- export const OrganizationFeatureSet = {
534
- ALL: "ALL",
535
- CONSOLIDATED_BILLING: "CONSOLIDATED_BILLING",
536
- };
537
- export const PolicyTypeStatus = {
538
- ENABLED: "ENABLED",
539
- PENDING_DISABLE: "PENDING_DISABLE",
540
- PENDING_ENABLE: "PENDING_ENABLE",
541
- };
542
- export const PolicyType = {
543
- AISERVICES_OPT_OUT_POLICY: "AISERVICES_OPT_OUT_POLICY",
544
- BACKUP_POLICY: "BACKUP_POLICY",
545
- CHATBOT_POLICY: "CHATBOT_POLICY",
546
- DECLARATIVE_POLICY_EC2: "DECLARATIVE_POLICY_EC2",
547
- RESOURCE_CONTROL_POLICY: "RESOURCE_CONTROL_POLICY",
548
- SECURITYHUB_POLICY: "SECURITYHUB_POLICY",
549
- SERVICE_CONTROL_POLICY: "SERVICE_CONTROL_POLICY",
550
- TAG_POLICY: "TAG_POLICY",
551
- };
552
- export class DuplicateOrganizationalUnitException extends __BaseException {
553
- name = "DuplicateOrganizationalUnitException";
554
- $fault = "client";
555
- Message;
556
- constructor(opts) {
557
- super({
558
- name: "DuplicateOrganizationalUnitException",
559
- $fault: "client",
560
- ...opts,
561
- });
562
- Object.setPrototypeOf(this, DuplicateOrganizationalUnitException.prototype);
563
- this.Message = opts.Message;
564
- }
565
- }
566
- export class ParentNotFoundException extends __BaseException {
567
- name = "ParentNotFoundException";
568
- $fault = "client";
569
- Message;
570
- constructor(opts) {
571
- super({
572
- name: "ParentNotFoundException",
573
- $fault: "client",
574
- ...opts,
575
- });
576
- Object.setPrototypeOf(this, ParentNotFoundException.prototype);
577
- this.Message = opts.Message;
578
- }
579
- }
580
- export class DuplicatePolicyException extends __BaseException {
581
- name = "DuplicatePolicyException";
582
- $fault = "client";
583
- Message;
584
- constructor(opts) {
585
- super({
586
- name: "DuplicatePolicyException",
587
- $fault: "client",
588
- ...opts,
589
- });
590
- Object.setPrototypeOf(this, DuplicatePolicyException.prototype);
591
- this.Message = opts.Message;
592
- }
593
- }
594
- export class MalformedPolicyDocumentException extends __BaseException {
595
- name = "MalformedPolicyDocumentException";
596
- $fault = "client";
597
- Message;
598
- constructor(opts) {
599
- super({
600
- name: "MalformedPolicyDocumentException",
601
- $fault: "client",
602
- ...opts,
603
- });
604
- Object.setPrototypeOf(this, MalformedPolicyDocumentException.prototype);
605
- this.Message = opts.Message;
606
- }
607
- }
608
- export class PolicyTypeNotAvailableForOrganizationException extends __BaseException {
609
- name = "PolicyTypeNotAvailableForOrganizationException";
610
- $fault = "client";
611
- Message;
612
- constructor(opts) {
613
- super({
614
- name: "PolicyTypeNotAvailableForOrganizationException",
615
- $fault: "client",
616
- ...opts,
617
- });
618
- Object.setPrototypeOf(this, PolicyTypeNotAvailableForOrganizationException.prototype);
619
- this.Message = opts.Message;
620
- }
621
- }
622
- export class OrganizationNotEmptyException extends __BaseException {
623
- name = "OrganizationNotEmptyException";
624
- $fault = "client";
625
- Message;
626
- constructor(opts) {
627
- super({
628
- name: "OrganizationNotEmptyException",
629
- $fault: "client",
630
- ...opts,
631
- });
632
- Object.setPrototypeOf(this, OrganizationNotEmptyException.prototype);
633
- this.Message = opts.Message;
634
- }
635
- }
636
- export class OrganizationalUnitNotEmptyException extends __BaseException {
637
- name = "OrganizationalUnitNotEmptyException";
638
- $fault = "client";
639
- Message;
640
- constructor(opts) {
641
- super({
642
- name: "OrganizationalUnitNotEmptyException",
643
- $fault: "client",
644
- ...opts,
645
- });
646
- Object.setPrototypeOf(this, OrganizationalUnitNotEmptyException.prototype);
647
- this.Message = opts.Message;
648
- }
649
- }
650
- export class OrganizationalUnitNotFoundException extends __BaseException {
651
- name = "OrganizationalUnitNotFoundException";
652
- $fault = "client";
653
- Message;
654
- constructor(opts) {
655
- super({
656
- name: "OrganizationalUnitNotFoundException",
657
- $fault: "client",
658
- ...opts,
659
- });
660
- Object.setPrototypeOf(this, OrganizationalUnitNotFoundException.prototype);
661
- this.Message = opts.Message;
662
- }
663
- }
664
- export class PolicyInUseException extends __BaseException {
665
- name = "PolicyInUseException";
666
- $fault = "client";
667
- Message;
668
- constructor(opts) {
669
- super({
670
- name: "PolicyInUseException",
671
- $fault: "client",
672
- ...opts,
673
- });
674
- Object.setPrototypeOf(this, PolicyInUseException.prototype);
675
- this.Message = opts.Message;
676
- }
677
- }
678
- export class ResourcePolicyNotFoundException extends __BaseException {
679
- name = "ResourcePolicyNotFoundException";
680
- $fault = "client";
681
- Message;
682
- constructor(opts) {
683
- super({
684
- name: "ResourcePolicyNotFoundException",
685
- $fault: "client",
686
- ...opts,
687
- });
688
- Object.setPrototypeOf(this, ResourcePolicyNotFoundException.prototype);
689
- this.Message = opts.Message;
690
- }
691
- }
692
- export class CreateAccountStatusNotFoundException extends __BaseException {
693
- name = "CreateAccountStatusNotFoundException";
694
- $fault = "client";
695
- Message;
696
- constructor(opts) {
697
- super({
698
- name: "CreateAccountStatusNotFoundException",
699
- $fault: "client",
700
- ...opts,
701
- });
702
- Object.setPrototypeOf(this, CreateAccountStatusNotFoundException.prototype);
703
- this.Message = opts.Message;
704
- }
705
- }
706
- export const EffectivePolicyType = {
707
- AISERVICES_OPT_OUT_POLICY: "AISERVICES_OPT_OUT_POLICY",
708
- BACKUP_POLICY: "BACKUP_POLICY",
709
- CHATBOT_POLICY: "CHATBOT_POLICY",
710
- DECLARATIVE_POLICY_EC2: "DECLARATIVE_POLICY_EC2",
711
- SECURITYHUB_POLICY: "SECURITYHUB_POLICY",
712
- TAG_POLICY: "TAG_POLICY",
713
- };
714
- export class EffectivePolicyNotFoundException extends __BaseException {
715
- name = "EffectivePolicyNotFoundException";
716
- $fault = "client";
717
- Message;
718
- constructor(opts) {
719
- super({
720
- name: "EffectivePolicyNotFoundException",
721
- $fault: "client",
722
- ...opts,
723
- });
724
- Object.setPrototypeOf(this, EffectivePolicyNotFoundException.prototype);
725
- this.Message = opts.Message;
726
- }
727
- }
728
- export class PolicyNotAttachedException extends __BaseException {
729
- name = "PolicyNotAttachedException";
730
- $fault = "client";
731
- Message;
732
- constructor(opts) {
733
- super({
734
- name: "PolicyNotAttachedException",
735
- $fault: "client",
736
- ...opts,
737
- });
738
- Object.setPrototypeOf(this, PolicyNotAttachedException.prototype);
739
- this.Message = opts.Message;
740
- }
741
- }
742
- export class RootNotFoundException extends __BaseException {
743
- name = "RootNotFoundException";
744
- $fault = "client";
745
- Message;
746
- constructor(opts) {
747
- super({
748
- name: "RootNotFoundException",
749
- $fault: "client",
750
- ...opts,
751
- });
752
- Object.setPrototypeOf(this, RootNotFoundException.prototype);
753
- this.Message = opts.Message;
754
- }
755
- }
756
- export class PolicyTypeAlreadyEnabledException extends __BaseException {
757
- name = "PolicyTypeAlreadyEnabledException";
758
- $fault = "client";
759
- Message;
760
- constructor(opts) {
761
- super({
762
- name: "PolicyTypeAlreadyEnabledException",
763
- $fault: "client",
764
- ...opts,
765
- });
766
- Object.setPrototypeOf(this, PolicyTypeAlreadyEnabledException.prototype);
767
- this.Message = opts.Message;
768
- }
769
- }
770
- export class DuplicateHandshakeException extends __BaseException {
771
- name = "DuplicateHandshakeException";
772
- $fault = "client";
773
- Message;
774
- constructor(opts) {
775
- super({
776
- name: "DuplicateHandshakeException",
777
- $fault: "client",
778
- ...opts,
779
- });
780
- Object.setPrototypeOf(this, DuplicateHandshakeException.prototype);
781
- this.Message = opts.Message;
782
- }
783
- }
784
- export class MasterCannotLeaveOrganizationException extends __BaseException {
785
- name = "MasterCannotLeaveOrganizationException";
786
- $fault = "client";
787
- Message;
788
- constructor(opts) {
789
- super({
790
- name: "MasterCannotLeaveOrganizationException",
791
- $fault: "client",
792
- ...opts,
793
- });
794
- Object.setPrototypeOf(this, MasterCannotLeaveOrganizationException.prototype);
795
- this.Message = opts.Message;
796
- }
797
- }
798
- export const ChildType = {
799
- ACCOUNT: "ACCOUNT",
800
- ORGANIZATIONAL_UNIT: "ORGANIZATIONAL_UNIT",
801
- };
802
- export class ChildNotFoundException extends __BaseException {
803
- name = "ChildNotFoundException";
804
- $fault = "client";
805
- Message;
806
- constructor(opts) {
807
- super({
808
- name: "ChildNotFoundException",
809
- $fault: "client",
810
- ...opts,
811
- });
812
- Object.setPrototypeOf(this, ChildNotFoundException.prototype);
813
- this.Message = opts.Message;
814
- }
815
- }
816
- export const ParentType = {
817
- ORGANIZATIONAL_UNIT: "ORGANIZATIONAL_UNIT",
818
- ROOT: "ROOT",
819
- };
820
- export const TargetType = {
821
- ACCOUNT: "ACCOUNT",
822
- ORGANIZATIONAL_UNIT: "ORGANIZATIONAL_UNIT",
823
- ROOT: "ROOT",
824
- };
825
- export class DestinationParentNotFoundException extends __BaseException {
826
- name = "DestinationParentNotFoundException";
827
- $fault = "client";
828
- Message;
829
- constructor(opts) {
830
- super({
831
- name: "DestinationParentNotFoundException",
832
- $fault: "client",
833
- ...opts,
834
- });
835
- Object.setPrototypeOf(this, DestinationParentNotFoundException.prototype);
836
- this.Message = opts.Message;
837
- }
838
- }
839
- export class DuplicateAccountException extends __BaseException {
840
- name = "DuplicateAccountException";
841
- $fault = "client";
842
- Message;
843
- constructor(opts) {
844
- super({
845
- name: "DuplicateAccountException",
846
- $fault: "client",
847
- ...opts,
848
- });
849
- Object.setPrototypeOf(this, DuplicateAccountException.prototype);
850
- this.Message = opts.Message;
851
- }
852
- }
853
- export class SourceParentNotFoundException extends __BaseException {
854
- name = "SourceParentNotFoundException";
855
- $fault = "client";
856
- Message;
857
- constructor(opts) {
858
- super({
859
- name: "SourceParentNotFoundException",
860
- $fault: "client",
861
- ...opts,
862
- });
863
- Object.setPrototypeOf(this, SourceParentNotFoundException.prototype);
864
- this.Message = opts.Message;
865
- }
866
- }
1
+ export {};