aws-sdk-iotfleetwise 1.0.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 +7 -0
- data/CHANGELOG.md +8 -0
- data/LICENSE.txt +202 -0
- data/VERSION +1 -0
- data/lib/aws-sdk-iotfleetwise/client.rb +3147 -0
- data/lib/aws-sdk-iotfleetwise/client_api.rb +1907 -0
- data/lib/aws-sdk-iotfleetwise/customizations.rb +0 -0
- data/lib/aws-sdk-iotfleetwise/errors.rb +273 -0
- data/lib/aws-sdk-iotfleetwise/resource.rb +26 -0
- data/lib/aws-sdk-iotfleetwise/types.rb +4745 -0
- data/lib/aws-sdk-iotfleetwise/waiters.rb +15 -0
- data/lib/aws-sdk-iotfleetwise.rb +54 -0
- metadata +91 -0
File without changes
|
@@ -0,0 +1,273 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# WARNING ABOUT GENERATED CODE
|
4
|
+
#
|
5
|
+
# This file is generated. See the contributing guide for more information:
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
|
+
#
|
8
|
+
# WARNING ABOUT GENERATED CODE
|
9
|
+
|
10
|
+
module Aws::IoTFleetWise
|
11
|
+
|
12
|
+
# When IoTFleetWise returns an error response, the Ruby SDK constructs and raises an error.
|
13
|
+
# These errors all extend Aws::IoTFleetWise::Errors::ServiceError < {Aws::Errors::ServiceError}
|
14
|
+
#
|
15
|
+
# You can rescue all IoTFleetWise errors using ServiceError:
|
16
|
+
#
|
17
|
+
# begin
|
18
|
+
# # do stuff
|
19
|
+
# rescue Aws::IoTFleetWise::Errors::ServiceError
|
20
|
+
# # rescues all IoTFleetWise 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
|
+
# * {AccessDeniedException}
|
31
|
+
# * {ConflictException}
|
32
|
+
# * {DecoderManifestValidationException}
|
33
|
+
# * {InternalServerException}
|
34
|
+
# * {InvalidNodeException}
|
35
|
+
# * {InvalidSignalsException}
|
36
|
+
# * {LimitExceededException}
|
37
|
+
# * {ResourceNotFoundException}
|
38
|
+
# * {ThrottlingException}
|
39
|
+
# * {ValidationException}
|
40
|
+
#
|
41
|
+
# Additionally, error classes are dynamically generated for service errors based on the error code
|
42
|
+
# if they are not defined above.
|
43
|
+
module Errors
|
44
|
+
|
45
|
+
extend Aws::Errors::DynamicErrors
|
46
|
+
|
47
|
+
class AccessDeniedException < ServiceError
|
48
|
+
|
49
|
+
# @param [Seahorse::Client::RequestContext] context
|
50
|
+
# @param [String] message
|
51
|
+
# @param [Aws::IoTFleetWise::Types::AccessDeniedException] data
|
52
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
53
|
+
super(context, message, data)
|
54
|
+
end
|
55
|
+
|
56
|
+
# @return [String]
|
57
|
+
def message
|
58
|
+
@message || @data[:message]
|
59
|
+
end
|
60
|
+
end
|
61
|
+
|
62
|
+
class ConflictException < ServiceError
|
63
|
+
|
64
|
+
# @param [Seahorse::Client::RequestContext] context
|
65
|
+
# @param [String] message
|
66
|
+
# @param [Aws::IoTFleetWise::Types::ConflictException] data
|
67
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
68
|
+
super(context, message, data)
|
69
|
+
end
|
70
|
+
|
71
|
+
# @return [String]
|
72
|
+
def message
|
73
|
+
@message || @data[:message]
|
74
|
+
end
|
75
|
+
|
76
|
+
# @return [String]
|
77
|
+
def resource
|
78
|
+
@data[:resource]
|
79
|
+
end
|
80
|
+
|
81
|
+
# @return [String]
|
82
|
+
def resource_type
|
83
|
+
@data[:resource_type]
|
84
|
+
end
|
85
|
+
end
|
86
|
+
|
87
|
+
class DecoderManifestValidationException < ServiceError
|
88
|
+
|
89
|
+
# @param [Seahorse::Client::RequestContext] context
|
90
|
+
# @param [String] message
|
91
|
+
# @param [Aws::IoTFleetWise::Types::DecoderManifestValidationException] data
|
92
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
93
|
+
super(context, message, data)
|
94
|
+
end
|
95
|
+
|
96
|
+
# @return [String]
|
97
|
+
def invalid_signals
|
98
|
+
@data[:invalid_signals]
|
99
|
+
end
|
100
|
+
|
101
|
+
# @return [String]
|
102
|
+
def invalid_network_interfaces
|
103
|
+
@data[:invalid_network_interfaces]
|
104
|
+
end
|
105
|
+
end
|
106
|
+
|
107
|
+
class InternalServerException < ServiceError
|
108
|
+
|
109
|
+
# @param [Seahorse::Client::RequestContext] context
|
110
|
+
# @param [String] message
|
111
|
+
# @param [Aws::IoTFleetWise::Types::InternalServerException] data
|
112
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
113
|
+
super(context, message, data)
|
114
|
+
end
|
115
|
+
|
116
|
+
# @return [String]
|
117
|
+
def message
|
118
|
+
@message || @data[:message]
|
119
|
+
end
|
120
|
+
|
121
|
+
# @return [String]
|
122
|
+
def retry_after_seconds
|
123
|
+
@data[:retry_after_seconds]
|
124
|
+
end
|
125
|
+
end
|
126
|
+
|
127
|
+
class InvalidNodeException < ServiceError
|
128
|
+
|
129
|
+
# @param [Seahorse::Client::RequestContext] context
|
130
|
+
# @param [String] message
|
131
|
+
# @param [Aws::IoTFleetWise::Types::InvalidNodeException] data
|
132
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
133
|
+
super(context, message, data)
|
134
|
+
end
|
135
|
+
|
136
|
+
# @return [String]
|
137
|
+
def invalid_nodes
|
138
|
+
@data[:invalid_nodes]
|
139
|
+
end
|
140
|
+
|
141
|
+
# @return [String]
|
142
|
+
def reason
|
143
|
+
@data[:reason]
|
144
|
+
end
|
145
|
+
end
|
146
|
+
|
147
|
+
class InvalidSignalsException < ServiceError
|
148
|
+
|
149
|
+
# @param [Seahorse::Client::RequestContext] context
|
150
|
+
# @param [String] message
|
151
|
+
# @param [Aws::IoTFleetWise::Types::InvalidSignalsException] data
|
152
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
153
|
+
super(context, message, data)
|
154
|
+
end
|
155
|
+
|
156
|
+
# @return [String]
|
157
|
+
def message
|
158
|
+
@message || @data[:message]
|
159
|
+
end
|
160
|
+
|
161
|
+
# @return [String]
|
162
|
+
def invalid_signals
|
163
|
+
@data[:invalid_signals]
|
164
|
+
end
|
165
|
+
end
|
166
|
+
|
167
|
+
class LimitExceededException < ServiceError
|
168
|
+
|
169
|
+
# @param [Seahorse::Client::RequestContext] context
|
170
|
+
# @param [String] message
|
171
|
+
# @param [Aws::IoTFleetWise::Types::LimitExceededException] data
|
172
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
173
|
+
super(context, message, data)
|
174
|
+
end
|
175
|
+
|
176
|
+
# @return [String]
|
177
|
+
def message
|
178
|
+
@message || @data[:message]
|
179
|
+
end
|
180
|
+
|
181
|
+
# @return [String]
|
182
|
+
def resource_id
|
183
|
+
@data[:resource_id]
|
184
|
+
end
|
185
|
+
|
186
|
+
# @return [String]
|
187
|
+
def resource_type
|
188
|
+
@data[:resource_type]
|
189
|
+
end
|
190
|
+
end
|
191
|
+
|
192
|
+
class ResourceNotFoundException < ServiceError
|
193
|
+
|
194
|
+
# @param [Seahorse::Client::RequestContext] context
|
195
|
+
# @param [String] message
|
196
|
+
# @param [Aws::IoTFleetWise::Types::ResourceNotFoundException] data
|
197
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
198
|
+
super(context, message, data)
|
199
|
+
end
|
200
|
+
|
201
|
+
# @return [String]
|
202
|
+
def message
|
203
|
+
@message || @data[:message]
|
204
|
+
end
|
205
|
+
|
206
|
+
# @return [String]
|
207
|
+
def resource_id
|
208
|
+
@data[:resource_id]
|
209
|
+
end
|
210
|
+
|
211
|
+
# @return [String]
|
212
|
+
def resource_type
|
213
|
+
@data[:resource_type]
|
214
|
+
end
|
215
|
+
end
|
216
|
+
|
217
|
+
class ThrottlingException < ServiceError
|
218
|
+
|
219
|
+
# @param [Seahorse::Client::RequestContext] context
|
220
|
+
# @param [String] message
|
221
|
+
# @param [Aws::IoTFleetWise::Types::ThrottlingException] data
|
222
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
223
|
+
super(context, message, data)
|
224
|
+
end
|
225
|
+
|
226
|
+
# @return [String]
|
227
|
+
def message
|
228
|
+
@message || @data[:message]
|
229
|
+
end
|
230
|
+
|
231
|
+
# @return [String]
|
232
|
+
def quota_code
|
233
|
+
@data[:quota_code]
|
234
|
+
end
|
235
|
+
|
236
|
+
# @return [String]
|
237
|
+
def service_code
|
238
|
+
@data[:service_code]
|
239
|
+
end
|
240
|
+
|
241
|
+
# @return [String]
|
242
|
+
def retry_after_seconds
|
243
|
+
@data[:retry_after_seconds]
|
244
|
+
end
|
245
|
+
end
|
246
|
+
|
247
|
+
class ValidationException < ServiceError
|
248
|
+
|
249
|
+
# @param [Seahorse::Client::RequestContext] context
|
250
|
+
# @param [String] message
|
251
|
+
# @param [Aws::IoTFleetWise::Types::ValidationException] data
|
252
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
253
|
+
super(context, message, data)
|
254
|
+
end
|
255
|
+
|
256
|
+
# @return [String]
|
257
|
+
def message
|
258
|
+
@message || @data[:message]
|
259
|
+
end
|
260
|
+
|
261
|
+
# @return [String]
|
262
|
+
def reason
|
263
|
+
@data[:reason]
|
264
|
+
end
|
265
|
+
|
266
|
+
# @return [String]
|
267
|
+
def field_list
|
268
|
+
@data[:field_list]
|
269
|
+
end
|
270
|
+
end
|
271
|
+
|
272
|
+
end
|
273
|
+
end
|
@@ -0,0 +1,26 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# WARNING ABOUT GENERATED CODE
|
4
|
+
#
|
5
|
+
# This file is generated. See the contributing guide for more information:
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
|
+
#
|
8
|
+
# WARNING ABOUT GENERATED CODE
|
9
|
+
|
10
|
+
module Aws::IoTFleetWise
|
11
|
+
|
12
|
+
class Resource
|
13
|
+
|
14
|
+
# @param options ({})
|
15
|
+
# @option options [Client] :client
|
16
|
+
def initialize(options = {})
|
17
|
+
@client = options[:client] || Client.new(options)
|
18
|
+
end
|
19
|
+
|
20
|
+
# @return [Client]
|
21
|
+
def client
|
22
|
+
@client
|
23
|
+
end
|
24
|
+
|
25
|
+
end
|
26
|
+
end
|