aws-sdk-sqs 1.69.0 → 1.71.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-sqs/client.rb +70 -46
- data/lib/aws-sdk-sqs/plugins/endpoints.rb +1 -0
- data/lib/aws-sdk-sqs.rb +1 -1
- data/sig/client.rbs +363 -0
- data/sig/errors.rbs +98 -0
- data/sig/message.rbs +73 -0
- data/sig/queue.rbs +163 -0
- data/sig/resource.rbs +105 -0
- data/sig/types.rbs +471 -0
- data/sig/waiters.rbs +13 -0
- metadata +15 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2878138ab29e46e1ad37b1847af75b7c0a07415c5d588ea5d3c07be3a6a87d76
|
4
|
+
data.tar.gz: 898ce0541417698de2f7d93afa8db831f222f8ee3644d836e23156d08869a729
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cdbe34cc44fee0f009243e7a4d245853b43420c2f66a456f13b10c2cc74deff55ddb3426f5f80caa912a19af62ea8fdc2bd3f2439aefc7e3fc2bdcdb0a0ab0a7
|
7
|
+
data.tar.gz: 0d22fafbe4966c1cede8dd85e68f82916b6a20df8d0a45e614c98335798ee86c98634d60032da75b0d8f5d7725ade1a9730a57bf75fe4ed0b491bf7a7a6f4dc5
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.71.0 (2024-04-25)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.70.0 (2024-01-26)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
4
14
|
1.69.0 (2023-11-28)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.71.0
|
data/lib/aws-sdk-sqs/client.rb
CHANGED
@@ -22,6 +22,7 @@ require 'aws-sdk-core/plugins/endpoint_pattern.rb'
|
|
22
22
|
require 'aws-sdk-core/plugins/response_paging.rb'
|
23
23
|
require 'aws-sdk-core/plugins/stub_responses.rb'
|
24
24
|
require 'aws-sdk-core/plugins/idempotency_token.rb'
|
25
|
+
require 'aws-sdk-core/plugins/invocation_id.rb'
|
25
26
|
require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
|
26
27
|
require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
|
27
28
|
require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
|
@@ -74,6 +75,7 @@ module Aws::SQS
|
|
74
75
|
add_plugin(Aws::Plugins::ResponsePaging)
|
75
76
|
add_plugin(Aws::Plugins::StubResponses)
|
76
77
|
add_plugin(Aws::Plugins::IdempotencyToken)
|
78
|
+
add_plugin(Aws::Plugins::InvocationId)
|
77
79
|
add_plugin(Aws::Plugins::JsonvalueConverter)
|
78
80
|
add_plugin(Aws::Plugins::ClientMetricsPlugin)
|
79
81
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
@@ -200,10 +202,17 @@ module Aws::SQS
|
|
200
202
|
# When set to 'true' the request body will not be compressed
|
201
203
|
# for supported operations.
|
202
204
|
#
|
203
|
-
# @option options [String] :endpoint
|
204
|
-
#
|
205
|
-
#
|
206
|
-
#
|
205
|
+
# @option options [String, URI::HTTPS, URI::HTTP] :endpoint
|
206
|
+
# Normally you should not configure the `:endpoint` option
|
207
|
+
# directly. This is normally constructed from the `:region`
|
208
|
+
# option. Configuring `:endpoint` is normally reserved for
|
209
|
+
# connecting to test or custom endpoints. The endpoint should
|
210
|
+
# be a URI formatted like:
|
211
|
+
#
|
212
|
+
# 'http://example.com'
|
213
|
+
# 'https://example.com'
|
214
|
+
# 'http://example.com:123'
|
215
|
+
#
|
207
216
|
#
|
208
217
|
# @option options [Integer] :endpoint_cache_max_entries (1000)
|
209
218
|
# Used for the maximum size limit of the LRU cache storing endpoints data
|
@@ -357,50 +366,65 @@ module Aws::SQS
|
|
357
366
|
# @option options [Aws::SQS::EndpointProvider] :endpoint_provider
|
358
367
|
# The endpoint provider used to resolve endpoints. Any object that responds to `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to `Aws::SQS::EndpointParameters`
|
359
368
|
#
|
360
|
-
# @option options [
|
361
|
-
#
|
362
|
-
#
|
363
|
-
#
|
364
|
-
#
|
365
|
-
#
|
366
|
-
#
|
367
|
-
#
|
368
|
-
#
|
369
|
-
#
|
370
|
-
#
|
371
|
-
# @option options [Float] :
|
372
|
-
#
|
373
|
-
#
|
374
|
-
#
|
375
|
-
#
|
376
|
-
#
|
377
|
-
#
|
378
|
-
#
|
379
|
-
#
|
380
|
-
#
|
381
|
-
#
|
382
|
-
#
|
383
|
-
#
|
384
|
-
#
|
369
|
+
# @option options [Float] :http_continue_timeout (1)
|
370
|
+
# The number of seconds to wait for a 100-continue response before sending the
|
371
|
+
# request body. This option has no effect unless the request has "Expect"
|
372
|
+
# header set to "100-continue". Defaults to `nil` which disables this
|
373
|
+
# behaviour. This value can safely be set per request on the session.
|
374
|
+
#
|
375
|
+
# @option options [Float] :http_idle_timeout (5)
|
376
|
+
# The number of seconds a connection is allowed to sit idle before it
|
377
|
+
# is considered stale. Stale connections are closed and removed from the
|
378
|
+
# pool before making a request.
|
379
|
+
#
|
380
|
+
# @option options [Float] :http_open_timeout (15)
|
381
|
+
# The default number of seconds to wait for response data.
|
382
|
+
# This value can safely be set per-request on the session.
|
383
|
+
#
|
384
|
+
# @option options [URI::HTTP,String] :http_proxy
|
385
|
+
# A proxy to send requests through. Formatted like 'http://proxy.com:123'.
|
386
|
+
#
|
387
|
+
# @option options [Float] :http_read_timeout (60)
|
388
|
+
# The default number of seconds to wait for response data.
|
389
|
+
# This value can safely be set per-request on the session.
|
390
|
+
#
|
391
|
+
# @option options [Boolean] :http_wire_trace (false)
|
392
|
+
# When `true`, HTTP debug output will be sent to the `:logger`.
|
393
|
+
#
|
394
|
+
# @option options [Proc] :on_chunk_received
|
395
|
+
# When a Proc object is provided, it will be used as callback when each chunk
|
396
|
+
# of the response body is received. It provides three arguments: the chunk,
|
397
|
+
# the number of bytes received, and the total number of
|
398
|
+
# bytes in the response (or nil if the server did not send a `content-length`).
|
399
|
+
#
|
400
|
+
# @option options [Proc] :on_chunk_sent
|
401
|
+
# When a Proc object is provided, it will be used as callback when each chunk
|
402
|
+
# of the request body is sent. It provides three arguments: the chunk,
|
403
|
+
# the number of bytes read from the body, and the total number of
|
404
|
+
# bytes in the body.
|
405
|
+
#
|
406
|
+
# @option options [Boolean] :raise_response_errors (true)
|
407
|
+
# When `true`, response errors are raised.
|
408
|
+
#
|
409
|
+
# @option options [String] :ssl_ca_bundle
|
410
|
+
# Full path to the SSL certificate authority bundle file that should be used when
|
411
|
+
# verifying peer certificates. If you do not pass `:ssl_ca_bundle` or
|
412
|
+
# `:ssl_ca_directory` the the system default will be used if available.
|
413
|
+
#
|
414
|
+
# @option options [String] :ssl_ca_directory
|
415
|
+
# Full path of the directory that contains the unbundled SSL certificate
|
416
|
+
# authority files for verifying peer certificates. If you do
|
417
|
+
# not pass `:ssl_ca_bundle` or `:ssl_ca_directory` the the system
|
418
|
+
# default will be used if available.
|
385
419
|
#
|
386
|
-
# @option options [
|
387
|
-
#
|
420
|
+
# @option options [String] :ssl_ca_store
|
421
|
+
# Sets the X509::Store to verify peer certificate.
|
388
422
|
#
|
389
|
-
# @option options [
|
390
|
-
#
|
391
|
-
# connection.
|
423
|
+
# @option options [Float] :ssl_timeout
|
424
|
+
# Sets the SSL timeout in seconds
|
392
425
|
#
|
393
|
-
# @option options [
|
394
|
-
#
|
395
|
-
# verifying peer certificates. If you do not pass
|
396
|
-
# `:ssl_ca_bundle` or `:ssl_ca_directory` the the system default
|
397
|
-
# will be used if available.
|
398
|
-
#
|
399
|
-
# @option options [String] :ssl_ca_directory Full path of the
|
400
|
-
# directory that contains the unbundled SSL certificate
|
401
|
-
# authority files for verifying peer certificates. If you do
|
402
|
-
# not pass `:ssl_ca_bundle` or `:ssl_ca_directory` the the
|
403
|
-
# system default will be used if available.
|
426
|
+
# @option options [Boolean] :ssl_verify_peer (true)
|
427
|
+
# When `true`, SSL peer certificates are verified when establishing a connection.
|
404
428
|
#
|
405
429
|
def initialize(*args)
|
406
430
|
super
|
@@ -2796,7 +2820,7 @@ module Aws::SQS
|
|
2796
2820
|
params: params,
|
2797
2821
|
config: config)
|
2798
2822
|
context[:gem_name] = 'aws-sdk-sqs'
|
2799
|
-
context[:gem_version] = '1.
|
2823
|
+
context[:gem_version] = '1.71.0'
|
2800
2824
|
Seahorse::Client::Request.new(handlers, context)
|
2801
2825
|
end
|
2802
2826
|
|
@@ -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
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
|
+
|