aws-sdk-sqs 1.70.0 → 1.93.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.
@@ -334,7 +334,6 @@ module Aws::SQS
334
334
  # Default: 10. When the `ReceiveCount` for a message exceeds the
335
335
  # `maxReceiveCount` for a queue, Amazon SQS moves the message to
336
336
  # the dead-letter-queue.
337
- #
338
337
  # * `RedriveAllowPolicy` – The string that includes the parameters for
339
338
  # the permissions for the dead-letter queue redrive permission and
340
339
  # which source queues can specify dead-letter queues as a JSON
@@ -353,7 +352,6 @@ module Aws::SQS
353
352
  #
354
353
  # * `byQueue` – Only queues specified by the `sourceQueueArns`
355
354
  # parameter can specify this queue as the dead-letter queue.
356
- #
357
355
  # * `sourceQueueArns` – The Amazon Resource Names (ARN)s of the
358
356
  # source queues that can specify this queue as the dead-letter
359
357
  # queue and redrive messages. You can specify this parameter only
@@ -426,7 +424,6 @@ module Aws::SQS
426
424
  #
427
425
  # * If the queue has `ContentBasedDeduplication` set, your
428
426
  # `MessageDeduplicationId` overrides the generated one.
429
- #
430
427
  # * When `ContentBasedDeduplication` is in effect, messages with
431
428
  # identical content sent within the deduplication interval are
432
429
  # treated as duplicates and only one copy of the message is
@@ -766,7 +763,6 @@ module Aws::SQS
766
763
  # Default: 10. When the `ReceiveCount` for a message exceeds the
767
764
  # `maxReceiveCount` for a queue, Amazon SQS moves the message to
768
765
  # the dead-letter-queue.
769
- #
770
766
  # * `RedriveAllowPolicy` – The string that includes the parameters for
771
767
  # the permissions for the dead-letter queue redrive permission and
772
768
  # which source queues can specify dead-letter queues as a JSON
@@ -785,7 +781,6 @@ module Aws::SQS
785
781
  #
786
782
  # * `byQueue` – Only queues specified by the `sourceQueueArns`
787
783
  # parameter can specify this queue as the dead-letter queue.
788
- #
789
784
  # * `sourceQueueArns` – The Amazon Resource Names (ARN)s of the
790
785
  # source queues that can specify this queue as the dead-letter
791
786
  # queue and redrive messages. You can specify this parameter only
@@ -898,17 +893,20 @@ module Aws::SQS
898
893
  include Aws::Structure
899
894
  end
900
895
 
901
- # @!attribute [rw] queue_name
902
- # The name of the queue whose URL must be fetched. Maximum 80
903
- # characters. Valid values: alphanumeric characters, hyphens (`-`),
904
- # and underscores (`_`).
896
+ # Retrieves the URL of an existing queue based on its name and,
897
+ # optionally, the Amazon Web Services account ID.
905
898
  #
906
- # Queue URLs and names are case-sensitive.
899
+ # @!attribute [rw] queue_name
900
+ # (Required) The name of the queue for which you want to fetch the
901
+ # URL. The name can be up to 80 characters long and can include
902
+ # alphanumeric characters, hyphens (-), and underscores (\_). Queue
903
+ # URLs and names are case-sensitive.
907
904
  # @return [String]
908
905
  #
909
906
  # @!attribute [rw] queue_owner_aws_account_id
910
- # The Amazon Web Services account ID of the account that created the
911
- # queue.
907
+ # (Optional) The Amazon Web Services account ID of the account that
908
+ # created the queue. This is only required when you are attempting to
909
+ # access a queue owned by another Amazon Web Services account.
912
910
  # @return [String]
913
911
  #
914
912
  # @see http://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/GetQueueUrlRequest AWS API Documentation
@@ -939,7 +937,7 @@ module Aws::SQS
939
937
  include Aws::Structure
940
938
  end
941
939
 
942
- # The `accountId` is invalid.
940
+ # The specified ID is invalid.
943
941
  #
944
942
  # @!attribute [rw] message
945
943
  # @return [String]
@@ -1011,7 +1009,7 @@ module Aws::SQS
1011
1009
  include Aws::Structure
1012
1010
  end
1013
1011
 
1014
- # When the request to a queue is not HTTPS and SigV4.
1012
+ # The request was not made over HTTPS or did not use SigV4 for signing.
1015
1013
  #
