@aws-sdk/client-directory-service-data 3.928.0 → 3.930.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 (41) hide show
  1. package/dist-cjs/index.js +922 -1035
  2. package/dist-cjs/runtimeConfig.shared.js +2 -0
  3. package/dist-es/DirectoryServiceDataClient.js +2 -0
  4. package/dist-es/commands/AddGroupMemberCommand.js +3 -9
  5. package/dist-es/commands/CreateGroupCommand.js +3 -10
  6. package/dist-es/commands/CreateUserCommand.js +3 -10
  7. package/dist-es/commands/DeleteGroupCommand.js +3 -9
  8. package/dist-es/commands/DeleteUserCommand.js +3 -9
  9. package/dist-es/commands/DescribeGroupCommand.js +3 -10
  10. package/dist-es/commands/DescribeUserCommand.js +3 -10
  11. package/dist-es/commands/DisableUserCommand.js +3 -9
  12. package/dist-es/commands/ListGroupMembersCommand.js +3 -10
  13. package/dist-es/commands/ListGroupsCommand.js +3 -10
  14. package/dist-es/commands/ListGroupsForMemberCommand.js +3 -10
  15. package/dist-es/commands/ListUsersCommand.js +3 -10
  16. package/dist-es/commands/RemoveGroupMemberCommand.js +3 -9
  17. package/dist-es/commands/SearchGroupsCommand.js +3 -10
  18. package/dist-es/commands/SearchUsersCommand.js +3 -10
  19. package/dist-es/commands/UpdateGroupCommand.js +3 -10
  20. package/dist-es/commands/UpdateUserCommand.js +3 -10
  21. package/dist-es/models/models_0.js +0 -151
  22. package/dist-es/runtimeConfig.shared.js +2 -0
  23. package/dist-es/schemas/schemas_0.js +869 -0
  24. package/dist-types/DirectoryServiceDataClient.d.ts +10 -1
  25. package/dist-types/models/models_0.d.ts +4 -89
  26. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  27. package/dist-types/runtimeConfig.d.ts +1 -0
  28. package/dist-types/runtimeConfig.native.d.ts +1 -0
  29. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  30. package/dist-types/schemas/schemas_0.d.ts +85 -0
  31. package/dist-types/ts3.4/DirectoryServiceDataClient.d.ts +4 -0
  32. package/dist-types/ts3.4/models/models_0.d.ts +0 -61
  33. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  34. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  35. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  36. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  37. package/dist-types/ts3.4/schemas/schemas_0.d.ts +92 -0
  38. package/package.json +33 -34
  39. package/dist-es/protocols/Aws_restJson1.js +0 -726
  40. package/dist-types/protocols/Aws_restJson1.d.ts +0 -155
  41. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -209
package/dist-cjs/index.js CHANGED
@@ -6,6 +6,7 @@ var middlewareRecursionDetection = require('@aws-sdk/middleware-recursion-detect
6
6
  var middlewareUserAgent = require('@aws-sdk/middleware-user-agent');
7
7
  var configResolver = require('@smithy/config-resolver');
8
8
  var core = require('@smithy/core');
9
+ var schema = require('@smithy/core/schema');
9
10
  var middlewareContentLength = require('@smithy/middleware-content-length');
10
11
  var middlewareEndpoint = require('@smithy/middleware-endpoint');
11
12
  var middlewareRetry = require('@smithy/middleware-retry');
@@ -14,9 +15,6 @@ var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
14
15
  var runtimeConfig = require('./runtimeConfig');
15
16
  var regionConfigResolver = require('@aws-sdk/region-config-resolver');
16
17
  var protocolHttp = require('@smithy/protocol-http');
17
- var middlewareSerde = require('@smithy/middleware-serde');
18
- var core$1 = require('@aws-sdk/core');
19
- var uuid = require('@smithy/uuid');
20
18
 
21
19
  const resolveClientEndpointParameters = (options) => {
22
20
  return Object.assign(options, {
@@ -92,6 +90,7 @@ class DirectoryServiceDataClient extends smithyClient.Client {
92
90
  const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
93
91
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
94
92
  this.config = _config_8;
93
+ this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config));
95
94
  this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
96
95
  this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config));
97
96
  this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config));
@@ -111,19 +110,19 @@ class DirectoryServiceDataClient extends smithyClient.Client {
111
110
  }
112
111
  }
113
112
 
114
- class DirectoryServiceDataServiceException extends smithyClient.ServiceException {
113
+ let DirectoryServiceDataServiceException$1 = class DirectoryServiceDataServiceException extends smithyClient.ServiceException {
115
114
  constructor(options) {
116
115
  super(options);
117
116
  Object.setPrototypeOf(this, DirectoryServiceDataServiceException.prototype);
118
117
  }
119
- }
118
+ };
120
119
 
121
120
  const AccessDeniedReason = {
122
121
  DATA_DISABLED: "DATA_DISABLED",
123
122
  DIRECTORY_AUTH: "DIRECTORY_AUTH",
124
123
  IAM_AUTH: "IAM_AUTH",
125
124
  };
