aws-sdk-sqs 1.96.0 → 1.99.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +15 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-sqs/client.rb +69 -40
- data/lib/aws-sdk-sqs/queue.rb +47 -28
- data/lib/aws-sdk-sqs/types.rb +85 -49
- data/lib/aws-sdk-sqs.rb +1 -1
- data/sig/client.rbs +1 -0
- data/sig/resource.rbs +1 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4858c9ca1587088e4d3d9f1a5a7af4dafcf031f59300f9f7f8d49322a7b75c83
|
4
|
+
data.tar.gz: 74f79dd3cae21efca973054c1d4a90702470b1b6fe0edca232ab35d606648459
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3925aa88e3b93f83667cfec5add019b589507fc7a7348323e929ed2040e202532655b5ab8269cd138e0a81f751cf2ad72a5017c1ee58c4328e337b2c85d258f1
|
7
|
+
data.tar.gz: 03e89bc45d695dd33571279057dc2e35ce5d90cd5b8f767d832241b0d37076daf5ab60e2795e0221db2eee8839912f628ad442b5a1113bb429a4c320cfd28a94
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,21 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.99.0 (2025-07-31)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.98.0 (2025-07-25)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Documentation updates for Amazon SQS fair queues feature.
|
13
|
+
|
14
|
+
1.97.0 (2025-07-21)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
18
|
+
|
4
19
|
1.96.0 (2025-06-02)
|
5
20
|
------------------
|
6
21
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.99.0
|
data/lib/aws-sdk-sqs/client.rb
CHANGED
@@ -99,7 +99,7 @@ module Aws::SQS
|
|
99
99
|
# class name or an instance of a plugin class.
|
100
100
|
#
|
101
101
|
# @option options [required, Aws::CredentialProvider] :credentials
|
102
|
-
# Your AWS credentials. This can be an instance of any one of the
|
102
|
+
# Your AWS credentials used for authentication. This can be an instance of any one of the
|
103
103
|
# following classes:
|
104
104
|
#
|
105
105
|
# * `Aws::Credentials` - Used for configuring static, non-refreshing
|
@@ -132,18 +132,23 @@ module Aws::SQS
|
|
132
132
|
# locations will be searched for credentials:
|
133
133
|
#
|
134
134
|
# * `Aws.config[:credentials]`
|
135
|
+
#
|
135
136
|
# * The `:access_key_id`, `:secret_access_key`, `:session_token`, and
|
136
137
|
# `:account_id` options.
|
137
|
-
#
|
138
|
-
#
|
138
|
+
#
|
139
|
+
# * `ENV['AWS_ACCESS_KEY_ID']`, `ENV['AWS_SECRET_ACCESS_KEY']`,
|
140
|
+
# `ENV['AWS_SESSION_TOKEN']`, and `ENV['AWS_ACCOUNT_ID']`.
|
141
|
+
#
|
139
142
|
# * `~/.aws/credentials`
|
143
|
+
#
|
140
144
|
# * `~/.aws/config`
|
145
|
+
#
|
141
146
|
# * EC2/ECS IMDS instance profile - When used by default, the timeouts
|
142
147
|
# are very aggressive. Construct and pass an instance of
|
143
148
|
# `Aws::InstanceProfileCredentials` or `Aws::ECSCredentials` to
|
144
149
|
# enable retries and extended timeouts. Instance profile credential
|
145
|
-
# fetching can be disabled by setting ENV['AWS_EC2_METADATA_DISABLED']
|
146
|
-
# to true
|
150
|
+
# fetching can be disabled by setting `ENV['AWS_EC2_METADATA_DISABLED']`
|
151
|
+
# to `true`.
|
147
152
|
#
|
148
153
|
# @option options [required, String] :region
|
149
154
|
# The AWS region to connect to. The configured `:region` is
|
@@ -171,6 +176,11 @@ module Aws::SQS
|
|
171
176
|
# When false, the request will raise a `RetryCapacityNotAvailableError` and will
|
172
177
|
# not retry instead of sleeping.
|
173
178
|
#
|
179
|
+
# @option options [Array<String>] :auth_scheme_preference
|
180
|
+
# A list of preferred authentication schemes to use when making a request. Supported values are:
|
181
|
+
# `sigv4`, `sigv4a`, `httpBearerAuth`, and `noAuth`. When set using `ENV['AWS_AUTH_SCHEME_PREFERENCE']` or in
|
182
|
+
# shared config as `auth_scheme_preference`, the value should be a comma-separated list.
|
183
|
+
#
|
174
184
|
# @option options [Boolean] :client_side_monitoring (false)
|
175
185
|
# When `true`, client-side metrics will be collected for all API requests from
|
176
186
|
# this client.
|
@@ -257,8 +267,8 @@ module Aws::SQS
|
|
257
267
|
# 4 times. Used in `standard` and `adaptive` retry modes.
|
258
268
|
#
|
259
269
|
# @option options [String] :profile ("default")
|
260
|
-
# Used when loading credentials from the shared credentials file
|
261
|
-
#
|
270
|
+
# Used when loading credentials from the shared credentials file at `HOME/.aws/credentials`.
|
271
|
+
# When not specified, 'default' is used.
|
262
272
|
#
|
263
273
|
# @option options [String] :request_checksum_calculation ("when_supported")
|
264
274
|
# Determines when a checksum will be calculated for request payloads. Values are:
|
@@ -378,7 +388,7 @@ module Aws::SQS
|
|
378
388
|
# `Aws::Telemetry::OTelProvider` for telemetry provider.
|
379
389
|
#
|
380
390
|
# @option options [Aws::TokenProvider] :token_provider
|
381
|
-
#
|
391
|
+
# Your Bearer token used for authentication. This can be an instance of any one of the
|
382
392
|
# following classes:
|
383
393
|
#
|
384
394
|
# * `Aws::StaticTokenProvider` - Used for configuring static, non-refreshing
|
@@ -797,7 +807,7 @@ module Aws::SQS
|
|
797
807
|
# convert an existing standard queue into a FIFO queue. You must
|
798
808
|
# either create a new FIFO queue for your application or delete your
|
799
809
|
# existing standard queue and recreate it as a FIFO queue. For more
|
800
|
-
# information, see [Moving From a
|
810
|
+
# information, see [Moving From a standard queue to a FIFO queue][1]
|
801
811
|
# in the *Amazon SQS Developer Guide*.
|
802
812
|
#
|
803
813
|
# </note>
|
@@ -1918,8 +1928,7 @@ module Aws::SQS
|
|
1918
1928
|
# producer that calls the ` SendMessage ` action.
|
1919
1929
|
#
|
1920
1930
|
# * `MessageGroupId` – Returns the value provided by the producer that
|
1921
|
-
# calls the ` SendMessage ` action.
|
1922
|
-
# `MessageGroupId` are returned in sequence.
|
1931
|
+
# calls the ` SendMessage ` action.
|
1923
1932
|
#
|
1924
1933
|
# * `SequenceNumber` – Returns the value provided by Amazon SQS.
|
1925
1934
|
#
|
@@ -1961,8 +1970,7 @@ module Aws::SQS
|
|
1961
1970
|
# producer that calls the ` SendMessage ` action.
|
1962
1971
|
#
|
1963
1972
|
# * `MessageGroupId` – Returns the value provided by the producer that
|
1964
|
-
# calls the ` SendMessage ` action.
|
1965
|
-
# `MessageGroupId` are returned in sequence.
|
1973
|
+
# calls the ` SendMessage ` action.
|
1966
1974
|
#
|
1967
1975
|
# * `SequenceNumber` – Returns the value provided by Amazon SQS.
|
1968
1976
|
#
|
@@ -2095,7 +2103,8 @@ module Aws::SQS
|
|
2095
2103
|
# * While messages with a particular `MessageGroupId` are invisible, no
|
2096
2104
|
# more messages belonging to the same `MessageGroupId` are returned
|
2097
2105
|
# until the visibility timeout expires. You can still receive messages
|
2098
|
-
# with another `MessageGroupId` as long as
|
2106
|
+
# with another `MessageGroupId` from your FIFO queue as long as they
|
2107
|
+
# are visible.
|
2099
2108
|
#
|
2100
2109
|
# * If a caller of `ReceiveMessage` can't track the
|
2101
2110
|
# `ReceiveRequestAttemptId`, no retries work until the original
|
@@ -2218,7 +2227,7 @@ module Aws::SQS
|
|
2218
2227
|
#
|
2219
2228
|
# Amazon SQS does not throw an exception or completely reject the
|
2220
2229
|
# message if it contains invalid characters. Instead, it replaces those
|
2221
|
-
# invalid characters with
|
2230
|
+
# invalid characters with U+FFFD before storing the message in the
|
2222
2231
|
# queue, as long as the message body contains at least one valid
|
2223
2232
|
# character.
|
2224
2233
|
#
|
@@ -2244,7 +2253,7 @@ module Aws::SQS
|
|
2244
2253
|
#
|
2245
2254
|
# Amazon SQS does not throw an exception or completely reject the
|
2246
2255
|
# message if it contains invalid characters. Instead, it replaces those
|
2247
|
-
# invalid characters with
|
2256
|
+
# invalid characters with U+FFFD before storing the message in the
|
2248
2257
|
# queue, as long as the message body contains at least one valid
|
2249
2258
|
# character.
|
2250
2259
|
#
|
@@ -2346,34 +2355,54 @@ module Aws::SQS
|
|
2346
2355
|
# [2]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/using-messagededuplicationid-property.html
|
2347
2356
|
#
|
2348
2357
|
# @option params [String] :message_group_id
|
2349
|
-
#
|
2350
|
-
#
|
2351
|
-
#
|
2352
|
-
#
|
2353
|
-
#
|
2354
|
-
# processed
|
2355
|
-
#
|
2356
|
-
#
|
2357
|
-
#
|
2358
|
-
#
|
2359
|
-
#
|
2360
|
-
#
|
2361
|
-
#
|
2362
|
-
#
|
2363
|
-
#
|
2358
|
+
# `MessageGroupId` is an attribute used in Amazon SQS FIFO
|
2359
|
+
# (First-In-First-Out) and standard queues. In FIFO queues,
|
2360
|
+
# `MessageGroupId` organizes messages into distinct groups. Messages
|
2361
|
+
# within the same message group are always processed one at a time, in
|
2362
|
+
# strict order, ensuring that no two messages from the same group are
|
2363
|
+
# processed simultaneously. In standard queues, using `MessageGroupId`
|
2364
|
+
# enables fair queues. It is used to identify the tenant a message
|
2365
|
+
# belongs to, helping maintain consistent message dwell time across all
|
2366
|
+
# tenants during noisy neighbor events. Unlike FIFO queues, messages
|
2367
|
+
# with the same `MessageGroupId` can be processed in parallel,
|
2368
|
+
# maintaining the high throughput of standard queues.
|
2369
|
+
#
|
2370
|
+
# * **FIFO queues:** `MessageGroupId` acts as the tag that specifies
|
2371
|
+
# that a message belongs to a specific message group. Messages that
|
2372
|
+
# belong to the same message group are processed in a FIFO manner
|
2373
|
+
# (however, messages in different message groups might be processed
|
2374
|
+
# out of order). To interleave multiple ordered streams within a
|
2375
|
+
# single queue, use `MessageGroupId` values (for example, session data
|
2376
|
+
# for multiple users). In this scenario, multiple consumers can
|
2377
|
+
# process the queue, but the session data of each user is processed in
|
2378
|
+
# a FIFO fashion.
|
2379
|
+
#
|
2380
|
+
# If you do not provide a `MessageGroupId` when sending a message to a
|
2381
|
+
# FIFO queue, the action fails.
|
2382
|
+
#
|
2383
|
+
# `ReceiveMessage` might return messages with multiple
|
2364
2384
|
# `MessageGroupId` values. For each `MessageGroupId`, the messages are
|
2365
|
-
# sorted by time sent.
|
2366
|
-
#
|
2367
|
-
#
|
2368
|
-
#
|
2385
|
+
# sorted by time sent.
|
2386
|
+
#
|
2387
|
+
# * **Standard queues:**Use `MessageGroupId` in standard queues to
|
2388
|
+
# enable fair queues. The `MessageGroupId` identifies the tenant a
|
2389
|
+
# message belongs to. A tenant can be any entity that shares a queue
|
2390
|
+
# with others, such as your customer, a client application, or a
|
2391
|
+
# request type. When one tenant sends a disproportionately large
|
2392
|
+
# volume of messages or has messages that require longer processing
|
2393
|
+
# time, fair queues ensure other tenants' messages maintain low dwell
|
2394
|
+
# time. This preserves quality of service for all tenants while
|
2395
|
+
# maintaining the scalability and throughput of standard queues. We
|
2396
|
+
# recommend that you include a `MessageGroupId` in all messages when
|
2397
|
+
# using fair queues.
|
2398
|
+
#
|
2399
|
+
# The length of `MessageGroupId` is 128 characters. Valid values:
|
2400
|
+
# alphanumeric characters and punctuation ``
|
2369
2401
|
# (!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~) ``.
|
2370
2402
|
#
|
2371
2403
|
# For best practices of using `MessageGroupId`, see [Using the
|
2372
2404
|
# MessageGroupId Property][1] in the *Amazon SQS Developer Guide*.
|
2373
2405
|
#
|
2374
|
-
# `MessageGroupId` is required for FIFO queues. You can't use it for
|
2375
|
-
# Standard queues.
|
2376
|
-
#
|
2377
2406
|
#
|
2378
2407
|
#
|
2379
2408
|
# [1]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/using-messagegroupid-property.html
|
@@ -2455,7 +2484,7 @@ module Aws::SQS
|
|
2455
2484
|
#
|
2456
2485
|
# Amazon SQS does not throw an exception or completely reject the
|
2457
2486
|
# message if it contains invalid characters. Instead, it replaces those
|
2458
|
-
# invalid characters with
|
2487
|
+
# invalid characters with U+FFFD before storing the message in the
|
2459
2488
|
# queue, as long as the message body contains at least one valid
|
2460
2489
|
# character.
|
2461
2490
|
#
|
@@ -2957,7 +2986,7 @@ module Aws::SQS
|
|
2957
2986
|
tracer: tracer
|
2958
2987
|
)
|
2959
2988
|
context[:gem_name] = 'aws-sdk-sqs'
|
2960
|
-
context[:gem_version] = '1.
|
2989
|
+
context[:gem_version] = '1.99.0'
|
2961
2990
|
Seahorse::Client::Request.new(handlers, context)
|
2962
2991
|
end
|
2963
2992
|
|
data/lib/aws-sdk-sqs/queue.rb
CHANGED
@@ -251,8 +251,7 @@ module Aws::SQS
|
|
251
251
|
# producer that calls the ` SendMessage ` action.
|
252
252
|
#
|
253
253
|
# * `MessageGroupId` – Returns the value provided by the producer that
|
254
|
-
# calls the ` SendMessage ` action.
|
255
|
-
# `MessageGroupId` are returned in sequence.
|
254
|
+
# calls the ` SendMessage ` action.
|
256
255
|
#
|
257
256
|
# * `SequenceNumber` – Returns the value provided by Amazon SQS.
|
258
257
|
#
|
@@ -293,8 +292,7 @@ module Aws::SQS
|
|
293
292
|
# producer that calls the ` SendMessage ` action.
|
294
293
|
#
|
295
294
|
# * `MessageGroupId` – Returns the value provided by the producer that
|
296
|
-
# calls the ` SendMessage ` action.
|
297
|
-
# `MessageGroupId` are returned in sequence.
|
295
|
+
# calls the ` SendMessage ` action.
|
298
296
|
#
|
299
297
|
# * `SequenceNumber` – Returns the value provided by Amazon SQS.
|
300
298
|
#
|
@@ -422,7 +420,8 @@ module Aws::SQS
|
|
422
420
|
# * While messages with a particular `MessageGroupId` are invisible, no
|
423
421
|
# more messages belonging to the same `MessageGroupId` are returned
|
424
422
|
# until the visibility timeout expires. You can still receive messages
|
425
|
-
# with another `MessageGroupId` as long as
|
423
|
+
# with another `MessageGroupId` from your FIFO queue as long as they
|
424
|
+
# are visible.
|
426
425
|
#
|
427
426
|
# * If a caller of `ReceiveMessage` can't track the
|
428
427
|
# `ReceiveRequestAttemptId`, no retries work until the original
|
@@ -518,7 +517,7 @@ module Aws::SQS
|
|
518
517
|
#
|
519
518
|
# Amazon SQS does not throw an exception or completely reject the
|
520
519
|
# message if it contains invalid characters. Instead, it replaces those
|
521
|
-
# invalid characters with
|
520
|
+
# invalid characters with U+FFFD before storing the message in the
|
522
521
|
# queue, as long as the message body contains at least one valid
|
523
522
|
# character.
|
524
523
|
#
|
@@ -615,34 +614,54 @@ module Aws::SQS
|
|
615
614
|
# [1]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues-exactly-once-processing.html
|
616
615
|
# [2]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/using-messagededuplicationid-property.html
|
617
616
|
# @option options [String] :message_group_id
|
618
|
-
#
|
619
|
-
#
|
620
|
-
#
|
621
|
-
#
|
622
|
-
#
|
623
|
-
# processed
|
624
|
-
#
|
625
|
-
#
|
626
|
-
#
|
627
|
-
#
|
628
|
-
#
|
629
|
-
#
|
630
|
-
#
|
631
|
-
#
|
632
|
-
#
|
617
|
+
# `MessageGroupId` is an attribute used in Amazon SQS FIFO
|
618
|
+
# (First-In-First-Out) and standard queues. In FIFO queues,
|
619
|
+
# `MessageGroupId` organizes messages into distinct groups. Messages
|
620
|
+
# within the same message group are always processed one at a time, in
|
621
|
+
# strict order, ensuring that no two messages from the same group are
|
622
|
+
# processed simultaneously. In standard queues, using `MessageGroupId`
|
623
|
+
# enables fair queues. It is used to identify the tenant a message
|
624
|
+
# belongs to, helping maintain consistent message dwell time across all
|
625
|
+
# tenants during noisy neighbor events. Unlike FIFO queues, messages
|
626
|
+
# with the same `MessageGroupId` can be processed in parallel,
|
627
|
+
# maintaining the high throughput of standard queues.
|
628
|
+
#
|
629
|
+
# * **FIFO queues:** `MessageGroupId` acts as the tag that specifies
|
630
|
+
# that a message belongs to a specific message group. Messages that
|
631
|
+
# belong to the same message group are processed in a FIFO manner
|
632
|
+
# (however, messages in different message groups might be processed
|
633
|
+
# out of order). To interleave multiple ordered streams within a
|
634
|
+
# single queue, use `MessageGroupId` values (for example, session data
|
635
|
+
# for multiple users). In this scenario, multiple consumers can
|
636
|
+
# process the queue, but the session data of each user is processed in
|
637
|
+
# a FIFO fashion.
|
638
|
+
#
|
639
|
+
# If you do not provide a `MessageGroupId` when sending a message to a
|
640
|
+
# FIFO queue, the action fails.
|
641
|
+
#
|
642
|
+
# `ReceiveMessage` might return messages with multiple
|
633
643
|
# `MessageGroupId` values. For each `MessageGroupId`, the messages are
|
634
|
-
# sorted by time sent.
|
635
|
-
#
|
636
|
-
#
|
637
|
-
#
|
644
|
+
# sorted by time sent.
|
645
|
+
#
|
646
|
+
# * **Standard queues:**Use `MessageGroupId` in standard queues to
|
647
|
+
# enable fair queues. The `MessageGroupId` identifies the tenant a
|
648
|
+
# message belongs to. A tenant can be any entity that shares a queue
|
649
|
+
# with others, such as your customer, a client application, or a
|
650
|
+
# request type. When one tenant sends a disproportionately large
|
651
|
+
# volume of messages or has messages that require longer processing
|
652
|
+
# time, fair queues ensure other tenants' messages maintain low dwell
|
653
|
+
# time. This preserves quality of service for all tenants while
|
654
|
+
# maintaining the scalability and throughput of standard queues. We
|
655
|
+
# recommend that you include a `MessageGroupId` in all messages when
|
656
|
+
# using fair queues.
|
657
|
+
#
|
658
|
+
# The length of `MessageGroupId` is 128 characters. Valid values:
|
659
|
+
# alphanumeric characters and punctuation ``
|
638
660
|
# (!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~) ``.
|
639
661
|
#
|
640
662
|
# For best practices of using `MessageGroupId`, see [Using the
|
641
663
|
# MessageGroupId Property][1] in the *Amazon SQS Developer Guide*.
|
642
664
|
#
|
643
|
-
# `MessageGroupId` is required for FIFO queues. You can't use it for
|
644
|
-
# Standard queues.
|
645
|
-
#
|
646
665
|
#
|
647
666
|
#
|
648
667
|
# [1]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/using-messagegroupid-property.html
|
data/lib/aws-sdk-sqs/types.rb
CHANGED
@@ -1696,8 +1696,7 @@ module Aws::SQS
|
|
1696
1696
|
# producer that calls the ` SendMessage ` action.
|
1697
1697
|
#
|
1698
1698
|
# * `MessageGroupId` – Returns the value provided by the producer that
|
1699
|
-
# calls the ` SendMessage ` action.
|
1700
|
-
# `MessageGroupId` are returned in sequence.
|
1699
|
+
# calls the ` SendMessage ` action.
|
1701
1700
|
#
|
1702
1701
|
# * `SequenceNumber` – Returns the value provided by Amazon SQS.
|
1703
1702
|
#
|
@@ -1742,8 +1741,7 @@ module Aws::SQS
|
|
1742
1741
|
# producer that calls the ` SendMessage ` action.
|
1743
1742
|
#
|
1744
1743
|
# * `MessageGroupId` – Returns the value provided by the producer that
|
1745
|
-
# calls the ` SendMessage ` action.
|
1746
|
-
# `MessageGroupId` are returned in sequence.
|
1744
|
+
# calls the ` SendMessage ` action.
|
1747
1745
|
#
|
1748
1746
|
# * `SequenceNumber` – Returns the value provided by Amazon SQS.
|
1749
1747
|
#
|
@@ -1884,8 +1882,8 @@ module Aws::SQS
|
|
1884
1882
|
# * While messages with a particular `MessageGroupId` are invisible,
|
1885
1883
|
# no more messages belonging to the same `MessageGroupId` are
|
1886
1884
|
# returned until the visibility timeout expires. You can still
|
1887
|
-
# receive messages with another `MessageGroupId`
|
1888
|
-
#
|
1885
|
+
# receive messages with another `MessageGroupId` from your FIFO
|
1886
|
+
# queue as long as they are visible.
|
1889
1887
|
#
|
1890
1888
|
# * If a caller of `ReceiveMessage` can't track the
|
1891
1889
|
# `ReceiveRequestAttemptId`, no retries work until the original
|
@@ -2133,24 +2131,46 @@ module Aws::SQS
|
|
2133
2131
|
# @return [String]
|
2134
2132
|
#
|
2135
2133
|
# @!attribute [rw] message_group_id
|
2136
|
-
#
|
2137
|
-
#
|
2138
|
-
#
|
2139
|
-
#
|
2140
|
-
#
|
2141
|
-
#
|
2142
|
-
#
|
2143
|
-
#
|
2144
|
-
#
|
2145
|
-
#
|
2146
|
-
#
|
2147
|
-
#
|
2148
|
-
#
|
2149
|
-
#
|
2150
|
-
#
|
2134
|
+
# `MessageGroupId` is an attribute used in Amazon SQS FIFO
|
2135
|
+
# (First-In-First-Out) and standard queues. In FIFO queues,
|
2136
|
+
# `MessageGroupId` organizes messages into distinct groups. Messages
|
2137
|
+
# within the same message group are always processed one at a time, in
|
2138
|
+
# strict order, ensuring that no two messages from the same group are
|
2139
|
+
# processed simultaneously. In standard queues, using `MessageGroupId`
|
2140
|
+
# enables fair queues. It is used to identify the tenant a message
|
2141
|
+
# belongs to, helping maintain consistent message dwell time across
|
2142
|
+
# all tenants during noisy neighbor events. Unlike FIFO queues,
|
2143
|
+
# messages with the same `MessageGroupId` can be processed in
|
2144
|
+
# parallel, maintaining the high throughput of standard queues.
|
2145
|
+
#
|
2146
|
+
# * **FIFO queues:** `MessageGroupId` acts as the tag that specifies
|
2147
|
+
# that a message belongs to a specific message group. Messages that
|
2148
|
+
# belong to the same message group are processed in a FIFO manner
|
2149
|
+
# (however, messages in different message groups might be processed
|
2150
|
+
# out of order). To interleave multiple ordered streams within a
|
2151
|
+
# single queue, use `MessageGroupId` values (for example, session
|
2152
|
+
# data for multiple users). In this scenario, multiple consumers can
|
2153
|
+
# process the queue, but the session data of each user is processed
|
2154
|
+
# in a FIFO fashion.
|
2155
|
+
#
|
2156
|
+
# If you do not provide a `MessageGroupId` when sending a message to
|
2157
|
+
# a FIFO queue, the action fails.
|
2158
|
+
#
|
2159
|
+
# `ReceiveMessage` might return messages with multiple
|
2151
2160
|
# `MessageGroupId` values. For each `MessageGroupId`, the messages
|
2152
|
-
# are sorted by time sent.
|
2153
|
-
#
|
2161
|
+
# are sorted by time sent.
|
2162
|
+
#
|
2163
|
+
# * **Standard queues:**Use `MessageGroupId` in standard queues to
|
2164
|
+
# enable fair queues. The `MessageGroupId` identifies the tenant a
|
2165
|
+
# message belongs to. A tenant can be any entity that shares a queue
|
2166
|
+
# with others, such as your customer, a client application, or a
|
2167
|
+
# request type. When one tenant sends a disproportionately large
|
2168
|
+
# volume of messages or has messages that require longer processing
|
2169
|
+
# time, fair queues ensure other tenants' messages maintain low
|
2170
|
+
# dwell time. This preserves quality of service for all tenants
|
2171
|
+
# while maintaining the scalability and throughput of standard
|
2172
|
+
# queues. We recommend that you include a `MessageGroupId` in all
|
2173
|
+
# messages when using fair queues.
|
2154
2174
|
#
|
2155
2175
|
# The length of `MessageGroupId` is 128 characters. Valid values:
|
2156
2176
|
# alphanumeric characters and punctuation ``
|
@@ -2159,9 +2179,6 @@ module Aws::SQS
|
|
2159
2179
|
# For best practices of using `MessageGroupId`, see [Using the
|
2160
2180
|
# MessageGroupId Property][1] in the *Amazon SQS Developer Guide*.
|
2161
2181
|
#
|
2162
|
-
# `MessageGroupId` is required for FIFO queues. You can't use it for
|
2163
|
-
# Standard queues.
|
2164
|
-
#
|
2165
2182
|
#
|
2166
2183
|
#
|
2167
2184
|
# [1]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/using-messagegroupid-property.html
|
@@ -2291,7 +2308,7 @@ module Aws::SQS
|
|
2291
2308
|
#
|
2292
2309
|
# Amazon SQS does not throw an exception or completely reject the
|
2293
2310
|
# message if it contains invalid characters. Instead, it replaces
|
2294
|
-
# those invalid characters with
|
2311
|
+
# those invalid characters with U+FFFD before storing the message in
|
2295
2312
|
# the queue, as long as the message body contains at least one valid
|
2296
2313
|
# character.
|
2297
2314
|
#
|
@@ -2401,35 +2418,54 @@ module Aws::SQS
|
|
2401
2418
|
# @return [String]
|
2402
2419
|
#
|
2403
2420
|
# @!attribute [rw] message_group_id
|
2404
|
-
#
|
2405
|
-
#
|
2406
|
-
#
|
2407
|
-
#
|
2408
|
-
#
|
2409
|
-
#
|
2410
|
-
#
|
2411
|
-
#
|
2412
|
-
#
|
2413
|
-
#
|
2414
|
-
#
|
2415
|
-
#
|
2416
|
-
#
|
2417
|
-
#
|
2418
|
-
#
|
2421
|
+
# `MessageGroupId` is an attribute used in Amazon SQS FIFO
|
2422
|
+
# (First-In-First-Out) and standard queues. In FIFO queues,
|
2423
|
+
# `MessageGroupId` organizes messages into distinct groups. Messages
|
2424
|
+
# within the same message group are always processed one at a time, in
|
2425
|
+
# strict order, ensuring that no two messages from the same group are
|
2426
|
+
# processed simultaneously. In standard queues, using `MessageGroupId`
|
2427
|
+
# enables fair queues. It is used to identify the tenant a message
|
2428
|
+
# belongs to, helping maintain consistent message dwell time across
|
2429
|
+
# all tenants during noisy neighbor events. Unlike FIFO queues,
|
2430
|
+
# messages with the same `MessageGroupId` can be processed in
|
2431
|
+
# parallel, maintaining the high throughput of standard queues.
|
2432
|
+
#
|
2433
|
+
# * **FIFO queues:** `MessageGroupId` acts as the tag that specifies
|
2434
|
+
# that a message belongs to a specific message group. Messages that
|
2435
|
+
# belong to the same message group are processed in a FIFO manner
|
2436
|
+
# (however, messages in different message groups might be processed
|
2437
|
+
# out of order). To interleave multiple ordered streams within a
|
2438
|
+
# single queue, use `MessageGroupId` values (for example, session
|
2439
|
+
# data for multiple users). In this scenario, multiple consumers can
|
2440
|
+
# process the queue, but the session data of each user is processed
|
2441
|
+
# in a FIFO fashion.
|
2442
|
+
#
|
2443
|
+
# If you do not provide a `MessageGroupId` when sending a message to
|
2444
|
+
# a FIFO queue, the action fails.
|
2445
|
+
#
|
2446
|
+
# `ReceiveMessage` might return messages with multiple
|
2419
2447
|
# `MessageGroupId` values. For each `MessageGroupId`, the messages
|
2420
|
-
# are sorted by time sent.
|
2421
|
-
#
|
2448
|
+
# are sorted by time sent.
|
2449
|
+
#
|
2450
|
+
# * **Standard queues:**Use `MessageGroupId` in standard queues to
|
2451
|
+
# enable fair queues. The `MessageGroupId` identifies the tenant a
|
2452
|
+
# message belongs to. A tenant can be any entity that shares a queue
|
2453
|
+
# with others, such as your customer, a client application, or a
|
2454
|
+
# request type. When one tenant sends a disproportionately large
|
2455
|
+
# volume of messages or has messages that require longer processing
|
2456
|
+
# time, fair queues ensure other tenants' messages maintain low
|
2457
|
+
# dwell time. This preserves quality of service for all tenants
|
2458
|
+
# while maintaining the scalability and throughput of standard
|
2459
|
+
# queues. We recommend that you include a `MessageGroupId` in all
|
2460
|
+
# messages when using fair queues.
|
2422
2461
|
#
|
2423
|
-
# The
|
2424
|
-
#
|
2462
|
+
# The length of `MessageGroupId` is 128 characters. Valid values:
|
2463
|
+
# alphanumeric characters and punctuation ``
|
2425
2464
|
# (!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~) ``.
|
2426
2465
|
#
|
2427
2466
|
# For best practices of using `MessageGroupId`, see [Using the
|
2428
2467
|
# MessageGroupId Property][1] in the *Amazon SQS Developer Guide*.
|
2429
2468
|
#
|
2430
|
-
# `MessageGroupId` is required for FIFO queues. You can't use it for
|
2431
|
-
# Standard queues.
|
2432
|
-
#
|
2433
2469
|
#
|
2434
2470
|
#
|
2435
2471
|
# [1]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/using-messagegroupid-property.html
|
data/lib/aws-sdk-sqs.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -18,6 +18,7 @@ module Aws
|
|
18
18
|
?account_id: String,
|
19
19
|
?active_endpoint_cache: bool,
|
20
20
|
?adaptive_retry_wait_to_fill: bool,
|
21
|
+
?auth_scheme_preference: Array[String],
|
21
22
|
?client_side_monitoring: bool,
|
22
23
|
?client_side_monitoring_client_id: String,
|
23
24
|
?client_side_monitoring_host: String,
|
data/sig/resource.rbs
CHANGED
@@ -18,6 +18,7 @@ module Aws
|
|
18
18
|
?account_id: String,
|
19
19
|
?active_endpoint_cache: bool,
|
20
20
|
?adaptive_retry_wait_to_fill: bool,
|
21
|
+
?auth_scheme_preference: Array[String],
|
21
22
|
?client_side_monitoring: bool,
|
22
23
|
?client_side_monitoring_client_id: String,
|
23
24
|
?client_side_monitoring_host: String,
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-sqs
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.99.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
@@ -18,7 +18,7 @@ dependencies:
|
|
18
18
|
version: '3'
|
19
19
|
- - ">="
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version: 3.
|
21
|
+
version: 3.228.0
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -28,7 +28,7 @@ dependencies:
|
|
28
28
|
version: '3'
|
29
29
|
- - ">="
|
30
30
|
- !ruby/object:Gem::Version
|
31
|
-
version: 3.
|
31
|
+
version: 3.228.0
|
32
32
|
- !ruby/object:Gem::Dependency
|
33
33
|
name: aws-sigv4
|
34
34
|
requirement: !ruby/object:Gem::Requirement
|