| Copyright | (c) 2013-2018 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay+amazonka@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.
- 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
updateBatchPrediction Source #
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:
ubpBatchPredictionId- The ID assigned to theBatchPredictionduring creation.ubpBatchPredictionName- A new user-supplied name or description of theBatchPrediction.
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:
ubprsBatchPredictionId- The ID assigned to theBatchPredictionduring creation. This value should be identical to the value of theBatchPredictionIdin the request.ubprsResponseStatus- -- | The response status code.
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.
Instances
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.