aws-sdk-sqs 1.69.0 → 1.70.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: e8f7eada40045bb6562c2c8140a9c71bab06e0934265aa3b47da398bfcc04596
4
- data.tar.gz: 8b04671036f9aff2482d1aa70ad16c91207d99d741b589733ed4d158de77e9f8
3
+ metadata.gz: e39a9eb3e92b4f93130e52d3e002ba963cd03c5f5e755cf339e8c85883ee10a7
4
+ data.tar.gz: 8efebea51d0957b0d17e558b4ba79108827eda88454d5b54463b3a4c3d073093
5
5
  SHA512:
6
- metadata.gz: 70dc137ec859a96a235f3e93da0fd3baed06e07412d767b67a61a5033a9ac48886e1443d1ae41ce82c35bbb033241413069e47ec8d9f4982675f65d1f8f99720
7
- data.tar.gz: 8180401fa1c43f3021f9e4e7939dd00fe8171331df073cdaf1192e61d1f4e7d27108773034bb46cc9038a8b4295024698685a8d6332c6870d6fdb61a8c385a45
6
+ metadata.gz: e815e358570d6098594e80bb81c32c2795dfc7f8b92592f1c5646867781e1f57c1220f80efe3e7e2424c7ef7334f3194ddb58c0f1533f9dddfa14f41fd74967c
7
+ data.tar.gz: 210fb2b41bb8d08d460fb293a0ba6c336a9afdcd2630fd37a003852ac162cbc71aae986ee68075413e88c4765d8e6f693554a35a6d1be8c8da895badb4ed97ec
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.70.0 (2024-01-26)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
4
9
  1.69.0 (2023-11-28)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.69.0
1
+ 1.70.0
@@ -2796,7 +2796,7 @@ module Aws::SQS
2796
2796
  params: params,
2797
2797
  config: config)
2798
2798
  context[:gem_name] = 'aws-sdk-sqs'
2799
- context[:gem_version] = '1.69.0'
2799
+ context[:gem_version] = '1.70.0'
2800
2800
  Seahorse::Client::Request.new(handlers, context)
2801
2801
  end
2802
2802
 
