aws-sdk-sqs 1.21.0 → 1.22.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: 4f561eb6bafdd99143c49b988c5eaebffc7431e5
4
- data.tar.gz: c8458023c08d6e397ce5b78318046a823d4b2aba
3
+ metadata.gz: cd14f96254945c551d2fc18f2c2869b6dd16e805
4
+ data.tar.gz: 5acdb3a8e968736d20cb983a420e0bb8c4977e6f
5
5
  SHA512:
6
- metadata.gz: 86241f853ff10b5879c82d861f9ad224853fb0f7f94f15e63c3e4fc2a01b8b63fa9dcc5f45e57c0f3867ccfc6409f3c962e19afbc69f1f49cae7ec28ea3bc98f
7
- data.tar.gz: 9c87e237c809b3cd56fb26aa58816951d6d522921e894230d50b6cb4e519b6ee116c79351312e02c70b2e57c6103e010dcf395faf8bf740490f639743d384cc0
6
+ metadata.gz: 1293b547300fc75cc8fa04a92e600c78784ed2ae2c08f086dcc4d0ccd2f9395fa0d476095eef10e0276141a8a02a7ea8d19841e16db854ce97bd48db929cb217
7
+ data.tar.gz: 8baff2e7c31a2b6c7776b1a39097caf1a49ff535ff4a6192101f00f42a41c481b3546d3198c3942603c1fd54f660bca62eb54d5a455e5e02302b3efd8796f2d1
@@ -44,6 +44,6 @@ require_relative 'aws-sdk-sqs/customizations'
44
44
  # @service
45
45
  module Aws::SQS
46
46
 
47
- GEM_VERSION = '1.21.0'
47
+ GEM_VERSION = '1.22.0'
48
48
 
49
49
  end
@@ -1397,6 +1397,8 @@ module Aws::SQS
1397
1397
  # * `ApproximateReceiveCount` - Returns the number of times a message
1398
1398
  # has been received from the queue but not deleted.
1399
1399
  #
1400
+ # * `AWSTraceHeader` - Returns the AWS X-Ray trace header string.
1401
+ #
1400
1402
  # * `SenderId`
1401
1403
  #
1402
1404
  # * For an IAM user, returns the IAM user ID, for example
@@ -1672,6 +1674,17 @@ module Aws::SQS
1672
1674
  #
1673
1675
  # [1]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-message-attributes.html
1674
1676
  #
1677
+ # @option params [Hash<String,Types::MessageSystemAttributeValue>] :message_system_attributes
1678
+ # The message system attribute to send. Each message system attribute
1679
+ # consists of a `Name`, `Type`, and `Value`.
1680
+ #
1681
+ # * Currently, the only supported message system attribute is
1682
+ # `AWSTraceHeader`. Its type must be `String` and its value must be a
1683
+ # correctly formatted AWS X-Ray trace string.
1684
+ #
1685
+ # * The size of a message system attribute doesn't count towards the
1686
+ # total size of a message.
1687
+ #
1675
1688
  # @option params [String] :message_deduplication_id
1676
1689
  # This parameter applies only to FIFO (first-in-first-out) queues.
1677
1690
  #
@@ -1772,6 +1785,7 @@ module Aws::SQS
1772
1785
  #
1773
1786
  # * {Types::SendMessageResult#md5_of_message_body #md5_of_message_body} => String
1774
1787
  # * {Types::SendMessageResult#md5_of_message_attributes #md5_of_message_attributes} => String
1788
+ # * {Types::SendMessageResult#md5_of_message_system_attributes #md5_of_message_system_attributes} => String
1775
1789
  # * {Types::SendMessageResult#message_id #message_id} => String
1776
1790
  # * {Types::SendMessageResult#sequence_number #sequence_number} => String
1777
1791
  #
@@ -1790,6 +1804,15 @@ module Aws::SQS
1790
1804
  # data_type: "String", # required
1791
1805
  # },
1792
1806
  # },
