aws-sdk-machinelearning 1.49.0 → 1.50.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 +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-machinelearning/client.rb +1 -1
- data/lib/aws-sdk-machinelearning/plugins/endpoints.rb +1 -0
- data/lib/aws-sdk-machinelearning.rb +1 -1
- data/sig/client.rbs +615 -0
- data/sig/errors.rbs +45 -0
- data/sig/resource.rbs +80 -0
- data/sig/types.rbs +678 -0
- data/sig/waiters.rbs +93 -0
- metadata +13 -8
data/sig/client.rbs
ADDED
@@ -0,0 +1,615 @@
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
2
|
+
#
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
5
|
+
#
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
7
|
+
|
8
|
+
module Aws
|
9
|
+
module MachineLearning
|
10
|
+
class Client < ::Seahorse::Client::Base
|
11
|
+
include ::Aws::ClientStubs
|
12
|
+
|
13
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MachineLearning/Client.html#initialize-instance_method
|
14
|
+
def self.new: (
|
15
|
+
?credentials: untyped,
|
16
|
+
?region: String,
|
17
|
+
?access_key_id: String,
|
18
|
+
?active_endpoint_cache: bool,
|
19
|
+
?adaptive_retry_wait_to_fill: bool,
|
20
|
+
?client_side_monitoring: bool,
|
21
|
+
?client_side_monitoring_client_id: String,
|
22
|
+
?client_side_monitoring_host: String,
|
23
|
+
?client_side_monitoring_port: Integer,
|
24
|
+
?client_side_monitoring_publisher: untyped,
|
25
|
+
?convert_params: bool,
|
26
|
+
?correct_clock_skew: bool,
|
27
|
+
?defaults_mode: String,
|
28
|
+
?disable_host_prefix_injection: bool,
|
29
|
+
?disable_request_compression: bool,
|
30
|
+
?endpoint: String,
|
31
|
+
?endpoint_cache_max_entries: Integer,
|
32
|
+
?endpoint_cache_max_threads: Integer,
|
33
|
+
?endpoint_cache_poll_interval: Integer,
|
34
|
+
?endpoint_discovery: bool,
|
35
|
+
?ignore_configured_endpoint_urls: bool,
|
36
|
+
?log_formatter: untyped,
|
37
|
+
?log_level: Symbol,
|
38
|
+
?logger: untyped,
|
39
|
+
?max_attempts: Integer,
|
40
|
+
?profile: String,
|
41
|
+
?request_min_compression_size_bytes: Integer,
|
42
|
+
?retry_backoff: Proc,
|
43
|
+
?retry_base_delay: Float,
|
44
|
+
?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
|
45
|
+
?retry_limit: Integer,
|
46
|
+
?retry_max_delay: Integer,
|
47
|
+
?retry_mode: ("legacy" | "standard" | "adaptive"),
|
48
|
+
?sdk_ua_app_id: String,
|
49
|
+
?secret_access_key: String,
|
50
|
+
?session_token: String,
|
51
|
+
?simple_json: bool,
|
52
|
+
?stub_responses: untyped,
|
53
|
+
?token_provider: untyped,
|
54
|
+
?use_dualstack_endpoint: bool,
|
55
|
+
?use_fips_endpoint: bool,
|
56
|
+
?validate_params: bool,
|
57
|
+
?endpoint_provider: untyped,
|
58
|
+
?http_proxy: String,
|
59
|
+
?http_open_timeout: (Float | Integer),
|
60
|
+
?http_read_timeout: (Float | Integer),
|
61
|
+
?http_idle_timeout: (Float | Integer),
|
62
|
+
?http_continue_timeout: (Float | Integer),
|
63
|
+
?ssl_timeout: (Float | Integer | nil),
|
64
|
+
?http_wire_trace: bool,
|
65
|
+
?ssl_verify_peer: bool,
|
66
|
+
?ssl_ca_bundle: String,
|
67
|
+
?ssl_ca_directory: String,
|
68
|
+
?ssl_ca_store: String,
|
69
|
+
?on_chunk_received: Proc,
|
70
|
+
?on_chunk_sent: Proc,
|
71
|
+
?raise_response_errors: bool
|
72
|
+
) -> instance
|
73
|
+
| (?Hash[Symbol, untyped]) -> instance
|
74
|
+
|
75
|
+
|
76
|
+
interface _AddTagsResponseSuccess
|
77
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::AddTagsOutput]
|
78
|
+
def resource_id: () -> ::String
|
79
|
+
def resource_type: () -> ("BatchPrediction" | "DataSource" | "Evaluation" | "MLModel")
|
80
|
+
end
|
81
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MachineLearning/Client.html#add_tags-instance_method
|
82
|
+
def add_tags: (
|
83
|
+
tags: Array[
|
84
|
+
{
|
85
|
+
key: ::String?,
|
86
|
+
value: ::String?
|
87
|
+
},
|
88
|
+
],
|
89
|
+
resource_id: ::String,
|
90
|
+
resource_type: ("BatchPrediction" | "DataSource" | "Evaluation" | "MLModel")
|
91
|
+
) -> _AddTagsResponseSuccess
|
92
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _AddTagsResponseSuccess
|
93
|
+
|
94
|
+
interface _CreateBatchPredictionResponseSuccess
|
95
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateBatchPredictionOutput]
|
96
|
+
def batch_prediction_id: () -> ::String
|
97
|
+
end
|
98
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MachineLearning/Client.html#create_batch_prediction-instance_method
|
99
|
+
def create_batch_prediction: (
|
100
|
+
batch_prediction_id: ::String,
|
101
|
+
?batch_prediction_name: ::String,
|
102
|
+
ml_model_id: ::String,
|
103
|
+
batch_prediction_data_source_id: ::String,
|
104
|
+
output_uri: ::String
|
105
|
+
) -> _CreateBatchPredictionResponseSuccess
|
106
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateBatchPredictionResponseSuccess
|
107
|
+
|
108
|
+
interface _CreateDataSourceFromRDSResponseSuccess
|
109
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateDataSourceFromRDSOutput]
|
110
|
+
def data_source_id: () -> ::String
|
111
|
+
end
|
112
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MachineLearning/Client.html#create_data_source_from_rds-instance_method
|
113
|
+
def create_data_source_from_rds: (
|
114
|
+
data_source_id: ::String,
|
115
|
+
?data_source_name: ::String,
|
116
|
+
rds_data: {
|
117
|
+
database_information: {
|
118
|
+
instance_identifier: ::String,
|
119
|
+
database_name: ::String
|
120
|
+
},
|
121
|
+
select_sql_query: ::String,
|
122
|
+
database_credentials: {
|
123
|
+
username: ::String,
|
124
|
+
password: ::String
|
125
|
+
},
|
126
|
+
s3_staging_location: ::String,
|
127
|
+
data_rearrangement: ::String?,
|
128
|
+
data_schema: ::String?,
|
129
|
+
data_schema_uri: ::String?,
|
130
|
+
resource_role: ::String,
|
131
|
+
service_role: ::String,
|
132
|
+
subnet_id: ::String,
|
133
|
+
security_group_ids: Array[::String]
|
134
|
+
},
|
135
|
+
role_arn: ::String,
|
136
|
+
?compute_statistics: bool
|
137
|
+
) -> _CreateDataSourceFromRDSResponseSuccess
|
138
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateDataSourceFromRDSResponseSuccess
|
139
|
+
|
140
|
+
interface _CreateDataSourceFromRedshiftResponseSuccess
|
141
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateDataSourceFromRedshiftOutput]
|
142
|
+
def data_source_id: () -> ::String
|
143
|
+
end
|
144
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MachineLearning/Client.html#create_data_source_from_redshift-instance_method
|
145
|
+
def create_data_source_from_redshift: (
|
146
|
+
data_source_id: ::String,
|
147
|
+
?data_source_name: ::String,
|
148
|
+
data_spec: {
|
149
|
+
database_information: {
|
150
|
+
database_name: ::String,
|
151
|
+
cluster_identifier: ::String
|
152
|
+
},
|
153
|
+
select_sql_query: ::String,
|
154
|
+
database_credentials: {
|
155
|
+
username: ::String,
|
156
|
+
password: ::String
|
157
|
+
},
|
158
|
+
s3_staging_location: ::String,
|
159
|
+
data_rearrangement: ::String?,
|
160
|
+
data_schema: ::String?,
|
161
|
+
data_schema_uri: ::String?
|
162
|
+
},
|
163
|
+
role_arn: ::String,
|
164
|
+
?compute_statistics: bool
|
165
|
+
) -> _CreateDataSourceFromRedshiftResponseSuccess
|
166
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateDataSourceFromRedshiftResponseSuccess
|
167
|
+
|
168
|
+
interface _CreateDataSourceFromS3ResponseSuccess
|
169
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateDataSourceFromS3Output]
|
170
|
+
def data_source_id: () -> ::String
|
171
|
+
end
|
172
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MachineLearning/Client.html#create_data_source_from_s3-instance_method
|
173
|
+
def create_data_source_from_s3: (
|
174
|
+
data_source_id: ::String,
|
175
|
+
?data_source_name: ::String,
|
176
|
+
data_spec: {
|
177
|
+
data_location_s3: ::String,
|
178
|
+
data_rearrangement: ::String?,
|
179
|
+
data_schema: ::String?,
|
180
|
+
data_schema_location_s3: ::String?
|
181
|
+
},
|
182
|
+
?compute_statistics: bool
|
183
|
+
) -> _CreateDataSourceFromS3ResponseSuccess
|
184
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateDataSourceFromS3ResponseSuccess
|
185
|
+
|
186
|
+
interface _CreateEvaluationResponseSuccess
|
187
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateEvaluationOutput]
|
188
|
+
def evaluation_id: () -> ::String
|
189
|
+
end
|
190
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MachineLearning/Client.html#create_evaluation-instance_method
|
191
|
+
def create_evaluation: (
|
192
|
+
evaluation_id: ::String,
|
193
|
+
?evaluation_name: ::String,
|
194
|
+
ml_model_id: ::String,
|
195
|
+
evaluation_data_source_id: ::String
|
196
|
+
) -> _CreateEvaluationResponseSuccess
|
197
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateEvaluationResponseSuccess
|
198
|
+
|
199
|
+
interface _CreateMLModelResponseSuccess
|
200
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateMLModelOutput]
|
201
|
+
def ml_model_id: () -> ::String
|
202
|
+
end
|
203
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MachineLearning/Client.html#create_ml_model-instance_method
|
204
|
+
def create_ml_model: (
|
205
|
+
ml_model_id: ::String,
|
206
|
+
?ml_model_name: ::String,
|
207
|
+
ml_model_type: ("REGRESSION" | "BINARY" | "MULTICLASS"),
|
208
|
+
?parameters: Hash[::String, ::String],
|
209
|
+
training_data_source_id: ::String,
|
210
|
+
?recipe: ::String,
|
211
|
+
?recipe_uri: ::String
|
212
|
+
) -> _CreateMLModelResponseSuccess
|
213
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateMLModelResponseSuccess
|
214
|
+
|
215
|
+
interface _CreateRealtimeEndpointResponseSuccess
|
216
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateRealtimeEndpointOutput]
|
217
|
+
def ml_model_id: () -> ::String
|
218
|
+
def realtime_endpoint_info: () -> Types::RealtimeEndpointInfo
|
219
|
+
end
|
220
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MachineLearning/Client.html#create_realtime_endpoint-instance_method
|
221
|
+
def create_realtime_endpoint: (
|
222
|
+
ml_model_id: ::String
|
223
|
+
) -> _CreateRealtimeEndpointResponseSuccess
|
224
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateRealtimeEndpointResponseSuccess
|
225
|
+
|
226
|
+
interface _DeleteBatchPredictionResponseSuccess
|
227
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteBatchPredictionOutput]
|
228
|
+
def batch_prediction_id: () -> ::String
|
229
|
+
end
|
230
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MachineLearning/Client.html#delete_batch_prediction-instance_method
|
231
|
+
def delete_batch_prediction: (
|
232
|
+
batch_prediction_id: ::String
|
233
|
+
) -> _DeleteBatchPredictionResponseSuccess
|
234
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteBatchPredictionResponseSuccess
|
235
|
+
|
236
|
+
interface _DeleteDataSourceResponseSuccess
|
237
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteDataSourceOutput]
|
238
|
+
def data_source_id: () -> ::String
|
239
|
+
end
|
240
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MachineLearning/Client.html#delete_data_source-instance_method
|
241
|
+
def delete_data_source: (
|
242
|
+
data_source_id: ::String
|
243
|
+
) -> _DeleteDataSourceResponseSuccess
|
244
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteDataSourceResponseSuccess
|
245
|
+
|
246
|
+
interface _DeleteEvaluationResponseSuccess
|
247
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteEvaluationOutput]
|
248
|
+
def evaluation_id: () -> ::String
|
249
|
+
end
|
250
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MachineLearning/Client.html#delete_evaluation-instance_method
|
251
|
+
def delete_evaluation: (
|
252
|
+
evaluation_id: ::String
|
253
|
+
) -> _DeleteEvaluationResponseSuccess
|
254
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteEvaluationResponseSuccess
|
255
|
+
|
256
|
+
interface _DeleteMLModelResponseSuccess
|
257
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteMLModelOutput]
|
258
|
+
def ml_model_id: () -> ::String
|
259
|
+
end
|
260
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MachineLearning/Client.html#delete_ml_model-instance_method
|
261
|
+
def delete_ml_model: (
|
262
|
+
ml_model_id: ::String
|
263
|
+
) -> _DeleteMLModelResponseSuccess
|
264
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteMLModelResponseSuccess
|
265
|
+
|
266
|
+
interface _DeleteRealtimeEndpointResponseSuccess
|
267
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteRealtimeEndpointOutput]
|
268
|
+
def ml_model_id: () -> ::String
|
269
|
+
def realtime_endpoint_info: () -> Types::RealtimeEndpointInfo
|
270
|
+
end
|
271
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MachineLearning/Client.html#delete_realtime_endpoint-instance_method
|
272
|
+
def delete_realtime_endpoint: (
|
273
|
+
ml_model_id: ::String
|
274
|
+
) -> _DeleteRealtimeEndpointResponseSuccess
|
275
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteRealtimeEndpointResponseSuccess
|
276
|
+
|
277
|
+
interface _DeleteTagsResponseSuccess
|
278
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteTagsOutput]
|
279
|
+
def resource_id: () -> ::String
|
280
|
+
def resource_type: () -> ("BatchPrediction" | "DataSource" | "Evaluation" | "MLModel")
|
281
|
+
end
|
282
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MachineLearning/Client.html#delete_tags-instance_method
|
283
|
+
def delete_tags: (
|
284
|
+
tag_keys: Array[::String],
|
285
|
+
resource_id: ::String,
|
286
|
+
resource_type: ("BatchPrediction" | "DataSource" | "Evaluation" | "MLModel")
|
287
|
+
) -> _DeleteTagsResponseSuccess
|
288
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteTagsResponseSuccess
|
289
|
+
|
290
|
+
interface _DescribeBatchPredictionsResponseSuccess
|
291
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeBatchPredictionsOutput]
|
292
|
+
def results: () -> ::Array[Types::BatchPrediction]
|
293
|
+
def next_token: () -> ::String
|
294
|
+
end
|
295
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MachineLearning/Client.html#describe_batch_predictions-instance_method
|
296
|
+
def describe_batch_predictions: (
|
297
|
+
?filter_variable: ("CreatedAt" | "LastUpdatedAt" | "Status" | "Name" | "IAMUser" | "MLModelId" | "DataSourceId" | "DataURI"),
|
298
|
+
?eq: ::String,
|
299
|
+
?gt: ::String,
|
300
|
+
?lt: ::String,
|
301
|
+
?ge: ::String,
|
302
|
+
?le: ::String,
|
303
|
+
?ne: ::String,
|
304
|
+
?prefix: ::String,
|
305
|
+
?sort_order: ("asc" | "dsc"),
|
306
|
+
?next_token: ::String,
|
307
|
+
?limit: ::Integer
|
308
|
+
) -> _DescribeBatchPredictionsResponseSuccess
|
309
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeBatchPredictionsResponseSuccess
|
310
|
+
|
311
|
+
interface _DescribeDataSourcesResponseSuccess
|
312
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeDataSourcesOutput]
|
313
|
+
def results: () -> ::Array[Types::DataSource]
|
314
|
+
def next_token: () -> ::String
|
315
|
+
end
|
316
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MachineLearning/Client.html#describe_data_sources-instance_method
|
317
|
+
def describe_data_sources: (
|
318
|
+
?filter_variable: ("CreatedAt" | "LastUpdatedAt" | "Status" | "Name" | "DataLocationS3" | "IAMUser"),
|
319
|
+
?eq: ::String,
|
320
|
+
?gt: ::String,
|
321
|
+
?lt: ::String,
|
322
|
+
?ge: ::String,
|
323
|
+
?le: ::String,
|
324
|
+
?ne: ::String,
|
325
|
+
?prefix: ::String,
|
326
|
+
?sort_order: ("asc" | "dsc"),
|
327
|
+
?next_token: ::String,
|
328
|
+
?limit: ::Integer
|
329
|
+
) -> _DescribeDataSourcesResponseSuccess
|
330
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeDataSourcesResponseSuccess
|
331
|
+
|
332
|
+
interface _DescribeEvaluationsResponseSuccess
|
333
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeEvaluationsOutput]
|
334
|
+
def results: () -> ::Array[Types::Evaluation]
|
335
|
+
def next_token: () -> ::String
|
336
|
+
end
|
337
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MachineLearning/Client.html#describe_evaluations-instance_method
|
338
|
+
def describe_evaluations: (
|
339
|
+
?filter_variable: ("CreatedAt" | "LastUpdatedAt" | "Status" | "Name" | "IAMUser" | "MLModelId" | "DataSourceId" | "DataURI"),
|
340
|
+
?eq: ::String,
|
341
|
+
?gt: ::String,
|
342
|
+
?lt: ::String,
|
343
|
+
?ge: ::String,
|
344
|
+
?le: ::String,
|
345
|
+
?ne: ::String,
|
346
|
+
?prefix: ::String,
|
347
|
+
?sort_order: ("asc" | "dsc"),
|
348
|
+
?next_token: ::String,
|
349
|
+
?limit: ::Integer
|
350
|
+
) -> _DescribeEvaluationsResponseSuccess
|
351
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeEvaluationsResponseSuccess
|
352
|
+
|
353
|
+
interface _DescribeMLModelsResponseSuccess
|
354
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeMLModelsOutput]
|
355
|
+
def results: () -> ::Array[Types::MLModel]
|
356
|
+
def next_token: () -> ::String
|
357
|
+
end
|
358
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MachineLearning/Client.html#describe_ml_models-instance_method
|
359
|
+
def describe_ml_models: (
|
360
|
+
?filter_variable: ("CreatedAt" | "LastUpdatedAt" | "Status" | "Name" | "IAMUser" | "TrainingDataSourceId" | "RealtimeEndpointStatus" | "MLModelType" | "Algorithm" | "TrainingDataURI"),
|
361
|
+
?eq: ::String,
|
362
|
+
?gt: ::String,
|
363
|
+
?lt: ::String,
|
364
|
+
?ge: ::String,
|
365
|
+
?le: ::String,
|
366
|
+
?ne: ::String,
|
367
|
+
?prefix: ::String,
|
368
|
+
?sort_order: ("asc" | "dsc"),
|
369
|
+
?next_token: ::String,
|
370
|
+
?limit: ::Integer
|
371
|
+
) -> _DescribeMLModelsResponseSuccess
|
372
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeMLModelsResponseSuccess
|
373
|
+
|
374
|
+
interface _DescribeTagsResponseSuccess
|
375
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeTagsOutput]
|
376
|
+
def resource_id: () -> ::String
|
377
|
+
def resource_type: () -> ("BatchPrediction" | "DataSource" | "Evaluation" | "MLModel")
|
378
|
+
def tags: () -> ::Array[Types::Tag]
|
379
|
+
end
|
380
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MachineLearning/Client.html#describe_tags-instance_method
|
381
|
+
def describe_tags: (
|
382
|
+
resource_id: ::String,
|
383
|
+
resource_type: ("BatchPrediction" | "DataSource" | "Evaluation" | "MLModel")
|
384
|
+
) -> _DescribeTagsResponseSuccess
|
385
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeTagsResponseSuccess
|
386
|
+
|
387
|
+
interface _GetBatchPredictionResponseSuccess
|
388
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetBatchPredictionOutput]
|
389
|
+
def batch_prediction_id: () -> ::String
|
390
|
+
def ml_model_id: () -> ::String
|
391
|
+
def batch_prediction_data_source_id: () -> ::String
|
392
|
+
def input_data_location_s3: () -> ::String
|
393
|
+
def created_by_iam_user: () -> ::String
|
394
|
+
def created_at: () -> ::Time
|
395
|
+
def last_updated_at: () -> ::Time
|
396
|
+
def name: () -> ::String
|
397
|
+
def status: () -> ("PENDING" | "INPROGRESS" | "FAILED" | "COMPLETED" | "DELETED")
|
398
|
+
def output_uri: () -> ::String
|
399
|
+
def log_uri: () -> ::String
|
400
|
+
def message: () -> ::String
|
401
|
+
def compute_time: () -> ::Integer
|
402
|
+
def finished_at: () -> ::Time
|
403
|
+
def started_at: () -> ::Time
|
404
|
+
def total_record_count: () -> ::Integer
|
405
|
+
def invalid_record_count: () -> ::Integer
|
406
|
+
end
|
407
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MachineLearning/Client.html#get_batch_prediction-instance_method
|
408
|
+
def get_batch_prediction: (
|
409
|
+
batch_prediction_id: ::String
|
410
|
+
) -> _GetBatchPredictionResponseSuccess
|
411
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetBatchPredictionResponseSuccess
|
412
|
+
|
413
|
+
interface _GetDataSourceResponseSuccess
|
414
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetDataSourceOutput]
|
415
|
+
def data_source_id: () -> ::String
|
416
|
+
def data_location_s3: () -> ::String
|
417
|
+
def data_rearrangement: () -> ::String
|
418
|
+
def created_by_iam_user: () -> ::String
|
419
|
+
def created_at: () -> ::Time
|
420
|
+
def last_updated_at: () -> ::Time
|
421
|
+
def data_size_in_bytes: () -> ::Integer
|
422
|
+
def number_of_files: () -> ::Integer
|
423
|
+
def name: () -> ::String
|
424
|
+
def status: () -> ("PENDING" | "INPROGRESS" | "FAILED" | "COMPLETED" | "DELETED")
|
425
|
+
def log_uri: () -> ::String
|
426
|
+
def message: () -> ::String
|
427
|
+
def redshift_metadata: () -> Types::RedshiftMetadata
|
428
|
+
def rds_metadata: () -> Types::RDSMetadata
|
429
|
+
def role_arn: () -> ::String
|
430
|
+
def compute_statistics: () -> bool
|
431
|
+
def compute_time: () -> ::Integer
|
432
|
+
def finished_at: () -> ::Time
|
433
|
+
def started_at: () -> ::Time
|
434
|
+
def data_source_schema: () -> ::String
|
435
|
+
end
|
436
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MachineLearning/Client.html#get_data_source-instance_method
|
437
|
+
def get_data_source: (
|
438
|
+
data_source_id: ::String,
|
439
|
+
?verbose: bool
|
440
|
+
) -> _GetDataSourceResponseSuccess
|
441
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetDataSourceResponseSuccess
|
442
|
+
|
443
|
+
interface _GetEvaluationResponseSuccess
|
444
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetEvaluationOutput]
|
445
|
+
def evaluation_id: () -> ::String
|
446
|
+
def ml_model_id: () -> ::String
|
447
|
+
def evaluation_data_source_id: () -> ::String
|
448
|
+
def input_data_location_s3: () -> ::String
|
449
|
+
def created_by_iam_user: () -> ::String
|
450
|
+
def created_at: () -> ::Time
|
451
|
+
def last_updated_at: () -> ::Time
|
452
|
+
def name: () -> ::String
|
453
|
+
def status: () -> ("PENDING" | "INPROGRESS" | "FAILED" | "COMPLETED" | "DELETED")
|
454
|
+
def performance_metrics: () -> Types::PerformanceMetrics
|
455
|
+
def log_uri: () -> ::String
|
456
|
+
def message: () -> ::String
|
457
|
+
def compute_time: () -> ::Integer
|
458
|
+
def finished_at: () -> ::Time
|
459
|
+
def started_at: () -> ::Time
|
460
|
+
end
|
461
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MachineLearning/Client.html#get_evaluation-instance_method
|
462
|
+
def get_evaluation: (
|
463
|
+
evaluation_id: ::String
|
464
|
+
) -> _GetEvaluationResponseSuccess
|
465
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetEvaluationResponseSuccess
|
466
|
+
|
467
|
+
interface _GetMLModelResponseSuccess
|
468
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetMLModelOutput]
|
469
|
+
def ml_model_id: () -> ::String
|
470
|
+
def training_data_source_id: () -> ::String
|
471
|
+
def created_by_iam_user: () -> ::String
|
472
|
+
def created_at: () -> ::Time
|
473
|
+
def last_updated_at: () -> ::Time
|
474
|
+
def name: () -> ::String
|
475
|
+
def status: () -> ("PENDING" | "INPROGRESS" | "FAILED" | "COMPLETED" | "DELETED")
|
476
|
+
def size_in_bytes: () -> ::Integer
|
477
|
+
def endpoint_info: () -> Types::RealtimeEndpointInfo
|
478
|
+
def training_parameters: () -> ::Hash[::String, ::String]
|
479
|
+
def input_data_location_s3: () -> ::String
|
480
|
+
def ml_model_type: () -> ("REGRESSION" | "BINARY" | "MULTICLASS")
|
481
|
+
def score_threshold: () -> ::Float
|
482
|
+
def score_threshold_last_updated_at: () -> ::Time
|
483
|
+
def log_uri: () -> ::String
|
484
|
+
def message: () -> ::String
|
485
|
+
def compute_time: () -> ::Integer
|
486
|
+
def finished_at: () -> ::Time
|
487
|
+
def started_at: () -> ::Time
|
488
|
+
def recipe: () -> ::String
|
489
|
+
def schema: () -> ::String
|
490
|
+
end
|
491
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MachineLearning/Client.html#get_ml_model-instance_method
|
492
|
+
def get_ml_model: (
|
493
|
+
ml_model_id: ::String,
|
494
|
+
?verbose: bool
|
495
|
+
) -> _GetMLModelResponseSuccess
|
496
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetMLModelResponseSuccess
|
497
|
+
|
498
|
+
interface _PredictResponseSuccess
|
499
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::PredictOutput]
|
500
|
+
def prediction: () -> Types::Prediction
|
501
|
+
end
|
502
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MachineLearning/Client.html#predict-instance_method
|
503
|
+
def predict: (
|
504
|
+
ml_model_id: ::String,
|
505
|
+
record: Hash[::String, ::String],
|
506
|
+
predict_endpoint: ::String
|
507
|
+
) -> _PredictResponseSuccess
|
508
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PredictResponseSuccess
|
509
|
+
|
510
|
+
interface _UpdateBatchPredictionResponseSuccess
|
511
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateBatchPredictionOutput]
|
512
|
+
def batch_prediction_id: () -> ::String
|
513
|
+
end
|
514
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MachineLearning/Client.html#update_batch_prediction-instance_method
|
515
|
+
def update_batch_prediction: (
|
516
|
+
batch_prediction_id: ::String,
|
517
|
+
batch_prediction_name: ::String
|
518
|
+
) -> _UpdateBatchPredictionResponseSuccess
|
519
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateBatchPredictionResponseSuccess
|
520
|
+
|
521
|
+
interface _UpdateDataSourceResponseSuccess
|
522
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateDataSourceOutput]
|
523
|
+
def data_source_id: () -> ::String
|
524
|
+
end
|
525
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MachineLearning/Client.html#update_data_source-instance_method
|
526
|
+
def update_data_source: (
|
527
|
+
data_source_id: ::String,
|
528
|
+
data_source_name: ::String
|
529
|
+
) -> _UpdateDataSourceResponseSuccess
|
530
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateDataSourceResponseSuccess
|
531
|
+
|
532
|
+
interface _UpdateEvaluationResponseSuccess
|
533
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateEvaluationOutput]
|
534
|
+
def evaluation_id: () -> ::String
|
535
|
+
end
|
536
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MachineLearning/Client.html#update_evaluation-instance_method
|
537
|
+
def update_evaluation: (
|
538
|
+
evaluation_id: ::String,
|
539
|
+
evaluation_name: ::String
|
540
|
+
) -> _UpdateEvaluationResponseSuccess
|
541
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateEvaluationResponseSuccess
|
542
|
+
|
543
|
+
interface _UpdateMLModelResponseSuccess
|
544
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateMLModelOutput]
|
545
|
+
def ml_model_id: () -> ::String
|
546
|
+
end
|
547
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MachineLearning/Client.html#update_ml_model-instance_method
|
548
|
+
def update_ml_model: (
|
549
|
+
ml_model_id: ::String,
|
550
|
+
?ml_model_name: ::String,
|
551
|
+
?score_threshold: ::Float
|
552
|
+
) -> _UpdateMLModelResponseSuccess
|
553
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateMLModelResponseSuccess
|
554
|
+
|
555
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MachineLearning/Client.html#wait_until-instance_method
|
556
|
+
def wait_until: (:batch_prediction_available waiter_name,
|
557
|
+
?filter_variable: ("CreatedAt" | "LastUpdatedAt" | "Status" | "Name" | "IAMUser" | "MLModelId" | "DataSourceId" | "DataURI"),
|
558
|
+
?eq: ::String,
|
559
|
+
?gt: ::String,
|
560
|
+
?lt: ::String,
|
561
|
+
?ge: ::String,
|
562
|
+
?le: ::String,
|
563
|
+
?ne: ::String,
|
564
|
+
?prefix: ::String,
|
565
|
+
?sort_order: ("asc" | "dsc"),
|
566
|
+
?next_token: ::String,
|
567
|
+
?limit: ::Integer
|
568
|
+
) -> Client::_DescribeBatchPredictionsResponseSuccess
|
569
|
+
| (:batch_prediction_available waiter_name, ?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> Client::_DescribeBatchPredictionsResponseSuccess
|
570
|
+
| (:data_source_available waiter_name,
|
571
|
+
?filter_variable: ("CreatedAt" | "LastUpdatedAt" | "Status" | "Name" | "DataLocationS3" | "IAMUser"),
|
572
|
+
?eq: ::String,
|
573
|
+
?gt: ::String,
|
574
|
+
?lt: ::String,
|
575
|
+
?ge: ::String,
|
576
|
+
?le: ::String,
|
577
|
+
?ne: ::String,
|
578
|
+
?prefix: ::String,
|
579
|
+
?sort_order: ("asc" | "dsc"),
|
580
|
+
?next_token: ::String,
|
581
|
+
?limit: ::Integer
|
582
|
+
) -> Client::_DescribeDataSourcesResponseSuccess
|
583
|
+
| (:data_source_available waiter_name, ?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> Client::_DescribeDataSourcesResponseSuccess
|
584
|
+
| (:evaluation_available waiter_name,
|
585
|
+
?filter_variable: ("CreatedAt" | "LastUpdatedAt" | "Status" | "Name" | "IAMUser" | "MLModelId" | "DataSourceId" | "DataURI"),
|
586
|
+
?eq: ::String,
|
587
|
+
?gt: ::String,
|
588
|
+
?lt: ::String,
|
589
|
+
?ge: ::String,
|
590
|
+
?le: ::String,
|
591
|
+
?ne: ::String,
|
592
|
+
?prefix: ::String,
|
593
|
+
?sort_order: ("asc" | "dsc"),
|
594
|
+
?next_token: ::String,
|
595
|
+
?limit: ::Integer
|
596
|
+
) -> Client::_DescribeEvaluationsResponseSuccess
|
597
|
+
| (:evaluation_available waiter_name, ?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> Client::_DescribeEvaluationsResponseSuccess
|
598
|
+
| (:ml_model_available waiter_name,
|
599
|
+
?filter_variable: ("CreatedAt" | "LastUpdatedAt" | "Status" | "Name" | "IAMUser" | "TrainingDataSourceId" | "RealtimeEndpointStatus" | "MLModelType" | "Algorithm" | "TrainingDataURI"),
|
600
|
+
?eq: ::String,
|
601
|
+
?gt: ::String,
|
602
|
+
?lt: ::String,
|
603
|
+
?ge: ::String,
|
604
|
+
?le: ::String,
|
605
|
+
?ne: ::String,
|
606
|
+
?prefix: ::String,
|
607
|
+
?sort_order: ("asc" | "dsc"),
|
608
|
+
?next_token: ::String,
|
609
|
+
?limit: ::Integer
|
610
|
+
) -> Client::_DescribeMLModelsResponseSuccess
|
611
|
+
| (:ml_model_available waiter_name, ?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> Client::_DescribeMLModelsResponseSuccess
|
612
|
+
end
|
613
|
+
end
|
614
|
+
end
|
615
|
+
|
data/sig/errors.rbs
ADDED
@@ -0,0 +1,45 @@
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
2
|
+
#
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
5
|
+
#
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
7
|
+
|
8
|
+
module Aws
|
9
|
+
module MachineLearning
|
10
|
+
module Errors
|
11
|
+
class ServiceError < ::Aws::Errors::ServiceError
|
12
|
+
end
|
13
|
+
|
14
|
+
class IdempotentParameterMismatchException < ::Aws::Errors::ServiceError
|
15
|
+
def message: () -> ::String
|
16
|
+
def code: () -> ::String
|
17
|
+
end
|
18
|
+
class InternalServerException < ::Aws::Errors::ServiceError
|
19
|
+
def message: () -> ::String
|
20
|
+
def code: () -> ::String
|
21
|
+
end
|
22
|
+
class InvalidInputException < ::Aws::Errors::ServiceError
|
23
|
+
def message: () -> ::String
|
24
|
+
def code: () -> ::String
|
25
|
+
end
|
26
|
+
class InvalidTagException < ::Aws::Errors::ServiceError
|
27
|
+
def message: () -> ::String
|
28
|
+
end
|
29
|
+
class LimitExceededException < ::Aws::Errors::ServiceError
|
30
|
+
def message: () -> ::String
|
31
|
+
def code: () -> ::String
|
32
|
+
end
|
33
|
+
class PredictorNotMountedException < ::Aws::Errors::ServiceError
|
34
|
+
def message: () -> ::String
|
35
|
+
end
|
36
|
+
class ResourceNotFoundException < ::Aws::Errors::ServiceError
|
37
|
+
def message: () -> ::String
|
38
|
+
def code: () -> ::String
|
39
|
+
end
|
40
|
+
class TagLimitExceededException < ::Aws::Errors::ServiceError
|
41
|
+
def message: () -> ::String
|
42
|
+
end
|
43
|
+
end
|
44
|
+
end
|
45
|
+
end
|