@aws-sdk/client-identitystore 3.927.0 → 3.928.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 (43) hide show
  1. package/dist-cjs/index.js +835 -1048
  2. package/dist-cjs/runtimeConfig.shared.js +7 -0
  3. package/dist-es/IdentitystoreClient.js +2 -0
  4. package/dist-es/commands/CreateGroupCommand.js +3 -10
  5. package/dist-es/commands/CreateGroupMembershipCommand.js +3 -9
  6. package/dist-es/commands/CreateUserCommand.js +3 -10
  7. package/dist-es/commands/DeleteGroupCommand.js +3 -9
  8. package/dist-es/commands/DeleteGroupMembershipCommand.js +3 -9
  9. package/dist-es/commands/DeleteUserCommand.js +3 -9
  10. package/dist-es/commands/DescribeGroupCommand.js +3 -10
  11. package/dist-es/commands/DescribeGroupMembershipCommand.js +3 -9
  12. package/dist-es/commands/DescribeUserCommand.js +3 -10
  13. package/dist-es/commands/GetGroupIdCommand.js +3 -10
  14. package/dist-es/commands/GetGroupMembershipIdCommand.js +3 -9
  15. package/dist-es/commands/GetUserIdCommand.js +3 -10
  16. package/dist-es/commands/IsMemberInGroupsCommand.js +3 -10
  17. package/dist-es/commands/ListGroupMembershipsCommand.js +3 -9
  18. package/dist-es/commands/ListGroupMembershipsForMemberCommand.js +3 -9
  19. package/dist-es/commands/ListGroupsCommand.js +3 -10
  20. package/dist-es/commands/ListUsersCommand.js +3 -10
  21. package/dist-es/commands/UpdateGroupCommand.js +3 -9
  22. package/dist-es/commands/UpdateUserCommand.js +3 -9
  23. package/dist-es/models/models_0.js +0 -170
  24. package/dist-es/runtimeConfig.shared.js +7 -0
  25. package/dist-es/schemas/schemas_0.js +776 -0
  26. package/dist-types/IdentitystoreClient.d.ts +10 -1
  27. package/dist-types/models/models_0.d.ts +0 -88
  28. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  29. package/dist-types/runtimeConfig.d.ts +1 -0
  30. package/dist-types/runtimeConfig.native.d.ts +1 -0
  31. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  32. package/dist-types/schemas/schemas_0.d.ts +100 -0
  33. package/dist-types/ts3.4/IdentitystoreClient.d.ts +4 -0
  34. package/dist-types/ts3.4/models/models_0.d.ts +0 -48
  35. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  36. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  37. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  38. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  39. package/dist-types/ts3.4/schemas/schemas_0.d.ts +106 -0
  40. package/package.json +5 -5
  41. package/dist-es/protocols/Aws_json1_1.js +0 -707
  42. package/dist-types/protocols/Aws_json1_1.d.ts +0 -173
  43. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +0 -233
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,8 +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
18
 
20
19
  const resolveClientEndpointParameters = (options) => {
21
20
  return Object.assign(options, {
@@ -91,6 +90,7 @@ class IdentitystoreClient extends smithyClient.Client {
91
90
  const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
92
91
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
93
92
  this.config = _config_8;
93
+ this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config));
94
94
  this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
95
95
  this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config));
96
96
  this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config));
@@ -110,17 +110,17 @@ class IdentitystoreClient extends smithyClient.Client {
110
110
  }
111
111
  }
112
112
 
113
- class IdentitystoreServiceException extends smithyClient.ServiceException {
113
+ let IdentitystoreServiceException$1 = class IdentitystoreServiceException extends smithyClient.ServiceException {
114
114
  constructor(options) {
115
115
  super(options);
116
116
  Object.setPrototypeOf(this, IdentitystoreServiceException.prototype);
117
117
  }
118
- }
118
+ };
119
119
 
120
120
  const AccessDeniedExceptionReason = {
121
121
  KMS_ACCESS_DENIED: "KMS_ACCESS_DENIED",
122
122
  };
123
- class AccessDeniedException extends IdentitystoreServiceException {
123
+ let AccessDeniedException$1 = class AccessDeniedException extends IdentitystoreServiceException$1 {
124
124
  name = "AccessDeniedException";
125
125
  $fault = "client";
126
126
  Message;
@@ -137,7 +137,7 @@ class AccessDeniedException extends IdentitystoreServiceException {
137
137
  this.RequestId = opts.RequestId;
138
138
  this.Reason = opts.Reason;
139
139
  }
140
- }
140
+ };
141
141
  exports.AlternateIdentifier = void 0;
142
142
  (function (AlternateIdentifier) {
143
143
  AlternateIdentifier.visit = (value, visitor) => {
@@ -148,7 +148,7 @@ exports.AlternateIdentifier = void 0;
148
148
  return visitor._(value.$unknown[0], value.$unknown[1]);
149
149
  };
150
150
  })(exports.AlternateIdentifier || (exports.AlternateIdentifier = {}));
151
- class InternalServerException extends IdentitystoreServiceException {
151
+ let InternalServerException$1 = class InternalServerException extends IdentitystoreServiceException$1 {
152
152
  name = "InternalServerException";
153
153
  $fault = "server";
154
154
  $retryable = {};
@@ -166,7 +166,7 @@ class InternalServerException extends IdentitystoreServiceException {
166
166
  this.RequestId = opts.RequestId;
167
167
  this.RetryAfterSeconds = opts.RetryAfterSeconds;
168
168
  }
169
- }
169
+ };
170
170
  const ResourceNotFoundExceptionReason = {
171
171
  KMS_KEY_NOT_FOUND: "KMS_KEY_NOT_FOUND",
172
172
  };
@@ -176,7 +176,7 @@ const ResourceType = {
176
176
  IDENTITY_STORE: "IDENTITY_STORE",
177
177
  USER: "USER",
178
178
  };
179
- class ResourceNotFoundException extends IdentitystoreServiceException {
179
+ let ResourceNotFoundException$1 = class ResourceNotFoundException extends IdentitystoreServiceException$1 {
180
180
  name = "ResourceNotFoundException";
181
181
  $fault = "client";
182
182
  ResourceType;
@@ -197,11 +197,11 @@ class ResourceNotFoundException extends IdentitystoreServiceException {
197
197
  this.Message = opts.Message;
198
198
  this.RequestId = opts.RequestId;
199
199
  }
200
- }
200
+ };
201
201
  const ThrottlingExceptionReason = {
202
202
  KMS_THROTTLING: "KMS_THROTTLING",
203
203
  };
