@aws-sdk/client-directory-service-data 3.893.0 → 3.894.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 (38) hide show
  1. package/dist-cjs/index.js +1772 -10
  2. package/package.json +6 -6
  3. package/dist-cjs/DirectoryServiceData.js +0 -45
  4. package/dist-cjs/DirectoryServiceDataClient.js +0 -52
  5. package/dist-cjs/auth/httpAuthExtensionConfiguration.js +0 -43
  6. package/dist-cjs/commands/AddGroupMemberCommand.js +0 -26
  7. package/dist-cjs/commands/CreateGroupCommand.js +0 -27
  8. package/dist-cjs/commands/CreateUserCommand.js +0 -27
  9. package/dist-cjs/commands/DeleteGroupCommand.js +0 -26
  10. package/dist-cjs/commands/DeleteUserCommand.js +0 -26
  11. package/dist-cjs/commands/DescribeGroupCommand.js +0 -27
  12. package/dist-cjs/commands/DescribeUserCommand.js +0 -27
  13. package/dist-cjs/commands/DisableUserCommand.js +0 -26
  14. package/dist-cjs/commands/ListGroupMembersCommand.js +0 -27
  15. package/dist-cjs/commands/ListGroupsCommand.js +0 -27
  16. package/dist-cjs/commands/ListGroupsForMemberCommand.js +0 -27
  17. package/dist-cjs/commands/ListUsersCommand.js +0 -27
  18. package/dist-cjs/commands/RemoveGroupMemberCommand.js +0 -26
  19. package/dist-cjs/commands/SearchGroupsCommand.js +0 -27
  20. package/dist-cjs/commands/SearchUsersCommand.js +0 -27
  21. package/dist-cjs/commands/UpdateGroupCommand.js +0 -27
  22. package/dist-cjs/commands/UpdateUserCommand.js +0 -27
  23. package/dist-cjs/commands/index.js +0 -20
  24. package/dist-cjs/endpoint/EndpointParameters.js +0 -17
  25. package/dist-cjs/extensionConfiguration.js +0 -2
  26. package/dist-cjs/models/DirectoryServiceDataServiceException.js +0 -12
  27. package/dist-cjs/models/index.js +0 -4
  28. package/dist-cjs/models/models_0.js +0 -344
  29. package/dist-cjs/pagination/Interfaces.js +0 -2
  30. package/dist-cjs/pagination/ListGroupMembersPaginator.js +0 -7
  31. package/dist-cjs/pagination/ListGroupsForMemberPaginator.js +0 -7
  32. package/dist-cjs/pagination/ListGroupsPaginator.js +0 -7
  33. package/dist-cjs/pagination/ListUsersPaginator.js +0 -7
  34. package/dist-cjs/pagination/SearchGroupsPaginator.js +0 -7
  35. package/dist-cjs/pagination/SearchUsersPaginator.js +0 -7
  36. package/dist-cjs/pagination/index.js +0 -10
  37. package/dist-cjs/protocols/Aws_restJson1.js +0 -763
  38. package/dist-cjs/runtimeExtensions.js +0 -13
package/dist-cjs/index.js CHANGED
@@ -1,11 +1,1773 @@
1
1
  "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DirectoryServiceDataServiceException = void 0;