1016
1014
  # @!attribute [rw] message
1017
1015
  # @return [String]
@@ -1245,8 +1243,9 @@ module Aws::SQS
1245
1243
  #
1246
1244
  # @!attribute [rw] approximate_number_of_messages_to_move
1247
1245
  # The number of messages to be moved from the source queue. This
1248
- # number is obtained at the time of starting the message movement
1249
- # task.
1246
+ # number is obtained at the time of starting the message movement task
1247
+ # and is only included after the message movement task is selected to
1248
+ # start.
1250
1249
  # @return [Integer]
1251
1250
  #
1252
1251
  # @!attribute [rw] failure_reason
@@ -1609,7 +1608,8 @@ module Aws::SQS
1609
1608
  include Aws::Structure
1610
1609
  end
1611
1610
 
1612
- # The specified queue doesn't exist.
1611
+ # Ensure that the `QueueUrl` is correct and that the queue has not been
1612
+ # deleted.
1613
1613
  #
1614
1614
  # @!attribute [rw] message
1615
1615
  # @return [String]
@@ -1650,6 +1650,8 @@ module Aws::SQS
1650
1650
  include Aws::Structure
1651
1651
  end
1652
1652
 
1653
+ # Retrieves one or more messages from a specified queue.
1654
+ #
1653
1655
  # @!attribute [rw] queue_url
1654
1656
  # The URL of the Amazon SQS queue from which messages are received.
1655
1657
  #
@@ -1657,6 +1659,10 @@ module Aws::SQS
1657
1659
  # @return [String]
1658
1660
  #
1659
1661
  # @!attribute [rw] attribute_names
1662
+ # This parameter has been discontinued but will be supported for
1663
+ # backward compatibility. To provide attribute names, you are
1664
+ # encouraged to use `MessageSystemAttributeNames`.
1665
+ #
1660
1666
  # A list of attributes that need to be returned along with each
1661
1667
  # message. These attributes include:
1662
1668
  #
@@ -1678,7 +1684,52 @@ module Aws::SQS
1678
1684
  #
1679
1685
  # * For an IAM role, returns the IAM role ID, for example
1680
1686
  # `ABCDE1F2GH3I4JK5LMNOP:i-a123b456`.
1687
+ # * `SentTimestamp` – Returns the time the message was sent to the
1688
+ # queue ([epoch time][1] in milliseconds).
1689
+ #
1690
+ # * `SqsManagedSseEnabled` – Enables server-side queue encryption
1691
+ # using SQS owned encryption keys. Only one server-side encryption
1692
+ # option is supported per queue (for example, [SSE-KMS][2] or
1693
+ # [SSE-SQS][3]).
1694
+ #
1695
+ # * `MessageDeduplicationId` – Returns the value provided by the
1696
+ # producer that calls the ` SendMessage ` action.
1697
+ #
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.
1701
+ #
1702
+ # * `SequenceNumber` – Returns the value provided by Amazon SQS.
1703
+ #
1704
+ #
1681
1705
  #
1706
+ # [1]: http://en.wikipedia.org/wiki/Unix_time
1707
+ # [2]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-configure-sse-existing-queue.html
1708
+ # [3]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-configure-sqs-sse-queue.html
1709
+ # @return [Array<String>]
1710
+ #
1711
+ # @!attribute [rw] message_system_attribute_names
1712
+ # A list of attributes that need to be returned along with each
1713
+ # message. These attributes include:
1714
+ #
1715
+ # * `All` – Returns all values.
1716
+ #
1717
+ # * `ApproximateFirstReceiveTimestamp` – Returns the time the message
1718
+ # was first received from the queue ([epoch time][1] in
1719
+ # milliseconds).
1720
+ #
1721
+ # * `ApproximateReceiveCount` – Returns the number of times a message
1722
+ # has been received across all queues but not deleted.
1723
+ #
1724
+ # * `AWSTraceHeader` – Returns the X-Ray trace header string.
1725
+ #
1726
+ # * `SenderId`
1727
+ #
1728
+ # * For a user, returns the user ID, for example
1729
+ # `ABCDEFGHI1JKLMNOPQ23R`.
1730
+ #
1731
+ # * For an IAM role, returns the IAM role ID, for example
1732
+ # `ABCDE1F2GH3I4JK5LMNOP:i-a123b456`.
1682
1733
  # * `SentTimestamp` – Returns the time the message was sent to the
