aws-sdk-iotdataplane 1.0.0.rc1 → 1.0.0.rc2

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: 7da0df9d9e24baf6b3163fd493704fa20a991d5a
4
- data.tar.gz: e313f94d7f23c92fac4247d9ef475036523ed87a
3
+ metadata.gz: 2ee4fdcc612991ccf7709aa1f1b0b66eeb51c504
4
+ data.tar.gz: 594ea490225983958e4de95247765d285e86091b
5
5
  SHA512:
6
- metadata.gz: cdcbab9cd4575761a4de470a313dcbabc170dd03a9776b172375445585545b261aabc05b48704b2f092810edfd58878ac57fdfade908887b53d73ea486223c93
7
- data.tar.gz: 1b4588ec771aef620f7e497c0b7d9d1f16e8feedfe7ec0f82582077b9fdc3221bdf6a1b7c5ca74a91a5cc2c279bd2e44aa9f19d8c8d57e3afb4f1782480c5c22
6
+ metadata.gz: 3c1414a54c202f49bd12341e019e537a106b39a51a635e5777af9a3ecded300f05308b26ee2ef9b8b58162188e4d381676591fb4558f77d16b3446e74f8c7863
7
+ data.tar.gz: 47cdad3f6dd31fa96523fab8a07476714dadbd74dab4953213a3aa21155cab269281e1fd1511afe7f8b3ada0bebe36f4126c68d541f91e01512efbcf78ff5316
@@ -1,6 +1,6 @@
1
1
  # WARNING ABOUT GENERATED CODE
2
2
  #
3
- # This file is generated. See the contributing for info on making contributions:
3
+ # This file is generated. See the contributing guide for more information:
4
4
  # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
5
5
  #
6
6
  # WARNING ABOUT GENERATED CODE
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-iotdataplane/customizations'
42
42
  # @service
43
43
  module Aws::IoTDataPlane
44
44
 
45
- GEM_VERSION = '1.0.0.rc1'
45
+ GEM_VERSION = '1.0.0.rc2'
46
46
 
47
47
  end
@@ -1,6 +1,6 @@
1
1
  # WARNING ABOUT GENERATED CODE
2
2
  #
3
- # This file is generated. See the contributing for info on making contributions:
3
+ # This file is generated. See the contributing guide for more information:
4
4
  # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
5
5
  #
6
6
  # WARNING ABOUT GENERATED CODE
@@ -18,268 +18,304 @@ require 'aws-sdk-core/plugins/regional_endpoint.rb'
18
18
  require 'aws-sdk-core/plugins/response_paging.rb'
19
19
  require 'aws-sdk-core/plugins/stub_responses.rb'
20
20
  require 'aws-sdk-core/plugins/idempotency_token.rb'
21
+ require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
21
22
  require 'aws-sdk-core/plugins/signature_v4.rb'
22
23
  require 'aws-sdk-core/plugins/protocols/rest_json.rb'
23
24
 
24
25
  Aws::Plugins::GlobalConfiguration.add_identifier(:iotdataplane)
25
26
 
26
- module Aws
27
- module IoTDataPlane
28
- class Client < Seahorse::Client::Base
27
+ module Aws::IoTDataPlane
28
+ class Client < Seahorse::Client::Base
29
29
 
30
- include Aws::ClientStubs
30
+ include Aws::ClientStubs
31
31
 
32
- @identifier = :iotdataplane
32
+ @identifier = :iotdataplane
33
33
 
34
- set_api(ClientApi::API)
34
+ set_api(ClientApi::API)
35
35
 
36
- add_plugin(Seahorse::Client::Plugins::ContentLength)
37
- add_plugin(Aws::Plugins::CredentialsConfiguration)
38
- add_plugin(Aws::Plugins::Logging)
39
- add_plugin(Aws::Plugins::ParamConverter)
40
- add_plugin(Aws::Plugins::ParamValidator)
41
- add_plugin(Aws::Plugins::UserAgent)
42
- add_plugin(Aws::Plugins::HelpfulSocketErrors)
43
- add_plugin(Aws::Plugins::RetryErrors)
44
- add_plugin(Aws::Plugins::GlobalConfiguration)
45
- add_plugin(Aws::Plugins::RegionalEndpoint)
46
- add_plugin(Aws::Plugins::ResponsePaging)
47
- add_plugin(Aws::Plugins::StubResponses)
48
- add_plugin(Aws::Plugins::IdempotencyToken)
49
- add_plugin(Aws::Plugins::SignatureV4)
50
- add_plugin(Aws::Plugins::Protocols::RestJson)
36
+ add_plugin(Seahorse::Client::Plugins::ContentLength)
37
+ add_plugin(Aws::Plugins::CredentialsConfiguration)
38
+ add_plugin(Aws::Plugins::Logging)
39
+ add_plugin(Aws::Plugins::ParamConverter)
40
+ add_plugin(Aws::Plugins::ParamValidator)
41
+ add_plugin(Aws::Plugins::UserAgent)
42
+ add_plugin(Aws::Plugins::HelpfulSocketErrors)
43
+ add_plugin(Aws::Plugins::RetryErrors)
44
+ add_plugin(Aws::Plugins::GlobalConfiguration)
45
+ add_plugin(Aws::Plugins::RegionalEndpoint)
46
+ add_plugin(Aws::Plugins::ResponsePaging)
47
+ add_plugin(Aws::Plugins::StubResponses)
48
+ add_plugin(Aws::Plugins::IdempotencyToken)
49
+ add_plugin(Aws::Plugins::JsonvalueConverter)
50
+ add_plugin(Aws::Plugins::SignatureV4)
51
+ add_plugin(Aws::Plugins::Protocols::RestJson)
51
52
 
