@aws-sdk/client-directory-service 3.876.0 → 3.877.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/README.md CHANGED
@@ -408,6 +408,14 @@ DescribeADAssessment
408
408
 
409
409
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/directory-service/command/DescribeADAssessmentCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-directory-service/Interface/DescribeADAssessmentCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-directory-service/Interface/DescribeADAssessmentCommandOutput/)
410
410
 
411
+ </details>
412
+ <details>
413
+ <summary>
414
+ DescribeCAEnrollmentPolicy
415
+ </summary>
416
+
417
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/directory-service/command/DescribeCAEnrollmentPolicyCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-directory-service/Interface/DescribeCAEnrollmentPolicyCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-directory-service/Interface/DescribeCAEnrollmentPolicyCommandOutput/)
418
+
411
419
  </details>
412
420
  <details>
413
421
  <summary>
@@ -528,6 +536,14 @@ DescribeUpdateDirectory
528
536
 
529
537
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/directory-service/command/DescribeUpdateDirectoryCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-directory-service/Interface/DescribeUpdateDirectoryCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-directory-service/Interface/DescribeUpdateDirectoryCommandOutput/)
530
538
 
539
+ </details>
540
+ <details>
541
+ <summary>
542
+ DisableCAEnrollmentPolicy
543
+ </summary>
544
+
545
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/directory-service/command/DisableCAEnrollmentPolicyCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-directory-service/Interface/DisableCAEnrollmentPolicyCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-directory-service/Interface/DisableCAEnrollmentPolicyCommandOutput/)
546
+
531
547
  </details>
532
548
  <details>
533
549
  <summary>
@@ -568,6 +584,14 @@ DisableSso
568
584
 
569
585
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/directory-service/command/DisableSsoCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-directory-service/Interface/DisableSsoCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-directory-service/Interface/DisableSsoCommandOutput/)
570
586
 
587
+ </details>
588
+ <details>
589
+ <summary>
590
+ EnableCAEnrollmentPolicy
591
+ </summary>
592
+
593
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/directory-service/command/EnableCAEnrollmentPolicyCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-directory-service/Interface/EnableCAEnrollmentPolicyCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-directory-service/Interface/EnableCAEnrollmentPolicyCommandOutput/)
594
+
571
595
  </details>
572
596
  <details>
573
597
  <summary>
