aws-sdk-sqs 1.2.0 → 1.3.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
  SHA1:
3
- metadata.gz: b832bd080b632c8a3ae7e358b5b372e19f688773
4
- data.tar.gz: 5e29312576aa3f12d403bfcedd3219147355407e
3
+ metadata.gz: 5fef867404bbd6089e02c95944306c69ecaa1aac
4
+ data.tar.gz: 8aa34f7c7298c561845036eb4a5cf381f866f015
5
5
  SHA512:
6
- metadata.gz: 474a3d65117fb1e5c7a6546b4adb272cdbb917420fff8ecc992cf4308751ea114f13d6ad2b5b5e2affb2f71eb593ae6d613efb1b0d89812509947c171295b53d
7
- data.tar.gz: a9f635c4cbb2b35e1b329d99bf466e0fce34cbd86e34e6d447ee2bcffc81e20c8143274882ef26ac69fb650b0ac352bc82503d0c4be68f3bc11ba88b80b8e100
6
+ metadata.gz: 2039c49e98fa3d2b004ea7b70cd7be270cc0e1db41a4fcdff24c14262dbc5569d9b8d360e7e284940fd29c23c144b07d07be529d66edd185d9529ce42b4d5f53
7
+ data.tar.gz: a35961977389737543740e48550fffebe0d9dd3b4ec1f0b9e230a36684961be329d3189ea20a7c5dc44a4926b87cb2c6296f0d083ea00762a2fe60d96d6af63d
@@ -44,6 +44,6 @@ require_relative 'aws-sdk-sqs/customizations'
44
44
  # @service
45
45
  module Aws::SQS
46
46
 
47
- GEM_VERSION = '1.2.0'
47
+ GEM_VERSION = '1.3.0'
48
48
 
49
49
  end
@@ -161,12 +161,14 @@ module Aws::SQS
161
161
  # When you create a queue, you have full control access rights for the
162
162
  # queue. Only you, the owner of the queue, can grant or deny permissions
163
163
  # to the queue. For more information about these permissions, see
164
- # [Shared Queues][2] in the *Amazon SQS Developer Guide*.
164
+ # [Shared Queues][2] in the *Amazon Simple Queue Service Developer
165
+ # Guide*.
165
166
  #
166
167
  # <note markdown="1"> `AddPermission` writes an Amazon-SQS-generated policy. If you want to
167
168
  # write your own policy, use ` SetQueueAttributes ` to upload your
168
169
  # policy. For more information about writing your own policy, see [Using
169
- # The Access Policy Language][3] in the *Amazon SQS Developer Guide*.
170
+ # The Access Policy Language][3] in the *Amazon Simple Queue Service
171
+ # Developer Guide*.
170
172
  #
171
173
  # Some actions take lists of parameters. These lists are specified using
172
174
  # the `param.n` notation. Values of `n` are integers starting from 1.
@@ -199,8 +201,8 @@ module Aws::SQS
199
201
  # The AWS account number of the [principal][1] who is given permission.
200
202
  # The principal must have an AWS account, but does not need to be signed
201
203
  # up for Amazon SQS. For information about locating the AWS account
202
- # identification, see [Your AWS Identifiers][2] in the *Amazon SQS
203
- # Developer Guide*.
204
+ # identification, see [Your AWS Identifiers][2] in the *Amazon Simple
205
+ # Queue Service Developer Guide*.
204
206
  #
205
207
  #
206
208
  #
@@ -226,7 +228,7 @@ module Aws::SQS
226
228
  # * `SendMessage`
227
229
  #
228
230
  # For more information about these actions, see [Understanding
229
- # Permissions][1] in the *Amazon SQS Developer Guide*.
231
+ # Permissions][1] in the *Amazon Simple Queue Service Developer Guide*.
230
232
  #
231
233
  # Specifying `SendMessage`, `DeleteMessage`, or
232
234
  # `ChangeMessageVisibility` for `ActionName.n` also grants permissions
@@ -262,7 +264,8 @@ module Aws::SQS
262
264
  # new value. The maximum allowed timeout value is 12 hours. Thus, you
263
265
  # can't extend the timeout of a message in an existing queue to more
264
266
  # than a total visibility timeout of 12 hours. For more information, see
265
- # [Visibility Timeout][1] in the *Amazon SQS Developer Guide*.
267
+ # [Visibility Timeout][1] in the *Amazon Simple Queue Service Developer
268
+ # Guide*.
266
269
  #
267
270
  # For example, you have a message with a visibility timeout of 5
268
271
  # minutes. After 3 minutes, you call `ChangeMessageVisiblity` with a
@@ -416,7 +419,7 @@ module Aws::SQS
416
419
  # either create a new FIFO queue for your application or delete your
417
420
  # existing standard queue and recreate it as a FIFO queue. For more
418
421
  # information, see [ Moving From a Standard Queue to a FIFO Queue][1]
419
- # in the *Amazon SQS Developer Guide*.
422
+ # in the *Amazon Simple Queue Service Developer Guide*.
420
423
  #
421
424
  # </note>
422
425
  #
@@ -500,8 +503,8 @@ module Aws::SQS
500
503
  # * `RedrivePolicy` - The string that includes the parameters for the
501
504
  # dead-letter queue functionality of the source queue. For more
502
505
  # information about the redrive policy and dead-letter queues, see
503
- # [Using Amazon SQS Dead-Letter Queues][2] in the *Amazon SQS
504
- # Developer Guide*.
506
+ # [Using Amazon SQS Dead-Letter Queues][2] in the *Amazon Simple Queue
507
+ # Service Developer Guide*.
505
508
  #
506
509
  # * `deadLetterTargetArn` - The Amazon Resource Name (ARN) of the
507
510
  # dead-letter queue to which Amazon SQS moves messages after the
@@ -519,7 +522,7 @@ module Aws::SQS
519
522
  # * `VisibilityTimeout` - The visibility timeout for the queue. Valid
520
523
  # values: An integer from 0 to 43,200 (12 hours). The default is 30.
521
524
  # For more information about the visibility timeout, see [Visibility
522
- # Timeout][3] in the *Amazon SQS Developer Guide*.
525
+ # Timeout][3] in the *Amazon Simple Queue Service Developer Guide*.
523
526
  #
524
527
  # The following attributes apply only to [server-side-encryption][4]\:
525
528
  #
@@ -548,12 +551,13 @@ module Aws::SQS
548
551
  # attribute, you must also provide the `MessageGroupId` for your
549
552
  # messages explicitly.
550
553
  #
551
- # For more information, see [FIFO Queue Logic][10] in the *Amazon SQS
552
- # Developer Guide*.
554
+ # For more information, see [FIFO Queue Logic][10] in the *Amazon
555
+ # Simple Queue Service Developer Guide*.
553
556
  #
