aws-sdk-machinelearning 1.0.0.rc1 → 1.0.0.rc2
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/lib/aws-sdk-machinelearning.rb +2 -2
- data/lib/aws-sdk-machinelearning/client.rb +2196 -1963
- data/lib/aws-sdk-machinelearning/client_api.rb +1012 -1294
- data/lib/aws-sdk-machinelearning/errors.rb +4 -13
- data/lib/aws-sdk-machinelearning/resource.rb +12 -14
- data/lib/aws-sdk-machinelearning/types.rb +3852 -3701
- data/lib/aws-sdk-machinelearning/waiters.rb +167 -168
- metadata +2 -2
@@ -1,190 +1,189 @@
|
|
1
1
|
# WARNING ABOUT GENERATED CODE
|
2
2
|
#
|
3
|
-
# This file is generated. See the contributing for
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
4
4
|
# https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
|
5
5
|
#
|
6
6
|
# WARNING ABOUT GENERATED CODE
|
7
7
|
|
8
8
|
require 'aws-sdk-core/waiters'
|
9
9
|
|
10
|
-
module Aws
|
11
|
-
module
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
# @option (see Client#describe_data_sources)
|
47
|
-
# @return (see Client#describe_data_sources)
|
48
|
-
def wait(params = {})
|
49
|
-
@waiter.wait(client: @client, params: params)
|
50
|
-
end
|
51
|
-
|
52
|
-
# @api private
|
53
|
-
attr_reader :waiter
|
10
|
+
module Aws::MachineLearning
|
11
|
+
module Waiters
|
12
|
+
|
13
|
+
class BatchPredictionAvailable
|
14
|
+
|
15
|
+
# @param [Hash] options
|
16
|
+
# @option options [required, Client] :client
|
17
|
+
# @option options [Integer] :max_attempts (60)
|
18
|
+
# @option options [Integer] :delay (30)
|
19
|
+
# @option options [Proc] :before_attempt
|
20
|
+
# @option options [Proc] :before_wait
|
21
|
+
def initialize(options)
|
22
|
+
@client = options.fetch(:client)
|
23
|
+
@waiter = Aws::Waiters::Waiter.new({
|
24
|
+
max_attempts: 60,
|
25
|
+
delay: 30,
|
26
|
+
poller: Aws::Waiters::Poller.new(
|
27
|
+
operation_name: :describe_batch_predictions,
|
28
|
+
acceptors: [
|
29
|
+
{
|
30
|
+
"expected" => "COMPLETED",
|
31
|
+
"matcher" => "pathAll",
|
32
|
+
"state" => "success",
|
33
|
+
"argument" => "results[].status"
|
34
|
+
},
|
35
|
+
{
|
36
|
+
"expected" => "FAILED",
|
37
|
+
"matcher" => "pathAny",
|
38
|
+
"state" => "failure",
|
39
|
+
"argument" => "results[].status"
|
40
|
+
}
|
41
|
+
]
|
42
|
+
)
|
43
|
+
}.merge(options))
|
44
|
+
end
|
54
45
|
|
46
|
+
# @option (see Client#describe_batch_predictions)
|
47
|
+
# @return (see Client#describe_batch_predictions)
|
48
|
+
def wait(params = {})
|
49
|
+
@waiter.wait(client: @client, params: params)
|
55
50
|
end
|
56
51
|
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
end
|
95
|
-
|
96
|
-
# @api private
|
97
|
-
attr_reader :waiter
|
52
|
+
# @api private
|
53
|
+
attr_reader :waiter
|
54
|
+
|
55
|
+
end
|
56
|
+
|
57
|
+
class DataSourceAvailable
|
58
|
+
|
59
|
+
# @param [Hash] options
|
60
|
+
# @option options [required, Client] :client
|
61
|
+
# @option options [Integer] :max_attempts (60)
|
62
|
+
# @option options [Integer] :delay (30)
|
63
|
+
# @option options [Proc] :before_attempt
|
64
|
+
# @option options [Proc] :before_wait
|
65
|
+
def initialize(options)
|
66
|
+
@client = options.fetch(:client)
|
67
|
+
@waiter = Aws::Waiters::Waiter.new({
|
68
|
+
max_attempts: 60,
|
69
|
+
delay: 30,
|
70
|
+
poller: Aws::Waiters::Poller.new(
|
71
|
+
operation_name: :describe_data_sources,
|
72
|
+
acceptors: [
|
73
|
+
{
|
74
|
+
"expected" => "COMPLETED",
|
75
|
+
"matcher" => "pathAll",
|
76
|
+
"state" => "success",
|
77
|
+
"argument" => "results[].status"
|
78
|
+
},
|
79
|
+
{
|
80
|
+
"expected" => "FAILED",
|
81
|
+
"matcher" => "pathAny",
|
82
|
+
"state" => "failure",
|
83
|
+
"argument" => "results[].status"
|
84
|
+
}
|
85
|
+
]
|
86
|
+
)
|
87
|
+
}.merge(options))
|
88
|
+
end
|
98
89
|
|
90
|
+
# @option (see Client#describe_data_sources)
|
91
|
+
# @return (see Client#describe_data_sources)
|
92
|
+
def wait(params = {})
|
93
|
+
@waiter.wait(client: @client, params: params)
|
99
94
|
end
|
100
95
|
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
# @option options [Integer] :max_attempts (60)
|
106
|
-
# @option options [Integer] :delay (30)
|
107
|
-
# @option options [Proc] :before_attempt
|
108
|
-
# @option options [Proc] :before_wait
|
109
|
-
def initialize(options)
|
110
|
-
@client = options.fetch(:client)
|
111
|
-
@waiter = Aws::Waiters::Waiter.new({
|
112
|
-
max_attempts: 60,
|
113
|
-
delay: 30,
|
114
|
-
poller: Aws::Waiters::Poller.new(
|
115
|
-
operation_name: :describe_evaluations,
|
116
|
-
acceptors: [
|
117
|
-
{
|
118
|
-
"expected" => "COMPLETED",
|
119
|
-
"matcher" => "pathAll",
|
120
|
-
"state" => "success",
|
121
|
-
"argument" => "results[].status"
|
122
|
-
},
|
123
|
-
{
|
124
|
-
"expected" => "FAILED",
|
125
|
-
"matcher" => "pathAny",
|
126
|
-
"state" => "failure",
|
127
|
-
"argument" => "results[].status"
|
128
|
-
}
|
129
|
-
]
|
130
|
-
)
|
131
|
-
}.merge(options))
|
132
|
-
end
|
133
|
-
|
134
|
-
# @option (see Client#describe_evaluations)
|
135
|
-
# @return (see Client#describe_evaluations)
|
136
|
-
def wait(params = {})
|
137
|
-
@waiter.wait(client: @client, params: params)
|
138
|
-
end
|
139
|
-
|
140
|
-
# @api private
|
141
|
-
attr_reader :waiter
|
96
|
+
# @api private
|
97
|
+
attr_reader :waiter
|
98
|
+
|
99
|
+
end
|
142
100
|
|
101
|
+
class EvaluationAvailable
|
102
|
+
|
103
|
+
# @param [Hash] options
|
104
|
+
# @option options [required, Client] :client
|
105
|
+
# @option options [Integer] :max_attempts (60)
|
106
|
+
# @option options [Integer] :delay (30)
|
107
|
+
# @option options [Proc] :before_attempt
|
108
|
+
# @option options [Proc] :before_wait
|
109
|
+
def initialize(options)
|
110
|
+
@client = options.fetch(:client)
|
111
|
+
@waiter = Aws::Waiters::Waiter.new({
|
112
|
+
max_attempts: 60,
|
113
|
+
delay: 30,
|
114
|
+
poller: Aws::Waiters::Poller.new(
|
115
|
+
operation_name: :describe_evaluations,
|
116
|
+
acceptors: [
|
117
|
+
{
|
118
|
+
"expected" => "COMPLETED",
|
119
|
+
"matcher" => "pathAll",
|
120
|
+
"state" => "success",
|
121
|
+
"argument" => "results[].status"
|
122
|
+
},
|
123
|
+
{
|
124
|
+
"expected" => "FAILED",
|
125
|
+
"matcher" => "pathAny",
|
126
|
+
"state" => "failure",
|
127
|
+
"argument" => "results[].status"
|
128
|
+
}
|
129
|
+
]
|
130
|
+
)
|
131
|
+
}.merge(options))
|
143
132
|
end
|
144
133
|
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
# @option options [Integer] :delay (30)
|
151
|
-
# @option options [Proc] :before_attempt
|
152
|
-
# @option options [Proc] :before_wait
|
153
|
-
def initialize(options)
|
154
|
-
@client = options.fetch(:client)
|
155
|
-
@waiter = Aws::Waiters::Waiter.new({
|
156
|
-
max_attempts: 60,
|
157
|
-
delay: 30,
|
158
|
-
poller: Aws::Waiters::Poller.new(
|
159
|
-
operation_name: :describe_batch_predictions,
|
160
|
-
acceptors: [
|
161
|
-
{
|
162
|
-
"expected" => "COMPLETED",
|
163
|
-
"matcher" => "pathAll",
|
164
|
-
"state" => "success",
|
165
|
-
"argument" => "results[].status"
|
166
|
-
},
|
167
|
-
{
|
168
|
-
"expected" => "FAILED",
|
169
|
-
"matcher" => "pathAny",
|
170
|
-
"state" => "failure",
|
171
|
-
"argument" => "results[].status"
|
172
|
-
}
|
173
|
-
]
|
174
|
-
)
|
175
|
-
}.merge(options))
|
176
|
-
end
|
177
|
-
|
178
|
-
# @option (see Client#describe_batch_predictions)
|
179
|
-
# @return (see Client#describe_batch_predictions)
|
180
|
-
def wait(params = {})
|
181
|
-
@waiter.wait(client: @client, params: params)
|
182
|
-
end
|
183
|
-
|
184
|
-
# @api private
|
185
|
-
attr_reader :waiter
|
134
|
+
# @option (see Client#describe_evaluations)
|
135
|
+
# @return (see Client#describe_evaluations)
|
136
|
+
def wait(params = {})
|
137
|
+
@waiter.wait(client: @client, params: params)
|
138
|
+
end
|
186
139
|
|
140
|
+
# @api private
|
141
|
+
attr_reader :waiter
|
142
|
+
|
143
|
+
end
|
144
|
+
|
145
|
+
class MLModelAvailable
|
146
|
+
|
147
|
+
# @param [Hash] options
|
148
|
+
# @option options [required, Client] :client
|
149
|
+
# @option options [Integer] :max_attempts (60)
|
150
|
+
# @option options [Integer] :delay (30)
|
151
|
+
# @option options [Proc] :before_attempt
|
152
|
+
# @option options [Proc] :before_wait
|
153
|
+
def initialize(options)
|
154
|
+
@client = options.fetch(:client)
|
155
|
+
@waiter = Aws::Waiters::Waiter.new({
|
156
|
+
max_attempts: 60,
|
157
|
+
delay: 30,
|
158
|
+
poller: Aws::Waiters::Poller.new(
|
159
|
+
operation_name: :describe_ml_models,
|
160
|
+
acceptors: [
|
161
|
+
{
|
162
|
+
"expected" => "COMPLETED",
|
163
|
+
"matcher" => "pathAll",
|
164
|
+
"state" => "success",
|
165
|
+
"argument" => "results[].status"
|
166
|
+
},
|
167
|
+
{
|
168
|
+
"expected" => "FAILED",
|
169
|
+
"matcher" => "pathAny",
|
170
|
+
"state" => "failure",
|
171
|
+
"argument" => "results[].status"
|
172
|
+
}
|
173
|
+
]
|
174
|
+
)
|
175
|
+
}.merge(options))
|
187
176
|
end
|
177
|
+
|
178
|
+
# @option (see Client#describe_ml_models)
|
179
|
+
# @return (see Client#describe_ml_models)
|
180
|
+
def wait(params = {})
|
181
|
+
@waiter.wait(client: @client, params: params)
|
182
|
+
end
|
183
|
+
|
184
|
+
# @api private
|
185
|
+
attr_reader :waiter
|
186
|
+
|
188
187
|
end
|
189
188
|
end
|
190
189
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-machinelearning
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.0.
|
4
|
+
version: 1.0.0.rc2
|
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:
|
11
|
+
date: 2017-04-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|