@aws-sdk/client-identitystore 3.946.0 → 3.948.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.
package/dist-cjs/index.js CHANGED
@@ -301,6 +301,7 @@ const _EII = "ExternalIdIdentifier";
301
301
  const _EIIx = "ExternalIdIssuer";
302
302
  const _EIx = "ExternalId";
303
303
  const _Em = "Email";
304
+ const _Ex = "Extensions";
304
305
  const _F = "Formatted";
305
306
  const _FN = "FamilyName";
306
307
  const _Fi = "Filter";
@@ -465,7 +466,7 @@ var CreateUserRequest = [
465
466
  n0,
466
467
  _CUR,
467
468
  0,
468
- [_ISI, _UN, _N, _DN, _NN, _PU, _E, _Ad, _PN, _UT, _Ti, _PL, _Lo, _Tim, _Ph, _W, _B],
469
+ [_ISI, _UN, _N, _DN, _NN, _PU, _E, _Ad, _PN, _UT, _Ti, _PL, _Lo, _Tim, _Ph, _W, _B, _Ex],
469
470
  [
470
471
  0,
471
472
  [() => UserName, 0],
@@ -484,6 +485,7 @@ var CreateUserRequest = [
484
485
  [() => Photos, 0],
485
486
  [() => SensitiveStringType, 0],
486
487
  [() => SensitiveStringType, 0],
488
+ 128 | 15,
487
489
  ],
488
490
  ];
489
491
  var CreateUserResponse = [3, n0, _CURr, 0, [_ISI, _UI], [0, 0]];
@@ -511,7 +513,7 @@ var DescribeGroupResponse = [
511
513
  [_GI, _DN, _EI, _D, _CA, _UA, _CB, _UB, _ISI],
512
514
  [0, [() => GroupDisplayName, 0], [() => ExternalIds, 0], [() => SensitiveStringType, 0], 4, 4, 0, 0, 0],
513
515
  ];
514
- var DescribeUserRequest = [3, n0, _DURes, 0, [_ISI, _UI], [0, 0]];
516
+ var DescribeUserRequest = [3, n0, _DURes, 0, [_ISI, _UI, _Ex], [0, 0, 64 | 0]];
515
517
  var DescribeUserResponse = [
516
518
  3,
517
519
  n0,
@@ -542,6 +544,7 @@ var DescribeUserResponse = [
542
544
  _CB,
543
545
  _UA,
544
546
  _UB,
547
+ _Ex,
545
548
  ],
546
549
  [
547
550
  0,
@@ -568,6 +571,7 @@ var DescribeUserResponse = [
568
571
  0,
569
572
  4,
570
573
  0,
574
+ 128 | 15,
571
575
  ],
572
576
  ];
573
577
  var Email = [
@@ -709,8 +713,8 @@ var ListUsersRequest = [
709
713
  n0,
710
714
  _LUR,
711
715
  0,
712
- [_ISI, _MR, _NT, _Fil],
713
- [0, 1, 0, [() => Filters, 0]],
716
+ [_ISI, _Ex, _MR, _NT, _Fil],
717
+ [0, 64 | 0, 1, 0, [() => Filters, 0]],
714
718
  ];
715
719
  var ListUsersResponse = [3, n0, _LURi, 0, [_U, _NT], [[() => Users, 0], 0]];
716
720
  var Name = [
@@ -829,6 +833,7 @@ var User = [
829
833
  _CB,
830
834
  _UA,
831
835
  _UB,
836
+ _Ex,
832
837
  ],
833
838
  [
834
839
  0,
@@ -855,6 +860,7 @@ var User = [
855
860
  0,
856
861
  4,
857
862
  0,
863
+ 128 | 15,
858
864
  ],
859
865
  ];
860
866
  var ValidationException = [-3, n0, _VE, { [_e]: _c, [_hE]: 400 }, [_M, _RI, _R], [0, 0, 0]];
@@ -1241,6 +1247,7 @@ const ResourceType = {
1241
1247
  GROUP: "GROUP",
1242
1248
  GROUP_MEMBERSHIP: "GROUP_MEMBERSHIP",
1243
1249
  IDENTITY_STORE: "IDENTITY_STORE",
1250
+ RESOURCE_POLICY: "RESOURCE_POLICY",
1244
1251
  USER: "USER",
1245
1252
  };
1246
1253
  const ThrottlingExceptionReason = {
@@ -8,6 +8,7 @@ export const ResourceType = {
8
8
  GROUP: "GROUP",
9
9
  GROUP_MEMBERSHIP: "GROUP_MEMBERSHIP",
10
10
  IDENTITY_STORE: "IDENTITY_STORE",
11
+ RESOURCE_POLICY: "RESOURCE_POLICY",
11
12
  USER: "USER",
12
13
  };
13
14
  export const ThrottlingExceptionReason = {
@@ -47,6 +47,7 @@ const _EII = "ExternalIdIdentifier";
47
47
  const _EIIx = "ExternalIdIssuer";
48
48
  const _EIx = "ExternalId";
49
49
  const _Em = "Email";
50
+ const _Ex = "Extensions";
50
51
  const _F = "Formatted";
51
52
  const _FN = "FamilyName";
52
53
  const _Fi = "Filter";
@@ -214,7 +215,7 @@ export var CreateUserRequest = [
214
215
  n0,
215
216
  _CUR,
216
217
  0,
217
- [_ISI, _UN, _N, _DN, _NN, _PU, _E, _Ad, _PN, _UT, _Ti, _PL, _Lo, _Tim, _Ph, _W, _B],
218
+ [_ISI, _UN, _N, _DN, _NN, _PU, _E, _Ad, _PN, _UT, _Ti, _PL, _Lo, _Tim, _Ph, _W, _B, _Ex],
218
219
  [
219
220
  0,
220
221
  [() => UserName, 0],
@@ -233,6 +234,7 @@ export var CreateUserRequest = [
233
234
  [() => Photos, 0],
234
235
  [() => SensitiveStringType, 0],
235
236
  [() => SensitiveStringType, 0],
237
+ 128 | 15,
236
238
  ],
237
239
  ];
238
240
  export var CreateUserResponse = [3, n0, _CURr, 0, [_ISI, _UI], [0, 0]];
@@ -260,7 +262,7 @@ export var DescribeGroupResponse = [
260
262
  [_GI, _DN, _EI, _D, _CA, _UA, _CB, _UB, _ISI],
261
263
  [0, [() => GroupDisplayName, 0], [() => ExternalIds, 0], [() => SensitiveStringType, 0], 4, 4, 0, 0, 0],
262
264
  ];
263
- export var DescribeUserRequest = [3, n0, _DURes, 0, [_ISI, _UI], [0, 0]];
265
+ export var DescribeUserRequest = [3, n0, _DURes, 0, [_ISI, _UI, _Ex], [0, 0, 64 | 0]];
264
266
  export var DescribeUserResponse = [
265
267
  3,
266
268
  n0,
@@ -291,6 +293,7 @@ export var DescribeUserResponse = [
291
293
  _CB,
292
294
  _UA,
293
295
  _UB,
296
+ _Ex,
294
297
  ],
295
298
  [
296
299
  0,
@@ -317,6 +320,7 @@ export var DescribeUserResponse = [
317
320
  0,
318
321
  4,
319
322
  0,
323
+ 128 | 15,
320
324
  ],
321
325
  ];
322
326
  export var Email = [
@@ -458,8 +462,8 @@ export var ListUsersRequest = [
458
462
  n0,
459
463
  _LUR,
460
464
  0,
461
- [_ISI, _MR, _NT, _Fil],
462
- [0, 1, 0, [() => Filters, 0]],
465
+ [_ISI, _Ex, _MR, _NT, _Fil],
466
+ [0, 64 | 0, 1, 0, [() => Filters, 0]],
463
467
  ];
464
468
  export var ListUsersResponse = [3, n0, _LURi, 0, [_U, _NT], [[() => Users, 0], 0]];
465
469
  export var Name = [
@@ -578,6 +582,7 @@ export var User = [
578
582
  _CB,
579
583
  _UA,
580
584
  _UB,
585
+ _Ex,
581
586
  ],
582
587
  [
583
588
  0,
@@ -604,16 +609,17 @@ export var User = [
604
609
  0,
605
610
  4,
606
611
  0,
612
+ 128 | 15,
607
613
  ],
608
614
  ];
609
615
  export var ValidationException = [-3, n0, _VE, { [_e]: _c, [_hE]: 400 }, [_M, _RI, _R], [0, 0, 0]];
610
616
  TypeRegistry.for(n0).registerError(ValidationException, __ValidationException);
611
- export var __Unit = "unit";
612
617
  export var IdentitystoreServiceException = [-3, _sm, "IdentitystoreServiceException", 0, [], []];
613
618
  TypeRegistry.for(_sm).registerError(IdentitystoreServiceException, __IdentitystoreServiceException);
614
619
  export var Addresses = [1, n0, _Ad, 0, [() => Address, 0]];
615
620
  export var AttributeOperations = [1, n0, _AOt, 0, () => AttributeOperation];
616
621
  export var Emails = [1, n0, _E, 0, [() => Email, 0]];
622
+ export var ExtensionNames = 64 | 0;
617
623
  export var ExternalIds = [1, n0, _EI, 0, [() => ExternalId, 0]];
618
624
  export var Filters = [1, n0, _Fil, 0, [() => Filter, 0]];
619
625
  export var GroupIds = 64 | 0;
@@ -629,6 +635,7 @@ export var Groups = [1, n0, _Gr, 0, [() => Group, 0]];
629
635
  export var PhoneNumbers = [1, n0, _PN, 0, [() => PhoneNumber, 0]];
630
636
  export var Photos = [1, n0, _Ph, 0, [() => Photo, 0]];
631
637
  export var Users = [1, n0, _U, 0, [() => User, 0]];
638
+ export var Extensions = 128 | 15;
632
639
  export var AlternateIdentifier = [
633
640
  3,
634
641
  n0,
@@ -91,6 +91,9 @@ declare const CreateUserCommand_base: {
91
91
  * ],
92
92
  * Website: "STRING_VALUE",
93
93
  * Birthdate: "STRING_VALUE",
94
+ * Extensions: { // Extensions
95
+ * "<keys>": "DOCUMENT_VALUE",
96
+ * },
94
97
  * };
95
98
  * const command = new CreateUserCommand(input);
96
99
  * const response = await client.send(command);
@@ -39,6 +39,9 @@ declare const DescribeUserCommand_base: {
39
39
  * const input = { // DescribeUserRequest
40
40
  * IdentityStoreId: "STRING_VALUE", // required
41
41
  * UserId: "STRING_VALUE", // required
42
+ * Extensions: [ // ExtensionNames
43
+ * "STRING_VALUE",
44
+ * ],
42
45
  * };
43
46
  * const command = new DescribeUserCommand(input);
44
47
  * const response = await client.send(command);
@@ -109,6 +112,9 @@ declare const DescribeUserCommand_base: {
109
112
  * // CreatedBy: "STRING_VALUE",
110
113
  * // UpdatedAt: new Date("TIMESTAMP"),
111
114
  * // UpdatedBy: "STRING_VALUE",
115
+ * // Extensions: { // Extensions
116
+ * // "<keys>": "DOCUMENT_VALUE",
117
+ * // },
112
118
  * // };
113
119
  *
114
120
  * ```
@@ -38,6 +38,9 @@ declare const ListUsersCommand_base: {
38
38
  * const client = new IdentitystoreClient(config);
39
39
  * const input = { // ListUsersRequest
40
40
  * IdentityStoreId: "STRING_VALUE", // required
41
+ * Extensions: [ // ExtensionNames
42
+ * "STRING_VALUE",
43
+ * ],
41
44
  * MaxResults: Number("int"),
42
45
  * NextToken: "STRING_VALUE",
43
46
  * Filters: [ // Filters
@@ -118,6 +121,9 @@ declare const ListUsersCommand_base: {
118
121
  * // CreatedBy: "STRING_VALUE",
119
122
  * // UpdatedAt: new Date("TIMESTAMP"),
120
123
  * // UpdatedBy: "STRING_VALUE",
124
+ * // Extensions: { // Extensions
125
+ * // "<keys>": "DOCUMENT_VALUE",
126
+ * // },
121
127
  * // },
122
128
  * // ],
123
129
  * // NextToken: "STRING_VALUE",
@@ -28,6 +28,7 @@ export declare const ResourceType: {
28
28
  readonly GROUP: "GROUP";
29
29
  readonly GROUP_MEMBERSHIP: "GROUP_MEMBERSHIP";
30
30
  readonly IDENTITY_STORE: "IDENTITY_STORE";
31
+ readonly RESOURCE_POLICY: "RESOURCE_POLICY";
31
32
  readonly USER: "USER";
32
33
  };
33
34
  /**
@@ -149,7 +149,7 @@ export declare class ConflictException extends __BaseException {
149
149
  */
150
150
  RequestId?: string | undefined;
151
151
  /**
152
- * <p>This request cannot be completed for one of the following reasons:</p> <ul> <li> <p>Performing the requested operation would violate an existing uniqueness claim in the identity store. Resolve the conflict before retrying this request.</p> </li> <li> <p>The requested resource was being concurrently modified by another request.</p> </li> </ul>
152
+ * <p>Indicates the reason for a conflict error when the service is unable to access a Customer Managed KMS key. For non-KMS permission errors, this field is not included.</p>
153
153
  * @public
154
154
  */
155
155
  Reason?: ConflictExceptionReason | undefined;
@@ -1006,6 +1006,11 @@ export interface CreateUserRequest {
1006
1006
  * @public
1007
1007
  */
1008
1008
  Birthdate?: string | undefined;
1009
+ /**
1010
+ * <p>A map with additional attribute extensions for the user. Each map key corresponds to an extension name, while map values represent extension data in <code>Document</code> type (not supported by Java V1, Go V1 and older versions of the CLI). <code>aws:identitystore:enterprise</code> is the only supported extension name.</p>
1011
+ * @public
1012
+ */
1013
+ Extensions?: Record<string, __DocumentType> | undefined;
1009
1014
  }
1010
1015
  /**
1011
1016
  * @public
@@ -1056,6 +1061,11 @@ export interface DescribeUserRequest {
1056
1061
  * @public
1057
1062
  */
1058
1063
  UserId: string | undefined;
1064
+ /**
1065
+ * <p>A collection of extension names indicating what extensions the service should retrieve alongside other user attributes. <code>aws:identitystore:enterprise</code> is the only supported extension name.</p>
1066
+ * @public
1067
+ */
1068
+ Extensions?: string[] | undefined;
1059
1069
  }
1060
1070
  /**
1061
1071
  * @public
@@ -1181,6 +1191,11 @@ export interface DescribeUserResponse {
1181
1191
  * @public
1182
1192
  */
1183
1193
  UpdatedBy?: string | undefined;
1194
+ /**
1195
+ * <p>A map of explicitly requested attribute extensions associated with the user. Not populated if the user has no requested extensions.</p>
1196
+ * @public
1197
+ */
1198
+ Extensions?: Record<string, __DocumentType> | undefined;
1184
1199
  }
1185
1200
  /**
1186
1201
  * @public
@@ -1191,6 +1206,11 @@ export interface ListUsersRequest {
1191
1206
  * @public
1192
1207
  */
1193
1208
  IdentityStoreId: string | undefined;
1209
+ /**
1210
+ * <p>A collection of extension names indicating what extensions the service should retrieve alongside other user attributes. <code>aws:identitystore:enterprise</code> is the only supported extension name.</p>
1211
+ * @public
1212
+ */
1213
+ Extensions?: string[] | undefined;
1194
1214
  /**
1195
1215
  * <p>The maximum number of results to be returned per request. This parameter is used in the <code> ListUsers</code> and <code>ListGroups</code> requests to specify how many results to return in one page. The length limit is 50 characters.</p>
1196
1216
  * @public
@@ -1334,6 +1354,11 @@ export interface User {
1334
1354
  * @public
1335
1355
  */
1336
1356
  UpdatedBy?: string | undefined;
1357
+ /**
1358
+ * <p>A map of explicitly requested attribute extensions associated with the user. Not populated if the user has no requested extensions.</p>
1359
+ * @public
1360
+ */
1361
+ Extensions?: Record<string, __DocumentType> | undefined;
1337
1362
  }
1338
1363
  /**
1339
1364
  * @public
@@ -63,11 +63,11 @@ export declare var UpdateUserRequest: StaticStructureSchema;
63
63
  export declare var UpdateUserResponse: StaticStructureSchema;
64
64
  export declare var User: StaticStructureSchema;
65
65
  export declare var ValidationException: StaticErrorSchema;
66
- export declare var __Unit: "unit";
67
66
  export declare var IdentitystoreServiceException: StaticErrorSchema;
68
67
  export declare var Addresses: StaticListSchema;
69
68
  export declare var AttributeOperations: StaticListSchema;
70
69
  export declare var Emails: StaticListSchema;
70
+ export declare var ExtensionNames: number;
71
71
  export declare var ExternalIds: StaticListSchema;
72
72
  export declare var Filters: StaticListSchema;
73
73
  export declare var GroupIds: number;
@@ -77,6 +77,7 @@ export declare var Groups: StaticListSchema;
77
77
  export declare var PhoneNumbers: StaticListSchema;
78
78
  export declare var Photos: StaticListSchema;
79
79
  export declare var Users: StaticListSchema;
80
+ export declare var Extensions: number;
80
81
  export declare var AlternateIdentifier: StaticStructureSchema;
81
82
  export declare var MemberId: StaticStructureSchema;
82
83
  export declare var CreateGroup: StaticOperationSchema;
@@ -12,6 +12,7 @@ export declare const ResourceType: {
12
12
  readonly GROUP: "GROUP";
13
13
  readonly GROUP_MEMBERSHIP: "GROUP_MEMBERSHIP";
14
14
  readonly IDENTITY_STORE: "IDENTITY_STORE";
15
+ readonly RESOURCE_POLICY: "RESOURCE_POLICY";
15
16
  readonly USER: "USER";
16
17
  };
17
18
  export type ResourceType = (typeof ResourceType)[keyof typeof ResourceType];
@@ -261,6 +261,7 @@ export interface CreateUserRequest {
261
261
  Photos?: Photo[] | undefined;
262
262
  Website?: string | undefined;
263
263
  Birthdate?: string | undefined;
264
+ Extensions?: Record<string, __DocumentType> | undefined;
264
265
  }
265
266
  export interface CreateUserResponse {
266
267
  IdentityStoreId: string | undefined;
@@ -274,6 +275,7 @@ export interface DeleteUserResponse {}
274
275
  export interface DescribeUserRequest {
275
276
  IdentityStoreId: string | undefined;
276
277
  UserId: string | undefined;
278
+ Extensions?: string[] | undefined;
277
279
  }
278
280
  export interface DescribeUserResponse {
279
281
  IdentityStoreId: string | undefined;
@@ -300,9 +302,11 @@ export interface DescribeUserResponse {
300
302
  CreatedBy?: string | undefined;
301
303
  UpdatedAt?: Date | undefined;
302
304
  UpdatedBy?: string | undefined;
305
+ Extensions?: Record<string, __DocumentType> | undefined;
303
306
  }
304
307
  export interface ListUsersRequest {
305
308
  IdentityStoreId: string | undefined;
309
+ Extensions?: string[] | undefined;
306
310
  MaxResults?: number | undefined;
307
311
  NextToken?: string | undefined;
308
312
  Filters?: Filter[] | undefined;
@@ -332,6 +336,7 @@ export interface User {
332
336
  CreatedBy?: string | undefined;
333
337
  UpdatedAt?: Date | undefined;
334
338
  UpdatedBy?: string | undefined;
339
+ Extensions?: Record<string, __DocumentType> | undefined;
335
340
  }
336
341
  export interface ListUsersResponse {
337
342
  Users: User[] | undefined;
@@ -69,11 +69,11 @@ export declare var UpdateUserRequest: StaticStructureSchema;
69
69
  export declare var UpdateUserResponse: StaticStructureSchema;
70
70
  export declare var User: StaticStructureSchema;
71
71
  export declare var ValidationException: StaticErrorSchema;
72
- export declare var __Unit: "unit";
73
72
  export declare var IdentitystoreServiceException: StaticErrorSchema;
74
73
  export declare var Addresses: StaticListSchema;
75
74
  export declare var AttributeOperations: StaticListSchema;
76
75
  export declare var Emails: StaticListSchema;
76
+ export declare var ExtensionNames: number;
77
77
  export declare var ExternalIds: StaticListSchema;
78
78
  export declare var Filters: StaticListSchema;
79
79
  export declare var GroupIds: number;
@@ -83,6 +83,7 @@ export declare var Groups: StaticListSchema;
83
83
  export declare var PhoneNumbers: StaticListSchema;
84
84
  export declare var Photos: StaticListSchema;
85
85
  export declare var Users: StaticListSchema;
86
+ export declare var Extensions: number;
86
87
  export declare var AlternateIdentifier: StaticStructureSchema;
87
88
  export declare var MemberId: StaticStructureSchema;
88
89
  export declare var CreateGroup: StaticOperationSchema;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-identitystore",
3
3
  "description": "AWS SDK for JavaScript Identitystore Client for Node.js, Browser and React Native",
4
- "version": "3.946.0",
4
+ "version": "3.948.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-identitystore",
@@ -21,17 +21,17 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "5.2.0",
23
23
  "@aws-crypto/sha256-js": "5.2.0",
24
- "@aws-sdk/core": "3.946.0",
25
- "@aws-sdk/credential-provider-node": "3.946.0",
24
+ "@aws-sdk/core": "3.947.0",
25
+ "@aws-sdk/credential-provider-node": "3.948.0",
26
26
  "@aws-sdk/middleware-host-header": "3.936.0",
27
27
  "@aws-sdk/middleware-logger": "3.936.0",
28
- "@aws-sdk/middleware-recursion-detection": "3.936.0",
29
- "@aws-sdk/middleware-user-agent": "3.946.0",
28
+ "@aws-sdk/middleware-recursion-detection": "3.948.0",
29
+ "@aws-sdk/middleware-user-agent": "3.947.0",
30
30
  "@aws-sdk/region-config-resolver": "3.936.0",
31
31
  "@aws-sdk/types": "3.936.0",
32
32
  "@aws-sdk/util-endpoints": "3.936.0",
33
33
  "@aws-sdk/util-user-agent-browser": "3.936.0",
34
- "@aws-sdk/util-user-agent-node": "3.946.0",
34
+ "@aws-sdk/util-user-agent-node": "3.947.0",
35
35
  "@smithy/config-resolver": "^4.4.3",
36
36
  "@smithy/core": "^3.18.7",
37
37
  "@smithy/fetch-http-handler": "^5.3.6",