126
- class AccessDeniedException extends DirectoryServiceDataServiceException {
125
+ let AccessDeniedException$1 = class AccessDeniedException extends DirectoryServiceDataServiceException$1 {
127
126
  name = "AccessDeniedException";
128
127
  $fault = "client";
129
128
  Message;
@@ -138,8 +137,8 @@ class AccessDeniedException extends DirectoryServiceDataServiceException {
138
137
  this.Message = opts.Message;
139
138
  this.Reason = opts.Reason;
140
139
  }
141
- }
142
- class ConflictException extends DirectoryServiceDataServiceException {
140
+ };
141
+ let ConflictException$1 = class ConflictException extends DirectoryServiceDataServiceException$1 {
143
142
  name = "ConflictException";
144
143
  $fault = "client";
145
144
  Message;
@@ -152,7 +151,7 @@ class ConflictException extends DirectoryServiceDataServiceException {
152
151
  Object.setPrototypeOf(this, ConflictException.prototype);
153
152
  this.Message = opts.Message;
154
153
  }
155
- }
154
+ };
156
155
  const DirectoryUnavailableReason = {
157
156
  DIRECTORY_RESOURCES_EXCEEDED: "DIRECTORY_RESOURCES_EXCEEDED",
158
157
  DIRECTORY_TIMEOUT: "DIRECTORY_TIMEOUT",
@@ -160,7 +159,7 @@ const DirectoryUnavailableReason = {
160
159
  NO_DISK_SPACE: "NO_DISK_SPACE",
161
160
  TRUST_AUTH_FAILURE: "TRUST_AUTH_FAILURE",
162
161
  };
163
- class DirectoryUnavailableException extends DirectoryServiceDataServiceException {
162
+ let DirectoryUnavailableException$1 = class DirectoryUnavailableException extends DirectoryServiceDataServiceException$1 {
164
163
  name = "DirectoryUnavailableException";
165
164
  $fault = "client";
166
165
  $retryable = {};
@@ -176,8 +175,8 @@ class DirectoryUnavailableException extends DirectoryServiceDataServiceException
176
175
  this.Message = opts.Message;
177
176
  this.Reason = opts.Reason;
178
177
  }
179
- }
180
- class InternalServerException extends DirectoryServiceDataServiceException {
178
+ };
179
+ let InternalServerException$1 = class InternalServerException extends DirectoryServiceDataServiceException$1 {
181
180
  name = "InternalServerException";
182
181
  $fault = "server";
183
182
  $retryable = {};
@@ -191,8 +190,8 @@ class InternalServerException extends DirectoryServiceDataServiceException {
191
190
  Object.setPrototypeOf(this, InternalServerException.prototype);
192
191
  this.Message = opts.Message;
193
192
  }
194
- }
195
- class ResourceNotFoundException extends DirectoryServiceDataServiceException {
193
+ };
194
+ let ResourceNotFoundException$1 = class ResourceNotFoundException extends DirectoryServiceDataServiceException$1 {
196
195
  name = "ResourceNotFoundException";
197
196
  $fault = "client";
198
197
  Message;
@@ -205,8 +204,8 @@ class ResourceNotFoundException extends DirectoryServiceDataServiceException {
205
204
  Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
206
205
  this.Message = opts.Message;
207
206
  }
208
- }
209
- class ThrottlingException extends DirectoryServiceDataServiceException {
207
+ };
208
+ let ThrottlingException$1 = class ThrottlingException extends DirectoryServiceDataServiceException$1 {
210
209
  name = "ThrottlingException";
211
210
  $fault = "client";
212
211
  $retryable = {
@@ -224,7 +223,7 @@ class ThrottlingException extends DirectoryServiceDataServiceException {
224
223
  this.Message = opts.Message;
225
224
  this.RetryAfterSeconds = opts.RetryAfterSeconds;
226
225
  }
227
- }
226
+ };
228
227
  const ValidationExceptionReason = {
229
228
  ATTRIBUTE_EXISTS: "ATTRIBUTE_EXISTS",
230
229
  DUPLICATE_ATTRIBUTE: "DUPLICATE_ATTRIBUTE",
@@ -242,7 +241,7 @@ const ValidationExceptionReason = {
242
241
  LDAP_UNSUPPORTED_OPERATION: "LDAP_UNSUPPORTED_OPERATION",
243
242
  MISSING_ATTRIBUTE: "MISSING_ATTRIBUTE",
244
243
  };
245
- class ValidationException extends DirectoryServiceDataServiceException {
244
+ let ValidationException$1 = class ValidationException extends DirectoryServiceDataServiceException$1 {
246
245
  name = "ValidationException";
247
246
  $fault = "client";
248
247
  Message;
@@ -257,21 +256,7 @@ class ValidationException extends DirectoryServiceDataServiceException {
257
256
  this.Message = opts.Message;
258
257
  this.Reason = opts.Reason;
259
258
  }
260
- }
261
- exports.AttributeValue = void 0;
262
- (function (AttributeValue) {
263
- AttributeValue.visit = (value, visitor) => {
264
- if (value.S !== undefined)
265
- return visitor.S(value.S);
266
- if (value.N !== undefined)
267
- return visitor.N(value.N);
268
- if (value.BOOL !== undefined)
269
- return visitor.BOOL(value.BOOL);
270
- if (value.SS !== undefined)
271
- return visitor.SS(value.SS);
272
- return visitor._(value.$unknown[0], value.$unknown[1]);
273
- };
274
- })(exports.AttributeValue || (exports.AttributeValue = {}));
259
+ };
275
260
  const GroupScope = {
276
261
  BUILTIN_LOCAL: "BuiltinLocal",
277
262
  DOMAIN_LOCAL: "DomainLocal",
@@ -292,877 +277,881 @@ const UpdateType = {
292
277
  REMOVE: "REMOVE",
293
278
  REPLACE: "REPLACE",
294
279
  };
295
- const AttributeValueFilterSensitiveLog = (obj) => {
296
- if (obj.S !== undefined)
297
- return { S: smithyClient.SENSITIVE_STRING };
298
- if (obj.N !== undefined)
299
- return { N: smithyClient.SENSITIVE_STRING };
300
- if (obj.BOOL !== undefined)
301
- return { BOOL: smithyClient.SENSITIVE_STRING };
302
- if (obj.SS !== undefined)
303
- return { SS: smithyClient.SENSITIVE_STRING };
304
- if (obj.$unknown !== undefined)
305
- return { [obj.$unknown[0]]: "UNKNOWN" };
306
- };
307
- const CreateGroupRequestFilterSensitiveLog = (obj) => ({
308
- ...obj,
309
- ...(obj.OtherAttributes && {
310
- OtherAttributes: Object.entries(obj.OtherAttributes).reduce((acc, [key, value]) => ((acc[key] = AttributeValueFilterSensitiveLog(value)), acc), {}),
311
- }),
312
- });
313
- const CreateUserRequestFilterSensitiveLog = (obj) => ({
314
- ...obj,
315
- ...(obj.EmailAddress && { EmailAddress: smithyClient.SENSITIVE_STRING }),
316
- ...(obj.GivenName && { GivenName: smithyClient.SENSITIVE_STRING }),
317
- ...(obj.Surname && { Surname: smithyClient.SENSITIVE_STRING }),
318
- ...(obj.OtherAttributes && {
319
- OtherAttributes: Object.entries(obj.OtherAttributes).reduce((acc, [key, value]) => ((acc[key] = AttributeValueFilterSensitiveLog(value)), acc), {}),
320
- }),
321
- });
322
- const DescribeGroupResultFilterSensitiveLog = (obj) => ({
323
- ...obj,
324
- ...(obj.DistinguishedName && { DistinguishedName: smithyClient.SENSITIVE_STRING }),
325
- ...(obj.OtherAttributes && {
326
- OtherAttributes: Object.entries(obj.OtherAttributes).reduce((acc, [key, value]) => ((acc[key] = AttributeValueFilterSensitiveLog(value)), acc), {}),
327
- }),
328
- });
329
- const DescribeUserResultFilterSensitiveLog = (obj) => ({
330
- ...obj,
331
- ...(obj.DistinguishedName && { DistinguishedName: smithyClient.SENSITIVE_STRING }),
332
- ...(obj.UserPrincipalName && { UserPrincipalName: smithyClient.SENSITIVE_STRING }),
333
- ...(obj.EmailAddress && { EmailAddress: smithyClient.SENSITIVE_STRING }),
334
- ...(obj.GivenName && { GivenName: smithyClient.SENSITIVE_STRING }),
335
- ...(obj.Surname && { Surname: smithyClient.SENSITIVE_STRING }),
336
- ...(obj.OtherAttributes && {
337
- OtherAttributes: Object.entries(obj.OtherAttributes).reduce((acc, [key, value]) => ((acc[key] = AttributeValueFilterSensitiveLog(value)), acc), {}),
338
- }),
339
- });
340
- const ListGroupMembersRequestFilterSensitiveLog = (obj) => ({
341
- ...obj,
342
- ...(obj.NextToken && { NextToken: smithyClient.SENSITIVE_STRING }),
343
- });
344
- const ListGroupMembersResultFilterSensitiveLog = (obj) => ({
345
- ...obj,
346
- ...(obj.NextToken && { NextToken: smithyClient.SENSITIVE_STRING }),
347
- });
348
- const ListGroupsRequestFilterSensitiveLog = (obj) => ({
349
- ...obj,
350
- ...(obj.NextToken && { NextToken: smithyClient.SENSITIVE_STRING }),
351
- });
352
- const ListGroupsResultFilterSensitiveLog = (obj) => ({
353
- ...obj,
354
- ...(obj.NextToken && { NextToken: smithyClient.SENSITIVE_STRING }),
355
- });
356
- const ListGroupsForMemberRequestFilterSensitiveLog = (obj) => ({
357
- ...obj,
358
- ...(obj.NextToken && { NextToken: smithyClient.SENSITIVE_STRING }),
359
- });
360
- const ListGroupsForMemberResultFilterSensitiveLog = (obj) => ({
361
- ...obj,
362
- ...(obj.NextToken && { NextToken: smithyClient.SENSITIVE_STRING }),
363
- });
364
- const ListUsersRequestFilterSensitiveLog = (obj) => ({
365
- ...obj,
366
- ...(obj.NextToken && { NextToken: smithyClient.SENSITIVE_STRING }),
367
- });
368
- const UserSummaryFilterSensitiveLog = (obj) => ({
369
- ...obj,
370
- ...(obj.GivenName && { GivenName: smithyClient.SENSITIVE_STRING }),
371
- ...(obj.Surname && { Surname: smithyClient.SENSITIVE_STRING }),
372
- });
373
- const ListUsersResultFilterSensitiveLog = (obj) => ({
374
- ...obj,
375
- ...(obj.Users && { Users: obj.Users.map((item) => UserSummaryFilterSensitiveLog(item)) }),
376
- ...(obj.NextToken && { NextToken: smithyClient.SENSITIVE_STRING }),
377
- });
378
- const SearchGroupsRequestFilterSensitiveLog = (obj) => ({
379
- ...obj,
380
- ...(obj.SearchString && { SearchString: smithyClient.SENSITIVE_STRING }),
381
- ...(obj.NextToken && { NextToken: smithyClient.SENSITIVE_STRING }),
382
- });
383
- const GroupFilterSensitiveLog = (obj) => ({
384
- ...obj,
385
- ...(obj.DistinguishedName && { DistinguishedName: smithyClient.SENSITIVE_STRING }),
386
- ...(obj.OtherAttributes && {
387
- OtherAttributes: Object.entries(obj.OtherAttributes).reduce((acc, [key, value]) => ((acc[key] = AttributeValueFilterSensitiveLog(value)), acc), {}),
388
- }),
389
- });
390
- const SearchGroupsResultFilterSensitiveLog = (obj) => ({
391
- ...obj,
392
- ...(obj.Groups && { Groups: obj.Groups.map((item) => GroupFilterSensitiveLog(item)) }),
393
- ...(obj.NextToken && { NextToken: smithyClient.SENSITIVE_STRING }),
394
- });
395
- const SearchUsersRequestFilterSensitiveLog = (obj) => ({
396
- ...obj,
397
- ...(obj.SearchString && { SearchString: smithyClient.SENSITIVE_STRING }),
398
- ...(obj.NextToken && { NextToken: smithyClient.SENSITIVE_STRING }),
399
- });
400
- const UserFilterSensitiveLog = (obj) => ({
401
- ...obj,
402
- ...(obj.DistinguishedName && { DistinguishedName: smithyClient.SENSITIVE_STRING }),
403
- ...(obj.UserPrincipalName && { UserPrincipalName: smithyClient.SENSITIVE_STRING }),
404
- ...(obj.EmailAddress && { EmailAddress: smithyClient.SENSITIVE_STRING }),
405
- ...(obj.GivenName && { GivenName: smithyClient.SENSITIVE_STRING }),
406
- ...(obj.Surname && { Surname: smithyClient.SENSITIVE_STRING }),
407
- ...(obj.OtherAttributes && {
408
- OtherAttributes: Object.entries(obj.OtherAttributes).reduce((acc, [key, value]) => ((acc[key] = AttributeValueFilterSensitiveLog(value)), acc), {}),
409
- }),
410
- });
411
- const SearchUsersResultFilterSensitiveLog = (obj) => ({
412
- ...obj,
413
- ...(obj.Users && { Users: obj.Users.map((item) => UserFilterSensitiveLog(item)) }),
414
- ...(obj.NextToken && { NextToken: smithyClient.SENSITIVE_STRING }),
415
- });
416
- const UpdateGroupRequestFilterSensitiveLog = (obj) => ({
417
- ...obj,
418
- ...(obj.OtherAttributes && {
419
- OtherAttributes: Object.entries(obj.OtherAttributes).reduce((acc, [key, value]) => ((acc[key] = AttributeValueFilterSensitiveLog(value)), acc), {}),
420
- }),
421
- });
422
- const UpdateUserRequestFilterSensitiveLog = (obj) => ({
423
- ...obj,
424
- ...(obj.EmailAddress && { EmailAddress: smithyClient.SENSITIVE_STRING }),
425
- ...(obj.GivenName && { GivenName: smithyClient.SENSITIVE_STRING }),
426
- ...(obj.Surname && { Surname: smithyClient.SENSITIVE_STRING }),
427
- ...(obj.OtherAttributes && {
428
- OtherAttributes: Object.entries(obj.OtherAttributes).reduce((acc, [key, value]) => ((acc[key] = AttributeValueFilterSensitiveLog(value)), acc), {}),
429
- }),
430
- });
431
280
 
432
- const se_AddGroupMemberCommand = async (input, context) => {
433
- const b = core.requestBuilder(input, context);
434
- const headers = {
435
- "content-type": "application/json",
436
- };
437
- b.bp("/GroupMemberships/AddGroupMember");
438
- const query = smithyClient.map({
439
- [_DI]: [, smithyClient.expectNonNull(input[_DI], `DirectoryId`)],
440
- });
441
- let body;
442
- body = JSON.stringify(smithyClient.take(input, {
443
- ClientToken: [true, (_) => _ ?? uuid.v4()],
444
- GroupName: [],
445
- MemberName: [],
446
- MemberRealm: [],
447
- }));
448
- b.m("POST").h(headers).q(query).b(body);
449
- return b.build();
450
- };
451
- const se_CreateGroupCommand = async (input, context) => {
452
- const b = core.requestBuilder(input, context);
453
- const headers = {
454
- "content-type": "application/json",
455
- };
456
- b.bp("/Groups/CreateGroup");
457
- const query = smithyClient.map({
458
- [_DI]: [, smithyClient.expectNonNull(input[_DI], `DirectoryId`)],
459
- });
460
- let body;
461
- body = JSON.stringify(smithyClient.take(input, {
462
- ClientToken: [true, (_) => _ ?? uuid.v4()],
463
- GroupScope: [],
464
- GroupType: [],
465
- OtherAttributes: (_) => smithyClient._json(_),
466
- SAMAccountName: [],
467
- }));
468
- b.m("POST").h(headers).q(query).b(body);
469
- return b.build();
470
- };
471
- const se_CreateUserCommand = async (input, context) => {
472
- const b = core.requestBuilder(input, context);
473
- const headers = {
474
- "content-type": "application/json",
475
- };
476
- b.bp("/Users/CreateUser");
477
- const query = smithyClient.map({
478
- [_DI]: [, smithyClient.expectNonNull(input[_DI], `DirectoryId`)],
479
- });
480
- let body;
481
- body = JSON.stringify(smithyClient.take(input, {
482
- ClientToken: [true, (_) => _ ?? uuid.v4()],
483
- EmailAddress: [],
484
- GivenName: [],
485
- OtherAttributes: (_) => smithyClient._json(_),
486
- SAMAccountName: [],
487
- Surname: [],
488
- }));
489
- b.m("POST").h(headers).q(query).b(body);
490
- return b.build();
491
- };
492
- const se_DeleteGroupCommand = async (input, context) => {
493
- const b = core.requestBuilder(input, context);
494
- const headers = {
495
- "content-type": "application/json",
496
- };
497
- b.bp("/Groups/DeleteGroup");
498
- const query = smithyClient.map({
499
- [_DI]: [, smithyClient.expectNonNull(input[_DI], `DirectoryId`)],
500
- });
501
- let body;
502
- body = JSON.stringify(smithyClient.take(input, {
503
- ClientToken: [true, (_) => _ ?? uuid.v4()],
504
- SAMAccountName: [],
505
- }));
506
- b.m("POST").h(headers).q(query).b(body);
507
- return b.build();
508
- };
509
- const se_DeleteUserCommand = async (input, context) => {
510
- const b = core.requestBuilder(input, context);
511
- const headers = {
512
- "content-type": "application/json",
513
- };
514
- b.bp("/Users/DeleteUser");
515
- const query = smithyClient.map({
516
- [_DI]: [, smithyClient.expectNonNull(input[_DI], `DirectoryId`)],
517
- });
518
- let body;
519
- body = JSON.stringify(smithyClient.take(input, {
520
- ClientToken: [true, (_) => _ ?? uuid.v4()],
521
- SAMAccountName: [],
522
- }));
523
- b.m("POST").h(headers).q(query).b(body);
524
- return b.build();
525
- };
526
- const se_DescribeGroupCommand = async (input, context) => {
527
- const b = core.requestBuilder(input, context);
528
- const headers = {
529
- "content-type": "application/json",
530
- };
531
- b.bp("/Groups/DescribeGroup");
532
- const query = smithyClient.map({
533
- [_DI]: [, smithyClient.expectNonNull(input[_DI], `DirectoryId`)],
534
- });
535
- let body;
536
- body = JSON.stringify(smithyClient.take(input, {
537
- OtherAttributes: (_) => smithyClient._json(_),
538
- Realm: [],
539
- SAMAccountName: [],
540
- }));
541
- b.m("POST").h(headers).q(query).b(body);
542
- return b.build();
543
- };
544
- const se_DescribeUserCommand = async (input, context) => {
545
- const b = core.requestBuilder(input, context);
546
- const headers = {
547
- "content-type": "application/json",
548
- };
549
- b.bp("/Users/DescribeUser");
550
- const query = smithyClient.map({
551
- [_DI]: [, smithyClient.expectNonNull(input[_DI], `DirectoryId`)],
552
- });
553
- let body;
554
- body = JSON.stringify(smithyClient.take(input, {
555
- OtherAttributes: (_) => smithyClient._json(_),
556
- Realm: [],
557
- SAMAccountName: [],
558
- }));
559
- b.m("POST").h(headers).q(query).b(body);
560
- return b.build();
561
- };
562
- const se_DisableUserCommand = async (input, context) => {
563
- const b = core.requestBuilder(input, context);
564
- const headers = {
565
- "content-type": "application/json",
566
- };
567
- b.bp("/Users/DisableUser");
568
- const query = smithyClient.map({
569
- [_DI]: [, smithyClient.expectNonNull(input[_DI], `DirectoryId`)],
570
- });
571
- let body;
572
- body = JSON.stringify(smithyClient.take(input, {
573
- ClientToken: [true, (_) => _ ?? uuid.v4()],
574
- SAMAccountName: [],
575
- }));
576
- b.m("POST").h(headers).q(query).b(body);
577
- return b.build();
578
- };
579
- const se_ListGroupMembersCommand = async (input, context) => {
580
- const b = core.requestBuilder(input, context);
581
- const headers = {
582
- "content-type": "application/json",
583
- };
584
- b.bp("/GroupMemberships/ListGroupMembers");
585
- const query = smithyClient.map({
586
- [_DI]: [, smithyClient.expectNonNull(input[_DI], `DirectoryId`)],
587
- });
588
- let body;
589
- body = JSON.stringify(smithyClient.take(input, {
590
- MaxResults: [],
591
- MemberRealm: [],
592
- NextToken: [],
593
- Realm: [],
594
- SAMAccountName: [],
595
- }));
596
- b.m("POST").h(headers).q(query).b(body);
597
- return b.build();
598
- };
599
- const se_ListGroupsCommand = async (input, context) => {
600
- const b = core.requestBuilder(input, context);
601
- const headers = {
602
- "content-type": "application/json",
603
- };
604
- b.bp("/Groups/ListGroups");
605
- const query = smithyClient.map({
606
- [_DI]: [, smithyClient.expectNonNull(input[_DI], `DirectoryId`)],
607
- });
608
- let body;
609
- body = JSON.stringify(smithyClient.take(input, {
610
- MaxResults: [],
611
- NextToken: [],
612
- Realm: [],
613
- }));
614
- b.m("POST").h(headers).q(query).b(body);
615
- return b.build();
616
- };
617
- const se_ListGroupsForMemberCommand = async (input, context) => {
618
- const b = core.requestBuilder(input, context);
619
- const headers = {
620
- "content-type": "application/json",
621
- };
622
- b.bp("/GroupMemberships/ListGroupsForMember");
623
- const query = smithyClient.map({
624
- [_DI]: [, smithyClient.expectNonNull(input[_DI], `DirectoryId`)],
625
- });
626
- let body;
627
- body = JSON.stringify(smithyClient.take(input, {
628
- MaxResults: [],
629
- MemberRealm: [],
630
- NextToken: [],
631
- Realm: [],
632
- SAMAccountName: [],
633
- }));
634
- b.m("POST").h(headers).q(query).b(body);
635
- return b.build();
636
- };
637
- const se_ListUsersCommand = async (input, context) => {
638
- const b = core.requestBuilder(input, context);
639
- const headers = {
640
- "content-type": "application/json",
641
- };
642
- b.bp("/Users/ListUsers");
643
- const query = smithyClient.map({
644
- [_DI]: [, smithyClient.expectNonNull(input[_DI], `DirectoryId`)],
645
- });
646
- let body;
647
- body = JSON.stringify(smithyClient.take(input, {
648
- MaxResults: [],
649
- NextToken: [],
650
- Realm: [],
651
- }));
652
- b.m("POST").h(headers).q(query).b(body);
653
- return b.build();
654
- };
655
- const se_RemoveGroupMemberCommand = async (input, context) => {
656
- const b = core.requestBuilder(input, context);
657
- const headers = {
658
- "content-type": "application/json",
659
- };
660
- b.bp("/GroupMemberships/RemoveGroupMember");
661
- const query = smithyClient.map({
662
- [_DI]: [, smithyClient.expectNonNull(input[_DI], `DirectoryId`)],
663
- });
664
- let body;
665
- body = JSON.stringify(smithyClient.take(input, {
666
- ClientToken: [true, (_) => _ ?? uuid.v4()],
667
- GroupName: [],
668
- MemberName: [],
669
- MemberRealm: [],
670
- }));
671
- b.m("POST").h(headers).q(query).b(body);
672
- return b.build();
673
- };
674
- const se_SearchGroupsCommand = async (input, context) => {
675
- const b = core.requestBuilder(input, context);
676
- const headers = {
677
- "content-type": "application/json",
678
- };
679
- b.bp("/Groups/SearchGroups");
680
- const query = smithyClient.map({
681
- [_DI]: [, smithyClient.expectNonNull(input[_DI], `DirectoryId`)],
682
- });
683
- let body;
684
- body = JSON.stringify(smithyClient.take(input, {
685
- MaxResults: [],
686
- NextToken: [],
687
- Realm: [],
688
- SearchAttributes: (_) => smithyClient._json(_),
689
- SearchString: [],
690
- }));
691
- b.m("POST").h(headers).q(query).b(body);
692
- return b.build();
693
- };
694
- const se_SearchUsersCommand = async (input, context) => {
695
- const b = core.requestBuilder(input, context);
696
- const headers = {
697
- "content-type": "application/json",
698
- };
699
- b.bp("/Users/SearchUsers");
700
- const query = smithyClient.map({
701
- [_DI]: [, smithyClient.expectNonNull(input[_DI], `DirectoryId`)],
702
- });
703
- let body;
704
- body = JSON.stringify(smithyClient.take(input, {
705
- MaxResults: [],
706
- NextToken: [],
707
- Realm: [],
708
- SearchAttributes: (_) => smithyClient._json(_),
709
- SearchString: [],
710
- }));
711
- b.m("POST").h(headers).q(query).b(body);
712
- return b.build();
713
- };
714
- const se_UpdateGroupCommand = async (input, context) => {
715
- const b = core.requestBuilder(input, context);
716
- const headers = {
717
- "content-type": "application/json",
718
- };
719
- b.bp("/Groups/UpdateGroup");
720
- const query = smithyClient.map({
721
- [_DI]: [, smithyClient.expectNonNull(input[_DI], `DirectoryId`)],
722
- });
723
- let body;
724
- body = JSON.stringify(smithyClient.take(input, {
725
- ClientToken: [true, (_) => _ ?? uuid.v4()],
726
- GroupScope: [],
727
- GroupType: [],
728
- OtherAttributes: (_) => smithyClient._json(_),
729
- SAMAccountName: [],
730
- UpdateType: [],
731
- }));
732
- b.m("POST").h(headers).q(query).b(body);
733
- return b.build();
734
- };
735
- const se_UpdateUserCommand = async (input, context) => {
736
- const b = core.requestBuilder(input, context);
737
- const headers = {
738
- "content-type": "application/json",
739
- };
740
- b.bp("/Users/UpdateUser");
741
- const query = smithyClient.map({
742
- [_DI]: [, smithyClient.expectNonNull(input[_DI], `DirectoryId`)],
743
- });
744
- let body;
745
- body = JSON.stringify(smithyClient.take(input, {
746
- ClientToken: [true, (_) => _ ?? uuid.v4()],
747
- EmailAddress: [],
748
- GivenName: [],
749
- OtherAttributes: (_) => smithyClient._json(_),
750
- SAMAccountName: [],
751
- Surname: [],
752
- UpdateType: [],
753
- }));
754
- b.m("POST").h(headers).q(query).b(body);
755
- return b.build();
756
- };
757
- const de_AddGroupMemberCommand = async (output, context) => {
758
- if (output.statusCode !== 200 && output.statusCode >= 300) {
759
- return de_CommandError(output, context);
760
- }
761
- const contents = smithyClient.map({
762
- $metadata: deserializeMetadata(output),
763
- });
764
- await smithyClient.collectBody(output.body, context);
765
- return contents;
766
- };
767
- const de_CreateGroupCommand = async (output, context) => {
768
- if (output.statusCode !== 200 && output.statusCode >= 300) {
769
- return de_CommandError(output, context);
770
- }
771
- const contents = smithyClient.map({
772
- $metadata: deserializeMetadata(output),
773
- });
774
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
775
- const doc = smithyClient.take(data, {
776
- DirectoryId: smithyClient.expectString,
777
- SAMAccountName: smithyClient.expectString,
778
- SID: smithyClient.expectString,
779
- });
780
- Object.assign(contents, doc);
781
- return contents;
782
- };
783
- const de_CreateUserCommand = async (output, context) => {
784
- if (output.statusCode !== 200 && output.statusCode >= 300) {
785
- return de_CommandError(output, context);
786
- }
787
- const contents = smithyClient.map({
788
- $metadata: deserializeMetadata(output),
789
- });
790
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
791
- const doc = smithyClient.take(data, {
792
- DirectoryId: smithyClient.expectString,
793
- SAMAccountName: smithyClient.expectString,
794
- SID: smithyClient.expectString,
795
- });
796
- Object.assign(contents, doc);
797
- return contents;
798
- };
799
- const de_DeleteGroupCommand = async (output, context) => {
800
- if (output.statusCode !== 200 && output.statusCode >= 300) {
801
- return de_CommandError(output, context);
802
- }
803
- const contents = smithyClient.map({
804
- $metadata: deserializeMetadata(output),
805
- });
806
- await smithyClient.collectBody(output.body, context);
807
- return contents;
808
- };
809
- const de_DeleteUserCommand = async (output, context) => {
810
- if (output.statusCode !== 200 && output.statusCode >= 300) {
811
- return de_CommandError(output, context);
812
- }
813
- const contents = smithyClient.map({
814
- $metadata: deserializeMetadata(output),
815
- });
816
- await smithyClient.collectBody(output.body, context);
817
- return contents;
818
- };
819
- const de_DescribeGroupCommand = async (output, context) => {
820
- if (output.statusCode !== 200 && output.statusCode >= 300) {
821
- return de_CommandError(output, context);
822
- }
823
- const contents = smithyClient.map({
824
- $metadata: deserializeMetadata(output),
825
- });
826
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
827
- const doc = smithyClient.take(data, {
828
- DirectoryId: smithyClient.expectString,
829
- DistinguishedName: smithyClient.expectString,
830
- GroupScope: smithyClient.expectString,
831
- GroupType: smithyClient.expectString,
832
- OtherAttributes: smithyClient._json,
833
- Realm: smithyClient.expectString,
834
- SAMAccountName: smithyClient.expectString,
835
- SID: smithyClient.expectString,
836
- });
837
- Object.assign(contents, doc);
838
- return contents;
839
- };
840
- const de_DescribeUserCommand = async (output, context) => {
841
- if (output.statusCode !== 200 && output.statusCode >= 300) {
842
- return de_CommandError(output, context);
843
- }
844
- const contents = smithyClient.map({
845
- $metadata: deserializeMetadata(output),
846
- });
847
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
848
- const doc = smithyClient.take(data, {
849
- DirectoryId: smithyClient.expectString,
850
- DistinguishedName: smithyClient.expectString,
851
- EmailAddress: smithyClient.expectString,
852
- Enabled: smithyClient.expectBoolean,
853
- GivenName: smithyClient.expectString,
854
- OtherAttributes: smithyClient._json,
855
- Realm: smithyClient.expectString,
856
- SAMAccountName: smithyClient.expectString,
857
- SID: smithyClient.expectString,
858
- Surname: smithyClient.expectString,
859
- UserPrincipalName: smithyClient.expectString,
860
- });
861
- Object.assign(contents, doc);
862
- return contents;
863
- };
864
- const de_DisableUserCommand = async (output, context) => {
865
- if (output.statusCode !== 200 && output.statusCode >= 300) {
866
- return de_CommandError(output, context);
867
- }
868
- const contents = smithyClient.map({
869
- $metadata: deserializeMetadata(output),
870
- });
871
- await smithyClient.collectBody(output.body, context);
872
- return contents;
873
- };
874
- const de_ListGroupMembersCommand = async (output, context) => {
875
- if (output.statusCode !== 200 && output.statusCode >= 300) {
876
- return de_CommandError(output, context);
877
- }
878
- const contents = smithyClient.map({
879
- $metadata: deserializeMetadata(output),
880
- });
881
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
882
- const doc = smithyClient.take(data, {
883
- DirectoryId: smithyClient.expectString,
884
- MemberRealm: smithyClient.expectString,
885
- Members: smithyClient._json,
886
- NextToken: smithyClient.expectString,
887
- Realm: smithyClient.expectString,
888
- });
889
- Object.assign(contents, doc);
890
- return contents;
891
- };
892
- const de_ListGroupsCommand = async (output, context) => {
893
- if (output.statusCode !== 200 && output.statusCode >= 300) {
894
- return de_CommandError(output, context);
895
- }
896
- const contents = smithyClient.map({
897
- $metadata: deserializeMetadata(output),
898
- });
899
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
900
- const doc = smithyClient.take(data, {
901
- DirectoryId: smithyClient.expectString,
902
- Groups: smithyClient._json,
903
- NextToken: smithyClient.expectString,
904
- Realm: smithyClient.expectString,
905
- });
906
- Object.assign(contents, doc);
907
- return contents;
908
- };
909
- const de_ListGroupsForMemberCommand = async (output, context) => {
910
- if (output.statusCode !== 200 && output.statusCode >= 300) {
911
- return de_CommandError(output, context);
912
- }
913
- const contents = smithyClient.map({
914
- $metadata: deserializeMetadata(output),
915
- });
916
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
917
- const doc = smithyClient.take(data, {
918
- DirectoryId: smithyClient.expectString,
919
- Groups: smithyClient._json,
920
- MemberRealm: smithyClient.expectString,
921
- NextToken: smithyClient.expectString,
922
- Realm: smithyClient.expectString,
923
- });
924
- Object.assign(contents, doc);
925
- return contents;
926
- };
927
- const de_ListUsersCommand = async (output, context) => {
928
- if (output.statusCode !== 200 && output.statusCode >= 300) {
929
- return de_CommandError(output, context);
930
- }
931
- const contents = smithyClient.map({
932
- $metadata: deserializeMetadata(output),
933
- });
934
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
935
- const doc = smithyClient.take(data, {
936
- DirectoryId: smithyClient.expectString,
937
- NextToken: smithyClient.expectString,
938
- Realm: smithyClient.expectString,
939
- Users: smithyClient._json,
940
- });
941
- Object.assign(contents, doc);
942
- return contents;
943
- };
944
- const de_RemoveGroupMemberCommand = async (output, context) => {
945
- if (output.statusCode !== 200 && output.statusCode >= 300) {
946
- return de_CommandError(output, context);
947
- }
948
- const contents = smithyClient.map({
949
- $metadata: deserializeMetadata(output),
950
- });
951
- await smithyClient.collectBody(output.body, context);
952
- return contents;
953
- };
954
- const de_SearchGroupsCommand = async (output, context) => {
955
- if (output.statusCode !== 200 && output.statusCode >= 300) {
956
- return de_CommandError(output, context);
957
- }
958
- const contents = smithyClient.map({
959
- $metadata: deserializeMetadata(output),
960
- });
961
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
962
- const doc = smithyClient.take(data, {
963
- DirectoryId: smithyClient.expectString,
964
- Groups: smithyClient._json,
965
- NextToken: smithyClient.expectString,
966
- Realm: smithyClient.expectString,
967
- });
968
- Object.assign(contents, doc);
969
- return contents;
970
- };
971
- const de_SearchUsersCommand = async (output, context) => {
972
- if (output.statusCode !== 200 && output.statusCode >= 300) {
973
- return de_CommandError(output, context);
974
- }
975
- const contents = smithyClient.map({
976
- $metadata: deserializeMetadata(output),
977
- });
978
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
979
- const doc = smithyClient.take(data, {
980
- DirectoryId: smithyClient.expectString,
981
- NextToken: smithyClient.expectString,
982
- Realm: smithyClient.expectString,
983
- Users: smithyClient._json,
984
- });
985
- Object.assign(contents, doc);
986
- return contents;
987
- };
988
- const de_UpdateGroupCommand = async (output, context) => {
989
- if (output.statusCode !== 200 && output.statusCode >= 300) {
990
- return de_CommandError(output, context);
991
- }
992
- const contents = smithyClient.map({
993
- $metadata: deserializeMetadata(output),
994
- });
995
- await smithyClient.collectBody(output.body, context);
996
- return contents;
997
- };
998
- const de_UpdateUserCommand = async (output, context) => {
999
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1000
- return de_CommandError(output, context);
1001
- }
1002
- const contents = smithyClient.map({
1003
- $metadata: deserializeMetadata(output),
1004
- });
1005
- await smithyClient.collectBody(output.body, context);
1006
- return contents;
1007
- };
1008
- const de_CommandError = async (output, context) => {
1009
- const parsedOutput = {
1010
- ...output,
1011
- body: await core$1.parseJsonErrorBody(output.body, context),
1012
- };
1013
- const errorCode = core$1.loadRestJsonErrorCode(output, parsedOutput.body);
1014
- switch (errorCode) {
1015
- case "AccessDeniedException":
1016
- case "com.amazonaws.directoryservicedata#AccessDeniedException":
1017
- throw await de_AccessDeniedExceptionRes(parsedOutput);
1018
- case "ConflictException":
1019
- case "com.amazonaws.directoryservicedata#ConflictException":
1020
- throw await de_ConflictExceptionRes(parsedOutput);
1021
- case "DirectoryUnavailableException":
1022
- case "com.amazonaws.directoryservicedata#DirectoryUnavailableException":
1023
- throw await de_DirectoryUnavailableExceptionRes(parsedOutput);
1024
- case "InternalServerException":
1025
- case "com.amazonaws.directoryservicedata#InternalServerException":
1026
- throw await de_InternalServerExceptionRes(parsedOutput);
1027
- case "ResourceNotFoundException":
1028
- case "com.amazonaws.directoryservicedata#ResourceNotFoundException":
1029
- throw await de_ResourceNotFoundExceptionRes(parsedOutput);
1030
- case "ThrottlingException":
1031
- case "com.amazonaws.directoryservicedata#ThrottlingException":
1032
- throw await de_ThrottlingExceptionRes(parsedOutput);
1033
- case "ValidationException":
1034
- case "com.amazonaws.directoryservicedata#ValidationException":
1035
- throw await de_ValidationExceptionRes(parsedOutput);
1036
- default:
1037
- const parsedBody = parsedOutput.body;
1038
- return throwDefaultError({
1039
- output,
1040
- parsedBody,
1041
- errorCode,
1042
- });
1043
- }
1044
- };
1045
- const throwDefaultError = smithyClient.withBaseException(DirectoryServiceDataServiceException);
1046
- const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
1047
- const contents = smithyClient.map({});
1048
- const data = parsedOutput.body;
1049
- const doc = smithyClient.take(data, {
1050
- Message: smithyClient.expectString,
1051
- Reason: smithyClient.expectString,
1052
- });
1053
- Object.assign(contents, doc);
1054
- const exception = new AccessDeniedException({
1055
- $metadata: deserializeMetadata(parsedOutput),
1056
- ...contents,
1057
- });
1058
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1059
- };
1060
- const de_ConflictExceptionRes = async (parsedOutput, context) => {
1061
- const contents = smithyClient.map({});
1062
- const data = parsedOutput.body;
1063
- const doc = smithyClient.take(data, {
1064
- Message: smithyClient.expectString,
1065
- });
1066
- Object.assign(contents, doc);
1067
- const exception = new ConflictException({
1068
- $metadata: deserializeMetadata(parsedOutput),
1069
- ...contents,
1070
- });
1071
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1072
- };
1073
- const de_DirectoryUnavailableExceptionRes = async (parsedOutput, context) => {
1074
- const contents = smithyClient.map({});
1075
- const data = parsedOutput.body;
1076
- const doc = smithyClient.take(data, {
1077
- Message: smithyClient.expectString,
1078
- Reason: smithyClient.expectString,
1079
- });
1080
- Object.assign(contents, doc);
1081
- const exception = new DirectoryUnavailableException({
1082
- $metadata: deserializeMetadata(parsedOutput),
1083
- ...contents,
1084
- });
1085
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1086
- };
1087
- const de_InternalServerExceptionRes = async (parsedOutput, context) => {
1088
- const contents = smithyClient.map({});
1089
- const data = parsedOutput.body;
1090
- const doc = smithyClient.take(data, {
1091
- Message: smithyClient.expectString,
1092
- });
1093
- Object.assign(contents, doc);
1094
- const exception = new InternalServerException({
1095
- $metadata: deserializeMetadata(parsedOutput),
1096
- ...contents,
1097
- });
1098
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1099
- };
1100
- const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
1101
- const contents = smithyClient.map({});
1102
- const data = parsedOutput.body;
1103
- const doc = smithyClient.take(data, {
1104
- Message: smithyClient.expectString,
1105
- });
1106
- Object.assign(contents, doc);
1107
- const exception = new ResourceNotFoundException({
1108
- $metadata: deserializeMetadata(parsedOutput),
1109
- ...contents,
1110
- });
1111
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1112
- };
1113
- const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
1114
- const contents = smithyClient.map({
1115
- [_RAS]: [() => void 0 !== parsedOutput.headers[_ra], () => smithyClient.strictParseInt32(parsedOutput.headers[_ra])],
1116
- });
1117
- const data = parsedOutput.body;
1118
- const doc = smithyClient.take(data, {
1119
- Message: smithyClient.expectString,
1120
- });
1121
- Object.assign(contents, doc);
1122
- const exception = new ThrottlingException({
1123
- $metadata: deserializeMetadata(parsedOutput),
1124
- ...contents,
1125
- });
1126
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1127
- };
1128
- const de_ValidationExceptionRes = async (parsedOutput, context) => {
1129
- const contents = smithyClient.map({});
1130
- const data = parsedOutput.body;
1131
- const doc = smithyClient.take(data, {
1132
- Message: smithyClient.expectString,
1133
- Reason: smithyClient.expectString,
1134
- });
1135
- Object.assign(contents, doc);
1136
- const exception = new ValidationException({
1137
- $metadata: deserializeMetadata(parsedOutput),
1138
- ...contents,
1139
- });
1140
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1141
- };
1142
- const deserializeMetadata = (output) => ({
1143
- httpStatusCode: output.statusCode,
1144
- requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
1145
- extendedRequestId: output.headers["x-amz-id-2"],
1146
- cfId: output.headers["x-amz-cf-id"],
1147
- });
281
+ const _A = "Attributes";
282
+ const _ADE = "AccessDeniedException";
283
+ const _AGM = "AddGroupMember";
284
+ const _AGMR = "AddGroupMemberRequest";
285
+ const _AGMRd = "AddGroupMemberResult";
286
+ const _AV = "AttributeValue";
287
+ const _BAV = "BooleanAttributeValue";
288
+ const _BOOL = "BOOL";
289
+ const _CE = "ConflictException";
290
+ const _CG = "CreateGroup";
291
+ const _CGR = "CreateGroupRequest";
292
+ const _CGRr = "CreateGroupResult";
293
+ const _CT = "ClientToken";
294
+ const _CU = "CreateUser";
295
+ const _CUR = "CreateUserRequest";
296
+ const _CURr = "CreateUserResult";
297
+ const _DG = "DeleteGroup";
298
+ const _DGR = "DeleteGroupRequest";
299
+ const _DGRe = "DeleteGroupResult";
300
+ const _DGRes = "DescribeGroupRequest";
301
+ const _DGResc = "DescribeGroupResult";
302
+ const _DGe = "DescribeGroup";
1148
303
  const _DI = "DirectoryId";