554
557
  # * `ContentBasedDeduplication` - Enables content-based deduplication.
555
558
  # Valid values: `true`, `false`. For more information, see
556
- # [Exactly-Once Processing][11] in the *Amazon SQS Developer Guide*.
559
+ # [Exactly-Once Processing][11] in the *Amazon Simple Queue Service
560
+ # Developer Guide*.
557
561
  #
558
562
  # * Every message must have a unique `MessageDeduplicationId`,
559
563
  #
@@ -830,8 +834,8 @@ module Aws::SQS
830
834
  #
831
835
  # * `ApproximateNumberOfMessages` - Returns the approximate number of
832
836
  # visible messages in a queue. For more information, see [Resources
833
- # Required to Process Messages][1] in the *Amazon SQS Developer
834
- # Guide*.
837
+ # Required to Process Messages][1] in the *Amazon Simple Queue Service
838
+ # Developer Guide*.
835
839
  #
836
840
  # * `ApproximateNumberOfMessagesDelayed` - Returns the approximate
837
841
  # number of messages that are waiting to be added to the queue.
@@ -839,7 +843,7 @@ module Aws::SQS
839
843
  # * `ApproximateNumberOfMessagesNotVisible` - Returns the approximate
840
844
  # number of messages that have not timed-out and aren't deleted. For
841
845
  # more information, see [Resources Required to Process Messages][1] in
842
- # the *Amazon SQS Developer Guide*.
846
+ # the *Amazon Simple Queue Service Developer Guide*.
843
847
  #
844
848
  # * `CreatedTimestamp` - Returns the time when the queue was created in
845
849
  # seconds ([epoch time][2]).
@@ -866,8 +870,8 @@ module Aws::SQS
866
870
  # * `RedrivePolicy` - Returns the string that includes the parameters
867
871
  # for dead-letter queue functionality of the source queue. For more
868
872
  # information about the redrive policy and dead-letter queues, see
869
- # [Using Amazon SQS Dead-Letter Queues][3] in the *Amazon SQS
870
- # Developer Guide*.
873
+ # [Using Amazon SQS Dead-Letter Queues][3] in the *Amazon Simple Queue
874
+ # Service Developer Guide*.
871
875
  #
872
876
  # * `deadLetterTargetArn` - The Amazon Resource Name (ARN) of the
873
877
  # dead-letter queue to which Amazon SQS moves messages after the
@@ -878,7 +882,7 @@ module Aws::SQS
878
882
  #
879
883
  # * `VisibilityTimeout` - Returns the visibility timeout for the queue.
880
884
  # For more information about the visibility timeout, see [Visibility
881
- # Timeout][4] in the *Amazon SQS Developer Guide*.
885
+ # Timeout][4] in the *Amazon Simple Queue Service Developer Guide*.
882
886
  #
883
887
  # The following attributes apply only to [server-side-encryption][5]\:
884
888
  #
@@ -895,8 +899,8 @@ module Aws::SQS
895
899
  # queues][8]\:
896
900
  #
897
901
  # * `FifoQueue` - Returns whether the queue is FIFO. For more
898
- # information, see [FIFO Queue Logic][9] in the *Amazon SQS Developer
899
- # Guide*.
902
+ # information, see [FIFO Queue Logic][9] in the *Amazon Simple Queue
903
+ # Service Developer Guide*.
900
904
  #
901
905
  # <note markdown="1"> To determine whether a queue is [FIFO][8], you can check whether
902
906
  # `QueueName` ends with the `.fifo` suffix.
@@ -905,7 +909,8 @@ module Aws::SQS
905
909
  #
906
910
  # * `ContentBasedDeduplication` - Returns whether content-based
907
911
  # deduplication is enabled for the queue. For more information, see
908
- # [Exactly-Once Processing][10] in the *Amazon SQS Developer Guide*.
912
+ # [Exactly-Once Processing][10] in the *Amazon Simple Queue Service
913
+ # Developer Guide*.
909
914
  #
910
915
  #
911
916
  #
@@ -952,8 +957,8 @@ module Aws::SQS
952
957
  # `QueueOwnerAWSAccountId` parameter to specify the account ID of the
953
958
  # queue's owner. The queue's owner must grant you permission to access
954
959
  # the queue. For more information about shared queue access, see `
955
- # AddPermission ` or see [Shared Queues][1] in the *Amazon SQS Developer
956
- # Guide*.
960
+ # AddPermission ` or see [Shared Queues][1] in the *Amazon Simple Queue
961
+ # Service Developer Guide*.
957
962
  #
958
963
  #
959
964
  #
@@ -997,7 +1002,8 @@ module Aws::SQS
997
1002
  # attribute configured with a dead-letter queue.
998
1003
  #
999
1004
  # For more information about using dead-letter queues, see [Using Amazon
1000
- # SQS Dead-Letter Queues][1] in the *Amazon SQS Developer Guide*.
1005
+ # SQS Dead-Letter Queues][1] in the *Amazon Simple Queue Service
1006
+ # Developer Guide*.
1001
1007
  #
1002
1008
  #
1003
1009
  #
@@ -1032,6 +1038,62 @@ module Aws::SQS
1032
1038
  req.send_request(options)
1033
1039
  end
1034
1040
 
1041
+ # List all cost allocation tags added to the specified Amazon SQS queue.
1042
+ # For an overview, see [Tagging Amazon SQS Queues][1] in the *Amazon
1043
+ # Simple Queue Service Developer Guide*.
1044
+ #
1045
+ # When you use queue tags, keep the following guidelines in mind:
1046
+ #
1047
+ # * Adding more than 50 tags to a queue isn't recommended.
1048
+ #
1049
+ # * Tags don't have any semantic meaning. Amazon SQS interprets tags as
1050
+ # character strings.
1051
+ #
1052
+ # * Tags are case-sensitive.
1053
+ #
1054
+ # * A new tag with a key identical to that of an existing tag overwrites
1055
+ # the existing tag.
1056
+ #
1057
+ # * Tagging API actions are limited to 5 TPS per AWS account. If your
1058
+ # application requires a higher throughput, file a [technical support
1059
+ # request][2].
1060
+ #
1061
+ # For a full list of tag restrictions, see [Limits Related to Queues][3]
1062
+ # in the *Amazon Simple Queue Service Developer Guide*.
1063
+ #
1064
+ #
1065
+ #
1066
+ # [1]: http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-tagging-queues.html
1067
+ # [2]: https://console.aws.amazon.com/support/home#/case/create?issueType=technical
1068
+ # [3]: http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/limits-queues.html
1069
+ #
1070
+ # @option params [required, String] :queue_url
1071
+ # The URL of the queue.
1072
+ #
1073
+ # @return [Types::ListQueueTagsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1074
+ #
1075
+ # * {Types::ListQueueTagsResult#tags #tags} => Hash&lt;String,String&gt;
1076
+ #
1077
+ # @example Request syntax with placeholder values
1078
+ #
1079
+ # resp = client.list_queue_tags({
1080
+ # queue_url: "String", # required
1081
+ # })
1082
+ #
1083
+ # @example Response structure
1084
+ #
1085
+ # resp.tags #=> Hash
1086
+ # resp.tags["TagKey"] #=> String
1087
+ #
1088
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/ListQueueTags AWS API Documentation
1089
+ #
1090
+ # @overload list_queue_tags(params = {})
1091
+ # @param [Hash] params ({})
1092
+ def list_queue_tags(params = {}, options = {})
1093
+ req = build_request(:list_queue_tags, params)
1094
+ req.send_request(options)
1095
+ end
1096
+
1035
1097
  # Returns a list of your queues. The maximum number of queues that can