52
- # @option options [required, Aws::CredentialProvider] :credentials
53
- # Your AWS credentials. This can be an instance of any one of the
54
- # following classes:
55
- #
56
- # * `Aws::Credentials` - Used for configuring static, non-refreshing
57
- # credentials.
58
- #
59
- # * `Aws::InstanceProfileCredentials` - Used for loading credentials
60
- # from an EC2 IMDS on an EC2 instance.
61
- #
62
- # * `Aws::SharedCredentials` - Used for loading credentials from a
63
- # shared file, such as `~/.aws/config`.
64
- #
65
- # * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
66
- #
67
- # When `:credentials` are not configured directly, the following
68
- # locations will be searched for credentials:
69
- #
70
- # * `Aws.config[:credentials]`
71
- # * The `:access_key_id`, `:secret_access_key`, and `:session_token` options.
72
- # * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
73
- # * `~/.aws/credentials`
74
- # * `~/.aws/config`
75
- # * EC2 IMDS instance profile - When used by default, the timeouts are
76
- # very aggressive. Construct and pass an instance of
77
- # `Aws::InstanceProfileCredentails` to enable retries and extended
78
- # timeouts.
79
- # @option options [required, String] :region
80
- # The AWS region to connect to. The configured `:region` is
81
- # used to determine the service `:endpoint`. When not passed,
82
- # a default `:region` is search for in the following locations:
83
- #
84
- # * `Aws.config[:region]`
85
- # * `ENV['AWS_REGION']`
86
- # * `ENV['AMAZON_REGION']`
87
- # * `ENV['AWS_DEFAULT_REGION']`
88
- # * `~/.aws/credentials`
89
- # * `~/.aws/config`
90
- # @option options [String] :access_key_id
91
- # @option options [Boolean] :convert_params (true)
92
- # When `true`, an attempt is made to coerce request parameters into
93
- # the required types.
94
- # @option options [String] :endpoint
95
- # The client endpoint is normally constructed from the `:region`
96
- # option. You should only configure an `:endpoint` when connecting
97
- # to test endpoints. This should be avalid HTTP(S) URI.
98
- # @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
99
- # The log formatter.
100
- # @option options [Symbol] :log_level (:info)
101
- # The log level to send messages to the `:logger` at.
102
- # @option options [Logger] :logger
103
- # The Logger instance to send log messages to. If this option
104
- # is not set, logging will be disabled.
105
- # @option options [String] :profile ("default")
106
- # Used when loading credentials from the shared credentials file
107
- # at HOME/.aws/credentials. When not specified, 'default' is used.
108
- # @option options [Integer] :retry_limit (3)
109
- # The maximum number of times to retry failed requests. Only
110
- # ~ 500 level server errors and certain ~ 400 level client errors
111
- # are retried. Generally, these are throttling errors, data
112
- # checksum errors, networking errors, timeout errors and auth
113
- # errors from expired credentials.
114
- # @option options [String] :secret_access_key
115
- # @option options [String] :session_token
116
- # @option options [Boolean] :stub_responses (false)
117
- # Causes the client to return stubbed responses. By default
118
- # fake responses are generated and returned. You can specify
119
- # the response data to return or errors to raise by calling
120
- # {ClientStubs#stub_responses}. See {ClientStubs} for more information.
121
- #
122
- # ** Please note ** When response stubbing is enabled, no HTTP
123
- # requests are made, and retries are disabled.
124
- # @option options [Boolean] :validate_params (true)
125
- # When `true`, request parameters are validated before
126
- # sending the request.
127
- def initialize(*args)
128
- super
129
- end
53
+ # @option options [required, Aws::CredentialProvider] :credentials
54
+ # Your AWS credentials. This can be an instance of any one of the
55
+ # following classes:
56
+ #
57
+ # * `Aws::Credentials` - Used for configuring static, non-refreshing
58
+ # credentials.
59
+ #
60
+ # * `Aws::InstanceProfileCredentials` - Used for loading credentials
61
+ # from an EC2 IMDS on an EC2 instance.
62
+ #
63
+ # * `Aws::SharedCredentials` - Used for loading credentials from a
64
+ # shared file, such as `~/.aws/config`.
65
+ #
66
+ # * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
67
+ #
68
+ # When `:credentials` are not configured directly, the following
69
+ # locations will be searched for credentials:
70
+ #
71
+ # * `Aws.config[:credentials]`
72
+ # * The `:access_key_id`, `:secret_access_key`, and `:session_token` options.
73
+ # * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
74
+ # * `~/.aws/credentials`
75
+ # * `~/.aws/config`
76
+ # * EC2 IMDS instance profile - When used by default, the timeouts are
77
+ # very aggressive. Construct and pass an instance of
78
+ # `Aws::InstanceProfileCredentails` to enable retries and extended
79
+ # timeouts.
80
+ #
81
+ # @option options [required, String] :region
82
+ # The AWS region to connect to. The configured `:region` is
83
+ # used to determine the service `:endpoint`. When not passed,
84
+ # a default `:region` is search for in the following locations:
85
+ #
86
+ # * `Aws.config[:region]`
87
+ # * `ENV['AWS_REGION']`
88
+ # * `ENV['AMAZON_REGION']`
89
+ # * `ENV['AWS_DEFAULT_REGION']`
90
+ # * `~/.aws/credentials`
91
+ # * `~/.aws/config`
92
+ #
93
+ # @option options [String] :access_key_id
94
+ #
95
+ # @option options [Boolean] :convert_params (true)
96
+ # When `true`, an attempt is made to coerce request parameters into
97
+ # the required types.
98
+ #
99
+ # @option options [String] :endpoint
100
+ # The client endpoint is normally constructed from the `:region`
101
+ # option. You should only configure an `:endpoint` when connecting
102
+ # to test endpoints. This should be avalid HTTP(S) URI.
103
+ #
104
+ # @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
105
+ # The log formatter.
106
+ #
107
+ # @option options [Symbol] :log_level (:info)
108
+ # The log level to send messages to the `:logger` at.
109
+ #
110
+ # @option options [Logger] :logger
111
+ # The Logger instance to send log messages to. If this option
112
+ # is not set, logging will be disabled.
113
+ #
114
+ # @option options [String] :profile ("default")
115
+ # Used when loading credentials from the shared credentials file
116
+ # at HOME/.aws/credentials. When not specified, 'default' is used.
117
+ #
118
+ # @option options [Integer] :retry_limit (3)
119
+ # The maximum number of times to retry failed requests. Only
120
+ # ~ 500 level server errors and certain ~ 400 level client errors
121
+ # are retried. Generally, these are throttling errors, data
122
+ # checksum errors, networking errors, timeout errors and auth
123
+ # errors from expired credentials.
124
+ #
125
+ # @option options [String] :secret_access_key
126
+ #
127
+ # @option options [String] :session_token
128
+ #
129
+ # @option options [Boolean] :stub_responses (false)
130
+ # Causes the client to return stubbed responses. By default
131
+ # fake responses are generated and returned. You can specify
132
+ # the response data to return or errors to raise by calling
133
+ # {ClientStubs#stub_responses}. See {ClientStubs} for more information.
134
+ #
135
+ # ** Please note ** When response stubbing is enabled, no HTTP
136
+ # requests are made, and retries are disabled.
137
+ #
138
+ # @option options [Boolean] :validate_params (true)
139
+ # When `true`, request parameters are validated before
140
+ # sending the request.
141
+ #
142
+ def initialize(*args)
143
+ super
144
+ end
130
145
 