304
+ const _DN = "DistinguishedName";
305
+ const _DU = "DeleteUser";
306
+ const _DUE = "DirectoryUnavailableException";
307
+ const _DUR = "DeleteUserRequest";
308
+ const _DURe = "DeleteUserResult";
309
+ const _DURes = "DescribeUserRequest";
310
+ const _DUResc = "DescribeUserResult";
311
+ const _DURi = "DisableUserRequest";
312
+ const _DURis = "DisableUserResult";
313
+ const _DUe = "DescribeUser";
314
+ const _DUi = "DisableUser";
315
+ const _E = "Enabled";
316
+ const _EA = "EmailAddress";
317
+ const _G = "Group";
318
+ const _GL = "GroupList";
319
+ const _GN = "GivenName";
320
+ const _GNr = "GroupName";
321
+ const _GS = "GroupScope";
322
+ const _GSL = "GroupSummaryList";
323
+ const _GSr = "GroupSummary";
324
+ const _GT = "GroupType";
325
+ const _Gr = "Groups";
326
+ const _ISE = "InternalServerException";
327
+ const _LG = "ListGroups";
328
+ const _LGFM = "ListGroupsForMember";
329
+ const _LGFMR = "ListGroupsForMemberRequest";
330
+ const _LGFMRi = "ListGroupsForMemberResult";
331
+ const _LGM = "ListGroupMembers";
332
+ const _LGMR = "ListGroupMembersRequest";
333
+ const _LGMRi = "ListGroupMembersResult";
334
+ const _LGR = "ListGroupsRequest";
335
+ const _LGRi = "ListGroupsResult";
336
+ const _LU = "ListUsers";
337
+ const _LUR = "ListUsersRequest";
338
+ const _LURi = "ListUsersResult";
339
+ const _M = "Message";
340
+ const _ML = "MemberList";
341
+ const _MN = "MemberName";
342
+ const _MR = "MemberRealm";
343
+ const _MRa = "MaxResults";
344
+ const _MT = "MemberType";
345
+ const _Me = "Members";
346
+ const _Mem = "Member";
347
+ const _N = "N";
348
+ const _NAV = "NumberAttributeValue";
349
+ const _NT = "NextToken";
350
+ const _OA = "OtherAttributes";
351
+ const _R = "Reason";
352
+ const _RA = "Retry-After";
1149
353
  const _RAS = "RetryAfterSeconds";
