Files
floci/compatibility-tests/sdk-test-python/tests
Vũ Thế Huy 5d5e39a15e fix(sqs): reject batch requests with more than 10 entries (#5331)
* fix(sqs): reject batch requests with more than 10 entries

SendMessageBatch, DeleteMessageBatch and ChangeMessageVisibilityBatch now
fail with TooManyEntriesInBatchRequest before processing any entry, on
both the Query and JSON protocols. The JSON type mapping is keyed on the
prefixed Query code so the JSON error type matches what botocore expects.

Fixes #5319

* fix(sqs): address review findings for batch entry limit validation

- Count distinct batch entry indices in Query handler across numbering gaps and missing IDs
- Reject missing or non-array Entries in JSON batch handlers with 400
- Seed messages and verify receipt handles in integration tests to detect partial mutations

* fix(sqs): reject empty batch requests and tidy batch limit tests

Return EmptyBatchRequest for a batch with no entries on all three batch
actions, and share the queue-count and receipt-handle entry helpers in the
JSON protocol test.

* fix(sqs): match AWS EmptyBatchRequest message per action and tidy query tests
2026-10-09 16:06:35 -04:00
..
2026-04-11 09:59:05 -05:00
2026-04-11 09:59:05 -05:00
2026-04-11 09:59:05 -05:00
2026-04-11 09:59:05 -05:00