131
- # @!group API Operations
146
+ # @!group API Operations
132
147
 
133
- # Deletes the thing shadow for the specified thing.
134
- #
135
- # For more information, see [DeleteThingShadow][1] in the *AWS IoT
136
- # Developer Guide*.
137
- #
138
- #
139
- #
140
- # [1]: http://docs.aws.amazon.com/iot/latest/developerguide/API_DeleteThingShadow.html
141
- # @option params [required, String] :thing_name
142
- # The name of the thing.
143
- # @return [Types::DeleteThingShadowResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
144
- #
145
- # * {Types::DeleteThingShadowResponse#payload #payload} => String
146
- #
147
- # @example Request syntax with placeholder values
148
- # resp = client.delete_thing_shadow({
149
- # thing_name: "ThingName", # required
150
- # })
151
- #
152
- # @example Response structure
153
- # resp.payload #=> String
154
- # @overload delete_thing_shadow(params = {})
155
- # @param [Hash] params ({})
156
- def delete_thing_shadow(params = {}, options = {})
157
- req = build_request(:delete_thing_shadow, params)
158
- req.send_request(options)
159
- end
160
-
161
- # Gets the thing shadow for the specified thing.
162
- #
163
- # For more information, see [GetThingShadow][1] in the *AWS IoT
164
- # Developer Guide*.
165
- #
166
- #
167
- #
168
- # [1]: http://docs.aws.amazon.com/iot/latest/developerguide/API_GetThingShadow.html
169
- # @option params [required, String] :thing_name
170
- # The name of the thing.
171
- # @return [Types::GetThingShadowResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
172
- #
173
- # * {Types::GetThingShadowResponse#payload #payload} => String
174
- #
175
- # @example Request syntax with placeholder values
176
- # resp = client.get_thing_shadow({
177
- # thing_name: "ThingName", # required
178
- # })
179
- #
180
- # @example Response structure
181
- # resp.payload #=> String
182
- # @overload get_thing_shadow(params = {})
183
- # @param [Hash] params ({})
184
- def get_thing_shadow(params = {}, options = {})
185
- req = build_request(:get_thing_shadow, params)
186
- req.send_request(options)
187
- end
148
+ # Deletes the thing shadow for the specified thing.
149
+ #
150
+ # For more information, see [DeleteThingShadow][1] in the *AWS IoT
151
+ # Developer Guide*.
152
+ #
153
+ #
154
+ #
155
+ # [1]: http://docs.aws.amazon.com/iot/latest/developerguide/API_DeleteThingShadow.html
156
+ #
157
+ # @option params [required, String] :thing_name
158
+ # The name of the thing.
159
+ #
160
+ # @return [Types::DeleteThingShadowResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
161
+ #
162
+ # * {Types::DeleteThingShadowResponse#payload #payload} => String
163
+ #
164
+ # @example Request syntax with placeholder values
165
+ #
166
+ # resp = client.delete_thing_shadow({
167
+ # thing_name: "ThingName", # required
168
+ # })
169
+ #
170
+ # @example Response structure
171
+ #
172
+ # resp.payload #=> String
173
+ #
174
+ # @overload delete_thing_shadow(params = {})
175
+ # @param [Hash] params ({})
176
+ def delete_thing_shadow(params = {}, options = {})
177
+ req = build_request(:delete_thing_shadow, params)
178
+ req.send_request(options)
179
+ end
188
180
 
189
- # Publishes state information.
190
- #
191
- # For more information, see [HTTP Protocol][1] in the *AWS IoT Developer
192
- # Guide*.
193
- #
194
- #
195
- #
196
- # [1]: http://docs.aws.amazon.com/iot/latest/developerguide/protocols.html#http
197
- # @option params [required, String] :topic
198
- # The name of the MQTT topic.
199
- # @option params [Integer] :qos
200
- # The Quality of Service (QoS) level.
201
- # @option params [String, IO] :payload
202
- # The state information, in JSON format.
203
- # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
204
- #
205
- # @example Request syntax with placeholder values
206
- # resp = client.publish({
207
- # topic: "Topic", # required
208
- # qos: 1,
209
- # payload: "data",
210
- # })
211
- # @overload publish(params = {})
212
- # @param [Hash] params ({})
213
- def publish(params = {}, options = {})
214
- req = build_request(:publish, params)
215
- req.send_request(options)
216
- end
181
+ # Gets the thing shadow for the specified thing.
182
+ #
183
+ # For more information, see [GetThingShadow][1] in the *AWS IoT
184
+ # Developer Guide*.
185
+ #
186
+ #
187
+ #
188
+ # [1]: http://docs.aws.amazon.com/iot/latest/developerguide/API_GetThingShadow.html
189
+ #
190
+ # @option params [required, String] :thing_name
191
+ # The name of the thing.
192
+ #
193
+ # @return [Types::GetThingShadowResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
194
+ #
195
+ # * {Types::GetThingShadowResponse#payload #payload} => String
196
+ #
197
+ # @example Request syntax with placeholder values
198
+ #
199
+ # resp = client.get_thing_shadow({
200
+ # thing_name: "ThingName", # required
201
+ # })
202
+ #
203
+ # @example Response structure
204
+ #
205
+ # resp.payload #=> String
206
+ #
207
+ # @overload get_thing_shadow(params = {})
208
+ # @param [Hash] params ({})
209
+ def get_thing_shadow(params = {}, options = {})
210
+ req = build_request(:get_thing_shadow, params)
211
+ req.send_request(options)
212
+ end
217
213
 
