@aws-sdk/client-directory-service 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_json1_1.js +71 -65
- package/dist-es/DirectoryService.js +262 -269
- package/dist-es/DirectoryServiceClient.js +22 -28
- package/dist-es/commands/AcceptSharedDirectoryCommand.js +21 -28
- package/dist-es/commands/AddIpRoutesCommand.js +21 -28
- package/dist-es/commands/AddRegionCommand.js +21 -28
- package/dist-es/commands/AddTagsToResourceCommand.js +21 -28
- package/dist-es/commands/CancelSchemaExtensionCommand.js +21 -28
- package/dist-es/commands/ConnectDirectoryCommand.js +21 -28
- package/dist-es/commands/CreateAliasCommand.js +21 -28
- package/dist-es/commands/CreateComputerCommand.js +21 -28
- package/dist-es/commands/CreateConditionalForwarderCommand.js +21 -28
- package/dist-es/commands/CreateDirectoryCommand.js +21 -28
- package/dist-es/commands/CreateLogSubscriptionCommand.js +21 -28
- package/dist-es/commands/CreateMicrosoftADCommand.js +21 -28
- package/dist-es/commands/CreateSnapshotCommand.js +21 -28
- package/dist-es/commands/CreateTrustCommand.js +21 -28
- package/dist-es/commands/DeleteConditionalForwarderCommand.js +21 -28
- package/dist-es/commands/DeleteDirectoryCommand.js +21 -28
- package/dist-es/commands/DeleteLogSubscriptionCommand.js +21 -28
- package/dist-es/commands/DeleteSnapshotCommand.js +21 -28
- package/dist-es/commands/DeleteTrustCommand.js +21 -28
- package/dist-es/commands/DeregisterCertificateCommand.js +21 -28
- package/dist-es/commands/DeregisterEventTopicCommand.js +21 -28
- package/dist-es/commands/DescribeCertificateCommand.js +21 -28
- package/dist-es/commands/DescribeClientAuthenticationSettingsCommand.js +21 -28
- package/dist-es/commands/DescribeConditionalForwardersCommand.js +21 -28
- package/dist-es/commands/DescribeDirectoriesCommand.js +21 -28
- package/dist-es/commands/DescribeDomainControllersCommand.js +21 -28
- package/dist-es/commands/DescribeEventTopicsCommand.js +21 -28
- package/dist-es/commands/DescribeLDAPSSettingsCommand.js +21 -28
- package/dist-es/commands/DescribeRegionsCommand.js +21 -28
- package/dist-es/commands/DescribeSettingsCommand.js +21 -28
- package/dist-es/commands/DescribeSharedDirectoriesCommand.js +21 -28
- package/dist-es/commands/DescribeSnapshotsCommand.js +21 -28
- package/dist-es/commands/DescribeTrustsCommand.js +21 -28
- package/dist-es/commands/DisableClientAuthenticationCommand.js +21 -28
- package/dist-es/commands/DisableLDAPSCommand.js +21 -28
- package/dist-es/commands/DisableRadiusCommand.js +21 -28
- package/dist-es/commands/DisableSsoCommand.js +21 -28
- package/dist-es/commands/EnableClientAuthenticationCommand.js +21 -28
- package/dist-es/commands/EnableLDAPSCommand.js +21 -28
- package/dist-es/commands/EnableRadiusCommand.js +21 -28
- package/dist-es/commands/EnableSsoCommand.js +21 -28
- package/dist-es/commands/GetDirectoryLimitsCommand.js +21 -28
- package/dist-es/commands/GetSnapshotLimitsCommand.js +21 -28
- package/dist-es/commands/ListCertificatesCommand.js +21 -28
- package/dist-es/commands/ListIpRoutesCommand.js +21 -28
- package/dist-es/commands/ListLogSubscriptionsCommand.js +21 -28
- package/dist-es/commands/ListSchemaExtensionsCommand.js +21 -28
- package/dist-es/commands/ListTagsForResourceCommand.js +21 -28
- package/dist-es/commands/RegisterCertificateCommand.js +21 -28
- package/dist-es/commands/RegisterEventTopicCommand.js +21 -28
- package/dist-es/commands/RejectSharedDirectoryCommand.js +21 -28
- package/dist-es/commands/RemoveIpRoutesCommand.js +21 -28
- package/dist-es/commands/RemoveRegionCommand.js +21 -28
- package/dist-es/commands/RemoveTagsFromResourceCommand.js +21 -28
- package/dist-es/commands/ResetUserPasswordCommand.js +21 -28
- package/dist-es/commands/RestoreFromSnapshotCommand.js +21 -28
- package/dist-es/commands/ShareDirectoryCommand.js +21 -28
- package/dist-es/commands/StartSchemaExtensionCommand.js +21 -28
- package/dist-es/commands/UnshareDirectoryCommand.js +21 -28
- package/dist-es/commands/UpdateConditionalForwarderCommand.js +21 -28
- package/dist-es/commands/UpdateNumberOfDomainControllersCommand.js +21 -28
- package/dist-es/commands/UpdateRadiusCommand.js +21 -28
- package/dist-es/commands/UpdateSettingsCommand.js +21 -28
- package/dist-es/commands/UpdateTrustCommand.js +21 -28
- package/dist-es/commands/VerifyTrustCommand.js +21 -28
- package/dist-es/endpoints.js +8 -8
- package/dist-es/models/DirectoryServiceServiceException.js +5 -10
- package/dist-es/models/models_0.js +1019 -674
- package/dist-es/pagination/DescribeDomainControllersPaginator.js +25 -68
- package/dist-es/protocols/Aws_json1_1.js +4706 -6034
- 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-directory-service
|
|
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-directory-service
|
|
@@ -674,7 +674,7 @@ exports.deserializeAws_json1_1AcceptSharedDirectoryCommand = deserializeAws_json
|
|
|
674
674
|
const deserializeAws_json1_1AcceptSharedDirectoryCommandError = async (output, context) => {
|
|
675
675
|
const parsedOutput = {
|
|
676
676
|
...output,
|
|
677
|
-
body: await
|
|
677
|
+
body: await parseErrorBody(output.body, context),
|
|
678
678
|
};
|
|
679
679
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
680
680
|
switch (errorCode) {
|
|
@@ -720,7 +720,7 @@ exports.deserializeAws_json1_1AddIpRoutesCommand = deserializeAws_json1_1AddIpRo
|
|
|
720
720
|
const deserializeAws_json1_1AddIpRoutesCommandError = async (output, context) => {
|
|
721
721
|
const parsedOutput = {
|
|
722
722
|
...output,
|
|
723
|
-
body: await
|
|
723
|
+
body: await parseErrorBody(output.body, context),
|
|
724
724
|
};
|
|
725
725
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
726
726
|
switch (errorCode) {
|
|
@@ -772,7 +772,7 @@ exports.deserializeAws_json1_1AddRegionCommand = deserializeAws_json1_1AddRegion
|
|
|
772
772
|
const deserializeAws_json1_1AddRegionCommandError = async (output, context) => {
|
|
773
773
|
const parsedOutput = {
|
|
774
774
|
...output,
|
|
775
|
-
body: await
|
|
775
|
+
body: await parseErrorBody(output.body, context),
|
|
776
776
|
};
|
|
777
777
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
778
778
|
switch (errorCode) {
|
|
@@ -833,7 +833,7 @@ exports.deserializeAws_json1_1AddTagsToResourceCommand = deserializeAws_json1_1A
|
|
|
833
833
|
const deserializeAws_json1_1AddTagsToResourceCommandError = async (output, context) => {
|
|
834
834
|
const parsedOutput = {
|
|
835
835
|
...output,
|
|
836
|
-
body: await
|
|
836
|
+
body: await parseErrorBody(output.body, context),
|
|
837
837
|
};
|
|
838
838
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
839
839
|
switch (errorCode) {
|
|
@@ -879,7 +879,7 @@ exports.deserializeAws_json1_1CancelSchemaExtensionCommand = deserializeAws_json
|
|
|
879
879
|
const deserializeAws_json1_1CancelSchemaExtensionCommandError = async (output, context) => {
|
|
880
880
|
const parsedOutput = {
|
|
881
881
|
...output,
|
|
882
|
-
body: await
|
|
882
|
+
body: await parseErrorBody(output.body, context),
|
|
883
883
|
};
|
|
884
884
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
885
885
|
switch (errorCode) {
|
|
@@ -919,7 +919,7 @@ exports.deserializeAws_json1_1ConnectDirectoryCommand = deserializeAws_json1_1Co
|
|
|
919
919
|
const deserializeAws_json1_1ConnectDirectoryCommandError = async (output, context) => {
|
|
920
920
|
const parsedOutput = {
|
|
921
921
|
...output,
|
|
922
|
-
body: await
|
|
922
|
+
body: await parseErrorBody(output.body, context),
|
|
923
923
|
};
|
|
924
924
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
925
925
|
switch (errorCode) {
|
|
@@ -962,7 +962,7 @@ exports.deserializeAws_json1_1CreateAliasCommand = deserializeAws_json1_1CreateA
|
|
|
962
962
|
const deserializeAws_json1_1CreateAliasCommandError = 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) {
|
|
@@ -1008,7 +1008,7 @@ exports.deserializeAws_json1_1CreateComputerCommand = deserializeAws_json1_1Crea
|
|
|
1008
1008
|
const deserializeAws_json1_1CreateComputerCommandError = async (output, context) => {
|
|
1009
1009
|
const parsedOutput = {
|
|
1010
1010
|
...output,
|
|
1011
|
-
body: await
|
|
1011
|
+
body: await parseErrorBody(output.body, context),
|
|
1012
1012
|
};
|
|
1013
1013
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1014
1014
|
switch (errorCode) {
|
|
@@ -1063,7 +1063,7 @@ exports.deserializeAws_json1_1CreateConditionalForwarderCommand = deserializeAws
|
|
|
1063
1063
|
const deserializeAws_json1_1CreateConditionalForwarderCommandError = async (output, context) => {
|
|
1064
1064
|
const parsedOutput = {
|
|
1065
1065
|
...output,
|
|
1066
|
-
body: await
|
|
1066
|
+
body: await parseErrorBody(output.body, context),
|
|
1067
1067
|
};
|
|
1068
1068
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1069
1069
|
switch (errorCode) {
|
|
@@ -1115,7 +1115,7 @@ exports.deserializeAws_json1_1CreateDirectoryCommand = deserializeAws_json1_1Cre
|
|
|
1115
1115
|
const deserializeAws_json1_1CreateDirectoryCommandError = async (output, context) => {
|
|
1116
1116
|
const parsedOutput = {
|
|
1117
1117
|
...output,
|
|
1118
|
-
body: await
|
|
1118
|
+
body: await parseErrorBody(output.body, context),
|
|
1119
1119
|
};
|
|
1120
1120
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1121
1121
|
switch (errorCode) {
|
|
@@ -1158,7 +1158,7 @@ exports.deserializeAws_json1_1CreateLogSubscriptionCommand = deserializeAws_json
|
|
|
1158
1158
|
const deserializeAws_json1_1CreateLogSubscriptionCommandError = async (output, context) => {
|
|
1159
1159
|
const parsedOutput = {
|
|
1160
1160
|
...output,
|
|
1161
|
-
body: await
|
|
1161
|
+
body: await parseErrorBody(output.body, context),
|
|
1162
1162
|
};
|
|
1163
1163
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1164
1164
|
switch (errorCode) {
|
|
@@ -1207,7 +1207,7 @@ exports.deserializeAws_json1_1CreateMicrosoftADCommand = deserializeAws_json1_1C
|
|
|
1207
1207
|
const deserializeAws_json1_1CreateMicrosoftADCommandError = async (output, context) => {
|
|
1208
1208
|
const parsedOutput = {
|
|
1209
1209
|
...output,
|
|
1210
|
-
body: await
|
|
1210
|
+
body: await parseErrorBody(output.body, context),
|
|
1211
1211
|
};
|
|
1212
1212
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1213
1213
|
switch (errorCode) {
|
|
@@ -1253,7 +1253,7 @@ exports.deserializeAws_json1_1CreateSnapshotCommand = deserializeAws_json1_1Crea
|
|
|
1253
1253
|
const deserializeAws_json1_1CreateSnapshotCommandError = async (output, context) => {
|
|
1254
1254
|
const parsedOutput = {
|
|
1255
1255
|
...output,
|
|
1256
|
-
body: await
|
|
1256
|
+
body: await parseErrorBody(output.body, context),
|
|
1257
1257
|
};
|
|
1258
1258
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1259
1259
|
switch (errorCode) {
|
|
@@ -1299,7 +1299,7 @@ exports.deserializeAws_json1_1CreateTrustCommand = deserializeAws_json1_1CreateT
|
|
|
1299
1299
|
const deserializeAws_json1_1CreateTrustCommandError = async (output, context) => {
|
|
1300
1300
|
const parsedOutput = {
|
|
1301
1301
|
...output,
|
|
1302
|
-
body: await
|
|
1302
|
+
body: await parseErrorBody(output.body, context),
|
|
1303
1303
|
};
|
|
1304
1304
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1305
1305
|
switch (errorCode) {
|
|
@@ -1348,7 +1348,7 @@ exports.deserializeAws_json1_1DeleteConditionalForwarderCommand = deserializeAws
|
|
|
1348
1348
|
const deserializeAws_json1_1DeleteConditionalForwarderCommandError = async (output, context) => {
|
|
1349
1349
|
const parsedOutput = {
|
|
1350
1350
|
...output,
|
|
1351
|
-
body: await
|
|
1351
|
+
body: await parseErrorBody(output.body, context),
|
|
1352
1352
|
};
|
|
1353
1353
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1354
1354
|
switch (errorCode) {
|
|
@@ -1397,7 +1397,7 @@ exports.deserializeAws_json1_1DeleteDirectoryCommand = deserializeAws_json1_1Del
|
|
|
1397
1397
|
const deserializeAws_json1_1DeleteDirectoryCommandError = async (output, context) => {
|
|
1398
1398
|
const parsedOutput = {
|
|
1399
1399
|
...output,
|
|
1400
|
-
body: await
|
|
1400
|
+
body: await parseErrorBody(output.body, context),
|
|
1401
1401
|
};
|
|
1402
1402
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1403
1403
|
switch (errorCode) {
|
|
@@ -1437,7 +1437,7 @@ exports.deserializeAws_json1_1DeleteLogSubscriptionCommand = deserializeAws_json
|
|
|
1437
1437
|
const deserializeAws_json1_1DeleteLogSubscriptionCommandError = async (output, context) => {
|
|
1438
1438
|
const parsedOutput = {
|
|
1439
1439
|
...output,
|
|
1440
|
-
body: await
|
|
1440
|
+
body: await parseErrorBody(output.body, context),
|
|
1441
1441
|
};
|
|
1442
1442
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1443
1443
|
switch (errorCode) {
|
|
@@ -1480,7 +1480,7 @@ exports.deserializeAws_json1_1DeleteSnapshotCommand = deserializeAws_json1_1Dele
|
|
|
1480
1480
|
const deserializeAws_json1_1DeleteSnapshotCommandError = async (output, context) => {
|
|
1481
1481
|
const parsedOutput = {
|
|
1482
1482
|
...output,
|
|
1483
|
-
body: await
|
|
1483
|
+
body: await parseErrorBody(output.body, context),
|
|
1484
1484
|
};
|
|
1485
1485
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1486
1486
|
switch (errorCode) {
|
|
@@ -1523,7 +1523,7 @@ exports.deserializeAws_json1_1DeleteTrustCommand = deserializeAws_json1_1DeleteT
|
|
|
1523
1523
|
const deserializeAws_json1_1DeleteTrustCommandError = async (output, context) => {
|
|
1524
1524
|
const parsedOutput = {
|
|
1525
1525
|
...output,
|
|
1526
|
-
body: await
|
|
1526
|
+
body: await parseErrorBody(output.body, context),
|
|
1527
1527
|
};
|
|
1528
1528
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1529
1529
|
switch (errorCode) {
|
|
@@ -1569,7 +1569,7 @@ exports.deserializeAws_json1_1DeregisterCertificateCommand = deserializeAws_json
|
|
|
1569
1569
|
const deserializeAws_json1_1DeregisterCertificateCommandError = async (output, context) => {
|
|
1570
1570
|
const parsedOutput = {
|
|
1571
1571
|
...output,
|
|
1572
|
-
body: await
|
|
1572
|
+
body: await parseErrorBody(output.body, context),
|
|
1573
1573
|
};
|
|
1574
1574
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1575
1575
|
switch (errorCode) {
|
|
@@ -1624,7 +1624,7 @@ exports.deserializeAws_json1_1DeregisterEventTopicCommand = deserializeAws_json1
|
|
|
1624
1624
|
const deserializeAws_json1_1DeregisterEventTopicCommandError = async (output, context) => {
|
|
1625
1625
|
const parsedOutput = {
|
|
1626
1626
|
...output,
|
|
1627
|
-
body: await
|
|
1627
|
+
body: await parseErrorBody(output.body, context),
|
|
1628
1628
|
};
|
|
1629
1629
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1630
1630
|
switch (errorCode) {
|
|
@@ -1667,7 +1667,7 @@ exports.deserializeAws_json1_1DescribeCertificateCommand = deserializeAws_json1_
|
|
|
1667
1667
|
const deserializeAws_json1_1DescribeCertificateCommandError = async (output, context) => {
|
|
1668
1668
|
const parsedOutput = {
|
|
1669
1669
|
...output,
|
|
1670
|
-
body: await
|
|
1670
|
+
body: await parseErrorBody(output.body, context),
|
|
1671
1671
|
};
|
|
1672
1672
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1673
1673
|
switch (errorCode) {
|
|
@@ -1716,7 +1716,7 @@ exports.deserializeAws_json1_1DescribeClientAuthenticationSettingsCommand = dese
|
|
|
1716
1716
|
const deserializeAws_json1_1DescribeClientAuthenticationSettingsCommandError = async (output, context) => {
|
|
1717
1717
|
const parsedOutput = {
|
|
1718
1718
|
...output,
|
|
1719
|
-
body: await
|
|
1719
|
+
body: await parseErrorBody(output.body, context),
|
|
1720
1720
|
};
|
|
1721
1721
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1722
1722
|
switch (errorCode) {
|
|
@@ -1765,7 +1765,7 @@ exports.deserializeAws_json1_1DescribeConditionalForwardersCommand = deserialize
|
|
|
1765
1765
|
const deserializeAws_json1_1DescribeConditionalForwardersCommandError = async (output, context) => {
|
|
1766
1766
|
const parsedOutput = {
|
|
1767
1767
|
...output,
|
|
1768
|
-
body: await
|
|
1768
|
+
body: await parseErrorBody(output.body, context),
|
|
1769
1769
|
};
|
|
1770
1770
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1771
1771
|
switch (errorCode) {
|
|
@@ -1814,7 +1814,7 @@ exports.deserializeAws_json1_1DescribeDirectoriesCommand = deserializeAws_json1_
|
|
|
1814
1814
|
const deserializeAws_json1_1DescribeDirectoriesCommandError = async (output, context) => {
|
|
1815
1815
|
const parsedOutput = {
|
|
1816
1816
|
...output,
|
|
1817
|
-
body: await
|
|
1817
|
+
body: await parseErrorBody(output.body, context),
|
|
1818
1818
|
};
|
|
1819
1819
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1820
1820
|
switch (errorCode) {
|
|
@@ -1860,7 +1860,7 @@ exports.deserializeAws_json1_1DescribeDomainControllersCommand = deserializeAws_
|
|
|
1860
1860
|
const deserializeAws_json1_1DescribeDomainControllersCommandError = async (output, context) => {
|
|
1861
1861
|
const parsedOutput = {
|
|
1862
1862
|
...output,
|
|
1863
|
-
body: await
|
|
1863
|
+
body: await parseErrorBody(output.body, context),
|
|
1864
1864
|
};
|
|
1865
1865
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1866
1866
|
switch (errorCode) {
|
|
@@ -1909,7 +1909,7 @@ exports.deserializeAws_json1_1DescribeEventTopicsCommand = deserializeAws_json1_
|
|
|
1909
1909
|
const deserializeAws_json1_1DescribeEventTopicsCommandError = async (output, context) => {
|
|
1910
1910
|
const parsedOutput = {
|
|
1911
1911
|
...output,
|
|
1912
|
-
body: await
|
|
1912
|
+
body: await parseErrorBody(output.body, context),
|
|
1913
1913
|
};
|
|
1914
1914
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1915
1915
|
switch (errorCode) {
|
|
@@ -1952,7 +1952,7 @@ exports.deserializeAws_json1_1DescribeLDAPSSettingsCommand = deserializeAws_json
|
|
|
1952
1952
|
const deserializeAws_json1_1DescribeLDAPSSettingsCommandError = async (output, context) => {
|
|
1953
1953
|
const parsedOutput = {
|
|
1954
1954
|
...output,
|
|
1955
|
-
body: await
|
|
1955
|
+
body: await parseErrorBody(output.body, context),
|
|
1956
1956
|
};
|
|
1957
1957
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1958
1958
|
switch (errorCode) {
|
|
@@ -2001,7 +2001,7 @@ exports.deserializeAws_json1_1DescribeRegionsCommand = deserializeAws_json1_1Des
|
|
|
2001
2001
|
const deserializeAws_json1_1DescribeRegionsCommandError = async (output, context) => {
|
|
2002
2002
|
const parsedOutput = {
|
|
2003
2003
|
...output,
|
|
2004
|
-
body: await
|
|
2004
|
+
body: await parseErrorBody(output.body, context),
|
|
2005
2005
|
};
|
|
2006
2006
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2007
2007
|
switch (errorCode) {
|
|
@@ -2053,7 +2053,7 @@ exports.deserializeAws_json1_1DescribeSettingsCommand = deserializeAws_json1_1De
|
|
|
2053
2053
|
const deserializeAws_json1_1DescribeSettingsCommandError = async (output, context) => {
|
|
2054
2054
|
const parsedOutput = {
|
|
2055
2055
|
...output,
|
|
2056
|
-
body: await
|
|
2056
|
+
body: await parseErrorBody(output.body, context),
|
|
2057
2057
|
};
|
|
2058
2058
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2059
2059
|
switch (errorCode) {
|
|
@@ -2102,7 +2102,7 @@ exports.deserializeAws_json1_1DescribeSharedDirectoriesCommand = deserializeAws_
|
|
|
2102
2102
|
const deserializeAws_json1_1DescribeSharedDirectoriesCommandError = async (output, context) => {
|
|
2103
2103
|
const parsedOutput = {
|
|
2104
2104
|
...output,
|
|
2105
|
-
body: await
|
|
2105
|
+
body: await parseErrorBody(output.body, context),
|
|
2106
2106
|
};
|
|
2107
2107
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2108
2108
|
switch (errorCode) {
|
|
@@ -2151,7 +2151,7 @@ exports.deserializeAws_json1_1DescribeSnapshotsCommand = deserializeAws_json1_1D
|
|
|
2151
2151
|
const deserializeAws_json1_1DescribeSnapshotsCommandError = async (output, context) => {
|
|
2152
2152
|
const parsedOutput = {
|
|
2153
2153
|
...output,
|
|
2154
|
-
body: await
|
|
2154
|
+
body: await parseErrorBody(output.body, context),
|
|
2155
2155
|
};
|
|
2156
2156
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2157
2157
|
switch (errorCode) {
|
|
@@ -2197,7 +2197,7 @@ exports.deserializeAws_json1_1DescribeTrustsCommand = deserializeAws_json1_1Desc
|
|
|
2197
2197
|
const deserializeAws_json1_1DescribeTrustsCommandError = async (output, context) => {
|
|
2198
2198
|
const parsedOutput = {
|
|
2199
2199
|
...output,
|
|
2200
|
-
body: await
|
|
2200
|
+
body: await parseErrorBody(output.body, context),
|
|
2201
2201
|
};
|
|
2202
2202
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2203
2203
|
switch (errorCode) {
|
|
@@ -2246,7 +2246,7 @@ exports.deserializeAws_json1_1DisableClientAuthenticationCommand = deserializeAw
|
|
|
2246
2246
|
const deserializeAws_json1_1DisableClientAuthenticationCommandError = async (output, context) => {
|
|
2247
2247
|
const parsedOutput = {
|
|
2248
2248
|
...output,
|
|
2249
|
-
body: await
|
|
2249
|
+
body: await parseErrorBody(output.body, context),
|
|
2250
2250
|
};
|
|
2251
2251
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2252
2252
|
switch (errorCode) {
|
|
@@ -2295,7 +2295,7 @@ exports.deserializeAws_json1_1DisableLDAPSCommand = deserializeAws_json1_1Disabl
|
|
|
2295
2295
|
const deserializeAws_json1_1DisableLDAPSCommandError = async (output, context) => {
|
|
2296
2296
|
const parsedOutput = {
|
|
2297
2297
|
...output,
|
|
2298
|
-
body: await
|
|
2298
|
+
body: await parseErrorBody(output.body, context),
|
|
2299
2299
|
};
|
|
2300
2300
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2301
2301
|
switch (errorCode) {
|
|
@@ -2347,7 +2347,7 @@ exports.deserializeAws_json1_1DisableRadiusCommand = deserializeAws_json1_1Disab
|
|
|
2347
2347
|
const deserializeAws_json1_1DisableRadiusCommandError = async (output, context) => {
|
|
2348
2348
|
const parsedOutput = {
|
|
2349
2349
|
...output,
|
|
2350
|
-
body: await
|
|
2350
|
+
body: await parseErrorBody(output.body, context),
|
|
2351
2351
|
};
|
|
2352
2352
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2353
2353
|
switch (errorCode) {
|
|
@@ -2387,7 +2387,7 @@ exports.deserializeAws_json1_1DisableSsoCommand = deserializeAws_json1_1DisableS
|
|
|
2387
2387
|
const deserializeAws_json1_1DisableSsoCommandError = async (output, context) => {
|
|
2388
2388
|
const parsedOutput = {
|
|
2389
2389
|
...output,
|
|
2390
|
-
body: await
|
|
2390
|
+
body: await parseErrorBody(output.body, context),
|
|
2391
2391
|
};
|
|
2392
2392
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2393
2393
|
switch (errorCode) {
|
|
@@ -2433,7 +2433,7 @@ exports.deserializeAws_json1_1EnableClientAuthenticationCommand = deserializeAws
|
|
|
2433
2433
|
const deserializeAws_json1_1EnableClientAuthenticationCommandError = async (output, context) => {
|
|
2434
2434
|
const parsedOutput = {
|
|
2435
2435
|
...output,
|
|
2436
|
-
body: await
|
|
2436
|
+
body: await parseErrorBody(output.body, context),
|
|
2437
2437
|
};
|
|
2438
2438
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2439
2439
|
switch (errorCode) {
|
|
@@ -2485,7 +2485,7 @@ exports.deserializeAws_json1_1EnableLDAPSCommand = deserializeAws_json1_1EnableL
|
|
|
2485
2485
|
const deserializeAws_json1_1EnableLDAPSCommandError = async (output, context) => {
|
|
2486
2486
|
const parsedOutput = {
|
|
2487
2487
|
...output,
|
|
2488
|
-
body: await
|
|
2488
|
+
body: await parseErrorBody(output.body, context),
|
|
2489
2489
|
};
|
|
2490
2490
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2491
2491
|
switch (errorCode) {
|
|
@@ -2540,7 +2540,7 @@ exports.deserializeAws_json1_1EnableRadiusCommand = deserializeAws_json1_1Enable
|
|
|
2540
2540
|
const deserializeAws_json1_1EnableRadiusCommandError = async (output, context) => {
|
|
2541
2541
|
const parsedOutput = {
|
|
2542
2542
|
...output,
|
|
2543
|
-
body: await
|
|
2543
|
+
body: await parseErrorBody(output.body, context),
|
|
2544
2544
|
};
|
|
2545
2545
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2546
2546
|
switch (errorCode) {
|
|
@@ -2586,7 +2586,7 @@ exports.deserializeAws_json1_1EnableSsoCommand = deserializeAws_json1_1EnableSso
|
|
|
2586
2586
|
const deserializeAws_json1_1EnableSsoCommandError = async (output, context) => {
|
|
2587
2587
|
const parsedOutput = {
|
|
2588
2588
|
...output,
|
|
2589
|
-
body: await
|
|
2589
|
+
body: await parseErrorBody(output.body, context),
|
|
2590
2590
|
};
|
|
2591
2591
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2592
2592
|
switch (errorCode) {
|
|
@@ -2632,7 +2632,7 @@ exports.deserializeAws_json1_1GetDirectoryLimitsCommand = deserializeAws_json1_1
|
|
|
2632
2632
|
const deserializeAws_json1_1GetDirectoryLimitsCommandError = async (output, context) => {
|
|
2633
2633
|
const parsedOutput = {
|
|
2634
2634
|
...output,
|
|
2635
|
-
body: await
|
|
2635
|
+
body: await parseErrorBody(output.body, context),
|
|
2636
2636
|
};
|
|
2637
2637
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2638
2638
|
switch (errorCode) {
|
|
@@ -2672,7 +2672,7 @@ exports.deserializeAws_json1_1GetSnapshotLimitsCommand = deserializeAws_json1_1G
|
|
|
2672
2672
|
const deserializeAws_json1_1GetSnapshotLimitsCommandError = async (output, context) => {
|
|
2673
2673
|
const parsedOutput = {
|
|
2674
2674
|
...output,
|
|
2675
|
-
body: await
|
|
2675
|
+
body: await parseErrorBody(output.body, context),
|
|
2676
2676
|
};
|
|
2677
2677
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2678
2678
|
switch (errorCode) {
|
|
@@ -2712,7 +2712,7 @@ exports.deserializeAws_json1_1ListCertificatesCommand = deserializeAws_json1_1Li
|
|
|
2712
2712
|
const deserializeAws_json1_1ListCertificatesCommandError = async (output, context) => {
|
|
2713
2713
|
const parsedOutput = {
|
|
2714
2714
|
...output,
|
|
2715
|
-
body: await
|
|
2715
|
+
body: await parseErrorBody(output.body, context),
|
|
2716
2716
|
};
|
|
2717
2717
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2718
2718
|
switch (errorCode) {
|
|
@@ -2761,7 +2761,7 @@ exports.deserializeAws_json1_1ListIpRoutesCommand = deserializeAws_json1_1ListIp
|
|
|
2761
2761
|
const deserializeAws_json1_1ListIpRoutesCommandError = async (output, context) => {
|
|
2762
2762
|
const parsedOutput = {
|
|
2763
2763
|
...output,
|
|
2764
|
-
body: await
|
|
2764
|
+
body: await parseErrorBody(output.body, context),
|
|
2765
2765
|
};
|
|
2766
2766
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2767
2767
|
switch (errorCode) {
|
|
@@ -2807,7 +2807,7 @@ exports.deserializeAws_json1_1ListLogSubscriptionsCommand = deserializeAws_json1
|
|
|
2807
2807
|
const deserializeAws_json1_1ListLogSubscriptionsCommandError = async (output, context) => {
|
|
2808
2808
|
const parsedOutput = {
|
|
2809
2809
|
...output,
|
|
2810
|
-
body: await
|
|
2810
|
+
body: await parseErrorBody(output.body, context),
|
|
2811
2811
|
};
|
|
2812
2812
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2813
2813
|
switch (errorCode) {
|
|
@@ -2850,7 +2850,7 @@ exports.deserializeAws_json1_1ListSchemaExtensionsCommand = deserializeAws_json1
|
|
|
2850
2850
|
const deserializeAws_json1_1ListSchemaExtensionsCommandError = async (output, context) => {
|
|
2851
2851
|
const parsedOutput = {
|
|
2852
2852
|
...output,
|
|
2853
|
-
body: await
|
|
2853
|
+
body: await parseErrorBody(output.body, context),
|
|
2854
2854
|
};
|
|
2855
2855
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2856
2856
|
switch (errorCode) {
|
|
@@ -2893,7 +2893,7 @@ exports.deserializeAws_json1_1ListTagsForResourceCommand = deserializeAws_json1_
|
|
|
2893
2893
|
const deserializeAws_json1_1ListTagsForResourceCommandError = async (output, context) => {
|
|
2894
2894
|
const parsedOutput = {
|
|
2895
2895
|
...output,
|
|
2896
|
-
body: await
|
|
2896
|
+
body: await parseErrorBody(output.body, context),
|
|
2897
2897
|
};
|
|
2898
2898
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2899
2899
|
switch (errorCode) {
|
|
@@ -2939,7 +2939,7 @@ exports.deserializeAws_json1_1RegisterCertificateCommand = deserializeAws_json1_
|
|
|
2939
2939
|
const deserializeAws_json1_1RegisterCertificateCommandError = async (output, context) => {
|
|
2940
2940
|
const parsedOutput = {
|
|
2941
2941
|
...output,
|
|
2942
|
-
body: await
|
|
2942
|
+
body: await parseErrorBody(output.body, context),
|
|
2943
2943
|
};
|
|
2944
2944
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2945
2945
|
switch (errorCode) {
|
|
@@ -2997,7 +2997,7 @@ exports.deserializeAws_json1_1RegisterEventTopicCommand = deserializeAws_json1_1
|
|
|
2997
2997
|
const deserializeAws_json1_1RegisterEventTopicCommandError = async (output, context) => {
|
|
2998
2998
|
const parsedOutput = {
|
|
2999
2999
|
...output,
|
|
3000
|
-
body: await
|
|
3000
|
+
body: await parseErrorBody(output.body, context),
|
|
3001
3001
|
};
|
|
3002
3002
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3003
3003
|
switch (errorCode) {
|
|
@@ -3040,7 +3040,7 @@ exports.deserializeAws_json1_1RejectSharedDirectoryCommand = deserializeAws_json
|
|
|
3040
3040
|
const deserializeAws_json1_1RejectSharedDirectoryCommandError = async (output, context) => {
|
|
3041
3041
|
const parsedOutput = {
|
|
3042
3042
|
...output,
|
|
3043
|
-
body: await
|
|
3043
|
+
body: await parseErrorBody(output.body, context),
|
|
3044
3044
|
};
|
|
3045
3045
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3046
3046
|
switch (errorCode) {
|
|
@@ -3086,7 +3086,7 @@ exports.deserializeAws_json1_1RemoveIpRoutesCommand = deserializeAws_json1_1Remo
|
|
|
3086
3086
|
const deserializeAws_json1_1RemoveIpRoutesCommandError = async (output, context) => {
|
|
3087
3087
|
const parsedOutput = {
|
|
3088
3088
|
...output,
|
|
3089
|
-
body: await
|
|
3089
|
+
body: await parseErrorBody(output.body, context),
|
|
3090
3090
|
};
|
|
3091
3091
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3092
3092
|
switch (errorCode) {
|
|
@@ -3132,7 +3132,7 @@ exports.deserializeAws_json1_1RemoveRegionCommand = deserializeAws_json1_1Remove
|
|
|
3132
3132
|
const deserializeAws_json1_1RemoveRegionCommandError = async (output, context) => {
|
|
3133
3133
|
const parsedOutput = {
|
|
3134
3134
|
...output,
|
|
3135
|
-
body: await
|
|
3135
|
+
body: await parseErrorBody(output.body, context),
|
|
3136
3136
|
};
|
|
3137
3137
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3138
3138
|
switch (errorCode) {
|
|
@@ -3181,7 +3181,7 @@ exports.deserializeAws_json1_1RemoveTagsFromResourceCommand = deserializeAws_jso
|
|
|
3181
3181
|
const deserializeAws_json1_1RemoveTagsFromResourceCommandError = async (output, context) => {
|
|
3182
3182
|
const parsedOutput = {
|
|
3183
3183
|
...output,
|
|
3184
|
-
body: await
|
|
3184
|
+
body: await parseErrorBody(output.body, context),
|
|
3185
3185
|
};
|
|
3186
3186
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3187
3187
|
switch (errorCode) {
|
|
@@ -3224,7 +3224,7 @@ exports.deserializeAws_json1_1ResetUserPasswordCommand = deserializeAws_json1_1R
|
|
|
3224
3224
|
const deserializeAws_json1_1ResetUserPasswordCommandError = async (output, context) => {
|
|
3225
3225
|
const parsedOutput = {
|
|
3226
3226
|
...output,
|
|
3227
|
-
body: await
|
|
3227
|
+
body: await parseErrorBody(output.body, context),
|
|
3228
3228
|
};
|
|
3229
3229
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3230
3230
|
switch (errorCode) {
|
|
@@ -3276,7 +3276,7 @@ exports.deserializeAws_json1_1RestoreFromSnapshotCommand = deserializeAws_json1_
|
|
|
3276
3276
|
const deserializeAws_json1_1RestoreFromSnapshotCommandError = async (output, context) => {
|
|
3277
3277
|
const parsedOutput = {
|
|
3278
3278
|
...output,
|
|
3279
|
-
body: await
|
|
3279
|
+
body: await parseErrorBody(output.body, context),
|
|
3280
3280
|
};
|
|
3281
3281
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3282
3282
|
switch (errorCode) {
|
|
@@ -3319,7 +3319,7 @@ exports.deserializeAws_json1_1ShareDirectoryCommand = deserializeAws_json1_1Shar
|
|
|
3319
3319
|
const deserializeAws_json1_1ShareDirectoryCommandError = async (output, context) => {
|
|
3320
3320
|
const parsedOutput = {
|
|
3321
3321
|
...output,
|
|
3322
|
-
body: await
|
|
3322
|
+
body: await parseErrorBody(output.body, context),
|
|
3323
3323
|
};
|
|
3324
3324
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3325
3325
|
switch (errorCode) {
|
|
@@ -3380,7 +3380,7 @@ exports.deserializeAws_json1_1StartSchemaExtensionCommand = deserializeAws_json1
|
|
|
3380
3380
|
const deserializeAws_json1_1StartSchemaExtensionCommandError = async (output, context) => {
|
|
3381
3381
|
const parsedOutput = {
|
|
3382
3382
|
...output,
|
|
3383
|
-
body: await
|
|
3383
|
+
body: await parseErrorBody(output.body, context),
|
|
3384
3384
|
};
|
|
3385
3385
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3386
3386
|
switch (errorCode) {
|
|
@@ -3429,7 +3429,7 @@ exports.deserializeAws_json1_1UnshareDirectoryCommand = deserializeAws_json1_1Un
|
|
|
3429
3429
|
const deserializeAws_json1_1UnshareDirectoryCommandError = async (output, context) => {
|
|
3430
3430
|
const parsedOutput = {
|
|
3431
3431
|
...output,
|
|
3432
|
-
body: await
|
|
3432
|
+
body: await parseErrorBody(output.body, context),
|
|
3433
3433
|
};
|
|
3434
3434
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3435
3435
|
switch (errorCode) {
|
|
@@ -3475,7 +3475,7 @@ exports.deserializeAws_json1_1UpdateConditionalForwarderCommand = deserializeAws
|
|
|
3475
3475
|
const deserializeAws_json1_1UpdateConditionalForwarderCommandError = async (output, context) => {
|
|
3476
3476
|
const parsedOutput = {
|
|
3477
3477
|
...output,
|
|
3478
|
-
body: await
|
|
3478
|
+
body: await parseErrorBody(output.body, context),
|
|
3479
3479
|
};
|
|
3480
3480
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3481
3481
|
switch (errorCode) {
|
|
@@ -3524,7 +3524,7 @@ exports.deserializeAws_json1_1UpdateNumberOfDomainControllersCommand = deseriali
|
|
|
3524
3524
|
const deserializeAws_json1_1UpdateNumberOfDomainControllersCommandError = async (output, context) => {
|
|
3525
3525
|
const parsedOutput = {
|
|
3526
3526
|
...output,
|
|
3527
|
-
body: await
|
|
3527
|
+
body: await parseErrorBody(output.body, context),
|
|
3528
3528
|
};
|
|
3529
3529
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3530
3530
|
switch (errorCode) {
|
|
@@ -3576,7 +3576,7 @@ exports.deserializeAws_json1_1UpdateRadiusCommand = deserializeAws_json1_1Update
|
|
|
3576
3576
|
const deserializeAws_json1_1UpdateRadiusCommandError = async (output, context) => {
|
|
3577
3577
|
const parsedOutput = {
|
|
3578
3578
|
...output,
|
|
3579
|
-
body: await
|
|
3579
|
+
body: await parseErrorBody(output.body, context),
|
|
3580
3580
|
};
|
|
3581
3581
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3582
3582
|
switch (errorCode) {
|
|
@@ -3619,7 +3619,7 @@ exports.deserializeAws_json1_1UpdateSettingsCommand = deserializeAws_json1_1Upda
|
|
|
3619
3619
|
const deserializeAws_json1_1UpdateSettingsCommandError = async (output, context) => {
|
|
3620
3620
|
const parsedOutput = {
|
|
3621
3621
|
...output,
|
|
3622
|
-
body: await
|
|
3622
|
+
body: await parseErrorBody(output.body, context),
|
|
3623
3623
|
};
|
|
3624
3624
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3625
3625
|
switch (errorCode) {
|
|
@@ -3674,7 +3674,7 @@ exports.deserializeAws_json1_1UpdateTrustCommand = deserializeAws_json1_1UpdateT
|
|
|
3674
3674
|
const deserializeAws_json1_1UpdateTrustCommandError = async (output, context) => {
|
|
3675
3675
|
const parsedOutput = {
|
|
3676
3676
|
...output,
|
|
3677
|
-
body: await
|
|
3677
|
+
body: await parseErrorBody(output.body, context),
|
|
3678
3678
|
};
|
|
3679
3679
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3680
3680
|
switch (errorCode) {
|
|
@@ -3717,7 +3717,7 @@ exports.deserializeAws_json1_1VerifyTrustCommand = deserializeAws_json1_1VerifyT
|
|
|
3717
3717
|
const deserializeAws_json1_1VerifyTrustCommandError = async (output, context) => {
|
|
3718
3718
|
const parsedOutput = {
|
|
3719
3719
|
...output,
|
|
3720
|
-
body: await
|
|
3720
|
+
body: await parseErrorBody(output.body, context),
|
|
3721
3721
|
};
|
|
3722
3722
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3723
3723
|
switch (errorCode) {
|
|
@@ -5888,6 +5888,12 @@ const parseBody = (streamBody, context) => collectBodyString(streamBody, context
|
|
|
5888
5888
|
}
|
|
5889
5889
|
return {};
|
|
5890
5890
|
});
|
|
5891
|
+
const parseErrorBody = async (errorBody, context) => {
|
|
5892
|
+
var _a;
|
|
5893
|
+
const value = await parseBody(errorBody, context);
|
|
5894
|
+
value.message = (_a = value.message) !== null && _a !== void 0 ? _a : value.Message;
|
|
5895
|
+
return value;
|
|
5896
|
+
};
|
|
5891
5897
|
const loadRestJsonErrorCode = (output, data) => {
|
|
5892
5898
|
const findKey = (object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase());
|
|
5893
5899
|
const sanitizeErrorCode = (rawValue) => {
|