1150
- const _ra = "retry-after";
354
+ const _RGM = "RemoveGroupMember";
355
+ const _RGMR = "RemoveGroupMemberRequest";
356
+ const _RGMRe = "RemoveGroupMemberResult";
357
+ const _RNFE = "ResourceNotFoundException";
358
+ const _Re = "Realm";
359
+ const _S = "Surname";
360
+ const _SA = "SearchAttributes";
361
+ const _SAMAN = "SAMAccountName";
362
+ const _SAV = "StringAttributeValue";
363
+ const _SG = "SearchGroups";
364
+ const _SGR = "SearchGroupsRequest";
365
+ const _SGRe = "SearchGroupsResult";
366
+ const _SID = "SID";
367
+ const _SS = "SearchString";
368
+ const _SSAV = "StringSetAttributeValue";
369
+ const _SS_ = "SS";
370
+ const _SU = "SearchUsers";
371
+ const _SUR = "SearchUsersRequest";
372
+ const _SURe = "SearchUsersResult";
373
+ const _S_ = "S";
374
+ const _TE = "ThrottlingException";
375
+ const _U = "Users";
376
+ const _UG = "UpdateGroup";
377
+ const _UGR = "UpdateGroupRequest";
378
+ const _UGRp = "UpdateGroupResult";
379
+ const _UL = "UserList";
380
+ const _UPN = "UserPrincipalName";
381
+ const _US = "UserSummary";
382
+ const _USL = "UserSummaryList";
383
+ const _UT = "UpdateType";
384
+ const _UU = "UpdateUser";
385
+ const _UUR = "UpdateUserRequest";
386
+ const _UURp = "UpdateUserResult";
387
+ const _Us = "User";
388
+ const _VE = "ValidationException";
389
+ const _c = "client";
390
+ const _e = "error";
391
+ const _h = "http";
392
+ const _hE = "httpError";
393
+ const _hH = "httpHeader";
394
+ const _hQ = "httpQuery";
395
+ const _s = "server";
396
+ const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.directoryservicedata";
397
+ const n0 = "com.amazonaws.directoryservicedata";
398
+ var BooleanAttributeValue = [0, n0, _BAV, 8, 2];
399
+ var DistinguishedName = [0, n0, _DN, 8, 0];
400
+ var EmailAddress = [0, n0, _EA, 8, 0];
401
+ var GivenName = [0, n0, _GN, 8, 0];
402
+ var NextToken = [0, n0, _NT, 8, 0];
403
+ var NumberAttributeValue = [0, n0, _NAV, 8, 1];
404
+ var SearchString = [0, n0, _SS, 8, 0];
405
+ var StringAttributeValue = [0, n0, _SAV, 8, 0];
406
+ var Surname = [0, n0, _S, 8, 0];
407
+ var UserPrincipalName = [0, n0, _UPN, 8, 0];
408
+ var AccessDeniedException = [
409
+ -3,
410
+ n0,
411
+ _ADE,
412
+ {
413
+ [_e]: _c,
414
+ [_hE]: 403,
415
+ },
416
+ [_M, _R],
417
+ [0, 0],
418
+ ];
419
+ schema.TypeRegistry.for(n0).registerError(AccessDeniedException, AccessDeniedException$1);
420
+ var AddGroupMemberRequest = [
421
+ 3,
422
+ n0,
423
+ _AGMR,
424
+ 0,
425
+ [_DI, _GNr, _MN, _MR, _CT],
426
+ [
427
+ [
428
+ 0,
429
+ {
430
+ [_hQ]: _DI,
431
+ },
432
+ ],
433
+ 0,
434
+ 0,
435
+ 0,
436
+ [0, 4],
437
+ ],
438
+ ];
439
+ var AddGroupMemberResult = [3, n0, _AGMRd, 0, [], []];
440
+ var ConflictException = [
441
+ -3,
442
+ n0,
443
+ _CE,
444
+ {
445
+ [_e]: _c,
446
+ [_hE]: 409,
447
+ },
448
+ [_M],
449
+ [0],
450
+ ];
451
+ schema.TypeRegistry.for(n0).registerError(ConflictException, ConflictException$1);
452
+ var CreateGroupRequest = [
453
+ 3,
454
+ n0,
455
+ _CGR,
456
+ 0,
457
+ [_DI, _SAMAN, _GT, _GS, _OA, _CT],
458
+ [
459
+ [
460
+ 0,
461
+ {
462
+ [_hQ]: _DI,
463
+ },
464
+ ],
465
+ 0,
466
+ 0,
467
+ 0,
468
+ [() => Attributes, 0],
469
+ [0, 4],
470
+ ],
471
+ ];
472
+ var CreateGroupResult = [3, n0, _CGRr, 0, [_DI, _SAMAN, _SID], [0, 0, 0]];
473
+ var CreateUserRequest = [
474
+ 3,
475
+ n0,
476
+ _CUR,
477
+ 0,
478
+ [_DI, _SAMAN, _EA, _GN, _S, _OA, _CT],
479
+ [
480
+ [
481
+ 0,
482
+ {
483
+ [_hQ]: _DI,
484
+ },
485
+ ],
486
+ 0,
487
+ [() => EmailAddress, 0],
488
+ [() => GivenName, 0],
489
+ [() => Surname, 0],
490
+ [() => Attributes, 0],
491
+ [0, 4],
492
+ ],
493
+ ];
494
+ var CreateUserResult = [3, n0, _CURr, 0, [_DI, _SID, _SAMAN], [0, 0, 0]];
495
+ var DeleteGroupRequest = [
496
+ 3,
497
+ n0,
498
+ _DGR,
499
+ 0,
500
+ [_DI, _SAMAN, _CT],
501
+ [
502
+ [
503
+ 0,
504
+ {
505
+ [_hQ]: _DI,
506
+ },
507
+ ],
508
+ 0,
509
+ [0, 4],
510
+ ],
511
+ ];
512
+ var DeleteGroupResult = [3, n0, _DGRe, 0, [], []];
513
+ var DeleteUserRequest = [
514
+ 3,
515
+ n0,
516
+ _DUR,
517
+ 0,
518
+ [_DI, _SAMAN, _CT],
519
+ [
520
+ [
521
+ 0,
522
+ {
523
+ [_hQ]: _DI,
524
+ },
525
+ ],
526
+ 0,
527
+ [0, 4],
528
+ ],
529
+ ];
530
+ var DeleteUserResult = [3, n0, _DURe, 0, [], []];
531
+ var DescribeGroupRequest = [
532
+ 3,
533
+ n0,
534
+ _DGRes,
535
+ 0,
536
+ [_DI, _Re, _SAMAN, _OA],
537
+ [
538
+ [
539
+ 0,
540
+ {
541
+ [_hQ]: _DI,
542
+ },
543
+ ],
544
+ 0,
545
+ 0,
546
+ 64 | 0,
547
+ ],
548
+ ];
549
+ var DescribeGroupResult = [
550
+ 3,
551
+ n0,
552
+ _DGResc,
553
+ 0,
554
+ [_DI, _Re, _SID, _SAMAN, _DN, _GT, _GS, _OA],
555
+ [0, 0, 0, 0, [() => DistinguishedName, 0], 0, 0, [() => Attributes, 0]],
556
+ ];
557
+ var DescribeUserRequest = [
558
+ 3,
559
+ n0,
560
+ _DURes,
561
+ 0,
562
+ [_DI, _SAMAN, _OA, _Re],
563
+ [
564
+ [
565
+ 0,
566
+ {
567
+ [_hQ]: _DI,
568
+ },
569
+ ],
570
+ 0,
571
+ 64 | 0,
572
+ 0,
573
+ ],
574
+ ];
575
+ var DescribeUserResult = [
576
+ 3,
577
+ n0,
578
+ _DUResc,
579
+ 0,
580
+ [_DI, _Re, _SID, _SAMAN, _DN, _UPN, _EA, _GN, _S, _E, _OA],
581
+ [
582
+ 0,
583
+ 0,
584
+ 0,
585
+ 0,
586
+ [() => DistinguishedName, 0],
587
+ [() => UserPrincipalName, 0],
588
+ [() => EmailAddress, 0],
589
+ [() => GivenName, 0],
590
+ [() => Surname, 0],
591
+ 2,
592
+ [() => Attributes, 0],
593
+ ],
594
+ ];
595
+ var DirectoryUnavailableException = [
596
+ -3,
597
+ n0,
598
+ _DUE,
599
+ {
600
+ [_e]: _c,
601
+ [_hE]: 400,
602
+ },
603
+ [_M, _R],
604
+ [0, 0],
605
+ ];
606
+ schema.TypeRegistry.for(n0).registerError(DirectoryUnavailableException, DirectoryUnavailableException$1);
607
+ var DisableUserRequest = [
608
+ 3,
609
+ n0,
610
+ _DURi,
611
+ 0,
612
+ [_DI, _SAMAN, _CT],
613
+ [
614
+ [
615
+ 0,
616
+ {
617
+ [_hQ]: _DI,
618
+ },
619
+ ],
620
+ 0,
621
+ [0, 4],
622
+ ],
623
+ ];
624
+ var DisableUserResult = [3, n0, _DURis, 0, [], []];
625
+ var Group = [
626
+ 3,
627
+ n0,
628
+ _G,
629
+ 0,
630
+ [_SID, _SAMAN, _DN, _GT, _GS, _OA],
631
+ [0, 0, [() => DistinguishedName, 0], 0, 0, [() => Attributes, 0]],
632
+ ];
633
+ var GroupSummary = [3, n0, _GSr, 0, [_SID, _SAMAN, _GT, _GS], [0, 0, 0, 0]];
634
+ var InternalServerException = [
635
+ -3,
636
+ n0,
637
+ _ISE,
638
+ {
639
+ [_e]: _s,
640
+ [_hE]: 500,
641
+ },
642
+ [_M],
643
+ [0],
644
+ ];
645
+ schema.TypeRegistry.for(n0).registerError(InternalServerException, InternalServerException$1);
646
+ var ListGroupMembersRequest = [
647
+ 3,
648
+ n0,
649
+ _LGMR,
650
+ 0,
651
+ [_DI, _Re, _MR, _SAMAN, _NT, _MRa],
652
+ [
653
+ [
654
+ 0,
655
+ {
656
+ [_hQ]: _DI,
657
+ },
658
+ ],
659
+ 0,
660
+ 0,
661
+ 0,
662
+ [() => NextToken, 0],
663
+ 1,
664
+ ],
665
+ ];
666
+ var ListGroupMembersResult = [
667
+ 3,
668
+ n0,
669
+ _LGMRi,
670
+ 0,
671
+ [_DI, _Re, _MR, _Me, _NT],
672
+ [0, 0, 0, () => MemberList, [() => NextToken, 0]],
673
+ ];
674
+ var ListGroupsForMemberRequest = [
675
+ 3,
676
+ n0,
677
+ _LGFMR,
678
+ 0,
679
+ [_DI, _Re, _MR, _SAMAN, _NT, _MRa],
680
+ [
681
+ [
682
+ 0,
683
+ {
684
+ [_hQ]: _DI,
685
+ },
686
+ ],
687
+ 0,
688
+ 0,
689
+ 0,
690
+ [() => NextToken, 0],
691
+ 1,
692
+ ],
693
+ ];
694
+ var ListGroupsForMemberResult = [
695
+ 3,
696
+ n0,
697
+ _LGFMRi,
698
+ 0,
699
+ [_DI, _Re, _MR, _Gr, _NT],
700
+ [0, 0, 0, () => GroupSummaryList, [() => NextToken, 0]],
701
+ ];
702
+ var ListGroupsRequest = [
703
+ 3,
704
+ n0,
705
+ _LGR,
706
+ 0,
707
+ [_DI, _Re, _NT, _MRa],
708
+ [
709
+ [
710
+ 0,
711
+ {
712
+ [_hQ]: _DI,
713
+ },
714
+ ],
715
+ 0,
716
+ [() => NextToken, 0],
717
+ 1,
718
+ ],
719
+ ];
720
+ var ListGroupsResult = [
721
+ 3,
722
+ n0,
723
+ _LGRi,
724
+ 0,
725
+ [_DI, _Re, _Gr, _NT],
726
+ [0, 0, () => GroupSummaryList, [() => NextToken, 0]],
727
+ ];
728
+ var ListUsersRequest = [
729
+ 3,
730
+ n0,
731
+ _LUR,
732
+ 0,
733
+ [_DI, _Re, _NT, _MRa],
734
+ [
735
+ [
736
+ 0,
737
+ {
738
+ [_hQ]: _DI,
739
+ },
740
+ ],
741
+ 0,
742
+ [() => NextToken, 0],
743
+ 1,
744
+ ],
745
+ ];
746
+ var ListUsersResult = [
747
+ 3,
748
+ n0,
749
+ _LURi,
750
+ 0,
751
+ [_DI, _Re, _U, _NT],
752
+ [0, 0, [() => UserSummaryList, 0], [() => NextToken, 0]],
753
+ ];
754
+ var Member = [3, n0, _Mem, 0, [_SID, _SAMAN, _MT], [0, 0, 0]];
755
+ var RemoveGroupMemberRequest = [
756
+ 3,
757
+ n0,
758
+ _RGMR,
759
+ 0,
760
+ [_DI, _GNr, _MN, _MR, _CT],
761
+ [
762
+ [
763
+ 0,
764
+ {
765
+ [_hQ]: _DI,
766
+ },
767
+ ],
768
+ 0,
769
+ 0,
770
+ 0,
771
+ [0, 4],
772
+ ],
773
+ ];
774
+ var RemoveGroupMemberResult = [3, n0, _RGMRe, 0, [], []];
775
+ var ResourceNotFoundException = [
776
+ -3,
777
+ n0,
778
+ _RNFE,
779
+ {
780
+ [_e]: _c,
781
+ [_hE]: 404,
782
+ },
783
+ [_M],
784
+ [0],
785
+ ];
786
+ schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException, ResourceNotFoundException$1);
787
+ var SearchGroupsRequest = [
788
+ 3,
789
+ n0,
790
+ _SGR,
791
+ 0,
792
+ [_DI, _SS, _SA, _Re, _NT, _MRa],
793
+ [
794
+ [
795
+ 0,
796
+ {
797
+ [_hQ]: _DI,
798
+ },
799
+ ],
800
+ [() => SearchString, 0],
801
+ 64 | 0,
802
+ 0,
803
+ [() => NextToken, 0],
804
+ 1,
805
+ ],
806
+ ];
807
+ var SearchGroupsResult = [
808
+ 3,
809
+ n0,
810
+ _SGRe,
811
+ 0,
812
+ [_DI, _Re, _Gr, _NT],
813
+ [0, 0, [() => GroupList, 0], [() => NextToken, 0]],
814
+ ];
815
+ var SearchUsersRequest = [
816
+ 3,
817
+ n0,
818
+ _SUR,
819
+ 0,
820
+ [_DI, _Re, _SS, _SA, _NT, _MRa],
821
+ [
822
+ [
823
+ 0,
824
+ {
825
+ [_hQ]: _DI,
826
+ },
827
+ ],
828
+ 0,
829
+ [() => SearchString, 0],
830
+ 64 | 0,
831
+ [() => NextToken, 0],
832
+ 1,
833
+ ],
834
+ ];
835
+ var SearchUsersResult = [
836
+ 3,
837
+ n0,
838
+ _SURe,
839
+ 0,
840
+ [_DI, _Re, _U, _NT],
841
+ [0, 0, [() => UserList, 0], [() => NextToken, 0]],
842
+ ];
843
+ var ThrottlingException = [
844
+ -3,
845
+ n0,
846
+ _TE,
847
+ {
848
+ [_e]: _c,
849
+ [_hE]: 429,
850
+ },
851
+ [_M, _RAS],
852
+ [
853
+ 0,
854
+ [
855
+ 1,
856
+ {
857
+ [_hH]: _RA,
858
+ },
859
+ ],
860
+ ],
861
+ ];
862
+ schema.TypeRegistry.for(n0).registerError(ThrottlingException, ThrottlingException$1);
863
+ var UpdateGroupRequest = [
864
+ 3,
865
+ n0,
866
+ _UGR,
867
+ 0,
868
+ [_DI, _SAMAN, _GT, _GS, _OA, _UT, _CT],
869
+ [
870
+ [
871
+ 0,
872
+ {
873
+ [_hQ]: _DI,
874
+ },
875
+ ],
876
+ 0,
877
+ 0,
878
+ 0,
879
+ [() => Attributes, 0],
880
+ 0,
881
+ [0, 4],
882
+ ],
883
+ ];
884
+ var UpdateGroupResult = [3, n0, _UGRp, 0, [], []];
885
+ var UpdateUserRequest = [
886
+ 3,
887
+ n0,
888
+ _UUR,
889
+ 0,
890
+ [_DI, _SAMAN, _EA, _GN, _S, _OA, _UT, _CT],
891
+ [
892
+ [
893
+ 0,
894
+ {
895
+ [_hQ]: _DI,
896
+ },
897
+ ],
898
+ 0,
899
+ [() => EmailAddress, 0],
900
+ [() => GivenName, 0],
901
+ [() => Surname, 0],
902
+ [() => Attributes, 0],
903
+ 0,
904
+ [0, 4],
905
+ ],
906
+ ];
907
+ var UpdateUserResult = [3, n0, _UURp, 0, [], []];
908
+ var User = [
909
+ 3,
910
+ n0,
911
+ _Us,
912
+ 0,
913
+ [_SID, _SAMAN, _DN, _UPN, _EA, _GN, _S, _E, _OA],
914
+ [
915
+ 0,
916
+ 0,
917
+ [() => DistinguishedName, 0],
918
+ [() => UserPrincipalName, 0],
919
+ [() => EmailAddress, 0],
920
+ [() => GivenName, 0],
921
+ [() => Surname, 0],
922
+ 2,
923
+ [() => Attributes, 0],
924
+ ],
925
+ ];
926
+ var UserSummary = [
927
+ 3,
928
+ n0,
929
+ _US,
930
+ 0,
931
+ [_SID, _SAMAN, _GN, _S, _E],
932
+ [0, 0, [() => GivenName, 0], [() => Surname, 0], 2],
933
+ ];
934
+ var ValidationException = [
935
+ -3,
936
+ n0,
937
+ _VE,
938
+ {
939
+ [_e]: _c,
940
+ [_hE]: 400,
941
+ },
942
+ [_M, _R],
943
+ [0, 0],
944
+ ];
945
+ schema.TypeRegistry.for(n0).registerError(ValidationException, ValidationException$1);
946
+ var DirectoryServiceDataServiceException = [
947
+ -3,
948
+ _sm,
949
+ "DirectoryServiceDataServiceException",
950
+ 0,
951
+ [],
952
+ [],
953
+ ];
954
+ schema.TypeRegistry.for(_sm).registerError(DirectoryServiceDataServiceException, DirectoryServiceDataServiceException$1);
955
+ var GroupList = [1, n0, _GL, 0, [() => Group, 0]];
956
+ var GroupSummaryList = [1, n0, _GSL, 0, () => GroupSummary];
957
+ var MemberList = [1, n0, _ML, 0, () => Member];
958
+ var StringSetAttributeValue = [1, n0, _SSAV, 8, [() => StringAttributeValue, 0]];
959
+ var UserList = [1, n0, _UL, 0, [() => User, 0]];
960
+ var UserSummaryList = [1, n0, _USL, 0, [() => UserSummary, 0]];
961
+ var Attributes = [2, n0, _A, 0, [0, 0], [() => AttributeValue, 0]];
962
+ var AttributeValue = [
963
+ 3,
964
+ n0,
965
+ _AV,
966
+ 0,
967
+ [_S_, _N, _BOOL, _SS_],
968
+ [
969
+ [() => StringAttributeValue, 0],
970
+ [() => NumberAttributeValue, 0],
971
+ [() => BooleanAttributeValue, 0],
972
+ [() => StringSetAttributeValue, 0],
973
+ ],
974
+ ];
975
+ var AddGroupMember = [
976
+ 9,
977
+ n0,
978
+ _AGM,
979
+ {
980
+ [_h]: ["POST", "/GroupMemberships/AddGroupMember", 200],
981
+ },
982
+ () => AddGroupMemberRequest,
983
+ () => AddGroupMemberResult,
984
+ ];
985
+ var CreateGroup = [
986
+ 9,
987
+ n0,
988
+ _CG,
989
+ {
990
+ [_h]: ["POST", "/Groups/CreateGroup", 200],
991
+ },
992
+ () => CreateGroupRequest,
993
+ () => CreateGroupResult,
994
+ ];
995
+ var CreateUser = [
996
+ 9,
997
+ n0,
998
+ _CU,
999
+ {
1000
+ [_h]: ["POST", "/Users/CreateUser", 200],
1001
+ },
1002
+ () => CreateUserRequest,
1003
+ () => CreateUserResult,
1004
+ ];
1005
+ var DeleteGroup = [
1006
+ 9,
1007
+ n0,
1008
+ _DG,
1009
+ {
1010
+ [_h]: ["POST", "/Groups/DeleteGroup", 200],
1011
+ },
1012
+ () => DeleteGroupRequest,
1013
+ () => DeleteGroupResult,
1014
+ ];
1015
+ var DeleteUser = [
1016
+ 9,
1017
+ n0,
1018
+ _DU,
1019
+ {
1020
+ [_h]: ["POST", "/Users/DeleteUser", 200],
1021
+ },
1022
+ () => DeleteUserRequest,
1023
+ () => DeleteUserResult,
1024
+ ];
1025
+ var DescribeGroup = [
1026
+ 9,
1027
+ n0,
1028
+ _DGe,
1029
+ {
1030
+ [_h]: ["POST", "/Groups/DescribeGroup", 200],
1031
+ },
1032
+ () => DescribeGroupRequest,
1033
+ () => DescribeGroupResult,
1034
+ ];
1035
+ var DescribeUser = [
1036
+ 9,
1037
+ n0,
1038
+ _DUe,
1039
+ {
1040
+ [_h]: ["POST", "/Users/DescribeUser", 200],
1041
+ },
1042
+ () => DescribeUserRequest,
1043
+ () => DescribeUserResult,
1044
+ ];
1045
+ var DisableUser = [
1046
+ 9,
1047
+ n0,
1048
+ _DUi,
1049
+ {
1050
+ [_h]: ["POST", "/Users/DisableUser", 200],
1051
+ },
1052
+ () => DisableUserRequest,
1053
+ () => DisableUserResult,
1054
+ ];
1055
+ var ListGroupMembers = [
1056
+ 9,
1057
+ n0,
1058
+ _LGM,
1059
+ {
1060
+ [_h]: ["POST", "/GroupMemberships/ListGroupMembers", 200],
1061
+ },
1062
+ () => ListGroupMembersRequest,
1063
+ () => ListGroupMembersResult,
1064
+ ];
1065
+ var ListGroups = [
1066
+ 9,
1067
+ n0,
1068
+ _LG,
1069
+ {
1070
+ [_h]: ["POST", "/Groups/ListGroups", 200],
1071
+ },
1072
+ () => ListGroupsRequest,
1073
+ () => ListGroupsResult,
1074
+ ];
1075
+ var ListGroupsForMember = [
1076
+ 9,
1077
+ n0,
1078
+ _LGFM,
1079
+ {
1080
+ [_h]: ["POST", "/GroupMemberships/ListGroupsForMember", 200],
1081
+ },
1082
+ () => ListGroupsForMemberRequest,
1083
+ () => ListGroupsForMemberResult,
1084
+ ];
1085
+ var ListUsers = [
1086
+ 9,
1087
+ n0,
1088
+ _LU,
1089
+ {
1090
+ [_h]: ["POST", "/Users/ListUsers", 200],
1091
+ },
1092
+ () => ListUsersRequest,
1093
+ () => ListUsersResult,
1094
+ ];
1095
+ var RemoveGroupMember = [
1096
+ 9,
1097
+ n0,
1098
+ _RGM,
1099
+ {
1100
+ [_h]: ["POST", "/GroupMemberships/RemoveGroupMember", 200],
1101
+ },
1102
+ () => RemoveGroupMemberRequest,
1103
+ () => RemoveGroupMemberResult,
1104
+ ];
1105
+ var SearchGroups = [
1106
+ 9,
1107
+ n0,
1108
+ _SG,
1109
+ {
1110
+ [_h]: ["POST", "/Groups/SearchGroups", 200],
1111
+ },
1112
+ () => SearchGroupsRequest,
1113
+ () => SearchGroupsResult,
1114
+ ];
1115
+ var SearchUsers = [
1116
+ 9,
1117
+ n0,
1118
+ _SU,
1119
+ {
1120
+ [_h]: ["POST", "/Users/SearchUsers", 200],
1121
+ },
1122
+ () => SearchUsersRequest,
1123
+ () => SearchUsersResult,
1124
+ ];
1125
+ var UpdateGroup = [
1126
+ 9,
1127
+ n0,
1128
+ _UG,
1129
+ {
1130
+ [_h]: ["POST", "/Groups/UpdateGroup", 200],
1131
+ },
1132
+ () => UpdateGroupRequest,
1133
+ () => UpdateGroupResult,
1134
+ ];
1135
+ var UpdateUser = [
1136
+ 9,
1137
+ n0,
1138
+ _UU,
1139
+ {
1140
+ [_h]: ["POST", "/Users/UpdateUser", 200],
1141
+ },
1142
+ () => UpdateUserRequest,
1143
+ () => UpdateUserResult,
1144
+ ];
1151
1145
 