package/dist-cjs/index.js CHANGED
@@ -29,6 +29,7 @@ __export(index_exports, {
29
29
  AddRegionCommand: () => AddRegionCommand,
30
30
  AddTagsToResourceCommand: () => AddTagsToResourceCommand,
31
31
  AuthenticationFailedException: () => AuthenticationFailedException,
32
+ CaEnrollmentPolicyStatus: () => CaEnrollmentPolicyStatus,
32
33
  CancelSchemaExtensionCommand: () => CancelSchemaExtensionCommand,
33
34
  CertificateAlreadyExistsException: () => CertificateAlreadyExistsException,
34
35
  CertificateDoesNotExistException: () => CertificateDoesNotExistException,
@@ -64,6 +65,7 @@ __export(index_exports, {
64
65
  DeregisterCertificateCommand: () => DeregisterCertificateCommand,
65
66
  DeregisterEventTopicCommand: () => DeregisterEventTopicCommand,
66
67
  DescribeADAssessmentCommand: () => DescribeADAssessmentCommand,
68
+ DescribeCAEnrollmentPolicyCommand: () => DescribeCAEnrollmentPolicyCommand,
67
69
  DescribeCertificateCommand: () => DescribeCertificateCommand,
68
70
  DescribeClientAuthenticationSettingsCommand: () => DescribeClientAuthenticationSettingsCommand,
69
71
  DescribeConditionalForwardersCommand: () => DescribeConditionalForwardersCommand,
@@ -97,6 +99,8 @@ __export(index_exports, {
97
99
  DirectoryStage: () => DirectoryStage,
98
100
  DirectoryType: () => DirectoryType,
99
101
  DirectoryUnavailableException: () => DirectoryUnavailableException,
102
+ DisableAlreadyInProgressException: () => DisableAlreadyInProgressException,
103
+ DisableCAEnrollmentPolicyCommand: () => DisableCAEnrollmentPolicyCommand,
100
104
  DisableClientAuthenticationCommand: () => DisableClientAuthenticationCommand,
101
105
  DisableDirectoryDataAccessCommand: () => DisableDirectoryDataAccessCommand,
102
106
  DisableLDAPSCommand: () => DisableLDAPSCommand,
@@ -105,6 +109,8 @@ __export(index_exports, {
105
109
  DisableSsoRequestFilterSensitiveLog: () => DisableSsoRequestFilterSensitiveLog,
106
110
  DomainControllerLimitExceededException: () => DomainControllerLimitExceededException,
107
111
  DomainControllerStatus: () => DomainControllerStatus,
112
+ EnableAlreadyInProgressException: () => EnableAlreadyInProgressException,
113
+ EnableCAEnrollmentPolicyCommand: () => EnableCAEnrollmentPolicyCommand,
108
114
  EnableClientAuthenticationCommand: () => EnableClientAuthenticationCommand,
109
115
  EnableDirectoryDataAccessCommand: () => EnableDirectoryDataAccessCommand,
110
116
  EnableLDAPSCommand: () => EnableLDAPSCommand,
@@ -874,6 +880,14 @@ var AuthenticationFailedException = class _AuthenticationFailedException extends
874
880
  this.RequestId = opts.RequestId;
875
881
  }
876
882
  };
883
+ var CaEnrollmentPolicyStatus = {
884
+ DISABLED: "Disabled",
885
+ DISABLING: "Disabling",
886
+ FAILED: "Failed",
887
+ IMPAIRED: "Impaired",
888
+ IN_PROGRESS: "InProgress",
889
+ SUCCESS: "Success"
890
+ };
877
891
  var CertificateState = {
878
892
  DEREGISTERED: "Deregistered",
879
893
  DEREGISTERING: "Deregistering",
@@ -1330,6 +1344,36 @@ var DirectoryNotSharedException = class _DirectoryNotSharedException extends Dir
1330
1344
  this.RequestId = opts.RequestId;
1331
1345
  }
1332
1346
  };
1347
+ var DisableAlreadyInProgressException = class _DisableAlreadyInProgressException extends DirectoryServiceServiceException {
1348
+ static {
1349
+ __name(this, "DisableAlreadyInProgressException");
1350
+ }
1351
+ name = "DisableAlreadyInProgressException";
1352
+ $fault = "client";
1353
+ /**
1354
+ * <p>The descriptive message for the exception.</p>
1355
+ * @public
1356
+ */
1357
+ Message;
1358
+ /**
1359
+ * <p>The Amazon Web Services request identifier.</p>
1360
+ * @public
1361
+ */
1362
+ RequestId;
1363
+ /**
1364
+ * @internal
1365
+ */
1366
+ constructor(opts) {
1367
+ super({
1368
+ name: "DisableAlreadyInProgressException",
1369
+ $fault: "client",
1370
+ ...opts
1371
+ });
1372
+ Object.setPrototypeOf(this, _DisableAlreadyInProgressException.prototype);
1373
+ this.Message = opts.Message;
1374
+ this.RequestId = opts.RequestId;
1375
+ }
1376
+ };
1333
1377
  var InvalidClientAuthStatusException = class _InvalidClientAuthStatusException extends DirectoryServiceServiceException {
1334
1378
  static {
1335
1379
  __name(this, "InvalidClientAuthStatusException");
@@ -1390,6 +1434,36 @@ var InvalidLDAPSStatusException = class _InvalidLDAPSStatusException extends Dir
1390
1434
  this.RequestId = opts.RequestId;
1391
1435
  }
1392
1436
  };
1437
+ var EnableAlreadyInProgressException = class _EnableAlreadyInProgressException extends DirectoryServiceServiceException {
1438
+ static {
1439
+ __name(this, "EnableAlreadyInProgressException");
1440
+ }
1441
+ name = "EnableAlreadyInProgressException";
1442
+ $fault = "client";
1443
+ /**
1444
+ * <p>The descriptive message for the exception.</p>
1445
+ * @public
1446
+ */
1447
+ Message;
1448
+ /**
1449
+ * <p>The Amazon Web Services request identifier.</p>
1450
+ * @public
1451
+ */
1452
+ RequestId;
1453
+ /**
1454
+ * @internal
1455
+ */
1456
+ constructor(opts) {
1457
+ super({
1458
+ name: "EnableAlreadyInProgressException",
1459
+ $fault: "client",
1460
+ ...opts
1461
+ });
1462
+ Object.setPrototypeOf(this, _EnableAlreadyInProgressException.prototype);
1463
+ this.Message = opts.Message;
1464
+ this.RequestId = opts.RequestId;
1465
+ }
1466
+ };
1393
1467
  var NoAvailableCertificateException = class _NoAvailableCertificateException extends DirectoryServiceServiceException {
1394
1468
  static {
1395
1469
  __name(this, "NoAvailableCertificateException");
@@ -1941,6 +2015,12 @@ var se_DescribeADAssessmentCommand = /* @__PURE__ */ __name(async (input, contex
1941
2015
  body = JSON.stringify((0, import_smithy_client._json)(input));
1942
2016
  return buildHttpRpcRequest(context, headers, "/", void 0, body);
1943
2017
  }, "se_DescribeADAssessmentCommand");
2018
+ var se_DescribeCAEnrollmentPolicyCommand = /* @__PURE__ */ __name(async (input, context) => {
2019
+ const headers = sharedHeaders("DescribeCAEnrollmentPolicy");
2020
+ let body;
2021
+ body = JSON.stringify((0, import_smithy_client._json)(input));
2022
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
2023
+ }, "se_DescribeCAEnrollmentPolicyCommand");
1944
2024
  var se_DescribeCertificateCommand = /* @__PURE__ */ __name(async (input, context) => {
1945
2025
  const headers = sharedHeaders("DescribeCertificate");
1946
2026
  let body;
@@ -2031,6 +2111,12 @@ var se_DescribeUpdateDirectoryCommand = /* @__PURE__ */ __name(async (input, con
2031
2111
  body = JSON.stringify((0, import_smithy_client._json)(input));
2032
2112
  return buildHttpRpcRequest(context, headers, "/", void 0, body);
2033
2113
  }, "se_DescribeUpdateDirectoryCommand");
2114
+ var se_DisableCAEnrollmentPolicyCommand = /* @__PURE__ */ __name(async (input, context) => {
2115
+ const headers = sharedHeaders("DisableCAEnrollmentPolicy");
2116
+ let body;
2117
+ body = JSON.stringify((0, import_smithy_client._json)(input));
2118
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
2119
+ }, "se_DisableCAEnrollmentPolicyCommand");
2034
2120
  var se_DisableClientAuthenticationCommand = /* @__PURE__ */ __name(async (input, context) => {
2035
2121
  const headers = sharedHeaders("DisableClientAuthentication");
2036
2122
  let body;
@@ -2061,6 +2147,12 @@ var se_DisableSsoCommand = /* @__PURE__ */ __name(async (input, context) => {
2061
2147
  body = JSON.stringify((0, import_smithy_client._json)(input));
2062
2148
  return buildHttpRpcRequest(context, headers, "/", void 0, body);
2063
2149
  }, "se_DisableSsoCommand");
2150
+ var se_EnableCAEnrollmentPolicyCommand = /* @__PURE__ */ __name(async (input, context) => {
2151
+ const headers = sharedHeaders("EnableCAEnrollmentPolicy");
2152
+ let body;
2153
+ body = JSON.stringify((0, import_smithy_client._json)(input));
2154
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
2155
+ }, "se_EnableCAEnrollmentPolicyCommand");
2064
2156
  var se_EnableClientAuthenticationCommand = /* @__PURE__ */ __name(async (input, context) => {
2065
2157
  const headers = sharedHeaders("EnableClientAuthentication");
2066
2158
  let body;
@@ -2571,6 +2663,19 @@ var de_DescribeADAssessmentCommand = /* @__PURE__ */ __name(async (output, conte
2571
2663
  };
2572
2664
  return response;
2573
2665
  }, "de_DescribeADAssessmentCommand");
2666
+ var de_DescribeCAEnrollmentPolicyCommand = /* @__PURE__ */ __name(async (output, context) => {
2667
+ if (output.statusCode >= 300) {
2668
+ return de_CommandError(output, context);
2669
+ }
2670
+ const data = await (0, import_core2.parseJsonBody)(output.body, context);
2671
+ let contents = {};
2672
+ contents = de_DescribeCAEnrollmentPolicyResult(data, context);
2673
+ const response = {
2674
+ $metadata: deserializeMetadata(output),
2675
+ ...contents
2676
+ };
2677
+ return response;
2678
+ }, "de_DescribeCAEnrollmentPolicyCommand");
2574
2679
  var de_DescribeCertificateCommand = /* @__PURE__ */ __name(async (output, context) => {
2575
2680
  if (output.statusCode >= 300) {
2576
2681
  return de_CommandError(output, context);
@@ -2766,6 +2871,19 @@ var de_DescribeUpdateDirectoryCommand = /* @__PURE__ */ __name(async (output, co
2766
2871
  };
2767
2872
  return response;
2768
2873
  }, "de_DescribeUpdateDirectoryCommand");
2874
+ var de_DisableCAEnrollmentPolicyCommand = /* @__PURE__ */ __name(async (output, context) => {
2875
+ if (output.statusCode >= 300) {
2876
+ return de_CommandError(output, context);
2877
+ }
2878
+ const data = await (0, import_core2.parseJsonBody)(output.body, context);
2879
+ let contents = {};
2880
+ contents = (0, import_smithy_client._json)(data);
2881
+ const response = {
2882
+ $metadata: deserializeMetadata(output),
2883
+ ...contents
2884
+ };
2885
+ return response;
2886
+ }, "de_DisableCAEnrollmentPolicyCommand");
2769
2887
  var de_DisableClientAuthenticationCommand = /* @__PURE__ */ __name(async (output, context) => {
2770
2888
  if (output.statusCode >= 300) {
2771
2889
  return de_CommandError(output, context);
@@ -2831,6 +2949,19 @@ var de_DisableSsoCommand = /* @__PURE__ */ __name(async (output, context) => {
2831
2949
  };
2832
2950
  return response;
2833
2951
  }, "de_DisableSsoCommand");
2952
+ var de_EnableCAEnrollmentPolicyCommand = /* @__PURE__ */ __name(async (output, context) => {
2953
+ if (output.statusCode >= 300) {
2954
+ return de_CommandError(output, context);
2955
+ }
2956
+ const data = await (0, import_core2.parseJsonBody)(output.body, context);
2957
+ let contents = {};
2958
+ contents = (0, import_smithy_client._json)(data);
2959
+ const response = {
2960
+ $metadata: deserializeMetadata(output),
2961
+ ...contents
2962
+ };
2963
+ return response;
2964
+ }, "de_EnableCAEnrollmentPolicyCommand");
2834
2965
  var de_EnableClientAuthenticationCommand = /* @__PURE__ */ __name(async (output, context) => {
2835
2966
  if (output.statusCode >= 300) {
2836
2967
  return de_CommandError(output, context);
@@ -3333,6 +3464,9 @@ var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
3333
3464
  case "InvalidNextTokenException":
3334
3465
  case "com.amazonaws.directoryservice#InvalidNextTokenException":
3335
3466
  throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
3467
+ case "DisableAlreadyInProgressException":
3468
+ case "com.amazonaws.directoryservice#DisableAlreadyInProgressException":
3469
+ throw await de_DisableAlreadyInProgressExceptionRes(parsedOutput, context);
3336
3470
  case "InvalidClientAuthStatusException":
3337
3471
  case "com.amazonaws.directoryservice#InvalidClientAuthStatusException":
3338
3472
  throw await de_InvalidClientAuthStatusExceptionRes(parsedOutput, context);
@@ -3342,6 +3476,9 @@ var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
3342
3476
  case "InvalidLDAPSStatusException":
3343
3477
  case "com.amazonaws.directoryservice#InvalidLDAPSStatusException":
3344
3478
  throw await de_InvalidLDAPSStatusExceptionRes(parsedOutput, context);
3479
+ case "EnableAlreadyInProgressException":
3480
+ case "com.amazonaws.directoryservice#EnableAlreadyInProgressException":
3481
+ throw await de_EnableAlreadyInProgressExceptionRes(parsedOutput, context);
3345
3482
  case "NoAvailableCertificateException":
3346
3483
  case "com.amazonaws.directoryservice#NoAvailableCertificateException":
3347
3484
  throw await de_NoAvailableCertificateExceptionRes(parsedOutput, context);
@@ -3525,6 +3662,15 @@ var de_DirectoryUnavailableExceptionRes = /* @__PURE__ */ __name(async (parsedOu
3525
3662
  });
3526
3663
  return (0, import_smithy_client.decorateServiceException)(exception, body);
3527
3664
  }, "de_DirectoryUnavailableExceptionRes");
3665
+ var de_DisableAlreadyInProgressExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
3666
+ const body = parsedOutput.body;
3667
+ const deserialized = (0, import_smithy_client._json)(body);
3668
+ const exception = new DisableAlreadyInProgressException({
3669
+ $metadata: deserializeMetadata(parsedOutput),
3670
+ ...deserialized
3671
+ });
3672
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
3673
+ }, "de_DisableAlreadyInProgressExceptionRes");
3528
3674
  var de_DomainControllerLimitExceededExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
3529
3675
  const body = parsedOutput.body;
3530
3676
  const deserialized = (0, import_smithy_client._json)(body);
@@ -3534,6 +3680,15 @@ var de_DomainControllerLimitExceededExceptionRes = /* @__PURE__ */ __name(async
3534
3680
  });
3535
3681
  return (0, import_smithy_client.decorateServiceException)(exception, body);
3536
3682
  }, "de_DomainControllerLimitExceededExceptionRes");
3683
+ var de_EnableAlreadyInProgressExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
3684
+ const body = parsedOutput.body;
3685
+ const deserialized = (0, import_smithy_client._json)(body);
3686
+ const exception = new EnableAlreadyInProgressException({
3687
+ $metadata: deserializeMetadata(parsedOutput),
3688
+ ...deserialized
3689
+ });
3690
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
3691
+ }, "de_EnableAlreadyInProgressExceptionRes");
3537
3692
  var de_EntityAlreadyExistsExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
3538
3693
  const body = parsedOutput.body;
3539
3694
  const deserialized = (0, import_smithy_client._json)(body);
@@ -3849,6 +4004,15 @@ var de_DescribeADAssessmentResult = /* @__PURE__ */ __name((output, context) =>
3849
4004
  AssessmentReports: /* @__PURE__ */ __name((_) => de_AssessmentReports(_, context), "AssessmentReports")
3850
4005
  });
3851
4006
  }, "de_DescribeADAssessmentResult");
4007
+ var de_DescribeCAEnrollmentPolicyResult = /* @__PURE__ */ __name((output, context) => {
4008
+ return (0, import_smithy_client.take)(output, {
4009
+ CaEnrollmentPolicyStatus: import_smithy_client.expectString,
4010
+ CaEnrollmentPolicyStatusReason: import_smithy_client.expectString,
4011
+ DirectoryId: import_smithy_client.expectString,
4012
+ LastUpdatedDateTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastUpdatedDateTime"),
4013
+ PcaConnectorArn: import_smithy_client.expectString
4014
+ });
4015
+ }, "de_DescribeCAEnrollmentPolicyResult");
3852
4016
  var de_DescribeCertificateResult = /* @__PURE__ */ __name((output, context) => {
3853
4017
  return (0, import_smithy_client.take)(output, {
3854
4018
  Certificate: /* @__PURE__ */ __name((_) => de_Certificate(_, context), "Certificate")
@@ -4615,6 +4779,21 @@ var DescribeADAssessmentCommand = class extends import_smithy_client.Command.cla
4615
4779
  }
4616
4780
  };
4617
4781
 
4782
+ // src/commands/DescribeCAEnrollmentPolicyCommand.ts
4783
+
4784
+
4785
+
4786
+ var DescribeCAEnrollmentPolicyCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
4787
+ return [
4788
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4789
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4790
+ ];
4791
+ }).s("DirectoryService_20150416", "DescribeCAEnrollmentPolicy", {}).n("DirectoryServiceClient", "DescribeCAEnrollmentPolicyCommand").f(void 0, void 0).ser(se_DescribeCAEnrollmentPolicyCommand).de(de_DescribeCAEnrollmentPolicyCommand).build() {
4792
+ static {
4793
+ __name(this, "DescribeCAEnrollmentPolicyCommand");
4794
+ }
4795
+ };
4796
+
4618
4797
  // src/commands/DescribeCertificateCommand.ts
4619
4798
 
4620
4799
 
@@ -4840,6 +5019,21 @@ var DescribeUpdateDirectoryCommand = class extends import_smithy_client.Command.
4840
5019
  }
4841
5020
  };
4842
5021
 
5022
+ // src/commands/DisableCAEnrollmentPolicyCommand.ts
5023
+
5024
+
5025
+
5026
+ var DisableCAEnrollmentPolicyCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
5027
+ return [
5028
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
5029
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
5030
+ ];
5031
+ }).s("DirectoryService_20150416", "DisableCAEnrollmentPolicy", {}).n("DirectoryServiceClient", "DisableCAEnrollmentPolicyCommand").f(void 0, void 0).ser(se_DisableCAEnrollmentPolicyCommand).de(de_DisableCAEnrollmentPolicyCommand).build() {
5032
+ static {
5033
+ __name(this, "DisableCAEnrollmentPolicyCommand");
5034
+ }
5035
+ };
5036
+
4843
5037
  // src/commands/DisableClientAuthenticationCommand.ts
4844
5038
 
4845
5039
 
@@ -4915,6 +5109,21 @@ var DisableSsoCommand = class extends import_smithy_client.Command.classBuilder(
4915
5109
  }
4916
5110
  };
4917
5111
 
5112
+ // src/commands/EnableCAEnrollmentPolicyCommand.ts
5113
+
5114
+
5115
+
5116
+ var EnableCAEnrollmentPolicyCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
5117
+ return [
5118
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
5119
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
5120
+ ];
5121
+ }).s("DirectoryService_20150416", "EnableCAEnrollmentPolicy", {}).n("DirectoryServiceClient", "EnableCAEnrollmentPolicyCommand").f(void 0, void 0).ser(se_EnableCAEnrollmentPolicyCommand).de(de_EnableCAEnrollmentPolicyCommand).build() {
5122
+ static {
5123
+ __name(this, "EnableCAEnrollmentPolicyCommand");
5124
+ }
5125
+ };
5126
+
4918
5127
  // src/commands/EnableClientAuthenticationCommand.ts
