aws-sdk-sqs 1.90.0 → 1.110.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c122c91aca3570ae9faf5b93a1c376363c5f05cacce7fe0c22c851bd9486d818
4
- data.tar.gz: 3a8edebaf3fd41378cabdcd5d450d909c5f072fae9b9ec03b669e7ab77572a2d
3
+ metadata.gz: 0de7d2ed450954c057519fe8394e9e1644f4f7eb24871c5e8ee673223fe343cf
4
+ data.tar.gz: 70bfd24c3ac20d7ef944f8f6a3478e09597c1e849e77a95b887341cec33b443a
5
5
  SHA512:
6
- metadata.gz: 8364bfa6a6e1452752c6c07d273853386c8ec299696f0fd16a9fc81d3118b6cd0c9371b32d08780e082e48e4c84131431ad88467e01705a0114940facab50d97
7
- data.tar.gz: 779695b4b133442beb45aa61b6de84f19164808535dc1e9817541009ae312c7f8bf217882b67374b6d2fced97c4385d4fb1c9695d6a7972f7fead8321ad78e2d
6
+ metadata.gz: 123e2dc1710cf996c4f2e2873965fcf37ac59e8e6edc896abe40b5d4219f31398415db14df0658e1c29bc38eb21074f858ffd8d9b31a5370025c3e70cbeda133
7
+ data.tar.gz: 6b8770fe599d7fc0105fdc223de4c9e82a63bc94acb432c91ef56bfa4ca9ad1e565b296c05e666a6b1fa812156551a08f7e55c5bb024e33576a5a2bf1263cadd
data/CHANGELOG.md CHANGED
@@ -1,6 +1,106 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.110.0 (2026-01-16)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.109.0 (2026-01-08)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
14
+ 1.108.0 (2026-01-05)
15
+ ------------------
16
+
17
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
18
+
19
+ 1.107.0 (2025-11-21)
20
+ ------------------
21
+
22
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
23
+
24
+ 1.106.0 (2025-10-28)
25
+ ------------------
26
+
27
+ * Feature - Update endpoint ruleset parameters casing
28
+
29
+ 1.105.0 (2025-10-21)
30
+ ------------------
31
+
32
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
33
+
34
+ 1.104.0 (2025-09-19)
35
+ ------------------
36
+
37
+ * Feature - Update invalid character handling documentation for SQS SendMessage API
38
+
39
+ 1.103.0 (2025-08-26)
40
+ ------------------
41
+
42
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
43
+
44
+ 1.102.0 (2025-08-25)
45
+ ------------------
46
+
47
+ * Feature - Documentation update for Amazon SQS Supports Large Payload Message feature
48
+
49
+ 1.101.0 (2025-08-22)
50
+ ------------------
51
+
52
+ * Feature - Remove incorrect endpoint tests
53
+
54
+ 1.100.0 (2025-08-04)
55
+ ------------------
56
+
57
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
58
+
59
+ 1.99.0 (2025-07-31)
60
+ ------------------
61
+
62
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
63
+
64
+ 1.98.0 (2025-07-25)
65
+ ------------------
66
+
67
+ * Feature - Documentation updates for Amazon SQS fair queues feature.
68
+
69
+ 1.97.0 (2025-07-21)
70
+ ------------------
71
+
72
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
73
+
74
+ 1.96.0 (2025-06-02)
75
+ ------------------
76
+
77
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
78
+
79
+ 1.95.0 (2025-05-12)
80
+ ------------------
81
+
82
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
83
+
84
+ 1.94.0 (2025-05-01)
85
+ ------------------
86
+
87
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
88
+
89
+ 1.93.0 (2025-02-18)
90
+ ------------------
91
+
92
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
93
+
94
+ 1.92.0 (2025-02-06)
95
+ ------------------
96
+
97
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
98
+
99
+ 1.91.0 (2025-01-15)
100
+ ------------------
101
+
102
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
103
+
4
104
  1.90.0 (2025-01-02)
5
105
  ------------------
6
106
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.90.0
1
+ 1.110.0
@@ -7,36 +7,36 @@
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
10
- require 'seahorse/client/plugins/content_length.rb'
11
- require 'aws-sdk-core/plugins/credentials_configuration.rb'
12
- require 'aws-sdk-core/plugins/logging.rb'
13
- require 'aws-sdk-core/plugins/param_converter.rb'
14
- require 'aws-sdk-core/plugins/param_validator.rb'
15
- require 'aws-sdk-core/plugins/user_agent.rb'
16
- require 'aws-sdk-core/plugins/helpful_socket_errors.rb'
17
- require 'aws-sdk-core/plugins/retry_errors.rb'
18
- require 'aws-sdk-core/plugins/global_configuration.rb'
19
- require 'aws-sdk-core/plugins/regional_endpoint.rb'
20
- require 'aws-sdk-core/plugins/endpoint_discovery.rb'
21
- require 'aws-sdk-core/plugins/endpoint_pattern.rb'
22
- require 'aws-sdk-core/plugins/response_paging.rb'
23
- require 'aws-sdk-core/plugins/stub_responses.rb'
24
- require 'aws-sdk-core/plugins/idempotency_token.rb'
25
- require 'aws-sdk-core/plugins/invocation_id.rb'
26
- require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
27
- require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
28
- require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
29
- require 'aws-sdk-core/plugins/transfer_encoding.rb'
30
- require 'aws-sdk-core/plugins/http_checksum.rb'
31
- require 'aws-sdk-core/plugins/checksum_algorithm.rb'
32
- require 'aws-sdk-core/plugins/request_compression.rb'
33
- require 'aws-sdk-core/plugins/defaults_mode.rb'
34
- require 'aws-sdk-core/plugins/recursion_detection.rb'
35
- require 'aws-sdk-core/plugins/telemetry.rb'
36
- require 'aws-sdk-core/plugins/sign.rb'
37
- require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
38
- require 'aws-sdk-sqs/plugins/queue_urls.rb'
39
- require 'aws-sdk-sqs/plugins/md5s.rb'
10
+ require 'seahorse/client/plugins/content_length'
11
+ require 'aws-sdk-core/plugins/credentials_configuration'
12
+ require 'aws-sdk-core/plugins/logging'
13
+ require 'aws-sdk-core/plugins/param_converter'
14
+ require 'aws-sdk-core/plugins/param_validator'
15
+ require 'aws-sdk-core/plugins/user_agent'
16
+ require 'aws-sdk-core/plugins/helpful_socket_errors'
17
+ require 'aws-sdk-core/plugins/retry_errors'
18
+ require 'aws-sdk-core/plugins/global_configuration'
19
+ require 'aws-sdk-core/plugins/regional_endpoint'
20
+ require 'aws-sdk-core/plugins/endpoint_discovery'
21
+ require 'aws-sdk-core/plugins/endpoint_pattern'
22
+ require 'aws-sdk-core/plugins/response_paging'
23
+ require 'aws-sdk-core/plugins/stub_responses'
24
+ require 'aws-sdk-core/plugins/idempotency_token'
25
+ require 'aws-sdk-core/plugins/invocation_id'
26
+ require 'aws-sdk-core/plugins/jsonvalue_converter'
27
+ require 'aws-sdk-core/plugins/client_metrics_plugin'
28
+ require 'aws-sdk-core/plugins/client_metrics_send_plugin'
29
+ require 'aws-sdk-core/plugins/transfer_encoding'
30
+ require 'aws-sdk-core/plugins/http_checksum'
31
+ require 'aws-sdk-core/plugins/checksum_algorithm'
32
+ require 'aws-sdk-core/plugins/request_compression'
33
+ require 'aws-sdk-core/plugins/defaults_mode'
34
+ require 'aws-sdk-core/plugins/recursion_detection'
35
+ require 'aws-sdk-core/plugins/telemetry'
36
+ require 'aws-sdk-core/plugins/sign'
37
+ require 'aws-sdk-core/plugins/protocols/json_rpc'
38
+ require 'aws-sdk-sqs/plugins/queue_urls'
39
+ require 'aws-sdk-sqs/plugins/md5s'
40
40
 