1152
1146
  class AddGroupMemberCommand extends smithyClient.Command
1153
1147
  .classBuilder()
1154
1148
  .ep(commonParams)
1155
1149
  .m(function (Command, cs, config, o) {
1156
- return [
1157
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1158
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1159
- ];
1150
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1160
1151
  })
1161
1152
  .s("DirectoryServiceData", "AddGroupMember", {})
1162
1153
  .n("DirectoryServiceDataClient", "AddGroupMemberCommand")
1163
- .f(void 0, void 0)
1164
- .ser(se_AddGroupMemberCommand)
1165
- .de(de_AddGroupMemberCommand)
1154
+ .sc(AddGroupMember)
1166
1155
  .build() {
1167
1156
  }
1168
1157
 
@@ -1170,16 +1159,11 @@ class CreateGroupCommand extends smithyClient.Command
1170
1159
  .classBuilder()
1171
1160
  .ep(commonParams)
1172
1161
  .m(function (Command, cs, config, o) {
1173
- return [
1174
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1175
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1176
- ];
1162
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1177
1163
  })
1178
1164
  .s("DirectoryServiceData", "CreateGroup", {})
1179
1165
  .n("DirectoryServiceDataClient", "CreateGroupCommand")
1180
- .f(CreateGroupRequestFilterSensitiveLog, void 0)
1181
- .ser(se_CreateGroupCommand)
1182
- .de(de_CreateGroupCommand)
1166
+ .sc(CreateGroup)
1183
1167
  .build() {
1184
1168
  }
