aws-sdk-iotdataplane 1.43.0 → 1.44.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 121e7be6c37e9868d10f28597dd57c5014626f213f7601c2327c33c3e0f27d44
4
- data.tar.gz: 6cb8402607b478351dbec3f51c9f820b77cdb1b2d3607dec00bd64d8ea462d0f
3
+ metadata.gz: fb897b64d1087d276514be339ebd9ff4ac04fc096da1be4f073b50e56e0da894
4
+ data.tar.gz: 45f3522652fe9fdb9ae0485a5551bbfbdd033327265e0caa2ff25f4298be6e97
5
5
  SHA512:
6
- metadata.gz: 6532081db93eab4f5d80e4af24773879abf64640d272a5baeebb17826f615e2c516170b7a4d3c701509679b5423aaae5c293dfe540140beaf279a4527a9bb91a
7
- data.tar.gz: 8431a5d7a4e58fb7a22a317ba5adc36bc86d3ed2fff0bd3d21beec0e657bd925a54d041fb1ba49f6aeec696a68c5358648b4bdb1d6a7ee28da56a422c93b4bdb
6
+ metadata.gz: a9e0820d1d72b371757d3cd4958dc0755f26e4e7026a136e3adec0627d20a6834aea3e347fd802dfec3327f1cbf96862ce22c6b675f4a91f39cd140be690f903
7
+ data.tar.gz: d7b22c169f5346a297d8d18634b8a26201673df246491edec5764c22a0b8a340baae23f68d289789e755dd1b4f98fce4d2f5f64300397bdb5af1ccd35ed89573
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.44.0 (2023-04-11)
5
+ ------------------
6
+
7
+ * Feature - This release adds support for MQTT5 user properties when calling the AWS IoT GetRetainedMessage API
8
+
4
9
  1.43.0 (2023-03-28)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.43.0
1
+ 1.44.0
@@ -412,18 +412,18 @@ module Aws::IoTDataPlane
412
412
  #
413
413
  # This action returns the message payload of the retained message, which
414
414
  # can incur messaging costs. To list only the topic names of the
415
- # retained messages, call
416
- # [ListRetainedMessages](/iot/latest/developerguide/API_iotdata_ListRetainedMessages.html).
415
+ # retained messages, call [ListRetainedMessages][1].
417
416
  #
418
- # Requires permission to access the [GetRetainedMessage][1] action.
417
+ # Requires permission to access the [GetRetainedMessage][2] action.
419
418
  #
420
419
  # For more information about messaging costs, see [Amazon Web Services
421
- # IoT Core pricing - Messaging][2].
420
+ # IoT Core pricing - Messaging][3].
422
421
  #
423
422
  #
424
423
  #
425
- # [1]: https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiotfleethubfordevicemanagement.html#awsiotfleethubfordevicemanagement-actions-as-permissions
426
- # [2]: http://aws.amazon.com/iot-core/pricing/#Messaging
424
+ # [1]: https://docs.aws.amazon.com/iot/latest/apireference/API_iotdata_ListRetainedMessages.html
425
+ # [2]: https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiotfleethubfordevicemanagement.html#awsiotfleethubfordevicemanagement-actions-as-permissions
426
+ # [3]: http://aws.amazon.com/iot-core/pricing/#Messaging
427
427
  #
428
428
  # @option params [required, String] :topic
429
429
  # The topic name of the retained message to retrieve.
@@ -434,6 +434,7 @@ module Aws::IoTDataPlane
434
434
  # * {Types::GetRetainedMessageResponse#payload #payload} => String
435
435
  # * {Types::GetRetainedMessageResponse#qos #qos} => Integer
436
436
  # * {Types::GetRetainedMessageResponse#last_modified_time #last_modified_time} => Integer
437
+ # * {Types::GetRetainedMessageResponse#user_properties #user_properties} => String
437
438
  #
438
439
  # @example Request syntax with placeholder values
439
440
  #
@@ -447,6 +448,7 @@ module Aws::IoTDataPlane
447
448
  # resp.payload #=> String
448
449
  # resp.qos #=> Integer
449
450
  # resp.last_modified_time #=> Integer
