aws-sdk-sqs 1.65.0 → 1.107.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.
@@ -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
@@ -112,7 +112,6 @@ module Aws::SQS
112
112
  # Default: 10. When the `ReceiveCount` for a message exceeds the
113
113
  # `maxReceiveCount` for a queue, Amazon SQS moves the message to the
114
114
  # dead-letter-queue.
115
- #
116
115
  # * `RedriveAllowPolicy` – The string that includes the parameters for
117
116
  # the permissions for the dead-letter queue redrive permission and
118
117
  # which source queues can specify dead-letter queues as a JSON object.
@@ -131,7 +130,6 @@ module Aws::SQS
131
130
  #
132
131
  # * `byQueue` – Only queues specified by the `sourceQueueArns`
133
132
  # parameter can specify this queue as the dead-letter queue.
134
- #
135
133
  # * `sourceQueueArns` – The Amazon Resource Names (ARN)s of the source
136
134
  # queues that can specify this queue as the dead-letter queue and
137
135
  # redrive messages. You can specify this parameter only when the
@@ -203,7 +201,6 @@ module Aws::SQS
203
201
  #
204
202
  # * If the queue has `ContentBasedDeduplication` set, your
205
203
  # `MessageDeduplicationId` overrides the generated one.
206
- #
207
204
  # * When `ContentBasedDeduplication` is in effect, messages with
208
205
  # identical content sent within the deduplication interval are
209
206
  # treated as duplicates and only one copy of the message is
@@ -294,7 +291,7 @@ module Aws::SQS
294
291
  # [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
292
  # @return [Queue]
296
293
  def create_queue(options = {})
297
- resp = Aws::Plugins::UserAgent.feature('resource') do
294
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
298
295
  @client.create_queue(options)
299
296
  end
300
297
  Queue.new(
@@ -311,17 +308,17 @@ module Aws::SQS
311
308
  # })
312
309
  # @param [Hash] options ({})
313
310
  # @option options [required, String] :queue_name
314
- # The name of the queue whose URL must be fetched. Maximum 80
315
- # characters. Valid values: alphanumeric characters, hyphens (`-`), and
316
- # underscores (`_`).
317
- #
318
- # Queue URLs and names are case-sensitive.
311
+ # (Required) The name of the queue for which you want to fetch the URL.
312
+ # The name can be up to 80 characters long and can include alphanumeric
313
+ # characters, hyphens (-), and underscores (\_). Queue URLs and names
314
+ # are case-sensitive.
319
315
  # @option options [String] :queue_owner_aws_account_id
320
- # The Amazon Web Services account ID of the account that created the
321
- # queue.
316
+ # (Optional) The Amazon Web Services account ID of the account that
317
+ # created the queue. This is only required when you are attempting to
318
+ # access a queue owned by another Amazon Web Services account.
322
319
  # @return [Queue]
323
320
  def get_queue_by_name(options = {})
324
- resp = Aws::Plugins::UserAgent.feature('resource') do
321
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
325
322
  @client.get_queue_url(options)
326
323
  end
327
324
  Queue.new(
@@ -355,7 +352,7 @@ module Aws::SQS
355
352
  # @return [Queue::Collection]
356
353
  def queues(options = {})
357
354
  batches = Enumerator.new do |y|
358
- resp = Aws::Plugins::UserAgent.feature('resource') do
355
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
359
356
  @client.list_queues(options)
360
357
  end
361
358
  resp.each_page do |page|