aws-sdk-sqs 1.74.0 → 1.80.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 +30 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-sqs/client.rb +40 -19
- data/lib/aws-sdk-sqs/client_api.rb +2 -0
- data/lib/aws-sdk-sqs/message.rb +3 -3
- data/lib/aws-sdk-sqs/queue.rb +19 -15
- data/lib/aws-sdk-sqs/resource.rb +3 -3
- data/lib/aws-sdk-sqs/types.rb +7 -3
- data/lib/aws-sdk-sqs.rb +1 -1
- data/sig/client.rbs +1 -0
- data/sig/resource.rbs +1 -0
- metadata +6 -6
    
        checksums.yaml
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            ---
         | 
| 2 2 | 
             
            SHA256:
         | 
| 3 | 
            -
              metadata.gz:  | 
| 4 | 
            -
              data.tar.gz:  | 
| 3 | 
            +
              metadata.gz: 4f30d391d3a34a4814470391b91fdcd872714b458be107c050ee9cba37465e1b
         | 
| 4 | 
            +
              data.tar.gz: 1c15c4193031d38ee70f969f0de8a88546fc22e1a4df43653854c173dbee7e25
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: cf45c30d94cc45b4e1a22a2e45434bf7d505c164c5f8fb6fa5004cdb80b2ab48a6c87fe9ab3e84ed0d7a6e9d0279b988aaa174795c328b34a0372717e729d4a9
         | 
| 7 | 
            +
              data.tar.gz: f960011adbf27dbd6165ce92759344b37e4ba891a915431ac0e3ab724bd7a3bdde2e95966df3c6518ed81b4ba65efc8a669c88383ed9ba72a9c10c090850ea64
         | 
    
        data/CHANGELOG.md
    CHANGED
    
    | @@ -1,6 +1,36 @@ | |
| 1 1 | 
             
            Unreleased Changes
         | 
| 2 2 | 
             
            ------------------
         | 
| 3 3 |  | 
| 4 | 
            +
            1.80.0 (2024-07-02)
         | 
| 5 | 
            +
            ------------------
         | 
| 6 | 
            +
             | 
| 7 | 
            +
            * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
         | 
| 8 | 
            +
             | 
| 9 | 
            +
            1.79.0 (2024-06-28)
         | 
| 10 | 
            +
            ------------------
         | 
| 11 | 
            +
             | 
| 12 | 
            +
            * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
         | 
| 13 | 
            +
             | 
| 14 | 
            +
            1.78.0 (2024-06-25)
         | 
| 15 | 
            +
            ------------------
         | 
| 16 | 
            +
             | 
| 17 | 
            +
            * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
         | 
| 18 | 
            +
             | 
| 19 | 
            +
            1.77.0 (2024-06-24)
         | 
| 20 | 
            +
            ------------------
         | 
| 21 | 
            +
             | 
| 22 | 
            +
            * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
         | 
| 23 | 
            +
             | 
| 24 | 
            +
            1.76.0 (2024-06-06)
         | 
| 25 | 
            +
            ------------------
         | 
| 26 | 
            +
             | 
| 27 | 
            +
            * Feature - Doc only updates for SQS. These updates include customer-reported issues and TCX3 modifications.
         | 
| 28 | 
            +
             | 
| 29 | 
            +
            1.75.0 (2024-06-05)
         | 
| 30 | 
            +
            ------------------
         | 
| 31 | 
            +
             | 
| 32 | 
            +
            * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
         | 
| 33 | 
            +
             | 
| 4 34 | 
             
            1.74.0 (2024-05-13)
         | 
| 5 35 | 
             
            ------------------
         | 
| 6 36 |  | 
    
        data/VERSION
    CHANGED
    
    | @@ -1 +1 @@ | |
| 1 | 
            -
            1. | 
| 1 | 
            +
            1.80.0
         | 
    
        data/lib/aws-sdk-sqs/client.rb
    CHANGED
    
    | @@ -93,6 +93,11 @@ module Aws::SQS | |
| 93 93 |  | 
| 94 94 | 
             
                # @overload initialize(options)
         | 
| 95 95 | 
             
                #   @param [Hash] options
         | 
| 96 | 
            +
                #
         | 