204
- class ThrottlingException extends IdentitystoreServiceException {
204
+ let ThrottlingException$1 = class ThrottlingException extends IdentitystoreServiceException$1 {
205
205
  name = "ThrottlingException";
206
206
  $fault = "client";
207
207
  $retryable = {
@@ -223,14 +223,14 @@ class ThrottlingException extends IdentitystoreServiceException {
223
223
  this.RetryAfterSeconds = opts.RetryAfterSeconds;
224
224
  this.Reason = opts.Reason;
225
225
  }
226
- }
226
+ };
227
227
  const ValidationExceptionReason = {
228
228
  KMS_DISABLED: "KMS_DISABLED",
229
229
  KMS_INVALID_ARN: "KMS_INVALID_ARN",
230
230
  KMS_INVALID_KEY_USAGE: "KMS_INVALID_KEY_USAGE",
231
231
  KMS_INVALID_STATE: "KMS_INVALID_STATE",
232
232
  };
233
- class ValidationException extends IdentitystoreServiceException {
233
+ let ValidationException$1 = class ValidationException extends IdentitystoreServiceException$1 {
234
234
  name = "ValidationException";
235
235
  $fault = "client";
236
236
  Message;
@@ -247,7 +247,7 @@ class ValidationException extends IdentitystoreServiceException {
247
247
  this.RequestId = opts.RequestId;
248
248
  this.Reason = opts.Reason;
249
249
  }
250
- }
250
+ };
251
251
  exports.MemberId = void 0;
252
252
  (function (MemberId) {
253
253
  MemberId.visit = (value, visitor) => {
@@ -260,7 +260,7 @@ const ConflictExceptionReason = {
260
260
  CONCURRENT_MODIFICATION: "CONCURRENT_MODIFICATION",
261
261
  UNIQUENESS_CONSTRAINT_VIOLATION: "UNIQUENESS_CONSTRAINT_VIOLATION",
262
262
  };
263
- class ConflictException extends IdentitystoreServiceException {
263
+ let ConflictException$1 = class ConflictException extends IdentitystoreServiceException$1 {
264
264
  name = "ConflictException";
265
265
  $fault = "client";
266
266
  Message;
@@ -277,8 +277,8 @@ class ConflictException extends IdentitystoreServiceException {
277
277
  this.RequestId = opts.RequestId;
278
278
  this.Reason = opts.Reason;
279
279
  }
280
- }
281
- class ServiceQuotaExceededException extends IdentitystoreServiceException {
280
+ };
281
+ let ServiceQuotaExceededException$1 = class ServiceQuotaExceededException extends IdentitystoreServiceException$1 {
282
282
  name = "ServiceQuotaExceededException";
283
283
  $fault = "client";
284
284
  Message;
@@ -293,894 +293,793 @@ class ServiceQuotaExceededException extends IdentitystoreServiceException {
293
293
  this.Message = opts.Message;
294
294
  this.RequestId = opts.RequestId;
295
295
  }
296
- }
296
+ };
297
297
  const UserStatus = {
298
298
  DISABLED: "DISABLED",
299
299
  ENABLED: "ENABLED",
300
300
  };
301
- const AddressFilterSensitiveLog = (obj) => ({
302
- ...obj,
303
- ...(obj.StreetAddress && { StreetAddress: smithyClient.SENSITIVE_STRING }),
304
- ...(obj.Locality && { Locality: smithyClient.SENSITIVE_STRING }),
305
- ...(obj.Region && { Region: smithyClient.SENSITIVE_STRING }),
306
- ...(obj.PostalCode && { PostalCode: smithyClient.SENSITIVE_STRING }),
307
- ...(obj.Country && { Country: smithyClient.SENSITIVE_STRING }),
308
- ...(obj.Formatted && { Formatted: smithyClient.SENSITIVE_STRING }),
309
- ...(obj.Type && { Type: smithyClient.SENSITIVE_STRING }),
310
- ...(obj.Primary && { Primary: smithyClient.SENSITIVE_STRING }),
311
- });
312
- const ExternalIdFilterSensitiveLog = (obj) => ({
313
- ...obj,
314
- ...(obj.Issuer && { Issuer: smithyClient.SENSITIVE_STRING }),
315
- ...(obj.Id && { Id: smithyClient.SENSITIVE_STRING }),
316
- });
317
- const AlternateIdentifierFilterSensitiveLog = (obj) => {
318
- if (obj.ExternalId !== undefined)
319
- return { ExternalId: ExternalIdFilterSensitiveLog(obj.ExternalId) };
320
- if (obj.UniqueAttribute !== undefined)
321
- return { UniqueAttribute: obj.UniqueAttribute };
322
- if (obj.$unknown !== undefined)
323
- return { [obj.$unknown[0]]: "UNKNOWN" };
324
- };
325
- const GetGroupIdRequestFilterSensitiveLog = (obj) => ({
326
- ...obj,
327
- ...(obj.AlternateIdentifier && {
328
- AlternateIdentifier: AlternateIdentifierFilterSensitiveLog(obj.AlternateIdentifier),
329
- }),
330
- });
331
- const GetUserIdRequestFilterSensitiveLog = (obj) => ({
332
- ...obj,
333
- ...(obj.AlternateIdentifier && {
334
- AlternateIdentifier: AlternateIdentifierFilterSensitiveLog(obj.AlternateIdentifier),
335
- }),
336
- });
337
- const CreateGroupRequestFilterSensitiveLog = (obj) => ({
338
- ...obj,
339
- ...(obj.DisplayName && { DisplayName: smithyClient.SENSITIVE_STRING }),
340
- ...(obj.Description && { Description: smithyClient.SENSITIVE_STRING }),
341
- });
342
- const DescribeGroupResponseFilterSensitiveLog = (obj) => ({
343
- ...obj,
344
- ...(obj.DisplayName && { DisplayName: smithyClient.SENSITIVE_STRING }),
345
- ...(obj.ExternalIds && { ExternalIds: obj.ExternalIds.map((item) => ExternalIdFilterSensitiveLog(item)) }),
346
- ...(obj.Description && { Description: smithyClient.SENSITIVE_STRING }),
347
- });
348
- const FilterFilterSensitiveLog = (obj) => ({
349
- ...obj,
350
- ...(obj.AttributeValue && { AttributeValue: smithyClient.SENSITIVE_STRING }),
351
- });
352
- const ListGroupsRequestFilterSensitiveLog = (obj) => ({
353
- ...obj,
354
- ...(obj.Filters && { Filters: obj.Filters.map((item) => FilterFilterSensitiveLog(item)) }),
355
- });
356
- const GroupFilterSensitiveLog = (obj) => ({
357
- ...obj,
358
- ...(obj.DisplayName && { DisplayName: smithyClient.SENSITIVE_STRING }),
359
- ...(obj.ExternalIds && { ExternalIds: obj.ExternalIds.map((item) => ExternalIdFilterSensitiveLog(item)) }),
360
- ...(obj.Description && { Description: smithyClient.SENSITIVE_STRING }),
361
- });
362
- const ListGroupsResponseFilterSensitiveLog = (obj) => ({
363
- ...obj,
364
- ...(obj.Groups && { Groups: obj.Groups.map((item) => GroupFilterSensitiveLog(item)) }),
365
- });
366
- const GroupMembershipExistenceResultFilterSensitiveLog = (obj) => ({
367
- ...obj,
368
- ...(obj.MemberId && { MemberId: obj.MemberId }),
369
- ...(obj.MembershipExists && { MembershipExists: smithyClient.SENSITIVE_STRING }),
370
- });
371
- const IsMemberInGroupsResponseFilterSensitiveLog = (obj) => ({
372
- ...obj,
373
- ...(obj.Results && { Results: obj.Results.map((item) => GroupMembershipExistenceResultFilterSensitiveLog(item)) }),
374
- });
375
- const EmailFilterSensitiveLog = (obj) => ({
376
- ...obj,
377
- ...(obj.Value && { Value: smithyClient.SENSITIVE_STRING }),
378
- ...(obj.Type && { Type: smithyClient.SENSITIVE_STRING }),
379
- ...(obj.Primary && { Primary: smithyClient.SENSITIVE_STRING }),
380
- });
381
- const NameFilterSensitiveLog = (obj) => ({
382
- ...obj,
383
- ...(obj.Formatted && { Formatted: smithyClient.SENSITIVE_STRING }),
384
- ...(obj.FamilyName && { FamilyName: smithyClient.SENSITIVE_STRING }),
385
- ...(obj.GivenName && { GivenName: smithyClient.SENSITIVE_STRING }),
386
- ...(obj.MiddleName && { MiddleName: smithyClient.SENSITIVE_STRING }),
387
- ...(obj.HonorificPrefix && { HonorificPrefix: smithyClient.SENSITIVE_STRING }),
388
- ...(obj.HonorificSuffix && { HonorificSuffix: smithyClient.SENSITIVE_STRING }),
389
- });
390
- const PhoneNumberFilterSensitiveLog = (obj) => ({
391
- ...obj,
392
- ...(obj.Value && { Value: smithyClient.SENSITIVE_STRING }),
393
- ...(obj.Type && { Type: smithyClient.SENSITIVE_STRING }),
394
- ...(obj.Primary && { Primary: smithyClient.SENSITIVE_STRING }),
395
- });
396
- const PhotoFilterSensitiveLog = (obj) => ({
397
- ...obj,
398
- ...(obj.Value && { Value: smithyClient.SENSITIVE_STRING }),
399
- ...(obj.Type && { Type: smithyClient.SENSITIVE_STRING }),
400
- ...(obj.Display && { Display: smithyClient.SENSITIVE_STRING }),
401
- ...(obj.Primary && { Primary: smithyClient.SENSITIVE_STRING }),
402
- });
403
- const CreateUserRequestFilterSensitiveLog = (obj) => ({
404
- ...obj,
405
- ...(obj.UserName && { UserName: smithyClient.SENSITIVE_STRING }),
406
- ...(obj.Name && { Name: NameFilterSensitiveLog(obj.Name) }),
407
- ...(obj.DisplayName && { DisplayName: smithyClient.SENSITIVE_STRING }),
408
- ...(obj.NickName && { NickName: smithyClient.SENSITIVE_STRING }),
409
- ...(obj.ProfileUrl && { ProfileUrl: smithyClient.SENSITIVE_STRING }),
410
- ...(obj.Emails && { Emails: obj.Emails.map((item) => EmailFilterSensitiveLog(item)) }),
411
- ...(obj.Addresses && { Addresses: obj.Addresses.map((item) => AddressFilterSensitiveLog(item)) }),
412
- ...(obj.PhoneNumbers && { PhoneNumbers: obj.PhoneNumbers.map((item) => PhoneNumberFilterSensitiveLog(item)) }),
413
- ...(obj.UserType && { UserType: smithyClient.SENSITIVE_STRING }),
414
- ...(obj.Title && { Title: smithyClient.SENSITIVE_STRING }),
415
- ...(obj.PreferredLanguage && { PreferredLanguage: smithyClient.SENSITIVE_STRING }),
416
- ...(obj.Locale && { Locale: smithyClient.SENSITIVE_STRING }),
417
- ...(obj.Timezone && { Timezone: smithyClient.SENSITIVE_STRING }),
418
- ...(obj.Photos && { Photos: obj.Photos.map((item) => PhotoFilterSensitiveLog(item)) }),
419
- ...(obj.Website && { Website: smithyClient.SENSITIVE_STRING }),
420
- ...(obj.Birthdate && { Birthdate: smithyClient.SENSITIVE_STRING }),
421
- });
422
- const DescribeUserResponseFilterSensitiveLog = (obj) => ({
423
- ...obj,
424
- ...(obj.UserName && { UserName: smithyClient.SENSITIVE_STRING }),
425
- ...(obj.ExternalIds && { ExternalIds: obj.ExternalIds.map((item) => ExternalIdFilterSensitiveLog(item)) }),
426
- ...(obj.Name && { Name: NameFilterSensitiveLog(obj.Name) }),
427
- ...(obj.DisplayName && { DisplayName: smithyClient.SENSITIVE_STRING }),
428
- ...(obj.NickName && { NickName: smithyClient.SENSITIVE_STRING }),
429
- ...(obj.ProfileUrl && { ProfileUrl: smithyClient.SENSITIVE_STRING }),
430
- ...(obj.Emails && { Emails: obj.Emails.map((item) => EmailFilterSensitiveLog(item)) }),
431
- ...(obj.Addresses && { Addresses: obj.Addresses.map((item) => AddressFilterSensitiveLog(item)) }),
432
- ...(obj.PhoneNumbers && { PhoneNumbers: obj.PhoneNumbers.map((item) => PhoneNumberFilterSensitiveLog(item)) }),
433
- ...(obj.UserType && { UserType: smithyClient.SENSITIVE_STRING }),
434
- ...(obj.Title && { Title: smithyClient.SENSITIVE_STRING }),
435
- ...(obj.PreferredLanguage && { PreferredLanguage: smithyClient.SENSITIVE_STRING }),
436
- ...(obj.Locale && { Locale: smithyClient.SENSITIVE_STRING }),
437
- ...(obj.Timezone && { Timezone: smithyClient.SENSITIVE_STRING }),
438
- ...(obj.Photos && { Photos: obj.Photos.map((item) => PhotoFilterSensitiveLog(item)) }),
439
- ...(obj.Website && { Website: smithyClient.SENSITIVE_STRING }),
440
- ...(obj.Birthdate && { Birthdate: smithyClient.SENSITIVE_STRING }),
441
- });
442
- const ListUsersRequestFilterSensitiveLog = (obj) => ({
443
- ...obj,
444
- ...(obj.Filters && { Filters: obj.Filters.map((item) => FilterFilterSensitiveLog(item)) }),
445
- });
446
- const UserFilterSensitiveLog = (obj) => ({
447
- ...obj,
448
- ...(obj.UserName && { UserName: smithyClient.SENSITIVE_STRING }),
449
- ...(obj.ExternalIds && { ExternalIds: obj.ExternalIds.map((item) => ExternalIdFilterSensitiveLog(item)) }),
450
- ...(obj.Name && { Name: NameFilterSensitiveLog(obj.Name) }),
451
- ...(obj.DisplayName && { DisplayName: smithyClient.SENSITIVE_STRING }),
452
- ...(obj.NickName && { NickName: smithyClient.SENSITIVE_STRING }),
453
- ...(obj.ProfileUrl && { ProfileUrl: smithyClient.SENSITIVE_STRING }),
454
- ...(obj.Emails && { Emails: obj.Emails.map((item) => EmailFilterSensitiveLog(item)) }),
455
- ...(obj.Addresses && { Addresses: obj.Addresses.map((item) => AddressFilterSensitiveLog(item)) }),
456
- ...(obj.PhoneNumbers && { PhoneNumbers: obj.PhoneNumbers.map((item) => PhoneNumberFilterSensitiveLog(item)) }),
457
- ...(obj.UserType && { UserType: smithyClient.SENSITIVE_STRING }),
458
- ...(obj.Title && { Title: smithyClient.SENSITIVE_STRING }),
459
- ...(obj.PreferredLanguage && { PreferredLanguage: smithyClient.SENSITIVE_STRING }),
460
- ...(obj.Locale && { Locale: smithyClient.SENSITIVE_STRING }),
461
- ...(obj.Timezone && { Timezone: smithyClient.SENSITIVE_STRING }),
462
- ...(obj.Photos && { Photos: obj.Photos.map((item) => PhotoFilterSensitiveLog(item)) }),
463
- ...(obj.Website && { Website: smithyClient.SENSITIVE_STRING }),
464
- ...(obj.Birthdate && { Birthdate: smithyClient.SENSITIVE_STRING }),
465
- });
466
- const ListUsersResponseFilterSensitiveLog = (obj) => ({
467
- ...obj,
468
- ...(obj.Users && { Users: obj.Users.map((item) => UserFilterSensitiveLog(item)) }),
469
- });
470
301
 
471
- const se_CreateGroupCommand = async (input, context) => {
472
- const headers = sharedHeaders("CreateGroup");
473
- let body;
474
- body = JSON.stringify(smithyClient._json(input));
475
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
476
- };
477
- const se_CreateGroupMembershipCommand = async (input, context) => {
478
- const headers = sharedHeaders("CreateGroupMembership");
479
- let body;
480
- body = JSON.stringify(smithyClient._json(input));
481
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
482
- };
483
- const se_CreateUserCommand = async (input, context) => {
484
- const headers = sharedHeaders("CreateUser");
485
- let body;
486
- body = JSON.stringify(smithyClient._json(input));
487
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
488
- };
489
- const se_DeleteGroupCommand = async (input, context) => {
490
- const headers = sharedHeaders("DeleteGroup");
491
- let body;
492
- body = JSON.stringify(smithyClient._json(input));
493
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
494
- };
495
- const se_DeleteGroupMembershipCommand = async (input, context) => {
496
- const headers = sharedHeaders("DeleteGroupMembership");
497
- let body;
498
- body = JSON.stringify(smithyClient._json(input));
499
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
500
- };
501
- const se_DeleteUserCommand = async (input, context) => {
502
- const headers = sharedHeaders("DeleteUser");
503
- let body;
504
- body = JSON.stringify(smithyClient._json(input));
505
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
506
- };
507
- const se_DescribeGroupCommand = async (input, context) => {
508
- const headers = sharedHeaders("DescribeGroup");
509
- let body;
510
- body = JSON.stringify(smithyClient._json(input));
511
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
512
- };
513
- const se_DescribeGroupMembershipCommand = async (input, context) => {
514
- const headers = sharedHeaders("DescribeGroupMembership");
515
- let body;
516
- body = JSON.stringify(smithyClient._json(input));
517
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
518
- };
519
- const se_DescribeUserCommand = async (input, context) => {
520
- const headers = sharedHeaders("DescribeUser");
521
- let body;
522
- body = JSON.stringify(smithyClient._json(input));
523
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
524
- };
525
- const se_GetGroupIdCommand = async (input, context) => {
526
- const headers = sharedHeaders("GetGroupId");
527
- let body;
528
- body = JSON.stringify(se_GetGroupIdRequest(input));
529
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
530
- };
531
- const se_GetGroupMembershipIdCommand = async (input, context) => {
532
- const headers = sharedHeaders("GetGroupMembershipId");
533
- let body;
534
- body = JSON.stringify(smithyClient._json(input));
535
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
536
- };
537
- const se_GetUserIdCommand = async (input, context) => {
538
- const headers = sharedHeaders("GetUserId");
539
- let body;
540
- body = JSON.stringify(se_GetUserIdRequest(input));
541
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
542
- };
543
- const se_IsMemberInGroupsCommand = async (input, context) => {
544
- const headers = sharedHeaders("IsMemberInGroups");
545
- let body;
546
- body = JSON.stringify(smithyClient._json(input));
547
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
548
- };
549
- const se_ListGroupMembershipsCommand = async (input, context) => {
550
- const headers = sharedHeaders("ListGroupMemberships");
551
- let body;
552
- body = JSON.stringify(smithyClient._json(input));
553
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
554
- };
555
- const se_ListGroupMembershipsForMemberCommand = async (input, context) => {
556
- const headers = sharedHeaders("ListGroupMembershipsForMember");
557
- let body;
558
- body = JSON.stringify(smithyClient._json(input));
559
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
560
- };
561
- const se_ListGroupsCommand = async (input, context) => {
562
- const headers = sharedHeaders("ListGroups");
563
- let body;
564
- body = JSON.stringify(smithyClient._json(input));
565
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
566
- };
567
- const se_ListUsersCommand = async (input, context) => {
568
- const headers = sharedHeaders("ListUsers");
569
- let body;
570
- body = JSON.stringify(smithyClient._json(input));
571
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
572
- };
573
- const se_UpdateGroupCommand = async (input, context) => {
574
- const headers = sharedHeaders("UpdateGroup");
575
- let body;
576
- body = JSON.stringify(se_UpdateGroupRequest(input));
577
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
578
- };
579
- const se_UpdateUserCommand = async (input, context) => {
580
- const headers = sharedHeaders("UpdateUser");
581
- let body;
582
- body = JSON.stringify(se_UpdateUserRequest(input));
583
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
584
- };
585
- const de_CreateGroupCommand = async (output, context) => {
586
- if (output.statusCode >= 300) {
587
- return de_CommandError(output, context);
588
- }
589
- const data = await core$1.parseJsonBody(output.body, context);
590
- let contents = {};
591
- contents = smithyClient._json(data);
592
- const response = {
593
- $metadata: deserializeMetadata(output),
594
- ...contents,
595
- };
596
- return response;
597
- };
598
- const de_CreateGroupMembershipCommand = async (output, context) => {
599
- if (output.statusCode >= 300) {
600
- return de_CommandError(output, context);
601
- }
602
- const data = await core$1.parseJsonBody(output.body, context);
603
- let contents = {};
604
- contents = smithyClient._json(data);
605
- const response = {
606
- $metadata: deserializeMetadata(output),
607
- ...contents,
608
- };
609
- return response;
610
- };
611
- const de_CreateUserCommand = async (output, context) => {
612
- if (output.statusCode >= 300) {
613
- return de_CommandError(output, context);
614
- }
615
- const data = await core$1.parseJsonBody(output.body, context);
616
- let contents = {};
617
- contents = smithyClient._json(data);
618
- const response = {
619
- $metadata: deserializeMetadata(output),
620
- ...contents,
621
- };
622
- return response;
623
- };
624
- const de_DeleteGroupCommand = async (output, context) => {
625
- if (output.statusCode >= 300) {
626
- return de_CommandError(output, context);
627
- }
628
- const data = await core$1.parseJsonBody(output.body, context);
629
- let contents = {};
630
- contents = smithyClient._json(data);
631
- const response = {
632
- $metadata: deserializeMetadata(output),
633
- ...contents,
634
- };
635
- return response;
636
- };
637
- const de_DeleteGroupMembershipCommand = async (output, context) => {
638
- if (output.statusCode >= 300) {
639
- return de_CommandError(output, context);
640
- }
641
- const data = await core$1.parseJsonBody(output.body, context);
642
- let contents = {};
643
- contents = smithyClient._json(data);
644
- const response = {
645
- $metadata: deserializeMetadata(output),
646
- ...contents,
647
- };
648
- return response;
649
- };
650
- const de_DeleteUserCommand = async (output, context) => {
651
- if (output.statusCode >= 300) {
652
- return de_CommandError(output, context);
653
- }
654
- const data = await core$1.parseJsonBody(output.body, context);
655
- let contents = {};
656
- contents = smithyClient._json(data);
657
- const response = {
658
- $metadata: deserializeMetadata(output),
659
- ...contents,
660
- };
661
- return response;
662
- };
663
- const de_DescribeGroupCommand = async (output, context) => {
664
- if (output.statusCode >= 300) {
665
- return de_CommandError(output, context);
666
- }
667
- const data = await core$1.parseJsonBody(output.body, context);
668
- let contents = {};
669
- contents = de_DescribeGroupResponse(data);
670
- const response = {
671
- $metadata: deserializeMetadata(output),
672
- ...contents,
673
- };
674
- return response;
675
- };
676
- const de_DescribeGroupMembershipCommand = async (output, context) => {
677
- if (output.statusCode >= 300) {
678
- return de_CommandError(output, context);
679
- }
680
- const data = await core$1.parseJsonBody(output.body, context);
681
- let contents = {};
682
- contents = de_DescribeGroupMembershipResponse(data);
683
- const response = {
684
- $metadata: deserializeMetadata(output),
685
- ...contents,
686
- };
687
- return response;
688
- };
689
- const de_DescribeUserCommand = async (output, context) => {
690
- if (output.statusCode >= 300) {
691
- return de_CommandError(output, context);
692
- }
693
- const data = await core$1.parseJsonBody(output.body, context);
694
- let contents = {};
695
- contents = de_DescribeUserResponse(data);
696
- const response = {
697
- $metadata: deserializeMetadata(output),
698
- ...contents,
699
- };
700
- return response;
701
- };
702
- const de_GetGroupIdCommand = async (output, context) => {
703
- if (output.statusCode >= 300) {
704
- return de_CommandError(output, context);
705
- }
706
- const data = await core$1.parseJsonBody(output.body, context);
707
- let contents = {};
708
- contents = smithyClient._json(data);
709
- const response = {
710
- $metadata: deserializeMetadata(output),
711
- ...contents,
712
- };
713
- return response;
714
- };
715
- const de_GetGroupMembershipIdCommand = async (output, context) => {
716
- if (output.statusCode >= 300) {
717
- return de_CommandError(output, context);
718
- }
719
- const data = await core$1.parseJsonBody(output.body, context);
720
- let contents = {};
721
- contents = smithyClient._json(data);
722
- const response = {
723
- $metadata: deserializeMetadata(output),
724
- ...contents,
725
- };
726
- return response;
727
- };
728
- const de_GetUserIdCommand = async (output, context) => {
729
- if (output.statusCode >= 300) {
730
- return de_CommandError(output, context);
731
- }
732
- const data = await core$1.parseJsonBody(output.body, context);
733
- let contents = {};
734
- contents = smithyClient._json(data);
735
- const response = {
736
- $metadata: deserializeMetadata(output),
737
- ...contents,
738
- };
739
- return response;
740
- };
741
- const de_IsMemberInGroupsCommand = async (output, context) => {
742
- if (output.statusCode >= 300) {
743
- return de_CommandError(output, context);
744
- }
745
- const data = await core$1.parseJsonBody(output.body, context);
746
- let contents = {};
747
- contents = smithyClient._json(data);
748
- const response = {
749
- $metadata: deserializeMetadata(output),
750
- ...contents,
751
- };
752
- return response;
753
- };
754
- const de_ListGroupMembershipsCommand = async (output, context) => {
755
- if (output.statusCode >= 300) {
756
- return de_CommandError(output, context);
757
- }
758
- const data = await core$1.parseJsonBody(output.body, context);
759
- let contents = {};
760
- contents = de_ListGroupMembershipsResponse(data);
761
- const response = {
762
- $metadata: deserializeMetadata(output),
763
- ...contents,
764
- };
765
- return response;
766
- };
767
- const de_ListGroupMembershipsForMemberCommand = async (output, context) => {
768
- if (output.statusCode >= 300) {
769
- return de_CommandError(output, context);
770
- }
771
- const data = await core$1.parseJsonBody(output.body, context);
772
- let contents = {};
773
- contents = de_ListGroupMembershipsForMemberResponse(data);
774
- const response = {
775
- $metadata: deserializeMetadata(output),
776
- ...contents,
777
- };
778
- return response;
779
- };
780
- const de_ListGroupsCommand = async (output, context) => {
781
- if (output.statusCode >= 300) {
782
- return de_CommandError(output, context);
783
- }
784
- const data = await core$1.parseJsonBody(output.body, context);
785
- let contents = {};
786
- contents = de_ListGroupsResponse(data);
787
- const response = {
788
- $metadata: deserializeMetadata(output),
789
- ...contents,
790
- };
791
- return response;
792
- };
793
- const de_ListUsersCommand = async (output, context) => {
794
- if (output.statusCode >= 300) {
795
- return de_CommandError(output, context);
796
- }
797
- const data = await core$1.parseJsonBody(output.body, context);
798
- let contents = {};
799
- contents = de_ListUsersResponse(data);
800
- const response = {
801
- $metadata: deserializeMetadata(output),
802
- ...contents,
803
- };
804
- return response;
805
- };
806
- const de_UpdateGroupCommand = async (output, context) => {
807
- if (output.statusCode >= 300) {
808
- return de_CommandError(output, context);
809
- }
810
- const data = await core$1.parseJsonBody(output.body, context);
811
- let contents = {};
812
- contents = smithyClient._json(data);
813
- const response = {
814
- $metadata: deserializeMetadata(output),
815
- ...contents,
816
- };
817
- return response;
818
- };
819
- const de_UpdateUserCommand = async (output, context) => {
820
- if (output.statusCode >= 300) {
821
- return de_CommandError(output, context);
822
- }
823
- const data = await core$1.parseJsonBody(output.body, context);
824
- let contents = {};
825
- contents = smithyClient._json(data);
826
- const response = {
827
- $metadata: deserializeMetadata(output),
828
- ...contents,
829
- };
830
- return response;
831
- };
832
- const de_CommandError = async (output, context) => {
833
- const parsedOutput = {
834
- ...output,
835
- body: await core$1.parseJsonErrorBody(output.body, context),
836
- };
837
- const errorCode = core$1.loadRestJsonErrorCode(output, parsedOutput.body);
838
- switch (errorCode) {
839
- case "AccessDeniedException":
840
- case "com.amazonaws.identitystore#AccessDeniedException":
841
- throw await de_AccessDeniedExceptionRes(parsedOutput);
842
- case "ConflictException":
843
- case "com.amazonaws.identitystore#ConflictException":
844
- throw await de_ConflictExceptionRes(parsedOutput);
845
- case "InternalServerException":
846
- case "com.amazonaws.identitystore#InternalServerException":
847
- throw await de_InternalServerExceptionRes(parsedOutput);
848
- case "ResourceNotFoundException":
849
- case "com.amazonaws.identitystore#ResourceNotFoundException":
850
- throw await de_ResourceNotFoundExceptionRes(parsedOutput);
851
- case "ServiceQuotaExceededException":
852
- case "com.amazonaws.identitystore#ServiceQuotaExceededException":
853
- throw await de_ServiceQuotaExceededExceptionRes(parsedOutput);
854
- case "ThrottlingException":
855
- case "com.amazonaws.identitystore#ThrottlingException":
856
- throw await de_ThrottlingExceptionRes(parsedOutput);
857
- case "ValidationException":
858
- case "com.amazonaws.identitystore#ValidationException":
859
- throw await de_ValidationExceptionRes(parsedOutput);
860
- default:
861
- const parsedBody = parsedOutput.body;
862
- return throwDefaultError({
863
- output,
864
- parsedBody,
865
- errorCode,
866
- });
867
- }
868
- };
869
- const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
870
- const body = parsedOutput.body;
871
- const deserialized = smithyClient._json(body);
872
- const exception = new AccessDeniedException({
873
- $metadata: deserializeMetadata(parsedOutput),
874
- ...deserialized,
875
- });
876
- return smithyClient.decorateServiceException(exception, body);
877
- };
878
- const de_ConflictExceptionRes = async (parsedOutput, context) => {
879
- const body = parsedOutput.body;
880
- const deserialized = smithyClient._json(body);
881
- const exception = new ConflictException({
882
- $metadata: deserializeMetadata(parsedOutput),
883
- ...deserialized,
884
- });
885
- return smithyClient.decorateServiceException(exception, body);
886
- };
887
- const de_InternalServerExceptionRes = async (parsedOutput, context) => {
888
- const body = parsedOutput.body;
889
- const deserialized = smithyClient._json(body);
890
- const exception = new InternalServerException({
891
- $metadata: deserializeMetadata(parsedOutput),
892
- ...deserialized,
893
- });
894
- return smithyClient.decorateServiceException(exception, body);
895
- };
896
- const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
897
- const body = parsedOutput.body;
898
- const deserialized = smithyClient._json(body);
899
- const exception = new ResourceNotFoundException({
900
- $metadata: deserializeMetadata(parsedOutput),
901
- ...deserialized,
902
- });
903
- return smithyClient.decorateServiceException(exception, body);
904
- };
905
- const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
906
- const body = parsedOutput.body;
907
- const deserialized = smithyClient._json(body);
908
- const exception = new ServiceQuotaExceededException({
909
- $metadata: deserializeMetadata(parsedOutput),
910
- ...deserialized,
911
- });
912
- return smithyClient.decorateServiceException(exception, body);
913
- };
914
- const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
915
- const body = parsedOutput.body;
916
- const deserialized = smithyClient._json(body);
917
- const exception = new ThrottlingException({
918
- $metadata: deserializeMetadata(parsedOutput),
919
- ...deserialized,
920
- });
921
- return smithyClient.decorateServiceException(exception, body);
922
- };
923
- const de_ValidationExceptionRes = async (parsedOutput, context) => {
924
- const body = parsedOutput.body;
925
- const deserialized = smithyClient._json(body);
926
- const exception = new ValidationException({
927
- $metadata: deserializeMetadata(parsedOutput),
928
- ...deserialized,
929
- });
930
- return smithyClient.decorateServiceException(exception, body);
931
- };
932
- const se_AlternateIdentifier = (input, context) => {
933
- return exports.AlternateIdentifier.visit(input, {
934
- ExternalId: (value) => ({ ExternalId: smithyClient._json(value) }),
935
- UniqueAttribute: (value) => ({ UniqueAttribute: se_UniqueAttribute(value) }),
936
- _: (name, value) => ({ [name]: value }),
937
- });
938
- };
939
- const se_AttributeOperation = (input, context) => {
940
- return smithyClient.take(input, {
941
- AttributePath: [],
942
- AttributeValue: (_) => se_AttributeValue(_),
943
- });
944
- };
945
- const se_AttributeOperations = (input, context) => {
946
- return input
947
- .filter((e) => e != null)
948
- .map((entry) => {
949
- return se_AttributeOperation(entry);
950
- });
951
- };
952
- const se_AttributeValue = (input, context) => {
953
- return input;
954
- };
955
- const se_GetGroupIdRequest = (input, context) => {
956
- return smithyClient.take(input, {
957
- AlternateIdentifier: (_) => se_AlternateIdentifier(_),
958
- IdentityStoreId: [],
959
- });
960
- };
961
- const se_GetUserIdRequest = (input, context) => {
962
- return smithyClient.take(input, {
963
- AlternateIdentifier: (_) => se_AlternateIdentifier(_),
964
- IdentityStoreId: [],
965
- });
966
- };
967
- const se_UniqueAttribute = (input, context) => {
968
- return smithyClient.take(input, {
969
- AttributePath: [],
970
- AttributeValue: (_) => se_AttributeValue(_),
971
- });
972
- };
973
- const se_UpdateGroupRequest = (input, context) => {
974
- return smithyClient.take(input, {
975
- GroupId: [],
976
- IdentityStoreId: [],
977
- Operations: (_) => se_AttributeOperations(_),
978
- });
979
- };
980
- const se_UpdateUserRequest = (input, context) => {
981
- return smithyClient.take(input, {
982
- IdentityStoreId: [],
983
- Operations: (_) => se_AttributeOperations(_),
984
- UserId: [],
985
- });
986
- };
987
- const de_DescribeGroupMembershipResponse = (output, context) => {
988
- return smithyClient.take(output, {
989
- CreatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
990
- CreatedBy: smithyClient.expectString,
991
- GroupId: smithyClient.expectString,
992
- IdentityStoreId: smithyClient.expectString,
993
- MemberId: (_) => smithyClient._json(core$1.awsExpectUnion(_)),
994
- MembershipId: smithyClient.expectString,
995
- UpdatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
996
- UpdatedBy: smithyClient.expectString,
997
- });
998
- };
999
- const de_DescribeGroupResponse = (output, context) => {
1000
- return smithyClient.take(output, {
1001
- CreatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1002
- CreatedBy: smithyClient.expectString,
1003
- Description: smithyClient.expectString,
1004
- DisplayName: smithyClient.expectString,
1005
- ExternalIds: smithyClient._json,
1006
- GroupId: smithyClient.expectString,
1007
- IdentityStoreId: smithyClient.expectString,
1008
- UpdatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1009
- UpdatedBy: smithyClient.expectString,
1010
- });
1011
- };
1012
- const de_DescribeUserResponse = (output, context) => {
1013
- return smithyClient.take(output, {
1014
- Addresses: smithyClient._json,
1015
- Birthdate: smithyClient.expectString,
1016
- CreatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1017
- CreatedBy: smithyClient.expectString,
1018
- DisplayName: smithyClient.expectString,
1019
- Emails: smithyClient._json,
1020
- ExternalIds: smithyClient._json,
1021
- IdentityStoreId: smithyClient.expectString,
1022
- Locale: smithyClient.expectString,
1023
- Name: smithyClient._json,
1024
- NickName: smithyClient.expectString,
1025
- PhoneNumbers: smithyClient._json,
1026
- Photos: smithyClient._json,
1027
- PreferredLanguage: smithyClient.expectString,
1028
- ProfileUrl: smithyClient.expectString,
1029
- Timezone: smithyClient.expectString,
1030
- Title: smithyClient.expectString,
1031
- UpdatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1032
- UpdatedBy: smithyClient.expectString,
1033
- UserId: smithyClient.expectString,
1034
- UserName: smithyClient.expectString,
1035
- UserStatus: smithyClient.expectString,
1036
- UserType: smithyClient.expectString,
1037
- Website: smithyClient.expectString,
1038
- });
1039
- };
1040
- const de_Group = (output, context) => {
1041
- return smithyClient.take(output, {
1042
- CreatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1043
- CreatedBy: smithyClient.expectString,
1044
- Description: smithyClient.expectString,
1045
- DisplayName: smithyClient.expectString,
1046
- ExternalIds: smithyClient._json,
1047
- GroupId: smithyClient.expectString,
1048
- IdentityStoreId: smithyClient.expectString,
1049
- UpdatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1050
- UpdatedBy: smithyClient.expectString,
1051
- });
1052
- };
1053
- const de_GroupMembership = (output, context) => {
1054
- return smithyClient.take(output, {
1055
- CreatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1056
- CreatedBy: smithyClient.expectString,
1057
- GroupId: smithyClient.expectString,
1058
- IdentityStoreId: smithyClient.expectString,
1059
- MemberId: (_) => smithyClient._json(core$1.awsExpectUnion(_)),
1060
- MembershipId: smithyClient.expectString,
1061
- UpdatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1062
- UpdatedBy: smithyClient.expectString,
1063
- });
1064
- };
1065
- const de_GroupMemberships = (output, context) => {
1066
- const retVal = (output || [])
1067
- .filter((e) => e != null)
1068
- .map((entry) => {
1069
- return de_GroupMembership(entry);
1070
- });
1071
- return retVal;
1072
- };
1073
- const de_Groups = (output, context) => {
1074
- const retVal = (output || [])
1075
- .filter((e) => e != null)
1076
- .map((entry) => {
1077
- return de_Group(entry);
1078
- });
1079
- return retVal;
1080
- };
1081
- const de_ListGroupMembershipsForMemberResponse = (output, context) => {
1082
- return smithyClient.take(output, {
1083
- GroupMemberships: (_) => de_GroupMemberships(_),
1084
- NextToken: smithyClient.expectString,
1085
- });
1086
- };
1087
- const de_ListGroupMembershipsResponse = (output, context) => {
1088
- return smithyClient.take(output, {
1089
- GroupMemberships: (_) => de_GroupMemberships(_),
1090
- NextToken: smithyClient.expectString,
1091
- });
1092
- };
1093
- const de_ListGroupsResponse = (output, context) => {
1094
- return smithyClient.take(output, {
1095
- Groups: (_) => de_Groups(_),
1096
- NextToken: smithyClient.expectString,
1097
- });
1098
- };
1099
- const de_ListUsersResponse = (output, context) => {
1100
- return smithyClient.take(output, {
1101
- NextToken: smithyClient.expectString,
1102
- Users: (_) => de_Users(_),
1103
- });
1104
- };
1105
- const de_User = (output, context) => {
1106
- return smithyClient.take(output, {
1107
- Addresses: smithyClient._json,
1108
- Birthdate: smithyClient.expectString,
1109
- CreatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1110
- CreatedBy: smithyClient.expectString,
1111
- DisplayName: smithyClient.expectString,
1112
- Emails: smithyClient._json,
1113
- ExternalIds: smithyClient._json,
1114
- IdentityStoreId: smithyClient.expectString,
1115
- Locale: smithyClient.expectString,
1116
- Name: smithyClient._json,
1117
- NickName: smithyClient.expectString,
1118
- PhoneNumbers: smithyClient._json,
1119
- Photos: smithyClient._json,
1120
- PreferredLanguage: smithyClient.expectString,
1121
- ProfileUrl: smithyClient.expectString,
1122
- Timezone: smithyClient.expectString,
1123
- Title: smithyClient.expectString,
1124
- UpdatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1125
- UpdatedBy: smithyClient.expectString,
1126
- UserId: smithyClient.expectString,
1127
- UserName: smithyClient.expectString,
1128
- UserStatus: smithyClient.expectString,
1129
- UserType: smithyClient.expectString,
1130
- Website: smithyClient.expectString,
1131
- });
1132
- };
1133
- const de_Users = (output, context) => {
1134
- const retVal = (output || [])
1135
- .filter((e) => e != null)
1136
- .map((entry) => {
1137
- return de_User(entry);
1138
- });
1139
- return retVal;
1140
- };
1141
- const deserializeMetadata = (output) => ({
1142
- httpStatusCode: output.statusCode,
1143
- requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
1144
- extendedRequestId: output.headers["x-amz-id-2"],
1145
- cfId: output.headers["x-amz-cf-id"],
1146
- });
1147
- const throwDefaultError = smithyClient.withBaseException(IdentitystoreServiceException);
1148
- const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body) => {
1149
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
1150
- const contents = {
1151
- protocol,
1152
- hostname,
1153
- port,
1154
- method: "POST",
1155
- path: basePath.endsWith("/") ? basePath.slice(0, -1) + path : basePath + path,
1156
- headers,
1157
- };
1158
- if (body !== undefined) {
1159
- contents.body = body;
1160
- }
1161
- return new protocolHttp.HttpRequest(contents);
1162
- };
1163
- function sharedHeaders(operation) {
1164
- return {
1165
- "content-type": "application/x-amz-json-1.1",
1166
- "x-amz-target": `AWSIdentityStore.${operation}`,
1167
- };
1168
- }
302
+ const _A = "Address";
303
+ const _ADE = "AccessDeniedException";
304
+ const _AI = "AlternateIdentifier";
305
+ const _AO = "AttributeOperation";
306
+ const _AOt = "AttributeOperations";
307
+ const _AP = "AttributePath";
308
+ const _AV = "AttributeValue";
309
+ const _Ad = "Addresses";
310
+ const _B = "Birthdate";
311
+ const _C = "Country";
312
+ const _CA = "CreatedAt";
313
+ const _CB = "CreatedBy";
314
+ const _CE = "ConflictException";
315
+ const _CG = "CreateGroup";
316
+ const _CGM = "CreateGroupMembership";
317
+ const _CGMR = "CreateGroupMembershipRequest";
318
+ const _CGMRr = "CreateGroupMembershipResponse";
319
+ const _CGR = "CreateGroupRequest";
320
+ const _CGRr = "CreateGroupResponse";
321
+ const _CU = "CreateUser";
322
+ const _CUR = "CreateUserRequest";
323
+ const _CURr = "CreateUserResponse";
324
+ const _D = "Description";
325
+ const _DG = "DeleteGroup";
326
+ const _DGM = "DeleteGroupMembership";
327
+ const _DGMR = "DeleteGroupMembershipRequest";
328
+ const _DGMRe = "DeleteGroupMembershipResponse";
329
+ const _DGMRes = "DescribeGroupMembershipRequest";
330
+ const _DGMResc = "DescribeGroupMembershipResponse";
331
+ const _DGMe = "DescribeGroupMembership";
332
+ const _DGR = "DeleteGroupRequest";
333
+ const _DGRe = "DeleteGroupResponse";
334
+ const _DGRes = "DescribeGroupRequest";
335
+ const _DGResc = "DescribeGroupResponse";
336
+ const _DGe = "DescribeGroup";
337
+ const _DN = "DisplayName";
338
+ const _DU = "DeleteUser";
339
+ const _DUR = "DeleteUserRequest";
340
+ const _DURe = "DeleteUserResponse";
341
+ const _DURes = "DescribeUserRequest";
342
+ const _DUResc = "DescribeUserResponse";
343
+ const _DUe = "DescribeUser";
344
+ const _Di = "Display";
345
+ const _E = "Emails";
346
+ const _EI = "ExternalIds";
347
+ const _EII = "ExternalIdIdentifier";
348
+ const _EIIx = "ExternalIdIssuer";
349
+ const _EIx = "ExternalId";
350
+ const _Em = "Email";
351
+ const _F = "Formatted";
352
+ const _FN = "FamilyName";
353
+ const _Fi = "Filter";
354
+ const _Fil = "Filters";
355
+ const _G = "Group";
356
+ const _GDN = "GroupDisplayName";
357
+ const _GGI = "GetGroupId";
358
+ const _GGIR = "GetGroupIdRequest";
359
+ const _GGIRe = "GetGroupIdResponse";
360
+ const _GGMI = "GetGroupMembershipId";
361
+ const _GGMIR = "GetGroupMembershipIdRequest";
362
+ const _GGMIRe = "GetGroupMembershipIdResponse";
363
+ const _GI = "GroupId";
364
+ const _GIr = "GroupIds";
365
+ const _GM = "GroupMembership";
366
+ const _GMER = "GroupMembershipExistenceResult";
367
+ const _GMERr = "GroupMembershipExistenceResults";
368
+ const _GMr = "GroupMemberships";
369
+ const _GN = "GivenName";
370
+ const _GUI = "GetUserId";
371
+ const _GUIR = "GetUserIdRequest";
372
+ const _GUIRe = "GetUserIdResponse";
373
+ const _Gr = "Groups";
374
+ const _HP = "HonorificPrefix";
375
+ const _HS = "HonorificSuffix";
376
+ const _I = "Issuer";
377
+ const _IMIG = "IsMemberInGroups";
378
+ const _IMIGR = "IsMemberInGroupsRequest";
379
+ const _IMIGRs = "IsMemberInGroupsResponse";
380
+ const _ISE = "InternalServerException";
381
+ const _ISI = "IdentityStoreId";
382
+ const _Id = "Id";
383
+ const _L = "Locality";
384
+ const _LG = "ListGroups";
385
+ const _LGM = "ListGroupMemberships";
386
+ const _LGMFM = "ListGroupMembershipsForMember";
387
+ const _LGMFMR = "ListGroupMembershipsForMemberRequest";
388
+ const _LGMFMRi = "ListGroupMembershipsForMemberResponse";
389
+ const _LGMR = "ListGroupMembershipsRequest";
390
+ const _LGMRi = "ListGroupMembershipsResponse";
391
+ const _LGR = "ListGroupsRequest";
392
+ const _LGRi = "ListGroupsResponse";
393
+ const _LU = "ListUsers";
394
+ const _LUR = "ListUsersRequest";
395
+ const _LURi = "ListUsersResponse";
396
+ const _Lo = "Locale";
397
+ const _M = "Message";
398
+ const _ME = "MembershipExists";
399
+ const _MI = "MemberId";
400
+ const _MIe = "MembershipId";
401
+ const _MN = "MiddleName";
402
+ const _MR = "MaxResults";
403
+ const _N = "Name";
404
+ const _NN = "NickName";
405
+ const _NT = "NextToken";
406
+ const _O = "Operations";
407
+ const _P = "Primary";
408
+ const _PC = "PostalCode";
409
+ const _PL = "PreferredLanguage";
410
+ const _PN = "PhoneNumbers";
411
+ const _PNh = "PhoneNumber";
412
+ const _PU = "ProfileUrl";
413
+ const _Ph = "Photos";
414
+ const _Pho = "Photo";
415
+ const _R = "Reason";
416
+ const _RA = "Retry-After";
417
+ const _RAS = "RetryAfterSeconds";
418
+ const _RI = "RequestId";
419
+ const _RIe = "ResourceId";
420
+ const _RNFE = "ResourceNotFoundException";
421
+ const _RT = "ResourceType";
422
+ const _Re = "Region";
423
+ const _Res = "Results";
424
+ const _SA = "StreetAddress";
425
+ const _SBT = "SensitiveBooleanType";
426
+ const _SQEE = "ServiceQuotaExceededException";
427
+ const _SST = "SensitiveStringType";
428
+ const _T = "Type";
429
+ const _TE = "ThrottlingException";
430
+ const _Ti = "Title";
431
+ const _Tim = "Timezone";
432
+ const _U = "Users";
433
+ const _UA = "UpdatedAt";
434
+ const _UAn = "UniqueAttribute";
435
+ const _UB = "UpdatedBy";
436
+ const _UG = "UpdateGroup";
437
+ const _UGR = "UpdateGroupRequest";
438
+ const _UGRp = "UpdateGroupResponse";
439
+ const _UI = "UserId";
440
+ const _UN = "UserName";
441
+ const _US = "UserStatus";
442
+ const _UT = "UserType";
443
+ const _UU = "UpdateUser";
444
+ const _UUR = "UpdateUserRequest";
445
+ const _UURp = "UpdateUserResponse";
446
+ const _Us = "User";
447
+ const _V = "Value";
448
+ const _VE = "ValidationException";
449
+ const _W = "Website";
450
+ const _c = "client";
451
+ const _e = "error";
452
+ const _hE = "httpError";
453
+ const _hH = "httpHeader";
454
+ const _s = "server";
455
+ const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.identitystore";
456
+ const n0 = "com.amazonaws.identitystore";
457
+ var ExternalIdIdentifier = [0, n0, _EII, 8, 0];
458
+ var ExternalIdIssuer = [0, n0, _EIIx, 8, 0];
459
+ var GroupDisplayName = [0, n0, _GDN, 8, 0];
460
+ var SensitiveBooleanType = [0, n0, _SBT, 8, 2];
461
+ var SensitiveStringType = [0, n0, _SST, 8, 0];
462
+ var UserName = [0, n0, _UN, 8, 0];
463
+ var AccessDeniedException = [
464
+ -3,
465
+ n0,
466
+ _ADE,
467
+ {
468
+ [_e]: _c,
469
+ [_hE]: 403,
470
+ },
471
+ [_M, _RI, _R],
472
+ [0, 0, 0],
473
+ ];
474
+ schema.TypeRegistry.for(n0).registerError(AccessDeniedException, AccessDeniedException$1);
475
+ var Address = [
476
+ 3,
477
+ n0,
478
+ _A,
479
+ 0,
480
+ [_SA, _L, _Re, _PC, _C, _F, _T, _P],
481
+ [
482
+ [() => SensitiveStringType, 0],
483
+ [() => SensitiveStringType, 0],
484
+ [() => SensitiveStringType, 0],
485
+ [() => SensitiveStringType, 0],
486
+ [() => SensitiveStringType, 0],
487
+ [() => SensitiveStringType, 0],
488
+ [() => SensitiveStringType, 0],
489
+ [() => SensitiveBooleanType, 0],
490
+ ],
491
+ ];
492
+ var AttributeOperation = [3, n0, _AO, 0, [_AP, _AV], [0, 15]];
493
+ var ConflictException = [
494
+ -3,
495
+ n0,
496
+ _CE,
497
+ {
498
+ [_e]: _c,
499
+ [_hE]: 409,
500
+ },
501
+ [_M, _RI, _R],
502
+ [0, 0, 0],
503
+ ];
504
+ schema.TypeRegistry.for(n0).registerError(ConflictException, ConflictException$1);
505
+ var CreateGroupMembershipRequest = [
506
+ 3,
507
+ n0,
508
+ _CGMR,
509
+ 0,
510
+ [_ISI, _GI, _MI],
511
+ [0, 0, () => MemberId],
512
+ ];
513
+ var CreateGroupMembershipResponse = [3, n0, _CGMRr, 0, [_MIe, _ISI], [0, 0]];
514
+ var CreateGroupRequest = [
515
+ 3,
516
+ n0,
517
+ _CGR,
518
+ 0,
519
+ [_ISI, _DN, _D],
520
+ [0, [() => GroupDisplayName, 0], [() => SensitiveStringType, 0]],
521
+ ];
522
+ var CreateGroupResponse = [3, n0, _CGRr, 0, [_GI, _ISI], [0, 0]];
523
+ var CreateUserRequest = [
524
+ 3,
525
+ n0,
526
+ _CUR,
527
+ 0,
528
+ [_ISI, _UN, _N, _DN, _NN, _PU, _E, _Ad, _PN, _UT, _Ti, _PL, _Lo, _Tim, _Ph, _W, _B],
529
+ [
530
+ 0,
531
+ [() => UserName, 0],
532
+ [() => Name, 0],
533
+ [() => SensitiveStringType, 0],
534
+ [() => SensitiveStringType, 0],
535
+ [() => SensitiveStringType, 0],
536
+ [() => Emails, 0],
537
+ [() => Addresses, 0],
538
+ [() => PhoneNumbers, 0],
539
+ [() => SensitiveStringType, 0],
540
+ [() => SensitiveStringType, 0],
541
+ [() => SensitiveStringType, 0],
542
+ [() => SensitiveStringType, 0],
543
+ [() => SensitiveStringType, 0],
544
+ [() => Photos, 0],
545
+ [() => SensitiveStringType, 0],
546
+ [() => SensitiveStringType, 0],
547
+ ],
548
+ ];
549
+ var CreateUserResponse = [3, n0, _CURr, 0, [_ISI, _UI], [0, 0]];
550
+ var DeleteGroupMembershipRequest = [3, n0, _DGMR, 0, [_ISI, _MIe], [0, 0]];
551
+ var DeleteGroupMembershipResponse = [3, n0, _DGMRe, 0, [], []];
552
+ var DeleteGroupRequest = [3, n0, _DGR, 0, [_ISI, _GI], [0, 0]];
553
+ var DeleteGroupResponse = [3, n0, _DGRe, 0, [], []];
554
+ var DeleteUserRequest = [3, n0, _DUR, 0, [_ISI, _UI], [0, 0]];
555
+ var DeleteUserResponse = [3, n0, _DURe, 0, [], []];
556
+ var DescribeGroupMembershipRequest = [3, n0, _DGMRes, 0, [_ISI, _MIe], [0, 0]];
557
+ var DescribeGroupMembershipResponse = [
558
+ 3,
559
+ n0,
560
+ _DGMResc,
561
+ 0,
562
+ [_ISI, _MIe, _GI, _MI, _CA, _UA, _CB, _UB],
563
+ [0, 0, 0, () => MemberId, 4, 4, 0, 0],
564
+ ];
565
+ var DescribeGroupRequest = [3, n0, _DGRes, 0, [_ISI, _GI], [0, 0]];
566
+ var DescribeGroupResponse = [
567
+ 3,
568
+ n0,
569
+ _DGResc,
570
+ 0,
571
+ [_GI, _DN, _EI, _D, _CA, _UA, _CB, _UB, _ISI],
572
+ [0, [() => GroupDisplayName, 0], [() => ExternalIds, 0], [() => SensitiveStringType, 0], 4, 4, 0, 0, 0],
573
+ ];
574
+ var DescribeUserRequest = [3, n0, _DURes, 0, [_ISI, _UI], [0, 0]];
575
+ var DescribeUserResponse = [
576
+ 3,
577
+ n0,
578
+ _DUResc,
579
+ 0,
580
+ [
581
+ _ISI,
582
+ _UI,
583
+ _UN,
584
+ _EI,
585
+ _N,
586
+ _DN,
587
+ _NN,
588
+ _PU,
589
+ _E,
590
+ _Ad,
591
+ _PN,
592
+ _UT,
593
+ _Ti,
594
+ _PL,
595
+ _Lo,
596
+ _Tim,
597
+ _US,
598
+ _Ph,
599
+ _W,
600
+ _B,
601
+ _CA,
602
+ _CB,
603
+ _UA,
604
+ _UB,
605
+ ],
606
+ [
607
+ 0,
608
+ 0,
609
+ [() => UserName, 0],
610
+ [() => ExternalIds, 0],
611
+ [() => Name, 0],
612
+ [() => SensitiveStringType, 0],
613
+ [() => SensitiveStringType, 0],
614
+ [() => SensitiveStringType, 0],
615
+ [() => Emails, 0],
616
+ [() => Addresses, 0],
617
+ [() => PhoneNumbers, 0],
618
+ [() => SensitiveStringType, 0],
619
+ [() => SensitiveStringType, 0],
620
+ [() => SensitiveStringType, 0],
621
+ [() => SensitiveStringType, 0],
622
+ [() => SensitiveStringType, 0],
623
+ 0,
624
+ [() => Photos, 0],
625
+ [() => SensitiveStringType, 0],
626
+ [() => SensitiveStringType, 0],
627
+ 4,
628
+ 0,
629
+ 4,
630
+ 0,
631
+ ],
632
+ ];
633
+ var Email = [
634
+ 3,
635
+ n0,
636
+ _Em,
637
+ 0,
638
+ [_V, _T, _P],
639
+ [
640
+ [() => SensitiveStringType, 0],
641
+ [() => SensitiveStringType, 0],
642
+ [() => SensitiveBooleanType, 0],
643
+ ],
644
+ ];
645
+ var ExternalId = [
646
+ 3,
647
+ n0,
648
+ _EIx,
649
+ 0,
650
+ [_I, _Id],
651
+ [
652
+ [() => ExternalIdIssuer, 0],
653
+ [() => ExternalIdIdentifier, 0],
654
+ ],
655
+ ];
656
+ var Filter = [3, n0, _Fi, 0, [_AP, _AV], [0, [() => SensitiveStringType, 0]]];
657
+ var GetGroupIdRequest = [
658
+ 3,
659
+ n0,
660
+ _GGIR,
661
+ 0,
662
+ [_ISI, _AI],
663
+ [0, [() => AlternateIdentifier, 0]],
664
+ ];
665
+ var GetGroupIdResponse = [3, n0, _GGIRe, 0, [_GI, _ISI], [0, 0]];
666
+ var GetGroupMembershipIdRequest = [
667
+ 3,
668
+ n0,
669
+ _GGMIR,
670
+ 0,
671
+ [_ISI, _GI, _MI],
672
+ [0, 0, () => MemberId],
673
+ ];
674
+ var GetGroupMembershipIdResponse = [3, n0, _GGMIRe, 0, [_MIe, _ISI], [0, 0]];
675
+ var GetUserIdRequest = [
676
+ 3,
677
+ n0,
678
+ _GUIR,
679
+ 0,
680
+ [_ISI, _AI],
681
+ [0, [() => AlternateIdentifier, 0]],
682
+ ];
683
+ var GetUserIdResponse = [3, n0, _GUIRe, 0, [_ISI, _UI], [0, 0]];
684
+ var Group = [
685
+ 3,
686
+ n0,
687
+ _G,
688
+ 0,
689
+ [_GI, _DN, _EI, _D, _CA, _UA, _CB, _UB, _ISI],
690
+ [0, [() => GroupDisplayName, 0], [() => ExternalIds, 0], [() => SensitiveStringType, 0], 4, 4, 0, 0, 0],
691
+ ];
692
+ var GroupMembership = [
693
+ 3,
694
+ n0,
695
+ _GM,
696
+ 0,
697
+ [_ISI, _MIe, _GI, _MI, _CA, _UA, _CB, _UB],
698
+ [0, 0, 0, () => MemberId, 4, 4, 0, 0],
699
+ ];
700
+ var GroupMembershipExistenceResult = [
701
+ 3,
702
+ n0,
703
+ _GMER,
704
+ 0,
705
+ [_GI, _MI, _ME],
706
+ [0, () => MemberId, [() => SensitiveBooleanType, 0]],
707
+ ];
708
+ var InternalServerException = [
709
+ -3,
710
+ n0,
711
+ _ISE,
712
+ {
713
+ [_e]: _s,
714
+ [_hE]: 500,
715
+ },
716
+ [_M, _RI, _RAS],
717
+ [
718
+ 0,
719
+ 0,
720
+ [
721
+ 1,
722
+ {
723
+ [_hH]: _RA,
724
+ },
725
+ ],
726
+ ],
727
+ ];
728
+ schema.TypeRegistry.for(n0).registerError(InternalServerException, InternalServerException$1);
729
+ var IsMemberInGroupsRequest = [
730
+ 3,
731
+ n0,
732
+ _IMIGR,
733
+ 0,
734
+ [_ISI, _MI, _GIr],
735
+ [0, () => MemberId, 64 | 0],
736
+ ];
737
+ var IsMemberInGroupsResponse = [
738
+ 3,
739
+ n0,
740
+ _IMIGRs,
741
+ 0,
742
+ [_Res],
743
+ [[() => GroupMembershipExistenceResults, 0]],
744
+ ];
745
+ var ListGroupMembershipsForMemberRequest = [
746
+ 3,
747
+ n0,
748
+ _LGMFMR,
749
+ 0,
750
+ [_ISI, _MI, _MR, _NT],
751
+ [0, () => MemberId, 1, 0],
752
+ ];
753
+ var ListGroupMembershipsForMemberResponse = [
754
+ 3,
755
+ n0,
756
+ _LGMFMRi,
757
+ 0,
758
+ [_GMr, _NT],
759
+ [() => GroupMemberships, 0],
760
+ ];
761
+ var ListGroupMembershipsRequest = [3, n0, _LGMR, 0, [_ISI, _GI, _MR, _NT], [0, 0, 1, 0]];
762
+ var ListGroupMembershipsResponse = [
763
+ 3,
764
+ n0,
765
+ _LGMRi,
766
+ 0,
767
+ [_GMr, _NT],
768
+ [() => GroupMemberships, 0],
769
+ ];
770
+ var ListGroupsRequest = [
771
+ 3,
772
+ n0,
773
+ _LGR,
774
+ 0,
775
+ [_ISI, _MR, _NT, _Fil],
776
+ [0, 1, 0, [() => Filters, 0]],
777
+ ];
778
+ var ListGroupsResponse = [3, n0, _LGRi, 0, [_Gr, _NT], [[() => Groups, 0], 0]];
779
+ var ListUsersRequest = [
780
+ 3,
781
+ n0,
782
+ _LUR,
783
+ 0,
784
+ [_ISI, _MR, _NT, _Fil],
785
+ [0, 1, 0, [() => Filters, 0]],
786
+ ];
787
+ var ListUsersResponse = [3, n0, _LURi, 0, [_U, _NT], [[() => Users, 0], 0]];
788
+ var Name = [
789
+ 3,
790
+ n0,
791
+ _N,
792
+ 0,
793
+ [_F, _FN, _GN, _MN, _HP, _HS],
794
+ [
795
+ [() => SensitiveStringType, 0],
796
+ [() => SensitiveStringType, 0],
797
+ [() => SensitiveStringType, 0],
798
+ [() => SensitiveStringType, 0],
799
+ [() => SensitiveStringType, 0],
800
+ [() => SensitiveStringType, 0],
801
+ ],
802
+ ];
803
+ var PhoneNumber = [
804
+ 3,
805
+ n0,
806
+ _PNh,
807
+ 0,
808
+ [_V, _T, _P],
809
+ [
810
+ [() => SensitiveStringType, 0],
811
+ [() => SensitiveStringType, 0],
812
+ [() => SensitiveBooleanType, 0],
813
+ ],
814
+ ];
815
+ var Photo = [
816
+ 3,
817
+ n0,
818
+ _Pho,
819
+ 0,
820
+ [_V, _T, _Di, _P],
821
+ [
822
+ [() => SensitiveStringType, 0],
823
+ [() => SensitiveStringType, 0],
824
+ [() => SensitiveStringType, 0],
825
+ [() => SensitiveBooleanType, 0],
826
+ ],
827
+ ];
828
+ var ResourceNotFoundException = [
829
+ -3,
830
+ n0,
831
+ _RNFE,
832
+ {
833
+ [_e]: _c,
834
+ [_hE]: 404,
835
+ },
836
+ [_RT, _RIe, _R, _M, _RI],
837
+ [0, 0, 0, 0, 0],
838
+ ];
839
+ schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException, ResourceNotFoundException$1);
840
+ var ServiceQuotaExceededException = [
841
+ -3,
842
+ n0,
843
+ _SQEE,
844
+ {
845
+ [_e]: _c,
846
+ [_hE]: 402,
847
+ },
848
+ [_M, _RI],
849
+ [0, 0],
850
+ ];
851
+ schema.TypeRegistry.for(n0).registerError(ServiceQuotaExceededException, ServiceQuotaExceededException$1);
852
+ var ThrottlingException = [
853
+ -3,
854
+ n0,
855
+ _TE,
856
+ {
857
+ [_e]: _c,
858
+ [_hE]: 429,
859
+ },
860
+ [_M, _RI, _RAS, _R],
861
+ [
862
+ 0,
863
+ 0,
864
+ [
865
+ 1,
866
+ {
867
+ [_hH]: _RA,
868
+ },
869
+ ],
870
+ 0,
871
+ ],
872
+ ];
873
+ schema.TypeRegistry.for(n0).registerError(ThrottlingException, ThrottlingException$1);
874
+ var UniqueAttribute = [3, n0, _UAn, 0, [_AP, _AV], [0, 15]];
875
+ var UpdateGroupRequest = [
876
+ 3,
877
+ n0,
878
+ _UGR,
879
+ 0,
880
+ [_ISI, _GI, _O],
881
+ [0, 0, () => AttributeOperations],
882
+ ];
883
+ var UpdateGroupResponse = [3, n0, _UGRp, 0, [], []];
884
+ var UpdateUserRequest = [
885
+ 3,
886
+ n0,
887
+ _UUR,
888
+ 0,
889
+ [_ISI, _UI, _O],
890
+ [0, 0, () => AttributeOperations],
891
+ ];
892
+ var UpdateUserResponse = [3, n0, _UURp, 0, [], []];
893
+ var User = [
894
+ 3,
895
+ n0,
896
+ _Us,
897
+ 0,
898
+ [
899
+ _ISI,
900
+ _UI,
901
+ _UN,
902
+ _EI,
903
+ _N,
904
+ _DN,
905
+ _NN,
906
+ _PU,
907
+ _E,
908
+ _Ad,
909
+ _PN,
910
+ _UT,
911
+ _Ti,
912
+ _PL,
913
+ _Lo,
914
+ _Tim,
915
+ _US,
916
+ _Ph,
917
+ _W,
918
+ _B,
919
+ _CA,
920
+ _CB,
921
+ _UA,
922
+ _UB,
923
+ ],
924
+ [
925
+ 0,
926
+ 0,
927
+ [() => UserName, 0],
928
+ [() => ExternalIds, 0],
929
+ [() => Name, 0],
930
+ [() => SensitiveStringType, 0],
931
+ [() => SensitiveStringType, 0],
932
+ [() => SensitiveStringType, 0],
933
+ [() => Emails, 0],
934
+ [() => Addresses, 0],
935
+ [() => PhoneNumbers, 0],
936
+ [() => SensitiveStringType, 0],
937
+ [() => SensitiveStringType, 0],
938
+ [() => SensitiveStringType, 0],
939
+ [() => SensitiveStringType, 0],
940
+ [() => SensitiveStringType, 0],
941
+ 0,
942
+ [() => Photos, 0],
943
+ [() => SensitiveStringType, 0],
944
+ [() => SensitiveStringType, 0],
945
+ 4,
946
+ 0,
947
+ 4,
948
+ 0,
949
+ ],
950
+ ];
951
+ var ValidationException = [
952
+ -3,
953
+ n0,
954
+ _VE,
955
+ {
956
+ [_e]: _c,
957
+ [_hE]: 400,
958
+ },
959
+ [_M, _RI, _R],
960
+ [0, 0, 0],
961
+ ];
962
+ schema.TypeRegistry.for(n0).registerError(ValidationException, ValidationException$1);
963
+ var IdentitystoreServiceException = [-3, _sm, "IdentitystoreServiceException", 0, [], []];
964
+ schema.TypeRegistry.for(_sm).registerError(IdentitystoreServiceException, IdentitystoreServiceException$1);
965
+ var Addresses = [1, n0, _Ad, 0, [() => Address, 0]];
966
+ var AttributeOperations = [1, n0, _AOt, 0, () => AttributeOperation];
967
+ var Emails = [1, n0, _E, 0, [() => Email, 0]];
968
+ var ExternalIds = [1, n0, _EI, 0, [() => ExternalId, 0]];
969
+ var Filters = [1, n0, _Fil, 0, [() => Filter, 0]];
970
+ var GroupMembershipExistenceResults = [
971
+ 1,
972
+ n0,
973
+ _GMERr,
974
+ 0,
975
+ [() => GroupMembershipExistenceResult, 0],
976
+ ];
977
+ var GroupMemberships = [1, n0, _GMr, 0, () => GroupMembership];
978
+ var Groups = [1, n0, _Gr, 0, [() => Group, 0]];
979
+ var PhoneNumbers = [1, n0, _PN, 0, [() => PhoneNumber, 0]];
980
+ var Photos = [1, n0, _Ph, 0, [() => Photo, 0]];
981
+ var Users = [1, n0, _U, 0, [() => User, 0]];
982
+ var AlternateIdentifier = [
983
+ 3,
984
+ n0,
985
+ _AI,
986
+ 0,
987
+ [_EIx, _UAn],
988
+ [[() => ExternalId, 0], () => UniqueAttribute],
989
+ ];
990
+ var MemberId = [3, n0, _MI, 0, [_UI], [0]];
991
+ var CreateGroup = [9, n0, _CG, 0, () => CreateGroupRequest, () => CreateGroupResponse];
992
+ var CreateGroupMembership = [
993
+ 9,
994
+ n0,
995
+ _CGM,
996
+ 0,
997
+ () => CreateGroupMembershipRequest,
998
+ () => CreateGroupMembershipResponse,
999
+ ];
1000
+ var CreateUser = [9, n0, _CU, 0, () => CreateUserRequest, () => CreateUserResponse];
1001
+ var DeleteGroup = [9, n0, _DG, 2, () => DeleteGroupRequest, () => DeleteGroupResponse];
1002
+ var DeleteGroupMembership = [
1003
+ 9,
1004
+ n0,
1005
+ _DGM,
1006
+ 2,
1007
+ () => DeleteGroupMembershipRequest,
1008
+ () => DeleteGroupMembershipResponse,
1009
+ ];
1010
+ var DeleteUser = [9, n0, _DU, 2, () => DeleteUserRequest, () => DeleteUserResponse];
1011
+ var DescribeGroup = [
1012
+ 9,
1013
+ n0,
1014
+ _DGe,
1015
+ 0,
1016
+ () => DescribeGroupRequest,
1017
+ () => DescribeGroupResponse,
1018
+ ];
1019
+ var DescribeGroupMembership = [
1020
+ 9,
1021
+ n0,
1022
+ _DGMe,
1023
+ 0,
1024
+ () => DescribeGroupMembershipRequest,
1025
+ () => DescribeGroupMembershipResponse,
1026
+ ];
1027
+ var DescribeUser = [
1028
+ 9,
1029
+ n0,
1030
+ _DUe,
1031
+ 0,
1032
+ () => DescribeUserRequest,
1033
+ () => DescribeUserResponse,
1034
+ ];
1035
+ var GetGroupId = [9, n0, _GGI, 0, () => GetGroupIdRequest, () => GetGroupIdResponse];
1036
+ var GetGroupMembershipId = [
1037
+ 9,
1038
+ n0,
1039
+ _GGMI,
1040
+ 0,
1041
+ () => GetGroupMembershipIdRequest,
1042
+ () => GetGroupMembershipIdResponse,
1043
+ ];
1044
+ var GetUserId = [9, n0, _GUI, 0, () => GetUserIdRequest, () => GetUserIdResponse];
1045
+ var IsMemberInGroups = [
1046
+ 9,
1047
+ n0,
1048
+ _IMIG,
1049
+ 0,
1050
+ () => IsMemberInGroupsRequest,
1051
+ () => IsMemberInGroupsResponse,
1052
+ ];
1053
+ var ListGroupMemberships = [
1054
+ 9,
1055
+ n0,
1056
+ _LGM,
1057
+ 0,
1058
+ () => ListGroupMembershipsRequest,
1059
+ () => ListGroupMembershipsResponse,
1060
+ ];
1061
+ var ListGroupMembershipsForMember = [
1062
+ 9,
1063
+ n0,
1064
+ _LGMFM,
1065
+ 0,
1066
+ () => ListGroupMembershipsForMemberRequest,
1067
+ () => ListGroupMembershipsForMemberResponse,
1068
+ ];
1069
+ var ListGroups = [9, n0, _LG, 0, () => ListGroupsRequest, () => ListGroupsResponse];
1070
+ var ListUsers = [9, n0, _LU, 0, () => ListUsersRequest, () => ListUsersResponse];
1071
+ var UpdateGroup = [9, n0, _UG, 0, () => UpdateGroupRequest, () => UpdateGroupResponse];
1072
+ var UpdateUser = [9, n0, _UU, 0, () => UpdateUserRequest, () => UpdateUserResponse];
1169
1073
 