218
- # Updates the thing shadow for the specified thing.
219
- #
220
- # For more information, see [UpdateThingShadow][1] in the *AWS IoT
221
- # Developer Guide*.
222
- #
223
- #
224
- #
225
- # [1]: http://docs.aws.amazon.com/iot/latest/developerguide/API_UpdateThingShadow.html
226
- # @option params [required, String] :thing_name
227
- # The name of the thing.
228
- # @option params [required, String, IO] :payload
229
- # The state information, in JSON format.
230
- # @return [Types::UpdateThingShadowResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
231
- #
232
- # * {Types::UpdateThingShadowResponse#payload #payload} => String
233
- #
234
- # @example Request syntax with placeholder values
235
- # resp = client.update_thing_shadow({
236
- # thing_name: "ThingName", # required
237
- # payload: "data", # required
238
- # })
239
- #
240
- # @example Response structure
241
- # resp.payload #=> String
242
- # @overload update_thing_shadow(params = {})
243
- # @param [Hash] params ({})
244
- def update_thing_shadow(params = {}, options = {})
245
- req = build_request(:update_thing_shadow, params)
246
- req.send_request(options)
247
- end
214
+ # Publishes state information.
215
+ #
216
+ # For more information, see [HTTP Protocol][1] in the *AWS IoT Developer
217
+ # Guide*.
218
+ #
219
+ #
220
+ #
221
+ # [1]: http://docs.aws.amazon.com/iot/latest/developerguide/protocols.html#http
222
+ #
223
+ # @option params [required, String] :topic
224
+ # The name of the MQTT topic.
225
+ #
226
+ # @option params [Integer] :qos
227
+ # The Quality of Service (QoS) level.
228
+ #
229
+ # @option params [String, IO] :payload
230
+ # The state information, in JSON format.
231
+ #
232
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
233
+ #
234
+ # @example Request syntax with placeholder values
235
+ #
236
+ # resp = client.publish({
237
+ # topic: "Topic", # required
238
+ # qos: 1,
239
+ # payload: "data",
240
+ # })
241
+ #
242
+ # @overload publish(params = {})
243
+ # @param [Hash] params ({})
244
+ def publish(params = {}, options = {})
245
+ req = build_request(:publish, params)
246
+ req.send_request(options)
247
+ end
248
248
 
249
- # @!endgroup
249
+ # Updates the thing shadow for the specified thing.
250
+ #
251
+ # For more information, see [UpdateThingShadow][1] in the *AWS IoT
252
+ # Developer Guide*.
253
+ #
254
+ #
255
+ #
256
+ # [1]: http://docs.aws.amazon.com/iot/latest/developerguide/API_UpdateThingShadow.html
257
+ #
258
+ # @option params [required, String] :thing_name
259
+ # The name of the thing.
260
+ #
261
+ # @option params [required, String, IO] :payload
262
+ # The state information, in JSON format.
263
+ #
264
+ # @return [Types::UpdateThingShadowResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
265
+ #
266
+ # * {Types::UpdateThingShadowResponse#payload #payload} => String
267
+ #
268
+ # @example Request syntax with placeholder values
269
+ #
270
+ # resp = client.update_thing_shadow({
271
+ # thing_name: "ThingName", # required
272
+ # payload: "data", # required
273
+ # })
274
+ #
275
+ # @example Response structure
276
+ #
277
+ # resp.payload #=> String
278
+ #
279
+ # @overload update_thing_shadow(params = {})
280
+ # @param [Hash] params ({})
281
+ def update_thing_shadow(params = {}, options = {})
282
+ req = build_request(:update_thing_shadow, params)
283
+ req.send_request(options)
284
+ end
250
285
 
251
- # @param params ({})
252
- # @api private
253
- def build_request(operation_name, params = {})
254
- handlers = @handlers.for(operation_name)
255
- context = Seahorse::Client::RequestContext.new(
256
- operation_name: operation_name,
257
- operation: config.api.operation(operation_name),
258
- client: self,
259
- params: params,
260
- config: config)
261
- context[:gem_name] = 'aws-sdk-iotdataplane'
262
- context[:gem_version] = '1.0.0.rc1'
263
- Seahorse::Client::Request.new(handlers, context)
264
- end
286
+ # @!endgroup
265
287
 
266
- # @api private
267
- # @deprecated
268
- def waiter_names
269
- []
270
- end
288
+ # @param params ({})
289
+ # @api private
290
+ def build_request(operation_name, params = {})
291
+ handlers = @handlers.for(operation_name)
292
+ context = Seahorse::Client::RequestContext.new(
293
+ operation_name: operation_name,
294
+ operation: config.api.operation(operation_name),
295
+ client: self,
296
+ params: params,
297
+ config: config)
298
+ context[:gem_name] = 'aws-sdk-iotdataplane'
299
+ context[:gem_version] = '1.0.0.rc2'
300
+ Seahorse::Client::Request.new(handlers, context)
301
+ end
271
302
 
272
- class << self
303
+ # @api private
304
+ # @deprecated
305
+ def waiter_names
306
+ []
307
+ end
273
308
 
274
- # @api private
275
- attr_reader :identifier
309
+ class << self
276
310
 
277
- # @api private
278
- def errors_module
279
- Errors
280
- end
311
+ # @api private
312
+ attr_reader :identifier
281
313
 
314
+ # @api private
315
+ def errors_module
316
+ Errors
282
317
  end
318
+
283
319
  end
284
320
  end
285
321
  end
@@ -1,151 +1,149 @@
1
1
  # WARNING ABOUT GENERATED CODE
2
2
  #
3
- # This file is generated. See the contributing for info on making contributions:
3
+ # This file is generated. See the contributing guide for more information:
4
4
  # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
5
5
  #
6
6
  # WARNING ABOUT GENERATED CODE
7
7
 
