@aws-sdk/client-identitystore 3.957.0 → 3.962.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.
@@ -91,6 +91,13 @@ declare const CreateUserCommand_base: {
91
91
  * ],
92
92
  * Website: "STRING_VALUE",
93
93
  * Birthdate: "STRING_VALUE",
94
+ * Roles: [ // Roles
95
+ * { // Role
96
+ * Value: "STRING_VALUE",
97
+ * Type: "STRING_VALUE",
98
+ * Primary: true || false,
99
+ * },
100
+ * ],
94
101
  * Extensions: { // Extensions
95
102
  * "<keys>": "DOCUMENT_VALUE",
96
103
  * },
@@ -108,6 +108,13 @@ declare const DescribeUserCommand_base: {
108
108
  * // ],
109
109
  * // Website: "STRING_VALUE",
110
110
  * // Birthdate: "STRING_VALUE",
111
+ * // Roles: [ // Roles
112
+ * // { // Role
113
+ * // Value: "STRING_VALUE",
114
+ * // Type: "STRING_VALUE",
115
+ * // Primary: true || false,
116
+ * // },
117
+ * // ],
111
118
  * // CreatedAt: new Date("TIMESTAMP"),
112
119
  * // CreatedBy: "STRING_VALUE",
113
120
  * // UpdatedAt: new Date("TIMESTAMP"),
@@ -117,6 +117,13 @@ declare const ListUsersCommand_base: {
117
117
  * // ],
118
118
  * // Website: "STRING_VALUE",
119
119
  * // Birthdate: "STRING_VALUE",
120
+ * // Roles: [ // Roles
121
+ * // { // Role
122
+ * // Value: "STRING_VALUE",
123
+ * // Type: "STRING_VALUE",
124
+ * // Primary: true || false,
125
+ * // },
126
+ * // ],
120
127
  * // CreatedAt: new Date("TIMESTAMP"),
121
128
  * // CreatedBy: "STRING_VALUE",
122
129
  * // UpdatedAt: new Date("TIMESTAMP"),
@@ -917,6 +917,27 @@ export interface Photo {
917
917
  */
918
918
  Primary?: boolean | undefined;
919
919
  }
920
+ /**
921
+ * <p>The role associated with the user.</p>
922
+ * @public
923
+ */
924
+ export interface Role {
925
+ /**
926
+ * <p>A string containing a role name. For example, "Researcher."</p>
927
+ * @public
928
+ */
929
+ Value?: string | undefined;
930
+ /**
931
+ * <p>A string representing the type of role. For example, "Work."</p>
932
+ * @public
933
+ */
934
+ Type?: string | undefined;
935
+ /**
936
+ * <p>A Boolean value representing whether this is the primary role for the associated resource.</p>
937
+ * @public
938
+ */
939
+ Primary?: boolean | undefined;
940
+ }
920
941
  /**
921
942
  * @public
922
943
  */
@@ -1006,6 +1027,11 @@ export interface CreateUserRequest {
1006
1027
  * @public
1007
1028
  */
1008
1029
  Birthdate?: string | undefined;
1030
+ /**
1031
+ * <p>A list of <code>Role</code> objects containing roles associated with the user.</p>
1032
+ * @public
1033
+ */
1034
+ Roles?: Role[] | undefined;
1009
1035
  /**
1010
1036
  * <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
1037
  * @public
@@ -1171,6 +1197,11 @@ export interface DescribeUserResponse {
1171
1197
  * @public
1172
1198
  */
1173
1199
  Birthdate?: string | undefined;
1200
+ /**
1201
+ * <p>The roles of the user.</p>
1202
+ * @public
1203
+ */
1204
+ Roles?: Role[] | undefined;
1174
1205
  /**
1175
1206
  * <p>The date and time the user was created.</p>
1176
1207
  * @public
@@ -1334,6 +1365,11 @@ export interface User {
1334
1365
  * @public
1335
1366
  */
1336
1367
  Birthdate?: string | undefined;
1368
+ /**
1369
+ * <p>A list of <code>Role</code> objects containing roles associated with the user.</p>
1370
+ * @public
1371
+ */
1372
+ Roles?: Role[] | undefined;
1337
1373
  /**
1338
1374
  * <p>The date and time the user was created.</p>
1339
1375
  * @public
@@ -1,5 +1,5 @@
1
1
  export * from "./Interfaces";
2
- export * from "./ListGroupMembershipsForMemberPaginator";
3
2
  export * from "./ListGroupMembershipsPaginator";
3
+ export * from "./ListGroupMembershipsForMemberPaginator";
4
4
  export * from "./ListGroupsPaginator";
5
5
  export * from "./ListUsersPaginator";
@@ -48,6 +48,7 @@ export declare var Name$: StaticStructureSchema;
48
48
  export declare var PhoneNumber$: StaticStructureSchema;
49
49
  export declare var Photo$: StaticStructureSchema;
50
50
  export declare var ResourceNotFoundException$: StaticErrorSchema;
51
+ export declare var Role$: StaticStructureSchema;
51
52
  export declare var ServiceQuotaExceededException$: StaticErrorSchema;
52
53
  export declare var ThrottlingException$: StaticErrorSchema;
53
54
  export declare var UniqueAttribute$: StaticStructureSchema;
@@ -243,6 +243,11 @@ export interface Photo {
243
243
  Display?: string | undefined;
244
244
  Primary?: boolean | undefined;
245
245
  }
246
+ export interface Role {
247
+ Value?: string | undefined;
248
+ Type?: string | undefined;
249
+ Primary?: boolean | undefined;
250
+ }
246
251
  export interface CreateUserRequest {
247
252
  IdentityStoreId: string | undefined;
248
253
  UserName?: string | undefined;
@@ -261,6 +266,7 @@ export interface CreateUserRequest {
261
266
  Photos?: Photo[] | undefined;
262
267
  Website?: string | undefined;
263
268
  Birthdate?: string | undefined;
269
+ Roles?: Role[] | undefined;
264
270
  Extensions?: Record<string, __DocumentType> | undefined;
265
271
  }
266
272
  export interface CreateUserResponse {
@@ -298,6 +304,7 @@ export interface DescribeUserResponse {
298
304
  Photos?: Photo[] | undefined;
299
305
  Website?: string | undefined;
300
306
  Birthdate?: string | undefined;
307
+ Roles?: Role[] | undefined;
301
308
  CreatedAt?: Date | undefined;
302
309
  CreatedBy?: string | undefined;
303
310
  UpdatedAt?: Date | undefined;
@@ -332,6 +339,7 @@ export interface User {
332
339
  Photos?: Photo[] | undefined;
333
340
  Website?: string | undefined;
334
341
  Birthdate?: string | undefined;
342
+ Roles?: Role[] | undefined;
335
343
  CreatedAt?: Date | undefined;
336
344
  CreatedBy?: string | undefined;
337
345
  UpdatedAt?: Date | undefined;
@@ -1,5 +1,5 @@
1
1
  export * from "./Interfaces";
2
- export * from "./ListGroupMembershipsForMemberPaginator";
3
2
  export * from "./ListGroupMembershipsPaginator";
3
+ export * from "./ListGroupMembershipsForMemberPaginator";
4
4
  export * from "./ListGroupsPaginator";
5
5
  export * from "./ListUsersPaginator";
@@ -53,6 +53,7 @@ export declare var Name$: StaticStructureSchema;
53
53
  export declare var PhoneNumber$: StaticStructureSchema;
54
54
  export declare var Photo$: StaticStructureSchema;
55
55
  export declare var ResourceNotFoundException$: StaticErrorSchema;
56
+ export declare var Role$: StaticStructureSchema;
56
57
  export declare var ServiceQuotaExceededException$: StaticErrorSchema;
57
58
  export declare var ThrottlingException$: StaticErrorSchema;
58
59
  export declare var UniqueAttribute$: StaticStructureSchema;
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.957.0",
4
+ "version": "3.962.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-identitystore",
@@ -22,7 +22,7 @@
22
22
  "@aws-crypto/sha256-browser": "5.2.0",
23
23
  "@aws-crypto/sha256-js": "5.2.0",
24
24
  "@aws-sdk/core": "3.957.0",
25
- "@aws-sdk/credential-provider-node": "3.957.0",
25
+ "@aws-sdk/credential-provider-node": "3.962.0",
26
26
  "@aws-sdk/middleware-host-header": "3.957.0",
27
27
  "@aws-sdk/middleware-logger": "3.957.0",
28
28
  "@aws-sdk/middleware-recursion-detection": "3.957.0",