1036
1098
  # be returned is 1,000. If you specify a value for the optional
1037
1099
  # `QueueNamePrefix` parameter, only queues with a name that begins with
@@ -1104,8 +1166,8 @@ module Aws::SQS
1104
1166
 
1105
1167
  # Retrieves one or more messages (up to 10), from the specified queue.
1106
1168
  # Using the `WaitTimeSeconds` parameter enables long-poll support. For
1107
- # more information, see [Amazon SQS Long Polling][1] in the *Amazon SQS
1108
- # Developer Guide*.
1169
+ # more information, see [Amazon SQS Long Polling][1] in the *Amazon
1170
+ # Simple Queue Service Developer Guide*.
1109
1171
  #
1110
1172
  # Short poll is the default behavior where a weighted random set of
1111
1173
  # machines is sampled on a `ReceiveMessage` call. Thus, only the
@@ -1133,14 +1195,14 @@ module Aws::SQS
1133
1195
  #
1134
1196
  # The receipt handle is the identifier you must provide when deleting
1135
1197
  # the message. For more information, see [Queue and Message
1136
- # Identifiers][3] in the *Amazon SQS Developer Guide*.
1198
+ # Identifiers][3] in the *Amazon Simple Queue Service Developer Guide*.
1137
1199
  #
1138
1200
  # You can provide the `VisibilityTimeout` parameter in your request. The
1139
1201
  # parameter is applied to the messages that Amazon SQS returns in the
1140
1202
  # response. If you don't include the parameter, the overall visibility
1141
1203
  # timeout for the queue is used for the returned messages. For more
1142
- # information, see [Visibility Timeout][4] in the *Amazon SQS Developer
1143
- # Guide*.
1204
+ # information, see [Visibility Timeout][4] in the *Amazon Simple Queue
1205
+ # Service Developer Guide*.
1144
1206
  #
1145
1207
  # A message that isn't deleted or a message whose visibility isn't
1146
1208
  # extended before the visibility timeout expires counts as a failed
@@ -1464,7 +1526,7 @@ module Aws::SQS
1464
1526
  # @option params [Hash<String,Types::MessageAttributeValue>] :message_attributes
1465
1527
  # Each message attribute consists of a `Name`, `Type`, and `Value`. For
1466
1528
  # more information, see [Message Attribute Items and Validation][1] in
1467
- # the *Amazon SQS Developer Guide*.
1529
+ # the *Amazon Simple Queue Service Developer Guide*.
1468
1530
  #
1469
1531
  #
1470
1532
  #
@@ -1477,8 +1539,8 @@ module Aws::SQS
1477
1539
  # particular `MessageDeduplicationId` is sent successfully, any messages
1478
1540
  # sent with the same `MessageDeduplicationId` are accepted successfully
1479
1541
  # but aren't delivered during the 5-minute deduplication interval. For
1480
- # more information, see [ Exactly-Once Processing][1] in the *Amazon SQS
1481
- # Developer Guide*.
1542
+ # more information, see [ Exactly-Once Processing][1] in the *Amazon
1543
+ # Simple Queue Service Developer Guide*.
1482
1544
  #
1483
1545
  # * Every message must have a unique `MessageDeduplicationId`,
1484
1546
  #
@@ -1752,8 +1814,8 @@ module Aws::SQS
1752
1814
  # * `RedrivePolicy` - The string that includes the parameters for the
1753
1815
  # dead-letter queue functionality of the source queue. For more
1754
1816
  # information about the redrive policy and dead-letter queues, see
1755
- # [Using Amazon SQS Dead-Letter Queues][2] in the *Amazon SQS
1756
- # Developer Guide*.
1817
+ # [Using Amazon SQS Dead-Letter Queues][2] in the *Amazon Simple Queue
1818
+ # Service Developer Guide*.
1757
1819
  #
1758
1820
  # * `deadLetterTargetArn` - The Amazon Resource Name (ARN) of the
1759
1821
  # dead-letter queue to which Amazon SQS moves messages after the
@@ -1771,7 +1833,7 @@ module Aws::SQS
1771
1833
  # * `VisibilityTimeout` - The visibility timeout for the queue. Valid
1772
1834
  # values: an integer from 0 to 43,200 (12 hours). The default is 30.
1773
1835
  # For more information about the visibility timeout, see [Visibility
1774
- # Timeout][3] in the *Amazon SQS Developer Guide*.
1836
+ # Timeout][3] in the *Amazon Simple Queue Service Developer Guide*.
1775
1837
  #
1776
1838
  # The following attributes apply only to [server-side-encryption][4]\:
1777
1839
  #
@@ -1796,7 +1858,7 @@ module Aws::SQS
1796
1858
  #
1797
1859
  # * `ContentBasedDeduplication` - Enables content-based deduplication.
1798
1860
  # For more information, see [Exactly-Once Processing][10] in the
1799
- # *Amazon SQS Developer Guide*.
1861
+ # *Amazon Simple Queue Service Developer Guide*.
1800
1862
  #
1801
1863
  # * Every message must have a unique `MessageDeduplicationId`,
1802
1864
  #
@@ -1874,6 +1936,114 @@ module Aws::SQS
1874
1936
  req.send_request(options)
1875
1937
  end
1876
1938
 
