@aws-sdk/client-directory-service 3.855.0 → 3.857.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.
Files changed (54) hide show
  1. package/README.md +63 -7
  2. package/dist-cjs/index.js +489 -7
  3. package/dist-es/DirectoryService.js +14 -0
  4. package/dist-es/commands/CreateHybridADCommand.js +22 -0
  5. package/dist-es/commands/DeleteADAssessmentCommand.js +22 -0
  6. package/dist-es/commands/DescribeADAssessmentCommand.js +22 -0
  7. package/dist-es/commands/DescribeHybridADUpdateCommand.js +22 -0
  8. package/dist-es/commands/ListADAssessmentsCommand.js +22 -0
  9. package/dist-es/commands/StartADAssessmentCommand.js +22 -0
  10. package/dist-es/commands/UpdateHybridADCommand.js +22 -0
  11. package/dist-es/commands/index.js +7 -0
  12. package/dist-es/index.js +1 -0
  13. package/dist-es/models/models_0.js +25 -5
  14. package/dist-es/pagination/ListADAssessmentsPaginator.js +4 -0
  15. package/dist-es/pagination/index.js +1 -0
  16. package/dist-es/protocols/Aws_json1_1.js +263 -1
  17. package/dist-es/waiters/index.js +1 -0
  18. package/dist-es/waiters/waitForHybridADUpdated.js +54 -0
  19. package/dist-types/DirectoryService.d.ts +51 -0
  20. package/dist-types/DirectoryServiceClient.d.ts +9 -2
  21. package/dist-types/commands/CreateHybridADCommand.d.ts +115 -0
  22. package/dist-types/commands/DeleteADAssessmentCommand.d.ts +91 -0
  23. package/dist-types/commands/DescribeADAssessmentCommand.d.ts +129 -0
  24. package/dist-types/commands/DescribeDirectoriesCommand.d.ts +8 -0
  25. package/dist-types/commands/DescribeHybridADUpdateCommand.d.ts +148 -0
  26. package/dist-types/commands/ListADAssessmentsCommand.d.ts +105 -0
  27. package/dist-types/commands/StartADAssessmentCommand.d.ts +132 -0
  28. package/dist-types/commands/UpdateHybridADCommand.d.ts +122 -0
  29. package/dist-types/commands/index.d.ts +7 -0
  30. package/dist-types/index.d.ts +1 -0
  31. package/dist-types/models/models_0.d.ts +689 -16
  32. package/dist-types/pagination/ListADAssessmentsPaginator.d.ts +7 -0
  33. package/dist-types/pagination/index.d.ts +1 -0
  34. package/dist-types/protocols/Aws_json1_1.d.ts +63 -0
  35. package/dist-types/ts3.4/DirectoryService.d.ts +121 -0
  36. package/dist-types/ts3.4/DirectoryServiceClient.d.ts +42 -0
  37. package/dist-types/ts3.4/commands/CreateHybridADCommand.d.ts +50 -0
  38. package/dist-types/ts3.4/commands/DeleteADAssessmentCommand.d.ts +51 -0
  39. package/dist-types/ts3.4/commands/DescribeADAssessmentCommand.d.ts +51 -0
  40. package/dist-types/ts3.4/commands/DescribeHybridADUpdateCommand.d.ts +51 -0
  41. package/dist-types/ts3.4/commands/ListADAssessmentsCommand.d.ts +51 -0
  42. package/dist-types/ts3.4/commands/StartADAssessmentCommand.d.ts +51 -0
  43. package/dist-types/ts3.4/commands/UpdateHybridADCommand.d.ts +50 -0
  44. package/dist-types/ts3.4/commands/index.d.ts +7 -0
  45. package/dist-types/ts3.4/index.d.ts +1 -0
  46. package/dist-types/ts3.4/models/models_0.d.ts +158 -6
  47. package/dist-types/ts3.4/pagination/ListADAssessmentsPaginator.d.ts +11 -0
  48. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  49. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +84 -0
  50. package/dist-types/ts3.4/waiters/index.d.ts +1 -0
  51. package/dist-types/ts3.4/waiters/waitForHybridADUpdated.d.ts +11 -0
  52. package/dist-types/waiters/index.d.ts +1 -0
  53. package/dist-types/waiters/waitForHybridADUpdated.d.ts +14 -0
  54. package/package.json +12 -11
package/dist-cjs/index.js CHANGED
@@ -21,6 +21,7 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
21
21
  // src/index.ts
22
22
  var index_exports = {};