41
41
  module Aws::SQS
42
42
  # An API client for SQS. To construct a client, you need to configure a `:region` and `:credentials`.
@@ -99,8 +99,8 @@ 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
103
- # following classes:
102
+ # Your AWS credentials used for authentication. This can be any class that includes and implements
103
+ # `Aws::CredentialProvider`, or instance of any one of the following classes:
104
104
  #
105
105
  # * `Aws::Credentials` - Used for configuring static, non-refreshing
106
106
  # credentials.
@@ -128,22 +128,24 @@ module Aws::SQS
128
128
  # * `Aws::CognitoIdentityCredentials` - Used for loading credentials
129
129
  # from the Cognito Identity service.
130
130
  #
131
- # When `:credentials` are not configured directly, the following
132
- # locations will be searched for credentials:
131
+ # When `:credentials` are not configured directly, the following locations will be searched for credentials:
133
132
  #
134
133
  # * `Aws.config[:credentials]`
134
+ #
135
135
  # * The `:access_key_id`, `:secret_access_key`, `:session_token`, and
136
136
  # `:account_id` options.
137
- # * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY'],
138
- # ENV['AWS_SESSION_TOKEN'], and ENV['AWS_ACCOUNT_ID']
137
+ #
138
+ # * `ENV['AWS_ACCESS_KEY_ID']`, `ENV['AWS_SECRET_ACCESS_KEY']`,
139
+ # `ENV['AWS_SESSION_TOKEN']`, and `ENV['AWS_ACCOUNT_ID']`.
140
+ #
139
141
  # * `~/.aws/credentials`
142
+ #
140
143
  # * `~/.aws/config`
141
- # * EC2/ECS IMDS instance profile - When used by default, the timeouts
142
- # are very aggressive. Construct and pass an instance of
143
- # `Aws::InstanceProfileCredentials` or `Aws::ECSCredentials` to
144
- # enable retries and extended timeouts. Instance profile credential
145
- # fetching can be disabled by setting ENV['AWS_EC2_METADATA_DISABLED']
146
- # to true.
144
+ #
145
+ # * EC2/ECS IMDS instance profile - When used by default, the timeouts are very aggressive.
146
+ # Construct and pass an instance of `Aws::InstanceProfileCredentials` or `Aws::ECSCredentials` to
147
+ # enable retries and extended timeouts. Instance profile credential fetching can be disabled by
148
+ # setting `ENV['AWS_EC2_METADATA_DISABLED']` to `true`.
147
149
  #
148
150
  # @option options [required, String] :region
149
151
  # The AWS region to connect to. The configured `:region` is
@@ -171,6 +173,11 @@ module Aws::SQS
171
173
  # When false, the request will raise a `RetryCapacityNotAvailableError` and will
172
174
  # not retry instead of sleeping.
173
175
  #
176
+ # @option options [Array<String>] :auth_scheme_preference
177
+ # A list of preferred authentication schemes to use when making a request. Supported values are:
178
+ # `sigv4`, `sigv4a`, `httpBearerAuth`, and `noAuth`. When set using `ENV['AWS_AUTH_SCHEME_PREFERENCE']` or in
179
+ # shared config as `auth_scheme_preference`, the value should be a comma-separated list.
180
+ #
174
181
  # @option options [Boolean] :client_side_monitoring (false)
175
182
  # When `true`, client-side metrics will be collected for all API requests from
176
183
  # this client.
@@ -204,8 +211,7 @@ module Aws::SQS
204
211
  # accepted modes and the configuration defaults that are included.
205
212
  #
206
213
  # @option options [Boolean] :disable_host_prefix_injection (false)
207
- # Set to true to disable SDK automatically adding host prefix
208
- # to default service endpoint when available.
214
+ # When `true`, the SDK will not prepend the modeled host prefix to the endpoint.
209
215
  #
210
216
  # @option options [Boolean] :disable_request_compression (false)
211
217
  # When set to 'true' the request body will not be compressed
@@ -258,14 +264,37 @@ module Aws::SQS
258
264
  # 4 times. Used in `standard` and `adaptive` retry modes.
259
265
  #
260
266
  # @option options [String] :profile ("default")