8
- module Aws
9
- module IoTDataPlane
10
- # @api private
11
- module ClientApi
12
-
13
- include Seahorse::Model
14
-
15
- ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
16
- DeleteThingShadowRequest = Shapes::StructureShape.new(name: 'DeleteThingShadowRequest')
17
- DeleteThingShadowResponse = Shapes::StructureShape.new(name: 'DeleteThingShadowResponse')
18
- ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
19
- GetThingShadowRequest = Shapes::StructureShape.new(name: 'GetThingShadowRequest')
20
- GetThingShadowResponse = Shapes::StructureShape.new(name: 'GetThingShadowResponse')
21
- InternalFailureException = Shapes::StructureShape.new(name: 'InternalFailureException')
22
- InvalidRequestException = Shapes::StructureShape.new(name: 'InvalidRequestException')
23
- JsonDocument = Shapes::BlobShape.new(name: 'JsonDocument')
24
- MethodNotAllowedException = Shapes::StructureShape.new(name: 'MethodNotAllowedException')
25
- Payload = Shapes::BlobShape.new(name: 'Payload')
26
- PublishRequest = Shapes::StructureShape.new(name: 'PublishRequest')
27
- Qos = Shapes::IntegerShape.new(name: 'Qos')
28
- RequestEntityTooLargeException = Shapes::StructureShape.new(name: 'RequestEntityTooLargeException')
29
- ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
30
- ServiceUnavailableException = Shapes::StructureShape.new(name: 'ServiceUnavailableException')
31
- ThingName = Shapes::StringShape.new(name: 'ThingName')
32
- ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
33
- Topic = Shapes::StringShape.new(name: 'Topic')
34
- UnauthorizedException = Shapes::StructureShape.new(name: 'UnauthorizedException')
35
- UnsupportedDocumentEncodingException = Shapes::StructureShape.new(name: 'UnsupportedDocumentEncodingException')
36
- UpdateThingShadowRequest = Shapes::StructureShape.new(name: 'UpdateThingShadowRequest')
37
- UpdateThingShadowResponse = Shapes::StructureShape.new(name: 'UpdateThingShadowResponse')
38
- errorMessage = Shapes::StringShape.new(name: 'errorMessage')
39
-
40
- DeleteThingShadowRequest.add_member(:thing_name, Shapes::ShapeRef.new(shape: ThingName, required: true, location: "uri", location_name: "thingName"))
41
- DeleteThingShadowRequest.struct_class = Types::DeleteThingShadowRequest
42
-
43
- DeleteThingShadowResponse.add_member(:payload, Shapes::ShapeRef.new(shape: JsonDocument, required: true, location_name: "payload"))
44
- DeleteThingShadowResponse.struct_class = Types::DeleteThingShadowResponse
45
- DeleteThingShadowResponse[:payload] = :payload
46
- DeleteThingShadowResponse[:payload_member] = DeleteThingShadowResponse.member(:payload)
47
-
48
- GetThingShadowRequest.add_member(:thing_name, Shapes::ShapeRef.new(shape: ThingName, required: true, location: "uri", location_name: "thingName"))
49
- GetThingShadowRequest.struct_class = Types::GetThingShadowRequest
50
-
51
- GetThingShadowResponse.add_member(:payload, Shapes::ShapeRef.new(shape: JsonDocument, location_name: "payload"))
52
- GetThingShadowResponse.struct_class = Types::GetThingShadowResponse
53
- GetThingShadowResponse[:payload] = :payload
54
- GetThingShadowResponse[:payload_member] = GetThingShadowResponse.member(:payload)
55
-
56
- PublishRequest.add_member(:topic, Shapes::ShapeRef.new(shape: Topic, required: true, location: "uri", location_name: "topic"))
57
- PublishRequest.add_member(:qos, Shapes::ShapeRef.new(shape: Qos, location: "querystring", location_name: "qos"))
58
- PublishRequest.add_member(:payload, Shapes::ShapeRef.new(shape: Payload, location_name: "payload"))
59
- PublishRequest.struct_class = Types::PublishRequest
60
- PublishRequest[:payload] = :payload
61
- PublishRequest[:payload_member] = PublishRequest.member(:payload)
62
-
63
- UpdateThingShadowRequest.add_member(:thing_name, Shapes::ShapeRef.new(shape: ThingName, required: true, location: "uri", location_name: "thingName"))
64
- UpdateThingShadowRequest.add_member(:payload, Shapes::ShapeRef.new(shape: JsonDocument, required: true, location_name: "payload"))
65
- UpdateThingShadowRequest.struct_class = Types::UpdateThingShadowRequest
66
- UpdateThingShadowRequest[:payload] = :payload
67
- UpdateThingShadowRequest[:payload_member] = UpdateThingShadowRequest.member(:payload)
68
-
69
- UpdateThingShadowResponse.add_member(:payload, Shapes::ShapeRef.new(shape: JsonDocument, location_name: "payload"))
70
- UpdateThingShadowResponse.struct_class = Types::UpdateThingShadowResponse
71
- UpdateThingShadowResponse[:payload] = :payload
72
- UpdateThingShadowResponse[:payload_member] = UpdateThingShadowResponse.member(:payload)
73
-
74
-
75
- # @api private
76
- API = Seahorse::Model::Api.new.tap do |api|
77
-
78
- api.version = "2015-05-28"
79
-
80
- api.metadata = {
81
- "protocol" => "rest-json",
82
- "serviceFullName" => "AWS IoT Data Plane",
83
- "signatureVersion" => "v4",
84
- "signingName" => "iotdata",
85
- }
86
-
87
- api.add_operation(:delete_thing_shadow, Seahorse::Model::Operation.new.tap do |o|
88
- o.name = "DeleteThingShadow"
89
- o.http_method = "DELETE"
90
- o.http_request_uri = "/things/{thingName}/shadow"
91
- o.input = Shapes::ShapeRef.new(shape: DeleteThingShadowRequest)
92
- o.output = Shapes::ShapeRef.new(shape: DeleteThingShadowResponse)
93
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
94
- o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
95
- o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
96
- o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
97
- o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
98
- o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
99
- o.errors << Shapes::ShapeRef.new(shape: MethodNotAllowedException)
100
- o.errors << Shapes::ShapeRef.new(shape: UnsupportedDocumentEncodingException)
101
- end)
102
-
103
- api.add_operation(:get_thing_shadow, Seahorse::Model::Operation.new.tap do |o|
104
- o.name = "GetThingShadow"
105
- o.http_method = "GET"
106
- o.http_request_uri = "/things/{thingName}/shadow"
107
- o.input = Shapes::ShapeRef.new(shape: GetThingShadowRequest)
108
- o.output = Shapes::ShapeRef.new(shape: GetThingShadowResponse)
109
- o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
110
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
111
- o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
112
- o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
113
- o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
114
- o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
115
- o.errors << Shapes::ShapeRef.new(shape: MethodNotAllowedException)
116
- o.errors << Shapes::ShapeRef.new(shape: UnsupportedDocumentEncodingException)
117
- end)
118
-
119
- api.add_operation(:publish, Seahorse::Model::Operation.new.tap do |o|
120
- o.name = "Publish"
121
- o.http_method = "POST"
122
- o.http_request_uri = "/topics/{topic}"
123
- o.input = Shapes::ShapeRef.new(shape: PublishRequest)
124
- o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
125
- o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
126
- o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
127
- o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
128
- o.errors << Shapes::ShapeRef.new(shape: MethodNotAllowedException)
129
- end)
130
-
131
- api.add_operation(:update_thing_shadow, Seahorse::Model::Operation.new.tap do |o|
132
- o.name = "UpdateThingShadow"
133
- o.http_method = "POST"
134
- o.http_request_uri = "/things/{thingName}/shadow"
135
- o.input = Shapes::ShapeRef.new(shape: UpdateThingShadowRequest)
136
- o.output = Shapes::ShapeRef.new(shape: UpdateThingShadowResponse)
137
- o.errors << Shapes::ShapeRef.new(shape: ConflictException)
138
- o.errors << Shapes::ShapeRef.new(shape: RequestEntityTooLargeException)
139
- o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
140
- o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
141
- o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
142
- o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
143
- o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
144
- o.errors << Shapes::ShapeRef.new(shape: MethodNotAllowedException)
145
- o.errors << Shapes::ShapeRef.new(shape: UnsupportedDocumentEncodingException)
146
- end)
147
- end
8
+ module Aws::IoTDataPlane
9
+ # @api private
10
+ module ClientApi
11
+
12
+ include Seahorse::Model
13
+
14
+ ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
15
+ DeleteThingShadowRequest = Shapes::StructureShape.new(name: 'DeleteThingShadowRequest')
16
+ DeleteThingShadowResponse = Shapes::StructureShape.new(name: 'DeleteThingShadowResponse')
17
+ ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
18
+ GetThingShadowRequest = Shapes::StructureShape.new(name: 'GetThingShadowRequest')
19
+ GetThingShadowResponse = Shapes::StructureShape.new(name: 'GetThingShadowResponse')
20
+ InternalFailureException = Shapes::StructureShape.new(name: 'InternalFailureException')
21
+ InvalidRequestException = Shapes::StructureShape.new(name: 'InvalidRequestException')
22
+ JsonDocument = Shapes::BlobShape.new(name: 'JsonDocument')
23
+ MethodNotAllowedException = Shapes::StructureShape.new(name: 'MethodNotAllowedException')
24
+ Payload = Shapes::BlobShape.new(name: 'Payload')
25
+ PublishRequest = Shapes::StructureShape.new(name: 'PublishRequest')
26
+ Qos = Shapes::IntegerShape.new(name: 'Qos')
27
+ RequestEntityTooLargeException = Shapes::StructureShape.new(name: 'RequestEntityTooLargeException')
28
+ ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
29
+ ServiceUnavailableException = Shapes::StructureShape.new(name: 'ServiceUnavailableException')
30
+ ThingName = Shapes::StringShape.new(name: 'ThingName')
31
+ ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
32
+ Topic = Shapes::StringShape.new(name: 'Topic')
33
+ UnauthorizedException = Shapes::StructureShape.new(name: 'UnauthorizedException')
34
+ UnsupportedDocumentEncodingException = Shapes::StructureShape.new(name: 'UnsupportedDocumentEncodingException')
35
+ UpdateThingShadowRequest = Shapes::StructureShape.new(name: 'UpdateThingShadowRequest')
36
+ UpdateThingShadowResponse = Shapes::StructureShape.new(name: 'UpdateThingShadowResponse')
37
+ errorMessage = Shapes::StringShape.new(name: 'errorMessage')
38
+
39
+ DeleteThingShadowRequest.add_member(:thing_name, Shapes::ShapeRef.new(shape: ThingName, required: true, location: "uri", location_name: "thingName"))
40
+ DeleteThingShadowRequest.struct_class = Types::DeleteThingShadowRequest
41
+
42
+ DeleteThingShadowResponse.add_member(:payload, Shapes::ShapeRef.new(shape: JsonDocument, required: true, location_name: "payload"))
43
+ DeleteThingShadowResponse.struct_class = Types::DeleteThingShadowResponse
44
+ DeleteThingShadowResponse[:payload] = :payload
45
+ DeleteThingShadowResponse[:payload_member] = DeleteThingShadowResponse.member(:payload)
46
+
47
+ GetThingShadowRequest.add_member(:thing_name, Shapes::ShapeRef.new(shape: ThingName, required: true, location: "uri", location_name: "thingName"))
48
+ GetThingShadowRequest.struct_class = Types::GetThingShadowRequest
49
+
50
+ GetThingShadowResponse.add_member(:payload, Shapes::ShapeRef.new(shape: JsonDocument, location_name: "payload"))
51
+ GetThingShadowResponse.struct_class = Types::GetThingShadowResponse
52
+ GetThingShadowResponse[:payload] = :payload
53
+ GetThingShadowResponse[:payload_member] = GetThingShadowResponse.member(:payload)
54
+
55
+ PublishRequest.add_member(:topic, Shapes::ShapeRef.new(shape: Topic, required: true, location: "uri", location_name: "topic"))
56
+ PublishRequest.add_member(:qos, Shapes::ShapeRef.new(shape: Qos, location: "querystring", location_name: "qos"))
57
+ PublishRequest.add_member(:payload, Shapes::ShapeRef.new(shape: Payload, location_name: "payload"))
58
+ PublishRequest.struct_class = Types::PublishRequest
59
+ PublishRequest[:payload] = :payload
60
+ PublishRequest[:payload_member] = PublishRequest.member(:payload)
61
+
62
+ UpdateThingShadowRequest.add_member(:thing_name, Shapes::ShapeRef.new(shape: ThingName, required: true, location: "uri", location_name: "thingName"))
63
+ UpdateThingShadowRequest.add_member(:payload, Shapes::ShapeRef.new(shape: JsonDocument, required: true, location_name: "payload"))
64
+ UpdateThingShadowRequest.struct_class = Types::UpdateThingShadowRequest
65
+ UpdateThingShadowRequest[:payload] = :payload
66
+ UpdateThingShadowRequest[:payload_member] = UpdateThingShadowRequest.member(:payload)
67
+
68
+ UpdateThingShadowResponse.add_member(:payload, Shapes::ShapeRef.new(shape: JsonDocument, location_name: "payload"))
69
+ UpdateThingShadowResponse.struct_class = Types::UpdateThingShadowResponse
70
+ UpdateThingShadowResponse[:payload] = :payload
71
+ UpdateThingShadowResponse[:payload_member] = UpdateThingShadowResponse.member(:payload)
72
+
148
73
 