@@ -14,6 +14,7 @@ module Aws::SQS
14
14
  option(
15
15
  :endpoint_provider,
16
16
  doc_type: 'Aws::SQS::EndpointProvider',
17
+ rbs_type: 'untyped',
17
18
  docstring: 'The endpoint provider used to resolve endpoints. Any '\
18
19
  'object that responds to `#resolve_endpoint(parameters)` '\
19
20
  'where `parameters` is a Struct similar to '\
data/lib/aws-sdk-sqs.rb CHANGED
@@ -54,6 +54,6 @@ require_relative 'aws-sdk-sqs/customizations'
54
54
  # @!group service
55
55
  module Aws::SQS
56
56
 
57
- GEM_VERSION = '1.69.0'
57
+ GEM_VERSION = '1.70.0'
58
58
 
59
59
  end
data/sig/client.rbs ADDED
@@ -0,0 +1,363 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module SQS
10
+ class Client < ::Seahorse::Client::Base
11
+ include ::Aws::ClientStubs
12
+
13
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SQS/Client.html#initialize-instance_method
14
+ def self.new: (
15
+ ?credentials: untyped,
16
+ ?region: String,
17
+ ?access_key_id: String,
18
+ ?active_endpoint_cache: bool,
19
+ ?adaptive_retry_wait_to_fill: bool,
20
+ ?client_side_monitoring: bool,
21
+ ?client_side_monitoring_client_id: String,
22
+ ?client_side_monitoring_host: String,
23
+ ?client_side_monitoring_port: Integer,
24
+ ?client_side_monitoring_publisher: untyped,
25
+ ?convert_params: bool,
26
+ ?correct_clock_skew: bool,
27
+ ?defaults_mode: String,
28
+ ?disable_host_prefix_injection: bool,
29
+ ?disable_request_compression: bool,
30
+ ?endpoint: String,
31
+ ?endpoint_cache_max_entries: Integer,
32
+ ?endpoint_cache_max_threads: Integer,
33
+ ?endpoint_cache_poll_interval: Integer,
34
+ ?endpoint_discovery: bool,
35
+ ?ignore_configured_endpoint_urls: bool,
36
+ ?log_formatter: untyped,
37
+ ?log_level: Symbol,
38
+ ?logger: untyped,
39
+ ?max_attempts: Integer,
40
+ ?profile: String,
41
+ ?request_min_compression_size_bytes: Integer,
42
+ ?retry_backoff: Proc,
43
+ ?retry_base_delay: Float,
44
+ ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
45
+ ?retry_limit: Integer,
46
+ ?retry_max_delay: Integer,
47
+ ?retry_mode: ("legacy" | "standard" | "adaptive"),
48
+ ?sdk_ua_app_id: String,
49
+ ?secret_access_key: String,
50
+ ?session_token: String,
51
+ ?simple_json: bool,
52
+ ?stub_responses: untyped,
53
+ ?token_provider: untyped,
54
+ ?use_dualstack_endpoint: bool,
55
+ ?use_fips_endpoint: bool,
56
+ ?validate_params: bool,
57
+ ?verify_checksums: bool,
58
+ ?endpoint_provider: untyped,
59
+ ?http_proxy: String,
60
+ ?http_open_timeout: (Float | Integer),
61
+ ?http_read_timeout: (Float | Integer),
62
+ ?http_idle_timeout: (Float | Integer),
63
+ ?http_continue_timeout: (Float | Integer),
64
+ ?ssl_timeout: (Float | Integer | nil),
65
+ ?http_wire_trace: bool,
66
+ ?ssl_verify_peer: bool,
67
+ ?ssl_ca_bundle: String,
68
+ ?ssl_ca_directory: String,
69
+ ?ssl_ca_store: String,
70
+ ?on_chunk_received: Proc,
71
+ ?on_chunk_sent: Proc,
72
+ ?raise_response_errors: bool
73
+ ) -> instance
74
+ | (?Hash[Symbol, untyped]) -> instance
75
+
76
+
77
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SQS/Client.html#add_permission-instance_method
78
+ def add_permission: (
79
+ queue_url: ::String,
80
+ label: ::String,
81
+ aws_account_ids: Array[::String],
82
+ actions: Array[::String]
83
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
84
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
85
+
86
+ interface _CancelMessageMoveTaskResponseSuccess
87
+ include ::Seahorse::Client::_ResponseSuccess[Types::CancelMessageMoveTaskResult]
88
+ def approximate_number_of_messages_moved: () -> ::Integer
89
+ end
90
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SQS/Client.html#cancel_message_move_task-instance_method
91
+ def cancel_message_move_task: (
92
+ task_handle: ::String
93
+ ) -> _CancelMessageMoveTaskResponseSuccess
94
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CancelMessageMoveTaskResponseSuccess
95
+
96
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SQS/Client.html#change_message_visibility-instance_method
97
+ def change_message_visibility: (
98
+ queue_url: ::String,
99
+ receipt_handle: ::String,
100
+ visibility_timeout: ::Integer
101
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
102
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
103
+
104
+ interface _ChangeMessageVisibilityBatchResponseSuccess
105
+ include ::Seahorse::Client::_ResponseSuccess[Types::ChangeMessageVisibilityBatchResult]
106
+ def successful: () -> ::Array[Types::ChangeMessageVisibilityBatchResultEntry]
107
+ def failed: () -> ::Array[Types::BatchResultErrorEntry]
108
+ end
109
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SQS/Client.html#change_message_visibility_batch-instance_method
110
+ def change_message_visibility_batch: (
111
+ queue_url: ::String,
112
+ entries: Array[
113
+ {
114
+ id: ::String,
115
+ receipt_handle: ::String,
116
+ visibility_timeout: ::Integer?
117
+ },
118
+ ]
119
+ ) -> _ChangeMessageVisibilityBatchResponseSuccess
120
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ChangeMessageVisibilityBatchResponseSuccess
121
+
122
+ interface _CreateQueueResponseSuccess
123
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateQueueResult]
124
+ def queue_url: () -> ::String
125
+ end
126
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SQS/Client.html#create_queue-instance_method
127
+ def create_queue: (
128
+ queue_name: ::String,
129
+ ?attributes: Hash[("All" | "Policy" | "VisibilityTimeout" | "MaximumMessageSize" | "MessageRetentionPeriod" | "ApproximateNumberOfMessages" | "ApproximateNumberOfMessagesNotVisible" | "CreatedTimestamp" | "LastModifiedTimestamp" | "QueueArn" | "ApproximateNumberOfMessagesDelayed" | "DelaySeconds" | "ReceiveMessageWaitTimeSeconds" | "RedrivePolicy" | "FifoQueue" | "ContentBasedDeduplication" | "KmsMasterKeyId" | "KmsDataKeyReusePeriodSeconds" | "DeduplicationScope" | "FifoThroughputLimit" | "RedriveAllowPolicy" | "SqsManagedSseEnabled"), ::String],
130
+ ?tags: Hash[::String, ::String]
131
+ ) -> _CreateQueueResponseSuccess
132
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateQueueResponseSuccess
133
+
134
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SQS/Client.html#delete_message-instance_method
135
+ def delete_message: (
136
+ queue_url: ::String,
137
+ receipt_handle: ::String
138
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
139
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
140
+
141
+ interface _DeleteMessageBatchResponseSuccess
142
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteMessageBatchResult]
143
+ def successful: () -> ::Array[Types::DeleteMessageBatchResultEntry]
144
+ def failed: () -> ::Array[Types::BatchResultErrorEntry]
145
+ end
146
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SQS/Client.html#delete_message_batch-instance_method
147
+ def delete_message_batch: (
148
+ queue_url: ::String,
149
+ entries: Array[
150
+ {
151
+ id: ::String,
152
+ receipt_handle: ::String
153
+ },
154
+ ]
155
+ ) -> _DeleteMessageBatchResponseSuccess
156
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteMessageBatchResponseSuccess
157
+
158
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SQS/Client.html#delete_queue-instance_method
159
+ def delete_queue: (
160
+ queue_url: ::String
161
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
162
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
163
+
164
+ interface _GetQueueAttributesResponseSuccess
165
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetQueueAttributesResult]
166
+ def attributes: () -> ::Hash[("All" | "Policy" | "VisibilityTimeout" | "MaximumMessageSize" | "MessageRetentionPeriod" | "ApproximateNumberOfMessages" | "ApproximateNumberOfMessagesNotVisible" | "CreatedTimestamp" | "LastModifiedTimestamp" | "QueueArn" | "ApproximateNumberOfMessagesDelayed" | "DelaySeconds" | "ReceiveMessageWaitTimeSeconds" | "RedrivePolicy" | "FifoQueue" | "ContentBasedDeduplication" | "KmsMasterKeyId" | "KmsDataKeyReusePeriodSeconds" | "DeduplicationScope" | "FifoThroughputLimit" | "RedriveAllowPolicy" | "SqsManagedSseEnabled"), ::String]
167
+ end
168
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SQS/Client.html#get_queue_attributes-instance_method
169
+ def get_queue_attributes: (
170
+ queue_url: ::String,
171
+ ?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")]
172
+ ) -> _GetQueueAttributesResponseSuccess
173
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetQueueAttributesResponseSuccess
174
+
175
+ interface _GetQueueUrlResponseSuccess
176
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetQueueUrlResult]
177
+ def queue_url: () -> ::String
178
+ end
179
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SQS/Client.html#get_queue_url-instance_method
180
+ def get_queue_url: (
181
+ queue_name: ::String,
182
+ ?queue_owner_aws_account_id: ::String
183
+ ) -> _GetQueueUrlResponseSuccess
184
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetQueueUrlResponseSuccess
185
+
186
+ interface _ListDeadLetterSourceQueuesResponseSuccess
187
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListDeadLetterSourceQueuesResult]
188
+ def queue_urls: () -> ::Array[::String]
189
+ def next_token: () -> ::String
190
+ end
191
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SQS/Client.html#list_dead_letter_source_queues-instance_method
192
+ def list_dead_letter_source_queues: (
193
+ queue_url: ::String,
194
+ ?next_token: ::String,
195
+ ?max_results: ::Integer
196
+ ) -> _ListDeadLetterSourceQueuesResponseSuccess
197
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListDeadLetterSourceQueuesResponseSuccess
198
+
199
+ interface _ListMessageMoveTasksResponseSuccess
200
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListMessageMoveTasksResult]
201
+ def results: () -> ::Array[Types::ListMessageMoveTasksResultEntry]
202
+ end
203
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SQS/Client.html#list_message_move_tasks-instance_method
204
+ def list_message_move_tasks: (
205
+ source_arn: ::String,
206
+ ?max_results: ::Integer
207
+ ) -> _ListMessageMoveTasksResponseSuccess
208
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListMessageMoveTasksResponseSuccess
209
+
210
+ interface _ListQueueTagsResponseSuccess
211
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListQueueTagsResult]
212
+ def tags: () -> ::Hash[::String, ::String]
213
+ end
214
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SQS/Client.html#list_queue_tags-instance_method
215
+ def list_queue_tags: (
216
+ queue_url: ::String
217
+ ) -> _ListQueueTagsResponseSuccess
218
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListQueueTagsResponseSuccess
219
+
220
+ interface _ListQueuesResponseSuccess
221
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListQueuesResult]
222
+ def queue_urls: () -> ::Array[::String]
223
+ def next_token: () -> ::String
224
+ end
225
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SQS/Client.html#list_queues-instance_method
226
+ def list_queues: (
227
+ ?queue_name_prefix: ::String,
228
+ ?next_token: ::String,
229
+ ?max_results: ::Integer
230
+ ) -> _ListQueuesResponseSuccess
231
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListQueuesResponseSuccess
232
+
233
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SQS/Client.html#purge_queue-instance_method
234
+ def purge_queue: (
235
+ queue_url: ::String
236
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
237
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
238
+
239
+ interface _ReceiveMessageResponseSuccess
240
+ include ::Seahorse::Client::_ResponseSuccess[Types::ReceiveMessageResult]
241
+ def messages: () -> ::Array[Types::Message]
242
+ end
243
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SQS/Client.html#receive_message-instance_method
244
+ def receive_message: (
245
+ queue_url: ::String,
246
+ ?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")],
247
+ ?message_attribute_names: Array[::String],
248
+ ?max_number_of_messages: ::Integer,
249
+ ?visibility_timeout: ::Integer,
250
+ ?wait_time_seconds: ::Integer,
251
+ ?receive_request_attempt_id: ::String
252
+ ) -> _ReceiveMessageResponseSuccess
253
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ReceiveMessageResponseSuccess
254
+
255
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SQS/Client.html#remove_permission-instance_method
256
+ def remove_permission: (
257
+ queue_url: ::String,
258
+ label: ::String
259
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
260
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
261
+
262
+ interface _SendMessageResponseSuccess
263
+ include ::Seahorse::Client::_ResponseSuccess[Types::SendMessageResult]
264
+ def md5_of_message_body: () -> ::String
265
+ def md5_of_message_attributes: () -> ::String
266
+ def md5_of_message_system_attributes: () -> ::String
267
+ def message_id: () -> ::String
268
+ def sequence_number: () -> ::String
269
+ end
270
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SQS/Client.html#send_message-instance_method
271
+ def send_message: (
272
+ queue_url: ::String,
273
+ message_body: ::String,
274
+ ?delay_seconds: ::Integer,
275
+ ?message_attributes: Hash[::String, {
276
+ string_value: ::String?,
277
+ binary_value: ::String?,
278
+ string_list_values: Array[::String]?,
279
+ binary_list_values: Array[::String]?,
280
+ data_type: ::String
281
+ }],
282
+ ?message_system_attributes: Hash[("AWSTraceHeader"), {
283
+ string_value: ::String?,
284
+ binary_value: ::String?,
285
+ string_list_values: Array[::String]?,
286
+ binary_list_values: Array[::String]?,
287
+ data_type: ::String
288
+ }],
289
+ ?message_deduplication_id: ::String,
290
+ ?message_group_id: ::String
291
+ ) -> _SendMessageResponseSuccess
292
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _SendMessageResponseSuccess
293
+
294
+ interface _SendMessageBatchResponseSuccess
295
+ include ::Seahorse::Client::_ResponseSuccess[Types::SendMessageBatchResult]
296
+ def successful: () -> ::Array[Types::SendMessageBatchResultEntry]
297
+ def failed: () -> ::Array[Types::BatchResultErrorEntry]
298
+ end
299
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SQS/Client.html#send_message_batch-instance_method
300
+ def send_message_batch: (
301
+ queue_url: ::String,
302
+ entries: Array[
303
+ {
304
+ id: ::String,
305
+ message_body: ::String,
306
+ delay_seconds: ::Integer?,
307
+ message_attributes: Hash[::String, {
308
+ string_value: ::String?,
309
+ binary_value: ::String?,
310
+ string_list_values: Array[::String]?,
311
+ binary_list_values: Array[::String]?,
312
+ data_type: ::String
313
+ }]?,
314
+ message_system_attributes: Hash[("AWSTraceHeader"), {
315
+ string_value: ::String?,
316
+ binary_value: ::String?,
317
+ string_list_values: Array[::String]?,
318
+ binary_list_values: Array[::String]?,
319
+ data_type: ::String
320
+ }]?,
321
+ message_deduplication_id: ::String?,
322
+ message_group_id: ::String?
323
+ },
324
+ ]
325
+ ) -> _SendMessageBatchResponseSuccess
326
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _SendMessageBatchResponseSuccess
327
+
328
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SQS/Client.html#set_queue_attributes-instance_method
329
+ def set_queue_attributes: (
330
+ queue_url: ::String,
331
+ attributes: Hash[("All" | "Policy" | "VisibilityTimeout" | "MaximumMessageSize" | "MessageRetentionPeriod" | "ApproximateNumberOfMessages" | "ApproximateNumberOfMessagesNotVisible" | "CreatedTimestamp" | "LastModifiedTimestamp" | "QueueArn" | "ApproximateNumberOfMessagesDelayed" | "DelaySeconds" | "ReceiveMessageWaitTimeSeconds" | "RedrivePolicy" | "FifoQueue" | "ContentBasedDeduplication" | "KmsMasterKeyId" | "KmsDataKeyReusePeriodSeconds" | "DeduplicationScope" | "FifoThroughputLimit" | "RedriveAllowPolicy" | "SqsManagedSseEnabled"), ::String]
332
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
333
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
334
+
335
+ interface _StartMessageMoveTaskResponseSuccess
336
+ include ::Seahorse::Client::_ResponseSuccess[Types::StartMessageMoveTaskResult]
337
+ def task_handle: () -> ::String
338
+ end
339
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SQS/Client.html#start_message_move_task-instance_method
340
+ def start_message_move_task: (
341
+ source_arn: ::String,
342
+ ?destination_arn: ::String,
343
+ ?max_number_of_messages_per_second: ::Integer
344
+ ) -> _StartMessageMoveTaskResponseSuccess
345
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartMessageMoveTaskResponseSuccess
346
+
347
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SQS/Client.html#tag_queue-instance_method
348
+ def tag_queue: (
349
+ queue_url: ::String,
350
+ tags: Hash[::String, ::String]
351
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
352
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
353
+
354
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SQS/Client.html#untag_queue-instance_method
355
+ def untag_queue: (
356
+ queue_url: ::String,
357
+ tag_keys: Array[::String]
358
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
359
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
360
+ end
361
+ end
362
+ end
363
+
data/sig/errors.rbs ADDED
@@ -0,0 +1,98 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module SQS
10
+ module Errors
11
+ class ServiceError < ::Aws::Errors::ServiceError
12
+ end
13
+
14
+ class BatchEntryIdsNotDistinct < ::Aws::Errors::ServiceError
15
+ def message: () -> ::String
16
+ end
17
+ class BatchRequestTooLong < ::Aws::Errors::ServiceError
18
+ def message: () -> ::String
19
+ end
20
+ class EmptyBatchRequest < ::Aws::Errors::ServiceError
21
+ def message: () -> ::String
22
+ end
23
+ class InvalidAddress < ::Aws::Errors::ServiceError
24
+ def message: () -> ::String
25
+ end
26
+ class InvalidAttributeName < ::Aws::Errors::ServiceError
27
+ def message: () -> ::String
28
+ end
29
+ class InvalidAttributeValue < ::Aws::Errors::ServiceError
30
+ def message: () -> ::String
31
+ end
32
+ class InvalidBatchEntryId < ::Aws::Errors::ServiceError
33
+ def message: () -> ::String
34
+ end
35
+ class InvalidIdFormat < ::Aws::Errors::ServiceError
36
+ end
37
+ class InvalidMessageContents < ::Aws::Errors::ServiceError
38
+ def message: () -> ::String
39
+ end
40
+ class InvalidSecurity < ::Aws::Errors::ServiceError
41
+ def message: () -> ::String
42
+ end
43
+ class KmsAccessDenied < ::Aws::Errors::ServiceError
44
+ def message: () -> ::String
45
+ end
46
+ class KmsDisabled < ::Aws::Errors::ServiceError
47
+ def message: () -> ::String
48
+ end
49
+ class KmsInvalidKeyUsage < ::Aws::Errors::ServiceError
50
+ def message: () -> ::String
51
+ end
52
+ class KmsInvalidState < ::Aws::Errors::ServiceError
53
+ def message: () -> ::String
54
+ end
55
+ class KmsNotFound < ::Aws::Errors::ServiceError
56
+ def message: () -> ::String
57
+ end
58
+ class KmsOptInRequired < ::Aws::Errors::ServiceError
59
+ def message: () -> ::String
60
+ end
61
+ class KmsThrottled < ::Aws::Errors::ServiceError
62
+ def message: () -> ::String
63
+ end
64
+ class MessageNotInflight < ::Aws::Errors::ServiceError
65
+ end
66
+ class OverLimit < ::Aws::Errors::ServiceError
67
+ def message: () -> ::String
68
+ end
69
+ class PurgeQueueInProgress < ::Aws::Errors::ServiceError
70
+ def message: () -> ::String
71
+ end
72
+ class QueueDeletedRecently < ::Aws::Errors::ServiceError
73
+ def message: () -> ::String
74
+ end
75
+ class QueueDoesNotExist < ::Aws::Errors::ServiceError
76
+ def message: () -> ::String
77
+ end
78
+ class QueueNameExists < ::Aws::Errors::ServiceError
79
+ def message: () -> ::String
80
+ end
81
+ class ReceiptHandleIsInvalid < ::Aws::Errors::ServiceError
82
+ def message: () -> ::String
83
+ end
84
+ class RequestThrottled < ::Aws::Errors::ServiceError
85
+ def message: () -> ::String
86
+ end
87
+ class ResourceNotFoundException < ::Aws::Errors::ServiceError
88
+ def message: () -> ::String
89
+ end
90
+ class TooManyEntriesInBatchRequest < ::Aws::Errors::ServiceError
91
+ def message: () -> ::String
92
+ end
93
+ class UnsupportedOperation < ::Aws::Errors::ServiceError
94
+ def message: () -> ::String
95
+ end
96
+ end
97
+ end
98
+ end
data/sig/message.rbs ADDED
@@ -0,0 +1,73 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module SQS
10
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SQS/Message.html
11
+ class Message
12
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SQS/Message.html#initialize-instance_method
13
+ def initialize: (String queue_url, String receipt_handle, Hash[Symbol, untyped] options) -> void
14
+ | (queue_url: String, receipt_handle: String, ?client: Client) -> void
15
+ | (Hash[Symbol, untyped] args) -> void
16
+
17
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SQS/Message.html#queue_url-instance_method
18
+ def queue_url: () -> String
19
+
20
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SQS/Message.html#receipt_handle-instance_method
21
+ def receipt_handle: () -> String
22
+
23
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SQS/Message.html#message_id-instance_method
24
+ def message_id: () -> ::String
25
+
26
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SQS/Message.html#md5_of_body-instance_method
27
+ def md5_of_body: () -> ::String
28
+
29
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SQS/Message.html#body-instance_method
30
+ def body: () -> ::String
31
+
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]
34
+
35
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SQS/Message.html#md5_of_message_attributes-instance_method
36
+ def md5_of_message_attributes: () -> ::String
37
+
38
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SQS/Message.html#message_attributes-instance_method
39
+ def message_attributes: () -> ::Hash[::String, Types::MessageAttributeValue]
40
+
41
+ def client: () -> Client
42
+
43
+
44
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SQS/Message.html#data-instance_method
45
+ def data: () -> Types::Message
46
+
47
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SQS/Message.html#data_loaded?-instance_method
48
+ def data_loaded?: () -> bool
49
+
50
+
51
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SQS/Message.html#change_visibility-instance_method
52
+ def change_visibility: (
53
+ visibility_timeout: ::Integer
54
+ ) -> ::Aws::EmptyStructure
55
+ | (?Hash[Symbol, untyped]) -> ::Aws::EmptyStructure
56
+
57
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SQS/Message.html#delete-instance_method
58
+ def delete: (
59
+ ) -> ::Aws::EmptyStructure
60
+ | (?Hash[Symbol, untyped]) -> ::Aws::EmptyStructure
61
+
62
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SQS/Message.html#queue-instance_method
63
+ def queue: () -> Queue
64
+
65
+ class Collection < ::Aws::Resources::Collection[Message]
66
+
67
+ def batch_delete!: (
68
+ ) -> void
69
+ | (?Hash[Symbol, untyped]) -> void
70
+ end
71
+ end
72
+ end
73
+ end