@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.
@@ -1,22 +1,20 @@
1
1
  import { SENSITIVE_STRING } from "@aws-sdk/smithy-client";
2
2
  import { DirectoryServiceServiceException as __BaseException } from "./DirectoryServiceServiceException";
3
- export var ShareMethod;
4
- (function (ShareMethod) {
5
- ShareMethod["HANDSHAKE"] = "HANDSHAKE";
6
- ShareMethod["ORGANIZATIONS"] = "ORGANIZATIONS";
7
- })(ShareMethod || (ShareMethod = {}));
8
- export var ShareStatus;
9
- (function (ShareStatus) {
10
- ShareStatus["DELETED"] = "Deleted";
11
- ShareStatus["DELETING"] = "Deleting";
12
- ShareStatus["PENDING_ACCEPTANCE"] = "PendingAcceptance";
13
- ShareStatus["REJECTED"] = "Rejected";
14
- ShareStatus["REJECTING"] = "Rejecting";
15
- ShareStatus["REJECT_FAILED"] = "RejectFailed";
16
- ShareStatus["SHARED"] = "Shared";
17
- ShareStatus["SHARE_FAILED"] = "ShareFailed";
18
- ShareStatus["SHARING"] = "Sharing";
19
- })(ShareStatus || (ShareStatus = {}));
3
+ export const ShareMethod = {
4
+ HANDSHAKE: "HANDSHAKE",
5
+ ORGANIZATIONS: "ORGANIZATIONS",
6
+ };
7
+ export const ShareStatus = {
8
+ DELETED: "Deleted",
9
+ DELETING: "Deleting",
10
+ PENDING_ACCEPTANCE: "PendingAcceptance",
11
+ REJECTED: "Rejected",
12
+ REJECTING: "Rejecting",
13
+ REJECT_FAILED: "RejectFailed",
14
+ SHARED: "Shared",
15
+ SHARE_FAILED: "ShareFailed",
16
+ SHARING: "Sharing",
17
+ };
20
18
  export class ClientException extends __BaseException {
21
19
  constructor(opts) {
22
20
  super({
@@ -227,20 +225,18 @@ export class AuthenticationFailedException extends __BaseException {
227
225
  this.RequestId = opts.RequestId;
228
226
  }
229
227
  }
230
- export var CertificateState;
231
- (function (CertificateState) {
232
- CertificateState["DEREGISTERED"] = "Deregistered";
233
- CertificateState["DEREGISTERING"] = "Deregistering";
234
- CertificateState["DEREGISTER_FAILED"] = "DeregisterFailed";
235
- CertificateState["REGISTERED"] = "Registered";
236
- CertificateState["REGISTERING"] = "Registering";
237
- CertificateState["REGISTER_FAILED"] = "RegisterFailed";
238
- })(CertificateState || (CertificateState = {}));
239
- export var CertificateType;
240
- (function (CertificateType) {
241
- CertificateType["CLIENT_CERT_AUTH"] = "ClientCertAuth";
242
- CertificateType["CLIENT_LDAPS"] = "ClientLDAPS";
243
- })(CertificateType || (CertificateType = {}));
228
+ export const CertificateState = {
229
+ DEREGISTERED: "Deregistered",
230
+ DEREGISTERING: "Deregistering",
231
+ DEREGISTER_FAILED: "DeregisterFailed",
232
+ REGISTERED: "Registered",
233
+ REGISTERING: "Registering",
234
+ REGISTER_FAILED: "RegisterFailed",
235
+ };
236
+ export const CertificateType = {
237
+ CLIENT_CERT_AUTH: "ClientCertAuth",
238
+ CLIENT_LDAPS: "ClientLDAPS",
239
+ };
244
240
  export class CertificateAlreadyExistsException extends __BaseException {
245
241
  constructor(opts) {
246
242
  super({
@@ -297,25 +293,21 @@ export class CertificateLimitExceededException extends __BaseException {
297
293
  this.RequestId = opts.RequestId;
298
294
  }
299
295
  }
300
- export var ClientAuthenticationStatus;
301
- (function (ClientAuthenticationStatus) {
302
- ClientAuthenticationStatus["DISABLED"] = "Disabled";
303
- ClientAuthenticationStatus["ENABLED"] = "Enabled";
304
- })(ClientAuthenticationStatus || (ClientAuthenticationStatus = {}));
305
- export var ClientAuthenticationType;
306
- (function (ClientAuthenticationType) {
307
- ClientAuthenticationType["SMART_CARD"] = "SmartCard";
308
- ClientAuthenticationType["SMART_CARD_OR_PASSWORD"] = "SmartCardOrPassword";
309
- })(ClientAuthenticationType || (ClientAuthenticationType = {}));
310
- export var ReplicationScope;
311
- (function (ReplicationScope) {
312
- ReplicationScope["Domain"] = "Domain";
313
- })(ReplicationScope || (ReplicationScope = {}));
314
- export var DirectorySize;
315
- (function (DirectorySize) {
316
- DirectorySize["LARGE"] = "Large";
317
- DirectorySize["SMALL"] = "Small";
318
- })(DirectorySize || (DirectorySize = {}));
296
+ export const ClientAuthenticationStatus = {
297
+ DISABLED: "Disabled",
298
+ ENABLED: "Enabled",
299
+ };
300
+ export const ClientAuthenticationType = {
301
+ SMART_CARD: "SmartCard",
302
+ SMART_CARD_OR_PASSWORD: "SmartCardOrPassword",
303
+ };
304
+ export const ReplicationScope = {
305
+ Domain: "Domain",
306
+ };
307
+ export const DirectorySize = {
308
+ LARGE: "Large",
309
+ SMALL: "Small",
310
+ };
319
311
  export class DirectoryLimitExceededException extends __BaseException {
320
312
  constructor(opts) {
321
313
  super({
@@ -344,11 +336,10 @@ export class InsufficientPermissionsException extends __BaseException {
344
336
  this.RequestId = opts.RequestId;
345
337
  }
346
338
  }
347
- export var DirectoryEdition;
348
- (function (DirectoryEdition) {
349
- DirectoryEdition["ENTERPRISE"] = "Enterprise";
350
- DirectoryEdition["STANDARD"] = "Standard";
351
- })(DirectoryEdition || (DirectoryEdition = {}));
339
+ export const DirectoryEdition = {
340
+ ENTERPRISE: "Enterprise",
341
+ STANDARD: "Standard",
342
+ };
352
343
  export class SnapshotLimitExceededException extends __BaseException {
353
344
  constructor(opts) {
354
345
  super({
@@ -363,61 +354,53 @@ export class SnapshotLimitExceededException extends __BaseException {
363
354
  this.RequestId = opts.RequestId;
364
355
  }
365
356
  }
366
- export var SelectiveAuth;
367
- (function (SelectiveAuth) {
368
- SelectiveAuth["DISABLED"] = "Disabled";
369
- SelectiveAuth["ENABLED"] = "Enabled";
370
- })(SelectiveAuth || (SelectiveAuth = {}));
371
- export var TrustDirection;
372
- (function (TrustDirection) {
373
- TrustDirection["ONE_WAY_INCOMING"] = "One-Way: Incoming";
374
- TrustDirection["ONE_WAY_OUTGOING"] = "One-Way: Outgoing";
375
- TrustDirection["TWO_WAY"] = "Two-Way";
376
- })(TrustDirection || (TrustDirection = {}));
377
- export var TrustType;
378
- (function (TrustType) {
379
- TrustType["EXTERNAL"] = "External";
380
- TrustType["FOREST"] = "Forest";
381
- })(TrustType || (TrustType = {}));
382
- export var OSVersion;
383
- (function (OSVersion) {
384
- OSVersion["VERSION_2012"] = "SERVER_2012";
385
- OSVersion["VERSION_2019"] = "SERVER_2019";
386
- })(OSVersion || (OSVersion = {}));
387
- export var RadiusAuthenticationProtocol;
388
- (function (RadiusAuthenticationProtocol) {
389
- RadiusAuthenticationProtocol["CHAP"] = "CHAP";
390
- RadiusAuthenticationProtocol["MSCHAPV1"] = "MS-CHAPv1";
391
- RadiusAuthenticationProtocol["MSCHAPV2"] = "MS-CHAPv2";
392
- RadiusAuthenticationProtocol["PAP"] = "PAP";
393
- })(RadiusAuthenticationProtocol || (RadiusAuthenticationProtocol = {}));
394
- export var RadiusStatus;
395
- (function (RadiusStatus) {
396
- RadiusStatus["COMPLETED"] = "Completed";
397
- RadiusStatus["CREATING"] = "Creating";
398
- RadiusStatus["FAILED"] = "Failed";
399
- })(RadiusStatus || (RadiusStatus = {}));
400
- export var DirectoryStage;
401
- (function (DirectoryStage) {
402
- DirectoryStage["ACTIVE"] = "Active";
403
- DirectoryStage["CREATED"] = "Created";
404
- DirectoryStage["CREATING"] = "Creating";
405
- DirectoryStage["DELETED"] = "Deleted";
406
- DirectoryStage["DELETING"] = "Deleting";
407
- DirectoryStage["FAILED"] = "Failed";
408
- DirectoryStage["IMPAIRED"] = "Impaired";
409
- DirectoryStage["INOPERABLE"] = "Inoperable";
410
- DirectoryStage["REQUESTED"] = "Requested";
411
- DirectoryStage["RESTOREFAILED"] = "RestoreFailed";
412
- DirectoryStage["RESTORING"] = "Restoring";
413
- })(DirectoryStage || (DirectoryStage = {}));
414
- export var DirectoryType;
415
- (function (DirectoryType) {
416
- DirectoryType["AD_CONNECTOR"] = "ADConnector";
417
- DirectoryType["MICROSOFT_AD"] = "MicrosoftAD";
418
- DirectoryType["SHARED_MICROSOFT_AD"] = "SharedMicrosoftAD";
419
- DirectoryType["SIMPLE_AD"] = "SimpleAD";
420
- })(DirectoryType || (DirectoryType = {}));
357
+ export const SelectiveAuth = {
358
+ DISABLED: "Disabled",
359
+ ENABLED: "Enabled",
360
+ };
361
+ export const TrustDirection = {
362
+ ONE_WAY_INCOMING: "One-Way: Incoming",
363
+ ONE_WAY_OUTGOING: "One-Way: Outgoing",
364
+ TWO_WAY: "Two-Way",
365
+ };
366
+ export const TrustType = {
367
+ EXTERNAL: "External",
368
+ FOREST: "Forest",
369
+ };
370
+ export const OSVersion = {
371
+ VERSION_2012: "SERVER_2012",
372
+ VERSION_2019: "SERVER_2019",
373
+ };
374
+ export const RadiusAuthenticationProtocol = {
375
+ CHAP: "CHAP",
376
+ MSCHAPV1: "MS-CHAPv1",
377
+ MSCHAPV2: "MS-CHAPv2",
378
+ PAP: "PAP",
379
+ };
380
+ export const RadiusStatus = {
381
+ COMPLETED: "Completed",
382
+ CREATING: "Creating",
383
+ FAILED: "Failed",
384
+ };
385
+ export const DirectoryStage = {
386
+ ACTIVE: "Active",
387
+ CREATED: "Created",
388
+ CREATING: "Creating",
389
+ DELETED: "Deleted",
390
+ DELETING: "Deleting",
391
+ FAILED: "Failed",
392
+ IMPAIRED: "Impaired",
393
+ INOPERABLE: "Inoperable",
394
+ REQUESTED: "Requested",
395
+ RESTOREFAILED: "RestoreFailed",
396
+ RESTORING: "Restoring",
397
+ };
398
+ export const DirectoryType = {
399
+ AD_CONNECTOR: "ADConnector",
400
+ MICROSOFT_AD: "MicrosoftAD",
401
+ SHARED_MICROSOFT_AD: "SharedMicrosoftAD",
402
+ SIMPLE_AD: "SimpleAD",
403
+ };
421
404
  export class InvalidNextTokenException extends __BaseException {
422
405
  constructor(opts) {
423
406
  super({
@@ -432,82 +415,71 @@ export class InvalidNextTokenException extends __BaseException {
432
415
  this.RequestId = opts.RequestId;
433
416
  }
434
417
  }
435
- export var DomainControllerStatus;
436
- (function (DomainControllerStatus) {
437
- DomainControllerStatus["ACTIVE"] = "Active";
438
- DomainControllerStatus["CREATING"] = "Creating";
439
- DomainControllerStatus["DELETED"] = "Deleted";
440
- DomainControllerStatus["DELETING"] = "Deleting";
441
- DomainControllerStatus["FAILED"] = "Failed";
442
- DomainControllerStatus["IMPAIRED"] = "Impaired";
443
- DomainControllerStatus["RESTORING"] = "Restoring";
444
- })(DomainControllerStatus || (DomainControllerStatus = {}));
445
- export var TopicStatus;
446
- (function (TopicStatus) {
447
- TopicStatus["DELETED"] = "Deleted";
448
- TopicStatus["FAILED"] = "Failed";
449
- TopicStatus["REGISTERED"] = "Registered";
450
- TopicStatus["TOPIC_NOT_FOUND"] = "Topic not found";
451
- })(TopicStatus || (TopicStatus = {}));
452
- export var LDAPSType;
453
- (function (LDAPSType) {
454
- LDAPSType["CLIENT"] = "Client";
455
- })(LDAPSType || (LDAPSType = {}));
456
- export var LDAPSStatus;
457
- (function (LDAPSStatus) {
458
- LDAPSStatus["DISABLED"] = "Disabled";
459
- LDAPSStatus["ENABLED"] = "Enabled";
460
- LDAPSStatus["ENABLE_FAILED"] = "EnableFailed";
461
- LDAPSStatus["ENABLING"] = "Enabling";
462
- })(LDAPSStatus || (LDAPSStatus = {}));
463
- export var RegionType;
464
- (function (RegionType) {
465
- RegionType["ADDITIONAL"] = "Additional";
466
- RegionType["PRIMARY"] = "Primary";
467
- })(RegionType || (RegionType = {}));
468
- export var DirectoryConfigurationStatus;
469
- (function (DirectoryConfigurationStatus) {
470
- DirectoryConfigurationStatus["DEFAULT"] = "Default";
471
- DirectoryConfigurationStatus["FAILED"] = "Failed";
472
- DirectoryConfigurationStatus["REQUESTED"] = "Requested";
473
- DirectoryConfigurationStatus["UPDATED"] = "Updated";
474
- DirectoryConfigurationStatus["UPDATING"] = "Updating";
475
- })(DirectoryConfigurationStatus || (DirectoryConfigurationStatus = {}));
476
- export var SnapshotStatus;
477
- (function (SnapshotStatus) {
478
- SnapshotStatus["COMPLETED"] = "Completed";
479
- SnapshotStatus["CREATING"] = "Creating";
480
- SnapshotStatus["FAILED"] = "Failed";
481
- })(SnapshotStatus || (SnapshotStatus = {}));
482
- export var SnapshotType;
483
- (function (SnapshotType) {
484
- SnapshotType["AUTO"] = "Auto";
485
- SnapshotType["MANUAL"] = "Manual";
486
- })(SnapshotType || (SnapshotType = {}));
487
- export var TrustState;
488
- (function (TrustState) {
489
- TrustState["CREATED"] = "Created";
490
- TrustState["CREATING"] = "Creating";
491
- TrustState["DELETED"] = "Deleted";
492
- TrustState["DELETING"] = "Deleting";
493
- TrustState["FAILED"] = "Failed";
494
- TrustState["UPDATED"] = "Updated";
495
- TrustState["UPDATE_FAILED"] = "UpdateFailed";
496
- TrustState["UPDATING"] = "Updating";
497
- TrustState["VERIFIED"] = "Verified";
498
- TrustState["VERIFYING"] = "Verifying";
499
- TrustState["VERIFY_FAILED"] = "VerifyFailed";
500
- })(TrustState || (TrustState = {}));
501
- export var UpdateType;
502
- (function (UpdateType) {
503
- UpdateType["OS"] = "OS";
504
- })(UpdateType || (UpdateType = {}));
505
- export var UpdateStatus;
506
- (function (UpdateStatus) {
507
- UpdateStatus["UPDATED"] = "Updated";
508
- UpdateStatus["UPDATE_FAILED"] = "UpdateFailed";
509
- UpdateStatus["UPDATING"] = "Updating";
510
- })(UpdateStatus || (UpdateStatus = {}));
418
+ export const DomainControllerStatus = {
419
+ ACTIVE: "Active",
420
+ CREATING: "Creating",
421
+ DELETED: "Deleted",
422
+ DELETING: "Deleting",
423
+ FAILED: "Failed",
424
+ IMPAIRED: "Impaired",
425
+ RESTORING: "Restoring",
426
+ };
427
+ export const TopicStatus = {
428
+ DELETED: "Deleted",
429
+ FAILED: "Failed",
430
+ REGISTERED: "Registered",
431
+ TOPIC_NOT_FOUND: "Topic not found",
432
+ };
433
+ export const LDAPSType = {
434
+ CLIENT: "Client",
435
+ };
436
+ export const LDAPSStatus = {
437
+ DISABLED: "Disabled",
438
+ ENABLED: "Enabled",
439
+ ENABLE_FAILED: "EnableFailed",
440
+ ENABLING: "Enabling",
441
+ };
442
+ export const RegionType = {
443
+ ADDITIONAL: "Additional",
444
+ PRIMARY: "Primary",
445
+ };
446
+ export const DirectoryConfigurationStatus = {
447
+ DEFAULT: "Default",
448
+ FAILED: "Failed",
449
+ REQUESTED: "Requested",
450
+ UPDATED: "Updated",
451
+ UPDATING: "Updating",
452
+ };
453
+ export const SnapshotStatus = {
454
+ COMPLETED: "Completed",
455
+ CREATING: "Creating",
456
+ FAILED: "Failed",
457
+ };
458
+ export const SnapshotType = {
459
+ AUTO: "Auto",
460
+ MANUAL: "Manual",
461
+ };
462
+ export const TrustState = {
463
+ CREATED: "Created",
464
+ CREATING: "Creating",
465
+ DELETED: "Deleted",
466
+ DELETING: "Deleting",
467
+ FAILED: "Failed",
468
+ UPDATED: "Updated",
469
+ UPDATE_FAILED: "UpdateFailed",
470
+ UPDATING: "Updating",
471
+ VERIFIED: "Verified",
472
+ VERIFYING: "Verifying",
473
+ VERIFY_FAILED: "VerifyFailed",
474
+ };
475
+ export const UpdateType = {
476
+ OS: "OS",
477
+ };
478
+ export const UpdateStatus = {
479
+ UPDATED: "Updated",
480
+ UPDATE_FAILED: "UpdateFailed",
481
+ UPDATING: "Updating",
482
+ };
511
483
  export class DirectoryInDesiredStateException extends __BaseException {
512
484
  constructor(opts) {
513
485
  super({
@@ -578,27 +550,25 @@ export class NoAvailableCertificateException extends __BaseException {
578
550
  this.RequestId = opts.RequestId;
579
551
  }
580
552
  }
581
- export var IpRouteStatusMsg;
582
- (function (IpRouteStatusMsg) {
583
- IpRouteStatusMsg["ADDED"] = "Added";
584
- IpRouteStatusMsg["ADDING"] = "Adding";
585
- IpRouteStatusMsg["ADD_FAILED"] = "AddFailed";
586
- IpRouteStatusMsg["REMOVED"] = "Removed";
587
- IpRouteStatusMsg["REMOVE_FAILED"] = "RemoveFailed";
588
- IpRouteStatusMsg["REMOVING"] = "Removing";
589
- })(IpRouteStatusMsg || (IpRouteStatusMsg = {}));
590
- export var SchemaExtensionStatus;
591
- (function (SchemaExtensionStatus) {
592
- SchemaExtensionStatus["CANCELLED"] = "Cancelled";
593
- SchemaExtensionStatus["CANCEL_IN_PROGRESS"] = "CancelInProgress";
594
- SchemaExtensionStatus["COMPLETED"] = "Completed";
595
- SchemaExtensionStatus["CREATING_SNAPSHOT"] = "CreatingSnapshot";
596
- SchemaExtensionStatus["FAILED"] = "Failed";
597
- SchemaExtensionStatus["INITIALIZING"] = "Initializing";
598
- SchemaExtensionStatus["REPLICATING"] = "Replicating";
599
- SchemaExtensionStatus["ROLLBACK_IN_PROGRESS"] = "RollbackInProgress";
600
- SchemaExtensionStatus["UPDATING_SCHEMA"] = "UpdatingSchema";
601
- })(SchemaExtensionStatus || (SchemaExtensionStatus = {}));
553
+ export const IpRouteStatusMsg = {
554
+ ADDED: "Added",
555
+ ADDING: "Adding",
556
+ ADD_FAILED: "AddFailed",
557
+ REMOVED: "Removed",
558
+ REMOVE_FAILED: "RemoveFailed",
559
+ REMOVING: "Removing",
560
+ };
561
+ export const SchemaExtensionStatus = {
562
+ CANCELLED: "Cancelled",
563
+ CANCEL_IN_PROGRESS: "CancelInProgress",
564
+ COMPLETED: "Completed",
565
+ CREATING_SNAPSHOT: "CreatingSnapshot",
566
+ FAILED: "Failed",
567
+ INITIALIZING: "Initializing",
568
+ REPLICATING: "Replicating",
569
+ ROLLBACK_IN_PROGRESS: "RollbackInProgress",
570
+ UPDATING_SCHEMA: "UpdatingSchema",
571
+ };
602
572
  export class InvalidCertificateException extends __BaseException {
603
573
  constructor(opts) {
604
574
  super({
@@ -669,10 +639,9 @@ export class OrganizationsException extends __BaseException {
669
639
  this.RequestId = opts.RequestId;
670
640
  }
671
641
  }
672
- export var TargetType;
673
- (function (TargetType) {
674
- TargetType["ACCOUNT"] = "ACCOUNT";
675
- })(TargetType || (TargetType = {}));
642
+ export const TargetType = {
643
+ ACCOUNT: "ACCOUNT",
644
+ };
676
645
  export class ShareLimitExceededException extends __BaseException {
677
646
  constructor(opts) {
678
647
  super({