1185
1169
 
@@ -1187,16 +1171,11 @@ class CreateUserCommand extends smithyClient.Command
1187
1171
  .classBuilder()
1188
1172
  .ep(commonParams)
1189
1173
  .m(function (Command, cs, config, o) {
1190
- return [
1191
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1192
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1193
- ];
1174
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1194
1175
  })
1195
1176
  .s("DirectoryServiceData", "CreateUser", {})
1196
1177
  .n("DirectoryServiceDataClient", "CreateUserCommand")
1197
- .f(CreateUserRequestFilterSensitiveLog, void 0)
1198
- .ser(se_CreateUserCommand)
1199
- .de(de_CreateUserCommand)
1178
+ .sc(CreateUser)
1200
1179
  .build() {
1201
1180
  }
1202
1181
 
@@ -1204,16 +1183,11 @@ class DeleteGroupCommand extends smithyClient.Command
1204
1183
  .classBuilder()
1205
1184
  .ep(commonParams)
1206
1185
  .m(function (Command, cs, config, o) {
1207
- return [
1208
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1209
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1210
- ];
1186
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1211
1187
  })
1212
1188
  .s("DirectoryServiceData", "DeleteGroup", {})
1213
1189
  .n("DirectoryServiceDataClient", "DeleteGroupCommand")