1939
+ # Add cost allocation tags to the specified Amazon SQS queue. For an
1940
+ # overview, see [Tagging Amazon SQS Queues][1] in the *Amazon Simple
1941
+ # Queue Service Developer Guide*.
1942
+ #
1943
+ # When you use queue tags, keep the following guidelines in mind:
1944
+ #
1945
+ # * Adding more than 50 tags to a queue isn't recommended.
1946
+ #
1947
+ # * Tags don't have any semantic meaning. Amazon SQS interprets tags as
1948
+ # character strings.
1949
+ #
1950
+ # * Tags are case-sensitive.
1951
+ #
1952
+ # * A new tag with a key identical to that of an existing tag overwrites
1953
+ # the existing tag.
1954
+ #
1955
+ # * Tagging API actions are limited to 5 TPS per AWS account. If your
1956
+ # application requires a higher throughput, file a [technical support
1957
+ # request][2].
1958
+ #
1959
+ # For a full list of tag restrictions, see [Limits Related to Queues][3]
1960
+ # in the *Amazon Simple Queue Service Developer Guide*.
1961
+ #
1962
+ #
1963
+ #
1964
+ # [1]: http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-tagging-queues.html
1965
+ # [2]: https://console.aws.amazon.com/support/home#/case/create?issueType=technical
1966
+ # [3]: http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/limits-queues.html
1967
+ #
1968
+ # @option params [required, String] :queue_url
1969
+ # The URL of the queue.
1970
+ #
1971
+ # @option params [required, Hash<String,String>] :tags
1972
+ # The list of tags to be added to the specified queue.
1973
+ #
1974
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1975
+ #
1976
+ # @example Request syntax with placeholder values
1977
+ #
1978
+ # resp = client.tag_queue({
1979
+ # queue_url: "String", # required
1980
+ # tags: { # required
1981
+ # "TagKey" => "TagValue",
1982
+ # },
1983
+ # })
1984
+ #
1985
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/TagQueue AWS API Documentation
1986
+ #
1987
+ # @overload tag_queue(params = {})
1988
+ # @param [Hash] params ({})
1989
+ def tag_queue(params = {}, options = {})
1990
+ req = build_request(:tag_queue, params)
1991
+ req.send_request(options)
1992
+ end
1993
+
1994
+ # Remove cost allocation tags from the specified Amazon SQS queue. For
1995
+ # an overview, see [Tagging Amazon SQS Queues][1] in the *Amazon Simple
1996
+ # Queue Service Developer Guide*.
1997
+ #
1998
+ # When you use queue tags, keep the following guidelines in mind:
1999
+ #
2000
+ # * Adding more than 50 tags to a queue isn't recommended.
2001
+ #
2002
+ # * Tags don't have any semantic meaning. Amazon SQS interprets tags as
2003
+ # character strings.
2004
+ #
2005
+ # * Tags are case-sensitive.
2006
+ #
2007
+ # * A new tag with a key identical to that of an existing tag overwrites
2008
+ # the existing tag.
2009
+ #
2010
+ # * Tagging API actions are limited to 5 TPS per AWS account. If your
2011
+ # application requires a higher throughput, file a [technical support
2012
+ # request][2].
2013
+ #
2014
+ # For a full list of tag restrictions, see [Limits Related to Queues][3]
2015
+ # in the *Amazon Simple Queue Service Developer Guide*.
2016
+ #
2017
+ #
2018
+ #
2019
+ # [1]: http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-tagging-queues.html
2020
+ # [2]: https://console.aws.amazon.com/support/home#/case/create?issueType=technical
2021
+ # [3]: http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/limits-queues.html
2022
+ #
2023
+ # @option params [required, String] :queue_url
2024
+ # The URL of the queue.
2025
+ #
2026
+ # @option params [required, Array<String>] :tag_keys
2027
+ # The list of tags to be removed from the specified queue.
2028
+ #
2029
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2030
+ #
2031
+ # @example Request syntax with placeholder values
2032
+ #
2033
+ # resp = client.untag_queue({
2034
+ # queue_url: "String", # required
2035
+ # tag_keys: ["TagKey"], # required
2036
+ # })
2037
+ #
2038
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/UntagQueue AWS API Documentation
2039
+ #
2040
+ # @overload untag_queue(params = {})
2041
+ # @param [Hash] params ({})
2042
+ def untag_queue(params = {}, options = {})
2043
+ req = build_request(:untag_queue, params)
2044
+ req.send_request(options)
2045
+ end
2046
+
1877
2047
  # @!endgroup
1878
2048
 
1879
2049
  # @param params ({})
@@ -1887,7 +2057,7 @@ module Aws::SQS
1887
2057
  params: params,
1888
2058
  config: config)
1889
2059
  context[:gem_name] = 'aws-sdk-sqs'
1890
- context[:gem_version] = '1.2.0'
2060
+ context[:gem_version] = '1.3.0'
1891
2061
  Seahorse::Client::Request.new(handlers, context)
1892
2062
  end
1893
2063
 
@@ -51,6 +51,8 @@ module Aws::SQS
51
51
  InvalidMessageContents = Shapes::StructureShape.new(name: 'InvalidMessageContents')
52
52
  ListDeadLetterSourceQueuesRequest = Shapes::StructureShape.new(name: 'ListDeadLetterSourceQueuesRequest')
53
53
  ListDeadLetterSourceQueuesResult = Shapes::StructureShape.new(name: 'ListDeadLetterSourceQueuesResult')
54
+ ListQueueTagsRequest = Shapes::StructureShape.new(name: 'ListQueueTagsRequest')
55
+ ListQueueTagsResult = Shapes::StructureShape.new(name: 'ListQueueTagsResult')
54
56
  ListQueuesRequest = Shapes::StructureShape.new(name: 'ListQueuesRequest')
55
57
  ListQueuesResult = Shapes::StructureShape.new(name: 'ListQueuesResult')
56
58
  Message = Shapes::StructureShape.new(name: 'Message')
@@ -86,8 +88,14 @@ module Aws::SQS
86
88
  SetQueueAttributesRequest = Shapes::StructureShape.new(name: 'SetQueueAttributesRequest')
87
89
  String = Shapes::StringShape.new(name: 'String')
88
90
  StringList = Shapes::ListShape.new(name: 'StringList', flattened: true)
91
+ TagKey = Shapes::StringShape.new(name: 'TagKey')
92
+ TagKeyList = Shapes::ListShape.new(name: 'TagKeyList', flattened: true)
93
+ TagMap = Shapes::MapShape.new(name: 'TagMap', flattened: true)
94
+ TagQueueRequest = Shapes::StructureShape.new(name: 'TagQueueRequest')
95
+ TagValue = Shapes::StringShape.new(name: 'TagValue')
89
96
  TooManyEntriesInBatchRequest = Shapes::StructureShape.new(name: 'TooManyEntriesInBatchRequest')
90
97
  UnsupportedOperation = Shapes::StructureShape.new(name: 'UnsupportedOperation')