| 97 | 
            +
                #   @option options [Array<Seahorse::Client::Plugin>] :plugins ([]])
         | 
| 98 | 
            +
                #     A list of plugins to apply to the client. Each plugin is either a
         | 
| 99 | 
            +
                #     class name or an instance of a plugin class.
         | 
| 100 | 
            +
                #
         | 
| 96 101 | 
             
                #   @option options [required, Aws::CredentialProvider] :credentials
         | 
| 97 102 | 
             
                #     Your AWS credentials. This can be an instance of any one of the
         | 
| 98 103 | 
             
                #     following classes:
         | 
| @@ -213,7 +218,6 @@ module Aws::SQS | |
| 213 218 | 
             
                #         'https://example.com'
         | 
| 214 219 | 
             
                #         'http://example.com:123'
         | 
| 215 220 | 
             
                #
         | 
| 216 | 
            -
                #
         | 
| 217 221 | 
             
                #   @option options [Integer] :endpoint_cache_max_entries (1000)
         | 
| 218 222 | 
             
                #     Used for the maximum size limit of the LRU cache storing endpoints data
         | 
| 219 223 | 
             
                #     for endpoint discovery enabled operations. Defaults to 1000.
         | 
| @@ -302,7 +306,6 @@ module Aws::SQS | |
| 302 306 | 
             
                #       throttling.  This is a provisional mode that may change behavior
         | 
| 303 307 | 
             
                #       in the future.
         | 
| 304 308 | 
             
                #
         | 
| 305 | 
            -
                #
         | 
| 306 309 | 
             
                #   @option options [String] :sdk_ua_app_id
         | 
| 307 310 | 
             
                #     A unique and opaque application ID that is appended to the
         | 
| 308 311 | 
             
                #     User-Agent header as app/sdk_ua_app_id. It should have a
         | 
| @@ -313,15 +316,21 @@ module Aws::SQS | |
| 313 316 | 
             
                #
         | 
| 314 317 | 
             
                #   @option options [String] :session_token
         | 
| 315 318 | 
             
                #
         | 
| 319 | 
            +
                #   @option options [Array] :sigv4a_signing_region_set
         | 
| 320 | 
            +
                #     A list of regions that should be signed with SigV4a signing. When
         | 
| 321 | 
            +
                #     not passed, a default `:sigv4a_signing_region_set` is searched for
         | 
| 322 | 
            +
                #     in the following locations:
         | 
| 323 | 
            +
                #
         | 
| 324 | 
            +
                #     * `Aws.config[:sigv4a_signing_region_set]`
         | 
| 325 | 
            +
                #     * `ENV['AWS_SIGV4A_SIGNING_REGION_SET']`
         | 
| 326 | 
            +
                #     * `~/.aws/config`
         | 
| 327 | 
            +
                #
         | 
| 316 328 | 
             
                #   @option options [Boolean] :simple_json (false)
         | 
| 317 329 | 
             
                #     Disables request parameter conversion, validation, and formatting.
         | 
| 318 | 
            -
                #     Also  | 
| 319 | 
            -
                #      | 
| 320 | 
            -
                #      | 
| 321 | 
            -
                #     structures.
         | 
| 322 | 
            -
                #
         | 
| 323 | 
            -
                #     When `:simple_json` is enabled, the request parameters hash must
         | 
| 324 | 
            -
                #     be formatted exactly as the DynamoDB API expects.
         | 
| 330 | 
            +
                #     Also disables response data type conversions. The request parameters
         | 
| 331 | 
            +
                #     hash must be formatted exactly as the API expects.This option is useful
         | 
| 332 | 
            +
                #     when you want to ensure the highest level of performance by avoiding
         | 
| 333 | 
            +
                #     overhead of walking request parameters and response data structures.
         | 
| 325 334 | 
             
                #
         | 
| 326 335 | 
             
                #   @option options [Boolean] :stub_responses (false)
         | 
| 327 336 | 
             
                #     Causes the client to return stubbed responses. By default
         | 
| @@ -2126,13 +2135,17 @@ module Aws::SQS | |
| 2126 2135 | 
             
                # Delivers a message to the specified queue.
         | 
| 2127 2136 | 
             
                #
         | 
| 2128 2137 | 
             
                # A message can include only XML, JSON, and unformatted text. The
         | 
