aws-sdk-iot1clickdevicesservice 1.13.0 → 1.14.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-iot1clickdevicesservice.rb +1 -1
- data/lib/aws-sdk-iot1clickdevicesservice/client.rb +1 -1
- data/lib/aws-sdk-iot1clickdevicesservice/client_api.rb +28 -0
- data/lib/aws-sdk-iot1clickdevicesservice/errors.rb +147 -0
- data/lib/aws-sdk-iot1clickdevicesservice/types.rb +113 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 85d57d9821c0660b3101e44d8094c8cef7b421cc
|
4
|
+
data.tar.gz: 9ce7fe158629de8a554b0f56b91cb2715dfc80eb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: db60424bea7f5c47c6393b0a35d20df828716c5c0b936a39213a1efedb556041fbc91b63ec01d044650129bc29765abc82af83f0915443bec701eaf3b1d2618d
|
7
|
+
data.tar.gz: bc3405e43291f4ba80106e6c8f85a746d15a22f95ea97cc2d747d2316d58e663791927a422bd0f96239372f442914a77072fc98c80db29b3ea419a2b4b252b79
|
@@ -699,7 +699,7 @@ module Aws::IoT1ClickDevicesService
|
|
699
699
|
params: params,
|
700
700
|
config: config)
|
701
701
|
context[:gem_name] = 'aws-sdk-iot1clickdevicesservice'
|
702
|
-
context[:gem_version] = '1.
|
702
|
+
context[:gem_version] = '1.14.0'
|
703
703
|
Seahorse::Client::Request.new(handlers, context)
|
704
704
|
end
|
705
705
|
|
@@ -123,6 +123,10 @@ module Aws::IoT1ClickDevicesService
|
|
123
123
|
FinalizeDeviceClaimResponse.add_member(:state, Shapes::ShapeRef.new(shape: __string, location_name: "state"))
|
124
124
|
FinalizeDeviceClaimResponse.struct_class = Types::FinalizeDeviceClaimResponse
|
125
125
|
|
126
|
+
ForbiddenException.add_member(:code, Shapes::ShapeRef.new(shape: __string, location_name: "code"))
|
127
|
+
ForbiddenException.add_member(:message, Shapes::ShapeRef.new(shape: __string, location_name: "message"))
|
128
|
+
ForbiddenException.struct_class = Types::ForbiddenException
|
129
|
+
|
126
130
|
GetDeviceMethodsRequest.add_member(:device_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "deviceId"))
|
127
131
|
GetDeviceMethodsRequest.struct_class = Types::GetDeviceMethodsRequest
|
128
132
|
|
@@ -135,6 +139,14 @@ module Aws::IoT1ClickDevicesService
|
|
135
139
|
InitiateDeviceClaimResponse.add_member(:state, Shapes::ShapeRef.new(shape: __string, location_name: "state"))
|
136
140
|
InitiateDeviceClaimResponse.struct_class = Types::InitiateDeviceClaimResponse
|
137
141
|
|
142
|
+
InternalFailureException.add_member(:code, Shapes::ShapeRef.new(shape: __string, location_name: "code"))
|
143
|
+
InternalFailureException.add_member(:message, Shapes::ShapeRef.new(shape: __string, location_name: "message"))
|
144
|
+
InternalFailureException.struct_class = Types::InternalFailureException
|
145
|
+
|
146
|
+
InvalidRequestException.add_member(:code, Shapes::ShapeRef.new(shape: __string, location_name: "code"))
|
147
|
+
InvalidRequestException.add_member(:message, Shapes::ShapeRef.new(shape: __string, location_name: "message"))
|
148
|
+
InvalidRequestException.struct_class = Types::InvalidRequestException
|
149
|
+
|
138
150
|
InvokeDeviceMethodRequest.add_member(:device_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "deviceId"))
|
139
151
|
InvokeDeviceMethodRequest.add_member(:device_method, Shapes::ShapeRef.new(shape: DeviceMethod, location_name: "deviceMethod"))
|
140
152
|
InvokeDeviceMethodRequest.add_member(:device_method_parameters, Shapes::ShapeRef.new(shape: __string, location_name: "deviceMethodParameters"))
|
@@ -169,6 +181,22 @@ module Aws::IoT1ClickDevicesService
|
|
169
181
|
ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: __mapOf__string, location_name: "tags"))
|
170
182
|
ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
|
171
183
|
|
184
|
+
PreconditionFailedException.add_member(:code, Shapes::ShapeRef.new(shape: __string, location_name: "code"))
|
185
|
+
PreconditionFailedException.add_member(:message, Shapes::ShapeRef.new(shape: __string, location_name: "message"))
|
186
|
+
PreconditionFailedException.struct_class = Types::PreconditionFailedException
|
187
|
+
|
188
|
+
RangeNotSatisfiableException.add_member(:code, Shapes::ShapeRef.new(shape: __string, location_name: "code"))
|
189
|
+
RangeNotSatisfiableException.add_member(:message, Shapes::ShapeRef.new(shape: __string, location_name: "message"))
|
190
|
+
RangeNotSatisfiableException.struct_class = Types::RangeNotSatisfiableException
|
191
|
+
|
192
|
+
ResourceConflictException.add_member(:code, Shapes::ShapeRef.new(shape: __string, location_name: "code"))
|
193
|
+
ResourceConflictException.add_member(:message, Shapes::ShapeRef.new(shape: __string, location_name: "message"))
|
194
|
+
ResourceConflictException.struct_class = Types::ResourceConflictException
|
195
|
+
|
196
|
+
ResourceNotFoundException.add_member(:code, Shapes::ShapeRef.new(shape: __string, location_name: "code"))
|
197
|
+
ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: __string, location_name: "message"))
|
198
|
+
ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
|
199
|
+
|
172
200
|
TagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "resource-arn"))
|
173
201
|
TagResourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: __mapOf__string, required: true, location_name: "tags"))
|
174
202
|
TagResourceRequest.struct_class = Types::TagResourceRequest
|
@@ -10,5 +10,152 @@ module Aws::IoT1ClickDevicesService
|
|
10
10
|
|
11
11
|
extend Aws::Errors::DynamicErrors
|
12
12
|
|
13
|
+
class ForbiddenException < ServiceError
|
14
|
+
|
15
|
+
# @param [Seahorse::Client::RequestContext] context
|
16
|
+
# @param [String] message
|
17
|
+
# @param [Aws::IoT1ClickDevicesService::Types::ForbiddenException] data
|
18
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
19
|
+
super(context, message, data)
|
20
|
+
end
|
21
|
+
|
22
|
+
# @return [String]
|
23
|
+
def code
|
24
|
+
@code || @data[:code]
|
25
|
+
end
|
26
|
+
|
27
|
+
# @return [String]
|
28
|
+
def message
|
29
|
+
@message || @data[:message]
|
30
|
+
end
|
31
|
+
|
32
|
+
end
|
33
|
+
|
34
|
+
class InternalFailureException < ServiceError
|
35
|
+
|
36
|
+
# @param [Seahorse::Client::RequestContext] context
|
37
|
+
# @param [String] message
|
38
|
+
# @param [Aws::IoT1ClickDevicesService::Types::InternalFailureException] data
|
39
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
40
|
+
super(context, message, data)
|
41
|
+
end
|
42
|
+
|
43
|
+
# @return [String]
|
44
|
+
def code
|
45
|
+
@code || @data[:code]
|
46
|
+
end
|
47
|
+
|
48
|
+
# @return [String]
|
49
|
+
def message
|
50
|
+
@message || @data[:message]
|
51
|
+
end
|
52
|
+
|
53
|
+
end
|
54
|
+
|
55
|
+
class InvalidRequestException < ServiceError
|
56
|
+
|
57
|
+
# @param [Seahorse::Client::RequestContext] context
|
58
|
+
# @param [String] message
|
59
|
+
# @param [Aws::IoT1ClickDevicesService::Types::InvalidRequestException] data
|
60
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
61
|
+
super(context, message, data)
|
62
|
+
end
|
63
|
+
|
64
|
+
# @return [String]
|
65
|
+
def code
|
66
|
+
@code || @data[:code]
|
67
|
+
end
|
68
|
+
|
69
|
+
# @return [String]
|
70
|
+
def message
|
71
|
+
@message || @data[:message]
|
72
|
+
end
|
73
|
+
|
74
|
+
end
|
75
|
+
|
76
|
+
class PreconditionFailedException < ServiceError
|
77
|
+
|
78
|
+
# @param [Seahorse::Client::RequestContext] context
|
79
|
+
# @param [String] message
|
80
|
+
# @param [Aws::IoT1ClickDevicesService::Types::PreconditionFailedException] data
|
81
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
82
|
+
super(context, message, data)
|
83
|
+
end
|
84
|
+
|
85
|
+
# @return [String]
|
86
|
+
def code
|
87
|
+
@code || @data[:code]
|
88
|
+
end
|
89
|
+
|
90
|
+
# @return [String]
|
91
|
+
def message
|
92
|
+
@message || @data[:message]
|
93
|
+
end
|
94
|
+
|
95
|
+
end
|
96
|
+
|
97
|
+
class RangeNotSatisfiableException < ServiceError
|
98
|
+
|
99
|
+
# @param [Seahorse::Client::RequestContext] context
|
100
|
+
# @param [String] message
|
101
|
+
# @param [Aws::IoT1ClickDevicesService::Types::RangeNotSatisfiableException] data
|
102
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
103
|
+
super(context, message, data)
|
104
|
+
end
|
105
|
+
|
106
|
+
# @return [String]
|
107
|
+
def code
|
108
|
+
@code || @data[:code]
|
109
|
+
end
|
110
|
+
|
111
|
+
# @return [String]
|
112
|
+
def message
|
113
|
+
@message || @data[:message]
|
114
|
+
end
|
115
|
+
|
116
|
+
end
|
117
|
+
|
118
|
+
class ResourceConflictException < ServiceError
|
119
|
+
|
120
|
+
# @param [Seahorse::Client::RequestContext] context
|
121
|
+
# @param [String] message
|
122
|
+
# @param [Aws::IoT1ClickDevicesService::Types::ResourceConflictException] data
|
123
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
124
|
+
super(context, message, data)
|
125
|
+
end
|
126
|
+
|
127
|
+
# @return [String]
|
128
|
+
def code
|
129
|
+
@code || @data[:code]
|
130
|
+
end
|
131
|
+
|
132
|
+
# @return [String]
|
133
|
+
def message
|
134
|
+
@message || @data[:message]
|
135
|
+
end
|
136
|
+
|
137
|
+
end
|
138
|
+
|
139
|
+
class ResourceNotFoundException < ServiceError
|
140
|
+
|
141
|
+
# @param [Seahorse::Client::RequestContext] context
|
142
|
+
# @param [String] message
|
143
|
+
# @param [Aws::IoT1ClickDevicesService::Types::ResourceNotFoundException] data
|
144
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
145
|
+
super(context, message, data)
|
146
|
+
end
|
147
|
+
|
148
|
+
# @return [String]
|
149
|
+
def code
|
150
|
+
@code || @data[:code]
|
151
|
+
end
|
152
|
+
|
153
|
+
# @return [String]
|
154
|
+
def message
|
155
|
+
@message || @data[:message]
|
156
|
+
end
|
157
|
+
|
158
|
+
end
|
159
|
+
|
13
160
|
end
|
14
161
|
end
|
@@ -247,6 +247,22 @@ module Aws::IoT1ClickDevicesService
|
|
247
247
|
include Aws::Structure
|
248
248
|
end
|
249
249
|
|
250
|
+
# @!attribute [rw] code
|
251
|
+
# 403
|
252
|
+
# @return [String]
|
253
|
+
#
|
254
|
+
# @!attribute [rw] message
|
255
|
+
# The 403 error message returned by the web server.
|
256
|
+
# @return [String]
|
257
|
+
#
|
258
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/devices-2018-05-14/ForbiddenException AWS API Documentation
|
259
|
+
#
|
260
|
+
class ForbiddenException < Struct.new(
|
261
|
+
:code,
|
262
|
+
:message)
|
263
|
+
include Aws::Structure
|
264
|
+
end
|
265
|
+
|
250
266
|
# @note When making an API call, you may pass GetDeviceMethodsRequest
|
251
267
|
# data as a hash:
|
252
268
|
#
|
@@ -302,6 +318,38 @@ module Aws::IoT1ClickDevicesService
|
|
302
318
|
include Aws::Structure
|
303
319
|
end
|
304
320
|
|
321
|
+
# @!attribute [rw] code
|
322
|
+
# 500
|
323
|
+
# @return [String]
|
324
|
+
#
|
325
|
+
# @!attribute [rw] message
|
326
|
+
# The 500 error message returned by the web server.
|
327
|
+
# @return [String]
|
328
|
+
#
|
329
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/devices-2018-05-14/InternalFailureException AWS API Documentation
|
330
|
+
#
|
331
|
+
class InternalFailureException < Struct.new(
|
332
|
+
:code,
|
333
|
+
:message)
|
334
|
+
include Aws::Structure
|
335
|
+
end
|
336
|
+
|
337
|
+
# @!attribute [rw] code
|
338
|
+
# 400
|
339
|
+
# @return [String]
|
340
|
+
#
|
341
|
+
# @!attribute [rw] message
|
342
|
+
# The 400 error message returned by the web server.
|
343
|
+
# @return [String]
|
344
|
+
#
|
345
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/devices-2018-05-14/InvalidRequestException AWS API Documentation
|
346
|
+
#
|
347
|
+
class InvalidRequestException < Struct.new(
|
348
|
+
:code,
|
349
|
+
:message)
|
350
|
+
include Aws::Structure
|
351
|
+
end
|
352
|
+
|
305
353
|
# @note When making an API call, you may pass InvokeDeviceMethodRequest
|
306
354
|
# data as a hash:
|
307
355
|
#
|
@@ -467,6 +515,71 @@ module Aws::IoT1ClickDevicesService
|
|
467
515
|
include Aws::Structure
|
468
516
|
end
|
469
517
|
|
518
|
+
# @!attribute [rw] code
|
519
|
+
# 412
|
520
|
+
# @return [String]
|
521
|
+
#
|
522
|
+
# @!attribute [rw] message
|
523
|
+
# An error message explaining the error or its remedy.
|
524
|
+
# @return [String]
|
525
|
+
#
|
526
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/devices-2018-05-14/PreconditionFailedException AWS API Documentation
|
527
|
+
#
|
528
|
+
class PreconditionFailedException < Struct.new(
|
529
|
+
:code,
|
530
|
+
:message)
|
531
|
+
include Aws::Structure
|
532
|
+
end
|
533
|
+
|
534
|
+
# @!attribute [rw] code
|
535
|
+
# 416
|
536
|
+
# @return [String]
|
537
|
+
#
|
538
|
+
# @!attribute [rw] message
|
539
|
+
# The requested number of results specified by nextToken cannot be
|
540
|
+
# satisfied.
|
541
|
+
# @return [String]
|
542
|
+
#
|
543
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/devices-2018-05-14/RangeNotSatisfiableException AWS API Documentation
|
544
|
+
#
|
545
|
+
class RangeNotSatisfiableException < Struct.new(
|
546
|
+
:code,
|
547
|
+
:message)
|
548
|
+
include Aws::Structure
|
549
|
+
end
|
550
|
+
|
551
|
+
# @!attribute [rw] code
|
552
|
+
# 409
|
553
|
+
# @return [String]
|
554
|
+
#
|
555
|
+
# @!attribute [rw] message
|
556
|
+
# An error message explaining the error or its remedy.
|
557
|
+
# @return [String]
|
558
|
+
#
|
559
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/devices-2018-05-14/ResourceConflictException AWS API Documentation
|
560
|
+
#
|
561
|
+
class ResourceConflictException < Struct.new(
|
562
|
+
:code,
|
563
|
+
:message)
|
564
|
+
include Aws::Structure
|
565
|
+
end
|
566
|
+
|
567
|
+
# @!attribute [rw] code
|
568
|
+
# 404
|
569
|
+
# @return [String]
|
570
|
+
#
|
571
|
+
# @!attribute [rw] message
|
572
|
+
# The requested device could not be found.
|
573
|
+
# @return [String]
|
574
|
+
#
|
575
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/devices-2018-05-14/ResourceNotFoundException AWS API Documentation
|
576
|
+
#
|
577
|
+
class ResourceNotFoundException < Struct.new(
|
578
|
+
:code,
|
579
|
+
:message)
|
580
|
+
include Aws::Structure
|
581
|
+
end
|
582
|
+
|
470
583
|
# @note When making an API call, you may pass TagResourceRequest
|
471
584
|
# data as a hash:
|
472
585
|
#
|
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.14.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-05-
|
11
|
+
date: 2019-05-21 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.53.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.53.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|