1170
1074
  class CreateGroupCommand extends smithyClient.Command
1171
1075
  .classBuilder()
1172
1076
  .ep(commonParams)
1173
1077
  .m(function (Command, cs, config, o) {
1174
- return [
1175
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1176
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1177
- ];
1078
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1178
1079
  })
1179
1080
  .s("AWSIdentityStore", "CreateGroup", {})
1180
1081
  .n("IdentitystoreClient", "CreateGroupCommand")
1181
- .f(CreateGroupRequestFilterSensitiveLog, void 0)
1182
- .ser(se_CreateGroupCommand)
1183
- .de(de_CreateGroupCommand)
1082
+ .sc(CreateGroup)
1184
1083
  .build() {
1185
1084
  }
1186
1085
 
@@ -1188,16 +1087,11 @@ class CreateGroupMembershipCommand extends smithyClient.Command
1188
1087
  .classBuilder()
1189
1088
  .ep(commonParams)
1190
1089
  .m(function (Command, cs, config, o) {
1191
- return [
1192
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1193
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1194
- ];
1090
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1195
1091
  })
1196
1092
  .s("AWSIdentityStore", "CreateGroupMembership", {})
1197
1093
  .n("IdentitystoreClient", "CreateGroupMembershipCommand")
1198
- .f(void 0, void 0)
1199
- .ser(se_CreateGroupMembershipCommand)
1200
- .de(de_CreateGroupMembershipCommand)
1094
+ .sc(CreateGroupMembership)
1201
1095
  .build() {
1202
1096
  }