1807
+ # message_system_attributes: {
1808
+ # "AWSTraceHeader" => {
1809
+ # string_value: "String",
1810
+ # binary_value: "data",
1811
+ # string_list_values: ["String"],
1812
+ # binary_list_values: ["data"],
1813
+ # data_type: "String", # required
1814
+ # },
1815
+ # },
1793
1816
  # message_deduplication_id: "String",
1794
1817
  # message_group_id: "String",
1795
1818
  # })
@@ -1798,6 +1821,7 @@ module Aws::SQS
1798
1821
  #
1799
1822
  # resp.md5_of_message_body #=> String
1800
1823
  # resp.md5_of_message_attributes #=> String
1824
+ # resp.md5_of_message_system_attributes #=> String
1801
1825
  # resp.message_id #=> String
1802
1826
  # resp.sequence_number #=> String
1803
1827
  #
@@ -1878,6 +1902,15 @@ module Aws::SQS
1878
1902
  # data_type: "String", # required
1879
1903
  # },
1880
1904
  # },
1905
+ # message_system_attributes: {
1906
+ # "AWSTraceHeader" => {
1907
+ # string_value: "String",
1908
+ # binary_value: "data",
1909
+ # string_list_values: ["String"],
1910
+ # binary_list_values: ["data"],
1911
+ # data_type: "String", # required
1912
+ # },
1913
+ # },
1881
1914
  # message_deduplication_id: "String",
1882
1915
  # message_group_id: "String",
1883
1916
  # },
@@ -1891,6 +1924,7 @@ module Aws::SQS
1891
1924
  # resp.successful[0].message_id #=> String
1892
1925
  # resp.successful[0].md5_of_message_body #=> String
1893
1926
  # resp.successful[0].md5_of_message_attributes #=> String
1927
+ # resp.successful[0].md5_of_message_system_attributes #=> String
1894
1928
  # resp.successful[0].sequence_number #=> String
1895
1929
  # resp.failed #=> Array
1896
1930
  # resp.failed[0].id #=> String
@@ -2186,7 +2220,7 @@ module Aws::SQS
2186
2220
  params: params,
2187
2221
  config: config)
2188
2222
  context[:gem_name] = 'aws-sdk-sqs'
2189
- context[:gem_version] = '1.21.0'
2223
+ context[:gem_version] = '1.22.0'
2190
2224
  Seahorse::Client::Request.new(handlers, context)
2191
2225
  end
2192
2226
 
@@ -60,10 +60,13 @@ module Aws::SQS
60
60
  MessageAttributeNameList = Shapes::ListShape.new(name: 'MessageAttributeNameList', flattened: true)
61
61
  MessageAttributeValue = Shapes::StructureShape.new(name: 'MessageAttributeValue')
62
62
  MessageBodyAttributeMap = Shapes::MapShape.new(name: 'MessageBodyAttributeMap', flattened: true)
63
+ MessageBodySystemAttributeMap = Shapes::MapShape.new(name: 'MessageBodySystemAttributeMap', flattened: true)
63
64
  MessageList = Shapes::ListShape.new(name: 'MessageList', flattened: true)
64
65
  MessageNotInflight = Shapes::StructureShape.new(name: 'MessageNotInflight')
65
66
  MessageSystemAttributeMap = Shapes::MapShape.new(name: 'MessageSystemAttributeMap', flattened: true)
66
67
  MessageSystemAttributeName = Shapes::StringShape.new(name: 'MessageSystemAttributeName')
68
+ MessageSystemAttributeNameForSends = Shapes::StringShape.new(name: 'MessageSystemAttributeNameForSends')
69
+ MessageSystemAttributeValue = Shapes::StructureShape.new(name: 'MessageSystemAttributeValue')
67
70
  OverLimit = Shapes::StructureShape.new(name: 'OverLimit')
68
71
  PurgeQueueInProgress = Shapes::StructureShape.new(name: 'PurgeQueueInProgress')