4
- const tslib_1 = require("tslib");
5
- tslib_1.__exportStar(require("./DirectoryServiceDataClient"), exports);
6
- tslib_1.__exportStar(require("./DirectoryServiceData"), exports);
7
- tslib_1.__exportStar(require("./commands"), exports);
8
- tslib_1.__exportStar(require("./pagination"), exports);
9
- tslib_1.__exportStar(require("./models"), exports);
10
- var DirectoryServiceDataServiceException_1 = require("./models/DirectoryServiceDataServiceException");
11
- Object.defineProperty(exports, "DirectoryServiceDataServiceException", { enumerable: true, get: function () { return DirectoryServiceDataServiceException_1.DirectoryServiceDataServiceException; } });
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
7
+ var __export = (target, all) => {
8
+ for (var name in all)
9
+ __defProp(target, name, { get: all[name], enumerable: true });
10
+ };
11
+ var __copyProps = (to, from, except, desc) => {
12
+ if (from && typeof from === "object" || typeof from === "function") {
13
+ for (let key of __getOwnPropNames(from))
14
+ if (!__hasOwnProp.call(to, key) && key !== except)
15
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
16
+ }
17
+ return to;
18
+ };
19
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
20
+
21
+ // src/index.ts
22
+ var index_exports = {};
23
+ __export(index_exports, {
24
+ AccessDeniedException: () => AccessDeniedException,
25
+ AccessDeniedReason: () => AccessDeniedReason,
26
+ AddGroupMemberCommand: () => AddGroupMemberCommand,
27
+ AttributeValue: () => AttributeValue,
28
+ AttributeValueFilterSensitiveLog: () => AttributeValueFilterSensitiveLog,
29
+ ConflictException: () => ConflictException,
30
+ CreateGroupCommand: () => CreateGroupCommand,
31
+ CreateGroupRequestFilterSensitiveLog: () => CreateGroupRequestFilterSensitiveLog,
32
+ CreateUserCommand: () => CreateUserCommand,
33
+ CreateUserRequestFilterSensitiveLog: () => CreateUserRequestFilterSensitiveLog,
34
+ DeleteGroupCommand: () => DeleteGroupCommand,
35
+ DeleteUserCommand: () => DeleteUserCommand,
36
+ DescribeGroupCommand: () => DescribeGroupCommand,
37
+ DescribeGroupResultFilterSensitiveLog: () => DescribeGroupResultFilterSensitiveLog,
38
+ DescribeUserCommand: () => DescribeUserCommand,
39
+ DescribeUserResultFilterSensitiveLog: () => DescribeUserResultFilterSensitiveLog,
40
+ DirectoryServiceData: () => DirectoryServiceData,
41
+ DirectoryServiceDataClient: () => DirectoryServiceDataClient,
42
+ DirectoryServiceDataServiceException: () => DirectoryServiceDataServiceException,
43
+ DirectoryUnavailableException: () => DirectoryUnavailableException,
44
+ DirectoryUnavailableReason: () => DirectoryUnavailableReason,
45
+ DisableUserCommand: () => DisableUserCommand,
46
+ GroupFilterSensitiveLog: () => GroupFilterSensitiveLog,
47
+ GroupScope: () => GroupScope,
48
+ GroupType: () => GroupType,
49
+ InternalServerException: () => InternalServerException,
50
+ ListGroupMembersCommand: () => ListGroupMembersCommand,
51
+ ListGroupMembersRequestFilterSensitiveLog: () => ListGroupMembersRequestFilterSensitiveLog,
52
+ ListGroupMembersResultFilterSensitiveLog: () => ListGroupMembersResultFilterSensitiveLog,
53
+ ListGroupsCommand: () => ListGroupsCommand,
54
+ ListGroupsForMemberCommand: () => ListGroupsForMemberCommand,
55
+ ListGroupsForMemberRequestFilterSensitiveLog: () => ListGroupsForMemberRequestFilterSensitiveLog,
56
+ ListGroupsForMemberResultFilterSensitiveLog: () => ListGroupsForMemberResultFilterSensitiveLog,
57
+ ListGroupsRequestFilterSensitiveLog: () => ListGroupsRequestFilterSensitiveLog,
58
+ ListGroupsResultFilterSensitiveLog: () => ListGroupsResultFilterSensitiveLog,
59
+ ListUsersCommand: () => ListUsersCommand,
60
+ ListUsersRequestFilterSensitiveLog: () => ListUsersRequestFilterSensitiveLog,
61
+ ListUsersResultFilterSensitiveLog: () => ListUsersResultFilterSensitiveLog,
62
+ MemberType: () => MemberType,
63
+ RemoveGroupMemberCommand: () => RemoveGroupMemberCommand,
64
+ ResourceNotFoundException: () => ResourceNotFoundException,
65
+ SearchGroupsCommand: () => SearchGroupsCommand,
66
+ SearchGroupsRequestFilterSensitiveLog: () => SearchGroupsRequestFilterSensitiveLog,
67
+ SearchGroupsResultFilterSensitiveLog: () => SearchGroupsResultFilterSensitiveLog,
68
+ SearchUsersCommand: () => SearchUsersCommand,
69
+ SearchUsersRequestFilterSensitiveLog: () => SearchUsersRequestFilterSensitiveLog,
70
+ SearchUsersResultFilterSensitiveLog: () => SearchUsersResultFilterSensitiveLog,
71
+ ThrottlingException: () => ThrottlingException,
72
+ UpdateGroupCommand: () => UpdateGroupCommand,
73
+ UpdateGroupRequestFilterSensitiveLog: () => UpdateGroupRequestFilterSensitiveLog,
74
+ UpdateType: () => UpdateType,
75
+ UpdateUserCommand: () => UpdateUserCommand,
76
+ UpdateUserRequestFilterSensitiveLog: () => UpdateUserRequestFilterSensitiveLog,
77
+ UserFilterSensitiveLog: () => UserFilterSensitiveLog,
78
+ UserSummaryFilterSensitiveLog: () => UserSummaryFilterSensitiveLog,
79
+ ValidationException: () => ValidationException,
80
+ ValidationExceptionReason: () => ValidationExceptionReason,
81
+ __Client: () => import_smithy_client.Client,
82
+ paginateListGroupMembers: () => paginateListGroupMembers,
83
+ paginateListGroups: () => paginateListGroups,
84
+ paginateListGroupsForMember: () => paginateListGroupsForMember,
85
+ paginateListUsers: () => paginateListUsers,
86
+ paginateSearchGroups: () => paginateSearchGroups,
87
+ paginateSearchUsers: () => paginateSearchUsers
88
+ });
89
+ module.exports = __toCommonJS(index_exports);
90
+
91
+ // src/DirectoryServiceDataClient.ts
92
+ var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
93
+ var import_middleware_logger = require("@aws-sdk/middleware-logger");
94
+ var import_middleware_recursion_detection = require("@aws-sdk/middleware-recursion-detection");
95
+ var import_middleware_user_agent = require("@aws-sdk/middleware-user-agent");
96
+ var import_config_resolver = require("@smithy/config-resolver");
97
+ var import_core = require("@smithy/core");
98
+ var import_middleware_content_length = require("@smithy/middleware-content-length");
99
+ var import_middleware_endpoint = require("@smithy/middleware-endpoint");
100
+ var import_middleware_retry = require("@smithy/middleware-retry");
101
+
102
+ var import_httpAuthSchemeProvider = require("./auth/httpAuthSchemeProvider");
103
+
104
+ // src/endpoint/EndpointParameters.ts
105
+ var resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => {
106
+ return Object.assign(options, {
107
+ useDualstackEndpoint: options.useDualstackEndpoint ?? false,
108
+ useFipsEndpoint: options.useFipsEndpoint ?? false,
109
+ defaultSigningName: "ds-data"
110
+ });
111
+ }, "resolveClientEndpointParameters");
112
+ var commonParams = {
113
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
114
+ Endpoint: { type: "builtInParams", name: "endpoint" },
115
+ Region: { type: "builtInParams", name: "region" },
116
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
117
+ };
118
+
119
+ // src/DirectoryServiceDataClient.ts
120
+ var import_runtimeConfig = require("././runtimeConfig");
121
+
122
+ // src/runtimeExtensions.ts
123
+ var import_region_config_resolver = require("@aws-sdk/region-config-resolver");
124
+ var import_protocol_http = require("@smithy/protocol-http");
125
+ var import_smithy_client = require("@smithy/smithy-client");
126
+
127
+ // src/auth/httpAuthExtensionConfiguration.ts
128
+ var getHttpAuthExtensionConfiguration = /* @__PURE__ */ __name((runtimeConfig) => {
129
+ const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
130
+ let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
131
+ let _credentials = runtimeConfig.credentials;
132
+ return {
133
+ setHttpAuthScheme(httpAuthScheme) {
134
+ const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);
135
+ if (index === -1) {
136
+ _httpAuthSchemes.push(httpAuthScheme);
137
+ } else {
138
+ _httpAuthSchemes.splice(index, 1, httpAuthScheme);
139
+ }
140
+ },
141
+ httpAuthSchemes() {
142
+ return _httpAuthSchemes;
143
+ },
144
+ setHttpAuthSchemeProvider(httpAuthSchemeProvider) {
145
+ _httpAuthSchemeProvider = httpAuthSchemeProvider;
146
+ },
147
+ httpAuthSchemeProvider() {
148
+ return _httpAuthSchemeProvider;
149
+ },
150
+ setCredentials(credentials) {
151
+ _credentials = credentials;
152
+ },
153
+ credentials() {
154
+ return _credentials;
155
+ }
156
+ };
157
+ }, "getHttpAuthExtensionConfiguration");
158
+ var resolveHttpAuthRuntimeConfig = /* @__PURE__ */ __name((config) => {
159
+ return {
160
+ httpAuthSchemes: config.httpAuthSchemes(),
161
+ httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
162
+ credentials: config.credentials()
163
+ };
164
+ }, "resolveHttpAuthRuntimeConfig");
165
+
166
+ // src/runtimeExtensions.ts
167
+ var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions) => {
168
+ const extensionConfiguration = Object.assign(
169
+ (0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig),
170
+ (0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig),
171
+ (0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig),
172
+ getHttpAuthExtensionConfiguration(runtimeConfig)
173
+ );
174
+ extensions.forEach((extension) => extension.configure(extensionConfiguration));
175
+ return Object.assign(
176
+ runtimeConfig,
177
+ (0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
178
+ (0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),
179
+ (0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),
180
+ resolveHttpAuthRuntimeConfig(extensionConfiguration)
181
+ );
182
+ }, "resolveRuntimeExtensions");
183
+
184
+ // src/DirectoryServiceDataClient.ts
185
+ var DirectoryServiceDataClient = class extends import_smithy_client.Client {
186
+ static {
187
+ __name(this, "DirectoryServiceDataClient");
188
+ }
189
+ /**
190
+ * The resolved configuration of DirectoryServiceDataClient class. This is resolved and normalized from the {@link DirectoryServiceDataClientConfig | constructor configuration interface}.
191
+ */
192
+ config;
193
+ constructor(...[configuration]) {
194
+ const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
195
+ super(_config_0);
196
+ this.initConfig = _config_0;
197
+ const _config_1 = resolveClientEndpointParameters(_config_0);
198
+ const _config_2 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_1);
199
+ const _config_3 = (0, import_middleware_retry.resolveRetryConfig)(_config_2);
200
+ const _config_4 = (0, import_config_resolver.resolveRegionConfig)(_config_3);
201
+ const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
202
+ const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5);
203
+ const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);
204
+ const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
205
+ this.config = _config_8;
206
+ this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
207
+ this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));
208
+ this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config));
209
+ this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));
210
+ this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));
211
+ this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));
212
+ this.middlewareStack.use(
213
+ (0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
214
+ httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultDirectoryServiceDataHttpAuthSchemeParametersProvider,
215
+ identityProviderConfigProvider: /* @__PURE__ */ __name(async (config) => new import_core.DefaultIdentityProviderConfig({
216
+ "aws.auth#sigv4": config.credentials
217
+ }), "identityProviderConfigProvider")
218
+ })
219
+ );
220
+ this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));
221
+ }
222
+ /**
223
+ * Destroy underlying resources, like sockets. It's usually not necessary to do this.
224
+ * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
225
+ * Otherwise, sockets might stay open for quite a long time before the server terminates them.
226
+ */
227
+ destroy() {
228
+ super.destroy();
229
+ }
230
+ };
231
+
232
+ // src/DirectoryServiceData.ts
233
+
234
+
235
+ // src/commands/AddGroupMemberCommand.ts
236
+
237
+ var import_middleware_serde = require("@smithy/middleware-serde");
238
+
239
+
240
+ // src/protocols/Aws_restJson1.ts
241
+ var import_core2 = require("@aws-sdk/core");
242
+
243
+
244
+ var import_uuid = require("uuid");
245
+
246
+ // src/models/DirectoryServiceDataServiceException.ts
247
+
248
+ var DirectoryServiceDataServiceException = class _DirectoryServiceDataServiceException extends import_smithy_client.ServiceException {
249
+ static {
250
+ __name(this, "DirectoryServiceDataServiceException");
251
+ }
252
+ /**
253
+ * @internal
254
+ */
255
+ constructor(options) {
256
+ super(options);
257
+ Object.setPrototypeOf(this, _DirectoryServiceDataServiceException.prototype);
258
+ }
259
+ };
260
+
261
+ // src/models/models_0.ts
262
+
263
+ var AccessDeniedReason = {
264
+ DATA_DISABLED: "DATA_DISABLED",
265
+ DIRECTORY_AUTH: "DIRECTORY_AUTH",
266
+ IAM_AUTH: "IAM_AUTH"
267
+ };
268
+ var AccessDeniedException = class _AccessDeniedException extends DirectoryServiceDataServiceException {
269
+ static {
270
+ __name(this, "AccessDeniedException");
271
+ }
272
+ name = "AccessDeniedException";
273
+ $fault = "client";
274
+ Message;
275
+ /**
276
+ * <p> Reason the request was unauthorized. </p>
277
+ * @public
278
+ */
279
+ Reason;
280
+ /**
281
+ * @internal
282
+ */
283
+ constructor(opts) {
284
+ super({
285
+ name: "AccessDeniedException",
286
+ $fault: "client",
287
+ ...opts
288
+ });
289
+ Object.setPrototypeOf(this, _AccessDeniedException.prototype);
290
+ this.Message = opts.Message;
291
+ this.Reason = opts.Reason;
292
+ }
293
+ };
294
+ var ConflictException = class _ConflictException extends DirectoryServiceDataServiceException {
295
+ static {
296
+ __name(this, "ConflictException");
297
+ }
298
+ name = "ConflictException";
299
+ $fault = "client";
300
+ Message;
301
+ /**
302
+ * @internal
303
+ */
304
+ constructor(opts) {
305
+ super({
306
+ name: "ConflictException",
307
+ $fault: "client",
308
+ ...opts
309
+ });
310
+ Object.setPrototypeOf(this, _ConflictException.prototype);
311
+ this.Message = opts.Message;
312
+ }
313
+ };
314
+ var DirectoryUnavailableReason = {
315
+ DIRECTORY_RESOURCES_EXCEEDED: "DIRECTORY_RESOURCES_EXCEEDED",
316
+ DIRECTORY_TIMEOUT: "DIRECTORY_TIMEOUT",
317
+ INVALID_DIRECTORY_STATE: "INVALID_DIRECTORY_STATE",
318
+ NO_DISK_SPACE: "NO_DISK_SPACE",
319
+ TRUST_AUTH_FAILURE: "TRUST_AUTH_FAILURE"
320
+ };
321
+ var DirectoryUnavailableException = class _DirectoryUnavailableException extends DirectoryServiceDataServiceException {
322
+ static {
323
+ __name(this, "DirectoryUnavailableException");
324
+ }
325
+ name = "DirectoryUnavailableException";
326
+ $fault = "client";
327
+ $retryable = {};
328
+ Message;
329
+ /**
330
+ * <p> Reason the request failed for the specified directory. </p>
331
+ * @public
332
+ */
333
+ Reason;
334
+ /**
335
+ * @internal
336
+ */
337
+ constructor(opts) {
338
+ super({
339
+ name: "DirectoryUnavailableException",
340
+ $fault: "client",
341
+ ...opts
342
+ });
343
+ Object.setPrototypeOf(this, _DirectoryUnavailableException.prototype);
344
+ this.Message = opts.Message;
345
+ this.Reason = opts.Reason;
346
+ }
347
+ };
348
+ var InternalServerException = class _InternalServerException extends DirectoryServiceDataServiceException {
349
+ static {
350
+ __name(this, "InternalServerException");
351
+ }
352
+ name = "InternalServerException";
353
+ $fault = "server";
354
+ $retryable = {};
355
+ Message;
356
+ /**
357
+ * @internal
358
+ */
359
+ constructor(opts) {
360
+ super({
361
+ name: "InternalServerException",
362
+ $fault: "server",
363
+ ...opts
364
+ });
365
+ Object.setPrototypeOf(this, _InternalServerException.prototype);
366
+ this.Message = opts.Message;
367
+ }
368
+ };
369
+ var ResourceNotFoundException = class _ResourceNotFoundException extends DirectoryServiceDataServiceException {
370
+ static {
371
+ __name(this, "ResourceNotFoundException");
372
+ }
373
+ name = "ResourceNotFoundException";
374
+ $fault = "client";
375
+ Message;
376
+ /**
377
+ * @internal
378
+ */
379
+ constructor(opts) {
380
+ super({
381
+ name: "ResourceNotFoundException",
382
+ $fault: "client",
383
+ ...opts
384
+ });
385
+ Object.setPrototypeOf(this, _ResourceNotFoundException.prototype);
386
+ this.Message = opts.Message;
387
+ }
388
+ };
389
+ var ThrottlingException = class _ThrottlingException extends DirectoryServiceDataServiceException {
390
+ static {
391
+ __name(this, "ThrottlingException");
392
+ }
393
+ name = "ThrottlingException";
394
+ $fault = "client";
395
+ $retryable = {
396
+ throttling: true
397
+ };
398
+ Message;
399
+ /**
400
+ * <p> The recommended amount of seconds to retry after a throttling exception. </p>
401
+ * @public
402
+ */
403
+ RetryAfterSeconds;
404
+ /**
405
+ * @internal
406
+ */
407
+ constructor(opts) {
408
+ super({
409
+ name: "ThrottlingException",
410
+ $fault: "client",
411
+ ...opts
412
+ });
413
+ Object.setPrototypeOf(this, _ThrottlingException.prototype);
414
+ this.Message = opts.Message;
415
+ this.RetryAfterSeconds = opts.RetryAfterSeconds;
416
+ }
417
+ };
418
+ var ValidationExceptionReason = {
419
+ ATTRIBUTE_EXISTS: "ATTRIBUTE_EXISTS",
420
+ DUPLICATE_ATTRIBUTE: "DUPLICATE_ATTRIBUTE",
421
+ INVALID_ATTRIBUTE_FOR_GROUP: "INVALID_ATTRIBUTE_FOR_GROUP",
422
+ INVALID_ATTRIBUTE_FOR_MODIFY: "INVALID_ATTRIBUTE_FOR_MODIFY",
423
+ INVALID_ATTRIBUTE_FOR_SEARCH: "INVALID_ATTRIBUTE_FOR_SEARCH",
424
+ INVALID_ATTRIBUTE_FOR_USER: "INVALID_ATTRIBUTE_FOR_USER",
425
+ INVALID_ATTRIBUTE_NAME: "INVALID_ATTRIBUTE_NAME",
426
+ INVALID_ATTRIBUTE_VALUE: "INVALID_ATTRIBUTE_VALUE",
427
+ INVALID_DIRECTORY_TYPE: "INVALID_DIRECTORY_TYPE",
428
+ INVALID_NEXT_TOKEN: "INVALID_NEXT_TOKEN",
429
+ INVALID_REALM: "INVALID_REALM",
430
+ INVALID_SECONDARY_REGION: "INVALID_SECONDARY_REGION",
431
+ LDAP_SIZE_LIMIT_EXCEEDED: "LDAP_SIZE_LIMIT_EXCEEDED",
432
+ LDAP_UNSUPPORTED_OPERATION: "LDAP_UNSUPPORTED_OPERATION",
433
+ MISSING_ATTRIBUTE: "MISSING_ATTRIBUTE"
434
+ };
435
+ var ValidationException = class _ValidationException extends DirectoryServiceDataServiceException {
436
+ static {
437
+ __name(this, "ValidationException");
438
+ }
439
+ name = "ValidationException";
440
+ $fault = "client";
441
+ Message;
442
+ /**
443
+ * <p> Reason the request failed validation. </p>
444
+ * @public
445
+ */
446
+ Reason;
447
+ /**
448
+ * @internal
449
+ */
450
+ constructor(opts) {
451
+ super({
452
+ name: "ValidationException",
453
+ $fault: "client",
454
+ ...opts
455
+ });
456
+ Object.setPrototypeOf(this, _ValidationException.prototype);
457
+ this.Message = opts.Message;
458
+ this.Reason = opts.Reason;
459
+ }
460
+ };
461
+ var AttributeValue;
462
+ ((AttributeValue3) => {
463
+ AttributeValue3.visit = /* @__PURE__ */ __name((value, visitor) => {
464
+ if (value.S !== void 0) return visitor.S(value.S);
465
+ if (value.N !== void 0) return visitor.N(value.N);
466
+ if (value.BOOL !== void 0) return visitor.BOOL(value.BOOL);
467
+ if (value.SS !== void 0) return visitor.SS(value.SS);
468
+ return visitor._(value.$unknown[0], value.$unknown[1]);
469
+ }, "visit");
470
+ })(AttributeValue || (AttributeValue = {}));
471
+ var GroupScope = {
472
+ BUILTIN_LOCAL: "BuiltinLocal",
473
+ DOMAIN_LOCAL: "DomainLocal",
474
+ GLOBAL: "Global",
475
+ UNIVERSAL: "Universal"
476
+ };
477
+ var GroupType = {
478
+ DISTRIBUTION: "Distribution",
479
+ SECURITY: "Security"
480
+ };
481
+ var MemberType = {
482
+ COMPUTER: "COMPUTER",
483
+ GROUP: "GROUP",
484
+ USER: "USER"
485
+ };
486
+ var UpdateType = {
487
+ ADD: "ADD",
488
+ REMOVE: "REMOVE",
489
+ REPLACE: "REPLACE"
490
+ };
491
+ var AttributeValueFilterSensitiveLog = /* @__PURE__ */ __name((obj) => {
492
+ if (obj.S !== void 0) return { S: import_smithy_client.SENSITIVE_STRING };
493
+ if (obj.N !== void 0) return { N: import_smithy_client.SENSITIVE_STRING };
494
+ if (obj.BOOL !== void 0) return { BOOL: import_smithy_client.SENSITIVE_STRING };
495
+ if (obj.SS !== void 0) return { SS: import_smithy_client.SENSITIVE_STRING };
496
+ if (obj.$unknown !== void 0) return { [obj.$unknown[0]]: "UNKNOWN" };
497
+ }, "AttributeValueFilterSensitiveLog");
498
+ var CreateGroupRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
499
+ ...obj,
500
+ ...obj.OtherAttributes && {
501
+ OtherAttributes: Object.entries(obj.OtherAttributes).reduce(
502
+ (acc, [key, value]) => (acc[key] = AttributeValueFilterSensitiveLog(value), acc),
503
+ {}
504
+ )
505
+ }
506
+ }), "CreateGroupRequestFilterSensitiveLog");
507
+ var CreateUserRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
508
+ ...obj,
509
+ ...obj.EmailAddress && { EmailAddress: import_smithy_client.SENSITIVE_STRING },
510
+ ...obj.GivenName && { GivenName: import_smithy_client.SENSITIVE_STRING },
511
+ ...obj.Surname && { Surname: import_smithy_client.SENSITIVE_STRING },
512
+ ...obj.OtherAttributes && {
513
+ OtherAttributes: Object.entries(obj.OtherAttributes).reduce(
514
+ (acc, [key, value]) => (acc[key] = AttributeValueFilterSensitiveLog(value), acc),
515
+ {}
516
+ )
517
+ }
518
+ }), "CreateUserRequestFilterSensitiveLog");
519
+ var DescribeGroupResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
520
+ ...obj,
521
+ ...obj.DistinguishedName && { DistinguishedName: import_smithy_client.SENSITIVE_STRING },
522
+ ...obj.OtherAttributes && {
523
+ OtherAttributes: Object.entries(obj.OtherAttributes).reduce(
524
+ (acc, [key, value]) => (acc[key] = AttributeValueFilterSensitiveLog(value), acc),
525
+ {}
526
+ )
527
+ }
528
+ }), "DescribeGroupResultFilterSensitiveLog");
529
+ var DescribeUserResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
530
+ ...obj,
531
+ ...obj.DistinguishedName && { DistinguishedName: import_smithy_client.SENSITIVE_STRING },
532
+ ...obj.UserPrincipalName && { UserPrincipalName: import_smithy_client.SENSITIVE_STRING },
533
+ ...obj.EmailAddress && { EmailAddress: import_smithy_client.SENSITIVE_STRING },
534
+ ...obj.GivenName && { GivenName: import_smithy_client.SENSITIVE_STRING },
535
+ ...obj.Surname && { Surname: import_smithy_client.SENSITIVE_STRING },
536
+ ...obj.OtherAttributes && {
537
+ OtherAttributes: Object.entries(obj.OtherAttributes).reduce(
538
+ (acc, [key, value]) => (acc[key] = AttributeValueFilterSensitiveLog(value), acc),
539
+ {}
540
+ )
541
+ }
542
+ }), "DescribeUserResultFilterSensitiveLog");
543
+ var ListGroupMembersRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
544
+ ...obj,
545
+ ...obj.NextToken && { NextToken: import_smithy_client.SENSITIVE_STRING }
546
+ }), "ListGroupMembersRequestFilterSensitiveLog");
547
+ var ListGroupMembersResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
548
+ ...obj,
549
+ ...obj.NextToken && { NextToken: import_smithy_client.SENSITIVE_STRING }
550
+ }), "ListGroupMembersResultFilterSensitiveLog");
551
+ var ListGroupsRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
552
+ ...obj,
553
+ ...obj.NextToken && { NextToken: import_smithy_client.SENSITIVE_STRING }
554
+ }), "ListGroupsRequestFilterSensitiveLog");
555
+ var ListGroupsResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
556
+ ...obj,
557
+ ...obj.NextToken && { NextToken: import_smithy_client.SENSITIVE_STRING }
558
+ }), "ListGroupsResultFilterSensitiveLog");
559
+ var ListGroupsForMemberRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
560
+ ...obj,
561
+ ...obj.NextToken && { NextToken: import_smithy_client.SENSITIVE_STRING }
562
+ }), "ListGroupsForMemberRequestFilterSensitiveLog");
563
+ var ListGroupsForMemberResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
564
+ ...obj,
565
+ ...obj.NextToken && { NextToken: import_smithy_client.SENSITIVE_STRING }
566
+ }), "ListGroupsForMemberResultFilterSensitiveLog");
567
+ var ListUsersRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
568
+ ...obj,
569
+ ...obj.NextToken && { NextToken: import_smithy_client.SENSITIVE_STRING }
570
+ }), "ListUsersRequestFilterSensitiveLog");
571
+ var UserSummaryFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
572
+ ...obj,
573
+ ...obj.GivenName && { GivenName: import_smithy_client.SENSITIVE_STRING },
574
+ ...obj.Surname && { Surname: import_smithy_client.SENSITIVE_STRING }
575
+ }), "UserSummaryFilterSensitiveLog");
576
+ var ListUsersResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
577
+ ...obj,
578
+ ...obj.Users && { Users: obj.Users.map((item) => UserSummaryFilterSensitiveLog(item)) },
579
+ ...obj.NextToken && { NextToken: import_smithy_client.SENSITIVE_STRING }
580
+ }), "ListUsersResultFilterSensitiveLog");
581
+ var SearchGroupsRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
582
+ ...obj,
583
+ ...obj.SearchString && { SearchString: import_smithy_client.SENSITIVE_STRING },
584
+ ...obj.NextToken && { NextToken: import_smithy_client.SENSITIVE_STRING }
585
+ }), "SearchGroupsRequestFilterSensitiveLog");
586
+ var GroupFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
587
+ ...obj,
588
+ ...obj.DistinguishedName && { DistinguishedName: import_smithy_client.SENSITIVE_STRING },
589
+ ...obj.OtherAttributes && {
590
+ OtherAttributes: Object.entries(obj.OtherAttributes).reduce(
591
+ (acc, [key, value]) => (acc[key] = AttributeValueFilterSensitiveLog(value), acc),
592
+ {}
593
+ )
594
+ }
595
+ }), "GroupFilterSensitiveLog");
596
+ var SearchGroupsResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
597
+ ...obj,
598
+ ...obj.Groups && { Groups: obj.Groups.map((item) => GroupFilterSensitiveLog(item)) },
599
+ ...obj.NextToken && { NextToken: import_smithy_client.SENSITIVE_STRING }
600
+ }), "SearchGroupsResultFilterSensitiveLog");
601
+ var SearchUsersRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
602
+ ...obj,
603
+ ...obj.SearchString && { SearchString: import_smithy_client.SENSITIVE_STRING },
604
+ ...obj.NextToken && { NextToken: import_smithy_client.SENSITIVE_STRING }
605
+ }), "SearchUsersRequestFilterSensitiveLog");
606
+ var UserFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
607
+ ...obj,
608
+ ...obj.DistinguishedName && { DistinguishedName: import_smithy_client.SENSITIVE_STRING },
609
+ ...obj.UserPrincipalName && { UserPrincipalName: import_smithy_client.SENSITIVE_STRING },
610
+ ...obj.EmailAddress && { EmailAddress: import_smithy_client.SENSITIVE_STRING },
611
+ ...obj.GivenName && { GivenName: import_smithy_client.SENSITIVE_STRING },
612
+ ...obj.Surname && { Surname: import_smithy_client.SENSITIVE_STRING },
613
+ ...obj.OtherAttributes && {
614
+ OtherAttributes: Object.entries(obj.OtherAttributes).reduce(
615
+ (acc, [key, value]) => (acc[key] = AttributeValueFilterSensitiveLog(value), acc),
616
+ {}
617
+ )
618
+ }
619
+ }), "UserFilterSensitiveLog");
620
+ var SearchUsersResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
621
+ ...obj,
622
+ ...obj.Users && { Users: obj.Users.map((item) => UserFilterSensitiveLog(item)) },
623
+ ...obj.NextToken && { NextToken: import_smithy_client.SENSITIVE_STRING }
624
+ }), "SearchUsersResultFilterSensitiveLog");
625
+ var UpdateGroupRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
626
+ ...obj,
627
+ ...obj.OtherAttributes && {
628
+ OtherAttributes: Object.entries(obj.OtherAttributes).reduce(
629
+ (acc, [key, value]) => (acc[key] = AttributeValueFilterSensitiveLog(value), acc),
630
+ {}
631
+ )
632
+ }
633
+ }), "UpdateGroupRequestFilterSensitiveLog");
634
+ var UpdateUserRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
635
+ ...obj,
636
+ ...obj.EmailAddress && { EmailAddress: import_smithy_client.SENSITIVE_STRING },
637
+ ...obj.GivenName && { GivenName: import_smithy_client.SENSITIVE_STRING },
638
+ ...obj.Surname && { Surname: import_smithy_client.SENSITIVE_STRING },
639
+ ...obj.OtherAttributes && {
640
+ OtherAttributes: Object.entries(obj.OtherAttributes).reduce(
641
+ (acc, [key, value]) => (acc[key] = AttributeValueFilterSensitiveLog(value), acc),
642
+ {}
643
+ )
644
+ }
645
+ }), "UpdateUserRequestFilterSensitiveLog");
646
+
647
+ // src/protocols/Aws_restJson1.ts
648
+ var se_AddGroupMemberCommand = /* @__PURE__ */ __name(async (input, context) => {
649
+ const b = (0, import_core.requestBuilder)(input, context);
650
+ const headers = {
651
+ "content-type": "application/json"
652
+ };
653
+ b.bp("/GroupMemberships/AddGroupMember");
654
+ const query = (0, import_smithy_client.map)({
655
+ [_DI]: [, (0, import_smithy_client.expectNonNull)(input[_DI], `DirectoryId`)]
656
+ });
657
+ let body;
658
+ body = JSON.stringify(
659
+ (0, import_smithy_client.take)(input, {
660
+ ClientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
661
+ GroupName: [],
662
+ MemberName: [],
663
+ MemberRealm: []
664
+ })
665
+ );
666
+ b.m("POST").h(headers).q(query).b(body);
667
+ return b.build();
668
+ }, "se_AddGroupMemberCommand");
669
+ var se_CreateGroupCommand = /* @__PURE__ */ __name(async (input, context) => {
670
+ const b = (0, import_core.requestBuilder)(input, context);
671
+ const headers = {
672
+ "content-type": "application/json"
673
+ };
674
+ b.bp("/Groups/CreateGroup");
675
+ const query = (0, import_smithy_client.map)({
676
+ [_DI]: [, (0, import_smithy_client.expectNonNull)(input[_DI], `DirectoryId`)]
677
+ });
678
+ let body;
679
+ body = JSON.stringify(
680
+ (0, import_smithy_client.take)(input, {
681
+ ClientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
682
+ GroupScope: [],
683
+ GroupType: [],
684
+ OtherAttributes: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "OtherAttributes"),
685
+ SAMAccountName: []
686
+ })
687
+ );
688
+ b.m("POST").h(headers).q(query).b(body);
689
+ return b.build();
690
+ }, "se_CreateGroupCommand");
691
+ var se_CreateUserCommand = /* @__PURE__ */ __name(async (input, context) => {
692
+ const b = (0, import_core.requestBuilder)(input, context);
693
+ const headers = {
694
+ "content-type": "application/json"
695
+ };
696
+ b.bp("/Users/CreateUser");
697
+ const query = (0, import_smithy_client.map)({
698
+ [_DI]: [, (0, import_smithy_client.expectNonNull)(input[_DI], `DirectoryId`)]
699
+ });
700
+ let body;
701
+ body = JSON.stringify(
702
+ (0, import_smithy_client.take)(input, {
703
+ ClientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
704
+ EmailAddress: [],
705
+ GivenName: [],
706
+ OtherAttributes: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "OtherAttributes"),
707
+ SAMAccountName: [],
708
+ Surname: []
709
+ })
710
+ );
711
+ b.m("POST").h(headers).q(query).b(body);
712
+ return b.build();
713
+ }, "se_CreateUserCommand");
714
+ var se_DeleteGroupCommand = /* @__PURE__ */ __name(async (input, context) => {
715
+ const b = (0, import_core.requestBuilder)(input, context);
716
+ const headers = {
717
+ "content-type": "application/json"
718
+ };
719
+ b.bp("/Groups/DeleteGroup");
720
+ const query = (0, import_smithy_client.map)({
721
+ [_DI]: [, (0, import_smithy_client.expectNonNull)(input[_DI], `DirectoryId`)]
722
+ });
723
+ let body;
724
+ body = JSON.stringify(
725
+ (0, import_smithy_client.take)(input, {
726
+ ClientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
727
+ SAMAccountName: []
728
+ })
729
+ );
730
+ b.m("POST").h(headers).q(query).b(body);
731
+ return b.build();
732
+ }, "se_DeleteGroupCommand");
733
+ var se_DeleteUserCommand = /* @__PURE__ */ __name(async (input, context) => {
734
+ const b = (0, import_core.requestBuilder)(input, context);
735
+ const headers = {
736
+ "content-type": "application/json"
737
+ };
738
+ b.bp("/Users/DeleteUser");
739
+ const query = (0, import_smithy_client.map)({
740
+ [_DI]: [, (0, import_smithy_client.expectNonNull)(input[_DI], `DirectoryId`)]
741
+ });
742
+ let body;
743
+ body = JSON.stringify(
744
+ (0, import_smithy_client.take)(input, {
745
+ ClientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
746
+ SAMAccountName: []
747
+ })
748
+ );
749
+ b.m("POST").h(headers).q(query).b(body);
750
+ return b.build();
751
+ }, "se_DeleteUserCommand");
752
+ var se_DescribeGroupCommand = /* @__PURE__ */ __name(async (input, context) => {
753
+ const b = (0, import_core.requestBuilder)(input, context);
754
+ const headers = {
755
+ "content-type": "application/json"
756
+ };
757
+ b.bp("/Groups/DescribeGroup");
758
+ const query = (0, import_smithy_client.map)({
759
+ [_DI]: [, (0, import_smithy_client.expectNonNull)(input[_DI], `DirectoryId`)]
760
+ });
761
+ let body;
762
+ body = JSON.stringify(
763
+ (0, import_smithy_client.take)(input, {
764
+ OtherAttributes: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "OtherAttributes"),
765
+ Realm: [],
766
+ SAMAccountName: []
767
+ })
768
+ );
769
+ b.m("POST").h(headers).q(query).b(body);
770
+ return b.build();
771
+ }, "se_DescribeGroupCommand");
772
+ var se_DescribeUserCommand = /* @__PURE__ */ __name(async (input, context) => {
773
+ const b = (0, import_core.requestBuilder)(input, context);
774
+ const headers = {
775
+ "content-type": "application/json"
776
+ };
777
+ b.bp("/Users/DescribeUser");
778
+ const query = (0, import_smithy_client.map)({
779
+ [_DI]: [, (0, import_smithy_client.expectNonNull)(input[_DI], `DirectoryId`)]
780
+ });
781
+ let body;
782
+ body = JSON.stringify(
783
+ (0, import_smithy_client.take)(input, {
784
+ OtherAttributes: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "OtherAttributes"),
785
+ Realm: [],
786
+ SAMAccountName: []
787
+ })
788
+ );
789
+ b.m("POST").h(headers).q(query).b(body);
790
+ return b.build();
791
+ }, "se_DescribeUserCommand");
792
+ var se_DisableUserCommand = /* @__PURE__ */ __name(async (input, context) => {
793
+ const b = (0, import_core.requestBuilder)(input, context);
794
+ const headers = {
795
+ "content-type": "application/json"
796
+ };
797
+ b.bp("/Users/DisableUser");
798
+ const query = (0, import_smithy_client.map)({
799
+ [_DI]: [, (0, import_smithy_client.expectNonNull)(input[_DI], `DirectoryId`)]
800
+ });
801
+ let body;
802
+ body = JSON.stringify(
803
+ (0, import_smithy_client.take)(input, {
804
+ ClientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
805
+ SAMAccountName: []
806
+ })
807
+ );
808
+ b.m("POST").h(headers).q(query).b(body);
809
+ return b.build();
810
+ }, "se_DisableUserCommand");
811
+ var se_ListGroupMembersCommand = /* @__PURE__ */ __name(async (input, context) => {
812
+ const b = (0, import_core.requestBuilder)(input, context);
813
+ const headers = {
814
+ "content-type": "application/json"
815
+ };
816
+ b.bp("/GroupMemberships/ListGroupMembers");
817
+ const query = (0, import_smithy_client.map)({
818
+ [_DI]: [, (0, import_smithy_client.expectNonNull)(input[_DI], `DirectoryId`)]
819
+ });
820
+ let body;
821
+ body = JSON.stringify(
822
+ (0, import_smithy_client.take)(input, {
823
+ MaxResults: [],
824
+ MemberRealm: [],
825
+ NextToken: [],
826
+ Realm: [],
827
+ SAMAccountName: []
828
+ })
829
+ );
830
+ b.m("POST").h(headers).q(query).b(body);
831
+ return b.build();
832
+ }, "se_ListGroupMembersCommand");
833
+ var se_ListGroupsCommand = /* @__PURE__ */ __name(async (input, context) => {
834
+ const b = (0, import_core.requestBuilder)(input, context);
835
+ const headers = {
836
+ "content-type": "application/json"
837
+ };
838
+ b.bp("/Groups/ListGroups");
839
+ const query = (0, import_smithy_client.map)({
840
+ [_DI]: [, (0, import_smithy_client.expectNonNull)(input[_DI], `DirectoryId`)]
841
+ });
842
+ let body;
843
+ body = JSON.stringify(
844
+ (0, import_smithy_client.take)(input, {
845
+ MaxResults: [],
846
+ NextToken: [],
847
+ Realm: []
848
+ })
849
+ );
850
+ b.m("POST").h(headers).q(query).b(body);
851
+ return b.build();
852
+ }, "se_ListGroupsCommand");
853
+ var se_ListGroupsForMemberCommand = /* @__PURE__ */ __name(async (input, context) => {
854
+ const b = (0, import_core.requestBuilder)(input, context);
855
+ const headers = {
856
+ "content-type": "application/json"
857
+ };
858
+ b.bp("/GroupMemberships/ListGroupsForMember");
859
+ const query = (0, import_smithy_client.map)({
860
+ [_DI]: [, (0, import_smithy_client.expectNonNull)(input[_DI], `DirectoryId`)]
861
+ });
862
+ let body;
863
+ body = JSON.stringify(
864
+ (0, import_smithy_client.take)(input, {
865
+ MaxResults: [],
866
+ MemberRealm: [],
867
+ NextToken: [],
868
+ Realm: [],
869
+ SAMAccountName: []
870
+ })
871
+ );
872
+ b.m("POST").h(headers).q(query).b(body);
873
+ return b.build();
874
+ }, "se_ListGroupsForMemberCommand");
875
+ var se_ListUsersCommand = /* @__PURE__ */ __name(async (input, context) => {
876
+ const b = (0, import_core.requestBuilder)(input, context);
877
+ const headers = {
878
+ "content-type": "application/json"
879
+ };
880
+ b.bp("/Users/ListUsers");
881
+ const query = (0, import_smithy_client.map)({
882
+ [_DI]: [, (0, import_smithy_client.expectNonNull)(input[_DI], `DirectoryId`)]
883
+ });
884
+ let body;
885
+ body = JSON.stringify(
886
+ (0, import_smithy_client.take)(input, {
887
+ MaxResults: [],
888
+ NextToken: [],
889
+ Realm: []
890
+ })
891
+ );
892
+ b.m("POST").h(headers).q(query).b(body);
893
+ return b.build();
894
+ }, "se_ListUsersCommand");
895
+ var se_RemoveGroupMemberCommand = /* @__PURE__ */ __name(async (input, context) => {
896
+ const b = (0, import_core.requestBuilder)(input, context);
897
+ const headers = {
898
+ "content-type": "application/json"
899
+ };
900
+ b.bp("/GroupMemberships/RemoveGroupMember");
901
+ const query = (0, import_smithy_client.map)({
902
+ [_DI]: [, (0, import_smithy_client.expectNonNull)(input[_DI], `DirectoryId`)]
903
+ });
904
+ let body;
905
+ body = JSON.stringify(
906
+ (0, import_smithy_client.take)(input, {
907
+ ClientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
908
+ GroupName: [],
909
+ MemberName: [],
910
+ MemberRealm: []
911
+ })
912
+ );
913
+ b.m("POST").h(headers).q(query).b(body);
914
+ return b.build();
915
+ }, "se_RemoveGroupMemberCommand");
916
+ var se_SearchGroupsCommand = /* @__PURE__ */ __name(async (input, context) => {
917
+ const b = (0, import_core.requestBuilder)(input, context);
918
+ const headers = {
919
+ "content-type": "application/json"
920
+ };
921
+ b.bp("/Groups/SearchGroups");
922
+ const query = (0, import_smithy_client.map)({
923
+ [_DI]: [, (0, import_smithy_client.expectNonNull)(input[_DI], `DirectoryId`)]
924
+ });
925
+ let body;
926
+ body = JSON.stringify(
927
+ (0, import_smithy_client.take)(input, {
928
+ MaxResults: [],
929
+ NextToken: [],
930
+ Realm: [],
931
+ SearchAttributes: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "SearchAttributes"),
932
+ SearchString: []
933
+ })
934
+ );
935
+ b.m("POST").h(headers).q(query).b(body);
936
+ return b.build();
937
+ }, "se_SearchGroupsCommand");
938
+ var se_SearchUsersCommand = /* @__PURE__ */ __name(async (input, context) => {
939
+ const b = (0, import_core.requestBuilder)(input, context);
940
+ const headers = {
941
+ "content-type": "application/json"
942
+ };
943
+ b.bp("/Users/SearchUsers");
944
+ const query = (0, import_smithy_client.map)({
945
+ [_DI]: [, (0, import_smithy_client.expectNonNull)(input[_DI], `DirectoryId`)]
946
+ });
947
+ let body;
948
+ body = JSON.stringify(
949
+ (0, import_smithy_client.take)(input, {
950
+ MaxResults: [],
951
+ NextToken: [],
952
+ Realm: [],
953
+ SearchAttributes: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "SearchAttributes"),
954
+ SearchString: []
955
+ })
956
+ );
957
+ b.m("POST").h(headers).q(query).b(body);
958
+ return b.build();
959
+ }, "se_SearchUsersCommand");
960
+ var se_UpdateGroupCommand = /* @__PURE__ */ __name(async (input, context) => {
961
+ const b = (0, import_core.requestBuilder)(input, context);
962
+ const headers = {
963
+ "content-type": "application/json"
964
+ };
965
+ b.bp("/Groups/UpdateGroup");
966
+ const query = (0, import_smithy_client.map)({
967
+ [_DI]: [, (0, import_smithy_client.expectNonNull)(input[_DI], `DirectoryId`)]
968
+ });
969
+ let body;
970
+ body = JSON.stringify(
971
+ (0, import_smithy_client.take)(input, {
972
+ ClientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
973
+ GroupScope: [],
974
+ GroupType: [],
975
+ OtherAttributes: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "OtherAttributes"),
976
+ SAMAccountName: [],
977
+ UpdateType: []
978
+ })
979
+ );
980
+ b.m("POST").h(headers).q(query).b(body);
981
+ return b.build();
982
+ }, "se_UpdateGroupCommand");
983
+ var se_UpdateUserCommand = /* @__PURE__ */ __name(async (input, context) => {
984
+ const b = (0, import_core.requestBuilder)(input, context);
985
+ const headers = {
986
+ "content-type": "application/json"
987
+ };
988
+ b.bp("/Users/UpdateUser");
989
+ const query = (0, import_smithy_client.map)({
990
+ [_DI]: [, (0, import_smithy_client.expectNonNull)(input[_DI], `DirectoryId`)]
991
+ });
992
+ let body;
993
+ body = JSON.stringify(
994
+ (0, import_smithy_client.take)(input, {
995
+ ClientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
996
+ EmailAddress: [],
997
+ GivenName: [],
998
+ OtherAttributes: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "OtherAttributes"),
999
+ SAMAccountName: [],
1000
+ Surname: [],
1001
+ UpdateType: []
1002
+ })
1003
+ );
1004
+ b.m("POST").h(headers).q(query).b(body);
1005
+ return b.build();
1006
+ }, "se_UpdateUserCommand");
1007
+ var de_AddGroupMemberCommand = /* @__PURE__ */ __name(async (output, context) => {
1008
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1009
+ return de_CommandError(output, context);
1010
+ }
1011
+ const contents = (0, import_smithy_client.map)({
1012
+ $metadata: deserializeMetadata(output)
1013
+ });
1014
+ await (0, import_smithy_client.collectBody)(output.body, context);
1015
+ return contents;
1016
+ }, "de_AddGroupMemberCommand");
1017
+ var de_CreateGroupCommand = /* @__PURE__ */ __name(async (output, context) => {
1018
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1019
+ return de_CommandError(output, context);
1020
+ }
1021
+ const contents = (0, import_smithy_client.map)({
1022
+ $metadata: deserializeMetadata(output)
1023
+ });
1024
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1025
+ const doc = (0, import_smithy_client.take)(data, {
1026
+ DirectoryId: import_smithy_client.expectString,
1027
+ SAMAccountName: import_smithy_client.expectString,
1028
+ SID: import_smithy_client.expectString
1029
+ });
1030
+ Object.assign(contents, doc);
1031
+ return contents;
1032
+ }, "de_CreateGroupCommand");
1033
+ var de_CreateUserCommand = /* @__PURE__ */ __name(async (output, context) => {
1034
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1035
+ return de_CommandError(output, context);
1036
+ }
1037
+ const contents = (0, import_smithy_client.map)({
1038
+ $metadata: deserializeMetadata(output)
1039
+ });
1040
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1041
+ const doc = (0, import_smithy_client.take)(data, {
1042
+ DirectoryId: import_smithy_client.expectString,
1043
+ SAMAccountName: import_smithy_client.expectString,
1044
+ SID: import_smithy_client.expectString
1045
+ });
1046
+ Object.assign(contents, doc);
1047
+ return contents;
1048
+ }, "de_CreateUserCommand");
1049
+ var de_DeleteGroupCommand = /* @__PURE__ */ __name(async (output, context) => {
1050
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1051
+ return de_CommandError(output, context);
1052
+ }
1053
+ const contents = (0, import_smithy_client.map)({
1054
+ $metadata: deserializeMetadata(output)
1055
+ });
1056
+ await (0, import_smithy_client.collectBody)(output.body, context);
1057
+ return contents;
1058
+ }, "de_DeleteGroupCommand");
1059
+ var de_DeleteUserCommand = /* @__PURE__ */ __name(async (output, context) => {
1060
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1061
+ return de_CommandError(output, context);
1062
+ }
1063
+ const contents = (0, import_smithy_client.map)({
1064
+ $metadata: deserializeMetadata(output)
1065
+ });
1066
+ await (0, import_smithy_client.collectBody)(output.body, context);
1067
+ return contents;
1068
+ }, "de_DeleteUserCommand");
1069
+ var de_DescribeGroupCommand = /* @__PURE__ */ __name(async (output, context) => {
1070
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1071
+ return de_CommandError(output, context);
1072
+ }
1073
+ const contents = (0, import_smithy_client.map)({
1074
+ $metadata: deserializeMetadata(output)
1075
+ });
1076
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1077
+ const doc = (0, import_smithy_client.take)(data, {
1078
+ DirectoryId: import_smithy_client.expectString,
1079
+ DistinguishedName: import_smithy_client.expectString,
1080
+ GroupScope: import_smithy_client.expectString,
1081
+ GroupType: import_smithy_client.expectString,
1082
+ OtherAttributes: import_smithy_client._json,
1083
+ Realm: import_smithy_client.expectString,
1084
+ SAMAccountName: import_smithy_client.expectString,
1085
+ SID: import_smithy_client.expectString
1086
+ });
1087
+ Object.assign(contents, doc);
1088
+ return contents;
1089
+ }, "de_DescribeGroupCommand");
1090
+ var de_DescribeUserCommand = /* @__PURE__ */ __name(async (output, context) => {
1091
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1092
+ return de_CommandError(output, context);
1093
+ }
1094
+ const contents = (0, import_smithy_client.map)({
1095
+ $metadata: deserializeMetadata(output)
1096
+ });
1097
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1098
+ const doc = (0, import_smithy_client.take)(data, {
1099
+ DirectoryId: import_smithy_client.expectString,
1100
+ DistinguishedName: import_smithy_client.expectString,
1101
+ EmailAddress: import_smithy_client.expectString,
1102
+ Enabled: import_smithy_client.expectBoolean,
1103
+ GivenName: import_smithy_client.expectString,
1104
+ OtherAttributes: import_smithy_client._json,
1105
+ Realm: import_smithy_client.expectString,
1106
+ SAMAccountName: import_smithy_client.expectString,
1107
+ SID: import_smithy_client.expectString,
1108
+ Surname: import_smithy_client.expectString,
1109
+ UserPrincipalName: import_smithy_client.expectString
1110
+ });
1111
+ Object.assign(contents, doc);
1112
+ return contents;
1113
+ }, "de_DescribeUserCommand");
1114
+ var de_DisableUserCommand = /* @__PURE__ */ __name(async (output, context) => {
1115
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1116
+ return de_CommandError(output, context);
1117
+ }
1118
+ const contents = (0, import_smithy_client.map)({
1119
+ $metadata: deserializeMetadata(output)
1120
+ });
1121
+ await (0, import_smithy_client.collectBody)(output.body, context);
1122
+ return contents;
1123
+ }, "de_DisableUserCommand");
1124
+ var de_ListGroupMembersCommand = /* @__PURE__ */ __name(async (output, context) => {
1125
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1126
+ return de_CommandError(output, context);
1127
+ }
1128
+ const contents = (0, import_smithy_client.map)({
1129
+ $metadata: deserializeMetadata(output)
1130
+ });
1131
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1132
+ const doc = (0, import_smithy_client.take)(data, {
1133
+ DirectoryId: import_smithy_client.expectString,
1134
+ MemberRealm: import_smithy_client.expectString,
1135
+ Members: import_smithy_client._json,
1136
+ NextToken: import_smithy_client.expectString,
1137
+ Realm: import_smithy_client.expectString
1138
+ });
1139
+ Object.assign(contents, doc);
1140
+ return contents;
1141
+ }, "de_ListGroupMembersCommand");
1142
+ var de_ListGroupsCommand = /* @__PURE__ */ __name(async (output, context) => {
1143
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1144
+ return de_CommandError(output, context);
1145
+ }
1146
+ const contents = (0, import_smithy_client.map)({
1147
+ $metadata: deserializeMetadata(output)
1148
+ });
1149
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1150
+ const doc = (0, import_smithy_client.take)(data, {
1151
+ DirectoryId: import_smithy_client.expectString,
1152
+ Groups: import_smithy_client._json,
1153
+ NextToken: import_smithy_client.expectString,
1154
+ Realm: import_smithy_client.expectString
1155
+ });
1156
+ Object.assign(contents, doc);
1157
+ return contents;
1158
+ }, "de_ListGroupsCommand");
1159
+ var de_ListGroupsForMemberCommand = /* @__PURE__ */ __name(async (output, context) => {
1160
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1161
+ return de_CommandError(output, context);
1162
+ }
1163
+ const contents = (0, import_smithy_client.map)({
1164
+ $metadata: deserializeMetadata(output)
1165
+ });
1166
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1167
+ const doc = (0, import_smithy_client.take)(data, {
1168
+ DirectoryId: import_smithy_client.expectString,
1169
+ Groups: import_smithy_client._json,
1170
+ MemberRealm: import_smithy_client.expectString,
1171
+ NextToken: import_smithy_client.expectString,
1172
+ Realm: import_smithy_client.expectString
1173
+ });
1174
+ Object.assign(contents, doc);
1175
+ return contents;
1176
+ }, "de_ListGroupsForMemberCommand");
1177
+ var de_ListUsersCommand = /* @__PURE__ */ __name(async (output, context) => {
1178
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1179
+ return de_CommandError(output, context);
1180
+ }
1181
+ const contents = (0, import_smithy_client.map)({
1182
+ $metadata: deserializeMetadata(output)
1183
+ });
1184
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1185
+ const doc = (0, import_smithy_client.take)(data, {
1186
+ DirectoryId: import_smithy_client.expectString,
1187
+ NextToken: import_smithy_client.expectString,
1188
+ Realm: import_smithy_client.expectString,
1189
+ Users: import_smithy_client._json
1190
+ });
1191
+ Object.assign(contents, doc);
1192
+ return contents;
1193
+ }, "de_ListUsersCommand");
1194
+ var de_RemoveGroupMemberCommand = /* @__PURE__ */ __name(async (output, context) => {
1195
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1196
+ return de_CommandError(output, context);
1197
+ }
1198
+ const contents = (0, import_smithy_client.map)({
1199
+ $metadata: deserializeMetadata(output)
1200
+ });
1201
+ await (0, import_smithy_client.collectBody)(output.body, context);
1202
+ return contents;
1203
+ }, "de_RemoveGroupMemberCommand");
1204
+ var de_SearchGroupsCommand = /* @__PURE__ */ __name(async (output, context) => {
1205
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1206
+ return de_CommandError(output, context);
1207
+ }
1208
+ const contents = (0, import_smithy_client.map)({
1209
+ $metadata: deserializeMetadata(output)
1210
+ });
1211
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1212
+ const doc = (0, import_smithy_client.take)(data, {
1213
+ DirectoryId: import_smithy_client.expectString,
1214
+ Groups: import_smithy_client._json,
1215
+ NextToken: import_smithy_client.expectString,
1216
+ Realm: import_smithy_client.expectString
1217
+ });
1218
+ Object.assign(contents, doc);
1219
+ return contents;
1220
+ }, "de_SearchGroupsCommand");
1221
+ var de_SearchUsersCommand = /* @__PURE__ */ __name(async (output, context) => {
1222
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1223
+ return de_CommandError(output, context);
1224
+ }
1225
+ const contents = (0, import_smithy_client.map)({
1226
+ $metadata: deserializeMetadata(output)
1227
+ });
1228
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1229
+ const doc = (0, import_smithy_client.take)(data, {
1230
+ DirectoryId: import_smithy_client.expectString,
1231
+ NextToken: import_smithy_client.expectString,
1232
+ Realm: import_smithy_client.expectString,
1233
+ Users: import_smithy_client._json
1234
+ });
1235
+ Object.assign(contents, doc);
1236
+ return contents;
1237
+ }, "de_SearchUsersCommand");
1238
+ var de_UpdateGroupCommand = /* @__PURE__ */ __name(async (output, context) => {
1239
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1240
+ return de_CommandError(output, context);
1241
+ }
1242
+ const contents = (0, import_smithy_client.map)({
1243
+ $metadata: deserializeMetadata(output)
1244
+ });
1245
+ await (0, import_smithy_client.collectBody)(output.body, context);
1246
+ return contents;
1247
+ }, "de_UpdateGroupCommand");
1248
+ var de_UpdateUserCommand = /* @__PURE__ */ __name(async (output, context) => {
1249
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1250
+ return de_CommandError(output, context);
1251
+ }
1252
+ const contents = (0, import_smithy_client.map)({
1253
+ $metadata: deserializeMetadata(output)
1254
+ });
1255
+ await (0, import_smithy_client.collectBody)(output.body, context);
1256
+ return contents;
1257
+ }, "de_UpdateUserCommand");
1258
+ var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
1259
+ const parsedOutput = {
1260
+ ...output,
1261
+ body: await (0, import_core2.parseJsonErrorBody)(output.body, context)
1262
+ };
1263
+ const errorCode = (0, import_core2.loadRestJsonErrorCode)(output, parsedOutput.body);
1264
+ switch (errorCode) {
1265
+ case "AccessDeniedException":
1266
+ case "com.amazonaws.directoryservicedata#AccessDeniedException":
1267
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1268
+ case "ConflictException":
1269
+ case "com.amazonaws.directoryservicedata#ConflictException":
1270
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1271
+ case "DirectoryUnavailableException":
1272
+ case "com.amazonaws.directoryservicedata#DirectoryUnavailableException":
1273
+ throw await de_DirectoryUnavailableExceptionRes(parsedOutput, context);
1274
+ case "InternalServerException":
1275
+ case "com.amazonaws.directoryservicedata#InternalServerException":
1276
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1277
+ case "ResourceNotFoundException":
1278
+ case "com.amazonaws.directoryservicedata#ResourceNotFoundException":
1279
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1280
+ case "ThrottlingException":
1281
+ case "com.amazonaws.directoryservicedata#ThrottlingException":
1282
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1283
+ case "ValidationException":
1284
+ case "com.amazonaws.directoryservicedata#ValidationException":
1285
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1286
+ default:
1287
+ const parsedBody = parsedOutput.body;
1288
+ return throwDefaultError({
1289
+ output,
1290
+ parsedBody,
1291
+ errorCode
1292
+ });
1293
+ }
1294
+ }, "de_CommandError");
1295
+ var throwDefaultError = (0, import_smithy_client.withBaseException)(DirectoryServiceDataServiceException);
1296
+ var de_AccessDeniedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1297
+ const contents = (0, import_smithy_client.map)({});
1298
+ const data = parsedOutput.body;
1299
+ const doc = (0, import_smithy_client.take)(data, {
1300
+ Message: import_smithy_client.expectString,
1301
+ Reason: import_smithy_client.expectString
1302
+ });
1303
+ Object.assign(contents, doc);
1304
+ const exception = new AccessDeniedException({
1305
+ $metadata: deserializeMetadata(parsedOutput),
1306
+ ...contents
1307
+ });
1308
+ return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
1309
+ }, "de_AccessDeniedExceptionRes");
1310
+ var de_ConflictExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1311
+ const contents = (0, import_smithy_client.map)({});
1312
+ const data = parsedOutput.body;
1313
+ const doc = (0, import_smithy_client.take)(data, {
1314
+ Message: import_smithy_client.expectString
1315
+ });
1316
+ Object.assign(contents, doc);
1317
+ const exception = new ConflictException({
1318
+ $metadata: deserializeMetadata(parsedOutput),
1319
+ ...contents
1320
+ });
1321
+ return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
1322
+ }, "de_ConflictExceptionRes");
1323
+ var de_DirectoryUnavailableExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1324
+ const contents = (0, import_smithy_client.map)({});
1325
+ const data = parsedOutput.body;
1326
+ const doc = (0, import_smithy_client.take)(data, {
1327
+ Message: import_smithy_client.expectString,
1328
+ Reason: import_smithy_client.expectString
1329
+ });
1330
+ Object.assign(contents, doc);
1331
+ const exception = new DirectoryUnavailableException({
1332
+ $metadata: deserializeMetadata(parsedOutput),
1333
+ ...contents
1334
+ });
1335
+ return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
1336
+ }, "de_DirectoryUnavailableExceptionRes");
1337
+ var de_InternalServerExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1338
+ const contents = (0, import_smithy_client.map)({});
1339
+ const data = parsedOutput.body;
1340
+ const doc = (0, import_smithy_client.take)(data, {
1341
+ Message: import_smithy_client.expectString
1342
+ });
1343
+ Object.assign(contents, doc);
1344
+ const exception = new InternalServerException({
1345
+ $metadata: deserializeMetadata(parsedOutput),
1346
+ ...contents
1347
+ });
1348
+ return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
1349
+ }, "de_InternalServerExceptionRes");
1350
+ var de_ResourceNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1351
+ const contents = (0, import_smithy_client.map)({});
1352
+ const data = parsedOutput.body;
1353
+ const doc = (0, import_smithy_client.take)(data, {
1354
+ Message: import_smithy_client.expectString
1355
+ });
1356
+ Object.assign(contents, doc);
1357
+ const exception = new ResourceNotFoundException({
1358
+ $metadata: deserializeMetadata(parsedOutput),
1359
+ ...contents
1360
+ });
1361
+ return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
1362
+ }, "de_ResourceNotFoundExceptionRes");
1363
+ var de_ThrottlingExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1364
+ const contents = (0, import_smithy_client.map)({
1365
+ [_RAS]: [() => void 0 !== parsedOutput.headers[_ra], () => (0, import_smithy_client.strictParseInt32)(parsedOutput.headers[_ra])]
1366
+ });
1367
+ const data = parsedOutput.body;
1368
+ const doc = (0, import_smithy_client.take)(data, {
1369
+ Message: import_smithy_client.expectString
1370
+ });
1371
+ Object.assign(contents, doc);
1372
+ const exception = new ThrottlingException({
1373
+ $metadata: deserializeMetadata(parsedOutput),
1374
+ ...contents
1375
+ });
1376
+ return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
1377
+ }, "de_ThrottlingExceptionRes");
1378
+ var de_ValidationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1379
+ const contents = (0, import_smithy_client.map)({});
1380
+ const data = parsedOutput.body;
1381
+ const doc = (0, import_smithy_client.take)(data, {
1382
+ Message: import_smithy_client.expectString,
1383
+ Reason: import_smithy_client.expectString
1384
+ });
1385
+ Object.assign(contents, doc);
1386
+ const exception = new ValidationException({
1387
+ $metadata: deserializeMetadata(parsedOutput),
1388
+ ...contents
1389
+ });
1390
+ return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
1391
+ }, "de_ValidationExceptionRes");
1392
+ var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
1393
+ httpStatusCode: output.statusCode,
1394
+ requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
1395
+ extendedRequestId: output.headers["x-amz-id-2"],
1396
+ cfId: output.headers["x-amz-cf-id"]
1397
+ }), "deserializeMetadata");
1398
+ var _DI = "DirectoryId";
1399
+ var _RAS = "RetryAfterSeconds";
1400
+ var _ra = "retry-after";
1401
+
1402
+ // src/commands/AddGroupMemberCommand.ts
1403
+ var AddGroupMemberCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1404
+ return [
1405
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1406
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1407
+ ];
1408
+ }).s("DirectoryServiceData", "AddGroupMember", {}).n("DirectoryServiceDataClient", "AddGroupMemberCommand").f(void 0, void 0).ser(se_AddGroupMemberCommand).de(de_AddGroupMemberCommand).build() {
1409
+ static {
1410
+ __name(this, "AddGroupMemberCommand");
1411
+ }
1412
+ };
1413
+
1414
+ // src/commands/CreateGroupCommand.ts
1415
+
1416
+
1417
+
1418
+ var CreateGroupCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1419
+ return [
1420
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1421
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1422
+ ];
1423
+ }).s("DirectoryServiceData", "CreateGroup", {}).n("DirectoryServiceDataClient", "CreateGroupCommand").f(CreateGroupRequestFilterSensitiveLog, void 0).ser(se_CreateGroupCommand).de(de_CreateGroupCommand).build() {
1424
+ static {
1425
+ __name(this, "CreateGroupCommand");
1426
+ }
1427
+ };
1428
+
1429
+ // src/commands/CreateUserCommand.ts
1430
+
1431
+
1432
+
1433
+ var CreateUserCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1434
+ return [
1435
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1436
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1437
+ ];
1438
+ }).s("DirectoryServiceData", "CreateUser", {}).n("DirectoryServiceDataClient", "CreateUserCommand").f(CreateUserRequestFilterSensitiveLog, void 0).ser(se_CreateUserCommand).de(de_CreateUserCommand).build() {
1439
+ static {
1440
+ __name(this, "CreateUserCommand");
1441
+ }
1442
+ };
1443
+
1444
+ // src/commands/DeleteGroupCommand.ts
1445
+
1446
+
1447
+
1448
+ var DeleteGroupCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1449
+ return [
1450
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1451
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1452
+ ];
1453
+ }).s("DirectoryServiceData", "DeleteGroup", {}).n("DirectoryServiceDataClient", "DeleteGroupCommand").f(void 0, void 0).ser(se_DeleteGroupCommand).de(de_DeleteGroupCommand).build() {
1454
+ static {
1455
+ __name(this, "DeleteGroupCommand");
1456
+ }
1457
+ };
1458
+
1459
+ // src/commands/DeleteUserCommand.ts
1460
+
1461
+
1462
+
1463
+ var DeleteUserCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1464
+ return [
1465
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1466
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1467
+ ];
1468
+ }).s("DirectoryServiceData", "DeleteUser", {}).n("DirectoryServiceDataClient", "DeleteUserCommand").f(void 0, void 0).ser(se_DeleteUserCommand).de(de_DeleteUserCommand).build() {
1469
+ static {
1470
+ __name(this, "DeleteUserCommand");
1471
+ }
1472
+ };
1473
+
1474
+ // src/commands/DescribeGroupCommand.ts
1475
+
1476
+
1477
+
1478
+ var DescribeGroupCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1479
+ return [
1480
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1481
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1482
+ ];
1483
+ }).s("DirectoryServiceData", "DescribeGroup", {}).n("DirectoryServiceDataClient", "DescribeGroupCommand").f(void 0, DescribeGroupResultFilterSensitiveLog).ser(se_DescribeGroupCommand).de(de_DescribeGroupCommand).build() {
1484
+ static {
1485
+ __name(this, "DescribeGroupCommand");
1486
+ }
1487
+ };
1488
+
1489
+ // src/commands/DescribeUserCommand.ts
1490
+
1491
+
1492
+
1493
+ var DescribeUserCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1494
+ return [
1495
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1496
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1497
+ ];
1498
+ }).s("DirectoryServiceData", "DescribeUser", {}).n("DirectoryServiceDataClient", "DescribeUserCommand").f(void 0, DescribeUserResultFilterSensitiveLog).ser(se_DescribeUserCommand).de(de_DescribeUserCommand).build() {
1499
+ static {
1500
+ __name(this, "DescribeUserCommand");
1501
+ }
1502
+ };
1503
+
1504
+ // src/commands/DisableUserCommand.ts
1505
+
1506
+
1507
+
1508
+ var DisableUserCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1509
+ return [
1510
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1511
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1512
+ ];
1513
+ }).s("DirectoryServiceData", "DisableUser", {}).n("DirectoryServiceDataClient", "DisableUserCommand").f(void 0, void 0).ser(se_DisableUserCommand).de(de_DisableUserCommand).build() {
1514
+ static {
1515
+ __name(this, "DisableUserCommand");
1516
+ }
1517
+ };
1518
+
1519
+ // src/commands/ListGroupMembersCommand.ts
1520
+
1521
+
1522
+
1523
+ var ListGroupMembersCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1524
+ return [
1525
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1526
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1527
+ ];
1528
+ }).s("DirectoryServiceData", "ListGroupMembers", {}).n("DirectoryServiceDataClient", "ListGroupMembersCommand").f(ListGroupMembersRequestFilterSensitiveLog, ListGroupMembersResultFilterSensitiveLog).ser(se_ListGroupMembersCommand).de(de_ListGroupMembersCommand).build() {
1529
+ static {
1530
+ __name(this, "ListGroupMembersCommand");
1531
+ }
1532
+ };
1533
+
1534
+ // src/commands/ListGroupsCommand.ts
1535
+
1536
+
1537
+
1538
+ var ListGroupsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1539
+ return [
1540
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1541
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1542
+ ];
1543
+ }).s("DirectoryServiceData", "ListGroups", {}).n("DirectoryServiceDataClient", "ListGroupsCommand").f(ListGroupsRequestFilterSensitiveLog, ListGroupsResultFilterSensitiveLog).ser(se_ListGroupsCommand).de(de_ListGroupsCommand).build() {
1544
+ static {
1545
+ __name(this, "ListGroupsCommand");
1546
+ }
1547
+ };
1548
+
1549
+ // src/commands/ListGroupsForMemberCommand.ts
1550
+
1551
+
1552
+
1553
+ var ListGroupsForMemberCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1554
+ return [
1555
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1556
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1557
+ ];
1558
+ }).s("DirectoryServiceData", "ListGroupsForMember", {}).n("DirectoryServiceDataClient", "ListGroupsForMemberCommand").f(ListGroupsForMemberRequestFilterSensitiveLog, ListGroupsForMemberResultFilterSensitiveLog).ser(se_ListGroupsForMemberCommand).de(de_ListGroupsForMemberCommand).build() {
1559
+ static {
1560
+ __name(this, "ListGroupsForMemberCommand");
1561
+ }
1562
+ };
1563
+
1564
+ // src/commands/ListUsersCommand.ts
1565
+
1566
+
1567
+
1568
+ var ListUsersCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1569
+ return [
1570
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1571
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1572
+ ];
1573
+ }).s("DirectoryServiceData", "ListUsers", {}).n("DirectoryServiceDataClient", "ListUsersCommand").f(ListUsersRequestFilterSensitiveLog, ListUsersResultFilterSensitiveLog).ser(se_ListUsersCommand).de(de_ListUsersCommand).build() {
1574
+ static {
1575
+ __name(this, "ListUsersCommand");
1576
+ }
1577
+ };
1578
+
1579
+ // src/commands/RemoveGroupMemberCommand.ts
1580
+
1581
+
1582
+
1583
+ var RemoveGroupMemberCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1584
+ return [
1585
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1586
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1587
+ ];
1588
+ }).s("DirectoryServiceData", "RemoveGroupMember", {}).n("DirectoryServiceDataClient", "RemoveGroupMemberCommand").f(void 0, void 0).ser(se_RemoveGroupMemberCommand).de(de_RemoveGroupMemberCommand).build() {
1589
+ static {
1590
+ __name(this, "RemoveGroupMemberCommand");
1591
+ }
1592
+ };
1593
+
1594
+ // src/commands/SearchGroupsCommand.ts
1595
+
1596
+
1597
+
1598
+ var SearchGroupsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1599
+ return [
1600
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1601
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1602
+ ];
1603
+ }).s("DirectoryServiceData", "SearchGroups", {}).n("DirectoryServiceDataClient", "SearchGroupsCommand").f(SearchGroupsRequestFilterSensitiveLog, SearchGroupsResultFilterSensitiveLog).ser(se_SearchGroupsCommand).de(de_SearchGroupsCommand).build() {
1604
+ static {
1605
+ __name(this, "SearchGroupsCommand");
1606
+ }
1607
+ };
1608
+
1609
+ // src/commands/SearchUsersCommand.ts
1610
+
1611
+
1612
+
1613
+ var SearchUsersCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1614
+ return [
1615
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1616
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1617
+ ];
1618
+ }).s("DirectoryServiceData", "SearchUsers", {}).n("DirectoryServiceDataClient", "SearchUsersCommand").f(SearchUsersRequestFilterSensitiveLog, SearchUsersResultFilterSensitiveLog).ser(se_SearchUsersCommand).de(de_SearchUsersCommand).build() {
1619
+ static {
1620
+ __name(this, "SearchUsersCommand");
1621
+ }
1622
+ };
1623
+
1624
+ // src/commands/UpdateGroupCommand.ts
1625
+
1626
+
1627
+
1628
+ var UpdateGroupCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1629
+ return [
1630
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1631
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1632
+ ];
1633
+ }).s("DirectoryServiceData", "UpdateGroup", {}).n("DirectoryServiceDataClient", "UpdateGroupCommand").f(UpdateGroupRequestFilterSensitiveLog, void 0).ser(se_UpdateGroupCommand).de(de_UpdateGroupCommand).build() {
1634
+ static {
1635
+ __name(this, "UpdateGroupCommand");
1636
+ }
1637
+ };
1638
+
1639
+ // src/commands/UpdateUserCommand.ts
1640
+
1641
+
1642
+
1643
+ var UpdateUserCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1644
+ return [
1645
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1646
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1647
+ ];
1648
+ }).s("DirectoryServiceData", "UpdateUser", {}).n("DirectoryServiceDataClient", "UpdateUserCommand").f(UpdateUserRequestFilterSensitiveLog, void 0).ser(se_UpdateUserCommand).de(de_UpdateUserCommand).build() {
1649
+ static {
1650
+ __name(this, "UpdateUserCommand");
1651
+ }
1652
+ };
1653
+
1654
+ // src/DirectoryServiceData.ts
1655
+ var commands = {
1656
+ AddGroupMemberCommand,
1657
+ CreateGroupCommand,
1658
+ CreateUserCommand,
1659
+ DeleteGroupCommand,
1660
+ DeleteUserCommand,
1661
+ DescribeGroupCommand,
1662
+ DescribeUserCommand,
1663
+ DisableUserCommand,
1664
+ ListGroupMembersCommand,
1665
+ ListGroupsCommand,
1666
+ ListGroupsForMemberCommand,
1667
+ ListUsersCommand,
1668
+ RemoveGroupMemberCommand,
1669
+ SearchGroupsCommand,
1670
+ SearchUsersCommand,
1671
+ UpdateGroupCommand,
1672
+ UpdateUserCommand
1673
+ };
1674
+ var DirectoryServiceData = class extends DirectoryServiceDataClient {
1675
+ static {
1676
+ __name(this, "DirectoryServiceData");
1677
+ }
1678
+ };
1679
+ (0, import_smithy_client.createAggregatedClient)(commands, DirectoryServiceData);
1680
+
1681
+ // src/pagination/ListGroupMembersPaginator.ts
1682
+
1683
+ var paginateListGroupMembers = (0, import_core.createPaginator)(DirectoryServiceDataClient, ListGroupMembersCommand, "NextToken", "NextToken", "MaxResults");
1684
+
1685
+ // src/pagination/ListGroupsForMemberPaginator.ts
1686
+
1687
+ var paginateListGroupsForMember = (0, import_core.createPaginator)(DirectoryServiceDataClient, ListGroupsForMemberCommand, "NextToken", "NextToken", "MaxResults");
1688
+
1689
+ // src/pagination/ListGroupsPaginator.ts
1690
+
1691
+ var paginateListGroups = (0, import_core.createPaginator)(DirectoryServiceDataClient, ListGroupsCommand, "NextToken", "NextToken", "MaxResults");
1692
+
1693
+ // src/pagination/ListUsersPaginator.ts
1694
+
1695
+ var paginateListUsers = (0, import_core.createPaginator)(DirectoryServiceDataClient, ListUsersCommand, "NextToken", "NextToken", "MaxResults");
1696
+
1697
+ // src/pagination/SearchGroupsPaginator.ts
1698
+
1699
+ var paginateSearchGroups = (0, import_core.createPaginator)(DirectoryServiceDataClient, SearchGroupsCommand, "NextToken", "NextToken", "MaxResults");
1700
+
1701
+ // src/pagination/SearchUsersPaginator.ts
1702
+
1703
+ var paginateSearchUsers = (0, import_core.createPaginator)(DirectoryServiceDataClient, SearchUsersCommand, "NextToken", "NextToken", "MaxResults");
1704
+ // Annotate the CommonJS export names for ESM import in node:
1705
+
1706
+ 0 && (module.exports = {
1707
+ DirectoryServiceDataServiceException,
1708
+ __Client,
1709
+ DirectoryServiceDataClient,
1710
+ DirectoryServiceData,
1711
+ $Command,
1712
+ AddGroupMemberCommand,
1713
+ CreateGroupCommand,
1714
+ CreateUserCommand,
1715
+ DeleteGroupCommand,
1716
+ DeleteUserCommand,
1717
+ DescribeGroupCommand,
1718
+ DescribeUserCommand,
1719
+ DisableUserCommand,
1720
+ ListGroupMembersCommand,
1721
+ ListGroupsCommand,
1722
+ ListGroupsForMemberCommand,
1723
+ ListUsersCommand,
1724
+ RemoveGroupMemberCommand,
1725
+ SearchGroupsCommand,
1726
+ SearchUsersCommand,
1727
+ UpdateGroupCommand,
1728
+ UpdateUserCommand,
1729
+ paginateListGroupMembers,
1730
+ paginateListGroupsForMember,
1731
+ paginateListGroups,
1732
+ paginateListUsers,
1733
+ paginateSearchGroups,
1734
+ paginateSearchUsers,
1735
+ AccessDeniedReason,
1736
+ AccessDeniedException,
1737
+ ConflictException,
1738
+ DirectoryUnavailableReason,
1739
+ DirectoryUnavailableException,
1740
+ InternalServerException,
1741
+ ResourceNotFoundException,
1742
+ ThrottlingException,
1743
+ ValidationExceptionReason,
1744
+ ValidationException,
1745
+ AttributeValue,
1746
+ GroupScope,
1747
+ GroupType,
1748
+ MemberType,
1749
+ UpdateType,
1750
+ AttributeValueFilterSensitiveLog,
1751
+ CreateGroupRequestFilterSensitiveLog,
1752
+ CreateUserRequestFilterSensitiveLog,
1753
+ DescribeGroupResultFilterSensitiveLog,
1754
+ DescribeUserResultFilterSensitiveLog,
1755
+ ListGroupMembersRequestFilterSensitiveLog,
1756
+ ListGroupMembersResultFilterSensitiveLog,
1757
+ ListGroupsRequestFilterSensitiveLog,
1758
+ ListGroupsResultFilterSensitiveLog,
1759
+ ListGroupsForMemberRequestFilterSensitiveLog,
1760
+ ListGroupsForMemberResultFilterSensitiveLog,
1761
+ ListUsersRequestFilterSensitiveLog,
1762
+ UserSummaryFilterSensitiveLog,
1763
+ ListUsersResultFilterSensitiveLog,
1764
+ SearchGroupsRequestFilterSensitiveLog,
1765
+ GroupFilterSensitiveLog,
1766
+ SearchGroupsResultFilterSensitiveLog,
1767
+ SearchUsersRequestFilterSensitiveLog,
1768
+ UserFilterSensitiveLog,
1769
+ SearchUsersResultFilterSensitiveLog,
1770
+ UpdateGroupRequestFilterSensitiveLog,
1771
+ UpdateUserRequestFilterSensitiveLog
1772
+ });
1773
+