@@ -63,10 +63,16 @@ final class PublishBatchRequestEntry
6363 /**
6464 * This parameter applies only to FIFO (first-in-first-out) topics.
6565 *
66- * The token used for deduplication of messages within a 5-minute minimum deduplication interval. If a message with a
67- * particular `MessageDeduplicationId` is sent successfully, subsequent messages with the same `MessageDeduplicationId`
68- * are accepted successfully but aren't delivered.
69- *
66+ * - This parameter applies only to FIFO (first-in-first-out) topics. The `MessageDeduplicationId` can contain up to 128
67+ * alphanumeric characters `(a-z, A-Z, 0-9)` and punctuation `(!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~)`.
68+ * - Every message must have a unique `MessageDeduplicationId`, which is a token used for deduplication of sent messages
69+ * within the 5 minute minimum deduplication interval.
70+ * - The scope of deduplication depends on the `FifoThroughputScope` attribute, when set to `Topic` the message
71+ * deduplication scope is across the entire topic, when set to `MessageGroup` the message deduplication scope is
72+ * within each individual message group.
73+ * - If a message with a particular `MessageDeduplicationId` is sent successfully, subsequent messages within the
74+ * deduplication scope and interval, with the same `MessageDeduplicationId`, are accepted successfully but aren't
75+ * delivered.
7076 * - Every message must have a unique `MessageDeduplicationId`.
7177 *
7278 * - You may provide a `MessageDeduplicationId` explicitly.
@@ -77,11 +83,12 @@ final class PublishBatchRequestEntry
7783 * action fails with an error.
7884 * - If the topic has a `ContentBasedDeduplication` set, your `MessageDeduplicationId` overrides the generated one.
7985 *
80- * - When `ContentBasedDeduplication` is in effect, messages with identical content sent within the deduplication
81- * interval are treated as duplicates and only one copy of the message is delivered.
86+ * - When `ContentBasedDeduplication` is in effect, messages with identical content sent within the deduplication scope
87+ * and interval are treated as duplicates and only one copy of the message is delivered.
8288 * - If you send one message with `ContentBasedDeduplication` enabled, and then another message with a
8389 * `MessageDeduplicationId` that is the same as the one generated for the first `MessageDeduplicationId`, the two
84- * messages are treated as duplicates and only one copy of the message is delivered.
90+ * messages are treated as duplicates, within the deduplication scope and interval, and only one copy of the message
91+ * is delivered.
8592 *
8693 * > The `MessageDeduplicationId` is available to the consumer of the message (this can be useful for troubleshooting
8794 * > delivery issues).
@@ -91,11 +98,6 @@ final class PublishBatchRequestEntry
9198 * >
9299 * > Amazon SNS continues to keep track of the message deduplication ID even after the message is received and deleted.
93100 *
94- * The length of `MessageDeduplicationId` is 128 characters.
95- *
96- * `MessageDeduplicationId` can contain alphanumeric characters `(a-z, A-Z, 0-9)` and punctuation
97- * `(!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~)`.
98- *
99101 * @var string|null
100102 */
101103 private $ messageDeduplicationId ;
0 commit comments