| 2129 | 
            -
                # following Unicode characters are allowed | 
| 2138 | 
            +
                # following Unicode characters are allowed. For more information, see
         | 
| 2139 | 
            +
                # the [W3C specification for characters][1].
         | 
| 2130 2140 | 
             
                #
         | 
| 2131 2141 | 
             
                #  `#x9` \| `#xA` \| `#xD` \| `#x20` to `#xD7FF` \| `#xE000` to `#xFFFD`
         | 
| 2132 2142 | 
             
                # \| `#x10000` to `#x10FFFF`
         | 
| 2133 2143 | 
             
                #
         | 
| 2134 | 
            -
                #   | 
| 2135 | 
            -
                #  | 
| 2144 | 
            +
                #  Amazon SQS does not throw an exception or completely reject the
         | 
| 2145 | 
            +
                # message if it contains invalid characters. Instead, it replaces those
         | 
| 2146 | 
            +
                # invalid characters with `U+FFFD` before storing the message in the
         | 
| 2147 | 
            +
                # queue, as long as the message body contains at least one valid
         | 
| 2148 | 
            +
                # character.
         | 
| 2136 2149 | 
             
                #
         | 
| 2137 2150 | 
             
                #
         | 
| 2138 2151 | 
             
                #
         | 
| @@ -2148,13 +2161,17 @@ module Aws::SQS | |
| 2148 2161 | 
             
                #   size is 256 KiB.
         | 
| 2149 2162 | 
             
                #
         | 
| 2150 2163 | 
             
                #   A message can include only XML, JSON, and unformatted text. The
         | 
| 2151 | 
            -
                #   following Unicode characters are allowed | 
| 2164 | 
            +
                #   following Unicode characters are allowed. For more information, see
         | 
| 2165 | 
            +
                #   the [W3C specification for characters][1].
         | 
| 2152 2166 | 
             
                #
         | 
| 2153 2167 | 
             
                #    `#x9` \| `#xA` \| `#xD` \| `#x20` to `#xD7FF` \| `#xE000` to `#xFFFD`
         | 
| 2154 2168 | 
             
                #   \| `#x10000` to `#x10FFFF`
         | 
| 2155 2169 | 
             
                #
         | 
| 2156 | 
            -
                #     | 
| 2157 | 
            -
                #    | 
| 2170 | 
            +
                #    Amazon SQS does not throw an exception or completely reject the
         | 
| 2171 | 
            +
                #   message if it contains invalid characters. Instead, it replaces those
         | 
| 2172 | 
            +
                #   invalid characters with `U+FFFD` before storing the message in the
         | 
| 2173 | 
            +
                #   queue, as long as the message body contains at least one valid
         | 
| 2174 | 
            +
                #   character.
         | 
| 2158 2175 | 
             
                #
         | 
| 2159 2176 | 
             
                #
         | 
| 2160 2177 | 
             
                #
         | 
| @@ -2356,13 +2373,17 @@ module Aws::SQS | |
| 2356 2373 | 
             
                # messages) are both 256 KiB (262,144 bytes).
         | 
| 2357 2374 | 
             
                #
         | 
| 2358 2375 | 
             
                # A message can include only XML, JSON, and unformatted text. The
         | 
| 2359 | 
            -
                # following Unicode characters are allowed | 
| 2376 | 
            +
                # following Unicode characters are allowed. For more information, see
         | 
| 2377 | 
            +
                # the [W3C specification for characters][1].
         | 
| 2360 2378 | 
             
                #
         | 
| 2361 2379 | 
             
                #  `#x9` \| `#xA` \| `#xD` \| `#x20` to `#xD7FF` \| `#xE000` to `#xFFFD`
         | 
| 2362 2380 | 
             
                # \| `#x10000` to `#x10FFFF`
         | 
| 2363 2381 | 
             
                #
         | 
| 2364 | 
            -
                #   | 
| 2365 | 
            -
                #  | 
| 2382 | 
            +
                #  Amazon SQS does not throw an exception or completely reject the
         | 
| 2383 | 
            +
                # message if it contains invalid characters. Instead, it replaces those
         | 
| 2384 | 
            +
                # invalid characters with `U+FFFD` before storing the message in the
         | 
| 2385 | 
            +
                # queue, as long as the message body contains at least one valid
         | 
