@aws-sdk/client-organizations 3.687.0 → 3.692.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 +3 -0
- package/dist-es/models/models_0.js +3 -0
- package/dist-types/commands/AcceptHandshakeCommand.d.ts +6 -0
- package/dist-types/commands/AttachPolicyCommand.d.ts +11 -0
- package/dist-types/commands/CancelHandshakeCommand.d.ts +6 -0
- package/dist-types/commands/CloseAccountCommand.d.ts +6 -0
- package/dist-types/commands/CreateAccountCommand.d.ts +6 -0
- package/dist-types/commands/CreateGovCloudAccountCommand.d.ts +6 -0
- package/dist-types/commands/CreateOrganizationCommand.d.ts +7 -1
- package/dist-types/commands/CreateOrganizationalUnitCommand.d.ts +6 -0
- package/dist-types/commands/CreatePolicyCommand.d.ts +8 -2
- package/dist-types/commands/DeclineHandshakeCommand.d.ts +6 -0
- package/dist-types/commands/DeleteOrganizationCommand.d.ts +6 -0
- package/dist-types/commands/DeleteOrganizationalUnitCommand.d.ts +6 -0
- package/dist-types/commands/DeletePolicyCommand.d.ts +6 -0
- package/dist-types/commands/DeregisterDelegatedAdministratorCommand.d.ts +6 -0
- package/dist-types/commands/DescribeAccountCommand.d.ts +6 -0
- package/dist-types/commands/DescribeCreateAccountStatusCommand.d.ts +6 -0
- package/dist-types/commands/DescribeEffectivePolicyCommand.d.ts +6 -0
- package/dist-types/commands/DescribeHandshakeCommand.d.ts +6 -0
- package/dist-types/commands/DescribeOrganizationCommand.d.ts +1 -1
- package/dist-types/commands/DescribeOrganizationalUnitCommand.d.ts +6 -0
- package/dist-types/commands/DescribePolicyCommand.d.ts +7 -1
- package/dist-types/commands/DetachPolicyCommand.d.ts +6 -0
- package/dist-types/commands/DisableAWSServiceAccessCommand.d.ts +6 -0
- package/dist-types/commands/DisablePolicyTypeCommand.d.ts +8 -2
- package/dist-types/commands/EnableAWSServiceAccessCommand.d.ts +6 -0
- package/dist-types/commands/EnableAllFeaturesCommand.d.ts +6 -0
- package/dist-types/commands/EnablePolicyTypeCommand.d.ts +8 -2
- package/dist-types/commands/InviteAccountToOrganizationCommand.d.ts +6 -0
- package/dist-types/commands/LeaveOrganizationCommand.d.ts +6 -0
- package/dist-types/commands/ListAWSServiceAccessForOrganizationCommand.d.ts +6 -0
- package/dist-types/commands/ListAccountsCommand.d.ts +6 -0
- package/dist-types/commands/ListAccountsForParentCommand.d.ts +6 -0
- package/dist-types/commands/ListChildrenCommand.d.ts +6 -0
- package/dist-types/commands/ListCreateAccountStatusCommand.d.ts +6 -0
- package/dist-types/commands/ListDelegatedAdministratorsCommand.d.ts +6 -0
- package/dist-types/commands/ListDelegatedServicesForAccountCommand.d.ts +6 -0
- package/dist-types/commands/ListHandshakesForAccountCommand.d.ts +6 -0
- package/dist-types/commands/ListHandshakesForOrganizationCommand.d.ts +6 -0
- package/dist-types/commands/ListOrganizationalUnitsForParentCommand.d.ts +6 -0
- package/dist-types/commands/ListParentsCommand.d.ts +6 -0
- package/dist-types/commands/ListPoliciesCommand.d.ts +8 -2
- package/dist-types/commands/ListPoliciesForTargetCommand.d.ts +8 -2
- package/dist-types/commands/ListRootsCommand.d.ts +7 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -0
- package/dist-types/commands/ListTargetsForPolicyCommand.d.ts +6 -0
- package/dist-types/commands/MoveAccountCommand.d.ts +6 -0
- package/dist-types/commands/PutResourcePolicyCommand.d.ts +6 -0
- package/dist-types/commands/RegisterDelegatedAdministratorCommand.d.ts +6 -0
- package/dist-types/commands/RemoveAccountFromOrganizationCommand.d.ts +6 -0
- package/dist-types/commands/TagResourceCommand.d.ts +6 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +6 -0
- package/dist-types/commands/UpdateOrganizationalUnitCommand.d.ts +6 -0
- package/dist-types/commands/UpdatePolicyCommand.d.ts +7 -1
- package/dist-types/models/models_0.d.ts +273 -239
- package/dist-types/ts3.4/models/models_0.d.ts +242 -239
- package/package.json +35 -35
|
@@ -46,7 +46,7 @@ export type HandshakeState =
|
|
|
46
46
|
export declare class AccessDeniedException extends __BaseException {
|
|
47
47
|
readonly name: "AccessDeniedException";
|
|
48
48
|
readonly $fault: "client";
|
|
49
|
-
Message?: string;
|
|
49
|
+
Message?: string | undefined;
|
|
50
50
|
constructor(
|
|
51
51
|
opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
|
|
52
52
|
);
|
|
@@ -59,8 +59,8 @@ export type AccessDeniedForDependencyExceptionReason =
|
|
|
59
59
|
export declare class AccessDeniedForDependencyException extends __BaseException {
|
|
60
60
|
readonly name: "AccessDeniedForDependencyException";
|
|
61
61
|
readonly $fault: "client";
|
|
62
|
-
Message?: string;
|
|
63
|
-
Reason?: AccessDeniedForDependencyExceptionReason;
|
|
62
|
+
Message?: string | undefined;
|
|
63
|
+
Reason?: AccessDeniedForDependencyExceptionReason | undefined;
|
|
64
64
|
constructor(
|
|
65
65
|
opts: __ExceptionOptionType<
|
|
66
66
|
AccessDeniedForDependencyException,
|
|
@@ -71,7 +71,7 @@ export declare class AccessDeniedForDependencyException extends __BaseException
|
|
|
71
71
|
export declare class AWSOrganizationsNotInUseException extends __BaseException {
|
|
72
72
|
readonly name: "AWSOrganizationsNotInUseException";
|
|
73
73
|
readonly $fault: "client";
|
|
74
|
-
Message?: string;
|
|
74
|
+
Message?: string | undefined;
|
|
75
75
|
constructor(
|
|
76
76
|
opts: __ExceptionOptionType<
|
|
77
77
|
AWSOrganizationsNotInUseException,
|
|
@@ -82,7 +82,7 @@ export declare class AWSOrganizationsNotInUseException extends __BaseException {
|
|
|
82
82
|
export declare class ConcurrentModificationException extends __BaseException {
|
|
83
83
|
readonly name: "ConcurrentModificationException";
|
|
84
84
|
readonly $fault: "client";
|
|
85
|
-
Message?: string;
|
|
85
|
+
Message?: string | undefined;
|
|
86
86
|
constructor(
|
|
87
87
|
opts: __ExceptionOptionType<
|
|
88
88
|
ConcurrentModificationException,
|
|
@@ -93,7 +93,7 @@ export declare class ConcurrentModificationException extends __BaseException {
|
|
|
93
93
|
export declare class HandshakeAlreadyInStateException extends __BaseException {
|
|
94
94
|
readonly name: "HandshakeAlreadyInStateException";
|
|
95
95
|
readonly $fault: "client";
|
|
96
|
-
Message?: string;
|
|
96
|
+
Message?: string | undefined;
|
|
97
97
|
constructor(
|
|
98
98
|
opts: __ExceptionOptionType<
|
|
99
99
|
HandshakeAlreadyInStateException,
|
|
@@ -118,8 +118,8 @@ export type HandshakeConstraintViolationExceptionReason =
|
|
|
118
118
|
export declare class HandshakeConstraintViolationException extends __BaseException {
|
|
119
119
|
readonly name: "HandshakeConstraintViolationException";
|
|
120
120
|
readonly $fault: "client";
|
|
121
|
-
Message?: string;
|
|
122
|
-
Reason?: HandshakeConstraintViolationExceptionReason;
|
|
121
|
+
Message?: string | undefined;
|
|
122
|
+
Reason?: HandshakeConstraintViolationExceptionReason | undefined;
|
|
123
123
|
constructor(
|
|
124
124
|
opts: __ExceptionOptionType<
|
|
125
125
|
HandshakeConstraintViolationException,
|
|
@@ -130,7 +130,7 @@ export declare class HandshakeConstraintViolationException extends __BaseExcepti
|
|
|
130
130
|
export declare class HandshakeNotFoundException extends __BaseException {
|
|
131
131
|
readonly name: "HandshakeNotFoundException";
|
|
132
132
|
readonly $fault: "client";
|
|
133
|
-
Message?: string;
|
|
133
|
+
Message?: string | undefined;
|
|
134
134
|
constructor(
|
|
135
135
|
opts: __ExceptionOptionType<HandshakeNotFoundException, __BaseException>
|
|
136
136
|
);
|
|
@@ -138,7 +138,7 @@ export declare class HandshakeNotFoundException extends __BaseException {
|
|
|
138
138
|
export declare class InvalidHandshakeTransitionException extends __BaseException {
|
|
139
139
|
readonly name: "InvalidHandshakeTransitionException";
|
|
140
140
|
readonly $fault: "client";
|
|
141
|
-
Message?: string;
|
|
141
|
+
Message?: string | undefined;
|
|
142
142
|
constructor(
|
|
143
143
|
opts: __ExceptionOptionType<
|
|
144
144
|
InvalidHandshakeTransitionException,
|
|
@@ -159,6 +159,7 @@ export declare const InvalidInputExceptionReason: {
|
|
|
159
159
|
readonly INVALID_PARTY_TYPE_TARGET: "INVALID_PARTY_TYPE_TARGET";
|
|
160
160
|
readonly INVALID_PATTERN: "INVALID_PATTERN";
|
|
161
161
|
readonly INVALID_PATTERN_TARGET_ID: "INVALID_PATTERN_TARGET_ID";
|
|
162
|
+
readonly INVALID_PRINCIPAL: "INVALID_PRINCIPAL";
|
|
162
163
|
readonly INVALID_RESOURCE_POLICY_JSON: "INVALID_RESOURCE_POLICY_JSON";
|
|
163
164
|
readonly INVALID_ROLE_NAME: "INVALID_ROLE_NAME";
|
|
164
165
|
readonly INVALID_SYNTAX_ORGANIZATION: "INVALID_SYNTAX_ORGANIZATION_ARN";
|
|
@@ -170,6 +171,7 @@ export declare const InvalidInputExceptionReason: {
|
|
|
170
171
|
readonly MIN_LENGTH_EXCEEDED: "MIN_LENGTH_EXCEEDED";
|
|
171
172
|
readonly MIN_VALUE_EXCEEDED: "MIN_VALUE_EXCEEDED";
|
|
172
173
|
readonly MOVING_ACCOUNT_BETWEEN_DIFFERENT_ROOTS: "MOVING_ACCOUNT_BETWEEN_DIFFERENT_ROOTS";
|
|
174
|
+
readonly NON_DETACHABLE_POLICY: "NON_DETACHABLE_POLICY";
|
|
173
175
|
readonly TARGET_NOT_SUPPORTED: "TARGET_NOT_SUPPORTED";
|
|
174
176
|
readonly UNRECOGNIZED_SERVICE_PRINCIPAL: "UNRECOGNIZED_SERVICE_PRINCIPAL";
|
|
175
177
|
readonly UNSUPPORTED_ACTION_IN_RESOURCE_POLICY: "UNSUPPORTED_ACTION_IN_RESOURCE_POLICY";
|
|
@@ -181,8 +183,8 @@ export type InvalidInputExceptionReason =
|
|
|
181
183
|
export declare class InvalidInputException extends __BaseException {
|
|
182
184
|
readonly name: "InvalidInputException";
|
|
183
185
|
readonly $fault: "client";
|
|
184
|
-
Message?: string;
|
|
185
|
-
Reason?: InvalidInputExceptionReason;
|
|
186
|
+
Message?: string | undefined;
|
|
187
|
+
Reason?: InvalidInputExceptionReason | undefined;
|
|
186
188
|
constructor(
|
|
187
189
|
opts: __ExceptionOptionType<InvalidInputException, __BaseException>
|
|
188
190
|
);
|
|
@@ -190,14 +192,14 @@ export declare class InvalidInputException extends __BaseException {
|
|
|
190
192
|
export declare class ServiceException extends __BaseException {
|
|
191
193
|
readonly name: "ServiceException";
|
|
192
194
|
readonly $fault: "server";
|
|
193
|
-
Message?: string;
|
|
195
|
+
Message?: string | undefined;
|
|
194
196
|
constructor(opts: __ExceptionOptionType<ServiceException, __BaseException>);
|
|
195
197
|
}
|
|
196
198
|
export declare class TooManyRequestsException extends __BaseException {
|
|
197
199
|
readonly name: "TooManyRequestsException";
|
|
198
200
|
readonly $fault: "client";
|
|
199
|
-
Type?: string;
|
|
200
|
-
Message?: string;
|
|
201
|
+
Type?: string | undefined;
|
|
202
|
+
Message?: string | undefined;
|
|
201
203
|
constructor(
|
|
202
204
|
opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>
|
|
203
205
|
);
|
|
@@ -215,18 +217,18 @@ export declare const AccountStatus: {
|
|
|
215
217
|
};
|
|
216
218
|
export type AccountStatus = (typeof AccountStatus)[keyof typeof AccountStatus];
|
|
217
219
|
export interface Account {
|
|
218
|
-
Id?: string;
|
|
219
|
-
Arn?: string;
|
|
220
|
-
Email?: string;
|
|
221
|
-
Name?: string;
|
|
222
|
-
Status?: AccountStatus;
|
|
223
|
-
JoinedMethod?: AccountJoinedMethod;
|
|
224
|
-
JoinedTimestamp?: Date;
|
|
220
|
+
Id?: string | undefined;
|
|
221
|
+
Arn?: string | undefined;
|
|
222
|
+
Email?: string | undefined;
|
|
223
|
+
Name?: string | undefined;
|
|
224
|
+
Status?: AccountStatus | undefined;
|
|
225
|
+
JoinedMethod?: AccountJoinedMethod | undefined;
|
|
226
|
+
JoinedTimestamp?: Date | undefined;
|
|
225
227
|
}
|
|
226
228
|
export declare class AccountAlreadyClosedException extends __BaseException {
|
|
227
229
|
readonly name: "AccountAlreadyClosedException";
|
|
228
230
|
readonly $fault: "client";
|
|
229
|
-
Message?: string;
|
|
231
|
+
Message?: string | undefined;
|
|
230
232
|
constructor(
|
|
231
233
|
opts: __ExceptionOptionType<AccountAlreadyClosedException, __BaseException>
|
|
232
234
|
);
|
|
@@ -234,7 +236,7 @@ export declare class AccountAlreadyClosedException extends __BaseException {
|
|
|
234
236
|
export declare class AccountAlreadyRegisteredException extends __BaseException {
|
|
235
237
|
readonly name: "AccountAlreadyRegisteredException";
|
|
236
238
|
readonly $fault: "client";
|
|
237
|
-
Message?: string;
|
|
239
|
+
Message?: string | undefined;
|
|
238
240
|
constructor(
|
|
239
241
|
opts: __ExceptionOptionType<
|
|
240
242
|
AccountAlreadyRegisteredException,
|
|
@@ -245,7 +247,7 @@ export declare class AccountAlreadyRegisteredException extends __BaseException {
|
|
|
245
247
|
export declare class AccountNotFoundException extends __BaseException {
|
|
246
248
|
readonly name: "AccountNotFoundException";
|
|
247
249
|
readonly $fault: "client";
|
|
248
|
-
Message?: string;
|
|
250
|
+
Message?: string | undefined;
|
|
249
251
|
constructor(
|
|
250
252
|
opts: __ExceptionOptionType<AccountNotFoundException, __BaseException>
|
|
251
253
|
);
|
|
@@ -253,7 +255,7 @@ export declare class AccountNotFoundException extends __BaseException {
|
|
|
253
255
|
export declare class AccountNotRegisteredException extends __BaseException {
|
|
254
256
|
readonly name: "AccountNotRegisteredException";
|
|
255
257
|
readonly $fault: "client";
|
|
256
|
-
Message?: string;
|
|
258
|
+
Message?: string | undefined;
|
|
257
259
|
constructor(
|
|
258
260
|
opts: __ExceptionOptionType<AccountNotRegisteredException, __BaseException>
|
|
259
261
|
);
|
|
@@ -261,7 +263,7 @@ export declare class AccountNotRegisteredException extends __BaseException {
|
|
|
261
263
|
export declare class AccountOwnerNotVerifiedException extends __BaseException {
|
|
262
264
|
readonly name: "AccountOwnerNotVerifiedException";
|
|
263
265
|
readonly $fault: "client";
|
|
264
|
-
Message?: string;
|
|
266
|
+
Message?: string | undefined;
|
|
265
267
|
constructor(
|
|
266
268
|
opts: __ExceptionOptionType<
|
|
267
269
|
AccountOwnerNotVerifiedException,
|
|
@@ -272,7 +274,7 @@ export declare class AccountOwnerNotVerifiedException extends __BaseException {
|
|
|
272
274
|
export declare class AlreadyInOrganizationException extends __BaseException {
|
|
273
275
|
readonly name: "AlreadyInOrganizationException";
|
|
274
276
|
readonly $fault: "client";
|
|
275
|
-
Message?: string;
|
|
277
|
+
Message?: string | undefined;
|
|
276
278
|
constructor(
|
|
277
279
|
opts: __ExceptionOptionType<AlreadyInOrganizationException, __BaseException>
|
|
278
280
|
);
|
|
@@ -323,8 +325,8 @@ export type ConstraintViolationExceptionReason =
|
|
|
323
325
|
export declare class ConstraintViolationException extends __BaseException {
|
|
324
326
|
readonly name: "ConstraintViolationException";
|
|
325
327
|
readonly $fault: "client";
|
|
326
|
-
Message?: string;
|
|
327
|
-
Reason?: ConstraintViolationExceptionReason;
|
|
328
|
+
Message?: string | undefined;
|
|
329
|
+
Reason?: ConstraintViolationExceptionReason | undefined;
|
|
328
330
|
constructor(
|
|
329
331
|
opts: __ExceptionOptionType<ConstraintViolationException, __BaseException>
|
|
330
332
|
);
|
|
@@ -332,7 +334,7 @@ export declare class ConstraintViolationException extends __BaseException {
|
|
|
332
334
|
export declare class DuplicatePolicyAttachmentException extends __BaseException {
|
|
333
335
|
readonly name: "DuplicatePolicyAttachmentException";
|
|
334
336
|
readonly $fault: "client";
|
|
335
|
-
Message?: string;
|
|
337
|
+
Message?: string | undefined;
|
|
336
338
|
constructor(
|
|
337
339
|
opts: __ExceptionOptionType<
|
|
338
340
|
DuplicatePolicyAttachmentException,
|
|
@@ -343,7 +345,7 @@ export declare class DuplicatePolicyAttachmentException extends __BaseException
|
|
|
343
345
|
export declare class PolicyChangesInProgressException extends __BaseException {
|
|
344
346
|
readonly name: "PolicyChangesInProgressException";
|
|
345
347
|
readonly $fault: "client";
|
|
346
|
-
Message?: string;
|
|
348
|
+
Message?: string | undefined;
|
|
347
349
|
constructor(
|
|
348
350
|
opts: __ExceptionOptionType<
|
|
349
351
|
PolicyChangesInProgressException,
|
|
@@ -354,7 +356,7 @@ export declare class PolicyChangesInProgressException extends __BaseException {
|
|
|
354
356
|
export declare class PolicyNotFoundException extends __BaseException {
|
|
355
357
|
readonly name: "PolicyNotFoundException";
|
|
356
358
|
readonly $fault: "client";
|
|
357
|
-
Message?: string;
|
|
359
|
+
Message?: string | undefined;
|
|
358
360
|
constructor(
|
|
359
361
|
opts: __ExceptionOptionType<PolicyNotFoundException, __BaseException>
|
|
360
362
|
);
|
|
@@ -362,7 +364,7 @@ export declare class PolicyNotFoundException extends __BaseException {
|
|
|
362
364
|
export declare class PolicyTypeNotEnabledException extends __BaseException {
|
|
363
365
|
readonly name: "PolicyTypeNotEnabledException";
|
|
364
366
|
readonly $fault: "client";
|
|
365
|
-
Message?: string;
|
|
367
|
+
Message?: string | undefined;
|
|
366
368
|
constructor(
|
|
367
369
|
opts: __ExceptionOptionType<PolicyTypeNotEnabledException, __BaseException>
|
|
368
370
|
);
|
|
@@ -370,7 +372,7 @@ export declare class PolicyTypeNotEnabledException extends __BaseException {
|
|
|
370
372
|
export declare class TargetNotFoundException extends __BaseException {
|
|
371
373
|
readonly name: "TargetNotFoundException";
|
|
372
374
|
readonly $fault: "client";
|
|
373
|
-
Message?: string;
|
|
375
|
+
Message?: string | undefined;
|
|
374
376
|
constructor(
|
|
375
377
|
opts: __ExceptionOptionType<TargetNotFoundException, __BaseException>
|
|
376
378
|
);
|
|
@@ -378,7 +380,7 @@ export declare class TargetNotFoundException extends __BaseException {
|
|
|
378
380
|
export declare class UnsupportedAPIEndpointException extends __BaseException {
|
|
379
381
|
readonly name: "UnsupportedAPIEndpointException";
|
|
380
382
|
readonly $fault: "client";
|
|
381
|
-
Message?: string;
|
|
383
|
+
Message?: string | undefined;
|
|
382
384
|
constructor(
|
|
383
385
|
opts: __ExceptionOptionType<
|
|
384
386
|
UnsupportedAPIEndpointException,
|
|
@@ -395,7 +397,7 @@ export interface CloseAccountRequest {
|
|
|
395
397
|
export declare class ConflictException extends __BaseException {
|
|
396
398
|
readonly name: "ConflictException";
|
|
397
399
|
readonly $fault: "client";
|
|
398
|
-
Message?: string;
|
|
400
|
+
Message?: string | undefined;
|
|
399
401
|
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
400
402
|
}
|
|
401
403
|
export declare const IAMUserAccessToBilling: {
|
|
@@ -411,9 +413,9 @@ export interface Tag {
|
|
|
411
413
|
export interface CreateAccountRequest {
|
|
412
414
|
Email: string | undefined;
|
|
413
415
|
AccountName: string | undefined;
|
|
414
|
-
RoleName?: string;
|
|
415
|
-
IamUserAccessToBilling?: IAMUserAccessToBilling;
|
|
416
|
-
Tags?: Tag[];
|
|
416
|
+
RoleName?: string | undefined;
|
|
417
|
+
IamUserAccessToBilling?: IAMUserAccessToBilling | undefined;
|
|
418
|
+
Tags?: Tag[] | undefined;
|
|
417
419
|
}
|
|
418
420
|
export declare const CreateAccountFailureReason: {
|
|
419
421
|
readonly ACCOUNT_LIMIT_EXCEEDED: "ACCOUNT_LIMIT_EXCEEDED";
|
|
@@ -442,22 +444,22 @@ export declare const CreateAccountState: {
|
|
|
442
444
|
export type CreateAccountState =
|
|
443
445
|
(typeof CreateAccountState)[keyof typeof CreateAccountState];
|
|
444
446
|
export interface CreateAccountStatus {
|
|
445
|
-
Id?: string;
|
|
446
|
-
AccountName?: string;
|
|
447
|
-
State?: CreateAccountState;
|
|
448
|
-
RequestedTimestamp?: Date;
|
|
449
|
-
CompletedTimestamp?: Date;
|
|
450
|
-
AccountId?: string;
|
|
451
|
-
GovCloudAccountId?: string;
|
|
452
|
-
FailureReason?: CreateAccountFailureReason;
|
|
447
|
+
Id?: string | undefined;
|
|
448
|
+
AccountName?: string | undefined;
|
|
449
|
+
State?: CreateAccountState | undefined;
|
|
450
|
+
RequestedTimestamp?: Date | undefined;
|
|
451
|
+
CompletedTimestamp?: Date | undefined;
|
|
452
|
+
AccountId?: string | undefined;
|
|
453
|
+
GovCloudAccountId?: string | undefined;
|
|
454
|
+
FailureReason?: CreateAccountFailureReason | undefined;
|
|
453
455
|
}
|
|
454
456
|
export interface CreateAccountResponse {
|
|
455
|
-
CreateAccountStatus?: CreateAccountStatus;
|
|
457
|
+
CreateAccountStatus?: CreateAccountStatus | undefined;
|
|
456
458
|
}
|
|
457
459
|
export declare class FinalizingOrganizationException extends __BaseException {
|
|
458
460
|
readonly name: "FinalizingOrganizationException";
|
|
459
461
|
readonly $fault: "client";
|
|
460
|
-
Message?: string;
|
|
462
|
+
Message?: string | undefined;
|
|
461
463
|
constructor(
|
|
462
464
|
opts: __ExceptionOptionType<
|
|
463
465
|
FinalizingOrganizationException,
|
|
@@ -468,12 +470,12 @@ export declare class FinalizingOrganizationException extends __BaseException {
|
|
|
468
470
|
export interface CreateGovCloudAccountRequest {
|
|
469
471
|
Email: string | undefined;
|
|
470
472
|
AccountName: string | undefined;
|
|
471
|
-
RoleName?: string;
|
|
472
|
-
IamUserAccessToBilling?: IAMUserAccessToBilling;
|
|
473
|
-
Tags?: Tag[];
|
|
473
|
+
RoleName?: string | undefined;
|
|
474
|
+
IamUserAccessToBilling?: IAMUserAccessToBilling | undefined;
|
|
475
|
+
Tags?: Tag[] | undefined;
|
|
474
476
|
}
|
|
475
477
|
export interface CreateGovCloudAccountResponse {
|
|
476
|
-
CreateAccountStatus?: CreateAccountStatus;
|
|
478
|
+
CreateAccountStatus?: CreateAccountStatus | undefined;
|
|
477
479
|
}
|
|
478
480
|
export declare const OrganizationFeatureSet: {
|
|
479
481
|
readonly ALL: "ALL";
|
|
@@ -482,7 +484,7 @@ export declare const OrganizationFeatureSet: {
|
|
|
482
484
|
export type OrganizationFeatureSet =
|
|
483
485
|
(typeof OrganizationFeatureSet)[keyof typeof OrganizationFeatureSet];
|
|
484
486
|
export interface CreateOrganizationRequest {
|
|
485
|
-
FeatureSet?: OrganizationFeatureSet;
|
|
487
|
+
FeatureSet?: OrganizationFeatureSet | undefined;
|
|
486
488
|
}
|
|
487
489
|
export declare const PolicyTypeStatus: {
|
|
488
490
|
readonly ENABLED: "ENABLED";
|
|
@@ -495,43 +497,44 @@ export declare const PolicyType: {
|
|
|
495
497
|
readonly AISERVICES_OPT_OUT_POLICY: "AISERVICES_OPT_OUT_POLICY";
|
|
496
498
|
readonly BACKUP_POLICY: "BACKUP_POLICY";
|
|
497
499
|
readonly CHATBOT_POLICY: "CHATBOT_POLICY";
|
|
500
|
+
readonly RESOURCE_CONTROL_POLICY: "RESOURCE_CONTROL_POLICY";
|
|
498
501
|
readonly SERVICE_CONTROL_POLICY: "SERVICE_CONTROL_POLICY";
|
|
499
502
|
readonly TAG_POLICY: "TAG_POLICY";
|
|
500
503
|
};
|
|
501
504
|
export type PolicyType = (typeof PolicyType)[keyof typeof PolicyType];
|
|
502
505
|
export interface PolicyTypeSummary {
|
|
503
|
-
Type?: PolicyType;
|
|
504
|
-
Status?: PolicyTypeStatus;
|
|
506
|
+
Type?: PolicyType | undefined;
|
|
507
|
+
Status?: PolicyTypeStatus | undefined;
|
|
505
508
|
}
|
|
506
509
|
export interface Organization {
|
|
507
|
-
Id?: string;
|
|
508
|
-
Arn?: string;
|
|
509
|
-
FeatureSet?: OrganizationFeatureSet;
|
|
510
|
-
MasterAccountArn?: string;
|
|
511
|
-
MasterAccountId?: string;
|
|
512
|
-
MasterAccountEmail?: string;
|
|
513
|
-
AvailablePolicyTypes?: PolicyTypeSummary[];
|
|
510
|
+
Id?: string | undefined;
|
|
511
|
+
Arn?: string | undefined;
|
|
512
|
+
FeatureSet?: OrganizationFeatureSet | undefined;
|
|
513
|
+
MasterAccountArn?: string | undefined;
|
|
514
|
+
MasterAccountId?: string | undefined;
|
|
515
|
+
MasterAccountEmail?: string | undefined;
|
|
516
|
+
AvailablePolicyTypes?: PolicyTypeSummary[] | undefined;
|
|
514
517
|
}
|
|
515
518
|
export interface CreateOrganizationResponse {
|
|
516
|
-
Organization?: Organization;
|
|
519
|
+
Organization?: Organization | undefined;
|
|
517
520
|
}
|
|
518
521
|
export interface CreateOrganizationalUnitRequest {
|
|
519
522
|
ParentId: string | undefined;
|
|
520
523
|
Name: string | undefined;
|
|
521
|
-
Tags?: Tag[];
|
|
524
|
+
Tags?: Tag[] | undefined;
|
|
522
525
|
}
|
|
523
526
|
export interface OrganizationalUnit {
|
|
524
|
-
Id?: string;
|
|
525
|
-
Arn?: string;
|
|
526
|
-
Name?: string;
|
|
527
|
+
Id?: string | undefined;
|
|
528
|
+
Arn?: string | undefined;
|
|
529
|
+
Name?: string | undefined;
|
|
527
530
|
}
|
|
528
531
|
export interface CreateOrganizationalUnitResponse {
|
|
529
|
-
OrganizationalUnit?: OrganizationalUnit;
|
|
532
|
+
OrganizationalUnit?: OrganizationalUnit | undefined;
|
|
530
533
|
}
|
|
531
534
|
export declare class DuplicateOrganizationalUnitException extends __BaseException {
|
|
532
535
|
readonly name: "DuplicateOrganizationalUnitException";
|
|
533
536
|
readonly $fault: "client";
|
|
534
|
-
Message?: string;
|
|
537
|
+
Message?: string | undefined;
|
|
535
538
|
constructor(
|
|
536
539
|
opts: __ExceptionOptionType<
|
|
537
540
|
DuplicateOrganizationalUnitException,
|
|
@@ -542,7 +545,7 @@ export declare class DuplicateOrganizationalUnitException extends __BaseExceptio
|
|
|
542
545
|
export declare class ParentNotFoundException extends __BaseException {
|
|
543
546
|
readonly name: "ParentNotFoundException";
|
|
544
547
|
readonly $fault: "client";
|
|
545
|
-
Message?: string;
|
|
548
|
+
Message?: string | undefined;
|
|
546
549
|
constructor(
|
|
547
550
|
opts: __ExceptionOptionType<ParentNotFoundException, __BaseException>
|
|
548
551
|
);
|
|
@@ -552,27 +555,27 @@ export interface CreatePolicyRequest {
|
|
|
552
555
|
Description: string | undefined;
|
|
553
556
|
Name: string | undefined;
|
|
554
557
|
Type: PolicyType | undefined;
|
|
555
|
-
Tags?: Tag[];
|
|
558
|
+
Tags?: Tag[] | undefined;
|
|
556
559
|
}
|
|
557
560
|
export interface PolicySummary {
|
|
558
|
-
Id?: string;
|
|
559
|
-
Arn?: string;
|
|
560
|
-
Name?: string;
|
|
561
|
-
Description?: string;
|
|
562
|
-
Type?: PolicyType;
|
|
563
|
-
AwsManaged?: boolean;
|
|
561
|
+
Id?: string | undefined;
|
|
562
|
+
Arn?: string | undefined;
|
|
563
|
+
Name?: string | undefined;
|
|
564
|
+
Description?: string | undefined;
|
|
565
|
+
Type?: PolicyType | undefined;
|
|
566
|
+
AwsManaged?: boolean | undefined;
|
|
564
567
|
}
|
|
565
568
|
export interface Policy {
|
|
566
|
-
PolicySummary?: PolicySummary;
|
|
567
|
-
Content?: string;
|
|
569
|
+
PolicySummary?: PolicySummary | undefined;
|
|
570
|
+
Content?: string | undefined;
|
|
568
571
|
}
|
|
569
572
|
export interface CreatePolicyResponse {
|
|
570
|
-
Policy?: Policy;
|
|
573
|
+
Policy?: Policy | undefined;
|
|
571
574
|
}
|
|
572
575
|
export declare class DuplicatePolicyException extends __BaseException {
|
|
573
576
|
readonly name: "DuplicatePolicyException";
|
|
574
577
|
readonly $fault: "client";
|
|
575
|
-
Message?: string;
|
|
578
|
+
Message?: string | undefined;
|
|
576
579
|
constructor(
|
|
577
580
|
opts: __ExceptionOptionType<DuplicatePolicyException, __BaseException>
|
|
578
581
|
);
|
|
@@ -580,7 +583,7 @@ export declare class DuplicatePolicyException extends __BaseException {
|
|
|
580
583
|
export declare class MalformedPolicyDocumentException extends __BaseException {
|
|
581
584
|
readonly name: "MalformedPolicyDocumentException";
|
|
582
585
|
readonly $fault: "client";
|
|
583
|
-
Message?: string;
|
|
586
|
+
Message?: string | undefined;
|
|
584
587
|
constructor(
|
|
585
588
|
opts: __ExceptionOptionType<
|
|
586
589
|
MalformedPolicyDocumentException,
|
|
@@ -591,7 +594,7 @@ export declare class MalformedPolicyDocumentException extends __BaseException {
|
|
|
591
594
|
export declare class PolicyTypeNotAvailableForOrganizationException extends __BaseException {
|
|
592
595
|
readonly name: "PolicyTypeNotAvailableForOrganizationException";
|
|
593
596
|
readonly $fault: "client";
|
|
594
|
-
Message?: string;
|
|
597
|
+
Message?: string | undefined;
|
|
595
598
|
constructor(
|
|
596
599
|
opts: __ExceptionOptionType<
|
|
597
600
|
PolicyTypeNotAvailableForOrganizationException,
|
|
@@ -605,7 +608,7 @@ export interface DeclineHandshakeRequest {
|
|
|
605
608
|
export declare class OrganizationNotEmptyException extends __BaseException {
|
|
606
609
|
readonly name: "OrganizationNotEmptyException";
|
|
607
610
|
readonly $fault: "client";
|
|
608
|
-
Message?: string;
|
|
611
|
+
Message?: string | undefined;
|
|
609
612
|
constructor(
|
|
610
613
|
opts: __ExceptionOptionType<OrganizationNotEmptyException, __BaseException>
|
|
611
614
|
);
|
|
@@ -616,7 +619,7 @@ export interface DeleteOrganizationalUnitRequest {
|
|
|
616
619
|
export declare class OrganizationalUnitNotEmptyException extends __BaseException {
|
|
617
620
|
readonly name: "OrganizationalUnitNotEmptyException";
|
|
618
621
|
readonly $fault: "client";
|
|
619
|
-
Message?: string;
|
|
622
|
+
Message?: string | undefined;
|
|
620
623
|
constructor(
|
|
621
624
|
opts: __ExceptionOptionType<
|
|
622
625
|
OrganizationalUnitNotEmptyException,
|
|
@@ -627,7 +630,7 @@ export declare class OrganizationalUnitNotEmptyException extends __BaseException
|
|
|
627
630
|
export declare class OrganizationalUnitNotFoundException extends __BaseException {
|
|
628
631
|
readonly name: "OrganizationalUnitNotFoundException";
|
|
629
632
|
readonly $fault: "client";
|
|
630
|
-
Message?: string;
|
|
633
|
+
Message?: string | undefined;
|
|
631
634
|
constructor(
|
|
632
635
|
opts: __ExceptionOptionType<
|
|
633
636
|
OrganizationalUnitNotFoundException,
|
|
@@ -641,7 +644,7 @@ export interface DeletePolicyRequest {
|
|
|
641
644
|
export declare class PolicyInUseException extends __BaseException {
|
|
642
645
|
readonly name: "PolicyInUseException";
|
|
643
646
|
readonly $fault: "client";
|
|
644
|
-
Message?: string;
|
|
647
|
+
Message?: string | undefined;
|
|
645
648
|
constructor(
|
|
646
649
|
opts: __ExceptionOptionType<PolicyInUseException, __BaseException>
|
|
647
650
|
);
|
|
@@ -649,7 +652,7 @@ export declare class PolicyInUseException extends __BaseException {
|
|
|
649
652
|
export declare class ResourcePolicyNotFoundException extends __BaseException {
|
|
650
653
|
readonly name: "ResourcePolicyNotFoundException";
|
|
651
654
|
readonly $fault: "client";
|
|
652
|
-
Message?: string;
|
|
655
|
+
Message?: string | undefined;
|
|
653
656
|
constructor(
|
|
654
657
|
opts: __ExceptionOptionType<
|
|
655
658
|
ResourcePolicyNotFoundException,
|
|
@@ -665,12 +668,12 @@ export interface DescribeAccountRequest {
|
|
|
665
668
|
AccountId: string | undefined;
|
|
666
669
|
}
|
|
667
670
|
export interface DescribeAccountResponse {
|
|
668
|
-
Account?: Account;
|
|
671
|
+
Account?: Account | undefined;
|
|
669
672
|
}
|
|
670
673
|
export declare class CreateAccountStatusNotFoundException extends __BaseException {
|
|
671
674
|
readonly name: "CreateAccountStatusNotFoundException";
|
|
672
675
|
readonly $fault: "client";
|
|
673
|
-
Message?: string;
|
|
676
|
+
Message?: string | undefined;
|
|
674
677
|
constructor(
|
|
675
678
|
opts: __ExceptionOptionType<
|
|
676
679
|
CreateAccountStatusNotFoundException,
|
|
@@ -682,7 +685,7 @@ export interface DescribeCreateAccountStatusRequest {
|
|
|
682
685
|
CreateAccountRequestId: string | undefined;
|
|
683
686
|
}
|
|
684
687
|
export interface DescribeCreateAccountStatusResponse {
|
|
685
|
-
CreateAccountStatus?: CreateAccountStatus;
|
|
688
|
+
CreateAccountStatus?: CreateAccountStatus | undefined;
|
|
686
689
|
}
|
|
687
690
|
export declare const EffectivePolicyType: {
|
|
688
691
|
readonly AISERVICES_OPT_OUT_POLICY: "AISERVICES_OPT_OUT_POLICY";
|
|
@@ -694,21 +697,21 @@ export type EffectivePolicyType =
|
|
|
694
697
|
(typeof EffectivePolicyType)[keyof typeof EffectivePolicyType];
|
|
695
698
|
export interface DescribeEffectivePolicyRequest {
|
|
696
699
|
PolicyType: EffectivePolicyType | undefined;
|
|
697
|
-
TargetId?: string;
|
|
700
|
+
TargetId?: string | undefined;
|
|
698
701
|
}
|
|
699
702
|
export interface EffectivePolicy {
|
|
700
|
-
PolicyContent?: string;
|
|
701
|
-
LastUpdatedTimestamp?: Date;
|
|
702
|
-
TargetId?: string;
|
|
703
|
-
PolicyType?: EffectivePolicyType;
|
|
703
|
+
PolicyContent?: string | undefined;
|
|
704
|
+
LastUpdatedTimestamp?: Date | undefined;
|
|
705
|
+
TargetId?: string | undefined;
|
|
706
|
+
PolicyType?: EffectivePolicyType | undefined;
|
|
704
707
|
}
|
|
705
708
|
export interface DescribeEffectivePolicyResponse {
|
|
706
|
-
EffectivePolicy?: EffectivePolicy;
|
|
709
|
+
EffectivePolicy?: EffectivePolicy | undefined;
|
|
707
710
|
}
|
|
708
711
|
export declare class EffectivePolicyNotFoundException extends __BaseException {
|
|
709
712
|
readonly name: "EffectivePolicyNotFoundException";
|
|
710
713
|
readonly $fault: "client";
|
|
711
|
-
Message?: string;
|
|
714
|
+
Message?: string | undefined;
|
|
712
715
|
constructor(
|
|
713
716
|
opts: __ExceptionOptionType<
|
|
714
717
|
EffectivePolicyNotFoundException,
|
|
@@ -720,30 +723,30 @@ export interface DescribeHandshakeRequest {
|
|
|
720
723
|
HandshakeId: string | undefined;
|
|
721
724
|
}
|
|
722
725
|
export interface DescribeOrganizationResponse {
|
|
723
|
-
Organization?: Organization;
|
|
726
|
+
Organization?: Organization | undefined;
|
|
724
727
|
}
|
|
725
728
|
export interface DescribeOrganizationalUnitRequest {
|
|
726
729
|
OrganizationalUnitId: string | undefined;
|
|
727
730
|
}
|
|
728
731
|
export interface DescribeOrganizationalUnitResponse {
|
|
729
|
-
OrganizationalUnit?: OrganizationalUnit;
|
|
732
|
+
OrganizationalUnit?: OrganizationalUnit | undefined;
|
|
730
733
|
}
|
|
731
734
|
export interface DescribePolicyRequest {
|
|
732
735
|
PolicyId: string | undefined;
|
|
733
736
|
}
|
|
734
737
|
export interface DescribePolicyResponse {
|
|
735
|
-
Policy?: Policy;
|
|
738
|
+
Policy?: Policy | undefined;
|
|
736
739
|
}
|
|
737
740
|
export interface ResourcePolicySummary {
|
|
738
|
-
Id?: string;
|
|
739
|
-
Arn?: string;
|
|
741
|
+
Id?: string | undefined;
|
|
742
|
+
Arn?: string | undefined;
|
|
740
743
|
}
|
|
741
744
|
export interface ResourcePolicy {
|
|
742
|
-
ResourcePolicySummary?: ResourcePolicySummary;
|
|
743
|
-
Content?: string;
|
|
745
|
+
ResourcePolicySummary?: ResourcePolicySummary | undefined;
|
|
746
|
+
Content?: string | undefined;
|
|
744
747
|
}
|
|
745
748
|
export interface DescribeResourcePolicyResponse {
|
|
746
|
-
ResourcePolicy?: ResourcePolicy;
|
|
749
|
+
ResourcePolicy?: ResourcePolicy | undefined;
|
|
747
750
|
}
|
|
748
751
|
export interface DetachPolicyRequest {
|
|
749
752
|
PolicyId: string | undefined;
|
|
@@ -752,7 +755,7 @@ export interface DetachPolicyRequest {
|
|
|
752
755
|
export declare class PolicyNotAttachedException extends __BaseException {
|
|
753
756
|
readonly name: "PolicyNotAttachedException";
|
|
754
757
|
readonly $fault: "client";
|
|
755
|
-
Message?: string;
|
|
758
|
+
Message?: string | undefined;
|
|
756
759
|
constructor(
|
|
757
760
|
opts: __ExceptionOptionType<PolicyNotAttachedException, __BaseException>
|
|
758
761
|
);
|
|
@@ -765,18 +768,18 @@ export interface DisablePolicyTypeRequest {
|
|
|
765
768
|
PolicyType: PolicyType | undefined;
|
|
766
769
|
}
|
|
767
770
|
export interface Root {
|
|
768
|
-
Id?: string;
|
|
769
|
-
Arn?: string;
|
|
770
|
-
Name?: string;
|
|
771
|
-
PolicyTypes?: PolicyTypeSummary[];
|
|
771
|
+
Id?: string | undefined;
|
|
772
|
+
Arn?: string | undefined;
|
|
773
|
+
Name?: string | undefined;
|
|
774
|
+
PolicyTypes?: PolicyTypeSummary[] | undefined;
|
|
772
775
|
}
|
|
773
776
|
export interface DisablePolicyTypeResponse {
|
|
774
|
-
Root?: Root;
|
|
777
|
+
Root?: Root | undefined;
|
|
775
778
|
}
|
|
776
779
|
export declare class RootNotFoundException extends __BaseException {
|
|
777
780
|
readonly name: "RootNotFoundException";
|
|
778
781
|
readonly $fault: "client";
|
|
779
|
-
Message?: string;
|
|
782
|
+
Message?: string | undefined;
|
|
780
783
|
constructor(
|
|
781
784
|
opts: __ExceptionOptionType<RootNotFoundException, __BaseException>
|
|
782
785
|
);
|
|
@@ -790,12 +793,12 @@ export interface EnablePolicyTypeRequest {
|
|
|
790
793
|
PolicyType: PolicyType | undefined;
|
|
791
794
|
}
|
|
792
795
|
export interface EnablePolicyTypeResponse {
|
|
793
|
-
Root?: Root;
|
|
796
|
+
Root?: Root | undefined;
|
|
794
797
|
}
|
|
795
798
|
export declare class PolicyTypeAlreadyEnabledException extends __BaseException {
|
|
796
799
|
readonly name: "PolicyTypeAlreadyEnabledException";
|
|
797
800
|
readonly $fault: "client";
|
|
798
|
-
Message?: string;
|
|
801
|
+
Message?: string | undefined;
|
|
799
802
|
constructor(
|
|
800
803
|
opts: __ExceptionOptionType<
|
|
801
804
|
PolicyTypeAlreadyEnabledException,
|
|
@@ -806,20 +809,20 @@ export declare class PolicyTypeAlreadyEnabledException extends __BaseException {
|
|
|
806
809
|
export declare class DuplicateHandshakeException extends __BaseException {
|
|
807
810
|
readonly name: "DuplicateHandshakeException";
|
|
808
811
|
readonly $fault: "client";
|
|
809
|
-
Message?: string;
|
|
812
|
+
Message?: string | undefined;
|
|
810
813
|
constructor(
|
|
811
814
|
opts: __ExceptionOptionType<DuplicateHandshakeException, __BaseException>
|
|
812
815
|
);
|
|
813
816
|
}
|
|
814
817
|
export interface InviteAccountToOrganizationRequest {
|
|
815
818
|
Target: HandshakeParty | undefined;
|
|
816
|
-
Notes?: string;
|
|
817
|
-
Tags?: Tag[];
|
|
819
|
+
Notes?: string | undefined;
|
|
820
|
+
Tags?: Tag[] | undefined;
|
|
818
821
|
}
|
|
819
822
|
export declare class MasterCannotLeaveOrganizationException extends __BaseException {
|
|
820
823
|
readonly name: "MasterCannotLeaveOrganizationException";
|
|
821
824
|
readonly $fault: "client";
|
|
822
|
-
Message?: string;
|
|
825
|
+
Message?: string | undefined;
|
|
823
826
|
constructor(
|
|
824
827
|
opts: __ExceptionOptionType<
|
|
825
828
|
MasterCannotLeaveOrganizationException,
|
|
@@ -828,33 +831,33 @@ export declare class MasterCannotLeaveOrganizationException extends __BaseExcept
|
|
|
828
831
|
);
|
|
829
832
|
}
|
|
830
833
|
export interface ListAccountsRequest {
|
|
831
|
-
NextToken?: string;
|
|
832
|
-
MaxResults?: number;
|
|
834
|
+
NextToken?: string | undefined;
|
|
835
|
+
MaxResults?: number | undefined;
|
|
833
836
|
}
|
|
834
837
|
export interface ListAccountsResponse {
|
|
835
|
-
Accounts?: Account[];
|
|
836
|
-
NextToken?: string;
|
|
838
|
+
Accounts?: Account[] | undefined;
|
|
839
|
+
NextToken?: string | undefined;
|
|
837
840
|
}
|
|
838
841
|
export interface ListAccountsForParentRequest {
|
|
839
842
|
ParentId: string | undefined;
|
|
840
|
-
NextToken?: string;
|
|
841
|
-
MaxResults?: number;
|
|
843
|
+
NextToken?: string | undefined;
|
|
844
|
+
MaxResults?: number | undefined;
|
|
842
845
|
}
|
|
843
846
|
export interface ListAccountsForParentResponse {
|
|
844
|
-
Accounts?: Account[];
|
|
845
|
-
NextToken?: string;
|
|
847
|
+
Accounts?: Account[] | undefined;
|
|
848
|
+
NextToken?: string | undefined;
|
|
846
849
|
}
|
|
847
850
|
export interface ListAWSServiceAccessForOrganizationRequest {
|
|
848
|
-
NextToken?: string;
|
|
849
|
-
MaxResults?: number;
|
|
851
|
+
NextToken?: string | undefined;
|
|
852
|
+
MaxResults?: number | undefined;
|
|
850
853
|
}
|
|
851
854
|
export interface EnabledServicePrincipal {
|
|
852
|
-
ServicePrincipal?: string;
|
|
853
|
-
DateEnabled?: Date;
|
|
855
|
+
ServicePrincipal?: string | undefined;
|
|
856
|
+
DateEnabled?: Date | undefined;
|
|
854
857
|
}
|
|
855
858
|
export interface ListAWSServiceAccessForOrganizationResponse {
|
|
856
|
-
EnabledServicePrincipals?: EnabledServicePrincipal[];
|
|
857
|
-
NextToken?: string;
|
|
859
|
+
EnabledServicePrincipals?: EnabledServicePrincipal[] | undefined;
|
|
860
|
+
NextToken?: string | undefined;
|
|
858
861
|
}
|
|
859
862
|
export declare const ChildType: {
|
|
860
863
|
readonly ACCOUNT: "ACCOUNT";
|
|
@@ -864,93 +867,93 @@ export type ChildType = (typeof ChildType)[keyof typeof ChildType];
|
|
|
864
867
|
export interface ListChildrenRequest {
|
|
865
868
|
ParentId: string | undefined;
|
|
866
869
|
ChildType: ChildType | undefined;
|
|
867
|
-
NextToken?: string;
|
|
868
|
-
MaxResults?: number;
|
|
870
|
+
NextToken?: string | undefined;
|
|
871
|
+
MaxResults?: number | undefined;
|
|
869
872
|
}
|
|
870
873
|
export interface Child {
|
|
871
|
-
Id?: string;
|
|
872
|
-
Type?: ChildType;
|
|
874
|
+
Id?: string | undefined;
|
|
875
|
+
Type?: ChildType | undefined;
|
|
873
876
|
}
|
|
874
877
|
export interface ListChildrenResponse {
|
|
875
|
-
Children?: Child[];
|
|
876
|
-
NextToken?: string;
|
|
878
|
+
Children?: Child[] | undefined;
|
|
879
|
+
NextToken?: string | undefined;
|
|
877
880
|
}
|
|
878
881
|
export interface ListCreateAccountStatusRequest {
|
|
879
|
-
States?: CreateAccountState[];
|
|
880
|
-
NextToken?: string;
|
|
881
|
-
MaxResults?: number;
|
|
882
|
+
States?: CreateAccountState[] | undefined;
|
|
883
|
+
NextToken?: string | undefined;
|
|
884
|
+
MaxResults?: number | undefined;
|
|
882
885
|
}
|
|
883
886
|
export interface ListCreateAccountStatusResponse {
|
|
884
|
-
CreateAccountStatuses?: CreateAccountStatus[];
|
|
885
|
-
NextToken?: string;
|
|
887
|
+
CreateAccountStatuses?: CreateAccountStatus[] | undefined;
|
|
888
|
+
NextToken?: string | undefined;
|
|
886
889
|
}
|
|
887
890
|
export interface ListDelegatedAdministratorsRequest {
|
|
888
|
-
ServicePrincipal?: string;
|
|
889
|
-
NextToken?: string;
|
|
890
|
-
MaxResults?: number;
|
|
891
|
+
ServicePrincipal?: string | undefined;
|
|
892
|
+
NextToken?: string | undefined;
|
|
893
|
+
MaxResults?: number | undefined;
|
|
891
894
|
}
|
|
892
895
|
export interface DelegatedAdministrator {
|
|
893
|
-
Id?: string;
|
|
894
|
-
Arn?: string;
|
|
895
|
-
Email?: string;
|
|
896
|
-
Name?: string;
|
|
897
|
-
Status?: AccountStatus;
|
|
898
|
-
JoinedMethod?: AccountJoinedMethod;
|
|
899
|
-
JoinedTimestamp?: Date;
|
|
900
|
-
DelegationEnabledDate?: Date;
|
|
896
|
+
Id?: string | undefined;
|
|
897
|
+
Arn?: string | undefined;
|
|
898
|
+
Email?: string | undefined;
|
|
899
|
+
Name?: string | undefined;
|
|
900
|
+
Status?: AccountStatus | undefined;
|
|
901
|
+
JoinedMethod?: AccountJoinedMethod | undefined;
|
|
902
|
+
JoinedTimestamp?: Date | undefined;
|
|
903
|
+
DelegationEnabledDate?: Date | undefined;
|
|
901
904
|
}
|
|
902
905
|
export interface ListDelegatedAdministratorsResponse {
|
|
903
|
-
DelegatedAdministrators?: DelegatedAdministrator[];
|
|
904
|
-
NextToken?: string;
|
|
906
|
+
DelegatedAdministrators?: DelegatedAdministrator[] | undefined;
|
|
907
|
+
NextToken?: string | undefined;
|
|
905
908
|
}
|
|
906
909
|
export interface ListDelegatedServicesForAccountRequest {
|
|
907
910
|
AccountId: string | undefined;
|
|
908
|
-
NextToken?: string;
|
|
909
|
-
MaxResults?: number;
|
|
911
|
+
NextToken?: string | undefined;
|
|
912
|
+
MaxResults?: number | undefined;
|
|
910
913
|
}
|
|
911
914
|
export interface DelegatedService {
|
|
912
|
-
ServicePrincipal?: string;
|
|
913
|
-
DelegationEnabledDate?: Date;
|
|
915
|
+
ServicePrincipal?: string | undefined;
|
|
916
|
+
DelegationEnabledDate?: Date | undefined;
|
|
914
917
|
}
|
|
915
918
|
export interface ListDelegatedServicesForAccountResponse {
|
|
916
|
-
DelegatedServices?: DelegatedService[];
|
|
917
|
-
NextToken?: string;
|
|
919
|
+
DelegatedServices?: DelegatedService[] | undefined;
|
|
920
|
+
NextToken?: string | undefined;
|
|
918
921
|
}
|
|
919
922
|
export interface HandshakeFilter {
|
|
920
|
-
ActionType?: ActionType;
|
|
921
|
-
ParentHandshakeId?: string;
|
|
923
|
+
ActionType?: ActionType | undefined;
|
|
924
|
+
ParentHandshakeId?: string | undefined;
|
|
922
925
|
}
|
|
923
926
|
export interface ListHandshakesForAccountRequest {
|
|
924
|
-
Filter?: HandshakeFilter;
|
|
925
|
-
NextToken?: string;
|
|
926
|
-
MaxResults?: number;
|
|
927
|
+
Filter?: HandshakeFilter | undefined;
|
|
928
|
+
NextToken?: string | undefined;
|
|
929
|
+
MaxResults?: number | undefined;
|
|
927
930
|
}
|
|
928
931
|
export interface ListHandshakesForOrganizationRequest {
|
|
929
|
-
Filter?: HandshakeFilter;
|
|
930
|
-
NextToken?: string;
|
|
931
|
-
MaxResults?: number;
|
|
932
|
+
Filter?: HandshakeFilter | undefined;
|
|
933
|
+
NextToken?: string | undefined;
|
|
934
|
+
MaxResults?: number | undefined;
|
|
932
935
|
}
|
|
933
936
|
export interface ListOrganizationalUnitsForParentRequest {
|
|
934
937
|
ParentId: string | undefined;
|
|
935
|
-
NextToken?: string;
|
|
936
|
-
MaxResults?: number;
|
|
938
|
+
NextToken?: string | undefined;
|
|
939
|
+
MaxResults?: number | undefined;
|
|
937
940
|
}
|
|
938
941
|
export interface ListOrganizationalUnitsForParentResponse {
|
|
939
|
-
OrganizationalUnits?: OrganizationalUnit[];
|
|
940
|
-
NextToken?: string;
|
|
942
|
+
OrganizationalUnits?: OrganizationalUnit[] | undefined;
|
|
943
|
+
NextToken?: string | undefined;
|
|
941
944
|
}
|
|
942
945
|
export declare class ChildNotFoundException extends __BaseException {
|
|
943
946
|
readonly name: "ChildNotFoundException";
|
|
944
947
|
readonly $fault: "client";
|
|
945
|
-
Message?: string;
|
|
948
|
+
Message?: string | undefined;
|
|
946
949
|
constructor(
|
|
947
950
|
opts: __ExceptionOptionType<ChildNotFoundException, __BaseException>
|
|
948
951
|
);
|
|
949
952
|
}
|
|
950
953
|
export interface ListParentsRequest {
|
|
951
954
|
ChildId: string | undefined;
|
|
952
|
-
NextToken?: string;
|
|
953
|
-
MaxResults?: number;
|
|
955
|
+
NextToken?: string | undefined;
|
|
956
|
+
MaxResults?: number | undefined;
|
|
954
957
|
}
|
|
955
958
|
export declare const ParentType: {
|
|
956
959
|
readonly ORGANIZATIONAL_UNIT: "ORGANIZATIONAL_UNIT";
|
|
@@ -958,52 +961,52 @@ export declare const ParentType: {
|
|
|
958
961
|
};
|
|
959
962
|
export type ParentType = (typeof ParentType)[keyof typeof ParentType];
|
|
960
963
|
export interface Parent {
|
|
961
|
-
Id?: string;
|
|
962
|
-
Type?: ParentType;
|
|
964
|
+
Id?: string | undefined;
|
|
965
|
+
Type?: ParentType | undefined;
|
|
963
966
|
}
|
|
964
967
|
export interface ListParentsResponse {
|
|
965
|
-
Parents?: Parent[];
|
|
966
|
-
NextToken?: string;
|
|
968
|
+
Parents?: Parent[] | undefined;
|
|
969
|
+
NextToken?: string | undefined;
|
|
967
970
|
}
|
|
968
971
|
export interface ListPoliciesRequest {
|
|
969
972
|
Filter: PolicyType | undefined;
|
|
970
|
-
NextToken?: string;
|
|
971
|
-
MaxResults?: number;
|
|
973
|
+
NextToken?: string | undefined;
|
|
974
|
+
MaxResults?: number | undefined;
|
|
972
975
|
}
|
|
973
976
|
export interface ListPoliciesResponse {
|
|
974
|
-
Policies?: PolicySummary[];
|
|
975
|
-
NextToken?: string;
|
|
977
|
+
Policies?: PolicySummary[] | undefined;
|
|
978
|
+
NextToken?: string | undefined;
|
|
976
979
|
}
|
|
977
980
|
export interface ListPoliciesForTargetRequest {
|
|
978
981
|
TargetId: string | undefined;
|
|
979
982
|
Filter: PolicyType | undefined;
|
|
980
|
-
NextToken?: string;
|
|
981
|
-
MaxResults?: number;
|
|
983
|
+
NextToken?: string | undefined;
|
|
984
|
+
MaxResults?: number | undefined;
|
|
982
985
|
}
|
|
983
986
|
export interface ListPoliciesForTargetResponse {
|
|
984
|
-
Policies?: PolicySummary[];
|
|
985
|
-
NextToken?: string;
|
|
987
|
+
Policies?: PolicySummary[] | undefined;
|
|
988
|
+
NextToken?: string | undefined;
|
|
986
989
|
}
|
|
987
990
|
export interface ListRootsRequest {
|
|
988
|
-
NextToken?: string;
|
|
989
|
-
MaxResults?: number;
|
|
991
|
+
NextToken?: string | undefined;
|
|
992
|
+
MaxResults?: number | undefined;
|
|
990
993
|
}
|
|
991
994
|
export interface ListRootsResponse {
|
|
992
|
-
Roots?: Root[];
|
|
993
|
-
NextToken?: string;
|
|
995
|
+
Roots?: Root[] | undefined;
|
|
996
|
+
NextToken?: string | undefined;
|
|
994
997
|
}
|
|
995
998
|
export interface ListTagsForResourceRequest {
|
|
996
999
|
ResourceId: string | undefined;
|
|
997
|
-
NextToken?: string;
|
|
1000
|
+
NextToken?: string | undefined;
|
|
998
1001
|
}
|
|
999
1002
|
export interface ListTagsForResourceResponse {
|
|
1000
|
-
Tags?: Tag[];
|
|
1001
|
-
NextToken?: string;
|
|
1003
|
+
Tags?: Tag[] | undefined;
|
|
1004
|
+
NextToken?: string | undefined;
|
|
1002
1005
|
}
|
|
1003
1006
|
export interface ListTargetsForPolicyRequest {
|
|
1004
1007
|
PolicyId: string | undefined;
|
|
1005
|
-
NextToken?: string;
|
|
1006
|
-
MaxResults?: number;
|
|
1008
|
+
NextToken?: string | undefined;
|
|
1009
|
+
MaxResults?: number | undefined;
|
|
1007
1010
|
}
|
|
1008
1011
|
export declare const TargetType: {
|
|
1009
1012
|
readonly ACCOUNT: "ACCOUNT";
|
|
@@ -1012,19 +1015,19 @@ export declare const TargetType: {
|
|
|
1012
1015
|
};
|
|
1013
1016
|
export type TargetType = (typeof TargetType)[keyof typeof TargetType];
|
|
1014
1017
|
export interface PolicyTargetSummary {
|
|
1015
|
-
TargetId?: string;
|
|
1016
|
-
Arn?: string;
|
|
1017
|
-
Name?: string;
|
|
1018
|
-
Type?: TargetType;
|
|
1018
|
+
TargetId?: string | undefined;
|
|
1019
|
+
Arn?: string | undefined;
|
|
1020
|
+
Name?: string | undefined;
|
|
1021
|
+
Type?: TargetType | undefined;
|
|
1019
1022
|
}
|
|
1020
1023
|
export interface ListTargetsForPolicyResponse {
|
|
1021
|
-
Targets?: PolicyTargetSummary[];
|
|
1022
|
-
NextToken?: string;
|
|
1024
|
+
Targets?: PolicyTargetSummary[] | undefined;
|
|
1025
|
+
NextToken?: string | undefined;
|
|
1023
1026
|
}
|
|
1024
1027
|
export declare class DestinationParentNotFoundException extends __BaseException {
|
|
1025
1028
|
readonly name: "DestinationParentNotFoundException";
|
|
1026
1029
|
readonly $fault: "client";
|
|
1027
|
-
Message?: string;
|
|
1030
|
+
Message?: string | undefined;
|
|
1028
1031
|
constructor(
|
|
1029
1032
|
opts: __ExceptionOptionType<
|
|
1030
1033
|
DestinationParentNotFoundException,
|
|
@@ -1035,7 +1038,7 @@ export declare class DestinationParentNotFoundException extends __BaseException
|
|
|
1035
1038
|
export declare class DuplicateAccountException extends __BaseException {
|
|
1036
1039
|
readonly name: "DuplicateAccountException";
|
|
1037
1040
|
readonly $fault: "client";
|
|
1038
|
-
Message?: string;
|
|
1041
|
+
Message?: string | undefined;
|
|
1039
1042
|
constructor(
|
|
1040
1043
|
opts: __ExceptionOptionType<DuplicateAccountException, __BaseException>
|
|
1041
1044
|
);
|
|
@@ -1048,17 +1051,17 @@ export interface MoveAccountRequest {
|
|
|
1048
1051
|
export declare class SourceParentNotFoundException extends __BaseException {
|
|
1049
1052
|
readonly name: "SourceParentNotFoundException";
|
|
1050
1053
|
readonly $fault: "client";
|
|
1051
|
-
Message?: string;
|
|
1054
|
+
Message?: string | undefined;
|
|
1052
1055
|
constructor(
|
|
1053
1056
|
opts: __ExceptionOptionType<SourceParentNotFoundException, __BaseException>
|
|
1054
1057
|
);
|
|
1055
1058
|
}
|
|
1056
1059
|
export interface PutResourcePolicyRequest {
|
|
1057
1060
|
Content: string | undefined;
|
|
1058
|
-
Tags?: Tag[];
|
|
1061
|
+
Tags?: Tag[] | undefined;
|
|
1059
1062
|
}
|
|
1060
1063
|
export interface PutResourcePolicyResponse {
|
|
1061
|
-
ResourcePolicy?: ResourcePolicy;
|
|
1064
|
+
ResourcePolicy?: ResourcePolicy | undefined;
|
|
1062
1065
|
}
|
|
1063
1066
|
export interface RegisterDelegatedAdministratorRequest {
|
|
1064
1067
|
AccountId: string | undefined;
|
|
@@ -1077,60 +1080,60 @@ export interface UntagResourceRequest {
|
|
|
1077
1080
|
}
|
|
1078
1081
|
export interface UpdateOrganizationalUnitRequest {
|
|
1079
1082
|
OrganizationalUnitId: string | undefined;
|
|
1080
|
-
Name?: string;
|
|
1083
|
+
Name?: string | undefined;
|
|
1081
1084
|
}
|
|
1082
1085
|
export interface UpdateOrganizationalUnitResponse {
|
|
1083
|
-
OrganizationalUnit?: OrganizationalUnit;
|
|
1086
|
+
OrganizationalUnit?: OrganizationalUnit | undefined;
|
|
1084
1087
|
}
|
|
1085
1088
|
export interface UpdatePolicyRequest {
|
|
1086
1089
|
PolicyId: string | undefined;
|
|
1087
|
-
Name?: string;
|
|
1088
|
-
Description?: string;
|
|
1089
|
-
Content?: string;
|
|
1090
|
+
Name?: string | undefined;
|
|
1091
|
+
Description?: string | undefined;
|
|
1092
|
+
Content?: string | undefined;
|
|
1090
1093
|
}
|
|
1091
1094
|
export interface UpdatePolicyResponse {
|
|
1092
|
-
Policy?: Policy;
|
|
1095
|
+
Policy?: Policy | undefined;
|
|
1093
1096
|
}
|
|
1094
1097
|
export interface HandshakeResource {
|
|
1095
|
-
Value?: string;
|
|
1096
|
-
Type?: HandshakeResourceType;
|
|
1097
|
-
Resources?: HandshakeResource[];
|
|
1098
|
+
Value?: string | undefined;
|
|
1099
|
+
Type?: HandshakeResourceType | undefined;
|
|
1100
|
+
Resources?: HandshakeResource[] | undefined;
|
|
1098
1101
|
}
|
|
1099
1102
|
export interface Handshake {
|
|
1100
|
-
Id?: string;
|
|
1101
|
-
Arn?: string;
|
|
1102
|
-
Parties?: HandshakeParty[];
|
|
1103
|
-
State?: HandshakeState;
|
|
1104
|
-
RequestedTimestamp?: Date;
|
|
1105
|
-
ExpirationTimestamp?: Date;
|
|
1106
|
-
Action?: ActionType;
|
|
1107
|
-
Resources?: HandshakeResource[];
|
|
1103
|
+
Id?: string | undefined;
|
|
1104
|
+
Arn?: string | undefined;
|
|
1105
|
+
Parties?: HandshakeParty[] | undefined;
|
|
1106
|
+
State?: HandshakeState | undefined;
|
|
1107
|
+
RequestedTimestamp?: Date | undefined;
|
|
1108
|
+
ExpirationTimestamp?: Date | undefined;
|
|
1109
|
+
Action?: ActionType | undefined;
|
|
1110
|
+
Resources?: HandshakeResource[] | undefined;
|
|
1108
1111
|
}
|
|
1109
1112
|
export interface AcceptHandshakeResponse {
|
|
1110
|
-
Handshake?: Handshake;
|
|
1113
|
+
Handshake?: Handshake | undefined;
|
|
1111
1114
|
}
|
|
1112
1115
|
export interface CancelHandshakeResponse {
|
|
1113
|
-
Handshake?: Handshake;
|
|
1116
|
+
Handshake?: Handshake | undefined;
|
|
1114
1117
|
}
|
|
1115
1118
|
export interface DeclineHandshakeResponse {
|
|
1116
|
-
Handshake?: Handshake;
|
|
1119
|
+
Handshake?: Handshake | undefined;
|
|
1117
1120
|
}
|
|
1118
1121
|
export interface DescribeHandshakeResponse {
|
|
1119
|
-
Handshake?: Handshake;
|
|
1122
|
+
Handshake?: Handshake | undefined;
|
|
1120
1123
|
}
|
|
1121
1124
|
export interface EnableAllFeaturesResponse {
|
|
1122
|
-
Handshake?: Handshake;
|
|
1125
|
+
Handshake?: Handshake | undefined;
|
|
1123
1126
|
}
|
|
1124
1127
|
export interface InviteAccountToOrganizationResponse {
|
|
1125
|
-
Handshake?: Handshake;
|
|
1128
|
+
Handshake?: Handshake | undefined;
|
|
1126
1129
|
}
|
|
1127
1130
|
export interface ListHandshakesForAccountResponse {
|
|
1128
|
-
Handshakes?: Handshake[];
|
|
1129
|
-
NextToken?: string;
|
|
1131
|
+
Handshakes?: Handshake[] | undefined;
|
|
1132
|
+
NextToken?: string | undefined;
|
|
1130
1133
|
}
|
|
1131
1134
|
export interface ListHandshakesForOrganizationResponse {
|
|
1132
|
-
Handshakes?: Handshake[];
|
|
1133
|
-
NextToken?: string;
|
|
1135
|
+
Handshakes?: Handshake[] | undefined;
|
|
1136
|
+
NextToken?: string | undefined;
|
|
1134
1137
|
}
|
|
1135
1138
|
export declare const HandshakePartyFilterSensitiveLog: (
|
|
1136
1139
|
obj: HandshakeParty
|