@aws-sdk/client-directory-service-data 3.1076.0 → 3.1078.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 +28 -175
- package/dist-es/commandBuilder.js +6 -0
- package/dist-es/commands/AddGroupMemberCommand.js +2 -14
- package/dist-es/commands/CreateGroupCommand.js +2 -14
- package/dist-es/commands/CreateUserCommand.js +2 -14
- package/dist-es/commands/DeleteGroupCommand.js +2 -14
- package/dist-es/commands/DeleteUserCommand.js +2 -14
- package/dist-es/commands/DescribeGroupCommand.js +2 -14
- package/dist-es/commands/DescribeUserCommand.js +2 -14
- package/dist-es/commands/DisableUserCommand.js +2 -14
- package/dist-es/commands/ListGroupMembersCommand.js +2 -14
- package/dist-es/commands/ListGroupsCommand.js +2 -14
- package/dist-es/commands/ListGroupsForMemberCommand.js +2 -14
- package/dist-es/commands/ListUsersCommand.js +2 -14
- package/dist-es/commands/RemoveGroupMemberCommand.js +2 -14
- package/dist-es/commands/SearchGroupsCommand.js +2 -14
- package/dist-es/commands/SearchUsersCommand.js +2 -14
- package/dist-es/commands/UpdateGroupCommand.js +2 -14
- package/dist-es/commands/UpdateUserCommand.js +2 -14
- package/dist-es/index.js +1 -0
- package/dist-es/runtimeConfig.browser.js +0 -2
- package/dist-es/runtimeConfig.js +1 -2
- package/dist-es/runtimeConfig.native.js +0 -2
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-types/commandBuilder.d.ts +18 -0
- package/dist-types/commands/AddGroupMemberCommand.d.ts +3 -8
- package/dist-types/commands/CreateGroupCommand.d.ts +3 -8
- package/dist-types/commands/CreateUserCommand.d.ts +3 -8
- package/dist-types/commands/DeleteGroupCommand.d.ts +3 -8
- package/dist-types/commands/DeleteUserCommand.d.ts +3 -8
- package/dist-types/commands/DescribeGroupCommand.d.ts +3 -8
- package/dist-types/commands/DescribeUserCommand.d.ts +3 -8
- package/dist-types/commands/DisableUserCommand.d.ts +3 -8
- package/dist-types/commands/ListGroupMembersCommand.d.ts +3 -8
- package/dist-types/commands/ListGroupsCommand.d.ts +3 -8
- package/dist-types/commands/ListGroupsForMemberCommand.d.ts +3 -8
- package/dist-types/commands/ListUsersCommand.d.ts +3 -8
- package/dist-types/commands/RemoveGroupMemberCommand.d.ts +3 -8
- package/dist-types/commands/SearchGroupsCommand.d.ts +3 -8
- package/dist-types/commands/SearchUsersCommand.d.ts +3 -8
- package/dist-types/commands/UpdateGroupCommand.d.ts +3 -8
- package/dist-types/commands/UpdateUserCommand.d.ts +3 -8
- package/dist-types/index.d.ts +1 -0
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
- package/dist-types/ts3.4/commands/AddGroupMemberCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/CreateGroupCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/CreateUserCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeleteGroupCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeleteUserCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DescribeGroupCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DescribeUserCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DisableUserCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListGroupMembersCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListGroupsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListGroupsForMemberCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListUsersCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/RemoveGroupMemberCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/SearchGroupsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/SearchUsersCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UpdateGroupCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UpdateUserCommand.d.ts +7 -16
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
- package/package.json +8 -10
package/dist-cjs/index.js
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
|
|
2
2
|
const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");
|
|
3
|
-
const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client,
|
|
4
|
-
|
|
3
|
+
const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, makeBuilder, createAggregatedClient } = require("@smithy/core/client");
|
|
4
|
+
const { Command: $Command } = require("@smithy/core/client");
|
|
5
|
+
exports.$Command = $Command;
|
|
5
6
|
exports.__Client = Client;
|
|
6
7
|
const { resolveDefaultsModeConfig, loadConfig, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, resolveRegionConfig } = require("@smithy/core/config");
|
|
7
8
|
const { BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
|
|
@@ -10,9 +11,10 @@ const { DEFAULT_RETRY_MODE, NODE_RETRY_MODE_CONFIG_OPTIONS, NODE_MAX_ATTEMPT_CON
|
|
|
10
11
|
const { TypeRegistry, getSchemaSerdePlugin } = require("@smithy/core/schema");
|
|
11
12
|
const { resolveAwsSdkSigV4Config, AwsSdkSigV4Signer, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } = require("@aws-sdk/core/httpAuthSchemes");
|
|
12
13
|
const { defaultProvider } = require("@aws-sdk/credential-provider-node");
|
|
13
|
-
const { toUtf8, fromUtf8, toBase64, fromBase64,
|
|
14
|
+
const { toUtf8, fromUtf8, toBase64, fromBase64, calculateBodyLength } = require("@smithy/core/serde");
|
|
14
15
|
const { streamCollector, NodeHttpHandler } = require("@smithy/node-http-handler");
|
|
15
16
|
const { AwsRestJsonProtocol } = require("@aws-sdk/core/protocols");
|
|
17
|
+
const { Sha256 } = require("@smithy/core/checksum");
|
|
16
18
|
|
|
17
19
|
const defaultDirectoryServiceDataHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
18
20
|
return {
|
|
@@ -67,7 +69,7 @@ const commonParams = {
|
|
|
67
69
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
68
70
|
};
|
|
69
71
|
|
|
70
|
-
var version = "3.
|
|
72
|
+
var version = "3.1077.0";
|
|
71
73
|
var packageInfo = {
|
|
72
74
|
version: version};
|
|
73
75
|
|
|
@@ -731,6 +733,7 @@ const getRuntimeConfig$1 = (config) => {
|
|
|
731
733
|
serviceTarget: "DirectoryServiceData",
|
|
732
734
|
},
|
|
733
735
|
serviceId: config?.serviceId ?? "Directory Service Data",
|
|
736
|
+
sha256: config?.sha256 ?? Sha256,
|
|
734
737
|
urlParser: config?.urlParser ?? parseUrl,
|
|
735
738
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
736
739
|
utf8Encoder: config?.utf8Encoder ?? toUtf8,
|
|
@@ -764,7 +767,6 @@ const getRuntimeConfig = (config) => {
|
|
|
764
767
|
...NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
765
768
|
default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
|
|
766
769
|
}, config),
|
|
767
|
-
sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
|
|
768
770
|
streamCollector: config?.streamCollector ?? streamCollector,
|
|
769
771
|
useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
770
772
|
useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
@@ -852,208 +854,59 @@ class DirectoryServiceDataClient extends Client {
|
|
|
852
854
|
}
|
|
853
855
|
}
|
|
854
856
|
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
})
|
|
861
|
-
.s("DirectoryServiceData", "AddGroupMember", {})
|
|
862
|
-
.n("DirectoryServiceDataClient", "AddGroupMemberCommand")
|
|
863
|
-
.sc(AddGroupMember$)
|
|
864
|
-
.build() {
|
|
857
|
+
const command = makeBuilder(commonParams, "DirectoryServiceData", "DirectoryServiceDataClient", getEndpointPlugin);
|
|
858
|
+
const _ep0 = {};
|
|
859
|
+
const _mw0 = (Command, cs, config, o) => [];
|
|
860
|
+
|
|
861
|
+
class AddGroupMemberCommand extends command(_ep0, _mw0, "AddGroupMember", AddGroupMember$) {
|
|
865
862
|
}
|
|
866
863
|
|
|
867
|
-
class CreateGroupCommand extends
|
|
868
|
-
.classBuilder()
|
|
869
|
-
.ep(commonParams)
|
|
870
|
-
.m(function (Command, cs, config, o) {
|
|
871
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
872
|
-
})
|
|
873
|
-
.s("DirectoryServiceData", "CreateGroup", {})
|
|
874
|
-
.n("DirectoryServiceDataClient", "CreateGroupCommand")
|
|
875
|
-
.sc(CreateGroup$)
|
|
876
|
-
.build() {
|
|
864
|
+
class CreateGroupCommand extends command(_ep0, _mw0, "CreateGroup", CreateGroup$) {
|
|
877
865
|
}
|
|
878
866
|
|
|
879
|
-
class CreateUserCommand extends
|
|
880
|
-
.classBuilder()
|
|
881
|
-
.ep(commonParams)
|
|
882
|
-
.m(function (Command, cs, config, o) {
|
|
883
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
884
|
-
})
|
|
885
|
-
.s("DirectoryServiceData", "CreateUser", {})
|
|
886
|
-
.n("DirectoryServiceDataClient", "CreateUserCommand")
|
|
887
|
-
.sc(CreateUser$)
|
|
888
|
-
.build() {
|
|
867
|
+
class CreateUserCommand extends command(_ep0, _mw0, "CreateUser", CreateUser$) {
|
|
889
868
|
}
|
|
890
869
|
|
|
891
|
-
class DeleteGroupCommand extends
|
|
892
|
-
.classBuilder()
|
|
893
|
-
.ep(commonParams)
|
|
894
|
-
.m(function (Command, cs, config, o) {
|
|
895
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
896
|
-
})
|
|
897
|
-
.s("DirectoryServiceData", "DeleteGroup", {})
|
|
898
|
-
.n("DirectoryServiceDataClient", "DeleteGroupCommand")
|
|
899
|
-
.sc(DeleteGroup$)
|
|
900
|
-
.build() {
|
|
870
|
+
class DeleteGroupCommand extends command(_ep0, _mw0, "DeleteGroup", DeleteGroup$) {
|
|
901
871
|
}
|
|
902
872
|
|
|
903
|
-
class DeleteUserCommand extends
|
|
904
|
-
.classBuilder()
|
|
905
|
-
.ep(commonParams)
|
|
906
|
-
.m(function (Command, cs, config, o) {
|
|
907
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
908
|
-
})
|
|
909
|
-
.s("DirectoryServiceData", "DeleteUser", {})
|
|
910
|
-
.n("DirectoryServiceDataClient", "DeleteUserCommand")
|
|
911
|
-
.sc(DeleteUser$)
|
|
912
|
-
.build() {
|
|
873
|
+
class DeleteUserCommand extends command(_ep0, _mw0, "DeleteUser", DeleteUser$) {
|
|
913
874
|
}
|
|
914
875
|
|
|
915
|
-
class DescribeGroupCommand extends
|
|
916
|
-
.classBuilder()
|
|
917
|
-
.ep(commonParams)
|
|
918
|
-
.m(function (Command, cs, config, o) {
|
|
919
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
920
|
-
})
|
|
921
|
-
.s("DirectoryServiceData", "DescribeGroup", {})
|
|
922
|
-
.n("DirectoryServiceDataClient", "DescribeGroupCommand")
|
|
923
|
-
.sc(DescribeGroup$)
|
|
924
|
-
.build() {
|
|
876
|
+
class DescribeGroupCommand extends command(_ep0, _mw0, "DescribeGroup", DescribeGroup$) {
|
|
925
877
|
}
|
|
926
878
|
|
|
927
|
-
class DescribeUserCommand extends
|
|
928
|
-
.classBuilder()
|
|
929
|
-
.ep(commonParams)
|
|
930
|
-
.m(function (Command, cs, config, o) {
|
|
931
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
932
|
-
})
|
|
933
|
-
.s("DirectoryServiceData", "DescribeUser", {})
|
|
934
|
-
.n("DirectoryServiceDataClient", "DescribeUserCommand")
|
|
935
|
-
.sc(DescribeUser$)
|
|
936
|
-
.build() {
|
|
879
|
+
class DescribeUserCommand extends command(_ep0, _mw0, "DescribeUser", DescribeUser$) {
|
|
937
880
|
}
|
|
938
881
|
|
|
939
|
-
class DisableUserCommand extends
|
|
940
|
-
.classBuilder()
|
|
941
|
-
.ep(commonParams)
|
|
942
|
-
.m(function (Command, cs, config, o) {
|
|
943
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
944
|
-
})
|
|
945
|
-
.s("DirectoryServiceData", "DisableUser", {})
|
|
946
|
-
.n("DirectoryServiceDataClient", "DisableUserCommand")
|
|
947
|
-
.sc(DisableUser$)
|
|
948
|
-
.build() {
|
|
882
|
+
class DisableUserCommand extends command(_ep0, _mw0, "DisableUser", DisableUser$) {
|
|
949
883
|
}
|
|
950
884
|
|
|
951
|
-
class ListGroupMembersCommand extends
|
|
952
|
-
.classBuilder()
|
|
953
|
-
.ep(commonParams)
|
|
954
|
-
.m(function (Command, cs, config, o) {
|
|
955
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
956
|
-
})
|
|
957
|
-
.s("DirectoryServiceData", "ListGroupMembers", {})
|
|
958
|
-
.n("DirectoryServiceDataClient", "ListGroupMembersCommand")
|
|
959
|
-
.sc(ListGroupMembers$)
|
|
960
|
-
.build() {
|
|
885
|
+
class ListGroupMembersCommand extends command(_ep0, _mw0, "ListGroupMembers", ListGroupMembers$) {
|
|
961
886
|
}
|
|
962
887
|
|
|
963
|
-
class ListGroupsCommand extends
|
|
964
|
-
.classBuilder()
|
|
965
|
-
.ep(commonParams)
|
|
966
|
-
.m(function (Command, cs, config, o) {
|
|
967
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
968
|
-
})
|
|
969
|
-
.s("DirectoryServiceData", "ListGroups", {})
|
|
970
|
-
.n("DirectoryServiceDataClient", "ListGroupsCommand")
|
|
971
|
-
.sc(ListGroups$)
|
|
972
|
-
.build() {
|
|
888
|
+
class ListGroupsCommand extends command(_ep0, _mw0, "ListGroups", ListGroups$) {
|
|
973
889
|
}
|
|
974
890
|
|
|
975
|
-
class ListGroupsForMemberCommand extends
|
|
976
|
-
.classBuilder()
|
|
977
|
-
.ep(commonParams)
|
|
978
|
-
.m(function (Command, cs, config, o) {
|
|
979
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
980
|
-
})
|
|
981
|
-
.s("DirectoryServiceData", "ListGroupsForMember", {})
|
|
982
|
-
.n("DirectoryServiceDataClient", "ListGroupsForMemberCommand")
|
|
983
|
-
.sc(ListGroupsForMember$)
|
|
984
|
-
.build() {
|
|
891
|
+
class ListGroupsForMemberCommand extends command(_ep0, _mw0, "ListGroupsForMember", ListGroupsForMember$) {
|
|
985
892
|
}
|
|
986
893
|
|
|
987
|
-
class ListUsersCommand extends
|
|
988
|
-
.classBuilder()
|
|
989
|
-
.ep(commonParams)
|
|
990
|
-
.m(function (Command, cs, config, o) {
|
|
991
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
992
|
-
})
|
|
993
|
-
.s("DirectoryServiceData", "ListUsers", {})
|
|
994
|
-
.n("DirectoryServiceDataClient", "ListUsersCommand")
|
|
995
|
-
.sc(ListUsers$)
|
|
996
|
-
.build() {
|
|
894
|
+
class ListUsersCommand extends command(_ep0, _mw0, "ListUsers", ListUsers$) {
|
|
997
895
|
}
|
|
998
896
|
|
|
999
|
-
class RemoveGroupMemberCommand extends
|
|
1000
|
-
.classBuilder()
|
|
1001
|
-
.ep(commonParams)
|
|
1002
|
-
.m(function (Command, cs, config, o) {
|
|
1003
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1004
|
-
})
|
|
1005
|
-
.s("DirectoryServiceData", "RemoveGroupMember", {})
|
|
1006
|
-
.n("DirectoryServiceDataClient", "RemoveGroupMemberCommand")
|
|
1007
|
-
.sc(RemoveGroupMember$)
|
|
1008
|
-
.build() {
|
|
897
|
+
class RemoveGroupMemberCommand extends command(_ep0, _mw0, "RemoveGroupMember", RemoveGroupMember$) {
|
|
1009
898
|
}
|
|
1010
899
|
|
|
1011
|
-
class SearchGroupsCommand extends
|
|
1012
|
-
.classBuilder()
|
|
1013
|
-
.ep(commonParams)
|
|
1014
|
-
.m(function (Command, cs, config, o) {
|
|
1015
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1016
|
-
})
|
|
1017
|
-
.s("DirectoryServiceData", "SearchGroups", {})
|
|
1018
|
-
.n("DirectoryServiceDataClient", "SearchGroupsCommand")
|
|
1019
|
-
.sc(SearchGroups$)
|
|
1020
|
-
.build() {
|
|
900
|
+
class SearchGroupsCommand extends command(_ep0, _mw0, "SearchGroups", SearchGroups$) {
|
|
1021
901
|
}
|
|
1022
902
|
|
|
1023
|
-
class SearchUsersCommand extends
|
|
1024
|
-
.classBuilder()
|
|
1025
|
-
.ep(commonParams)
|
|
1026
|
-
.m(function (Command, cs, config, o) {
|
|
1027
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1028
|
-
})
|
|
1029
|
-
.s("DirectoryServiceData", "SearchUsers", {})
|
|
1030
|
-
.n("DirectoryServiceDataClient", "SearchUsersCommand")
|
|
1031
|
-
.sc(SearchUsers$)
|
|
1032
|
-
.build() {
|
|
903
|
+
class SearchUsersCommand extends command(_ep0, _mw0, "SearchUsers", SearchUsers$) {
|
|
1033
904
|
}
|
|
1034
905
|
|
|
1035
|
-
class UpdateGroupCommand extends
|
|
1036
|
-
.classBuilder()
|
|
1037
|
-
.ep(commonParams)
|
|
1038
|
-
.m(function (Command, cs, config, o) {
|
|
1039
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1040
|
-
})
|
|
1041
|
-
.s("DirectoryServiceData", "UpdateGroup", {})
|
|
1042
|
-
.n("DirectoryServiceDataClient", "UpdateGroupCommand")
|
|
1043
|
-
.sc(UpdateGroup$)
|
|
1044
|
-
.build() {
|
|
906
|
+
class UpdateGroupCommand extends command(_ep0, _mw0, "UpdateGroup", UpdateGroup$) {
|
|
1045
907
|
}
|
|
1046
908
|
|
|
1047
|
-
class UpdateUserCommand extends
|
|
1048
|
-
.classBuilder()
|
|
1049
|
-
.ep(commonParams)
|
|
1050
|
-
.m(function (Command, cs, config, o) {
|
|
1051
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1052
|
-
})
|
|
1053
|
-
.s("DirectoryServiceData", "UpdateUser", {})
|
|
1054
|
-
.n("DirectoryServiceDataClient", "UpdateUserCommand")
|
|
1055
|
-
.sc(UpdateUser$)
|
|
1056
|
-
.build() {
|
|
909
|
+
class UpdateUserCommand extends command(_ep0, _mw0, "UpdateUser", UpdateUser$) {
|
|
1057
910
|
}
|
|
1058
911
|
|
|
1059
912
|
const paginateListGroupMembers = createPaginator(DirectoryServiceDataClient, ListGroupMembersCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { makeBuilder } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
+
import { commonParams } from "./endpoint/EndpointParameters";
|
|
4
|
+
export const command = makeBuilder(commonParams, "DirectoryServiceData", "DirectoryServiceDataClient", getEndpointPlugin);
|
|
5
|
+
export const _ep0 = {};
|
|
6
|
+
export const _mw0 = (Command, cs, config, o) => [];
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { AddGroupMember$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class AddGroupMemberCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("DirectoryServiceData", "AddGroupMember", {})
|
|
13
|
-
.n("DirectoryServiceDataClient", "AddGroupMemberCommand")
|
|
14
|
-
.sc(AddGroupMember$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class AddGroupMemberCommand extends command(_ep0, _mw0, "AddGroupMember", AddGroupMember$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { CreateGroup$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class CreateGroupCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("DirectoryServiceData", "CreateGroup", {})
|
|
13
|
-
.n("DirectoryServiceDataClient", "CreateGroupCommand")
|
|
14
|
-
.sc(CreateGroup$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class CreateGroupCommand extends command(_ep0, _mw0, "CreateGroup", CreateGroup$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { CreateUser$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class CreateUserCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("DirectoryServiceData", "CreateUser", {})
|
|
13
|
-
.n("DirectoryServiceDataClient", "CreateUserCommand")
|
|
14
|
-
.sc(CreateUser$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class CreateUserCommand extends command(_ep0, _mw0, "CreateUser", CreateUser$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { DeleteGroup$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class DeleteGroupCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("DirectoryServiceData", "DeleteGroup", {})
|
|
13
|
-
.n("DirectoryServiceDataClient", "DeleteGroupCommand")
|
|
14
|
-
.sc(DeleteGroup$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class DeleteGroupCommand extends command(_ep0, _mw0, "DeleteGroup", DeleteGroup$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { DeleteUser$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class DeleteUserCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("DirectoryServiceData", "DeleteUser", {})
|
|
13
|
-
.n("DirectoryServiceDataClient", "DeleteUserCommand")
|
|
14
|
-
.sc(DeleteUser$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class DeleteUserCommand extends command(_ep0, _mw0, "DeleteUser", DeleteUser$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { DescribeGroup$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class DescribeGroupCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("DirectoryServiceData", "DescribeGroup", {})
|
|
13
|
-
.n("DirectoryServiceDataClient", "DescribeGroupCommand")
|
|
14
|
-
.sc(DescribeGroup$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class DescribeGroupCommand extends command(_ep0, _mw0, "DescribeGroup", DescribeGroup$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { DescribeUser$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class DescribeUserCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("DirectoryServiceData", "DescribeUser", {})
|
|
13
|
-
.n("DirectoryServiceDataClient", "DescribeUserCommand")
|
|
14
|
-
.sc(DescribeUser$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class DescribeUserCommand extends command(_ep0, _mw0, "DescribeUser", DescribeUser$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { DisableUser$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class DisableUserCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("DirectoryServiceData", "DisableUser", {})
|
|
13
|
-
.n("DirectoryServiceDataClient", "DisableUserCommand")
|
|
14
|
-
.sc(DisableUser$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class DisableUserCommand extends command(_ep0, _mw0, "DisableUser", DisableUser$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { ListGroupMembers$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ListGroupMembersCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("DirectoryServiceData", "ListGroupMembers", {})
|
|
13
|
-
.n("DirectoryServiceDataClient", "ListGroupMembersCommand")
|
|
14
|
-
.sc(ListGroupMembers$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class ListGroupMembersCommand extends command(_ep0, _mw0, "ListGroupMembers", ListGroupMembers$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { ListGroups$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ListGroupsCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("DirectoryServiceData", "ListGroups", {})
|
|
13
|
-
.n("DirectoryServiceDataClient", "ListGroupsCommand")
|
|
14
|
-
.sc(ListGroups$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class ListGroupsCommand extends command(_ep0, _mw0, "ListGroups", ListGroups$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { ListGroupsForMember$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ListGroupsForMemberCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("DirectoryServiceData", "ListGroupsForMember", {})
|
|
13
|
-
.n("DirectoryServiceDataClient", "ListGroupsForMemberCommand")
|
|
14
|
-
.sc(ListGroupsForMember$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class ListGroupsForMemberCommand extends command(_ep0, _mw0, "ListGroupsForMember", ListGroupsForMember$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { ListUsers$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ListUsersCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("DirectoryServiceData", "ListUsers", {})
|
|
13
|
-
.n("DirectoryServiceDataClient", "ListUsersCommand")
|
|
14
|
-
.sc(ListUsers$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class ListUsersCommand extends command(_ep0, _mw0, "ListUsers", ListUsers$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { RemoveGroupMember$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class RemoveGroupMemberCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("DirectoryServiceData", "RemoveGroupMember", {})
|
|
13
|
-
.n("DirectoryServiceDataClient", "RemoveGroupMemberCommand")
|
|
14
|
-
.sc(RemoveGroupMember$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class RemoveGroupMemberCommand extends command(_ep0, _mw0, "RemoveGroupMember", RemoveGroupMember$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { SearchGroups$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class SearchGroupsCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("DirectoryServiceData", "SearchGroups", {})
|
|
13
|
-
.n("DirectoryServiceDataClient", "SearchGroupsCommand")
|
|
14
|
-
.sc(SearchGroups$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class SearchGroupsCommand extends command(_ep0, _mw0, "SearchGroups", SearchGroups$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { SearchUsers$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class SearchUsersCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("DirectoryServiceData", "SearchUsers", {})
|
|
13
|
-
.n("DirectoryServiceDataClient", "SearchUsersCommand")
|
|
14
|
-
.sc(SearchUsers$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class SearchUsersCommand extends command(_ep0, _mw0, "SearchUsers", SearchUsers$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { UpdateGroup$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class UpdateGroupCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("DirectoryServiceData", "UpdateGroup", {})
|
|
13
|
-
.n("DirectoryServiceDataClient", "UpdateGroupCommand")
|
|
14
|
-
.sc(UpdateGroup$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class UpdateGroupCommand extends command(_ep0, _mw0, "UpdateGroup", UpdateGroup$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { UpdateUser$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class UpdateUserCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("DirectoryServiceData", "UpdateUser", {})
|
|
13
|
-
.n("DirectoryServiceDataClient", "UpdateUserCommand")
|
|
14
|
-
.sc(UpdateUser$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class UpdateUserCommand extends command(_ep0, _mw0, "UpdateUser", UpdateUser$) {
|
|
16
4
|
}
|
package/dist-es/index.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export * from "./DirectoryServiceDataClient";
|
|
2
2
|
export * from "./DirectoryServiceData";
|
|
3
3
|
export * from "./commands";
|
|
4
|
+
export { Command as $Command } from "@smithy/core/client";
|
|
4
5
|
export * from "./schemas/schemas_0";
|
|
5
6
|
export * from "./pagination";
|
|
6
7
|
export * from "./models/enums";
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import packageInfo from "../package.json";
|
|
2
|
-
import { Sha256 } from "@aws-crypto/sha256-browser";
|
|
3
2
|
import { createDefaultUserAgentProvider } from "@aws-sdk/core/client";
|
|
4
3
|
import { invalidProvider, loadConfigsForDefaultMode } from "@smithy/core/client";
|
|
5
4
|
import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT, resolveDefaultsModeConfig, } from "@smithy/core/config";
|
|
@@ -23,7 +22,6 @@ export const getRuntimeConfig = (config) => {
|
|
|
23
22
|
region: config?.region ?? invalidProvider("Region is missing"),
|
|
24
23
|
requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
25
24
|
retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE),
|
|
26
|
-
sha256: config?.sha256 ?? Sha256,
|
|
27
25
|
streamCollector: config?.streamCollector ?? streamCollector,
|
|
28
26
|
useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT)),
|
|
29
27
|
useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT)),
|