| 2386 | 
            +
                # character.
         | 
| 2366 2387 | 
             
                #
         | 
| 2367 2388 | 
             
                # If you don't specify the `DelaySeconds` parameter for an entry,
         | 
| 2368 2389 | 
             
                # Amazon SQS uses the default value for the queue.
         | 
| @@ -2860,7 +2881,7 @@ module Aws::SQS | |
| 2860 2881 | 
             
                    params: params,
         | 
| 2861 2882 | 
             
                    config: config)
         | 
| 2862 2883 | 
             
                  context[:gem_name] = 'aws-sdk-sqs'
         | 
| 2863 | 
            -
                  context[:gem_version] = '1. | 
| 2884 | 
            +
                  context[:gem_version] = '1.80.0'
         | 
| 2864 2885 | 
             
                  Seahorse::Client::Request.new(handlers, context)
         | 
| 2865 2886 | 
             
                end
         | 
| 2866 2887 |  | 
| @@ -498,11 +498,13 @@ module Aws::SQS | |
| 498 498 |  | 
| 499 499 | 
             
                  api.metadata = {
         | 
| 500 500 | 
             
                    "apiVersion" => "2012-11-05",
         | 
| 501 | 
            +
                    "auth" => ["aws.auth#sigv4"],
         | 
| 501 502 | 
             
                    "awsQueryCompatible" => {},
         | 
| 502 503 | 
             
                    "endpointPrefix" => "sqs",
         | 
| 503 504 | 
             
                    "errorPrefix" => "AWS.SimpleQueueService.",
         | 
| 504 505 | 
             
                    "jsonVersion" => "1.0",
         | 
| 505 506 | 
             
                    "protocol" => "json",
         | 
| 507 | 
            +
                    "protocols" => ["json"],
         | 
| 506 508 | 
             
                    "serviceAbbreviation" => "Amazon SQS",
         | 
| 507 509 | 
             
                    "serviceFullName" => "Amazon Simple Queue Service",
         | 
| 508 510 | 
             
                    "serviceId" => "SQS",
         | 
    
        data/lib/aws-sdk-sqs/message.rb
    CHANGED
    
    | @@ -163,7 +163,7 @@ module Aws::SQS | |
| 163 163 | 
             
                    queue_url: @queue_url,
         | 
| 164 164 | 
             
                    receipt_handle: @receipt_handle
         | 
| 165 165 | 
             
                  )
         | 
| 166 | 
            -
                  resp = Aws::Plugins::UserAgent. | 
| 166 | 
            +
                  resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
         | 
| 167 167 | 
             
                    @client.change_message_visibility(options)
         | 
| 168 168 | 
             
                  end
         | 
| 169 169 | 
             
                  resp.data
         | 
| @@ -179,7 +179,7 @@ module Aws::SQS | |
| 179 179 | 
             
                    queue_url: @queue_url,
         | 
| 180 180 | 
             
                    receipt_handle: @receipt_handle
         | 
| 181 181 | 
             
                  )
         | 
| 182 | 
            -
                  resp = Aws::Plugins::UserAgent. | 
| 182 | 
            +
                  resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
         | 
| 183 183 | 
             
                    @client.delete_message(options)
         | 
| 184 184 | 
             
                  end
         | 
| 185 185 | 
             
                  resp.data
         | 
| @@ -246,7 +246,7 @@ module Aws::SQS | |
| 246 246 | 
             
                          receipt_handle: item.receipt_handle
         | 
| 247 247 | 
             
                        }
         | 
| 248 248 | 
             
                      end
         | 
| 249 | 
            -
                      Aws::Plugins::UserAgent. | 
| 249 | 
            +
                      Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
         | 
| 250 250 | 
             
                        batch[0].client.delete_message_batch(params)
         | 
| 251 251 | 
             
                      end
         | 
| 252 252 | 
             
                    end
         | 
    
        data/lib/aws-sdk-sqs/queue.rb
    CHANGED
    
    | @@ -54,7 +54,7 @@ module Aws::SQS | |
| 54 54 | 
             
                #
         | 
| 55 55 | 
             
                # @return [self]
         | 
| 56 56 | 
             
                def load
         | 
| 57 | 
            -
                  resp = Aws::Plugins::UserAgent. | 