1203
1097
 
@@ -1205,16 +1099,11 @@ class CreateUserCommand extends smithyClient.Command
1205
1099
  .classBuilder()
1206
1100
  .ep(commonParams)
1207
1101
  .m(function (Command, cs, config, o) {
1208
- return [
1209
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1210
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1211
- ];
1102
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1212
1103
  })
1213
1104
  .s("AWSIdentityStore", "CreateUser", {})
1214
1105
  .n("IdentitystoreClient", "CreateUserCommand")
1215
- .f(CreateUserRequestFilterSensitiveLog, void 0)
1216
- .ser(se_CreateUserCommand)
1217
- .de(de_CreateUserCommand)
1106
+ .sc(CreateUser)
1218
1107
  .build() {
1219
1108
  }
1220
1109
 
@@ -1222,16 +1111,11 @@ class DeleteGroupCommand extends smithyClient.Command
1222
1111
  .classBuilder()
1223
1112
  .ep(commonParams)
1224
1113
  .m(function (Command, cs, config, o) {
1225
- return [
1226
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1227
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1228
- ];
1114
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1229
1115
  })
1230
1116
  .s("AWSIdentityStore", "DeleteGroup", {})
1231
1117
  .n("IdentitystoreClient", "DeleteGroupCommand")
1232
- .f(void 0, void 0)
1233
- .ser(se_DeleteGroupCommand)
1234
- .de(de_DeleteGroupCommand)
1118
+ .sc(DeleteGroup)
1235
1119
  .build() {
1236
1120
  }
