@aws-sdk/client-directory-service-data 3.1077.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.
Files changed (59) hide show
  1. package/dist-cjs/index.js +25 -173
  2. package/dist-es/commandBuilder.js +6 -0
  3. package/dist-es/commands/AddGroupMemberCommand.js +2 -14
  4. package/dist-es/commands/CreateGroupCommand.js +2 -14
  5. package/dist-es/commands/CreateUserCommand.js +2 -14
  6. package/dist-es/commands/DeleteGroupCommand.js +2 -14
  7. package/dist-es/commands/DeleteUserCommand.js +2 -14
  8. package/dist-es/commands/DescribeGroupCommand.js +2 -14
  9. package/dist-es/commands/DescribeUserCommand.js +2 -14
  10. package/dist-es/commands/DisableUserCommand.js +2 -14
  11. package/dist-es/commands/ListGroupMembersCommand.js +2 -14
  12. package/dist-es/commands/ListGroupsCommand.js +2 -14
  13. package/dist-es/commands/ListGroupsForMemberCommand.js +2 -14
  14. package/dist-es/commands/ListUsersCommand.js +2 -14
  15. package/dist-es/commands/RemoveGroupMemberCommand.js +2 -14
  16. package/dist-es/commands/SearchGroupsCommand.js +2 -14
  17. package/dist-es/commands/SearchUsersCommand.js +2 -14
  18. package/dist-es/commands/UpdateGroupCommand.js +2 -14
  19. package/dist-es/commands/UpdateUserCommand.js +2 -14
  20. package/dist-es/index.js +1 -0
  21. package/dist-types/commandBuilder.d.ts +18 -0
  22. package/dist-types/commands/AddGroupMemberCommand.d.ts +3 -8
  23. package/dist-types/commands/CreateGroupCommand.d.ts +3 -8
  24. package/dist-types/commands/CreateUserCommand.d.ts +3 -8
  25. package/dist-types/commands/DeleteGroupCommand.d.ts +3 -8
  26. package/dist-types/commands/DeleteUserCommand.d.ts +3 -8
  27. package/dist-types/commands/DescribeGroupCommand.d.ts +3 -8
  28. package/dist-types/commands/DescribeUserCommand.d.ts +3 -8
  29. package/dist-types/commands/DisableUserCommand.d.ts +3 -8
  30. package/dist-types/commands/ListGroupMembersCommand.d.ts +3 -8
  31. package/dist-types/commands/ListGroupsCommand.d.ts +3 -8
  32. package/dist-types/commands/ListGroupsForMemberCommand.d.ts +3 -8
  33. package/dist-types/commands/ListUsersCommand.d.ts +3 -8
  34. package/dist-types/commands/RemoveGroupMemberCommand.d.ts +3 -8
  35. package/dist-types/commands/SearchGroupsCommand.d.ts +3 -8
  36. package/dist-types/commands/SearchUsersCommand.d.ts +3 -8
  37. package/dist-types/commands/UpdateGroupCommand.d.ts +3 -8
  38. package/dist-types/commands/UpdateUserCommand.d.ts +3 -8
  39. package/dist-types/index.d.ts +1 -0
  40. package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
  41. package/dist-types/ts3.4/commands/AddGroupMemberCommand.d.ts +7 -16
  42. package/dist-types/ts3.4/commands/CreateGroupCommand.d.ts +7 -16
  43. package/dist-types/ts3.4/commands/CreateUserCommand.d.ts +7 -16
  44. package/dist-types/ts3.4/commands/DeleteGroupCommand.d.ts +7 -16
  45. package/dist-types/ts3.4/commands/DeleteUserCommand.d.ts +7 -16
  46. package/dist-types/ts3.4/commands/DescribeGroupCommand.d.ts +7 -16
  47. package/dist-types/ts3.4/commands/DescribeUserCommand.d.ts +7 -16
  48. package/dist-types/ts3.4/commands/DisableUserCommand.d.ts +7 -16
  49. package/dist-types/ts3.4/commands/ListGroupMembersCommand.d.ts +7 -16
  50. package/dist-types/ts3.4/commands/ListGroupsCommand.d.ts +7 -16
  51. package/dist-types/ts3.4/commands/ListGroupsForMemberCommand.d.ts +7 -16
  52. package/dist-types/ts3.4/commands/ListUsersCommand.d.ts +7 -16
  53. package/dist-types/ts3.4/commands/RemoveGroupMemberCommand.d.ts +7 -16
  54. package/dist-types/ts3.4/commands/SearchGroupsCommand.d.ts +7 -16
  55. package/dist-types/ts3.4/commands/SearchUsersCommand.d.ts +7 -16
  56. package/dist-types/ts3.4/commands/UpdateGroupCommand.d.ts +7 -16
  57. package/dist-types/ts3.4/commands/UpdateUserCommand.d.ts +7 -16
  58. package/dist-types/ts3.4/index.d.ts +1 -0
  59. package/package.json +8 -8
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, Command, createAggregatedClient } = require("@smithy/core/client");
4
- exports.$Command = Command;
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");
@@ -68,7 +69,7 @@ const commonParams = {
68
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
69
70
  };
