@aws-sdk/client-identitystore 3.925.0 → 3.926.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/README.md +1 -8
- package/dist-cjs/index.js +210 -7
- package/dist-es/models/models_0.js +43 -0
- package/dist-es/protocols/Aws_json1_1.js +163 -9
- package/dist-types/Identitystore.d.ts +1 -8
- package/dist-types/IdentitystoreClient.d.ts +1 -8
- package/dist-types/commands/CreateGroupCommand.d.ts +1 -9
- package/dist-types/commands/CreateGroupMembershipCommand.d.ts +1 -9
- package/dist-types/commands/CreateUserCommand.d.ts +12 -10
- package/dist-types/commands/DeleteGroupCommand.d.ts +1 -9
- package/dist-types/commands/DeleteGroupMembershipCommand.d.ts +1 -9
- package/dist-types/commands/DeleteUserCommand.d.ts +1 -9
- package/dist-types/commands/DescribeGroupCommand.d.ts +5 -7
- package/dist-types/commands/DescribeGroupMembershipCommand.d.ts +5 -6
- package/dist-types/commands/DescribeUserCommand.d.ts +18 -8
- package/dist-types/commands/GetGroupIdCommand.d.ts +1 -6
- package/dist-types/commands/GetGroupMembershipIdCommand.d.ts +1 -6
- package/dist-types/commands/GetUserIdCommand.d.ts +2 -7
- package/dist-types/commands/IsMemberInGroupsCommand.d.ts +1 -6
- package/dist-types/commands/ListGroupMembershipsCommand.d.ts +5 -6
- package/dist-types/commands/ListGroupMembershipsForMemberCommand.d.ts +5 -6
- package/dist-types/commands/ListGroupsCommand.d.ts +5 -7
- package/dist-types/commands/ListUsersCommand.d.ts +18 -9
- package/dist-types/commands/UpdateGroupCommand.d.ts +2 -10
- package/dist-types/commands/UpdateUserCommand.d.ts +2 -10
- package/dist-types/index.d.ts +1 -8
- package/dist-types/models/models_0.d.ts +365 -202
- package/dist-types/ts3.4/models/models_0.d.ts +80 -6
- package/package.json +5 -5
|
@@ -1,11 +1,17 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
2
|
import { DocumentType as __DocumentType } from "@smithy/types";
|
|
3
3
|
import { IdentitystoreServiceException as __BaseException } from "./IdentitystoreServiceException";
|
|
4
|
+
export declare const AccessDeniedExceptionReason: {
|
|
5
|
+
readonly KMS_ACCESS_DENIED: "KMS_ACCESS_DENIED";
|
|
6
|
+
};
|
|
7
|
+
export type AccessDeniedExceptionReason =
|
|
8
|
+
(typeof AccessDeniedExceptionReason)[keyof typeof AccessDeniedExceptionReason];
|
|
4
9
|
export declare class AccessDeniedException extends __BaseException {
|
|
5
10
|
readonly name: "AccessDeniedException";
|
|
6
11
|
readonly $fault: "client";
|
|
7
12
|
Message?: string | undefined;
|
|
8
13
|
RequestId?: string | undefined;
|
|
14
|
+
Reason?: AccessDeniedExceptionReason | undefined;
|
|
9
15
|
constructor(
|
|
10
16
|
opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
|
|
11
17
|
);
|
|
@@ -78,6 +84,11 @@ export declare class InternalServerException extends __BaseException {
|
|
|
78
84
|
opts: __ExceptionOptionType<InternalServerException, __BaseException>
|
|
79
85
|
);
|
|
80
86
|
}
|
|
87
|
+
export declare const ResourceNotFoundExceptionReason: {
|
|
88
|
+
readonly KMS_KEY_NOT_FOUND: "KMS_KEY_NOT_FOUND";
|
|
89
|
+
};
|
|
90
|
+
export type ResourceNotFoundExceptionReason =
|
|
91
|
+
(typeof ResourceNotFoundExceptionReason)[keyof typeof ResourceNotFoundExceptionReason];
|
|
81
92
|
export declare const ResourceType: {
|
|
82
93
|
readonly GROUP: "GROUP";
|
|
83
94
|
readonly GROUP_MEMBERSHIP: "GROUP_MEMBERSHIP";
|
|
@@ -90,12 +101,18 @@ export declare class ResourceNotFoundException extends __BaseException {
|
|
|
90
101
|
readonly $fault: "client";
|
|
91
102
|
ResourceType?: ResourceType | undefined;
|
|
92
103
|
ResourceId?: string | undefined;
|
|
104
|
+
Reason?: ResourceNotFoundExceptionReason | undefined;
|
|
93
105
|
Message?: string | undefined;
|
|
94
106
|
RequestId?: string | undefined;
|
|
95
107
|
constructor(
|
|
96
108
|
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
97
109
|
);
|
|
98
110
|
}
|
|
111
|
+
export declare const ThrottlingExceptionReason: {
|
|
112
|
+
readonly KMS_THROTTLING: "KMS_THROTTLING";
|
|
113
|
+
};
|
|
114
|
+
export type ThrottlingExceptionReason =
|
|
115
|
+
(typeof ThrottlingExceptionReason)[keyof typeof ThrottlingExceptionReason];
|
|
99
116
|
export declare class ThrottlingException extends __BaseException {
|
|
100
117
|
readonly name: "ThrottlingException";
|
|
101
118
|
readonly $fault: "client";
|
|
@@ -105,15 +122,25 @@ export declare class ThrottlingException extends __BaseException {
|
|
|
105
122
|
Message?: string | undefined;
|
|
106
123
|
RequestId?: string | undefined;
|
|
107
124
|
RetryAfterSeconds?: number | undefined;
|
|
125
|
+
Reason?: ThrottlingExceptionReason | undefined;
|
|
108
126
|
constructor(
|
|
109
127
|
opts: __ExceptionOptionType<ThrottlingException, __BaseException>
|
|
110
128
|
);
|
|
111
129
|
}
|
|
130
|
+
export declare const ValidationExceptionReason: {
|
|
131
|
+
readonly KMS_DISABLED: "KMS_DISABLED";
|
|
132
|
+
readonly KMS_INVALID_ARN: "KMS_INVALID_ARN";
|
|
133
|
+
readonly KMS_INVALID_KEY_USAGE: "KMS_INVALID_KEY_USAGE";
|
|
134
|
+
readonly KMS_INVALID_STATE: "KMS_INVALID_STATE";
|
|
135
|
+
};
|
|
136
|
+
export type ValidationExceptionReason =
|
|
137
|
+
(typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
|
|
112
138
|
export declare class ValidationException extends __BaseException {
|
|
113
139
|
readonly name: "ValidationException";
|
|
114
140
|
readonly $fault: "client";
|
|
115
141
|
Message?: string | undefined;
|
|
116
142
|
RequestId?: string | undefined;
|
|
143
|
+
Reason?: ValidationExceptionReason | undefined;
|
|
117
144
|
constructor(
|
|
118
145
|
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
119
146
|
);
|
|
@@ -148,8 +175,8 @@ export interface GetUserIdRequest {
|
|
|
148
175
|
AlternateIdentifier: AlternateIdentifier | undefined;
|
|
149
176
|
}
|
|
150
177
|
export interface GetUserIdResponse {
|
|
151
|
-
UserId: string | undefined;
|
|
152
178
|
IdentityStoreId: string | undefined;
|
|
179
|
+
UserId: string | undefined;
|
|
153
180
|
}
|
|
154
181
|
export declare const ConflictExceptionReason: {
|
|
155
182
|
readonly CONCURRENT_MODIFICATION: "CONCURRENT_MODIFICATION";
|
|
@@ -197,6 +224,10 @@ export interface DescribeGroupMembershipResponse {
|
|
|
197
224
|
MembershipId: string | undefined;
|
|
198
225
|
GroupId: string | undefined;
|
|
199
226
|
MemberId: MemberId | undefined;
|
|
227
|
+
CreatedAt?: Date | undefined;
|
|
228
|
+
UpdatedAt?: Date | undefined;
|
|
229
|
+
CreatedBy?: string | undefined;
|
|
230
|
+
UpdatedBy?: string | undefined;
|
|
200
231
|
}
|
|
201
232
|
export interface ListGroupMembershipsRequest {
|
|
202
233
|
IdentityStoreId: string | undefined;
|
|
@@ -209,6 +240,10 @@ export interface GroupMembership {
|
|
|
209
240
|
MembershipId?: string | undefined;
|
|
210
241
|
GroupId?: string | undefined;
|
|
211
242
|
MemberId?: MemberId | undefined;
|
|
243
|
+
CreatedAt?: Date | undefined;
|
|
244
|
+
UpdatedAt?: Date | undefined;
|
|
245
|
+
CreatedBy?: string | undefined;
|
|
246
|
+
UpdatedBy?: string | undefined;
|
|
212
247
|
}
|
|
213
248
|
export interface ListGroupMembershipsResponse {
|
|
214
249
|
GroupMemberships: GroupMembership[] | undefined;
|
|
@@ -237,6 +272,10 @@ export interface DescribeGroupResponse {
|
|
|
237
272
|
DisplayName?: string | undefined;
|
|
238
273
|
ExternalIds?: ExternalId[] | undefined;
|
|
239
274
|
Description?: string | undefined;
|
|
275
|
+
CreatedAt?: Date | undefined;
|
|
276
|
+
UpdatedAt?: Date | undefined;
|
|
277
|
+
CreatedBy?: string | undefined;
|
|
278
|
+
UpdatedBy?: string | undefined;
|
|
240
279
|
IdentityStoreId: string | undefined;
|
|
241
280
|
}
|
|
242
281
|
export interface Filter {
|
|
@@ -254,6 +293,10 @@ export interface Group {
|
|
|
254
293
|
DisplayName?: string | undefined;
|
|
255
294
|
ExternalIds?: ExternalId[] | undefined;
|
|
256
295
|
Description?: string | undefined;
|
|
296
|
+
CreatedAt?: Date | undefined;
|
|
297
|
+
UpdatedAt?: Date | undefined;
|
|
298
|
+
CreatedBy?: string | undefined;
|
|
299
|
+
UpdatedBy?: string | undefined;
|
|
257
300
|
IdentityStoreId: string | undefined;
|
|
258
301
|
}
|
|
259
302
|
export interface ListGroupsResponse {
|
|
@@ -307,6 +350,12 @@ export interface PhoneNumber {
|
|
|
307
350
|
Type?: string | undefined;
|
|
308
351
|
Primary?: boolean | undefined;
|
|
309
352
|
}
|
|
353
|
+
export interface Photo {
|
|
354
|
+
Value: string | undefined;
|
|
355
|
+
Type?: string | undefined;
|
|
356
|
+
Display?: string | undefined;
|
|
357
|
+
Primary?: boolean | undefined;
|
|
358
|
+
}
|
|
310
359
|
export interface CreateUserRequest {
|
|
311
360
|
IdentityStoreId: string | undefined;
|
|
312
361
|
UserName?: string | undefined;
|
|
@@ -322,10 +371,13 @@ export interface CreateUserRequest {
|
|
|
322
371
|
PreferredLanguage?: string | undefined;
|
|
323
372
|
Locale?: string | undefined;
|
|
324
373
|
Timezone?: string | undefined;
|
|
374
|
+
Photos?: Photo[] | undefined;
|
|
375
|
+
Website?: string | undefined;
|
|
376
|
+
Birthdate?: string | undefined;
|
|
325
377
|
}
|
|
326
378
|
export interface CreateUserResponse {
|
|
327
|
-
UserId: string | undefined;
|
|
328
379
|
IdentityStoreId: string | undefined;
|
|
380
|
+
UserId: string | undefined;
|
|
329
381
|
}
|
|
330
382
|
export interface DeleteUserRequest {
|
|
331
383
|
IdentityStoreId: string | undefined;
|
|
@@ -336,9 +388,15 @@ export interface DescribeUserRequest {
|
|
|
336
388
|
IdentityStoreId: string | undefined;
|
|
337
389
|
UserId: string | undefined;
|
|
338
390
|
}
|
|
391
|
+
export declare const UserStatus: {
|
|
392
|
+
readonly DISABLED: "DISABLED";
|
|
393
|
+
readonly ENABLED: "ENABLED";
|
|
394
|
+
};
|
|
395
|
+
export type UserStatus = (typeof UserStatus)[keyof typeof UserStatus];
|
|
339
396
|
export interface DescribeUserResponse {
|
|
340
|
-
|
|
397
|
+
IdentityStoreId: string | undefined;
|
|
341
398
|
UserId: string | undefined;
|
|
399
|
+
UserName?: string | undefined;
|
|
342
400
|
ExternalIds?: ExternalId[] | undefined;
|
|
343
401
|
Name?: Name | undefined;
|
|
344
402
|
DisplayName?: string | undefined;
|
|
@@ -352,7 +410,14 @@ export interface DescribeUserResponse {
|
|
|
352
410
|
PreferredLanguage?: string | undefined;
|
|
353
411
|
Locale?: string | undefined;
|
|
354
412
|
Timezone?: string | undefined;
|
|
355
|
-
|
|
413
|
+
UserStatus?: UserStatus | undefined;
|
|
414
|
+
Photos?: Photo[] | undefined;
|
|
415
|
+
Website?: string | undefined;
|
|
416
|
+
Birthdate?: string | undefined;
|
|
417
|
+
CreatedAt?: Date | undefined;
|
|
418
|
+
CreatedBy?: string | undefined;
|
|
419
|
+
UpdatedAt?: Date | undefined;
|
|
420
|
+
UpdatedBy?: string | undefined;
|
|
356
421
|
}
|
|
357
422
|
export interface ListUsersRequest {
|
|
358
423
|
IdentityStoreId: string | undefined;
|
|
@@ -361,8 +426,9 @@ export interface ListUsersRequest {
|
|
|
361
426
|
Filters?: Filter[] | undefined;
|
|
362
427
|
}
|
|
363
428
|
export interface User {
|
|
364
|
-
|
|
429
|
+
IdentityStoreId: string | undefined;
|
|
365
430
|
UserId: string | undefined;
|
|
431
|
+
UserName?: string | undefined;
|
|
366
432
|
ExternalIds?: ExternalId[] | undefined;
|
|
367
433
|
Name?: Name | undefined;
|
|
368
434
|
DisplayName?: string | undefined;
|
|
@@ -376,7 +442,14 @@ export interface User {
|
|
|
376
442
|
PreferredLanguage?: string | undefined;
|
|
377
443
|
Locale?: string | undefined;
|
|
378
444
|
Timezone?: string | undefined;
|
|
379
|
-
|
|
445
|
+
UserStatus?: UserStatus | undefined;
|
|
446
|
+
Photos?: Photo[] | undefined;
|
|
447
|
+
Website?: string | undefined;
|
|
448
|
+
Birthdate?: string | undefined;
|
|
449
|
+
CreatedAt?: Date | undefined;
|
|
450
|
+
CreatedBy?: string | undefined;
|
|
451
|
+
UpdatedAt?: Date | undefined;
|
|
452
|
+
UpdatedBy?: string | undefined;
|
|
380
453
|
}
|
|
381
454
|
export interface ListUsersResponse {
|
|
382
455
|
Users: User[] | undefined;
|
|
@@ -422,6 +495,7 @@ export declare const IsMemberInGroupsResponseFilterSensitiveLog: (
|
|
|
422
495
|
export declare const EmailFilterSensitiveLog: (obj: Email) => any;
|
|
423
496
|
export declare const NameFilterSensitiveLog: (obj: Name) => any;
|
|
424
497
|
export declare const PhoneNumberFilterSensitiveLog: (obj: PhoneNumber) => any;
|
|
498
|
+
export declare const PhotoFilterSensitiveLog: (obj: Photo) => any;
|
|
425
499
|
export declare const CreateUserRequestFilterSensitiveLog: (
|
|
426
500
|
obj: CreateUserRequest
|
|
427
501
|
) => any;
|
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.
|
|
4
|
+
"version": "3.926.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",
|
|
@@ -20,17 +20,17 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/core": "3.926.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.926.0",
|
|
25
25
|
"@aws-sdk/middleware-host-header": "3.922.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.922.0",
|
|
27
27
|
"@aws-sdk/middleware-recursion-detection": "3.922.0",
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.926.0",
|
|
29
29
|
"@aws-sdk/region-config-resolver": "3.925.0",
|
|
30
30
|
"@aws-sdk/types": "3.922.0",
|
|
31
31
|
"@aws-sdk/util-endpoints": "3.922.0",
|
|
32
32
|
"@aws-sdk/util-user-agent-browser": "3.922.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.926.0",
|
|
34
34
|
"@smithy/config-resolver": "^4.4.2",
|
|
35
35
|
"@smithy/core": "^3.17.2",
|
|
36
36
|
"@smithy/fetch-http-handler": "^5.3.5",
|