1237
1121
 
@@ -1239,16 +1123,11 @@ class DeleteGroupMembershipCommand extends smithyClient.Command
1239
1123
  .classBuilder()
1240
1124
  .ep(commonParams)
1241
1125
  .m(function (Command, cs, config, o) {
1242
- return [
1243
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1244
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1245
- ];
1126
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1246
1127
  })
1247
1128
  .s("AWSIdentityStore", "DeleteGroupMembership", {})
1248
1129
  .n("IdentitystoreClient", "DeleteGroupMembershipCommand")
1249
- .f(void 0, void 0)
1250
- .ser(se_DeleteGroupMembershipCommand)
1251
- .de(de_DeleteGroupMembershipCommand)
1130
+ .sc(DeleteGroupMembership)
1252
1131
  .build() {
1253
1132
  }
1254
1133
 
@@ -1256,16 +1135,11 @@ class DeleteUserCommand extends smithyClient.Command
1256
1135
  .classBuilder()
1257
1136
  .ep(commonParams)
1258
1137
  .m(function (Command, cs, config, o) {
1259
- return [
1260
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1261
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1262
- ];
1138
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1263
1139
  })
1264
1140
  .s("AWSIdentityStore", "DeleteUser", {})
1265
1141
  .n("IdentitystoreClient", "DeleteUserCommand")