69
72
  PurgeQueueRequest = Shapes::StructureShape.new(name: 'PurgeQueueRequest')
@@ -231,11 +234,21 @@ module Aws::SQS
231
234
  MessageBodyAttributeMap.key = Shapes::ShapeRef.new(shape: String, location_name: "Name")
232
235
  MessageBodyAttributeMap.value = Shapes::ShapeRef.new(shape: MessageAttributeValue, location_name: "Value")
233
236
 
237
+ MessageBodySystemAttributeMap.key = Shapes::ShapeRef.new(shape: MessageSystemAttributeNameForSends, location_name: "Name")
238
+ MessageBodySystemAttributeMap.value = Shapes::ShapeRef.new(shape: MessageSystemAttributeValue, location_name: "Value")
239
+
234
240
  MessageList.member = Shapes::ShapeRef.new(shape: Message, location_name: "Message")
235
241
 
236
242
  MessageSystemAttributeMap.key = Shapes::ShapeRef.new(shape: MessageSystemAttributeName, location_name: "Name")
237
243
  MessageSystemAttributeMap.value = Shapes::ShapeRef.new(shape: String, location_name: "Value")
238
244
 
245
+ MessageSystemAttributeValue.add_member(:string_value, Shapes::ShapeRef.new(shape: String, location_name: "StringValue"))
246
+ MessageSystemAttributeValue.add_member(:binary_value, Shapes::ShapeRef.new(shape: Binary, location_name: "BinaryValue"))
247
+ MessageSystemAttributeValue.add_member(:string_list_values, Shapes::ShapeRef.new(shape: StringList, location_name: "StringListValue", metadata: {"flattened"=>true}))
248
+ MessageSystemAttributeValue.add_member(:binary_list_values, Shapes::ShapeRef.new(shape: BinaryList, location_name: "BinaryListValue", metadata: {"flattened"=>true}))
249
+ MessageSystemAttributeValue.add_member(:data_type, Shapes::ShapeRef.new(shape: String, required: true, location_name: "DataType"))
250
+ MessageSystemAttributeValue.struct_class = Types::MessageSystemAttributeValue
251
+
239
252
  PurgeQueueRequest.add_member(:queue_url, Shapes::ShapeRef.new(shape: String, required: true, location_name: "QueueUrl"))
240
253
  PurgeQueueRequest.struct_class = Types::PurgeQueueRequest
241
254
 
@@ -268,6 +281,7 @@ module Aws::SQS
268
281
  SendMessageBatchRequestEntry.add_member(:message_body, Shapes::ShapeRef.new(shape: String, required: true, location_name: "MessageBody"))
269
282
  SendMessageBatchRequestEntry.add_member(:delay_seconds, Shapes::ShapeRef.new(shape: Integer, location_name: "DelaySeconds"))
270
283
  SendMessageBatchRequestEntry.add_member(:message_attributes, Shapes::ShapeRef.new(shape: MessageBodyAttributeMap, location_name: "MessageAttribute"))
284
+ SendMessageBatchRequestEntry.add_member(:message_system_attributes, Shapes::ShapeRef.new(shape: MessageBodySystemAttributeMap, location_name: "MessageSystemAttribute"))
271
285
  SendMessageBatchRequestEntry.add_member(:message_deduplication_id, Shapes::ShapeRef.new(shape: String, location_name: "MessageDeduplicationId"))
272
286
  SendMessageBatchRequestEntry.add_member(:message_group_id, Shapes::ShapeRef.new(shape: String, location_name: "MessageGroupId"))
273
287
  SendMessageBatchRequestEntry.struct_class = Types::SendMessageBatchRequestEntry
@@ -282,6 +296,7 @@ module Aws::SQS
282
296
  SendMessageBatchResultEntry.add_member(:message_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "MessageId"))
283
297
  SendMessageBatchResultEntry.add_member(:md5_of_message_body, Shapes::ShapeRef.new(shape: String, required: true, location_name: "MD5OfMessageBody"))
