You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: sdk/src/Services/SQS/Generated/Model/CreateQueueRequest.cs
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -45,7 +45,7 @@ namespace Amazon.SQS.Model
45
45
/// standard queue into a FIFO queue. You must either create a new FIFO queue for your
46
46
/// application or delete your existing standard queue and recreate it as a FIFO queue.
47
47
/// For more information, see <a href="https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues.html#FIFO-queues-moving">Moving
48
-
/// From a Standard Queue to a FIFO Queue</a> in the <i>Amazon SQS Developer Guide</i>.
48
+
/// From a standard queue to a FIFO queue</a> in the <i>Amazon SQS Developer Guide</i>.
/// For best practices of using <c>MessageGroupId</c>, see <a href="https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/using-messagegroupid-property.html">Using
284
304
/// the MessageGroupId Property</a> in the <i>Amazon SQS Developer Guide</i>.
285
305
/// </para>
286
-
/// <important>
287
-
/// <para>
288
-
/// <c>MessageGroupId</c> is required for FIFO queues. You can't use it for Standard
Copy file name to clipboardExpand all lines: sdk/src/Services/SQS/Generated/Model/SendMessageRequest.cs
+41-27Lines changed: 41 additions & 27 deletions
Original file line number
Diff line number
Diff line change
@@ -47,9 +47,9 @@ namespace Amazon.SQS.Model
47
47
///
48
48
/// <para>
49
49
/// Amazon SQS does not throw an exception or completely reject the message if it contains
50
-
/// invalid characters. Instead, it replaces those invalid characters with <c>U+FFFD</c>
51
-
/// before storing the message in the queue, as long as the message body contains at least
52
-
/// one valid character.
50
+
/// invalid characters. Instead, it replaces those invalid characters with U+FFFD before
51
+
/// storing the message in the queue, as long as the message body contains at least one
52
+
/// valid character.
53
53
/// </para>
54
54
/// </important>
55
55
/// </summary>
@@ -72,7 +72,7 @@ public SendMessageRequest() { }
72
72
/// Instantiates SendMessageRequest with the parameterized properties
73
73
/// </summary>
74
74
/// <param name="queueUrl">The URL of the Amazon SQS queue to which a message is sent. Queue URLs and names are case-sensitive.</param>
75
-
/// <param name="messageBody">The message to send. The minimum size is one character. The maximum size is 256 KiB. <important> A message can include only XML, JSON, and unformatted text. The following Unicode characters are allowed. For more information, see the <a href="http://www.w3.org/TR/REC-xml/#charsets">W3C specification for characters</a>. <c>#x9</c> | <c>#xA</c> | <c>#xD</c> | <c>#x20</c> to <c>#xD7FF</c> | <c>#xE000</c> to <c>#xFFFD</c> | <c>#x10000</c> to <c>#x10FFFF</c> Amazon SQS does not throw an exception or completely reject the message if it contains invalid characters. Instead, it replaces those invalid characters with <c>U+FFFD</c> before storing the message in the queue, as long as the message body contains at least one valid character. </important></param>
75
+
/// <param name="messageBody">The message to send. The minimum size is one character. The maximum size is 256 KiB. <important> A message can include only XML, JSON, and unformatted text. The following Unicode characters are allowed. For more information, see the <a href="http://www.w3.org/TR/REC-xml/#charsets">W3C specification for characters</a>. <c>#x9</c> | <c>#xA</c> | <c>#xD</c> | <c>#x20</c> to <c>#xD7FF</c> | <c>#xE000</c> to <c>#xFFFD</c> | <c>#x10000</c> to <c>#x10FFFF</c> Amazon SQS does not throw an exception or completely reject the message if it contains invalid characters. Instead, it replaces those invalid characters with U+FFFD before storing the message in the queue, as long as the message body contains at least one valid character. </important></param>
/// This parameter applies only to FIFO (first-in-first-out) queues.
265
+
/// <c>MessageGroupId</c> is an attribute used in Amazon SQS FIFO (First-In-First-Out)
266
+
/// and standard queues. In FIFO queues, <c>MessageGroupId</c> organizes messages into
267
+
/// distinct groups. Messages within the same message group are always processed one at
268
+
/// a time, in strict order, ensuring that no two messages from the same group are processed
269
+
/// simultaneously. In standard queues, using <c>MessageGroupId</c> enables fair queues.
270
+
/// It is used to identify the tenant a message belongs to, helping maintain consistent
271
+
/// message dwell time across all tenants during noisy neighbor events. Unlike FIFO queues,
272
+
/// messages with the same <c>MessageGroupId</c> can be processed in parallel, maintaining
273
+
/// the high throughput of standard queues.
274
+
/// </para>
275
+
/// <ul> <li>
276
+
/// <para>
277
+
/// <b>FIFO queues:</b> <c>MessageGroupId</c> acts as the tag that specifies that a message
278
+
/// belongs to a specific message group. Messages that belong to the same message group
279
+
/// are processed in a FIFO manner (however, messages in different message groups might
280
+
/// be processed out of order). To interleave multiple ordered streams within a single
281
+
/// queue, use <c>MessageGroupId</c> values (for example, session data for multiple users).
282
+
/// In this scenario, multiple consumers can process the queue, but the session data of
283
+
/// each user is processed in a FIFO fashion.
266
284
/// </para>
267
285
///
268
286
/// <para>
269
-
/// The tag that specifies that a message belongs to a specific message group. Messages
270
-
/// that belong to the same message group are processed in a FIFO manner (however, messages
271
-
/// in different message groups might be processed out of order). To interleave multiple
272
-
/// ordered streams within a single queue, use <c>MessageGroupId</c> values (for example,
273
-
/// session data for multiple users). In this scenario, multiple consumers can process
274
-
/// the queue, but the session data of each user is processed in a FIFO fashion.
287
+
/// If you do not provide a <c>MessageGroupId</c> when sending a message to a FIFO queue,
288
+
/// the action fails.
275
289
/// </para>
276
-
/// <ul> <li>
290
+
///
277
291
/// <para>
278
-
/// You must associate a non-empty <c>MessageGroupId</c> with a message. If you don't
279
-
/// provide a <c>MessageGroupId</c>, the action fails.
292
+
/// <c>ReceiveMessage</c> might return messages with multiple <c>MessageGroupId</c> values.
293
+
/// For each <c>MessageGroupId</c>, the messages are sorted by time sent.
280
294
/// </para>
281
295
/// </li> <li>
282
296
/// <para>
283
-
/// <c>ReceiveMessage</c> might return messages with multiple <c>MessageGroupId</c> values.
284
-
/// For each <c>MessageGroupId</c>, the messages are sorted by time sent. The caller can't
285
-
/// specify a <c>MessageGroupId</c>.
297
+
/// <b>Standard queues:</b>Use <c>MessageGroupId</c> in standard queues to enable fair
298
+
/// queues. The <c>MessageGroupId</c> identifies the tenant a message belongs to. A tenant
299
+
/// can be any entity that shares a queue with others, such as your customer, a client
300
+
/// application, or a request type. When one tenant sends a disproportionately large volume
301
+
/// of messages or has messages that require longer processing time, fair queues ensure
302
+
/// other tenants' messages maintain low dwell time. This preserves quality of service
303
+
/// for all tenants while maintaining the scalability and throughput of standard queues.
304
+
/// We recommend that you include a <c>MessageGroupId</c> in all messages when using fair
305
+
/// queues.
286
306
/// </para>
287
307
/// </li> </ul>
288
308
/// <para>
289
-
/// The maximum length of <c>MessageGroupId</c> is 128 characters. Valid values: alphanumeric
309
+
/// The length of <c>MessageGroupId</c> is 128 characters. Valid values: alphanumeric
290
310
/// characters and punctuation <c>(!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~)</c>.
291
311
/// </para>
292
312
///
293
313
/// <para>
294
314
/// For best practices of using <c>MessageGroupId</c>, see <a href="https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/using-messagegroupid-property.html">Using
295
315
/// the MessageGroupId Property</a> in the <i>Amazon SQS Developer Guide</i>.
296
316
/// </para>
297
-
/// <important>
298
-
/// <para>
299
-
/// <c>MessageGroupId</c> is required for FIFO queues. You can't use it for Standard
0 commit comments