1266
- .f(void 0, void 0)
1267
- .ser(se_DeleteUserCommand)
1268
- .de(de_DeleteUserCommand)
1142
+ .sc(DeleteUser)
1269
1143
  .build() {
1270
1144
  }
1271
1145
 
@@ -1273,16 +1147,11 @@ class DescribeGroupCommand extends smithyClient.Command
1273
1147
  .classBuilder()
1274
1148
  .ep(commonParams)
1275
1149
  .m(function (Command, cs, config, o) {
1276
- return [
1277
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1278
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1279
- ];
1150
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1280
1151
  })
1281
1152
  .s("AWSIdentityStore", "DescribeGroup", {})
1282
1153
  .n("IdentitystoreClient", "DescribeGroupCommand")
1283
- .f(void 0, DescribeGroupResponseFilterSensitiveLog)
1284
- .ser(se_DescribeGroupCommand)
1285
- .de(de_DescribeGroupCommand)
1154
+ .sc(DescribeGroup)
1286
1155
  .build() {
1287
1156
  }
1288
1157
 
@@ -1290,16 +1159,11 @@ class DescribeGroupMembershipCommand extends smithyClient.Command
1290
1159
  .classBuilder()
1291
1160
  .ep(commonParams)
1292
1161
  .m(function (Command, cs, config, o) {
1293
- return [
1294
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1295
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1296
- ];
1162
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1297
1163
  })