1214
- .f(void 0, void 0)
1215
- .ser(se_DeleteGroupCommand)
1216
- .de(de_DeleteGroupCommand)
1190
+ .sc(DeleteGroup)
1217
1191
  .build() {
1218
1192
  }
1219
1193
 
@@ -1221,16 +1195,11 @@ class DeleteUserCommand extends smithyClient.Command
1221
1195
  .classBuilder()
1222
1196
  .ep(commonParams)
1223
1197
  .m(function (Command, cs, config, o) {
1224
- return [
1225
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1226
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1227
- ];
1198
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1228
1199
  })
1229
1200
  .s("DirectoryServiceData", "DeleteUser", {})
1230
1201
  .n("DirectoryServiceDataClient", "DeleteUserCommand")
1231
- .f(void 0, void 0)
1232
- .ser(se_DeleteUserCommand)
1233
- .de(de_DeleteUserCommand)
1202
+ .sc(DeleteUser)
1234
1203
  .build() {
1235
1204
  }
1236
1205
 
@@ -1238,16 +1207,11 @@ class DescribeGroupCommand extends smithyClient.Command
1238
1207
  .classBuilder()
1239
1208
  .ep(commonParams)
1240
1209
  .m(function (Command, cs, config, o) {
1241
- return [
1242
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1243
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1244
- ];
1210
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1245
1211
  })
1246
1212
  .s("DirectoryServiceData", "DescribeGroup", {})
1247
1213
  .n("DirectoryServiceDataClient", "DescribeGroupCommand")
1248
- .f(void 0, DescribeGroupResultFilterSensitiveLog)
1249
- .ser(se_DescribeGroupCommand)
1250
- .de(de_DescribeGroupCommand)
1214
+ .sc(DescribeGroup)
1251
1215
  .build() {
1252
1216
  }
1253
1217
 
@@ -1255,16 +1219,11 @@ class DescribeUserCommand extends smithyClient.Command
1255
1219
  .classBuilder()
1256
1220
  .ep(commonParams)
1257
1221
  .m(function (Command, cs, config, o) {
1258
- return [
1259
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1260
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1261
- ];
1222
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1262
1223
  })
1263
1224
  .s("DirectoryServiceData", "DescribeUser", {})
1264
1225
  .n("DirectoryServiceDataClient", "DescribeUserCommand")
1265
- .f(void 0, DescribeUserResultFilterSensitiveLog)
1266
- .ser(se_DescribeUserCommand)
1267
- .de(de_DescribeUserCommand)
1226
+ .sc(DescribeUser)
1268
1227
  .build() {
1269
1228
  }
1270
1229
 
@@ -1272,16 +1231,11 @@ class DisableUserCommand extends smithyClient.Command
1272
1231
  .classBuilder()
1273
1232
  .ep(commonParams)
1274
1233
  .m(function (Command, cs, config, o) {
1275
- return [
1276
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1277
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1278
- ];
1234
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1279
1235
  })
1280
1236
  .s("DirectoryServiceData", "DisableUser", {})
1281
1237
  .n("DirectoryServiceDataClient", "DisableUserCommand")
1282
- .f(void 0, void 0)
1283
- .ser(se_DisableUserCommand)
1284
- .de(de_DisableUserCommand)
1238
+ .sc(DisableUser)
1285
1239
  .build() {
1286
1240
  }
1287
1241
 
@@ -1289,16 +1243,11 @@ class ListGroupMembersCommand extends smithyClient.Command
1289
1243
  .classBuilder()
1290
1244
  .ep(commonParams)
1291
1245
  .m(function (Command, cs, config, o) {
1292
- return [
1293
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1294
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1295
- ];
1246
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1296
1247
  })
1297
1248
  .s("DirectoryServiceData", "ListGroupMembers", {})
1298
1249
  .n("DirectoryServiceDataClient", "ListGroupMembersCommand")
1299
- .f(ListGroupMembersRequestFilterSensitiveLog, ListGroupMembersResultFilterSensitiveLog)
1300
- .ser(se_ListGroupMembersCommand)
1301
- .de(de_ListGroupMembersCommand)
1250
+ .sc(ListGroupMembers)
1302
1251
  .build() {
1303
1252
  }
1304
1253
 
@@ -1306,16 +1255,11 @@ class ListGroupsCommand extends smithyClient.Command
1306
1255
  .classBuilder()
1307
1256
  .ep(commonParams)
1308
1257
  .m(function (Command, cs, config, o) {
1309
- return [
1310
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1311
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1312
- ];
1258
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1313
1259
  })
1314
1260
  .s("DirectoryServiceData", "ListGroups", {})
1315
1261
  .n("DirectoryServiceDataClient", "ListGroupsCommand")
