aws-sdk-elementalinference 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-elementalinference/client.rb +1124 -0
- data/lib/aws-sdk-elementalinference/client_api.rb +407 -0
- data/lib/aws-sdk-elementalinference/customizations.rb +0 -0
- data/lib/aws-sdk-elementalinference/endpoint_parameters.rb +69 -0
- data/lib/aws-sdk-elementalinference/endpoint_provider.rb +50 -0
- data/lib/aws-sdk-elementalinference/endpoints.rb +20 -0
- data/lib/aws-sdk-elementalinference/errors.rb +162 -0
- data/lib/aws-sdk-elementalinference/plugins/endpoints.rb +77 -0
- data/lib/aws-sdk-elementalinference/resource.rb +26 -0
- data/lib/aws-sdk-elementalinference/types.rb +794 -0
- data/lib/aws-sdk-elementalinference/waiters.rb +136 -0
- data/lib/aws-sdk-elementalinference.rb +62 -0
- data/sig/client.rbs +259 -0
- data/sig/errors.rbs +37 -0
- data/sig/resource.rbs +85 -0
- data/sig/types.rbs +236 -0
- data/sig/waiters.rbs +23 -0
- metadata +97 -0
|
@@ -0,0 +1,794 @@
|
|
|
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::ElementalInference
|
|
11
|
+
module Types
|
|
12
|
+
|
|
13
|
+
# You do not have sufficient access to perform this action.
|
|
14
|
+
#
|
|
15
|
+
# @!attribute [rw] message
|
|
16
|
+
# @return [String]
|
|
17
|
+
#
|
|
18
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elementalinference-2018-11-14/AccessDeniedException AWS API Documentation
|
|
19
|
+
#
|
|
20
|
+
class AccessDeniedException < Struct.new(
|
|
21
|
+
:message)
|
|
22
|
+
SENSITIVE = []
|
|
23
|
+
include Aws::Structure
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
# @!attribute [rw] id
|
|
27
|
+
# The ID of the feed.
|
|
28
|
+
# @return [String]
|
|
29
|
+
#
|
|
30
|
+
# @!attribute [rw] associated_resource_name
|
|
31
|
+
# An identifier for the resource. If the resource is from an AWS
|
|
32
|
+
# service, this identifier must be the full ARN of that resource.
|
|
33
|
+
# Otherwise, the identifier is a name that you assign and that is
|
|
34
|
+
# appropriate for the application that owns the resource. This name
|
|
35
|
+
# must not resemble an ARN.
|
|
36
|
+
#
|
|
37
|
+
# **A suitable default value is auto-generated.** You should normally
|
|
38
|
+
# not need to pass this option.
|
|
39
|
+
# @return [String]
|
|
40
|
+
#
|
|
41
|
+
# @!attribute [rw] outputs
|
|
42
|
+
# The outputs to add to this feed. You must specify at least one
|
|
43
|
+
# output. You can later use the UpdateFeed action to change the list
|
|
44
|
+
# of outputs.
|
|
45
|
+
# @return [Array<Types::CreateOutput>]
|
|
46
|
+
#
|
|
47
|
+
# @!attribute [rw] dry_run
|
|
48
|
+
# Set to true if you want to do a dry run of the associate action.
|
|
49
|
+
# @return [Boolean]
|
|
50
|
+
#
|
|
51
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elementalinference-2018-11-14/AssociateFeedRequest AWS API Documentation
|
|
52
|
+
#
|
|
53
|
+
class AssociateFeedRequest < Struct.new(
|
|
54
|
+
:id,
|
|
55
|
+
:associated_resource_name,
|
|
56
|
+
:outputs,
|
|
57
|
+
:dry_run)
|
|
58
|
+
SENSITIVE = []
|
|
59
|
+
include Aws::Structure
|
|
60
|
+
end
|
|
61
|
+
|
|
62
|
+
# @!attribute [rw] arn
|
|
63
|
+
# The AWS ARN for this association.
|
|
64
|
+
# @return [String]
|
|
65
|
+
#
|
|
66
|
+
# @!attribute [rw] id
|
|
67
|
+
# An ID for this response. It is unique in Elemental Inference for
|
|
68
|
+
# this AWS account.
|
|
69
|
+
# @return [String]
|
|
70
|
+
#
|
|
71
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elementalinference-2018-11-14/AssociateFeedResponse AWS API Documentation
|
|
72
|
+
#
|
|
73
|
+
class AssociateFeedResponse < Struct.new(
|
|
74
|
+
:arn,
|
|
75
|
+
:id)
|
|
76
|
+
SENSITIVE = []
|
|
77
|
+
include Aws::Structure
|
|
78
|
+
end
|
|
79
|
+
|
|
80
|
+
# A type of OutputConfig, used when the output in a feed is for the clip
|
|
81
|
+
# feature.
|
|
82
|
+
#
|
|
83
|
+
# @!attribute [rw] callback_metadata
|
|
84
|
+
# The metadata that is the result of the clip request to Elemental
|
|
85
|
+
# Inference.
|
|
86
|
+
# @return [String]
|
|
87
|
+
#
|
|
88
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elementalinference-2018-11-14/ClippingConfig AWS API Documentation
|
|
89
|
+
#
|
|
90
|
+
class ClippingConfig < Struct.new(
|
|
91
|
+
:callback_metadata)
|
|
92
|
+
SENSITIVE = []
|
|
93
|
+
include Aws::Structure
|
|
94
|
+
end
|
|
95
|
+
|
|
96
|
+
# The request could not be completed due to a conflict.
|
|
97
|
+
#
|
|
98
|
+
# @!attribute [rw] message
|
|
99
|
+
# @return [String]
|
|
100
|
+
#
|
|
101
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elementalinference-2018-11-14/ConflictException AWS API Documentation
|
|
102
|
+
#
|
|
103
|
+
class ConflictException < Struct.new(
|
|
104
|
+
:message)
|
|
105
|
+
SENSITIVE = []
|
|
106
|
+
include Aws::Structure
|
|
107
|
+
end
|
|
108
|
+
|
|
109
|
+
# @!attribute [rw] name
|
|
110
|
+
# A name for this feed.
|
|
111
|
+
# @return [String]
|
|
112
|
+
#
|
|
113
|
+
# @!attribute [rw] outputs
|
|
114
|
+
# An array of outputs for this feed. Each output represents a specific
|
|
115
|
+
# Elemental Inference feature. For example, an output might represent
|
|
116
|
+
# the crop feature.
|
|
117
|
+
# @return [Array<Types::CreateOutput>]
|
|
118
|
+
#
|
|
119
|
+
# @!attribute [rw] tags
|
|
120
|
+
# If you want to include tags, add them now. You won't be able to add
|
|
121
|
+
# them later.
|
|
122
|
+
# @return [Hash<String,String>]
|
|
123
|
+
#
|
|
124
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elementalinference-2018-11-14/CreateFeedRequest AWS API Documentation
|
|
125
|
+
#
|
|
126
|
+
class CreateFeedRequest < Struct.new(
|
|
127
|
+
:name,
|
|
128
|
+
:outputs,
|
|
129
|
+
:tags)
|
|
130
|
+
SENSITIVE = []
|
|
131
|
+
include Aws::Structure
|
|
132
|
+
end
|
|
133
|
+
|
|
134
|
+
# @!attribute [rw] arn
|
|
135
|
+
# A unique ARN that Elemental Inference assigns to the feed.
|
|
136
|
+
# @return [String]
|
|
137
|
+
#
|
|
138
|
+
# @!attribute [rw] name
|
|
139
|
+
# The name that you specified.
|
|
140
|
+
# @return [String]
|
|
141
|
+
#
|
|
142
|
+
# @!attribute [rw] id
|
|
143
|
+
# A unique ID that Elemental Inference assigns to the feed.
|
|
144
|
+
# @return [String]
|
|
145
|
+
#
|
|
146
|
+
# @!attribute [rw] data_endpoints
|
|
147
|
+
# A unique ARN that Elemental Inference assigns to the feed.
|
|
148
|
+
# @return [Array<String>]
|
|
149
|
+
#
|
|
150
|
+
# @!attribute [rw] outputs
|
|
151
|
+
# Data endpoints that Elemental Inference assigns to the feed.
|
|
152
|
+
# @return [Array<Types::GetOutput>]
|
|
153
|
+
#
|
|
154
|
+
# @!attribute [rw] status
|
|
155
|
+
# The current status of the feed. After creation of the feed has
|
|
156
|
+
# succeeded, the status will be AVAILABLE.
|
|
157
|
+
# @return [String]
|
|
158
|
+
#
|
|
159
|
+
# @!attribute [rw] association
|
|
160
|
+
# The association for this feed. When you create the feed, this
|
|
161
|
+
# property is empty. You must associate a resource with the feed using
|
|
162
|
+
# AssociateFeed.
|
|
163
|
+
# @return [Types::FeedAssociation]
|
|
164
|
+
#
|
|
165
|
+
# @!attribute [rw] tags
|
|
166
|
+
# Any tags that you included when you created the feed.
|
|
167
|
+
# @return [Hash<String,String>]
|
|
168
|
+
#
|
|
169
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elementalinference-2018-11-14/CreateFeedResponse AWS API Documentation
|
|
170
|
+
#
|
|
171
|
+
class CreateFeedResponse < Struct.new(
|
|
172
|
+
:arn,
|
|
173
|
+
:name,
|
|
174
|
+
:id,
|
|
175
|
+
:data_endpoints,
|
|
176
|
+
:outputs,
|
|
177
|
+
:status,
|
|
178
|
+
:association,
|
|
179
|
+
:tags)
|
|
180
|
+
SENSITIVE = []
|
|
181
|
+
include Aws::Structure
|
|
182
|
+
end
|
|
183
|
+
|
|
184
|
+
# Contains configuration information about one output in a feed. It is
|
|
185
|
+
# used in the AssociateFeed and the CreateFeed actions.
|
|
186
|
+
#
|
|
187
|
+
# @!attribute [rw] name
|
|
188
|
+
# A name for the output.
|
|
189
|
+
# @return [String]
|
|
190
|
+
#
|
|
191
|
+
# @!attribute [rw] output_config
|
|
192
|
+
# A typed property for an output in a feed. It is used in the
|
|
193
|
+
# CreateFeed and AssociateFeed actions. It identifies the action for
|
|
194
|
+
# Elemental Inference to perform. It also provides a repository for
|
|
195
|
+
# the results of that action. For example, CroppingConfig output will
|
|
196
|
+
# contain the metadata for the crop feature.
|
|
197
|
+
# @return [Types::OutputConfig]
|
|
198
|
+
#
|
|
199
|
+
# @!attribute [rw] status
|
|
200
|
+
# The status to assign to the output.
|
|
201
|
+
# @return [String]
|
|
202
|
+
#
|
|
203
|
+
# @!attribute [rw] description
|
|
204
|
+
# A description for the output.
|
|
205
|
+
# @return [String]
|
|
206
|
+
#
|
|
207
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elementalinference-2018-11-14/CreateOutput AWS API Documentation
|
|
208
|
+
#
|
|
209
|
+
class CreateOutput < Struct.new(
|
|
210
|
+
:name,
|
|
211
|
+
:output_config,
|
|
212
|
+
:status,
|
|
213
|
+
:description)
|
|
214
|
+
SENSITIVE = []
|
|
215
|
+
include Aws::Structure
|
|
216
|
+
end
|
|
217
|
+
|
|
218
|
+
# A type of OutputConfig, used when the output in a feed is for the crop
|
|
219
|
+
# feature.
|
|
220
|
+
#
|
|
221
|
+
# @api private
|
|
222
|
+
#
|
|
223
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elementalinference-2018-11-14/CroppingConfig AWS API Documentation
|
|
224
|
+
#
|
|
225
|
+
class CroppingConfig < Aws::EmptyStructure; end
|
|
226
|
+
|
|
227
|
+
# @!attribute [rw] id
|
|
228
|
+
# The ID of the feed.
|
|
229
|
+
# @return [String]
|
|
230
|
+
#
|
|
231
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elementalinference-2018-11-14/DeleteFeedRequest AWS API Documentation
|
|
232
|
+
#
|
|
233
|
+
class DeleteFeedRequest < Struct.new(
|
|
234
|
+
:id)
|
|
235
|
+
SENSITIVE = []
|
|
236
|
+
include Aws::Structure
|
|
237
|
+
end
|
|
238
|
+
|
|
239
|
+
# @!attribute [rw] arn
|
|
240
|
+
# The ARN of the deleted feed.
|
|
241
|
+
# @return [String]
|
|
242
|
+
#
|
|
243
|
+
# @!attribute [rw] id
|
|
244
|
+
# The ID of the deleted feed.
|
|
245
|
+
# @return [String]
|
|
246
|
+
#
|
|
247
|
+
# @!attribute [rw] status
|
|
248
|
+
# The current status of the feed. When deletion of the feed has
|
|
249
|
+
# succeeded, the status will be DELETED.
|
|
250
|
+
# @return [String]
|
|
251
|
+
#
|
|
252
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elementalinference-2018-11-14/DeleteFeedResponse AWS API Documentation
|
|
253
|
+
#
|
|
254
|
+
class DeleteFeedResponse < Struct.new(
|
|
255
|
+
:arn,
|
|
256
|
+
:id,
|
|
257
|
+
:status)
|
|
258
|
+
SENSITIVE = []
|
|
259
|
+
include Aws::Structure
|
|
260
|
+
end
|
|
261
|
+
|
|
262
|
+
# @!attribute [rw] id
|
|
263
|
+
# The ID of the feed where you want to release the resource.
|
|
264
|
+
# @return [String]
|
|
265
|
+
#
|
|
266
|
+
# @!attribute [rw] associated_resource_name
|
|
267
|
+
# The name of the resource currently associated with the feed'.
|
|
268
|
+
#
|
|
269
|
+
# **A suitable default value is auto-generated.** You should normally
|
|
270
|
+
# not need to pass this option.
|
|
271
|
+
# @return [String]
|
|
272
|
+
#
|
|
273
|
+
# @!attribute [rw] dry_run
|
|
274
|
+
# Set to true if you want to do a dry run of the disassociate action.
|
|
275
|
+
# @return [Boolean]
|
|
276
|
+
#
|
|
277
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elementalinference-2018-11-14/DisassociateFeedRequest AWS API Documentation
|
|
278
|
+
#
|
|
279
|
+
class DisassociateFeedRequest < Struct.new(
|
|
280
|
+
:id,
|
|
281
|
+
:associated_resource_name,
|
|
282
|
+
:dry_run)
|
|
283
|
+
SENSITIVE = []
|
|
284
|
+
include Aws::Structure
|
|
285
|
+
end
|
|
286
|
+
|
|
287
|
+
# @!attribute [rw] arn
|
|
288
|
+
# The ID of the feed where you deleted the associated resource.
|
|
289
|
+
# @return [String]
|
|
290
|
+
#
|
|
291
|
+
# @!attribute [rw] id
|
|
292
|
+
# The ARN of the resource that you deleted.
|
|
293
|
+
# @return [String]
|
|
294
|
+
#
|
|
295
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elementalinference-2018-11-14/DisassociateFeedResponse AWS API Documentation
|
|
296
|
+
#
|
|
297
|
+
class DisassociateFeedResponse < Struct.new(
|
|
298
|
+
:arn,
|
|
299
|
+
:id)
|
|
300
|
+
SENSITIVE = []
|
|
301
|
+
include Aws::Structure
|
|
302
|
+
end
|
|
303
|
+
|
|
304
|
+
# Contains information about the resource that is associated with a
|
|
305
|
+
# feed. It is used in the FeedSummary that is used in the response of a
|
|
306
|
+
# ListFeeds action.
|
|
307
|
+
#
|
|
308
|
+
# @!attribute [rw] associated_resource_name
|
|
309
|
+
# The name of the associated resource.
|
|
310
|
+
# @return [String]
|
|
311
|
+
#
|
|
312
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elementalinference-2018-11-14/FeedAssociation AWS API Documentation
|
|
313
|
+
#
|
|
314
|
+
class FeedAssociation < Struct.new(
|
|
315
|
+
:associated_resource_name)
|
|
316
|
+
SENSITIVE = []
|
|
317
|
+
include Aws::Structure
|
|
318
|
+
end
|
|
319
|
+
|
|
320
|
+
# Contains configuration information about a feed. It is used in the
|
|
321
|
+
# ListFeeds action.
|
|
322
|
+
#
|
|
323
|
+
# @!attribute [rw] arn
|
|
324
|
+
# The ARN of the feed.
|
|
325
|
+
# @return [String]
|
|
326
|
+
#
|
|
327
|
+
# @!attribute [rw] id
|
|
328
|
+
# The ID of the feed.
|
|
329
|
+
# @return [String]
|
|
330
|
+
#
|
|
331
|
+
# @!attribute [rw] name
|
|
332
|
+
# The name of the feed
|
|
333
|
+
# @return [String]
|
|
334
|
+
#
|
|
335
|
+
# @!attribute [rw] association
|
|
336
|
+
# The resource, if any, associated with the feed.
|
|
337
|
+
# @return [Types::FeedAssociation]
|
|
338
|
+
#
|
|
339
|
+
# @!attribute [rw] status
|
|
340
|
+
# The status of the feed.
|
|
341
|
+
# @return [String]
|
|
342
|
+
#
|
|
343
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elementalinference-2018-11-14/FeedSummary AWS API Documentation
|
|
344
|
+
#
|
|
345
|
+
class FeedSummary < Struct.new(
|
|
346
|
+
:arn,
|
|
347
|
+
:id,
|
|
348
|
+
:name,
|
|
349
|
+
:association,
|
|
350
|
+
:status)
|
|
351
|
+
SENSITIVE = []
|
|
352
|
+
include Aws::Structure
|
|
353
|
+
end
|
|
354
|
+
|
|
355
|
+
# @!attribute [rw] id
|
|
356
|
+
# The ID of the feed to query.
|
|
357
|
+
# @return [String]
|
|
358
|
+
#
|
|
359
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elementalinference-2018-11-14/GetFeedRequest AWS API Documentation
|
|
360
|
+
#
|
|
361
|
+
class GetFeedRequest < Struct.new(
|
|
362
|
+
:id)
|
|
363
|
+
SENSITIVE = []
|
|
364
|
+
include Aws::Structure
|
|
365
|
+
end
|
|
366
|
+
|
|
367
|
+
# @!attribute [rw] arn
|
|
368
|
+
# The ARN of the feed.
|
|
369
|
+
# @return [String]
|
|
370
|
+
#
|
|
371
|
+
# @!attribute [rw] name
|
|
372
|
+
# The name of the feed being queried.
|
|
373
|
+
# @return [String]
|
|
374
|
+
#
|
|
375
|
+
# @!attribute [rw] id
|
|
376
|
+
# The ID of the feed being queried.
|
|
377
|
+
# @return [String]
|
|
378
|
+
#
|
|
379
|
+
# @!attribute [rw] data_endpoints
|
|
380
|
+
# The dataEndpoints of the feed being queried.
|
|
381
|
+
# @return [Array<String>]
|
|
382
|
+
#
|
|
383
|
+
# @!attribute [rw] outputs
|
|
384
|
+
# An array of the outputs in the feed being queried.
|
|
385
|
+
# @return [Array<Types::GetOutput>]
|
|
386
|
+
#
|
|
387
|
+
# @!attribute [rw] status
|
|
388
|
+
# The status of the feed being queried.
|
|
389
|
+
# @return [String]
|
|
390
|
+
#
|
|
391
|
+
# @!attribute [rw] association
|
|
392
|
+
# Information about the resource, if any, associated with the feed
|
|
393
|
+
# being queried.
|
|
394
|
+
# @return [Types::FeedAssociation]
|
|
395
|
+
#
|
|
396
|
+
# @!attribute [rw] tags
|
|
397
|
+
# A list of the tags, if any, for the feed being queried.
|
|
398
|
+
# @return [Hash<String,String>]
|
|
399
|
+
#
|
|
400
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elementalinference-2018-11-14/GetFeedResponse AWS API Documentation
|
|
401
|
+
#
|
|
402
|
+
class GetFeedResponse < Struct.new(
|
|
403
|
+
:arn,
|
|
404
|
+
:name,
|
|
405
|
+
:id,
|
|
406
|
+
:data_endpoints,
|
|
407
|
+
:outputs,
|
|
408
|
+
:status,
|
|
409
|
+
:association,
|
|
410
|
+
:tags)
|
|
411
|
+
SENSITIVE = []
|
|
412
|
+
include Aws::Structure
|
|
413
|
+
end
|
|
414
|
+
|
|
415
|
+
# Contains configuration information about one output in a feed. It is
|
|
416
|
+
# used in the GetFeed action.
|
|
417
|
+
#
|
|
418
|
+
# @!attribute [rw] name
|
|
419
|
+
# The ARN of the output.
|
|
420
|
+
# @return [String]
|
|
421
|
+
#
|
|
422
|
+
# @!attribute [rw] output_config
|
|
423
|
+
# A typed property for an output in a feed. It is used in the GetFeed
|
|
424
|
+
# action. It identifies the action for Elemental Inference to perform.
|
|
425
|
+
# It also provides a repository for the results of that action. For
|
|
426
|
+
# example, CroppingConfig output will contain the metadata for the
|
|
427
|
+
# crop feature.
|
|
428
|
+
# @return [Types::OutputConfig]
|
|
429
|
+
#
|
|
430
|
+
# @!attribute [rw] status
|
|
431
|
+
# The status of the output.
|
|
432
|
+
# @return [String]
|
|
433
|
+
#
|
|
434
|
+
# @!attribute [rw] description
|
|
435
|
+
# The description of the output.
|
|
436
|
+
# @return [String]
|
|
437
|
+
#
|
|
438
|
+
# @!attribute [rw] from_association
|
|
439
|
+
# True means that the output was originally created in the feed by the
|
|
440
|
+
# AssociateFeed operation. False means it was created using CreateFeed
|
|
441
|
+
# or UpdateFeed. You will need this value if you use the UpdateFeed
|
|
442
|
+
# operation to modify the list of outputs in the feed.
|
|
443
|
+
# @return [Boolean]
|
|
444
|
+
#
|
|
445
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elementalinference-2018-11-14/GetOutput AWS API Documentation
|
|
446
|
+
#
|
|
447
|
+
class GetOutput < Struct.new(
|
|
448
|
+
:name,
|
|
449
|
+
:output_config,
|
|
450
|
+
:status,
|
|
451
|
+
:description,
|
|
452
|
+
:from_association)
|
|
453
|
+
SENSITIVE = []
|
|
454
|
+
include Aws::Structure
|
|
455
|
+
end
|
|
456
|
+
|
|
457
|
+
# An internal server error occurred. This is a temporary condition and
|
|
458
|
+
# the request can be retried. If the problem persists, contact AWS
|
|
459
|
+
# Support.
|
|
460
|
+
#
|
|
461
|
+
# @!attribute [rw] message
|
|
462
|
+
# @return [String]
|
|
463
|
+
#
|
|
464
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elementalinference-2018-11-14/InternalServerErrorException AWS API Documentation
|
|
465
|
+
#
|
|
466
|
+
class InternalServerErrorException < Struct.new(
|
|
467
|
+
:message)
|
|
468
|
+
SENSITIVE = []
|
|
469
|
+
include Aws::Structure
|
|
470
|
+
end
|
|
471
|
+
|
|
472
|
+
# @!attribute [rw] max_results
|
|
473
|
+
# The maximum number of results to return per API request.
|
|
474
|
+
#
|
|
475
|
+
# For example, you submit a list request with MaxResults set at 5.
|
|
476
|
+
# Although 20 items match your request, the service returns no more
|
|
477
|
+
# than the first 5 items. (The service also returns a NextToken value
|
|
478
|
+
# that you can use to fetch the next batch of results.)
|
|
479
|
+
#
|
|
480
|
+
# The service might return fewer results than the MaxResults value. If
|
|
481
|
+
# MaxResults is not included in the request, the service defaults to
|
|
482
|
+
# pagination with a maximum of 10 results per page.
|
|
483
|
+
#
|
|
484
|
+
# Valid Range: Minimum value of 1. Maximum value of 1000.
|
|
485
|
+
# @return [Integer]
|
|
486
|
+
#
|
|
487
|
+
# @!attribute [rw] next_token
|
|
488
|
+
# The token that identifies the batch of results that you want to see.
|
|
489
|
+
#
|
|
490
|
+
# For example, you submit a ListBridges request with MaxResults set at
|
|
491
|
+
# 5. The service returns the first batch of results (up to 5) and a
|
|
492
|
+
# NextToken value. To see the next batch of results, you can submit
|
|
493
|
+
# the ListBridges request a second time and specify the NextToken
|
|
494
|
+
# value.
|
|
495
|
+
# @return [String]
|
|
496
|
+
#
|
|
497
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elementalinference-2018-11-14/ListFeedsRequest AWS API Documentation
|
|
498
|
+
#
|
|
499
|
+
class ListFeedsRequest < Struct.new(
|
|
500
|
+
:max_results,
|
|
501
|
+
:next_token)
|
|
502
|
+
SENSITIVE = []
|
|
503
|
+
include Aws::Structure
|
|
504
|
+
end
|
|
505
|
+
|
|
506
|
+
# @!attribute [rw] feeds
|
|
507
|
+
# A list of feed summaries.
|
|
508
|
+
# @return [Array<Types::FeedSummary>]
|
|
509
|
+
#
|
|
510
|
+
# @!attribute [rw] next_token
|
|
511
|
+
# The token that identifies the batch of results that you want to see.
|
|
512
|
+
# For example, you submit a list request with MaxResults set at 5. The
|
|
513
|
+
# service returns the first batch of results (up to 5) and a NextToken
|
|
514
|
+
# value. To see the next batch of results, you can submit the list
|
|
515
|
+
# request a second time and specify the NextToken value.
|
|
516
|
+
# @return [String]
|
|
517
|
+
#
|
|
518
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elementalinference-2018-11-14/ListFeedsResponse AWS API Documentation
|
|
519
|
+
#
|
|
520
|
+
class ListFeedsResponse < Struct.new(
|
|
521
|
+
:feeds,
|
|
522
|
+
:next_token)
|
|
523
|
+
SENSITIVE = []
|
|
524
|
+
include Aws::Structure
|
|
525
|
+
end
|
|
526
|
+
|
|
527
|
+
# @!attribute [rw] resource_arn
|
|
528
|
+
# The ARN of the resource whose tags you want to query.
|
|
529
|
+
# @return [String]
|
|
530
|
+
#
|
|
531
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elementalinference-2018-11-14/ListTagsForResourceRequest AWS API Documentation
|
|
532
|
+
#
|
|
533
|
+
class ListTagsForResourceRequest < Struct.new(
|
|
534
|
+
:resource_arn)
|
|
535
|
+
SENSITIVE = []
|
|
536
|
+
include Aws::Structure
|
|
537
|
+
end
|
|
538
|
+
|
|
539
|
+
# @!attribute [rw] tags
|
|
540
|
+
# A list of the tags that belong to this resource.
|
|
541
|
+
# @return [Hash<String,String>]
|
|
542
|
+
#
|
|
543
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elementalinference-2018-11-14/ListTagsForResourceResponse AWS API Documentation
|
|
544
|
+
#
|
|
545
|
+
class ListTagsForResourceResponse < Struct.new(
|
|
546
|
+
:tags)
|
|
547
|
+
SENSITIVE = []
|
|
548
|
+
include Aws::Structure
|
|
549
|
+
end
|
|
550
|
+
|
|
551
|
+
# Contains one typed output. It is used in the CreateOutput, GetOutput,
|
|
552
|
+
# and Update Output structures.
|
|
553
|
+
#
|
|
554
|
+
# @note OutputConfig is a union - when making an API calls you must set exactly one of the members.
|
|
555
|
+
#
|
|
556
|
+
# @note OutputConfig is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of OutputConfig corresponding to the set member.
|
|
557
|
+
#
|
|
558
|
+
# @!attribute [rw] cropping
|
|
559
|
+
# The output config type that applies to the cropping feature.
|
|
560
|
+
# @return [Types::CroppingConfig]
|
|
561
|
+
#
|
|
562
|
+
# @!attribute [rw] clipping
|
|
563
|
+
# The output config type that applies to the clipping feature.
|
|
564
|
+
# @return [Types::ClippingConfig]
|
|
565
|
+
#
|
|
566
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elementalinference-2018-11-14/OutputConfig AWS API Documentation
|
|
567
|
+
#
|
|
568
|
+
class OutputConfig < Struct.new(
|
|
569
|
+
:cropping,
|
|
570
|
+
:clipping,
|
|
571
|
+
:unknown)
|
|
572
|
+
SENSITIVE = []
|
|
573
|
+
include Aws::Structure
|
|
574
|
+
include Aws::Structure::Union
|
|
575
|
+
|
|
576
|
+
class Cropping < OutputConfig; end
|
|
577
|
+
class Clipping < OutputConfig; end
|
|
578
|
+
class Unknown < OutputConfig; end
|
|
579
|
+
end
|
|
580
|
+
|
|
581
|
+
# The resource specified in the action doesn't exist.
|
|
582
|
+
#
|
|
583
|
+
# @!attribute [rw] message
|
|
584
|
+
# @return [String]
|
|
585
|
+
#
|
|
586
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elementalinference-2018-11-14/ResourceNotFoundException AWS API Documentation
|
|
587
|
+
#
|
|
588
|
+
class ResourceNotFoundException < Struct.new(
|
|
589
|
+
:message)
|
|
590
|
+
SENSITIVE = []
|
|
591
|
+
include Aws::Structure
|
|
592
|
+
end
|
|
593
|
+
|
|
594
|
+
# The request was rejected because it would exceed one or more service
|
|
595
|
+
# quotas for your account. Review your service quotas and either delete
|
|
596
|
+
# unused resources or request a quota increase.
|
|
597
|
+
#
|
|
598
|
+
# @!attribute [rw] message
|
|
599
|
+
# @return [String]
|
|
600
|
+
#
|
|
601
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elementalinference-2018-11-14/ServiceQuotaExceededException AWS API Documentation
|
|
602
|
+
#
|
|
603
|
+
class ServiceQuotaExceededException < Struct.new(
|
|
604
|
+
:message)
|
|
605
|
+
SENSITIVE = []
|
|
606
|
+
include Aws::Structure
|
|
607
|
+
end
|
|
608
|
+
|
|
609
|
+
# @!attribute [rw] resource_arn
|
|
610
|
+
# The ARN of the resource where you want to add tags.
|
|
611
|
+
# @return [String]
|
|
612
|
+
#
|
|
613
|
+
# @!attribute [rw] tags
|
|
614
|
+
# A list of tags to add to the resource.
|
|
615
|
+
# @return [Hash<String,String>]
|
|
616
|
+
#
|
|
617
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elementalinference-2018-11-14/TagResourceRequest AWS API Documentation
|
|
618
|
+
#
|
|
619
|
+
class TagResourceRequest < Struct.new(
|
|
620
|
+
:resource_arn,
|
|
621
|
+
:tags)
|
|
622
|
+
SENSITIVE = []
|
|
623
|
+
include Aws::Structure
|
|
624
|
+
end
|
|
625
|
+
|
|
626
|
+
# The request was denied due to request throttling. Too many requests
|
|
627
|
+
# have been made within a given time period. Reduce the frequency of
|
|
628
|
+
# requests and use exponential backoff when retrying.
|
|
629
|
+
#
|
|
630
|
+
# @!attribute [rw] message
|
|
631
|
+
# @return [String]
|
|
632
|
+
#
|
|
633
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elementalinference-2018-11-14/TooManyRequestException AWS API Documentation
|
|
634
|
+
#
|
|
635
|
+
class TooManyRequestException < Struct.new(
|
|
636
|
+
:message)
|
|
637
|
+
SENSITIVE = []
|
|
638
|
+
include Aws::Structure
|
|
639
|
+
end
|
|
640
|
+
|
|
641
|
+
# @!attribute [rw] resource_arn
|
|
642
|
+
# The ARN of the resource where you want to delete one or more tags.
|
|
643
|
+
# @return [String]
|
|
644
|
+
#
|
|
645
|
+
# @!attribute [rw] tag_keys
|
|
646
|
+
# The keys of the tags to delete.
|
|
647
|
+
# @return [Array<String>]
|
|
648
|
+
#
|
|
649
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elementalinference-2018-11-14/UntagResourceRequest AWS API Documentation
|
|
650
|
+
#
|
|
651
|
+
class UntagResourceRequest < Struct.new(
|
|
652
|
+
:resource_arn,
|
|
653
|
+
:tag_keys)
|
|
654
|
+
SENSITIVE = []
|
|
655
|
+
include Aws::Structure
|
|
656
|
+
end
|
|
657
|
+
|
|
658
|
+
# @!attribute [rw] name
|
|
659
|
+
# Required. You can specify the existing name (to leave it unchanged)
|
|
660
|
+
# or a new name.
|
|
661
|
+
# @return [String]
|
|
662
|
+
#
|
|
663
|
+
# @!attribute [rw] id
|
|
664
|
+
# The ID of the feed to update.
|
|
665
|
+
# @return [String]
|
|
666
|
+
#
|
|
667
|
+
# @!attribute [rw] outputs
|
|
668
|
+
# Required. You can specify the existing array of outputs (to leave
|
|
669
|
+
# outputs unchanged) or you can specify a new array.
|
|
670
|
+
# @return [Array<Types::UpdateOutput>]
|
|
671
|
+
#
|
|
672
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elementalinference-2018-11-14/UpdateFeedRequest AWS API Documentation
|
|
673
|
+
#
|
|
674
|
+
class UpdateFeedRequest < Struct.new(
|
|
675
|
+
:name,
|
|
676
|
+
:id,
|
|
677
|
+
:outputs)
|
|
678
|
+
SENSITIVE = []
|
|
679
|
+
include Aws::Structure
|
|
680
|
+
end
|
|
681
|
+
|
|
682
|
+
# @!attribute [rw] arn
|
|
683
|
+
# The ARN of the feed.
|
|
684
|
+
# @return [String]
|
|
685
|
+
#
|
|
686
|
+
# @!attribute [rw] name
|
|
687
|
+
# The updated or original name of the feed.
|
|
688
|
+
# @return [String]
|
|
689
|
+
#
|
|
690
|
+
# @!attribute [rw] id
|
|
691
|
+
# The ID of the feed.
|
|
692
|
+
# @return [String]
|
|
693
|
+
#
|
|
694
|
+
# @!attribute [rw] data_endpoints
|
|
695
|
+
# The data endpoints of the feed.
|
|
696
|
+
# @return [Array<String>]
|
|
697
|
+
#
|
|
698
|
+
# @!attribute [rw] outputs
|
|
699
|
+
# The array of outputs in the feed. You might have left this array
|
|
700
|
+
# unchanged, or you might have changed it.
|
|
701
|
+
# @return [Array<Types::GetOutput>]
|
|
702
|
+
#
|
|
703
|
+
# @!attribute [rw] status
|
|
704
|
+
# The status of the output.
|
|
705
|
+
# @return [String]
|
|
706
|
+
#
|
|
707
|
+
# @!attribute [rw] association
|
|
708
|
+
# True means that the output was originally created in the feed by the
|
|
709
|
+
# AssociateFeed operation. False means it was created using CreateFeed
|
|
710
|
+
# or UpdateFeed. You will need this value if you use the UpdateFeed
|
|
711
|
+
# operation to modify the list of outputs in the feed.
|
|
712
|
+
# @return [Types::FeedAssociation]
|
|
713
|
+
#
|
|
714
|
+
# @!attribute [rw] tags
|
|
715
|
+
# The name of the resource currently associated with the feed, if any.
|
|
716
|
+
# @return [Hash<String,String>]
|
|
717
|
+
#
|
|
718
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elementalinference-2018-11-14/UpdateFeedResponse AWS API Documentation
|
|
719
|
+
#
|
|
720
|
+
class UpdateFeedResponse < Struct.new(
|
|
721
|
+
:arn,
|
|
722
|
+
:name,
|
|
723
|
+
:id,
|
|
724
|
+
:data_endpoints,
|
|
725
|
+
:outputs,
|
|
726
|
+
:status,
|
|
727
|
+
:association,
|
|
728
|
+
:tags)
|
|
729
|
+
SENSITIVE = []
|
|
730
|
+
include Aws::Structure
|
|
731
|
+
end
|
|
732
|
+
|
|
733
|
+
# Contains configuration information about one output in a feed. It is
|
|
734
|
+
# used in the UpdateFeed action.
|
|
735
|
+
#
|
|
736
|
+
# @!attribute [rw] name
|
|
737
|
+
# The name start here
|
|
738
|
+
# @return [String]
|
|
739
|
+
#
|
|
740
|
+
# @!attribute [rw] output_config
|
|
741
|
+
# A typed property for an output in a feed. It is used in the
|
|
742
|
+
# UpdateFeed action. It identifies the action for Elemental Inference
|
|
743
|
+
# to perform. It also provides a repository for the results of that
|
|
744
|
+
# action. For example, CroppingConfig output will contain the metadata
|
|
745
|
+
# for the crop feature.
|
|
746
|
+
# @return [Types::OutputConfig]
|
|
747
|
+
#
|
|
748
|
+
# @!attribute [rw] status
|
|
749
|
+
# The status of the output.
|
|
750
|
+
# @return [String]
|
|
751
|
+
#
|
|
752
|
+
# @!attribute [rw] description
|
|
753
|
+
# A description of the output.
|
|
754
|
+
# @return [String]
|
|
755
|
+
#
|
|
756
|
+
# @!attribute [rw] from_association
|
|
757
|
+
# This property is set by the service when you add the output to the
|
|
758
|
+
# feed, and indicates how you added the output. True means that you
|
|
759
|
+
# used the AssociateFeed operation. False means that you used the
|
|
760
|
+
# CreateFeed or UpdateFeed operation. Use GetFeed to obtain the value.
|
|
761
|
+
# If the value is True, include this field here with a value of True.
|
|
762
|
+
# If the value is False, omit the field here.
|
|
763
|
+
# @return [Boolean]
|
|
764
|
+
#
|
|
765
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elementalinference-2018-11-14/UpdateOutput AWS API Documentation
|
|
766
|
+
#
|
|
767
|
+
class UpdateOutput < Struct.new(
|
|
768
|
+
:name,
|
|
769
|
+
:output_config,
|
|
770
|
+
:status,
|
|
771
|
+
:description,
|
|
772
|
+
:from_association)
|
|
773
|
+
SENSITIVE = []
|
|
774
|
+
include Aws::Structure
|
|
775
|
+
end
|
|
776
|
+
|
|
777
|
+
# The input fails to satisfy the constraints specified by the service.
|
|
778
|
+
# Check the error message for details about which parameter or field is
|
|
779
|
+
# invalid and correct the request before retrying.
|
|
780
|
+
#
|
|
781
|
+
# @!attribute [rw] message
|
|
782
|
+
# @return [String]
|
|
783
|
+
#
|
|
784
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elementalinference-2018-11-14/ValidationException AWS API Documentation
|
|
785
|
+
#
|
|
786
|
+
class ValidationException < Struct.new(
|
|
787
|
+
:message)
|
|
788
|
+
SENSITIVE = []
|
|
789
|
+
include Aws::Structure
|
|
790
|
+
end
|
|
791
|
+
|
|
792
|
+
end
|
|
793
|
+
end
|
|
794
|
+
|