70
71
 
71
- var version = "3.1076.0";
72
+ var version = "3.1077.0";
72
73
  var packageInfo = {
73
74
  version: version};
74
75
 
@@ -853,208 +854,59 @@ class DirectoryServiceDataClient extends Client {
853
854
  }
854
855
  }
855
856
 
856
- class AddGroupMemberCommand extends Command
857
- .classBuilder()
858
- .ep(commonParams)
859
- .m(function (Command, cs, config, o) {
860
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
861
- })
862
- .s("DirectoryServiceData", "AddGroupMember", {})
863
- .n("DirectoryServiceDataClient", "AddGroupMemberCommand")
864
- .sc(AddGroupMember$)
865
- .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$) {
866
862
  }
867
863
 
868
- class CreateGroupCommand extends Command
869
- .classBuilder()
870
- .ep(commonParams)
871
- .m(function (Command, cs, config, o) {
872
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
873
- })
874
- .s("DirectoryServiceData", "CreateGroup", {})
875
- .n("DirectoryServiceDataClient", "CreateGroupCommand")
876
- .sc(CreateGroup$)
877
- .build() {
864
+ class CreateGroupCommand extends command(_ep0, _mw0, "CreateGroup", CreateGroup$) {
878
865
  }
879
866
 
880
- class CreateUserCommand extends Command
881
- .classBuilder()
882
- .ep(commonParams)
883
- .m(function (Command, cs, config, o) {
884
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
885
- })
886
- .s("DirectoryServiceData", "CreateUser", {})
887
- .n("DirectoryServiceDataClient", "CreateUserCommand")
888
- .sc(CreateUser$)
889
- .build() {
867
+ class CreateUserCommand extends command(_ep0, _mw0, "CreateUser", CreateUser$) {
890
868
  }
891
869
 
892
- class DeleteGroupCommand extends Command
893
- .classBuilder()
894
- .ep(commonParams)
895
- .m(function (Command, cs, config, o) {
896
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
897
- })
898
- .s("DirectoryServiceData", "DeleteGroup", {})
899
- .n("DirectoryServiceDataClient", "DeleteGroupCommand")
900
- .sc(DeleteGroup$)
901
- .build() {
870
+ class DeleteGroupCommand extends command(_ep0, _mw0, "DeleteGroup", DeleteGroup$) {
902
871
  }
903
872
 
904
- class DeleteUserCommand extends Command
905
- .classBuilder()
906
- .ep(commonParams)
907
- .m(function (Command, cs, config, o) {
908
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
909
- })
910
- .s("DirectoryServiceData", "DeleteUser", {})
911
- .n("DirectoryServiceDataClient", "DeleteUserCommand")
912
- .sc(DeleteUser$)
913
- .build() {
873
+ class DeleteUserCommand extends command(_ep0, _mw0, "DeleteUser", DeleteUser$) {
914
874
  }
915
875
 
916
- class DescribeGroupCommand extends Command
917
- .classBuilder()
918
- .ep(commonParams)
919
- .m(function (Command, cs, config, o) {
920
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
921
- })
922
- .s("DirectoryServiceData", "DescribeGroup", {})
923
- .n("DirectoryServiceDataClient", "DescribeGroupCommand")
924
- .sc(DescribeGroup$)
925
- .build() {
876
+ class DescribeGroupCommand extends command(_ep0, _mw0, "DescribeGroup", DescribeGroup$) {
926
877
  }
927
878
 
928
- class DescribeUserCommand extends Command
929
- .classBuilder()
930
- .ep(commonParams)
931
- .m(function (Command, cs, config, o) {
932
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
933
- })
934
- .s("DirectoryServiceData", "DescribeUser", {})
935
- .n("DirectoryServiceDataClient", "DescribeUserCommand")
936
- .sc(DescribeUser$)
937
- .build() {
879
+ class DescribeUserCommand extends command(_ep0, _mw0, "DescribeUser", DescribeUser$) {
938
880
  }
939
881
 
940
- class DisableUserCommand extends Command
941
- .classBuilder()
942
- .ep(commonParams)
943
- .m(function (Command, cs, config, o) {
944
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
945
- })
946
- .s("DirectoryServiceData", "DisableUser", {})
947
- .n("DirectoryServiceDataClient", "DisableUserCommand")
948
- .sc(DisableUser$)
949
- .build() {
882
+ class DisableUserCommand extends command(_ep0, _mw0, "DisableUser", DisableUser$) {
950
883
  }
951
884
 
952
- class ListGroupMembersCommand extends Command
953
- .classBuilder()
954
- .ep(commonParams)
955
- .m(function (Command, cs, config, o) {
956
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
957
- })
958
- .s("DirectoryServiceData", "ListGroupMembers", {})
959
- .n("DirectoryServiceDataClient", "ListGroupMembersCommand")
960
- .sc(ListGroupMembers$)
961
- .build() {
885
+ class ListGroupMembersCommand extends command(_ep0, _mw0, "ListGroupMembers", ListGroupMembers$) {
962
886
  }
963
887
 
964
- class ListGroupsCommand extends Command
965
- .classBuilder()
966
- .ep(commonParams)
967
- .m(function (Command, cs, config, o) {
968
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
969
- })
970
- .s("DirectoryServiceData", "ListGroups", {})
971
- .n("DirectoryServiceDataClient", "ListGroupsCommand")
972
- .sc(ListGroups$)
973
- .build() {
888
+ class ListGroupsCommand extends command(_ep0, _mw0, "ListGroups", ListGroups$) {
974
889
  }
975
890
 
976
- class ListGroupsForMemberCommand extends Command
977
- .classBuilder()
978
- .ep(commonParams)
979
- .m(function (Command, cs, config, o) {
980
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
981
- })
982
- .s("DirectoryServiceData", "ListGroupsForMember", {})
983
- .n("DirectoryServiceDataClient", "ListGroupsForMemberCommand")
984
- .sc(ListGroupsForMember$)
985
- .build() {
891
+ class ListGroupsForMemberCommand extends command(_ep0, _mw0, "ListGroupsForMember", ListGroupsForMember$) {
986
892
  }
987
893
 
988
- class ListUsersCommand extends Command
989
- .classBuilder()
990
- .ep(commonParams)
991
- .m(function (Command, cs, config, o) {
992
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
993
- })
994
- .s("DirectoryServiceData", "ListUsers", {})
995
- .n("DirectoryServiceDataClient", "ListUsersCommand")
996
- .sc(ListUsers$)
997
- .build() {
894
+ class ListUsersCommand extends command(_ep0, _mw0, "ListUsers", ListUsers$) {
998
895
  }
999
896
 
1000
- class RemoveGroupMemberCommand extends Command
1001
- .classBuilder()
1002
- .ep(commonParams)
1003
- .m(function (Command, cs, config, o) {
1004
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1005
- })
1006
- .s("DirectoryServiceData", "RemoveGroupMember", {})
1007
- .n("DirectoryServiceDataClient", "RemoveGroupMemberCommand")
1008
- .sc(RemoveGroupMember$)
1009
- .build() {
897
+ class RemoveGroupMemberCommand extends command(_ep0, _mw0, "RemoveGroupMember", RemoveGroupMember$) {
1010
898
  }
1011
899
 
1012
- class SearchGroupsCommand extends Command
1013
- .classBuilder()
1014
- .ep(commonParams)
1015
- .m(function (Command, cs, config, o) {
1016
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1017
- })
1018
- .s("DirectoryServiceData", "SearchGroups", {})
1019
- .n("DirectoryServiceDataClient", "SearchGroupsCommand")
1020
- .sc(SearchGroups$)
1021
- .build() {
900
+ class SearchGroupsCommand extends command(_ep0, _mw0, "SearchGroups", SearchGroups$) {
1022
901
  }
1023
902
 
1024
- class SearchUsersCommand extends Command
1025
- .classBuilder()
1026
- .ep(commonParams)
1027
- .m(function (Command, cs, config, o) {
1028
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1029
- })
1030
- .s("DirectoryServiceData", "SearchUsers", {})
1031
- .n("DirectoryServiceDataClient", "SearchUsersCommand")
1032
- .sc(SearchUsers$)
1033
- .build() {
903
+ class SearchUsersCommand extends command(_ep0, _mw0, "SearchUsers", SearchUsers$) {
1034
904
  }
1035
905
 
1036
- class UpdateGroupCommand extends Command
1037
- .classBuilder()
1038
- .ep(commonParams)
1039
- .m(function (Command, cs, config, o) {
1040
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1041
- })
1042
- .s("DirectoryServiceData", "UpdateGroup", {})
1043
- .n("DirectoryServiceDataClient", "UpdateGroupCommand")
1044
- .sc(UpdateGroup$)
1045
- .build() {
906
+ class UpdateGroupCommand extends command(_ep0, _mw0, "UpdateGroup", UpdateGroup$) {
1046
907
  }
1047
908
 
1048
- class UpdateUserCommand extends Command
1049
- .classBuilder()
1050
- .ep(commonParams)
1051
- .m(function (Command, cs, config, o) {
1052
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1053
- })
1054
- .s("DirectoryServiceData", "UpdateUser", {})
1055
- .n("DirectoryServiceDataClient", "UpdateUserCommand")
1056
- .sc(UpdateUser$)
1057
- .build() {
909
+ class UpdateUserCommand extends command(_ep0, _mw0, "UpdateUser", UpdateUser$) {
1058
910
  }
1059
911
 
1060
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 { Command as $Command } from "@smithy/core/client";
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 { $Command };
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 { Command as $Command } from "@smithy/core/client";
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 { $Command };
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 { Command as $Command } from "@smithy/core/client";
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 { $Command };
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 { Command as $Command } from "@smithy/core/client";
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 { $Command };
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 { Command as $Command } from "@smithy/core/client";
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 { $Command };
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 { Command as $Command } from "@smithy/core/client";
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 { $Command };
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 { Command as $Command } from "@smithy/core/client";
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 { $Command };
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 { Command as $Command } from "@smithy/core/client";
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 { $Command };
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 { Command as $Command } from "@smithy/core/client";
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 { $Command };
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 { Command as $Command } from "@smithy/core/client";
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 { $Command };
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 { Command as $Command } from "@smithy/core/client";
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 { $Command };
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 { Command as $Command } from "@smithy/core/client";
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 { $Command };
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 { Command as $Command } from "@smithy/core/client";
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 { $Command };
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 { Command as $Command } from "@smithy/core/client";
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 { $Command };
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 { Command as $Command } from "@smithy/core/client";
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 { $Command };
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 { Command as $Command } from "@smithy/core/client";
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 { $Command };
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 { Command as $Command } from "@smithy/core/client";
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 { $Command };
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";
@@ -0,0 +1,18 @@
1
+ import type { EndpointParameterInstructions } from "@smithy/types";
2
+ import type { DirectoryServiceDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "./DirectoryServiceDataClient";
3
+ /**
4
+ * @internal
5
+ */
6
+ export declare const command: <I extends ServiceInputTypes, O extends ServiceOutputTypes>(added: EndpointParameterInstructions, plugins: (CommandCtor: any, clientStack: any, config: any, options: any) => import("@smithy/types").Pluggable<any, any>[], op: string, $: import("@smithy/types").StaticOperationSchema, smithyContext?: Record<string, unknown>) => {
7
+ new (input: I): import("@smithy/core/client").CommandImpl<I, O, DirectoryServiceDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
8
+ new (...[input]: import("@smithy/types").OptionalParameter<I>): import("@smithy/core/client").CommandImpl<I, O, DirectoryServiceDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
9
+ getEndpointParameterInstructions(): EndpointParameterInstructions;
10
+ };
11
+ /**
12
+ * @internal
13
+ */
14
+ export declare const _ep0: EndpointParameterInstructions;
15
+ /**
16
+ * @internal
17
+ */
18
+ export declare const _mw0: (Command: any, cs: any, config: any, o: any) => never[];