74
+ # @api private
75
+ API = Seahorse::Model::Api.new.tap do |api|
76
+
77
+ api.version = "2015-05-28"
78
+
79
+ api.metadata = {
80
+ "protocol" => "rest-json",
81
+ "serviceFullName" => "AWS IoT Data Plane",
82
+ "signatureVersion" => "v4",
83
+ "signingName" => "iotdata",
84
+ }
85
+
86
+ api.add_operation(:delete_thing_shadow, Seahorse::Model::Operation.new.tap do |o|
87
+ o.name = "DeleteThingShadow"
88
+ o.http_method = "DELETE"
89
+ o.http_request_uri = "/things/{thingName}/shadow"
90
+ o.input = Shapes::ShapeRef.new(shape: DeleteThingShadowRequest)
91
+ o.output = Shapes::ShapeRef.new(shape: DeleteThingShadowResponse)
92
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
93
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
94
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
95
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
96
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
97
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
98
+ o.errors << Shapes::ShapeRef.new(shape: MethodNotAllowedException)
99
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedDocumentEncodingException)
100
+ end)
101
+
102
+ api.add_operation(:get_thing_shadow, Seahorse::Model::Operation.new.tap do |o|
103
+ o.name = "GetThingShadow"
104
+ o.http_method = "GET"
105
+ o.http_request_uri = "/things/{thingName}/shadow"
106
+ o.input = Shapes::ShapeRef.new(shape: GetThingShadowRequest)
107
+ o.output = Shapes::ShapeRef.new(shape: GetThingShadowResponse)
108
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
109
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
110
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
111
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
112
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
113
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
114
+ o.errors << Shapes::ShapeRef.new(shape: MethodNotAllowedException)
115
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedDocumentEncodingException)
116
+ end)
117
+
118
+ api.add_operation(:publish, Seahorse::Model::Operation.new.tap do |o|
119
+ o.name = "Publish"
120
+ o.http_method = "POST"
121
+ o.http_request_uri = "/topics/{topic}"
122
+ o.input = Shapes::ShapeRef.new(shape: PublishRequest)
123
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
124
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
125
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
126
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
127
+ o.errors << Shapes::ShapeRef.new(shape: MethodNotAllowedException)
128
+ end)
129
+
130
+ api.add_operation(:update_thing_shadow, Seahorse::Model::Operation.new.tap do |o|
131
+ o.name = "UpdateThingShadow"
132
+ o.http_method = "POST"
133
+ o.http_request_uri = "/things/{thingName}/shadow"
134
+ o.input = Shapes::ShapeRef.new(shape: UpdateThingShadowRequest)
135
+ o.output = Shapes::ShapeRef.new(shape: UpdateThingShadowResponse)
136
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
137
+ o.errors << Shapes::ShapeRef.new(shape: RequestEntityTooLargeException)
138
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
139
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
140
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
141
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
142
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
143
+ o.errors << Shapes::ShapeRef.new(shape: MethodNotAllowedException)
144
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedDocumentEncodingException)
145
+ end)
149
146
  end
