@aws-sdk/client-chime-sdk-identity 3.180.0 → 3.183.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 +20 -0
- package/dist-cjs/protocols/Aws_restJson1.js +30 -24
- package/dist-es/ChimeSDKIdentity.js +98 -105
- package/dist-es/ChimeSDKIdentityClient.js +22 -28
- package/dist-es/commands/CreateAppInstanceAdminCommand.js +21 -28
- package/dist-es/commands/CreateAppInstanceCommand.js +21 -28
- package/dist-es/commands/CreateAppInstanceUserCommand.js +21 -28
- package/dist-es/commands/DeleteAppInstanceAdminCommand.js +22 -29
- package/dist-es/commands/DeleteAppInstanceCommand.js +22 -29
- package/dist-es/commands/DeleteAppInstanceUserCommand.js +22 -29
- package/dist-es/commands/DeregisterAppInstanceUserEndpointCommand.js +22 -29
- package/dist-es/commands/DescribeAppInstanceAdminCommand.js +21 -28
- package/dist-es/commands/DescribeAppInstanceCommand.js +21 -28
- package/dist-es/commands/DescribeAppInstanceUserCommand.js +21 -28
- package/dist-es/commands/DescribeAppInstanceUserEndpointCommand.js +21 -28
- package/dist-es/commands/GetAppInstanceRetentionSettingsCommand.js +21 -28
- package/dist-es/commands/ListAppInstanceAdminsCommand.js +21 -28
- package/dist-es/commands/ListAppInstanceUserEndpointsCommand.js +21 -28
- package/dist-es/commands/ListAppInstanceUsersCommand.js +21 -28
- package/dist-es/commands/ListAppInstancesCommand.js +21 -28
- package/dist-es/commands/ListTagsForResourceCommand.js +21 -28
- package/dist-es/commands/PutAppInstanceRetentionSettingsCommand.js +21 -28
- package/dist-es/commands/RegisterAppInstanceUserEndpointCommand.js +21 -28
- package/dist-es/commands/TagResourceCommand.js +22 -29
- package/dist-es/commands/UntagResourceCommand.js +22 -29
- package/dist-es/commands/UpdateAppInstanceCommand.js +21 -28
- package/dist-es/commands/UpdateAppInstanceUserCommand.js +21 -28
- package/dist-es/commands/UpdateAppInstanceUserEndpointCommand.js +21 -28
- package/dist-es/endpoints.js +8 -8
- package/dist-es/models/ChimeSDKIdentityServiceException.js +5 -10
- package/dist-es/models/models_0.js +352 -170
- package/dist-es/pagination/ListAppInstanceAdminsPaginator.js +25 -68
- package/dist-es/pagination/ListAppInstanceUserEndpointsPaginator.js +25 -68
- package/dist-es/pagination/ListAppInstanceUsersPaginator.js +25 -68
- package/dist-es/pagination/ListAppInstancesPaginator.js +25 -68
- package/dist-es/protocols/Aws_restJson1.js +1873 -2657
- package/dist-es/runtimeConfig.browser.js +26 -12
- package/dist-es/runtimeConfig.js +30 -12
- package/dist-es/runtimeConfig.native.js +8 -5
- package/dist-es/runtimeConfig.shared.js +8 -11
- package/package.json +33 -33
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,26 @@
|
|
|
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.183.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.182.0...v3.183.0) (2022-10-03)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/client-chime-sdk-identity
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [3.181.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.180.0...v3.181.0) (2022-09-29)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Bug Fixes
|
|
18
|
+
|
|
19
|
+
* **clients:** make parseErrorBody async ([#3999](https://github.com/aws/aws-sdk-js-v3/issues/3999)) ([2558c93](https://github.com/aws/aws-sdk-js-v3/commit/2558c93c050357ac6dc47aa0452b15b12ebfd676))
|
|
20
|
+
* **clients:** populate message field when parsing errors ([#3995](https://github.com/aws/aws-sdk-js-v3/issues/3995)) ([02e47f1](https://github.com/aws/aws-sdk-js-v3/commit/02e47f14397ae0a5d2e2883350d038b307fdcdb4))
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
6
26
|
# [3.180.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.179.0...v3.180.0) (2022-09-27)
|
|
7
27
|
|
|
8
28
|
**Note:** Version bump only for package @aws-sdk/client-chime-sdk-identity
|
|
@@ -546,7 +546,7 @@ exports.deserializeAws_restJson1CreateAppInstanceCommand = deserializeAws_restJs
|
|
|
546
546
|
const deserializeAws_restJson1CreateAppInstanceCommandError = async (output, context) => {
|
|
547
547
|
const parsedOutput = {
|
|
548
548
|
...output,
|
|
549
|
-
body: await
|
|
549
|
+
body: await parseErrorBody(output.body, context),
|
|
550
550
|
};
|
|
551
551
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
552
552
|
switch (errorCode) {
|
|
@@ -604,7 +604,7 @@ exports.deserializeAws_restJson1CreateAppInstanceAdminCommand = deserializeAws_r
|
|
|
604
604
|
const deserializeAws_restJson1CreateAppInstanceAdminCommandError = async (output, context) => {
|
|
605
605
|
const parsedOutput = {
|
|
606
606
|
...output,
|
|
607
|
-
body: await
|
|
607
|
+
body: await parseErrorBody(output.body, context),
|
|
608
608
|
};
|
|
609
609
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
610
610
|
switch (errorCode) {
|
|
@@ -659,7 +659,7 @@ exports.deserializeAws_restJson1CreateAppInstanceUserCommand = deserializeAws_re
|
|
|
659
659
|
const deserializeAws_restJson1CreateAppInstanceUserCommandError = async (output, context) => {
|
|
660
660
|
const parsedOutput = {
|
|
661
661
|
...output,
|
|
662
|
-
body: await
|
|
662
|
+
body: await parseErrorBody(output.body, context),
|
|
663
663
|
};
|
|
664
664
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
665
665
|
switch (errorCode) {
|
|
@@ -711,7 +711,7 @@ exports.deserializeAws_restJson1DeleteAppInstanceCommand = deserializeAws_restJs
|
|
|
711
711
|
const deserializeAws_restJson1DeleteAppInstanceCommandError = async (output, context) => {
|
|
712
712
|
const parsedOutput = {
|
|
713
713
|
...output,
|
|
714
|
-
body: await
|
|
714
|
+
body: await parseErrorBody(output.body, context),
|
|
715
715
|
};
|
|
716
716
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
717
717
|
switch (errorCode) {
|
|
@@ -760,7 +760,7 @@ exports.deserializeAws_restJson1DeleteAppInstanceAdminCommand = deserializeAws_r
|
|
|
760
760
|
const deserializeAws_restJson1DeleteAppInstanceAdminCommandError = async (output, context) => {
|
|
761
761
|
const parsedOutput = {
|
|
762
762
|
...output,
|
|
763
|
-
body: await
|
|
763
|
+
body: await parseErrorBody(output.body, context),
|
|
764
764
|
};
|
|
765
765
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
766
766
|
switch (errorCode) {
|
|
@@ -812,7 +812,7 @@ exports.deserializeAws_restJson1DeleteAppInstanceUserCommand = deserializeAws_re
|
|
|
812
812
|
const deserializeAws_restJson1DeleteAppInstanceUserCommandError = async (output, context) => {
|
|
813
813
|
const parsedOutput = {
|
|
814
814
|
...output,
|
|
815
|
-
body: await
|
|
815
|
+
body: await parseErrorBody(output.body, context),
|
|
816
816
|
};
|
|
817
817
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
818
818
|
switch (errorCode) {
|
|
@@ -864,7 +864,7 @@ exports.deserializeAws_restJson1DeregisterAppInstanceUserEndpointCommand = deser
|
|
|
864
864
|
const deserializeAws_restJson1DeregisterAppInstanceUserEndpointCommandError = async (output, context) => {
|
|
865
865
|
const parsedOutput = {
|
|
866
866
|
...output,
|
|
867
|
-
body: await
|
|
867
|
+
body: await parseErrorBody(output.body, context),
|
|
868
868
|
};
|
|
869
869
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
870
870
|
switch (errorCode) {
|
|
@@ -913,7 +913,7 @@ exports.deserializeAws_restJson1DescribeAppInstanceCommand = deserializeAws_rest
|
|
|
913
913
|
const deserializeAws_restJson1DescribeAppInstanceCommandError = async (output, context) => {
|
|
914
914
|
const parsedOutput = {
|
|
915
915
|
...output,
|
|
916
|
-
body: await
|
|
916
|
+
body: await parseErrorBody(output.body, context),
|
|
917
917
|
};
|
|
918
918
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
919
919
|
switch (errorCode) {
|
|
@@ -962,7 +962,7 @@ exports.deserializeAws_restJson1DescribeAppInstanceAdminCommand = deserializeAws
|
|
|
962
962
|
const deserializeAws_restJson1DescribeAppInstanceAdminCommandError = async (output, context) => {
|
|
963
963
|
const parsedOutput = {
|
|
964
964
|
...output,
|
|
965
|
-
body: await
|
|
965
|
+
body: await parseErrorBody(output.body, context),
|
|
966
966
|
};
|
|
967
967
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
968
968
|
switch (errorCode) {
|
|
@@ -1011,7 +1011,7 @@ exports.deserializeAws_restJson1DescribeAppInstanceUserCommand = deserializeAws_
|
|
|
1011
1011
|
const deserializeAws_restJson1DescribeAppInstanceUserCommandError = async (output, context) => {
|
|
1012
1012
|
const parsedOutput = {
|
|
1013
1013
|
...output,
|
|
1014
|
-
body: await
|
|
1014
|
+
body: await parseErrorBody(output.body, context),
|
|
1015
1015
|
};
|
|
1016
1016
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1017
1017
|
switch (errorCode) {
|
|
@@ -1060,7 +1060,7 @@ exports.deserializeAws_restJson1DescribeAppInstanceUserEndpointCommand = deseria
|
|
|
1060
1060
|
const deserializeAws_restJson1DescribeAppInstanceUserEndpointCommandError = async (output, context) => {
|
|
1061
1061
|
const parsedOutput = {
|
|
1062
1062
|
...output,
|
|
1063
|
-
body: await
|
|
1063
|
+
body: await parseErrorBody(output.body, context),
|
|
1064
1064
|
};
|
|
1065
1065
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1066
1066
|
switch (errorCode) {
|
|
@@ -1112,7 +1112,7 @@ exports.deserializeAws_restJson1GetAppInstanceRetentionSettingsCommand = deseria
|
|
|
1112
1112
|
const deserializeAws_restJson1GetAppInstanceRetentionSettingsCommandError = async (output, context) => {
|
|
1113
1113
|
const parsedOutput = {
|
|
1114
1114
|
...output,
|
|
1115
|
-
body: await
|
|
1115
|
+
body: await parseErrorBody(output.body, context),
|
|
1116
1116
|
};
|
|
1117
1117
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1118
1118
|
switch (errorCode) {
|
|
@@ -1167,7 +1167,7 @@ exports.deserializeAws_restJson1ListAppInstanceAdminsCommand = deserializeAws_re
|
|
|
1167
1167
|
const deserializeAws_restJson1ListAppInstanceAdminsCommandError = async (output, context) => {
|
|
1168
1168
|
const parsedOutput = {
|
|
1169
1169
|
...output,
|
|
1170
|
-
body: await
|
|
1170
|
+
body: await parseErrorBody(output.body, context),
|
|
1171
1171
|
};
|
|
1172
1172
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1173
1173
|
switch (errorCode) {
|
|
@@ -1222,7 +1222,7 @@ exports.deserializeAws_restJson1ListAppInstancesCommand = deserializeAws_restJso
|
|
|
1222
1222
|
const deserializeAws_restJson1ListAppInstancesCommandError = async (output, context) => {
|
|
1223
1223
|
const parsedOutput = {
|
|
1224
1224
|
...output,
|
|
1225
|
-
body: await
|
|
1225
|
+
body: await parseErrorBody(output.body, context),
|
|
1226
1226
|
};
|
|
1227
1227
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1228
1228
|
switch (errorCode) {
|
|
@@ -1274,7 +1274,7 @@ exports.deserializeAws_restJson1ListAppInstanceUserEndpointsCommand = deserializ
|
|
|
1274
1274
|
const deserializeAws_restJson1ListAppInstanceUserEndpointsCommandError = async (output, context) => {
|
|
1275
1275
|
const parsedOutput = {
|
|
1276
1276
|
...output,
|
|
1277
|
-
body: await
|
|
1277
|
+
body: await parseErrorBody(output.body, context),
|
|
1278
1278
|
};
|
|
1279
1279
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1280
1280
|
switch (errorCode) {
|
|
@@ -1329,7 +1329,7 @@ exports.deserializeAws_restJson1ListAppInstanceUsersCommand = deserializeAws_res
|
|
|
1329
1329
|
const deserializeAws_restJson1ListAppInstanceUsersCommandError = async (output, context) => {
|
|
1330
1330
|
const parsedOutput = {
|
|
1331
1331
|
...output,
|
|
1332
|
-
body: await
|
|
1332
|
+
body: await parseErrorBody(output.body, context),
|
|
1333
1333
|
};
|
|
1334
1334
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1335
1335
|
switch (errorCode) {
|
|
@@ -1378,7 +1378,7 @@ exports.deserializeAws_restJson1ListTagsForResourceCommand = deserializeAws_rest
|
|
|
1378
1378
|
const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, context) => {
|
|
1379
1379
|
const parsedOutput = {
|
|
1380
1380
|
...output,
|
|
1381
|
-
body: await
|
|
1381
|
+
body: await parseErrorBody(output.body, context),
|
|
1382
1382
|
};
|
|
1383
1383
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1384
1384
|
switch (errorCode) {
|
|
@@ -1430,7 +1430,7 @@ exports.deserializeAws_restJson1PutAppInstanceRetentionSettingsCommand = deseria
|
|
|
1430
1430
|
const deserializeAws_restJson1PutAppInstanceRetentionSettingsCommandError = async (output, context) => {
|
|
1431
1431
|
const parsedOutput = {
|
|
1432
1432
|
...output,
|
|
1433
|
-
body: await
|
|
1433
|
+
body: await parseErrorBody(output.body, context),
|
|
1434
1434
|
};
|
|
1435
1435
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1436
1436
|
switch (errorCode) {
|
|
@@ -1482,7 +1482,7 @@ exports.deserializeAws_restJson1RegisterAppInstanceUserEndpointCommand = deseria
|
|
|
1482
1482
|
const deserializeAws_restJson1RegisterAppInstanceUserEndpointCommandError = async (output, context) => {
|
|
1483
1483
|
const parsedOutput = {
|
|
1484
1484
|
...output,
|
|
1485
|
-
body: await
|
|
1485
|
+
body: await parseErrorBody(output.body, context),
|
|
1486
1486
|
};
|
|
1487
1487
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1488
1488
|
switch (errorCode) {
|
|
@@ -1534,7 +1534,7 @@ exports.deserializeAws_restJson1TagResourceCommand = deserializeAws_restJson1Tag
|
|
|
1534
1534
|
const deserializeAws_restJson1TagResourceCommandError = async (output, context) => {
|
|
1535
1535
|
const parsedOutput = {
|
|
1536
1536
|
...output,
|
|
1537
|
-
body: await
|
|
1537
|
+
body: await parseErrorBody(output.body, context),
|
|
1538
1538
|
};
|
|
1539
1539
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1540
1540
|
switch (errorCode) {
|
|
@@ -1583,7 +1583,7 @@ exports.deserializeAws_restJson1UntagResourceCommand = deserializeAws_restJson1U
|
|
|
1583
1583
|
const deserializeAws_restJson1UntagResourceCommandError = async (output, context) => {
|
|
1584
1584
|
const parsedOutput = {
|
|
1585
1585
|
...output,
|
|
1586
|
-
body: await
|
|
1586
|
+
body: await parseErrorBody(output.body, context),
|
|
1587
1587
|
};
|
|
1588
1588
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1589
1589
|
switch (errorCode) {
|
|
@@ -1632,7 +1632,7 @@ exports.deserializeAws_restJson1UpdateAppInstanceCommand = deserializeAws_restJs
|
|
|
1632
1632
|
const deserializeAws_restJson1UpdateAppInstanceCommandError = async (output, context) => {
|
|
1633
1633
|
const parsedOutput = {
|
|
1634
1634
|
...output,
|
|
1635
|
-
body: await
|
|
1635
|
+
body: await parseErrorBody(output.body, context),
|
|
1636
1636
|
};
|
|
1637
1637
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1638
1638
|
switch (errorCode) {
|
|
@@ -1684,7 +1684,7 @@ exports.deserializeAws_restJson1UpdateAppInstanceUserCommand = deserializeAws_re
|
|
|
1684
1684
|
const deserializeAws_restJson1UpdateAppInstanceUserCommandError = async (output, context) => {
|
|
1685
1685
|
const parsedOutput = {
|
|
1686
1686
|
...output,
|
|
1687
|
-
body: await
|
|
1687
|
+
body: await parseErrorBody(output.body, context),
|
|
1688
1688
|
};
|
|
1689
1689
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1690
1690
|
switch (errorCode) {
|
|
@@ -1742,7 +1742,7 @@ exports.deserializeAws_restJson1UpdateAppInstanceUserEndpointCommand = deseriali
|
|
|
1742
1742
|
const deserializeAws_restJson1UpdateAppInstanceUserEndpointCommandError = async (output, context) => {
|
|
1743
1743
|
const parsedOutput = {
|
|
1744
1744
|
...output,
|
|
1745
|
-
body: await
|
|
1745
|
+
body: await parseErrorBody(output.body, context),
|
|
1746
1746
|
};
|
|
1747
1747
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1748
1748
|
switch (errorCode) {
|
|
@@ -2138,6 +2138,12 @@ const parseBody = (streamBody, context) => collectBodyString(streamBody, context
|
|
|
2138
2138
|
}
|
|
2139
2139
|
return {};
|
|
2140
2140
|
});
|
|
2141
|
+
const parseErrorBody = async (errorBody, context) => {
|
|
2142
|
+
var _a;
|
|
2143
|
+
const value = await parseBody(errorBody, context);
|
|
2144
|
+
value.message = (_a = value.message) !== null && _a !== void 0 ? _a : value.Message;
|
|
2145
|
+
return value;
|
|
2146
|
+
};
|
|
2141
2147
|
const loadRestJsonErrorCode = (output, data) => {
|
|
2142
2148
|
const findKey = (object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase());
|
|
2143
2149
|
const sanitizeErrorCode = (rawValue) => {
|