1683
1734
  # queue ([epoch time][1] in milliseconds).
1684
1735
  #
@@ -1735,15 +1786,49 @@ module Aws::SQS
1735
1786
  # @!attribute [rw] visibility_timeout
1736
1787
  # The duration (in seconds) that the received messages are hidden from
1737
1788
  # subsequent retrieve requests after being retrieved by a
1738
- # `ReceiveMessage` request.
1789
+ # `ReceiveMessage` request. If not specified, the default visibility
1790
+ # timeout for the queue is used, which is 30 seconds.
1791
+ #
1792
+ # Understanding `VisibilityTimeout`:
1793
+ #
1794
+ # * When a message is received from a queue, it becomes temporarily
1795
+ # invisible to other consumers for the duration of the visibility
1796
+ # timeout. This prevents multiple consumers from processing the same
1797
+ # message simultaneously. If the message is not deleted or its
1798
+ # visibility timeout is not extended before the timeout expires, it
1799
+ # becomes visible again and can be retrieved by other consumers.
1800
+ #
1801
+ # * Setting an appropriate visibility timeout is crucial. If it's too
1802
+ # short, the message might become visible again before processing is
1803
+ # complete, leading to duplicate processing. If it's too long, it
1804
+ # delays the reprocessing of messages if the initial processing
1805
+ # fails.
1806
+ #
1807
+ # * You can adjust the visibility timeout using the
1808
+ # `--visibility-timeout` parameter in the `receive-message` command
1809
+ # to match the processing time required by your application.
1810
+ #
1811
+ # * A message that isn't deleted or a message whose visibility isn't
1812
+ # extended before the visibility timeout expires counts as a failed
1813
+ # receive. Depending on the configuration of the queue, the message
1814
+ # might be sent to the dead-letter queue.
1815
+ #
1816
+ # For more information, see [Visibility Timeout][1] in the *Amazon SQS
1817
+ # Developer Guide*.
1818
+ #
1819
+ #
1820
+ #
1821
+ # [1]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-visibility-timeout.html
1739
1822
  # @return [Integer]
1740
1823
  #
1741
1824
  # @!attribute [rw] wait_time_seconds
1742
1825
  # The duration (in seconds) for which the call waits for a message to
1743
1826
  # arrive in the queue before returning. If a message is available, the
1744
1827
  # call returns sooner than `WaitTimeSeconds`. If no messages are
1745
- # available and the wait time expires, the call returns successfully
1746
- # with an empty list of messages.
1828
+ # available and the wait time expires, the call does not return a
1829
+ # message list. If you are using the Java SDK, it returns a
1830
+ # `ReceiveMessageResponse` object, which has a empty list instead of a
1831
+ # Null object.
1747
1832
  #
1748
1833
  # To avoid HTTP errors, ensure that the HTTP response timeout for
1749
1834
  # `ReceiveMessage` requests is longer than the `WaitTimeSeconds`
@@ -1774,10 +1859,6 @@ module Aws::SQS
1774
1859
  # * When you set `FifoQueue`, a caller of the `ReceiveMessage` action
1775
1860
  # can provide a `ReceiveRequestAttemptId` explicitly.
1776
1861
  #
1777
- # * If a caller of the `ReceiveMessage` action doesn't provide a
1778
- # `ReceiveRequestAttemptId`, Amazon SQS generates a
1779
- # `ReceiveRequestAttemptId`.
1780
- #
1781
1862
  # * It is possible to retry the `ReceiveMessage` action with the same
1782
1863
  # `ReceiveRequestAttemptId` if none of the messages have been
1783
1864
  # modified (deleted or had their visibility changes).
@@ -1814,7 +1895,7 @@ module Aws::SQS
1814
1895
  # The maximum length of `ReceiveRequestAttemptId` is 128 characters.
1815
1896
  # `ReceiveRequestAttemptId` can contain alphanumeric characters
1816
1897
  # (`a-z`, `A-Z`, `0-9`) and punctuation (``
1817
- # !"#$%&'()*+,-./:;<=>?@[\]^_`\{|\}~ ``).
1898
+ # !"#$%&'()*+,-./:;<=>?@[\]^_`{|}~ ``).
1818
1899
  #
1819
1900
  # For best practices of using `ReceiveRequestAttemptId`, see [Using
