Skip to content

Commit b4fad3d

Browse files
feat(aws-android-sdk-machinelearning): update models to latest (#2407)
Co-authored-by: Richard McClellan <[email protected]>
1 parent eade75d commit b4fad3d

29 files changed

+890
-447
lines changed

aws-android-sdk-machinelearning/src/main/java/com/amazonaws/services/machinelearning/AmazonMachineLearning.java

Lines changed: 11 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2010-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
2+
* Copyright 2010-2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License").
55
* You may not use this file except in compliance with the License.
@@ -97,17 +97,9 @@ public interface AmazonMachineLearning {
9797
* @param getMLModelRequest
9898
* @return getMLModelResult The response from the GetMLModel service method,
9999
* as returned by Amazon Machine Learning.
100-
* @throws InvalidInputException <p>
101-
* An error on the client occurred. Typically, the cause is an
102-
* invalid input value.
103-
* </p>
104-
* @throws ResourceNotFoundException <p>
105-
* A specified resource cannot be located.
106-
* </p>
107-
* @throws InternalServerException <p>
108-
* An error on the server occurred when trying to process a
109-
* request.
110-
* </p>
100+
* @throws InvalidInputException
101+
* @throws ResourceNotFoundException
102+
* @throws InternalServerException
111103
* @throws AmazonClientException If any internal errors are encountered
112104
* inside the client while attempting to make the request or
113105
* handle the response. For example if a network connection is
@@ -124,36 +116,19 @@ GetMLModelResult getMLModel(GetMLModelRequest getMLModelRequest) throws AmazonCl
124116
* Generates a prediction for the observation using the specified
125117
* <code>ML Model</code>.
126118
* </p>
127-
* <note><title>Note</title>
128119
* <p>
129-
* Not all response parameters will be populated. Whether a response
130-
* parameter is populated depends on the type of model requested.
120+
* <b>Note:</b> Not all response parameters will be populated. Whether a
121+
* response parameter is populated depends on the type of model requested.
131122
* </p>
132-
* </note>
133123
*
134124
* @param predictRequest
135125
* @return predictResult The response from the Predict service method, as
136126
* returned by Amazon Machine Learning.
137-
* @throws InvalidInputException <p>
138-
* An error on the client occurred. Typically, the cause is an
139-
* invalid input value.
140-
* </p>
141-
* @throws ResourceNotFoundException <p>
142-
* A specified resource cannot be located.
143-
* </p>
144-
* @throws LimitExceededException <p>
145-
* The subscriber exceeded the maximum number of operations.
146-
* This exception can occur when listing objects such as
147-
* <code>DataSource</code>.
148-
* </p>
149-
* @throws InternalServerException <p>
150-
* An error on the server occurred when trying to process a
151-
* request.
152-
* </p>
153-
* @throws PredictorNotMountedException <p>
154-
* The exception is thrown when a predict request is made to an
155-
* unmounted <code>MLModel</code>.
156-
* </p>
127+
* @throws InvalidInputException
128+
* @throws ResourceNotFoundException
129+
* @throws LimitExceededException
130+
* @throws InternalServerException
131+
* @throws PredictorNotMountedException
157132
* @throws AmazonClientException If any internal errors are encountered
158133
* inside the client while attempting to make the request or
159134
* handle the response. For example if a network connection is

aws-android-sdk-machinelearning/src/main/java/com/amazonaws/services/machinelearning/AmazonMachineLearningClient.java

Lines changed: 11 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2010-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
2+
* Copyright 2010-2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License").
55
* You may not use this file except in compliance with the License.
@@ -367,17 +367,9 @@ private static ClientConfiguration adjustClientConfiguration(ClientConfiguration
367367
* @param getMLModelRequest
368368
* @return getMLModelResult The response from the GetMLModel service method,
369369
* as returned by Amazon Machine Learning.
370-
* @throws InvalidInputException <p>
371-
* An error on the client occurred. Typically, the cause is an
372-
* invalid input value.
373-
* </p>
374-
* @throws ResourceNotFoundException <p>
375-
* A specified resource cannot be located.
376-
* </p>
377-
* @throws InternalServerException <p>
378-
* An error on the server occurred when trying to process a
379-
* request.
380-
* </p>
370+
* @throws InvalidInputException
371+
* @throws ResourceNotFoundException
372+
* @throws InternalServerException
381373
* @throws AmazonClientException If any internal errors are encountered
382374
* inside the client while attempting to make the request or
383375
* handle the response. For example if a network connection is
@@ -420,36 +412,19 @@ public GetMLModelResult getMLModel(GetMLModelRequest getMLModelRequest)
420412
* Generates a prediction for the observation using the specified
421413
* <code>ML Model</code>.
422414
* </p>
423-
* <note><title>Note</title>
424415
* <p>
425-
* Not all response parameters will be populated. Whether a response
426-
* parameter is populated depends on the type of model requested.
416+
* <b>Note:</b> Not all response parameters will be populated. Whether a
417+
* response parameter is populated depends on the type of model requested.
427418
* </p>
428-
* </note>
429419
*
430420
* @param predictRequest
431421
* @return predictResult The response from the Predict service method, as
432422
* returned by Amazon Machine Learning.
433-
* @throws InvalidInputException <p>
434-
* An error on the client occurred. Typically, the cause is an
435-
* invalid input value.
436-
* </p>
437-
* @throws ResourceNotFoundException <p>
438-
* A specified resource cannot be located.
439-
* </p>
440-
* @throws LimitExceededException <p>
441-
* The subscriber exceeded the maximum number of operations.
442-
* This exception can occur when listing objects such as
443-
* <code>DataSource</code>.
444-
* </p>
445-
* @throws InternalServerException <p>
446-
* An error on the server occurred when trying to process a
447-
* request.
448-
* </p>
449-
* @throws PredictorNotMountedException <p>
450-
* The exception is thrown when a predict request is made to an
451-
* unmounted <code>MLModel</code>.
452-
* </p>
423+
* @throws InvalidInputException
424+
* @throws ResourceNotFoundException
425+
* @throws LimitExceededException
426+
* @throws InternalServerException
427+
* @throws PredictorNotMountedException
453428
* @throws AmazonClientException If any internal errors are encountered
454429
* inside the client while attempting to make the request or
455430
* handle the response. For example if a network connection is

aws-android-sdk-machinelearning/src/main/java/com/amazonaws/services/machinelearning/model/EntityStatus.java

Lines changed: 26 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2010-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
2+
* Copyright 2010-2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License").
55
* You may not use this file except in compliance with the License.
@@ -23,11 +23,31 @@
2323
* Object status with the following possible values:
2424
* </p>
2525
* <ul>
26-
* <li><code>PENDING</code></li>
27-
* <li><code>INPROGRESS</code></li>
28-
* <li><code>FAILED</code></li>
29-
* <li><code>COMPLETED</code></li>
30-
* <li><code>DELETED</code></li>
26+
* <li>
27+
* <p>
28+
* <code>PENDING</code>
29+
* </p>
30+
* </li>
31+
* <li>
32+
* <p>
33+
* <code>INPROGRESS</code>
34+
* </p>
35+
* </li>
36+
* <li>
37+
* <p>
38+
* <code>FAILED</code>
39+
* </p>
40+
* </li>
41+
* <li>
42+
* <p>
43+
* <code>COMPLETED</code>
44+
* </p>
45+
* </li>
46+
* <li>
47+
* <p>
48+
* <code>DELETED</code>
49+
* </p>
50+
* </li>
3151
* </ul>
3252
*/
3353
public enum EntityStatus {

aws-android-sdk-machinelearning/src/main/java/com/amazonaws/services/machinelearning/model/GetMLModelRequest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2010-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
2+
* Copyright 2010-2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License").
55
* You may not use this file except in compliance with the License.

0 commit comments

Comments
 (0)