261
- # Used when loading credentials from the shared credentials file
262
- # at HOME/.aws/credentials. When not specified, 'default' is used.
267
+ # Used when loading credentials from the shared credentials file at `HOME/.aws/credentials`.
268
+ # When not specified, 'default' is used.
269
+ #
270
+ # @option options [String] :request_checksum_calculation ("when_supported")
271
+ # Determines when a checksum will be calculated for request payloads. Values are:
272
+ #
273
+ # * `when_supported` - (default) When set, a checksum will be
274
+ # calculated for all request payloads of operations modeled with the
275
+ # `httpChecksum` trait where `requestChecksumRequired` is `true` and/or a
276
+ # `requestAlgorithmMember` is modeled.
277
+ # * `when_required` - When set, a checksum will only be calculated for
278
+ # request payloads of operations modeled with the `httpChecksum` trait where
279
+ # `requestChecksumRequired` is `true` or where a `requestAlgorithmMember`
280
+ # is modeled and supplied.
263
281
  #
264
282
  # @option options [Integer] :request_min_compression_size_bytes (10240)
265
283
  # The minimum size in bytes that triggers compression for request
266
284
  # bodies. The value must be non-negative integer value between 0
267
285
  # and 10485780 bytes inclusive.
268
286
  #
287
+ # @option options [String] :response_checksum_validation ("when_supported")
288
+ # Determines when checksum validation will be performed on response payloads. Values are:
289
+ #
290
+ # * `when_supported` - (default) When set, checksum validation is performed on all
291
+ # response payloads of operations modeled with the `httpChecksum` trait where
292
+ # `responseAlgorithms` is modeled, except when no modeled checksum algorithms
293
+ # are supported.
294
+ # * `when_required` - When set, checksum validation is not performed on
295
+ # response payloads of operations unless the checksum algorithm is supported and
296
+ # the `requestValidationModeMember` member is set to `ENABLED`.
297
+ #
269
298
  # @option options [Proc] :retry_backoff
270
299
  # A proc or lambda used for backoff. Defaults to 2**retries * retry_base_delay.
271
300
  # This option is only used in the `legacy` retry mode.
@@ -356,8 +385,8 @@ module Aws::SQS
356
385
  # `Aws::Telemetry::OTelProvider` for telemetry provider.
357
386
  #
358
387
  # @option options [Aws::TokenProvider] :token_provider
359
- # A Bearer Token Provider. This can be an instance of any one of the
360
- # following classes:
388
+ # Your Bearer token used for authentication. This can be any class that includes and implements
389
+ # `Aws::TokenProvider`, or instance of any one of the following classes:
361
390
  #
362
391
  # * `Aws::StaticTokenProvider` - Used for configuring static, non-refreshing
363
392
  # tokens.
@@ -775,7 +804,7 @@ module Aws::SQS
775
804
  # convert an existing standard queue into a FIFO queue. You must
776
805
  # either create a new FIFO queue for your application or delete your
777
806
  # existing standard queue and recreate it as a FIFO queue. For more
778
- # information, see [Moving From a Standard Queue to a FIFO Queue][1]
807
+ # information, see [Moving From a standard queue to a FIFO queue][1]
779
808
  # in the *Amazon SQS Developer Guide*.
780
809
  #
781
810
  # </note>
@@ -849,8 +878,8 @@ module Aws::SQS
849
878
  #
850
879
  # * `MaximumMessageSize` – The limit of how many bytes a message can
851
880
  # contain before Amazon SQS rejects it. Valid values: An integer from
852
- # 1,024 bytes (1 KiB) to 262,144 bytes (256 KiB). Default: 262,144
853
- # (256 KiB).
881
+ # 1,024 bytes (1 KiB) to 1,048,576 bytes (1 MiB). Default: 1,048,576
882
+ # bytes (1 MiB).
854
883
  #
855
884
  # * `MessageRetentionPeriod` – The length of time, in seconds, for which
856
885
  # Amazon SQS retains a message. Valid values: An integer from 60
@@ -1896,8 +1925,7 @@ module Aws::SQS
1896
1925
  # producer that calls the ` SendMessage ` action.
1897
1926
  #
1898
1927
  # * `MessageGroupId` – Returns the value provided by the producer that
1899
- # calls the ` SendMessage ` action. Messages with the same
1900
- # `MessageGroupId` are returned in sequence.
1928
+ # calls the ` SendMessage ` action.
1901
1929
  #
1902
1930
  # * `SequenceNumber` – Returns the value provided by Amazon SQS.
1903
1931
  #
@@ -1939,8 +1967,7 @@ module Aws::SQS
1939
1967
  # producer that calls the ` SendMessage ` action.
1940
1968
  #
1941
1969
  # * `MessageGroupId` – Returns the value provided by the producer that
1942
- # calls the ` SendMessage ` action. Messages with the same
1943
- # `MessageGroupId` are returned in sequence.
1970
+ # calls the ` SendMessage ` action.
1944
1971
  #
1945
1972
  # * `SequenceNumber` – Returns the value provided by Amazon SQS.
1946
1973
  #
@@ -2073,7 +2100,8 @@ module Aws::SQS
2073
2100
  # * While messages with a particular `MessageGroupId` are invisible, no
2074
2101
  # more messages belonging to the same `MessageGroupId` are returned
2075
2102
  # until the visibility timeout expires. You can still receive messages
2076
- # with another `MessageGroupId` as long as it is also visible.
2103
+ # with another `MessageGroupId` from your FIFO queue as long as they
2104
+ # are visible.
2077
2105
  #
2078
2106
  # * If a caller of `ReceiveMessage` can't track the
2079
2107
  # `ReceiveRequestAttemptId`, no retries work until the original
@@ -2194,11 +2222,10 @@ module Aws::SQS
2194
2222
  # `#x9` \| `#xA` \| `#xD` \| `#x20` to `#xD7FF` \| `#xE000` to `#xFFFD`
2195
2223
  # \| `#x10000` to `#x10FFFF`
2196
2224
  #
2197
- # Amazon SQS does not throw an exception or completely reject the
2198
- # message if it contains invalid characters. Instead, it replaces those
2199
- # invalid characters with `U+FFFD` before storing the message in the
2200
- # queue, as long as the message body contains at least one valid
2201
- # character.
2225
+ # If a message contains characters outside the allowed set, Amazon SQS
2226
+ # rejects the message and returns an InvalidMessageContents error.
2227
+ # Ensure that your message body includes only valid characters to avoid
2228
+ # this exception.
2202
2229
  #
2203
2230
  #
2204
2231
  #
@@ -2211,7 +2238,7 @@ module Aws::SQS
2211
2238
  #
2212
2239
  # @option params [required, String] :message_body
2213
2240
  # The message to send. The minimum size is one character. The maximum
2214
- # size is 256 KiB.
2241
+ # size is 1 MiB or 1,048,576 bytes
2215
2242
  #
2216
2243
  # A message can include only XML, JSON, and unformatted text. The
2217
2244
  # following Unicode characters are allowed. For more information, see
@@ -2220,11 +2247,10 @@ module Aws::SQS
2220
2247
  # `#x9` \| `#xA` \| `#xD` \| `#x20` to `#xD7FF` \| `#xE000` to `#xFFFD`
2221
2248
  # \| `#x10000` to `#x10FFFF`
2222
2249
  #
2223
- # Amazon SQS does not throw an exception or completely reject the
2224
- # message if it contains invalid characters. Instead, it replaces those
2225
- # invalid characters with `U+FFFD` before storing the message in the
2226
- # queue, as long as the message body contains at least one valid
2227
- # character.
2250
+ # If a message contains characters outside the allowed set, Amazon SQS
2251
+ # rejects the message and returns an InvalidMessageContents error.
2252
+ # Ensure that your message body includes only valid characters to avoid
2253
+ # this exception.
2228
2254
  #
2229
2255
  #
2230
2256
  #
@@ -2324,34 +2350,54 @@ module Aws::SQS
2324
2350
  # [2]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/using-messagededuplicationid-property.html
2325
2351
  #
2326
2352
  # @option params [String] :message_group_id
2327
- # This parameter applies only to FIFO (first-in-first-out) queues.
2328
- #
2329
- # The tag that specifies that a message belongs to a specific message
2330
- # group. Messages that belong to the same message group are processed in
2331
- # a FIFO manner (however, messages in different message groups might be
2332
- # processed out of order). To interleave multiple ordered streams within
2333
- # a single queue, use `MessageGroupId` values (for example, session data
2334
- # for multiple users). In this scenario, multiple consumers can process
2335
- # the queue, but the session data of each user is processed in a FIFO
2336
- # fashion.
2337
- #
2338
- # * You must associate a non-empty `MessageGroupId` with a message. If
2339
- # you don't provide a `MessageGroupId`, the action fails.
2340
- #
2341
- # * `ReceiveMessage` might return messages with multiple
2353
+ # `MessageGroupId` is an attribute used in Amazon SQS FIFO
2354
+ # (First-In-First-Out) and standard queues. In FIFO queues,
2355
+ # `MessageGroupId` organizes messages into distinct groups. Messages
2356
+ # within the same message group are always processed one at a time, in
2357
+ # strict order, ensuring that no two messages from the same group are
2358
+ # processed simultaneously. In standard queues, using `MessageGroupId`
2359
+ # enables fair queues. It is used to identify the tenant a message
2360
+ # belongs to, helping maintain consistent message dwell time across all
2361
+ # tenants during noisy neighbor events. Unlike FIFO queues, messages
2362
+ # with the same `MessageGroupId` can be processed in parallel,
2363
+ # maintaining the high throughput of standard queues.
2364
+ #
2365
+ # * **FIFO queues:** `MessageGroupId` acts as the tag that specifies
2366
+ # that a message belongs to a specific message group. Messages that
2367
+ # belong to the same message group are processed in a FIFO manner
2368
+ # (however, messages in different message groups might be processed
2369
+ # out of order). To interleave multiple ordered streams within a
2370
+ # single queue, use `MessageGroupId` values (for example, session data
2371
+ # for multiple users). In this scenario, multiple consumers can
2372
+ # process the queue, but the session data of each user is processed in
2373
+ # a FIFO fashion.
2374
+ #
2375
+ # If you do not provide a `MessageGroupId` when sending a message to a
2376
+ # FIFO queue, the action fails.
2377
+ #
2378
+ # `ReceiveMessage` might return messages with multiple
2342
2379
  # `MessageGroupId` values. For each `MessageGroupId`, the messages are
2343
- # sorted by time sent. The caller can't specify a `MessageGroupId`.
2344
- #
2345
- # The maximum length of `MessageGroupId` is 128 characters. Valid
2346
- # values: alphanumeric characters and punctuation ``
2380
+ # sorted by time sent.
2381
+ #
2382
+ # * **Standard queues:**Use `MessageGroupId` in standard queues to
2383
+ # enable fair queues. The `MessageGroupId` identifies the tenant a
2384
+ # message belongs to. A tenant can be any entity that shares a queue
2385
+ # with others, such as your customer, a client application, or a
2386
+ # request type. When one tenant sends a disproportionately large
2387
+ # volume of messages or has messages that require longer processing
2388
+ # time, fair queues ensure other tenants' messages maintain low dwell
2389
+ # time. This preserves quality of service for all tenants while
2390
+ # maintaining the scalability and throughput of standard queues. We
2391
+ # recommend that you include a `MessageGroupId` in all messages when
2392
+ # using fair queues.
2393
+ #
2394
+ # The length of `MessageGroupId` is 128 characters. Valid values:
2395
+ # alphanumeric characters and punctuation ``
2347
2396
  # (!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~) ``.
2348
2397
  #
2349
2398
  # For best practices of using `MessageGroupId`, see [Using the
2350
2399
  # MessageGroupId Property][1] in the *Amazon SQS Developer Guide*.
2351
2400
  #
2352
- # `MessageGroupId` is required for FIFO queues. You can't use it for
2353
- # Standard queues.
2354
- #
2355
2401
  #
2356
2402
  #
2357
2403
  # [1]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/using-messagegroupid-property.html
@@ -2422,7 +2468,7 @@ module Aws::SQS
2422
2468
  #
2423
2469
  # The maximum allowed individual message size and the maximum total
2424
2470
  # payload size (the sum of the individual lengths of all of the batched
2425
- # messages) are both 256 KiB (262,144 bytes).
2471
+ # messages) are both 1 MiB 1,048,576 bytes.
2426
2472
  #
2427
2473
  # A message can include only XML, JSON, and unformatted text. The
2428
2474
  # following Unicode characters are allowed. For more information, see