284
298
  SendMessageBatchResultEntry.add_member(:md5_of_message_attributes, Shapes::ShapeRef.new(shape: String, location_name: "MD5OfMessageAttributes"))
299
+ SendMessageBatchResultEntry.add_member(:md5_of_message_system_attributes, Shapes::ShapeRef.new(shape: String, location_name: "MD5OfMessageSystemAttributes"))
285
300
  SendMessageBatchResultEntry.add_member(:sequence_number, Shapes::ShapeRef.new(shape: String, location_name: "SequenceNumber"))
286
301
  SendMessageBatchResultEntry.struct_class = Types::SendMessageBatchResultEntry
287
302
 
@@ -291,12 +306,14 @@ module Aws::SQS
291
306
  SendMessageRequest.add_member(:message_body, Shapes::ShapeRef.new(shape: String, required: true, location_name: "MessageBody"))
292
307
  SendMessageRequest.add_member(:delay_seconds, Shapes::ShapeRef.new(shape: Integer, location_name: "DelaySeconds"))
293
308
  SendMessageRequest.add_member(:message_attributes, Shapes::ShapeRef.new(shape: MessageBodyAttributeMap, location_name: "MessageAttribute"))
309
+ SendMessageRequest.add_member(:message_system_attributes, Shapes::ShapeRef.new(shape: MessageBodySystemAttributeMap, location_name: "MessageSystemAttribute"))
294
310
  SendMessageRequest.add_member(:message_deduplication_id, Shapes::ShapeRef.new(shape: String, location_name: "MessageDeduplicationId"))
295
311
  SendMessageRequest.add_member(:message_group_id, Shapes::ShapeRef.new(shape: String, location_name: "MessageGroupId"))
296
312
  SendMessageRequest.struct_class = Types::SendMessageRequest
297
313
 
298
314
  SendMessageResult.add_member(:md5_of_message_body, Shapes::ShapeRef.new(shape: String, location_name: "MD5OfMessageBody"))
299
315
  SendMessageResult.add_member(:md5_of_message_attributes, Shapes::ShapeRef.new(shape: String, location_name: "MD5OfMessageAttributes"))
316
+ SendMessageResult.add_member(:md5_of_message_system_attributes, Shapes::ShapeRef.new(shape: String, location_name: "MD5OfMessageSystemAttributes"))
300
317
  SendMessageResult.add_member(:message_id, Shapes::ShapeRef.new(shape: String, location_name: "MessageId"))
301
318
  SendMessageResult.add_member(:sequence_number, Shapes::ShapeRef.new(shape: String, location_name: "SequenceNumber"))
302
319
  SendMessageResult.struct_class = Types::SendMessageResult
@@ -211,6 +211,8 @@ module Aws::SQS
211
211
  # * `ApproximateReceiveCount` - Returns the number of times a message
212
212
  # has been received from the queue but not deleted.
213
213
  #
214
+ # * `AWSTraceHeader` - Returns the AWS X-Ray trace header string.
215
+ #
214
216
  # * `SenderId`
215
217
  #
216
218
  # * For an IAM user, returns the IAM user ID, for example
@@ -379,6 +381,15 @@ module Aws::SQS
379
381
  # data_type: "String", # required
380
382
  # },
381
383
  # },
384
+ # message_system_attributes: {
385
+ # "AWSTraceHeader" => {
386
+ # string_value: "String",
387
+ # binary_value: "data",
388
+ # string_list_values: ["String"],
389
+ # binary_list_values: ["data"],
390
+ # data_type: "String", # required
391
+ # },
392
+ # },
382
393
  # message_deduplication_id: "String",
383
394
  # message_group_id: "String",
384
395
  # })
@@ -417,6 +428,16 @@ module Aws::SQS
417
428
  #
418
429
  #
419
430
  # [1]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-message-attributes.html