1820
1901
  # the ReceiveRequestAttemptId Request Parameter][2] in the *Amazon SQS
@@ -1831,6 +1912,7 @@ module Aws::SQS
1831
1912
  class ReceiveMessageRequest < Struct.new(
1832
1913
  :queue_url,
1833
1914
  :attribute_names,
1915
+ :message_system_attribute_names,
1834
1916
  :message_attribute_names,
1835
1917
  :max_number_of_messages,
1836
1918
  :visibility_timeout,
@@ -1876,18 +1958,16 @@ module Aws::SQS
1876
1958
 
1877
1959
  # The request was denied due to request throttling.
1878
1960
  #
1879
- # * The rate of requests per second exceeds the Amazon Web Services KMS
1880
- # request quota for an account and Region.
1961
+ # * Exceeds the permitted request rate for the queue or for the
1962
+ # recipient of the request.
1881
1963
  #
1882
- # * A burst or sustained high rate of requests to change the state of
1883
- # the same KMS key. This condition is often known as a "hot key."
1964
+ # * Ensure that the request rate is within the Amazon SQS limits for
1965
+ # sending messages. For more information, see [Amazon SQS quotas][1]
1966
+ # in the *Amazon SQS Developer Guide*.
1884
1967
  #
1885
- # * Requests for operations on KMS keys in a Amazon Web Services
1886
- # CloudHSM key store might be throttled at a lower-than-expected rate
1887
- # when the Amazon Web Services CloudHSM cluster associated with the
1888
- # Amazon Web Services CloudHSM key store is processing numerous
1889
- # commands, including those unrelated to the Amazon Web Services
1890
- # CloudHSM key store.
1968
+ #
1969
+ #
1970
+ # [1]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-quotas.html#quotas-requests
1891
1971
  #
1892
1972
  # @!attribute [rw] message
1893
1973
  # @return [String]
@@ -2013,7 +2093,6 @@ module Aws::SQS
2013
2093
  #
2014
2094
  # * If the queue has `ContentBasedDeduplication` set, your
2015
2095
  # `MessageDeduplicationId` overrides the generated one.
2016
- #
2017
2096
  # * When `ContentBasedDeduplication` is in effect, messages with
2018
2097
  # identical content sent within the deduplication interval are
2019
2098
  # treated as duplicates and only one copy of the message is
@@ -2040,7 +2119,7 @@ module Aws::SQS
2040
2119
  #
2041
2120
  # The length of `MessageDeduplicationId` is 128 characters.
2042
2121
  # `MessageDeduplicationId` can contain alphanumeric characters (`a-z`,
2043
- # `A-Z`, `0-9`) and punctuation (`` !"#$%&'()*+,-./:;<=>?@[\]^_`\{|\}~
2122
+ # `A-Z`, `0-9`) and punctuation (`` !"#$%&'()*+,-./:;<=>?@[\]^_`{|}~
2044
2123
  # ``).
2045
2124
  #
2046
2125
  # For best practices of using `MessageDeduplicationId`, see [Using the
@@ -2075,7 +2154,7 @@ module Aws::SQS
2075
2154
  #
2076
2155
  # The length of `MessageGroupId` is 128 characters. Valid values:
2077
2156
  # alphanumeric characters and punctuation ``
2078
- # (!"#$%&'()*+,-./:;<=>?@[\]^_`\{|\}~) ``.
2157
+ # (!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~) ``.
2079
2158
  #
2080
2159
  # For best practices of using `MessageGroupId`, see [Using the
2081
2160
  # MessageGroupId Property][1] in the *Amazon SQS Developer Guide*.
@@ -2204,13 +2283,17 @@ module Aws::SQS
2204
2283
  # size is 256 KiB.
2205
2284
  #
2206
2285
  # A message can include only XML, JSON, and unformatted text. The
2207
- # following Unicode characters are allowed:
2286
+ # following Unicode characters are allowed. For more information, see
2287
+ # the [W3C specification for characters][1].
2208
2288
  #
2209
2289
  # `#x9` \| `#xA` \| `#xD` \| `#x20` to `#xD7FF` \| `#xE000` to
2210
2290
  # `#xFFFD` \| `#x10000` to `#x10FFFF`
2211
2291
  #
2212
- # Any characters not included in this list will be rejected. For more
2213
- # information, see the [W3C specification for characters][1].
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.
2214
2297
  #
2215
2298
  #
2216
2299
  #
@@ -2278,7 +2361,6 @@ module Aws::SQS
2278
2361
  #
2279
2362
  # * If the queue has `ContentBasedDeduplication` set, your
2280
2363
  # `MessageDeduplicationId` overrides the generated one.
2281
- #
2282
2364
  # * When `ContentBasedDeduplication` is in effect, messages with
2283
2365
  # identical content sent within the deduplication interval are
2284
2366
  # treated as duplicates and only one copy of the message is
@@ -2305,7 +2387,7 @@ module Aws::SQS
2305
2387
  #
2306
2388
  # The maximum length of `MessageDeduplicationId` is 128 characters.
2307
2389
  # `MessageDeduplicationId` can contain alphanumeric characters (`a-z`,
2308
- # `A-Z`, `0-9`) and punctuation (`` !"#$%&'()*+,-./:;<=>?@[\]^_`\{|\}~
2390
+ # `A-Z`, `0-9`) and punctuation (`` !"#$%&'()*+,-./:;<=>?@[\]^_`{|}~
2309
2391
  # ``).
2310
2392
  #
2311
2393
  # For best practices of using `MessageDeduplicationId`, see [Using the
@@ -2338,9 +2420,9 @@ module Aws::SQS
2338
2420
  # are sorted by time sent. The caller can't specify a
2339
2421
  # `MessageGroupId`.
2340
2422
  #
2341
- # The length of `MessageGroupId` is 128 characters. Valid values:
2342
- # alphanumeric characters and punctuation ``
2343
- # (!"#$%&'()*+,-./:;<=>?@[\]^_`\{|\}~) ``.
2423
+ # The maximum length of `MessageGroupId` is 128 characters. Valid
2424
+ # values: alphanumeric characters and punctuation ``
2425
+ # (!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~) ``.
2344
2426
  #
2345
2427
  # For best practices of using `MessageGroupId`, see [Using the
2346
2428
  # MessageGroupId Property][1] in the *Amazon SQS Developer Guide*.
@@ -2494,7 +2576,6 @@ module Aws::SQS
2494
2576
  # Default: 10. When the `ReceiveCount` for a message exceeds the
2495
2577
  # `maxReceiveCount` for a queue, Amazon SQS moves the message to
2496
2578
  # the dead-letter-queue.
2497
- #
2498
2579
  # * `RedriveAllowPolicy` – The string that includes the parameters for
2499
2580
  # the permissions for the dead-letter queue redrive permission and
2500
2581
  # which source queues can specify dead-letter queues as a JSON
@@ -2513,7 +2594,6 @@ module Aws::SQS
2513
2594
  #
2514
2595
  # * `byQueue` – Only queues specified by the `sourceQueueArns`
2515
2596
  # parameter can specify this queue as the dead-letter queue.
2516
- #
2517
2597
  # * `sourceQueueArns` – The Amazon Resource Names (ARN)s of the
2518
2598
  # source queues that can specify this queue as the dead-letter
2519
2599
  # queue and redrive messages. You can specify this parameter only
@@ -2575,7 +2655,6 @@ module Aws::SQS
2575
2655
  #
2576
2656
  # * If the queue has `ContentBasedDeduplication` set, your
2577
2657
  # `MessageDeduplicationId` overrides the generated one.
2578
- #
2579
2658
  # * When `ContentBasedDeduplication` is in effect, messages with
2580
2659
  # identical content sent within the deduplication interval are
2581
2660
  # treated as duplicates and only one copy of the message is
@@ -2705,7 +2784,16 @@ module Aws::SQS
2705
2784
  include Aws::Structure
2706
2785
  end
2707
2786
 
2708
- # The batch request contains more entries than permissible.
2787
+ # The batch request contains more entries than permissible. For Amazon
2788
+ # SQS, the maximum number of entries you can include in a single
2789
+ # [SendMessageBatch][1], [DeleteMessageBatch][2], or
2790
+ # [ChangeMessageVisibilityBatch][3] request is 10.
2791
+ #
2792
+ #
2793
+ #
2794
+ # [1]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/APIReference/API_SendMessageBatch.html
2795
+ # [2]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/APIReference/API_DeleteMessageBatch.html
2796
+ # [3]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/APIReference/API_ChangeMessageVisibilityBatch.html
2709
2797
  #
2710
2798
  # @!attribute [rw] message
2711
2799
  # @return [String]
@@ -2750,3 +2838,4 @@ module Aws::SQS
2750
2838
 
2751
2839
  end
2752
2840
  end
2841
+
data/lib/aws-sdk-sqs.rb CHANGED
@@ -11,18 +11,7 @@
11
11
  require 'aws-sdk-core'
12
12
  require 'aws-sigv4'
13
13
 
14
- require_relative 'aws-sdk-sqs/types'
15
- require_relative 'aws-sdk-sqs/client_api'
16
- require_relative 'aws-sdk-sqs/plugins/endpoints.rb'
17
- require_relative 'aws-sdk-sqs/client'
18
- require_relative 'aws-sdk-sqs/errors'
19
- require_relative 'aws-sdk-sqs/resource'
20
- require_relative 'aws-sdk-sqs/endpoint_parameters'
21
- require_relative 'aws-sdk-sqs/endpoint_provider'
22
- require_relative 'aws-sdk-sqs/endpoints'
23
- require_relative 'aws-sdk-sqs/message'
24
- require_relative 'aws-sdk-sqs/queue'
25
- require_relative 'aws-sdk-sqs/customizations'
14
+ Aws::Plugins::GlobalConfiguration.add_identifier(:sqs)
26
15
 
27
16
  # This module provides support for Amazon Simple Queue Service. This module is available in the
28
17
  # `aws-sdk-sqs` gem.
@@ -53,7 +42,22 @@ require_relative 'aws-sdk-sqs/customizations'
53
42
  #
54
43
  # @!group service
55
44
  module Aws::SQS
45
+ autoload :Types, 'aws-sdk-sqs/types'
46
+ autoload :ClientApi, 'aws-sdk-sqs/client_api'
47
+ module Plugins
48
+ autoload :Endpoints, 'aws-sdk-sqs/plugins/endpoints.rb'
49
+ end
50
+ autoload :Client, 'aws-sdk-sqs/client'
51
+ autoload :Errors, 'aws-sdk-sqs/errors'
52
+ autoload :Resource, 'aws-sdk-sqs/resource'
53
+ autoload :EndpointParameters, 'aws-sdk-sqs/endpoint_parameters'
54
+ autoload :EndpointProvider, 'aws-sdk-sqs/endpoint_provider'
55
+ autoload :Endpoints, 'aws-sdk-sqs/endpoints'
56
+ autoload :Message, 'aws-sdk-sqs/message'
57
+ autoload :Queue, 'aws-sdk-sqs/queue'
56
58
 
57
- GEM_VERSION = '1.70.0'
59
+ GEM_VERSION = '1.93.0'
58
60
 
59
61
  end
62
+
63
+ require_relative 'aws-sdk-sqs/customizations'
data/sig/client.rbs CHANGED
@@ -15,6 +15,7 @@ module Aws
15
15
  ?credentials: untyped,
16
16
  ?region: String,
17
17
  ?access_key_id: String,
18
+ ?account_id: String,
18
19
  ?active_endpoint_cache: bool,
19
20
  ?adaptive_retry_wait_to_fill: bool,
20
21
  ?client_side_monitoring: bool,
@@ -38,7 +39,9 @@ module Aws
38
39
  ?logger: untyped,
39
40
  ?max_attempts: Integer,
40
41
  ?profile: String,
42
+ ?request_checksum_calculation: String,
41
43
  ?request_min_compression_size_bytes: Integer,
44
+ ?response_checksum_validation: String,
42
45
  ?retry_backoff: Proc,
43
46
  ?retry_base_delay: Float,
44
47
  ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
@@ -48,8 +51,10 @@ module Aws
48
51
  ?sdk_ua_app_id: String,
49
52
  ?secret_access_key: String,
50
53
  ?session_token: String,
54
+ ?sigv4a_signing_region_set: Array[String],
51
55
  ?simple_json: bool,
52
56
  ?stub_responses: untyped,
57
+ ?telemetry_provider: Aws::Telemetry::TelemetryProviderBase,
53
58
  ?token_provider: untyped,
54
59
  ?use_dualstack_endpoint: bool,
55
60
  ?use_fips_endpoint: bool,
@@ -244,6 +249,7 @@ module Aws
244
249
  def receive_message: (
245
250
  queue_url: ::String,
246
251
  ?attribute_names: Array[("All" | "Policy" | "VisibilityTimeout" | "MaximumMessageSize" | "MessageRetentionPeriod" | "ApproximateNumberOfMessages" | "ApproximateNumberOfMessagesNotVisible" | "CreatedTimestamp" | "LastModifiedTimestamp" | "QueueArn" | "ApproximateNumberOfMessagesDelayed" | "DelaySeconds" | "ReceiveMessageWaitTimeSeconds" | "RedrivePolicy" | "FifoQueue" | "ContentBasedDeduplication" | "KmsMasterKeyId" | "KmsDataKeyReusePeriodSeconds" | "DeduplicationScope" | "FifoThroughputLimit" | "RedriveAllowPolicy" | "SqsManagedSseEnabled")],
252
+ ?message_system_attribute_names: Array[("All" | "SenderId" | "SentTimestamp" | "ApproximateReceiveCount" | "ApproximateFirstReceiveTimestamp" | "SequenceNumber" | "MessageDeduplicationId" | "MessageGroupId" | "AWSTraceHeader" | "DeadLetterQueueSourceArn")],
247
253
  ?message_attribute_names: Array[::String],
248
254
  ?max_number_of_messages: ::Integer,
249
255
  ?visibility_timeout: ::Integer,
data/sig/message.rbs CHANGED
@@ -30,7 +30,7 @@ module Aws
30
30
  def body: () -> ::String
31
31
 
32
32
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SQS/Message.html#attributes-instance_method
33
- def attributes: () -> ::Hash[("SenderId" | "SentTimestamp" | "ApproximateReceiveCount" | "ApproximateFirstReceiveTimestamp" | "SequenceNumber" | "MessageDeduplicationId" | "MessageGroupId" | "AWSTraceHeader" | "DeadLetterQueueSourceArn"), ::String]
33
+ def attributes: () -> ::Hash[("All" | "SenderId" | "SentTimestamp" | "ApproximateReceiveCount" | "ApproximateFirstReceiveTimestamp" | "SequenceNumber" | "MessageDeduplicationId" | "MessageGroupId" | "AWSTraceHeader" | "DeadLetterQueueSourceArn"), ::String]
34
34
 
35
35
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SQS/Message.html#md5_of_message_attributes-instance_method
36
36
  def md5_of_message_attributes: () -> ::String
data/sig/queue.rbs CHANGED
@@ -77,6 +77,7 @@ module Aws
77
77
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SQS/Queue.html#receive_messages-instance_method
78
78
  def receive_messages: (
79
79
  ?attribute_names: Array[("All" | "Policy" | "VisibilityTimeout" | "MaximumMessageSize" | "MessageRetentionPeriod" | "ApproximateNumberOfMessages" | "ApproximateNumberOfMessagesNotVisible" | "CreatedTimestamp" | "LastModifiedTimestamp" | "QueueArn" | "ApproximateNumberOfMessagesDelayed" | "DelaySeconds" | "ReceiveMessageWaitTimeSeconds" | "RedrivePolicy" | "FifoQueue" | "ContentBasedDeduplication" | "KmsMasterKeyId" | "KmsDataKeyReusePeriodSeconds" | "DeduplicationScope" | "FifoThroughputLimit" | "RedriveAllowPolicy" | "SqsManagedSseEnabled")],
80
+ ?message_system_attribute_names: Array[("All" | "SenderId" | "SentTimestamp" | "ApproximateReceiveCount" | "ApproximateFirstReceiveTimestamp" | "SequenceNumber" | "MessageDeduplicationId" | "MessageGroupId" | "AWSTraceHeader" | "DeadLetterQueueSourceArn")],
80
81
  ?message_attribute_names: Array[::String],
81
82
  ?max_number_of_messages: ::Integer,
82
83
  ?visibility_timeout: ::Integer,
data/sig/resource.rbs CHANGED
@@ -15,6 +15,7 @@ module Aws
15
15
  ?credentials: untyped,
16
16
  ?region: String,
17
17
  ?access_key_id: String,
18
+ ?account_id: String,
18
19
  ?active_endpoint_cache: bool,
19
20
  ?adaptive_retry_wait_to_fill: bool,
20
21
  ?client_side_monitoring: bool,
@@ -38,7 +39,9 @@ module Aws
38
39
  ?logger: untyped,
39
40
  ?max_attempts: Integer,
40
41
  ?profile: String,
42
+ ?request_checksum_calculation: String,
41
43
  ?request_min_compression_size_bytes: Integer,
44
+ ?response_checksum_validation: String,
42
45
  ?retry_backoff: Proc,
43
46
  ?retry_base_delay: Float,
44
47
  ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
@@ -48,8 +51,10 @@ module Aws
48
51
  ?sdk_ua_app_id: String,
49
52
  ?secret_access_key: String,
50
53
  ?session_token: String,
54
+ ?sigv4a_signing_region_set: Array[String],
51
55
  ?simple_json: bool,
52
56
  ?stub_responses: untyped,
57
+ ?telemetry_provider: Aws::Telemetry::TelemetryProviderBase,
53
58
  ?token_provider: untyped,
54
59
  ?use_dualstack_endpoint: bool,
55
60
  ?use_fips_endpoint: bool,
data/sig/types.rbs CHANGED
@@ -281,7 +281,7 @@ module Aws::SQS
281
281
  attr_accessor receipt_handle: ::String
282
282
  attr_accessor md5_of_body: ::String
283
283
  attr_accessor body: ::String
284
- attr_accessor attributes: ::Hash[("SenderId" | "SentTimestamp" | "ApproximateReceiveCount" | "ApproximateFirstReceiveTimestamp" | "SequenceNumber" | "MessageDeduplicationId" | "MessageGroupId" | "AWSTraceHeader" | "DeadLetterQueueSourceArn"), ::String]
284
+ attr_accessor attributes: ::Hash[("All" | "SenderId" | "SentTimestamp" | "ApproximateReceiveCount" | "ApproximateFirstReceiveTimestamp" | "SequenceNumber" | "MessageDeduplicationId" | "MessageGroupId" | "AWSTraceHeader" | "DeadLetterQueueSourceArn"), ::String]
285
285
  attr_accessor md5_of_message_attributes: ::String
286
286
  attr_accessor message_attributes: ::Hash[::String, Types::MessageAttributeValue]
287
287
  SENSITIVE: []
@@ -346,6 +346,7 @@ module Aws::SQS
346
346
  class ReceiveMessageRequest
347
347
  attr_accessor queue_url: ::String
348
348
  attr_accessor attribute_names: ::Array[("All" | "Policy" | "VisibilityTimeout" | "MaximumMessageSize" | "MessageRetentionPeriod" | "ApproximateNumberOfMessages" | "ApproximateNumberOfMessagesNotVisible" | "CreatedTimestamp" | "LastModifiedTimestamp" | "QueueArn" | "ApproximateNumberOfMessagesDelayed" | "DelaySeconds" | "ReceiveMessageWaitTimeSeconds" | "RedrivePolicy" | "FifoQueue" | "ContentBasedDeduplication" | "KmsMasterKeyId" | "KmsDataKeyReusePeriodSeconds" | "DeduplicationScope" | "FifoThroughputLimit" | "RedriveAllowPolicy" | "SqsManagedSseEnabled")]
349
+ attr_accessor message_system_attribute_names: ::Array[("All" | "SenderId" | "SentTimestamp" | "ApproximateReceiveCount" | "ApproximateFirstReceiveTimestamp" | "SequenceNumber" | "MessageDeduplicationId" | "MessageGroupId" | "AWSTraceHeader" | "DeadLetterQueueSourceArn")]
349
350
  attr_accessor message_attribute_names: ::Array[::String]
350
351
  attr_accessor max_number_of_messages: ::Integer
351
352
  attr_accessor visibility_timeout: ::Integer
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-sqs
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.70.0
4
+ version: 1.93.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-01-26 00:00:00.000000000 Z
11
+ date: 2025-02-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.191.0
22
+ version: 3.216.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,21 +29,21 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.191.0
32
+ version: 3.216.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement
36
36
  requirements:
37
37
  - - "~>"
38
38
  - !ruby/object:Gem::Version
39
- version: '1.1'
39
+ version: '1.5'
40
40
  type: :runtime
41
41
  prerelease: false
42
42
  version_requirements: !ruby/object:Gem::Requirement
43
43
  requirements:
44
44
  - - "~>"
45
45
  - !ruby/object:Gem::Version
46
- version: '1.1'
46
+ version: '1.5'
47
47
  description: Official AWS Ruby gem for Amazon Simple Queue Service (Amazon SQS). This
48
48
  gem is part of the AWS SDK for Ruby.
49
49
  email: