From fe6df96e34ef2950ba12ec420eff296472c6de6d Mon Sep 17 00:00:00 2001 From: Christian Kreiling Date: Wed, 26 Jul 2023 08:01:36 +1000 Subject: [PATCH] SNS: Add required deduplication_id parameter to PublishBatch (#6560) --- moto/sns/models.py | 1 + 1 file changed, 1 insertion(+) diff --git a/moto/sns/models.py b/moto/sns/models.py index 2c77cfa30..c707b0500 100644 --- a/moto/sns/models.py +++ b/moto/sns/models.py @@ -1043,6 +1043,7 @@ class SNSBackend(BaseBackend): subject=entry.get("Subject"), message_attributes=entry.get("MessageAttributes", {}), group_id=entry.get("MessageGroupId"), + deduplication_id=entry.get("MessageDeduplicationId"), ) successful.append({"MessageId": message_id, "Id": entry["Id"]}) except Exception as e: