aws-sdk-iot1clickdevicesservice 1.9.0 → 1.10.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
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ecb69152e2c80fb4a63934a037fdc90c63e839d1
|
4
|
+
data.tar.gz: 6171430e5cd79b17841252d33c1bce5f81306cec
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0a47a5282fe82d568a9bde8086ac9e2a8f9999d48876156bcc73be49e05aba1848c401356640d935ffca9f294c2fd34370be1b7550de4cd25e65d3dab8c1f4db
|
7
|
+
data.tar.gz: 3d5045cdc8c3ce3a685438705679b1b8668a3532e5928137c75247a8fdb86abf4f1bf2b457af31335bd0ec668e641baf2583862220577cb802632db990866cad
|
@@ -252,12 +252,15 @@ module Aws::IoT1ClickDevicesService
|
|
252
252
|
#
|
253
253
|
# @example Response structure
|
254
254
|
#
|
255
|
+
# resp.device_description.arn #=> String
|
255
256
|
# resp.device_description.attributes #=> Hash
|
256
257
|
# resp.device_description.attributes["__string"] #=> String
|
257
258
|
# resp.device_description.device_id #=> String
|
258
259
|
# resp.device_description.enabled #=> Boolean
|
259
260
|
# resp.device_description.remaining_life #=> Float
|
260
261
|
# resp.device_description.type #=> String
|
262
|
+
# resp.device_description.tags #=> Hash
|
263
|
+
# resp.device_description.tags["__string"] #=> String
|
261
264
|
#
|
262
265
|
# @see http://docs.aws.amazon.com/goto/WebAPI/devices-2018-05-14/DescribeDevice AWS API Documentation
|
263
266
|
#
|
@@ -279,6 +282,8 @@ module Aws::IoT1ClickDevicesService
|
|
279
282
|
#
|
280
283
|
# @option params [required, String] :device_id
|
281
284
|
#
|
285
|
+
# @option params [Hash<String,String>] :tags
|
286
|
+
#
|
282
287
|
# @return [Types::FinalizeDeviceClaimResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
283
288
|
#
|
284
289
|
# * {Types::FinalizeDeviceClaimResponse#state #state} => String
|
@@ -287,6 +292,9 @@ module Aws::IoT1ClickDevicesService
|
|
287
292
|
#
|
288
293
|
# resp = client.finalize_device_claim({
|
289
294
|
# device_id: "__string", # required
|
295
|
+
# tags: {
|
296
|
+
# "__string" => "__string",
|
297
|
+
# },
|
290
298
|
# })
|
291
299
|
#
|
292
300
|
# @example Response structure
|
@@ -475,12 +483,15 @@ module Aws::IoT1ClickDevicesService
|
|
475
483
|
# @example Response structure
|
476
484
|
#
|
477
485
|
# resp.devices #=> Array
|
486
|
+
# resp.devices[0].arn #=> String
|
478
487
|
# resp.devices[0].attributes #=> Hash
|
479
488
|
# resp.devices[0].attributes["__string"] #=> String
|
480
489
|
# resp.devices[0].device_id #=> String
|
481
490
|
# resp.devices[0].enabled #=> Boolean
|
482
491
|
# resp.devices[0].remaining_life #=> Float
|
483
492
|
# resp.devices[0].type #=> String
|
493
|
+
# resp.devices[0].tags #=> Hash
|
494
|
+
# resp.devices[0].tags["__string"] #=> String
|
484
495
|
# resp.next_token #=> String
|
485
496
|
#
|
486
497
|
# @see http://docs.aws.amazon.com/goto/WebAPI/devices-2018-05-14/ListDevices AWS API Documentation
|
@@ -492,6 +503,62 @@ module Aws::IoT1ClickDevicesService
|
|
492
503
|
req.send_request(options)
|
493
504
|
end
|
494
505
|
|
506
|
+
# List all tags on an AWS IoT 1-Click resource.
|
507
|
+
#
|
508
|
+
# @option params [required, String] :resource_arn
|
509
|
+
#
|
510
|
+
# @return [Types::ListTagsForResourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
511
|
+
#
|
512
|
+
# * {Types::ListTagsForResourceResponse#tags #tags} => Hash<String,String>
|
513
|
+
#
|
514
|
+
# @example Request syntax with placeholder values
|
515
|
+
#
|
516
|
+
# resp = client.list_tags_for_resource({
|
517
|
+
# resource_arn: "__string", # required
|
518
|
+
# })
|
519
|
+
#
|
520
|
+
# @example Response structure
|
521
|
+
#
|
522
|
+
# resp.tags #=> Hash
|
523
|
+
# resp.tags["__string"] #=> String
|
524
|
+
#
|
525
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/devices-2018-05-14/ListTagsForResource AWS API Documentation
|
526
|
+
#
|
527
|
+
# @overload list_tags_for_resource(params = {})
|
528
|
+
# @param [Hash] params ({})
|
529
|
+
def list_tags_for_resource(params = {}, options = {})
|
530
|
+
req = build_request(:list_tags_for_resource, params)
|
531
|
+
req.send_request(options)
|
532
|
+
end
|
533
|
+
|
534
|
+
# Associate a set of tags with an AWS IoT 1-Click resource. You can then
|
535
|
+
# activate these user-defined tags so that they appear on the Billing
|
536
|
+
# and Cost Management console for cost allocation tracking.
|
537
|
+
#
|
538
|
+
# @option params [required, String] :resource_arn
|
539
|
+
#
|
540
|
+
# @option params [required, Hash<String,String>] :tags
|
541
|
+
#
|
542
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
543
|
+
#
|
544
|
+
# @example Request syntax with placeholder values
|
545
|
+
#
|
546
|
+
# resp = client.tag_resource({
|
547
|
+
# resource_arn: "__string", # required
|
548
|
+
# tags: { # required
|
549
|
+
# "__string" => "__string",
|
550
|
+
# },
|
551
|
+
# })
|
552
|
+
#
|
553
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/devices-2018-05-14/TagResource AWS API Documentation
|
554
|
+
#
|
555
|
+
# @overload tag_resource(params = {})
|
556
|
+
# @param [Hash] params ({})
|
557
|
+
def tag_resource(params = {}, options = {})
|
558
|
+
req = build_request(:tag_resource, params)
|
559
|
+
req.send_request(options)
|
560
|
+
end
|
561
|
+
|
495
562
|
# Disassociates a device from your AWS account using its device ID.
|
496
563
|
#
|
497
564
|
# @option params [required, String] :device_id
|
@@ -519,6 +586,30 @@ module Aws::IoT1ClickDevicesService
|
|
519
586
|
req.send_request(options)
|
520
587
|
end
|
521
588
|
|
589
|
+
# Removes the association of tags from an AWS IoT 1-Click resource.
|
590
|
+
#
|
591
|
+
# @option params [required, String] :resource_arn
|
592
|
+
#
|
593
|
+
# @option params [required, Array<String>] :tag_keys
|
594
|
+
#
|
595
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
596
|
+
#
|
597
|
+
# @example Request syntax with placeholder values
|
598
|
+
#
|
599
|
+
# resp = client.untag_resource({
|
600
|
+
# resource_arn: "__string", # required
|
601
|
+
# tag_keys: ["__string"], # required
|
602
|
+
# })
|
603
|
+
#
|
604
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/devices-2018-05-14/UntagResource AWS API Documentation
|
605
|
+
#
|
606
|
+
# @overload untag_resource(params = {})
|
607
|
+
# @param [Hash] params ({})
|
608
|
+
def untag_resource(params = {}, options = {})
|
609
|
+
req = build_request(:untag_resource, params)
|
610
|
+
req.send_request(options)
|
611
|
+
end
|
612
|
+
|
522
613
|
# Using a Boolean value (true or false), this operation enables or
|
523
614
|
# disables the device given a device ID.
|
524
615
|
#
|
@@ -558,7 +649,7 @@ module Aws::IoT1ClickDevicesService
|
|
558
649
|
params: params,
|
559
650
|
config: config)
|
560
651
|
context[:gem_name] = 'aws-sdk-iot1clickdevicesservice'
|
561
|
-
context[:gem_version] = '1.
|
652
|
+
context[:gem_version] = '1.10.0'
|
562
653
|
Seahorse::Client::Request.new(handlers, context)
|
563
654
|
end
|
564
655
|
|
@@ -39,13 +39,17 @@ module Aws::IoT1ClickDevicesService
|
|
39
39
|
ListDeviceEventsResponse = Shapes::StructureShape.new(name: 'ListDeviceEventsResponse')
|
40
40
|
ListDevicesRequest = Shapes::StructureShape.new(name: 'ListDevicesRequest')
|
41
41
|
ListDevicesResponse = Shapes::StructureShape.new(name: 'ListDevicesResponse')
|
42
|
+
ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
|
43
|
+
ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
|
42
44
|
MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
|
43
45
|
PreconditionFailedException = Shapes::StructureShape.new(name: 'PreconditionFailedException')
|
44
46
|
RangeNotSatisfiableException = Shapes::StructureShape.new(name: 'RangeNotSatisfiableException')
|
45
47
|
ResourceConflictException = Shapes::StructureShape.new(name: 'ResourceConflictException')
|
46
48
|
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
49
|
+
TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
|
47
50
|
UnclaimDeviceRequest = Shapes::StructureShape.new(name: 'UnclaimDeviceRequest')
|
48
51
|
UnclaimDeviceResponse = Shapes::StructureShape.new(name: 'UnclaimDeviceResponse')
|
52
|
+
UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
|
49
53
|
UpdateDeviceStateRequest = Shapes::StructureShape.new(name: 'UpdateDeviceStateRequest')
|
50
54
|
UpdateDeviceStateResponse = Shapes::StructureShape.new(name: 'UpdateDeviceStateResponse')
|
51
55
|
__boolean = Shapes::BooleanShape.new(name: '__boolean')
|
@@ -55,7 +59,9 @@ module Aws::IoT1ClickDevicesService
|
|
55
59
|
__listOfDeviceDescription = Shapes::ListShape.new(name: '__listOfDeviceDescription')
|
56
60
|
__listOfDeviceEvent = Shapes::ListShape.new(name: '__listOfDeviceEvent')
|
57
61
|
__listOfDeviceMethod = Shapes::ListShape.new(name: '__listOfDeviceMethod')
|
62
|
+
__listOf__string = Shapes::ListShape.new(name: '__listOf__string')
|
58
63
|
__long = Shapes::IntegerShape.new(name: '__long')
|
64
|
+
__mapOf__string = Shapes::MapShape.new(name: '__mapOf__string')
|
59
65
|
__string = Shapes::StringShape.new(name: '__string')
|
60
66
|
__stringMin12Max40 = Shapes::StringShape.new(name: '__stringMin12Max40')
|
61
67
|
__timestampIso8601 = Shapes::TimestampShape.new(name: '__timestampIso8601', timestampFormat: "iso8601")
|
@@ -87,11 +93,13 @@ module Aws::IoT1ClickDevicesService
|
|
87
93
|
DeviceClaimResponse.add_member(:state, Shapes::ShapeRef.new(shape: __string, location_name: "state"))
|
88
94
|
DeviceClaimResponse.struct_class = Types::DeviceClaimResponse
|
89
95
|
|
96
|
+
DeviceDescription.add_member(:arn, Shapes::ShapeRef.new(shape: __string, location_name: "arn"))
|
90
97
|
DeviceDescription.add_member(:attributes, Shapes::ShapeRef.new(shape: DeviceAttributes, location_name: "attributes"))
|
91
98
|
DeviceDescription.add_member(:device_id, Shapes::ShapeRef.new(shape: __string, location_name: "deviceId"))
|
92
99
|
DeviceDescription.add_member(:enabled, Shapes::ShapeRef.new(shape: __boolean, location_name: "enabled"))
|
93
100
|
DeviceDescription.add_member(:remaining_life, Shapes::ShapeRef.new(shape: __doubleMin0Max100, location_name: "remainingLife"))
|
94
101
|
DeviceDescription.add_member(:type, Shapes::ShapeRef.new(shape: __string, location_name: "type"))
|
102
|
+
DeviceDescription.add_member(:tags, Shapes::ShapeRef.new(shape: __mapOf__string, location_name: "tags"))
|
95
103
|
DeviceDescription.struct_class = Types::DeviceDescription
|
96
104
|
|
97
105
|
DeviceEvent.add_member(:device, Shapes::ShapeRef.new(shape: Device, location_name: "device"))
|
@@ -109,6 +117,7 @@ module Aws::IoT1ClickDevicesService
|
|
109
117
|
Empty.struct_class = Types::Empty
|
110
118
|
|
111
119
|
FinalizeDeviceClaimRequest.add_member(:device_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "deviceId"))
|
120
|
+
FinalizeDeviceClaimRequest.add_member(:tags, Shapes::ShapeRef.new(shape: __mapOf__string, location_name: "tags"))
|
112
121
|
FinalizeDeviceClaimRequest.struct_class = Types::FinalizeDeviceClaimRequest
|
113
122
|
|
114
123
|
FinalizeDeviceClaimResponse.add_member(:state, Shapes::ShapeRef.new(shape: __string, location_name: "state"))
|
@@ -154,12 +163,26 @@ module Aws::IoT1ClickDevicesService
|
|
154
163
|
ListDevicesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location_name: "nextToken"))
|
155
164
|
ListDevicesResponse.struct_class = Types::ListDevicesResponse
|
156
165
|
|
166
|
+
ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "resource-arn"))
|
167
|
+
ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
|
168
|
+
|
169
|
+
ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: __mapOf__string, location_name: "tags"))
|
170
|
+
ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
|
171
|
+
|
172
|
+
TagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "resource-arn"))
|
173
|
+
TagResourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: __mapOf__string, required: true, location_name: "tags"))
|
174
|
+
TagResourceRequest.struct_class = Types::TagResourceRequest
|
175
|
+
|
157
176
|
UnclaimDeviceRequest.add_member(:device_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "deviceId"))
|
158
177
|
UnclaimDeviceRequest.struct_class = Types::UnclaimDeviceRequest
|
159
178
|
|
160
179
|
UnclaimDeviceResponse.add_member(:state, Shapes::ShapeRef.new(shape: __string, location_name: "state"))
|
161
180
|
UnclaimDeviceResponse.struct_class = Types::UnclaimDeviceResponse
|
162
181
|
|
182
|
+
UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "resource-arn"))
|
183
|
+
UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: __listOf__string, required: true, location: "querystring", location_name: "tagKeys"))
|
184
|
+
UntagResourceRequest.struct_class = Types::UntagResourceRequest
|
185
|
+
|
163
186
|
UpdateDeviceStateRequest.add_member(:device_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "deviceId"))
|
164
187
|
UpdateDeviceStateRequest.add_member(:enabled, Shapes::ShapeRef.new(shape: __boolean, location_name: "enabled"))
|
165
188
|
UpdateDeviceStateRequest.struct_class = Types::UpdateDeviceStateRequest
|
@@ -172,6 +195,11 @@ module Aws::IoT1ClickDevicesService
|
|
172
195
|
|
173
196
|
__listOfDeviceMethod.member = Shapes::ShapeRef.new(shape: DeviceMethod)
|
174
197
|
|
198
|
+
__listOf__string.member = Shapes::ShapeRef.new(shape: __string)
|
199
|
+
|
200
|
+
__mapOf__string.key = Shapes::ShapeRef.new(shape: __string)
|
201
|
+
__mapOf__string.value = Shapes::ShapeRef.new(shape: __string)
|
202
|
+
|
175
203
|
|
176
204
|
# @api private
|
177
205
|
API = Seahorse::Model::Api.new.tap do |api|
|
@@ -285,6 +313,27 @@ module Aws::IoT1ClickDevicesService
|
|
285
313
|
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
286
314
|
end)
|
287
315
|
|
316
|
+
api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
|
317
|
+
o.name = "ListTagsForResource"
|
318
|
+
o.http_method = "GET"
|
319
|
+
o.http_request_uri = "/tags/{resource-arn}"
|
320
|
+
o.input = Shapes::ShapeRef.new(shape: ListTagsForResourceRequest)
|
321
|
+
o.output = Shapes::ShapeRef.new(shape: ListTagsForResourceResponse)
|
322
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
323
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
324
|
+
end)
|
325
|
+
|
326
|
+
api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
|
327
|
+
o.name = "TagResource"
|
328
|
+
o.http_method = "POST"
|
329
|
+
o.http_request_uri = "/tags/{resource-arn}"
|
330
|
+
o.input = Shapes::ShapeRef.new(shape: TagResourceRequest)
|
331
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
332
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
333
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
334
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
335
|
+
end)
|
336
|
+
|
288
337
|
api.add_operation(:unclaim_device, Seahorse::Model::Operation.new.tap do |o|
|
289
338
|
o.name = "UnclaimDevice"
|
290
339
|
o.http_method = "PUT"
|
@@ -296,6 +345,17 @@ module Aws::IoT1ClickDevicesService
|
|
296
345
|
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
297
346
|
end)
|
298
347
|
|
348
|
+
api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
|
349
|
+
o.name = "UntagResource"
|
350
|
+
o.http_method = "DELETE"
|
351
|
+
o.http_request_uri = "/tags/{resource-arn}"
|
352
|
+
o.input = Shapes::ShapeRef.new(shape: UntagResourceRequest)
|
353
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
354
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
355
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
356
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
357
|
+
end)
|
358
|
+
|
299
359
|
api.add_operation(:update_device_state, Seahorse::Model::Operation.new.tap do |o|
|
300
360
|
o.name = "UpdateDeviceState"
|
301
361
|
o.http_method = "PUT"
|
@@ -107,6 +107,9 @@ module Aws::IoT1ClickDevicesService
|
|
107
107
|
include Aws::Structure
|
108
108
|
end
|
109
109
|
|
110
|
+
# @!attribute [rw] arn
|
111
|
+
# @return [String]
|
112
|
+
#
|
110
113
|
# @!attribute [rw] attributes
|
111
114
|
# An array of zero or more elements of DeviceAttribute objects
|
112
115
|
# providing user specified device attributes.
|
@@ -129,14 +132,19 @@ module Aws::IoT1ClickDevicesService
|
|
129
132
|
# The type of the device, such as "button".
|
130
133
|
# @return [String]
|
131
134
|
#
|
135
|
+
# @!attribute [rw] tags
|
136
|
+
# @return [Hash<String,String>]
|
137
|
+
#
|
132
138
|
# @see http://docs.aws.amazon.com/goto/WebAPI/devices-2018-05-14/DeviceDescription AWS API Documentation
|
133
139
|
#
|
134
140
|
class DeviceDescription < Struct.new(
|
141
|
+
:arn,
|
135
142
|
:attributes,
|
136
143
|
:device_id,
|
137
144
|
:enabled,
|
138
145
|
:remaining_life,
|
139
|
-
:type
|
146
|
+
:type,
|
147
|
+
:tags)
|
140
148
|
include Aws::Structure
|
141
149
|
end
|
142
150
|
|
@@ -209,15 +217,22 @@ module Aws::IoT1ClickDevicesService
|
|
209
217
|
#
|
210
218
|
# {
|
211
219
|
# device_id: "__string", # required
|
220
|
+
# tags: {
|
221
|
+
# "__string" => "__string",
|
222
|
+
# },
|
212
223
|
# }
|
213
224
|
#
|
214
225
|
# @!attribute [rw] device_id
|
215
226
|
# @return [String]
|
216
227
|
#
|
228
|
+
# @!attribute [rw] tags
|
229
|
+
# @return [Hash<String,String>]
|
230
|
+
#
|
217
231
|
# @see http://docs.aws.amazon.com/goto/WebAPI/devices-2018-05-14/FinalizeDeviceClaimRequest AWS API Documentation
|
218
232
|
#
|
219
233
|
class FinalizeDeviceClaimRequest < Struct.new(
|
220
|
-
:device_id
|
234
|
+
:device_id,
|
235
|
+
:tags)
|
221
236
|
include Aws::Structure
|
222
237
|
end
|
223
238
|
|
@@ -424,6 +439,57 @@ module Aws::IoT1ClickDevicesService
|
|
424
439
|
include Aws::Structure
|
425
440
|
end
|
426
441
|
|
442
|
+
# @note When making an API call, you may pass ListTagsForResourceRequest
|
443
|
+
# data as a hash:
|
444
|
+
#
|
445
|
+
# {
|
446
|
+
# resource_arn: "__string", # required
|
447
|
+
# }
|
448
|
+
#
|
449
|
+
# @!attribute [rw] resource_arn
|
450
|
+
# @return [String]
|
451
|
+
#
|
452
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/devices-2018-05-14/ListTagsForResourceRequest AWS API Documentation
|
453
|
+
#
|
454
|
+
class ListTagsForResourceRequest < Struct.new(
|
455
|
+
:resource_arn)
|
456
|
+
include Aws::Structure
|
457
|
+
end
|
458
|
+
|
459
|
+
# @!attribute [rw] tags
|
460
|
+
# @return [Hash<String,String>]
|
461
|
+
#
|
462
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/devices-2018-05-14/ListTagsForResourceResponse AWS API Documentation
|
463
|
+
#
|
464
|
+
class ListTagsForResourceResponse < Struct.new(
|
465
|
+
:tags)
|
466
|
+
include Aws::Structure
|
467
|
+
end
|
468
|
+
|
469
|
+
# @note When making an API call, you may pass TagResourceRequest
|
470
|
+
# data as a hash:
|
471
|
+
#
|
472
|
+
# {
|
473
|
+
# resource_arn: "__string", # required
|
474
|
+
# tags: { # required
|
475
|
+
# "__string" => "__string",
|
476
|
+
# },
|
477
|
+
# }
|
478
|
+
#
|
479
|
+
# @!attribute [rw] resource_arn
|
480
|
+
# @return [String]
|
481
|
+
#
|
482
|
+
# @!attribute [rw] tags
|
483
|
+
# @return [Hash<String,String>]
|
484
|
+
#
|
485
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/devices-2018-05-14/TagResourceRequest AWS API Documentation
|
486
|
+
#
|
487
|
+
class TagResourceRequest < Struct.new(
|
488
|
+
:resource_arn,
|
489
|
+
:tags)
|
490
|
+
include Aws::Structure
|
491
|
+
end
|
492
|
+
|
427
493
|
# @note When making an API call, you may pass UnclaimDeviceRequest
|
428
494
|
# data as a hash:
|
429
495
|
#
|
@@ -451,6 +517,28 @@ module Aws::IoT1ClickDevicesService
|
|
451
517
|
include Aws::Structure
|
452
518
|
end
|
453
519
|
|
520
|
+
# @note When making an API call, you may pass UntagResourceRequest
|
521
|
+
# data as a hash:
|
522
|
+
#
|
523
|
+
# {
|
524
|
+
# resource_arn: "__string", # required
|
525
|
+
# tag_keys: ["__string"], # required
|
526
|
+
# }
|
527
|
+
#
|
528
|
+
# @!attribute [rw] resource_arn
|
529
|
+
# @return [String]
|
530
|
+
#
|
531
|
+
# @!attribute [rw] tag_keys
|
532
|
+
# @return [Array<String>]
|
533
|
+
#
|
534
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/devices-2018-05-14/UntagResourceRequest AWS API Documentation
|
535
|
+
#
|
536
|
+
class UntagResourceRequest < Struct.new(
|
537
|
+
:resource_arn,
|
538
|
+
:tag_keys)
|
539
|
+
include Aws::Structure
|
540
|
+
end
|
541
|
+
|
454
542
|
# @note When making an API call, you may pass UpdateDeviceStateRequest
|
455
543
|
# data as a hash:
|
456
544
|
#
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-iot1clickdevicesservice
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.10.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: 2019-03-
|
11
|
+
date: 2019-03-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|