23
23
  __export(index_exports, {
24
+ ADAssessmentLimitExceededException: () => ADAssessmentLimitExceededException,
24
25
  AcceptSharedDirectoryCommand: () => AcceptSharedDirectoryCommand,
25
26
  AcceptSharedDirectoryResultFilterSensitiveLog: () => AcceptSharedDirectoryResultFilterSensitiveLog,
26
27
  AccessDeniedException: () => AccessDeniedException,
@@ -46,6 +47,7 @@ __export(index_exports, {
46
47
  CreateConditionalForwarderCommand: () => CreateConditionalForwarderCommand,
47
48
  CreateDirectoryCommand: () => CreateDirectoryCommand,
48
49
  CreateDirectoryRequestFilterSensitiveLog: () => CreateDirectoryRequestFilterSensitiveLog,
50
+ CreateHybridADCommand: () => CreateHybridADCommand,
49
51
  CreateLogSubscriptionCommand: () => CreateLogSubscriptionCommand,
50
52
  CreateMicrosoftADCommand: () => CreateMicrosoftADCommand,
51
53
  CreateMicrosoftADRequestFilterSensitiveLog: () => CreateMicrosoftADRequestFilterSensitiveLog,
@@ -53,6 +55,7 @@ __export(index_exports, {
53
55
  CreateTrustCommand: () => CreateTrustCommand,
54
56
  CreateTrustRequestFilterSensitiveLog: () => CreateTrustRequestFilterSensitiveLog,
55
57
  DataAccessStatus: () => DataAccessStatus,
58
+ DeleteADAssessmentCommand: () => DeleteADAssessmentCommand,
56
59
  DeleteConditionalForwarderCommand: () => DeleteConditionalForwarderCommand,
57
60
  DeleteDirectoryCommand: () => DeleteDirectoryCommand,
58
61
  DeleteLogSubscriptionCommand: () => DeleteLogSubscriptionCommand,
@@ -60,6 +63,7 @@ __export(index_exports, {
60
63
  DeleteTrustCommand: () => DeleteTrustCommand,
61
64
  DeregisterCertificateCommand: () => DeregisterCertificateCommand,
62
65
  DeregisterEventTopicCommand: () => DeregisterEventTopicCommand,
66
+ DescribeADAssessmentCommand: () => DescribeADAssessmentCommand,
63
67
  DescribeCertificateCommand: () => DescribeCertificateCommand,
64
68
  DescribeClientAuthenticationSettingsCommand: () => DescribeClientAuthenticationSettingsCommand,
65
69
  DescribeConditionalForwardersCommand: () => DescribeConditionalForwardersCommand,
@@ -68,6 +72,7 @@ __export(index_exports, {
68
72
  DescribeDirectoryDataAccessCommand: () => DescribeDirectoryDataAccessCommand,
69
73
  DescribeDomainControllersCommand: () => DescribeDomainControllersCommand,
70
74
  DescribeEventTopicsCommand: () => DescribeEventTopicsCommand,
75
+ DescribeHybridADUpdateCommand: () => DescribeHybridADUpdateCommand,
71
76
  DescribeLDAPSSettingsCommand: () => DescribeLDAPSSettingsCommand,
72
77
  DescribeRegionsCommand: () => DescribeRegionsCommand,
73
78
  DescribeSettingsCommand: () => DescribeSettingsCommand,
@@ -111,6 +116,7 @@ __export(index_exports, {
111
116
  EntityDoesNotExistException: () => EntityDoesNotExistException,
112
117
  GetDirectoryLimitsCommand: () => GetDirectoryLimitsCommand,
113
118
  GetSnapshotLimitsCommand: () => GetSnapshotLimitsCommand,
119
+ HybridUpdateType: () => HybridUpdateType,
114
120
  IncompatibleSettingsException: () => IncompatibleSettingsException,
115
121
  InsufficientPermissionsException: () => InsufficientPermissionsException,
116
122
  InvalidCertificateException: () => InvalidCertificateException,
@@ -124,6 +130,7 @@ __export(index_exports, {
124
130
  IpRouteStatusMsg: () => IpRouteStatusMsg,
125
131
  LDAPSStatus: () => LDAPSStatus,
126
132
  LDAPSType: () => LDAPSType,
133
+ ListADAssessmentsCommand: () => ListADAssessmentsCommand,
127
134
  ListCertificatesCommand: () => ListCertificatesCommand,
128
135
  ListIpRoutesCommand: () => ListIpRoutesCommand,
129
136
  ListLogSubscriptionsCommand: () => ListLogSubscriptionsCommand,
@@ -160,6 +167,7 @@ __export(index_exports, {
160
167
  SnapshotLimitExceededException: () => SnapshotLimitExceededException,
161
168
  SnapshotStatus: () => SnapshotStatus,
162
169
  SnapshotType: () => SnapshotType,
170
+ StartADAssessmentCommand: () => StartADAssessmentCommand,
163
171
  StartSchemaExtensionCommand: () => StartSchemaExtensionCommand,
164
172
  TagLimitExceededException: () => TagLimitExceededException,
165
173
  TargetType: () => TargetType,
@@ -172,6 +180,7 @@ __export(index_exports, {
172
180
  UnsupportedSettingsException: () => UnsupportedSettingsException,
173
181
  UpdateConditionalForwarderCommand: () => UpdateConditionalForwarderCommand,
174
182
  UpdateDirectorySetupCommand: () => UpdateDirectorySetupCommand,
183
+ UpdateHybridADCommand: () => UpdateHybridADCommand,
175
184
  UpdateNumberOfDomainControllersCommand: () => UpdateNumberOfDomainControllersCommand,
176
185
  UpdateRadiusCommand: () => UpdateRadiusCommand,
177
186
  UpdateRadiusRequestFilterSensitiveLog: () => UpdateRadiusRequestFilterSensitiveLog,
@@ -191,11 +200,14 @@ __export(index_exports, {
191
200
  paginateDescribeSnapshots: () => paginateDescribeSnapshots,
192
201
  paginateDescribeTrusts: () => paginateDescribeTrusts,
193
202
  paginateDescribeUpdateDirectory: () => paginateDescribeUpdateDirectory,
203
+ paginateListADAssessments: () => paginateListADAssessments,
194
204
  paginateListCertificates: () => paginateListCertificates,
195
205
  paginateListIpRoutes: () => paginateListIpRoutes,
196
206
  paginateListLogSubscriptions: () => paginateListLogSubscriptions,
197
207
  paginateListSchemaExtensions: () => paginateListSchemaExtensions,
198
- paginateListTagsForResource: () => paginateListTagsForResource
208
+ paginateListTagsForResource: () => paginateListTagsForResource,
209
+ waitForHybridADUpdated: () => waitForHybridADUpdated,
210
+ waitUntilHybridADUpdated: () => waitUntilHybridADUpdated
199
211
  });
200
212
  module.exports = __toCommonJS(index_exports);
201
213
 
@@ -562,6 +574,36 @@ var AccessDeniedException = class _AccessDeniedException extends DirectoryServic
562
574
  this.RequestId = opts.RequestId;
563
575
  }
564
576
  };
577
+ var ADAssessmentLimitExceededException = class _ADAssessmentLimitExceededException extends DirectoryServiceServiceException {
578
+ static {
579
+ __name(this, "ADAssessmentLimitExceededException");
580
+ }
581
+ name = "ADAssessmentLimitExceededException";
582
+ $fault = "client";
583
+ /**
584
+ * <p>The descriptive message for the exception.</p>
585
+ * @public
586
+ */
587
+ Message;
588
+ /**
589
+ * <p>The Amazon Web Services request identifier.</p>
590
+ * @public
591
+ */
592
+ RequestId;
593
+ /**
594
+ * @internal
595
+ */
596
+ constructor(opts) {
597
+ super({
598
+ name: "ADAssessmentLimitExceededException",
599
+ $fault: "client",
600
+ ...opts
601
+ });
602
+ Object.setPrototypeOf(this, _ADAssessmentLimitExceededException.prototype);
603
+ this.Message = opts.Message;
604
+ this.RequestId = opts.RequestId;
605
+ }
606
+ };
565
607
  var DirectoryUnavailableException = class _DirectoryUnavailableException extends DirectoryServiceServiceException {
566
608
  static {
567
609
  __name(this, "DirectoryUnavailableException");
@@ -1174,6 +1216,15 @@ var TopicStatus = {
1174
1216
  REGISTERED: "Registered",
1175
1217
  TOPIC_NOT_FOUND: "Topic not found"
1176
1218
  };
1219
+ var HybridUpdateType = {
1220
+ HYBRID_ADMINISTRATOR_ACCOUNT: "HybridAdministratorAccount",
1221
+ SELF_MANAGED_INSTANCES: "SelfManagedInstances"
1222
+ };
1223
+ var UpdateStatus = {
1224
+ UPDATED: "Updated",
1225
+ UPDATE_FAILED: "UpdateFailed",
1226
+ UPDATING: "Updating"
1227
+ };
1177
1228
  var LDAPSType = {
1178
1229
  CLIENT: "Client"
1179
1230
  };
@@ -1219,11 +1270,6 @@ var TrustState = {
1219
1270
  var UpdateType = {
1220
1271
  OS: "OS"
1221
1272
  };
1222
- var UpdateStatus = {
1223
- UPDATED: "Updated",
1224
- UPDATE_FAILED: "UpdateFailed",
1225
- UPDATING: "Updating"
1226
- };
1227
1273
  var DirectoryInDesiredStateException = class _DirectoryInDesiredStateException extends DirectoryServiceServiceException {
1228
1274
  static {
1229
1275
  __name(this, "DirectoryInDesiredStateException");
@@ -1811,6 +1857,12 @@ var se_CreateDirectoryCommand = /* @__PURE__ */ __name(async (input, context) =>
1811
1857
  body = JSON.stringify((0, import_smithy_client._json)(input));
1812
1858
  return buildHttpRpcRequest(context, headers, "/", void 0, body);
1813
1859
  }, "se_CreateDirectoryCommand");
1860
+ var se_CreateHybridADCommand = /* @__PURE__ */ __name(async (input, context) => {
1861
+ const headers = sharedHeaders("CreateHybridAD");
1862
+ let body;
1863
+ body = JSON.stringify((0, import_smithy_client._json)(input));
1864
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
1865
+ }, "se_CreateHybridADCommand");
1814
1866
  var se_CreateLogSubscriptionCommand = /* @__PURE__ */ __name(async (input, context) => {
1815
1867
  const headers = sharedHeaders("CreateLogSubscription");
1816
1868
  let body;
@@ -1835,6 +1887,12 @@ var se_CreateTrustCommand = /* @__PURE__ */ __name(async (input, context) => {
1835
1887
  body = JSON.stringify((0, import_smithy_client._json)(input));
1836
1888
  return buildHttpRpcRequest(context, headers, "/", void 0, body);
1837
1889
  }, "se_CreateTrustCommand");
1890
+ var se_DeleteADAssessmentCommand = /* @__PURE__ */ __name(async (input, context) => {
1891
+ const headers = sharedHeaders("DeleteADAssessment");
1892
+ let body;
1893
+ body = JSON.stringify((0, import_smithy_client._json)(input));
1894
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
1895
+ }, "se_DeleteADAssessmentCommand");
1838
1896
  var se_DeleteConditionalForwarderCommand = /* @__PURE__ */ __name(async (input, context) => {
1839
1897
  const headers = sharedHeaders("DeleteConditionalForwarder");
1840
1898
  let body;
@@ -1877,6 +1935,12 @@ var se_DeregisterEventTopicCommand = /* @__PURE__ */ __name(async (input, contex
1877
1935
  body = JSON.stringify((0, import_smithy_client._json)(input));
1878
1936
  return buildHttpRpcRequest(context, headers, "/", void 0, body);
1879
1937
  }, "se_DeregisterEventTopicCommand");
1938
+ var se_DescribeADAssessmentCommand = /* @__PURE__ */ __name(async (input, context) => {
1939
+ const headers = sharedHeaders("DescribeADAssessment");
1940
+ let body;
1941
+ body = JSON.stringify((0, import_smithy_client._json)(input));
1942
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
1943
+ }, "se_DescribeADAssessmentCommand");
1880
1944
  var se_DescribeCertificateCommand = /* @__PURE__ */ __name(async (input, context) => {
1881
1945
  const headers = sharedHeaders("DescribeCertificate");
1882
1946
  let body;
@@ -1919,6 +1983,12 @@ var se_DescribeEventTopicsCommand = /* @__PURE__ */ __name(async (input, context
1919
1983
  body = JSON.stringify((0, import_smithy_client._json)(input));
1920
1984
  return buildHttpRpcRequest(context, headers, "/", void 0, body);
1921
1985
  }, "se_DescribeEventTopicsCommand");
1986
+ var se_DescribeHybridADUpdateCommand = /* @__PURE__ */ __name(async (input, context) => {
1987
+ const headers = sharedHeaders("DescribeHybridADUpdate");
1988
+ let body;
1989
+ body = JSON.stringify((0, import_smithy_client._json)(input));
1990
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
1991
+ }, "se_DescribeHybridADUpdateCommand");
1922
1992
  var se_DescribeLDAPSSettingsCommand = /* @__PURE__ */ __name(async (input, context) => {
1923
1993
  const headers = sharedHeaders("DescribeLDAPSSettings");
1924
1994
  let body;
@@ -2033,6 +2103,12 @@ var se_GetSnapshotLimitsCommand = /* @__PURE__ */ __name(async (input, context)
2033
2103
  body = JSON.stringify((0, import_smithy_client._json)(input));
2034
2104
  return buildHttpRpcRequest(context, headers, "/", void 0, body);
2035
2105
  }, "se_GetSnapshotLimitsCommand");
2106
+ var se_ListADAssessmentsCommand = /* @__PURE__ */ __name(async (input, context) => {
2107
+ const headers = sharedHeaders("ListADAssessments");
2108
+ let body;
2109
+ body = JSON.stringify((0, import_smithy_client._json)(input));
2110
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
2111
+ }, "se_ListADAssessmentsCommand");
2036
2112
  var se_ListCertificatesCommand = /* @__PURE__ */ __name(async (input, context) => {
2037
2113
  const headers = sharedHeaders("ListCertificates");
2038
2114
  let body;
@@ -2117,6 +2193,12 @@ var se_ShareDirectoryCommand = /* @__PURE__ */ __name(async (input, context) =>
2117
2193
  body = JSON.stringify((0, import_smithy_client._json)(input));
2118
2194
  return buildHttpRpcRequest(context, headers, "/", void 0, body);
2119
2195
  }, "se_ShareDirectoryCommand");
2196
+ var se_StartADAssessmentCommand = /* @__PURE__ */ __name(async (input, context) => {
2197
+ const headers = sharedHeaders("StartADAssessment");
2198
+ let body;
2199
+ body = JSON.stringify((0, import_smithy_client._json)(input));
2200
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
2201
+ }, "se_StartADAssessmentCommand");
2120
2202
  var se_StartSchemaExtensionCommand = /* @__PURE__ */ __name(async (input, context) => {
2121
2203
  const headers = sharedHeaders("StartSchemaExtension");
2122
2204
  let body;
@@ -2141,6 +2223,12 @@ var se_UpdateDirectorySetupCommand = /* @__PURE__ */ __name(async (input, contex
2141
2223
  body = JSON.stringify((0, import_smithy_client._json)(input));
2142
2224
  return buildHttpRpcRequest(context, headers, "/", void 0, body);
2143
2225
  }, "se_UpdateDirectorySetupCommand");
2226
+ var se_UpdateHybridADCommand = /* @__PURE__ */ __name(async (input, context) => {
2227
+ const headers = sharedHeaders("UpdateHybridAD");
2228
+ let body;
2229
+ body = JSON.stringify((0, import_smithy_client._json)(input));
2230
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
2231
+ }, "se_UpdateHybridADCommand");
2144
2232
  var se_UpdateNumberOfDomainControllersCommand = /* @__PURE__ */ __name(async (input, context) => {
2145
2233
  const headers = sharedHeaders("UpdateNumberOfDomainControllers");
2146
2234
  let body;
@@ -2301,6 +2389,19 @@ var de_CreateDirectoryCommand = /* @__PURE__ */ __name(async (output, context) =
2301
2389
  };
2302
2390
  return response;
2303
2391
  }, "de_CreateDirectoryCommand");
2392
+ var de_CreateHybridADCommand = /* @__PURE__ */ __name(async (output, context) => {
2393
+ if (output.statusCode >= 300) {
2394
+ return de_CommandError(output, context);
2395
+ }
2396
+ const data = await (0, import_core2.parseJsonBody)(output.body, context);
2397
+ let contents = {};
2398
+ contents = (0, import_smithy_client._json)(data);
2399
+ const response = {
2400
+ $metadata: deserializeMetadata(output),
2401
+ ...contents
2402
+ };
2403
+ return response;
2404
+ }, "de_CreateHybridADCommand");
2304
2405
  var de_CreateLogSubscriptionCommand = /* @__PURE__ */ __name(async (output, context) => {
2305
2406
  if (output.statusCode >= 300) {
2306
2407
  return de_CommandError(output, context);
@@ -2353,6 +2454,19 @@ var de_CreateTrustCommand = /* @__PURE__ */ __name(async (output, context) => {
2353
2454
  };
2354
2455
  return response;
2355
2456
  }, "de_CreateTrustCommand");
2457
+ var de_DeleteADAssessmentCommand = /* @__PURE__ */ __name(async (output, context) => {
2458
+ if (output.statusCode >= 300) {
2459
+ return de_CommandError(output, context);
2460
+ }
2461
+ const data = await (0, import_core2.parseJsonBody)(output.body, context);
2462
+ let contents = {};
2463
+ contents = (0, import_smithy_client._json)(data);
2464
+ const response = {
2465
+ $metadata: deserializeMetadata(output),
2466
+ ...contents
2467
+ };
2468
+ return response;
2469
+ }, "de_DeleteADAssessmentCommand");
2356
2470
  var de_DeleteConditionalForwarderCommand = /* @__PURE__ */ __name(async (output, context) => {
2357
2471
  if (output.statusCode >= 300) {
2358
2472
  return de_CommandError(output, context);
@@ -2444,6 +2558,19 @@ var de_DeregisterEventTopicCommand = /* @__PURE__ */ __name(async (output, conte
2444
2558
  };
2445
2559
  return response;
2446
2560
  }, "de_DeregisterEventTopicCommand");
2561
+ var de_DescribeADAssessmentCommand = /* @__PURE__ */ __name(async (output, context) => {
2562
+ if (output.statusCode >= 300) {
2563
+ return de_CommandError(output, context);
2564
+ }
2565
+ const data = await (0, import_core2.parseJsonBody)(output.body, context);
2566
+ let contents = {};
2567
+ contents = de_DescribeADAssessmentResult(data, context);
2568
+ const response = {
2569
+ $metadata: deserializeMetadata(output),
2570
+ ...contents
2571
+ };
2572
+ return response;
2573
+ }, "de_DescribeADAssessmentCommand");
2447
2574
  var de_DescribeCertificateCommand = /* @__PURE__ */ __name(async (output, context) => {
2448
2575
  if (output.statusCode >= 300) {
2449
2576
  return de_CommandError(output, context);
@@ -2535,6 +2662,19 @@ var de_DescribeEventTopicsCommand = /* @__PURE__ */ __name(async (output, contex
2535
2662
  };
2536
2663
  return response;
2537
2664
  }, "de_DescribeEventTopicsCommand");
2665
+ var de_DescribeHybridADUpdateCommand = /* @__PURE__ */ __name(async (output, context) => {
2666
+ if (output.statusCode >= 300) {
2667
+ return de_CommandError(output, context);
2668
+ }
2669
+ const data = await (0, import_core2.parseJsonBody)(output.body, context);
2670
+ let contents = {};
2671
+ contents = de_DescribeHybridADUpdateResult(data, context);
2672
+ const response = {
2673
+ $metadata: deserializeMetadata(output),
2674
+ ...contents
2675
+ };
2676
+ return response;
2677
+ }, "de_DescribeHybridADUpdateCommand");
2538
2678
  var de_DescribeLDAPSSettingsCommand = /* @__PURE__ */ __name(async (output, context) => {
2539
2679
  if (output.statusCode >= 300) {
2540
2680
  return de_CommandError(output, context);
@@ -2782,6 +2922,19 @@ var de_GetSnapshotLimitsCommand = /* @__PURE__ */ __name(async (output, context)
2782
2922
  };
2783
2923
  return response;
2784
2924
  }, "de_GetSnapshotLimitsCommand");
2925
+ var de_ListADAssessmentsCommand = /* @__PURE__ */ __name(async (output, context) => {
2926
+ if (output.statusCode >= 300) {
2927
+ return de_CommandError(output, context);
2928
+ }
2929
+ const data = await (0, import_core2.parseJsonBody)(output.body, context);
2930
+ let contents = {};
2931
+ contents = de_ListADAssessmentsResult(data, context);
2932
+ const response = {
2933
+ $metadata: deserializeMetadata(output),
2934
+ ...contents
2935
+ };
2936
+ return response;
2937
+ }, "de_ListADAssessmentsCommand");
2785
2938
  var de_ListCertificatesCommand = /* @__PURE__ */ __name(async (output, context) => {
2786
2939
  if (output.statusCode >= 300) {
2787
2940
  return de_CommandError(output, context);
@@ -2964,6 +3117,19 @@ var de_ShareDirectoryCommand = /* @__PURE__ */ __name(async (output, context) =>
2964
3117
  };
2965
3118
  return response;
2966
3119
  }, "de_ShareDirectoryCommand");
3120
+ var de_StartADAssessmentCommand = /* @__PURE__ */ __name(async (output, context) => {
3121
+ if (output.statusCode >= 300) {
3122
+ return de_CommandError(output, context);
3123
+ }
3124
+ const data = await (0, import_core2.parseJsonBody)(output.body, context);
3125
+ let contents = {};
3126
+ contents = (0, import_smithy_client._json)(data);
3127
+ const response = {
3128
+ $metadata: deserializeMetadata(output),
3129
+ ...contents
3130
+ };
3131
+ return response;
3132
+ }, "de_StartADAssessmentCommand");
2967
3133
  var de_StartSchemaExtensionCommand = /* @__PURE__ */ __name(async (output, context) => {
2968
3134
  if (output.statusCode >= 300) {
2969
3135
  return de_CommandError(output, context);
@@ -3016,6 +3182,19 @@ var de_UpdateDirectorySetupCommand = /* @__PURE__ */ __name(async (output, conte
3016
3182
  };
3017
3183
  return response;
3018
3184
  }, "de_UpdateDirectorySetupCommand");
3185
+ var de_UpdateHybridADCommand = /* @__PURE__ */ __name(async (output, context) => {
3186
+ if (output.statusCode >= 300) {
3187
+ return de_CommandError(output, context);
3188
+ }
3189
+ const data = await (0, import_core2.parseJsonBody)(output.body, context);
3190
+ let contents = {};
3191
+ contents = (0, import_smithy_client._json)(data);
3192
+ const response = {
3193
+ $metadata: deserializeMetadata(output),
3194
+ ...contents
3195
+ };
3196
+ return response;
3197
+ }, "de_UpdateHybridADCommand");
3019
3198
  var de_UpdateNumberOfDomainControllersCommand = /* @__PURE__ */ __name(async (output, context) => {
3020
3199
  if (output.statusCode >= 300) {
3021
3200
  return de_CommandError(output, context);
@@ -3136,6 +3315,9 @@ var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
3136
3315
  case "AuthenticationFailedException":
3137
3316
  case "com.amazonaws.directoryservice#AuthenticationFailedException":
3138
3317
  throw await de_AuthenticationFailedExceptionRes(parsedOutput, context);
3318
+ case "ADAssessmentLimitExceededException":
3319
+ case "com.amazonaws.directoryservice#ADAssessmentLimitExceededException":
3320
+ throw await de_ADAssessmentLimitExceededExceptionRes(parsedOutput, context);
3139
3321
  case "InsufficientPermissionsException":
3140
3322
  case "com.amazonaws.directoryservice#InsufficientPermissionsException":
3141
3323
  throw await de_InsufficientPermissionsExceptionRes(parsedOutput, context);
@@ -3217,6 +3399,15 @@ var de_AccessDeniedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, co
3217
3399
  });
3218
3400
  return (0, import_smithy_client.decorateServiceException)(exception, body);
3219
3401
  }, "de_AccessDeniedExceptionRes");
3402
+ var de_ADAssessmentLimitExceededExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
3403
+ const body = parsedOutput.body;
3404
+ const deserialized = (0, import_smithy_client._json)(body);
3405
+ const exception = new ADAssessmentLimitExceededException({
3406
+ $metadata: deserializeMetadata(parsedOutput),
3407
+ ...deserialized
3408
+ });
3409
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
3410
+ }, "de_ADAssessmentLimitExceededExceptionRes");
3220
3411
  var de_AuthenticationFailedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
3221
3412
  const body = parsedOutput.body;
3222
3413
  const deserialized = (0, import_smithy_client._json)(body);
@@ -3546,6 +3737,72 @@ var de_AcceptSharedDirectoryResult = /* @__PURE__ */ __name((output, context) =>
3546
3737
  SharedDirectory: /* @__PURE__ */ __name((_) => de_SharedDirectory(_, context), "SharedDirectory")
3547
3738
  });
3548
3739
  }, "de_AcceptSharedDirectoryResult");
3740
+ var de_Assessment = /* @__PURE__ */ __name((output, context) => {
3741
+ return (0, import_smithy_client.take)(output, {
3742
+ AssessmentId: import_smithy_client.expectString,
3743
+ CustomerDnsIps: import_smithy_client._json,
3744
+ DirectoryId: import_smithy_client.expectString,
3745
+ DnsName: import_smithy_client.expectString,
3746
+ LastUpdateDateTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastUpdateDateTime"),
3747
+ ReportType: import_smithy_client.expectString,
3748
+ SecurityGroupIds: import_smithy_client._json,
3749
+ SelfManagedInstanceIds: import_smithy_client._json,
3750
+ StartTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "StartTime"),
3751
+ Status: import_smithy_client.expectString,
3752
+ StatusCode: import_smithy_client.expectString,
3753
+ StatusReason: import_smithy_client.expectString,
3754
+ SubnetIds: import_smithy_client._json,
3755
+ Version: import_smithy_client.expectString,
3756
+ VpcId: import_smithy_client.expectString
3757
+ });
3758
+ }, "de_Assessment");
3759
+ var de_AssessmentReport = /* @__PURE__ */ __name((output, context) => {
3760
+ return (0, import_smithy_client.take)(output, {
3761
+ DomainControllerIp: import_smithy_client.expectString,
3762
+ Validations: /* @__PURE__ */ __name((_) => de_AssessmentValidations(_, context), "Validations")
3763
+ });
3764
+ }, "de_AssessmentReport");
3765
+ var de_AssessmentReports = /* @__PURE__ */ __name((output, context) => {
3766
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
3767
+ return de_AssessmentReport(entry, context);
3768
+ });
3769
+ return retVal;
3770
+ }, "de_AssessmentReports");
3771
+ var de_Assessments = /* @__PURE__ */ __name((output, context) => {
3772
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
3773
+ return de_AssessmentSummary(entry, context);
3774
+ });
3775
+ return retVal;
3776
+ }, "de_Assessments");
3777
+ var de_AssessmentSummary = /* @__PURE__ */ __name((output, context) => {
3778
+ return (0, import_smithy_client.take)(output, {
3779
+ AssessmentId: import_smithy_client.expectString,
3780
+ CustomerDnsIps: import_smithy_client._json,
3781
+ DirectoryId: import_smithy_client.expectString,
3782
+ DnsName: import_smithy_client.expectString,
3783
+ LastUpdateDateTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastUpdateDateTime"),
3784
+ ReportType: import_smithy_client.expectString,
3785
+ StartTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "StartTime"),
3786
+ Status: import_smithy_client.expectString
3787
+ });
3788
+ }, "de_AssessmentSummary");
3789
+ var de_AssessmentValidation = /* @__PURE__ */ __name((output, context) => {
3790
+ return (0, import_smithy_client.take)(output, {
3791
+ Category: import_smithy_client.expectString,
3792
+ LastUpdateDateTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastUpdateDateTime"),
3793
+ Name: import_smithy_client.expectString,
3794
+ StartTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "StartTime"),
3795
+ Status: import_smithy_client.expectString,
3796
+ StatusCode: import_smithy_client.expectString,
3797
+ StatusReason: import_smithy_client.expectString
3798
+ });
3799
+ }, "de_AssessmentValidation");
3800
+ var de_AssessmentValidations = /* @__PURE__ */ __name((output, context) => {
3801
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
3802
+ return de_AssessmentValidation(entry, context);
3803
+ });
3804
+ return retVal;
3805
+ }, "de_AssessmentValidations");
3549
3806
  var de_Certificate = /* @__PURE__ */ __name((output, context) => {
3550
3807
  return (0, import_smithy_client.take)(output, {
3551
3808
  CertificateId: import_smithy_client.expectString,
@@ -3586,6 +3843,12 @@ var de_ClientAuthenticationSettingsInfo = /* @__PURE__ */ __name((output, contex
3586
3843
  });
3587
3844
  return retVal;
3588
3845
  }, "de_ClientAuthenticationSettingsInfo");
3846
+ var de_DescribeADAssessmentResult = /* @__PURE__ */ __name((output, context) => {
3847
+ return (0, import_smithy_client.take)(output, {
3848
+ Assessment: /* @__PURE__ */ __name((_) => de_Assessment(_, context), "Assessment"),
3849
+ AssessmentReports: /* @__PURE__ */ __name((_) => de_AssessmentReports(_, context), "AssessmentReports")
3850
+ });
3851
+ }, "de_DescribeADAssessmentResult");
3589
3852
  var de_DescribeCertificateResult = /* @__PURE__ */ __name((output, context) => {
3590
3853
  return (0, import_smithy_client.take)(output, {
3591
3854
  Certificate: /* @__PURE__ */ __name((_) => de_Certificate(_, context), "Certificate")
@@ -3614,6 +3877,12 @@ var de_DescribeEventTopicsResult = /* @__PURE__ */ __name((output, context) => {
3614
3877
  EventTopics: /* @__PURE__ */ __name((_) => de_EventTopics(_, context), "EventTopics")
3615
3878
  });
3616
3879
  }, "de_DescribeEventTopicsResult");
3880
+ var de_DescribeHybridADUpdateResult = /* @__PURE__ */ __name((output, context) => {
3881
+ return (0, import_smithy_client.take)(output, {
3882
+ NextToken: import_smithy_client.expectString,
3883
+ UpdateActivities: /* @__PURE__ */ __name((_) => de_HybridUpdateActivities(_, context), "UpdateActivities")
3884
+ });
3885
+ }, "de_DescribeHybridADUpdateResult");
3617
3886
  var de_DescribeLDAPSSettingsResult = /* @__PURE__ */ __name((output, context) => {
3618
3887
  return (0, import_smithy_client.take)(output, {
3619
3888
  LDAPSSettingsInfo: /* @__PURE__ */ __name((_) => de_LDAPSSettingsInfo(_, context), "LDAPSSettingsInfo"),
@@ -3667,6 +3936,7 @@ var de_DirectoryDescription = /* @__PURE__ */ __name((output, context) => {
3667
3936
  DirectoryId: import_smithy_client.expectString,
3668
3937
  DnsIpAddrs: import_smithy_client._json,
3669
3938
  Edition: import_smithy_client.expectString,
3939
+ HybridSettings: import_smithy_client._json,
3670
3940
  LaunchTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LaunchTime"),
3671
3941
  Name: import_smithy_client.expectString,
3672
3942
  OsVersion: import_smithy_client.expectString,
@@ -3728,6 +3998,30 @@ var de_EventTopics = /* @__PURE__ */ __name((output, context) => {
3728
3998
  });
3729
3999
  return retVal;
3730
4000
  }, "de_EventTopics");
4001
+ var de_HybridUpdateActivities = /* @__PURE__ */ __name((output, context) => {
4002
+ return (0, import_smithy_client.take)(output, {
4003
+ HybridAdministratorAccount: /* @__PURE__ */ __name((_) => de_HybridUpdateInfoEntries(_, context), "HybridAdministratorAccount"),
4004
+ SelfManagedInstances: /* @__PURE__ */ __name((_) => de_HybridUpdateInfoEntries(_, context), "SelfManagedInstances")
4005
+ });
4006
+ }, "de_HybridUpdateActivities");
4007
+ var de_HybridUpdateInfoEntries = /* @__PURE__ */ __name((output, context) => {
4008
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
4009
+ return de_HybridUpdateInfoEntry(entry, context);
4010
+ });
4011
+ return retVal;
4012
+ }, "de_HybridUpdateInfoEntries");
4013
+ var de_HybridUpdateInfoEntry = /* @__PURE__ */ __name((output, context) => {
4014
+ return (0, import_smithy_client.take)(output, {
4015
+ AssessmentId: import_smithy_client.expectString,
4016
+ InitiatedBy: import_smithy_client.expectString,
4017
+ LastUpdatedDateTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastUpdatedDateTime"),
4018
+ NewValue: import_smithy_client._json,
4019
+ PreviousValue: import_smithy_client._json,
4020
+ StartTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "StartTime"),
4021
+ Status: import_smithy_client.expectString,
4022
+ StatusReason: import_smithy_client.expectString
4023
+ });
4024
+ }, "de_HybridUpdateInfoEntry");
3731
4025
  var de_IpRouteInfo = /* @__PURE__ */ __name((output, context) => {
3732
4026
  return (0, import_smithy_client.take)(output, {
3733
4027
  AddedDateTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "AddedDateTime"),
@@ -3757,6 +4051,12 @@ var de_LDAPSSettingsInfo = /* @__PURE__ */ __name((output, context) => {
3757
4051
  });
3758
4052
  return retVal;
3759
4053
  }, "de_LDAPSSettingsInfo");
4054
+ var de_ListADAssessmentsResult = /* @__PURE__ */ __name((output, context) => {
4055
+ return (0, import_smithy_client.take)(output, {
4056
+ Assessments: /* @__PURE__ */ __name((_) => de_Assessments(_, context), "Assessments"),
4057
+ NextToken: import_smithy_client.expectString
4058
+ });
4059
+ }, "de_ListADAssessmentsResult");
3760
4060
  var de_ListCertificatesResult = /* @__PURE__ */ __name((output, context) => {
3761
4061
  return (0, import_smithy_client.take)(output, {
3762
4062
  CertificatesInfo: /* @__PURE__ */ __name((_) => de_CertificatesInfo(_, context), "CertificatesInfo"),
@@ -4105,6 +4405,21 @@ var CreateDirectoryCommand = class extends import_smithy_client.Command.classBui
4105
4405
  }
4106
4406
  };
4107
4407
 
4408
+ // src/commands/CreateHybridADCommand.ts
4409
+
4410
+
4411
+
4412
+ var CreateHybridADCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
4413
+ return [
4414
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4415
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4416
+ ];
4417
+ }).s("DirectoryService_20150416", "CreateHybridAD", {}).n("DirectoryServiceClient", "CreateHybridADCommand").f(void 0, void 0).ser(se_CreateHybridADCommand).de(de_CreateHybridADCommand).build() {
4418
+ static {
4419
+ __name(this, "CreateHybridADCommand");
4420
+ }
4421
+ };
4422
+
4108
4423
  // src/commands/CreateLogSubscriptionCommand.ts
4109
4424
 
4110
4425
 
@@ -4165,6 +4480,21 @@ var CreateTrustCommand = class extends import_smithy_client.Command.classBuilder
4165
4480
  }
4166
4481
  };
4167
4482
 
4483
+ // src/commands/DeleteADAssessmentCommand.ts
4484
+
4485
+
4486
+
4487
+ var DeleteADAssessmentCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
4488
+ return [
4489
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4490
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4491
+ ];
4492
+ }).s("DirectoryService_20150416", "DeleteADAssessment", {}).n("DirectoryServiceClient", "DeleteADAssessmentCommand").f(void 0, void 0).ser(se_DeleteADAssessmentCommand).de(de_DeleteADAssessmentCommand).build() {
4493
+ static {
4494
+ __name(this, "DeleteADAssessmentCommand");
4495
+ }
4496
+ };
4497
+
4168
4498
  // src/commands/DeleteConditionalForwarderCommand.ts
4169
4499
 
4170
4500
 
@@ -4270,6 +4600,21 @@ var DeregisterEventTopicCommand = class extends import_smithy_client.Command.cla
4270
4600
  }
4271
4601
  };
4272
4602
 
4603
+ // src/commands/DescribeADAssessmentCommand.ts
4604
+
4605
+
4606
+
4607
+ var DescribeADAssessmentCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
4608
+ return [
4609
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4610
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4611
+ ];
4612
+ }).s("DirectoryService_20150416", "DescribeADAssessment", {}).n("DirectoryServiceClient", "DescribeADAssessmentCommand").f(void 0, void 0).ser(se_DescribeADAssessmentCommand).de(de_DescribeADAssessmentCommand).build() {
4613
+ static {
4614
+ __name(this, "DescribeADAssessmentCommand");
4615
+ }
4616
+ };
4617
+
4273
4618
  // src/commands/DescribeCertificateCommand.ts
4274
4619
 
4275
4620
 
@@ -4375,6 +4720,21 @@ var DescribeEventTopicsCommand = class extends import_smithy_client.Command.clas
4375
4720
  }
4376
4721
  };
4377
4722
 
4723
+ // src/commands/DescribeHybridADUpdateCommand.ts
4724
+
4725
+
4726
+
4727
+ var DescribeHybridADUpdateCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
4728
+ return [
4729
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4730
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4731
+ ];
4732
+ }).s("DirectoryService_20150416", "DescribeHybridADUpdate", {}).n("DirectoryServiceClient", "DescribeHybridADUpdateCommand").f(void 0, void 0).ser(se_DescribeHybridADUpdateCommand).de(de_DescribeHybridADUpdateCommand).build() {
4733
+ static {
4734
+ __name(this, "DescribeHybridADUpdateCommand");
4735
+ }
4736
+ };
4737
+
4378
4738
  // src/commands/DescribeLDAPSSettingsCommand.ts
4379
4739
 
4380
4740
 
@@ -4660,6 +5020,21 @@ var GetSnapshotLimitsCommand = class extends import_smithy_client.Command.classB
4660
5020
  }
4661
5021
  };
4662
5022
 
5023
+ // src/commands/ListADAssessmentsCommand.ts
5024
+
5025
+
5026
+
5027
+ var ListADAssessmentsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
5028
+ return [
5029
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
5030
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
5031
+ ];
5032
+ }).s("DirectoryService_20150416", "ListADAssessments", {}).n("DirectoryServiceClient", "ListADAssessmentsCommand").f(void 0, void 0).ser(se_ListADAssessmentsCommand).de(de_ListADAssessmentsCommand).build() {
5033
+ static {
5034
+ __name(this, "ListADAssessmentsCommand");
5035
+ }
5036
+ };
5037
+
4663
5038
  // src/commands/ListCertificatesCommand.ts
4664
5039
 
4665
5040
 
@@ -4870,6 +5245,21 @@ var ShareDirectoryCommand = class extends import_smithy_client.Command.classBuil
4870
5245
  }
4871
5246
  };
4872
5247
 
5248
+ // src/commands/StartADAssessmentCommand.ts
5249
+
5250
+
5251
+
5252
+ var StartADAssessmentCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
5253
+ return [
5254
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
5255
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
5256
+ ];
5257
+ }).s("DirectoryService_20150416", "StartADAssessment", {}).n("DirectoryServiceClient", "StartADAssessmentCommand").f(void 0, void 0).ser(se_StartADAssessmentCommand).de(de_StartADAssessmentCommand).build() {
5258
+ static {
5259
+ __name(this, "StartADAssessmentCommand");
5260
+ }
5261
+ };
5262
+
4873
5263
  // src/commands/StartSchemaExtensionCommand.ts
4874
5264
 
4875
5265
 
@@ -4930,6 +5320,21 @@ var UpdateDirectorySetupCommand = class extends import_smithy_client.Command.cla
4930
5320
  }
4931
5321
  };
4932
5322
 
5323
+ // src/commands/UpdateHybridADCommand.ts
5324
+
5325
+
5326
+
5327
+ var UpdateHybridADCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
5328
+ return [
5329
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
5330
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
5331
+ ];
5332
+ }).s("DirectoryService_20150416", "UpdateHybridAD", {}).n("DirectoryServiceClient", "UpdateHybridADCommand").f(void 0, void 0).ser(se_UpdateHybridADCommand).de(de_UpdateHybridADCommand).build() {
5333
+ static {
5334
+ __name(this, "UpdateHybridADCommand");
5335
+ }
5336
+ };
5337
+
4933
5338
  // src/commands/UpdateNumberOfDomainControllersCommand.ts
4934
5339
 
4935
5340
 
@@ -5017,10 +5422,12 @@ var commands = {
5017
5422
  CreateComputerCommand,
5018
5423
  CreateConditionalForwarderCommand,
5019
5424
  CreateDirectoryCommand,
5425
+ CreateHybridADCommand,
5020
5426
  CreateLogSubscriptionCommand,
5021
5427
  CreateMicrosoftADCommand,
5022
5428
  CreateSnapshotCommand,
5023
5429
  CreateTrustCommand,
5430
+ DeleteADAssessmentCommand,
5024
5431
  DeleteConditionalForwarderCommand,
5025
5432
  DeleteDirectoryCommand,
5026
5433
  DeleteLogSubscriptionCommand,
@@ -5028,6 +5435,7 @@ var commands = {
5028
5435
  DeleteTrustCommand,
5029
5436
  DeregisterCertificateCommand,
5030
5437
  DeregisterEventTopicCommand,
5438
+ DescribeADAssessmentCommand,
5031
5439
  DescribeCertificateCommand,
5032
5440
  DescribeClientAuthenticationSettingsCommand,
5033
5441
  DescribeConditionalForwardersCommand,
@@ -5035,6 +5443,7 @@ var commands = {
5035
5443
  DescribeDirectoryDataAccessCommand,
5036
5444
  DescribeDomainControllersCommand,
5037
5445
  DescribeEventTopicsCommand,
5446
+ DescribeHybridADUpdateCommand,
5038
5447
  DescribeLDAPSSettingsCommand,
5039
5448
  DescribeRegionsCommand,
5040
5449
  DescribeSettingsCommand,
@@ -5054,6 +5463,7 @@ var commands = {
5054
5463
  EnableSsoCommand,
5055
5464
  GetDirectoryLimitsCommand,
5056
5465
  GetSnapshotLimitsCommand,
5466
+ ListADAssessmentsCommand,
5057
5467
  ListCertificatesCommand,
5058
5468
  ListIpRoutesCommand,
5059
5469
  ListLogSubscriptionsCommand,
@@ -5068,10 +5478,12 @@ var commands = {
5068
5478
  ResetUserPasswordCommand,
5069
5479
  RestoreFromSnapshotCommand,
5070
5480
  ShareDirectoryCommand,
5481
+ StartADAssessmentCommand,
5071
5482
  StartSchemaExtensionCommand,
5072
5483
  UnshareDirectoryCommand,
5073
5484
  UpdateConditionalForwarderCommand,
5074
5485
  UpdateDirectorySetupCommand,
5486
+ UpdateHybridADCommand,
5075
5487
  UpdateNumberOfDomainControllersCommand,
5076
5488
  UpdateRadiusCommand,
5077
5489
  UpdateSettingsCommand,
@@ -5121,6 +5533,10 @@ var paginateDescribeTrusts = (0, import_core.createPaginator)(DirectoryServiceCl
5121
5533
 
5122
5534
  var paginateDescribeUpdateDirectory = (0, import_core.createPaginator)(DirectoryServiceClient, DescribeUpdateDirectoryCommand, "NextToken", "NextToken", "");
5123
5535
 
5536
+ // src/pagination/ListADAssessmentsPaginator.ts
5537
+
5538
+ var paginateListADAssessments = (0, import_core.createPaginator)(DirectoryServiceClient, ListADAssessmentsCommand, "NextToken", "NextToken", "Limit");
5539
+
5124
5540
  // src/pagination/ListCertificatesPaginator.ts
5125
5541
 
5126
5542
  var paginateListCertificates = (0, import_core.createPaginator)(DirectoryServiceClient, ListCertificatesCommand, "NextToken", "NextToken", "Limit");
@@ -5140,6 +5556,60 @@ var paginateListSchemaExtensions = (0, import_core.createPaginator)(DirectorySer
5140
5556
  // src/pagination/ListTagsForResourcePaginator.ts
5141
5557
 
5142
5558
  var paginateListTagsForResource = (0, import_core.createPaginator)(DirectoryServiceClient, ListTagsForResourceCommand, "NextToken", "NextToken", "Limit");
5559
+
5560
+ // src/waiters/waitForHybridADUpdated.ts
5561
+ var import_util_waiter = require("@smithy/util-waiter");
5562
+ var checkState = /* @__PURE__ */ __name(async (client, input) => {
5563
+ let reason;
5564
+ try {
5565
+ const result = await client.send(new DescribeHybridADUpdateCommand(input));
5566
+ reason = result;
5567
+ try {
5568
+ const returnComparator = /* @__PURE__ */ __name(() => {
5569
+ const flat_1 = [].concat(...result.UpdateActivities.SelfManagedInstances);
5570
+ const projection_3 = flat_1.map((element_2) => {
5571
+ return element_2.Status;
5572
+ });
5573
+ return projection_3;
5574
+ }, "returnComparator");
5575
+ let allStringEq_5 = returnComparator().length > 0;
5576
+ for (const element_4 of returnComparator()) {
5577
+ allStringEq_5 = allStringEq_5 && element_4 == "Updated";
5578
+ }
5579
+ if (allStringEq_5) {
5580
+ return { state: import_util_waiter.WaiterState.SUCCESS, reason };
5581
+ }
5582
+ } catch (e) {
5583
+ }
5584
+ try {
5585
+ const returnComparator = /* @__PURE__ */ __name(() => {
5586
+ const flat_1 = [].concat(...result.UpdateActivities.SelfManagedInstances);
5587
+ const projection_3 = flat_1.map((element_2) => {
5588
+ return element_2.Status;
5589
+ });
5590
+ return projection_3;
5591
+ }, "returnComparator");
5592
+ for (const anyStringEq_4 of returnComparator()) {
5593
+ if (anyStringEq_4 == "UpdateFailed") {
5594
+ return { state: import_util_waiter.WaiterState.FAILURE, reason };
5595
+ }
5596
+ }
5597
+ } catch (e) {
5598
+ }
5599
+ } catch (exception) {
5600
+ reason = exception;
5601
+ }
5602
+ return { state: import_util_waiter.WaiterState.RETRY, reason };
5603
+ }, "checkState");
5604
+ var waitForHybridADUpdated = /* @__PURE__ */ __name(async (params, input) => {
5605
+ const serviceDefaults = { minDelay: 120, maxDelay: 120 };
5606
+ return (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState);
5607
+ }, "waitForHybridADUpdated");
5608
+ var waitUntilHybridADUpdated = /* @__PURE__ */ __name(async (params, input) => {
5609
+ const serviceDefaults = { minDelay: 120, maxDelay: 120 };
5610
+ const result = await (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState);
5611
+ return (0, import_util_waiter.checkExceptions)(result);
5612
+ }, "waitUntilHybridADUpdated");
5143
5613
  // Annotate the CommonJS export names for ESM import in node:
5144
5614
 
5145
5615
  0 && (module.exports = {
@@ -5158,10 +5628,12 @@ var paginateListTagsForResource = (0, import_core.createPaginator)(DirectoryServ
5158
5628
  CreateComputerCommand,
5159
5629
  CreateConditionalForwarderCommand,
5160
5630
  CreateDirectoryCommand,
5631
+ CreateHybridADCommand,
5161
5632
  CreateLogSubscriptionCommand,
5162
5633
  CreateMicrosoftADCommand,
5163
5634
  CreateSnapshotCommand,
5164
5635
  CreateTrustCommand,
5636
+ DeleteADAssessmentCommand,
5165
5637
  DeleteConditionalForwarderCommand,
5166
5638
  DeleteDirectoryCommand,
5167
5639
  DeleteLogSubscriptionCommand,
@@ -5169,6 +5641,7 @@ var paginateListTagsForResource = (0, import_core.createPaginator)(DirectoryServ
5169
5641
  DeleteTrustCommand,
5170
5642
  DeregisterCertificateCommand,
5171
5643
  DeregisterEventTopicCommand,
5644
+ DescribeADAssessmentCommand,
5172
5645
  DescribeCertificateCommand,
5173
5646
  DescribeClientAuthenticationSettingsCommand,
5174
5647
  DescribeConditionalForwardersCommand,
@@ -5176,6 +5649,7 @@ var paginateListTagsForResource = (0, import_core.createPaginator)(DirectoryServ
5176
5649
  DescribeDirectoryDataAccessCommand,
5177
5650
  DescribeDomainControllersCommand,
5178
5651
  DescribeEventTopicsCommand,
5652
+ DescribeHybridADUpdateCommand,
5179
5653
  DescribeLDAPSSettingsCommand,
5180
5654
  DescribeRegionsCommand,
5181
5655
  DescribeSettingsCommand,
@@ -5195,6 +5669,7 @@ var paginateListTagsForResource = (0, import_core.createPaginator)(DirectoryServ
5195
5669
  EnableSsoCommand,
5196
5670
  GetDirectoryLimitsCommand,
5197
5671
  GetSnapshotLimitsCommand,
5672
+ ListADAssessmentsCommand,
5198
5673
  ListCertificatesCommand,
5199
5674
  ListIpRoutesCommand,
5200
5675
  ListLogSubscriptionsCommand,
@@ -5209,10 +5684,12 @@ var paginateListTagsForResource = (0, import_core.createPaginator)(DirectoryServ
5209
5684
  ResetUserPasswordCommand,
5210
5685
  RestoreFromSnapshotCommand,
5211
5686
  ShareDirectoryCommand,
5687
+ StartADAssessmentCommand,
5212
5688
  StartSchemaExtensionCommand,
5213
5689
  UnshareDirectoryCommand,
5214
5690
  UpdateConditionalForwarderCommand,
5215
5691
  UpdateDirectorySetupCommand,
5692
+ UpdateHybridADCommand,
5216
5693
  UpdateNumberOfDomainControllersCommand,
5217
5694
  UpdateRadiusCommand,
5218
5695
  UpdateSettingsCommand,
@@ -5227,11 +5704,14 @@ var paginateListTagsForResource = (0, import_core.createPaginator)(DirectoryServ
5227
5704
  paginateDescribeSnapshots,
5228
5705
  paginateDescribeTrusts,
5229
5706
  paginateDescribeUpdateDirectory,
5707
+ paginateListADAssessments,
5230
5708
  paginateListCertificates,
5231
5709
  paginateListIpRoutes,
5232
5710
  paginateListLogSubscriptions,
5233
5711
  paginateListSchemaExtensions,
5234
5712
  paginateListTagsForResource,
5713
+ waitForHybridADUpdated,
5714
+ waitUntilHybridADUpdated,
5235
5715
  ShareMethod,
5236
5716
  ShareStatus,
5237
5717
  ClientException,
@@ -5240,6 +5720,7 @@ var paginateListTagsForResource = (0, import_core.createPaginator)(DirectoryServ
5240
5720
  InvalidParameterException,
5241
5721
  ServiceException,
5242
5722
  AccessDeniedException,
5723
+ ADAssessmentLimitExceededException,
5243
5724
  DirectoryUnavailableException,
5244
5725
  EntityAlreadyExistsException,
5245
5726
  IpRouteLimitExceededException,
@@ -5275,6 +5756,8 @@ var paginateListTagsForResource = (0, import_core.createPaginator)(DirectoryServ
5275
5756
  InvalidNextTokenException,
5276
5757
  DomainControllerStatus,
5277
5758
  TopicStatus,
5759
+ HybridUpdateType,
5760
+ UpdateStatus,
5278
5761
  LDAPSType,
5279
5762
  LDAPSStatus,
5280
5763
  RegionType,
@@ -5283,7 +5766,6 @@ var paginateListTagsForResource = (0, import_core.createPaginator)(DirectoryServ
5283
5766
  SnapshotType,
5284
5767
  TrustState,
5285
5768
  UpdateType,
5286
- UpdateStatus,
5287
5769
  DirectoryInDesiredStateException,
5288
5770
  DirectoryNotSharedException,
5289
5771
  InvalidClientAuthStatusException,