@aws-sdk/client-directory-service 3.975.0 → 3.980.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +104 -84
- package/dist-es/DirectoryService.js +37 -1
- package/dist-types/DirectoryService.d.ts +113 -1
- package/dist-types/ts3.4/DirectoryService.d.ts +121 -1
- package/package.json +18 -18
package/dist-cjs/index.js
CHANGED
|
@@ -3873,6 +3873,89 @@ class VerifyTrustCommand extends smithyClient.Command
|
|
|
3873
3873
|
.build() {
|
|
3874
3874
|
}
|
|
3875
3875
|
|
|
3876
|
+
const paginateDescribeClientAuthenticationSettings = core.createPaginator(DirectoryServiceClient, DescribeClientAuthenticationSettingsCommand, "NextToken", "NextToken", "Limit");
|
|
3877
|
+
|
|
3878
|
+
const paginateDescribeDirectories = core.createPaginator(DirectoryServiceClient, DescribeDirectoriesCommand, "NextToken", "NextToken", "Limit");
|
|
3879
|
+
|
|
3880
|
+
const paginateDescribeDomainControllers = core.createPaginator(DirectoryServiceClient, DescribeDomainControllersCommand, "NextToken", "NextToken", "Limit");
|
|
3881
|
+
|
|
3882
|
+
const paginateDescribeLDAPSSettings = core.createPaginator(DirectoryServiceClient, DescribeLDAPSSettingsCommand, "NextToken", "NextToken", "Limit");
|
|
3883
|
+
|
|
3884
|
+
const paginateDescribeRegions = core.createPaginator(DirectoryServiceClient, DescribeRegionsCommand, "NextToken", "NextToken", "");
|
|
3885
|
+
|
|
3886
|
+
const paginateDescribeSharedDirectories = core.createPaginator(DirectoryServiceClient, DescribeSharedDirectoriesCommand, "NextToken", "NextToken", "Limit");
|
|
3887
|
+
|
|
3888
|
+
const paginateDescribeSnapshots = core.createPaginator(DirectoryServiceClient, DescribeSnapshotsCommand, "NextToken", "NextToken", "Limit");
|
|
3889
|
+
|
|
3890
|
+
const paginateDescribeTrusts = core.createPaginator(DirectoryServiceClient, DescribeTrustsCommand, "NextToken", "NextToken", "Limit");
|
|
3891
|
+
|
|
3892
|
+
const paginateDescribeUpdateDirectory = core.createPaginator(DirectoryServiceClient, DescribeUpdateDirectoryCommand, "NextToken", "NextToken", "");
|
|
3893
|
+
|
|
3894
|
+
const paginateListADAssessments = core.createPaginator(DirectoryServiceClient, ListADAssessmentsCommand, "NextToken", "NextToken", "Limit");
|
|
3895
|
+
|
|
3896
|
+
const paginateListCertificates = core.createPaginator(DirectoryServiceClient, ListCertificatesCommand, "NextToken", "NextToken", "Limit");
|
|
3897
|
+
|
|
3898
|
+
const paginateListIpRoutes = core.createPaginator(DirectoryServiceClient, ListIpRoutesCommand, "NextToken", "NextToken", "Limit");
|
|
3899
|
+
|
|
3900
|
+
const paginateListLogSubscriptions = core.createPaginator(DirectoryServiceClient, ListLogSubscriptionsCommand, "NextToken", "NextToken", "Limit");
|
|
3901
|
+
|
|
3902
|
+
const paginateListSchemaExtensions = core.createPaginator(DirectoryServiceClient, ListSchemaExtensionsCommand, "NextToken", "NextToken", "Limit");
|
|
3903
|
+
|
|
3904
|
+
const paginateListTagsForResource = core.createPaginator(DirectoryServiceClient, ListTagsForResourceCommand, "NextToken", "NextToken", "Limit");
|
|
3905
|
+
|
|
3906
|
+
const checkState = async (client, input) => {
|
|
3907
|
+
let reason;
|
|
3908
|
+
try {
|
|
3909
|
+
let result = await client.send(new DescribeHybridADUpdateCommand(input));
|
|
3910
|
+
reason = result;
|
|
3911
|
+
try {
|
|
3912
|
+
const returnComparator = () => {
|
|
3913
|
+
let flat_1 = [].concat(...result.UpdateActivities.SelfManagedInstances);
|
|
3914
|
+
let projection_3 = flat_1.map((element_2) => {
|
|
3915
|
+
return element_2.Status;
|
|
3916
|
+
});
|
|
3917
|
+
return projection_3;
|
|
3918
|
+
};
|
|
3919
|
+
let allStringEq_5 = (returnComparator().length > 0);
|
|
3920
|
+
for (let element_4 of returnComparator()) {
|
|
3921
|
+
allStringEq_5 = allStringEq_5 && (element_4 == "Updated");
|
|
3922
|
+
}
|
|
3923
|
+
if (allStringEq_5) {
|
|
3924
|
+
return { state: utilWaiter.WaiterState.SUCCESS, reason };
|
|
3925
|
+
}
|
|
3926
|
+
}
|
|
3927
|
+
catch (e) { }
|
|
3928
|
+
try {
|
|
3929
|
+
const returnComparator = () => {
|
|
3930
|
+
let flat_1 = [].concat(...result.UpdateActivities.SelfManagedInstances);
|
|
3931
|
+
let projection_3 = flat_1.map((element_2) => {
|
|
3932
|
+
return element_2.Status;
|
|
3933
|
+
});
|
|
3934
|
+
return projection_3;
|
|
3935
|
+
};
|
|
3936
|
+
for (let anyStringEq_4 of returnComparator()) {
|
|
3937
|
+
if (anyStringEq_4 == "UpdateFailed") {
|
|
3938
|
+
return { state: utilWaiter.WaiterState.FAILURE, reason };
|
|
3939
|
+
}
|
|
3940
|
+
}
|
|
3941
|
+
}
|
|
3942
|
+
catch (e) { }
|
|
3943
|
+
}
|
|
3944
|
+
catch (exception) {
|
|
3945
|
+
reason = exception;
|
|
3946
|
+
}
|
|
3947
|
+
return { state: utilWaiter.WaiterState.RETRY, reason };
|
|
3948
|
+
};
|
|
3949
|
+
const waitForHybridADUpdated = async (params, input) => {
|
|
3950
|
+
const serviceDefaults = { minDelay: 120, maxDelay: 120 };
|
|
3951
|
+
return utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState);
|
|
3952
|
+
};
|
|
3953
|
+
const waitUntilHybridADUpdated = async (params, input) => {
|
|
3954
|
+
const serviceDefaults = { minDelay: 120, maxDelay: 120 };
|
|
3955
|
+
const result = await utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState);
|
|
3956
|
+
return utilWaiter.checkExceptions(result);
|
|
3957
|
+
};
|
|
3958
|
+
|
|
3876
3959
|
const commands = {
|
|
3877
3960
|
AcceptSharedDirectoryCommand,
|
|
3878
3961
|
AddIpRoutesCommand,
|
|
@@ -3955,92 +4038,29 @@ const commands = {
|
|
|
3955
4038
|
UpdateTrustCommand,
|
|
3956
4039
|
VerifyTrustCommand,
|
|
3957
4040
|
};
|
|
3958
|
-
|
|
3959
|
-
|
|
3960
|
-
|
|
3961
|
-
|
|
3962
|
-
|
|
3963
|
-
|
|
3964
|
-
|
|
3965
|
-
|
|
3966
|
-
|
|
3967
|
-
|
|
3968
|
-
|
|
3969
|
-
|
|
3970
|
-
|
|
3971
|
-
|
|
3972
|
-
|
|
3973
|
-
|
|
3974
|
-
const paginateDescribeSnapshots = core.createPaginator(DirectoryServiceClient, DescribeSnapshotsCommand, "NextToken", "NextToken", "Limit");
|
|
3975
|
-
|
|
3976
|
-
const paginateDescribeTrusts = core.createPaginator(DirectoryServiceClient, DescribeTrustsCommand, "NextToken", "NextToken", "Limit");
|
|
3977
|
-
|
|
3978
|
-
const paginateDescribeUpdateDirectory = core.createPaginator(DirectoryServiceClient, DescribeUpdateDirectoryCommand, "NextToken", "NextToken", "");
|
|
3979
|
-
|
|
3980
|
-
const paginateListADAssessments = core.createPaginator(DirectoryServiceClient, ListADAssessmentsCommand, "NextToken", "NextToken", "Limit");
|
|
3981
|
-
|
|
3982
|
-
const paginateListCertificates = core.createPaginator(DirectoryServiceClient, ListCertificatesCommand, "NextToken", "NextToken", "Limit");
|
|
3983
|
-
|
|
3984
|
-
const paginateListIpRoutes = core.createPaginator(DirectoryServiceClient, ListIpRoutesCommand, "NextToken", "NextToken", "Limit");
|
|
3985
|
-
|
|
3986
|
-
const paginateListLogSubscriptions = core.createPaginator(DirectoryServiceClient, ListLogSubscriptionsCommand, "NextToken", "NextToken", "Limit");
|
|
3987
|
-
|
|
3988
|
-
const paginateListSchemaExtensions = core.createPaginator(DirectoryServiceClient, ListSchemaExtensionsCommand, "NextToken", "NextToken", "Limit");
|
|
3989
|
-
|
|
3990
|
-
const paginateListTagsForResource = core.createPaginator(DirectoryServiceClient, ListTagsForResourceCommand, "NextToken", "NextToken", "Limit");
|
|
3991
|
-
|
|
3992
|
-
const checkState = async (client, input) => {
|
|
3993
|
-
let reason;
|
|
3994
|
-
try {
|
|
3995
|
-
let result = await client.send(new DescribeHybridADUpdateCommand(input));
|
|
3996
|
-
reason = result;
|
|
3997
|
-
try {
|
|
3998
|
-
const returnComparator = () => {
|
|
3999
|
-
let flat_1 = [].concat(...result.UpdateActivities.SelfManagedInstances);
|
|
4000
|
-
let projection_3 = flat_1.map((element_2) => {
|
|
4001
|
-
return element_2.Status;
|
|
4002
|
-
});
|
|
4003
|
-
return projection_3;
|
|
4004
|
-
};
|
|
4005
|
-
let allStringEq_5 = (returnComparator().length > 0);
|
|
4006
|
-
for (let element_4 of returnComparator()) {
|
|
4007
|
-
allStringEq_5 = allStringEq_5 && (element_4 == "Updated");
|
|
4008
|
-
}
|
|
4009
|
-
if (allStringEq_5) {
|
|
4010
|
-
return { state: utilWaiter.WaiterState.SUCCESS, reason };
|
|
4011
|
-
}
|
|
4012
|
-
}
|
|
4013
|
-
catch (e) { }
|
|
4014
|
-
try {
|
|
4015
|
-
const returnComparator = () => {
|
|
4016
|
-
let flat_1 = [].concat(...result.UpdateActivities.SelfManagedInstances);
|
|
4017
|
-
let projection_3 = flat_1.map((element_2) => {
|
|
4018
|
-
return element_2.Status;
|
|
4019
|
-
});
|
|
4020
|
-
return projection_3;
|
|
4021
|
-
};
|
|
4022
|
-
for (let anyStringEq_4 of returnComparator()) {
|
|
4023
|
-
if (anyStringEq_4 == "UpdateFailed") {
|
|
4024
|
-
return { state: utilWaiter.WaiterState.FAILURE, reason };
|
|
4025
|
-
}
|
|
4026
|
-
}
|
|
4027
|
-
}
|
|
4028
|
-
catch (e) { }
|
|
4029
|
-
}
|
|
4030
|
-
catch (exception) {
|
|
4031
|
-
reason = exception;
|
|
4032
|
-
}
|
|
4033
|
-
return { state: utilWaiter.WaiterState.RETRY, reason };
|
|
4034
|
-
};
|
|
4035
|
-
const waitForHybridADUpdated = async (params, input) => {
|
|
4036
|
-
const serviceDefaults = { minDelay: 120, maxDelay: 120 };
|
|
4037
|
-
return utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState);
|
|
4041
|
+
const paginators = {
|
|
4042
|
+
paginateDescribeClientAuthenticationSettings,
|
|
4043
|
+
paginateDescribeDirectories,
|
|
4044
|
+
paginateDescribeDomainControllers,
|
|
4045
|
+
paginateDescribeLDAPSSettings,
|
|
4046
|
+
paginateDescribeRegions,
|
|
4047
|
+
paginateDescribeSharedDirectories,
|
|
4048
|
+
paginateDescribeSnapshots,
|
|
4049
|
+
paginateDescribeTrusts,
|
|
4050
|
+
paginateDescribeUpdateDirectory,
|
|
4051
|
+
paginateListADAssessments,
|
|
4052
|
+
paginateListCertificates,
|
|
4053
|
+
paginateListIpRoutes,
|
|
4054
|
+
paginateListLogSubscriptions,
|
|
4055
|
+
paginateListSchemaExtensions,
|
|
4056
|
+
paginateListTagsForResource,
|
|
4038
4057
|
};
|
|
4039
|
-
const
|
|
4040
|
-
|
|
4041
|
-
const result = await utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState);
|
|
4042
|
-
return utilWaiter.checkExceptions(result);
|
|
4058
|
+
const waiters = {
|
|
4059
|
+
waitUntilHybridADUpdated,
|
|
4043
4060
|
};
|
|
4061
|
+
class DirectoryService extends DirectoryServiceClient {
|
|
4062
|
+
}
|
|
4063
|
+
smithyClient.createAggregatedClient(commands, DirectoryService, { paginators, waiters });
|
|
4044
4064
|
|
|
4045
4065
|
const ShareMethod = {
|
|
4046
4066
|
HANDSHAKE: "HANDSHAKE",
|
|
@@ -80,6 +80,22 @@ import { UpdateSettingsCommand, } from "./commands/UpdateSettingsCommand";
|
|
|
80
80
|
import { UpdateTrustCommand } from "./commands/UpdateTrustCommand";
|
|
81
81
|
import { VerifyTrustCommand } from "./commands/VerifyTrustCommand";
|
|
82
82
|
import { DirectoryServiceClient } from "./DirectoryServiceClient";
|
|
83
|
+
import { paginateDescribeClientAuthenticationSettings, } from "./pagination/DescribeClientAuthenticationSettingsPaginator";
|
|
84
|
+
import { paginateDescribeDirectories } from "./pagination/DescribeDirectoriesPaginator";
|
|
85
|
+
import { paginateDescribeDomainControllers } from "./pagination/DescribeDomainControllersPaginator";
|
|
86
|
+
import { paginateDescribeLDAPSSettings } from "./pagination/DescribeLDAPSSettingsPaginator";
|
|
87
|
+
import { paginateDescribeRegions } from "./pagination/DescribeRegionsPaginator";
|
|
88
|
+
import { paginateDescribeSharedDirectories } from "./pagination/DescribeSharedDirectoriesPaginator";
|
|
89
|
+
import { paginateDescribeSnapshots } from "./pagination/DescribeSnapshotsPaginator";
|
|
90
|
+
import { paginateDescribeTrusts } from "./pagination/DescribeTrustsPaginator";
|
|
91
|
+
import { paginateDescribeUpdateDirectory } from "./pagination/DescribeUpdateDirectoryPaginator";
|
|
92
|
+
import { paginateListADAssessments } from "./pagination/ListADAssessmentsPaginator";
|
|
93
|
+
import { paginateListCertificates } from "./pagination/ListCertificatesPaginator";
|
|
94
|
+
import { paginateListIpRoutes } from "./pagination/ListIpRoutesPaginator";
|
|
95
|
+
import { paginateListLogSubscriptions } from "./pagination/ListLogSubscriptionsPaginator";
|
|
96
|
+
import { paginateListSchemaExtensions } from "./pagination/ListSchemaExtensionsPaginator";
|
|
97
|
+
import { paginateListTagsForResource } from "./pagination/ListTagsForResourcePaginator";
|
|
98
|
+
import { waitUntilHybridADUpdated } from "./waiters/waitForHybridADUpdated";
|
|
83
99
|
const commands = {
|
|
84
100
|
AcceptSharedDirectoryCommand,
|
|
85
101
|
AddIpRoutesCommand,
|
|
@@ -162,6 +178,26 @@ const commands = {
|
|
|
162
178
|
UpdateTrustCommand,
|
|
163
179
|
VerifyTrustCommand,
|
|
164
180
|
};
|
|
181
|
+
const paginators = {
|
|
182
|
+
paginateDescribeClientAuthenticationSettings,
|
|
183
|
+
paginateDescribeDirectories,
|
|
184
|
+
paginateDescribeDomainControllers,
|
|
185
|
+
paginateDescribeLDAPSSettings,
|
|
186
|
+
paginateDescribeRegions,
|
|
187
|
+
paginateDescribeSharedDirectories,
|
|
188
|
+
paginateDescribeSnapshots,
|
|
189
|
+
paginateDescribeTrusts,
|
|
190
|
+
paginateDescribeUpdateDirectory,
|
|
191
|
+
paginateListADAssessments,
|
|
192
|
+
paginateListCertificates,
|
|
193
|
+
paginateListIpRoutes,
|
|
194
|
+
paginateListLogSubscriptions,
|
|
195
|
+
paginateListSchemaExtensions,
|
|
196
|
+
paginateListTagsForResource,
|
|
197
|
+
};
|
|
198
|
+
const waiters = {
|
|
199
|
+
waitUntilHybridADUpdated,
|
|
200
|
+
};
|
|
165
201
|
export class DirectoryService extends DirectoryServiceClient {
|
|
166
202
|
}
|
|
167
|
-
createAggregatedClient(commands, DirectoryService);
|
|
203
|
+
createAggregatedClient(commands, DirectoryService, { paginators, waiters });
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import type { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
1
|
+
import type { HttpHandlerOptions as __HttpHandlerOptions, PaginationConfiguration, Paginator, WaiterConfiguration } from "@smithy/types";
|
|
2
|
+
import type { WaiterResult } from "@smithy/util-waiter";
|
|
2
3
|
import { AcceptSharedDirectoryCommandInput, AcceptSharedDirectoryCommandOutput } from "./commands/AcceptSharedDirectoryCommand";
|
|
3
4
|
import { AddIpRoutesCommandInput, AddIpRoutesCommandOutput } from "./commands/AddIpRoutesCommand";
|
|
4
5
|
import { AddRegionCommandInput, AddRegionCommandOutput } from "./commands/AddRegionCommand";
|
|
@@ -569,6 +570,117 @@ export interface DirectoryService {
|
|
|
569
570
|
verifyTrust(args: VerifyTrustCommandInput, options?: __HttpHandlerOptions): Promise<VerifyTrustCommandOutput>;
|
|
570
571
|
verifyTrust(args: VerifyTrustCommandInput, cb: (err: any, data?: VerifyTrustCommandOutput) => void): void;
|
|
571
572
|
verifyTrust(args: VerifyTrustCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: VerifyTrustCommandOutput) => void): void;
|
|
573
|
+
/**
|
|
574
|
+
* @see {@link DescribeClientAuthenticationSettingsCommand}
|
|
575
|
+
* @param args - command input.
|
|
576
|
+
* @param paginationConfig - optional pagination config.
|
|
577
|
+
* @returns AsyncIterable of {@link DescribeClientAuthenticationSettingsCommandOutput}.
|
|
578
|
+
*/
|
|
579
|
+
paginateDescribeClientAuthenticationSettings(args: DescribeClientAuthenticationSettingsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<DescribeClientAuthenticationSettingsCommandOutput>;
|
|
580
|
+
/**
|
|
581
|
+
* @see {@link DescribeDirectoriesCommand}
|
|
582
|
+
* @param args - command input.
|
|
583
|
+
* @param paginationConfig - optional pagination config.
|
|
584
|
+
* @returns AsyncIterable of {@link DescribeDirectoriesCommandOutput}.
|
|
585
|
+
*/
|
|
586
|
+
paginateDescribeDirectories(args?: DescribeDirectoriesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<DescribeDirectoriesCommandOutput>;
|
|
587
|
+
/**
|
|
588
|
+
* @see {@link DescribeDomainControllersCommand}
|
|
589
|
+
* @param args - command input.
|
|
590
|
+
* @param paginationConfig - optional pagination config.
|
|
591
|
+
* @returns AsyncIterable of {@link DescribeDomainControllersCommandOutput}.
|
|
592
|
+
*/
|
|
593
|
+
paginateDescribeDomainControllers(args: DescribeDomainControllersCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<DescribeDomainControllersCommandOutput>;
|
|
594
|
+
/**
|
|
595
|
+
* @see {@link DescribeLDAPSSettingsCommand}
|
|
596
|
+
* @param args - command input.
|
|
597
|
+
* @param paginationConfig - optional pagination config.
|
|
598
|
+
* @returns AsyncIterable of {@link DescribeLDAPSSettingsCommandOutput}.
|
|
599
|
+
*/
|
|
600
|
+
paginateDescribeLDAPSSettings(args: DescribeLDAPSSettingsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<DescribeLDAPSSettingsCommandOutput>;
|
|
601
|
+
/**
|
|
602
|
+
* @see {@link DescribeRegionsCommand}
|
|
603
|
+
* @param args - command input.
|
|
604
|
+
* @param paginationConfig - optional pagination config.
|
|
605
|
+
* @returns AsyncIterable of {@link DescribeRegionsCommandOutput}.
|
|
606
|
+
*/
|
|
607
|
+
paginateDescribeRegions(args: DescribeRegionsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<DescribeRegionsCommandOutput>;
|
|
608
|
+
/**
|
|
609
|
+
* @see {@link DescribeSharedDirectoriesCommand}
|
|
610
|
+
* @param args - command input.
|
|
611
|
+
* @param paginationConfig - optional pagination config.
|
|
612
|
+
* @returns AsyncIterable of {@link DescribeSharedDirectoriesCommandOutput}.
|
|
613
|
+
*/
|
|
614
|
+
paginateDescribeSharedDirectories(args: DescribeSharedDirectoriesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<DescribeSharedDirectoriesCommandOutput>;
|
|
615
|
+
/**
|
|
616
|
+
* @see {@link DescribeSnapshotsCommand}
|
|
617
|
+
* @param args - command input.
|
|
618
|
+
* @param paginationConfig - optional pagination config.
|
|
619
|
+
* @returns AsyncIterable of {@link DescribeSnapshotsCommandOutput}.
|
|
620
|
+
*/
|
|
621
|
+
paginateDescribeSnapshots(args?: DescribeSnapshotsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<DescribeSnapshotsCommandOutput>;
|
|
622
|
+
/**
|
|
623
|
+
* @see {@link DescribeTrustsCommand}
|
|
624
|
+
* @param args - command input.
|
|
625
|
+
* @param paginationConfig - optional pagination config.
|
|
626
|
+
* @returns AsyncIterable of {@link DescribeTrustsCommandOutput}.
|
|
627
|
+
*/
|
|
628
|
+
paginateDescribeTrusts(args?: DescribeTrustsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<DescribeTrustsCommandOutput>;
|
|
629
|
+
/**
|
|
630
|
+
* @see {@link DescribeUpdateDirectoryCommand}
|
|
631
|
+
* @param args - command input.
|
|
632
|
+
* @param paginationConfig - optional pagination config.
|
|
633
|
+
* @returns AsyncIterable of {@link DescribeUpdateDirectoryCommandOutput}.
|
|
634
|
+
*/
|
|
635
|
+
paginateDescribeUpdateDirectory(args: DescribeUpdateDirectoryCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<DescribeUpdateDirectoryCommandOutput>;
|
|
636
|
+
/**
|
|
637
|
+
* @see {@link ListADAssessmentsCommand}
|
|
638
|
+
* @param args - command input.
|
|
639
|
+
* @param paginationConfig - optional pagination config.
|
|
640
|
+
* @returns AsyncIterable of {@link ListADAssessmentsCommandOutput}.
|
|
641
|
+
*/
|
|
642
|
+
paginateListADAssessments(args?: ListADAssessmentsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListADAssessmentsCommandOutput>;
|
|
643
|
+
/**
|
|
644
|
+
* @see {@link ListCertificatesCommand}
|
|
645
|
+
* @param args - command input.
|
|
646
|
+
* @param paginationConfig - optional pagination config.
|
|
647
|
+
* @returns AsyncIterable of {@link ListCertificatesCommandOutput}.
|
|
648
|
+
*/
|
|
649
|
+
paginateListCertificates(args: ListCertificatesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListCertificatesCommandOutput>;
|
|
650
|
+
/**
|
|
651
|
+
* @see {@link ListIpRoutesCommand}
|
|
652
|
+
* @param args - command input.
|
|
653
|
+
* @param paginationConfig - optional pagination config.
|
|
654
|
+
* @returns AsyncIterable of {@link ListIpRoutesCommandOutput}.
|
|
655
|
+
*/
|
|
656
|
+
paginateListIpRoutes(args: ListIpRoutesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListIpRoutesCommandOutput>;
|
|
657
|
+
/**
|
|
658
|
+
* @see {@link ListLogSubscriptionsCommand}
|
|
659
|
+
* @param args - command input.
|
|
660
|
+
* @param paginationConfig - optional pagination config.
|
|
661
|
+
* @returns AsyncIterable of {@link ListLogSubscriptionsCommandOutput}.
|
|
662
|
+
*/
|
|
663
|
+
paginateListLogSubscriptions(args?: ListLogSubscriptionsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListLogSubscriptionsCommandOutput>;
|
|
664
|
+
/**
|
|
665
|
+
* @see {@link ListSchemaExtensionsCommand}
|
|
666
|
+
* @param args - command input.
|
|
667
|
+
* @param paginationConfig - optional pagination config.
|
|
668
|
+
* @returns AsyncIterable of {@link ListSchemaExtensionsCommandOutput}.
|
|
669
|
+
*/
|
|
670
|
+
paginateListSchemaExtensions(args: ListSchemaExtensionsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListSchemaExtensionsCommandOutput>;
|
|
671
|
+
/**
|
|
672
|
+
* @see {@link ListTagsForResourceCommand}
|
|
673
|
+
* @param args - command input.
|
|
674
|
+
* @param paginationConfig - optional pagination config.
|
|
675
|
+
* @returns AsyncIterable of {@link ListTagsForResourceCommandOutput}.
|
|
676
|
+
*/
|
|
677
|
+
paginateListTagsForResource(args: ListTagsForResourceCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListTagsForResourceCommandOutput>;
|
|
678
|
+
/**
|
|
679
|
+
* @see {@link DescribeHybridADUpdateCommand}
|
|
680
|
+
* @param args - command input.
|
|
681
|
+
* @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
|
|
682
|
+
*/
|
|
683
|
+
waitUntilHybridADUpdated(args: DescribeHybridADUpdateCommandInput, waiterConfig: number | Omit<WaiterConfiguration<DirectoryService>, "client">): Promise<WaiterResult>;
|
|
572
684
|
}
|
|
573
685
|
/**
|
|
574
686
|
* <fullname>Directory Service</fullname>
|
|
@@ -1,4 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {
|
|
2
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
3
|
+
PaginationConfiguration,
|
|
4
|
+
Paginator,
|
|
5
|
+
WaiterConfiguration,
|
|
6
|
+
} from "@smithy/types";
|
|
7
|
+
import { WaiterResult } from "@smithy/util-waiter";
|
|
2
8
|
import {
|
|
3
9
|
AcceptSharedDirectoryCommandInput,
|
|
4
10
|
AcceptSharedDirectoryCommandOutput,
|
|
@@ -1375,6 +1381,120 @@ export interface DirectoryService {
|
|
|
1375
1381
|
options: __HttpHandlerOptions,
|
|
1376
1382
|
cb: (err: any, data?: VerifyTrustCommandOutput) => void
|
|
1377
1383
|
): void;
|
|
1384
|
+
paginateDescribeClientAuthenticationSettings(
|
|
1385
|
+
args: DescribeClientAuthenticationSettingsCommandInput,
|
|
1386
|
+
paginationConfig?: Pick<
|
|
1387
|
+
PaginationConfiguration,
|
|
1388
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1389
|
+
>
|
|
1390
|
+
): Paginator<DescribeClientAuthenticationSettingsCommandOutput>;
|
|
1391
|
+
paginateDescribeDirectories(
|
|
1392
|
+
args?: DescribeDirectoriesCommandInput,
|
|
1393
|
+
paginationConfig?: Pick<
|
|
1394
|
+
PaginationConfiguration,
|
|
1395
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1396
|
+
>
|
|
1397
|
+
): Paginator<DescribeDirectoriesCommandOutput>;
|
|
1398
|
+
paginateDescribeDomainControllers(
|
|
1399
|
+
args: DescribeDomainControllersCommandInput,
|
|
1400
|
+
paginationConfig?: Pick<
|
|
1401
|
+
PaginationConfiguration,
|
|
1402
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1403
|
+
>
|
|
1404
|
+
): Paginator<DescribeDomainControllersCommandOutput>;
|
|
1405
|
+
paginateDescribeLDAPSSettings(
|
|
1406
|
+
args: DescribeLDAPSSettingsCommandInput,
|
|
1407
|
+
paginationConfig?: Pick<
|
|
1408
|
+
PaginationConfiguration,
|
|
1409
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1410
|
+
>
|
|
1411
|
+
): Paginator<DescribeLDAPSSettingsCommandOutput>;
|
|
1412
|
+
paginateDescribeRegions(
|
|
1413
|
+
args: DescribeRegionsCommandInput,
|
|
1414
|
+
paginationConfig?: Pick<
|
|
1415
|
+
PaginationConfiguration,
|
|
1416
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1417
|
+
>
|
|
1418
|
+
): Paginator<DescribeRegionsCommandOutput>;
|
|
1419
|
+
paginateDescribeSharedDirectories(
|
|
1420
|
+
args: DescribeSharedDirectoriesCommandInput,
|
|
1421
|
+
paginationConfig?: Pick<
|
|
1422
|
+
PaginationConfiguration,
|
|
1423
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1424
|
+
>
|
|
1425
|
+
): Paginator<DescribeSharedDirectoriesCommandOutput>;
|
|
1426
|
+
paginateDescribeSnapshots(
|
|
1427
|
+
args?: DescribeSnapshotsCommandInput,
|
|
1428
|
+
paginationConfig?: Pick<
|
|
1429
|
+
PaginationConfiguration,
|
|
1430
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1431
|
+
>
|
|
1432
|
+
): Paginator<DescribeSnapshotsCommandOutput>;
|
|
1433
|
+
paginateDescribeTrusts(
|
|
1434
|
+
args?: DescribeTrustsCommandInput,
|
|
1435
|
+
paginationConfig?: Pick<
|
|
1436
|
+
PaginationConfiguration,
|
|
1437
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1438
|
+
>
|
|
1439
|
+
): Paginator<DescribeTrustsCommandOutput>;
|
|
1440
|
+
paginateDescribeUpdateDirectory(
|
|
1441
|
+
args: DescribeUpdateDirectoryCommandInput,
|
|
1442
|
+
paginationConfig?: Pick<
|
|
1443
|
+
PaginationConfiguration,
|
|
1444
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1445
|
+
>
|
|
1446
|
+
): Paginator<DescribeUpdateDirectoryCommandOutput>;
|
|
1447
|
+
paginateListADAssessments(
|
|
1448
|
+
args?: ListADAssessmentsCommandInput,
|
|
1449
|
+
paginationConfig?: Pick<
|
|
1450
|
+
PaginationConfiguration,
|
|
1451
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1452
|
+
>
|
|
1453
|
+
): Paginator<ListADAssessmentsCommandOutput>;
|
|
1454
|
+
paginateListCertificates(
|
|
1455
|
+
args: ListCertificatesCommandInput,
|
|
1456
|
+
paginationConfig?: Pick<
|
|
1457
|
+
PaginationConfiguration,
|
|
1458
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1459
|
+
>
|
|
1460
|
+
): Paginator<ListCertificatesCommandOutput>;
|
|
1461
|
+
paginateListIpRoutes(
|
|
1462
|
+
args: ListIpRoutesCommandInput,
|
|
1463
|
+
paginationConfig?: Pick<
|
|
1464
|
+
PaginationConfiguration,
|
|
1465
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1466
|
+
>
|
|
1467
|
+
): Paginator<ListIpRoutesCommandOutput>;
|
|
1468
|
+
paginateListLogSubscriptions(
|
|
1469
|
+
args?: ListLogSubscriptionsCommandInput,
|
|
1470
|
+
paginationConfig?: Pick<
|
|
1471
|
+
PaginationConfiguration,
|
|
1472
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1473
|
+
>
|
|
1474
|
+
): Paginator<ListLogSubscriptionsCommandOutput>;
|
|
1475
|
+
paginateListSchemaExtensions(
|
|
1476
|
+
args: ListSchemaExtensionsCommandInput,
|
|
1477
|
+
paginationConfig?: Pick<
|
|
1478
|
+
PaginationConfiguration,
|
|
1479
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1480
|
+
>
|
|
1481
|
+
): Paginator<ListSchemaExtensionsCommandOutput>;
|
|
1482
|
+
paginateListTagsForResource(
|
|
1483
|
+
args: ListTagsForResourceCommandInput,
|
|
1484
|
+
paginationConfig?: Pick<
|
|
1485
|
+
PaginationConfiguration,
|
|
1486
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1487
|
+
>
|
|
1488
|
+
): Paginator<ListTagsForResourceCommandOutput>;
|
|
1489
|
+
waitUntilHybridADUpdated(
|
|
1490
|
+
args: DescribeHybridADUpdateCommandInput,
|
|
1491
|
+
waiterConfig:
|
|
1492
|
+
| number
|
|
1493
|
+
| Pick<
|
|
1494
|
+
WaiterConfiguration<DirectoryService>,
|
|
1495
|
+
Exclude<keyof WaiterConfiguration<DirectoryService>, "client">
|
|
1496
|
+
>
|
|
1497
|
+
): Promise<WaiterResult>;
|
|
1378
1498
|
}
|
|
1379
1499
|
export declare class DirectoryService
|
|
1380
1500
|
extends DirectoryServiceClient
|
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.
|
|
4
|
+
"version": "3.980.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-directory-service",
|
|
@@ -23,38 +23,38 @@
|
|
|
23
23
|
"dependencies": {
|
|
24
24
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
25
25
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
26
|
-
"@aws-sdk/core": "^3.973.
|
|
27
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
28
|
-
"@aws-sdk/middleware-host-header": "^3.972.
|
|
29
|
-
"@aws-sdk/middleware-logger": "^3.972.
|
|
30
|
-
"@aws-sdk/middleware-recursion-detection": "^3.972.
|
|
31
|
-
"@aws-sdk/middleware-user-agent": "^3.972.
|
|
32
|
-
"@aws-sdk/region-config-resolver": "^3.972.
|
|
33
|
-
"@aws-sdk/types": "^3.973.
|
|
34
|
-
"@aws-sdk/util-endpoints": "3.
|
|
35
|
-
"@aws-sdk/util-user-agent-browser": "^3.972.
|
|
36
|
-
"@aws-sdk/util-user-agent-node": "^3.972.
|
|
26
|
+
"@aws-sdk/core": "^3.973.5",
|
|
27
|
+
"@aws-sdk/credential-provider-node": "^3.972.4",
|
|
28
|
+
"@aws-sdk/middleware-host-header": "^3.972.3",
|
|
29
|
+
"@aws-sdk/middleware-logger": "^3.972.3",
|
|
30
|
+
"@aws-sdk/middleware-recursion-detection": "^3.972.3",
|
|
31
|
+
"@aws-sdk/middleware-user-agent": "^3.972.5",
|
|
32
|
+
"@aws-sdk/region-config-resolver": "^3.972.3",
|
|
33
|
+
"@aws-sdk/types": "^3.973.1",
|
|
34
|
+
"@aws-sdk/util-endpoints": "3.980.0",
|
|
35
|
+
"@aws-sdk/util-user-agent-browser": "^3.972.3",
|
|
36
|
+
"@aws-sdk/util-user-agent-node": "^3.972.3",
|
|
37
37
|
"@smithy/config-resolver": "^4.4.6",
|
|
38
|
-
"@smithy/core": "^3.
|
|
38
|
+
"@smithy/core": "^3.22.0",
|
|
39
39
|
"@smithy/fetch-http-handler": "^5.3.9",
|
|
40
40
|
"@smithy/hash-node": "^4.2.8",
|
|
41
41
|
"@smithy/invalid-dependency": "^4.2.8",
|
|
42
42
|
"@smithy/middleware-content-length": "^4.2.8",
|
|
43
|
-
"@smithy/middleware-endpoint": "^4.4.
|
|
44
|
-
"@smithy/middleware-retry": "^4.4.
|
|
43
|
+
"@smithy/middleware-endpoint": "^4.4.12",
|
|
44
|
+
"@smithy/middleware-retry": "^4.4.29",
|
|
45
45
|
"@smithy/middleware-serde": "^4.2.9",
|
|
46
46
|
"@smithy/middleware-stack": "^4.2.8",
|
|
47
47
|
"@smithy/node-config-provider": "^4.3.8",
|
|
48
48
|
"@smithy/node-http-handler": "^4.4.8",
|
|
49
49
|
"@smithy/protocol-http": "^5.3.8",
|
|
50
|
-
"@smithy/smithy-client": "^4.
|
|
50
|
+
"@smithy/smithy-client": "^4.11.1",
|
|
51
51
|
"@smithy/types": "^4.12.0",
|
|
52
52
|
"@smithy/url-parser": "^4.2.8",
|
|
53
53
|
"@smithy/util-base64": "^4.3.0",
|
|
54
54
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
55
55
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
56
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
57
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
56
|
+
"@smithy/util-defaults-mode-browser": "^4.3.28",
|
|
57
|
+
"@smithy/util-defaults-mode-node": "^4.2.31",
|
|
58
58
|
"@smithy/util-endpoints": "^3.2.8",
|
|
59
59
|
"@smithy/util-middleware": "^4.2.8",
|
|
60
60
|
"@smithy/util-retry": "^4.2.8",
|