@aws-sdk/client-identitystore 3.169.0 → 3.171.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 (40) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/dist-types/ts3.4/Identitystore.d.ts +327 -100
  3. package/dist-types/ts3.4/IdentitystoreClient.d.ts +219 -92
  4. package/dist-types/ts3.4/commands/CreateGroupCommand.d.ts +32 -17
  5. package/dist-types/ts3.4/commands/CreateGroupMembershipCommand.d.ts +39 -17
  6. package/dist-types/ts3.4/commands/CreateUserCommand.d.ts +32 -17
  7. package/dist-types/ts3.4/commands/DeleteGroupCommand.d.ts +32 -17
  8. package/dist-types/ts3.4/commands/DeleteGroupMembershipCommand.d.ts +39 -17
  9. package/dist-types/ts3.4/commands/DeleteUserCommand.d.ts +32 -17
  10. package/dist-types/ts3.4/commands/DescribeGroupCommand.d.ts +35 -17
  11. package/dist-types/ts3.4/commands/DescribeGroupMembershipCommand.d.ts +39 -17
  12. package/dist-types/ts3.4/commands/DescribeUserCommand.d.ts +32 -17
  13. package/dist-types/ts3.4/commands/GetGroupIdCommand.d.ts +32 -17
  14. package/dist-types/ts3.4/commands/GetGroupMembershipIdCommand.d.ts +39 -17
  15. package/dist-types/ts3.4/commands/GetUserIdCommand.d.ts +32 -17
  16. package/dist-types/ts3.4/commands/IsMemberInGroupsCommand.d.ts +35 -17
  17. package/dist-types/ts3.4/commands/ListGroupMembershipsCommand.d.ts +39 -17
  18. package/dist-types/ts3.4/commands/ListGroupMembershipsForMemberCommand.d.ts +39 -17
  19. package/dist-types/ts3.4/commands/ListGroupsCommand.d.ts +32 -17
  20. package/dist-types/ts3.4/commands/ListUsersCommand.d.ts +32 -17
  21. package/dist-types/ts3.4/commands/UpdateGroupCommand.d.ts +32 -17
  22. package/dist-types/ts3.4/commands/UpdateUserCommand.d.ts +32 -17
  23. package/dist-types/ts3.4/commands/index.d.ts +19 -19
  24. package/dist-types/ts3.4/endpoints.d.ts +2 -2
  25. package/dist-types/ts3.4/index.d.ts +6 -6
  26. package/dist-types/ts3.4/models/IdentitystoreServiceException.d.ts +7 -6
  27. package/dist-types/ts3.4/models/index.d.ts +1 -1
  28. package/dist-types/ts3.4/models/models_0.d.ts +525 -696
  29. package/dist-types/ts3.4/pagination/Interfaces.d.ts +7 -6
  30. package/dist-types/ts3.4/pagination/ListGroupMembershipsForMemberPaginator.d.ts +11 -4
  31. package/dist-types/ts3.4/pagination/ListGroupMembershipsPaginator.d.ts +11 -4
  32. package/dist-types/ts3.4/pagination/ListGroupsPaginator.d.ts +11 -4
  33. package/dist-types/ts3.4/pagination/ListUsersPaginator.d.ts +11 -4
  34. package/dist-types/ts3.4/pagination/index.d.ts +5 -5
  35. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +233 -59
  36. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +65 -38
  37. package/dist-types/ts3.4/runtimeConfig.d.ts +65 -38
  38. package/dist-types/ts3.4/runtimeConfig.native.d.ts +66 -37
  39. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +10 -11
  40. package/package.json +34 -34
