@aws-sdk/client-database-migration-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/DatabaseMigrationService.js +262 -269
- package/dist-es/DatabaseMigrationServiceClient.js +22 -28
- package/dist-es/commands/AddTagsToResourceCommand.js +21 -28
- package/dist-es/commands/ApplyPendingMaintenanceActionCommand.js +21 -28
- package/dist-es/commands/CancelReplicationTaskAssessmentRunCommand.js +21 -28
- package/dist-es/commands/CreateEndpointCommand.js +21 -28
- package/dist-es/commands/CreateEventSubscriptionCommand.js +21 -28
- package/dist-es/commands/CreateFleetAdvisorCollectorCommand.js +21 -28
- package/dist-es/commands/CreateReplicationInstanceCommand.js +21 -28
- package/dist-es/commands/CreateReplicationSubnetGroupCommand.js +21 -28
- package/dist-es/commands/CreateReplicationTaskCommand.js +21 -28
- package/dist-es/commands/DeleteCertificateCommand.js +21 -28
- package/dist-es/commands/DeleteConnectionCommand.js +21 -28
- package/dist-es/commands/DeleteEndpointCommand.js +21 -28
- package/dist-es/commands/DeleteEventSubscriptionCommand.js +21 -28
- package/dist-es/commands/DeleteFleetAdvisorCollectorCommand.js +22 -29
- package/dist-es/commands/DeleteFleetAdvisorDatabasesCommand.js +21 -28
- package/dist-es/commands/DeleteReplicationInstanceCommand.js +21 -28
- package/dist-es/commands/DeleteReplicationSubnetGroupCommand.js +21 -28
- package/dist-es/commands/DeleteReplicationTaskAssessmentRunCommand.js +21 -28
- package/dist-es/commands/DeleteReplicationTaskCommand.js +21 -28
- package/dist-es/commands/DescribeAccountAttributesCommand.js +21 -28
- package/dist-es/commands/DescribeApplicableIndividualAssessmentsCommand.js +21 -28
- package/dist-es/commands/DescribeCertificatesCommand.js +21 -28
- package/dist-es/commands/DescribeConnectionsCommand.js +21 -28
- package/dist-es/commands/DescribeEndpointSettingsCommand.js +21 -28
- package/dist-es/commands/DescribeEndpointTypesCommand.js +21 -28
- package/dist-es/commands/DescribeEndpointsCommand.js +21 -28
- package/dist-es/commands/DescribeEventCategoriesCommand.js +21 -28
- package/dist-es/commands/DescribeEventSubscriptionsCommand.js +21 -28
- package/dist-es/commands/DescribeEventsCommand.js +21 -28
- package/dist-es/commands/DescribeFleetAdvisorCollectorsCommand.js +21 -28
- package/dist-es/commands/DescribeFleetAdvisorDatabasesCommand.js +21 -28
- package/dist-es/commands/DescribeFleetAdvisorLsaAnalysisCommand.js +21 -28
- package/dist-es/commands/DescribeFleetAdvisorSchemaObjectSummaryCommand.js +21 -28
- package/dist-es/commands/DescribeFleetAdvisorSchemasCommand.js +21 -28
- package/dist-es/commands/DescribeOrderableReplicationInstancesCommand.js +21 -28
- package/dist-es/commands/DescribePendingMaintenanceActionsCommand.js +21 -28
- package/dist-es/commands/DescribeRefreshSchemasStatusCommand.js +21 -28
- package/dist-es/commands/DescribeReplicationInstanceTaskLogsCommand.js +21 -28
- package/dist-es/commands/DescribeReplicationInstancesCommand.js +21 -28
- package/dist-es/commands/DescribeReplicationSubnetGroupsCommand.js +21 -28
- package/dist-es/commands/DescribeReplicationTaskAssessmentResultsCommand.js +21 -28
- package/dist-es/commands/DescribeReplicationTaskAssessmentRunsCommand.js +21 -28
- package/dist-es/commands/DescribeReplicationTaskIndividualAssessmentsCommand.js +21 -28
- package/dist-es/commands/DescribeReplicationTasksCommand.js +21 -28
- package/dist-es/commands/DescribeSchemasCommand.js +21 -28
- package/dist-es/commands/DescribeTableStatisticsCommand.js +21 -28
- package/dist-es/commands/ImportCertificateCommand.js +21 -28
- package/dist-es/commands/ListTagsForResourceCommand.js +21 -28
- package/dist-es/commands/ModifyEndpointCommand.js +21 -28
- package/dist-es/commands/ModifyEventSubscriptionCommand.js +21 -28
- package/dist-es/commands/ModifyReplicationInstanceCommand.js +21 -28
- package/dist-es/commands/ModifyReplicationSubnetGroupCommand.js +21 -28
- package/dist-es/commands/ModifyReplicationTaskCommand.js +21 -28
- package/dist-es/commands/MoveReplicationTaskCommand.js +21 -28
- package/dist-es/commands/RebootReplicationInstanceCommand.js +21 -28
- package/dist-es/commands/RefreshSchemasCommand.js +21 -28
- package/dist-es/commands/ReloadTablesCommand.js +21 -28
- package/dist-es/commands/RemoveTagsFromResourceCommand.js +21 -28
- package/dist-es/commands/RunFleetAdvisorLsaAnalysisCommand.js +22 -29
- package/dist-es/commands/StartReplicationTaskAssessmentCommand.js +21 -28
- package/dist-es/commands/StartReplicationTaskAssessmentRunCommand.js +21 -28
- package/dist-es/commands/StartReplicationTaskCommand.js +21 -28
- package/dist-es/commands/StopReplicationTaskCommand.js +21 -28
- package/dist-es/commands/TestConnectionCommand.js +21 -28
- package/dist-es/commands/UpdateSubscriptionsToEventBridgeCommand.js +21 -28
- package/dist-es/endpoints.js +8 -8
- package/dist-es/models/DatabaseMigrationServiceServiceException.js +5 -10
- package/dist-es/models/models_0.js +904 -471
- package/dist-es/pagination/DescribeApplicableIndividualAssessmentsPaginator.js +25 -68
- package/dist-es/pagination/DescribeCertificatesPaginator.js +25 -68
- package/dist-es/pagination/DescribeConnectionsPaginator.js +25 -68
- package/dist-es/pagination/DescribeEndpointSettingsPaginator.js +25 -68
- package/dist-es/pagination/DescribeEndpointTypesPaginator.js +25 -68
- package/dist-es/pagination/DescribeEndpointsPaginator.js +25 -68
- package/dist-es/pagination/DescribeEventSubscriptionsPaginator.js +25 -68
- package/dist-es/pagination/DescribeEventsPaginator.js +25 -68
- package/dist-es/pagination/DescribeFleetAdvisorCollectorsPaginator.js +25 -68
- package/dist-es/pagination/DescribeFleetAdvisorDatabasesPaginator.js +25 -68
- package/dist-es/pagination/DescribeFleetAdvisorLsaAnalysisPaginator.js +25 -68
- package/dist-es/pagination/DescribeFleetAdvisorSchemaObjectSummaryPaginator.js +25 -68
- package/dist-es/pagination/DescribeFleetAdvisorSchemasPaginator.js +25 -68
- package/dist-es/pagination/DescribeOrderableReplicationInstancesPaginator.js +25 -68
- package/dist-es/pagination/DescribePendingMaintenanceActionsPaginator.js +25 -68
- package/dist-es/pagination/DescribeReplicationInstanceTaskLogsPaginator.js +25 -68
- package/dist-es/pagination/DescribeReplicationInstancesPaginator.js +25 -68
- package/dist-es/pagination/DescribeReplicationSubnetGroupsPaginator.js +25 -68
- package/dist-es/pagination/DescribeReplicationTaskAssessmentResultsPaginator.js +25 -68
- package/dist-es/pagination/DescribeReplicationTaskAssessmentRunsPaginator.js +25 -68
- package/dist-es/pagination/DescribeReplicationTaskIndividualAssessmentsPaginator.js +25 -68
- package/dist-es/pagination/DescribeReplicationTasksPaginator.js +25 -68
- package/dist-es/pagination/DescribeSchemasPaginator.js +25 -68
- package/dist-es/pagination/DescribeTableStatisticsPaginator.js +25 -68
- package/dist-es/protocols/Aws_json1_1.js +4646 -5418
- 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/dist-es/waiters/waitForEndpointDeleted.js +49 -90
- package/dist-es/waiters/waitForReplicationInstanceAvailable.js +92 -163
- package/dist-es/waiters/waitForReplicationInstanceDeleted.js +35 -66
- package/dist-es/waiters/waitForReplicationTaskDeleted.js +91 -162
- package/dist-es/waiters/waitForReplicationTaskReady.js +148 -259
- package/dist-es/waiters/waitForReplicationTaskRunning.js +148 -259
- package/dist-es/waiters/waitForReplicationTaskStopped.js +134 -235
- package/dist-es/waiters/waitForTestConnectionSucceeds.js +50 -91
- package/package.json +34 -34
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-database-migration-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-database-migration-service
|
|
@@ -673,7 +673,7 @@ exports.deserializeAws_json1_1AddTagsToResourceCommand = deserializeAws_json1_1A
|
|
|
673
673
|
const deserializeAws_json1_1AddTagsToResourceCommandError = async (output, context) => {
|
|
674
674
|
const parsedOutput = {
|
|
675
675
|
...output,
|
|
676
|
-
body: await
|
|
676
|
+
body: await parseErrorBody(output.body, context),
|
|
677
677
|
};
|
|
678
678
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
679
679
|
switch (errorCode) {
|
|
@@ -707,7 +707,7 @@ exports.deserializeAws_json1_1ApplyPendingMaintenanceActionCommand = deserialize
|
|
|
707
707
|
const deserializeAws_json1_1ApplyPendingMaintenanceActionCommandError = async (output, context) => {
|
|
708
708
|
const parsedOutput = {
|
|
709
709
|
...output,
|
|
710
|
-
body: await
|
|
710
|
+
body: await parseErrorBody(output.body, context),
|
|
711
711
|
};
|
|
712
712
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
713
713
|
switch (errorCode) {
|
|
@@ -741,7 +741,7 @@ exports.deserializeAws_json1_1CancelReplicationTaskAssessmentRunCommand = deseri
|
|
|
741
741
|
const deserializeAws_json1_1CancelReplicationTaskAssessmentRunCommandError = async (output, context) => {
|
|
742
742
|
const parsedOutput = {
|
|
743
743
|
...output,
|
|
744
|
-
body: await
|
|
744
|
+
body: await parseErrorBody(output.body, context),
|
|
745
745
|
};
|
|
746
746
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
747
747
|
switch (errorCode) {
|
|
@@ -781,7 +781,7 @@ exports.deserializeAws_json1_1CreateEndpointCommand = deserializeAws_json1_1Crea
|
|
|
781
781
|
const deserializeAws_json1_1CreateEndpointCommandError = async (output, context) => {
|
|
782
782
|
const parsedOutput = {
|
|
783
783
|
...output,
|
|
784
|
-
body: await
|
|
784
|
+
body: await parseErrorBody(output.body, context),
|
|
785
785
|
};
|
|
786
786
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
787
787
|
switch (errorCode) {
|
|
@@ -833,7 +833,7 @@ exports.deserializeAws_json1_1CreateEventSubscriptionCommand = deserializeAws_js
|
|
|
833
833
|
const deserializeAws_json1_1CreateEventSubscriptionCommandError = 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) {
|
|
@@ -894,7 +894,7 @@ exports.deserializeAws_json1_1CreateFleetAdvisorCollectorCommand = deserializeAw
|
|
|
894
894
|
const deserializeAws_json1_1CreateFleetAdvisorCollectorCommandError = async (output, context) => {
|
|
895
895
|
const parsedOutput = {
|
|
896
896
|
...output,
|
|
897
|
-
body: await
|
|
897
|
+
body: await parseErrorBody(output.body, context),
|
|
898
898
|
};
|
|
899
899
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
900
900
|
switch (errorCode) {
|
|
@@ -940,7 +940,7 @@ exports.deserializeAws_json1_1CreateReplicationInstanceCommand = deserializeAws_
|
|
|
940
940
|
const deserializeAws_json1_1CreateReplicationInstanceCommandError = async (output, context) => {
|
|
941
941
|
const parsedOutput = {
|
|
942
942
|
...output,
|
|
943
|
-
body: await
|
|
943
|
+
body: await parseErrorBody(output.body, context),
|
|
944
944
|
};
|
|
945
945
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
946
946
|
switch (errorCode) {
|
|
@@ -1001,7 +1001,7 @@ exports.deserializeAws_json1_1CreateReplicationSubnetGroupCommand = deserializeA
|
|
|
1001
1001
|
const deserializeAws_json1_1CreateReplicationSubnetGroupCommandError = async (output, context) => {
|
|
1002
1002
|
const parsedOutput = {
|
|
1003
1003
|
...output,
|
|
1004
|
-
body: await
|
|
1004
|
+
body: await parseErrorBody(output.body, context),
|
|
1005
1005
|
};
|
|
1006
1006
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1007
1007
|
switch (errorCode) {
|
|
@@ -1050,7 +1050,7 @@ exports.deserializeAws_json1_1CreateReplicationTaskCommand = deserializeAws_json
|
|
|
1050
1050
|
const deserializeAws_json1_1CreateReplicationTaskCommandError = async (output, context) => {
|
|
1051
1051
|
const parsedOutput = {
|
|
1052
1052
|
...output,
|
|
1053
|
-
body: await
|
|
1053
|
+
body: await parseErrorBody(output.body, context),
|
|
1054
1054
|
};
|
|
1055
1055
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1056
1056
|
switch (errorCode) {
|
|
@@ -1099,7 +1099,7 @@ exports.deserializeAws_json1_1DeleteCertificateCommand = deserializeAws_json1_1D
|
|
|
1099
1099
|
const deserializeAws_json1_1DeleteCertificateCommandError = async (output, context) => {
|
|
1100
1100
|
const parsedOutput = {
|
|
1101
1101
|
...output,
|
|
1102
|
-
body: await
|
|
1102
|
+
body: await parseErrorBody(output.body, context),
|
|
1103
1103
|
};
|
|
1104
1104
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1105
1105
|
switch (errorCode) {
|
|
@@ -1136,7 +1136,7 @@ exports.deserializeAws_json1_1DeleteConnectionCommand = deserializeAws_json1_1De
|
|
|
1136
1136
|
const deserializeAws_json1_1DeleteConnectionCommandError = async (output, context) => {
|
|
1137
1137
|
const parsedOutput = {
|
|
1138
1138
|
...output,
|
|
1139
|
-
body: await
|
|
1139
|
+
body: await parseErrorBody(output.body, context),
|
|
1140
1140
|
};
|
|
1141
1141
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1142
1142
|
switch (errorCode) {
|
|
@@ -1176,7 +1176,7 @@ exports.deserializeAws_json1_1DeleteEndpointCommand = deserializeAws_json1_1Dele
|
|
|
1176
1176
|
const deserializeAws_json1_1DeleteEndpointCommandError = async (output, context) => {
|
|
1177
1177
|
const parsedOutput = {
|
|
1178
1178
|
...output,
|
|
1179
|
-
body: await
|
|
1179
|
+
body: await parseErrorBody(output.body, context),
|
|
1180
1180
|
};
|
|
1181
1181
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1182
1182
|
switch (errorCode) {
|
|
@@ -1213,7 +1213,7 @@ exports.deserializeAws_json1_1DeleteEventSubscriptionCommand = deserializeAws_js
|
|
|
1213
1213
|
const deserializeAws_json1_1DeleteEventSubscriptionCommandError = async (output, context) => {
|
|
1214
1214
|
const parsedOutput = {
|
|
1215
1215
|
...output,
|
|
1216
|
-
body: await
|
|
1216
|
+
body: await parseErrorBody(output.body, context),
|
|
1217
1217
|
};
|
|
1218
1218
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1219
1219
|
switch (errorCode) {
|
|
@@ -1247,7 +1247,7 @@ exports.deserializeAws_json1_1DeleteFleetAdvisorCollectorCommand = deserializeAw
|
|
|
1247
1247
|
const deserializeAws_json1_1DeleteFleetAdvisorCollectorCommandError = async (output, context) => {
|
|
1248
1248
|
const parsedOutput = {
|
|
1249
1249
|
...output,
|
|
1250
|
-
body: await
|
|
1250
|
+
body: await parseErrorBody(output.body, context),
|
|
1251
1251
|
};
|
|
1252
1252
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1253
1253
|
switch (errorCode) {
|
|
@@ -1284,7 +1284,7 @@ exports.deserializeAws_json1_1DeleteFleetAdvisorDatabasesCommand = deserializeAw
|
|
|
1284
1284
|
const deserializeAws_json1_1DeleteFleetAdvisorDatabasesCommandError = async (output, context) => {
|
|
1285
1285
|
const parsedOutput = {
|
|
1286
1286
|
...output,
|
|
1287
|
-
body: await
|
|
1287
|
+
body: await parseErrorBody(output.body, context),
|
|
1288
1288
|
};
|
|
1289
1289
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1290
1290
|
switch (errorCode) {
|
|
@@ -1321,7 +1321,7 @@ exports.deserializeAws_json1_1DeleteReplicationInstanceCommand = deserializeAws_
|
|
|
1321
1321
|
const deserializeAws_json1_1DeleteReplicationInstanceCommandError = async (output, context) => {
|
|
1322
1322
|
const parsedOutput = {
|
|
1323
1323
|
...output,
|
|
1324
|
-
body: await
|
|
1324
|
+
body: await parseErrorBody(output.body, context),
|
|
1325
1325
|
};
|
|
1326
1326
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1327
1327
|
switch (errorCode) {
|
|
@@ -1358,7 +1358,7 @@ exports.deserializeAws_json1_1DeleteReplicationSubnetGroupCommand = deserializeA
|
|
|
1358
1358
|
const deserializeAws_json1_1DeleteReplicationSubnetGroupCommandError = async (output, context) => {
|
|
1359
1359
|
const parsedOutput = {
|
|
1360
1360
|
...output,
|
|
1361
|
-
body: await
|
|
1361
|
+
body: await parseErrorBody(output.body, context),
|
|
1362
1362
|
};
|
|
1363
1363
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1364
1364
|
switch (errorCode) {
|
|
@@ -1395,7 +1395,7 @@ exports.deserializeAws_json1_1DeleteReplicationTaskCommand = deserializeAws_json
|
|
|
1395
1395
|
const deserializeAws_json1_1DeleteReplicationTaskCommandError = async (output, context) => {
|
|
1396
1396
|
const parsedOutput = {
|
|
1397
1397
|
...output,
|
|
1398
|
-
body: await
|
|
1398
|
+
body: await parseErrorBody(output.body, context),
|
|
1399
1399
|
};
|
|
1400
1400
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1401
1401
|
switch (errorCode) {
|
|
@@ -1432,7 +1432,7 @@ exports.deserializeAws_json1_1DeleteReplicationTaskAssessmentRunCommand = deseri
|
|
|
1432
1432
|
const deserializeAws_json1_1DeleteReplicationTaskAssessmentRunCommandError = async (output, context) => {
|
|
1433
1433
|
const parsedOutput = {
|
|
1434
1434
|
...output,
|
|
1435
|
-
body: await
|
|
1435
|
+
body: await parseErrorBody(output.body, context),
|
|
1436
1436
|
};
|
|
1437
1437
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1438
1438
|
switch (errorCode) {
|
|
@@ -1472,7 +1472,7 @@ exports.deserializeAws_json1_1DescribeAccountAttributesCommand = deserializeAws_
|
|
|
1472
1472
|
const deserializeAws_json1_1DescribeAccountAttributesCommandError = async (output, context) => {
|
|
1473
1473
|
const parsedOutput = {
|
|
1474
1474
|
...output,
|
|
1475
|
-
body: await
|
|
1475
|
+
body: await parseErrorBody(output.body, context),
|
|
1476
1476
|
};
|
|
1477
1477
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1478
1478
|
const parsedBody = parsedOutput.body;
|
|
@@ -1500,7 +1500,7 @@ exports.deserializeAws_json1_1DescribeApplicableIndividualAssessmentsCommand = d
|
|
|
1500
1500
|
const deserializeAws_json1_1DescribeApplicableIndividualAssessmentsCommandError = async (output, context) => {
|
|
1501
1501
|
const parsedOutput = {
|
|
1502
1502
|
...output,
|
|
1503
|
-
body: await
|
|
1503
|
+
body: await parseErrorBody(output.body, context),
|
|
1504
1504
|
};
|
|
1505
1505
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1506
1506
|
switch (errorCode) {
|
|
@@ -1540,7 +1540,7 @@ exports.deserializeAws_json1_1DescribeCertificatesCommand = deserializeAws_json1
|
|
|
1540
1540
|
const deserializeAws_json1_1DescribeCertificatesCommandError = async (output, context) => {
|
|
1541
1541
|
const parsedOutput = {
|
|
1542
1542
|
...output,
|
|
1543
|
-
body: await
|
|
1543
|
+
body: await parseErrorBody(output.body, context),
|
|
1544
1544
|
};
|
|
1545
1545
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1546
1546
|
switch (errorCode) {
|
|
@@ -1574,7 +1574,7 @@ exports.deserializeAws_json1_1DescribeConnectionsCommand = deserializeAws_json1_
|
|
|
1574
1574
|
const deserializeAws_json1_1DescribeConnectionsCommandError = async (output, context) => {
|
|
1575
1575
|
const parsedOutput = {
|
|
1576
1576
|
...output,
|
|
1577
|
-
body: await
|
|
1577
|
+
body: await parseErrorBody(output.body, context),
|
|
1578
1578
|
};
|
|
1579
1579
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1580
1580
|
switch (errorCode) {
|
|
@@ -1608,7 +1608,7 @@ exports.deserializeAws_json1_1DescribeEndpointsCommand = deserializeAws_json1_1D
|
|
|
1608
1608
|
const deserializeAws_json1_1DescribeEndpointsCommandError = async (output, context) => {
|
|
1609
1609
|
const parsedOutput = {
|
|
1610
1610
|
...output,
|
|
1611
|
-
body: await
|
|
1611
|
+
body: await parseErrorBody(output.body, context),
|
|
1612
1612
|
};
|
|
1613
1613
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1614
1614
|
switch (errorCode) {
|
|
@@ -1642,7 +1642,7 @@ exports.deserializeAws_json1_1DescribeEndpointSettingsCommand = deserializeAws_j
|
|
|
1642
1642
|
const deserializeAws_json1_1DescribeEndpointSettingsCommandError = async (output, context) => {
|
|
1643
1643
|
const parsedOutput = {
|
|
1644
1644
|
...output,
|
|
1645
|
-
body: await
|
|
1645
|
+
body: await parseErrorBody(output.body, context),
|
|
1646
1646
|
};
|
|
1647
1647
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1648
1648
|
const parsedBody = parsedOutput.body;
|
|
@@ -1670,7 +1670,7 @@ exports.deserializeAws_json1_1DescribeEndpointTypesCommand = deserializeAws_json
|
|
|
1670
1670
|
const deserializeAws_json1_1DescribeEndpointTypesCommandError = async (output, context) => {
|
|
1671
1671
|
const parsedOutput = {
|
|
1672
1672
|
...output,
|
|
1673
|
-
body: await
|
|
1673
|
+
body: await parseErrorBody(output.body, context),
|
|
1674
1674
|
};
|
|
1675
1675
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1676
1676
|
const parsedBody = parsedOutput.body;
|
|
@@ -1698,7 +1698,7 @@ exports.deserializeAws_json1_1DescribeEventCategoriesCommand = deserializeAws_js
|
|
|
1698
1698
|
const deserializeAws_json1_1DescribeEventCategoriesCommandError = async (output, context) => {
|
|
1699
1699
|
const parsedOutput = {
|
|
1700
1700
|
...output,
|
|
1701
|
-
body: await
|
|
1701
|
+
body: await parseErrorBody(output.body, context),
|
|
1702
1702
|
};
|
|
1703
1703
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1704
1704
|
const parsedBody = parsedOutput.body;
|
|
@@ -1726,7 +1726,7 @@ exports.deserializeAws_json1_1DescribeEventsCommand = deserializeAws_json1_1Desc
|
|
|
1726
1726
|
const deserializeAws_json1_1DescribeEventsCommandError = async (output, context) => {
|
|
1727
1727
|
const parsedOutput = {
|
|
1728
1728
|
...output,
|
|
1729
|
-
body: await
|
|
1729
|
+
body: await parseErrorBody(output.body, context),
|
|
1730
1730
|
};
|
|
1731
1731
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1732
1732
|
const parsedBody = parsedOutput.body;
|
|
@@ -1754,7 +1754,7 @@ exports.deserializeAws_json1_1DescribeEventSubscriptionsCommand = deserializeAws
|
|
|
1754
1754
|
const deserializeAws_json1_1DescribeEventSubscriptionsCommandError = async (output, context) => {
|
|
1755
1755
|
const parsedOutput = {
|
|
1756
1756
|
...output,
|
|
1757
|
-
body: await
|
|
1757
|
+
body: await parseErrorBody(output.body, context),
|
|
1758
1758
|
};
|
|
1759
1759
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1760
1760
|
switch (errorCode) {
|
|
@@ -1788,7 +1788,7 @@ exports.deserializeAws_json1_1DescribeFleetAdvisorCollectorsCommand = deserializ
|
|
|
1788
1788
|
const deserializeAws_json1_1DescribeFleetAdvisorCollectorsCommandError = async (output, context) => {
|
|
1789
1789
|
const parsedOutput = {
|
|
1790
1790
|
...output,
|
|
1791
|
-
body: await
|
|
1791
|
+
body: await parseErrorBody(output.body, context),
|
|
1792
1792
|
};
|
|
1793
1793
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1794
1794
|
switch (errorCode) {
|
|
@@ -1822,7 +1822,7 @@ exports.deserializeAws_json1_1DescribeFleetAdvisorDatabasesCommand = deserialize
|
|
|
1822
1822
|
const deserializeAws_json1_1DescribeFleetAdvisorDatabasesCommandError = async (output, context) => {
|
|
1823
1823
|
const parsedOutput = {
|
|
1824
1824
|
...output,
|
|
1825
|
-
body: await
|
|
1825
|
+
body: await parseErrorBody(output.body, context),
|
|
1826
1826
|
};
|
|
1827
1827
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1828
1828
|
switch (errorCode) {
|
|
@@ -1856,7 +1856,7 @@ exports.deserializeAws_json1_1DescribeFleetAdvisorLsaAnalysisCommand = deseriali
|
|
|
1856
1856
|
const deserializeAws_json1_1DescribeFleetAdvisorLsaAnalysisCommandError = async (output, context) => {
|
|
1857
1857
|
const parsedOutput = {
|
|
1858
1858
|
...output,
|
|
1859
|
-
body: await
|
|
1859
|
+
body: await parseErrorBody(output.body, context),
|
|
1860
1860
|
};
|
|
1861
1861
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1862
1862
|
switch (errorCode) {
|
|
@@ -1890,7 +1890,7 @@ exports.deserializeAws_json1_1DescribeFleetAdvisorSchemaObjectSummaryCommand = d
|
|
|
1890
1890
|
const deserializeAws_json1_1DescribeFleetAdvisorSchemaObjectSummaryCommandError = async (output, context) => {
|
|
1891
1891
|
const parsedOutput = {
|
|
1892
1892
|
...output,
|
|
1893
|
-
body: await
|
|
1893
|
+
body: await parseErrorBody(output.body, context),
|
|
1894
1894
|
};
|
|
1895
1895
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1896
1896
|
switch (errorCode) {
|
|
@@ -1924,7 +1924,7 @@ exports.deserializeAws_json1_1DescribeFleetAdvisorSchemasCommand = deserializeAw
|
|
|
1924
1924
|
const deserializeAws_json1_1DescribeFleetAdvisorSchemasCommandError = async (output, context) => {
|
|
1925
1925
|
const parsedOutput = {
|
|
1926
1926
|
...output,
|
|
1927
|
-
body: await
|
|
1927
|
+
body: await parseErrorBody(output.body, context),
|
|
1928
1928
|
};
|
|
1929
1929
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1930
1930
|
switch (errorCode) {
|
|
@@ -1958,7 +1958,7 @@ exports.deserializeAws_json1_1DescribeOrderableReplicationInstancesCommand = des
|
|
|
1958
1958
|
const deserializeAws_json1_1DescribeOrderableReplicationInstancesCommandError = async (output, context) => {
|
|
1959
1959
|
const parsedOutput = {
|
|
1960
1960
|
...output,
|
|
1961
|
-
body: await
|
|
1961
|
+
body: await parseErrorBody(output.body, context),
|
|
1962
1962
|
};
|
|
1963
1963
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1964
1964
|
const parsedBody = parsedOutput.body;
|
|
@@ -1986,7 +1986,7 @@ exports.deserializeAws_json1_1DescribePendingMaintenanceActionsCommand = deseria
|
|
|
1986
1986
|
const deserializeAws_json1_1DescribePendingMaintenanceActionsCommandError = async (output, context) => {
|
|
1987
1987
|
const parsedOutput = {
|
|
1988
1988
|
...output,
|
|
1989
|
-
body: await
|
|
1989
|
+
body: await parseErrorBody(output.body, context),
|
|
1990
1990
|
};
|
|
1991
1991
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1992
1992
|
switch (errorCode) {
|
|
@@ -2020,7 +2020,7 @@ exports.deserializeAws_json1_1DescribeRefreshSchemasStatusCommand = deserializeA
|
|
|
2020
2020
|
const deserializeAws_json1_1DescribeRefreshSchemasStatusCommandError = async (output, context) => {
|
|
2021
2021
|
const parsedOutput = {
|
|
2022
2022
|
...output,
|
|
2023
|
-
body: await
|
|
2023
|
+
body: await parseErrorBody(output.body, context),
|
|
2024
2024
|
};
|
|
2025
2025
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2026
2026
|
switch (errorCode) {
|
|
@@ -2057,7 +2057,7 @@ exports.deserializeAws_json1_1DescribeReplicationInstancesCommand = deserializeA
|
|
|
2057
2057
|
const deserializeAws_json1_1DescribeReplicationInstancesCommandError = async (output, context) => {
|
|
2058
2058
|
const parsedOutput = {
|
|
2059
2059
|
...output,
|
|
2060
|
-
body: await
|
|
2060
|
+
body: await parseErrorBody(output.body, context),
|
|
2061
2061
|
};
|
|
2062
2062
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2063
2063
|
switch (errorCode) {
|
|
@@ -2091,7 +2091,7 @@ exports.deserializeAws_json1_1DescribeReplicationInstanceTaskLogsCommand = deser
|
|
|
2091
2091
|
const deserializeAws_json1_1DescribeReplicationInstanceTaskLogsCommandError = async (output, context) => {
|
|
2092
2092
|
const parsedOutput = {
|
|
2093
2093
|
...output,
|
|
2094
|
-
body: await
|
|
2094
|
+
body: await parseErrorBody(output.body, context),
|
|
2095
2095
|
};
|
|
2096
2096
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2097
2097
|
switch (errorCode) {
|
|
@@ -2128,7 +2128,7 @@ exports.deserializeAws_json1_1DescribeReplicationSubnetGroupsCommand = deseriali
|
|
|
2128
2128
|
const deserializeAws_json1_1DescribeReplicationSubnetGroupsCommandError = async (output, context) => {
|
|
2129
2129
|
const parsedOutput = {
|
|
2130
2130
|
...output,
|
|
2131
|
-
body: await
|
|
2131
|
+
body: await parseErrorBody(output.body, context),
|
|
2132
2132
|
};
|
|
2133
2133
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2134
2134
|
switch (errorCode) {
|
|
@@ -2162,7 +2162,7 @@ exports.deserializeAws_json1_1DescribeReplicationTaskAssessmentResultsCommand =
|
|
|
2162
2162
|
const deserializeAws_json1_1DescribeReplicationTaskAssessmentResultsCommandError = async (output, context) => {
|
|
2163
2163
|
const parsedOutput = {
|
|
2164
2164
|
...output,
|
|
2165
|
-
body: await
|
|
2165
|
+
body: await parseErrorBody(output.body, context),
|
|
2166
2166
|
};
|
|
2167
2167
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2168
2168
|
switch (errorCode) {
|
|
@@ -2196,7 +2196,7 @@ exports.deserializeAws_json1_1DescribeReplicationTaskAssessmentRunsCommand = des
|
|
|
2196
2196
|
const deserializeAws_json1_1DescribeReplicationTaskAssessmentRunsCommandError = async (output, context) => {
|
|
2197
2197
|
const parsedOutput = {
|
|
2198
2198
|
...output,
|
|
2199
|
-
body: await
|
|
2199
|
+
body: await parseErrorBody(output.body, context),
|
|
2200
2200
|
};
|
|
2201
2201
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2202
2202
|
switch (errorCode) {
|
|
@@ -2230,7 +2230,7 @@ exports.deserializeAws_json1_1DescribeReplicationTaskIndividualAssessmentsComman
|
|
|
2230
2230
|
const deserializeAws_json1_1DescribeReplicationTaskIndividualAssessmentsCommandError = async (output, context) => {
|
|
2231
2231
|
const parsedOutput = {
|
|
2232
2232
|
...output,
|
|
2233
|
-
body: await
|
|
2233
|
+
body: await parseErrorBody(output.body, context),
|
|
2234
2234
|
};
|
|
2235
2235
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2236
2236
|
switch (errorCode) {
|
|
@@ -2264,7 +2264,7 @@ exports.deserializeAws_json1_1DescribeReplicationTasksCommand = deserializeAws_j
|
|
|
2264
2264
|
const deserializeAws_json1_1DescribeReplicationTasksCommandError = async (output, context) => {
|
|
2265
2265
|
const parsedOutput = {
|
|
2266
2266
|
...output,
|
|
2267
|
-
body: await
|
|
2267
|
+
body: await parseErrorBody(output.body, context),
|
|
2268
2268
|
};
|
|
2269
2269
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2270
2270
|
switch (errorCode) {
|
|
@@ -2298,7 +2298,7 @@ exports.deserializeAws_json1_1DescribeSchemasCommand = deserializeAws_json1_1Des
|
|
|
2298
2298
|
const deserializeAws_json1_1DescribeSchemasCommandError = async (output, context) => {
|
|
2299
2299
|
const parsedOutput = {
|
|
2300
2300
|
...output,
|
|
2301
|
-
body: await
|
|
2301
|
+
body: await parseErrorBody(output.body, context),
|
|
2302
2302
|
};
|
|
2303
2303
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2304
2304
|
switch (errorCode) {
|
|
@@ -2335,7 +2335,7 @@ exports.deserializeAws_json1_1DescribeTableStatisticsCommand = deserializeAws_js
|
|
|
2335
2335
|
const deserializeAws_json1_1DescribeTableStatisticsCommandError = async (output, context) => {
|
|
2336
2336
|
const parsedOutput = {
|
|
2337
2337
|
...output,
|
|
2338
|
-
body: await
|
|
2338
|
+
body: await parseErrorBody(output.body, context),
|
|
2339
2339
|
};
|
|
2340
2340
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2341
2341
|
switch (errorCode) {
|
|
@@ -2372,7 +2372,7 @@ exports.deserializeAws_json1_1ImportCertificateCommand = deserializeAws_json1_1I
|
|
|
2372
2372
|
const deserializeAws_json1_1ImportCertificateCommandError = async (output, context) => {
|
|
2373
2373
|
const parsedOutput = {
|
|
2374
2374
|
...output,
|
|
2375
|
-
body: await
|
|
2375
|
+
body: await parseErrorBody(output.body, context),
|
|
2376
2376
|
};
|
|
2377
2377
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2378
2378
|
switch (errorCode) {
|
|
@@ -2412,7 +2412,7 @@ exports.deserializeAws_json1_1ListTagsForResourceCommand = deserializeAws_json1_
|
|
|
2412
2412
|
const deserializeAws_json1_1ListTagsForResourceCommandError = async (output, context) => {
|
|
2413
2413
|
const parsedOutput = {
|
|
2414
2414
|
...output,
|
|
2415
|
-
body: await
|
|
2415
|
+
body: await parseErrorBody(output.body, context),
|
|
2416
2416
|
};
|
|
2417
2417
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2418
2418
|
switch (errorCode) {
|
|
@@ -2446,7 +2446,7 @@ exports.deserializeAws_json1_1ModifyEndpointCommand = deserializeAws_json1_1Modi
|
|
|
2446
2446
|
const deserializeAws_json1_1ModifyEndpointCommandError = async (output, context) => {
|
|
2447
2447
|
const parsedOutput = {
|
|
2448
2448
|
...output,
|
|
2449
|
-
body: await
|
|
2449
|
+
body: await parseErrorBody(output.body, context),
|
|
2450
2450
|
};
|
|
2451
2451
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2452
2452
|
switch (errorCode) {
|
|
@@ -2492,7 +2492,7 @@ exports.deserializeAws_json1_1ModifyEventSubscriptionCommand = deserializeAws_js
|
|
|
2492
2492
|
const deserializeAws_json1_1ModifyEventSubscriptionCommandError = async (output, context) => {
|
|
2493
2493
|
const parsedOutput = {
|
|
2494
2494
|
...output,
|
|
2495
|
-
body: await
|
|
2495
|
+
body: await parseErrorBody(output.body, context),
|
|
2496
2496
|
};
|
|
2497
2497
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2498
2498
|
switch (errorCode) {
|
|
@@ -2550,7 +2550,7 @@ exports.deserializeAws_json1_1ModifyReplicationInstanceCommand = deserializeAws_
|
|
|
2550
2550
|
const deserializeAws_json1_1ModifyReplicationInstanceCommandError = async (output, context) => {
|
|
2551
2551
|
const parsedOutput = {
|
|
2552
2552
|
...output,
|
|
2553
|
-
body: await
|
|
2553
|
+
body: await parseErrorBody(output.body, context),
|
|
2554
2554
|
};
|
|
2555
2555
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2556
2556
|
switch (errorCode) {
|
|
@@ -2602,7 +2602,7 @@ exports.deserializeAws_json1_1ModifyReplicationSubnetGroupCommand = deserializeA
|
|
|
2602
2602
|
const deserializeAws_json1_1ModifyReplicationSubnetGroupCommandError = async (output, context) => {
|
|
2603
2603
|
const parsedOutput = {
|
|
2604
2604
|
...output,
|
|
2605
|
-
body: await
|
|
2605
|
+
body: await parseErrorBody(output.body, context),
|
|
2606
2606
|
};
|
|
2607
2607
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2608
2608
|
switch (errorCode) {
|
|
@@ -2651,7 +2651,7 @@ exports.deserializeAws_json1_1ModifyReplicationTaskCommand = deserializeAws_json
|
|
|
2651
2651
|
const deserializeAws_json1_1ModifyReplicationTaskCommandError = async (output, context) => {
|
|
2652
2652
|
const parsedOutput = {
|
|
2653
2653
|
...output,
|
|
2654
|
-
body: await
|
|
2654
|
+
body: await parseErrorBody(output.body, context),
|
|
2655
2655
|
};
|
|
2656
2656
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2657
2657
|
switch (errorCode) {
|
|
@@ -2694,7 +2694,7 @@ exports.deserializeAws_json1_1MoveReplicationTaskCommand = deserializeAws_json1_
|
|
|
2694
2694
|
const deserializeAws_json1_1MoveReplicationTaskCommandError = async (output, context) => {
|
|
2695
2695
|
const parsedOutput = {
|
|
2696
2696
|
...output,
|
|
2697
|
-
body: await
|
|
2697
|
+
body: await parseErrorBody(output.body, context),
|
|
2698
2698
|
};
|
|
2699
2699
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2700
2700
|
switch (errorCode) {
|
|
@@ -2740,7 +2740,7 @@ exports.deserializeAws_json1_1RebootReplicationInstanceCommand = deserializeAws_
|
|
|
2740
2740
|
const deserializeAws_json1_1RebootReplicationInstanceCommandError = async (output, context) => {
|
|
2741
2741
|
const parsedOutput = {
|
|
2742
2742
|
...output,
|
|
2743
|
-
body: await
|
|
2743
|
+
body: await parseErrorBody(output.body, context),
|
|
2744
2744
|
};
|
|
2745
2745
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2746
2746
|
switch (errorCode) {
|
|
@@ -2777,7 +2777,7 @@ exports.deserializeAws_json1_1RefreshSchemasCommand = deserializeAws_json1_1Refr
|
|
|
2777
2777
|
const deserializeAws_json1_1RefreshSchemasCommandError = async (output, context) => {
|
|
2778
2778
|
const parsedOutput = {
|
|
2779
2779
|
...output,
|
|
2780
|
-
body: await
|
|
2780
|
+
body: await parseErrorBody(output.body, context),
|
|
2781
2781
|
};
|
|
2782
2782
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2783
2783
|
switch (errorCode) {
|
|
@@ -2820,7 +2820,7 @@ exports.deserializeAws_json1_1ReloadTablesCommand = deserializeAws_json1_1Reload
|
|
|
2820
2820
|
const deserializeAws_json1_1ReloadTablesCommandError = async (output, context) => {
|
|
2821
2821
|
const parsedOutput = {
|
|
2822
2822
|
...output,
|
|
2823
|
-
body: await
|
|
2823
|
+
body: await parseErrorBody(output.body, context),
|
|
2824
2824
|
};
|
|
2825
2825
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2826
2826
|
switch (errorCode) {
|
|
@@ -2857,7 +2857,7 @@ exports.deserializeAws_json1_1RemoveTagsFromResourceCommand = deserializeAws_jso
|
|
|
2857
2857
|
const deserializeAws_json1_1RemoveTagsFromResourceCommandError = async (output, context) => {
|
|
2858
2858
|
const parsedOutput = {
|
|
2859
2859
|
...output,
|
|
2860
|
-
body: await
|
|
2860
|
+
body: await parseErrorBody(output.body, context),
|
|
2861
2861
|
};
|
|
2862
2862
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2863
2863
|
switch (errorCode) {
|
|
@@ -2891,7 +2891,7 @@ exports.deserializeAws_json1_1RunFleetAdvisorLsaAnalysisCommand = deserializeAws
|
|
|
2891
2891
|
const deserializeAws_json1_1RunFleetAdvisorLsaAnalysisCommandError = async (output, context) => {
|
|
2892
2892
|
const parsedOutput = {
|
|
2893
2893
|
...output,
|
|
2894
|
-
body: await
|
|
2894
|
+
body: await parseErrorBody(output.body, context),
|
|
2895
2895
|
};
|
|
2896
2896
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2897
2897
|
switch (errorCode) {
|
|
@@ -2928,7 +2928,7 @@ exports.deserializeAws_json1_1StartReplicationTaskCommand = deserializeAws_json1
|
|
|
2928
2928
|
const deserializeAws_json1_1StartReplicationTaskCommandError = async (output, context) => {
|
|
2929
2929
|
const parsedOutput = {
|
|
2930
2930
|
...output,
|
|
2931
|
-
body: await
|
|
2931
|
+
body: await parseErrorBody(output.body, context),
|
|
2932
2932
|
};
|
|
2933
2933
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2934
2934
|
switch (errorCode) {
|
|
@@ -2968,7 +2968,7 @@ exports.deserializeAws_json1_1StartReplicationTaskAssessmentCommand = deserializ
|
|
|
2968
2968
|
const deserializeAws_json1_1StartReplicationTaskAssessmentCommandError = async (output, context) => {
|
|
2969
2969
|
const parsedOutput = {
|
|
2970
2970
|
...output,
|
|
2971
|
-
body: await
|
|
2971
|
+
body: await parseErrorBody(output.body, context),
|
|
2972
2972
|
};
|
|
2973
2973
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2974
2974
|
switch (errorCode) {
|
|
@@ -3005,7 +3005,7 @@ exports.deserializeAws_json1_1StartReplicationTaskAssessmentRunCommand = deseria
|
|
|
3005
3005
|
const deserializeAws_json1_1StartReplicationTaskAssessmentRunCommandError = async (output, context) => {
|
|
3006
3006
|
const parsedOutput = {
|
|
3007
3007
|
...output,
|
|
3008
|
-
body: await
|
|
3008
|
+
body: await parseErrorBody(output.body, context),
|
|
3009
3009
|
};
|
|
3010
3010
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3011
3011
|
switch (errorCode) {
|
|
@@ -3072,7 +3072,7 @@ exports.deserializeAws_json1_1StopReplicationTaskCommand = deserializeAws_json1_
|
|
|
3072
3072
|
const deserializeAws_json1_1StopReplicationTaskCommandError = async (output, context) => {
|
|
3073
3073
|
const parsedOutput = {
|
|
3074
3074
|
...output,
|
|
3075
|
-
body: await
|
|
3075
|
+
body: await parseErrorBody(output.body, context),
|
|
3076
3076
|
};
|
|
3077
3077
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3078
3078
|
switch (errorCode) {
|
|
@@ -3109,7 +3109,7 @@ exports.deserializeAws_json1_1TestConnectionCommand = deserializeAws_json1_1Test
|
|
|
3109
3109
|
const deserializeAws_json1_1TestConnectionCommandError = async (output, context) => {
|
|
3110
3110
|
const parsedOutput = {
|
|
3111
3111
|
...output,
|
|
3112
|
-
body: await
|
|
3112
|
+
body: await parseErrorBody(output.body, context),
|
|
3113
3113
|
};
|
|
3114
3114
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3115
3115
|
switch (errorCode) {
|
|
@@ -3155,7 +3155,7 @@ exports.deserializeAws_json1_1UpdateSubscriptionsToEventBridgeCommand = deserial
|
|
|
3155
3155
|
const deserializeAws_json1_1UpdateSubscriptionsToEventBridgeCommandError = async (output, context) => {
|
|
3156
3156
|
const parsedOutput = {
|
|
3157
3157
|
...output,
|
|
3158
|
-
body: await
|
|
3158
|
+
body: await parseErrorBody(output.body, context),
|
|
3159
3159
|
};
|
|
3160
3160
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3161
3161
|
switch (errorCode) {
|
|
@@ -6449,6 +6449,12 @@ const parseBody = (streamBody, context) => collectBodyString(streamBody, context
|
|
|
6449
6449
|
}
|
|
6450
6450
|
return {};
|
|
6451
6451
|
});
|
|
6452
|
+
const parseErrorBody = async (errorBody, context) => {
|
|
6453
|
+
var _a;
|
|
6454
|
+
const value = await parseBody(errorBody, context);
|
|
6455
|
+
value.message = (_a = value.message) !== null && _a !== void 0 ? _a : value.Message;
|
|
6456
|
+
return value;
|
|
6457
|
+
};
|
|
6452
6458
|
const loadRestJsonErrorCode = (output, data) => {
|
|
6453
6459
|
const findKey = (object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase());
|
|
6454
6460
|
const sanitizeErrorCode = (rawValue) => {
|