@aws-sdk/client-directory-service 3.301.0 → 3.306.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/models/models_0.js +180 -211
- package/dist-es/models/models_0.js +180 -211
- package/dist-types/models/models_0.d.ts +335 -180
- package/dist-types/ts3.4/models/models_0.d.ts +225 -180
- package/package.json +34 -34
|
@@ -4,23 +4,21 @@ exports.UpdateType = exports.TrustState = exports.SnapshotType = exports.Snapsho
|
|
|
4
4
|
exports.UpdateRadiusRequestFilterSensitiveLog = exports.ShareDirectoryRequestFilterSensitiveLog = exports.ResetUserPasswordRequestFilterSensitiveLog = exports.EnableSsoRequestFilterSensitiveLog = exports.EnableRadiusRequestFilterSensitiveLog = exports.DisableSsoRequestFilterSensitiveLog = exports.DescribeSharedDirectoriesResultFilterSensitiveLog = exports.DescribeDirectoriesResultFilterSensitiveLog = exports.DirectoryDescriptionFilterSensitiveLog = exports.OwnerDirectoryDescriptionFilterSensitiveLog = exports.RadiusSettingsFilterSensitiveLog = exports.CreateTrustRequestFilterSensitiveLog = exports.CreateMicrosoftADRequestFilterSensitiveLog = exports.CreateDirectoryRequestFilterSensitiveLog = exports.CreateComputerRequestFilterSensitiveLog = exports.ConnectDirectoryRequestFilterSensitiveLog = exports.AcceptSharedDirectoryResultFilterSensitiveLog = exports.SharedDirectoryFilterSensitiveLog = exports.UnsupportedSettingsException = exports.IncompatibleSettingsException = exports.DomainControllerLimitExceededException = exports.ShareLimitExceededException = exports.TargetType = exports.OrganizationsException = exports.InvalidTargetException = exports.UserDoesNotExistException = exports.InvalidPasswordException = exports.InvalidCertificateException = exports.SchemaExtensionStatus = exports.IpRouteStatusMsg = exports.NoAvailableCertificateException = exports.InvalidLDAPSStatusException = exports.InvalidClientAuthStatusException = exports.DirectoryNotSharedException = exports.DirectoryInDesiredStateException = exports.UpdateStatus = void 0;
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const DirectoryServiceServiceException_1 = require("./DirectoryServiceServiceException");
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
ShareStatus["SHARING"] = "Sharing";
|
|
23
|
-
})(ShareStatus = exports.ShareStatus || (exports.ShareStatus = {}));
|
|
7
|
+
exports.ShareMethod = {
|
|
8
|
+
HANDSHAKE: "HANDSHAKE",
|
|
9
|
+
ORGANIZATIONS: "ORGANIZATIONS",
|
|
10
|
+
};
|
|
11
|
+
exports.ShareStatus = {
|
|
12
|
+
DELETED: "Deleted",
|
|
13
|
+
DELETING: "Deleting",
|
|
14
|
+
PENDING_ACCEPTANCE: "PendingAcceptance",
|
|
15
|
+
REJECTED: "Rejected",
|
|
16
|
+
REJECTING: "Rejecting",
|
|
17
|
+
REJECT_FAILED: "RejectFailed",
|
|
18
|
+
SHARED: "Shared",
|
|
19
|
+
SHARE_FAILED: "ShareFailed",
|
|
20
|
+
SHARING: "Sharing",
|
|
21
|
+
};
|
|
24
22
|
class ClientException extends DirectoryServiceServiceException_1.DirectoryServiceServiceException {
|
|
25
23
|
constructor(opts) {
|
|
26
24
|
super({
|
|
@@ -246,20 +244,18 @@ class AuthenticationFailedException extends DirectoryServiceServiceException_1.D
|
|
|
246
244
|
}
|
|
247
245
|
}
|
|
248
246
|
exports.AuthenticationFailedException = AuthenticationFailedException;
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
CertificateType["CLIENT_LDAPS"] = "ClientLDAPS";
|
|
262
|
-
})(CertificateType = exports.CertificateType || (exports.CertificateType = {}));
|
|
247
|
+
exports.CertificateState = {
|
|
248
|
+
DEREGISTERED: "Deregistered",
|
|
249
|
+
DEREGISTERING: "Deregistering",
|
|
250
|
+
DEREGISTER_FAILED: "DeregisterFailed",
|
|
251
|
+
REGISTERED: "Registered",
|
|
252
|
+
REGISTERING: "Registering",
|
|
253
|
+
REGISTER_FAILED: "RegisterFailed",
|
|
254
|
+
};
|
|
255
|
+
exports.CertificateType = {
|
|
256
|
+
CLIENT_CERT_AUTH: "ClientCertAuth",
|
|
257
|
+
CLIENT_LDAPS: "ClientLDAPS",
|
|
258
|
+
};
|
|
263
259
|
class CertificateAlreadyExistsException extends DirectoryServiceServiceException_1.DirectoryServiceServiceException {
|
|
264
260
|
constructor(opts) {
|
|
265
261
|
super({
|
|
@@ -320,25 +316,21 @@ class CertificateLimitExceededException extends DirectoryServiceServiceException
|
|
|
320
316
|
}
|
|
321
317
|
}
|
|
322
318
|
exports.CertificateLimitExceededException = CertificateLimitExceededException;
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
(function (DirectorySize) {
|
|
339
|
-
DirectorySize["LARGE"] = "Large";
|
|
340
|
-
DirectorySize["SMALL"] = "Small";
|
|
341
|
-
})(DirectorySize = exports.DirectorySize || (exports.DirectorySize = {}));
|
|
319
|
+
exports.ClientAuthenticationStatus = {
|
|
320
|
+
DISABLED: "Disabled",
|
|
321
|
+
ENABLED: "Enabled",
|
|
322
|
+
};
|
|
323
|
+
exports.ClientAuthenticationType = {
|
|
324
|
+
SMART_CARD: "SmartCard",
|
|
325
|
+
SMART_CARD_OR_PASSWORD: "SmartCardOrPassword",
|
|
326
|
+
};
|
|
327
|
+
exports.ReplicationScope = {
|
|
328
|
+
Domain: "Domain",
|
|
329
|
+
};
|
|
330
|
+
exports.DirectorySize = {
|
|
331
|
+
LARGE: "Large",
|
|
332
|
+
SMALL: "Small",
|
|
333
|
+
};
|
|
342
334
|
class DirectoryLimitExceededException extends DirectoryServiceServiceException_1.DirectoryServiceServiceException {
|
|
343
335
|
constructor(opts) {
|
|
344
336
|
super({
|
|
@@ -369,11 +361,10 @@ class InsufficientPermissionsException extends DirectoryServiceServiceException_
|
|
|
369
361
|
}
|
|
370
362
|
}
|
|
371
363
|
exports.InsufficientPermissionsException = InsufficientPermissionsException;
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
})(DirectoryEdition = exports.DirectoryEdition || (exports.DirectoryEdition = {}));
|
|
364
|
+
exports.DirectoryEdition = {
|
|
365
|
+
ENTERPRISE: "Enterprise",
|
|
366
|
+
STANDARD: "Standard",
|
|
367
|
+
};
|
|
377
368
|
class SnapshotLimitExceededException extends DirectoryServiceServiceException_1.DirectoryServiceServiceException {
|
|
378
369
|
constructor(opts) {
|
|
379
370
|
super({
|
|
@@ -389,61 +380,53 @@ class SnapshotLimitExceededException extends DirectoryServiceServiceException_1.
|
|
|
389
380
|
}
|
|
390
381
|
}
|
|
391
382
|
exports.SnapshotLimitExceededException = SnapshotLimitExceededException;
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
}
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
})(DirectoryStage = exports.DirectoryStage || (exports.DirectoryStage = {}));
|
|
440
|
-
var DirectoryType;
|
|
441
|
-
(function (DirectoryType) {
|
|
442
|
-
DirectoryType["AD_CONNECTOR"] = "ADConnector";
|
|
443
|
-
DirectoryType["MICROSOFT_AD"] = "MicrosoftAD";
|
|
444
|
-
DirectoryType["SHARED_MICROSOFT_AD"] = "SharedMicrosoftAD";
|
|
445
|
-
DirectoryType["SIMPLE_AD"] = "SimpleAD";
|
|
446
|
-
})(DirectoryType = exports.DirectoryType || (exports.DirectoryType = {}));
|
|
383
|
+
exports.SelectiveAuth = {
|
|
384
|
+
DISABLED: "Disabled",
|
|
385
|
+
ENABLED: "Enabled",
|
|
386
|
+
};
|
|
387
|
+
exports.TrustDirection = {
|
|
388
|
+
ONE_WAY_INCOMING: "One-Way: Incoming",
|
|
389
|
+
ONE_WAY_OUTGOING: "One-Way: Outgoing",
|
|
390
|
+
TWO_WAY: "Two-Way",
|
|
391
|
+
};
|
|
392
|
+
exports.TrustType = {
|
|
393
|
+
EXTERNAL: "External",
|
|
394
|
+
FOREST: "Forest",
|
|
395
|
+
};
|
|
396
|
+
exports.OSVersion = {
|
|
397
|
+
VERSION_2012: "SERVER_2012",
|
|
398
|
+
VERSION_2019: "SERVER_2019",
|
|
399
|
+
};
|
|
400
|
+
exports.RadiusAuthenticationProtocol = {
|
|
401
|
+
CHAP: "CHAP",
|
|
402
|
+
MSCHAPV1: "MS-CHAPv1",
|
|
403
|
+
MSCHAPV2: "MS-CHAPv2",
|
|
404
|
+
PAP: "PAP",
|
|
405
|
+
};
|
|
406
|
+
exports.RadiusStatus = {
|
|
407
|
+
COMPLETED: "Completed",
|
|
408
|
+
CREATING: "Creating",
|
|
409
|
+
FAILED: "Failed",
|
|
410
|
+
};
|
|
411
|
+
exports.DirectoryStage = {
|
|
412
|
+
ACTIVE: "Active",
|
|
413
|
+
CREATED: "Created",
|
|
414
|
+
CREATING: "Creating",
|
|
415
|
+
DELETED: "Deleted",
|
|
416
|
+
DELETING: "Deleting",
|
|
417
|
+
FAILED: "Failed",
|
|
418
|
+
IMPAIRED: "Impaired",
|
|
419
|
+
INOPERABLE: "Inoperable",
|
|
420
|
+
REQUESTED: "Requested",
|
|
421
|
+
RESTOREFAILED: "RestoreFailed",
|
|
422
|
+
RESTORING: "Restoring",
|
|
423
|
+
};
|
|
424
|
+
exports.DirectoryType = {
|
|
425
|
+
AD_CONNECTOR: "ADConnector",
|
|
426
|
+
MICROSOFT_AD: "MicrosoftAD",
|
|
427
|
+
SHARED_MICROSOFT_AD: "SharedMicrosoftAD",
|
|
428
|
+
SIMPLE_AD: "SimpleAD",
|
|
429
|
+
};
|
|
447
430
|
class InvalidNextTokenException extends DirectoryServiceServiceException_1.DirectoryServiceServiceException {
|
|
448
431
|
constructor(opts) {
|
|
449
432
|
super({
|
|
@@ -459,82 +442,71 @@ class InvalidNextTokenException extends DirectoryServiceServiceException_1.Direc
|
|
|
459
442
|
}
|
|
460
443
|
}
|
|
461
444
|
exports.InvalidNextTokenException = InvalidNextTokenException;
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
}
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
})(TrustState = exports.TrustState || (exports.TrustState = {}));
|
|
528
|
-
var UpdateType;
|
|
529
|
-
(function (UpdateType) {
|
|
530
|
-
UpdateType["OS"] = "OS";
|
|
531
|
-
})(UpdateType = exports.UpdateType || (exports.UpdateType = {}));
|
|
532
|
-
var UpdateStatus;
|
|
533
|
-
(function (UpdateStatus) {
|
|
534
|
-
UpdateStatus["UPDATED"] = "Updated";
|
|
535
|
-
UpdateStatus["UPDATE_FAILED"] = "UpdateFailed";
|
|
536
|
-
UpdateStatus["UPDATING"] = "Updating";
|
|
537
|
-
})(UpdateStatus = exports.UpdateStatus || (exports.UpdateStatus = {}));
|
|
445
|
+
exports.DomainControllerStatus = {
|
|
446
|
+
ACTIVE: "Active",
|
|
447
|
+
CREATING: "Creating",
|
|
448
|
+
DELETED: "Deleted",
|
|
449
|
+
DELETING: "Deleting",
|
|
450
|
+
FAILED: "Failed",
|
|
451
|
+
IMPAIRED: "Impaired",
|
|
452
|
+
RESTORING: "Restoring",
|
|
453
|
+
};
|
|
454
|
+
exports.TopicStatus = {
|
|
455
|
+
DELETED: "Deleted",
|
|
456
|
+
FAILED: "Failed",
|
|
457
|
+
REGISTERED: "Registered",
|
|
458
|
+
TOPIC_NOT_FOUND: "Topic not found",
|
|
459
|
+
};
|
|
460
|
+
exports.LDAPSType = {
|
|
461
|
+
CLIENT: "Client",
|
|
462
|
+
};
|
|
463
|
+
exports.LDAPSStatus = {
|
|
464
|
+
DISABLED: "Disabled",
|
|
465
|
+
ENABLED: "Enabled",
|
|
466
|
+
ENABLE_FAILED: "EnableFailed",
|
|
467
|
+
ENABLING: "Enabling",
|
|
468
|
+
};
|
|
469
|
+
exports.RegionType = {
|
|
470
|
+
ADDITIONAL: "Additional",
|
|
471
|
+
PRIMARY: "Primary",
|
|
472
|
+
};
|
|
473
|
+
exports.DirectoryConfigurationStatus = {
|
|
474
|
+
DEFAULT: "Default",
|
|
475
|
+
FAILED: "Failed",
|
|
476
|
+
REQUESTED: "Requested",
|
|
477
|
+
UPDATED: "Updated",
|
|
478
|
+
UPDATING: "Updating",
|
|
479
|
+
};
|
|
480
|
+
exports.SnapshotStatus = {
|
|
481
|
+
COMPLETED: "Completed",
|
|
482
|
+
CREATING: "Creating",
|
|
483
|
+
FAILED: "Failed",
|
|
484
|
+
};
|
|
485
|
+
exports.SnapshotType = {
|
|
486
|
+
AUTO: "Auto",
|
|
487
|
+
MANUAL: "Manual",
|
|
488
|
+
};
|
|
489
|
+
exports.TrustState = {
|
|
490
|
+
CREATED: "Created",
|
|
491
|
+
CREATING: "Creating",
|
|
492
|
+
DELETED: "Deleted",
|
|
493
|
+
DELETING: "Deleting",
|
|
494
|
+
FAILED: "Failed",
|
|
495
|
+
UPDATED: "Updated",
|
|
496
|
+
UPDATE_FAILED: "UpdateFailed",
|
|
497
|
+
UPDATING: "Updating",
|
|
498
|
+
VERIFIED: "Verified",
|
|
499
|
+
VERIFYING: "Verifying",
|
|
500
|
+
VERIFY_FAILED: "VerifyFailed",
|
|
501
|
+
};
|
|
502
|
+
exports.UpdateType = {
|
|
503
|
+
OS: "OS",
|
|
504
|
+
};
|
|
505
|
+
exports.UpdateStatus = {
|
|
506
|
+
UPDATED: "Updated",
|
|
507
|
+
UPDATE_FAILED: "UpdateFailed",
|
|
508
|
+
UPDATING: "Updating",
|
|
509
|
+
};
|
|
538
510
|
class DirectoryInDesiredStateException extends DirectoryServiceServiceException_1.DirectoryServiceServiceException {
|
|
539
511
|
constructor(opts) {
|
|
540
512
|
super({
|
|
@@ -610,27 +582,25 @@ class NoAvailableCertificateException extends DirectoryServiceServiceException_1
|
|
|
610
582
|
}
|
|
611
583
|
}
|
|
612
584
|
exports.NoAvailableCertificateException = NoAvailableCertificateException;
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
SchemaExtensionStatus["UPDATING_SCHEMA"] = "UpdatingSchema";
|
|
633
|
-
})(SchemaExtensionStatus = exports.SchemaExtensionStatus || (exports.SchemaExtensionStatus = {}));
|
|
585
|
+
exports.IpRouteStatusMsg = {
|
|
586
|
+
ADDED: "Added",
|
|
587
|
+
ADDING: "Adding",
|
|
588
|
+
ADD_FAILED: "AddFailed",
|
|
589
|
+
REMOVED: "Removed",
|
|
590
|
+
REMOVE_FAILED: "RemoveFailed",
|
|
591
|
+
REMOVING: "Removing",
|
|
592
|
+
};
|
|
593
|
+
exports.SchemaExtensionStatus = {
|
|
594
|
+
CANCELLED: "Cancelled",
|
|
595
|
+
CANCEL_IN_PROGRESS: "CancelInProgress",
|
|
596
|
+
COMPLETED: "Completed",
|
|
597
|
+
CREATING_SNAPSHOT: "CreatingSnapshot",
|
|
598
|
+
FAILED: "Failed",
|
|
599
|
+
INITIALIZING: "Initializing",
|
|
600
|
+
REPLICATING: "Replicating",
|
|
601
|
+
ROLLBACK_IN_PROGRESS: "RollbackInProgress",
|
|
602
|
+
UPDATING_SCHEMA: "UpdatingSchema",
|
|
603
|
+
};
|
|
634
604
|
class InvalidCertificateException extends DirectoryServiceServiceException_1.DirectoryServiceServiceException {
|
|
635
605
|
constructor(opts) {
|
|
636
606
|
super({
|
|
@@ -706,10 +676,9 @@ class OrganizationsException extends DirectoryServiceServiceException_1.Director
|
|
|
706
676
|
}
|
|
707
677
|
}
|
|
708
678
|
exports.OrganizationsException = OrganizationsException;
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
})(TargetType = exports.TargetType || (exports.TargetType = {}));
|
|
679
|
+
exports.TargetType = {
|
|
680
|
+
ACCOUNT: "ACCOUNT",
|
|
681
|
+
};
|
|
713
682
|
class ShareLimitExceededException extends DirectoryServiceServiceException_1.DirectoryServiceServiceException {
|
|
714
683
|
constructor(opts) {
|
|
715
684
|
super({
|