@aws-sdk/client-directory-service-data 3.654.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 (179) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +391 -0
  3. package/dist-cjs/DirectoryServiceData.js +45 -0
  4. package/dist-cjs/DirectoryServiceDataClient.js +50 -0
  5. package/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
  6. package/dist-cjs/auth/httpAuthSchemeProvider.js +47 -0
  7. package/dist-cjs/commands/AddGroupMemberCommand.js +26 -0
  8. package/dist-cjs/commands/CreateGroupCommand.js +27 -0
  9. package/dist-cjs/commands/CreateUserCommand.js +27 -0
  10. package/dist-cjs/commands/DeleteGroupCommand.js +26 -0
  11. package/dist-cjs/commands/DeleteUserCommand.js +26 -0
  12. package/dist-cjs/commands/DescribeGroupCommand.js +27 -0
  13. package/dist-cjs/commands/DescribeUserCommand.js +27 -0
  14. package/dist-cjs/commands/DisableUserCommand.js +26 -0
  15. package/dist-cjs/commands/ListGroupMembersCommand.js +27 -0
  16. package/dist-cjs/commands/ListGroupsCommand.js +27 -0
  17. package/dist-cjs/commands/ListGroupsForMemberCommand.js +27 -0
  18. package/dist-cjs/commands/ListUsersCommand.js +27 -0
  19. package/dist-cjs/commands/RemoveGroupMemberCommand.js +26 -0
  20. package/dist-cjs/commands/SearchGroupsCommand.js +27 -0
  21. package/dist-cjs/commands/SearchUsersCommand.js +27 -0
  22. package/dist-cjs/commands/UpdateGroupCommand.js +27 -0
  23. package/dist-cjs/commands/UpdateUserCommand.js +27 -0
  24. package/dist-cjs/commands/index.js +20 -0
  25. package/dist-cjs/endpoint/EndpointParameters.js +18 -0
  26. package/dist-cjs/endpoint/endpointResolver.js +18 -0
  27. package/dist-cjs/endpoint/ruleset.js +7 -0
  28. package/dist-cjs/extensionConfiguration.js +2 -0
  29. package/dist-cjs/index.js +11 -0
  30. package/dist-cjs/models/DirectoryServiceDataServiceException.js +12 -0
  31. package/dist-cjs/models/index.js +4 -0
  32. package/dist-cjs/models/models_0.js +333 -0
  33. package/dist-cjs/pagination/Interfaces.js +2 -0
  34. package/dist-cjs/pagination/ListGroupMembersPaginator.js +7 -0
  35. package/dist-cjs/pagination/ListGroupsForMemberPaginator.js +7 -0
  36. package/dist-cjs/pagination/ListGroupsPaginator.js +7 -0
  37. package/dist-cjs/pagination/ListUsersPaginator.js +7 -0
  38. package/dist-cjs/pagination/SearchGroupsPaginator.js +7 -0
  39. package/dist-cjs/pagination/SearchUsersPaginator.js +7 -0
  40. package/dist-cjs/pagination/index.js +10 -0
  41. package/dist-cjs/protocols/Aws_restJson1.js +768 -0
  42. package/dist-cjs/runtimeConfig.browser.js +39 -0
  43. package/dist-cjs/runtimeConfig.js +49 -0
  44. package/dist-cjs/runtimeConfig.native.js +15 -0
  45. package/dist-cjs/runtimeConfig.shared.js +34 -0
  46. package/dist-cjs/runtimeExtensions.js +25 -0
  47. package/dist-es/DirectoryServiceData.js +41 -0
  48. package/dist-es/DirectoryServiceDataClient.js +46 -0
  49. package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
  50. package/dist-es/auth/httpAuthSchemeProvider.js +41 -0
  51. package/dist-es/commands/AddGroupMemberCommand.js +22 -0
  52. package/dist-es/commands/CreateGroupCommand.js +23 -0
  53. package/dist-es/commands/CreateUserCommand.js +23 -0
  54. package/dist-es/commands/DeleteGroupCommand.js +22 -0
  55. package/dist-es/commands/DeleteUserCommand.js +22 -0
  56. package/dist-es/commands/DescribeGroupCommand.js +23 -0
  57. package/dist-es/commands/DescribeUserCommand.js +23 -0
  58. package/dist-es/commands/DisableUserCommand.js +22 -0
  59. package/dist-es/commands/ListGroupMembersCommand.js +23 -0
  60. package/dist-es/commands/ListGroupsCommand.js +23 -0
  61. package/dist-es/commands/ListGroupsForMemberCommand.js +23 -0
  62. package/dist-es/commands/ListUsersCommand.js +23 -0
  63. package/dist-es/commands/RemoveGroupMemberCommand.js +22 -0
  64. package/dist-es/commands/SearchGroupsCommand.js +23 -0
  65. package/dist-es/commands/SearchUsersCommand.js +23 -0
  66. package/dist-es/commands/UpdateGroupCommand.js +23 -0
  67. package/dist-es/commands/UpdateUserCommand.js +23 -0
  68. package/dist-es/commands/index.js +17 -0
  69. package/dist-es/endpoint/EndpointParameters.js +14 -0
  70. package/dist-es/endpoint/endpointResolver.js +14 -0
  71. package/dist-es/endpoint/ruleset.js +4 -0
  72. package/dist-es/extensionConfiguration.js +1 -0
  73. package/dist-es/index.js +6 -0
  74. package/dist-es/models/DirectoryServiceDataServiceException.js +8 -0
  75. package/dist-es/models/index.js +1 -0
  76. package/dist-es/models/models_0.js +301 -0
  77. package/dist-es/pagination/Interfaces.js +1 -0
  78. package/dist-es/pagination/ListGroupMembersPaginator.js +4 -0
  79. package/dist-es/pagination/ListGroupsForMemberPaginator.js +4 -0
  80. package/dist-es/pagination/ListGroupsPaginator.js +4 -0
  81. package/dist-es/pagination/ListUsersPaginator.js +4 -0
  82. package/dist-es/pagination/SearchGroupsPaginator.js +4 -0
  83. package/dist-es/pagination/SearchUsersPaginator.js +4 -0
  84. package/dist-es/pagination/index.js +7 -0
  85. package/dist-es/protocols/Aws_restJson1.js +731 -0
  86. package/dist-es/runtimeConfig.browser.js +34 -0
  87. package/dist-es/runtimeConfig.js +44 -0
  88. package/dist-es/runtimeConfig.native.js +11 -0
  89. package/dist-es/runtimeConfig.shared.js +30 -0
  90. package/dist-es/runtimeExtensions.js +21 -0
  91. package/dist-types/DirectoryServiceData.d.ts +179 -0
  92. package/dist-types/DirectoryServiceDataClient.d.ts +236 -0
  93. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
  94. package/dist-types/auth/httpAuthSchemeProvider.d.ts +61 -0
  95. package/dist-types/commands/AddGroupMemberCommand.d.ts +107 -0
  96. package/dist-types/commands/CreateGroupCommand.d.ts +118 -0
  97. package/dist-types/commands/CreateUserCommand.d.ts +119 -0
  98. package/dist-types/commands/DeleteGroupCommand.d.ts +105 -0
  99. package/dist-types/commands/DeleteUserCommand.d.ts +105 -0
  100. package/dist-types/commands/DescribeGroupCommand.d.ts +117 -0
  101. package/dist-types/commands/DescribeUserCommand.d.ts +120 -0
  102. package/dist-types/commands/DisableUserCommand.d.ts +107 -0
  103. package/dist-types/commands/ListGroupMembersCommand.d.ts +117 -0
  104. package/dist-types/commands/ListGroupsCommand.d.ts +112 -0
  105. package/dist-types/commands/ListGroupsForMemberCommand.d.ts +118 -0
  106. package/dist-types/commands/ListUsersCommand.d.ts +113 -0
  107. package/dist-types/commands/RemoveGroupMemberCommand.d.ts +107 -0
  108. package/dist-types/commands/SearchGroupsCommand.d.ts +129 -0
  109. package/dist-types/commands/SearchUsersCommand.d.ts +132 -0
  110. package/dist-types/commands/UpdateGroupCommand.d.ts +118 -0
  111. package/dist-types/commands/UpdateUserCommand.d.ts +119 -0
  112. package/dist-types/commands/index.d.ts +17 -0
  113. package/dist-types/endpoint/EndpointParameters.d.ts +40 -0
  114. package/dist-types/endpoint/endpointResolver.d.ts +5 -0
  115. package/dist-types/endpoint/ruleset.d.ts +2 -0
  116. package/dist-types/extensionConfiguration.d.ts +9 -0
  117. package/dist-types/index.d.ts +64 -0
  118. package/dist-types/models/DirectoryServiceDataServiceException.d.ts +14 -0
  119. package/dist-types/models/index.d.ts +1 -0
  120. package/dist-types/models/models_0.d.ts +1639 -0
  121. package/dist-types/pagination/Interfaces.d.ts +8 -0
  122. package/dist-types/pagination/ListGroupMembersPaginator.d.ts +7 -0
  123. package/dist-types/pagination/ListGroupsForMemberPaginator.d.ts +7 -0
  124. package/dist-types/pagination/ListGroupsPaginator.d.ts +7 -0
  125. package/dist-types/pagination/ListUsersPaginator.d.ts +7 -0
  126. package/dist-types/pagination/SearchGroupsPaginator.d.ts +7 -0
  127. package/dist-types/pagination/SearchUsersPaginator.d.ts +7 -0
  128. package/dist-types/pagination/index.d.ts +7 -0
  129. package/dist-types/protocols/Aws_restJson1.d.ts +155 -0
  130. package/dist-types/runtimeConfig.browser.d.ts +47 -0
  131. package/dist-types/runtimeConfig.d.ts +47 -0
  132. package/dist-types/runtimeConfig.native.d.ts +46 -0
  133. package/dist-types/runtimeConfig.shared.d.ts +21 -0
  134. package/dist-types/runtimeExtensions.d.ts +17 -0
  135. package/dist-types/ts3.4/DirectoryServiceData.d.ts +296 -0
  136. package/dist-types/ts3.4/DirectoryServiceDataClient.d.ts +223 -0
  137. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
  138. package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +44 -0
  139. package/dist-types/ts3.4/commands/AddGroupMemberCommand.d.ts +50 -0
  140. package/dist-types/ts3.4/commands/CreateGroupCommand.d.ts +47 -0
  141. package/dist-types/ts3.4/commands/CreateUserCommand.d.ts +47 -0
  142. package/dist-types/ts3.4/commands/DeleteGroupCommand.d.ts +47 -0
  143. package/dist-types/ts3.4/commands/DeleteUserCommand.d.ts +47 -0
  144. package/dist-types/ts3.4/commands/DescribeGroupCommand.d.ts +47 -0
  145. package/dist-types/ts3.4/commands/DescribeUserCommand.d.ts +47 -0
  146. package/dist-types/ts3.4/commands/DisableUserCommand.d.ts +47 -0
  147. package/dist-types/ts3.4/commands/ListGroupMembersCommand.d.ts +50 -0
  148. package/dist-types/ts3.4/commands/ListGroupsCommand.d.ts +47 -0
  149. package/dist-types/ts3.4/commands/ListGroupsForMemberCommand.d.ts +51 -0
  150. package/dist-types/ts3.4/commands/ListUsersCommand.d.ts +47 -0
  151. package/dist-types/ts3.4/commands/RemoveGroupMemberCommand.d.ts +51 -0
  152. package/dist-types/ts3.4/commands/SearchGroupsCommand.d.ts +47 -0
  153. package/dist-types/ts3.4/commands/SearchUsersCommand.d.ts +47 -0
  154. package/dist-types/ts3.4/commands/UpdateGroupCommand.d.ts +47 -0
  155. package/dist-types/ts3.4/commands/UpdateUserCommand.d.ts +47 -0
  156. package/dist-types/ts3.4/commands/index.d.ts +17 -0
  157. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +51 -0
  158. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  159. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  160. package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
  161. package/dist-types/ts3.4/index.d.ts +9 -0
  162. package/dist-types/ts3.4/models/DirectoryServiceDataServiceException.d.ts +9 -0
  163. package/dist-types/ts3.4/models/index.d.ts +1 -0
  164. package/dist-types/ts3.4/models/models_0.d.ts +471 -0
  165. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  166. package/dist-types/ts3.4/pagination/ListGroupMembersPaginator.d.ts +11 -0
  167. package/dist-types/ts3.4/pagination/ListGroupsForMemberPaginator.d.ts +11 -0
  168. package/dist-types/ts3.4/pagination/ListGroupsPaginator.d.ts +11 -0
  169. package/dist-types/ts3.4/pagination/ListUsersPaginator.d.ts +11 -0
  170. package/dist-types/ts3.4/pagination/SearchGroupsPaginator.d.ts +11 -0
  171. package/dist-types/ts3.4/pagination/SearchUsersPaginator.d.ts +11 -0
  172. package/dist-types/ts3.4/pagination/index.d.ts +7 -0
  173. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +209 -0
  174. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +89 -0
  175. package/dist-types/ts3.4/runtimeConfig.d.ts +93 -0
  176. package/dist-types/ts3.4/runtimeConfig.native.d.ts +83 -0
  177. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +23 -0
  178. package/dist-types/ts3.4/runtimeExtensions.d.ts +13 -0
  179. package/package.json +103 -0