98
+ UntagQueueRequest = Shapes::StructureShape.new(name: 'UntagQueueRequest')
91
99
 
92
100
  AWSAccountIdList.member = Shapes::ShapeRef.new(shape: String, location_name: "AWSAccountId")
93
101
 
@@ -189,6 +197,12 @@ module Aws::SQS
189
197
  ListDeadLetterSourceQueuesResult.add_member(:queue_urls, Shapes::ShapeRef.new(shape: QueueUrlList, required: true, location_name: "queueUrls"))
190
198
  ListDeadLetterSourceQueuesResult.struct_class = Types::ListDeadLetterSourceQueuesResult
191
199
 
200
+ ListQueueTagsRequest.add_member(:queue_url, Shapes::ShapeRef.new(shape: String, required: true, location_name: "QueueUrl"))
201
+ ListQueueTagsRequest.struct_class = Types::ListQueueTagsRequest
202
+
203
+ ListQueueTagsResult.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tag"))
204
+ ListQueueTagsResult.struct_class = Types::ListQueueTagsResult
205
+
192
206
  ListQueuesRequest.add_member(:queue_name_prefix, Shapes::ShapeRef.new(shape: String, location_name: "QueueNamePrefix"))
193
207
  ListQueuesRequest.struct_class = Types::ListQueuesRequest
194
208
 
@@ -292,6 +306,19 @@ module Aws::SQS
292
306
 
293
307
  StringList.member = Shapes::ShapeRef.new(shape: String, location_name: "StringListValue")
294
308
 
309
+ TagKeyList.member = Shapes::ShapeRef.new(shape: TagKey, location_name: "TagKey")
310
+
311
+ TagMap.key = Shapes::ShapeRef.new(shape: TagKey, location_name: "Key")
312
+ TagMap.value = Shapes::ShapeRef.new(shape: TagValue, location_name: "Value")
313
+
314
+ TagQueueRequest.add_member(:queue_url, Shapes::ShapeRef.new(shape: String, required: true, location_name: "QueueUrl"))
315
+ TagQueueRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, required: true, location_name: "Tags"))
316
+ TagQueueRequest.struct_class = Types::TagQueueRequest
317
+
318
+ UntagQueueRequest.add_member(:queue_url, Shapes::ShapeRef.new(shape: String, required: true, location_name: "QueueUrl"))
319
+ UntagQueueRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeyList, required: true, location_name: "TagKeys"))
320
+ UntagQueueRequest.struct_class = Types::UntagQueueRequest
321
+
295
322
 
296
323
  # @api private
297
324
  API = Seahorse::Model::Api.new.tap do |api|
@@ -405,6 +432,14 @@ module Aws::SQS
405
432
  o.errors << Shapes::ShapeRef.new(shape: QueueDoesNotExist)
406
433
  end)
407
434
 
435
+ api.add_operation(:list_queue_tags, Seahorse::Model::Operation.new.tap do |o|
436
+ o.name = "ListQueueTags"
437
+ o.http_method = "POST"
438
+ o.http_request_uri = "/"
439
+ o.input = Shapes::ShapeRef.new(shape: ListQueueTagsRequest)
440
+ o.output = Shapes::ShapeRef.new(shape: ListQueueTagsResult)
441
+ end)
442
+
408
443
  api.add_operation(:list_queues, Seahorse::Model::Operation.new.tap do |o|
409
444
  o.name = "ListQueues"
410
445
  o.http_method = "POST"
@@ -472,6 +507,22 @@ module Aws::SQS
472
507
  o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
473
508
  o.errors << Shapes::ShapeRef.new(shape: InvalidAttributeName)
474
509
  end)
510
+
511
+ api.add_operation(:tag_queue, Seahorse::Model::Operation.new.tap do |o|
512
+ o.name = "TagQueue"
513
+ o.http_method = "POST"
514
+ o.http_request_uri = "/"
515
+ o.input = Shapes::ShapeRef.new(shape: TagQueueRequest)
516
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
517
+ end)
518
+
519
+ api.add_operation(:untag_queue, Seahorse::Model::Operation.new.tap do |o|
520
+ o.name = "UntagQueue"
521
+ o.http_method = "POST"
522
+ o.http_request_uri = "/"
523
+ o.input = Shapes::ShapeRef.new(shape: UntagQueueRequest)
524
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
525
+ end)
475
526
  end
476
527
 
477
528
  end
@@ -85,7 +85,7 @@ module Aws::SQS
85
85
 
86
86
  # Each message attribute consists of a `Name`, `Type`, and `Value`. For
87
87
  # more information, see [Message Attribute Items and Validation][1] in
88
- # the *Amazon SQS Developer Guide*.
88
+ # the *Amazon Simple Queue Service Developer Guide*.
89
89
  #
90
90
  #
91
91
  #
@@ -93,8 +93,8 @@ module Aws::SQS
93
93
  # The AWS account number of the [principal][1] who is given permission.
94
94
  # The principal must have an AWS account, but does not need to be signed
95
95
  # up for Amazon SQS. For information about locating the AWS account
96
- # identification, see [Your AWS Identifiers][2] in the *Amazon SQS
97
- # Developer Guide*.
96
+ # identification, see [Your AWS Identifiers][2] in the *Amazon Simple
97
+ # Queue Service Developer Guide*.
98
98
  #
99
99
  #
100
100
  #
@@ -119,7 +119,7 @@ module Aws::SQS
119
119
  # * `SendMessage`
120
120
  #
121
121
  # For more information about these actions, see [Understanding
122
- # Permissions][1] in the *Amazon SQS Developer Guide*.
122
+ # Permissions][1] in the *Amazon Simple Queue Service Developer Guide*.
123
123
  #
124
124
  # Specifying `SendMessage`, `DeleteMessage`, or
125
125
  # `ChangeMessageVisibility` for `ActionName.n` also grants permissions
@@ -459,7 +459,7 @@ module Aws::SQS
459
459
  # @option options [Hash<String,Types::MessageAttributeValue>] :message_attributes
460
460
  # Each message attribute consists of a `Name`, `Type`, and `Value`. For
461
461
  # more information, see [Message Attribute Items and Validation][1] in
462
- # the *Amazon SQS Developer Guide*.
462
+ # the *Amazon Simple Queue Service Developer Guide*.
463
463
  #
464
464
  #
465
465
  #
@@ -471,8 +471,8 @@ module Aws::SQS
471
471
  # particular `MessageDeduplicationId` is sent successfully, any messages
472
472
  # sent with the same `MessageDeduplicationId` are accepted successfully
473
473
  # but aren't delivered during the 5-minute deduplication interval. For