@@ -2431,11 +2477,10 @@ module Aws::SQS
2431
2477
  # `#x9` \| `#xA` \| `#xD` \| `#x20` to `#xD7FF` \| `#xE000` to `#xFFFD`
2432
2478
  # \| `#x10000` to `#x10FFFF`
2433
2479
  #
2434
- # Amazon SQS does not throw an exception or completely reject the
2435
- # message if it contains invalid characters. Instead, it replaces those
2436
- # invalid characters with `U+FFFD` before storing the message in the
2437
- # queue, as long as the message body contains at least one valid
2438
- # character.
2480
+ # If a message contains characters outside the allowed set, Amazon SQS
2481
+ # rejects the message and returns an InvalidMessageContents error.
2482
+ # Ensure that your message body includes only valid characters to avoid
2483
+ # this exception.
2439
2484
  #
2440
2485
  # If you don't specify the `DelaySeconds` parameter for an entry,
2441
2486
  # Amazon SQS uses the default value for the queue.
@@ -2558,8 +2603,8 @@ module Aws::SQS
2558
2603
  #
2559
2604
  # * `MaximumMessageSize` – The limit of how many bytes a message can
2560
2605
  # contain before Amazon SQS rejects it. Valid values: An integer from
2561
- # 1,024 bytes (1 KiB) up to 262,144 bytes (256 KiB). Default: 262,144
2562
- # (256 KiB).
2606
+ # 1,024 bytes (1 KiB) up to 1,048,576 bytes (1 MiB). Default:
2607
+ # 1,048,576 bytes (1 MiB).
2563
2608
  #
2564
2609
  # * `MessageRetentionPeriod` – The length of time, in seconds, for which
2565
2610
  # Amazon SQS retains a message. Valid values: An integer representing
@@ -2935,7 +2980,7 @@ module Aws::SQS
2935
2980
  tracer: tracer
2936
2981
  )
2937
2982
  context[:gem_name] = 'aws-sdk-sqs'
2938
- context[:gem_version] = '1.90.0'
2983
+ context[:gem_version] = '1.110.0'
2939
2984
  Seahorse::Client::Request.new(handlers, context)
2940
2985
  end
2941
2986
 
@@ -293,7 +293,7 @@ module Aws::SQS
293
293
  ListMessageMoveTasksRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: NullableInteger, location_name: "MaxResults"))
294
294
  ListMessageMoveTasksRequest.struct_class = Types::ListMessageMoveTasksRequest
295
295
 
296
- ListMessageMoveTasksResult.add_member(:results, Shapes::ShapeRef.new(shape: ListMessageMoveTasksResultEntryList, location_name: "Results", metadata: {"flattened"=>true}))
296
+ ListMessageMoveTasksResult.add_member(:results, Shapes::ShapeRef.new(shape: ListMessageMoveTasksResultEntryList, location_name: "Results", metadata: {"flattened" => true}))
297
297
  ListMessageMoveTasksResult.struct_class = Types::ListMessageMoveTasksResult
298
298
 
299
299
  ListMessageMoveTasksResultEntry.add_member(:task_handle, Shapes::ShapeRef.new(shape: String, location_name: "TaskHandle"))
@@ -359,8 +359,8 @@ module Aws::SQS
359
359
 
360
360
  MessageSystemAttributeValue.add_member(:string_value, Shapes::ShapeRef.new(shape: String, location_name: "StringValue"))
361
361
  MessageSystemAttributeValue.add_member(:binary_value, Shapes::ShapeRef.new(shape: Binary, location_name: "BinaryValue"))
362
- MessageSystemAttributeValue.add_member(:string_list_values, Shapes::ShapeRef.new(shape: StringList, location_name: "StringListValues", metadata: {"flattened"=>true}))
363
- MessageSystemAttributeValue.add_member(:binary_list_values, Shapes::ShapeRef.new(shape: BinaryList, location_name: "BinaryListValues", metadata: {"flattened"=>true}))
362
+ MessageSystemAttributeValue.add_member(:string_list_values, Shapes::ShapeRef.new(shape: StringList, location_name: "StringListValues", metadata: {"flattened" => true}))
363
+ MessageSystemAttributeValue.add_member(:binary_list_values, Shapes::ShapeRef.new(shape: BinaryList, location_name: "BinaryListValues", metadata: {"flattened" => true}))
364
364
  MessageSystemAttributeValue.add_member(:data_type, Shapes::ShapeRef.new(shape: String, required: true, location_name: "DataType"))
365
365
  MessageSystemAttributeValue.struct_class = Types::MessageSystemAttributeValue
366
366
 
@@ -391,7 +391,7 @@ module Aws::SQS
391
391
  ReceiptHandleIsInvalid.struct_class = Types::ReceiptHandleIsInvalid
392
392
 
393
393
  ReceiveMessageRequest.add_member(:queue_url, Shapes::ShapeRef.new(shape: String, required: true, location_name: "QueueUrl"))
394
- ReceiveMessageRequest.add_member(:attribute_names, Shapes::ShapeRef.new(shape: AttributeNameList, deprecated: true, location_name: "AttributeNames", metadata: {"deprecatedMessage"=>"AttributeNames has been replaced by MessageSystemAttributeNames"}))
394
+ ReceiveMessageRequest.add_member(:attribute_names, Shapes::ShapeRef.new(shape: AttributeNameList, deprecated: true, location_name: "AttributeNames", metadata: {"deprecatedMessage" => "AttributeNames has been replaced by MessageSystemAttributeNames"}))
395
395
  ReceiveMessageRequest.add_member(:message_system_attribute_names, Shapes::ShapeRef.new(shape: MessageSystemAttributeList, location_name: "MessageSystemAttributeNames"))
396
396
  ReceiveMessageRequest.add_member(:message_attribute_names, Shapes::ShapeRef.new(shape: MessageAttributeNameList, location_name: "MessageAttributeNames"))
397
397
  ReceiveMessageRequest.add_member(:max_number_of_messages, Shapes::ShapeRef.new(shape: NullableInteger, location_name: "MaxNumberOfMessages"))
@@ -1,6 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # utility classes
4
3
  module Aws
5
4
  module SQS
6
5
  autoload :QueuePoller, 'aws-sdk-sqs/queue_poller'
@@ -13,22 +13,22 @@ module Aws::SQS
13
13
  # @!attribute region
14
14
  # The AWS region used to dispatch the request.
