Copyright | (c) 2013-2016 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 |
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 #
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.
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 #
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.