aws-sdk-sqs 1.52.0 → 1.53.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 +12 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-sqs/client.rb +1 -1
- data/lib/aws-sdk-sqs/endpoint_provider.rb +38 -100
- data/lib/aws-sdk-sqs/queue_poller.rb +6 -0
- data/lib/aws-sdk-sqs/types.rb +0 -302
- data/lib/aws-sdk-sqs.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 90d20b4e89574d0ee0ac22972c6f1ec4bc4b9a5bab4ae8d3f5875b862323419d
|
4
|
+
data.tar.gz: c3d9765193c51b99a6ca27d08efbce3bf603e5120a3b854105f16467c3985eaa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 882171d3792f7ef19c38f787cd32c8d60d33734e25027026d848a79f9a90d2441aed637c574ce85b63500967d4736c6c64678177149983929564c5046a1b8606
|
7
|
+
data.tar.gz: 385fb18b7eaba33cf97b47a96646eb79ae9a412df6782753fee8c118f09bf727decd0a5836a5568bd73b1bf1d0e7e9f8afa1e683dd77ddc8487bd8d2a6beb3f4
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,18 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.53.0 (2023-01-18)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
* Issue - Replace runtime endpoint resolution approach with generated ruby code.
|
10
|
+
|
11
|
+
1.52.1 (2022-12-02)
|
12
|
+
------------------
|
13
|
+
|
14
|
+
* Issue - Raise ArgumentError when QueuePoller's :max_number_of_messages is not a positive integer.
|
15
|
+
|
4
16
|
1.52.0 (2022-10-25)
|
5
17
|
------------------
|
6
18
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.53.0
|
data/lib/aws-sdk-sqs/client.rb
CHANGED
@@ -9,108 +9,46 @@
|
|
9
9
|
|
10
10
|
module Aws::SQS
|
11
11
|
class EndpointProvider
|
12
|
-
def
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
12
|
+
def resolve_endpoint(parameters)
|
13
|
+
region = parameters.region
|
14
|
+
use_dual_stack = parameters.use_dual_stack
|
15
|
+
use_fips = parameters.use_fips
|
16
|
+
endpoint = parameters.endpoint
|
17
|
+
if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
|
18
|
+
if Aws::Endpoints::Matchers.set?(endpoint) && (url = Aws::Endpoints::Matchers.parse_url(endpoint))
|
19
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
20
|
+
raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
|
21
|
+
end
|
22
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
23
|
+
raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
24
|
+
end
|
25
|
+
return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
|
26
|
+
end
|
27
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
28
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
29
|
+
return Aws::Endpoints::Endpoint.new(url: "https://sqs-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
30
|
+
end
|
31
|
+
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
32
|
+
end
|
33
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
34
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
|
35
|
+
if Aws::Endpoints::Matchers.string_equals?("aws-us-gov", Aws::Endpoints::Matchers.attr(partition_result, "name"))
|
36
|
+
return Aws::Endpoints::Endpoint.new(url: "https://sqs.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
37
|
+
end
|
38
|
+
return Aws::Endpoints::Endpoint.new(url: "https://sqs-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
39
|
+
end
|
40
|
+
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
41
|
+
end
|
42
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
43
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
44
|
+
return Aws::Endpoints::Endpoint.new(url: "https://sqs.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
45
|
+
end
|
46
|
+
raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
|
47
|
+
end
|
48
|
+
return Aws::Endpoints::Endpoint.new(url: "https://sqs.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
21
49
|
end
|
22
|
-
|
23
|
-
end
|
50
|
+
raise ArgumentError, 'No endpoint could be resolved'
|
24
51
|
|
25
|
-
def resolve_endpoint(parameters)
|
26
|
-
@provider.resolve_endpoint(parameters)
|
27
52
|
end
|
28
|
-
|
29
|
-
# @api private
|
30
|
-
RULES = <<-JSON
|
31
|
-
eyJ2ZXJzaW9uIjoiMS4wIiwicGFyYW1ldGVycyI6eyJSZWdpb24iOnsiYnVp
|
32
|
-
bHRJbiI6IkFXUzo6UmVnaW9uIiwicmVxdWlyZWQiOm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2siLCJ0eXBlIjoiZXJyb3IifV19LHsiY29uZGl0aW9ucyI6
|
110
|
-
W10sImVuZHBvaW50Ijp7InVybCI6Imh0dHBzOi8vc3FzLntSZWdpb259LntQ
|
111
|
-
YXJ0aXRpb25SZXN1bHQjZG5zU3VmZml4fSIsInByb3BlcnRpZXMiOnt9LCJo
|
112
|
-
ZWFkZXJzIjp7fX0sInR5cGUiOiJlbmRwb2ludCJ9XX1dfQ==
|
113
|
-
|
114
|
-
JSON
|
115
53
|
end
|
116
54
|
end
|
@@ -498,6 +498,12 @@ module Aws
|
|
498
498
|
raise ArgumentError, "invalid option #{opt_name.inspect}"
|
499
499
|
end
|
500
500
|
end
|
501
|
+
|
502
|
+
max_number_of_messages = @request_params[:max_number_of_messages]
|
503
|
+
unless max_number_of_messages.is_a?(Integer) && max_number_of_messages.positive?
|
504
|
+
raise ArgumentError, ':max_number_of_messages must be a positive integer'
|
505
|
+
end
|
506
|
+
|
501
507
|
@request_params.freeze
|
502
508
|
freeze
|
503
509
|
end
|
data/lib/aws-sdk-sqs/types.rb
CHANGED
@@ -10,16 +10,6 @@
|
|
10
10
|
module Aws::SQS
|
11
11
|
module Types
|
12
12
|
|
13
|
-
# @note When making an API call, you may pass AddPermissionRequest
|
14
|
-
# data as a hash:
|
15
|
-
#
|
16
|
-
# {
|
17
|
-
# queue_url: "String", # required
|
18
|
-
# label: "String", # required
|
19
|
-
# aws_account_ids: ["String"], # required
|
20
|
-
# actions: ["String"], # required
|
21
|
-
# }
|
22
|
-
#
|
23
13
|
# @!attribute [rw] queue_url
|
24
14
|
# The URL of the Amazon SQS queue to which permissions are added.
|
25
15
|
#
|
@@ -118,20 +108,6 @@ module Aws::SQS
|
|
118
108
|
include Aws::Structure
|
119
109
|
end
|
120
110
|
|
121
|
-
# @note When making an API call, you may pass ChangeMessageVisibilityBatchRequest
|
122
|
-
# data as a hash:
|
123
|
-
#
|
124
|
-
# {
|
125
|
-
# queue_url: "String", # required
|
126
|
-
# entries: [ # required
|
127
|
-
# {
|
128
|
-
# id: "String", # required
|
129
|
-
# receipt_handle: "String", # required
|
130
|
-
# visibility_timeout: 1,
|
131
|
-
# },
|
132
|
-
# ],
|
133
|
-
# }
|
134
|
-
#
|
135
111
|
# @!attribute [rw] queue_url
|
136
112
|
# The URL of the Amazon SQS queue whose messages' visibility is
|
137
113
|
# changed.
|
@@ -167,15 +143,6 @@ module Aws::SQS
|
|
167
143
|
#
|
168
144
|
# `&ChangeMessageVisibilityBatchRequestEntry.1.VisibilityTimeout=45`
|
169
145
|
#
|
170
|
-
# @note When making an API call, you may pass ChangeMessageVisibilityBatchRequestEntry
|
171
|
-
# data as a hash:
|
172
|
-
#
|
173
|
-
# {
|
174
|
-
# id: "String", # required
|
175
|
-
# receipt_handle: "String", # required
|
176
|
-
# visibility_timeout: 1,
|
177
|
-
# }
|
178
|
-
#
|
179
146
|
# @!attribute [rw] id
|
180
147
|
# An identifier for this particular receipt handle used to communicate
|
181
148
|
# the result.
|
@@ -243,15 +210,6 @@ module Aws::SQS
|
|
243
210
|
include Aws::Structure
|
244
211
|
end
|
245
212
|
|
246
|
-
# @note When making an API call, you may pass ChangeMessageVisibilityRequest
|
247
|
-
# data as a hash:
|
248
|
-
#
|
249
|
-
# {
|
250
|
-
# queue_url: "String", # required
|
251
|
-
# receipt_handle: "String", # required
|
252
|
-
# visibility_timeout: 1, # required
|
253
|
-
# }
|
254
|
-
#
|
255
213
|
# @!attribute [rw] queue_url
|
256
214
|
# The URL of the Amazon SQS queue whose message's visibility is
|
257
215
|
# changed.
|
@@ -280,19 +238,6 @@ module Aws::SQS
|
|
280
238
|
include Aws::Structure
|
281
239
|
end
|
282
240
|
|
283
|
-
# @note When making an API call, you may pass CreateQueueRequest
|
284
|
-
# data as a hash:
|
285
|
-
#
|
286
|
-
# {
|
287
|
-
# queue_name: "String", # required
|
288
|
-
# attributes: {
|
289
|
-
# "All" => "String",
|
290
|
-
# },
|
291
|
-
# tags: {
|
292
|
-
# "TagKey" => "TagValue",
|
293
|
-
# },
|
294
|
-
# }
|
295
|
-
#
|
296
241
|
# @!attribute [rw] queue_name
|
297
242
|
# The name of the new queue. The following limits apply to this name:
|
298
243
|
#
|
@@ -538,19 +483,6 @@ module Aws::SQS
|
|
538
483
|
include Aws::Structure
|
539
484
|
end
|
540
485
|
|
541
|
-
# @note When making an API call, you may pass DeleteMessageBatchRequest
|
542
|
-
# data as a hash:
|
543
|
-
#
|
544
|
-
# {
|
545
|
-
# queue_url: "String", # required
|
546
|
-
# entries: [ # required
|
547
|
-
# {
|
548
|
-
# id: "String", # required
|
549
|
-
# receipt_handle: "String", # required
|
550
|
-
# },
|
551
|
-
# ],
|
552
|
-
# }
|
553
|
-
#
|
554
486
|
# @!attribute [rw] queue_url
|
555
487
|
# The URL of the Amazon SQS queue from which messages are deleted.
|
556
488
|
#
|
@@ -572,14 +504,6 @@ module Aws::SQS
|
|
572
504
|
|
573
505
|
# Encloses a receipt handle and an identifier for it.
|
574
506
|
#
|
575
|
-
# @note When making an API call, you may pass DeleteMessageBatchRequestEntry
|
576
|
-
# data as a hash:
|
577
|
-
#
|
578
|
-
# {
|
579
|
-
# id: "String", # required
|
580
|
-
# receipt_handle: "String", # required
|
581
|
-
# }
|
582
|
-
#
|
583
507
|
# @!attribute [rw] id
|
584
508
|
# An identifier for this particular receipt handle. This is used to
|
585
509
|
# communicate the result.
|
@@ -641,14 +565,6 @@ module Aws::SQS
|
|
641
565
|
include Aws::Structure
|
642
566
|
end
|
643
567
|
|
644
|
-
# @note When making an API call, you may pass DeleteMessageRequest
|
645
|
-
# data as a hash:
|
646
|
-
#
|
647
|
-
# {
|
648
|
-
# queue_url: "String", # required
|
649
|
-
# receipt_handle: "String", # required
|
650
|
-
# }
|
651
|
-
#
|
652
568
|
# @!attribute [rw] queue_url
|
653
569
|
# The URL of the Amazon SQS queue from which messages are deleted.
|
654
570
|
#
|
@@ -668,13 +584,6 @@ module Aws::SQS
|
|
668
584
|
include Aws::Structure
|
669
585
|
end
|
670
586
|
|
671
|
-
# @note When making an API call, you may pass DeleteQueueRequest
|
672
|
-
# data as a hash:
|
673
|
-
#
|
674
|
-
# {
|
675
|
-
# queue_url: "String", # required
|
676
|
-
# }
|
677
|
-
#
|
678
587
|
# @!attribute [rw] queue_url
|
679
588
|
# The URL of the Amazon SQS queue to delete.
|
680
589
|
#
|
@@ -695,14 +604,6 @@ module Aws::SQS
|
|
695
604
|
#
|
696
605
|
class EmptyBatchRequest < Aws::EmptyStructure; end
|
697
606
|
|
698
|
-
# @note When making an API call, you may pass GetQueueAttributesRequest
|
699
|
-
# data as a hash:
|
700
|
-
#
|
701
|
-
# {
|
702
|
-
# queue_url: "String", # required
|
703
|
-
# attribute_names: ["All"], # accepts All, Policy, VisibilityTimeout, MaximumMessageSize, MessageRetentionPeriod, ApproximateNumberOfMessages, ApproximateNumberOfMessagesNotVisible, CreatedTimestamp, LastModifiedTimestamp, QueueArn, ApproximateNumberOfMessagesDelayed, DelaySeconds, ReceiveMessageWaitTimeSeconds, RedrivePolicy, FifoQueue, ContentBasedDeduplication, KmsMasterKeyId, KmsDataKeyReusePeriodSeconds, DeduplicationScope, FifoThroughputLimit, RedriveAllowPolicy, SqsManagedSseEnabled
|
704
|
-
# }
|
705
|
-
#
|
706
607
|
# @!attribute [rw] queue_url
|
707
608
|
# The URL of the Amazon SQS queue whose attribute information is
|
708
609
|
# retrieved.
|
@@ -890,14 +791,6 @@ module Aws::SQS
|
|
890
791
|
include Aws::Structure
|
891
792
|
end
|
892
793
|
|
893
|
-
# @note When making an API call, you may pass GetQueueUrlRequest
|
894
|
-
# data as a hash:
|
895
|
-
#
|
896
|
-
# {
|
897
|
-
# queue_name: "String", # required
|
898
|
-
# queue_owner_aws_account_id: "String",
|
899
|
-
# }
|
900
|
-
#
|
901
794
|
# @!attribute [rw] queue_name
|
902
795
|
# The name of the queue whose URL must be fetched. Maximum 80
|
903
796
|
# characters. Valid values: alphanumeric characters, hyphens (`-`),
|
@@ -964,15 +857,6 @@ module Aws::SQS
|
|
964
857
|
#
|
965
858
|
class InvalidMessageContents < Aws::EmptyStructure; end
|
966
859
|
|
967
|
-
# @note When making an API call, you may pass ListDeadLetterSourceQueuesRequest
|
968
|
-
# data as a hash:
|
969
|
-
#
|
970
|
-
# {
|
971
|
-
# queue_url: "String", # required
|
972
|
-
# next_token: "Token",
|
973
|
-
# max_results: 1,
|
974
|
-
# }
|
975
|
-
#
|
976
860
|
# @!attribute [rw] queue_url
|
977
861
|
# The URL of a dead-letter queue.
|
978
862
|
#
|
@@ -1021,13 +905,6 @@ module Aws::SQS
|
|
1021
905
|
include Aws::Structure
|
1022
906
|
end
|
1023
907
|
|
1024
|
-
# @note When making an API call, you may pass ListQueueTagsRequest
|
1025
|
-
# data as a hash:
|
1026
|
-
#
|
1027
|
-
# {
|
1028
|
-
# queue_url: "String", # required
|
1029
|
-
# }
|
1030
|
-
#
|
1031
908
|
# @!attribute [rw] queue_url
|
1032
909
|
# The URL of the queue.
|
1033
910
|
# @return [String]
|
@@ -1052,15 +929,6 @@ module Aws::SQS
|
|
1052
929
|
include Aws::Structure
|
1053
930
|
end
|
1054
931
|
|
1055
|
-
# @note When making an API call, you may pass ListQueuesRequest
|
1056
|
-
# data as a hash:
|
1057
|
-
#
|
1058
|
-
# {
|
1059
|
-
# queue_name_prefix: "String",
|
1060
|
-
# next_token: "Token",
|
1061
|
-
# max_results: 1,
|
1062
|
-
# }
|
1063
|
-
#
|
1064
932
|
# @!attribute [rw] queue_name_prefix
|
1065
933
|
# A string to use for filtering the list results. Only those queues
|
1066
934
|
# whose name begins with the specified string are returned.
|
@@ -1205,17 +1073,6 @@ module Aws::SQS
|
|
1205
1073
|
# and `Value`, are part of the message size restriction (256 KB or
|
1206
1074
|
# 262,144 bytes).
|
1207
1075
|
#
|
1208
|
-
# @note When making an API call, you may pass MessageAttributeValue
|
1209
|
-
# data as a hash:
|
1210
|
-
#
|
1211
|
-
# {
|
1212
|
-
# string_value: "String",
|
1213
|
-
# binary_value: "data",
|
1214
|
-
# string_list_values: ["String"],
|
1215
|
-
# binary_list_values: ["data"],
|
1216
|
-
# data_type: "String", # required
|
1217
|
-
# }
|
1218
|
-
#
|
1219
1076
|
# @!attribute [rw] string_value
|
1220
1077
|
# Strings are Unicode with UTF-8 binary encoding. For a list of code
|
1221
1078
|
# values, see [ASCII Printable Characters][1].
|
@@ -1276,17 +1133,6 @@ module Aws::SQS
|
|
1276
1133
|
# `Name`, `type`, `value` and the message body must not be empty or
|
1277
1134
|
# null.
|
1278
1135
|
#
|
1279
|
-
# @note When making an API call, you may pass MessageSystemAttributeValue
|
1280
|
-
# data as a hash:
|
1281
|
-
#
|
1282
|
-
# {
|
1283
|
-
# string_value: "String",
|
1284
|
-
# binary_value: "data",
|
1285
|
-
# string_list_values: ["String"],
|
1286
|
-
# binary_list_values: ["data"],
|
1287
|
-
# data_type: "String", # required
|
1288
|
-
# }
|
1289
|
-
#
|
1290
1136
|
# @!attribute [rw] string_value
|
1291
1137
|
# Strings are Unicode with UTF-8 binary encoding. For a list of code
|
1292
1138
|
# values, see [ASCII Printable Characters][1].
|
@@ -1351,13 +1197,6 @@ module Aws::SQS
|
|
1351
1197
|
#
|
1352
1198
|
class PurgeQueueInProgress < Aws::EmptyStructure; end
|
1353
1199
|
|
1354
|
-
# @note When making an API call, you may pass PurgeQueueRequest
|
1355
|
-
# data as a hash:
|
1356
|
-
#
|
1357
|
-
# {
|
1358
|
-
# queue_url: "String", # required
|
1359
|
-
# }
|
1360
|
-
#
|
1361
1200
|
# @!attribute [rw] queue_url
|
1362
1201
|
# The URL of the queue from which the `PurgeQueue` action deletes
|
1363
1202
|
# messages.
|
@@ -1400,19 +1239,6 @@ module Aws::SQS
|
|
1400
1239
|
#
|
1401
1240
|
class ReceiptHandleIsInvalid < Aws::EmptyStructure; end
|
1402
1241
|
|
1403
|
-
# @note When making an API call, you may pass ReceiveMessageRequest
|
1404
|
-
# data as a hash:
|
1405
|
-
#
|
1406
|
-
# {
|
1407
|
-
# queue_url: "String", # required
|
1408
|
-
# attribute_names: ["All"], # accepts All, Policy, VisibilityTimeout, MaximumMessageSize, MessageRetentionPeriod, ApproximateNumberOfMessages, ApproximateNumberOfMessagesNotVisible, CreatedTimestamp, LastModifiedTimestamp, QueueArn, ApproximateNumberOfMessagesDelayed, DelaySeconds, ReceiveMessageWaitTimeSeconds, RedrivePolicy, FifoQueue, ContentBasedDeduplication, KmsMasterKeyId, KmsDataKeyReusePeriodSeconds, DeduplicationScope, FifoThroughputLimit, RedriveAllowPolicy, SqsManagedSseEnabled
|
1409
|
-
# message_attribute_names: ["MessageAttributeName"],
|
1410
|
-
# max_number_of_messages: 1,
|
1411
|
-
# visibility_timeout: 1,
|
1412
|
-
# wait_time_seconds: 1,
|
1413
|
-
# receive_request_attempt_id: "String",
|
1414
|
-
# }
|
1415
|
-
#
|
1416
1242
|
# @!attribute [rw] queue_url
|
1417
1243
|
# The URL of the Amazon SQS queue from which messages are received.
|
1418
1244
|
#
|
@@ -1616,14 +1442,6 @@ module Aws::SQS
|
|
1616
1442
|
include Aws::Structure
|
1617
1443
|
end
|
1618
1444
|
|
1619
|
-
# @note When making an API call, you may pass RemovePermissionRequest
|
1620
|
-
# data as a hash:
|
1621
|
-
#
|
1622
|
-
# {
|
1623
|
-
# queue_url: "String", # required
|
1624
|
-
# label: "String", # required
|
1625
|
-
# }
|
1626
|
-
#
|
1627
1445
|
# @!attribute [rw] queue_url
|
1628
1446
|
# The URL of the Amazon SQS queue from which permissions are removed.
|
1629
1447
|
#
|
@@ -1644,40 +1462,6 @@ module Aws::SQS
|
|
1644
1462
|
include Aws::Structure
|
1645
1463
|
end
|
1646
1464
|
|
1647
|
-
# @note When making an API call, you may pass SendMessageBatchRequest
|
1648
|
-
# data as a hash:
|
1649
|
-
#
|
1650
|
-
# {
|
1651
|
-
# queue_url: "String", # required
|
1652
|
-
# entries: [ # required
|
1653
|
-
# {
|
1654
|
-
# id: "String", # required
|
1655
|
-
# message_body: "String", # required
|
1656
|
-
# delay_seconds: 1,
|
1657
|
-
# message_attributes: {
|
1658
|
-
# "String" => {
|
1659
|
-
# string_value: "String",
|
1660
|
-
# binary_value: "data",
|
1661
|
-
# string_list_values: ["String"],
|
1662
|
-
# binary_list_values: ["data"],
|
1663
|
-
# data_type: "String", # required
|
1664
|
-
# },
|
1665
|
-
# },
|
1666
|
-
# message_system_attributes: {
|
1667
|
-
# "AWSTraceHeader" => {
|
1668
|
-
# string_value: "String",
|
1669
|
-
# binary_value: "data",
|
1670
|
-
# string_list_values: ["String"],
|
1671
|
-
# binary_list_values: ["data"],
|
1672
|
-
# data_type: "String", # required
|
1673
|
-
# },
|
1674
|
-
# },
|
1675
|
-
# message_deduplication_id: "String",
|
1676
|
-
# message_group_id: "String",
|
1677
|
-
# },
|
1678
|
-
# ],
|
1679
|
-
# }
|
1680
|
-
#
|
1681
1465
|
# @!attribute [rw] queue_url
|
1682
1466
|
# The URL of the Amazon SQS queue to which batched messages are sent.
|
1683
1467
|
#
|
@@ -1700,35 +1484,6 @@ module Aws::SQS
|
|
1700
1484
|
# Contains the details of a single Amazon SQS message along with an
|
1701
1485
|
# `Id`.
|
1702
1486
|
#
|
1703
|
-
# @note When making an API call, you may pass SendMessageBatchRequestEntry
|
1704
|
-
# data as a hash:
|
1705
|
-
#
|
1706
|
-
# {
|
1707
|
-
# id: "String", # required
|
1708
|
-
# message_body: "String", # required
|
1709
|
-
# delay_seconds: 1,
|
1710
|
-
# message_attributes: {
|
1711
|
-
# "String" => {
|
1712
|
-
# string_value: "String",
|
1713
|
-
# binary_value: "data",
|
1714
|
-
# string_list_values: ["String"],
|
1715
|
-
# binary_list_values: ["data"],
|
1716
|
-
# data_type: "String", # required
|
1717
|
-
# },
|
1718
|
-
# },
|
1719
|
-
# message_system_attributes: {
|
1720
|
-
# "AWSTraceHeader" => {
|
1721
|
-
# string_value: "String",
|
1722
|
-
# binary_value: "data",
|
1723
|
-
# string_list_values: ["String"],
|
1724
|
-
# binary_list_values: ["data"],
|
1725
|
-
# data_type: "String", # required
|
1726
|
-
# },
|
1727
|
-
# },
|
1728
|
-
# message_deduplication_id: "String",
|
1729
|
-
# message_group_id: "String",
|
1730
|
-
# }
|
1731
|
-
#
|
1732
1487
|
# @!attribute [rw] id
|
1733
1488
|
# An identifier for a message in this batch used to communicate the
|
1734
1489
|
# result.
|
@@ -1987,35 +1742,6 @@ module Aws::SQS
|
|
1987
1742
|
include Aws::Structure
|
1988
1743
|
end
|
1989
1744
|
|
1990
|
-
# @note When making an API call, you may pass SendMessageRequest
|
1991
|
-
# data as a hash:
|
1992
|
-
#
|
1993
|
-
# {
|
1994
|
-
# queue_url: "String", # required
|
1995
|
-
# message_body: "String", # required
|
1996
|
-
# delay_seconds: 1,
|
1997
|
-
# message_attributes: {
|
1998
|
-
# "String" => {
|
1999
|
-
# string_value: "String",
|
2000
|
-
# binary_value: "data",
|
2001
|
-
# string_list_values: ["String"],
|
2002
|
-
# binary_list_values: ["data"],
|
2003
|
-
# data_type: "String", # required
|
2004
|
-
# },
|
2005
|
-
# },
|
2006
|
-
# message_system_attributes: {
|
2007
|
-
# "AWSTraceHeader" => {
|
2008
|
-
# string_value: "String",
|
2009
|
-
# binary_value: "data",
|
2010
|
-
# string_list_values: ["String"],
|
2011
|
-
# binary_list_values: ["data"],
|
2012
|
-
# data_type: "String", # required
|
2013
|
-
# },
|
2014
|
-
# },
|
2015
|
-
# message_deduplication_id: "String",
|
2016
|
-
# message_group_id: "String",
|
2017
|
-
# }
|
2018
|
-
#
|
2019
1745
|
# @!attribute [rw] queue_url
|
2020
1746
|
# The URL of the Amazon SQS queue to which a message is sent.
|
2021
1747
|
#
|
@@ -2254,16 +1980,6 @@ module Aws::SQS
|
|
2254
1980
|
include Aws::Structure
|
2255
1981
|
end
|
2256
1982
|
|
2257
|
-
# @note When making an API call, you may pass SetQueueAttributesRequest
|
2258
|
-
# data as a hash:
|
2259
|
-
#
|
2260
|
-
# {
|
2261
|
-
# queue_url: "String", # required
|
2262
|
-
# attributes: { # required
|
2263
|
-
# "All" => "String",
|
2264
|
-
# },
|
2265
|
-
# }
|
2266
|
-
#
|
2267
1983
|
# @!attribute [rw] queue_url
|
2268
1984
|
# The URL of the Amazon SQS queue whose attributes are set.
|
2269
1985
|
#
|
@@ -2440,16 +2156,6 @@ module Aws::SQS
|
|
2440
2156
|
include Aws::Structure
|
2441
2157
|
end
|
2442
2158
|
|
2443
|
-
# @note When making an API call, you may pass TagQueueRequest
|
2444
|
-
# data as a hash:
|
2445
|
-
#
|
2446
|
-
# {
|
2447
|
-
# queue_url: "String", # required
|
2448
|
-
# tags: { # required
|
2449
|
-
# "TagKey" => "TagValue",
|
2450
|
-
# },
|
2451
|
-
# }
|
2452
|
-
#
|
2453
2159
|
# @!attribute [rw] queue_url
|
2454
2160
|
# The URL of the queue.
|
2455
2161
|
# @return [String]
|
@@ -2479,14 +2185,6 @@ module Aws::SQS
|
|
2479
2185
|
#
|
2480
2186
|
class UnsupportedOperation < Aws::EmptyStructure; end
|
2481
2187
|
|
2482
|
-
# @note When making an API call, you may pass UntagQueueRequest
|
2483
|
-
# data as a hash:
|
2484
|
-
#
|
2485
|
-
# {
|
2486
|
-
# queue_url: "String", # required
|
2487
|
-
# tag_keys: ["TagKey"], # required
|
2488
|
-
# }
|
2489
|
-
#
|
2490
2188
|
# @!attribute [rw] queue_url
|
2491
2189
|
# The URL of the queue.
|
2492
2190
|
# @return [String]
|
data/lib/aws-sdk-sqs.rb
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.53.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:
|
11
|
+
date: 2023-01-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|