15
15
  #
16
- # @return [String]
16
+ # @return [string]
17
17
  #
18
18
  # @!attribute use_dual_stack
19
19
  # When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.
20
20
  #
21
- # @return [Boolean]
21
+ # @return [boolean]
22
22
  #
23
23
  # @!attribute use_fips
24
24
  # When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.
25
25
  #
26
- # @return [Boolean]
26
+ # @return [boolean]
27
27
  #
28
28
  # @!attribute endpoint
29
29
  # Override the endpoint used to send this request
30
30
  #
31
- # @return [String]
31
+ # @return [string]
32
32
  #
33
33
  EndpointParameters = Struct.new(
34
34
  :region,
@@ -10,43 +10,39 @@
10
10
  module Aws::SQS
11
11
  class EndpointProvider
12
12
  def resolve_endpoint(parameters)
13
- region = parameters.region
14
- use_dual_stack = parameters.use_dual_stack
15
- use_fips = parameters.use_fips
16
- endpoint = parameters.endpoint
17
- if Aws::Endpoints::Matchers.set?(endpoint)
18
- if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
13
+ if Aws::Endpoints::Matchers.set?(parameters.endpoint)
14
+ if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true)
19
15
  raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
20
16
  end
21
- if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
17
+ if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
22
18
  raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
23
19
  end
24
- return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
20
+ return Aws::Endpoints::Endpoint.new(url: parameters.endpoint, headers: {}, properties: {})
25
21
  end
26
- if Aws::Endpoints::Matchers.set?(region)
27
- if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
28
- if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
22
+ if Aws::Endpoints::Matchers.set?(parameters.region)
23
+ if (partition_result = Aws::Endpoints::Matchers.aws_partition(parameters.region))
24
+ if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
29
25
  if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
