aws-sdk-iotdataplane 1.43.0 → 1.45.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-iotdataplane/client.rb +15 -8
- data/lib/aws-sdk-iotdataplane/client_api.rb +2 -0
- data/lib/aws-sdk-iotdataplane/types.rb +14 -1
- data/lib/aws-sdk-iotdataplane.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ae6d625448787f31335cc3366aa90a558730855372375d0a452b1731a5621c15
|
4
|
+
data.tar.gz: bde0c2f15a178cb6a6854bcb6e17094ea365aef6281129a36c8386b78b80425e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f720d36a18d805281484772a9f3f35eb7040c7175f84e5d74bd5e1ddc4177030cf5575a2d47b7aa9222e68b714706e32f8c67d373616aaa1932d98c50f243f7a
|
7
|
+
data.tar.gz: 8865b8cbcba551ab7a610cb96ac8915261326710977a7e515d9dde13e6a39df8351f3ab00cd4ed3af87cfe39cbb2810a37d2833dd73225ea1b71461cbeff8626
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.45.0 (2023-05-31)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.44.0 (2023-04-11)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - This release adds support for MQTT5 user properties when calling the AWS IoT GetRetainedMessage API
|
13
|
+
|
4
14
|
1.43.0 (2023-03-28)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.45.0
|
@@ -275,6 +275,11 @@ module Aws::IoTDataPlane
|
|
275
275
|
# in the future.
|
276
276
|
#
|
277
277
|
#
|
278
|
+
# @option options [String] :sdk_ua_app_id
|
279
|
+
# A unique and opaque application ID that is appended to the
|
280
|
+
# User-Agent header as app/<sdk_ua_app_id>. It should have a
|
281
|
+
# maximum length of 50.
|
282
|
+
#
|
278
283
|
# @option options [String] :secret_access_key
|
279
284
|
#
|
280
285
|
# @option options [String] :session_token
|
@@ -412,18 +417,18 @@ module Aws::IoTDataPlane
|
|
412
417
|
#
|
413
418
|
# This action returns the message payload of the retained message, which
|
414
419
|
# 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).
|
420
|
+
# retained messages, call [ListRetainedMessages][1].
|
417
421
|
#
|
418
|
-
# Requires permission to access the [GetRetainedMessage][
|
422
|
+
# Requires permission to access the [GetRetainedMessage][2] action.
|
419
423
|
#
|
420
424
|
# For more information about messaging costs, see [Amazon Web Services
|
421
|
-
# IoT Core pricing - Messaging][
|
425
|
+
# IoT Core pricing - Messaging][3].
|
422
426
|
#
|
423
427
|
#
|
424
428
|
#
|
425
|
-
# [1]: https://docs.aws.amazon.com/
|
426
|
-
# [2]:
|
429
|
+
# [1]: https://docs.aws.amazon.com/iot/latest/apireference/API_iotdata_ListRetainedMessages.html
|
430
|
+
# [2]: https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiotfleethubfordevicemanagement.html#awsiotfleethubfordevicemanagement-actions-as-permissions
|
431
|
+
# [3]: http://aws.amazon.com/iot-core/pricing/#Messaging
|
427
432
|
#
|
428
433
|
# @option params [required, String] :topic
|
429
434
|
# The topic name of the retained message to retrieve.
|
@@ -434,6 +439,7 @@ module Aws::IoTDataPlane
|
|
434
439
|
# * {Types::GetRetainedMessageResponse#payload #payload} => String
|
435
440
|
# * {Types::GetRetainedMessageResponse#qos #qos} => Integer
|
436
441
|
# * {Types::GetRetainedMessageResponse#last_modified_time #last_modified_time} => Integer
|
442
|
+
# * {Types::GetRetainedMessageResponse#user_properties #user_properties} => String
|
437
443
|
#
|
438
444
|
# @example Request syntax with placeholder values
|
439
445
|
#
|
@@ -447,6 +453,7 @@ module Aws::IoTDataPlane
|
|
447
453
|
# resp.payload #=> String
|
448
454
|
# resp.qos #=> Integer
|
449
455
|
# resp.last_modified_time #=> Integer
|
456
|
+
# resp.user_properties #=> String
|
450
457
|
#
|
451
458
|
# @overload get_retained_message(params = {})
|
452
459
|
# @param [Hash] params ({})
|
@@ -558,7 +565,7 @@ module Aws::IoTDataPlane
|
|
558
565
|
#
|
559
566
|
#
|
560
567
|
#
|
561
|
-
# [1]: https://docs.aws.amazon.com/iot/latest/
|
568
|
+
# [1]: https://docs.aws.amazon.com/iot/latest/apireference/API_iotdata_GetRetainedMessage.html
|
562
569
|
# [2]: https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiotfleethubfordevicemanagement.html#awsiotfleethubfordevicemanagement-actions-as-permissions
|
563
570
|
# [3]: http://aws.amazon.com/iot-core/pricing/#Messaging
|
564
571
|
#
|
@@ -768,7 +775,7 @@ module Aws::IoTDataPlane
|
|
768
775
|
params: params,
|
769
776
|
config: config)
|
770
777
|
context[:gem_name] = 'aws-sdk-iotdataplane'
|
771
|
-
context[:gem_version] = '1.
|
778
|
+
context[:gem_version] = '1.45.0'
|
772
779
|
Seahorse::Client::Request.new(handlers, context)
|
773
780
|
end
|
774
781
|
|
@@ -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
|
data/lib/aws-sdk-iotdataplane.rb
CHANGED
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.
|
4
|
+
version: 1.45.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-
|
11
|
+
date: 2023-05-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.174.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.174.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|