1298
1164
  .s("AWSIdentityStore", "DescribeGroupMembership", {})
1299
1165
  .n("IdentitystoreClient", "DescribeGroupMembershipCommand")
1300
- .f(void 0, void 0)
1301
- .ser(se_DescribeGroupMembershipCommand)
1302
- .de(de_DescribeGroupMembershipCommand)
1166
+ .sc(DescribeGroupMembership)
1303
1167
  .build() {
1304
1168
  }
1305
1169
 
@@ -1307,16 +1171,11 @@ class DescribeUserCommand extends smithyClient.Command
1307
1171
  .classBuilder()
1308
1172
  .ep(commonParams)
1309
1173
  .m(function (Command, cs, config, o) {
1310
- return [
1311
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1312
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1313
- ];
1174
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1314
1175
  })
1315
1176
  .s("AWSIdentityStore", "DescribeUser", {})
1316
1177
  .n("IdentitystoreClient", "DescribeUserCommand")
1317
- .f(void 0, DescribeUserResponseFilterSensitiveLog)
1318
- .ser(se_DescribeUserCommand)
1319
- .de(de_DescribeUserCommand)
1178
+ .sc(DescribeUser)
1320
1179
  .build() {
1321
1180
  }
1322
1181
 
@@ -1324,16 +1183,11 @@ class GetGroupIdCommand extends smithyClient.Command
1324
1183
  .classBuilder()
1325
1184
  .ep(commonParams)
1326
1185
  .m(function (Command, cs, config, o) {
1327
- return [
1328
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1329
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1330
- ];
1186
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1331
1187
  })
1332
1188
  .s("AWSIdentityStore", "GetGroupId", {})
1333
1189
  .n("IdentitystoreClient", "GetGroupIdCommand")
1334
- .f(GetGroupIdRequestFilterSensitiveLog, void 0)
1335
- .ser(se_GetGroupIdCommand)
1336
- .de(de_GetGroupIdCommand)
1190
+ .sc(GetGroupId)
1337
1191
  .build() {
1338
1192
  }
1339
1193
 
@@ -1341,16 +1195,11 @@ class GetGroupMembershipIdCommand extends smithyClient.Command
1341
1195
  .classBuilder()
1342
1196
  .ep(commonParams)
1343
1197
  .m(function (Command, cs, config, o) {
1344
- return [
1345
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1346
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1347
- ];
1198
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1348
1199
  })
1349
1200
  .s("AWSIdentityStore", "GetGroupMembershipId", {})
1350
1201
  .n("IdentitystoreClient", "GetGroupMembershipIdCommand")