474
- # more information, see [ Exactly-Once Processing][1] in the *Amazon SQS
475
- # Developer Guide*.
474
+ # more information, see [ Exactly-Once Processing][1] in the *Amazon
475
+ # Simple Queue Service Developer Guide*.
476
476
  #
477
477
  # * Every message must have a unique `MessageDeduplicationId`,
478
478
  #
@@ -633,8 +633,8 @@ module Aws::SQS
633
633
  # * `RedrivePolicy` - The string that includes the parameters for the
634
634
  # dead-letter queue functionality of the source queue. For more
635
635
  # information about the redrive policy and dead-letter queues, see
636
- # [Using Amazon SQS Dead-Letter Queues][2] in the *Amazon SQS
637
- # Developer Guide*.
636
+ # [Using Amazon SQS Dead-Letter Queues][2] in the *Amazon Simple Queue
637
+ # Service Developer Guide*.
638
638
  #
639
639
  # * `deadLetterTargetArn` - The Amazon Resource Name (ARN) of the
640
640
  # dead-letter queue to which Amazon SQS moves messages after the
@@ -652,7 +652,7 @@ module Aws::SQS
652
652
  # * `VisibilityTimeout` - The visibility timeout for the queue. Valid
653
653
  # values: an integer from 0 to 43,200 (12 hours). The default is 30.
654
654
  # For more information about the visibility timeout, see [Visibility
655
- # Timeout][3] in the *Amazon SQS Developer Guide*.
655
+ # Timeout][3] in the *Amazon Simple Queue Service Developer Guide*.
656
656
  #
657
657
  # The following attributes apply only to [server-side-encryption][4]\:
658
658
  #
@@ -677,7 +677,7 @@ module Aws::SQS
677
677
  #
678
678
  # * `ContentBasedDeduplication` - Enables content-based deduplication.
679
679
  # For more information, see [Exactly-Once Processing][10] in the
680
- # *Amazon SQS Developer Guide*.
680
+ # *Amazon Simple Queue Service Developer Guide*.
681
681
  #
682
682
  # * Every message must have a unique `MessageDeduplicationId`,
683
683
  #
@@ -73,8 +73,8 @@ module Aws::SQS
73
73
  # * `RedrivePolicy` - The string that includes the parameters for the
74
74
  # dead-letter queue functionality of the source queue. For more
75
75
  # information about the redrive policy and dead-letter queues, see
76
- # [Using Amazon SQS Dead-Letter Queues][2] in the *Amazon SQS
77
- # Developer Guide*.
76
+ # [Using Amazon SQS Dead-Letter Queues][2] in the *Amazon Simple Queue
77
+ # Service Developer Guide*.
78
78
  #
79
79
  # * `deadLetterTargetArn` - The Amazon Resource Name (ARN) of the
80
80
  # dead-letter queue to which Amazon SQS moves messages after the
@@ -92,7 +92,7 @@ module Aws::SQS
92
92
  # * `VisibilityTimeout` - The visibility timeout for the queue. Valid
93
93
  # values: An integer from 0 to 43,200 (12 hours). The default is 30.
94
94
  # For more information about the visibility timeout, see [Visibility
95
- # Timeout][3] in the *Amazon SQS Developer Guide*.
95
+ # Timeout][3] in the *Amazon Simple Queue Service Developer Guide*.
96
96
  #
97
97
  # The following attributes apply only to [server-side-encryption][4]\:
98
98
  #
@@ -121,12 +121,13 @@ module Aws::SQS
121
121
  # attribute, you must also provide the `MessageGroupId` for your
122
122
  # messages explicitly.
123
123
  #
124
- # For more information, see [FIFO Queue Logic][10] in the *Amazon SQS
125
- # Developer Guide*.
124
+ # For more information, see [FIFO Queue Logic][10] in the *Amazon
125
+ # Simple Queue Service Developer Guide*.
126
126
  #
127
127
  # * `ContentBasedDeduplication` - Enables content-based deduplication.
128
128
  # Valid values: `true`, `false`. For more information, see
129
- # [Exactly-Once Processing][11] in the *Amazon SQS Developer Guide*.
129
+ # [Exactly-Once Processing][11] in the *Amazon Simple Queue Service
130
+ # Developer Guide*.
130
131
  #
131
132
  # * Every message must have a unique `MessageDeduplicationId`,
132
133
  #
@@ -36,7 +36,7 @@ module Aws::SQS
36
36
  # permission. The principal must have an AWS account, but does not
37
37
  # need to be signed up for Amazon SQS. For information about locating
38
38
  # the AWS account identification, see [Your AWS Identifiers][2] in the
39
- # *Amazon SQS Developer Guide*.
39
+ # *Amazon Simple Queue Service Developer Guide*.
40
40
  #
41
41
  #
42
42
  #
@@ -63,7 +63,8 @@ module Aws::SQS
63
63
  # * `SendMessage`
64
64
  #
65
65
  # For more information about these actions, see [Understanding
66
- # Permissions][1] in the *Amazon SQS Developer Guide*.
66
+ # Permissions][1] in the *Amazon Simple Queue Service Developer
67
+ # Guide*.
67
68
  #
68
69
  # Specifying `SendMessage`, `DeleteMessage`, or
69
70
  # `ChangeMessageVisibility` for `ActionName.n` also grants permissions
@@ -324,8 +325,8 @@ module Aws::SQS
324
325
  # * `RedrivePolicy` - The string that includes the parameters for the
325
326
  # dead-letter queue functionality of the source queue. For more
326
327
  # information about the redrive policy and dead-letter queues, see
327
- # [Using Amazon SQS Dead-Letter Queues][2] in the *Amazon SQS
328
- # Developer Guide*.
328
+ # [Using Amazon SQS Dead-Letter Queues][2] in the *Amazon Simple
329
+ # Queue Service Developer Guide*.
329
330
  #
330
331
  # * `deadLetterTargetArn` - The Amazon Resource Name (ARN) of the
331
332
  # dead-letter queue to which Amazon SQS moves messages after the
@@ -343,7 +344,7 @@ module Aws::SQS
343
344
  # * `VisibilityTimeout` - The visibility timeout for the queue. Valid
344
345
  # values: An integer from 0 to 43,200 (12 hours). The default is 30.
345
346
  # For more information about the visibility timeout, see [Visibility
346
- # Timeout][3] in the *Amazon SQS Developer Guide*.
347
+ # Timeout][3] in the *Amazon Simple Queue Service Developer Guide*.
347
348
  #
348
349
  # The following attributes apply only to [server-side-encryption][4]\:
349
350
  #
@@ -373,11 +374,12 @@ module Aws::SQS
373
374
  # your messages explicitly.