@@ -1,696 +1,525 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
- import { DocumentType as __DocumentType } from "@aws-sdk/types";
3
- import { IdentitystoreServiceException as __BaseException } from "./IdentitystoreServiceException";
4
-
5
- export declare class AccessDeniedException extends __BaseException {
6
- readonly name: "AccessDeniedException";
7
- readonly $fault: "client";
8
- Message?: string;
9
-
10
- RequestId?: string;
11
-
12
- constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
13
- }
14
-
15
- export interface Address {
16
-
17
- StreetAddress?: string;
18
-
19
- Locality?: string;
20
-
21
- Region?: string;
22
-
23
- PostalCode?: string;
24
-
25
- Country?: string;
26
-
27
- Formatted?: string;
28
-
29
- Type?: string;
30
-
31
- Primary?: boolean;
32
- }
33
-
34
- export interface ExternalId {
35
-
36
- Issuer: string | undefined;
37
-
38
- Id: string | undefined;
39
- }
40
-
41
- export interface UniqueAttribute {
42
-
43
- AttributePath: string | undefined;
44
-
45
- AttributeValue: __DocumentType | undefined;
46
- }
47
-
48
- export declare type AlternateIdentifier = AlternateIdentifier.ExternalIdMember | AlternateIdentifier.UniqueAttributeMember | AlternateIdentifier.$UnknownMember;
49
- export declare namespace AlternateIdentifier {
50
-
51
- interface ExternalIdMember {
52
- ExternalId: ExternalId;
53
- UniqueAttribute?: never;
54
- $unknown?: never;
55
- }
56
-
57
- interface UniqueAttributeMember {
58
- ExternalId?: never;
59
- UniqueAttribute: UniqueAttribute;
60
- $unknown?: never;
61
- }
62
- interface $UnknownMember {
63
- ExternalId?: never;
64
- UniqueAttribute?: never;
65
- $unknown: [
66
- string,
67
- any
68
- ];
69
- }
70
- interface Visitor<T> {
71
- ExternalId: (value: ExternalId) => T;
72
- UniqueAttribute: (value: UniqueAttribute) => T;
73
- _: (name: string, value: any) => T;
74
- }
75
- const visit: <T>(value: AlternateIdentifier, visitor: Visitor<T>) => T;
76
- }
77
-
78
- export interface AttributeOperation {
79
-
80
- AttributePath: string | undefined;
81
-
82
- AttributeValue?: __DocumentType;
83
- }
84
- export interface GetGroupIdRequest {
85
-
86
- IdentityStoreId: string | undefined;
87
-
88
- AlternateIdentifier: AlternateIdentifier | undefined;
89
- }
90
- export interface GetGroupIdResponse {
91
-
92
- GroupId: string | undefined;
93
-
94
- IdentityStoreId: string | undefined;
95
- }
96
- export declare enum ResourceType {
97
- GROUP = "GROUP",
98
- GROUP_MEMBERSHIP = "GROUP_MEMBERSHIP",
99
- IDENTITY_STORE = "IDENTITY_STORE",
100
- USER = "USER"
101
- }
102
-
103
- export declare class ResourceNotFoundException extends __BaseException {
104
- readonly name: "ResourceNotFoundException";
105
- readonly $fault: "client";
106
-
107
- ResourceType?: ResourceType | string;
108
-
109
- ResourceId?: string;
110
- Message?: string;
111
-
112
- RequestId?: string;
113
-
114
- constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
115
- }
116
-
117
- export declare class ValidationException extends __BaseException {
118
- readonly name: "ValidationException";
119
- readonly $fault: "client";
120
- Message?: string;
121
-
122
- RequestId?: string;
123
-
124
- constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
125
- }
126
-
127
- export declare type MemberId = MemberId.UserIdMember | MemberId.$UnknownMember;
128
- export declare namespace MemberId {
129
-
130
- interface UserIdMember {
131
- UserId: string;
132
- $unknown?: never;
133
- }
134
- interface $UnknownMember {
135
- UserId?: never;
136
- $unknown: [
137
- string,
138
- any
139
- ];
140
- }
141
- interface Visitor<T> {
142
- UserId: (value: string) => T;
143
- _: (name: string, value: any) => T;
144
- }
145
- const visit: <T>(value: MemberId, visitor: Visitor<T>) => T;
146
- }
147
- export interface GetGroupMembershipIdRequest {
148
-
149
- IdentityStoreId: string | undefined;
150
-
151
- GroupId: string | undefined;
152
-
153
- MemberId: MemberId | undefined;
154
- }
155
- export interface GetGroupMembershipIdResponse {
156
-
157
- MembershipId: string | undefined;
158
-
159
- IdentityStoreId: string | undefined;
160
- }
161
- export interface GetUserIdRequest {
162
-
163
- IdentityStoreId: string | undefined;
164
-
165
- AlternateIdentifier: AlternateIdentifier | undefined;
166
- }
167
- export interface GetUserIdResponse {
168
-
169
- UserId: string | undefined;
170
-
171
- IdentityStoreId: string | undefined;
172
- }
173
- export declare enum ConflictExceptionReason {
174
- CONCURRENT_MODIFICATION = "CONCURRENT_MODIFICATION",
175
- UNIQUENESS_CONSTRAINT_VIOLATION = "UNIQUENESS_CONSTRAINT_VIOLATION"
176
- }
177
-
178
- export declare class ConflictException extends __BaseException {
179
- readonly name: "ConflictException";
180
- readonly $fault: "client";
181
- Message?: string;
182
-
183
- RequestId?: string;
184
-
185
- Reason?: ConflictExceptionReason | string;
186
-
187
- constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
188
- }
189
- export interface CreateGroupMembershipRequest {
190
-
191
- IdentityStoreId: string | undefined;
192
-
193
- GroupId: string | undefined;
194
-
195
- MemberId: MemberId | undefined;
196
- }
197
- export interface CreateGroupMembershipResponse {
198
-
199
- MembershipId: string | undefined;
200
-
201
- IdentityStoreId: string | undefined;
202
- }
203
-
204
- export declare class ServiceQuotaExceededException extends __BaseException {
205
- readonly name: "ServiceQuotaExceededException";
206
- readonly $fault: "client";
207
- Message?: string;
208
-
209
- RequestId?: string;
210
-
211
- constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
212
- }
213
- export interface DeleteGroupMembershipRequest {
214
-
215
- IdentityStoreId: string | undefined;
216
-
217
- MembershipId: string | undefined;
218
- }
219
- export interface DeleteGroupMembershipResponse {
220
- }
221
- export interface DescribeGroupMembershipRequest {
222
-
223
- IdentityStoreId: string | undefined;
224
-
225
- MembershipId: string | undefined;
226
- }
227
- export interface DescribeGroupMembershipResponse {
228
-
229
- IdentityStoreId: string | undefined;
230
-
231
- MembershipId: string | undefined;
232
-
233
- GroupId: string | undefined;
234
-
235
- MemberId: MemberId | undefined;
236
- }
237
- export interface ListGroupMembershipsRequest {
238
-
239
- IdentityStoreId: string | undefined;
240
-
241
- GroupId: string | undefined;
242
-
243
- MaxResults?: number;
244
-
245
- NextToken?: string;
246
- }
247
-
248
- export interface GroupMembership {
249
-
250
- IdentityStoreId: string | undefined;
251
-
252
- MembershipId?: string;
253
-
254
- GroupId?: string;
255
-
256
- MemberId?: MemberId;
257
- }
258
- export interface ListGroupMembershipsResponse {
259
-
260
- GroupMemberships: GroupMembership[] | undefined;
261
-
262
- NextToken?: string;
263
- }
264
- export interface CreateGroupRequest {
265
-
266
- IdentityStoreId: string | undefined;
267
-
268
- DisplayName?: string;
269
-
270
- Description?: string;
271
- }
272
- export interface CreateGroupResponse {
273
-
274
- GroupId: string | undefined;
275
-
276
- IdentityStoreId: string | undefined;
277
- }
278
- export interface DeleteGroupRequest {
279
-
280
- IdentityStoreId: string | undefined;
281
-
282
- GroupId: string | undefined;
283
- }
284
- export interface DeleteGroupResponse {
285
- }
286
- export interface DescribeGroupRequest {
287
-
288
- IdentityStoreId: string | undefined;
289
-
290
- GroupId: string | undefined;
291
- }
292
- export interface DescribeGroupResponse {
293
-
294
- GroupId: string | undefined;
295
-
296
- DisplayName?: string;
297
-
298
- ExternalIds?: ExternalId[];
299
-
300
- Description?: string;
301
-
302
- IdentityStoreId: string | undefined;
303
- }
304
-
305
- export interface Filter {
306
-
307
- AttributePath: string | undefined;
308
-
309
- AttributeValue: string | undefined;
310
- }
311
- export interface ListGroupsRequest {
312
-
313
- IdentityStoreId: string | undefined;
314
-
315
- MaxResults?: number;
316
-
317
- NextToken?: string;
318
-
319
- Filters?: Filter[];
320
- }
321
-
322
- export interface Group {
323
-
324
- GroupId: string | undefined;
325
-
326
- DisplayName?: string;
327
-
328
- ExternalIds?: ExternalId[];
329
-
330
- Description?: string;
331
-
332
- IdentityStoreId: string | undefined;
333
- }
334
- export interface ListGroupsResponse {
335
-
336
- Groups: Group[] | undefined;
337
-
338
- NextToken?: string;
339
- }
340
- export interface UpdateGroupRequest {
341
-
342
- IdentityStoreId: string | undefined;
343
-
344
- GroupId: string | undefined;
345
-
346
- Operations: AttributeOperation[] | undefined;
347
- }
348
- export interface UpdateGroupResponse {
349
- }
350
-
351
- export declare class InternalServerException extends __BaseException {
352
- readonly name: "InternalServerException";
353
- readonly $fault: "server";
354
- $retryable: {};
355
- Message?: string;
356
-
357
- RequestId?: string;
358
-
359
- RetryAfterSeconds?: number;
360
-
361
- constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
362
- }
363
- export interface IsMemberInGroupsRequest {
364
-
365
- IdentityStoreId: string | undefined;
366
-
367
- MemberId: MemberId | undefined;
368
-
369
- GroupIds: string[] | undefined;
370
- }
371
-
372
- export interface GroupMembershipExistenceResult {
373
-
374
- GroupId?: string;
375
-
376
- MemberId?: MemberId;
377
-
378
- MembershipExists?: boolean;
379
- }
380
- export interface IsMemberInGroupsResponse {
381
-
382
- Results: GroupMembershipExistenceResult[] | undefined;
383
- }
384
- export interface ListGroupMembershipsForMemberRequest {
385
-
386
- IdentityStoreId: string | undefined;
387
-
388
- MemberId: MemberId | undefined;
389
-
390
- MaxResults?: number;
391
-
392
- NextToken?: string;
393
- }
394
- export interface ListGroupMembershipsForMemberResponse {
395
-
396
- GroupMemberships: GroupMembership[] | undefined;
397
-
398
- NextToken?: string;
399
- }
400
-
401
- export declare class ThrottlingException extends __BaseException {
402
- readonly name: "ThrottlingException";
403
- readonly $fault: "client";
404
- $retryable: {
405
- throttling: boolean;
406
- };
407
- Message?: string;
408
-
409
- RequestId?: string;
410
-
411
- RetryAfterSeconds?: number;
412
-
413
- constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
414
- }
415
-
416
- export interface Email {
417
-
418
- Value?: string;
419
-
420
- Type?: string;
421
-
422
- Primary?: boolean;
423
- }
424
-
425
- export interface Name {
426
-
427
- Formatted?: string;
428
-
429
- FamilyName?: string;
430
-
431
- GivenName?: string;
432
-
433
- MiddleName?: string;
434
-
435
- HonorificPrefix?: string;
436
-
437
- HonorificSuffix?: string;
438
- }
439
-
440
- export interface PhoneNumber {
441
-
442
- Value?: string;
443
-
444
- Type?: string;
445
-
446
- Primary?: boolean;
447
- }
448
- export interface CreateUserRequest {
449
-
450
- IdentityStoreId: string | undefined;
451
-
452
- UserName?: string;
453
-
454
- Name?: Name;
455
-
456
- DisplayName?: string;
457
-
458
- NickName?: string;
459
-
460
- ProfileUrl?: string;
461
-
462
- Emails?: Email[];
463
-
464
- Addresses?: Address[];
465
-
466
- PhoneNumbers?: PhoneNumber[];
467
-
468
- UserType?: string;
469
-
470
- Title?: string;
471
-
472
- PreferredLanguage?: string;
473
-
474
- Locale?: string;
475
-
476
- Timezone?: string;
477
- }
478
- export interface CreateUserResponse {
479
-
480
- UserId: string | undefined;
481
-
482
- IdentityStoreId: string | undefined;
483
- }
484
- export interface DeleteUserRequest {
485
-
486
- IdentityStoreId: string | undefined;
487
-
488
- UserId: string | undefined;
489
- }
490
- export interface DeleteUserResponse {
491
- }
492
- export interface DescribeUserRequest {
493
-
494
- IdentityStoreId: string | undefined;
495
-
496
- UserId: string | undefined;
497
- }
498
- export interface DescribeUserResponse {
499
-
500
- UserName?: string;
501
-
502
- UserId: string | undefined;
503
-
504
- ExternalIds?: ExternalId[];
505
-
506
- Name?: Name;
507
-
508
- DisplayName?: string;
509
-
510
- NickName?: string;
511
-
512
- ProfileUrl?: string;
513
-
514
- Emails?: Email[];
515
-
516
- Addresses?: Address[];
517
-
518
- PhoneNumbers?: PhoneNumber[];
519
-
520
- UserType?: string;
521
-
522
- Title?: string;
523
-
524
- PreferredLanguage?: string;
525
-
526
- Locale?: string;
527
-
528
- Timezone?: string;
529
-
530
- IdentityStoreId: string | undefined;
531
- }
532
- export interface ListUsersRequest {
533
-
534
- IdentityStoreId: string | undefined;
535
-
536
- MaxResults?: number;
537
-
538
- NextToken?: string;
539
-
540
- Filters?: Filter[];
541
- }
542
-
543
- export interface User {
544
-
545
- UserName?: string;
546
-
547
- UserId: string | undefined;
548
-
549
- ExternalIds?: ExternalId[];
550
-
551
- Name?: Name;
552
-
553
- DisplayName?: string;
554
-
555
- NickName?: string;
556
-
557
- ProfileUrl?: string;
558
-
559
- Emails?: Email[];
560
-
561
- Addresses?: Address[];
562
-
563
- PhoneNumbers?: PhoneNumber[];
564
-
565
- UserType?: string;
566
-
567
- Title?: string;
568
-
569
- PreferredLanguage?: string;
570
-
571
- Locale?: string;
572
-
573
- Timezone?: string;
574
-
575
- IdentityStoreId: string | undefined;
576
- }
577
- export interface ListUsersResponse {
578
-
579
- Users: User[] | undefined;
580
-
581
- NextToken?: string;
582
- }
583
- export interface UpdateUserRequest {
584
-
585
- IdentityStoreId: string | undefined;
586
-
587
- UserId: string | undefined;
588
-
589
- Operations: AttributeOperation[] | undefined;
590
- }
591
- export interface UpdateUserResponse {
592
- }
593
-
594
- export declare const AddressFilterSensitiveLog: (obj: Address) => any;
595
-
596
- export declare const ExternalIdFilterSensitiveLog: (obj: ExternalId) => any;
597
-
598
- export declare const UniqueAttributeFilterSensitiveLog: (obj: UniqueAttribute) => any;
599
-
600
- export declare const AlternateIdentifierFilterSensitiveLog: (obj: AlternateIdentifier) => any;
601
-
602
- export declare const AttributeOperationFilterSensitiveLog: (obj: AttributeOperation) => any;
603
-
604
- export declare const GetGroupIdRequestFilterSensitiveLog: (obj: GetGroupIdRequest) => any;
605
-
606
- export declare const GetGroupIdResponseFilterSensitiveLog: (obj: GetGroupIdResponse) => any;
607
-
608
- export declare const MemberIdFilterSensitiveLog: (obj: MemberId) => any;
609
-
610
- export declare const GetGroupMembershipIdRequestFilterSensitiveLog: (obj: GetGroupMembershipIdRequest) => any;
611
-
612
- export declare const GetGroupMembershipIdResponseFilterSensitiveLog: (obj: GetGroupMembershipIdResponse) => any;
613
-
614
- export declare const GetUserIdRequestFilterSensitiveLog: (obj: GetUserIdRequest) => any;
615
-
616
- export declare const GetUserIdResponseFilterSensitiveLog: (obj: GetUserIdResponse) => any;
617
-
618
- export declare const CreateGroupMembershipRequestFilterSensitiveLog: (obj: CreateGroupMembershipRequest) => any;
619
-
620
- export declare const CreateGroupMembershipResponseFilterSensitiveLog: (obj: CreateGroupMembershipResponse) => any;
621
-
622
- export declare const DeleteGroupMembershipRequestFilterSensitiveLog: (obj: DeleteGroupMembershipRequest) => any;
623
-
624
- export declare const DeleteGroupMembershipResponseFilterSensitiveLog: (obj: DeleteGroupMembershipResponse) => any;
625
-
626
- export declare const DescribeGroupMembershipRequestFilterSensitiveLog: (obj: DescribeGroupMembershipRequest) => any;
627
-
628
- export declare const DescribeGroupMembershipResponseFilterSensitiveLog: (obj: DescribeGroupMembershipResponse) => any;
629
-
630
- export declare const ListGroupMembershipsRequestFilterSensitiveLog: (obj: ListGroupMembershipsRequest) => any;
631
-
632
- export declare const GroupMembershipFilterSensitiveLog: (obj: GroupMembership) => any;
633
-
634
- export declare const ListGroupMembershipsResponseFilterSensitiveLog: (obj: ListGroupMembershipsResponse) => any;
635
-
636
- export declare const CreateGroupRequestFilterSensitiveLog: (obj: CreateGroupRequest) => any;
637
-
638
- export declare const CreateGroupResponseFilterSensitiveLog: (obj: CreateGroupResponse) => any;
639
-
640
- export declare const DeleteGroupRequestFilterSensitiveLog: (obj: DeleteGroupRequest) => any;
641
-
642
- export declare const DeleteGroupResponseFilterSensitiveLog: (obj: DeleteGroupResponse) => any;
643
-
644
- export declare const DescribeGroupRequestFilterSensitiveLog: (obj: DescribeGroupRequest) => any;
645
-
646
- export declare const DescribeGroupResponseFilterSensitiveLog: (obj: DescribeGroupResponse) => any;
647
-
648
- export declare const FilterFilterSensitiveLog: (obj: Filter) => any;
649
-
650
- export declare const ListGroupsRequestFilterSensitiveLog: (obj: ListGroupsRequest) => any;
651
-
652
- export declare const GroupFilterSensitiveLog: (obj: Group) => any;
653
-
654
- export declare const ListGroupsResponseFilterSensitiveLog: (obj: ListGroupsResponse) => any;
655
-
656
- export declare const UpdateGroupRequestFilterSensitiveLog: (obj: UpdateGroupRequest) => any;
657
-
658
- export declare const UpdateGroupResponseFilterSensitiveLog: (obj: UpdateGroupResponse) => any;
659
-
660
- export declare const IsMemberInGroupsRequestFilterSensitiveLog: (obj: IsMemberInGroupsRequest) => any;
661
-
662
- export declare const GroupMembershipExistenceResultFilterSensitiveLog: (obj: GroupMembershipExistenceResult) => any;
663
-
664
- export declare const IsMemberInGroupsResponseFilterSensitiveLog: (obj: IsMemberInGroupsResponse) => any;
665
-
666
- export declare const ListGroupMembershipsForMemberRequestFilterSensitiveLog: (obj: ListGroupMembershipsForMemberRequest) => any;
667
-
668
- export declare const ListGroupMembershipsForMemberResponseFilterSensitiveLog: (obj: ListGroupMembershipsForMemberResponse) => any;
669
-
670
- export declare const EmailFilterSensitiveLog: (obj: Email) => any;
671
-
672
- export declare const NameFilterSensitiveLog: (obj: Name) => any;
673
-
674
- export declare const PhoneNumberFilterSensitiveLog: (obj: PhoneNumber) => any;
675
-
676
- export declare const CreateUserRequestFilterSensitiveLog: (obj: CreateUserRequest) => any;
677
-
678
- export declare const CreateUserResponseFilterSensitiveLog: (obj: CreateUserResponse) => any;
679
-
680
- export declare const DeleteUserRequestFilterSensitiveLog: (obj: DeleteUserRequest) => any;
681
-
682
- export declare const DeleteUserResponseFilterSensitiveLog: (obj: DeleteUserResponse) => any;
683
-
684
- export declare const DescribeUserRequestFilterSensitiveLog: (obj: DescribeUserRequest) => any;
685
-
686
- export declare const DescribeUserResponseFilterSensitiveLog: (obj: DescribeUserResponse) => any;
687
-
688
- export declare const ListUsersRequestFilterSensitiveLog: (obj: ListUsersRequest) => any;
689
-
690
- export declare const UserFilterSensitiveLog: (obj: User) => any;
691
-
692
- export declare const ListUsersResponseFilterSensitiveLog: (obj: ListUsersResponse) => any;
693
-
694
- export declare const UpdateUserRequestFilterSensitiveLog: (obj: UpdateUserRequest) => any;
695
-
696
- export declare const UpdateUserResponseFilterSensitiveLog: (obj: UpdateUserResponse) => any;
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
+ import { DocumentType as __DocumentType } from "@aws-sdk/types";
3
+ import { IdentitystoreServiceException as __BaseException } from "./IdentitystoreServiceException";
4
+ export declare class AccessDeniedException extends __BaseException {
5
+ readonly name: "AccessDeniedException";
6
+ readonly $fault: "client";
7
+ Message?: string;
8
+ RequestId?: string;
9
+ constructor(
10
+ opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
11
+ );
12
+ }
13
+ export interface Address {
14
+ StreetAddress?: string;
15
+ Locality?: string;
16
+ Region?: string;
17
+ PostalCode?: string;
18
+ Country?: string;
19
+ Formatted?: string;
20
+ Type?: string;
21
+ Primary?: boolean;
22
+ }
23
+ export interface ExternalId {
24
+ Issuer: string | undefined;
25
+ Id: string | undefined;
26
+ }
27
+ export interface UniqueAttribute {
28
+ AttributePath: string | undefined;
29
+ AttributeValue: __DocumentType | undefined;
30
+ }
31
+ export declare type AlternateIdentifier =
32
+ | AlternateIdentifier.ExternalIdMember
33
+ | AlternateIdentifier.UniqueAttributeMember
34
+ | AlternateIdentifier.$UnknownMember;
35
+ export declare namespace AlternateIdentifier {
36
+ interface ExternalIdMember {
37
+ ExternalId: ExternalId;
38
+ UniqueAttribute?: never;
39
+ $unknown?: never;
40
+ }
41
+ interface UniqueAttributeMember {
42
+ ExternalId?: never;
43
+ UniqueAttribute: UniqueAttribute;
44
+ $unknown?: never;
45
+ }
46
+ interface $UnknownMember {
47
+ ExternalId?: never;
48
+ UniqueAttribute?: never;
49
+ $unknown: [string, any];
50
+ }
51
+ interface Visitor<T> {
52
+ ExternalId: (value: ExternalId) => T;
53
+ UniqueAttribute: (value: UniqueAttribute) => T;
54
+ _: (name: string, value: any) => T;
55
+ }
56
+ const visit: <T>(value: AlternateIdentifier, visitor: Visitor<T>) => T;
57
+ }
58
+ export interface AttributeOperation {
59
+ AttributePath: string | undefined;
60
+ AttributeValue?: __DocumentType;
61
+ }
62
+ export interface GetGroupIdRequest {
63
+ IdentityStoreId: string | undefined;
64
+ AlternateIdentifier: AlternateIdentifier | undefined;
65
+ }
66
+ export interface GetGroupIdResponse {
67
+ GroupId: string | undefined;
68
+ IdentityStoreId: string | undefined;
69
+ }
70
+ export declare enum ResourceType {
71
+ GROUP = "GROUP",
72
+ GROUP_MEMBERSHIP = "GROUP_MEMBERSHIP",
73
+ IDENTITY_STORE = "IDENTITY_STORE",
74
+ USER = "USER",
75
+ }
76
+ export declare class ResourceNotFoundException extends __BaseException {
77
+ readonly name: "ResourceNotFoundException";
78
+ readonly $fault: "client";
79
+ ResourceType?: ResourceType | string;
80
+ ResourceId?: string;
81
+ Message?: string;
82
+ RequestId?: string;
83
+ constructor(
84
+ opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
85
+ );
86
+ }
87
+ export declare class ValidationException extends __BaseException {
88
+ readonly name: "ValidationException";
89
+ readonly $fault: "client";
90
+ Message?: string;
91
+ RequestId?: string;
92
+ constructor(
93
+ opts: __ExceptionOptionType<ValidationException, __BaseException>
94
+ );
95
+ }
96
+ export declare type MemberId = MemberId.UserIdMember | MemberId.$UnknownMember;
97
+ export declare namespace MemberId {
98
+ interface UserIdMember {
99
+ UserId: string;
100
+ $unknown?: never;
101
+ }
102
+ interface $UnknownMember {
103
+ UserId?: never;
104
+ $unknown: [string, any];
105
+ }
106
+ interface Visitor<T> {
107
+ UserId: (value: string) => T;
108
+ _: (name: string, value: any) => T;
109
+ }
110
+ const visit: <T>(value: MemberId, visitor: Visitor<T>) => T;
111
+ }
112
+ export interface GetGroupMembershipIdRequest {
113
+ IdentityStoreId: string | undefined;
114
+ GroupId: string | undefined;
115
+ MemberId: MemberId | undefined;
116
+ }
117
+ export interface GetGroupMembershipIdResponse {
118
+ MembershipId: string | undefined;
119
+ IdentityStoreId: string | undefined;
120
+ }
121
+ export interface GetUserIdRequest {
122
+ IdentityStoreId: string | undefined;
123
+ AlternateIdentifier: AlternateIdentifier | undefined;
124
+ }
125
+ export interface GetUserIdResponse {
126
+ UserId: string | undefined;
127
+ IdentityStoreId: string | undefined;
128
+ }
129
+ export declare enum ConflictExceptionReason {
130
+ CONCURRENT_MODIFICATION = "CONCURRENT_MODIFICATION",
131
+ UNIQUENESS_CONSTRAINT_VIOLATION = "UNIQUENESS_CONSTRAINT_VIOLATION",
132
+ }
133
+ export declare class ConflictException extends __BaseException {
134
+ readonly name: "ConflictException";
135
+ readonly $fault: "client";
136
+ Message?: string;
137
+ RequestId?: string;
138
+ Reason?: ConflictExceptionReason | string;
139
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
140
+ }
141
+ export interface CreateGroupMembershipRequest {
142
+ IdentityStoreId: string | undefined;
143
+ GroupId: string | undefined;
144
+ MemberId: MemberId | undefined;
145
+ }
146
+ export interface CreateGroupMembershipResponse {
147
+ MembershipId: string | undefined;
148
+ IdentityStoreId: string | undefined;
149
+ }
150
+ export declare class ServiceQuotaExceededException extends __BaseException {
151
+ readonly name: "ServiceQuotaExceededException";
152
+ readonly $fault: "client";
153
+ Message?: string;
154
+ RequestId?: string;
155
+ constructor(
156
+ opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
157
+ );
158
+ }
159
+ export interface DeleteGroupMembershipRequest {
160
+ IdentityStoreId: string | undefined;
161
+ MembershipId: string | undefined;
162
+ }
163
+ export interface DeleteGroupMembershipResponse {}
164
+ export interface DescribeGroupMembershipRequest {
165
+ IdentityStoreId: string | undefined;
166
+ MembershipId: string | undefined;
167
+ }
168
+ export interface DescribeGroupMembershipResponse {
169
+ IdentityStoreId: string | undefined;
170
+ MembershipId: string | undefined;
171
+ GroupId: string | undefined;
172
+ MemberId: MemberId | undefined;
173
+ }
174
+ export interface ListGroupMembershipsRequest {
175
+ IdentityStoreId: string | undefined;
176
+ GroupId: string | undefined;
177
+ MaxResults?: number;
178
+ NextToken?: string;
179
+ }
180
+ export interface GroupMembership {
181
+ IdentityStoreId: string | undefined;
182
+ MembershipId?: string;
183
+ GroupId?: string;
184
+ MemberId?: MemberId;
185
+ }
186
+ export interface ListGroupMembershipsResponse {
187
+ GroupMemberships: GroupMembership[] | undefined;
188
+ NextToken?: string;
189
+ }
190
+ export interface CreateGroupRequest {
191
+ IdentityStoreId: string | undefined;
192
+ DisplayName?: string;
193
+ Description?: string;
194
+ }
195
+ export interface CreateGroupResponse {
196
+ GroupId: string | undefined;
197
+ IdentityStoreId: string | undefined;
198
+ }
199
+ export interface DeleteGroupRequest {
200
+ IdentityStoreId: string | undefined;
201
+ GroupId: string | undefined;
202
+ }
203
+ export interface DeleteGroupResponse {}
204
+ export interface DescribeGroupRequest {
205
+ IdentityStoreId: string | undefined;
206
+ GroupId: string | undefined;
207
+ }
208
+ export interface DescribeGroupResponse {
209
+ GroupId: string | undefined;
210
+ DisplayName?: string;
211
+ ExternalIds?: ExternalId[];
212
+ Description?: string;
213
+ IdentityStoreId: string | undefined;
214
+ }
215
+ export interface Filter {
216
+ AttributePath: string | undefined;
217
+ AttributeValue: string | undefined;
218
+ }
219
+ export interface ListGroupsRequest {
220
+ IdentityStoreId: string | undefined;
221
+ MaxResults?: number;
222
+ NextToken?: string;
223
+ Filters?: Filter[];
224
+ }
225
+ export interface Group {
226
+ GroupId: string | undefined;
227
+ DisplayName?: string;
228
+ ExternalIds?: ExternalId[];
229
+ Description?: string;
230
+ IdentityStoreId: string | undefined;
231
+ }
232
+ export interface ListGroupsResponse {
233
+ Groups: Group[] | undefined;
234
+ NextToken?: string;
235
+ }
236
+ export interface UpdateGroupRequest {
237
+ IdentityStoreId: string | undefined;
238
+ GroupId: string | undefined;
239
+ Operations: AttributeOperation[] | undefined;
240
+ }
241
+ export interface UpdateGroupResponse {}
242
+ export declare class InternalServerException extends __BaseException {
243
+ readonly name: "InternalServerException";
244
+ readonly $fault: "server";
245
+ $retryable: {};
246
+ Message?: string;
247
+ RequestId?: string;
248
+ RetryAfterSeconds?: number;
249
+ constructor(
250
+ opts: __ExceptionOptionType<InternalServerException, __BaseException>
251
+ );
252
+ }
253
+ export interface IsMemberInGroupsRequest {
254
+ IdentityStoreId: string | undefined;
255
+ MemberId: MemberId | undefined;
256
+ GroupIds: string[] | undefined;
257
+ }
258
+ export interface GroupMembershipExistenceResult {
259
+ GroupId?: string;
260
+ MemberId?: MemberId;
261
+ MembershipExists?: boolean;
262
+ }
263
+ export interface IsMemberInGroupsResponse {
264
+ Results: GroupMembershipExistenceResult[] | undefined;
265
+ }
266
+ export interface ListGroupMembershipsForMemberRequest {
267
+ IdentityStoreId: string | undefined;
268
+ MemberId: MemberId | undefined;
269
+ MaxResults?: number;
270
+ NextToken?: string;
271
+ }
272
+ export interface ListGroupMembershipsForMemberResponse {
273
+ GroupMemberships: GroupMembership[] | undefined;
274
+ NextToken?: string;
275
+ }
276
+ export declare class ThrottlingException extends __BaseException {
277
+ readonly name: "ThrottlingException";
278
+ readonly $fault: "client";
279
+ $retryable: {
280
+ throttling: boolean;
281
+ };
282
+ Message?: string;
283
+ RequestId?: string;
284
+ RetryAfterSeconds?: number;
285
+ constructor(
286
+ opts: __ExceptionOptionType<ThrottlingException, __BaseException>
287
+ );
288
+ }
289
+ export interface Email {
290
+ Value?: string;
291
+ Type?: string;
292
+ Primary?: boolean;
293
+ }
294
+ export interface Name {
295
+ Formatted?: string;
296
+ FamilyName?: string;
297
+ GivenName?: string;
298
+ MiddleName?: string;
299
+ HonorificPrefix?: string;
300
+ HonorificSuffix?: string;
301
+ }
302
+ export interface PhoneNumber {
303
+ Value?: string;
304
+ Type?: string;
305
+ Primary?: boolean;
306
+ }
307
+ export interface CreateUserRequest {
308
+ IdentityStoreId: string | undefined;
309
+ UserName?: string;
310
+ Name?: Name;
311
+ DisplayName?: string;
312
+ NickName?: string;
313
+ ProfileUrl?: string;
314
+ Emails?: Email[];
315
+ Addresses?: Address[];
316
+ PhoneNumbers?: PhoneNumber[];
317
+ UserType?: string;
318
+ Title?: string;
319
+ PreferredLanguage?: string;
320
+ Locale?: string;
321
+ Timezone?: string;
322
+ }
323
+ export interface CreateUserResponse {
324
+ UserId: string | undefined;
325
+ IdentityStoreId: string | undefined;
326
+ }
327
+ export interface DeleteUserRequest {
328
+ IdentityStoreId: string | undefined;
329
+ UserId: string | undefined;
330
+ }
331
+ export interface DeleteUserResponse {}
332
+ export interface DescribeUserRequest {
333
+ IdentityStoreId: string | undefined;
334
+ UserId: string | undefined;
335
+ }
336
+ export interface DescribeUserResponse {
337
+ UserName?: string;
338
+ UserId: string | undefined;
339
+ ExternalIds?: ExternalId[];
340
+ Name?: Name;
341
+ DisplayName?: string;
342
+ NickName?: string;
343
+ ProfileUrl?: string;
344
+ Emails?: Email[];
345
+ Addresses?: Address[];
346
+ PhoneNumbers?: PhoneNumber[];
347
+ UserType?: string;
348
+ Title?: string;
349
+ PreferredLanguage?: string;
350
+ Locale?: string;
351
+ Timezone?: string;
352
+ IdentityStoreId: string | undefined;
353
+ }
354
+ export interface ListUsersRequest {
355
+ IdentityStoreId: string | undefined;
356
+ MaxResults?: number;
357
+ NextToken?: string;
358
+ Filters?: Filter[];
359
+ }
360
+ export interface User {
361
+ UserName?: string;
362
+ UserId: string | undefined;
363
+ ExternalIds?: ExternalId[];
364
+ Name?: Name;
365
+ DisplayName?: string;
366
+ NickName?: string;
367
+ ProfileUrl?: string;
368
+ Emails?: Email[];
369
+ Addresses?: Address[];
370
+ PhoneNumbers?: PhoneNumber[];
371
+ UserType?: string;
372
+ Title?: string;
373
+ PreferredLanguage?: string;
374
+ Locale?: string;
375
+ Timezone?: string;
376
+ IdentityStoreId: string | undefined;
377
+ }
378
+ export interface ListUsersResponse {
379
+ Users: User[] | undefined;
380
+ NextToken?: string;
381
+ }
382
+ export interface UpdateUserRequest {
383
+ IdentityStoreId: string | undefined;
384
+ UserId: string | undefined;
385
+ Operations: AttributeOperation[] | undefined;
386
+ }
387
+ export interface UpdateUserResponse {}
388
+ export declare const AddressFilterSensitiveLog: (obj: Address) => any;
389
+ export declare const ExternalIdFilterSensitiveLog: (obj: ExternalId) => any;
390
+ export declare const UniqueAttributeFilterSensitiveLog: (
391
+ obj: UniqueAttribute
392
+ ) => any;
393
+ export declare const AlternateIdentifierFilterSensitiveLog: (
394
+ obj: AlternateIdentifier
395
+ ) => any;
396
+ export declare const AttributeOperationFilterSensitiveLog: (
397
+ obj: AttributeOperation
398
+ ) => any;
399
+ export declare const GetGroupIdRequestFilterSensitiveLog: (
400
+ obj: GetGroupIdRequest
401
+ ) => any;
402
+ export declare const GetGroupIdResponseFilterSensitiveLog: (
403
+ obj: GetGroupIdResponse
404
+ ) => any;
405
+ export declare const MemberIdFilterSensitiveLog: (obj: MemberId) => any;
406
+ export declare const GetGroupMembershipIdRequestFilterSensitiveLog: (
407
+ obj: GetGroupMembershipIdRequest
408
+ ) => any;
409
+ export declare const GetGroupMembershipIdResponseFilterSensitiveLog: (
410
+ obj: GetGroupMembershipIdResponse
411
+ ) => any;
412
+ export declare const GetUserIdRequestFilterSensitiveLog: (
413
+ obj: GetUserIdRequest
414
+ ) => any;
415
+ export declare const GetUserIdResponseFilterSensitiveLog: (
416
+ obj: GetUserIdResponse
417
+ ) => any;
418
+ export declare const CreateGroupMembershipRequestFilterSensitiveLog: (
419
+ obj: CreateGroupMembershipRequest
420
+ ) => any;
421
+ export declare const CreateGroupMembershipResponseFilterSensitiveLog: (
422
+ obj: CreateGroupMembershipResponse
423
+ ) => any;
424
+ export declare const DeleteGroupMembershipRequestFilterSensitiveLog: (
425
+ obj: DeleteGroupMembershipRequest
426
+ ) => any;
427
+ export declare const DeleteGroupMembershipResponseFilterSensitiveLog: (
428
+ obj: DeleteGroupMembershipResponse
429
+ ) => any;
430
+ export declare const DescribeGroupMembershipRequestFilterSensitiveLog: (
431
+ obj: DescribeGroupMembershipRequest
432
+ ) => any;
433
+ export declare const DescribeGroupMembershipResponseFilterSensitiveLog: (
434
+ obj: DescribeGroupMembershipResponse
435
+ ) => any;
436
+ export declare const ListGroupMembershipsRequestFilterSensitiveLog: (
437
+ obj: ListGroupMembershipsRequest
438
+ ) => any;
439
+ export declare const GroupMembershipFilterSensitiveLog: (
440
+ obj: GroupMembership
441
+ ) => any;
442
+ export declare const ListGroupMembershipsResponseFilterSensitiveLog: (
443
+ obj: ListGroupMembershipsResponse
444
+ ) => any;
445
+ export declare const CreateGroupRequestFilterSensitiveLog: (
446
+ obj: CreateGroupRequest
447
+ ) => any;
448
+ export declare const CreateGroupResponseFilterSensitiveLog: (
449
+ obj: CreateGroupResponse
450
+ ) => any;
451
+ export declare const DeleteGroupRequestFilterSensitiveLog: (
452
+ obj: DeleteGroupRequest
453
+ ) => any;
454
+ export declare const DeleteGroupResponseFilterSensitiveLog: (
455
+ obj: DeleteGroupResponse
456
+ ) => any;
457
+ export declare const DescribeGroupRequestFilterSensitiveLog: (
458
+ obj: DescribeGroupRequest
459
+ ) => any;
460
+ export declare const DescribeGroupResponseFilterSensitiveLog: (
461
+ obj: DescribeGroupResponse
462
+ ) => any;
463
+ export declare const FilterFilterSensitiveLog: (obj: Filter) => any;
464
+ export declare const ListGroupsRequestFilterSensitiveLog: (
465
+ obj: ListGroupsRequest
466
+ ) => any;
467
+ export declare const GroupFilterSensitiveLog: (obj: Group) => any;
468
+ export declare const ListGroupsResponseFilterSensitiveLog: (
469
+ obj: ListGroupsResponse
470
+ ) => any;
471
+ export declare const UpdateGroupRequestFilterSensitiveLog: (
472
+ obj: UpdateGroupRequest
473
+ ) => any;
474
+ export declare const UpdateGroupResponseFilterSensitiveLog: (
475
+ obj: UpdateGroupResponse
476
+ ) => any;
477
+ export declare const IsMemberInGroupsRequestFilterSensitiveLog: (
478
+ obj: IsMemberInGroupsRequest
479
+ ) => any;
480
+ export declare const GroupMembershipExistenceResultFilterSensitiveLog: (
481
+ obj: GroupMembershipExistenceResult
482
+ ) => any;
483
+ export declare const IsMemberInGroupsResponseFilterSensitiveLog: (
484
+ obj: IsMemberInGroupsResponse
485
+ ) => any;
486
+ export declare const ListGroupMembershipsForMemberRequestFilterSensitiveLog: (
487
+ obj: ListGroupMembershipsForMemberRequest
488
+ ) => any;
489
+ export declare const ListGroupMembershipsForMemberResponseFilterSensitiveLog: (
490
+ obj: ListGroupMembershipsForMemberResponse
491
+ ) => any;
492
+ export declare const EmailFilterSensitiveLog: (obj: Email) => any;
493
+ export declare const NameFilterSensitiveLog: (obj: Name) => any;
494
+ export declare const PhoneNumberFilterSensitiveLog: (obj: PhoneNumber) => any;
495
+ export declare const CreateUserRequestFilterSensitiveLog: (
496
+ obj: CreateUserRequest
497
+ ) => any;
498
+ export declare const CreateUserResponseFilterSensitiveLog: (
499
+ obj: CreateUserResponse
500
+ ) => any;
501
+ export declare const DeleteUserRequestFilterSensitiveLog: (
502
+ obj: DeleteUserRequest
503
+ ) => any;
504
+ export declare const DeleteUserResponseFilterSensitiveLog: (
505
+ obj: DeleteUserResponse
506
+ ) => any;
507
+ export declare const DescribeUserRequestFilterSensitiveLog: (
508
+ obj: DescribeUserRequest
509
+ ) => any;
510
+ export declare const DescribeUserResponseFilterSensitiveLog: (
511
+ obj: DescribeUserResponse
512
+ ) => any;
513
+ export declare const ListUsersRequestFilterSensitiveLog: (
514
+ obj: ListUsersRequest
515
+ ) => any;
516
+ export declare const UserFilterSensitiveLog: (obj: User) => any;
517
+ export declare const ListUsersResponseFilterSensitiveLog: (
518
+ obj: ListUsersResponse
519
+ ) => any;
520
+ export declare const UpdateUserRequestFilterSensitiveLog: (
521
+ obj: UpdateUserRequest
522
+ ) => any;
523
+ export declare const UpdateUserResponseFilterSensitiveLog: (
524
+ obj: UpdateUserResponse
525
+ ) => any;