431
+ # @option options [Hash<String,Types::MessageSystemAttributeValue>] :message_system_attributes
432
+ # The message system attribute to send. Each message system attribute
433
+ # consists of a `Name`, `Type`, and `Value`.
434
+ #
435
+ # * Currently, the only supported message system attribute is
436
+ # `AWSTraceHeader`. Its type must be `String` and its value must be a
437
+ # correctly formatted AWS X-Ray trace string.
438
+ #
439
+ # * The size of a message system attribute doesn't count towards the
440
+ # total size of a message.
420
441
  # @option options [String] :message_deduplication_id
421
442
  # This parameter applies only to FIFO (first-in-first-out) queues.
422
443
  #
@@ -535,6 +556,15 @@ module Aws::SQS
535
556
  # data_type: "String", # required
536
557
  # },
537
558
  # },
559
+ # message_system_attributes: {
560
+ # "AWSTraceHeader" => {
561
+ # string_value: "String",
562
+ # binary_value: "data",
563
+ # string_list_values: ["String"],
564
+ # binary_list_values: ["data"],
565
+ # data_type: "String", # required
566
+ # },
567
+ # },
538
568
  # message_deduplication_id: "String",
539
569
  # message_group_id: "String",
540
570
  # },
@@ -1059,6 +1059,71 @@ module Aws::SQS
1059
1059
  include Aws::Structure
1060
1060
  end
1061
1061
 
1062
+ # The user-specified message system attribute value. For string data
1063
+ # types, the `Value` attribute has the same restrictions on the content
1064
+ # as the message body. For more information, see ` SendMessage.`
1065
+ #
1066
+ # `Name`, `type`, `value` and the message body must not be empty or
1067
+ # null.
1068
+ #
1069
+ # @note When making an API call, you may pass MessageSystemAttributeValue
1070
+ # data as a hash:
1071
+ #
1072
+ # {
1073
+ # string_value: "String",
1074
+ # binary_value: "data",
1075
+ # string_list_values: ["String"],
1076
+ # binary_list_values: ["data"],
1077
+ # data_type: "String", # required
1078
+ # }
1079
+ #
1080
+ # @!attribute [rw] string_value
1081
+ # Strings are Unicode with UTF-8 binary encoding. For a list of code
1082
+ # values, see [ASCII Printable Characters][1].
1083
+ #
1084
+ #
1085
+ #
1086
+ # [1]: http://en.wikipedia.org/wiki/ASCII#ASCII_printable_characters
1087
+ # @return [String]
1088
+ #
1089
+ # @!attribute [rw] binary_value
1090
+ # Binary type attributes can store any binary data, such as compressed
1091
+ # data, encrypted data, or images.
1092
+ # @return [String]
1093
+ #
1094
+ # @!attribute [rw] string_list_values
1095
+ # Not implemented. Reserved for future use.
1096
+ # @return [Array<String>]
1097
+ #
1098
+ # @!attribute [rw] binary_list_values
1099
+ # Not implemented. Reserved for future use.
1100
+ # @return [Array<String>]
1101
+ #
1102
+ # @!attribute [rw] data_type
1103
+ # Amazon SQS supports the following logical data types: `String`,
1104
+ # `Number`, and `Binary`. For the `Number` data type, you must use
1105
+ # `StringValue`.
1106
+ #
1107
+ # You can also append custom labels. For more information, see [Amazon
1108
+ # SQS Message Attributes][1] in the *Amazon Simple Queue Service
1109
+ # Developer Guide*.
1110
+ #
1111
+ #
1112
+ #
1113
+ # [1]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-message-attributes.html
1114
+ # @return [String]
1115
+ #
1116
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/MessageSystemAttributeValue AWS API Documentation
1117
+ #
1118
+ class MessageSystemAttributeValue < Struct.new(
1119
+ :string_value,
1120
+ :binary_value,
1121
+ :string_list_values,
1122
+ :binary_list_values,
1123
+ :data_type)
1124
+ include Aws::Structure
1125
+ end
1126
+
1062
1127
  # @note When making an API call, you may pass PurgeQueueRequest