147
+
150
148
  end
151
149
  end
@@ -1,23 +1,14 @@
1
1
  # WARNING ABOUT GENERATED CODE
2
2
  #
3
- # This file is generated. See the contributing for info on making contributions:
3
+ # This file is generated. See the contributing guide for more information:
4
4
  # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
5
5
  #
6
6
  # WARNING ABOUT GENERATED CODE
7
7
 
8
- module Aws
9
- module IoTDataPlane
10
- module Errors
8
+ module Aws::IoTDataPlane
9
+ module Errors
11
10
 
12
- extend Aws::Errors::DynamicErrors
11
+ extend Aws::Errors::DynamicErrors
13
12
 
14
- # Raised when calling #load or #data on a resource class that can not be
15
- # loaded. This can happen when:
16
- #
17
- # * A resource class has identifiers, but no data attributes.
18
- # * Resource data is only available when making an API call that
19
- # enumerates all resources of that type.
20
- class ResourceNotLoadable < RuntimeError; end
21
- end
22
13
  end
23
14
  end
@@ -1,25 +1,23 @@
1
1
  # WARNING ABOUT GENERATED CODE
2
2
  #
3
- # This file is generated. See the contributing for info on making contributions:
3
+ # This file is generated. See the contributing guide for more information:
4
4
  # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
5
5
  #
6
6
  # WARNING ABOUT GENERATED CODE
7
7
 
8
- module Aws
9
- module IoTDataPlane
10
- class Resource
8
+ module Aws::IoTDataPlane
9
+ class Resource
11
10
 
12
- # @param options ({})
13
- # @option options [Client] :client
14
- def initialize(options = {})
15
- @client = options[:client] || Client.new(options)
16
- end
17
-
18
- # @return [Client]
19
- def client
20
- @client
21
- end
11
+ # @param options ({})
12
+ # @option options [Client] :client
13
+ def initialize(options = {})
14
+ @client = options[:client] || Client.new(options)
15
+ end
22
16
 
17
+ # @return [Client]
18
+ def client
19
+ @client
23
20
  end
21
+
24
22
  end
25
23
  end
@@ -1,119 +1,135 @@
1
1
  # WARNING ABOUT GENERATED CODE
2
2
  #
3
- # This file is generated. See the contributing for info on making contributions:
3
+ # This file is generated. See the contributing guide for more information:
4
4
  # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
5
5
  #
6
6
  # WARNING ABOUT GENERATED CODE
7
7
 
8
- module Aws
9
- module IoTDataPlane
10
- module Types
8
+ module Aws::IoTDataPlane
9
+ module Types
11
10
 
12
- # The input for the DeleteThingShadow operation.
13
- # @note When making an API call, pass DeleteThingShadowRequest
14
- # data as a hash:
15
- #
16
- # {
17
- # thing_name: "ThingName", # required
18
- # }
19
- # @!attribute [rw] thing_name
20
- # The name of the thing.
21
- # @return [String]
22
- class DeleteThingShadowRequest < Struct.new(
23
- :thing_name)
24
- include Aws::Structure
25
- end
26
-
27
- # The output from the DeleteThingShadow operation.
28
- # @!attribute [rw] payload
29
- # The state information, in JSON format.
30
- # @return [String]
31
- class DeleteThingShadowResponse < Struct.new(
32
- :payload)
33
- include Aws::Structure
34
- end
11
+ # The input for the DeleteThingShadow operation.
12
+ #
13
+ # @note When making an API call, you may pass DeleteThingShadowRequest
14
+ # data as a hash:
15
+ #
16
+ # {
17
+ # thing_name: "ThingName", # required
18
+ # }
19
+ #
20
+ # @!attribute [rw] thing_name
21
+ # The name of the thing.
22
+ # @return [String]
23
+ #
24
+ class DeleteThingShadowRequest < Struct.new(
25
+ :thing_name)
26
+ include Aws::Structure
27
+ end
35
28
 