| 57 | 
            +
                  resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
         | 
| 58 58 | 
             
                    @client.get_queue_attributes(
         | 
| 59 59 | 
             
                    queue_url: @url,
         | 
| 60 60 | 
             
                    attribute_names: ["All"]
         | 
| @@ -125,7 +125,7 @@ module Aws::SQS | |
| 125 125 | 
             
                # @return [EmptyStructure]
         | 
| 126 126 | 
             
                def add_permission(options = {})
         | 
| 127 127 | 
             
                  options = options.merge(queue_url: @url)
         | 
| 128 | 
            -
                  resp = Aws::Plugins::UserAgent. | 
| 128 | 
            +
                  resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
         | 
| 129 129 | 
             
                    @client.add_permission(options)
         | 
| 130 130 | 
             
                  end
         | 
| 131 131 | 
             
                  resp.data
         | 
| @@ -149,7 +149,7 @@ module Aws::SQS | |
| 149 149 | 
             
                # @return [Types::ChangeMessageVisibilityBatchResult]
         | 
| 150 150 | 
             
                def change_message_visibility_batch(options = {})
         | 
| 151 151 | 
             
                  options = options.merge(queue_url: @url)
         | 
| 152 | 
            -
                  resp = Aws::Plugins::UserAgent. | 
| 152 | 
            +
                  resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
         | 
| 153 153 | 
             
                    @client.change_message_visibility_batch(options)
         | 
| 154 154 | 
             
                  end
         | 
| 155 155 | 
             
                  resp.data
         | 
| @@ -162,7 +162,7 @@ module Aws::SQS | |
| 162 162 | 
             
                # @return [EmptyStructure]
         | 
| 163 163 | 
             
                def delete(options = {})
         | 
| 164 164 | 
             
                  options = options.merge(queue_url: @url)
         | 
| 165 | 
            -
                  resp = Aws::Plugins::UserAgent. | 
| 165 | 
            +
                  resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
         | 
| 166 166 | 
             
                    @client.delete_queue(options)
         | 
| 167 167 | 
             
                  end
         | 
| 168 168 | 
             
                  resp.data
         | 
| @@ -184,7 +184,7 @@ module Aws::SQS | |
| 184 184 | 
             
                # @return [Types::DeleteMessageBatchResult]
         | 
| 185 185 | 
             
                def delete_messages(options = {})
         | 
| 186 186 | 
             
                  options = options.merge(queue_url: @url)
         | 
| 187 | 
            -
                  resp = Aws::Plugins::UserAgent. | 
| 187 | 
            +
                  resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
         | 
| 188 188 | 
             
                    @client.delete_message_batch(options)
         | 
| 189 189 | 
             
                  end
         | 
| 190 190 | 
             
                  resp.data
         | 
| @@ -197,7 +197,7 @@ module Aws::SQS | |
| 197 197 | 
             
                # @return [EmptyStructure]
         | 
| 198 198 | 
             
                def purge(options = {})
         | 
| 199 199 | 
             
                  options = options.merge(queue_url: @url)
         | 
| 200 | 
            -
                  resp = Aws::Plugins::UserAgent. | 
| 200 | 
            +
                  resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
         | 
| 201 201 | 
             
                    @client.purge_queue(options)
         | 
| 202 202 | 
             
                  end
         | 
| 203 203 | 
             
                  resp.data
         | 
| @@ -415,7 +415,7 @@ module Aws::SQS | |
| 415 415 | 
             
                def receive_messages(options = {})
         | 
| 416 416 | 
             
                  batch = []
         | 
| 417 417 | 
             
                  options = options.merge(queue_url: @url)
         | 
| 418 | 
            -
                  resp = Aws::Plugins::UserAgent. | 
| 418 | 
            +
                  resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
         | 
| 419 419 | 
             
                    @client.receive_message(options)
         | 
| 420 420 | 
             
                  end
         | 
| 421 421 | 
             
                  resp.data.messages.each do |m|
         | 
| @@ -441,7 +441,7 @@ module Aws::SQS | |
| 441 441 | 
             
                # @return [EmptyStructure]
         | 
| 442 442 | 
             
                def remove_permission(options = {})
         | 
| 443 443 | 
             
                  options = options.merge(queue_url: @url)
         | 
| 444 | 
            -
                  resp = Aws::Plugins::UserAgent. | 
| 444 | 
            +
                  resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
         | 
| 445 445 | 
             
                    @client.remove_permission(options)
         | 
| 446 446 | 
             
                  end
         | 
| 447 447 | 
             
                  resp.data
         | 
| @@ -479,13 +479,17 @@ module Aws::SQS | |
| 479 479 | 
             
                #   size is 256 KiB.
         | 
| 480 480 | 
             
                #
         | 
| 481 481 | 
             
                #   A message can include only XML, JSON, and unformatted text. The
         | 
| 482 | 
            -
                #   following Unicode characters are allowed | 
| 482 | 
            +
                #   following Unicode characters are allowed. For more information, see
         | 
| 483 | 
            +
                #   the [W3C specification for characters][1].
         | 
| 483 484 | 
             
                #
         | 
| 484 485 | 
             
                #    `#x9` \| `#xA` \| `#xD` \| `#x20` to `#xD7FF` \| `#xE000` to `#xFFFD`
         | 
| 485 486 | 
             
                #   \| `#x10000` to `#x10FFFF`
         | 
| 486 487 | 
             
                #
         | 
| 487 | 
            -
                #     | 
| 488 | 
            -
                #    | 
| 488 | 
            +
                #    Amazon SQS does not throw an exception or completely reject the
         | 
| 489 | 
            +
                #   message if it contains invalid characters. Instead, it replaces those
         | 
| 490 | 
            +
                #   invalid characters with `U+FFFD` before storing the message in the
         | 
| 491 | 
            +
                #   queue, as long as the message body contains at least one valid
         | 
| 492 | 
            +
                #   character.
         | 
| 489 493 | 
             
                #
         | 
| 490 494 | 
             
                #
         | 
| 491 495 | 
             
                #
         | 
| @@ -615,7 +619,7 @@ module Aws::SQS | |
| 615 619 | 
             
                # @return [Types::SendMessageResult]
         | 
| 616 620 | 
             
                def send_message(options = {})
         | 
| 617 621 | 
             
                  options = options.merge(queue_url: @url)
         | 
| 618 | 
            -
                  resp = Aws::Plugins::UserAgent. | 
| 622 | 
            +
                  resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
         | 
| 619 623 | 
             
                    @client.send_message(options)
         | 
| 620 624 | 
             
                  end
         | 
| 621 625 | 
             
                  resp.data
         | 
| @@ -658,7 +662,7 @@ module Aws::SQS | |
| 658 662 | 
             
                # @return [Types::SendMessageBatchResult]
         | 
| 659 663 | 
             
                def send_messages(options = {})
         | 
| 660 664 | 
             
                  options = options.merge(queue_url: @url)
         | 
| 661 | 
            -
                  resp = Aws::Plugins::UserAgent. | 
| 665 | 
            +
                  resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
         | 
| 662 666 | 
             
                    @client.send_message_batch(options)
         | 
| 663 667 | 
             
                  end
         | 
| 664 668 | 
             
                  resp.data
         | 
| @@ -863,7 +867,7 @@ module Aws::SQS | |
| 863 867 | 
             
                # @return [EmptyStructure]
         | 
| 864 868 | 
             
                def set_attributes(options = {})
         | 
| 865 869 | 
             
                  options = options.merge(queue_url: @url)
         | 
| 866 | 
            -
                  resp = Aws::Plugins::UserAgent. | 
| 870 | 
            +
                  resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
         | 
| 867 871 | 
             
                    @client.set_queue_attributes(options)
         | 
| 868 872 | 
             
                  end
         | 
| 869 873 | 
             
                  resp.data
         | 
| @@ -879,7 +883,7 @@ module Aws::SQS | |
| 879 883 | 
             
                def dead_letter_source_queues(options = {})
         | 
| 880 884 | 
             
                  batches = Enumerator.new do |y|
         | 
| 881 885 | 
             
                    options = options.merge(queue_url: @url)
         | 
| 882 | 
            -
                    resp = Aws::Plugins::UserAgent. | 
| 886 | 
            +
                    resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
         | 
| 883 887 | 
             
                      @client.list_dead_letter_source_queues(options)
         | 
| 884 888 | 
             
                    end
         | 
| 885 889 | 
             
                    resp.each_page do |page|
         | 
    
        data/lib/aws-sdk-sqs/resource.rb
    CHANGED
    
    | @@ -294,7 +294,7 @@ module Aws::SQS | |
| 294 294 | 
             
                #   [3]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-customer-managed-policy-examples.html#grant-cross-account-permissions-to-role-and-user-name
         | 
| 295 295 | 
             
                # @return [Queue]
         | 
| 296 296 | 
             
                def create_queue(options = {})
         | 
| 297 | 
            -
                  resp = Aws::Plugins::UserAgent. | 
| 297 | 
            +
                  resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
         | 
| 298 298 | 
             
                    @client.create_queue(options)
         | 
| 299 299 | 
             
                  end
         | 
| 300 300 | 
             
                  Queue.new(
         | 
| @@ -321,7 +321,7 @@ module Aws::SQS | |
| 321 321 | 
             
                #   queue.
         | 
| 322 322 | 
             
                # @return [Queue]
         | 
| 323 323 | 
             
                def get_queue_by_name(options = {})
         | 
| 324 | 
            -
                  resp = Aws::Plugins::UserAgent. | 
| 324 | 
            +
                  resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
         | 
| 325 325 | 
             
                    @client.get_queue_url(options)
         | 
| 326 326 | 
             
                  end
         | 
| 327 327 | 
             
                  Queue.new(
         | 
| @@ -355,7 +355,7 @@ module Aws::SQS | |
| 355 355 | 
             
                # @return [Queue::Collection]
         | 
| 356 356 | 
             
                def queues(options = {})
         | 
| 357 357 | 
             
                  batches = Enumerator.new do |y|
         | 
| 358 | 
            -
                    resp = Aws::Plugins::UserAgent. | 
| 358 | 
            +
                    resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
         | 
| 359 359 | 
             
                      @client.list_queues(options)
         | 
| 360 360 | 
             
                    end
         | 
| 361 361 | 
             
                    resp.each_page do |page|
         | 
    
        data/lib/aws-sdk-sqs/types.rb
    CHANGED
    
    | @@ -2253,13 +2253,17 @@ module Aws::SQS | |
| 2253 2253 | 
             
                #   size is 256 KiB.
         | 
| 2254 2254 | 
             
                #
         | 
| 2255 2255 | 
             
                #   A message can include only XML, JSON, and unformatted text. The
         | 
| 2256 | 
            -
                #   following Unicode characters are allowed | 
| 2256 | 
            +
                #   following Unicode characters are allowed. For more information, see
         | 
| 2257 | 
            +
                #   the [W3C specification for characters][1].
         | 
| 2257 2258 | 
             
                #
         | 
| 2258 2259 | 
             
                #    `#x9` \| `#xA` \| `#xD` \| `#x20` to `#xD7FF` \| `#xE000` to
         | 
| 2259 2260 | 
             
                #   `#xFFFD` \| `#x10000` to `#x10FFFF`
         | 
| 2260 2261 | 
             
                #
         | 
| 2261 | 
            -
                #     | 
| 2262 | 
            -
                #    | 
| 2262 | 
            +
                #    Amazon SQS does not throw an exception or completely reject the
         | 
| 2263 | 
            +
                #   message if it contains invalid characters. Instead, it replaces
         | 
| 2264 | 
            +
                #   those invalid characters with `U+FFFD` before storing the message in
         | 
| 2265 | 
            +
                #   the queue, as long as the message body contains at least one valid
         | 
| 2266 | 
            +
                #   character.
         | 
| 2263 2267 | 
             
                #
         | 
| 2264 2268 | 
             
                #
         | 
| 2265 2269 | 
             
                #
         | 
    
        data/lib/aws-sdk-sqs.rb
    CHANGED
    
    
    
        data/sig/client.rbs
    CHANGED
    
    
    
        data/sig/resource.rbs
    CHANGED
    
    
    
        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. | 
| 4 | 
            +
              version: 1.80.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- | 
| 11 | 
            +
            date: 2024-07-02 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. | 
| 22 | 
            +
                    version: 3.201.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. | 
| 32 | 
            +
                    version: 3.201.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. | 
| 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. | 
| 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:
         |