@aws-sdk/client-directory-service-data 3.927.0 → 3.929.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 +922 -1021
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-es/DirectoryServiceDataClient.js +2 -0
- package/dist-es/commands/AddGroupMemberCommand.js +3 -9
- package/dist-es/commands/CreateGroupCommand.js +3 -10
- package/dist-es/commands/CreateUserCommand.js +3 -10
- package/dist-es/commands/DeleteGroupCommand.js +3 -9
- package/dist-es/commands/DeleteUserCommand.js +3 -9
- package/dist-es/commands/DescribeGroupCommand.js +3 -10
- package/dist-es/commands/DescribeUserCommand.js +3 -10
- package/dist-es/commands/DisableUserCommand.js +3 -9
- package/dist-es/commands/ListGroupMembersCommand.js +3 -10
- package/dist-es/commands/ListGroupsCommand.js +3 -10
- package/dist-es/commands/ListGroupsForMemberCommand.js +3 -10
- package/dist-es/commands/ListUsersCommand.js +3 -10
- package/dist-es/commands/RemoveGroupMemberCommand.js +3 -9
- package/dist-es/commands/SearchGroupsCommand.js +3 -10
- package/dist-es/commands/SearchUsersCommand.js +3 -10
- package/dist-es/commands/UpdateGroupCommand.js +3 -10
- package/dist-es/commands/UpdateUserCommand.js +3 -10
- package/dist-es/models/models_0.js +0 -137
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +869 -0
- package/dist-types/DirectoryServiceDataClient.d.ts +10 -1
- package/dist-types/models/models_0.d.ts +0 -88
- 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 +85 -0
- package/dist-types/ts3.4/DirectoryServiceDataClient.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +0 -60
- 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 +92 -0
- package/package.json +5 -6
- package/dist-es/protocols/Aws_restJson1.js +0 -726
- package/dist-types/protocols/Aws_restJson1.d.ts +0 -155
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -209
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
4
|
const core_1 = require("@aws-sdk/core");
|
|
5
|
+
const protocols_1 = require("@aws-sdk/core/protocols");
|
|
5
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
6
7
|
const url_parser_1 = require("@smithy/url-parser");
|
|
7
8
|
const util_base64_1 = require("@smithy/util-base64");
|
|
@@ -25,6 +26,7 @@ const getRuntimeConfig = (config) => {
|
|
|
25
26
|
},
|
|
26
27
|
],
|
|
27
28
|
logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
|
|
29
|
+
protocol: config?.protocol ?? new protocols_1.AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.directoryservicedata" }),
|
|
28
30
|
serviceId: config?.serviceId ?? "Directory Service Data",
|
|
29
31
|
urlParser: config?.urlParser ?? url_parser_1.parseUrl,
|
|
30
32
|
utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
|
|
@@ -4,6 +4,7 @@ import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detec
|
|
|
4
4
|
import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
|
|
5
5
|
import { resolveRegionConfig } from "@smithy/config-resolver";
|
|
6
6
|
import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
|
|
7
|
+
import { getSchemaSerdePlugin } from "@smithy/core/schema";
|
|
7
8
|
import { getContentLengthPlugin } from "@smithy/middleware-content-length";
|
|
8
9
|
import { resolveEndpointConfig } from "@smithy/middleware-endpoint";
|
|
9
10
|
import { getRetryPlugin, resolveRetryConfig } from "@smithy/middleware-retry";
|
|
@@ -28,6 +29,7 @@ export class DirectoryServiceDataClient extends __Client {
|
|
|
28
29
|
const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
|
|
29
30
|
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
30
31
|
this.config = _config_8;
|
|
32
|
+
this.middlewareStack.use(getSchemaSerdePlugin(this.config));
|
|
31
33
|
this.middlewareStack.use(getUserAgentPlugin(this.config));
|
|
32
34
|
this.middlewareStack.use(getRetryPlugin(this.config));
|
|
33
35
|
this.middlewareStack.use(getContentLengthPlugin(this.config));
|
|
@@ -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 { AddGroupMember } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class AddGroupMemberCommand 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("DirectoryServiceData", "AddGroupMember", {})
|
|
17
13
|
.n("DirectoryServiceDataClient", "AddGroupMemberCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_AddGroupMemberCommand)
|
|
20
|
-
.de(de_AddGroupMemberCommand)
|
|
14
|
+
.sc(AddGroupMember)
|
|
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_CreateGroupCommand, se_CreateGroupCommand } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { CreateGroup } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class CreateGroupCommand 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("DirectoryServiceData", "CreateGroup", {})
|
|
18
13
|
.n("DirectoryServiceDataClient", "CreateGroupCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_CreateGroupCommand)
|
|
21
|
-
.de(de_CreateGroupCommand)
|
|
14
|
+
.sc(CreateGroup)
|
|
22
15
|
.build() {
|
|
23
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_CreateUserCommand, se_CreateUserCommand } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { CreateUser } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class CreateUserCommand 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("DirectoryServiceData", "CreateUser", {})
|
|
18
13
|
.n("DirectoryServiceDataClient", "CreateUserCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_CreateUserCommand)
|
|
21
|
-
.de(de_CreateUserCommand)
|
|
14
|
+
.sc(CreateUser)
|
|
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 { DeleteGroup } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class DeleteGroupCommand 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("DirectoryServiceData", "DeleteGroup", {})
|
|
17
13
|
.n("DirectoryServiceDataClient", "DeleteGroupCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_DeleteGroupCommand)
|
|
20
|
-
.de(de_DeleteGroupCommand)
|
|
14
|
+
.sc(DeleteGroup)
|
|
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 { DeleteUser } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class DeleteUserCommand 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("DirectoryServiceData", "DeleteUser", {})
|
|
17
13
|
.n("DirectoryServiceDataClient", "DeleteUserCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_DeleteUserCommand)
|
|
20
|
-
.de(de_DeleteUserCommand)
|
|
14
|
+
.sc(DeleteUser)
|
|
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_DescribeGroupCommand, se_DescribeGroupCommand } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { DescribeGroup } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class DescribeGroupCommand 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("DirectoryServiceData", "DescribeGroup", {})
|
|
18
13
|
.n("DirectoryServiceDataClient", "DescribeGroupCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_DescribeGroupCommand)
|
|
21
|
-
.de(de_DescribeGroupCommand)
|
|
14
|
+
.sc(DescribeGroup)
|
|
22
15
|
.build() {
|
|
23
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_DescribeUserCommand, se_DescribeUserCommand } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { DescribeUser } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class DescribeUserCommand 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("DirectoryServiceData", "DescribeUser", {})
|
|
18
13
|
.n("DirectoryServiceDataClient", "DescribeUserCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_DescribeUserCommand)
|
|
21
|
-
.de(de_DescribeUserCommand)
|
|
14
|
+
.sc(DescribeUser)
|
|
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 { DisableUser } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class DisableUserCommand 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("DirectoryServiceData", "DisableUser", {})
|
|
17
13
|
.n("DirectoryServiceDataClient", "DisableUserCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_DisableUserCommand)
|
|
20
|
-
.de(de_DisableUserCommand)
|
|
14
|
+
.sc(DisableUser)
|
|
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_ListGroupMembersCommand, se_ListGroupMembersCommand } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { ListGroupMembers } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class ListGroupMembersCommand 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("DirectoryServiceData", "ListGroupMembers", {})
|
|
18
13
|
.n("DirectoryServiceDataClient", "ListGroupMembersCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_ListGroupMembersCommand)
|
|
21
|
-
.de(de_ListGroupMembersCommand)
|
|
14
|
+
.sc(ListGroupMembers)
|
|
22
15
|
.build() {
|
|
23
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_ListGroupsCommand, se_ListGroupsCommand } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { ListGroups } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class ListGroupsCommand 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("DirectoryServiceData", "ListGroups", {})
|
|
18
13
|
.n("DirectoryServiceDataClient", "ListGroupsCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_ListGroupsCommand)
|
|
21
|
-
.de(de_ListGroupsCommand)
|
|
14
|
+
.sc(ListGroups)
|
|
22
15
|
.build() {
|
|
23
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_ListGroupsForMemberCommand, se_ListGroupsForMemberCommand } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { ListGroupsForMember } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class ListGroupsForMemberCommand 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("DirectoryServiceData", "ListGroupsForMember", {})
|
|
18
13
|
.n("DirectoryServiceDataClient", "ListGroupsForMemberCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_ListGroupsForMemberCommand)
|
|
21
|
-
.de(de_ListGroupsForMemberCommand)
|
|
14
|
+
.sc(ListGroupsForMember)
|
|
22
15
|
.build() {
|
|
23
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_ListUsersCommand, se_ListUsersCommand } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { ListUsers } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class ListUsersCommand 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("DirectoryServiceData", "ListUsers", {})
|
|
18
13
|
.n("DirectoryServiceDataClient", "ListUsersCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_ListUsersCommand)
|
|
21
|
-
.de(de_ListUsersCommand)
|
|
14
|
+
.sc(ListUsers)
|
|
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 { RemoveGroupMember } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class RemoveGroupMemberCommand 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("DirectoryServiceData", "RemoveGroupMember", {})
|
|
17
13
|
.n("DirectoryServiceDataClient", "RemoveGroupMemberCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_RemoveGroupMemberCommand)
|
|
20
|
-
.de(de_RemoveGroupMemberCommand)
|
|
14
|
+
.sc(RemoveGroupMember)
|
|
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_SearchGroupsCommand, se_SearchGroupsCommand } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { SearchGroups } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class SearchGroupsCommand 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("DirectoryServiceData", "SearchGroups", {})
|
|
18
13
|
.n("DirectoryServiceDataClient", "SearchGroupsCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_SearchGroupsCommand)
|
|
21
|
-
.de(de_SearchGroupsCommand)
|
|
14
|
+
.sc(SearchGroups)
|
|
22
15
|
.build() {
|
|
23
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_SearchUsersCommand, se_SearchUsersCommand } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { SearchUsers } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class SearchUsersCommand 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("DirectoryServiceData", "SearchUsers", {})
|
|
18
13
|
.n("DirectoryServiceDataClient", "SearchUsersCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_SearchUsersCommand)
|
|
21
|
-
.de(de_SearchUsersCommand)
|
|
14
|
+
.sc(SearchUsers)
|
|
22
15
|
.build() {
|
|
23
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_UpdateGroupCommand, se_UpdateGroupCommand } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { UpdateGroup } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class UpdateGroupCommand 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("DirectoryServiceData", "UpdateGroup", {})
|
|
18
13
|
.n("DirectoryServiceDataClient", "UpdateGroupCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_UpdateGroupCommand)
|
|
21
|
-
.de(de_UpdateGroupCommand)
|
|
14
|
+
.sc(UpdateGroup)
|
|
22
15
|
.build() {
|
|
23
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_UpdateUserCommand, se_UpdateUserCommand } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { UpdateUser } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class UpdateUserCommand 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("DirectoryServiceData", "UpdateUser", {})
|
|
18
13
|
.n("DirectoryServiceDataClient", "UpdateUserCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_UpdateUserCommand)
|
|
21
|
-
.de(de_UpdateUserCommand)
|
|
14
|
+
.sc(UpdateUser)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
2
1
|
import { DirectoryServiceDataServiceException as __BaseException } from "./DirectoryServiceDataServiceException";
|
|
3
2
|
export const AccessDeniedReason = {
|
|
4
3
|
DATA_DISABLED: "DATA_DISABLED",
|
|
@@ -174,139 +173,3 @@ export const UpdateType = {
|
|
|
174
173
|
REMOVE: "REMOVE",
|
|
175
174
|
REPLACE: "REPLACE",
|
|
176
175
|
};
|
|
177
|
-
export const AttributeValueFilterSensitiveLog = (obj) => {
|
|
178
|
-
if (obj.S !== undefined)
|
|
179
|
-
return { S: SENSITIVE_STRING };
|
|
180
|
-
if (obj.N !== undefined)
|
|
181
|
-
return { N: SENSITIVE_STRING };
|
|
182
|
-
if (obj.BOOL !== undefined)
|
|
183
|
-
return { BOOL: SENSITIVE_STRING };
|
|
184
|
-
if (obj.SS !== undefined)
|
|
185
|
-
return { SS: SENSITIVE_STRING };
|
|
186
|
-
if (obj.$unknown !== undefined)
|
|
187
|
-
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
188
|
-
};
|
|
189
|
-
export const CreateGroupRequestFilterSensitiveLog = (obj) => ({
|
|
190
|
-
...obj,
|
|
191
|
-
...(obj.OtherAttributes && {
|
|
192
|
-
OtherAttributes: Object.entries(obj.OtherAttributes).reduce((acc, [key, value]) => ((acc[key] = AttributeValueFilterSensitiveLog(value)), acc), {}),
|
|
193
|
-
}),
|
|
194
|
-
});
|
|
195
|
-
export const CreateUserRequestFilterSensitiveLog = (obj) => ({
|
|
196
|
-
...obj,
|
|
197
|
-
...(obj.EmailAddress && { EmailAddress: SENSITIVE_STRING }),
|
|
198
|
-
...(obj.GivenName && { GivenName: SENSITIVE_STRING }),
|
|
199
|
-
...(obj.Surname && { Surname: SENSITIVE_STRING }),
|
|
200
|
-
...(obj.OtherAttributes && {
|
|
201
|
-
OtherAttributes: Object.entries(obj.OtherAttributes).reduce((acc, [key, value]) => ((acc[key] = AttributeValueFilterSensitiveLog(value)), acc), {}),
|
|
202
|
-
}),
|
|
203
|
-
});
|
|
204
|
-
export const DescribeGroupResultFilterSensitiveLog = (obj) => ({
|
|
205
|
-
...obj,
|
|
206
|
-
...(obj.DistinguishedName && { DistinguishedName: SENSITIVE_STRING }),
|
|
207
|
-
...(obj.OtherAttributes && {
|
|
208
|
-
OtherAttributes: Object.entries(obj.OtherAttributes).reduce((acc, [key, value]) => ((acc[key] = AttributeValueFilterSensitiveLog(value)), acc), {}),
|
|
209
|
-
}),
|
|
210
|
-
});
|
|
211
|
-
export const DescribeUserResultFilterSensitiveLog = (obj) => ({
|
|
212
|
-
...obj,
|
|
213
|
-
...(obj.DistinguishedName && { DistinguishedName: SENSITIVE_STRING }),
|
|
214
|
-
...(obj.UserPrincipalName && { UserPrincipalName: SENSITIVE_STRING }),
|
|
215
|
-
...(obj.EmailAddress && { EmailAddress: SENSITIVE_STRING }),
|
|
216
|
-
...(obj.GivenName && { GivenName: SENSITIVE_STRING }),
|
|
217
|
-
...(obj.Surname && { Surname: SENSITIVE_STRING }),
|
|
218
|
-
...(obj.OtherAttributes && {
|
|
219
|
-
OtherAttributes: Object.entries(obj.OtherAttributes).reduce((acc, [key, value]) => ((acc[key] = AttributeValueFilterSensitiveLog(value)), acc), {}),
|
|
220
|
-
}),
|
|
221
|
-
});
|
|
222
|
-
export const ListGroupMembersRequestFilterSensitiveLog = (obj) => ({
|
|
223
|
-
...obj,
|
|
224
|
-
...(obj.NextToken && { NextToken: SENSITIVE_STRING }),
|
|
225
|
-
});
|
|
226
|
-
export const ListGroupMembersResultFilterSensitiveLog = (obj) => ({
|
|
227
|
-
...obj,
|
|
228
|
-
...(obj.NextToken && { NextToken: SENSITIVE_STRING }),
|
|
229
|
-
});
|
|
230
|
-
export const ListGroupsRequestFilterSensitiveLog = (obj) => ({
|
|
231
|
-
...obj,
|
|
232
|
-
...(obj.NextToken && { NextToken: SENSITIVE_STRING }),
|
|
233
|
-
});
|
|
234
|
-
export const ListGroupsResultFilterSensitiveLog = (obj) => ({
|
|
235
|
-
...obj,
|
|
236
|
-
...(obj.NextToken && { NextToken: SENSITIVE_STRING }),
|
|
237
|
-
});
|
|
238
|
-
export const ListGroupsForMemberRequestFilterSensitiveLog = (obj) => ({
|
|
239
|
-
...obj,
|
|
240
|
-
...(obj.NextToken && { NextToken: SENSITIVE_STRING }),
|
|
241
|
-
});
|
|
242
|
-
export const ListGroupsForMemberResultFilterSensitiveLog = (obj) => ({
|
|
243
|
-
...obj,
|
|
244
|
-
...(obj.NextToken && { NextToken: SENSITIVE_STRING }),
|
|
245
|
-
});
|
|
246
|
-
export const ListUsersRequestFilterSensitiveLog = (obj) => ({
|
|
247
|
-
...obj,
|
|
248
|
-
...(obj.NextToken && { NextToken: SENSITIVE_STRING }),
|
|
249
|
-
});
|
|
250
|
-
export const UserSummaryFilterSensitiveLog = (obj) => ({
|
|
251
|
-
...obj,
|
|
252
|
-
...(obj.GivenName && { GivenName: SENSITIVE_STRING }),
|
|
253
|
-
...(obj.Surname && { Surname: SENSITIVE_STRING }),
|
|
254
|
-
});
|
|
255
|
-
export const ListUsersResultFilterSensitiveLog = (obj) => ({
|
|
256
|
-
...obj,
|
|
257
|
-
...(obj.Users && { Users: obj.Users.map((item) => UserSummaryFilterSensitiveLog(item)) }),
|
|
258
|
-
...(obj.NextToken && { NextToken: SENSITIVE_STRING }),
|
|
259
|
-
});
|
|
260
|
-
export const SearchGroupsRequestFilterSensitiveLog = (obj) => ({
|
|
261
|
-
...obj,
|
|
262
|
-
...(obj.SearchString && { SearchString: SENSITIVE_STRING }),
|
|
263
|
-
...(obj.NextToken && { NextToken: SENSITIVE_STRING }),
|
|
264
|
-
});
|
|
265
|
-
export const GroupFilterSensitiveLog = (obj) => ({
|
|
266
|
-
...obj,
|
|
267
|
-
...(obj.DistinguishedName && { DistinguishedName: SENSITIVE_STRING }),
|
|
268
|
-
...(obj.OtherAttributes && {
|
|
269
|
-
OtherAttributes: Object.entries(obj.OtherAttributes).reduce((acc, [key, value]) => ((acc[key] = AttributeValueFilterSensitiveLog(value)), acc), {}),
|
|
270
|
-
}),
|
|
271
|
-
});
|
|
272
|
-
export const SearchGroupsResultFilterSensitiveLog = (obj) => ({
|
|
273
|
-
...obj,
|
|
274
|
-
...(obj.Groups && { Groups: obj.Groups.map((item) => GroupFilterSensitiveLog(item)) }),
|
|
275
|
-
...(obj.NextToken && { NextToken: SENSITIVE_STRING }),
|
|
276
|
-
});
|
|
277
|
-
export const SearchUsersRequestFilterSensitiveLog = (obj) => ({
|
|
278
|
-
...obj,
|
|
279
|
-
...(obj.SearchString && { SearchString: SENSITIVE_STRING }),
|
|
280
|
-
...(obj.NextToken && { NextToken: SENSITIVE_STRING }),
|
|
281
|
-
});
|
|
282
|
-
export const UserFilterSensitiveLog = (obj) => ({
|
|
283
|
-
...obj,
|
|
284
|
-
...(obj.DistinguishedName && { DistinguishedName: SENSITIVE_STRING }),
|
|
285
|
-
...(obj.UserPrincipalName && { UserPrincipalName: SENSITIVE_STRING }),
|
|
286
|
-
...(obj.EmailAddress && { EmailAddress: SENSITIVE_STRING }),
|
|
287
|
-
...(obj.GivenName && { GivenName: SENSITIVE_STRING }),
|
|
288
|
-
...(obj.Surname && { Surname: SENSITIVE_STRING }),
|
|
289
|
-
...(obj.OtherAttributes && {
|
|
290
|
-
OtherAttributes: Object.entries(obj.OtherAttributes).reduce((acc, [key, value]) => ((acc[key] = AttributeValueFilterSensitiveLog(value)), acc), {}),
|
|
291
|
-
}),
|
|
292
|
-
});
|
|
293
|
-
export const SearchUsersResultFilterSensitiveLog = (obj) => ({
|
|
294
|
-
...obj,
|
|
295
|
-
...(obj.Users && { Users: obj.Users.map((item) => UserFilterSensitiveLog(item)) }),
|
|
296
|
-
...(obj.NextToken && { NextToken: SENSITIVE_STRING }),
|
|
297
|
-
});
|
|
298
|
-
export const UpdateGroupRequestFilterSensitiveLog = (obj) => ({
|
|
299
|
-
...obj,
|
|
300
|
-
...(obj.OtherAttributes && {
|
|
301
|
-
OtherAttributes: Object.entries(obj.OtherAttributes).reduce((acc, [key, value]) => ((acc[key] = AttributeValueFilterSensitiveLog(value)), acc), {}),
|
|
302
|
-
}),
|
|
303
|
-
});
|
|
304
|
-
export const UpdateUserRequestFilterSensitiveLog = (obj) => ({
|
|
305
|
-
...obj,
|
|
306
|
-
...(obj.EmailAddress && { EmailAddress: SENSITIVE_STRING }),
|
|
307
|
-
...(obj.GivenName && { GivenName: SENSITIVE_STRING }),
|
|
308
|
-
...(obj.Surname && { Surname: SENSITIVE_STRING }),
|
|
309
|
-
...(obj.OtherAttributes && {
|
|
310
|
-
OtherAttributes: Object.entries(obj.OtherAttributes).reduce((acc, [key, value]) => ((acc[key] = AttributeValueFilterSensitiveLog(value)), acc), {}),
|
|
311
|
-
}),
|
|
312
|
-
});
|