@aws-sdk/client-directory-service 3.856.0 → 3.858.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
@@ -43,6 +43,10 @@ import {
43
43
  CreateDirectoryCommandInput,
44
44
  CreateDirectoryCommandOutput,
45
45
  } from "../commands/CreateDirectoryCommand";
46
+ import {
47
+ CreateHybridADCommandInput,
48
+ CreateHybridADCommandOutput,
49
+ } from "../commands/CreateHybridADCommand";
46
50
  import {
47
51
  CreateLogSubscriptionCommandInput,
48
52
  CreateLogSubscriptionCommandOutput,
@@ -59,6 +63,10 @@ import {
59
63
  CreateTrustCommandInput,
60
64
  CreateTrustCommandOutput,
61
65
  } from "../commands/CreateTrustCommand";
66
+ import {
67
+ DeleteADAssessmentCommandInput,
68
+ DeleteADAssessmentCommandOutput,
69
+ } from "../commands/DeleteADAssessmentCommand";
62
70
  import {
63
71
  DeleteConditionalForwarderCommandInput,
64
72
  DeleteConditionalForwarderCommandOutput,
@@ -87,6 +95,10 @@ import {
87
95
  DeregisterEventTopicCommandInput,
88
96
  DeregisterEventTopicCommandOutput,
89
97
  } from "../commands/DeregisterEventTopicCommand";
98
+ import {
99
+ DescribeADAssessmentCommandInput,
100
+ DescribeADAssessmentCommandOutput,
101
+ } from "../commands/DescribeADAssessmentCommand";
90
102
  import {
91
103
  DescribeCertificateCommandInput,
92
104
  DescribeCertificateCommandOutput,
@@ -115,6 +127,10 @@ import {
115
127
  DescribeEventTopicsCommandInput,
116
128
  DescribeEventTopicsCommandOutput,
117
129
  } from "../commands/DescribeEventTopicsCommand";
130
+ import {
131
+ DescribeHybridADUpdateCommandInput,
132
+ DescribeHybridADUpdateCommandOutput,
133
+ } from "../commands/DescribeHybridADUpdateCommand";
118
134
  import {
119
135
  DescribeLDAPSSettingsCommandInput,
120
136
  DescribeLDAPSSettingsCommandOutput,
@@ -191,6 +207,10 @@ import {
191
207
  GetSnapshotLimitsCommandInput,
192
208
  GetSnapshotLimitsCommandOutput,
193
209
  } from "../commands/GetSnapshotLimitsCommand";
210
+ import {
211
+ ListADAssessmentsCommandInput,
212
+ ListADAssessmentsCommandOutput,
213
+ } from "../commands/ListADAssessmentsCommand";
194
214
  import {
195
215
  ListCertificatesCommandInput,
196
216
  ListCertificatesCommandOutput,
@@ -247,6 +267,10 @@ import {
247
267
  ShareDirectoryCommandInput,
248
268
  ShareDirectoryCommandOutput,
249
269
  } from "../commands/ShareDirectoryCommand";
270
+ import {
271
+ StartADAssessmentCommandInput,
272
+ StartADAssessmentCommandOutput,
273
+ } from "../commands/StartADAssessmentCommand";
250
274
  import {
251
275
  StartSchemaExtensionCommandInput,
252
276
  StartSchemaExtensionCommandOutput,
@@ -263,6 +287,10 @@ import {
263
287
  UpdateDirectorySetupCommandInput,
264
288
  UpdateDirectorySetupCommandOutput,
265
289
  } from "../commands/UpdateDirectorySetupCommand";
290
+ import {
291
+ UpdateHybridADCommandInput,
292
+ UpdateHybridADCommandOutput,
293
+ } from "../commands/UpdateHybridADCommand";
266
294
  import {
267
295
  UpdateNumberOfDomainControllersCommandInput,
268
296
  UpdateNumberOfDomainControllersCommandOutput,
@@ -323,6 +351,10 @@ export declare const se_CreateDirectoryCommand: (
323
351
  input: CreateDirectoryCommandInput,
324
352
  context: __SerdeContext
325
353
  ) => Promise<__HttpRequest>;
354
+ export declare const se_CreateHybridADCommand: (
355
+ input: CreateHybridADCommandInput,
356
+ context: __SerdeContext
357
+ ) => Promise<__HttpRequest>;
326
358
  export declare const se_CreateLogSubscriptionCommand: (
327
359
  input: CreateLogSubscriptionCommandInput,
328
360
  context: __SerdeContext
@@ -339,6 +371,10 @@ export declare const se_CreateTrustCommand: (
339
371
  input: CreateTrustCommandInput,
340
372
  context: __SerdeContext
341
373
  ) => Promise<__HttpRequest>;
374
+ export declare const se_DeleteADAssessmentCommand: (
375
+ input: DeleteADAssessmentCommandInput,
376
+ context: __SerdeContext
377
+ ) => Promise<__HttpRequest>;
342
378
  export declare const se_DeleteConditionalForwarderCommand: (
343
379
  input: DeleteConditionalForwarderCommandInput,
344
380
  context: __SerdeContext
@@ -367,6 +403,10 @@ export declare const se_DeregisterEventTopicCommand: (
367
403
  input: DeregisterEventTopicCommandInput,
368
404
  context: __SerdeContext
369
405
  ) => Promise<__HttpRequest>;
406
+ export declare const se_DescribeADAssessmentCommand: (
407
+ input: DescribeADAssessmentCommandInput,
408
+ context: __SerdeContext
409
+ ) => Promise<__HttpRequest>;
370
410
  export declare const se_DescribeCertificateCommand: (
371
411
  input: DescribeCertificateCommandInput,
372
412
  context: __SerdeContext
@@ -395,6 +435,10 @@ export declare const se_DescribeEventTopicsCommand: (
395
435
  input: DescribeEventTopicsCommandInput,
396
436
  context: __SerdeContext
397
437
  ) => Promise<__HttpRequest>;
438
+ export declare const se_DescribeHybridADUpdateCommand: (
439
+ input: DescribeHybridADUpdateCommandInput,
440
+ context: __SerdeContext
441
+ ) => Promise<__HttpRequest>;
398
442
  export declare const se_DescribeLDAPSSettingsCommand: (
399
443
  input: DescribeLDAPSSettingsCommandInput,
400
444
  context: __SerdeContext
@@ -471,6 +515,10 @@ export declare const se_GetSnapshotLimitsCommand: (
471
515
  input: GetSnapshotLimitsCommandInput,
472
516
  context: __SerdeContext
473
517
  ) => Promise<__HttpRequest>;
518
+ export declare const se_ListADAssessmentsCommand: (
519
+ input: ListADAssessmentsCommandInput,
520
+ context: __SerdeContext
521
+ ) => Promise<__HttpRequest>;
474
522
  export declare const se_ListCertificatesCommand: (
475
523
  input: ListCertificatesCommandInput,
476
524
  context: __SerdeContext
@@ -527,6 +575,10 @@ export declare const se_ShareDirectoryCommand: (
527
575
  input: ShareDirectoryCommandInput,
528
576
  context: __SerdeContext
529
577
  ) => Promise<__HttpRequest>;
578
+ export declare const se_StartADAssessmentCommand: (
579
+ input: StartADAssessmentCommandInput,
580
+ context: __SerdeContext
581
+ ) => Promise<__HttpRequest>;
530
582
  export declare const se_StartSchemaExtensionCommand: (
531
583
  input: StartSchemaExtensionCommandInput,
532
584
  context: __SerdeContext
@@ -543,6 +595,10 @@ export declare const se_UpdateDirectorySetupCommand: (
543
595
  input: UpdateDirectorySetupCommandInput,
544
596
  context: __SerdeContext
545
597
  ) => Promise<__HttpRequest>;
598
+ export declare const se_UpdateHybridADCommand: (
599
+ input: UpdateHybridADCommandInput,
600
+ context: __SerdeContext
601
+ ) => Promise<__HttpRequest>;
546
602
  export declare const se_UpdateNumberOfDomainControllersCommand: (
547
603
  input: UpdateNumberOfDomainControllersCommandInput,
548
604
  context: __SerdeContext
@@ -603,6 +659,10 @@ export declare const de_CreateDirectoryCommand: (
603
659
  output: __HttpResponse,
604
660
  context: __SerdeContext
605
661
  ) => Promise<CreateDirectoryCommandOutput>;
662
+ export declare const de_CreateHybridADCommand: (
663
+ output: __HttpResponse,
664
+ context: __SerdeContext
665
+ ) => Promise<CreateHybridADCommandOutput>;
606
666
  export declare const de_CreateLogSubscriptionCommand: (
607
667
  output: __HttpResponse,
608
668
  context: __SerdeContext
@@ -619,6 +679,10 @@ export declare const de_CreateTrustCommand: (
619
679
  output: __HttpResponse,
620
680
  context: __SerdeContext
621
681
  ) => Promise<CreateTrustCommandOutput>;
682
+ export declare const de_DeleteADAssessmentCommand: (
683
+ output: __HttpResponse,
684
+ context: __SerdeContext
685
+ ) => Promise<DeleteADAssessmentCommandOutput>;
622
686
  export declare const de_DeleteConditionalForwarderCommand: (
623
687
  output: __HttpResponse,
624
688
  context: __SerdeContext
@@ -647,6 +711,10 @@ export declare const de_DeregisterEventTopicCommand: (
647
711
  output: __HttpResponse,
648
712
  context: __SerdeContext
649
713
  ) => Promise<DeregisterEventTopicCommandOutput>;
714
+ export declare const de_DescribeADAssessmentCommand: (
715
+ output: __HttpResponse,
716
+ context: __SerdeContext
717
+ ) => Promise<DescribeADAssessmentCommandOutput>;
650
718
  export declare const de_DescribeCertificateCommand: (
651
719
  output: __HttpResponse,
652
720
  context: __SerdeContext
@@ -675,6 +743,10 @@ export declare const de_DescribeEventTopicsCommand: (
675
743
  output: __HttpResponse,
676
744
  context: __SerdeContext
677
745
  ) => Promise<DescribeEventTopicsCommandOutput>;
746
+ export declare const de_DescribeHybridADUpdateCommand: (
747
+ output: __HttpResponse,
748
+ context: __SerdeContext
749
+ ) => Promise<DescribeHybridADUpdateCommandOutput>;
678
750
  export declare const de_DescribeLDAPSSettingsCommand: (
679
751
  output: __HttpResponse,
680
752
  context: __SerdeContext
@@ -751,6 +823,10 @@ export declare const de_GetSnapshotLimitsCommand: (
751
823
  output: __HttpResponse,
752
824
  context: __SerdeContext
753
825
  ) => Promise<GetSnapshotLimitsCommandOutput>;
826
+ export declare const de_ListADAssessmentsCommand: (
827
+ output: __HttpResponse,
828
+ context: __SerdeContext
829
+ ) => Promise<ListADAssessmentsCommandOutput>;
754
830
  export declare const de_ListCertificatesCommand: (
755
831
  output: __HttpResponse,
756
832
  context: __SerdeContext
@@ -807,6 +883,10 @@ export declare const de_ShareDirectoryCommand: (
807
883
  output: __HttpResponse,
808
884
  context: __SerdeContext
809
885
  ) => Promise<ShareDirectoryCommandOutput>;
886
+ export declare const de_StartADAssessmentCommand: (
887
+ output: __HttpResponse,
888
+ context: __SerdeContext
889
+ ) => Promise<StartADAssessmentCommandOutput>;
810
890
  export declare const de_StartSchemaExtensionCommand: (
811
891
  output: __HttpResponse,
812
892
  context: __SerdeContext
@@ -823,6 +903,10 @@ export declare const de_UpdateDirectorySetupCommand: (
823
903
  output: __HttpResponse,
824
904
  context: __SerdeContext
825
905
  ) => Promise<UpdateDirectorySetupCommandOutput>;
906
+ export declare const de_UpdateHybridADCommand: (
907
+ output: __HttpResponse,
908
+ context: __SerdeContext
909
+ ) => Promise<UpdateHybridADCommandOutput>;
826
910
  export declare const de_UpdateNumberOfDomainControllersCommand: (
827
911
  output: __HttpResponse,
828
912
  context: __SerdeContext
@@ -0,0 +1 @@
1
+ export * from "./waitForHybridADUpdated";
@@ -0,0 +1,11 @@
1
+ import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
2
+ import { DescribeHybridADUpdateCommandInput } from "../commands/DescribeHybridADUpdateCommand";
3
+ import { DirectoryServiceClient } from "../DirectoryServiceClient";
4
+ export declare const waitForHybridADUpdated: (
5
+ params: WaiterConfiguration<DirectoryServiceClient>,
6
+ input: DescribeHybridADUpdateCommandInput
7
+ ) => Promise<WaiterResult>;
8
+ export declare const waitUntilHybridADUpdated: (
9
+ params: WaiterConfiguration<DirectoryServiceClient>,
10
+ input: DescribeHybridADUpdateCommandInput
11
+ ) => Promise<WaiterResult>;
@@ -0,0 +1 @@
1
+ export * from "./waitForHybridADUpdated";
@@ -0,0 +1,14 @@
1
+ import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
2
+ import { DescribeHybridADUpdateCommandInput } from "../commands/DescribeHybridADUpdateCommand";
3
+ import { DirectoryServiceClient } from "../DirectoryServiceClient";
4
+ /**
5
+ *
6
+ * @deprecated Use waitUntilHybridADUpdated instead. waitForHybridADUpdated does not throw error in non-success cases.
7
+ */
8
+ export declare const waitForHybridADUpdated: (params: WaiterConfiguration<DirectoryServiceClient>, input: DescribeHybridADUpdateCommandInput) => Promise<WaiterResult>;
9
+ /**
10
+ *
11
+ * @param params - Waiter configuration options.
12
+ * @param input - The input to DescribeHybridADUpdateCommand for polling.
13
+ */
14
+ export declare const waitUntilHybridADUpdated: (params: WaiterConfiguration<DirectoryServiceClient>, input: DescribeHybridADUpdateCommandInput) => Promise<WaiterResult>;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-directory-service",
3
3
  "description": "AWS SDK for JavaScript Directory Service Client for Node.js, Browser and React Native",
4
- "version": "3.856.0",
4
+ "version": "3.858.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-directory-service",
@@ -20,42 +20,43 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.856.0",
24
- "@aws-sdk/credential-provider-node": "3.856.0",
23
+ "@aws-sdk/core": "3.858.0",
24
+ "@aws-sdk/credential-provider-node": "3.858.0",
25
25
  "@aws-sdk/middleware-host-header": "3.840.0",
26
26
  "@aws-sdk/middleware-logger": "3.840.0",
27
27
  "@aws-sdk/middleware-recursion-detection": "3.840.0",
28
- "@aws-sdk/middleware-user-agent": "3.856.0",
28
+ "@aws-sdk/middleware-user-agent": "3.858.0",
29
29
  "@aws-sdk/region-config-resolver": "3.840.0",
30
30
  "@aws-sdk/types": "3.840.0",
31
31
  "@aws-sdk/util-endpoints": "3.848.0",
32
32
  "@aws-sdk/util-user-agent-browser": "3.840.0",
33
- "@aws-sdk/util-user-agent-node": "3.856.0",
33
+ "@aws-sdk/util-user-agent-node": "3.858.0",
34
34
  "@smithy/config-resolver": "^4.1.4",
35
- "@smithy/core": "^3.7.0",
35
+ "@smithy/core": "^3.7.2",
36
36
  "@smithy/fetch-http-handler": "^5.1.0",
37
37
  "@smithy/hash-node": "^4.0.4",
38
38
  "@smithy/invalid-dependency": "^4.0.4",
39
39
  "@smithy/middleware-content-length": "^4.0.4",
40
- "@smithy/middleware-endpoint": "^4.1.15",
41
- "@smithy/middleware-retry": "^4.1.16",
40
+ "@smithy/middleware-endpoint": "^4.1.17",
41
+ "@smithy/middleware-retry": "^4.1.18",
42
42
  "@smithy/middleware-serde": "^4.0.8",
43
43
  "@smithy/middleware-stack": "^4.0.4",
44
44
  "@smithy/node-config-provider": "^4.1.3",
45
45
  "@smithy/node-http-handler": "^4.1.0",
46
46
  "@smithy/protocol-http": "^5.1.2",
47
- "@smithy/smithy-client": "^4.4.7",
47
+ "@smithy/smithy-client": "^4.4.9",
48
48
  "@smithy/types": "^4.3.1",
49
49
  "@smithy/url-parser": "^4.0.4",
50
50
  "@smithy/util-base64": "^4.0.0",
51
51
  "@smithy/util-body-length-browser": "^4.0.0",
52
52
  "@smithy/util-body-length-node": "^4.0.0",
53
- "@smithy/util-defaults-mode-browser": "^4.0.23",
54
- "@smithy/util-defaults-mode-node": "^4.0.23",
53
+ "@smithy/util-defaults-mode-browser": "^4.0.25",
54
+ "@smithy/util-defaults-mode-node": "^4.0.25",
55
55
  "@smithy/util-endpoints": "^3.0.6",
56
56
  "@smithy/util-middleware": "^4.0.4",
57
57
  "@smithy/util-retry": "^4.0.6",
58
58
  "@smithy/util-utf8": "^4.0.0",
59
+ "@smithy/util-waiter": "^4.0.6",
59
60
  "tslib": "^2.6.2"
60
61
  },
61
62
  "devDependencies": {