4919
5128
 
4920
5129
 
@@ -5436,6 +5645,7 @@ var commands = {
5436
5645
  DeregisterCertificateCommand,
5437
5646
  DeregisterEventTopicCommand,
5438
5647
  DescribeADAssessmentCommand,
5648
+ DescribeCAEnrollmentPolicyCommand,
5439
5649
  DescribeCertificateCommand,
5440
5650
  DescribeClientAuthenticationSettingsCommand,
5441
5651
  DescribeConditionalForwardersCommand,
@@ -5451,11 +5661,13 @@ var commands = {
5451
5661
  DescribeSnapshotsCommand,
5452
5662
  DescribeTrustsCommand,
5453
5663
  DescribeUpdateDirectoryCommand,
5664
+ DisableCAEnrollmentPolicyCommand,
5454
5665
  DisableClientAuthenticationCommand,
5455
5666
  DisableDirectoryDataAccessCommand,
5456
5667
  DisableLDAPSCommand,
5457
5668
  DisableRadiusCommand,
5458
5669
  DisableSsoCommand,
5670
+ EnableCAEnrollmentPolicyCommand,
5459
5671
  EnableClientAuthenticationCommand,
5460
5672
  EnableDirectoryDataAccessCommand,
5461
5673
  EnableLDAPSCommand,
@@ -5642,6 +5854,7 @@ var waitUntilHybridADUpdated = /* @__PURE__ */ __name(async (params, input) => {
5642
5854
  DeregisterCertificateCommand,
5643
5855
  DeregisterEventTopicCommand,
5644
5856
  DescribeADAssessmentCommand,
5857
+ DescribeCAEnrollmentPolicyCommand,
5645
5858
  DescribeCertificateCommand,
5646
5859
  DescribeClientAuthenticationSettingsCommand,
5647
5860
  DescribeConditionalForwardersCommand,
@@ -5657,11 +5870,13 @@ var waitUntilHybridADUpdated = /* @__PURE__ */ __name(async (params, input) => {
5657
5870
  DescribeSnapshotsCommand,
5658
5871
  DescribeTrustsCommand,
5659
5872
  DescribeUpdateDirectoryCommand,
5873
+ DisableCAEnrollmentPolicyCommand,
5660
5874
  DisableClientAuthenticationCommand,
5661
5875
  DisableDirectoryDataAccessCommand,
5662
5876
  DisableLDAPSCommand,
5663
5877
  DisableRadiusCommand,
5664
5878
  DisableSsoCommand,
5879
+ EnableCAEnrollmentPolicyCommand,
5665
5880
  EnableClientAuthenticationCommand,
5666
5881
  EnableDirectoryDataAccessCommand,
5667
5882
  EnableLDAPSCommand,
@@ -5730,6 +5945,7 @@ var waitUntilHybridADUpdated = /* @__PURE__ */ __name(async (params, input) => {
5730
5945
  UnsupportedOperationException,
5731
5946
  TagLimitExceededException,
5732
5947
  AuthenticationFailedException,
5948
+ CaEnrollmentPolicyStatus,
5733
5949
  CertificateState,
5734
5950
  CertificateType,
5735
5951
  CertificateAlreadyExistsException,
@@ -5768,8 +5984,10 @@ var waitUntilHybridADUpdated = /* @__PURE__ */ __name(async (params, input) => {
5768
5984
  UpdateType,
5769
5985
  DirectoryInDesiredStateException,
5770
5986
  DirectoryNotSharedException,
5987
+ DisableAlreadyInProgressException,
5771
5988
  InvalidClientAuthStatusException,
5772
5989
  InvalidLDAPSStatusException,
5990
+ EnableAlreadyInProgressException,
5773
5991
  NoAvailableCertificateException,
5774
5992
  IpRouteStatusMsg,
5775
5993
  SchemaExtensionStatus,
@@ -23,6 +23,7 @@ import { DeleteTrustCommand } from "./commands/DeleteTrustCommand";
23
23
  import { DeregisterCertificateCommand, } from "./commands/DeregisterCertificateCommand";
24
24
  import { DeregisterEventTopicCommand, } from "./commands/DeregisterEventTopicCommand";
25
25
  import { DescribeADAssessmentCommand, } from "./commands/DescribeADAssessmentCommand";
26
+ import { DescribeCAEnrollmentPolicyCommand, } from "./commands/DescribeCAEnrollmentPolicyCommand";
26
27
  import { DescribeCertificateCommand, } from "./commands/DescribeCertificateCommand";
27
28
  import { DescribeClientAuthenticationSettingsCommand, } from "./commands/DescribeClientAuthenticationSettingsCommand";
28
29
  import { DescribeConditionalForwardersCommand, } from "./commands/DescribeConditionalForwardersCommand";
@@ -38,11 +39,13 @@ import { DescribeSharedDirectoriesCommand, } from "./commands/DescribeSharedDire
38
39
  import { DescribeSnapshotsCommand, } from "./commands/DescribeSnapshotsCommand";
39
40
  import { DescribeTrustsCommand, } from "./commands/DescribeTrustsCommand";
40
41
  import { DescribeUpdateDirectoryCommand, } from "./commands/DescribeUpdateDirectoryCommand";
42
+ import { DisableCAEnrollmentPolicyCommand, } from "./commands/DisableCAEnrollmentPolicyCommand";
41
43
  import { DisableClientAuthenticationCommand, } from "./commands/DisableClientAuthenticationCommand";
42
44
  import { DisableDirectoryDataAccessCommand, } from "./commands/DisableDirectoryDataAccessCommand";
43
45
  import { DisableLDAPSCommand, } from "./commands/DisableLDAPSCommand";
44
46
  import { DisableRadiusCommand, } from "./commands/DisableRadiusCommand";
45
47
  import { DisableSsoCommand } from "./commands/DisableSsoCommand";
48
+ import { EnableCAEnrollmentPolicyCommand, } from "./commands/EnableCAEnrollmentPolicyCommand";
46
49
  import { EnableClientAuthenticationCommand, } from "./commands/EnableClientAuthenticationCommand";
47
50
  import { EnableDirectoryDataAccessCommand, } from "./commands/EnableDirectoryDataAccessCommand";
48
51
  import { EnableLDAPSCommand } from "./commands/EnableLDAPSCommand";
@@ -102,6 +105,7 @@ const commands = {
102
105
  DeregisterCertificateCommand,
103
106
  DeregisterEventTopicCommand,
104
107
  DescribeADAssessmentCommand,
108
+ DescribeCAEnrollmentPolicyCommand,
105
109
  DescribeCertificateCommand,
106
110
  DescribeClientAuthenticationSettingsCommand,
107
111
  DescribeConditionalForwardersCommand,
@@ -117,11 +121,13 @@ const commands = {
117
121
  DescribeSnapshotsCommand,
118
122
  DescribeTrustsCommand,
119
123
  DescribeUpdateDirectoryCommand,
124
+ DisableCAEnrollmentPolicyCommand,
120
125
  DisableClientAuthenticationCommand,
121
126
  DisableDirectoryDataAccessCommand,
122
127
  DisableLDAPSCommand,
123
128
  DisableRadiusCommand,
124
129
  DisableSsoCommand,
130
+ EnableCAEnrollmentPolicyCommand,
125
131
  EnableClientAuthenticationCommand,
126
132
  EnableDirectoryDataAccessCommand,
127
133
  EnableLDAPSCommand,
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_DescribeCAEnrollmentPolicyCommand, se_DescribeCAEnrollmentPolicyCommand } from "../protocols/Aws_json1_1";
6
+ export { $Command };
7
+ export class DescribeCAEnrollmentPolicyCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("DirectoryService_20150416", "DescribeCAEnrollmentPolicy", {})
17
+ .n("DirectoryServiceClient", "DescribeCAEnrollmentPolicyCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_DescribeCAEnrollmentPolicyCommand)
20
+ .de(de_DescribeCAEnrollmentPolicyCommand)
21
+ .build() {
22
+ }
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_DisableCAEnrollmentPolicyCommand, se_DisableCAEnrollmentPolicyCommand } from "../protocols/Aws_json1_1";
6
+ export { $Command };
7
+ export class DisableCAEnrollmentPolicyCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("DirectoryService_20150416", "DisableCAEnrollmentPolicy", {})
17
+ .n("DirectoryServiceClient", "DisableCAEnrollmentPolicyCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_DisableCAEnrollmentPolicyCommand)
20
+ .de(de_DisableCAEnrollmentPolicyCommand)
21
+ .build() {
22
+ }
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_EnableCAEnrollmentPolicyCommand, se_EnableCAEnrollmentPolicyCommand } from "../protocols/Aws_json1_1";
6
+ export { $Command };
7
+ export class EnableCAEnrollmentPolicyCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("DirectoryService_20150416", "EnableCAEnrollmentPolicy", {})
17
+ .n("DirectoryServiceClient", "EnableCAEnrollmentPolicyCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_EnableCAEnrollmentPolicyCommand)
20
+ .de(de_EnableCAEnrollmentPolicyCommand)
21
+ .build() {
22
+ }
@@ -22,6 +22,7 @@ export * from "./DeleteTrustCommand";
22
22
  export * from "./DeregisterCertificateCommand";
23
23
  export * from "./DeregisterEventTopicCommand";
24
24
  export * from "./DescribeADAssessmentCommand";
25
+ export * from "./DescribeCAEnrollmentPolicyCommand";
25
26
  export * from "./DescribeCertificateCommand";
26
27
  export * from "./DescribeClientAuthenticationSettingsCommand";
27
28
  export * from "./DescribeConditionalForwardersCommand";
@@ -37,11 +38,13 @@ export * from "./DescribeSharedDirectoriesCommand";
37
38
  export * from "./DescribeSnapshotsCommand";
38
39
  export * from "./DescribeTrustsCommand";
39
40
  export * from "./DescribeUpdateDirectoryCommand";
41
+ export * from "./DisableCAEnrollmentPolicyCommand";
40
42
  export * from "./DisableClientAuthenticationCommand";
41
43
  export * from "./DisableDirectoryDataAccessCommand";
42
44
  export * from "./DisableLDAPSCommand";
43
45
  export * from "./DisableRadiusCommand";
44
46
  export * from "./DisableSsoCommand";
47
+ export * from "./EnableCAEnrollmentPolicyCommand";
45
48
  export * from "./EnableClientAuthenticationCommand";
46
49
  export * from "./EnableDirectoryDataAccessCommand";
47
50
  export * from "./EnableLDAPSCommand";
@@ -271,6 +271,14 @@ export class AuthenticationFailedException extends __BaseException {
271
271
  this.RequestId = opts.RequestId;
272
272
  }
273
273
  }
274
+ export const CaEnrollmentPolicyStatus = {
275
+ DISABLED: "Disabled",
276
+ DISABLING: "Disabling",
277
+ FAILED: "Failed",
278
+ IMPAIRED: "Impaired",
279
+ IN_PROGRESS: "InProgress",
280
+ SUCCESS: "Success",
281
+ };
274
282
  export const CertificateState = {
275
283
  DEREGISTERED: "Deregistered",
276
284
  DEREGISTERING: "Deregistering",
@@ -587,6 +595,22 @@ export class DirectoryNotSharedException extends __BaseException {
587
595
  this.RequestId = opts.RequestId;
588
596
  }
589
597
  }
598
+ export class DisableAlreadyInProgressException extends __BaseException {
599
+ name = "DisableAlreadyInProgressException";
600
+ $fault = "client";
601
+ Message;
602
+ RequestId;
603
+ constructor(opts) {
604
+ super({
605
+ name: "DisableAlreadyInProgressException",
606
+ $fault: "client",
607
+ ...opts,
608
+ });
609
+ Object.setPrototypeOf(this, DisableAlreadyInProgressException.prototype);
610
+ this.Message = opts.Message;
611
+ this.RequestId = opts.RequestId;
612
+ }
613
+ }
590
614
  export class InvalidClientAuthStatusException extends __BaseException {
591
615
  name = "InvalidClientAuthStatusException";
592
616
  $fault = "client";
@@ -619,6 +643,22 @@ export class InvalidLDAPSStatusException extends __BaseException {
619
643
  this.RequestId = opts.RequestId;
620
644
  }
621
645
  }
646
+ export class EnableAlreadyInProgressException extends __BaseException {
647
+ name = "EnableAlreadyInProgressException";
648
+ $fault = "client";
649
+ Message;
650
+ RequestId;
651
+ constructor(opts) {
652
+ super({
653
+ name: "EnableAlreadyInProgressException",
654
+ $fault: "client",
655
+ ...opts,
656
+ });
657
+ Object.setPrototypeOf(this, EnableAlreadyInProgressException.prototype);
658
+ this.Message = opts.Message;
659
+ this.RequestId = opts.RequestId;
660
+ }
661
+ }
622
662
  export class NoAvailableCertificateException extends __BaseException {
623
663
  name = "NoAvailableCertificateException";
624
664
  $fault = "client";