@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.
@@ -2,7 +2,7 @@ import { loadRestJsonErrorCode, parseJsonBody as parseBody, parseJsonErrorBody a
2
2
  import { HttpRequest as __HttpRequest } from "@smithy/protocol-http";
3
3
  import { _json, collectBody, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectString as __expectString, parseEpochTimestamp as __parseEpochTimestamp, take, withBaseException, } from "@smithy/smithy-client";
4
4
  import { DirectoryServiceServiceException as __BaseException } from "../models/DirectoryServiceServiceException";
5
- import { AccessDeniedException, ADAssessmentLimitExceededException, AuthenticationFailedException, CertificateAlreadyExistsException, CertificateDoesNotExistException, CertificateInUseException, CertificateLimitExceededException, ClientException, DirectoryAlreadyInRegionException, DirectoryAlreadySharedException, DirectoryDoesNotExistException, DirectoryInDesiredStateException, DirectoryLimitExceededException, DirectoryNotSharedException, DirectoryUnavailableException, DomainControllerLimitExceededException, EntityAlreadyExistsException, EntityDoesNotExistException, IncompatibleSettingsException, InsufficientPermissionsException, InvalidCertificateException, InvalidClientAuthStatusException, InvalidLDAPSStatusException, InvalidNextTokenException, InvalidParameterException, InvalidPasswordException, InvalidTargetException, IpRouteLimitExceededException, NoAvailableCertificateException, OrganizationsException, RegionLimitExceededException, ServiceException, ShareLimitExceededException, SnapshotLimitExceededException, TagLimitExceededException, UnsupportedOperationException, UnsupportedSettingsException, UserDoesNotExistException, } from "../models/models_0";
5
+ import { AccessDeniedException, ADAssessmentLimitExceededException, AuthenticationFailedException, CertificateAlreadyExistsException, CertificateDoesNotExistException, CertificateInUseException, CertificateLimitExceededException, ClientException, DirectoryAlreadyInRegionException, DirectoryAlreadySharedException, DirectoryDoesNotExistException, DirectoryInDesiredStateException, DirectoryLimitExceededException, DirectoryNotSharedException, DirectoryUnavailableException, DisableAlreadyInProgressException, DomainControllerLimitExceededException, EnableAlreadyInProgressException, EntityAlreadyExistsException, EntityDoesNotExistException, IncompatibleSettingsException, InsufficientPermissionsException, InvalidCertificateException, InvalidClientAuthStatusException, InvalidLDAPSStatusException, InvalidNextTokenException, InvalidParameterException, InvalidPasswordException, InvalidTargetException, IpRouteLimitExceededException, NoAvailableCertificateException, OrganizationsException, RegionLimitExceededException, ServiceException, ShareLimitExceededException, SnapshotLimitExceededException, TagLimitExceededException, UnsupportedOperationException, UnsupportedSettingsException, UserDoesNotExistException, } from "../models/models_0";
6
6
  export const se_AcceptSharedDirectoryCommand = async (input, context) => {
7
7
  const headers = sharedHeaders("AcceptSharedDirectory");
8
8
  let body;
@@ -147,6 +147,12 @@ export const se_DescribeADAssessmentCommand = async (input, context) => {
147
147
  body = JSON.stringify(_json(input));
148
148
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
149
149
  };
150
+ export const se_DescribeCAEnrollmentPolicyCommand = async (input, context) => {
151
+ const headers = sharedHeaders("DescribeCAEnrollmentPolicy");
152
+ let body;
153
+ body = JSON.stringify(_json(input));
154
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
155
+ };
150
156
  export const se_DescribeCertificateCommand = async (input, context) => {
151
157
  const headers = sharedHeaders("DescribeCertificate");
152
158
  let body;
@@ -237,6 +243,12 @@ export const se_DescribeUpdateDirectoryCommand = async (input, context) => {
237
243
  body = JSON.stringify(_json(input));
238
244
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
239
245
  };
246
+ export const se_DisableCAEnrollmentPolicyCommand = async (input, context) => {
247
+ const headers = sharedHeaders("DisableCAEnrollmentPolicy");
248
+ let body;
249
+ body = JSON.stringify(_json(input));
250
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
251
+ };
240
252
  export const se_DisableClientAuthenticationCommand = async (input, context) => {
241
253
  const headers = sharedHeaders("DisableClientAuthentication");
242
254
  let body;
@@ -267,6 +279,12 @@ export const se_DisableSsoCommand = async (input, context) => {
267
279
  body = JSON.stringify(_json(input));
268
280
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
269
281
  };
282
+ export const se_EnableCAEnrollmentPolicyCommand = async (input, context) => {
283
+ const headers = sharedHeaders("EnableCAEnrollmentPolicy");
284
+ let body;
285
+ body = JSON.stringify(_json(input));
286
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
287
+ };
270
288
  export const se_EnableClientAuthenticationCommand = async (input, context) => {
271
289
  const headers = sharedHeaders("EnableClientAuthentication");
272
290
  let body;
@@ -777,6 +795,19 @@ export const de_DescribeADAssessmentCommand = async (output, context) => {
777
795
  };
778
796
  return response;
779
797
  };
798
+ export const de_DescribeCAEnrollmentPolicyCommand = async (output, context) => {
799
+ if (output.statusCode >= 300) {
800
+ return de_CommandError(output, context);
801
+ }
802
+ const data = await parseBody(output.body, context);
803
+ let contents = {};
804
+ contents = de_DescribeCAEnrollmentPolicyResult(data, context);
805
+ const response = {
806
+ $metadata: deserializeMetadata(output),
807
+ ...contents,
808
+ };
809
+ return response;
810
+ };
780
811
  export const de_DescribeCertificateCommand = async (output, context) => {
781
812
  if (output.statusCode >= 300) {
782
813
  return de_CommandError(output, context);
@@ -972,6 +1003,19 @@ export const de_DescribeUpdateDirectoryCommand = async (output, context) => {
972
1003
  };
973
1004
  return response;
974
1005
  };
1006
+ export const de_DisableCAEnrollmentPolicyCommand = async (output, context) => {
1007
+ if (output.statusCode >= 300) {
1008
+ return de_CommandError(output, context);
1009
+ }
1010
+ const data = await parseBody(output.body, context);
1011
+ let contents = {};
1012
+ contents = _json(data);
1013
+ const response = {
1014
+ $metadata: deserializeMetadata(output),
1015
+ ...contents,
1016
+ };
1017
+ return response;
1018
+ };
975
1019
  export const de_DisableClientAuthenticationCommand = async (output, context) => {
976
1020
  if (output.statusCode >= 300) {
977
1021
  return de_CommandError(output, context);
@@ -1037,6 +1081,19 @@ export const de_DisableSsoCommand = async (output, context) => {
1037
1081
  };
1038
1082
  return response;
1039
1083
  };
1084
+ export const de_EnableCAEnrollmentPolicyCommand = async (output, context) => {
1085
+ if (output.statusCode >= 300) {
1086
+ return de_CommandError(output, context);
1087
+ }
1088
+ const data = await parseBody(output.body, context);
1089
+ let contents = {};
1090
+ contents = _json(data);
1091
+ const response = {
1092
+ $metadata: deserializeMetadata(output),
1093
+ ...contents,
1094
+ };
1095
+ return response;
1096
+ };
1040
1097
  export const de_EnableClientAuthenticationCommand = async (output, context) => {
1041
1098
  if (output.statusCode >= 300) {
1042
1099
  return de_CommandError(output, context);
@@ -1539,6 +1596,9 @@ const de_CommandError = async (output, context) => {
1539
1596
  case "InvalidNextTokenException":
1540
1597
  case "com.amazonaws.directoryservice#InvalidNextTokenException":
1541
1598
  throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
1599
+ case "DisableAlreadyInProgressException":
1600
+ case "com.amazonaws.directoryservice#DisableAlreadyInProgressException":
1601
+ throw await de_DisableAlreadyInProgressExceptionRes(parsedOutput, context);
1542
1602
  case "InvalidClientAuthStatusException":
1543
1603
  case "com.amazonaws.directoryservice#InvalidClientAuthStatusException":
1544
1604
  throw await de_InvalidClientAuthStatusExceptionRes(parsedOutput, context);
@@ -1548,6 +1608,9 @@ const de_CommandError = async (output, context) => {
1548
1608
  case "InvalidLDAPSStatusException":
1549
1609
  case "com.amazonaws.directoryservice#InvalidLDAPSStatusException":
1550
1610
  throw await de_InvalidLDAPSStatusExceptionRes(parsedOutput, context);
1611
+ case "EnableAlreadyInProgressException":
1612
+ case "com.amazonaws.directoryservice#EnableAlreadyInProgressException":
1613
+ throw await de_EnableAlreadyInProgressExceptionRes(parsedOutput, context);
1551
1614
  case "NoAvailableCertificateException":
1552
1615
  case "com.amazonaws.directoryservice#NoAvailableCertificateException":
1553
1616
  throw await de_NoAvailableCertificateExceptionRes(parsedOutput, context);
@@ -1731,6 +1794,15 @@ const de_DirectoryUnavailableExceptionRes = async (parsedOutput, context) => {
1731
1794
  });
1732
1795
  return __decorateServiceException(exception, body);
1733
1796
  };
1797
+ const de_DisableAlreadyInProgressExceptionRes = async (parsedOutput, context) => {
1798
+ const body = parsedOutput.body;
1799
+ const deserialized = _json(body);
1800
+ const exception = new DisableAlreadyInProgressException({
1801
+ $metadata: deserializeMetadata(parsedOutput),
1802
+ ...deserialized,
1803
+ });
1804
+ return __decorateServiceException(exception, body);
1805
+ };
1734
1806
  const de_DomainControllerLimitExceededExceptionRes = async (parsedOutput, context) => {
1735
1807
  const body = parsedOutput.body;
1736
1808
  const deserialized = _json(body);
@@ -1740,6 +1812,15 @@ const de_DomainControllerLimitExceededExceptionRes = async (parsedOutput, contex
1740
1812
  });
1741
1813
  return __decorateServiceException(exception, body);
1742
1814
  };
1815
+ const de_EnableAlreadyInProgressExceptionRes = async (parsedOutput, context) => {
1816
+ const body = parsedOutput.body;
1817
+ const deserialized = _json(body);
1818
+ const exception = new EnableAlreadyInProgressException({
1819
+ $metadata: deserializeMetadata(parsedOutput),
1820
+ ...deserialized,
1821
+ });
1822
+ return __decorateServiceException(exception, body);
1823
+ };
1743
1824
  const de_EntityAlreadyExistsExceptionRes = async (parsedOutput, context) => {
1744
1825
  const body = parsedOutput.body;
1745
1826
  const deserialized = _json(body);
@@ -2065,6 +2146,15 @@ const de_DescribeADAssessmentResult = (output, context) => {
2065
2146
  AssessmentReports: (_) => de_AssessmentReports(_, context),
2066
2147
  });
2067
2148
  };
2149
+ const de_DescribeCAEnrollmentPolicyResult = (output, context) => {
2150
+ return take(output, {
2151
+ CaEnrollmentPolicyStatus: __expectString,
2152
+ CaEnrollmentPolicyStatusReason: __expectString,
2153
+ DirectoryId: __expectString,
2154
+ LastUpdatedDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
2155
+ PcaConnectorArn: __expectString,
2156
+ });
2157
+ };
2068
2158
  const de_DescribeCertificateResult = (output, context) => {
2069
2159
  return take(output, {
2070
2160
  Certificate: (_) => de_Certificate(_, context),
@@ -23,6 +23,7 @@ import { DeleteTrustCommandInput, DeleteTrustCommandOutput } from "./commands/De
23
23
  import { DeregisterCertificateCommandInput, DeregisterCertificateCommandOutput } from "./commands/DeregisterCertificateCommand";
24
24
  import { DeregisterEventTopicCommandInput, DeregisterEventTopicCommandOutput } from "./commands/DeregisterEventTopicCommand";
25
25
  import { DescribeADAssessmentCommandInput, DescribeADAssessmentCommandOutput } from "./commands/DescribeADAssessmentCommand";
26
+ import { DescribeCAEnrollmentPolicyCommandInput, DescribeCAEnrollmentPolicyCommandOutput } from "./commands/DescribeCAEnrollmentPolicyCommand";
26
27
  import { DescribeCertificateCommandInput, DescribeCertificateCommandOutput } from "./commands/DescribeCertificateCommand";
27
28
  import { DescribeClientAuthenticationSettingsCommandInput, DescribeClientAuthenticationSettingsCommandOutput } from "./commands/DescribeClientAuthenticationSettingsCommand";
28
29
  import { DescribeConditionalForwardersCommandInput, DescribeConditionalForwardersCommandOutput } from "./commands/DescribeConditionalForwardersCommand";
@@ -38,11 +39,13 @@ import { DescribeSharedDirectoriesCommandInput, DescribeSharedDirectoriesCommand
38
39
  import { DescribeSnapshotsCommandInput, DescribeSnapshotsCommandOutput } from "./commands/DescribeSnapshotsCommand";
39
40
  import { DescribeTrustsCommandInput, DescribeTrustsCommandOutput } from "./commands/DescribeTrustsCommand";
40
41
  import { DescribeUpdateDirectoryCommandInput, DescribeUpdateDirectoryCommandOutput } from "./commands/DescribeUpdateDirectoryCommand";
42
+ import { DisableCAEnrollmentPolicyCommandInput, DisableCAEnrollmentPolicyCommandOutput } from "./commands/DisableCAEnrollmentPolicyCommand";
41
43
  import { DisableClientAuthenticationCommandInput, DisableClientAuthenticationCommandOutput } from "./commands/DisableClientAuthenticationCommand";
42
44
  import { DisableDirectoryDataAccessCommandInput, DisableDirectoryDataAccessCommandOutput } from "./commands/DisableDirectoryDataAccessCommand";
43
45
  import { DisableLDAPSCommandInput, DisableLDAPSCommandOutput } from "./commands/DisableLDAPSCommand";
44
46
  import { DisableRadiusCommandInput, DisableRadiusCommandOutput } from "./commands/DisableRadiusCommand";
45
47
  import { DisableSsoCommandInput, DisableSsoCommandOutput } from "./commands/DisableSsoCommand";
48
+ import { EnableCAEnrollmentPolicyCommandInput, EnableCAEnrollmentPolicyCommandOutput } from "./commands/EnableCAEnrollmentPolicyCommand";
46
49
  import { EnableClientAuthenticationCommandInput, EnableClientAuthenticationCommandOutput } from "./commands/EnableClientAuthenticationCommand";
47
50
  import { EnableDirectoryDataAccessCommandInput, EnableDirectoryDataAccessCommandOutput } from "./commands/EnableDirectoryDataAccessCommand";
48
51
  import { EnableLDAPSCommandInput, EnableLDAPSCommandOutput } from "./commands/EnableLDAPSCommand";
@@ -222,6 +225,12 @@ export interface DirectoryService {
222
225
  describeADAssessment(args: DescribeADAssessmentCommandInput, options?: __HttpHandlerOptions): Promise<DescribeADAssessmentCommandOutput>;
223
226
  describeADAssessment(args: DescribeADAssessmentCommandInput, cb: (err: any, data?: DescribeADAssessmentCommandOutput) => void): void;
224
227
  describeADAssessment(args: DescribeADAssessmentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeADAssessmentCommandOutput) => void): void;
228
+ /**
229
+ * @see {@link DescribeCAEnrollmentPolicyCommand}
230
+ */
231
+ describeCAEnrollmentPolicy(args: DescribeCAEnrollmentPolicyCommandInput, options?: __HttpHandlerOptions): Promise<DescribeCAEnrollmentPolicyCommandOutput>;
232
+ describeCAEnrollmentPolicy(args: DescribeCAEnrollmentPolicyCommandInput, cb: (err: any, data?: DescribeCAEnrollmentPolicyCommandOutput) => void): void;
233
+ describeCAEnrollmentPolicy(args: DescribeCAEnrollmentPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeCAEnrollmentPolicyCommandOutput) => void): void;
225
234
  /**
226
235
  * @see {@link DescribeCertificateCommand}
227
236
  */
@@ -316,6 +325,12 @@ export interface DirectoryService {
316
325
  describeUpdateDirectory(args: DescribeUpdateDirectoryCommandInput, options?: __HttpHandlerOptions): Promise<DescribeUpdateDirectoryCommandOutput>;
317
326
  describeUpdateDirectory(args: DescribeUpdateDirectoryCommandInput, cb: (err: any, data?: DescribeUpdateDirectoryCommandOutput) => void): void;
318
327
  describeUpdateDirectory(args: DescribeUpdateDirectoryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeUpdateDirectoryCommandOutput) => void): void;
328
+ /**
329
+ * @see {@link DisableCAEnrollmentPolicyCommand}
330
+ */
331
+ disableCAEnrollmentPolicy(args: DisableCAEnrollmentPolicyCommandInput, options?: __HttpHandlerOptions): Promise<DisableCAEnrollmentPolicyCommandOutput>;
332
+ disableCAEnrollmentPolicy(args: DisableCAEnrollmentPolicyCommandInput, cb: (err: any, data?: DisableCAEnrollmentPolicyCommandOutput) => void): void;
333
+ disableCAEnrollmentPolicy(args: DisableCAEnrollmentPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisableCAEnrollmentPolicyCommandOutput) => void): void;
319
334
  /**
320
335
  * @see {@link DisableClientAuthenticationCommand}
321
336
  */
@@ -346,6 +361,12 @@ export interface DirectoryService {
346
361
  disableSso(args: DisableSsoCommandInput, options?: __HttpHandlerOptions): Promise<DisableSsoCommandOutput>;
347
362
  disableSso(args: DisableSsoCommandInput, cb: (err: any, data?: DisableSsoCommandOutput) => void): void;
348
363
  disableSso(args: DisableSsoCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisableSsoCommandOutput) => void): void;
364
+ /**
365
+ * @see {@link EnableCAEnrollmentPolicyCommand}
366
+ */
367
+ enableCAEnrollmentPolicy(args: EnableCAEnrollmentPolicyCommandInput, options?: __HttpHandlerOptions): Promise<EnableCAEnrollmentPolicyCommandOutput>;
368
+ enableCAEnrollmentPolicy(args: EnableCAEnrollmentPolicyCommandInput, cb: (err: any, data?: EnableCAEnrollmentPolicyCommandOutput) => void): void;
369
+ enableCAEnrollmentPolicy(args: EnableCAEnrollmentPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: EnableCAEnrollmentPolicyCommandOutput) => void): void;
349
370
  /**
350
371
  * @see {@link EnableClientAuthenticationCommand}
351
372
  */
@@ -31,6 +31,7 @@ import { DeleteTrustCommandInput, DeleteTrustCommandOutput } from "./commands/De
31
31
  import { DeregisterCertificateCommandInput, DeregisterCertificateCommandOutput } from "./commands/DeregisterCertificateCommand";
32
32
  import { DeregisterEventTopicCommandInput, DeregisterEventTopicCommandOutput } from "./commands/DeregisterEventTopicCommand";
33
33
  import { DescribeADAssessmentCommandInput, DescribeADAssessmentCommandOutput } from "./commands/DescribeADAssessmentCommand";
34
+ import { DescribeCAEnrollmentPolicyCommandInput, DescribeCAEnrollmentPolicyCommandOutput } from "./commands/DescribeCAEnrollmentPolicyCommand";
34
35
  import { DescribeCertificateCommandInput, DescribeCertificateCommandOutput } from "./commands/DescribeCertificateCommand";
35
36
  import { DescribeClientAuthenticationSettingsCommandInput, DescribeClientAuthenticationSettingsCommandOutput } from "./commands/DescribeClientAuthenticationSettingsCommand";
36
37
  import { DescribeConditionalForwardersCommandInput, DescribeConditionalForwardersCommandOutput } from "./commands/DescribeConditionalForwardersCommand";
@@ -46,11 +47,13 @@ import { DescribeSharedDirectoriesCommandInput, DescribeSharedDirectoriesCommand
46
47
  import { DescribeSnapshotsCommandInput, DescribeSnapshotsCommandOutput } from "./commands/DescribeSnapshotsCommand";
47
48
  import { DescribeTrustsCommandInput, DescribeTrustsCommandOutput } from "./commands/DescribeTrustsCommand";
48
49
  import { DescribeUpdateDirectoryCommandInput, DescribeUpdateDirectoryCommandOutput } from "./commands/DescribeUpdateDirectoryCommand";
50
+ import { DisableCAEnrollmentPolicyCommandInput, DisableCAEnrollmentPolicyCommandOutput } from "./commands/DisableCAEnrollmentPolicyCommand";
49
51
  import { DisableClientAuthenticationCommandInput, DisableClientAuthenticationCommandOutput } from "./commands/DisableClientAuthenticationCommand";
50
52
  import { DisableDirectoryDataAccessCommandInput, DisableDirectoryDataAccessCommandOutput } from "./commands/DisableDirectoryDataAccessCommand";
51
53
  import { DisableLDAPSCommandInput, DisableLDAPSCommandOutput } from "./commands/DisableLDAPSCommand";
52
54
  import { DisableRadiusCommandInput, DisableRadiusCommandOutput } from "./commands/DisableRadiusCommand";
53
55
  import { DisableSsoCommandInput, DisableSsoCommandOutput } from "./commands/DisableSsoCommand";
56
+ import { EnableCAEnrollmentPolicyCommandInput, EnableCAEnrollmentPolicyCommandOutput } from "./commands/EnableCAEnrollmentPolicyCommand";
54
57
  import { EnableClientAuthenticationCommandInput, EnableClientAuthenticationCommandOutput } from "./commands/EnableClientAuthenticationCommand";
55
58
  import { EnableDirectoryDataAccessCommandInput, EnableDirectoryDataAccessCommandOutput } from "./commands/EnableDirectoryDataAccessCommand";
56
59
  import { EnableLDAPSCommandInput, EnableLDAPSCommandOutput } from "./commands/EnableLDAPSCommand";
@@ -90,11 +93,11 @@ export { __Client };
90
93
  /**
91
94
  * @public
92
95
  */
93
- export type ServiceInputTypes = AcceptSharedDirectoryCommandInput | AddIpRoutesCommandInput | AddRegionCommandInput | AddTagsToResourceCommandInput | CancelSchemaExtensionCommandInput | ConnectDirectoryCommandInput | CreateAliasCommandInput | CreateComputerCommandInput | CreateConditionalForwarderCommandInput | CreateDirectoryCommandInput | CreateHybridADCommandInput | CreateLogSubscriptionCommandInput | CreateMicrosoftADCommandInput | CreateSnapshotCommandInput | CreateTrustCommandInput | DeleteADAssessmentCommandInput | DeleteConditionalForwarderCommandInput | DeleteDirectoryCommandInput | DeleteLogSubscriptionCommandInput | DeleteSnapshotCommandInput | DeleteTrustCommandInput | DeregisterCertificateCommandInput | DeregisterEventTopicCommandInput | DescribeADAssessmentCommandInput | DescribeCertificateCommandInput | DescribeClientAuthenticationSettingsCommandInput | DescribeConditionalForwardersCommandInput | DescribeDirectoriesCommandInput | DescribeDirectoryDataAccessCommandInput | DescribeDomainControllersCommandInput | DescribeEventTopicsCommandInput | DescribeHybridADUpdateCommandInput | DescribeLDAPSSettingsCommandInput | DescribeRegionsCommandInput | DescribeSettingsCommandInput | DescribeSharedDirectoriesCommandInput | DescribeSnapshotsCommandInput | DescribeTrustsCommandInput | DescribeUpdateDirectoryCommandInput | DisableClientAuthenticationCommandInput | DisableDirectoryDataAccessCommandInput | DisableLDAPSCommandInput | DisableRadiusCommandInput | DisableSsoCommandInput | EnableClientAuthenticationCommandInput | EnableDirectoryDataAccessCommandInput | EnableLDAPSCommandInput | EnableRadiusCommandInput | EnableSsoCommandInput | GetDirectoryLimitsCommandInput | GetSnapshotLimitsCommandInput | ListADAssessmentsCommandInput | ListCertificatesCommandInput | ListIpRoutesCommandInput | ListLogSubscriptionsCommandInput | ListSchemaExtensionsCommandInput | ListTagsForResourceCommandInput | RegisterCertificateCommandInput | RegisterEventTopicCommandInput | RejectSharedDirectoryCommandInput | RemoveIpRoutesCommandInput | RemoveRegionCommandInput | RemoveTagsFromResourceCommandInput | ResetUserPasswordCommandInput | RestoreFromSnapshotCommandInput | ShareDirectoryCommandInput | StartADAssessmentCommandInput | StartSchemaExtensionCommandInput | UnshareDirectoryCommandInput | UpdateConditionalForwarderCommandInput | UpdateDirectorySetupCommandInput | UpdateHybridADCommandInput | UpdateNumberOfDomainControllersCommandInput | UpdateRadiusCommandInput | UpdateSettingsCommandInput | UpdateTrustCommandInput | VerifyTrustCommandInput;
96
+ export type ServiceInputTypes = AcceptSharedDirectoryCommandInput | AddIpRoutesCommandInput | AddRegionCommandInput | AddTagsToResourceCommandInput | CancelSchemaExtensionCommandInput | ConnectDirectoryCommandInput | CreateAliasCommandInput | CreateComputerCommandInput | CreateConditionalForwarderCommandInput | CreateDirectoryCommandInput | CreateHybridADCommandInput | CreateLogSubscriptionCommandInput | CreateMicrosoftADCommandInput | CreateSnapshotCommandInput | CreateTrustCommandInput | DeleteADAssessmentCommandInput | DeleteConditionalForwarderCommandInput | DeleteDirectoryCommandInput | DeleteLogSubscriptionCommandInput | DeleteSnapshotCommandInput | DeleteTrustCommandInput | DeregisterCertificateCommandInput | DeregisterEventTopicCommandInput | DescribeADAssessmentCommandInput | DescribeCAEnrollmentPolicyCommandInput | DescribeCertificateCommandInput | DescribeClientAuthenticationSettingsCommandInput | DescribeConditionalForwardersCommandInput | DescribeDirectoriesCommandInput | DescribeDirectoryDataAccessCommandInput | DescribeDomainControllersCommandInput | DescribeEventTopicsCommandInput | DescribeHybridADUpdateCommandInput | DescribeLDAPSSettingsCommandInput | DescribeRegionsCommandInput | DescribeSettingsCommandInput | DescribeSharedDirectoriesCommandInput | DescribeSnapshotsCommandInput | DescribeTrustsCommandInput | DescribeUpdateDirectoryCommandInput | DisableCAEnrollmentPolicyCommandInput | DisableClientAuthenticationCommandInput | DisableDirectoryDataAccessCommandInput | DisableLDAPSCommandInput | DisableRadiusCommandInput | DisableSsoCommandInput | EnableCAEnrollmentPolicyCommandInput | EnableClientAuthenticationCommandInput | EnableDirectoryDataAccessCommandInput | EnableLDAPSCommandInput | EnableRadiusCommandInput | EnableSsoCommandInput | GetDirectoryLimitsCommandInput | GetSnapshotLimitsCommandInput | ListADAssessmentsCommandInput | ListCertificatesCommandInput | ListIpRoutesCommandInput | ListLogSubscriptionsCommandInput | ListSchemaExtensionsCommandInput | ListTagsForResourceCommandInput | RegisterCertificateCommandInput | RegisterEventTopicCommandInput | RejectSharedDirectoryCommandInput | RemoveIpRoutesCommandInput | RemoveRegionCommandInput | RemoveTagsFromResourceCommandInput | ResetUserPasswordCommandInput | RestoreFromSnapshotCommandInput | ShareDirectoryCommandInput | StartADAssessmentCommandInput | StartSchemaExtensionCommandInput | UnshareDirectoryCommandInput | UpdateConditionalForwarderCommandInput | UpdateDirectorySetupCommandInput | UpdateHybridADCommandInput | UpdateNumberOfDomainControllersCommandInput | UpdateRadiusCommandInput | UpdateSettingsCommandInput | UpdateTrustCommandInput | VerifyTrustCommandInput;
94
97
  /**
95
98
  * @public
96
99
  */
97
- export type ServiceOutputTypes = AcceptSharedDirectoryCommandOutput | AddIpRoutesCommandOutput | AddRegionCommandOutput | AddTagsToResourceCommandOutput | CancelSchemaExtensionCommandOutput | ConnectDirectoryCommandOutput | CreateAliasCommandOutput | CreateComputerCommandOutput | CreateConditionalForwarderCommandOutput | CreateDirectoryCommandOutput | CreateHybridADCommandOutput | CreateLogSubscriptionCommandOutput | CreateMicrosoftADCommandOutput | CreateSnapshotCommandOutput | CreateTrustCommandOutput | DeleteADAssessmentCommandOutput | DeleteConditionalForwarderCommandOutput | DeleteDirectoryCommandOutput | DeleteLogSubscriptionCommandOutput | DeleteSnapshotCommandOutput | DeleteTrustCommandOutput | DeregisterCertificateCommandOutput | DeregisterEventTopicCommandOutput | DescribeADAssessmentCommandOutput | DescribeCertificateCommandOutput | DescribeClientAuthenticationSettingsCommandOutput | DescribeConditionalForwardersCommandOutput | DescribeDirectoriesCommandOutput | DescribeDirectoryDataAccessCommandOutput | DescribeDomainControllersCommandOutput | DescribeEventTopicsCommandOutput | DescribeHybridADUpdateCommandOutput | DescribeLDAPSSettingsCommandOutput | DescribeRegionsCommandOutput | DescribeSettingsCommandOutput | DescribeSharedDirectoriesCommandOutput | DescribeSnapshotsCommandOutput | DescribeTrustsCommandOutput | DescribeUpdateDirectoryCommandOutput | DisableClientAuthenticationCommandOutput | DisableDirectoryDataAccessCommandOutput | DisableLDAPSCommandOutput | DisableRadiusCommandOutput | DisableSsoCommandOutput | EnableClientAuthenticationCommandOutput | EnableDirectoryDataAccessCommandOutput | EnableLDAPSCommandOutput | EnableRadiusCommandOutput | EnableSsoCommandOutput | GetDirectoryLimitsCommandOutput | GetSnapshotLimitsCommandOutput | ListADAssessmentsCommandOutput | ListCertificatesCommandOutput | ListIpRoutesCommandOutput | ListLogSubscriptionsCommandOutput | ListSchemaExtensionsCommandOutput | ListTagsForResourceCommandOutput | RegisterCertificateCommandOutput | RegisterEventTopicCommandOutput | RejectSharedDirectoryCommandOutput | RemoveIpRoutesCommandOutput | RemoveRegionCommandOutput | RemoveTagsFromResourceCommandOutput | ResetUserPasswordCommandOutput | RestoreFromSnapshotCommandOutput | ShareDirectoryCommandOutput | StartADAssessmentCommandOutput | StartSchemaExtensionCommandOutput | UnshareDirectoryCommandOutput | UpdateConditionalForwarderCommandOutput | UpdateDirectorySetupCommandOutput | UpdateHybridADCommandOutput | UpdateNumberOfDomainControllersCommandOutput | UpdateRadiusCommandOutput | UpdateSettingsCommandOutput | UpdateTrustCommandOutput | VerifyTrustCommandOutput;
100
+ export type ServiceOutputTypes = AcceptSharedDirectoryCommandOutput | AddIpRoutesCommandOutput | AddRegionCommandOutput | AddTagsToResourceCommandOutput | CancelSchemaExtensionCommandOutput | ConnectDirectoryCommandOutput | CreateAliasCommandOutput | CreateComputerCommandOutput | CreateConditionalForwarderCommandOutput | CreateDirectoryCommandOutput | CreateHybridADCommandOutput | CreateLogSubscriptionCommandOutput | CreateMicrosoftADCommandOutput | CreateSnapshotCommandOutput | CreateTrustCommandOutput | DeleteADAssessmentCommandOutput | DeleteConditionalForwarderCommandOutput | DeleteDirectoryCommandOutput | DeleteLogSubscriptionCommandOutput | DeleteSnapshotCommandOutput | DeleteTrustCommandOutput | DeregisterCertificateCommandOutput | DeregisterEventTopicCommandOutput | DescribeADAssessmentCommandOutput | DescribeCAEnrollmentPolicyCommandOutput | DescribeCertificateCommandOutput | DescribeClientAuthenticationSettingsCommandOutput | DescribeConditionalForwardersCommandOutput | DescribeDirectoriesCommandOutput | DescribeDirectoryDataAccessCommandOutput | DescribeDomainControllersCommandOutput | DescribeEventTopicsCommandOutput | DescribeHybridADUpdateCommandOutput | DescribeLDAPSSettingsCommandOutput | DescribeRegionsCommandOutput | DescribeSettingsCommandOutput | DescribeSharedDirectoriesCommandOutput | DescribeSnapshotsCommandOutput | DescribeTrustsCommandOutput | DescribeUpdateDirectoryCommandOutput | DisableCAEnrollmentPolicyCommandOutput | DisableClientAuthenticationCommandOutput | DisableDirectoryDataAccessCommandOutput | DisableLDAPSCommandOutput | DisableRadiusCommandOutput | DisableSsoCommandOutput | EnableCAEnrollmentPolicyCommandOutput | EnableClientAuthenticationCommandOutput | EnableDirectoryDataAccessCommandOutput | EnableLDAPSCommandOutput | EnableRadiusCommandOutput | EnableSsoCommandOutput | GetDirectoryLimitsCommandOutput | GetSnapshotLimitsCommandOutput | ListADAssessmentsCommandOutput | ListCertificatesCommandOutput | ListIpRoutesCommandOutput | ListLogSubscriptionsCommandOutput | ListSchemaExtensionsCommandOutput | ListTagsForResourceCommandOutput | RegisterCertificateCommandOutput | RegisterEventTopicCommandOutput | RejectSharedDirectoryCommandOutput | RemoveIpRoutesCommandOutput | RemoveRegionCommandOutput | RemoveTagsFromResourceCommandOutput | ResetUserPasswordCommandOutput | RestoreFromSnapshotCommandOutput | ShareDirectoryCommandOutput | StartADAssessmentCommandOutput | StartSchemaExtensionCommandOutput | UnshareDirectoryCommandOutput | UpdateConditionalForwarderCommandOutput | UpdateDirectorySetupCommandOutput | UpdateHybridADCommandOutput | UpdateNumberOfDomainControllersCommandOutput | UpdateRadiusCommandOutput | UpdateSettingsCommandOutput | UpdateTrustCommandOutput | VerifyTrustCommandOutput;
98
101
  /**
99
102
  * @public
100
103
  */
@@ -0,0 +1,90 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { DirectoryServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DirectoryServiceClient";
4
+ import { DescribeCAEnrollmentPolicyRequest, DescribeCAEnrollmentPolicyResult } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link DescribeCAEnrollmentPolicyCommand}.
14
+ */
15
+ export interface DescribeCAEnrollmentPolicyCommandInput extends DescribeCAEnrollmentPolicyRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link DescribeCAEnrollmentPolicyCommand}.
21
+ */
22
+ export interface DescribeCAEnrollmentPolicyCommandOutput extends DescribeCAEnrollmentPolicyResult, __MetadataBearer {
23
+ }
24
+ declare const DescribeCAEnrollmentPolicyCommand_base: {
25
+ new (input: DescribeCAEnrollmentPolicyCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeCAEnrollmentPolicyCommandInput, DescribeCAEnrollmentPolicyCommandOutput, DirectoryServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: DescribeCAEnrollmentPolicyCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeCAEnrollmentPolicyCommandInput, DescribeCAEnrollmentPolicyCommandOutput, DirectoryServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Retrieves detailed information about the certificate authority (CA) enrollment policy for
31
+ * the specified directory. This policy determines how client certificates are automatically enrolled and
32
+ * managed through Amazon Web Services Private Certificate Authority. </p>
33
+ * @example
34
+ * Use a bare-bones client and the command you need to make an API call.
35
+ * ```javascript
36
+ * import { DirectoryServiceClient, DescribeCAEnrollmentPolicyCommand } from "@aws-sdk/client-directory-service"; // ES Modules import
37
+ * // const { DirectoryServiceClient, DescribeCAEnrollmentPolicyCommand } = require("@aws-sdk/client-directory-service"); // CommonJS import
38
+ * const client = new DirectoryServiceClient(config);
39
+ * const input = { // DescribeCAEnrollmentPolicyRequest
40
+ * DirectoryId: "STRING_VALUE", // required
41
+ * };
42
+ * const command = new DescribeCAEnrollmentPolicyCommand(input);
43
+ * const response = await client.send(command);
44
+ * // { // DescribeCAEnrollmentPolicyResult
45
+ * // DirectoryId: "STRING_VALUE",
46
+ * // PcaConnectorArn: "STRING_VALUE",
47
+ * // CaEnrollmentPolicyStatus: "InProgress" || "Success" || "Failed" || "Disabling" || "Disabled" || "Impaired",
48
+ * // LastUpdatedDateTime: new Date("TIMESTAMP"),
49
+ * // CaEnrollmentPolicyStatusReason: "STRING_VALUE",
50
+ * // };
51
+ *
52
+ * ```
53
+ *
54
+ * @param DescribeCAEnrollmentPolicyCommandInput - {@link DescribeCAEnrollmentPolicyCommandInput}
55
+ * @returns {@link DescribeCAEnrollmentPolicyCommandOutput}
56
+ * @see {@link DescribeCAEnrollmentPolicyCommandInput} for command's `input` shape.
57
+ * @see {@link DescribeCAEnrollmentPolicyCommandOutput} for command's `response` shape.
58
+ * @see {@link DirectoryServiceClientResolvedConfig | config} for DirectoryServiceClient's `config` shape.
59
+ *
60
+ * @throws {@link ClientException} (client fault)
61
+ * <p>A client exception has occurred.</p>
62
+ *
63
+ * @throws {@link DirectoryDoesNotExistException} (client fault)
64
+ * <p>The specified directory does not exist in the system.</p>
65
+ *
66
+ * @throws {@link ServiceException} (server fault)
67
+ * <p>An exception has occurred in Directory Service.</p>
68
+ *
69
+ * @throws {@link UnsupportedOperationException} (client fault)
70
+ * <p>The operation is not supported.</p>
71
+ *
72
+ * @throws {@link DirectoryServiceServiceException}
73
+ * <p>Base exception class for all service exceptions from DirectoryService service.</p>
74
+ *
75
+ *
76
+ * @public
77
+ */
78
+ export declare class DescribeCAEnrollmentPolicyCommand extends DescribeCAEnrollmentPolicyCommand_base {
79
+ /** @internal type navigation helper, not in runtime. */
80
+ protected static __types: {
81
+ api: {
82
+ input: DescribeCAEnrollmentPolicyRequest;
83
+ output: DescribeCAEnrollmentPolicyResult;
84
+ };
85
+ sdk: {
86
+ input: DescribeCAEnrollmentPolicyCommandInput;
87
+ output: DescribeCAEnrollmentPolicyCommandOutput;
88
+ };
89
+ };
90
+ }
@@ -0,0 +1,100 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { DirectoryServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DirectoryServiceClient";
4
+ import { DisableCAEnrollmentPolicyRequest, DisableCAEnrollmentPolicyResult } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link DisableCAEnrollmentPolicyCommand}.
14
+ */
15
+ export interface DisableCAEnrollmentPolicyCommandInput extends DisableCAEnrollmentPolicyRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link DisableCAEnrollmentPolicyCommand}.
21
+ */
22
+ export interface DisableCAEnrollmentPolicyCommandOutput extends DisableCAEnrollmentPolicyResult, __MetadataBearer {
23
+ }
24
+ declare const DisableCAEnrollmentPolicyCommand_base: {
25
+ new (input: DisableCAEnrollmentPolicyCommandInput): import("@smithy/smithy-client").CommandImpl<DisableCAEnrollmentPolicyCommandInput, DisableCAEnrollmentPolicyCommandOutput, DirectoryServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: DisableCAEnrollmentPolicyCommandInput): import("@smithy/smithy-client").CommandImpl<DisableCAEnrollmentPolicyCommandInput, DisableCAEnrollmentPolicyCommandOutput, DirectoryServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Disables the certificate authority (CA) enrollment policy for the specified directory. This stops
31
+ * automatic certificate enrollment and management for domain-joined clients, but does not affect
32
+ * existing certificates.</p>
33
+ * <important>
34
+ * <p>Disabling the CA enrollment policy prevents new certificates from being automatically
35
+ * enrolled, but existing certificates remain valid and functional until they expire.</p>
36
+ * </important>
37
+ * @example
38
+ * Use a bare-bones client and the command you need to make an API call.
39
+ * ```javascript
40
+ * import { DirectoryServiceClient, DisableCAEnrollmentPolicyCommand } from "@aws-sdk/client-directory-service"; // ES Modules import
41
+ * // const { DirectoryServiceClient, DisableCAEnrollmentPolicyCommand } = require("@aws-sdk/client-directory-service"); // CommonJS import
42
+ * const client = new DirectoryServiceClient(config);
43
+ * const input = { // DisableCAEnrollmentPolicyRequest
44
+ * DirectoryId: "STRING_VALUE", // required
45
+ * };
46
+ * const command = new DisableCAEnrollmentPolicyCommand(input);
47
+ * const response = await client.send(command);
48
+ * // {};
49
+ *
50
+ * ```
51
+ *
52
+ * @param DisableCAEnrollmentPolicyCommandInput - {@link DisableCAEnrollmentPolicyCommandInput}
53
+ * @returns {@link DisableCAEnrollmentPolicyCommandOutput}
54
+ * @see {@link DisableCAEnrollmentPolicyCommandInput} for command's `input` shape.
55
+ * @see {@link DisableCAEnrollmentPolicyCommandOutput} for command's `response` shape.
56
+ * @see {@link DirectoryServiceClientResolvedConfig | config} for DirectoryServiceClient's `config` shape.
57
+ *
58
+ * @throws {@link AccessDeniedException} (client fault)
59
+ * <p>You do not have sufficient access to perform this action.</p>
60
+ *
61
+ * @throws {@link ClientException} (client fault)
62
+ * <p>A client exception has occurred.</p>
63
+ *
64
+ * @throws {@link DirectoryDoesNotExistException} (client fault)
65
+ * <p>The specified directory does not exist in the system.</p>
66
+ *
67
+ * @throws {@link DirectoryUnavailableException} (client fault)
68
+ * <p>The specified directory is unavailable.</p>
69
+ *
70
+ * @throws {@link DisableAlreadyInProgressException} (client fault)
71
+ * <p>A disable operation for CA enrollment policy is already in progress for this directory.</p>
72
+ *
73
+ * @throws {@link EntityDoesNotExistException} (client fault)
74
+ * <p>The specified entity could not be found.</p>
75
+ *
76
+ * @throws {@link InvalidParameterException} (client fault)
77
+ * <p>One or more parameters are not valid.</p>
78
+ *
79
+ * @throws {@link ServiceException} (server fault)
80
+ * <p>An exception has occurred in Directory Service.</p>
81
+ *
82
+ * @throws {@link DirectoryServiceServiceException}
83
+ * <p>Base exception class for all service exceptions from DirectoryService service.</p>
84
+ *
85
+ *
86
+ * @public
87
+ */
88
+ export declare class DisableCAEnrollmentPolicyCommand extends DisableCAEnrollmentPolicyCommand_base {
89
+ /** @internal type navigation helper, not in runtime. */
90
+ protected static __types: {
91
+ api: {
92
+ input: DisableCAEnrollmentPolicyRequest;
93
+ output: {};
94
+ };
95
+ sdk: {
96
+ input: DisableCAEnrollmentPolicyCommandInput;
97
+ output: DisableCAEnrollmentPolicyCommandOutput;
98
+ };
99
+ };
100
+ }
@@ -0,0 +1,105 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { DirectoryServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DirectoryServiceClient";
4
+ import { EnableCAEnrollmentPolicyRequest, EnableCAEnrollmentPolicyResult } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link EnableCAEnrollmentPolicyCommand}.
14
+ */
15
+ export interface EnableCAEnrollmentPolicyCommandInput extends EnableCAEnrollmentPolicyRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link EnableCAEnrollmentPolicyCommand}.
21
+ */
22
+ export interface EnableCAEnrollmentPolicyCommandOutput extends EnableCAEnrollmentPolicyResult, __MetadataBearer {
23
+ }
24
+ declare const EnableCAEnrollmentPolicyCommand_base: {
25
+ new (input: EnableCAEnrollmentPolicyCommandInput): import("@smithy/smithy-client").CommandImpl<EnableCAEnrollmentPolicyCommandInput, EnableCAEnrollmentPolicyCommandOutput, DirectoryServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: EnableCAEnrollmentPolicyCommandInput): import("@smithy/smithy-client").CommandImpl<EnableCAEnrollmentPolicyCommandInput, EnableCAEnrollmentPolicyCommandOutput, DirectoryServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Enables certificate authority (CA) enrollment policy for the specified directory. This allows
31
+ * domain-joined clients to automatically request and receive certificates from the specified
32
+ * Amazon Web Services Private Certificate Authority.</p>
33
+ * <note>
34
+ * <p>Before enabling CA enrollment, ensure that the PCA connector is properly configured and
35
+ * accessible from the directory. The connector must be in an active state and have the
36
+ * necessary permissions.</p>
37
+ * </note>
38
+ * @example
39
+ * Use a bare-bones client and the command you need to make an API call.
40
+ * ```javascript
41
+ * import { DirectoryServiceClient, EnableCAEnrollmentPolicyCommand } from "@aws-sdk/client-directory-service"; // ES Modules import
42
+ * // const { DirectoryServiceClient, EnableCAEnrollmentPolicyCommand } = require("@aws-sdk/client-directory-service"); // CommonJS import
43
+ * const client = new DirectoryServiceClient(config);
44
+ * const input = { // EnableCAEnrollmentPolicyRequest
45
+ * DirectoryId: "STRING_VALUE", // required
46
+ * PcaConnectorArn: "STRING_VALUE", // required
47
+ * };
48
+ * const command = new EnableCAEnrollmentPolicyCommand(input);
49
+ * const response = await client.send(command);
50
+ * // {};
51
+ *
52
+ * ```
53
+ *
54
+ * @param EnableCAEnrollmentPolicyCommandInput - {@link EnableCAEnrollmentPolicyCommandInput}
55
+ * @returns {@link EnableCAEnrollmentPolicyCommandOutput}
56
+ * @see {@link EnableCAEnrollmentPolicyCommandInput} for command's `input` shape.
57
+ * @see {@link EnableCAEnrollmentPolicyCommandOutput} for command's `response` shape.
58
+ * @see {@link DirectoryServiceClientResolvedConfig | config} for DirectoryServiceClient's `config` shape.
59
+ *
60
+ * @throws {@link AccessDeniedException} (client fault)
61
+ * <p>You do not have sufficient access to perform this action.</p>
62
+ *
63
+ * @throws {@link ClientException} (client fault)
64
+ * <p>A client exception has occurred.</p>
65
+ *
66
+ * @throws {@link DirectoryDoesNotExistException} (client fault)
67
+ * <p>The specified directory does not exist in the system.</p>
68
+ *
69
+ * @throws {@link DirectoryUnavailableException} (client fault)
70
+ * <p>The specified directory is unavailable.</p>
71
+ *
72
+ * @throws {@link EnableAlreadyInProgressException} (client fault)
73
+ * <p>An enable operation for CA enrollment policy is already in progress for this directory.</p>
74
+ *
75
+ * @throws {@link EntityAlreadyExistsException} (client fault)
76
+ * <p>The specified entity already exists.</p>
77
+ *
78
+ * @throws {@link EntityDoesNotExistException} (client fault)
79
+ * <p>The specified entity could not be found.</p>
80
+ *
81
+ * @throws {@link InvalidParameterException} (client fault)
82
+ * <p>One or more parameters are not valid.</p>
83
+ *
84
+ * @throws {@link ServiceException} (server fault)
85
+ * <p>An exception has occurred in Directory Service.</p>
86
+ *
87
+ * @throws {@link DirectoryServiceServiceException}
88
+ * <p>Base exception class for all service exceptions from DirectoryService service.</p>
89
+ *
90
+ *
91
+ * @public
92
+ */
93
+ export declare class EnableCAEnrollmentPolicyCommand extends EnableCAEnrollmentPolicyCommand_base {
94
+ /** @internal type navigation helper, not in runtime. */
95
+ protected static __types: {
96
+ api: {
97
+ input: EnableCAEnrollmentPolicyRequest;
98
+ output: {};
99
+ };
100
+ sdk: {
101
+ input: EnableCAEnrollmentPolicyCommandInput;
102
+ output: EnableCAEnrollmentPolicyCommandOutput;
103
+ };
104
+ };
105
+ }
@@ -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";