@aws-sdk/client-organizations 3.934.0 → 3.936.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,229 +1,29 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
- import { OrganizationsServiceException as __BaseException } from "./OrganizationsServiceException";
1
+ import {
2
+ AccountJoinedMethod,
3
+ AccountState,
4
+ AccountStatus,
5
+ ActionType,
6
+ ChildType,
7
+ CreateAccountFailureReason,
8
+ CreateAccountState,
9
+ EffectivePolicyType,
10
+ HandshakePartyType,
11
+ HandshakeResourceType,
12
+ HandshakeState,
13
+ IAMUserAccessToBilling,
14
+ OrganizationFeatureSet,
15
+ ParentType,
16
+ PolicyType,
17
+ PolicyTypeStatus,
18
+ TargetType,
19
+ } from "./enums";
3
20
  export interface AcceptHandshakeRequest {
4
21
  HandshakeId: string | undefined;
5
22
  }
6
- export declare const ActionType: {
7
- readonly ADD_ORGANIZATIONS_SERVICE_LINKED_ROLE: "ADD_ORGANIZATIONS_SERVICE_LINKED_ROLE";
8
- readonly APPROVE_ALL_FEATURES: "APPROVE_ALL_FEATURES";
9
- readonly ENABLE_ALL_FEATURES: "ENABLE_ALL_FEATURES";
10
- readonly INVITE_ACCOUNT_TO_ORGANIZATION: "INVITE";
11
- };
12
- export type ActionType = (typeof ActionType)[keyof typeof ActionType];
13
- export declare const HandshakePartyType: {
14
- readonly ACCOUNT: "ACCOUNT";
15
- readonly EMAIL: "EMAIL";
16
- readonly ORGANIZATION: "ORGANIZATION";
17
- };
18
- export type HandshakePartyType =
19
- (typeof HandshakePartyType)[keyof typeof HandshakePartyType];
20
23
  export interface HandshakeParty {
21
24
  Id: string | undefined;
22
25
  Type: HandshakePartyType | undefined;
23
26
  }
