aws-sdk-iotdataplane 1.19.0 → 1.21.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 +4 -4
- data/lib/aws-sdk-iotdataplane.rb +1 -1
- data/lib/aws-sdk-iotdataplane/client.rb +66 -13
- data/lib/aws-sdk-iotdataplane/client_api.rb +41 -4
- data/lib/aws-sdk-iotdataplane/types.rb +68 -2
- 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: 44f6fa7bbde2302255ed1f63dbb3295dbaa35fa4103a11e9b05130ba74d595e9
|
4
|
+
data.tar.gz: c9c71d7819ff2721f9242e76832130e856cc7325c3e92782ddc386447956c357
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 45dcfa823a43306be9d36cff819527c4b3faeaafd2e443904b98d0bd635790b10e0829b549401095c7995ec33cb554dacdff2f37dcb0f3f1e8086bd66f471fa1
|
7
|
+
data.tar.gz: f893f62da6c411c75516a350a50218a8219f23be41b56cdc8304b53c0b99435f2f006726c0c438975d8bf1752fddb007ea4de89677b4f172a0a447c928297b8a
|
data/lib/aws-sdk-iotdataplane.rb
CHANGED
@@ -24,6 +24,7 @@ require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
|
|
24
24
|
require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
|
25
25
|
require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
|
26
26
|
require 'aws-sdk-core/plugins/transfer_encoding.rb'
|
27
|
+
require 'aws-sdk-core/plugins/http_checksum.rb'
|
27
28
|
require 'aws-sdk-core/plugins/signature_v4.rb'
|
28
29
|
require 'aws-sdk-core/plugins/protocols/rest_json.rb'
|
29
30
|
|
@@ -69,6 +70,7 @@ module Aws::IoTDataPlane
|
|
69
70
|
add_plugin(Aws::Plugins::ClientMetricsPlugin)
|
70
71
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
71
72
|
add_plugin(Aws::Plugins::TransferEncoding)
|
73
|
+
add_plugin(Aws::Plugins::HttpChecksum)
|
72
74
|
add_plugin(Aws::Plugins::SignatureV4)
|
73
75
|
add_plugin(Aws::Plugins::Protocols::RestJson)
|
74
76
|
|
@@ -161,7 +163,7 @@ module Aws::IoTDataPlane
|
|
161
163
|
# @option options [String] :endpoint
|
162
164
|
# The client endpoint is normally constructed from the `:region`
|
163
165
|
# option. You should only configure an `:endpoint` when connecting
|
164
|
-
# to test endpoints. This should be a valid HTTP(S) URI.
|
166
|
+
# to test or custom endpoints. This should be a valid HTTP(S) URI.
|
165
167
|
#
|
166
168
|
# @option options [Integer] :endpoint_cache_max_entries (1000)
|
167
169
|
# Used for the maximum size limit of the LRU cache storing endpoints data
|
@@ -308,10 +310,10 @@ module Aws::IoTDataPlane
|
|
308
310
|
|
309
311
|
# @!group API Operations
|
310
312
|
|
311
|
-
# Deletes the
|
313
|
+
# Deletes the shadow for the specified thing.
|
312
314
|
#
|
313
|
-
# For more information, see [DeleteThingShadow][1] in the
|
314
|
-
# Developer Guide
|
315
|
+
# For more information, see [DeleteThingShadow][1] in the AWS IoT
|
316
|
+
# Developer Guide.
|
315
317
|
#
|
316
318
|
#
|
317
319
|
#
|
@@ -320,6 +322,9 @@ module Aws::IoTDataPlane
|
|
320
322
|
# @option params [required, String] :thing_name
|
321
323
|
# The name of the thing.
|
322
324
|
#
|
325
|
+
# @option params [String] :shadow_name
|
326
|
+
# The name of the shadow.
|
327
|
+
#
|
323
328
|
# @return [Types::DeleteThingShadowResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
324
329
|
#
|
325
330
|
# * {Types::DeleteThingShadowResponse#payload #payload} => String
|
@@ -328,6 +333,7 @@ module Aws::IoTDataPlane
|
|
328
333
|
#
|
329
334
|
# resp = client.delete_thing_shadow({
|
330
335
|
# thing_name: "ThingName", # required
|
336
|
+
# shadow_name: "ShadowName",
|
331
337
|
# })
|
332
338
|
#
|
333
339
|
# @example Response structure
|
@@ -341,10 +347,10 @@ module Aws::IoTDataPlane
|
|
341
347
|
req.send_request(options)
|
342
348
|
end
|
343
349
|
|
344
|
-
# Gets the
|
350
|
+
# Gets the shadow for the specified thing.
|
345
351
|
#
|
346
|
-
# For more information, see [GetThingShadow][1] in the
|
347
|
-
#
|
352
|
+
# For more information, see [GetThingShadow][1] in the AWS IoT Developer
|
353
|
+
# Guide.
|
348
354
|
#
|
349
355
|
#
|
350
356
|
#
|
@@ -353,6 +359,9 @@ module Aws::IoTDataPlane
|
|
353
359
|
# @option params [required, String] :thing_name
|
354
360
|
# The name of the thing.
|
355
361
|
#
|
362
|
+
# @option params [String] :shadow_name
|
363
|
+
# The name of the shadow.
|
364
|
+
#
|
356
365
|
# @return [Types::GetThingShadowResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
357
366
|
#
|
358
367
|
# * {Types::GetThingShadowResponse#payload #payload} => String
|
@@ -361,6 +370,7 @@ module Aws::IoTDataPlane
|
|
361
370
|
#
|
362
371
|
# resp = client.get_thing_shadow({
|
363
372
|
# thing_name: "ThingName", # required
|
373
|
+
# shadow_name: "ShadowName",
|
364
374
|
# })
|
365
375
|
#
|
366
376
|
# @example Response structure
|
@@ -374,10 +384,49 @@ module Aws::IoTDataPlane
|
|
374
384
|
req.send_request(options)
|
375
385
|
end
|
376
386
|
|
387
|
+
# Lists the shadows for the specified thing.
|
388
|
+
#
|
389
|
+
# @option params [required, String] :thing_name
|
390
|
+
# The name of the thing.
|
391
|
+
#
|
392
|
+
# @option params [String] :next_token
|
393
|
+
# The token to retrieve the next set of results.
|
394
|
+
#
|
395
|
+
# @option params [Integer] :page_size
|
396
|
+
# The result page size.
|
397
|
+
#
|
398
|
+
# @return [Types::ListNamedShadowsForThingResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
399
|
+
#
|
400
|
+
# * {Types::ListNamedShadowsForThingResponse#results #results} => Array<String>
|
401
|
+
# * {Types::ListNamedShadowsForThingResponse#next_token #next_token} => String
|
402
|
+
# * {Types::ListNamedShadowsForThingResponse#timestamp #timestamp} => Integer
|
403
|
+
#
|
404
|
+
# @example Request syntax with placeholder values
|
405
|
+
#
|
406
|
+
# resp = client.list_named_shadows_for_thing({
|
407
|
+
# thing_name: "ThingName", # required
|
408
|
+
# next_token: "NextToken",
|
409
|
+
# page_size: 1,
|
410
|
+
# })
|
411
|
+
#
|
412
|
+
# @example Response structure
|
413
|
+
#
|
414
|
+
# resp.results #=> Array
|
415
|
+
# resp.results[0] #=> String
|
416
|
+
# resp.next_token #=> String
|
417
|
+
# resp.timestamp #=> Integer
|
418
|
+
#
|
419
|
+
# @overload list_named_shadows_for_thing(params = {})
|
420
|
+
# @param [Hash] params ({})
|
421
|
+
def list_named_shadows_for_thing(params = {}, options = {})
|
422
|
+
req = build_request(:list_named_shadows_for_thing, params)
|
423
|
+
req.send_request(options)
|
424
|
+
end
|
425
|
+
|
377
426
|
# Publishes state information.
|
378
427
|
#
|
379
|
-
# For more information, see [HTTP Protocol][1] in the
|
380
|
-
# Guide
|
428
|
+
# For more information, see [HTTP Protocol][1] in the AWS IoT Developer
|
429
|
+
# Guide.
|
381
430
|
#
|
382
431
|
#
|
383
432
|
#
|
@@ -409,10 +458,10 @@ module Aws::IoTDataPlane
|
|
409
458
|
req.send_request(options)
|
410
459
|
end
|
411
460
|
|
412
|
-
# Updates the
|
461
|
+
# Updates the shadow for the specified thing.
|
413
462
|
#
|
414
|
-
# For more information, see [UpdateThingShadow][1] in the
|
415
|
-
# Developer Guide
|
463
|
+
# For more information, see [UpdateThingShadow][1] in the AWS IoT
|
464
|
+
# Developer Guide.
|
416
465
|
#
|
417
466
|
#
|
418
467
|
#
|
@@ -421,6 +470,9 @@ module Aws::IoTDataPlane
|
|
421
470
|
# @option params [required, String] :thing_name
|
422
471
|
# The name of the thing.
|
423
472
|
#
|
473
|
+
# @option params [String] :shadow_name
|
474
|
+
# The name of the shadow.
|
475
|
+
#
|
424
476
|
# @option params [required, String, IO] :payload
|
425
477
|
# The state information, in JSON format.
|
426
478
|
#
|
@@ -432,6 +484,7 @@ module Aws::IoTDataPlane
|
|
432
484
|
#
|
433
485
|
# resp = client.update_thing_shadow({
|
434
486
|
# thing_name: "ThingName", # required
|
487
|
+
# shadow_name: "ShadowName",
|
435
488
|
# payload: "data", # required
|
436
489
|
# })
|
437
490
|
#
|
@@ -459,7 +512,7 @@ module Aws::IoTDataPlane
|
|
459
512
|
params: params,
|
460
513
|
config: config)
|
461
514
|
context[:gem_name] = 'aws-sdk-iotdataplane'
|
462
|
-
context[:gem_version] = '1.
|
515
|
+
context[:gem_version] = '1.21.0'
|
463
516
|
Seahorse::Client::Request.new(handlers, context)
|
464
517
|
end
|
465
518
|
|
@@ -14,21 +14,27 @@ module Aws::IoTDataPlane
|
|
14
14
|
ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
|
15
15
|
DeleteThingShadowRequest = Shapes::StructureShape.new(name: 'DeleteThingShadowRequest')
|
16
16
|
DeleteThingShadowResponse = Shapes::StructureShape.new(name: 'DeleteThingShadowResponse')
|
17
|
-
ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
|
18
17
|
GetThingShadowRequest = Shapes::StructureShape.new(name: 'GetThingShadowRequest')
|
19
18
|
GetThingShadowResponse = Shapes::StructureShape.new(name: 'GetThingShadowResponse')
|
20
19
|
InternalFailureException = Shapes::StructureShape.new(name: 'InternalFailureException')
|
21
20
|
InvalidRequestException = Shapes::StructureShape.new(name: 'InvalidRequestException')
|
22
21
|
JsonDocument = Shapes::BlobShape.new(name: 'JsonDocument')
|
22
|
+
ListNamedShadowsForThingRequest = Shapes::StructureShape.new(name: 'ListNamedShadowsForThingRequest')
|
23
|
+
ListNamedShadowsForThingResponse = Shapes::StructureShape.new(name: 'ListNamedShadowsForThingResponse')
|
23
24
|
MethodNotAllowedException = Shapes::StructureShape.new(name: 'MethodNotAllowedException')
|
25
|
+
NamedShadowList = Shapes::ListShape.new(name: 'NamedShadowList')
|
26
|
+
NextToken = Shapes::StringShape.new(name: 'NextToken')
|
27
|
+
PageSize = Shapes::IntegerShape.new(name: 'PageSize')
|
24
28
|
Payload = Shapes::BlobShape.new(name: 'Payload')
|
25
29
|
PublishRequest = Shapes::StructureShape.new(name: 'PublishRequest')
|
26
30
|
Qos = Shapes::IntegerShape.new(name: 'Qos')
|
27
31
|
RequestEntityTooLargeException = Shapes::StructureShape.new(name: 'RequestEntityTooLargeException')
|
28
32
|
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
29
33
|
ServiceUnavailableException = Shapes::StructureShape.new(name: 'ServiceUnavailableException')
|
34
|
+
ShadowName = Shapes::StringShape.new(name: 'ShadowName')
|
30
35
|
ThingName = Shapes::StringShape.new(name: 'ThingName')
|
31
36
|
ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
|
37
|
+
Timestamp = Shapes::IntegerShape.new(name: 'Timestamp')
|
32
38
|
Topic = Shapes::StringShape.new(name: 'Topic')
|
33
39
|
UnauthorizedException = Shapes::StructureShape.new(name: 'UnauthorizedException')
|
34
40
|
UnsupportedDocumentEncodingException = Shapes::StructureShape.new(name: 'UnsupportedDocumentEncodingException')
|
@@ -36,10 +42,11 @@ module Aws::IoTDataPlane
|
|
36
42
|
UpdateThingShadowResponse = Shapes::StructureShape.new(name: 'UpdateThingShadowResponse')
|
37
43
|
errorMessage = Shapes::StringShape.new(name: 'errorMessage')
|
38
44
|
|
39
|
-
ConflictException.add_member(:message, Shapes::ShapeRef.new(shape:
|
45
|
+
ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
|
40
46
|
ConflictException.struct_class = Types::ConflictException
|
41
47
|
|
42
48
|
DeleteThingShadowRequest.add_member(:thing_name, Shapes::ShapeRef.new(shape: ThingName, required: true, location: "uri", location_name: "thingName"))
|
49
|
+
DeleteThingShadowRequest.add_member(:shadow_name, Shapes::ShapeRef.new(shape: ShadowName, location: "querystring", location_name: "name"))
|
43
50
|
DeleteThingShadowRequest.struct_class = Types::DeleteThingShadowRequest
|
44
51
|
|
45
52
|
DeleteThingShadowResponse.add_member(:payload, Shapes::ShapeRef.new(shape: JsonDocument, required: true, location_name: "payload"))
|
@@ -48,6 +55,7 @@ module Aws::IoTDataPlane
|
|
48
55
|
DeleteThingShadowResponse[:payload_member] = DeleteThingShadowResponse.member(:payload)
|
49
56
|
|
50
57
|
GetThingShadowRequest.add_member(:thing_name, Shapes::ShapeRef.new(shape: ThingName, required: true, location: "uri", location_name: "thingName"))
|
58
|
+
GetThingShadowRequest.add_member(:shadow_name, Shapes::ShapeRef.new(shape: ShadowName, location: "querystring", location_name: "name"))
|
51
59
|
GetThingShadowRequest.struct_class = Types::GetThingShadowRequest
|
52
60
|
|
53
61
|
GetThingShadowResponse.add_member(:payload, Shapes::ShapeRef.new(shape: JsonDocument, location_name: "payload"))
|
@@ -61,9 +69,21 @@ module Aws::IoTDataPlane
|
|
61
69
|
InvalidRequestException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
|
62
70
|
InvalidRequestException.struct_class = Types::InvalidRequestException
|
63
71
|
|
64
|
-
|
72
|
+
ListNamedShadowsForThingRequest.add_member(:thing_name, Shapes::ShapeRef.new(shape: ThingName, required: true, location: "uri", location_name: "thingName"))
|
73
|
+
ListNamedShadowsForThingRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
|
74
|
+
ListNamedShadowsForThingRequest.add_member(:page_size, Shapes::ShapeRef.new(shape: PageSize, location: "querystring", location_name: "pageSize"))
|
75
|
+
ListNamedShadowsForThingRequest.struct_class = Types::ListNamedShadowsForThingRequest
|
76
|
+
|
77
|
+
ListNamedShadowsForThingResponse.add_member(:results, Shapes::ShapeRef.new(shape: NamedShadowList, location_name: "results"))
|
78
|
+
ListNamedShadowsForThingResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
79
|
+
ListNamedShadowsForThingResponse.add_member(:timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "timestamp"))
|
80
|
+
ListNamedShadowsForThingResponse.struct_class = Types::ListNamedShadowsForThingResponse
|
81
|
+
|
82
|
+
MethodNotAllowedException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
|
65
83
|
MethodNotAllowedException.struct_class = Types::MethodNotAllowedException
|
66
84
|
|
85
|
+
NamedShadowList.member = Shapes::ShapeRef.new(shape: ShadowName)
|
86
|
+
|
67
87
|
PublishRequest.add_member(:topic, Shapes::ShapeRef.new(shape: Topic, required: true, location: "uri", location_name: "topic"))
|
68
88
|
PublishRequest.add_member(:qos, Shapes::ShapeRef.new(shape: Qos, location: "querystring", location_name: "qos"))
|
69
89
|
PublishRequest.add_member(:payload, Shapes::ShapeRef.new(shape: Payload, location_name: "payload"))
|
@@ -71,7 +91,7 @@ module Aws::IoTDataPlane
|
|
71
91
|
PublishRequest[:payload] = :payload
|
72
92
|
PublishRequest[:payload_member] = PublishRequest.member(:payload)
|
73
93
|
|
74
|
-
RequestEntityTooLargeException.add_member(:message, Shapes::ShapeRef.new(shape:
|
94
|
+
RequestEntityTooLargeException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
|
75
95
|
RequestEntityTooLargeException.struct_class = Types::RequestEntityTooLargeException
|
76
96
|
|
77
97
|
ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
|
@@ -90,6 +110,7 @@ module Aws::IoTDataPlane
|
|
90
110
|
UnsupportedDocumentEncodingException.struct_class = Types::UnsupportedDocumentEncodingException
|
91
111
|
|
92
112
|
UpdateThingShadowRequest.add_member(:thing_name, Shapes::ShapeRef.new(shape: ThingName, required: true, location: "uri", location_name: "thingName"))
|
113
|
+
UpdateThingShadowRequest.add_member(:shadow_name, Shapes::ShapeRef.new(shape: ShadowName, location: "querystring", location_name: "name"))
|
93
114
|
UpdateThingShadowRequest.add_member(:payload, Shapes::ShapeRef.new(shape: JsonDocument, required: true, location_name: "payload"))
|
94
115
|
UpdateThingShadowRequest.struct_class = Types::UpdateThingShadowRequest
|
95
116
|
UpdateThingShadowRequest[:payload] = :payload
|
@@ -110,6 +131,7 @@ module Aws::IoTDataPlane
|
|
110
131
|
"apiVersion" => "2015-05-28",
|
111
132
|
"protocol" => "rest-json",
|
112
133
|
"serviceFullName" => "AWS IoT Data Plane",
|
134
|
+
"serviceId" => "IoT Data Plane",
|
113
135
|
"signatureVersion" => "v4",
|
114
136
|
"signingName" => "iotdata",
|
115
137
|
"uid" => "iot-data-2015-05-28",
|
@@ -147,6 +169,21 @@ module Aws::IoTDataPlane
|
|
147
169
|
o.errors << Shapes::ShapeRef.new(shape: UnsupportedDocumentEncodingException)
|
148
170
|
end)
|
149
171
|
|
172
|
+
api.add_operation(:list_named_shadows_for_thing, Seahorse::Model::Operation.new.tap do |o|
|
173
|
+
o.name = "ListNamedShadowsForThing"
|
174
|
+
o.http_method = "GET"
|
175
|
+
o.http_request_uri = "/api/things/shadow/ListNamedShadowsForThing/{thingName}"
|
176
|
+
o.input = Shapes::ShapeRef.new(shape: ListNamedShadowsForThingRequest)
|
177
|
+
o.output = Shapes::ShapeRef.new(shape: ListNamedShadowsForThingResponse)
|
178
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
179
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
180
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
181
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
182
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
183
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
184
|
+
o.errors << Shapes::ShapeRef.new(shape: MethodNotAllowedException)
|
185
|
+
end)
|
186
|
+
|
150
187
|
api.add_operation(:publish, Seahorse::Model::Operation.new.tap do |o|
|
151
188
|
o.name = "Publish"
|
152
189
|
o.http_method = "POST"
|
@@ -26,14 +26,20 @@ module Aws::IoTDataPlane
|
|
26
26
|
#
|
27
27
|
# {
|
28
28
|
# thing_name: "ThingName", # required
|
29
|
+
# shadow_name: "ShadowName",
|
29
30
|
# }
|
30
31
|
#
|
31
32
|
# @!attribute [rw] thing_name
|
32
33
|
# The name of the thing.
|
33
34
|
# @return [String]
|
34
35
|
#
|
36
|
+
# @!attribute [rw] shadow_name
|
37
|
+
# The name of the shadow.
|
38
|
+
# @return [String]
|
39
|
+
#
|
35
40
|
class DeleteThingShadowRequest < Struct.new(
|
36
|
-
:thing_name
|
41
|
+
:thing_name,
|
42
|
+
:shadow_name)
|
37
43
|
include Aws::Structure
|
38
44
|
end
|
39
45
|
|
@@ -55,14 +61,20 @@ module Aws::IoTDataPlane
|
|
55
61
|
#
|
56
62
|
# {
|
57
63
|
# thing_name: "ThingName", # required
|
64
|
+
# shadow_name: "ShadowName",
|
58
65
|
# }
|
59
66
|
#
|
60
67
|
# @!attribute [rw] thing_name
|
61
68
|
# The name of the thing.
|
62
69
|
# @return [String]
|
63
70
|
#
|
71
|
+
# @!attribute [rw] shadow_name
|
72
|
+
# The name of the shadow.
|
73
|
+
# @return [String]
|
74
|
+
#
|
64
75
|
class GetThingShadowRequest < Struct.new(
|
65
|
-
:thing_name
|
76
|
+
:thing_name,
|
77
|
+
:shadow_name)
|
66
78
|
include Aws::Structure
|
67
79
|
end
|
68
80
|
|
@@ -99,6 +111,54 @@ module Aws::IoTDataPlane
|
|
99
111
|
include Aws::Structure
|
100
112
|
end
|
101
113
|
|
114
|
+
# @note When making an API call, you may pass ListNamedShadowsForThingRequest
|
115
|
+
# data as a hash:
|
116
|
+
#
|
117
|
+
# {
|
118
|
+
# thing_name: "ThingName", # required
|
119
|
+
# next_token: "NextToken",
|
120
|
+
# page_size: 1,
|
121
|
+
# }
|
122
|
+
#
|
123
|
+
# @!attribute [rw] thing_name
|
124
|
+
# The name of the thing.
|
125
|
+
# @return [String]
|
126
|
+
#
|
127
|
+
# @!attribute [rw] next_token
|
128
|
+
# The token to retrieve the next set of results.
|
129
|
+
# @return [String]
|
130
|
+
#
|
131
|
+
# @!attribute [rw] page_size
|
132
|
+
# The result page size.
|
133
|
+
# @return [Integer]
|
134
|
+
#
|
135
|
+
class ListNamedShadowsForThingRequest < Struct.new(
|
136
|
+
:thing_name,
|
137
|
+
:next_token,
|
138
|
+
:page_size)
|
139
|
+
include Aws::Structure
|
140
|
+
end
|
141
|
+
|
142
|
+
# @!attribute [rw] results
|
143
|
+
# The list of shadows for the specified thing.
|
144
|
+
# @return [Array<String>]
|
145
|
+
#
|
146
|
+
# @!attribute [rw] next_token
|
147
|
+
# The token for the next set of results, or null if there are no
|
148
|
+
# additional results.
|
149
|
+
# @return [String]
|
150
|
+
#
|
151
|
+
# @!attribute [rw] timestamp
|
152
|
+
# The Epoch date and time the response was generated by AWS IoT.
|
153
|
+
# @return [Integer]
|
154
|
+
#
|
155
|
+
class ListNamedShadowsForThingResponse < Struct.new(
|
156
|
+
:results,
|
157
|
+
:next_token,
|
158
|
+
:timestamp)
|
159
|
+
include Aws::Structure
|
160
|
+
end
|
161
|
+
|
102
162
|
# The specified combination of HTTP verb and URI is not supported.
|
103
163
|
#
|
104
164
|
# @!attribute [rw] message
|
@@ -213,6 +273,7 @@ module Aws::IoTDataPlane
|
|
213
273
|
#
|
214
274
|
# {
|
215
275
|
# thing_name: "ThingName", # required
|
276
|
+
# shadow_name: "ShadowName",
|
216
277
|
# payload: "data", # required
|
217
278
|
# }
|
218
279
|
#
|
@@ -220,12 +281,17 @@ module Aws::IoTDataPlane
|
|
220
281
|
# The name of the thing.
|
221
282
|
# @return [String]
|
222
283
|
#
|
284
|
+
# @!attribute [rw] shadow_name
|
285
|
+
# The name of the shadow.
|
286
|
+
# @return [String]
|
287
|
+
#
|
223
288
|
# @!attribute [rw] payload
|
224
289
|
# The state information, in JSON format.
|
225
290
|
# @return [String]
|
226
291
|
#
|
227
292
|
class UpdateThingShadowRequest < Struct.new(
|
228
293
|
:thing_name,
|
294
|
+
:shadow_name,
|
229
295
|
:payload)
|
230
296
|
include Aws::Structure
|
231
297
|
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.
|
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: 2020-
|
11
|
+
date: 2020-06-11 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.99.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.99.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|