@aws-sdk/client-sqs 3.54.0 → 3.56.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 +24 -0
- package/dist-cjs/SQSClient.js +13 -13
- package/dist-cjs/commands/AddPermissionCommand.js +3 -3
- package/dist-cjs/commands/ChangeMessageVisibilityBatchCommand.js +3 -3
- package/dist-cjs/commands/ChangeMessageVisibilityCommand.js +3 -3
- package/dist-cjs/commands/CreateQueueCommand.js +3 -3
- package/dist-cjs/commands/DeleteMessageBatchCommand.js +3 -3
- package/dist-cjs/commands/DeleteMessageCommand.js +3 -3
- package/dist-cjs/commands/DeleteQueueCommand.js +3 -3
- package/dist-cjs/commands/GetQueueAttributesCommand.js +3 -3
- package/dist-cjs/commands/GetQueueUrlCommand.js +3 -3
- package/dist-cjs/commands/ListDeadLetterSourceQueuesCommand.js +3 -3
- package/dist-cjs/commands/ListQueueTagsCommand.js +3 -3
- package/dist-cjs/commands/ListQueuesCommand.js +3 -3
- package/dist-cjs/commands/PurgeQueueCommand.js +3 -3
- package/dist-cjs/commands/ReceiveMessageCommand.js +4 -4
- package/dist-cjs/commands/RemovePermissionCommand.js +3 -3
- package/dist-cjs/commands/SendMessageBatchCommand.js +4 -4
- package/dist-cjs/commands/SendMessageCommand.js +4 -4
- package/dist-cjs/commands/SetQueueAttributesCommand.js +3 -3
- package/dist-cjs/commands/TagQueueCommand.js +3 -3
- package/dist-cjs/commands/UntagQueueCommand.js +3 -3
- package/dist-cjs/endpoints.js +1 -1
- package/dist-cjs/protocols/Aws_query.js +88 -88
- package/dist-cjs/runtimeConfig.browser.js +4 -4
- package/dist-cjs/runtimeConfig.js +9 -9
- package/dist-cjs/runtimeConfig.native.js +1 -1
- package/dist-es/SQS.js +20 -20
- package/dist-es/pagination/ListDeadLetterSourceQueuesPaginator.js +4 -4
- package/dist-es/pagination/ListQueuesPaginator.js +4 -4
- package/dist-es/protocols/Aws_query.js +39 -39
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -2
- package/package.json +36 -36
|
@@ -297,7 +297,7 @@ const deserializeAws_queryAddPermissionCommandError = async (output, context) =>
|
|
|
297
297
|
$fault: "client",
|
|
298
298
|
$metadata: deserializeMetadata(output),
|
|
299
299
|
});
|
|
300
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
300
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
301
301
|
}
|
|
302
302
|
};
|
|
303
303
|
const deserializeAws_queryChangeMessageVisibilityCommand = async (output, context) => {
|
|
@@ -333,7 +333,7 @@ const deserializeAws_queryChangeMessageVisibilityCommandError = async (output, c
|
|
|
333
333
|
$fault: "client",
|
|
334
334
|
$metadata: deserializeMetadata(output),
|
|
335
335
|
});
|
|
336
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
336
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
337
337
|
}
|
|
338
338
|
};
|
|
339
339
|
const deserializeAws_queryChangeMessageVisibilityBatchCommand = async (output, context) => {
|
|
@@ -378,7 +378,7 @@ const deserializeAws_queryChangeMessageVisibilityBatchCommandError = async (outp
|
|
|
378
378
|
$fault: "client",
|
|
379
379
|
$metadata: deserializeMetadata(output),
|
|
380
380
|
});
|
|
381
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
381
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
382
382
|
}
|
|
383
383
|
};
|
|
384
384
|
const deserializeAws_queryCreateQueueCommand = async (output, context) => {
|
|
@@ -417,7 +417,7 @@ const deserializeAws_queryCreateQueueCommandError = async (output, context) => {
|
|
|
417
417
|
$fault: "client",
|
|
418
418
|
$metadata: deserializeMetadata(output),
|
|
419
419
|
});
|
|
420
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
420
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
421
421
|
}
|
|
422
422
|
};
|
|
423
423
|
const deserializeAws_queryDeleteMessageCommand = async (output, context) => {
|
|
@@ -453,7 +453,7 @@ const deserializeAws_queryDeleteMessageCommandError = async (output, context) =>
|
|
|
453
453
|
$fault: "client",
|
|
454
454
|
$metadata: deserializeMetadata(output),
|
|
455
455
|
});
|
|
456
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
456
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
457
457
|
}
|
|
458
458
|
};
|
|
459
459
|
const deserializeAws_queryDeleteMessageBatchCommand = async (output, context) => {
|
|
@@ -498,7 +498,7 @@ const deserializeAws_queryDeleteMessageBatchCommandError = async (output, contex
|
|
|
498
498
|
$fault: "client",
|
|
499
499
|
$metadata: deserializeMetadata(output),
|
|
500
500
|
});
|
|
501
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
501
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
502
502
|
}
|
|
503
503
|
};
|
|
504
504
|
const deserializeAws_queryDeleteQueueCommand = async (output, context) => {
|
|
@@ -528,7 +528,7 @@ const deserializeAws_queryDeleteQueueCommandError = async (output, context) => {
|
|
|
528
528
|
$fault: "client",
|
|
529
529
|
$metadata: deserializeMetadata(output),
|
|
530
530
|
});
|
|
531
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
531
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
532
532
|
}
|
|
533
533
|
};
|
|
534
534
|
const deserializeAws_queryGetQueueAttributesCommand = async (output, context) => {
|
|
@@ -564,7 +564,7 @@ const deserializeAws_queryGetQueueAttributesCommandError = async (output, contex
|
|
|
564
564
|
$fault: "client",
|
|
565
565
|
$metadata: deserializeMetadata(output),
|
|
566
566
|
});
|
|
567
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
567
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
568
568
|
}
|
|
569
569
|
};
|
|
570
570
|
const deserializeAws_queryGetQueueUrlCommand = async (output, context) => {
|
|
@@ -600,7 +600,7 @@ const deserializeAws_queryGetQueueUrlCommandError = async (output, context) => {
|
|
|
600
600
|
$fault: "client",
|
|
601
601
|
$metadata: deserializeMetadata(output),
|
|
602
602
|
});
|
|
603
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
603
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
604
604
|
}
|
|
605
605
|
};
|
|
606
606
|
const deserializeAws_queryListDeadLetterSourceQueuesCommand = async (output, context) => {
|
|
@@ -636,7 +636,7 @@ const deserializeAws_queryListDeadLetterSourceQueuesCommandError = async (output
|
|
|
636
636
|
$fault: "client",
|
|
637
637
|
$metadata: deserializeMetadata(output),
|
|
638
638
|
});
|
|
639
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
639
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
640
640
|
}
|
|
641
641
|
};
|
|
642
642
|
const deserializeAws_queryListQueuesCommand = async (output, context) => {
|
|
@@ -669,7 +669,7 @@ const deserializeAws_queryListQueuesCommandError = async (output, context) => {
|
|
|
669
669
|
$fault: "client",
|
|
670
670
|
$metadata: deserializeMetadata(output),
|
|
671
671
|
});
|
|
672
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
672
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
673
673
|
}
|
|
674
674
|
};
|
|
675
675
|
const deserializeAws_queryListQueueTagsCommand = async (output, context) => {
|
|
@@ -702,7 +702,7 @@ const deserializeAws_queryListQueueTagsCommandError = async (output, context) =>
|
|
|
702
702
|
$fault: "client",
|
|
703
703
|
$metadata: deserializeMetadata(output),
|
|
704
704
|
});
|
|
705
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
705
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
706
706
|
}
|
|
707
707
|
};
|
|
708
708
|
const deserializeAws_queryPurgeQueueCommand = async (output, context) => {
|
|
@@ -738,7 +738,7 @@ const deserializeAws_queryPurgeQueueCommandError = async (output, context) => {
|
|
|
738
738
|
$fault: "client",
|
|
739
739
|
$metadata: deserializeMetadata(output),
|
|
740
740
|
});
|
|
741
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
741
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
742
742
|
}
|
|
743
743
|
};
|
|
744
744
|
const deserializeAws_queryReceiveMessageCommand = async (output, context) => {
|
|
@@ -774,7 +774,7 @@ const deserializeAws_queryReceiveMessageCommandError = async (output, context) =
|
|
|
774
774
|
$fault: "client",
|
|
775
775
|
$metadata: deserializeMetadata(output),
|
|
776
776
|
});
|
|
777
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
777
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
778
778
|
}
|
|
779
779
|
};
|
|
780
780
|
const deserializeAws_queryRemovePermissionCommand = async (output, context) => {
|
|
@@ -804,7 +804,7 @@ const deserializeAws_queryRemovePermissionCommandError = async (output, context)
|
|
|
804
804
|
$fault: "client",
|
|
805
805
|
$metadata: deserializeMetadata(output),
|
|
806
806
|
});
|
|
807
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
807
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
808
808
|
}
|
|
809
809
|
};
|
|
810
810
|
const deserializeAws_querySendMessageCommand = async (output, context) => {
|
|
@@ -843,7 +843,7 @@ const deserializeAws_querySendMessageCommandError = async (output, context) => {
|
|
|
843
843
|
$fault: "client",
|
|
844
844
|
$metadata: deserializeMetadata(output),
|
|
845
845
|
});
|
|
846
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
846
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
847
847
|
}
|
|
848
848
|
};
|
|
849
849
|
const deserializeAws_querySendMessageBatchCommand = async (output, context) => {
|
|
@@ -894,7 +894,7 @@ const deserializeAws_querySendMessageBatchCommandError = async (output, context)
|
|
|
894
894
|
$fault: "client",
|
|
895
895
|
$metadata: deserializeMetadata(output),
|
|
896
896
|
});
|
|
897
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
897
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
898
898
|
}
|
|
899
899
|
};
|
|
900
900
|
const deserializeAws_querySetQueueAttributesCommand = async (output, context) => {
|
|
@@ -927,7 +927,7 @@ const deserializeAws_querySetQueueAttributesCommandError = async (output, contex
|
|
|
927
927
|
$fault: "client",
|
|
928
928
|
$metadata: deserializeMetadata(output),
|
|
929
929
|
});
|
|
930
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
930
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
931
931
|
}
|
|
932
932
|
};
|
|
933
933
|
const deserializeAws_queryTagQueueCommand = async (output, context) => {
|
|
@@ -957,7 +957,7 @@ const deserializeAws_queryTagQueueCommandError = async (output, context) => {
|
|
|
957
957
|
$fault: "client",
|
|
958
958
|
$metadata: deserializeMetadata(output),
|
|
959
959
|
});
|
|
960
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
960
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
961
961
|
}
|
|
962
962
|
};
|
|
963
963
|
const deserializeAws_queryUntagQueueCommand = async (output, context) => {
|
|
@@ -987,7 +987,7 @@ const deserializeAws_queryUntagQueueCommandError = async (output, context) => {
|
|
|
987
987
|
$fault: "client",
|
|
988
988
|
$metadata: deserializeMetadata(output),
|
|
989
989
|
});
|
|
990
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
990
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
991
991
|
}
|
|
992
992
|
};
|
|
993
993
|
const deserializeAws_queryBatchEntryIdsNotDistinctResponse = async (parsedOutput, context) => {
|
|
@@ -997,7 +997,7 @@ const deserializeAws_queryBatchEntryIdsNotDistinctResponse = async (parsedOutput
|
|
|
997
997
|
$metadata: deserializeMetadata(parsedOutput),
|
|
998
998
|
...deserialized,
|
|
999
999
|
});
|
|
1000
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
1000
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1001
1001
|
};
|
|
1002
1002
|
const deserializeAws_queryBatchRequestTooLongResponse = async (parsedOutput, context) => {
|
|
1003
1003
|
const body = parsedOutput.body;
|
|
@@ -1006,7 +1006,7 @@ const deserializeAws_queryBatchRequestTooLongResponse = async (parsedOutput, con
|
|
|
1006
1006
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1007
1007
|
...deserialized,
|
|
1008
1008
|
});
|
|
1009
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
1009
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1010
1010
|
};
|
|
1011
1011
|
const deserializeAws_queryEmptyBatchRequestResponse = async (parsedOutput, context) => {
|
|
1012
1012
|
const body = parsedOutput.body;
|
|
@@ -1015,7 +1015,7 @@ const deserializeAws_queryEmptyBatchRequestResponse = async (parsedOutput, conte
|
|
|
1015
1015
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1016
1016
|
...deserialized,
|
|
1017
1017
|
});
|
|
1018
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
1018
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1019
1019
|
};
|
|
1020
1020
|
const deserializeAws_queryInvalidAttributeNameResponse = async (parsedOutput, context) => {
|
|
1021
1021
|
const body = parsedOutput.body;
|
|
@@ -1024,7 +1024,7 @@ const deserializeAws_queryInvalidAttributeNameResponse = async (parsedOutput, co
|
|
|
1024
1024
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1025
1025
|
...deserialized,
|
|
1026
1026
|
});
|
|
1027
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
1027
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1028
1028
|
};
|
|
1029
1029
|
const deserializeAws_queryInvalidBatchEntryIdResponse = async (parsedOutput, context) => {
|
|
1030
1030
|
const body = parsedOutput.body;
|
|
@@ -1033,7 +1033,7 @@ const deserializeAws_queryInvalidBatchEntryIdResponse = async (parsedOutput, con
|
|
|
1033
1033
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1034
1034
|
...deserialized,
|
|
1035
1035
|
});
|
|
1036
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
1036
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1037
1037
|
};
|
|
1038
1038
|
const deserializeAws_queryInvalidIdFormatResponse = async (parsedOutput, context) => {
|
|
1039
1039
|
const body = parsedOutput.body;
|
|
@@ -1042,7 +1042,7 @@ const deserializeAws_queryInvalidIdFormatResponse = async (parsedOutput, context
|
|
|
1042
1042
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1043
1043
|
...deserialized,
|
|
1044
1044
|
});
|
|
1045
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
1045
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1046
1046
|
};
|
|
1047
1047
|
const deserializeAws_queryInvalidMessageContentsResponse = async (parsedOutput, context) => {
|
|
1048
1048
|
const body = parsedOutput.body;
|
|
@@ -1051,7 +1051,7 @@ const deserializeAws_queryInvalidMessageContentsResponse = async (parsedOutput,
|
|
|
1051
1051
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1052
1052
|
...deserialized,
|
|
1053
1053
|
});
|
|
1054
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
1054
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1055
1055
|
};
|
|
1056
1056
|
const deserializeAws_queryMessageNotInflightResponse = async (parsedOutput, context) => {
|
|
1057
1057
|
const body = parsedOutput.body;
|
|
@@ -1060,7 +1060,7 @@ const deserializeAws_queryMessageNotInflightResponse = async (parsedOutput, cont
|
|
|
1060
1060
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1061
1061
|
...deserialized,
|
|
1062
1062
|
});
|
|
1063
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
1063
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1064
1064
|
};
|
|
1065
1065
|
const deserializeAws_queryOverLimitResponse = async (parsedOutput, context) => {
|
|
1066
1066
|
const body = parsedOutput.body;
|
|
@@ -1069,7 +1069,7 @@ const deserializeAws_queryOverLimitResponse = async (parsedOutput, context) => {
|
|
|
1069
1069
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1070
1070
|
...deserialized,
|
|
1071
1071
|
});
|
|
1072
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
1072
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1073
1073
|
};
|
|
1074
1074
|
const deserializeAws_queryPurgeQueueInProgressResponse = async (parsedOutput, context) => {
|
|
1075
1075
|
const body = parsedOutput.body;
|
|
@@ -1078,7 +1078,7 @@ const deserializeAws_queryPurgeQueueInProgressResponse = async (parsedOutput, co
|
|
|
1078
1078
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1079
1079
|
...deserialized,
|
|
1080
1080
|
});
|
|
1081
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
1081
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1082
1082
|
};
|
|
1083
1083
|
const deserializeAws_queryQueueDeletedRecentlyResponse = async (parsedOutput, context) => {
|
|
1084
1084
|
const body = parsedOutput.body;
|
|
@@ -1087,7 +1087,7 @@ const deserializeAws_queryQueueDeletedRecentlyResponse = async (parsedOutput, co
|
|
|
1087
1087
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1088
1088
|
...deserialized,
|
|
1089
1089
|
});
|
|
1090
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
1090
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1091
1091
|
};
|
|
1092
1092
|
const deserializeAws_queryQueueDoesNotExistResponse = async (parsedOutput, context) => {
|
|
1093
1093
|
const body = parsedOutput.body;
|
|
@@ -1096,7 +1096,7 @@ const deserializeAws_queryQueueDoesNotExistResponse = async (parsedOutput, conte
|
|
|
1096
1096
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1097
1097
|
...deserialized,
|
|
1098
1098
|
});
|
|
1099
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
1099
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1100
1100
|
};
|
|
1101
1101
|
const deserializeAws_queryQueueNameExistsResponse = async (parsedOutput, context) => {
|
|
1102
1102
|
const body = parsedOutput.body;
|
|
@@ -1105,7 +1105,7 @@ const deserializeAws_queryQueueNameExistsResponse = async (parsedOutput, context
|
|
|
1105
1105
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1106
1106
|
...deserialized,
|
|
1107
1107
|
});
|
|
1108
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
1108
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1109
1109
|
};
|
|
1110
1110
|
const deserializeAws_queryReceiptHandleIsInvalidResponse = async (parsedOutput, context) => {
|
|
1111
1111
|
const body = parsedOutput.body;
|
|
@@ -1114,7 +1114,7 @@ const deserializeAws_queryReceiptHandleIsInvalidResponse = async (parsedOutput,
|
|
|
1114
1114
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1115
1115
|
...deserialized,
|
|
1116
1116
|
});
|
|
1117
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
1117
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1118
1118
|
};
|
|
1119
1119
|
const deserializeAws_queryTooManyEntriesInBatchRequestResponse = async (parsedOutput, context) => {
|
|
1120
1120
|
const body = parsedOutput.body;
|
|
@@ -1123,7 +1123,7 @@ const deserializeAws_queryTooManyEntriesInBatchRequestResponse = async (parsedOu
|
|
|
1123
1123
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1124
1124
|
...deserialized,
|
|
1125
1125
|
});
|
|
1126
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
1126
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1127
1127
|
};
|
|
1128
1128
|
const deserializeAws_queryUnsupportedOperationResponse = async (parsedOutput, context) => {
|
|
1129
1129
|
const body = parsedOutput.body;
|
|
@@ -1132,7 +1132,7 @@ const deserializeAws_queryUnsupportedOperationResponse = async (parsedOutput, co
|
|
|
1132
1132
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1133
1133
|
...deserialized,
|
|
1134
1134
|
});
|
|
1135
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
1135
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1136
1136
|
};
|
|
1137
1137
|
const serializeAws_queryActionNameList = (input, context) => {
|
|
1138
1138
|
const entries = {};
|
|
@@ -1742,16 +1742,16 @@ const deserializeAws_queryBatchResultErrorEntry = (output, context) => {
|
|
|
1742
1742
|
Message: undefined,
|
|
1743
1743
|
};
|
|
1744
1744
|
if (output["Id"] !== undefined) {
|
|
1745
|
-
contents.Id = smithy_client_1.expectString(output["Id"]);
|
|
1745
|
+
contents.Id = (0, smithy_client_1.expectString)(output["Id"]);
|
|
1746
1746
|
}
|
|
1747
1747
|
if (output["SenderFault"] !== undefined) {
|
|
1748
|
-
contents.SenderFault = smithy_client_1.parseBoolean(output["SenderFault"]);
|
|
1748
|
+
contents.SenderFault = (0, smithy_client_1.parseBoolean)(output["SenderFault"]);
|
|
1749
1749
|
}
|
|
1750
1750
|
if (output["Code"] !== undefined) {
|
|
1751
|
-
contents.Code = smithy_client_1.expectString(output["Code"]);
|
|
1751
|
+
contents.Code = (0, smithy_client_1.expectString)(output["Code"]);
|
|
1752
1752
|
}
|
|
1753
1753
|
if (output["Message"] !== undefined) {
|
|
1754
|
-
contents.Message = smithy_client_1.expectString(output["Message"]);
|
|
1754
|
+
contents.Message = (0, smithy_client_1.expectString)(output["Message"]);
|
|
1755
1755
|
}
|
|
1756
1756
|
return contents;
|
|
1757
1757
|
};
|
|
@@ -1784,13 +1784,13 @@ const deserializeAws_queryChangeMessageVisibilityBatchResult = (output, context)
|
|
|
1784
1784
|
contents.Successful = [];
|
|
1785
1785
|
}
|
|
1786
1786
|
if (output["ChangeMessageVisibilityBatchResultEntry"] !== undefined) {
|
|
1787
|
-
contents.Successful = deserializeAws_queryChangeMessageVisibilityBatchResultEntryList(smithy_client_1.getArrayIfSingleItem(output["ChangeMessageVisibilityBatchResultEntry"]), context);
|
|
1787
|
+
contents.Successful = deserializeAws_queryChangeMessageVisibilityBatchResultEntryList((0, smithy_client_1.getArrayIfSingleItem)(output["ChangeMessageVisibilityBatchResultEntry"]), context);
|
|
1788
1788
|
}
|
|
1789
1789
|
if (output.BatchResultErrorEntry === "") {
|
|
1790
1790
|
contents.Failed = [];
|
|
1791
1791
|
}
|
|
1792
1792
|
if (output["BatchResultErrorEntry"] !== undefined) {
|
|
1793
|
-
contents.Failed = deserializeAws_queryBatchResultErrorEntryList(smithy_client_1.getArrayIfSingleItem(output["BatchResultErrorEntry"]), context);
|
|
1793
|
+
contents.Failed = deserializeAws_queryBatchResultErrorEntryList((0, smithy_client_1.getArrayIfSingleItem)(output["BatchResultErrorEntry"]), context);
|
|
1794
1794
|
}
|
|
1795
1795
|
return contents;
|
|
1796
1796
|
};
|
|
@@ -1799,7 +1799,7 @@ const deserializeAws_queryChangeMessageVisibilityBatchResultEntry = (output, con
|
|
|
1799
1799
|
Id: undefined,
|
|
1800
1800
|
};
|
|
1801
1801
|
if (output["Id"] !== undefined) {
|
|
1802
|
-
contents.Id = smithy_client_1.expectString(output["Id"]);
|
|
1802
|
+
contents.Id = (0, smithy_client_1.expectString)(output["Id"]);
|
|
1803
1803
|
}
|
|
1804
1804
|
return contents;
|
|
1805
1805
|
};
|
|
@@ -1818,7 +1818,7 @@ const deserializeAws_queryCreateQueueResult = (output, context) => {
|
|
|
1818
1818
|
QueueUrl: undefined,
|
|
1819
1819
|
};
|
|
1820
1820
|
if (output["QueueUrl"] !== undefined) {
|
|
1821
|
-
contents.QueueUrl = smithy_client_1.expectString(output["QueueUrl"]);
|
|
1821
|
+
contents.QueueUrl = (0, smithy_client_1.expectString)(output["QueueUrl"]);
|
|
1822
1822
|
}
|
|
1823
1823
|
return contents;
|
|
1824
1824
|
};
|
|
@@ -1831,13 +1831,13 @@ const deserializeAws_queryDeleteMessageBatchResult = (output, context) => {
|
|
|
1831
1831
|
contents.Successful = [];
|
|
1832
1832
|
}
|
|
1833
1833
|
if (output["DeleteMessageBatchResultEntry"] !== undefined) {
|
|
1834
|
-
contents.Successful = deserializeAws_queryDeleteMessageBatchResultEntryList(smithy_client_1.getArrayIfSingleItem(output["DeleteMessageBatchResultEntry"]), context);
|
|
1834
|
+
contents.Successful = deserializeAws_queryDeleteMessageBatchResultEntryList((0, smithy_client_1.getArrayIfSingleItem)(output["DeleteMessageBatchResultEntry"]), context);
|
|
1835
1835
|
}
|
|
1836
1836
|
if (output.BatchResultErrorEntry === "") {
|
|
1837
1837
|
contents.Failed = [];
|
|
1838
1838
|
}
|
|
1839
1839
|
if (output["BatchResultErrorEntry"] !== undefined) {
|
|
1840
|
-
contents.Failed = deserializeAws_queryBatchResultErrorEntryList(smithy_client_1.getArrayIfSingleItem(output["BatchResultErrorEntry"]), context);
|
|
1840
|
+
contents.Failed = deserializeAws_queryBatchResultErrorEntryList((0, smithy_client_1.getArrayIfSingleItem)(output["BatchResultErrorEntry"]), context);
|
|
1841
1841
|
}
|
|
1842
1842
|
return contents;
|
|
1843
1843
|
};
|
|
@@ -1846,7 +1846,7 @@ const deserializeAws_queryDeleteMessageBatchResultEntry = (output, context) => {
|
|
|
1846
1846
|
Id: undefined,
|
|
1847
1847
|
};
|
|
1848
1848
|
if (output["Id"] !== undefined) {
|
|
1849
|
-
contents.Id = smithy_client_1.expectString(output["Id"]);
|
|
1849
|
+
contents.Id = (0, smithy_client_1.expectString)(output["Id"]);
|
|
1850
1850
|
}
|
|
1851
1851
|
return contents;
|
|
1852
1852
|
};
|
|
@@ -1872,7 +1872,7 @@ const deserializeAws_queryGetQueueAttributesResult = (output, context) => {
|
|
|
1872
1872
|
contents.Attributes = {};
|
|
1873
1873
|
}
|
|
1874
1874
|
if (output["Attribute"] !== undefined) {
|
|
1875
|
-
contents.Attributes = deserializeAws_queryQueueAttributeMap(smithy_client_1.getArrayIfSingleItem(output["Attribute"]), context);
|
|
1875
|
+
contents.Attributes = deserializeAws_queryQueueAttributeMap((0, smithy_client_1.getArrayIfSingleItem)(output["Attribute"]), context);
|
|
1876
1876
|
}
|
|
1877
1877
|
return contents;
|
|
1878
1878
|
};
|
|
@@ -1881,7 +1881,7 @@ const deserializeAws_queryGetQueueUrlResult = (output, context) => {
|
|
|
1881
1881
|
QueueUrl: undefined,
|
|
1882
1882
|
};
|
|
1883
1883
|
if (output["QueueUrl"] !== undefined) {
|
|
1884
|
-
contents.QueueUrl = smithy_client_1.expectString(output["QueueUrl"]);
|
|
1884
|
+
contents.QueueUrl = (0, smithy_client_1.expectString)(output["QueueUrl"]);
|
|
1885
1885
|
}
|
|
1886
1886
|
return contents;
|
|
1887
1887
|
};
|
|
@@ -1910,10 +1910,10 @@ const deserializeAws_queryListDeadLetterSourceQueuesResult = (output, context) =
|
|
|
1910
1910
|
contents.queueUrls = [];
|
|
1911
1911
|
}
|
|
1912
1912
|
if (output["QueueUrl"] !== undefined) {
|
|
1913
|
-
contents.queueUrls = deserializeAws_queryQueueUrlList(smithy_client_1.getArrayIfSingleItem(output["QueueUrl"]), context);
|
|
1913
|
+
contents.queueUrls = deserializeAws_queryQueueUrlList((0, smithy_client_1.getArrayIfSingleItem)(output["QueueUrl"]), context);
|
|
1914
1914
|
}
|
|
1915
1915
|
if (output["NextToken"] !== undefined) {
|
|
1916
|
-
contents.NextToken = smithy_client_1.expectString(output["NextToken"]);
|
|
1916
|
+
contents.NextToken = (0, smithy_client_1.expectString)(output["NextToken"]);
|
|
1917
1917
|
}
|
|
1918
1918
|
return contents;
|
|
1919
1919
|
};
|
|
@@ -1923,13 +1923,13 @@ const deserializeAws_queryListQueuesResult = (output, context) => {
|
|
|
1923
1923
|
QueueUrls: undefined,
|
|
1924
1924
|
};
|
|
1925
1925
|
if (output["NextToken"] !== undefined) {
|
|
1926
|
-
contents.NextToken = smithy_client_1.expectString(output["NextToken"]);
|
|
1926
|
+
contents.NextToken = (0, smithy_client_1.expectString)(output["NextToken"]);
|
|
1927
1927
|
}
|
|
1928
1928
|
if (output.QueueUrl === "") {
|
|
1929
1929
|
contents.QueueUrls = [];
|
|
1930
1930
|
}
|
|
1931
1931
|
if (output["QueueUrl"] !== undefined) {
|
|
1932
|
-
contents.QueueUrls = deserializeAws_queryQueueUrlList(smithy_client_1.getArrayIfSingleItem(output["QueueUrl"]), context);
|
|
1932
|
+
contents.QueueUrls = deserializeAws_queryQueueUrlList((0, smithy_client_1.getArrayIfSingleItem)(output["QueueUrl"]), context);
|
|
1933
1933
|
}
|
|
1934
1934
|
return contents;
|
|
1935
1935
|
};
|
|
@@ -1941,7 +1941,7 @@ const deserializeAws_queryListQueueTagsResult = (output, context) => {
|
|
|
1941
1941
|
contents.Tags = {};
|
|
1942
1942
|
}
|
|
1943
1943
|
if (output["Tag"] !== undefined) {
|
|
1944
|
-
contents.Tags = deserializeAws_queryTagMap(smithy_client_1.getArrayIfSingleItem(output["Tag"]), context);
|
|
1944
|
+
contents.Tags = deserializeAws_queryTagMap((0, smithy_client_1.getArrayIfSingleItem)(output["Tag"]), context);
|
|
1945
1945
|
}
|
|
1946
1946
|
return contents;
|
|
1947
1947
|
};
|
|
@@ -1956,31 +1956,31 @@ const deserializeAws_queryMessage = (output, context) => {
|
|
|
1956
1956
|
MessageAttributes: undefined,
|
|
1957
1957
|
};
|
|
1958
1958
|
if (output["MessageId"] !== undefined) {
|
|
1959
|
-
contents.MessageId = smithy_client_1.expectString(output["MessageId"]);
|
|
1959
|
+
contents.MessageId = (0, smithy_client_1.expectString)(output["MessageId"]);
|
|
1960
1960
|
}
|
|
1961
1961
|
if (output["ReceiptHandle"] !== undefined) {
|
|
1962
|
-
contents.ReceiptHandle = smithy_client_1.expectString(output["ReceiptHandle"]);
|
|
1962
|
+
contents.ReceiptHandle = (0, smithy_client_1.expectString)(output["ReceiptHandle"]);
|
|
1963
1963
|
}
|
|
1964
1964
|
if (output["MD5OfBody"] !== undefined) {
|
|
1965
|
-
contents.MD5OfBody = smithy_client_1.expectString(output["MD5OfBody"]);
|
|
1965
|
+
contents.MD5OfBody = (0, smithy_client_1.expectString)(output["MD5OfBody"]);
|
|
1966
1966
|
}
|
|
1967
1967
|
if (output["Body"] !== undefined) {
|
|
1968
|
-
contents.Body = smithy_client_1.expectString(output["Body"]);
|
|
1968
|
+
contents.Body = (0, smithy_client_1.expectString)(output["Body"]);
|
|
1969
1969
|
}
|
|
1970
1970
|
if (output.Attribute === "") {
|
|
1971
1971
|
contents.Attributes = {};
|
|
1972
1972
|
}
|
|
1973
1973
|
if (output["Attribute"] !== undefined) {
|
|
1974
|
-
contents.Attributes = deserializeAws_queryMessageSystemAttributeMap(smithy_client_1.getArrayIfSingleItem(output["Attribute"]), context);
|
|
1974
|
+
contents.Attributes = deserializeAws_queryMessageSystemAttributeMap((0, smithy_client_1.getArrayIfSingleItem)(output["Attribute"]), context);
|
|
1975
1975
|
}
|
|
1976
1976
|
if (output["MD5OfMessageAttributes"] !== undefined) {
|
|
1977
|
-
contents.MD5OfMessageAttributes = smithy_client_1.expectString(output["MD5OfMessageAttributes"]);
|
|
1977
|
+
contents.MD5OfMessageAttributes = (0, smithy_client_1.expectString)(output["MD5OfMessageAttributes"]);
|
|
1978
1978
|
}
|
|
1979
1979
|
if (output.MessageAttribute === "") {
|
|
1980
1980
|
contents.MessageAttributes = {};
|
|
1981
1981
|
}
|
|
1982
1982
|
if (output["MessageAttribute"] !== undefined) {
|
|
1983
|
-
contents.MessageAttributes = deserializeAws_queryMessageBodyAttributeMap(smithy_client_1.getArrayIfSingleItem(output["MessageAttribute"]), context);
|
|
1983
|
+
contents.MessageAttributes = deserializeAws_queryMessageBodyAttributeMap((0, smithy_client_1.getArrayIfSingleItem)(output["MessageAttribute"]), context);
|
|
1984
1984
|
}
|
|
1985
1985
|
return contents;
|
|
1986
1986
|
};
|
|
@@ -1993,7 +1993,7 @@ const deserializeAws_queryMessageAttributeValue = (output, context) => {
|
|
|
1993
1993
|
DataType: undefined,
|
|
1994
1994
|
};
|
|
1995
1995
|
if (output["StringValue"] !== undefined) {
|
|
1996
|
-
contents.StringValue = smithy_client_1.expectString(output["StringValue"]);
|
|
1996
|
+
contents.StringValue = (0, smithy_client_1.expectString)(output["StringValue"]);
|
|
1997
1997
|
}
|
|
1998
1998
|
if (output["BinaryValue"] !== undefined) {
|
|
1999
1999
|
contents.BinaryValue = context.base64Decoder(output["BinaryValue"]);
|
|
@@ -2002,16 +2002,16 @@ const deserializeAws_queryMessageAttributeValue = (output, context) => {
|
|
|
2002
2002
|
contents.StringListValues = [];
|
|
2003
2003
|
}
|
|
2004
2004
|
if (output["StringListValue"] !== undefined) {
|
|
2005
|
-
contents.StringListValues = deserializeAws_queryStringList(smithy_client_1.getArrayIfSingleItem(output["StringListValue"]), context);
|
|
2005
|
+
contents.StringListValues = deserializeAws_queryStringList((0, smithy_client_1.getArrayIfSingleItem)(output["StringListValue"]), context);
|
|
2006
2006
|
}
|
|
2007
2007
|
if (output.BinaryListValue === "") {
|
|
2008
2008
|
contents.BinaryListValues = [];
|
|
2009
2009
|
}
|
|
2010
2010
|
if (output["BinaryListValue"] !== undefined) {
|
|
2011
|
-
contents.BinaryListValues = deserializeAws_queryBinaryList(smithy_client_1.getArrayIfSingleItem(output["BinaryListValue"]), context);
|
|
2011
|
+
contents.BinaryListValues = deserializeAws_queryBinaryList((0, smithy_client_1.getArrayIfSingleItem)(output["BinaryListValue"]), context);
|
|
2012
2012
|
}
|
|
2013
2013
|
if (output["DataType"] !== undefined) {
|
|
2014
|
-
contents.DataType = smithy_client_1.expectString(output["DataType"]);
|
|
2014
|
+
contents.DataType = (0, smithy_client_1.expectString)(output["DataType"]);
|
|
2015
2015
|
}
|
|
2016
2016
|
return contents;
|
|
2017
2017
|
};
|
|
@@ -2047,7 +2047,7 @@ const deserializeAws_queryMessageSystemAttributeMap = (output, context) => {
|
|
|
2047
2047
|
}
|
|
2048
2048
|
return {
|
|
2049
2049
|
...acc,
|
|
2050
|
-
[pair["Name"]]: smithy_client_1.expectString(pair["Value"]),
|
|
2050
|
+
[pair["Name"]]: (0, smithy_client_1.expectString)(pair["Value"]),
|
|
2051
2051
|
};
|
|
2052
2052
|
}, {});
|
|
2053
2053
|
};
|
|
@@ -2066,7 +2066,7 @@ const deserializeAws_queryQueueAttributeMap = (output, context) => {
|
|
|
2066
2066
|
}
|
|
2067
2067
|
return {
|
|
2068
2068
|
...acc,
|
|
2069
|
-
[pair["Name"]]: smithy_client_1.expectString(pair["Value"]),
|
|
2069
|
+
[pair["Name"]]: (0, smithy_client_1.expectString)(pair["Value"]),
|
|
2070
2070
|
};
|
|
2071
2071
|
}, {});
|
|
2072
2072
|
};
|
|
@@ -2089,7 +2089,7 @@ const deserializeAws_queryQueueUrlList = (output, context) => {
|
|
|
2089
2089
|
if (entry === null) {
|
|
2090
2090
|
return null;
|
|
2091
2091
|
}
|
|
2092
|
-
return smithy_client_1.expectString(entry);
|
|
2092
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
2093
2093
|
});
|
|
2094
2094
|
};
|
|
2095
2095
|
const deserializeAws_queryReceiptHandleIsInvalid = (output, context) => {
|
|
@@ -2104,7 +2104,7 @@ const deserializeAws_queryReceiveMessageResult = (output, context) => {
|
|
|
2104
2104
|
contents.Messages = [];
|
|
2105
2105
|
}
|
|
2106
2106
|
if (output["Message"] !== undefined) {
|
|
2107
|
-
contents.Messages = deserializeAws_queryMessageList(smithy_client_1.getArrayIfSingleItem(output["Message"]), context);
|
|
2107
|
+
contents.Messages = deserializeAws_queryMessageList((0, smithy_client_1.getArrayIfSingleItem)(output["Message"]), context);
|
|
2108
2108
|
}
|
|
2109
2109
|
return contents;
|
|
2110
2110
|
};
|
|
@@ -2117,13 +2117,13 @@ const deserializeAws_querySendMessageBatchResult = (output, context) => {
|
|
|
2117
2117
|
contents.Successful = [];
|
|
2118
2118
|
}
|
|
2119
2119
|
if (output["SendMessageBatchResultEntry"] !== undefined) {
|
|
2120
|
-
contents.Successful = deserializeAws_querySendMessageBatchResultEntryList(smithy_client_1.getArrayIfSingleItem(output["SendMessageBatchResultEntry"]), context);
|
|
2120
|
+
contents.Successful = deserializeAws_querySendMessageBatchResultEntryList((0, smithy_client_1.getArrayIfSingleItem)(output["SendMessageBatchResultEntry"]), context);
|
|
2121
2121
|
}
|
|
2122
2122
|
if (output.BatchResultErrorEntry === "") {
|
|
2123
2123
|
contents.Failed = [];
|
|
2124
2124
|
}
|
|
2125
2125
|
if (output["BatchResultErrorEntry"] !== undefined) {
|
|
2126
|
-
contents.Failed = deserializeAws_queryBatchResultErrorEntryList(smithy_client_1.getArrayIfSingleItem(output["BatchResultErrorEntry"]), context);
|
|
2126
|
+
contents.Failed = deserializeAws_queryBatchResultErrorEntryList((0, smithy_client_1.getArrayIfSingleItem)(output["BatchResultErrorEntry"]), context);
|
|
2127
2127
|
}
|
|
2128
2128
|
return contents;
|
|
2129
2129
|
};
|
|
@@ -2137,22 +2137,22 @@ const deserializeAws_querySendMessageBatchResultEntry = (output, context) => {
|
|
|
2137
2137
|
SequenceNumber: undefined,
|
|
2138
2138
|
};
|
|
2139
2139
|
if (output["Id"] !== undefined) {
|
|
2140
|
-
contents.Id = smithy_client_1.expectString(output["Id"]);
|
|
2140
|
+
contents.Id = (0, smithy_client_1.expectString)(output["Id"]);
|
|
2141
2141
|
}
|
|
2142
2142
|
if (output["MessageId"] !== undefined) {
|
|
2143
|
-
contents.MessageId = smithy_client_1.expectString(output["MessageId"]);
|
|
2143
|
+
contents.MessageId = (0, smithy_client_1.expectString)(output["MessageId"]);
|
|
2144
2144
|
}
|
|
2145
2145
|
if (output["MD5OfMessageBody"] !== undefined) {
|
|
2146
|
-
contents.MD5OfMessageBody = smithy_client_1.expectString(output["MD5OfMessageBody"]);
|
|
2146
|
+
contents.MD5OfMessageBody = (0, smithy_client_1.expectString)(output["MD5OfMessageBody"]);
|
|
2147
2147
|
}
|
|
2148
2148
|
if (output["MD5OfMessageAttributes"] !== undefined) {
|
|
2149
|
-
contents.MD5OfMessageAttributes = smithy_client_1.expectString(output["MD5OfMessageAttributes"]);
|
|
2149
|
+
contents.MD5OfMessageAttributes = (0, smithy_client_1.expectString)(output["MD5OfMessageAttributes"]);
|
|
2150
2150
|
}
|
|
2151
2151
|
if (output["MD5OfMessageSystemAttributes"] !== undefined) {
|
|
2152
|
-
contents.MD5OfMessageSystemAttributes = smithy_client_1.expectString(output["MD5OfMessageSystemAttributes"]);
|
|
2152
|
+
contents.MD5OfMessageSystemAttributes = (0, smithy_client_1.expectString)(output["MD5OfMessageSystemAttributes"]);
|
|
2153
2153
|
}
|
|
2154
2154
|
if (output["SequenceNumber"] !== undefined) {
|
|
2155
|
-
contents.SequenceNumber = smithy_client_1.expectString(output["SequenceNumber"]);
|
|
2155
|
+
contents.SequenceNumber = (0, smithy_client_1.expectString)(output["SequenceNumber"]);
|
|
2156
2156
|
}
|
|
2157
2157
|
return contents;
|
|
2158
2158
|
};
|
|
@@ -2175,19 +2175,19 @@ const deserializeAws_querySendMessageResult = (output, context) => {
|
|
|
2175
2175
|
SequenceNumber: undefined,
|
|
2176
2176
|
};
|
|
2177
2177
|
if (output["MD5OfMessageBody"] !== undefined) {
|
|
2178
|
-
contents.MD5OfMessageBody = smithy_client_1.expectString(output["MD5OfMessageBody"]);
|
|
2178
|
+
contents.MD5OfMessageBody = (0, smithy_client_1.expectString)(output["MD5OfMessageBody"]);
|
|
2179
2179
|
}
|
|
2180
2180
|
if (output["MD5OfMessageAttributes"] !== undefined) {
|
|
2181
|
-
contents.MD5OfMessageAttributes = smithy_client_1.expectString(output["MD5OfMessageAttributes"]);
|
|
2181
|
+
contents.MD5OfMessageAttributes = (0, smithy_client_1.expectString)(output["MD5OfMessageAttributes"]);
|
|
2182
2182
|
}
|
|
2183
2183
|
if (output["MD5OfMessageSystemAttributes"] !== undefined) {
|
|
2184
|
-
contents.MD5OfMessageSystemAttributes = smithy_client_1.expectString(output["MD5OfMessageSystemAttributes"]);
|
|
2184
|
+
contents.MD5OfMessageSystemAttributes = (0, smithy_client_1.expectString)(output["MD5OfMessageSystemAttributes"]);
|
|
2185
2185
|
}
|
|
2186
2186
|
if (output["MessageId"] !== undefined) {
|
|
2187
|
-
contents.MessageId = smithy_client_1.expectString(output["MessageId"]);
|
|
2187
|
+
contents.MessageId = (0, smithy_client_1.expectString)(output["MessageId"]);
|
|
2188
2188
|
}
|
|
2189
2189
|
if (output["SequenceNumber"] !== undefined) {
|
|
2190
|
-
contents.SequenceNumber = smithy_client_1.expectString(output["SequenceNumber"]);
|
|
2190
|
+
contents.SequenceNumber = (0, smithy_client_1.expectString)(output["SequenceNumber"]);
|
|
2191
2191
|
}
|
|
2192
2192
|
return contents;
|
|
2193
2193
|
};
|
|
@@ -2198,7 +2198,7 @@ const deserializeAws_queryStringList = (output, context) => {
|
|
|
2198
2198
|
if (entry === null) {
|
|
2199
2199
|
return null;
|
|
2200
2200
|
}
|
|
2201
|
-
return smithy_client_1.expectString(entry);
|
|
2201
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
2202
2202
|
});
|
|
2203
2203
|
};
|
|
2204
2204
|
const deserializeAws_queryTagMap = (output, context) => {
|
|
@@ -2208,7 +2208,7 @@ const deserializeAws_queryTagMap = (output, context) => {
|
|
|
2208
2208
|
}
|
|
2209
2209
|
return {
|
|
2210
2210
|
...acc,
|
|
2211
|
-
[pair["Key"]]: smithy_client_1.expectString(pair["Value"]),
|
|
2211
|
+
[pair["Key"]]: (0, smithy_client_1.expectString)(pair["Value"]),
|
|
2212
2212
|
};
|
|
2213
2213
|
}, {});
|
|
2214
2214
|
};
|
|
@@ -2256,12 +2256,12 @@ const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, bod
|
|
|
2256
2256
|
};
|
|
2257
2257
|
const parseBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
2258
2258
|
if (encoded.length) {
|
|
2259
|
-
const parsedObj = fast_xml_parser_1.parse(encoded, {
|
|
2259
|
+
const parsedObj = (0, fast_xml_parser_1.parse)(encoded, {
|
|
2260
2260
|
attributeNamePrefix: "",
|
|
2261
2261
|
ignoreAttributes: false,
|
|
2262
2262
|
parseNodeValue: false,
|
|
2263
2263
|
trimValues: false,
|
|
2264
|
-
tagValueProcessor: (val) => (val.trim() === "" && val.includes("\n") ? "" : entities_1.decodeHTML(val)),
|
|
2264
|
+
tagValueProcessor: (val) => (val.trim() === "" && val.includes("\n") ? "" : (0, entities_1.decodeHTML)(val)),
|
|
2265
2265
|
});
|
|
2266
2266
|
const textNodeName = "#text";
|
|
2267
2267
|
const key = Object.keys(parsedObj)[0];
|
|
@@ -2270,12 +2270,12 @@ const parseBody = (streamBody, context) => collectBodyString(streamBody, context
|
|
|
2270
2270
|
parsedObjToReturn[key] = parsedObjToReturn[textNodeName];
|
|
2271
2271
|
delete parsedObjToReturn[textNodeName];
|
|
2272
2272
|
}
|
|
2273
|
-
return smithy_client_1.getValueFromTextNode(parsedObjToReturn);
|
|
2273
|
+
return (0, smithy_client_1.getValueFromTextNode)(parsedObjToReturn);
|
|
2274
2274
|
}
|
|
2275
2275
|
return {};
|
|
2276
2276
|
});
|
|
2277
2277
|
const buildFormUrlencodedString = (formEntries) => Object.entries(formEntries)
|
|
2278
|
-
.map(([key, value]) => smithy_client_1.extendedEncodeURIComponent(key) + "=" + smithy_client_1.extendedEncodeURIComponent(value))
|
|
2278
|
+
.map(([key, value]) => (0, smithy_client_1.extendedEncodeURIComponent)(key) + "=" + (0, smithy_client_1.extendedEncodeURIComponent)(value))
|
|
2279
2279
|
.join("&");
|
|
2280
2280
|
const loadQueryErrorCode = (output, data) => {
|
|
2281
2281
|
if (data.Error.Code !== undefined) {
|