SNS: Add required deduplication_id parameter to PublishBatch (#6560)
This commit is contained in:
parent
5fbb1391e9
commit
fe6df96e34
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user