@aws-sdk/client-identitystore 3.121.0 → 3.130.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/CHANGELOG.md +27 -0
- package/dist-cjs/protocols/Aws_json1_1.js +19 -27
- package/dist-es/protocols/Aws_json1_1.js +10 -18
- package/package.json +26 -26
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,33 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.130.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.129.0...v3.130.0) (2022-07-14)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **codegen:** fix error code parsing when it's a number ([#3371](https://github.com/aws/aws-sdk-js-v3/issues/3371)) ([c2d8522](https://github.com/aws/aws-sdk-js-v3/commit/c2d852279a3d23958521a6ceb4f4c642b0cb1848))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
# [3.128.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.127.0...v3.128.0) (2022-07-12)
|
|
18
|
+
|
|
19
|
+
**Note:** Version bump only for package @aws-sdk/client-identitystore
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
# [3.127.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.126.0...v3.127.0) (2022-07-11)
|
|
26
|
+
|
|
27
|
+
**Note:** Version bump only for package @aws-sdk/client-identitystore
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
6
33
|
# [3.121.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.120.0...v3.121.0) (2022-06-30)
|
|
7
34
|
|
|
8
35
|
|
|
@@ -288,23 +288,20 @@ const deserializeAws_json1_1ValidationExceptionResponse = async (parsedOutput, c
|
|
|
288
288
|
};
|
|
289
289
|
const serializeAws_json1_1DescribeGroupRequest = (input, context) => {
|
|
290
290
|
return {
|
|
291
|
-
...(input.GroupId
|
|
292
|
-
...(input.IdentityStoreId
|
|
293
|
-
input.IdentityStoreId !== null && { IdentityStoreId: input.IdentityStoreId }),
|
|
291
|
+
...(input.GroupId != null && { GroupId: input.GroupId }),
|
|
292
|
+
...(input.IdentityStoreId != null && { IdentityStoreId: input.IdentityStoreId }),
|
|
294
293
|
};
|
|
295
294
|
};
|
|
296
295
|
const serializeAws_json1_1DescribeUserRequest = (input, context) => {
|
|
297
296
|
return {
|
|
298
|
-
...(input.IdentityStoreId
|
|
299
|
-
|
|
300
|
-
...(input.UserId !== undefined && input.UserId !== null && { UserId: input.UserId }),
|
|
297
|
+
...(input.IdentityStoreId != null && { IdentityStoreId: input.IdentityStoreId }),
|
|
298
|
+
...(input.UserId != null && { UserId: input.UserId }),
|
|
301
299
|
};
|
|
302
300
|
};
|
|
303
301
|
const serializeAws_json1_1Filter = (input, context) => {
|
|
304
302
|
return {
|
|
305
|
-
...(input.AttributePath
|
|
306
|
-
...(input.AttributeValue
|
|
307
|
-
input.AttributeValue !== null && { AttributeValue: input.AttributeValue }),
|
|
303
|
+
...(input.AttributePath != null && { AttributePath: input.AttributePath }),
|
|
304
|
+
...(input.AttributeValue != null && { AttributeValue: input.AttributeValue }),
|
|
308
305
|
};
|
|
309
306
|
};
|
|
310
307
|
const serializeAws_json1_1Filters = (input, context) => {
|
|
@@ -319,22 +316,18 @@ const serializeAws_json1_1Filters = (input, context) => {
|
|
|
319
316
|
};
|
|
320
317
|
const serializeAws_json1_1ListGroupsRequest = (input, context) => {
|
|
321
318
|
return {
|
|
322
|
-
...(input.Filters
|
|
323
|
-
|
|
324
|
-
...(input.
|
|
325
|
-
|
|
326
|
-
...(input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults }),
|
|
327
|
-
...(input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken }),
|
|
319
|
+
...(input.Filters != null && { Filters: serializeAws_json1_1Filters(input.Filters, context) }),
|
|
320
|
+
...(input.IdentityStoreId != null && { IdentityStoreId: input.IdentityStoreId }),
|
|
321
|
+
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
322
|
+
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
328
323
|
};
|
|
329
324
|
};
|
|
330
325
|
const serializeAws_json1_1ListUsersRequest = (input, context) => {
|
|
331
326
|
return {
|
|
332
|
-
...(input.Filters
|
|
333
|
-
|
|
334
|
-
...(input.
|
|
335
|
-
|
|
336
|
-
...(input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults }),
|
|
337
|
-
...(input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken }),
|
|
327
|
+
...(input.Filters != null && { Filters: serializeAws_json1_1Filters(input.Filters, context) }),
|
|
328
|
+
...(input.IdentityStoreId != null && { IdentityStoreId: input.IdentityStoreId }),
|
|
329
|
+
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
330
|
+
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
338
331
|
};
|
|
339
332
|
};
|
|
340
333
|
const deserializeAws_json1_1AccessDeniedException = (output, context) => {
|
|
@@ -380,18 +373,14 @@ const deserializeAws_json1_1InternalServerException = (output, context) => {
|
|
|
380
373
|
};
|
|
381
374
|
const deserializeAws_json1_1ListGroupsResponse = (output, context) => {
|
|
382
375
|
return {
|
|
383
|
-
Groups: output.Groups
|
|
384
|
-
? deserializeAws_json1_1Groups(output.Groups, context)
|
|
385
|
-
: undefined,
|
|
376
|
+
Groups: output.Groups != null ? deserializeAws_json1_1Groups(output.Groups, context) : undefined,
|
|
386
377
|
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
387
378
|
};
|
|
388
379
|
};
|
|
389
380
|
const deserializeAws_json1_1ListUsersResponse = (output, context) => {
|
|
390
381
|
return {
|
|
391
382
|
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
392
|
-
Users: output.Users
|
|
393
|
-
? deserializeAws_json1_1Users(output.Users, context)
|
|
394
|
-
: undefined,
|
|
383
|
+
Users: output.Users != null ? deserializeAws_json1_1Users(output.Users, context) : undefined,
|
|
395
384
|
};
|
|
396
385
|
};
|
|
397
386
|
const deserializeAws_json1_1ResourceNotFoundException = (output, context) => {
|
|
@@ -475,6 +464,9 @@ const loadRestJsonErrorCode = (output, data) => {
|
|
|
475
464
|
const findKey = (object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase());
|
|
476
465
|
const sanitizeErrorCode = (rawValue) => {
|
|
477
466
|
let cleanValue = rawValue;
|
|
467
|
+
if (typeof cleanValue === "number") {
|
|
468
|
+
cleanValue = cleanValue.toString();
|
|
469
|
+
}
|
|
478
470
|
if (cleanValue.indexOf(":") >= 0) {
|
|
479
471
|
cleanValue = cleanValue.split(":")[0];
|
|
480
472
|
}
|
|
@@ -361,16 +361,13 @@ var deserializeAws_json1_1ValidationExceptionResponse = function (parsedOutput,
|
|
|
361
361
|
});
|
|
362
362
|
}); };
|
|
363
363
|
var serializeAws_json1_1DescribeGroupRequest = function (input, context) {
|
|
364
|
-
return __assign(__assign({}, (input.GroupId
|
|
365
|
-
input.IdentityStoreId !== null && { IdentityStoreId: input.IdentityStoreId }));
|
|
364
|
+
return __assign(__assign({}, (input.GroupId != null && { GroupId: input.GroupId })), (input.IdentityStoreId != null && { IdentityStoreId: input.IdentityStoreId }));
|
|
366
365
|
};
|
|
367
366
|
var serializeAws_json1_1DescribeUserRequest = function (input, context) {
|
|
368
|
-
return __assign(__assign({}, (input.IdentityStoreId
|
|
369
|
-
input.IdentityStoreId !== null && { IdentityStoreId: input.IdentityStoreId })), (input.UserId !== undefined && input.UserId !== null && { UserId: input.UserId }));
|
|
367
|
+
return __assign(__assign({}, (input.IdentityStoreId != null && { IdentityStoreId: input.IdentityStoreId })), (input.UserId != null && { UserId: input.UserId }));
|
|
370
368
|
};
|
|
371
369
|
var serializeAws_json1_1Filter = function (input, context) {
|
|
372
|
-
return __assign(__assign({}, (input.AttributePath
|
|
373
|
-
input.AttributeValue !== null && { AttributeValue: input.AttributeValue }));
|
|
370
|
+
return __assign(__assign({}, (input.AttributePath != null && { AttributePath: input.AttributePath })), (input.AttributeValue != null && { AttributeValue: input.AttributeValue }));
|
|
374
371
|
};
|
|
375
372
|
var serializeAws_json1_1Filters = function (input, context) {
|
|
376
373
|
return input
|
|
@@ -383,14 +380,10 @@ var serializeAws_json1_1Filters = function (input, context) {
|
|
|
383
380
|
});
|
|
384
381
|
};
|
|
385
382
|
var serializeAws_json1_1ListGroupsRequest = function (input, context) {
|
|
386
|
-
return __assign(__assign(__assign(__assign({}, (input.Filters
|
|
387
|
-
input.Filters !== null && { Filters: serializeAws_json1_1Filters(input.Filters, context) })), (input.IdentityStoreId !== undefined &&
|
|
388
|
-
input.IdentityStoreId !== null && { IdentityStoreId: input.IdentityStoreId })), (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken }));
|
|
383
|
+
return __assign(__assign(__assign(__assign({}, (input.Filters != null && { Filters: serializeAws_json1_1Filters(input.Filters, context) })), (input.IdentityStoreId != null && { IdentityStoreId: input.IdentityStoreId })), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken }));
|
|
389
384
|
};
|
|
390
385
|
var serializeAws_json1_1ListUsersRequest = function (input, context) {
|
|
391
|
-
return __assign(__assign(__assign(__assign({}, (input.Filters
|
|
392
|
-
input.Filters !== null && { Filters: serializeAws_json1_1Filters(input.Filters, context) })), (input.IdentityStoreId !== undefined &&
|
|
393
|
-
input.IdentityStoreId !== null && { IdentityStoreId: input.IdentityStoreId })), (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken }));
|
|
386
|
+
return __assign(__assign(__assign(__assign({}, (input.Filters != null && { Filters: serializeAws_json1_1Filters(input.Filters, context) })), (input.IdentityStoreId != null && { IdentityStoreId: input.IdentityStoreId })), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken }));
|
|
394
387
|
};
|
|
395
388
|
var deserializeAws_json1_1AccessDeniedException = function (output, context) {
|
|
396
389
|
return {
|
|
@@ -435,18 +428,14 @@ var deserializeAws_json1_1InternalServerException = function (output, context) {
|
|
|
435
428
|
};
|
|
436
429
|
var deserializeAws_json1_1ListGroupsResponse = function (output, context) {
|
|
437
430
|
return {
|
|
438
|
-
Groups: output.Groups
|
|
439
|
-
? deserializeAws_json1_1Groups(output.Groups, context)
|
|
440
|
-
: undefined,
|
|
431
|
+
Groups: output.Groups != null ? deserializeAws_json1_1Groups(output.Groups, context) : undefined,
|
|
441
432
|
NextToken: __expectString(output.NextToken),
|
|
442
433
|
};
|
|
443
434
|
};
|
|
444
435
|
var deserializeAws_json1_1ListUsersResponse = function (output, context) {
|
|
445
436
|
return {
|
|
446
437
|
NextToken: __expectString(output.NextToken),
|
|
447
|
-
Users: output.Users
|
|
448
|
-
? deserializeAws_json1_1Users(output.Users, context)
|
|
449
|
-
: undefined,
|
|
438
|
+
Users: output.Users != null ? deserializeAws_json1_1Users(output.Users, context) : undefined,
|
|
450
439
|
};
|
|
451
440
|
};
|
|
452
441
|
var deserializeAws_json1_1ResourceNotFoundException = function (output, context) {
|
|
@@ -542,6 +531,9 @@ var loadRestJsonErrorCode = function (output, data) {
|
|
|
542
531
|
var findKey = function (object, key) { return Object.keys(object).find(function (k) { return k.toLowerCase() === key.toLowerCase(); }); };
|
|
543
532
|
var sanitizeErrorCode = function (rawValue) {
|
|
544
533
|
var cleanValue = rawValue;
|
|
534
|
+
if (typeof cleanValue === "number") {
|
|
535
|
+
cleanValue = cleanValue.toString();
|
|
536
|
+
}
|
|
545
537
|
if (cleanValue.indexOf(":") >= 0) {
|
|
546
538
|
cleanValue = cleanValue.split(":")[0];
|
|
547
539
|
}
|
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.130.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -18,35 +18,35 @@
|
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
20
20
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
21
|
-
"@aws-sdk/client-sts": "3.
|
|
22
|
-
"@aws-sdk/config-resolver": "3.
|
|
23
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
25
|
-
"@aws-sdk/hash-node": "3.
|
|
26
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
27
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
28
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
29
|
-
"@aws-sdk/middleware-logger": "3.
|
|
30
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
31
|
-
"@aws-sdk/middleware-retry": "3.
|
|
32
|
-
"@aws-sdk/middleware-serde": "3.
|
|
33
|
-
"@aws-sdk/middleware-signing": "3.
|
|
34
|
-
"@aws-sdk/middleware-stack": "3.
|
|
35
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
36
|
-
"@aws-sdk/node-config-provider": "3.
|
|
37
|
-
"@aws-sdk/node-http-handler": "3.
|
|
38
|
-
"@aws-sdk/protocol-http": "3.
|
|
39
|
-
"@aws-sdk/smithy-client": "3.
|
|
40
|
-
"@aws-sdk/types": "3.
|
|
41
|
-
"@aws-sdk/url-parser": "3.
|
|
21
|
+
"@aws-sdk/client-sts": "3.130.0",
|
|
22
|
+
"@aws-sdk/config-resolver": "3.130.0",
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.130.0",
|
|
24
|
+
"@aws-sdk/fetch-http-handler": "3.127.0",
|
|
25
|
+
"@aws-sdk/hash-node": "3.127.0",
|
|
26
|
+
"@aws-sdk/invalid-dependency": "3.127.0",
|
|
27
|
+
"@aws-sdk/middleware-content-length": "3.127.0",
|
|
28
|
+
"@aws-sdk/middleware-host-header": "3.127.0",
|
|
29
|
+
"@aws-sdk/middleware-logger": "3.127.0",
|
|
30
|
+
"@aws-sdk/middleware-recursion-detection": "3.127.0",
|
|
31
|
+
"@aws-sdk/middleware-retry": "3.127.0",
|
|
32
|
+
"@aws-sdk/middleware-serde": "3.127.0",
|
|
33
|
+
"@aws-sdk/middleware-signing": "3.130.0",
|
|
34
|
+
"@aws-sdk/middleware-stack": "3.127.0",
|
|
35
|
+
"@aws-sdk/middleware-user-agent": "3.127.0",
|
|
36
|
+
"@aws-sdk/node-config-provider": "3.127.0",
|
|
37
|
+
"@aws-sdk/node-http-handler": "3.127.0",
|
|
38
|
+
"@aws-sdk/protocol-http": "3.127.0",
|
|
39
|
+
"@aws-sdk/smithy-client": "3.127.0",
|
|
40
|
+
"@aws-sdk/types": "3.127.0",
|
|
41
|
+
"@aws-sdk/url-parser": "3.127.0",
|
|
42
42
|
"@aws-sdk/util-base64-browser": "3.109.0",
|
|
43
43
|
"@aws-sdk/util-base64-node": "3.55.0",
|
|
44
44
|
"@aws-sdk/util-body-length-browser": "3.55.0",
|
|
45
45
|
"@aws-sdk/util-body-length-node": "3.55.0",
|
|
46
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
47
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
48
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
49
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
46
|
+
"@aws-sdk/util-defaults-mode-browser": "3.127.0",
|
|
47
|
+
"@aws-sdk/util-defaults-mode-node": "3.130.0",
|
|
48
|
+
"@aws-sdk/util-user-agent-browser": "3.127.0",
|
|
49
|
+
"@aws-sdk/util-user-agent-node": "3.127.0",
|
|
50
50
|
"@aws-sdk/util-utf8-browser": "3.109.0",
|
|
51
51
|
"@aws-sdk/util-utf8-node": "3.109.0",
|
|
52
52
|
"tslib": "^2.3.1"
|