1316
- .f(ListGroupsRequestFilterSensitiveLog, ListGroupsResultFilterSensitiveLog)
1317
- .ser(se_ListGroupsCommand)
1318
- .de(de_ListGroupsCommand)
1262
+ .sc(ListGroups)
1319
1263
  .build() {
1320
1264
  }
1321
1265
 
@@ -1323,16 +1267,11 @@ class ListGroupsForMemberCommand extends smithyClient.Command
1323
1267
  .classBuilder()
1324
1268
  .ep(commonParams)
1325
1269
  .m(function (Command, cs, config, o) {
1326
- return [
1327
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1328
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1329
- ];
1270
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1330
1271
  })
1331
1272
  .s("DirectoryServiceData", "ListGroupsForMember", {})
1332
1273
  .n("DirectoryServiceDataClient", "ListGroupsForMemberCommand")
1333
- .f(ListGroupsForMemberRequestFilterSensitiveLog, ListGroupsForMemberResultFilterSensitiveLog)
1334
- .ser(se_ListGroupsForMemberCommand)
1335
- .de(de_ListGroupsForMemberCommand)
1274
+ .sc(ListGroupsForMember)
1336
1275
  .build() {
1337
1276
  }
1338
1277
 
@@ -1340,16 +1279,11 @@ class ListUsersCommand extends smithyClient.Command
1340
1279
  .classBuilder()
1341
1280
  .ep(commonParams)
1342
1281
  .m(function (Command, cs, config, o) {
1343
- return [
1344
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1345
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1346
- ];
1282
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1347
1283
  })
1348
1284
  .s("DirectoryServiceData", "ListUsers", {})
1349
1285
  .n("DirectoryServiceDataClient", "ListUsersCommand")
1350
- .f(ListUsersRequestFilterSensitiveLog, ListUsersResultFilterSensitiveLog)
1351
- .ser(se_ListUsersCommand)
1352
- .de(de_ListUsersCommand)
1286
+ .sc(ListUsers)
1353
1287
  .build() {
1354
1288
  }
1355
1289
 
@@ -1357,16 +1291,11 @@ class RemoveGroupMemberCommand extends smithyClient.Command
1357
1291
  .classBuilder()
1358
1292
  .ep(commonParams)
1359
1293
  .m(function (Command, cs, config, o) {
1360
- return [
1361
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1362
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1363
- ];
1294
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1364
1295
  })
1365
1296
  .s("DirectoryServiceData", "RemoveGroupMember", {})
1366
1297
  .n("DirectoryServiceDataClient", "RemoveGroupMemberCommand")
1367
- .f(void 0, void 0)
1368
- .ser(se_RemoveGroupMemberCommand)
1369
- .de(de_RemoveGroupMemberCommand)
1298
+ .sc(RemoveGroupMember)
1370
1299
  .build() {
1371
1300
  }
1372
1301
 
@@ -1374,16 +1303,11 @@ class SearchGroupsCommand extends smithyClient.Command
1374
1303
  .classBuilder()
1375
1304
  .ep(commonParams)
1376
1305
  .m(function (Command, cs, config, o) {
1377
- return [
1378
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1379
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1380
- ];
1306
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1381
1307
  })
1382
1308
  .s("DirectoryServiceData", "SearchGroups", {})
1383
1309
  .n("DirectoryServiceDataClient", "SearchGroupsCommand")
1384
- .f(SearchGroupsRequestFilterSensitiveLog, SearchGroupsResultFilterSensitiveLog)
1385
- .ser(se_SearchGroupsCommand)
1386
- .de(de_SearchGroupsCommand)
1310
+ .sc(SearchGroups)
1387
1311
  .build() {
1388
1312
  }
1389
1313
 
@@ -1391,16 +1315,11 @@ class SearchUsersCommand extends smithyClient.Command
1391
1315
  .classBuilder()
1392
1316
  .ep(commonParams)
1393
1317
  .m(function (Command, cs, config, o) {
1394
- return [
1395
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1396
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1397
- ];
1318
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1398
1319
  })
1399
1320
  .s("DirectoryServiceData", "SearchUsers", {})
1400
1321
  .n("DirectoryServiceDataClient", "SearchUsersCommand")
1401
- .f(SearchUsersRequestFilterSensitiveLog, SearchUsersResultFilterSensitiveLog)
1402
- .ser(se_SearchUsersCommand)
1403
- .de(de_SearchUsersCommand)
1322
+ .sc(SearchUsers)
1404
1323
  .build() {
1405
1324
  }
1406
1325
 
@@ -1408,16 +1327,11 @@ class UpdateGroupCommand extends smithyClient.Command
1408
1327
  .classBuilder()
1409
1328
  .ep(commonParams)
1410
1329
  .m(function (Command, cs, config, o) {
1411
- return [
1412
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1413
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1414
- ];
1330
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1415
1331
  })
1416
1332
  .s("DirectoryServiceData", "UpdateGroup", {})
1417
1333
  .n("DirectoryServiceDataClient", "UpdateGroupCommand")
1418
- .f(UpdateGroupRequestFilterSensitiveLog, void 0)
1419
- .ser(se_UpdateGroupCommand)
1420
- .de(de_UpdateGroupCommand)
1334
+ .sc(UpdateGroup)
1421
1335
  .build() {
1422
1336
  }
1423
1337
 
@@ -1425,16 +1339,11 @@ class UpdateUserCommand extends smithyClient.Command
1425
1339
  .classBuilder()
1426
1340
  .ep(commonParams)
1427
1341
  .m(function (Command, cs, config, o) {
1428
- return [
1429
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1430
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1431
- ];
1342
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1432
1343
  })
1433
1344
  .s("DirectoryServiceData", "UpdateUser", {})
1434
1345
  .n("DirectoryServiceDataClient", "UpdateUserCommand")
1435
- .f(UpdateUserRequestFilterSensitiveLog, void 0)
1436
- .ser(se_UpdateUserCommand)
1437
- .de(de_UpdateUserCommand)
1346
+ .sc(UpdateUser)
1438
1347
  .build() {
1439
1348
  }
1440
1349
 
@@ -1481,61 +1390,39 @@ Object.defineProperty(exports, "__Client", {
1481
1390
  enumerable: true,
1482
1391
  get: function () { return smithyClient.Client; }
1483
1392
  });
1484
- exports.AccessDeniedException = AccessDeniedException;
1393
+ exports.AccessDeniedException = AccessDeniedException$1;
1485
1394
  exports.AccessDeniedReason = AccessDeniedReason;
1486
1395
  exports.AddGroupMemberCommand = AddGroupMemberCommand;
1487
- exports.AttributeValueFilterSensitiveLog = AttributeValueFilterSensitiveLog;
1488
- exports.ConflictException = ConflictException;
1396
+ exports.ConflictException = ConflictException$1;
1489
1397
  exports.CreateGroupCommand = CreateGroupCommand;
1490
- exports.CreateGroupRequestFilterSensitiveLog = CreateGroupRequestFilterSensitiveLog;
1491
1398
  exports.CreateUserCommand = CreateUserCommand;
1492
- exports.CreateUserRequestFilterSensitiveLog = CreateUserRequestFilterSensitiveLog;
1493
1399
  exports.DeleteGroupCommand = DeleteGroupCommand;
1494
1400
  exports.DeleteUserCommand = DeleteUserCommand;
1495
1401
  exports.DescribeGroupCommand = DescribeGroupCommand;
1496
- exports.DescribeGroupResultFilterSensitiveLog = DescribeGroupResultFilterSensitiveLog;
1497
1402
  exports.DescribeUserCommand = DescribeUserCommand;
1498
- exports.DescribeUserResultFilterSensitiveLog = DescribeUserResultFilterSensitiveLog;
1499
1403
  exports.DirectoryServiceData = DirectoryServiceData;
1500
1404
  exports.DirectoryServiceDataClient = DirectoryServiceDataClient;
1501
- exports.DirectoryServiceDataServiceException = DirectoryServiceDataServiceException;
1502
- exports.DirectoryUnavailableException = DirectoryUnavailableException;
1405
+ exports.DirectoryServiceDataServiceException = DirectoryServiceDataServiceException$1;
1406
+ exports.DirectoryUnavailableException = DirectoryUnavailableException$1;
1503
1407
  exports.DirectoryUnavailableReason = DirectoryUnavailableReason;
1504
1408
  exports.DisableUserCommand = DisableUserCommand;
1505
- exports.GroupFilterSensitiveLog = GroupFilterSensitiveLog;
1506
1409
  exports.GroupScope = GroupScope;
1507
1410
  exports.GroupType = GroupType;
1508
- exports.InternalServerException = InternalServerException;
1411
+ exports.InternalServerException = InternalServerException$1;
1509
1412
  exports.ListGroupMembersCommand = ListGroupMembersCommand;
1510
- exports.ListGroupMembersRequestFilterSensitiveLog = ListGroupMembersRequestFilterSensitiveLog;
1511
- exports.ListGroupMembersResultFilterSensitiveLog = ListGroupMembersResultFilterSensitiveLog;
1512
1413
  exports.ListGroupsCommand = ListGroupsCommand;
1513
1414
  exports.ListGroupsForMemberCommand = ListGroupsForMemberCommand;
1514
- exports.ListGroupsForMemberRequestFilterSensitiveLog = ListGroupsForMemberRequestFilterSensitiveLog;
1515
- exports.ListGroupsForMemberResultFilterSensitiveLog = ListGroupsForMemberResultFilterSensitiveLog;
1516
- exports.ListGroupsRequestFilterSensitiveLog = ListGroupsRequestFilterSensitiveLog;
1517
- exports.ListGroupsResultFilterSensitiveLog = ListGroupsResultFilterSensitiveLog;
1518
1415
  exports.ListUsersCommand = ListUsersCommand;
1519
- exports.ListUsersRequestFilterSensitiveLog = ListUsersRequestFilterSensitiveLog;
1520
- exports.ListUsersResultFilterSensitiveLog = ListUsersResultFilterSensitiveLog;
1521
1416
  exports.MemberType = MemberType;
1522
1417
  exports.RemoveGroupMemberCommand = RemoveGroupMemberCommand;
1523
- exports.ResourceNotFoundException = ResourceNotFoundException;
1418
+ exports.ResourceNotFoundException = ResourceNotFoundException$1;
1524
1419
  exports.SearchGroupsCommand = SearchGroupsCommand;
1525
- exports.SearchGroupsRequestFilterSensitiveLog = SearchGroupsRequestFilterSensitiveLog;
1526
- exports.SearchGroupsResultFilterSensitiveLog = SearchGroupsResultFilterSensitiveLog;
1527
1420
  exports.SearchUsersCommand = SearchUsersCommand;
1528
- exports.SearchUsersRequestFilterSensitiveLog = SearchUsersRequestFilterSensitiveLog;
1529
- exports.SearchUsersResultFilterSensitiveLog = SearchUsersResultFilterSensitiveLog;
1530
- exports.ThrottlingException = ThrottlingException;
1421
+ exports.ThrottlingException = ThrottlingException$1;
1531
1422
  exports.UpdateGroupCommand = UpdateGroupCommand;
1532
- exports.UpdateGroupRequestFilterSensitiveLog = UpdateGroupRequestFilterSensitiveLog;
1533
1423
  exports.UpdateType = UpdateType;
1534
1424
  exports.UpdateUserCommand = UpdateUserCommand;
1535
- exports.UpdateUserRequestFilterSensitiveLog = UpdateUserRequestFilterSensitiveLog;
1536
- exports.UserFilterSensitiveLog = UserFilterSensitiveLog;
1537
- exports.UserSummaryFilterSensitiveLog = UserSummaryFilterSensitiveLog;
1538
- exports.ValidationException = ValidationException;
1425
+ exports.ValidationException = ValidationException$1;
1539
1426
  exports.ValidationExceptionReason = ValidationExceptionReason;
1540
1427
  exports.paginateListGroupMembers = paginateListGroupMembers;
1541
1428
  exports.paginateListGroups = paginateListGroups;