1063
1128
  # data as a hash:
1064
1129
  #
@@ -1112,6 +1177,8 @@ module Aws::SQS
1112
1177
  # * `ApproximateReceiveCount` - Returns the number of times a message
1113
1178
  # has been received from the queue but not deleted.
1114
1179
  #
1180
+ # * `AWSTraceHeader` - Returns the AWS X-Ray trace header string.
1181
+ #
1115
1182
  # * `SenderId`
1116
1183
  #
1117
1184
  # * For an IAM user, returns the IAM user ID, for example
@@ -1321,6 +1388,15 @@ module Aws::SQS
1321
1388
  # data_type: "String", # required
1322
1389
  # },
1323
1390
  # },
1391
+ # message_system_attributes: {
1392
+ # "AWSTraceHeader" => {
1393
+ # string_value: "String",
1394
+ # binary_value: "data",
1395
+ # string_list_values: ["String"],
1396
+ # binary_list_values: ["data"],
1397
+ # data_type: "String", # required
1398
+ # },
1399
+ # },
1324
1400
  # message_deduplication_id: "String",
1325
1401
  # message_group_id: "String",
1326
1402
  # },
@@ -1364,6 +1440,15 @@ module Aws::SQS
1364
1440
  # data_type: "String", # required
1365
1441
  # },
1366
1442
  # },
1443
+ # message_system_attributes: {
1444
+ # "AWSTraceHeader" => {
1445
+ # string_value: "String",
1446
+ # binary_value: "data",
1447
+ # string_list_values: ["String"],
1448
+ # binary_list_values: ["data"],
1449
+ # data_type: "String", # required
1450
+ # },
1451
+ # },
1367
1452
  # message_deduplication_id: "String",
1368
1453
  # message_group_id: "String",
1369
1454
  # }
@@ -1408,6 +1493,18 @@ module Aws::SQS
1408
1493
  # [1]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-message-attributes.html
1409
1494
  # @return [Hash<String,Types::MessageAttributeValue>]
1410
1495
  #
1496
+ # @!attribute [rw] message_system_attributes
1497
+ # The message system attribute to send Each message system attribute
1498
+ # consists of a `Name`, `Type`, and `Value`.
1499
+ #
1500
+ # * Currently, the only supported message system attribute is
1501
+ # `AWSTraceHeader`. Its type must be `String` and its value must be
1502
+ # a correctly formatted AWS X-Ray trace string.
1503
+ #
1504
+ # * The size of a message system attribute doesn't count towards the
1505
+ # total size of a message.
1506
+ # @return [Hash<String,Types::MessageSystemAttributeValue>]
1507
+ #
1411
1508
  # @!attribute [rw] message_deduplication_id
1412
1509
  # This parameter applies only to FIFO (first-in-first-out) queues.
1413
1510
  #
@@ -1517,6 +1614,7 @@ module Aws::SQS
1517
1614
  :message_body,
1518
1615
  :delay_seconds,
1519
1616
  :message_attributes,
1617
+ :message_system_attributes,
1520
1618
  :message_deduplication_id,
1521
1619
  :message_group_id)
1522
1620
  include Aws::Structure
@@ -1578,6 +1676,18 @@ module Aws::SQS
1578
1676
  # [1]: https://www.ietf.org/rfc/rfc1321.txt
1579
1677
  # @return [String]
1580
1678
  #
1679
+ # @!attribute [rw] md5_of_message_system_attributes
1680
+ # An MD5 digest of the non-URL-encoded message system attribute
1681
+ # string. You can use this attribute to verify that Amazon SQS
1682
+ # received the message correctly. Amazon SQS URL-decodes the message
1683
+ # before creating the MD5 digest. For information about MD5, see
1684
+ # [RFC1321][1].
1685
+ #
1686
+ #
1687
+ #
1688
+ # [1]: https://www.ietf.org/rfc/rfc1321.txt
1689
+ # @return [String]
1690
+ #
1581
1691
  # @!attribute [rw] sequence_number