30
- return Aws::Endpoints::Endpoint.new(url: "https://sqs-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
26
+ return Aws::Endpoints::Endpoint.new(url: "https://sqs-fips.#{parameters.region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
31
27
  end
32
28
  raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
33
29
  end
34
- if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
30
+ if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true)
35
31
  if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"), true)
36
32
  if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws-us-gov")
37
- return Aws::Endpoints::Endpoint.new(url: "https://sqs.#{region}.amazonaws.com", headers: {}, properties: {})
33
+ return Aws::Endpoints::Endpoint.new(url: "https://sqs.#{parameters.region}.amazonaws.com", headers: {}, properties: {})
38
34
  end
39
- return Aws::Endpoints::Endpoint.new(url: "https://sqs-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
35
+ return Aws::Endpoints::Endpoint.new(url: "https://sqs-fips.#{parameters.region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
40
36
  end
41
37
  raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
42
38
  end
43
- if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
39
+ if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
44
40
  if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
45
- return Aws::Endpoints::Endpoint.new(url: "https://sqs.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
41
+ return Aws::Endpoints::Endpoint.new(url: "https://sqs.#{parameters.region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
46
42
  end
47
43
  raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
48
44
  end
49
- return Aws::Endpoints::Endpoint.new(url: "https://sqs.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
45
+ return Aws::Endpoints::Endpoint.new(url: "https://sqs.#{parameters.region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
50
46
  end
51
47
  end
52
48
  raise ArgumentError, "Invalid Configuration: Missing Region"
@@ -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. Messages with the same
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. Messages with the same
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 it is also visible.
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
@@ -507,7 +506,7 @@ module Aws::SQS
507
506
  # @param [Hash] options ({})
508
507
  # @option options [required, String] :message_body
509
508
  # The message to send. The minimum size is one character. The maximum
510
- # size is 256 KiB.
509
+ # size is 1 MiB or 1,048,576 bytes
511
510
  #
512
511
  # A message can include only XML, JSON, and unformatted text. The
513
512
  # following Unicode characters are allowed. For more information, see
@@ -516,11 +515,10 @@ module Aws::SQS
516
515
  # `#x9` \| `#xA` \| `#xD` \| `#x20` to `#xD7FF` \| `#xE000` to `#xFFFD`
517
516
  # \| `#x10000` to `#x10FFFF`
518
517
  #
519
- # Amazon SQS does not throw an exception or completely reject the
520
- # message if it contains invalid characters. Instead, it replaces those
521
- # invalid characters with `U+FFFD` before storing the message in the
522
- # queue, as long as the message body contains at least one valid
523
- # character.
518
+ # If a message contains characters outside the allowed set, Amazon SQS
519
+ # rejects the message and returns an InvalidMessageContents error.
520
+ # Ensure that your message body includes only valid characters to avoid
521
+ # this exception.
524
522
  #
525
523
  #
526
524
  #
@@ -615,34 +613,54 @@ module Aws::SQS
615
613
  # [1]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues-exactly-once-processing.html
616
614
  # [2]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/using-messagededuplicationid-property.html
617
615
  # @option options [String] :message_group_id
618
- # This parameter applies only to FIFO (first-in-first-out) queues.
619
- #
620
- # The tag that specifies that a message belongs to a specific message
621
- # group. Messages that belong to the same message group are processed in
622
- # a FIFO manner (however, messages in different message groups might be
623
- # processed out of order). To interleave multiple ordered streams within
624
- # a single queue, use `MessageGroupId` values (for example, session data
625
- # for multiple users). In this scenario, multiple consumers can process
626
- # the queue, but the session data of each user is processed in a FIFO
627
- # fashion.
628
- #
629
- # * You must associate a non-empty `MessageGroupId` with a message. If
630
- # you don't provide a `MessageGroupId`, the action fails.
631
- #
632
- # * `ReceiveMessage` might return messages with multiple
616
+ # `MessageGroupId` is an attribute used in Amazon SQS FIFO
617
+ # (First-In-First-Out) and standard queues. In FIFO queues,
618
+ # `MessageGroupId` organizes messages into distinct groups. Messages
619
+ # within the same message group are always processed one at a time, in
620
+ # strict order, ensuring that no two messages from the same group are
621
+ # processed simultaneously. In standard queues, using `MessageGroupId`
622
+ # enables fair queues. It is used to identify the tenant a message
623
+ # belongs to, helping maintain consistent message dwell time across all
624
+ # tenants during noisy neighbor events. Unlike FIFO queues, messages
625
+ # with the same `MessageGroupId` can be processed in parallel,
626
+ # maintaining the high throughput of standard queues.
627
+ #
628
+ # * **FIFO queues:** `MessageGroupId` acts as the tag that specifies
629
+ # that a message belongs to a specific message group. Messages that
630
+ # belong to the same message group are processed in a FIFO manner
631
+ # (however, messages in different message groups might be processed
632
+ # out of order). To interleave multiple ordered streams within a
633
+ # single queue, use `MessageGroupId` values (for example, session data
634
+ # for multiple users). In this scenario, multiple consumers can
635
+ # process the queue, but the session data of each user is processed in
636
+ # a FIFO fashion.
637
+ #
638
+ # If you do not provide a `MessageGroupId` when sending a message to a
639
+ # FIFO queue, the action fails.
640
+ #
641
+ # `ReceiveMessage` might return messages with multiple
633
642
  # `MessageGroupId` values. For each `MessageGroupId`, the messages are
634
- # sorted by time sent. The caller can't specify a `MessageGroupId`.
635
- #
636
- # The maximum length of `MessageGroupId` is 128 characters. Valid
637
- # values: alphanumeric characters and punctuation ``
643
+ # sorted by time sent.
644
+ #
645
+ # * **Standard queues:**Use `MessageGroupId` in standard queues to
646
+ # enable fair queues. The `MessageGroupId` identifies the tenant a
647
+ # message belongs to. A tenant can be any entity that shares a queue
648
+ # with others, such as your customer, a client application, or a
649
+ # request type. When one tenant sends a disproportionately large
650
+ # volume of messages or has messages that require longer processing
651
+ # time, fair queues ensure other tenants' messages maintain low dwell
652
+ # time. This preserves quality of service for all tenants while
653
+ # maintaining the scalability and throughput of standard queues. We
654
+ # recommend that you include a `MessageGroupId` in all messages when
655
+ # using fair queues.
656
+ #
657
+ # The length of `MessageGroupId` is 128 characters. Valid values:
658
+ # alphanumeric characters and punctuation ``
638
659
  # (!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~) ``.
639
660
  #
640
661
  # For best practices of using `MessageGroupId`, see [Using the
641
662
  # MessageGroupId Property][1] in the *Amazon SQS Developer Guide*.
642
663
  #
643
- # `MessageGroupId` is required for FIFO queues. You can't use it for
644
- # Standard queues.
645
- #
646
664
  #
647
665
  #
648
666
  # [1]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/using-messagegroupid-property.html
@@ -718,8 +736,8 @@ module Aws::SQS
718
736
  #
719
737
  # * `MaximumMessageSize` – The limit of how many bytes a message can
720
738
  # contain before Amazon SQS rejects it. Valid values: An integer from
721
- # 1,024 bytes (1 KiB) up to 262,144 bytes (256 KiB). Default: 262,144
722
- # (256 KiB).
739
+ # 1,024 bytes (1 KiB) up to 1,048,576 bytes (1 MiB). Default:
740
+ # 1,048,576 bytes (1 MiB).
723
741
  #
724
742
  # * `MessageRetentionPeriod` – The length of time, in seconds, for which
725
743
  # Amazon SQS retains a message. Valid values: An integer representing
@@ -70,8 +70,8 @@ module Aws::SQS
70
70
  #
71
71
  # * `MaximumMessageSize` – The limit of how many bytes a message can
72
72
  # contain before Amazon SQS rejects it. Valid values: An integer from
73
- # 1,024 bytes (1 KiB) to 262,144 bytes (256 KiB). Default: 262,144
74
- # (256 KiB).
73
+ # 1,024 bytes (1 KiB) to 1,048,576 bytes (1 MiB). Default: 1,048,576
74
+ # bytes (1 MiB).
75
75
  #
76
76
  # * `MessageRetentionPeriod` – The length of time, in seconds, for which
77
77
  # Amazon SQS retains a message. Valid values: An integer from 60
@@ -291,8 +291,8 @@ module Aws::SQS
291
291
  #
292
292
  # * `MaximumMessageSize` – The limit of how many bytes a message can
293
293
  # contain before Amazon SQS rejects it. Valid values: An integer
294
- # from 1,024 bytes (1 KiB) to 262,144 bytes (256 KiB). Default:
295
- # 262,144 (256 KiB).
294
+ # from 1,024 bytes (1 KiB) to 1,048,576 bytes (1 MiB). Default:
295
+ # 1,048,576 bytes (1 MiB).
296
296
  #
297
297
  # * `MessageRetentionPeriod` – The length of time, in seconds, for
298
298
  # which Amazon SQS retains a message. Valid values: An integer from
@@ -1438,8 +1438,8 @@ module Aws::SQS
1438
1438
  #
1439
1439
  # `Name`, `type`, `value` and the message body must not be empty or
1440
1440
  # null. All parts of the message attribute, including `Name`, `Type`,
1441
- # and `Value`, are part of the message size restriction (256 KiB or
1442
- # 262,144 bytes).
1441
+ # and `Value`, are part of the message size restriction (1 MiB or
1442
+ # 1,048,576 bytes).
1443
1443
  #
1444
1444
  # @!attribute [rw] string_value
1445
1445
  # Strings are Unicode with UTF-8 binary encoding. For a list of code
@@ -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. Messages with the same
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. Messages with the same
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` as long as it is
1888
- # also visible.
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
- # This parameter applies only to FIFO (first-in-first-out) queues.
2137
- #
2138
- # The tag that specifies that a message belongs to a specific message
2139
- # group. Messages that belong to the same message group are processed
2140
- # in a FIFO manner (however, messages in different message groups
2141
- # might be processed out of order). To interleave multiple ordered
2142
- # streams within a single queue, use `MessageGroupId` values (for
2143
- # example, session data for multiple users). In this scenario,
2144
- # multiple consumers can process the queue, but the session data of
2145
- # each user is processed in a FIFO fashion.
2146
- #
2147
- # * You must associate a non-empty `MessageGroupId` with a message. If
2148
- # you don't provide a `MessageGroupId`, the action fails.
2149
- #
2150
- # * `ReceiveMessage` might return messages with multiple
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. The caller can't specify a
2153
- # `MessageGroupId`.
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
@@ -2280,7 +2297,7 @@ module Aws::SQS
2280
2297
  #
2281
2298
  # @!attribute [rw] message_body
2282
2299
  # The message to send. The minimum size is one character. The maximum
2283
- # size is 256 KiB.
2300
+ # size is 1 MiB or 1,048,576 bytes
2284
2301
  #
2285
2302
  # A message can include only XML, JSON, and unformatted text. The
2286
2303
  # following Unicode characters are allowed. For more information, see
@@ -2289,11 +2306,11 @@ module Aws::SQS
2289
2306
  # `#x9` \| `#xA` \| `#xD` \| `#x20` to `#xD7FF` \| `#xE000` to
2290
2307
  # `#xFFFD` \| `#x10000` to `#x10FFFF`
2291
2308
  #
2292
- # Amazon SQS does not throw an exception or completely reject the
2293
- # message if it contains invalid characters. Instead, it replaces
2294
- # those invalid characters with `U+FFFD` before storing the message in
2295
- # the queue, as long as the message body contains at least one valid
2296
- # character.
2309
+ # If a message contains characters outside the allowed set, Amazon
2310
+ # SQS
2311
+ # rejects the message and returns an InvalidMessageContents error.
2312
+ # Ensure that your message body includes only valid characters to
2313
+ # avoid this exception.
2297
2314
  #
2298
2315
  #
2299
2316
  #
@@ -2401,35 +2418,54 @@ module Aws::SQS
2401
2418
  # @return [String]
2402
2419
  #
2403
2420
  # @!attribute [rw] message_group_id
2404
- # This parameter applies only to FIFO (first-in-first-out) queues.
2405
- #
2406
- # The tag that specifies that a message belongs to a specific message
2407
- # group. Messages that belong to the same message group are processed
2408
- # in a FIFO manner (however, messages in different message groups
2409
- # might be processed out of order). To interleave multiple ordered
2410
- # streams within a single queue, use `MessageGroupId` values (for
2411
- # example, session data for multiple users). In this scenario,
2412
- # multiple consumers can process the queue, but the session data of
2413
- # each user is processed in a FIFO fashion.
2414
- #
2415
- # * You must associate a non-empty `MessageGroupId` with a message. If
2416
- # you don't provide a `MessageGroupId`, the action fails.
2417
- #
2418
- # * `ReceiveMessage` might return messages with multiple
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. The caller can't specify a
2421
- # `MessageGroupId`.
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 maximum length of `MessageGroupId` is 128 characters. Valid
2424
- # values: alphanumeric characters and punctuation ``
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
@@ -2532,8 +2568,8 @@ module Aws::SQS
2532
2568
  #
2533
2569
  # * `MaximumMessageSize` – The limit of how many bytes a message can
2534
2570
  # contain before Amazon SQS rejects it. Valid values: An integer
2535
- # from 1,024 bytes (1 KiB) up to 262,144 bytes (256 KiB). Default:
2536
- # 262,144 (256 KiB).
2571
+ # from 1,024 bytes (1 KiB) up to 1,048,576 bytes (1 MiB). Default:
2572
+ # 1,048,576 bytes (1 MiB).
2537
2573
  #
2538
2574
  # * `MessageRetentionPeriod` – The length of time, in seconds, for
2539
2575
  # which Amazon SQS retains a message. Valid values: An integer
data/lib/aws-sdk-sqs.rb CHANGED
@@ -56,7 +56,7 @@ module Aws::SQS
56
56
  autoload :Message, 'aws-sdk-sqs/message'
57
57
  autoload :Queue, 'aws-sdk-sqs/queue'
58
58
 
59
- GEM_VERSION = '1.90.0'
59
+ GEM_VERSION = '1.110.0'
60
60
 
61
61
  end
62
62
 
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,
@@ -39,7 +40,9 @@ module Aws
39
40
  ?logger: untyped,
40
41
  ?max_attempts: Integer,
41
42
  ?profile: String,
43
+ ?request_checksum_calculation: String,
42
44
  ?request_min_compression_size_bytes: Integer,
45
+ ?response_checksum_validation: String,
43
46
  ?retry_backoff: Proc,
44
47
  ?retry_base_delay: Float,
45
48
  ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
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,
@@ -39,7 +40,9 @@ module Aws
39
40
  ?logger: untyped,
40
41
  ?max_attempts: Integer,
41
42
  ?profile: String,
43
+ ?request_checksum_calculation: String,
42
44
  ?request_min_compression_size_bytes: Integer,
45
+ ?response_checksum_validation: String,
43
46
  ?retry_backoff: Proc,
44
47
  ?retry_base_delay: Float,
45
48
  ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-sqs
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.90.0
4
+ version: 1.110.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2025-01-02 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: aws-sdk-core
@@ -19,7 +18,7 @@ dependencies:
19
18
  version: '3'
20
19
  - - ">="
21
20
  - !ruby/object:Gem::Version
22
- version: 3.210.0
21
+ version: 3.241.4
23
22
  type: :runtime
24
23
  prerelease: false
25
24
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +28,7 @@ dependencies:
29
28
  version: '3'
30
29
  - - ">="
31
30
  - !ruby/object:Gem::Version
32
- version: 3.210.0
31
+ version: 3.241.4
33
32
  - !ruby/object:Gem::Dependency
34
33
  name: aws-sigv4
35
34
  requirement: !ruby/object:Gem::Requirement
@@ -84,7 +83,6 @@ licenses:
84
83
  metadata:
85
84
  source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-sqs
86
85
  changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-sqs/CHANGELOG.md
87
- post_install_message:
88
86
  rdoc_options: []
89
87
  require_paths:
90
88
  - lib
@@ -92,15 +90,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
92
90
  requirements:
93
91
  - - ">="
94
92
  - !ruby/object:Gem::Version
95
- version: '2.5'
93
+ version: '2.7'
96
94
  required_rubygems_version: !ruby/object:Gem::Requirement
97
95
  requirements:
98
96
  - - ">="
99
97
  - !ruby/object:Gem::Version
100
98
  version: '0'
101
99
  requirements: []
102
- rubygems_version: 3.4.10
103
- signing_key:
100
+ rubygems_version: 3.6.7
104
101
  specification_version: 4
105
102
  summary: AWS SDK for Ruby - Amazon SQS
106
103
  test_files: []