@@ -0,0 +1,296 @@
1
+ import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
2
+ import {
3
+ AddGroupMemberCommandInput,
4
+ AddGroupMemberCommandOutput,
5
+ } from "./commands/AddGroupMemberCommand";
6
+ import {
7
+ CreateGroupCommandInput,
8
+ CreateGroupCommandOutput,
9
+ } from "./commands/CreateGroupCommand";
10
+ import {
11
+ CreateUserCommandInput,
12
+ CreateUserCommandOutput,
13
+ } from "./commands/CreateUserCommand";
14
+ import {
15
+ DeleteGroupCommandInput,
16
+ DeleteGroupCommandOutput,
17
+ } from "./commands/DeleteGroupCommand";
18
+ import {
19
+ DeleteUserCommandInput,
20
+ DeleteUserCommandOutput,
21
+ } from "./commands/DeleteUserCommand";
22
+ import {
23
+ DescribeGroupCommandInput,
24
+ DescribeGroupCommandOutput,
25
+ } from "./commands/DescribeGroupCommand";
26
+ import {
27
+ DescribeUserCommandInput,
28
+ DescribeUserCommandOutput,
29
+ } from "./commands/DescribeUserCommand";
30
+ import {
31
+ DisableUserCommandInput,
32
+ DisableUserCommandOutput,
33
+ } from "./commands/DisableUserCommand";
34
+ import {
35
+ ListGroupMembersCommandInput,
36
+ ListGroupMembersCommandOutput,
37
+ } from "./commands/ListGroupMembersCommand";
38
+ import {
39
+ ListGroupsCommandInput,
40
+ ListGroupsCommandOutput,
41
+ } from "./commands/ListGroupsCommand";
42
+ import {
43
+ ListGroupsForMemberCommandInput,
44
+ ListGroupsForMemberCommandOutput,
45
+ } from "./commands/ListGroupsForMemberCommand";
46
+ import {
47
+ ListUsersCommandInput,
48
+ ListUsersCommandOutput,
49
+ } from "./commands/ListUsersCommand";
50
+ import {
51
+ RemoveGroupMemberCommandInput,
52
+ RemoveGroupMemberCommandOutput,
53
+ } from "./commands/RemoveGroupMemberCommand";
54
+ import {
55
+ SearchGroupsCommandInput,
56
+ SearchGroupsCommandOutput,
57
+ } from "./commands/SearchGroupsCommand";
58
+ import {
59
+ SearchUsersCommandInput,
60
+ SearchUsersCommandOutput,
61
+ } from "./commands/SearchUsersCommand";
62
+ import {
63
+ UpdateGroupCommandInput,
64
+ UpdateGroupCommandOutput,
65
+ } from "./commands/UpdateGroupCommand";
66
+ import {
67
+ UpdateUserCommandInput,
68
+ UpdateUserCommandOutput,
69
+ } from "./commands/UpdateUserCommand";
70
+ import { DirectoryServiceDataClient } from "./DirectoryServiceDataClient";
71
+ export interface DirectoryServiceData {
72
+ addGroupMember(
73
+ args: AddGroupMemberCommandInput,
74
+ options?: __HttpHandlerOptions
75
+ ): Promise<AddGroupMemberCommandOutput>;
76
+ addGroupMember(
77
+ args: AddGroupMemberCommandInput,
78
+ cb: (err: any, data?: AddGroupMemberCommandOutput) => void
79
+ ): void;
80
+ addGroupMember(
81
+ args: AddGroupMemberCommandInput,
82
+ options: __HttpHandlerOptions,
83
+ cb: (err: any, data?: AddGroupMemberCommandOutput) => void
84
+ ): void;
85
+ createGroup(
86
+ args: CreateGroupCommandInput,
87
+ options?: __HttpHandlerOptions
88
+ ): Promise<CreateGroupCommandOutput>;
89
+ createGroup(
90
+ args: CreateGroupCommandInput,
91
+ cb: (err: any, data?: CreateGroupCommandOutput) => void
92
+ ): void;
93
+ createGroup(
94
+ args: CreateGroupCommandInput,
95
+ options: __HttpHandlerOptions,
96
+ cb: (err: any, data?: CreateGroupCommandOutput) => void
97
+ ): void;
98
+ createUser(
99
+ args: CreateUserCommandInput,
100
+ options?: __HttpHandlerOptions
101
+ ): Promise<CreateUserCommandOutput>;
102
+ createUser(
103
+ args: CreateUserCommandInput,
104
+ cb: (err: any, data?: CreateUserCommandOutput) => void
105
+ ): void;
106
+ createUser(
107
+ args: CreateUserCommandInput,
108
+ options: __HttpHandlerOptions,
109
+ cb: (err: any, data?: CreateUserCommandOutput) => void
110
+ ): void;
111
+ deleteGroup(
112
+ args: DeleteGroupCommandInput,
113
+ options?: __HttpHandlerOptions
114
+ ): Promise<DeleteGroupCommandOutput>;
115
+ deleteGroup(
116
+ args: DeleteGroupCommandInput,
117
+ cb: (err: any, data?: DeleteGroupCommandOutput) => void
118
+ ): void;
119
+ deleteGroup(
120
+ args: DeleteGroupCommandInput,
121
+ options: __HttpHandlerOptions,
122
+ cb: (err: any, data?: DeleteGroupCommandOutput) => void
123
+ ): void;
124
+ deleteUser(
125
+ args: DeleteUserCommandInput,
126
+ options?: __HttpHandlerOptions
127
+ ): Promise<DeleteUserCommandOutput>;
128
+ deleteUser(
129
+ args: DeleteUserCommandInput,
130
+ cb: (err: any, data?: DeleteUserCommandOutput) => void
131
+ ): void;
132
+ deleteUser(
133
+ args: DeleteUserCommandInput,
134
+ options: __HttpHandlerOptions,
135
+ cb: (err: any, data?: DeleteUserCommandOutput) => void
136
+ ): void;
137
+ describeGroup(
138
+ args: DescribeGroupCommandInput,
139
+ options?: __HttpHandlerOptions
140
+ ): Promise<DescribeGroupCommandOutput>;
141
+ describeGroup(
142
+ args: DescribeGroupCommandInput,
143
+ cb: (err: any, data?: DescribeGroupCommandOutput) => void
144
+ ): void;
145
+ describeGroup(
146
+ args: DescribeGroupCommandInput,
147
+ options: __HttpHandlerOptions,
148
+ cb: (err: any, data?: DescribeGroupCommandOutput) => void
149
+ ): void;
150
+ describeUser(
151
+ args: DescribeUserCommandInput,
152
+ options?: __HttpHandlerOptions
153
+ ): Promise<DescribeUserCommandOutput>;
154
+ describeUser(
155
+ args: DescribeUserCommandInput,
156
+ cb: (err: any, data?: DescribeUserCommandOutput) => void
157
+ ): void;
158
+ describeUser(
159
+ args: DescribeUserCommandInput,
160
+ options: __HttpHandlerOptions,
161
+ cb: (err: any, data?: DescribeUserCommandOutput) => void
162
+ ): void;
163
+ disableUser(
164
+ args: DisableUserCommandInput,
165
+ options?: __HttpHandlerOptions
166
+ ): Promise<DisableUserCommandOutput>;
167
+ disableUser(
168
+ args: DisableUserCommandInput,
169
+ cb: (err: any, data?: DisableUserCommandOutput) => void
170
+ ): void;
171
+ disableUser(
172
+ args: DisableUserCommandInput,
173
+ options: __HttpHandlerOptions,
174
+ cb: (err: any, data?: DisableUserCommandOutput) => void
175
+ ): void;
176
+ listGroupMembers(
177
+ args: ListGroupMembersCommandInput,
178
+ options?: __HttpHandlerOptions
179
+ ): Promise<ListGroupMembersCommandOutput>;
180
+ listGroupMembers(
181
+ args: ListGroupMembersCommandInput,
182
+ cb: (err: any, data?: ListGroupMembersCommandOutput) => void
183
+ ): void;
184
+ listGroupMembers(
185
+ args: ListGroupMembersCommandInput,
186
+ options: __HttpHandlerOptions,
187
+ cb: (err: any, data?: ListGroupMembersCommandOutput) => void
188
+ ): void;
189
+ listGroups(
190
+ args: ListGroupsCommandInput,
191
+ options?: __HttpHandlerOptions
192
+ ): Promise<ListGroupsCommandOutput>;
193
+ listGroups(
194
+ args: ListGroupsCommandInput,
195
+ cb: (err: any, data?: ListGroupsCommandOutput) => void
196
+ ): void;
197
+ listGroups(
198
+ args: ListGroupsCommandInput,
199
+ options: __HttpHandlerOptions,
200
+ cb: (err: any, data?: ListGroupsCommandOutput) => void
201
+ ): void;
202
+ listGroupsForMember(
203
+ args: ListGroupsForMemberCommandInput,
204
+ options?: __HttpHandlerOptions
205
+ ): Promise<ListGroupsForMemberCommandOutput>;
206
+ listGroupsForMember(
207
+ args: ListGroupsForMemberCommandInput,
208
+ cb: (err: any, data?: ListGroupsForMemberCommandOutput) => void
209
+ ): void;
210
+ listGroupsForMember(
211
+ args: ListGroupsForMemberCommandInput,
212
+ options: __HttpHandlerOptions,
213
+ cb: (err: any, data?: ListGroupsForMemberCommandOutput) => void
214
+ ): void;
215
+ listUsers(
216
+ args: ListUsersCommandInput,
217
+ options?: __HttpHandlerOptions
218
+ ): Promise<ListUsersCommandOutput>;
219
+ listUsers(
220
+ args: ListUsersCommandInput,
221
+ cb: (err: any, data?: ListUsersCommandOutput) => void
222
+ ): void;
223
+ listUsers(
224
+ args: ListUsersCommandInput,
225
+ options: __HttpHandlerOptions,
226
+ cb: (err: any, data?: ListUsersCommandOutput) => void
227
+ ): void;
228
+ removeGroupMember(
229
+ args: RemoveGroupMemberCommandInput,
230
+ options?: __HttpHandlerOptions
231
+ ): Promise<RemoveGroupMemberCommandOutput>;
232
+ removeGroupMember(
233
+ args: RemoveGroupMemberCommandInput,
234
+ cb: (err: any, data?: RemoveGroupMemberCommandOutput) => void
235
+ ): void;
236
+ removeGroupMember(
237
+ args: RemoveGroupMemberCommandInput,
238
+ options: __HttpHandlerOptions,
239
+ cb: (err: any, data?: RemoveGroupMemberCommandOutput) => void
240
+ ): void;
241
+ searchGroups(
242
+ args: SearchGroupsCommandInput,
243
+ options?: __HttpHandlerOptions
244
+ ): Promise<SearchGroupsCommandOutput>;
245
+ searchGroups(
246
+ args: SearchGroupsCommandInput,
247
+ cb: (err: any, data?: SearchGroupsCommandOutput) => void
248
+ ): void;
249
+ searchGroups(
250
+ args: SearchGroupsCommandInput,
251
+ options: __HttpHandlerOptions,
252
+ cb: (err: any, data?: SearchGroupsCommandOutput) => void
253
+ ): void;
254
+ searchUsers(
255
+ args: SearchUsersCommandInput,
256
+ options?: __HttpHandlerOptions
257
+ ): Promise<SearchUsersCommandOutput>;
258
+ searchUsers(
259
+ args: SearchUsersCommandInput,
260
+ cb: (err: any, data?: SearchUsersCommandOutput) => void
261
+ ): void;
262
+ searchUsers(
263
+ args: SearchUsersCommandInput,
264
+ options: __HttpHandlerOptions,
265
+ cb: (err: any, data?: SearchUsersCommandOutput) => void
266
+ ): void;
267
+ updateGroup(
268
+ args: UpdateGroupCommandInput,
269
+ options?: __HttpHandlerOptions
270
+ ): Promise<UpdateGroupCommandOutput>;
271
+ updateGroup(
272
+ args: UpdateGroupCommandInput,
273
+ cb: (err: any, data?: UpdateGroupCommandOutput) => void
274
+ ): void;
275
+ updateGroup(
276
+ args: UpdateGroupCommandInput,
277
+ options: __HttpHandlerOptions,
278
+ cb: (err: any, data?: UpdateGroupCommandOutput) => void
279
+ ): void;
280
+ updateUser(
281
+ args: UpdateUserCommandInput,
282
+ options?: __HttpHandlerOptions
283
+ ): Promise<UpdateUserCommandOutput>;
284
+ updateUser(
285
+ args: UpdateUserCommandInput,
286
+ cb: (err: any, data?: UpdateUserCommandOutput) => void
287
+ ): void;
288
+ updateUser(
289
+ args: UpdateUserCommandInput,
290
+ options: __HttpHandlerOptions,
291
+ cb: (err: any, data?: UpdateUserCommandOutput) => void
292
+ ): void;
293
+ }
294
+ export declare class DirectoryServiceData
295
+ extends DirectoryServiceDataClient
296
+ implements DirectoryServiceData {}
@@ -0,0 +1,223 @@
1
+ import {
2
+ HostHeaderInputConfig,
3
+ HostHeaderResolvedConfig,
4
+ } from "@aws-sdk/middleware-host-header";
5
+ import {
6
+ UserAgentInputConfig,
7
+ UserAgentResolvedConfig,
8
+ } from "@aws-sdk/middleware-user-agent";
9
+ import {
10
+ RegionInputConfig,
11
+ RegionResolvedConfig,
12
+ } from "@smithy/config-resolver";
13
+ import {
14
+ EndpointInputConfig,
15
+ EndpointResolvedConfig,
16
+ } from "@smithy/middleware-endpoint";
17
+ import {
18
+ RetryInputConfig,
19
+ RetryResolvedConfig,
20
+ } from "@smithy/middleware-retry";
21
+ import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
22
+ import {
23
+ Client as __Client,
24
+ DefaultsMode as __DefaultsMode,
25
+ SmithyConfiguration as __SmithyConfiguration,
26
+ SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
27
+ } from "@smithy/smithy-client";
28
+ import {
29
+ AwsCredentialIdentityProvider,
30
+ BodyLengthCalculator as __BodyLengthCalculator,
31
+ CheckOptionalClientConfig as __CheckOptionalClientConfig,
32
+ ChecksumConstructor as __ChecksumConstructor,
33
+ Decoder as __Decoder,
34
+ Encoder as __Encoder,
35
+ HashConstructor as __HashConstructor,
36
+ HttpHandlerOptions as __HttpHandlerOptions,
37
+ Logger as __Logger,
38
+ Provider as __Provider,
39
+ Provider,
40
+ StreamCollector as __StreamCollector,
41
+ UrlParser as __UrlParser,
42
+ UserAgent as __UserAgent,
43
+ } from "@smithy/types";
44
+ import {
45
+ HttpAuthSchemeInputConfig,
46
+ HttpAuthSchemeResolvedConfig,
47
+ } from "./auth/httpAuthSchemeProvider";
48
+ import {
49
+ AddGroupMemberCommandInput,
50
+ AddGroupMemberCommandOutput,
51
+ } from "./commands/AddGroupMemberCommand";
52
+ import {
53
+ CreateGroupCommandInput,
54
+ CreateGroupCommandOutput,
55
+ } from "./commands/CreateGroupCommand";
56
+ import {
57
+ CreateUserCommandInput,
58
+ CreateUserCommandOutput,
59
+ } from "./commands/CreateUserCommand";
60
+ import {
61
+ DeleteGroupCommandInput,
62
+ DeleteGroupCommandOutput,
63
+ } from "./commands/DeleteGroupCommand";
64
+ import {
65
+ DeleteUserCommandInput,
66
+ DeleteUserCommandOutput,
67
+ } from "./commands/DeleteUserCommand";
68
+ import {
69
+ DescribeGroupCommandInput,
70
+ DescribeGroupCommandOutput,
71
+ } from "./commands/DescribeGroupCommand";
72
+ import {
73
+ DescribeUserCommandInput,
74
+ DescribeUserCommandOutput,
75
+ } from "./commands/DescribeUserCommand";
76
+ import {
77
+ DisableUserCommandInput,
78
+ DisableUserCommandOutput,
79
+ } from "./commands/DisableUserCommand";
80
+ import {
81
+ ListGroupMembersCommandInput,
82
+ ListGroupMembersCommandOutput,
83
+ } from "./commands/ListGroupMembersCommand";
84
+ import {
85
+ ListGroupsCommandInput,
86
+ ListGroupsCommandOutput,
87
+ } from "./commands/ListGroupsCommand";
88
+ import {
89
+ ListGroupsForMemberCommandInput,
90
+ ListGroupsForMemberCommandOutput,
91
+ } from "./commands/ListGroupsForMemberCommand";
92
+ import {
93
+ ListUsersCommandInput,
94
+ ListUsersCommandOutput,
95
+ } from "./commands/ListUsersCommand";
96
+ import {
97
+ RemoveGroupMemberCommandInput,
98
+ RemoveGroupMemberCommandOutput,
99
+ } from "./commands/RemoveGroupMemberCommand";
100
+ import {
101
+ SearchGroupsCommandInput,
102
+ SearchGroupsCommandOutput,
103
+ } from "./commands/SearchGroupsCommand";
104
+ import {
105
+ SearchUsersCommandInput,
106
+ SearchUsersCommandOutput,
107
+ } from "./commands/SearchUsersCommand";
108
+ import {
109
+ UpdateGroupCommandInput,
110
+ UpdateGroupCommandOutput,
111
+ } from "./commands/UpdateGroupCommand";
112
+ import {
113
+ UpdateUserCommandInput,
114
+ UpdateUserCommandOutput,
115
+ } from "./commands/UpdateUserCommand";
116
+ import {
117
+ ClientInputEndpointParameters,
118
+ ClientResolvedEndpointParameters,
119
+ EndpointParameters,
120
+ } from "./endpoint/EndpointParameters";
121
+ import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
122
+ export { __Client };
123
+ export type ServiceInputTypes =
124
+ | AddGroupMemberCommandInput
125
+ | CreateGroupCommandInput
126
+ | CreateUserCommandInput
127
+ | DeleteGroupCommandInput
128
+ | DeleteUserCommandInput
129
+ | DescribeGroupCommandInput
130
+ | DescribeUserCommandInput
131
+ | DisableUserCommandInput
132
+ | ListGroupMembersCommandInput
133
+ | ListGroupsCommandInput
134
+ | ListGroupsForMemberCommandInput
135
+ | ListUsersCommandInput
136
+ | RemoveGroupMemberCommandInput
137
+ | SearchGroupsCommandInput
138
+ | SearchUsersCommandInput
139
+ | UpdateGroupCommandInput
140
+ | UpdateUserCommandInput;
141
+ export type ServiceOutputTypes =
142
+ | AddGroupMemberCommandOutput
143
+ | CreateGroupCommandOutput
144
+ | CreateUserCommandOutput
145
+ | DeleteGroupCommandOutput
146
+ | DeleteUserCommandOutput
147
+ | DescribeGroupCommandOutput
148
+ | DescribeUserCommandOutput
149
+ | DisableUserCommandOutput
150
+ | ListGroupMembersCommandOutput
151
+ | ListGroupsCommandOutput
152
+ | ListGroupsForMemberCommandOutput
153
+ | ListUsersCommandOutput
154
+ | RemoveGroupMemberCommandOutput
155
+ | SearchGroupsCommandOutput
156
+ | SearchUsersCommandOutput
157
+ | UpdateGroupCommandOutput
158
+ | UpdateUserCommandOutput;
159
+ export interface ClientDefaults
160
+ extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
161
+ requestHandler?: __HttpHandlerUserInput;
162
+ sha256?: __ChecksumConstructor | __HashConstructor;
163
+ urlParser?: __UrlParser;
164
+ bodyLengthChecker?: __BodyLengthCalculator;
165
+ streamCollector?: __StreamCollector;
166
+ base64Decoder?: __Decoder;
167
+ base64Encoder?: __Encoder;
168
+ utf8Decoder?: __Decoder;
169
+ utf8Encoder?: __Encoder;
170
+ runtime?: string;
171
+ disableHostPrefix?: boolean;
172
+ serviceId?: string;
173
+ useDualstackEndpoint?: boolean | __Provider<boolean>;
174
+ useFipsEndpoint?: boolean | __Provider<boolean>;
175
+ region?: string | __Provider<string>;
176
+ defaultUserAgentProvider?: Provider<__UserAgent>;
177
+ credentialDefaultProvider?: (input: any) => AwsCredentialIdentityProvider;
178
+ maxAttempts?: number | __Provider<number>;
179
+ retryMode?: string | __Provider<string>;
180
+ logger?: __Logger;
181
+ extensions?: RuntimeExtension[];
182
+ defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
183
+ }
184
+ export type DirectoryServiceDataClientConfigType = Partial<
185
+ __SmithyConfiguration<__HttpHandlerOptions>
186
+ > &
187
+ ClientDefaults &
188
+ UserAgentInputConfig &
189
+ RetryInputConfig &
190
+ RegionInputConfig &
191
+ HostHeaderInputConfig &
192
+ EndpointInputConfig<EndpointParameters> &
193
+ HttpAuthSchemeInputConfig &
194
+ ClientInputEndpointParameters;
195
+ export interface DirectoryServiceDataClientConfig
196
+ extends DirectoryServiceDataClientConfigType {}
197
+ export type DirectoryServiceDataClientResolvedConfigType =
198
+ __SmithyResolvedConfiguration<__HttpHandlerOptions> &
199
+ Required<ClientDefaults> &
200
+ RuntimeExtensionsConfig &
201
+ UserAgentResolvedConfig &
202
+ RetryResolvedConfig &
203
+ RegionResolvedConfig &
204
+ HostHeaderResolvedConfig &
205
+ EndpointResolvedConfig<EndpointParameters> &
206
+ HttpAuthSchemeResolvedConfig &
207
+ ClientResolvedEndpointParameters;
208
+ export interface DirectoryServiceDataClientResolvedConfig
209
+ extends DirectoryServiceDataClientResolvedConfigType {}
210
+ export declare class DirectoryServiceDataClient extends __Client<
211
+ __HttpHandlerOptions,
212
+ ServiceInputTypes,
213
+ ServiceOutputTypes,
214
+ DirectoryServiceDataClientResolvedConfig
215
+ > {
216
+ readonly config: DirectoryServiceDataClientResolvedConfig;
217
+ constructor(
218
+ ...[
219
+ configuration,
220
+ ]: __CheckOptionalClientConfig<DirectoryServiceDataClientConfig>
221
+ );
222
+ destroy(): void;
223
+ }
@@ -0,0 +1,32 @@
1
+ import {
2
+ AwsCredentialIdentity,
3
+ AwsCredentialIdentityProvider,
4
+ HttpAuthScheme,
5
+ } from "@smithy/types";
6
+ import { DirectoryServiceDataHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
7
+ export interface HttpAuthExtensionConfiguration {
8
+ setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void;
9
+ httpAuthSchemes(): HttpAuthScheme[];
10
+ setHttpAuthSchemeProvider(
11
+ httpAuthSchemeProvider: DirectoryServiceDataHttpAuthSchemeProvider
12
+ ): void;
13
+ httpAuthSchemeProvider(): DirectoryServiceDataHttpAuthSchemeProvider;
14
+ setCredentials(
15
+ credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider
16
+ ): void;
17
+ credentials():
18
+ | AwsCredentialIdentity
19
+ | AwsCredentialIdentityProvider
20
+ | undefined;
21
+ }
22
+ export type HttpAuthRuntimeConfig = Partial<{
23
+ httpAuthSchemes: HttpAuthScheme[];
24
+ httpAuthSchemeProvider: DirectoryServiceDataHttpAuthSchemeProvider;
25
+ credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider;
26
+ }>;
27
+ export declare const getHttpAuthExtensionConfiguration: (
28
+ runtimeConfig: HttpAuthRuntimeConfig
29
+ ) => HttpAuthExtensionConfiguration;
30
+ export declare const resolveHttpAuthRuntimeConfig: (
31
+ config: HttpAuthExtensionConfiguration
32
+ ) => HttpAuthRuntimeConfig;
@@ -0,0 +1,44 @@
1
+ import {
2
+ AwsSdkSigV4AuthInputConfig,
3
+ AwsSdkSigV4AuthResolvedConfig,
4
+ AwsSdkSigV4PreviouslyResolved,
5
+ } from "@aws-sdk/core";
6
+ import {
7
+ HandlerExecutionContext,
8
+ HttpAuthScheme,
9
+ HttpAuthSchemeParameters,
10
+ HttpAuthSchemeParametersProvider,
11
+ HttpAuthSchemeProvider,
12
+ } from "@smithy/types";
13
+ import { DirectoryServiceDataClientResolvedConfig } from "../DirectoryServiceDataClient";
14
+ export interface DirectoryServiceDataHttpAuthSchemeParameters
15
+ extends HttpAuthSchemeParameters {
16
+ region?: string;
17
+ }
18
+ export interface DirectoryServiceDataHttpAuthSchemeParametersProvider
19
+ extends HttpAuthSchemeParametersProvider<
20
+ DirectoryServiceDataClientResolvedConfig,
21
+ HandlerExecutionContext,
22
+ DirectoryServiceDataHttpAuthSchemeParameters,
23
+ object
24
+ > {}
25
+ export declare const defaultDirectoryServiceDataHttpAuthSchemeParametersProvider: (
26
+ config: DirectoryServiceDataClientResolvedConfig,
27
+ context: HandlerExecutionContext,
28
+ input: object
29
+ ) => Promise<DirectoryServiceDataHttpAuthSchemeParameters>;
30
+ export interface DirectoryServiceDataHttpAuthSchemeProvider
31
+ extends HttpAuthSchemeProvider<DirectoryServiceDataHttpAuthSchemeParameters> {}
32
+ export declare const defaultDirectoryServiceDataHttpAuthSchemeProvider: DirectoryServiceDataHttpAuthSchemeProvider;
33
+ export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
34
+ httpAuthSchemes?: HttpAuthScheme[];
35
+ httpAuthSchemeProvider?: DirectoryServiceDataHttpAuthSchemeProvider;
36
+ }
37
+ export interface HttpAuthSchemeResolvedConfig
38
+ extends AwsSdkSigV4AuthResolvedConfig {
39
+ readonly httpAuthSchemes: HttpAuthScheme[];
40
+ readonly httpAuthSchemeProvider: DirectoryServiceDataHttpAuthSchemeProvider;
41
+ }
42
+ export declare const resolveHttpAuthSchemeConfig: <T>(
43
+ config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved
44
+ ) => T & HttpAuthSchemeResolvedConfig;
@@ -0,0 +1,50 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ DirectoryServiceDataClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../DirectoryServiceDataClient";
8
+ import {
9
+ AddGroupMemberRequest,
10
+ AddGroupMemberResult,
11
+ } from "../models/models_0";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface AddGroupMemberCommandInput extends AddGroupMemberRequest {}
15
+ export interface AddGroupMemberCommandOutput
16
+ extends AddGroupMemberResult,
17
+ __MetadataBearer {}
18
+ declare const AddGroupMemberCommand_base: {
19
+ new (
20
+ input: AddGroupMemberCommandInput
21
+ ): import("@smithy/smithy-client").CommandImpl<
22
+ AddGroupMemberCommandInput,
23
+ AddGroupMemberCommandOutput,
24
+ DirectoryServiceDataClientResolvedConfig,
25
+ ServiceInputTypes,
26
+ ServiceOutputTypes
27
+ >;
28
+ new (
29
+ __0_0: AddGroupMemberCommandInput
30
+ ): import("@smithy/smithy-client").CommandImpl<
31
+ AddGroupMemberCommandInput,
32
+ AddGroupMemberCommandOutput,
33
+ DirectoryServiceDataClientResolvedConfig,
34
+ ServiceInputTypes,
35
+ ServiceOutputTypes
36
+ >;
37
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
38
+ };
39
+ export declare class AddGroupMemberCommand extends AddGroupMemberCommand_base {
40
+ protected static __types: {
41
+ api: {
42
+ input: AddGroupMemberRequest;
43
+ output: {};
44
+ };
45
+ sdk: {
46
+ input: AddGroupMemberCommandInput;
47
+ output: AddGroupMemberCommandOutput;
48
+ };
49
+ };
50
+ }
@@ -0,0 +1,47 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ DirectoryServiceDataClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../DirectoryServiceDataClient";
8
+ import { CreateGroupRequest, CreateGroupResult } from "../models/models_0";
9
+ export { __MetadataBearer };
10
+ export { $Command };
11
+ export interface CreateGroupCommandInput extends CreateGroupRequest {}
12
+ export interface CreateGroupCommandOutput
13
+ extends CreateGroupResult,
14
+ __MetadataBearer {}
15
+ declare const CreateGroupCommand_base: {
16
+ new (
17
+ input: CreateGroupCommandInput
18
+ ): import("@smithy/smithy-client").CommandImpl<
19
+ CreateGroupCommandInput,
20
+ CreateGroupCommandOutput,
21
+ DirectoryServiceDataClientResolvedConfig,
22
+ ServiceInputTypes,
23
+ ServiceOutputTypes
24
+ >;
25
+ new (
26
+ __0_0: CreateGroupCommandInput
27
+ ): import("@smithy/smithy-client").CommandImpl<
28
+ CreateGroupCommandInput,
29
+ CreateGroupCommandOutput,
30
+ DirectoryServiceDataClientResolvedConfig,
31
+ ServiceInputTypes,
32
+ ServiceOutputTypes
33
+ >;
34
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
35
+ };
36
+ export declare class CreateGroupCommand extends CreateGroupCommand_base {
37
+ protected static __types: {
38
+ api: {
39
+ input: CreateGroupRequest;
40
+ output: CreateGroupResult;
41
+ };
42
+ sdk: {
43
+ input: CreateGroupCommandInput;
44
+ output: CreateGroupCommandOutput;
45
+ };
46
+ };
47
+ }