24
- export declare const HandshakeResourceType: {
25
- readonly ACCOUNT: "ACCOUNT";
26
- readonly EMAIL: "EMAIL";
27
- readonly MASTER_EMAIL: "MASTER_EMAIL";
28
- readonly MASTER_NAME: "MASTER_NAME";
29
- readonly NOTES: "NOTES";
30
- readonly ORGANIZATION: "ORGANIZATION";
31
- readonly ORGANIZATION_FEATURE_SET: "ORGANIZATION_FEATURE_SET";
32
- readonly PARENT_HANDSHAKE: "PARENT_HANDSHAKE";
33
- };
34
- export type HandshakeResourceType =
35
- (typeof HandshakeResourceType)[keyof typeof HandshakeResourceType];
36
- export declare const HandshakeState: {
37
- readonly ACCEPTED: "ACCEPTED";
38
- readonly CANCELED: "CANCELED";
39
- readonly DECLINED: "DECLINED";
40
- readonly EXPIRED: "EXPIRED";
41
- readonly OPEN: "OPEN";
42
- readonly REQUESTED: "REQUESTED";
43
- };
44
- export type HandshakeState =
45
- (typeof HandshakeState)[keyof typeof HandshakeState];
46
- export declare class AccessDeniedException extends __BaseException {
47
- readonly name: "AccessDeniedException";
48
- readonly $fault: "client";
49
- Message?: string | undefined;
50
- constructor(
51
- opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
52
- );
53
- }
54
- export declare const AccessDeniedForDependencyExceptionReason: {
55
- readonly ACCESS_DENIED_DURING_CREATE_SERVICE_LINKED_ROLE: "ACCESS_DENIED_DURING_CREATE_SERVICE_LINKED_ROLE";
56
- };
57
- export type AccessDeniedForDependencyExceptionReason =
58
- (typeof AccessDeniedForDependencyExceptionReason)[keyof typeof AccessDeniedForDependencyExceptionReason];
59
- export declare class AccessDeniedForDependencyException extends __BaseException {
60
- readonly name: "AccessDeniedForDependencyException";
61
- readonly $fault: "client";
62
- Message?: string | undefined;
63
- Reason?: AccessDeniedForDependencyExceptionReason | undefined;
64
- constructor(
65
- opts: __ExceptionOptionType<
66
- AccessDeniedForDependencyException,
67
- __BaseException
68
- >
69
- );
70
- }
71
- export declare class AWSOrganizationsNotInUseException extends __BaseException {
72
- readonly name: "AWSOrganizationsNotInUseException";
73
- readonly $fault: "client";
74
- Message?: string | undefined;
75
- constructor(
76
- opts: __ExceptionOptionType<
77
- AWSOrganizationsNotInUseException,
78
- __BaseException
79
- >
80
- );
81
- }
82
- export declare class ConcurrentModificationException extends __BaseException {
83
- readonly name: "ConcurrentModificationException";
84
- readonly $fault: "client";
85
- Message?: string | undefined;
86
- constructor(
87
- opts: __ExceptionOptionType<
88
- ConcurrentModificationException,
89
- __BaseException
90
- >
91
- );
92
- }
93
- export declare class HandshakeAlreadyInStateException extends __BaseException {
94
- readonly name: "HandshakeAlreadyInStateException";
95
- readonly $fault: "client";
96
- Message?: string | undefined;
97
- constructor(
98
- opts: __ExceptionOptionType<
99
- HandshakeAlreadyInStateException,
100
- __BaseException
101
- >
102
- );
103
- }
104
- export declare const HandshakeConstraintViolationExceptionReason: {
105
- readonly ACCOUNT_NUMBER_LIMIT_EXCEEDED: "ACCOUNT_NUMBER_LIMIT_EXCEEDED";
106
- readonly ALREADY_IN_AN_ORGANIZATION: "ALREADY_IN_AN_ORGANIZATION";
107
- readonly HANDSHAKE_RATE_LIMIT_EXCEEDED: "HANDSHAKE_RATE_LIMIT_EXCEEDED";
108
- readonly INVITE_DISABLED_DURING_ENABLE_ALL_FEATURES: "INVITE_DISABLED_DURING_ENABLE_ALL_FEATURES";
109
- readonly MANAGEMENT_ACCOUNT_EMAIL_NOT_VERIFIED: "MANAGEMENT_ACCOUNT_EMAIL_NOT_VERIFIED";
110
- readonly ORGANIZATION_ALREADY_HAS_ALL_FEATURES: "ORGANIZATION_ALREADY_HAS_ALL_FEATURES";
111
- readonly ORGANIZATION_FROM_DIFFERENT_SELLER_OF_RECORD: "ORGANIZATION_FROM_DIFFERENT_SELLER_OF_RECORD";
112
- readonly ORGANIZATION_IS_ALREADY_PENDING_ALL_FEATURES_MIGRATION: "ORGANIZATION_IS_ALREADY_PENDING_ALL_FEATURES_MIGRATION";
113
- readonly ORGANIZATION_MEMBERSHIP_CHANGE_RATE_LIMIT_EXCEEDED: "ORGANIZATION_MEMBERSHIP_CHANGE_RATE_LIMIT_EXCEEDED";
114
- readonly PAYMENT_INSTRUMENT_REQUIRED: "PAYMENT_INSTRUMENT_REQUIRED";
115
- };
116
- export type HandshakeConstraintViolationExceptionReason =
117
- (typeof HandshakeConstraintViolationExceptionReason)[keyof typeof HandshakeConstraintViolationExceptionReason];
118
- export declare class HandshakeConstraintViolationException extends __BaseException {
119
- readonly name: "HandshakeConstraintViolationException";
120
- readonly $fault: "client";
121
- Message?: string | undefined;
122
- Reason?: HandshakeConstraintViolationExceptionReason | undefined;
123
- constructor(
124
- opts: __ExceptionOptionType<
125
- HandshakeConstraintViolationException,
126
- __BaseException
127
- >
128
- );
129
- }
130
- export declare class HandshakeNotFoundException extends __BaseException {
131
- readonly name: "HandshakeNotFoundException";
132
- readonly $fault: "client";
133
- Message?: string | undefined;
134
- constructor(
135
- opts: __ExceptionOptionType<HandshakeNotFoundException, __BaseException>
136
- );
137
- }
138
- export declare class InvalidHandshakeTransitionException extends __BaseException {
139
- readonly name: "InvalidHandshakeTransitionException";
140
- readonly $fault: "client";
141
- Message?: string | undefined;
142
- constructor(
143
- opts: __ExceptionOptionType<
144
- InvalidHandshakeTransitionException,
145
- __BaseException
146
- >
147
- );
148
- }
149
- export declare const InvalidInputExceptionReason: {
150
- readonly DUPLICATE_TAG_KEY: "DUPLICATE_TAG_KEY";
151
- readonly IMMUTABLE_POLICY: "IMMUTABLE_POLICY";
152
- readonly INPUT_REQUIRED: "INPUT_REQUIRED";
153
- readonly INVALID_EMAIL_ADDRESS_TARGET: "INVALID_EMAIL_ADDRESS_TARGET";
154
- readonly INVALID_ENUM: "INVALID_ENUM";
155
- readonly INVALID_ENUM_POLICY_TYPE: "INVALID_ENUM_POLICY_TYPE";
156
- readonly INVALID_FULL_NAME_TARGET: "INVALID_FULL_NAME_TARGET";
157
- readonly INVALID_LIST_MEMBER: "INVALID_LIST_MEMBER";
158
- readonly INVALID_PAGINATION_TOKEN: "INVALID_NEXT_TOKEN";
159
- readonly INVALID_PARTY_TYPE_TARGET: "INVALID_PARTY_TYPE_TARGET";
160
- readonly INVALID_PATTERN: "INVALID_PATTERN";
161
- readonly INVALID_PATTERN_TARGET_ID: "INVALID_PATTERN_TARGET_ID";
162
- readonly INVALID_PRINCIPAL: "INVALID_PRINCIPAL";
163
- readonly INVALID_RESOURCE_POLICY_JSON: "INVALID_RESOURCE_POLICY_JSON";
164
- readonly INVALID_ROLE_NAME: "INVALID_ROLE_NAME";
165
- readonly INVALID_SYNTAX_ORGANIZATION: "INVALID_SYNTAX_ORGANIZATION_ARN";
166
- readonly INVALID_SYNTAX_POLICY: "INVALID_SYNTAX_POLICY_ID";
167
- readonly INVALID_SYSTEM_TAGS_PARAMETER: "INVALID_SYSTEM_TAGS_PARAMETER";
168
- readonly MAX_FILTER_LIMIT_EXCEEDED: "MAX_LIMIT_EXCEEDED_FILTER";
169
- readonly MAX_LENGTH_EXCEEDED: "MAX_LENGTH_EXCEEDED";
170
- readonly MAX_VALUE_EXCEEDED: "MAX_VALUE_EXCEEDED";
171
- readonly MIN_LENGTH_EXCEEDED: "MIN_LENGTH_EXCEEDED";
172
- readonly MIN_VALUE_EXCEEDED: "MIN_VALUE_EXCEEDED";
173
- readonly MOVING_ACCOUNT_BETWEEN_DIFFERENT_ROOTS: "MOVING_ACCOUNT_BETWEEN_DIFFERENT_ROOTS";
174
- readonly NON_DETACHABLE_POLICY: "NON_DETACHABLE_POLICY";
175
- readonly TARGET_NOT_SUPPORTED: "TARGET_NOT_SUPPORTED";
176
- readonly UNRECOGNIZED_SERVICE_PRINCIPAL: "UNRECOGNIZED_SERVICE_PRINCIPAL";
177
- readonly UNSUPPORTED_ACTION_IN_RESOURCE_POLICY: "UNSUPPORTED_ACTION_IN_RESOURCE_POLICY";
178
- readonly UNSUPPORTED_POLICY_TYPE_IN_RESOURCE_POLICY: "UNSUPPORTED_POLICY_TYPE_IN_RESOURCE_POLICY";
179
- readonly UNSUPPORTED_RESOURCE_IN_RESOURCE_POLICY: "UNSUPPORTED_RESOURCE_IN_RESOURCE_POLICY";
180
- };
181
- export type InvalidInputExceptionReason =
182
- (typeof InvalidInputExceptionReason)[keyof typeof InvalidInputExceptionReason];
183
- export declare class InvalidInputException extends __BaseException {
184
- readonly name: "InvalidInputException";
185
- readonly $fault: "client";
186
- Message?: string | undefined;
187
- Reason?: InvalidInputExceptionReason | undefined;
188
- constructor(
189
- opts: __ExceptionOptionType<InvalidInputException, __BaseException>
190
- );
191
- }
192
- export declare class ServiceException extends __BaseException {
193
- readonly name: "ServiceException";
194
- readonly $fault: "server";
195
- Message?: string | undefined;
196
- constructor(opts: __ExceptionOptionType<ServiceException, __BaseException>);
197
- }
198
- export declare class TooManyRequestsException extends __BaseException {
199
- readonly name: "TooManyRequestsException";
200
- readonly $fault: "client";
201
- Type?: string | undefined;
202
- Message?: string | undefined;
203
- constructor(
204
- opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>
205
- );
206
- }
207
- export declare const AccountJoinedMethod: {
208
- readonly CREATED: "CREATED";
209
- readonly INVITED: "INVITED";
210
- };
211
- export type AccountJoinedMethod =
212
- (typeof AccountJoinedMethod)[keyof typeof AccountJoinedMethod];
213
- export declare const AccountState: {
214
- readonly ACTIVE: "ACTIVE";
215
- readonly CLOSED: "CLOSED";
216
- readonly PENDING_ACTIVATION: "PENDING_ACTIVATION";
217
- readonly PENDING_CLOSURE: "PENDING_CLOSURE";
218
- readonly SUSPENDED: "SUSPENDED";
219
- };
220
- export type AccountState = (typeof AccountState)[keyof typeof AccountState];
221
- export declare const AccountStatus: {
222
- readonly ACTIVE: "ACTIVE";
223
- readonly PENDING_CLOSURE: "PENDING_CLOSURE";
224
- readonly SUSPENDED: "SUSPENDED";
225
- };
226
- export type AccountStatus = (typeof AccountStatus)[keyof typeof AccountStatus];
227
27
  export interface Account {
228
28
  Id?: string | undefined;
229
29
  Arn?: string | undefined;
@@ -234,189 +34,16 @@ export interface Account {
234
34
  JoinedMethod?: AccountJoinedMethod | undefined;
235
35
  JoinedTimestamp?: Date | undefined;
236
36
  }
237
- export declare class AccountAlreadyClosedException extends __BaseException {
238
- readonly name: "AccountAlreadyClosedException";
239
- readonly $fault: "client";
240
- Message?: string | undefined;
241
- constructor(
242
- opts: __ExceptionOptionType<AccountAlreadyClosedException, __BaseException>
243
- );
244
- }
245
- export declare class AccountAlreadyRegisteredException extends __BaseException {
246
- readonly name: "AccountAlreadyRegisteredException";
247
- readonly $fault: "client";
248
- Message?: string | undefined;
249
- constructor(
250
- opts: __ExceptionOptionType<
251
- AccountAlreadyRegisteredException,
252
- __BaseException
253
- >
254
- );
255
- }
256
- export declare class AccountNotFoundException extends __BaseException {
257
- readonly name: "AccountNotFoundException";
258
- readonly $fault: "client";
259
- Message?: string | undefined;
260
- constructor(
261
- opts: __ExceptionOptionType<AccountNotFoundException, __BaseException>
262
- );
263
- }
264
- export declare class AccountNotRegisteredException extends __BaseException {
265
- readonly name: "AccountNotRegisteredException";
266
- readonly $fault: "client";
267
- Message?: string | undefined;
268
- constructor(
269
- opts: __ExceptionOptionType<AccountNotRegisteredException, __BaseException>
270
- );
271
- }
272
- export declare class AccountOwnerNotVerifiedException extends __BaseException {
273
- readonly name: "AccountOwnerNotVerifiedException";
274
- readonly $fault: "client";
275
- Message?: string | undefined;
276
- constructor(
277
- opts: __ExceptionOptionType<
278
- AccountOwnerNotVerifiedException,
279
- __BaseException
280
- >
281
- );
282
- }
283
- export declare class AlreadyInOrganizationException extends __BaseException {
284
- readonly name: "AlreadyInOrganizationException";
285
- readonly $fault: "client";
286
- Message?: string | undefined;
287
- constructor(
288
- opts: __ExceptionOptionType<AlreadyInOrganizationException, __BaseException>
289
- );
290
- }
291
37
  export interface AttachPolicyRequest {
292
38
  PolicyId: string | undefined;
293
39
  TargetId: string | undefined;
294
40
  }
295
- export declare const ConstraintViolationExceptionReason: {
296
- readonly ACCOUNT_CANNOT_LEAVE_ORGANIZATION: "ACCOUNT_CANNOT_LEAVE_ORGANIZATION";
297
- readonly ACCOUNT_CANNOT_LEAVE_WITHOUT_EULA: "ACCOUNT_CANNOT_LEAVE_WITHOUT_EULA";
298
- readonly ACCOUNT_CANNOT_LEAVE_WITHOUT_PHONE_VERIFICATION: "ACCOUNT_CANNOT_LEAVE_WITHOUT_PHONE_VERIFICATION";
299
- readonly ACCOUNT_CREATION_NOT_COMPLETE: "ACCOUNT_CREATION_NOT_COMPLETE";
300
- readonly ACCOUNT_CREATION_RATE_LIMIT_EXCEEDED: "ACCOUNT_CREATION_RATE_LIMIT_EXCEEDED";
301
- readonly ACCOUNT_NUMBER_LIMIT_EXCEEDED: "ACCOUNT_NUMBER_LIMIT_EXCEEDED";
302
- readonly ALL_FEATURES_MIGRATION_ORGANIZATION_SIZE_LIMIT_EXCEEDED: "ALL_FEATURES_MIGRATION_ORGANIZATION_SIZE_LIMIT_EXCEEDED";
303
- readonly CANNOT_CLOSE_MANAGEMENT_ACCOUNT: "CANNOT_CLOSE_MANAGEMENT_ACCOUNT";
304
- readonly CANNOT_REGISTER_MASTER_AS_DELEGATED_ADMINISTRATOR: "CANNOT_REGISTER_MASTER_AS_DELEGATED_ADMINISTRATOR";
305
- readonly CANNOT_REGISTER_SUSPENDED_ACCOUNT_AS_DELEGATED_ADMINISTRATOR: "CANNOT_REGISTER_SUSPENDED_ACCOUNT_AS_DELEGATED_ADMINISTRATOR";
306
- readonly CANNOT_REMOVE_DELEGATED_ADMINISTRATOR_FROM_ORG: "CANNOT_REMOVE_DELEGATED_ADMINISTRATOR_FROM_ORG";
307
- readonly CLOSE_ACCOUNT_QUOTA_EXCEEDED: "CLOSE_ACCOUNT_QUOTA_EXCEEDED";
308
- readonly CLOSE_ACCOUNT_REQUESTS_LIMIT_EXCEEDED: "CLOSE_ACCOUNT_REQUESTS_LIMIT_EXCEEDED";
309
- readonly CREATE_ORGANIZATION_IN_BILLING_MODE_UNSUPPORTED_REGION: "CREATE_ORGANIZATION_IN_BILLING_MODE_UNSUPPORTED_REGION";
310
- readonly DELEGATED_ADMINISTRATOR_EXISTS_FOR_THIS_SERVICE: "DELEGATED_ADMINISTRATOR_EXISTS_FOR_THIS_SERVICE";
311
- readonly EMAIL_VERIFICATION_CODE_EXPIRED: "EMAIL_VERIFICATION_CODE_EXPIRED";
312
- readonly HANDSHAKE_RATE_LIMIT_EXCEEDED: "HANDSHAKE_RATE_LIMIT_EXCEEDED";
313
- readonly INVALID_PAYMENT_INSTRUMENT: "INVALID_PAYMENT_INSTRUMENT";
314
- readonly MASTER_ACCOUNT_ADDRESS_DOES_NOT_MATCH_MARKETPLACE: "MASTER_ACCOUNT_ADDRESS_DOES_NOT_MATCH_MARKETPLACE";
315
- readonly MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE: "MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE";
316
- readonly MASTER_ACCOUNT_MISSING_CONTACT_INFO: "MASTER_ACCOUNT_MISSING_CONTACT_INFO";
317
- readonly MASTER_ACCOUNT_NOT_GOVCLOUD_ENABLED: "MASTER_ACCOUNT_NOT_GOVCLOUD_ENABLED";
318
- readonly MASTER_ACCOUNT_PAYMENT_INSTRUMENT_REQUIRED: "MASTER_ACCOUNT_PAYMENT_INSTRUMENT_REQUIRED";
319
- readonly MAX_DELEGATED_ADMINISTRATORS_FOR_SERVICE_LIMIT_EXCEEDED: "MAX_DELEGATED_ADMINISTRATORS_FOR_SERVICE_LIMIT_EXCEEDED";
320
- readonly MAX_POLICY_TYPE_ATTACHMENT_LIMIT_EXCEEDED: "MAX_POLICY_TYPE_ATTACHMENT_LIMIT_EXCEEDED";
321
- readonly MAX_TAG_LIMIT_EXCEEDED: "MAX_TAG_LIMIT_EXCEEDED";
322
- readonly MEMBER_ACCOUNT_PAYMENT_INSTRUMENT_REQUIRED: "MEMBER_ACCOUNT_PAYMENT_INSTRUMENT_REQUIRED";
323
- readonly MIN_POLICY_TYPE_ATTACHMENT_LIMIT_EXCEEDED: "MIN_POLICY_TYPE_ATTACHMENT_LIMIT_EXCEEDED";
324
- readonly ORGANIZATION_NOT_IN_ALL_FEATURES_MODE: "ORGANIZATION_NOT_IN_ALL_FEATURES_MODE";
325
- readonly OU_DEPTH_LIMIT_EXCEEDED: "OU_DEPTH_LIMIT_EXCEEDED";
326
- readonly OU_NUMBER_LIMIT_EXCEEDED: "OU_NUMBER_LIMIT_EXCEEDED";
327
- readonly POLICY_CONTENT_LIMIT_EXCEEDED: "POLICY_CONTENT_LIMIT_EXCEEDED";
328
- readonly POLICY_NUMBER_LIMIT_EXCEEDED: "POLICY_NUMBER_LIMIT_EXCEEDED";
329
- readonly POLICY_TYPE_ENABLED_FOR_THIS_SERVICE: "POLICY_TYPE_ENABLED_FOR_THIS_SERVICE";
330
- readonly SERVICE_ACCESS_NOT_ENABLED: "SERVICE_ACCESS_NOT_ENABLED";
331
- readonly TAG_POLICY_VIOLATION: "TAG_POLICY_VIOLATION";
332
- readonly WAIT_PERIOD_ACTIVE: "WAIT_PERIOD_ACTIVE";
333
- };
334
- export type ConstraintViolationExceptionReason =
335
- (typeof ConstraintViolationExceptionReason)[keyof typeof ConstraintViolationExceptionReason];
336
- export declare class ConstraintViolationException extends __BaseException {
337
- readonly name: "ConstraintViolationException";
338
- readonly $fault: "client";
339
- Message?: string | undefined;
340
- Reason?: ConstraintViolationExceptionReason | undefined;
341
- constructor(
342
- opts: __ExceptionOptionType<ConstraintViolationException, __BaseException>
343
- );
344
- }
345
- export declare class DuplicatePolicyAttachmentException extends __BaseException {
346
- readonly name: "DuplicatePolicyAttachmentException";
347
- readonly $fault: "client";
348
- Message?: string | undefined;
349
- constructor(
350
- opts: __ExceptionOptionType<
351
- DuplicatePolicyAttachmentException,
352
- __BaseException
353
- >
354
- );
355
- }
356
- export declare class PolicyChangesInProgressException extends __BaseException {
357
- readonly name: "PolicyChangesInProgressException";
358
- readonly $fault: "client";
359
- Message?: string | undefined;
360
- constructor(
361
- opts: __ExceptionOptionType<
362
- PolicyChangesInProgressException,
363
- __BaseException
364
- >
365
- );
366
- }
367
- export declare class PolicyNotFoundException extends __BaseException {
368
- readonly name: "PolicyNotFoundException";
369
- readonly $fault: "client";
370
- Message?: string | undefined;
371
- constructor(
372
- opts: __ExceptionOptionType<PolicyNotFoundException, __BaseException>
373
- );
374
- }
375
- export declare class PolicyTypeNotEnabledException extends __BaseException {
376
- readonly name: "PolicyTypeNotEnabledException";
377
- readonly $fault: "client";
378
- Message?: string | undefined;
379
- constructor(
380
- opts: __ExceptionOptionType<PolicyTypeNotEnabledException, __BaseException>
381
- );
382
- }
383
- export declare class TargetNotFoundException extends __BaseException {
384
- readonly name: "TargetNotFoundException";
385
- readonly $fault: "client";
386
- Message?: string | undefined;
387
- constructor(
388
- opts: __ExceptionOptionType<TargetNotFoundException, __BaseException>
389
- );
390
- }
391
- export declare class UnsupportedAPIEndpointException extends __BaseException {
392
- readonly name: "UnsupportedAPIEndpointException";
393
- readonly $fault: "client";
394
- Message?: string | undefined;
395
- constructor(
396
- opts: __ExceptionOptionType<
397
- UnsupportedAPIEndpointException,
398
- __BaseException
399
- >
400
- );
401
- }
402
41
  export interface CancelHandshakeRequest {
403
42
  HandshakeId: string | undefined;
404
43
  }
405
44
  export interface CloseAccountRequest {
406
45
  AccountId: string | undefined;
407
46
  }
408
- export declare class ConflictException extends __BaseException {
409
- readonly name: "ConflictException";
410
- readonly $fault: "client";
411
- Message?: string | undefined;
412
- constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
413
- }
414
- export declare const IAMUserAccessToBilling: {
415
- readonly ALLOW: "ALLOW";
416
- readonly DENY: "DENY";
417
- };
418
- export type IAMUserAccessToBilling =
419
- (typeof IAMUserAccessToBilling)[keyof typeof IAMUserAccessToBilling];
420
47
  export interface Tag {
421
48
  Key: string | undefined;
422
49
  Value: string | undefined;
@@ -428,32 +55,6 @@ export interface CreateAccountRequest {
428
55
  IamUserAccessToBilling?: IAMUserAccessToBilling | undefined;
429
56
  Tags?: Tag[] | undefined;
430
57
  }
431
- export declare const CreateAccountFailureReason: {
432
- readonly ACCOUNT_LIMIT_EXCEEDED: "ACCOUNT_LIMIT_EXCEEDED";
433
- readonly CONCURRENT_ACCOUNT_MODIFICATION: "CONCURRENT_ACCOUNT_MODIFICATION";
434
- readonly EMAIL_ALREADY_EXISTS: "EMAIL_ALREADY_EXISTS";
435
- readonly FAILED_BUSINESS_VALIDATION: "FAILED_BUSINESS_VALIDATION";
436
- readonly GOVCLOUD_ACCOUNT_ALREADY_EXISTS: "GOVCLOUD_ACCOUNT_ALREADY_EXISTS";
437
- readonly INTERNAL_FAILURE: "INTERNAL_FAILURE";
438
- readonly INVALID_ADDRESS: "INVALID_ADDRESS";
439
- readonly INVALID_EMAIL: "INVALID_EMAIL";
440
- readonly INVALID_IDENTITY_FOR_BUSINESS_VALIDATION: "INVALID_IDENTITY_FOR_BUSINESS_VALIDATION";
441
- readonly INVALID_PAYMENT_INSTRUMENT: "INVALID_PAYMENT_INSTRUMENT";
442
- readonly MISSING_BUSINESS_VALIDATION: "MISSING_BUSINESS_VALIDATION";
443
- readonly MISSING_PAYMENT_INSTRUMENT: "MISSING_PAYMENT_INSTRUMENT";
444
- readonly PENDING_BUSINESS_VALIDATIONv: "PENDING_BUSINESS_VALIDATION";
445
- readonly UNKNOWN_BUSINESS_VALIDATION: "UNKNOWN_BUSINESS_VALIDATION";
446
- readonly UPDATE_EXISTING_RESOURCE_POLICY_WITH_TAGS_NOT_SUPPORTED: "UPDATE_EXISTING_RESOURCE_POLICY_WITH_TAGS_NOT_SUPPORTED";
447
- };
448
- export type CreateAccountFailureReason =
449
- (typeof CreateAccountFailureReason)[keyof typeof CreateAccountFailureReason];
450
- export declare const CreateAccountState: {
451
- readonly FAILED: "FAILED";
452
- readonly IN_PROGRESS: "IN_PROGRESS";
453
- readonly SUCCEEDED: "SUCCEEDED";
454
- };
455
- export type CreateAccountState =
456
- (typeof CreateAccountState)[keyof typeof CreateAccountState];
457
58
  export interface CreateAccountStatus {
458
59
  Id?: string | undefined;
459
60
  AccountName?: string | undefined;
@@ -467,17 +68,6 @@ export interface CreateAccountStatus {
467
68
  export interface CreateAccountResponse {
468
69
  CreateAccountStatus?: CreateAccountStatus | undefined;
469
70
  }
470
- export declare class FinalizingOrganizationException extends __BaseException {
471
- readonly name: "FinalizingOrganizationException";
472
- readonly $fault: "client";
473
- Message?: string | undefined;
474
- constructor(
475
- opts: __ExceptionOptionType<
476
- FinalizingOrganizationException,
477
- __BaseException
478
- >
479
- );
480
- }
481
71
  export interface CreateGovCloudAccountRequest {
482
72
  Email: string | undefined;
483
73
  AccountName: string | undefined;
@@ -488,33 +78,9 @@ export interface CreateGovCloudAccountRequest {
488
78
  export interface CreateGovCloudAccountResponse {
489
79
  CreateAccountStatus?: CreateAccountStatus | undefined;
490
80
  }
491
- export declare const OrganizationFeatureSet: {
492
- readonly ALL: "ALL";
493
- readonly CONSOLIDATED_BILLING: "CONSOLIDATED_BILLING";
494
- };
495
- export type OrganizationFeatureSet =
496
- (typeof OrganizationFeatureSet)[keyof typeof OrganizationFeatureSet];
497
81
  export interface CreateOrganizationRequest {
498
82
  FeatureSet?: OrganizationFeatureSet | undefined;
499
83
  }
500
- export declare const PolicyTypeStatus: {
501
- readonly ENABLED: "ENABLED";
502
- readonly PENDING_DISABLE: "PENDING_DISABLE";
503
- readonly PENDING_ENABLE: "PENDING_ENABLE";
504
- };
505
- export type PolicyTypeStatus =
506
- (typeof PolicyTypeStatus)[keyof typeof PolicyTypeStatus];
507
- export declare const PolicyType: {
508
- readonly AISERVICES_OPT_OUT_POLICY: "AISERVICES_OPT_OUT_POLICY";
509
- readonly BACKUP_POLICY: "BACKUP_POLICY";
510
- readonly CHATBOT_POLICY: "CHATBOT_POLICY";
511
- readonly DECLARATIVE_POLICY_EC2: "DECLARATIVE_POLICY_EC2";
512
- readonly RESOURCE_CONTROL_POLICY: "RESOURCE_CONTROL_POLICY";
513
- readonly SECURITYHUB_POLICY: "SECURITYHUB_POLICY";
514
- readonly SERVICE_CONTROL_POLICY: "SERVICE_CONTROL_POLICY";
515
- readonly TAG_POLICY: "TAG_POLICY";
516
- };
517
- export type PolicyType = (typeof PolicyType)[keyof typeof PolicyType];
518
84
  export interface PolicyTypeSummary {
519
85
  Type?: PolicyType | undefined;
520
86
  Status?: PolicyTypeStatus | undefined;
@@ -544,25 +110,6 @@ export interface OrganizationalUnit {
544
110
  export interface CreateOrganizationalUnitResponse {
545
111
  OrganizationalUnit?: OrganizationalUnit | undefined;
546
112
  }
547
- export declare class DuplicateOrganizationalUnitException extends __BaseException {
548
- readonly name: "DuplicateOrganizationalUnitException";
549
- readonly $fault: "client";
550
- Message?: string | undefined;
551
- constructor(
552
- opts: __ExceptionOptionType<
553
- DuplicateOrganizationalUnitException,
554
- __BaseException
555
- >
556
- );
557
- }
558
- export declare class ParentNotFoundException extends __BaseException {
559
- readonly name: "ParentNotFoundException";
560
- readonly $fault: "client";
561
- Message?: string | undefined;
562
- constructor(
563
- opts: __ExceptionOptionType<ParentNotFoundException, __BaseException>
564
- );
565
- }
566
113
  export interface CreatePolicyRequest {
567
114
  Content: string | undefined;
568
115
  Description: string | undefined;
@@ -585,94 +132,15 @@ export interface Policy {
585
132
  export interface CreatePolicyResponse {
586
133
  Policy?: Policy | undefined;
587
134
  }
588
- export declare class DuplicatePolicyException extends __BaseException {
589
- readonly name: "DuplicatePolicyException";
590
- readonly $fault: "client";
591
- Message?: string | undefined;
592
- constructor(
593
- opts: __ExceptionOptionType<DuplicatePolicyException, __BaseException>
594
- );
595
- }
596
- export declare class MalformedPolicyDocumentException extends __BaseException {
597
- readonly name: "MalformedPolicyDocumentException";
598
- readonly $fault: "client";
599
- Message?: string | undefined;
600
- constructor(
601
- opts: __ExceptionOptionType<
602
- MalformedPolicyDocumentException,
603
- __BaseException
604
- >
605
- );
606
- }
607
- export declare class PolicyTypeNotAvailableForOrganizationException extends __BaseException {
608
- readonly name: "PolicyTypeNotAvailableForOrganizationException";
609
- readonly $fault: "client";
610
- Message?: string | undefined;
611
- constructor(
612
- opts: __ExceptionOptionType<
613
- PolicyTypeNotAvailableForOrganizationException,
614
- __BaseException
615
- >
616
- );
617
- }
618
135
  export interface DeclineHandshakeRequest {
619
136
  HandshakeId: string | undefined;
620
137
  }
621
- export declare class OrganizationNotEmptyException extends __BaseException {
622
- readonly name: "OrganizationNotEmptyException";
623
- readonly $fault: "client";
624
- Message?: string | undefined;
625
- constructor(
626
- opts: __ExceptionOptionType<OrganizationNotEmptyException, __BaseException>
627
- );
628
- }
629
138
  export interface DeleteOrganizationalUnitRequest {
630
139
  OrganizationalUnitId: string | undefined;
631
140
  }
632
- export declare class OrganizationalUnitNotEmptyException extends __BaseException {
633
- readonly name: "OrganizationalUnitNotEmptyException";
634
- readonly $fault: "client";
635
- Message?: string | undefined;
636
- constructor(
637
- opts: __ExceptionOptionType<
638
- OrganizationalUnitNotEmptyException,
639
- __BaseException
640
- >
641
- );
642
- }
643
- export declare class OrganizationalUnitNotFoundException extends __BaseException {
644
- readonly name: "OrganizationalUnitNotFoundException";
645
- readonly $fault: "client";
646
- Message?: string | undefined;
647
- constructor(
648
- opts: __ExceptionOptionType<
649
- OrganizationalUnitNotFoundException,
650
- __BaseException
651
- >
652
- );
653
- }
654
141
  export interface DeletePolicyRequest {
655
142
  PolicyId: string | undefined;
656
143
  }
657
- export declare class PolicyInUseException extends __BaseException {
658
- readonly name: "PolicyInUseException";
659
- readonly $fault: "client";
660
- Message?: string | undefined;
661
- constructor(
662
- opts: __ExceptionOptionType<PolicyInUseException, __BaseException>
663
- );
664
- }
665
- export declare class ResourcePolicyNotFoundException extends __BaseException {
666
- readonly name: "ResourcePolicyNotFoundException";
667
- readonly $fault: "client";
668
- Message?: string | undefined;
669
- constructor(
670
- opts: __ExceptionOptionType<
671
- ResourcePolicyNotFoundException,
672
- __BaseException
673
- >
674
- );
675
- }
676
144
  export interface DeregisterDelegatedAdministratorRequest {
677
145
  AccountId: string | undefined;
678
146
  ServicePrincipal: string | undefined;
@@ -683,33 +151,12 @@ export interface DescribeAccountRequest {
683
151
  export interface DescribeAccountResponse {
684
152
  Account?: Account | undefined;
685
153
  }
686
- export declare class CreateAccountStatusNotFoundException extends __BaseException {
687
- readonly name: "CreateAccountStatusNotFoundException";
688
- readonly $fault: "client";
689
- Message?: string | undefined;
690
- constructor(
691
- opts: __ExceptionOptionType<
692
- CreateAccountStatusNotFoundException,
693
- __BaseException
694
- >
695
- );
696
- }
697
154
  export interface DescribeCreateAccountStatusRequest {
698
155
  CreateAccountRequestId: string | undefined;
699
156
  }
700
157
  export interface DescribeCreateAccountStatusResponse {
701
158
  CreateAccountStatus?: CreateAccountStatus | undefined;
702
159
  }
703
- export declare const EffectivePolicyType: {
704
- readonly AISERVICES_OPT_OUT_POLICY: "AISERVICES_OPT_OUT_POLICY";
705
- readonly BACKUP_POLICY: "BACKUP_POLICY";
706
- readonly CHATBOT_POLICY: "CHATBOT_POLICY";
707
- readonly DECLARATIVE_POLICY_EC2: "DECLARATIVE_POLICY_EC2";
708
- readonly SECURITYHUB_POLICY: "SECURITYHUB_POLICY";
709
- readonly TAG_POLICY: "TAG_POLICY";
710
- };
711
- export type EffectivePolicyType =
712
- (typeof EffectivePolicyType)[keyof typeof EffectivePolicyType];
713
160
  export interface DescribeEffectivePolicyRequest {
714
161
  PolicyType: EffectivePolicyType | undefined;
715
162
  TargetId?: string | undefined;
@@ -723,17 +170,6 @@ export interface EffectivePolicy {
723
170
  export interface DescribeEffectivePolicyResponse {
724
171
  EffectivePolicy?: EffectivePolicy | undefined;
725
172
  }
726
- export declare class EffectivePolicyNotFoundException extends __BaseException {
727
- readonly name: "EffectivePolicyNotFoundException";
728
- readonly $fault: "client";
729
- Message?: string | undefined;
730
- constructor(
731
- opts: __ExceptionOptionType<
732
- EffectivePolicyNotFoundException,
733
- __BaseException
734
- >
735
- );
736
- }
737
173
  export interface DescribeHandshakeRequest {
738
174
  HandshakeId: string | undefined;
739
175
  }
@@ -767,14 +203,6 @@ export interface DetachPolicyRequest {
767
203
  PolicyId: string | undefined;
768
204
  TargetId: string | undefined;
769
205
  }
770
- export declare class PolicyNotAttachedException extends __BaseException {
771
- readonly name: "PolicyNotAttachedException";
772
- readonly $fault: "client";
773
- Message?: string | undefined;
774
- constructor(
775
- opts: __ExceptionOptionType<PolicyNotAttachedException, __BaseException>
776
- );
777
- }
778
206
  export interface DisableAWSServiceAccessRequest {
779
207
  ServicePrincipal: string | undefined;
780
208
  }
@@ -791,14 +219,6 @@ export interface Root {
791
219
  export interface DisablePolicyTypeResponse {
792
220
  Root?: Root | undefined;
793
221
  }
794
- export declare class RootNotFoundException extends __BaseException {
795
- readonly name: "RootNotFoundException";
796
- readonly $fault: "client";
797
- Message?: string | undefined;
798
- constructor(
799
- opts: __ExceptionOptionType<RootNotFoundException, __BaseException>
800
- );
801
- }
802
222
  export interface EnableAllFeaturesRequest {}
803
223
  export interface EnableAWSServiceAccessRequest {
804
224
  ServicePrincipal: string | undefined;
@@ -810,41 +230,11 @@ export interface EnablePolicyTypeRequest {
810
230
  export interface EnablePolicyTypeResponse {
811
231
  Root?: Root | undefined;
812
232
  }
813
- export declare class PolicyTypeAlreadyEnabledException extends __BaseException {
814
- readonly name: "PolicyTypeAlreadyEnabledException";
815
- readonly $fault: "client";
816
- Message?: string | undefined;
817
- constructor(
818
- opts: __ExceptionOptionType<
819
- PolicyTypeAlreadyEnabledException,
820
- __BaseException
821
- >
822
- );
823
- }
824
- export declare class DuplicateHandshakeException extends __BaseException {
825
- readonly name: "DuplicateHandshakeException";
826
- readonly $fault: "client";
827
- Message?: string | undefined;
828
- constructor(
829
- opts: __ExceptionOptionType<DuplicateHandshakeException, __BaseException>
830
- );
831
- }
832
233
  export interface InviteAccountToOrganizationRequest {
833
234
  Target: HandshakeParty | undefined;
834
235
  Notes?: string | undefined;
835
236
  Tags?: Tag[] | undefined;
836
237
  }
837
- export declare class MasterCannotLeaveOrganizationException extends __BaseException {
838
- readonly name: "MasterCannotLeaveOrganizationException";
839
- readonly $fault: "client";
840
- Message?: string | undefined;
841
- constructor(
842
- opts: __ExceptionOptionType<
843
- MasterCannotLeaveOrganizationException,
844
- __BaseException
845
- >
846
- );
847
- }
848
238
  export interface ListAccountsRequest {
849
239
  NextToken?: string | undefined;
850
240
  MaxResults?: number | undefined;
@@ -884,11 +274,6 @@ export interface ListAWSServiceAccessForOrganizationResponse {
884
274
  EnabledServicePrincipals?: EnabledServicePrincipal[] | undefined;
885
275
  NextToken?: string | undefined;
886
276
  }
887
- export declare const ChildType: {
888
- readonly ACCOUNT: "ACCOUNT";
889
- readonly ORGANIZATIONAL_UNIT: "ORGANIZATIONAL_UNIT";
890
- };
891
- export type ChildType = (typeof ChildType)[keyof typeof ChildType];
892
277
  export interface ListChildrenRequest {
893
278
  ParentId: string | undefined;
894
279
  ChildType: ChildType | undefined;
@@ -990,24 +375,11 @@ export interface ListOrganizationalUnitsForParentResponse {
990
375
  OrganizationalUnits?: OrganizationalUnit[] | undefined;
991
376
  NextToken?: string | undefined;
992
377
  }
993
- export declare class ChildNotFoundException extends __BaseException {
994
- readonly name: "ChildNotFoundException";
995
- readonly $fault: "client";
996
- Message?: string | undefined;
997
- constructor(
998
- opts: __ExceptionOptionType<ChildNotFoundException, __BaseException>
999
- );
1000
- }
1001
378
  export interface ListParentsRequest {
1002
379
  ChildId: string | undefined;
1003
380
  NextToken?: string | undefined;
1004
381
  MaxResults?: number | undefined;
1005
382
  }
1006
- export declare const ParentType: {
1007
- readonly ORGANIZATIONAL_UNIT: "ORGANIZATIONAL_UNIT";
1008
- readonly ROOT: "ROOT";
1009
- };
1010
- export type ParentType = (typeof ParentType)[keyof typeof ParentType];
1011
383
  export interface Parent {
1012
384
  Id?: string | undefined;
1013
385
  Type?: ParentType | undefined;
@@ -1056,12 +428,6 @@ export interface ListTargetsForPolicyRequest {
1056
428
  NextToken?: string | undefined;
1057
429
  MaxResults?: number | undefined;
1058
430
  }
1059
- export declare const TargetType: {
1060
- readonly ACCOUNT: "ACCOUNT";
1061
- readonly ORGANIZATIONAL_UNIT: "ORGANIZATIONAL_UNIT";
1062
- readonly ROOT: "ROOT";
1063
- };
1064
- export type TargetType = (typeof TargetType)[keyof typeof TargetType];
1065
431
  export interface PolicyTargetSummary {
1066
432
  TargetId?: string | undefined;
1067
433
  Arn?: string | undefined;
@@ -1072,38 +438,11 @@ export interface ListTargetsForPolicyResponse {
1072
438
  Targets?: PolicyTargetSummary[] | undefined;
1073
439
  NextToken?: string | undefined;
1074
440
  }
1075
- export declare class DestinationParentNotFoundException extends __BaseException {
1076
- readonly name: "DestinationParentNotFoundException";
1077
- readonly $fault: "client";
1078
- Message?: string | undefined;
1079
- constructor(
1080
- opts: __ExceptionOptionType<
1081
- DestinationParentNotFoundException,
1082
- __BaseException
1083
- >
1084
- );
1085
- }
1086
- export declare class DuplicateAccountException extends __BaseException {
1087
- readonly name: "DuplicateAccountException";
1088
- readonly $fault: "client";
1089
- Message?: string | undefined;
1090
- constructor(
1091
- opts: __ExceptionOptionType<DuplicateAccountException, __BaseException>
1092
- );
1093
- }
1094
441
  export interface MoveAccountRequest {
1095
442
  AccountId: string | undefined;
1096
443
  SourceParentId: string | undefined;
1097
444
  DestinationParentId: string | undefined;
1098
445
  }
1099
- export declare class SourceParentNotFoundException extends __BaseException {
1100
- readonly name: "SourceParentNotFoundException";
1101
- readonly $fault: "client";
1102
- Message?: string | undefined;
1103
- constructor(
1104
- opts: __ExceptionOptionType<SourceParentNotFoundException, __BaseException>
1105
- );
1106
- }
1107
446
  export interface PutResourcePolicyRequest {
1108
447
  Content: string | undefined;
1109
448
  Tags?: Tag[] | undefined;