@aws-sdk/client-directory-service 3.926.0 → 3.928.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 +2547 -3371
- package/dist-cjs/runtimeConfig.shared.js +7 -0
- package/dist-es/DirectoryServiceClient.js +2 -0
- package/dist-es/commands/AcceptSharedDirectoryCommand.js +3 -10
- package/dist-es/commands/AddIpRoutesCommand.js +3 -9
- package/dist-es/commands/AddRegionCommand.js +3 -9
- package/dist-es/commands/AddTagsToResourceCommand.js +3 -9
- package/dist-es/commands/CancelSchemaExtensionCommand.js +3 -9
- package/dist-es/commands/ConnectDirectoryCommand.js +3 -10
- package/dist-es/commands/CreateAliasCommand.js +3 -9
- package/dist-es/commands/CreateComputerCommand.js +3 -10
- package/dist-es/commands/CreateConditionalForwarderCommand.js +3 -9
- package/dist-es/commands/CreateDirectoryCommand.js +3 -10
- package/dist-es/commands/CreateHybridADCommand.js +3 -9
- package/dist-es/commands/CreateLogSubscriptionCommand.js +3 -9
- package/dist-es/commands/CreateMicrosoftADCommand.js +3 -10
- package/dist-es/commands/CreateSnapshotCommand.js +3 -9
- package/dist-es/commands/CreateTrustCommand.js +3 -10
- package/dist-es/commands/DeleteADAssessmentCommand.js +3 -9
- package/dist-es/commands/DeleteConditionalForwarderCommand.js +3 -9
- package/dist-es/commands/DeleteDirectoryCommand.js +3 -9
- package/dist-es/commands/DeleteLogSubscriptionCommand.js +3 -9
- package/dist-es/commands/DeleteSnapshotCommand.js +3 -9
- package/dist-es/commands/DeleteTrustCommand.js +3 -9
- package/dist-es/commands/DeregisterCertificateCommand.js +3 -9
- package/dist-es/commands/DeregisterEventTopicCommand.js +3 -9
- package/dist-es/commands/DescribeADAssessmentCommand.js +3 -9
- package/dist-es/commands/DescribeCAEnrollmentPolicyCommand.js +3 -9
- package/dist-es/commands/DescribeCertificateCommand.js +3 -9
- package/dist-es/commands/DescribeClientAuthenticationSettingsCommand.js +3 -9
- package/dist-es/commands/DescribeConditionalForwardersCommand.js +3 -9
- package/dist-es/commands/DescribeDirectoriesCommand.js +3 -10
- package/dist-es/commands/DescribeDirectoryDataAccessCommand.js +3 -9
- package/dist-es/commands/DescribeDomainControllersCommand.js +3 -9
- package/dist-es/commands/DescribeEventTopicsCommand.js +3 -9
- package/dist-es/commands/DescribeHybridADUpdateCommand.js +3 -9
- package/dist-es/commands/DescribeLDAPSSettingsCommand.js +3 -9
- package/dist-es/commands/DescribeRegionsCommand.js +3 -9
- package/dist-es/commands/DescribeSettingsCommand.js +3 -9
- package/dist-es/commands/DescribeSharedDirectoriesCommand.js +3 -10
- package/dist-es/commands/DescribeSnapshotsCommand.js +3 -9
- package/dist-es/commands/DescribeTrustsCommand.js +3 -9
- package/dist-es/commands/DescribeUpdateDirectoryCommand.js +3 -9
- package/dist-es/commands/DisableCAEnrollmentPolicyCommand.js +3 -9
- package/dist-es/commands/DisableClientAuthenticationCommand.js +3 -9
- package/dist-es/commands/DisableDirectoryDataAccessCommand.js +3 -9
- package/dist-es/commands/DisableLDAPSCommand.js +3 -9
- package/dist-es/commands/DisableRadiusCommand.js +3 -9
- package/dist-es/commands/DisableSsoCommand.js +3 -10
- package/dist-es/commands/EnableCAEnrollmentPolicyCommand.js +3 -9
- package/dist-es/commands/EnableClientAuthenticationCommand.js +3 -9
- package/dist-es/commands/EnableDirectoryDataAccessCommand.js +3 -9
- package/dist-es/commands/EnableLDAPSCommand.js +3 -9
- package/dist-es/commands/EnableRadiusCommand.js +3 -10
- package/dist-es/commands/EnableSsoCommand.js +3 -10
- package/dist-es/commands/GetDirectoryLimitsCommand.js +3 -9
- package/dist-es/commands/GetSnapshotLimitsCommand.js +3 -9
- package/dist-es/commands/ListADAssessmentsCommand.js +3 -9
- package/dist-es/commands/ListCertificatesCommand.js +3 -9
- package/dist-es/commands/ListIpRoutesCommand.js +3 -9
- package/dist-es/commands/ListLogSubscriptionsCommand.js +3 -9
- package/dist-es/commands/ListSchemaExtensionsCommand.js +3 -9
- package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
- package/dist-es/commands/RegisterCertificateCommand.js +3 -9
- package/dist-es/commands/RegisterEventTopicCommand.js +3 -9
- package/dist-es/commands/RejectSharedDirectoryCommand.js +3 -9
- package/dist-es/commands/RemoveIpRoutesCommand.js +3 -9
- package/dist-es/commands/RemoveRegionCommand.js +3 -9
- package/dist-es/commands/RemoveTagsFromResourceCommand.js +3 -9
- package/dist-es/commands/ResetUserPasswordCommand.js +3 -10
- package/dist-es/commands/RestoreFromSnapshotCommand.js +3 -9
- package/dist-es/commands/ShareDirectoryCommand.js +3 -10
- package/dist-es/commands/StartADAssessmentCommand.js +3 -9
- package/dist-es/commands/StartSchemaExtensionCommand.js +3 -9
- package/dist-es/commands/UnshareDirectoryCommand.js +3 -9
- package/dist-es/commands/UpdateConditionalForwarderCommand.js +3 -9
- package/dist-es/commands/UpdateDirectorySetupCommand.js +3 -9
- package/dist-es/commands/UpdateHybridADCommand.js +3 -9
- package/dist-es/commands/UpdateNumberOfDomainControllersCommand.js +3 -9
- package/dist-es/commands/UpdateRadiusCommand.js +3 -10
- package/dist-es/commands/UpdateSettingsCommand.js +3 -9
- package/dist-es/commands/UpdateTrustCommand.js +3 -9
- package/dist-es/commands/VerifyTrustCommand.js +3 -9
- package/dist-es/models/models_0.js +0 -81
- package/dist-es/runtimeConfig.shared.js +7 -0
- package/dist-es/schemas/schemas_0.js +2287 -0
- package/dist-types/DirectoryServiceClient.d.ts +10 -1
- package/dist-types/models/models_0.d.ts +0 -72
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +384 -0
- package/dist-types/ts3.4/DirectoryServiceClient.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +0 -54
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +390 -0
- package/package.json +5 -5
- package/dist-es/protocols/Aws_json1_1.js +0 -2597
- package/dist-types/protocols/Aws_json1_1.d.ts +0 -722
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +0 -965
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_ShareDirectoryCommand, se_ShareDirectoryCommand } from "../protocols/Aws_json1_1";
|
|
4
|
+
import { ShareDirectory } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class ShareDirectoryCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("DirectoryService_20150416", "ShareDirectory", {})
|
|
18
13
|
.n("DirectoryServiceClient", "ShareDirectoryCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_ShareDirectoryCommand)
|
|
21
|
-
.de(de_ShareDirectoryCommand)
|
|
14
|
+
.sc(ShareDirectory)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { StartADAssessment } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class StartADAssessmentCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("DirectoryService_20150416", "StartADAssessment", {})
|
|
17
13
|
.n("DirectoryServiceClient", "StartADAssessmentCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_StartADAssessmentCommand)
|
|
20
|
-
.de(de_StartADAssessmentCommand)
|
|
14
|
+
.sc(StartADAssessment)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { StartSchemaExtension } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class StartSchemaExtensionCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("DirectoryService_20150416", "StartSchemaExtension", {})
|
|
17
13
|
.n("DirectoryServiceClient", "StartSchemaExtensionCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_StartSchemaExtensionCommand)
|
|
20
|
-
.de(de_StartSchemaExtensionCommand)
|
|
14
|
+
.sc(StartSchemaExtension)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UnshareDirectory } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UnshareDirectoryCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("DirectoryService_20150416", "UnshareDirectory", {})
|
|
17
13
|
.n("DirectoryServiceClient", "UnshareDirectoryCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UnshareDirectoryCommand)
|
|
20
|
-
.de(de_UnshareDirectoryCommand)
|
|
14
|
+
.sc(UnshareDirectory)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateConditionalForwarder } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateConditionalForwarderCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("DirectoryService_20150416", "UpdateConditionalForwarder", {})
|
|
17
13
|
.n("DirectoryServiceClient", "UpdateConditionalForwarderCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateConditionalForwarderCommand)
|
|
20
|
-
.de(de_UpdateConditionalForwarderCommand)
|
|
14
|
+
.sc(UpdateConditionalForwarder)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateDirectorySetup } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateDirectorySetupCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("DirectoryService_20150416", "UpdateDirectorySetup", {})
|
|
17
13
|
.n("DirectoryServiceClient", "UpdateDirectorySetupCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateDirectorySetupCommand)
|
|
20
|
-
.de(de_UpdateDirectorySetupCommand)
|
|
14
|
+
.sc(UpdateDirectorySetup)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateHybridAD } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateHybridADCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("DirectoryService_20150416", "UpdateHybridAD", {})
|
|
17
13
|
.n("DirectoryServiceClient", "UpdateHybridADCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateHybridADCommand)
|
|
20
|
-
.de(de_UpdateHybridADCommand)
|
|
14
|
+
.sc(UpdateHybridAD)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateNumberOfDomainControllers } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateNumberOfDomainControllersCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("DirectoryService_20150416", "UpdateNumberOfDomainControllers", {})
|
|
17
13
|
.n("DirectoryServiceClient", "UpdateNumberOfDomainControllersCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateNumberOfDomainControllersCommand)
|
|
20
|
-
.de(de_UpdateNumberOfDomainControllersCommand)
|
|
14
|
+
.sc(UpdateNumberOfDomainControllers)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_UpdateRadiusCommand, se_UpdateRadiusCommand } from "../protocols/Aws_json1_1";
|
|
4
|
+
import { UpdateRadius } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class UpdateRadiusCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("DirectoryService_20150416", "UpdateRadius", {})
|
|
18
13
|
.n("DirectoryServiceClient", "UpdateRadiusCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_UpdateRadiusCommand)
|
|
21
|
-
.de(de_UpdateRadiusCommand)
|
|
14
|
+
.sc(UpdateRadius)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateSettings } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateSettingsCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("DirectoryService_20150416", "UpdateSettings", {})
|
|
17
13
|
.n("DirectoryServiceClient", "UpdateSettingsCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateSettingsCommand)
|
|
20
|
-
.de(de_UpdateSettingsCommand)
|
|
14
|
+
.sc(UpdateSettings)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateTrust } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateTrustCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("DirectoryService_20150416", "UpdateTrust", {})
|
|
17
13
|
.n("DirectoryServiceClient", "UpdateTrustCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateTrustCommand)
|
|
20
|
-
.de(de_UpdateTrustCommand)
|
|
14
|
+
.sc(UpdateTrust)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { VerifyTrust } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class VerifyTrustCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("DirectoryService_20150416", "VerifyTrust", {})
|
|
17
13
|
.n("DirectoryServiceClient", "VerifyTrustCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_VerifyTrustCommand)
|
|
20
|
-
.de(de_VerifyTrustCommand)
|
|
14
|
+
.sc(VerifyTrust)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
2
1
|
import { DirectoryServiceServiceException as __BaseException } from "./DirectoryServiceServiceException";
|
|
3
2
|
export const ShareMethod = {
|
|
4
3
|
HANDSHAKE: "HANDSHAKE",
|
|
@@ -849,83 +848,3 @@ export class UnsupportedSettingsException extends __BaseException {
|
|
|
849
848
|
this.RequestId = opts.RequestId;
|
|
850
849
|
}
|
|
851
850
|
}
|
|
852
|
-
export const SharedDirectoryFilterSensitiveLog = (obj) => ({
|
|
853
|
-
...obj,
|
|
854
|
-
...(obj.ShareNotes && { ShareNotes: SENSITIVE_STRING }),
|
|
855
|
-
});
|
|
856
|
-
export const AcceptSharedDirectoryResultFilterSensitiveLog = (obj) => ({
|
|
857
|
-
...obj,
|
|
858
|
-
...(obj.SharedDirectory && { SharedDirectory: SharedDirectoryFilterSensitiveLog(obj.SharedDirectory) }),
|
|
859
|
-
});
|
|
860
|
-
export const ConnectDirectoryRequestFilterSensitiveLog = (obj) => ({
|
|
861
|
-
...obj,
|
|
862
|
-
...(obj.Password && { Password: SENSITIVE_STRING }),
|
|
863
|
-
});
|
|
864
|
-
export const CreateComputerRequestFilterSensitiveLog = (obj) => ({
|
|
865
|
-
...obj,
|
|
866
|
-
...(obj.Password && { Password: SENSITIVE_STRING }),
|
|
867
|
-
});
|
|
868
|
-
export const CreateDirectoryRequestFilterSensitiveLog = (obj) => ({
|
|
869
|
-
...obj,
|
|
870
|
-
...(obj.Password && { Password: SENSITIVE_STRING }),
|
|
871
|
-
});
|
|
872
|
-
export const CreateMicrosoftADRequestFilterSensitiveLog = (obj) => ({
|
|
873
|
-
...obj,
|
|
874
|
-
...(obj.Password && { Password: SENSITIVE_STRING }),
|
|
875
|
-
});
|
|
876
|
-
export const CreateTrustRequestFilterSensitiveLog = (obj) => ({
|
|
877
|
-
...obj,
|
|
878
|
-
...(obj.TrustPassword && { TrustPassword: SENSITIVE_STRING }),
|
|
879
|
-
});
|
|
880
|
-
export const RadiusSettingsFilterSensitiveLog = (obj) => ({
|
|
881
|
-
...obj,
|
|
882
|
-
...(obj.SharedSecret && { SharedSecret: SENSITIVE_STRING }),
|
|
883
|
-
});
|
|
884
|
-
export const OwnerDirectoryDescriptionFilterSensitiveLog = (obj) => ({
|
|
885
|
-
...obj,
|
|
886
|
-
...(obj.RadiusSettings && { RadiusSettings: RadiusSettingsFilterSensitiveLog(obj.RadiusSettings) }),
|
|
887
|
-
});
|
|
888
|
-
export const DirectoryDescriptionFilterSensitiveLog = (obj) => ({
|
|
889
|
-
...obj,
|
|
890
|
-
...(obj.ShareNotes && { ShareNotes: SENSITIVE_STRING }),
|
|
891
|
-
...(obj.RadiusSettings && { RadiusSettings: RadiusSettingsFilterSensitiveLog(obj.RadiusSettings) }),
|
|
892
|
-
...(obj.OwnerDirectoryDescription && {
|
|
893
|
-
OwnerDirectoryDescription: OwnerDirectoryDescriptionFilterSensitiveLog(obj.OwnerDirectoryDescription),
|
|
894
|
-
}),
|
|
895
|
-
});
|
|
896
|
-
export const DescribeDirectoriesResultFilterSensitiveLog = (obj) => ({
|
|
897
|
-
...obj,
|
|
898
|
-
...(obj.DirectoryDescriptions && {
|
|
899
|
-
DirectoryDescriptions: obj.DirectoryDescriptions.map((item) => DirectoryDescriptionFilterSensitiveLog(item)),
|
|
900
|
-
}),
|
|
901
|
-
});
|
|
902
|
-
export const DescribeSharedDirectoriesResultFilterSensitiveLog = (obj) => ({
|
|
903
|
-
...obj,
|
|
904
|
-
...(obj.SharedDirectories && {
|
|
905
|
-
SharedDirectories: obj.SharedDirectories.map((item) => SharedDirectoryFilterSensitiveLog(item)),
|
|
906
|
-
}),
|
|
907
|
-
});
|
|
908
|
-
export const DisableSsoRequestFilterSensitiveLog = (obj) => ({
|
|
909
|
-
...obj,
|
|
910
|
-
...(obj.Password && { Password: SENSITIVE_STRING }),
|
|
911
|
-
});
|
|
912
|
-
export const EnableRadiusRequestFilterSensitiveLog = (obj) => ({
|
|
913
|
-
...obj,
|
|
914
|
-
...(obj.RadiusSettings && { RadiusSettings: RadiusSettingsFilterSensitiveLog(obj.RadiusSettings) }),
|
|
915
|
-
});
|
|
916
|
-
export const EnableSsoRequestFilterSensitiveLog = (obj) => ({
|
|
917
|
-
...obj,
|
|
918
|
-
...(obj.Password && { Password: SENSITIVE_STRING }),
|
|
919
|
-
});
|
|
920
|
-
export const ResetUserPasswordRequestFilterSensitiveLog = (obj) => ({
|
|
921
|
-
...obj,
|
|
922
|
-
...(obj.NewPassword && { NewPassword: SENSITIVE_STRING }),
|
|
923
|
-
});
|
|
924
|
-
export const ShareDirectoryRequestFilterSensitiveLog = (obj) => ({
|
|
925
|
-
...obj,
|
|
926
|
-
...(obj.ShareNotes && { ShareNotes: SENSITIVE_STRING }),
|
|
927
|
-
});
|
|
928
|
-
export const UpdateRadiusRequestFilterSensitiveLog = (obj) => ({
|
|
929
|
-
...obj,
|
|
930
|
-
...(obj.RadiusSettings && { RadiusSettings: RadiusSettingsFilterSensitiveLog(obj.RadiusSettings) }),
|
|
931
|
-
});
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { AwsSdkSigV4Signer } from "@aws-sdk/core";
|
|
2
|
+
import { AwsJson1_1Protocol } from "@aws-sdk/core/protocols";
|
|
2
3
|
import { NoOpLogger } from "@smithy/smithy-client";
|
|
3
4
|
import { parseUrl } from "@smithy/url-parser";
|
|
4
5
|
import { fromBase64, toBase64 } from "@smithy/util-base64";
|
|
@@ -22,6 +23,12 @@ export const getRuntimeConfig = (config) => {
|
|
|
22
23
|
},
|
|
23
24
|
],
|
|
24
25
|
logger: config?.logger ?? new NoOpLogger(),
|
|
26
|
+
protocol: config?.protocol ??
|
|
27
|
+
new AwsJson1_1Protocol({
|
|
28
|
+
defaultNamespace: "com.amazonaws.directoryservice",
|
|
29
|
+
serviceTarget: "DirectoryService_20150416",
|
|
30
|
+
awsQueryCompatible: false,
|
|
31
|
+
}),
|
|
25
32
|
serviceId: config?.serviceId ?? "Directory Service",
|
|
26
33
|
urlParser: config?.urlParser ?? parseUrl,
|
|
27
34
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|