451
+ # resp.user_properties #=> String
450
452
  #
451
453
  # @overload get_retained_message(params = {})
452
454
  # @param [Hash] params ({})
@@ -558,7 +560,7 @@ module Aws::IoTDataPlane
558
560
  #
559
561
  #
560
562
  #
561
- # [1]: https://docs.aws.amazon.com/iot/latest/developerguide/API_iotdata_GetRetainedMessage.html
563
+ # [1]: https://docs.aws.amazon.com/iot/latest/apireference/API_iotdata_GetRetainedMessage.html
562
564
  # [2]: https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiotfleethubfordevicemanagement.html#awsiotfleethubfordevicemanagement-actions-as-permissions
563
565
  # [3]: http://aws.amazon.com/iot-core/pricing/#Messaging
564
566
  #
@@ -768,7 +770,7 @@ module Aws::IoTDataPlane
768
770
  params: params,
769
771
  config: config)
770
772
  context[:gem_name] = 'aws-sdk-iotdataplane'
771
- context[:gem_version] = '1.43.0'
773
+ context[:gem_version] = '1.44.0'
772
774
  Seahorse::Client::Request.new(handlers, context)
773
775
  end
774
776
 
@@ -57,6 +57,7 @@ module Aws::IoTDataPlane
57
57
  UpdateThingShadowRequest = Shapes::StructureShape.new(name: 'UpdateThingShadowRequest')
58
58
  UpdateThingShadowResponse = Shapes::StructureShape.new(name: 'UpdateThingShadowResponse')
59
59
  UserProperties = Shapes::StringShape.new(name: 'UserProperties')
60
+ UserPropertiesBlob = Shapes::BlobShape.new(name: 'UserPropertiesBlob')
60
61
  errorMessage = Shapes::StringShape.new(name: 'errorMessage')
61
62
 
62
63
  ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
@@ -78,6 +79,7 @@ module Aws::IoTDataPlane
78
79
  GetRetainedMessageResponse.add_member(:payload, Shapes::ShapeRef.new(shape: Payload, location_name: "payload"))
79
80
  GetRetainedMessageResponse.add_member(:qos, Shapes::ShapeRef.new(shape: Qos, location_name: "qos"))
80
81
  GetRetainedMessageResponse.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastModifiedTime"))
82
+ GetRetainedMessageResponse.add_member(:user_properties, Shapes::ShapeRef.new(shape: UserPropertiesBlob, location_name: "userProperties"))
81
83
  GetRetainedMessageResponse.struct_class = Types::GetRetainedMessageResponse
82
84
 
83
85
  GetThingShadowRequest.add_member(:thing_name, Shapes::ShapeRef.new(shape: ThingName, required: true, location: "uri", location_name: "thingName"))
@@ -83,11 +83,24 @@ module Aws::IoTDataPlane
83
83
  # was stored by IoT.
84
84
  # @return [Integer]
85
85
  #
86
+ # @!attribute [rw] user_properties
87
+ # A base64-encoded JSON string that includes an array of JSON objects,
88
+ # or null if the retained message doesn't include any user
89
+ # properties.
90
+ #
91
+ # The following example `userProperties` parameter is a JSON string
92
+ # that represents two user properties. Note that it will be
93
+ # base64-encoded:
94
+ #
95
+ # `[\{"deviceName": "alpha"\}, \{"deviceCnt": "45"\}]`
96
+ # @return [String]
97
+ #
86
98
  class GetRetainedMessageResponse < Struct.new(
87
99
  :topic,
88
100
  :payload,
89
101
  :qos,
90
- :last_modified_time)
102
+ :last_modified_time,
103
+ :user_properties)
91
104
  SENSITIVE = []
92
105
  include Aws::Structure
93
106
  end
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-iotdataplane/customizations'
52
52
  # @!group service
53
53
  module Aws::IoTDataPlane
54
54
 
55
- GEM_VERSION = '1.43.0'
55
+ GEM_VERSION = '1.44.0'
56
56
 
57
57
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-iotdataplane
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.43.0
4
+ version: 1.44.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: 2023-03-28 00:00:00.000000000 Z
11
+ date: 2023-04-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core