1351
- .f(void 0, void 0)
1352
- .ser(se_GetGroupMembershipIdCommand)
1353
- .de(de_GetGroupMembershipIdCommand)
1202
+ .sc(GetGroupMembershipId)
1354
1203
  .build() {
1355
1204
  }
1356
1205
 
@@ -1358,16 +1207,11 @@ class GetUserIdCommand extends smithyClient.Command
1358
1207
  .classBuilder()
1359
1208
  .ep(commonParams)
1360
1209
  .m(function (Command, cs, config, o) {
1361
- return [
1362
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1363
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1364
- ];
1210
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1365
1211
  })
1366
1212
  .s("AWSIdentityStore", "GetUserId", {})
1367
1213
  .n("IdentitystoreClient", "GetUserIdCommand")
1368
- .f(GetUserIdRequestFilterSensitiveLog, void 0)
1369
- .ser(se_GetUserIdCommand)
1370
- .de(de_GetUserIdCommand)
1214
+ .sc(GetUserId)
1371
1215
  .build() {
1372
1216
  }
1373
1217
 
@@ -1375,16 +1219,11 @@ class IsMemberInGroupsCommand extends smithyClient.Command
1375
1219
  .classBuilder()
1376
1220
  .ep(commonParams)
1377
1221
  .m(function (Command, cs, config, o) {
1378
- return [
1379
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1380
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1381
- ];
1222
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1382
1223
  })
1383
1224
  .s("AWSIdentityStore", "IsMemberInGroups", {})
1384
1225
  .n("IdentitystoreClient", "IsMemberInGroupsCommand")
1385
- .f(void 0, IsMemberInGroupsResponseFilterSensitiveLog)
1386
- .ser(se_IsMemberInGroupsCommand)
1387
- .de(de_IsMemberInGroupsCommand)
1226
+ .sc(IsMemberInGroups)
1388
1227
  .build() {
1389
1228
  }
1390
1229
 
@@ -1392,16 +1231,11 @@ class ListGroupMembershipsCommand extends smithyClient.Command
1392
1231
  .classBuilder()
1393
1232
  .ep(commonParams)
1394
1233
  .m(function (Command, cs, config, o) {
1395
- return [
1396
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1397
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1398
- ];
1234
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1399
1235
  })
1400
1236
  .s("AWSIdentityStore", "ListGroupMemberships", {})
1401
1237
  .n("IdentitystoreClient", "ListGroupMembershipsCommand")
1402
- .f(void 0, void 0)
1403
- .ser(se_ListGroupMembershipsCommand)
1404
- .de(de_ListGroupMembershipsCommand)
1238
+ .sc(ListGroupMemberships)
1405
1239
  .build() {
1406
1240
  }
1407
1241
 
@@ -1409,16 +1243,11 @@ class ListGroupMembershipsForMemberCommand extends smithyClient.Command
1409
1243
  .classBuilder()
1410
1244
  .ep(commonParams)
1411
1245
  .m(function (Command, cs, config, o) {
1412
- return [
1413
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1414
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1415
- ];
1246
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1416
1247
  })
1417
1248
  .s("AWSIdentityStore", "ListGroupMembershipsForMember", {})
1418
1249
  .n("IdentitystoreClient", "ListGroupMembershipsForMemberCommand")
1419
- .f(void 0, void 0)
1420
- .ser(se_ListGroupMembershipsForMemberCommand)
1421
- .de(de_ListGroupMembershipsForMemberCommand)
1250
+ .sc(ListGroupMembershipsForMember)
1422
1251
  .build() {
1423
1252
  }
1424
1253
 
@@ -1426,16 +1255,11 @@ class ListGroupsCommand extends smithyClient.Command
1426
1255
  .classBuilder()
1427
1256
  .ep(commonParams)
1428
1257
  .m(function (Command, cs, config, o) {
1429
- return [
1430
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1431
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1432
- ];
1258
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1433
1259
  })
1434
1260
  .s("AWSIdentityStore", "ListGroups", {})
1435
1261
  .n("IdentitystoreClient", "ListGroupsCommand")
1436
- .f(ListGroupsRequestFilterSensitiveLog, ListGroupsResponseFilterSensitiveLog)
1437
- .ser(se_ListGroupsCommand)
1438
- .de(de_ListGroupsCommand)
1262
+ .sc(ListGroups)
1439
1263
  .build() {
1440
1264
  }
1441
1265
 
@@ -1443,16 +1267,11 @@ class ListUsersCommand extends smithyClient.Command
1443
1267
  .classBuilder()
1444
1268
  .ep(commonParams)
1445
1269
  .m(function (Command, cs, config, o) {
1446
- return [
1447
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1448
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1449
- ];
1270
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1450
1271
  })
1451
1272
  .s("AWSIdentityStore", "ListUsers", {})
1452
1273
  .n("IdentitystoreClient", "ListUsersCommand")
1453
- .f(ListUsersRequestFilterSensitiveLog, ListUsersResponseFilterSensitiveLog)
1454
- .ser(se_ListUsersCommand)
1455
- .de(de_ListUsersCommand)
1274
+ .sc(ListUsers)
1456
1275
  .build() {
1457
1276
  }
1458
1277
 
@@ -1460,16 +1279,11 @@ class UpdateGroupCommand extends smithyClient.Command
1460
1279
  .classBuilder()
1461
1280
  .ep(commonParams)
1462
1281
  .m(function (Command, cs, config, o) {
1463
- return [
1464
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1465
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1466
- ];
1282
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1467
1283
  })
1468
1284
  .s("AWSIdentityStore", "UpdateGroup", {})
1469
1285
  .n("IdentitystoreClient", "UpdateGroupCommand")
1470
- .f(void 0, void 0)
1471
- .ser(se_UpdateGroupCommand)
1472
- .de(de_UpdateGroupCommand)
1286
+ .sc(UpdateGroup)
1473
1287
  .build() {
1474
1288
  }
1475
1289
 
@@ -1477,16 +1291,11 @@ class UpdateUserCommand extends smithyClient.Command
1477
1291
  .classBuilder()
1478
1292
  .ep(commonParams)
1479
1293
  .m(function (Command, cs, config, o) {
1480
- return [
1481
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1482
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1483
- ];
1294
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1484
1295
  })
1485
1296
  .s("AWSIdentityStore", "UpdateUser", {})
1486
1297
  .n("IdentitystoreClient", "UpdateUserCommand")
1487
- .f(void 0, void 0)
1488
- .ser(se_UpdateUserCommand)
1489
- .de(de_UpdateUserCommand)
1298
+ .sc(UpdateUser)
1490
1299
  .build() {
1491
1300
  }
1492
1301
 
@@ -1531,63 +1340,41 @@ Object.defineProperty(exports, "__Client", {
1531
1340
  enumerable: true,
1532
1341
  get: function () { return smithyClient.Client; }
1533
1342
  });
1534
- exports.AccessDeniedException = AccessDeniedException;
1343
+ exports.AccessDeniedException = AccessDeniedException$1;
1535
1344
  exports.AccessDeniedExceptionReason = AccessDeniedExceptionReason;
1536
- exports.AddressFilterSensitiveLog = AddressFilterSensitiveLog;
1537
- exports.AlternateIdentifierFilterSensitiveLog = AlternateIdentifierFilterSensitiveLog;
1538
- exports.ConflictException = ConflictException;
1345
+ exports.ConflictException = ConflictException$1;
1539
1346
  exports.ConflictExceptionReason = ConflictExceptionReason;
1540
1347
  exports.CreateGroupCommand = CreateGroupCommand;
1541
1348
  exports.CreateGroupMembershipCommand = CreateGroupMembershipCommand;
1542
- exports.CreateGroupRequestFilterSensitiveLog = CreateGroupRequestFilterSensitiveLog;
1543
1349
  exports.CreateUserCommand = CreateUserCommand;
1544
- exports.CreateUserRequestFilterSensitiveLog = CreateUserRequestFilterSensitiveLog;
1545
1350
  exports.DeleteGroupCommand = DeleteGroupCommand;
1546
1351
  exports.DeleteGroupMembershipCommand = DeleteGroupMembershipCommand;
1547
1352
  exports.DeleteUserCommand = DeleteUserCommand;
1548
1353
  exports.DescribeGroupCommand = DescribeGroupCommand;
1549
1354
  exports.DescribeGroupMembershipCommand = DescribeGroupMembershipCommand;
1550
- exports.DescribeGroupResponseFilterSensitiveLog = DescribeGroupResponseFilterSensitiveLog;
1551
1355
  exports.DescribeUserCommand = DescribeUserCommand;
1552
- exports.DescribeUserResponseFilterSensitiveLog = DescribeUserResponseFilterSensitiveLog;
1553
- exports.EmailFilterSensitiveLog = EmailFilterSensitiveLog;
1554
- exports.ExternalIdFilterSensitiveLog = ExternalIdFilterSensitiveLog;
1555
- exports.FilterFilterSensitiveLog = FilterFilterSensitiveLog;
1556
1356
  exports.GetGroupIdCommand = GetGroupIdCommand;
1557
- exports.GetGroupIdRequestFilterSensitiveLog = GetGroupIdRequestFilterSensitiveLog;
1558
1357
  exports.GetGroupMembershipIdCommand = GetGroupMembershipIdCommand;
1559
1358
  exports.GetUserIdCommand = GetUserIdCommand;
1560
- exports.GetUserIdRequestFilterSensitiveLog = GetUserIdRequestFilterSensitiveLog;
1561
- exports.GroupFilterSensitiveLog = GroupFilterSensitiveLog;
1562
- exports.GroupMembershipExistenceResultFilterSensitiveLog = GroupMembershipExistenceResultFilterSensitiveLog;
1563
1359
  exports.Identitystore = Identitystore;
1564
1360
  exports.IdentitystoreClient = IdentitystoreClient;
1565
- exports.IdentitystoreServiceException = IdentitystoreServiceException;
1566
- exports.InternalServerException = InternalServerException;
1361
+ exports.IdentitystoreServiceException = IdentitystoreServiceException$1;
1362
+ exports.InternalServerException = InternalServerException$1;
1567
1363
  exports.IsMemberInGroupsCommand = IsMemberInGroupsCommand;
1568
- exports.IsMemberInGroupsResponseFilterSensitiveLog = IsMemberInGroupsResponseFilterSensitiveLog;
1569
1364
  exports.ListGroupMembershipsCommand = ListGroupMembershipsCommand;
1570
1365
  exports.ListGroupMembershipsForMemberCommand = ListGroupMembershipsForMemberCommand;
1571
1366
  exports.ListGroupsCommand = ListGroupsCommand;
1572
- exports.ListGroupsRequestFilterSensitiveLog = ListGroupsRequestFilterSensitiveLog;
1573
- exports.ListGroupsResponseFilterSensitiveLog = ListGroupsResponseFilterSensitiveLog;
1574
1367
  exports.ListUsersCommand = ListUsersCommand;
1575
- exports.ListUsersRequestFilterSensitiveLog = ListUsersRequestFilterSensitiveLog;
1576
- exports.ListUsersResponseFilterSensitiveLog = ListUsersResponseFilterSensitiveLog;
1577
- exports.NameFilterSensitiveLog = NameFilterSensitiveLog;
1578
- exports.PhoneNumberFilterSensitiveLog = PhoneNumberFilterSensitiveLog;
1579
- exports.PhotoFilterSensitiveLog = PhotoFilterSensitiveLog;
1580
- exports.ResourceNotFoundException = ResourceNotFoundException;
1368
+ exports.ResourceNotFoundException = ResourceNotFoundException$1;
1581
1369
  exports.ResourceNotFoundExceptionReason = ResourceNotFoundExceptionReason;
1582
1370
  exports.ResourceType = ResourceType;
1583
- exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
1584
- exports.ThrottlingException = ThrottlingException;
1371
+ exports.ServiceQuotaExceededException = ServiceQuotaExceededException$1;
1372
+ exports.ThrottlingException = ThrottlingException$1;
1585
1373
  exports.ThrottlingExceptionReason = ThrottlingExceptionReason;
1586
1374
  exports.UpdateGroupCommand = UpdateGroupCommand;
1587
1375
  exports.UpdateUserCommand = UpdateUserCommand;
1588
- exports.UserFilterSensitiveLog = UserFilterSensitiveLog;
1589
1376
  exports.UserStatus = UserStatus;
1590
- exports.ValidationException = ValidationException;
1377
+ exports.ValidationException = ValidationException$1;
1591
1378
  exports.ValidationExceptionReason = ValidationExceptionReason;
1592
1379
  exports.paginateListGroupMemberships = paginateListGroupMemberships;
1593
1380
  exports.paginateListGroupMembershipsForMember = paginateListGroupMembershipsForMember;