| Copyright | (c) 2013-2015 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.AWS.MachineLearning.UpdateBatchPrediction
Description
Updates the BatchPredictionName of a BatchPrediction.
You can use the GetBatchPrediction operation to view the contents of the updated data element.
See: AWS API Reference for UpdateBatchPrediction.
- updateBatchPrediction :: Text -> Text -> UpdateBatchPrediction
- data UpdateBatchPrediction
- ubpBatchPredictionId :: Lens' UpdateBatchPrediction Text
- ubpBatchPredictionName :: Lens' UpdateBatchPrediction Text
- updateBatchPredictionResponse :: Int -> UpdateBatchPredictionResponse
- data UpdateBatchPredictionResponse
- ubprsBatchPredictionId :: Lens' UpdateBatchPredictionResponse (Maybe Text)
- ubprsResponseStatus :: Lens' UpdateBatchPredictionResponse Int
Creating a Request
Arguments
| :: Text | |
| -> Text | |
| -> UpdateBatchPrediction |
Creates a value of UpdateBatchPrediction with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data UpdateBatchPrediction Source
See: updateBatchPrediction smart constructor.
Instances
Request Lenses
ubpBatchPredictionId :: Lens' UpdateBatchPrediction Text Source
The ID assigned to the BatchPrediction during creation.
ubpBatchPredictionName :: Lens' UpdateBatchPrediction Text Source
A new user-supplied name or description of the BatchPrediction.
Destructuring the Response
updateBatchPredictionResponse Source
Arguments
| :: Int | |
| -> UpdateBatchPredictionResponse |
Creates a value of UpdateBatchPredictionResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data UpdateBatchPredictionResponse Source
Represents the output of an UpdateBatchPrediction operation.
You can see the updated content by using the GetBatchPrediction operation.
See: updateBatchPredictionResponse smart constructor.
Response Lenses
ubprsBatchPredictionId :: Lens' UpdateBatchPredictionResponse (Maybe Text) Source
The ID assigned to the BatchPrediction during creation. This value
should be identical to the value of the BatchPredictionId in the
request.
ubprsResponseStatus :: Lens' UpdateBatchPredictionResponse Int Source
The response status code.