aws-sdk-iotdataplane 1.16.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 +5 -5
- data/lib/aws-sdk-iotdataplane.rb +9 -4
- data/lib/aws-sdk-iotdataplane/client.rb +134 -25
- data/lib/aws-sdk-iotdataplane/client_api.rb +43 -4
- data/lib/aws-sdk-iotdataplane/customizations.rb +1 -0
- data/lib/aws-sdk-iotdataplane/errors.rb +34 -10
- data/lib/aws-sdk-iotdataplane/resource.rb +3 -0
- data/lib/aws-sdk-iotdataplane/types.rb +89 -2
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 92d7980da720bcf121ee9907928bf2e6fcb330b17bc93bb8b0234cbc9cb29ea5
|
4
|
+
data.tar.gz: e7410bbb132aa0f3e6393d2d97c2edd973fbc64345f4b6f3b7fd3ca3f4292ffd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 62870e0f358e7f3b78083a77b2aa219a5da7b1d75e395bd28d6348885a8a88cca664f985f8febfa18020fbc6421cf182539a9e03706a1d185ac69c5a499285c0
|
7
|
+
data.tar.gz: 667d38e07a08d9eb85860af75917f7bbed7059c040c40c6250ed9a43331e3712572513ff08cfa25d8057bcf5498269a1d50611d22d14b4380b55b52608cc44b6
|
data/lib/aws-sdk-iotdataplane.rb
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -24,17 +26,20 @@ require_relative 'aws-sdk-iotdataplane/customizations'
|
|
24
26
|
# methods each accept a hash of request parameters and return a response
|
25
27
|
# structure.
|
26
28
|
#
|
29
|
+
# io_t_data_plane = Aws::IoTDataPlane::Client.new
|
30
|
+
# resp = io_t_data_plane.delete_thing_shadow(params)
|
31
|
+
#
|
27
32
|
# See {Client} for more information.
|
28
33
|
#
|
29
34
|
# # Errors
|
30
35
|
#
|
31
|
-
# Errors returned from AWS IoT Data Plane
|
32
|
-
# extend {Errors::ServiceError}.
|
36
|
+
# Errors returned from AWS IoT Data Plane are defined in the
|
37
|
+
# {Errors} module and all extend {Errors::ServiceError}.
|
33
38
|
#
|
34
39
|
# begin
|
35
40
|
# # do stuff
|
36
41
|
# rescue Aws::IoTDataPlane::Errors::ServiceError
|
37
|
-
# # rescues all
|
42
|
+
# # rescues all AWS IoT Data Plane API errors
|
38
43
|
# end
|
39
44
|
#
|
40
45
|
# See {Errors} for more information.
|
@@ -42,6 +47,6 @@ require_relative 'aws-sdk-iotdataplane/customizations'
|
|
42
47
|
# @service
|
43
48
|
module Aws::IoTDataPlane
|
44
49
|
|
45
|
-
GEM_VERSION = '1.
|
50
|
+
GEM_VERSION = '1.22.0'
|
46
51
|
|
47
52
|
end
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -24,12 +26,25 @@ require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
|
|
24
26
|
require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
|
25
27
|
require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
|
26
28
|
require 'aws-sdk-core/plugins/transfer_encoding.rb'
|
29
|
+
require 'aws-sdk-core/plugins/http_checksum.rb'
|
27
30
|
require 'aws-sdk-core/plugins/signature_v4.rb'
|
28
31
|
require 'aws-sdk-core/plugins/protocols/rest_json.rb'
|
29
32
|
|
30
33
|
Aws::Plugins::GlobalConfiguration.add_identifier(:iotdataplane)
|
31
34
|
|
32
35
|
module Aws::IoTDataPlane
|
36
|
+
# An API client for IoTDataPlane. To construct a client, you need to configure a `:region` and `:credentials`.
|
37
|
+
#
|
38
|
+
# client = Aws::IoTDataPlane::Client.new(
|
39
|
+
# region: region_name,
|
40
|
+
# credentials: credentials,
|
41
|
+
# # ...
|
42
|
+
# )
|
43
|
+
#
|
44
|
+
# For details on configuring region and credentials see
|
45
|
+
# the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html).
|
46
|
+
#
|
47
|
+
# See {#initialize} for a full list of supported configuration options.
|
33
48
|
class Client < Seahorse::Client::Base
|
34
49
|
|
35
50
|
include Aws::ClientStubs
|
@@ -57,6 +72,7 @@ module Aws::IoTDataPlane
|
|
57
72
|
add_plugin(Aws::Plugins::ClientMetricsPlugin)
|
58
73
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
59
74
|
add_plugin(Aws::Plugins::TransferEncoding)
|
75
|
+
add_plugin(Aws::Plugins::HttpChecksum)
|
60
76
|
add_plugin(Aws::Plugins::SignatureV4)
|
61
77
|
add_plugin(Aws::Plugins::Protocols::RestJson)
|
62
78
|
|
@@ -93,7 +109,7 @@ module Aws::IoTDataPlane
|
|
93
109
|
# @option options [required, String] :region
|
94
110
|
# The AWS region to connect to. The configured `:region` is
|
95
111
|
# used to determine the service `:endpoint`. When not passed,
|
96
|
-
# a default `:region` is
|
112
|
+
# a default `:region` is searched for in the following locations:
|
97
113
|
#
|
98
114
|
# * `Aws.config[:region]`
|
99
115
|
# * `ENV['AWS_REGION']`
|
@@ -108,6 +124,12 @@ module Aws::IoTDataPlane
|
|
108
124
|
# When set to `true`, a thread polling for endpoints will be running in
|
109
125
|
# the background every 60 secs (default). Defaults to `false`.
|
110
126
|
#
|
127
|
+
# @option options [Boolean] :adaptive_retry_wait_to_fill (true)
|
128
|
+
# Used only in `adaptive` retry mode. When true, the request will sleep
|
129
|
+
# until there is sufficent client side capacity to retry the request.
|
130
|
+
# When false, the request will raise a `RetryCapacityNotAvailableError` and will
|
131
|
+
# not retry instead of sleeping.
|
132
|
+
#
|
111
133
|
# @option options [Boolean] :client_side_monitoring (false)
|
112
134
|
# When `true`, client-side metrics will be collected for all API requests from
|
113
135
|
# this client.
|
@@ -132,6 +154,10 @@ module Aws::IoTDataPlane
|
|
132
154
|
# When `true`, an attempt is made to coerce request parameters into
|
133
155
|
# the required types.
|
134
156
|
#
|
157
|
+
# @option options [Boolean] :correct_clock_skew (true)
|
158
|
+
# Used only in `standard` and adaptive retry modes. Specifies whether to apply
|
159
|
+
# a clock skew correction and retry requests with skewed client clocks.
|
160
|
+
#
|
135
161
|
# @option options [Boolean] :disable_host_prefix_injection (false)
|
136
162
|
# Set to true to disable SDK automatically adding host prefix
|
137
163
|
# to default service endpoint when available.
|
@@ -139,7 +165,7 @@ module Aws::IoTDataPlane
|
|
139
165
|
# @option options [String] :endpoint
|
140
166
|
# The client endpoint is normally constructed from the `:region`
|
141
167
|
# option. You should only configure an `:endpoint` when connecting
|
142
|
-
# to test endpoints. This should be
|
168
|
+
# to test or custom endpoints. This should be a valid HTTP(S) URI.
|
143
169
|
#
|
144
170
|
# @option options [Integer] :endpoint_cache_max_entries (1000)
|
145
171
|
# Used for the maximum size limit of the LRU cache storing endpoints data
|
@@ -154,7 +180,7 @@ module Aws::IoTDataPlane
|
|
154
180
|
# requests fetching endpoints information. Defaults to 60 sec.
|
155
181
|
#
|
156
182
|
# @option options [Boolean] :endpoint_discovery (false)
|
157
|
-
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
183
|
+
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
158
184
|
#
|
159
185
|
# @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
|
160
186
|
# The log formatter.
|
@@ -166,15 +192,29 @@ module Aws::IoTDataPlane
|
|
166
192
|
# The Logger instance to send log messages to. If this option
|
167
193
|
# is not set, logging will be disabled.
|
168
194
|
#
|
195
|
+
# @option options [Integer] :max_attempts (3)
|
196
|
+
# An integer representing the maximum number attempts that will be made for
|
197
|
+
# a single request, including the initial attempt. For example,
|
198
|
+
# setting this value to 5 will result in a request being retried up to
|
199
|
+
# 4 times. Used in `standard` and `adaptive` retry modes.
|
200
|
+
#
|
169
201
|
# @option options [String] :profile ("default")
|
170
202
|
# Used when loading credentials from the shared credentials file
|
171
203
|
# at HOME/.aws/credentials. When not specified, 'default' is used.
|
172
204
|
#
|
205
|
+
# @option options [Proc] :retry_backoff
|
206
|
+
# A proc or lambda used for backoff. Defaults to 2**retries * retry_base_delay.
|
207
|
+
# This option is only used in the `legacy` retry mode.
|
208
|
+
#
|
173
209
|
# @option options [Float] :retry_base_delay (0.3)
|
174
|
-
# The base delay in seconds used by the default backoff function.
|
210
|
+
# The base delay in seconds used by the default backoff function. This option
|
211
|
+
# is only used in the `legacy` retry mode.
|
175
212
|
#
|
176
213
|
# @option options [Symbol] :retry_jitter (:none)
|
177
|
-
# A delay randomiser function used by the default backoff function.
|
214
|
+
# A delay randomiser function used by the default backoff function.
|
215
|
+
# Some predefined functions can be referenced by name - :none, :equal, :full,
|
216
|
+
# otherwise a Proc that takes and returns a number. This option is only used
|
217
|
+
# in the `legacy` retry mode.
|
178
218
|
#
|
179
219
|
# @see https://www.awsarchitectureblog.com/2015/03/backoff.html
|
180
220
|
#
|
@@ -182,11 +222,30 @@ module Aws::IoTDataPlane
|
|
182
222
|
# The maximum number of times to retry failed requests. Only
|
183
223
|
# ~ 500 level server errors and certain ~ 400 level client errors
|
184
224
|
# are retried. Generally, these are throttling errors, data
|
185
|
-
# checksum errors, networking errors, timeout errors
|
186
|
-
# errors from expired credentials.
|
225
|
+
# checksum errors, networking errors, timeout errors, auth errors,
|
226
|
+
# endpoint discovery, and errors from expired credentials.
|
227
|
+
# This option is only used in the `legacy` retry mode.
|
187
228
|
#
|
188
229
|
# @option options [Integer] :retry_max_delay (0)
|
189
|
-
# The maximum number of seconds to delay between retries (0 for no limit)
|
230
|
+
# The maximum number of seconds to delay between retries (0 for no limit)
|
231
|
+
# used by the default backoff function. This option is only used in the
|
232
|
+
# `legacy` retry mode.
|
233
|
+
#
|
234
|
+
# @option options [String] :retry_mode ("legacy")
|
235
|
+
# Specifies which retry algorithm to use. Values are:
|
236
|
+
#
|
237
|
+
# * `legacy` - The pre-existing retry behavior. This is default value if
|
238
|
+
# no retry mode is provided.
|
239
|
+
#
|
240
|
+
# * `standard` - A standardized set of retry rules across the AWS SDKs.
|
241
|
+
# This includes support for retry quotas, which limit the number of
|
242
|
+
# unsuccessful retries a client can make.
|
243
|
+
#
|
244
|
+
# * `adaptive` - An experimental retry mode that includes all the
|
245
|
+
# functionality of `standard` mode along with automatic client side
|
246
|
+
# throttling. This is a provisional mode that may change behavior
|
247
|
+
# in the future.
|
248
|
+
#
|
190
249
|
#
|
191
250
|
# @option options [String] :secret_access_key
|
192
251
|
#
|
@@ -209,16 +268,15 @@ module Aws::IoTDataPlane
|
|
209
268
|
# requests through. Formatted like 'http://proxy.com:123'.
|
210
269
|
#
|
211
270
|
# @option options [Float] :http_open_timeout (15) The number of
|
212
|
-
# seconds to wait when opening a HTTP session before
|
271
|
+
# seconds to wait when opening a HTTP session before raising a
|
213
272
|
# `Timeout::Error`.
|
214
273
|
#
|
215
274
|
# @option options [Integer] :http_read_timeout (60) The default
|
216
275
|
# number of seconds to wait for response data. This value can
|
217
|
-
# safely be set
|
218
|
-
# per-request on the session yeidled by {#session_for}.
|
276
|
+
# safely be set per-request on the session.
|
219
277
|
#
|
220
278
|
# @option options [Float] :http_idle_timeout (5) The number of
|
221
|
-
# seconds a connection is allowed to sit
|
279
|
+
# seconds a connection is allowed to sit idle before it is
|
222
280
|
# considered stale. Stale connections are closed and removed
|
223
281
|
# from the pool before making a request.
|
224
282
|
#
|
@@ -227,7 +285,7 @@ module Aws::IoTDataPlane
|
|
227
285
|
# request body. This option has no effect unless the request has
|
228
286
|
# "Expect" header set to "100-continue". Defaults to `nil` which
|
229
287
|
# disables this behaviour. This value can safely be set per
|
230
|
-
# request on the session
|
288
|
+
# request on the session.
|
231
289
|
#
|
232
290
|
# @option options [Boolean] :http_wire_trace (false) When `true`,
|
233
291
|
# HTTP debug output will be sent to the `:logger`.
|
@@ -254,10 +312,10 @@ module Aws::IoTDataPlane
|
|
254
312
|
|
255
313
|
# @!group API Operations
|
256
314
|
|
257
|
-
# Deletes the
|
315
|
+
# Deletes the shadow for the specified thing.
|
258
316
|
#
|
259
|
-
# For more information, see [DeleteThingShadow][1] in the
|
260
|
-
# Developer Guide
|
317
|
+
# For more information, see [DeleteThingShadow][1] in the AWS IoT
|
318
|
+
# Developer Guide.
|
261
319
|
#
|
262
320
|
#
|
263
321
|
#
|
@@ -266,6 +324,9 @@ module Aws::IoTDataPlane
|
|
266
324
|
# @option params [required, String] :thing_name
|
267
325
|
# The name of the thing.
|
268
326
|
#
|
327
|
+
# @option params [String] :shadow_name
|
328
|
+
# The name of the shadow.
|
329
|
+
#
|
269
330
|
# @return [Types::DeleteThingShadowResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
270
331
|
#
|
271
332
|
# * {Types::DeleteThingShadowResponse#payload #payload} => String
|
@@ -274,6 +335,7 @@ module Aws::IoTDataPlane
|
|
274
335
|
#
|
275
336
|
# resp = client.delete_thing_shadow({
|
276
337
|
# thing_name: "ThingName", # required
|
338
|
+
# shadow_name: "ShadowName",
|
277
339
|
# })
|
278
340
|
#
|
279
341
|
# @example Response structure
|
@@ -287,10 +349,10 @@ module Aws::IoTDataPlane
|
|
287
349
|
req.send_request(options)
|
288
350
|
end
|
289
351
|
|
290
|
-
# Gets the
|
352
|
+
# Gets the shadow for the specified thing.
|
291
353
|
#
|
292
|
-
# For more information, see [GetThingShadow][1] in the
|
293
|
-
#
|
354
|
+
# For more information, see [GetThingShadow][1] in the AWS IoT Developer
|
355
|
+
# Guide.
|
294
356
|
#
|
295
357
|
#
|
296
358
|
#
|
@@ -299,6 +361,9 @@ module Aws::IoTDataPlane
|
|
299
361
|
# @option params [required, String] :thing_name
|
300
362
|
# The name of the thing.
|
301
363
|
#
|
364
|
+
# @option params [String] :shadow_name
|
365
|
+
# The name of the shadow.
|
366
|
+
#
|
302
367
|
# @return [Types::GetThingShadowResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
303
368
|
#
|
304
369
|
# * {Types::GetThingShadowResponse#payload #payload} => String
|
@@ -307,6 +372,7 @@ module Aws::IoTDataPlane
|
|
307
372
|
#
|
308
373
|
# resp = client.get_thing_shadow({
|
309
374
|
# thing_name: "ThingName", # required
|
375
|
+
# shadow_name: "ShadowName",
|
310
376
|
# })
|
311
377
|
#
|
312
378
|
# @example Response structure
|
@@ -320,10 +386,49 @@ module Aws::IoTDataPlane
|
|
320
386
|
req.send_request(options)
|
321
387
|
end
|
322
388
|
|
389
|
+
# Lists the shadows for the specified thing.
|
390
|
+
#
|
391
|
+
# @option params [required, String] :thing_name
|
392
|
+
# The name of the thing.
|
393
|
+
#
|
394
|
+
# @option params [String] :next_token
|
395
|
+
# The token to retrieve the next set of results.
|
396
|
+
#
|
397
|
+
# @option params [Integer] :page_size
|
398
|
+
# The result page size.
|
399
|
+
#
|
400
|
+
# @return [Types::ListNamedShadowsForThingResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
401
|
+
#
|
402
|
+
# * {Types::ListNamedShadowsForThingResponse#results #results} => Array<String>
|
403
|
+
# * {Types::ListNamedShadowsForThingResponse#next_token #next_token} => String
|
404
|
+
# * {Types::ListNamedShadowsForThingResponse#timestamp #timestamp} => Integer
|
405
|
+
#
|
406
|
+
# @example Request syntax with placeholder values
|
407
|
+
#
|
408
|
+
# resp = client.list_named_shadows_for_thing({
|
409
|
+
# thing_name: "ThingName", # required
|
410
|
+
# next_token: "NextToken",
|
411
|
+
# page_size: 1,
|
412
|
+
# })
|
413
|
+
#
|
414
|
+
# @example Response structure
|
415
|
+
#
|
416
|
+
# resp.results #=> Array
|
417
|
+
# resp.results[0] #=> String
|
418
|
+
# resp.next_token #=> String
|
419
|
+
# resp.timestamp #=> Integer
|
420
|
+
#
|
421
|
+
# @overload list_named_shadows_for_thing(params = {})
|
422
|
+
# @param [Hash] params ({})
|
423
|
+
def list_named_shadows_for_thing(params = {}, options = {})
|
424
|
+
req = build_request(:list_named_shadows_for_thing, params)
|
425
|
+
req.send_request(options)
|
426
|
+
end
|
427
|
+
|
323
428
|
# Publishes state information.
|
324
429
|
#
|
325
|
-
# For more information, see [HTTP Protocol][1] in the
|
326
|
-
# Guide
|
430
|
+
# For more information, see [HTTP Protocol][1] in the AWS IoT Developer
|
431
|
+
# Guide.
|
327
432
|
#
|
328
433
|
#
|
329
434
|
#
|
@@ -355,10 +460,10 @@ module Aws::IoTDataPlane
|
|
355
460
|
req.send_request(options)
|
356
461
|
end
|
357
462
|
|
358
|
-
# Updates the
|
463
|
+
# Updates the shadow for the specified thing.
|
359
464
|
#
|
360
|
-
# For more information, see [UpdateThingShadow][1] in the
|
361
|
-
# Developer Guide
|
465
|
+
# For more information, see [UpdateThingShadow][1] in the AWS IoT
|
466
|
+
# Developer Guide.
|
362
467
|
#
|
363
468
|
#
|
364
469
|
#
|
@@ -367,6 +472,9 @@ module Aws::IoTDataPlane
|
|
367
472
|
# @option params [required, String] :thing_name
|
368
473
|
# The name of the thing.
|
369
474
|
#
|
475
|
+
# @option params [String] :shadow_name
|
476
|
+
# The name of the shadow.
|
477
|
+
#
|
370
478
|
# @option params [required, String, IO] :payload
|
371
479
|
# The state information, in JSON format.
|
372
480
|
#
|
@@ -378,6 +486,7 @@ module Aws::IoTDataPlane
|
|
378
486
|
#
|
379
487
|
# resp = client.update_thing_shadow({
|
380
488
|
# thing_name: "ThingName", # required
|
489
|
+
# shadow_name: "ShadowName",
|
381
490
|
# payload: "data", # required
|
382
491
|
# })
|
383
492
|
#
|
@@ -405,7 +514,7 @@ module Aws::IoTDataPlane
|
|
405
514
|
params: params,
|
406
515
|
config: config)
|
407
516
|
context[:gem_name] = 'aws-sdk-iotdataplane'
|
408
|
-
context[:gem_version] = '1.
|
517
|
+
context[:gem_version] = '1.22.0'
|
409
518
|
Seahorse::Client::Request.new(handlers, context)
|
410
519
|
end
|
411
520
|
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -14,21 +16,27 @@ module Aws::IoTDataPlane
|
|
14
16
|
ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
|
15
17
|
DeleteThingShadowRequest = Shapes::StructureShape.new(name: 'DeleteThingShadowRequest')
|
16
18
|
DeleteThingShadowResponse = Shapes::StructureShape.new(name: 'DeleteThingShadowResponse')
|
17
|
-
ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
|
18
19
|
GetThingShadowRequest = Shapes::StructureShape.new(name: 'GetThingShadowRequest')
|
19
20
|
GetThingShadowResponse = Shapes::StructureShape.new(name: 'GetThingShadowResponse')
|
20
21
|
InternalFailureException = Shapes::StructureShape.new(name: 'InternalFailureException')
|
21
22
|
InvalidRequestException = Shapes::StructureShape.new(name: 'InvalidRequestException')
|
22
23
|
JsonDocument = Shapes::BlobShape.new(name: 'JsonDocument')
|
24
|
+
ListNamedShadowsForThingRequest = Shapes::StructureShape.new(name: 'ListNamedShadowsForThingRequest')
|
25
|
+
ListNamedShadowsForThingResponse = Shapes::StructureShape.new(name: 'ListNamedShadowsForThingResponse')
|
23
26
|
MethodNotAllowedException = Shapes::StructureShape.new(name: 'MethodNotAllowedException')
|
27
|
+
NamedShadowList = Shapes::ListShape.new(name: 'NamedShadowList')
|
28
|
+
NextToken = Shapes::StringShape.new(name: 'NextToken')
|
29
|
+
PageSize = Shapes::IntegerShape.new(name: 'PageSize')
|
24
30
|
Payload = Shapes::BlobShape.new(name: 'Payload')
|
25
31
|
PublishRequest = Shapes::StructureShape.new(name: 'PublishRequest')
|
26
32
|
Qos = Shapes::IntegerShape.new(name: 'Qos')
|
27
33
|
RequestEntityTooLargeException = Shapes::StructureShape.new(name: 'RequestEntityTooLargeException')
|
28
34
|
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
29
35
|
ServiceUnavailableException = Shapes::StructureShape.new(name: 'ServiceUnavailableException')
|
36
|
+
ShadowName = Shapes::StringShape.new(name: 'ShadowName')
|
30
37
|
ThingName = Shapes::StringShape.new(name: 'ThingName')
|
31
38
|
ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
|
39
|
+
Timestamp = Shapes::IntegerShape.new(name: 'Timestamp')
|
32
40
|
Topic = Shapes::StringShape.new(name: 'Topic')
|
33
41
|
UnauthorizedException = Shapes::StructureShape.new(name: 'UnauthorizedException')
|
34
42
|
UnsupportedDocumentEncodingException = Shapes::StructureShape.new(name: 'UnsupportedDocumentEncodingException')
|
@@ -36,10 +44,11 @@ module Aws::IoTDataPlane
|
|
36
44
|
UpdateThingShadowResponse = Shapes::StructureShape.new(name: 'UpdateThingShadowResponse')
|
37
45
|
errorMessage = Shapes::StringShape.new(name: 'errorMessage')
|
38
46
|
|
39
|
-
ConflictException.add_member(:message, Shapes::ShapeRef.new(shape:
|
47
|
+
ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
|
40
48
|
ConflictException.struct_class = Types::ConflictException
|
41
49
|
|
42
50
|
DeleteThingShadowRequest.add_member(:thing_name, Shapes::ShapeRef.new(shape: ThingName, required: true, location: "uri", location_name: "thingName"))
|
51
|
+
DeleteThingShadowRequest.add_member(:shadow_name, Shapes::ShapeRef.new(shape: ShadowName, location: "querystring", location_name: "name"))
|
43
52
|
DeleteThingShadowRequest.struct_class = Types::DeleteThingShadowRequest
|
44
53
|
|
45
54
|
DeleteThingShadowResponse.add_member(:payload, Shapes::ShapeRef.new(shape: JsonDocument, required: true, location_name: "payload"))
|
@@ -48,6 +57,7 @@ module Aws::IoTDataPlane
|
|
48
57
|
DeleteThingShadowResponse[:payload_member] = DeleteThingShadowResponse.member(:payload)
|
49
58
|
|
50
59
|
GetThingShadowRequest.add_member(:thing_name, Shapes::ShapeRef.new(shape: ThingName, required: true, location: "uri", location_name: "thingName"))
|
60
|
+
GetThingShadowRequest.add_member(:shadow_name, Shapes::ShapeRef.new(shape: ShadowName, location: "querystring", location_name: "name"))
|
51
61
|
GetThingShadowRequest.struct_class = Types::GetThingShadowRequest
|
52
62
|
|
53
63
|
GetThingShadowResponse.add_member(:payload, Shapes::ShapeRef.new(shape: JsonDocument, location_name: "payload"))
|
@@ -61,9 +71,21 @@ module Aws::IoTDataPlane
|
|
61
71
|
InvalidRequestException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
|
62
72
|
InvalidRequestException.struct_class = Types::InvalidRequestException
|
63
73
|
|
64
|
-
|
74
|
+
ListNamedShadowsForThingRequest.add_member(:thing_name, Shapes::ShapeRef.new(shape: ThingName, required: true, location: "uri", location_name: "thingName"))
|
75
|
+
ListNamedShadowsForThingRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
|
76
|
+
ListNamedShadowsForThingRequest.add_member(:page_size, Shapes::ShapeRef.new(shape: PageSize, location: "querystring", location_name: "pageSize"))
|
77
|
+
ListNamedShadowsForThingRequest.struct_class = Types::ListNamedShadowsForThingRequest
|
78
|
+
|
79
|
+
ListNamedShadowsForThingResponse.add_member(:results, Shapes::ShapeRef.new(shape: NamedShadowList, location_name: "results"))
|
80
|
+
ListNamedShadowsForThingResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
81
|
+
ListNamedShadowsForThingResponse.add_member(:timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "timestamp"))
|
82
|
+
ListNamedShadowsForThingResponse.struct_class = Types::ListNamedShadowsForThingResponse
|
83
|
+
|
84
|
+
MethodNotAllowedException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
|
65
85
|
MethodNotAllowedException.struct_class = Types::MethodNotAllowedException
|
66
86
|
|
87
|
+
NamedShadowList.member = Shapes::ShapeRef.new(shape: ShadowName)
|
88
|
+
|
67
89
|
PublishRequest.add_member(:topic, Shapes::ShapeRef.new(shape: Topic, required: true, location: "uri", location_name: "topic"))
|
68
90
|
PublishRequest.add_member(:qos, Shapes::ShapeRef.new(shape: Qos, location: "querystring", location_name: "qos"))
|
69
91
|
PublishRequest.add_member(:payload, Shapes::ShapeRef.new(shape: Payload, location_name: "payload"))
|
@@ -71,7 +93,7 @@ module Aws::IoTDataPlane
|
|
71
93
|
PublishRequest[:payload] = :payload
|
72
94
|
PublishRequest[:payload_member] = PublishRequest.member(:payload)
|
73
95
|
|
74
|
-
RequestEntityTooLargeException.add_member(:message, Shapes::ShapeRef.new(shape:
|
96
|
+
RequestEntityTooLargeException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
|
75
97
|
RequestEntityTooLargeException.struct_class = Types::RequestEntityTooLargeException
|
76
98
|
|
77
99
|
ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
|
@@ -90,6 +112,7 @@ module Aws::IoTDataPlane
|
|
90
112
|
UnsupportedDocumentEncodingException.struct_class = Types::UnsupportedDocumentEncodingException
|
91
113
|
|
92
114
|
UpdateThingShadowRequest.add_member(:thing_name, Shapes::ShapeRef.new(shape: ThingName, required: true, location: "uri", location_name: "thingName"))
|
115
|
+
UpdateThingShadowRequest.add_member(:shadow_name, Shapes::ShapeRef.new(shape: ShadowName, location: "querystring", location_name: "name"))
|
93
116
|
UpdateThingShadowRequest.add_member(:payload, Shapes::ShapeRef.new(shape: JsonDocument, required: true, location_name: "payload"))
|
94
117
|
UpdateThingShadowRequest.struct_class = Types::UpdateThingShadowRequest
|
95
118
|
UpdateThingShadowRequest[:payload] = :payload
|
@@ -110,6 +133,7 @@ module Aws::IoTDataPlane
|
|
110
133
|
"apiVersion" => "2015-05-28",
|
111
134
|
"protocol" => "rest-json",
|
112
135
|
"serviceFullName" => "AWS IoT Data Plane",
|
136
|
+
"serviceId" => "IoT Data Plane",
|
113
137
|
"signatureVersion" => "v4",
|
114
138
|
"signingName" => "iotdata",
|
115
139
|
"uid" => "iot-data-2015-05-28",
|
@@ -147,6 +171,21 @@ module Aws::IoTDataPlane
|
|
147
171
|
o.errors << Shapes::ShapeRef.new(shape: UnsupportedDocumentEncodingException)
|
148
172
|
end)
|
149
173
|
|
174
|
+
api.add_operation(:list_named_shadows_for_thing, Seahorse::Model::Operation.new.tap do |o|
|
175
|
+
o.name = "ListNamedShadowsForThing"
|
176
|
+
o.http_method = "GET"
|
177
|
+
o.http_request_uri = "/api/things/shadow/ListNamedShadowsForThing/{thingName}"
|
178
|
+
o.input = Shapes::ShapeRef.new(shape: ListNamedShadowsForThingRequest)
|
179
|
+
o.output = Shapes::ShapeRef.new(shape: ListNamedShadowsForThingResponse)
|
180
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
181
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
182
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
183
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
184
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
185
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
186
|
+
o.errors << Shapes::ShapeRef.new(shape: MethodNotAllowedException)
|
187
|
+
end)
|
188
|
+
|
150
189
|
api.add_operation(:publish, Seahorse::Model::Operation.new.tap do |o|
|
151
190
|
o.name = "Publish"
|
152
191
|
o.http_method = "POST"
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -6,6 +8,38 @@
|
|
6
8
|
# WARNING ABOUT GENERATED CODE
|
7
9
|
|
8
10
|
module Aws::IoTDataPlane
|
11
|
+
|
12
|
+
# When IoTDataPlane returns an error response, the Ruby SDK constructs and raises an error.
|
13
|
+
# These errors all extend Aws::IoTDataPlane::Errors::ServiceError < {Aws::Errors::ServiceError}
|
14
|
+
#
|
15
|
+
# You can rescue all IoTDataPlane errors using ServiceError:
|
16
|
+
#
|
17
|
+
# begin
|
18
|
+
# # do stuff
|
19
|
+
# rescue Aws::IoTDataPlane::Errors::ServiceError
|
20
|
+
# # rescues all IoTDataPlane API errors
|
21
|
+
# end
|
22
|
+
#
|
23
|
+
#
|
24
|
+
# ## Request Context
|
25
|
+
# ServiceError objects have a {Aws::Errors::ServiceError#context #context} method that returns
|
26
|
+
# information about the request that generated the error.
|
27
|
+
# See {Seahorse::Client::RequestContext} for more information.
|
28
|
+
#
|
29
|
+
# ## Error Classes
|
30
|
+
# * {ConflictException}
|
31
|
+
# * {InternalFailureException}
|
32
|
+
# * {InvalidRequestException}
|
33
|
+
# * {MethodNotAllowedException}
|
34
|
+
# * {RequestEntityTooLargeException}
|
35
|
+
# * {ResourceNotFoundException}
|
36
|
+
# * {ServiceUnavailableException}
|
37
|
+
# * {ThrottlingException}
|
38
|
+
# * {UnauthorizedException}
|
39
|
+
# * {UnsupportedDocumentEncodingException}
|
40
|
+
#
|
41
|
+
# Additionally, error classes are dynamically generated for service errors based on the error code
|
42
|
+
# if they are not defined above.
|
9
43
|
module Errors
|
10
44
|
|
11
45
|
extend Aws::Errors::DynamicErrors
|
@@ -23,7 +57,6 @@ module Aws::IoTDataPlane
|
|
23
57
|
def message
|
24
58
|
@message || @data[:message]
|
25
59
|
end
|
26
|
-
|
27
60
|
end
|
28
61
|
|
29
62
|
class InternalFailureException < ServiceError
|
@@ -39,7 +72,6 @@ module Aws::IoTDataPlane
|
|
39
72
|
def message
|
40
73
|
@message || @data[:message]
|
41
74
|
end
|
42
|
-
|
43
75
|
end
|
44
76
|
|
45
77
|
class InvalidRequestException < ServiceError
|
@@ -55,7 +87,6 @@ module Aws::IoTDataPlane
|
|
55
87
|
def message
|
56
88
|
@message || @data[:message]
|
57
89
|
end
|
58
|
-
|
59
90
|
end
|
60
91
|
|
61
92
|
class MethodNotAllowedException < ServiceError
|
@@ -71,7 +102,6 @@ module Aws::IoTDataPlane
|
|
71
102
|
def message
|
72
103
|
@message || @data[:message]
|
73
104
|
end
|
74
|
-
|
75
105
|
end
|
76
106
|
|
77
107
|
class RequestEntityTooLargeException < ServiceError
|
@@ -87,7 +117,6 @@ module Aws::IoTDataPlane
|
|
87
117
|
def message
|
88
118
|
@message || @data[:message]
|
89
119
|
end
|
90
|
-
|
91
120
|
end
|
92
121
|
|
93
122
|
class ResourceNotFoundException < ServiceError
|
@@ -103,7 +132,6 @@ module Aws::IoTDataPlane
|
|
103
132
|
def message
|
104
133
|
@message || @data[:message]
|
105
134
|
end
|
106
|
-
|
107
135
|
end
|
108
136
|
|
109
137
|
class ServiceUnavailableException < ServiceError
|
@@ -119,7 +147,6 @@ module Aws::IoTDataPlane
|
|
119
147
|
def message
|
120
148
|
@message || @data[:message]
|
121
149
|
end
|
122
|
-
|
123
150
|
end
|
124
151
|
|
125
152
|
class ThrottlingException < ServiceError
|
@@ -135,7 +162,6 @@ module Aws::IoTDataPlane
|
|
135
162
|
def message
|
136
163
|
@message || @data[:message]
|
137
164
|
end
|
138
|
-
|
139
165
|
end
|
140
166
|
|
141
167
|
class UnauthorizedException < ServiceError
|
@@ -151,7 +177,6 @@ module Aws::IoTDataPlane
|
|
151
177
|
def message
|
152
178
|
@message || @data[:message]
|
153
179
|
end
|
154
|
-
|
155
180
|
end
|
156
181
|
|
157
182
|
class UnsupportedDocumentEncodingException < ServiceError
|
@@ -167,7 +192,6 @@ module Aws::IoTDataPlane
|
|
167
192
|
def message
|
168
193
|
@message || @data[:message]
|
169
194
|
end
|
170
|
-
|
171
195
|
end
|
172
196
|
|
173
197
|
end
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -6,6 +8,7 @@
|
|
6
8
|
# WARNING ABOUT GENERATED CODE
|
7
9
|
|
8
10
|
module Aws::IoTDataPlane
|
11
|
+
|
9
12
|
class Resource
|
10
13
|
|
11
14
|
# @param options ({})
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -16,6 +18,7 @@ module Aws::IoTDataPlane
|
|
16
18
|
#
|
17
19
|
class ConflictException < Struct.new(
|
18
20
|
:message)
|
21
|
+
SENSITIVE = []
|
19
22
|
include Aws::Structure
|
20
23
|
end
|
21
24
|
|
@@ -26,14 +29,21 @@ module Aws::IoTDataPlane
|
|
26
29
|
#
|
27
30
|
# {
|
28
31
|
# thing_name: "ThingName", # required
|
32
|
+
# shadow_name: "ShadowName",
|
29
33
|
# }
|
30
34
|
#
|
31
35
|
# @!attribute [rw] thing_name
|
32
36
|
# The name of the thing.
|
33
37
|
# @return [String]
|
34
38
|
#
|
39
|
+
# @!attribute [rw] shadow_name
|
40
|
+
# The name of the shadow.
|
41
|
+
# @return [String]
|
42
|
+
#
|
35
43
|
class DeleteThingShadowRequest < Struct.new(
|
36
|
-
:thing_name
|
44
|
+
:thing_name,
|
45
|
+
:shadow_name)
|
46
|
+
SENSITIVE = []
|
37
47
|
include Aws::Structure
|
38
48
|
end
|
39
49
|
|
@@ -45,6 +55,7 @@ module Aws::IoTDataPlane
|
|
45
55
|
#
|
46
56
|
class DeleteThingShadowResponse < Struct.new(
|
47
57
|
:payload)
|
58
|
+
SENSITIVE = []
|
48
59
|
include Aws::Structure
|
49
60
|
end
|
50
61
|
|
@@ -55,14 +66,21 @@ module Aws::IoTDataPlane
|
|
55
66
|
#
|
56
67
|
# {
|
57
68
|
# thing_name: "ThingName", # required
|
69
|
+
# shadow_name: "ShadowName",
|
58
70
|
# }
|
59
71
|
#
|
60
72
|
# @!attribute [rw] thing_name
|
61
73
|
# The name of the thing.
|
62
74
|
# @return [String]
|
63
75
|
#
|
76
|
+
# @!attribute [rw] shadow_name
|
77
|
+
# The name of the shadow.
|
78
|
+
# @return [String]
|
79
|
+
#
|
64
80
|
class GetThingShadowRequest < Struct.new(
|
65
|
-
:thing_name
|
81
|
+
:thing_name,
|
82
|
+
:shadow_name)
|
83
|
+
SENSITIVE = []
|
66
84
|
include Aws::Structure
|
67
85
|
end
|
68
86
|
|
@@ -74,6 +92,7 @@ module Aws::IoTDataPlane
|
|
74
92
|
#
|
75
93
|
class GetThingShadowResponse < Struct.new(
|
76
94
|
:payload)
|
95
|
+
SENSITIVE = []
|
77
96
|
include Aws::Structure
|
78
97
|
end
|
79
98
|
|
@@ -85,6 +104,7 @@ module Aws::IoTDataPlane
|
|
85
104
|
#
|
86
105
|
class InternalFailureException < Struct.new(
|
87
106
|
:message)
|
107
|
+
SENSITIVE = []
|
88
108
|
include Aws::Structure
|
89
109
|
end
|
90
110
|
|
@@ -96,6 +116,57 @@ module Aws::IoTDataPlane
|
|
96
116
|
#
|
97
117
|
class InvalidRequestException < Struct.new(
|
98
118
|
:message)
|
119
|
+
SENSITIVE = []
|
120
|
+
include Aws::Structure
|
121
|
+
end
|
122
|
+
|
123
|
+
# @note When making an API call, you may pass ListNamedShadowsForThingRequest
|
124
|
+
# data as a hash:
|
125
|
+
#
|
126
|
+
# {
|
127
|
+
# thing_name: "ThingName", # required
|
128
|
+
# next_token: "NextToken",
|
129
|
+
# page_size: 1,
|
130
|
+
# }
|
131
|
+
#
|
132
|
+
# @!attribute [rw] thing_name
|
133
|
+
# The name of the thing.
|
134
|
+
# @return [String]
|
135
|
+
#
|
136
|
+
# @!attribute [rw] next_token
|
137
|
+
# The token to retrieve the next set of results.
|
138
|
+
# @return [String]
|
139
|
+
#
|
140
|
+
# @!attribute [rw] page_size
|
141
|
+
# The result page size.
|
142
|
+
# @return [Integer]
|
143
|
+
#
|
144
|
+
class ListNamedShadowsForThingRequest < Struct.new(
|
145
|
+
:thing_name,
|
146
|
+
:next_token,
|
147
|
+
:page_size)
|
148
|
+
SENSITIVE = []
|
149
|
+
include Aws::Structure
|
150
|
+
end
|
151
|
+
|
152
|
+
# @!attribute [rw] results
|
153
|
+
# The list of shadows for the specified thing.
|
154
|
+
# @return [Array<String>]
|
155
|
+
#
|
156
|
+
# @!attribute [rw] next_token
|
157
|
+
# The token for the next set of results, or null if there are no
|
158
|
+
# additional results.
|
159
|
+
# @return [String]
|
160
|
+
#
|
161
|
+
# @!attribute [rw] timestamp
|
162
|
+
# The Epoch date and time the response was generated by AWS IoT.
|
163
|
+
# @return [Integer]
|
164
|
+
#
|
165
|
+
class ListNamedShadowsForThingResponse < Struct.new(
|
166
|
+
:results,
|
167
|
+
:next_token,
|
168
|
+
:timestamp)
|
169
|
+
SENSITIVE = []
|
99
170
|
include Aws::Structure
|
100
171
|
end
|
101
172
|
|
@@ -107,6 +178,7 @@ module Aws::IoTDataPlane
|
|
107
178
|
#
|
108
179
|
class MethodNotAllowedException < Struct.new(
|
109
180
|
:message)
|
181
|
+
SENSITIVE = []
|
110
182
|
include Aws::Structure
|
111
183
|
end
|
112
184
|
|
@@ -137,6 +209,7 @@ module Aws::IoTDataPlane
|
|
137
209
|
:topic,
|
138
210
|
:qos,
|
139
211
|
:payload)
|
212
|
+
SENSITIVE = []
|
140
213
|
include Aws::Structure
|
141
214
|
end
|
142
215
|
|
@@ -148,6 +221,7 @@ module Aws::IoTDataPlane
|
|
148
221
|
#
|
149
222
|
class RequestEntityTooLargeException < Struct.new(
|
150
223
|
:message)
|
224
|
+
SENSITIVE = []
|
151
225
|
include Aws::Structure
|
152
226
|
end
|
153
227
|
|
@@ -159,6 +233,7 @@ module Aws::IoTDataPlane
|
|
159
233
|
#
|
160
234
|
class ResourceNotFoundException < Struct.new(
|
161
235
|
:message)
|
236
|
+
SENSITIVE = []
|
162
237
|
include Aws::Structure
|
163
238
|
end
|
164
239
|
|
@@ -170,6 +245,7 @@ module Aws::IoTDataPlane
|
|
170
245
|
#
|
171
246
|
class ServiceUnavailableException < Struct.new(
|
172
247
|
:message)
|
248
|
+
SENSITIVE = []
|
173
249
|
include Aws::Structure
|
174
250
|
end
|
175
251
|
|
@@ -181,6 +257,7 @@ module Aws::IoTDataPlane
|
|
181
257
|
#
|
182
258
|
class ThrottlingException < Struct.new(
|
183
259
|
:message)
|
260
|
+
SENSITIVE = []
|
184
261
|
include Aws::Structure
|
185
262
|
end
|
186
263
|
|
@@ -192,6 +269,7 @@ module Aws::IoTDataPlane
|
|
192
269
|
#
|
193
270
|
class UnauthorizedException < Struct.new(
|
194
271
|
:message)
|
272
|
+
SENSITIVE = []
|
195
273
|
include Aws::Structure
|
196
274
|
end
|
197
275
|
|
@@ -203,6 +281,7 @@ module Aws::IoTDataPlane
|
|
203
281
|
#
|
204
282
|
class UnsupportedDocumentEncodingException < Struct.new(
|
205
283
|
:message)
|
284
|
+
SENSITIVE = []
|
206
285
|
include Aws::Structure
|
207
286
|
end
|
208
287
|
|
@@ -213,6 +292,7 @@ module Aws::IoTDataPlane
|
|
213
292
|
#
|
214
293
|
# {
|
215
294
|
# thing_name: "ThingName", # required
|
295
|
+
# shadow_name: "ShadowName",
|
216
296
|
# payload: "data", # required
|
217
297
|
# }
|
218
298
|
#
|
@@ -220,13 +300,19 @@ module Aws::IoTDataPlane
|
|
220
300
|
# The name of the thing.
|
221
301
|
# @return [String]
|
222
302
|
#
|
303
|
+
# @!attribute [rw] shadow_name
|
304
|
+
# The name of the shadow.
|
305
|
+
# @return [String]
|
306
|
+
#
|
223
307
|
# @!attribute [rw] payload
|
224
308
|
# The state information, in JSON format.
|
225
309
|
# @return [String]
|
226
310
|
#
|
227
311
|
class UpdateThingShadowRequest < Struct.new(
|
228
312
|
:thing_name,
|
313
|
+
:shadow_name,
|
229
314
|
:payload)
|
315
|
+
SENSITIVE = []
|
230
316
|
include Aws::Structure
|
231
317
|
end
|
232
318
|
|
@@ -238,6 +324,7 @@ module Aws::IoTDataPlane
|
|
238
324
|
#
|
239
325
|
class UpdateThingShadowResponse < Struct.new(
|
240
326
|
:payload)
|
327
|
+
SENSITIVE = []
|
241
328
|
include Aws::Structure
|
242
329
|
end
|
243
330
|
|
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.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:
|
11
|
+
date: 2020-06-23 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
|
@@ -81,7 +81,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
81
81
|
version: '0'
|
82
82
|
requirements: []
|
83
83
|
rubyforge_project:
|
84
|
-
rubygems_version: 2.
|
84
|
+
rubygems_version: 2.7.6.2
|
85
85
|
signing_key:
|
86
86
|
specification_version: 4
|
87
87
|
summary: AWS SDK for Ruby - AWS IoT Data Plane
|