aws-sdk-sqs 1.20.0 → 1.21.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-sqs.rb +1 -1
- data/lib/aws-sdk-sqs/client.rb +43 -10
- data/lib/aws-sdk-sqs/client_api.rb +1 -0
- data/lib/aws-sdk-sqs/resource.rb +37 -0
- data/lib/aws-sdk-sqs/types.rb +41 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4f561eb6bafdd99143c49b988c5eaebffc7431e5
|
4
|
+
data.tar.gz: c8458023c08d6e397ce5b78318046a823d4b2aba
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 86241f853ff10b5879c82d861f9ad224853fb0f7f94f15e63c3e4fc2a01b8b63fa9dcc5f45e57c0f3867ccfc6409f3c962e19afbc69f1f49cae7ec28ea3bc98f
|
7
|
+
data.tar.gz: 9c87e237c809b3cd56fb26aa58816951d6d522921e894230d50b6cb4e519b6ee116c79351312e02c70b2e57c6103e010dcf395faf8bf740490f639743d384cc0
|
data/lib/aws-sdk-sqs.rb
CHANGED
data/lib/aws-sdk-sqs/client.rb
CHANGED
@@ -731,6 +731,41 @@ module Aws::SQS
|
|
731
731
|
# [10]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues.html#FIFO-queues-understanding-logic
|
732
732
|
# [11]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues.html#FIFO-queues-exactly-once-processing
|
733
733
|
#
|
734
|
+
# @option params [Hash<String,String>] :tags
|
735
|
+
# Add cost allocation tags to the specified Amazon SQS queue. For an
|
736
|
+
# overview, see [Tagging Your Amazon SQS Queues][1] in the *Amazon
|
737
|
+
# Simple Queue Service Developer Guide*.
|
738
|
+
#
|
739
|
+
# When you use queue tags, keep the following guidelines in mind:
|
740
|
+
#
|
741
|
+
# * Adding more than 50 tags to a queue isn't recommended.
|
742
|
+
#
|
743
|
+
# * Tags don't have any semantic meaning. Amazon SQS interprets tags as
|
744
|
+
# character strings.
|
745
|
+
#
|
746
|
+
# * Tags are case-sensitive.
|
747
|
+
#
|
748
|
+
# * A new tag with a key identical to that of an existing tag overwrites
|
749
|
+
# the existing tag.
|
750
|
+
#
|
751
|
+
# For a full list of tag restrictions, see [Limits Related to Queues][2]
|
752
|
+
# in the *Amazon Simple Queue Service Developer Guide*.
|
753
|
+
#
|
754
|
+
# <note markdown="1"> To be able to tag a queue on creation, you must have the
|
755
|
+
# `sqs:CreateQueue` and `sqs:TagQueue` permissions.
|
756
|
+
#
|
757
|
+
# Cross-account permissions don't apply to this action. For more
|
758
|
+
# information, see [Grant Cross-Account Permissions to a Role and a User
|
759
|
+
# Name][3] in the *Amazon Simple Queue Service Developer Guide*.
|
760
|
+
#
|
761
|
+
# </note>
|
762
|
+
#
|
763
|
+
#
|
764
|
+
#
|
765
|
+
# [1]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-queue-tags.html
|
766
|
+
# [2]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-limits.html#limits-queues
|
767
|
+
# [3]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-customer-managed-policy-examples.html#grant-cross-account-permissions-to-role-and-user-name
|
768
|
+
#
|
734
769
|
# @return [Types::CreateQueueResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
735
770
|
#
|
736
771
|
# * {Types::CreateQueueResult#queue_url #queue_url} => String
|
@@ -742,6 +777,9 @@ module Aws::SQS
|
|
742
777
|
# attributes: {
|
743
778
|
# "All" => "String",
|
744
779
|
# },
|
780
|
+
# tags: {
|
781
|
+
# "TagKey" => "TagValue",
|
782
|
+
# },
|
745
783
|
# })
|
746
784
|
#
|
747
785
|
# @example Response structure
|
@@ -2055,25 +2093,20 @@ module Aws::SQS
|
|
2055
2093
|
# * A new tag with a key identical to that of an existing tag overwrites
|
2056
2094
|
# the existing tag.
|
2057
2095
|
#
|
2058
|
-
#
|
2059
|
-
# application requires a higher throughput, file a [technical support
|
2060
|
-
# request][2].
|
2061
|
-
#
|
2062
|
-
# For a full list of tag restrictions, see [Limits Related to Queues][3]
|
2096
|
+
# For a full list of tag restrictions, see [Limits Related to Queues][2]
|
2063
2097
|
# in the *Amazon Simple Queue Service Developer Guide*.
|
2064
2098
|
#
|
2065
2099
|
# <note markdown="1"> Cross-account permissions don't apply to this action. For more
|
2066
2100
|
# information, see [Grant Cross-Account Permissions to a Role and a User
|
2067
|
-
# Name][
|
2101
|
+
# Name][3] in the *Amazon Simple Queue Service Developer Guide*.
|
2068
2102
|
#
|
2069
2103
|
# </note>
|
2070
2104
|
#
|
2071
2105
|
#
|
2072
2106
|
#
|
2073
2107
|
# [1]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-queue-tags.html
|
2074
|
-
# [2]: https://
|
2075
|
-
# [3]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-
|
2076
|
-
# [4]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-customer-managed-policy-examples.html#grant-cross-account-permissions-to-role-and-user-name
|
2108
|
+
# [2]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-limits.html#limits-queues
|
2109
|
+
# [3]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-customer-managed-policy-examples.html#grant-cross-account-permissions-to-role-and-user-name
|
2077
2110
|
#
|
2078
2111
|
# @option params [required, String] :queue_url
|
2079
2112
|
# The URL of the queue.
|
@@ -2153,7 +2186,7 @@ module Aws::SQS
|
|
2153
2186
|
params: params,
|
2154
2187
|
config: config)
|
2155
2188
|
context[:gem_name] = 'aws-sdk-sqs'
|
2156
|
-
context[:gem_version] = '1.
|
2189
|
+
context[:gem_version] = '1.21.0'
|
2157
2190
|
Seahorse::Client::Request.new(handlers, context)
|
2158
2191
|
end
|
2159
2192
|
|
@@ -146,6 +146,7 @@ module Aws::SQS
|
|
146
146
|
|
147
147
|
CreateQueueRequest.add_member(:queue_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "QueueName"))
|
148
148
|
CreateQueueRequest.add_member(:attributes, Shapes::ShapeRef.new(shape: QueueAttributeMap, location_name: "Attribute"))
|
149
|
+
CreateQueueRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tag"))
|
149
150
|
CreateQueueRequest.struct_class = Types::CreateQueueRequest
|
150
151
|
|
151
152
|
CreateQueueResult.add_member(:queue_url, Shapes::ShapeRef.new(shape: String, location_name: "QueueUrl"))
|
data/lib/aws-sdk-sqs/resource.rb
CHANGED
@@ -28,6 +28,9 @@ module Aws::SQS
|
|
28
28
|
# attributes: {
|
29
29
|
# "All" => "String",
|
30
30
|
# },
|
31
|
+
# tags: {
|
32
|
+
# "TagKey" => "TagValue",
|
33
|
+
# },
|
31
34
|
# })
|
32
35
|
# @param [Hash] options ({})
|
33
36
|
# @option options [required, String] :queue_name
|
@@ -173,6 +176,40 @@ module Aws::SQS
|
|
173
176
|
# [9]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues.html
|
174
177
|
# [10]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues.html#FIFO-queues-understanding-logic
|
175
178
|
# [11]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues.html#FIFO-queues-exactly-once-processing
|
179
|
+
# @option options [Hash<String,String>] :tags
|
180
|
+
# Add cost allocation tags to the specified Amazon SQS queue. For an
|
181
|
+
# overview, see [Tagging Your Amazon SQS Queues][1] in the *Amazon
|
182
|
+
# Simple Queue Service Developer Guide*.
|
183
|
+
#
|
184
|
+
# When you use queue tags, keep the following guidelines in mind:
|
185
|
+
#
|
186
|
+
# * Adding more than 50 tags to a queue isn't recommended.
|
187
|
+
#
|
188
|
+
# * Tags don't have any semantic meaning. Amazon SQS interprets tags as
|
189
|
+
# character strings.
|
190
|
+
#
|
191
|
+
# * Tags are case-sensitive.
|
192
|
+
#
|
193
|
+
# * A new tag with a key identical to that of an existing tag overwrites
|
194
|
+
# the existing tag.
|
195
|
+
#
|
196
|
+
# For a full list of tag restrictions, see [Limits Related to Queues][2]
|
197
|
+
# in the *Amazon Simple Queue Service Developer Guide*.
|
198
|
+
#
|
199
|
+
# <note markdown="1"> To be able to tag a queue on creation, you must have the
|
200
|
+
# `sqs:CreateQueue` and `sqs:TagQueue` permissions.
|
201
|
+
#
|
202
|
+
# Cross-account permissions don't apply to this action. For more
|
203
|
+
# information, see [Grant Cross-Account Permissions to a Role and a User
|
204
|
+
# Name][3] in the *Amazon Simple Queue Service Developer Guide*.
|
205
|
+
#
|
206
|
+
# </note>
|
207
|
+
#
|
208
|
+
#
|
209
|
+
#
|
210
|
+
# [1]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-queue-tags.html
|
211
|
+
# [2]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-limits.html#limits-queues
|
212
|
+
# [3]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-customer-managed-policy-examples.html#grant-cross-account-permissions-to-role-and-user-name
|
176
213
|
# @return [Queue]
|
177
214
|
def create_queue(options = {})
|
178
215
|
resp = @client.create_queue(options)
|
data/lib/aws-sdk-sqs/types.rb
CHANGED
@@ -263,6 +263,9 @@ module Aws::SQS
|
|
263
263
|
# attributes: {
|
264
264
|
# "All" => "String",
|
265
265
|
# },
|
266
|
+
# tags: {
|
267
|
+
# "TagKey" => "TagValue",
|
268
|
+
# },
|
266
269
|
# }
|
267
270
|
#
|
268
271
|
# @!attribute [rw] queue_name
|
@@ -414,11 +417,48 @@ module Aws::SQS
|
|
414
417
|
# [11]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues.html#FIFO-queues-exactly-once-processing
|
415
418
|
# @return [Hash<String,String>]
|
416
419
|
#
|
420
|
+
# @!attribute [rw] tags
|
421
|
+
# Add cost allocation tags to the specified Amazon SQS queue. For an
|
422
|
+
# overview, see [Tagging Your Amazon SQS Queues][1] in the *Amazon
|
423
|
+
# Simple Queue Service Developer Guide*.
|
424
|
+
#
|
425
|
+
# When you use queue tags, keep the following guidelines in mind:
|
426
|
+
#
|
427
|
+
# * Adding more than 50 tags to a queue isn't recommended.
|
428
|
+
#
|
429
|
+
# * Tags don't have any semantic meaning. Amazon SQS interprets tags
|
430
|
+
# as character strings.
|
431
|
+
#
|
432
|
+
# * Tags are case-sensitive.
|
433
|
+
#
|
434
|
+
# * A new tag with a key identical to that of an existing tag
|
435
|
+
# overwrites the existing tag.
|
436
|
+
#
|
437
|
+
# For a full list of tag restrictions, see [Limits Related to
|
438
|
+
# Queues][2] in the *Amazon Simple Queue Service Developer Guide*.
|
439
|
+
#
|
440
|
+
# <note markdown="1"> To be able to tag a queue on creation, you must have the
|
441
|
+
# `sqs:CreateQueue` and `sqs:TagQueue` permissions.
|
442
|
+
#
|
443
|
+
# Cross-account permissions don't apply to this action. For more
|
444
|
+
# information, see [Grant Cross-Account Permissions to a Role and a
|
445
|
+
# User Name][3] in the *Amazon Simple Queue Service Developer Guide*.
|
446
|
+
#
|
447
|
+
# </note>
|
448
|
+
#
|
449
|
+
#
|
450
|
+
#
|
451
|
+
# [1]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-queue-tags.html
|
452
|
+
# [2]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-limits.html#limits-queues
|
453
|
+
# [3]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-customer-managed-policy-examples.html#grant-cross-account-permissions-to-role-and-user-name
|
454
|
+
# @return [Hash<String,String>]
|
455
|
+
#
|
417
456
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/CreateQueueRequest AWS API Documentation
|
418
457
|
#
|
419
458
|
class CreateQueueRequest < Struct.new(
|
420
459
|
:queue_name,
|
421
|
-
:attributes
|
460
|
+
:attributes,
|
461
|
+
:tags)
|
422
462
|
include Aws::Structure
|
423
463
|
end
|
424
464
|
|
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.21.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: 2019-
|
11
|
+
date: 2019-08-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|