374
375
  #
375
376
  # For more information, see [FIFO Queue Logic][10] in the *Amazon
376
- # SQS Developer Guide*.
377
+ # Simple Queue Service Developer Guide*.
377
378
  #
378
379
  # * `ContentBasedDeduplication` - Enables content-based deduplication.
379
380
  # Valid values: `true`, `false`. For more information, see
380
- # [Exactly-Once Processing][11] in the *Amazon SQS Developer Guide*.
381
+ # [Exactly-Once Processing][11] in the *Amazon Simple Queue Service
382
+ # Developer Guide*.
381
383
  #
382
384
  # * Every message must have a unique `MessageDeduplicationId`,
383
385
  #
@@ -629,8 +631,8 @@ module Aws::SQS
629
631
  #
630
632
  # * `ApproximateNumberOfMessages` - Returns the approximate number of
631
633
  # visible messages in a queue. For more information, see [Resources
632
- # Required to Process Messages][1] in the *Amazon SQS Developer
633
- # Guide*.
634
+ # Required to Process Messages][1] in the *Amazon Simple Queue
635
+ # Service Developer Guide*.
634
636
  #
635
637
  # * `ApproximateNumberOfMessagesDelayed` - Returns the approximate
636
638
  # number of messages that are waiting to be added to the queue.
@@ -638,7 +640,7 @@ module Aws::SQS
638
640
  # * `ApproximateNumberOfMessagesNotVisible` - Returns the approximate
639
641
  # number of messages that have not timed-out and aren't deleted.
640
642
  # For more information, see [Resources Required to Process
641
- # Messages][1] in the *Amazon SQS Developer Guide*.
643
+ # Messages][1] in the *Amazon Simple Queue Service Developer Guide*.
642
644
  #
643
645
  # * `CreatedTimestamp` - Returns the time when the queue was created
644
646
  # in seconds ([epoch time][2]).
@@ -666,8 +668,8 @@ module Aws::SQS
666
668
  # * `RedrivePolicy` - Returns the string that includes the parameters
667
669
  # for dead-letter queue functionality of the source queue. For more
668
670
  # information about the redrive policy and dead-letter queues, see
669
- # [Using Amazon SQS Dead-Letter Queues][3] in the *Amazon SQS
670
- # Developer Guide*.
671
+ # [Using Amazon SQS Dead-Letter Queues][3] in the *Amazon Simple
672
+ # Queue Service Developer Guide*.
671
673
  #
672
674
  # * `deadLetterTargetArn` - The Amazon Resource Name (ARN) of the
673
675
  # dead-letter queue to which Amazon SQS moves messages after the
@@ -678,7 +680,8 @@ module Aws::SQS
678
680
  #
679
681
  # * `VisibilityTimeout` - Returns the visibility timeout for the
680
682
  # queue. For more information about the visibility timeout, see
681
- # [Visibility Timeout][4] in the *Amazon SQS Developer Guide*.
683
+ # [Visibility Timeout][4] in the *Amazon Simple Queue Service
684
+ # Developer Guide*.
682
685
  #
683
686
  # The following attributes apply only to [server-side-encryption][5]\:
684
687
  #
@@ -695,8 +698,8 @@ module Aws::SQS
695
698
  # queues][8]\:
696
699
  #
697
700
  # * `FifoQueue` - Returns whether the queue is FIFO. For more
698
- # information, see [FIFO Queue Logic][9] in the *Amazon SQS
699
- # Developer Guide*.
701
+ # information, see [FIFO Queue Logic][9] in the *Amazon Simple Queue
702
+ # Service Developer Guide*.
700
703
  #
701
704
  # <note markdown="1"> To determine whether a queue is [FIFO][8], you can check whether
702
705
  # `QueueName` ends with the `.fifo` suffix.
@@ -705,7 +708,8 @@ module Aws::SQS
705
708
  #
706
709
  # * `ContentBasedDeduplication` - Returns whether content-based
707
710
  # deduplication is enabled for the queue. For more information, see
708
- # [Exactly-Once Processing][10] in the *Amazon SQS Developer Guide*.
711
+ # [Exactly-Once Processing][10] in the *Amazon Simple Queue Service
712
+ # Developer Guide*.
709
713
  #
710
714
  #
711
715
  #
@@ -770,8 +774,8 @@ module Aws::SQS
770
774
  include Aws::Structure
771
775
  end
772
776
 
773
- # For more information, see [Responses][1] in the *Amazon SQS Developer
774
- # Guide*.
777
+ # For more information, see [Responses][1] in the *Amazon Simple Queue
778
+ # Service Developer Guide*.
775
779
  #
776
780
  #
777
781
  #
@@ -822,6 +826,35 @@ module Aws::SQS
822
826
  include Aws::Structure
823
827
  end
824
828
 
829
+ # @note When making an API call, you may pass ListQueueTagsRequest
830
+ # data as a hash:
831
+ #
832
+ # {
833
+ # queue_url: "String", # required
834
+ # }
835
+ #
836
+ # @!attribute [rw] queue_url
837
+ # The URL of the queue.
838
+ # @return [String]
839
+ #
840
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/ListQueueTagsRequest AWS API Documentation
841
+ #
842
+ class ListQueueTagsRequest < Struct.new(
843
+ :queue_url)
844
+ include Aws::Structure
845
+ end
846
+
847
+ # @!attribute [rw] tags
848
+ # The list of all tags added to the specified queue.
849
+ # @return [Hash<String,String>]
850
+ #
851
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/ListQueueTagsResult AWS API Documentation
852
+ #
853
+ class ListQueueTagsResult < Struct.new(
854
+ :tags)
855
+ include Aws::Structure
856
+ end
857
+
825
858
  # @note When making an API call, you may pass ListQueuesRequest
826
859
  # data as a hash:
827
860
  #
@@ -904,7 +937,7 @@ module Aws::SQS
904
937
  # @!attribute [rw] message_attributes
905
938
  # Each message attribute consists of a `Name`, `Type`, and `Value`.
906
939
  # For more information, see [Message Attribute Items and
907
- # Validation][1] in the *Amazon SQS Developer Guide*.
940
+ # Validation][1] in the *Amazon Simple Queue Service Developer Guide*.
908
941
  #
909
942
  #
910
943
  #
@@ -972,8 +1005,8 @@ module Aws::SQS
972
1005
  # `StringValue`.
973
1006
  #
974
1007
  # You can also append custom labels. For more information, see
975
- # [Message Attribute Data Types and Validation][1] in the *Amazon SQS
976
- # Developer Guide*.
1008
+ # [Message Attribute Data Types and Validation][1] in the *Amazon
1009
+ # Simple Queue Service Developer Guide*.
977
1010
  #