1582
1692
  # This parameter applies only to FIFO (first-in-first-out) queues.
1583
1693
  #
@@ -1595,6 +1705,7 @@ module Aws::SQS
1595
1705
  :message_id,
1596
1706
  :md5_of_message_body,
1597
1707
  :md5_of_message_attributes,
1708
+ :md5_of_message_system_attributes,
1598
1709
  :sequence_number)
1599
1710
  include Aws::Structure
1600
1711
  end
@@ -1615,6 +1726,15 @@ module Aws::SQS
1615
1726
  # data_type: "String", # required
1616
1727
  # },
1617
1728
  # },
1729
+ # message_system_attributes: {
1730
+ # "AWSTraceHeader" => {
1731
+ # string_value: "String",
1732
+ # binary_value: "data",
1733
+ # string_list_values: ["String"],
1734
+ # binary_list_values: ["data"],
1735
+ # data_type: "String", # required
1736
+ # },
1737
+ # },
1618
1738
  # message_deduplication_id: "String",
1619
1739
  # message_group_id: "String",
1620
1740
  # }
@@ -1665,6 +1785,18 @@ module Aws::SQS
1665
1785
  # [1]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-message-attributes.html
1666
1786
  # @return [Hash<String,Types::MessageAttributeValue>]
1667
1787
  #
1788
+ # @!attribute [rw] message_system_attributes
1789
+ # The message system attribute to send. Each message system attribute
1790
+ # consists of a `Name`, `Type`, and `Value`.
1791
+ #
1792
+ # * Currently, the only supported message system attribute is
1793
+ # `AWSTraceHeader`. Its type must be `String` and its value must be
1794
+ # a correctly formatted AWS X-Ray trace string.
1795
+ #
1796
+ # * The size of a message system attribute doesn't count towards the
1797
+ # total size of a message.
1798
+ # @return [Hash<String,Types::MessageSystemAttributeValue>]
1799
+ #
1668
1800
  # @!attribute [rw] message_deduplication_id
1669
1801
  # This parameter applies only to FIFO (first-in-first-out) queues.
1670
1802
  #
@@ -1774,6 +1906,7 @@ module Aws::SQS
1774
1906
  :message_body,
1775
1907
  :delay_seconds,
1776
1908
  :message_attributes,
1909
+ :message_system_attributes,
1777
1910
  :message_deduplication_id,
1778
1911
  :message_group_id)
1779
1912
  include Aws::Structure
@@ -1805,6 +1938,13 @@ module Aws::SQS
1805
1938
  # [1]: https://www.ietf.org/rfc/rfc1321.txt
1806
1939
  # @return [String]
1807
1940
  #
1941
+ # @!attribute [rw] md5_of_message_system_attributes
1942
+ # An MD5 digest of the non-URL-encoded message system attribute
1943
+ # string. You can use this attribute to verify that Amazon SQS
1944
+ # received the message correctly. Amazon SQS URL-decodes the message
1945
+ # before creating the MD5 digest.
1946
+ # @return [String]
1947
+ #
1808
1948
  # @!attribute [rw] message_id
1809
1949
  # An attribute containing the `MessageId` of the message sent to the
1810
1950
  # queue. For more information, see [Queue and Message Identifiers][1]
@@ -1830,6 +1970,7 @@ module Aws::SQS
1830
1970
  class SendMessageResult < Struct.new(
1831
1971
  :md5_of_message_body,
1832
1972
  :md5_of_message_attributes,
1973
+ :md5_of_message_system_attributes,
1833
1974
  :message_id,
1834
1975
  :sequence_number)
1835
1976
  include Aws::Structure
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.21.0
4
+ version: 1.22.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-08-21 00:00:00.000000000 Z
11
+ date: 2019-08-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core