36
- # The input for the GetThingShadow operation.
37
- # @note When making an API call, pass GetThingShadowRequest
38
- # data as a hash:
39
- #
40
- # {
41
- # thing_name: "ThingName", # required
42
- # }
43
- # @!attribute [rw] thing_name
44
- # The name of the thing.
45
- # @return [String]
46
- class GetThingShadowRequest < Struct.new(
47
- :thing_name)
48
- include Aws::Structure
49
- end
29
+ # The output from the DeleteThingShadow operation.
30
+ #
31
+ # @!attribute [rw] payload
32
+ # The state information, in JSON format.
33
+ # @return [String]
34
+ #
35
+ class DeleteThingShadowResponse < Struct.new(
36
+ :payload)
37
+ include Aws::Structure
38
+ end
50
39
 
51
- # The output from the GetThingShadow operation.
52
- # @!attribute [rw] payload
53
- # The state information, in JSON format.
54
- # @return [String]
55
- class GetThingShadowResponse < Struct.new(
56
- :payload)
57
- include Aws::Structure
58
- end
40
+ # The input for the GetThingShadow operation.
41
+ #
42
+ # @note When making an API call, you may pass GetThingShadowRequest
43
+ # data as a hash:
44
+ #
45
+ # {
46
+ # thing_name: "ThingName", # required
47
+ # }
48
+ #
49
+ # @!attribute [rw] thing_name
50
+ # The name of the thing.
51
+ # @return [String]
52
+ #
53
+ class GetThingShadowRequest < Struct.new(
54
+ :thing_name)
55
+ include Aws::Structure
56
+ end
59
57
 
60
- # The input for the Publish operation.
61
- # @note When making an API call, pass PublishRequest
62
- # data as a hash:
63
- #
64
- # {
65
- # topic: "Topic", # required
66
- # qos: 1,
67
- # payload: "data",
68
- # }
69
- # @!attribute [rw] topic
70
- # The name of the MQTT topic.
71
- # @return [String]
72
- #
73
- # @!attribute [rw] qos
74
- # The Quality of Service (QoS) level.
75
- # @return [Integer]
76
- #
77
- # @!attribute [rw] payload
78
- # The state information, in JSON format.
79
- # @return [String]
80
- class PublishRequest < Struct.new(
81
- :topic,
82
- :qos,
83
- :payload)
84
- include Aws::Structure
85
- end
58
+ # The output from the GetThingShadow operation.
59
+ #
60
+ # @!attribute [rw] payload
61
+ # The state information, in JSON format.
62
+ # @return [String]
63
+ #
64
+ class GetThingShadowResponse < Struct.new(
65
+ :payload)
66
+ include Aws::Structure
67
+ end
86
68
 
87
- # The input for the UpdateThingShadow operation.
88
- # @note When making an API call, pass UpdateThingShadowRequest
89
- # data as a hash:
90
- #
91
- # {
92
- # thing_name: "ThingName", # required
93
- # payload: "data", # required
94
- # }
95
- # @!attribute [rw] thing_name
96
- # The name of the thing.
97
- # @return [String]
98
- #
99
- # @!attribute [rw] payload
100
- # The state information, in JSON format.
101
- # @return [String]
102
- class UpdateThingShadowRequest < Struct.new(
103
- :thing_name,
104
- :payload)
105
- include Aws::Structure
106
- end
69
+ # The input for the Publish operation.
70
+ #
71
+ # @note When making an API call, you may pass PublishRequest
72
+ # data as a hash:
73
+ #
74
+ # {
75
+ # topic: "Topic", # required
76
+ # qos: 1,
77
+ # payload: "data",
78
+ # }
79
+ #
80
+ # @!attribute [rw] topic
81
+ # The name of the MQTT topic.
82
+ # @return [String]
83
+ #
84
+ # @!attribute [rw] qos
85
+ # The Quality of Service (QoS) level.
86
+ # @return [Integer]
87
+ #
88
+ # @!attribute [rw] payload
89
+ # The state information, in JSON format.
90
+ # @return [String]
91
+ #
92
+ class PublishRequest < Struct.new(
93
+ :topic,
94
+ :qos,
95
+ :payload)
96
+ include Aws::Structure
97
+ end
107
98
 
108
- # The output from the UpdateThingShadow operation.
109
- # @!attribute [rw] payload
110
- # The state information, in JSON format.
111
- # @return [String]
112
- class UpdateThingShadowResponse < Struct.new(
113
- :payload)
114
- include Aws::Structure
115
- end
99
+ # The input for the UpdateThingShadow operation.
100
+ #
101
+ # @note When making an API call, you may pass UpdateThingShadowRequest
102
+ # data as a hash:
103
+ #
104
+ # {
105
+ # thing_name: "ThingName", # required
106
+ # payload: "data", # required
107
+ # }
108
+ #
109
+ # @!attribute [rw] thing_name
110
+ # The name of the thing.
111
+ # @return [String]
112
+ #
113
+ # @!attribute [rw] payload
114
+ # The state information, in JSON format.
115
+ # @return [String]
116
+ #
117
+ class UpdateThingShadowRequest < Struct.new(
118
+ :thing_name,
119
+ :payload)
120
+ include Aws::Structure
121
+ end
116
122
 
123
+ # The output from the UpdateThingShadow operation.
124
+ #
125
+ # @!attribute [rw] payload
126
+ # The state information, in JSON format.
127
+ # @return [String]
128
+ #
129
+ class UpdateThingShadowResponse < Struct.new(
130
+ :payload)
131
+ include Aws::Structure
117
132
  end
133
+
118
134
  end
119
135
  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.0.0.rc1
4
+ version: 1.0.0.rc2
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: 2016-12-05 00:00:00.000000000 Z
11
+ date: 2017-04-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core