978
1011
  #
979
1012
  #
@@ -1362,7 +1395,7 @@ module Aws::SQS
1362
1395
  # @!attribute [rw] message_attributes
1363
1396
  # Each message attribute consists of a `Name`, `Type`, and `Value`.
1364
1397
  # For more information, see [Message Attribute Items and
1365
- # Validation][1] in the *Amazon SQS Developer Guide*.
1398
+ # Validation][1] in the *Amazon Simple Queue Service Developer Guide*.
1366
1399
  #
1367
1400
  #
1368
1401
  #
@@ -1377,7 +1410,7 @@ module Aws::SQS
1377
1410
  # `MessageDeduplicationId` is sent successfully, subsequent messages
1378
1411
  # with the same `MessageDeduplicationId` are accepted successfully but
1379
1412
  # aren't delivered. For more information, see [ Exactly-Once
1380
- # Processing][1] in the *Amazon SQS Developer Guide*.
1413
+ # Processing][1] in the *Amazon Simple Queue Service Developer Guide*.
1381
1414
  #
1382
1415
  # * Every message must have a unique `MessageDeduplicationId`,
1383
1416
  #
@@ -1616,7 +1649,7 @@ module Aws::SQS
1616
1649
  # @!attribute [rw] message_attributes
1617
1650
  # Each message attribute consists of a `Name`, `Type`, and `Value`.
1618
1651
  # For more information, see [Message Attribute Items and
1619
- # Validation][1] in the *Amazon SQS Developer Guide*.
1652
+ # Validation][1] in the *Amazon Simple Queue Service Developer Guide*.
1620
1653
  #
1621
1654
  #
1622
1655
  #
@@ -1631,7 +1664,7 @@ module Aws::SQS
1631
1664
  # messages sent with the same `MessageDeduplicationId` are accepted
1632
1665
  # successfully but aren't delivered during the 5-minute deduplication
1633
1666
  # interval. For more information, see [ Exactly-Once Processing][1] in
1634
- # the *Amazon SQS Developer Guide*.
1667
+ # the *Amazon Simple Queue Service Developer Guide*.
1635
1668
  #
1636
1669
  # * Every message must have a unique `MessageDeduplicationId`,
1637
1670
  #
@@ -1763,7 +1796,7 @@ module Aws::SQS
1763
1796
  # @!attribute [rw] message_id
1764
1797
  # An attribute containing the `MessageId` of the message sent to the
1765
1798
  # queue. For more information, see [Queue and Message Identifiers][1]
1766
- # in the *Amazon SQS Developer Guide*.
1799
+ # in the *Amazon Simple Queue Service Developer Guide*.
1767
1800
  #
1768
1801
  #
1769
1802
  #
@@ -1839,8 +1872,8 @@ module Aws::SQS
1839
1872
  # * `RedrivePolicy` - The string that includes the parameters for the
1840
1873
  # dead-letter queue functionality of the source queue. For more
1841
1874
  # information about the redrive policy and dead-letter queues, see
1842
- # [Using Amazon SQS Dead-Letter Queues][2] in the *Amazon SQS
1843
- # Developer Guide*.
1875
+ # [Using Amazon SQS Dead-Letter Queues][2] in the *Amazon Simple
1876
+ # Queue Service Developer Guide*.
1844
1877
  #
1845
1878
  # * `deadLetterTargetArn` - The Amazon Resource Name (ARN) of the
1846
1879
  # dead-letter queue to which Amazon SQS moves messages after the
@@ -1858,7 +1891,7 @@ module Aws::SQS
1858
1891
  # * `VisibilityTimeout` - The visibility timeout for the queue. Valid
1859
1892
  # values: an integer from 0 to 43,200 (12 hours). The default is 30.
1860
1893
  # For more information about the visibility timeout, see [Visibility
1861
- # Timeout][3] in the *Amazon SQS Developer Guide*.
1894
+ # Timeout][3] in the *Amazon Simple Queue Service Developer Guide*.
1862
1895
  #
1863
1896
  # The following attributes apply only to [server-side-encryption][4]\:
1864
1897
  #
@@ -1883,7 +1916,7 @@ module Aws::SQS
1883
1916
  #
1884
1917
  # * `ContentBasedDeduplication` - Enables content-based deduplication.
1885
1918
  # For more information, see [Exactly-Once Processing][10] in the
1886
- # *Amazon SQS Developer Guide*.
1919
+ # *Amazon Simple Queue Service Developer Guide*.
1887
1920
  #
1888
1921
  # * Every message must have a unique `MessageDeduplicationId`,
1889
1922
  #
@@ -1950,5 +1983,55 @@ module Aws::SQS
1950
1983
  include Aws::Structure
1951
1984
  end
1952
1985
 
1986
+ # @note When making an API call, you may pass TagQueueRequest
1987
+ # data as a hash:
1988
+ #
1989
+ # {
1990
+ # queue_url: "String", # required
1991
+ # tags: { # required
1992
+ # "TagKey" => "TagValue",
1993
+ # },
1994
+ # }
1995
+ #
1996
+ # @!attribute [rw] queue_url
1997
+ # The URL of the queue.
1998
+ # @return [String]
1999
+ #
2000
+ # @!attribute [rw] tags
2001
+ # The list of tags to be added to the specified queue.
2002
+ # @return [Hash<String,String>]
2003
+ #
2004
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/TagQueueRequest AWS API Documentation
2005
+ #
2006
+ class TagQueueRequest < Struct.new(
2007
+ :queue_url,
2008
+ :tags)
2009
+ include Aws::Structure
2010
+ end
2011
+
2012
+ # @note When making an API call, you may pass UntagQueueRequest
2013
+ # data as a hash:
2014
+ #
2015
+ # {
2016
+ # queue_url: "String", # required
2017
+ # tag_keys: ["TagKey"], # required
2018
+ # }
2019
+ #
2020
+ # @!attribute [rw] queue_url
2021
+ # The URL of the queue.
2022
+ # @return [String]
2023
+ #
2024
+ # @!attribute [rw] tag_keys
2025
+ # The list of tags to be removed from the specified queue.
2026
+ # @return [Array<String>]
2027
+ #
2028
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/UntagQueueRequest AWS API Documentation
2029
+ #
2030
+ class UntagQueueRequest < Struct.new(
2031
+ :queue_url,
2032
+ :tag_keys)
2033
+ include Aws::Structure
2034
+ end
2035
+
1953
2036
  end
1954
2037
  end
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.2.0
4
+ version: 1.3.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: 2017-10-06 00:00:00.000000000 Z
11
+ date: 2017-10-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core