Copyright | (c) 2013-2021 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 |
Updates the BatchPredictionName
of a BatchPrediction
.
You can use the GetBatchPrediction
operation to view the contents of
the updated data element.
Synopsis
- data UpdateBatchPrediction = UpdateBatchPrediction' {}
- newUpdateBatchPrediction :: Text -> Text -> UpdateBatchPrediction
- updateBatchPrediction_batchPredictionId :: Lens' UpdateBatchPrediction Text
- updateBatchPrediction_batchPredictionName :: Lens' UpdateBatchPrediction Text
- data UpdateBatchPredictionResponse = UpdateBatchPredictionResponse' {}
- newUpdateBatchPredictionResponse :: Int -> UpdateBatchPredictionResponse
- updateBatchPredictionResponse_batchPredictionId :: Lens' UpdateBatchPredictionResponse (Maybe Text)
- updateBatchPredictionResponse_httpStatus :: Lens' UpdateBatchPredictionResponse Int
Creating a Request
data UpdateBatchPrediction Source #
See: newUpdateBatchPrediction
smart constructor.
UpdateBatchPrediction' | |
|
Instances
newUpdateBatchPrediction Source #
:: Text | |
-> Text | |
-> UpdateBatchPrediction |
Create a value of UpdateBatchPrediction
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:batchPredictionId:UpdateBatchPrediction'
, updateBatchPrediction_batchPredictionId
- The ID assigned to the BatchPrediction
during creation.
$sel:batchPredictionName:UpdateBatchPrediction'
, updateBatchPrediction_batchPredictionName
- A new user-supplied name or description of the BatchPrediction
.
Request Lenses
updateBatchPrediction_batchPredictionId :: Lens' UpdateBatchPrediction Text Source #
The ID assigned to the BatchPrediction
during creation.
updateBatchPrediction_batchPredictionName :: Lens' UpdateBatchPrediction Text Source #
A new user-supplied name or description of the BatchPrediction
.
Destructuring the Response
data UpdateBatchPredictionResponse Source #
Represents the output of an UpdateBatchPrediction
operation.
You can see the updated content by using the GetBatchPrediction
operation.
See: newUpdateBatchPredictionResponse
smart constructor.
UpdateBatchPredictionResponse' | |
|
Instances
newUpdateBatchPredictionResponse Source #
Create a value of UpdateBatchPredictionResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:batchPredictionId:UpdateBatchPrediction'
, updateBatchPredictionResponse_batchPredictionId
- The ID assigned to the BatchPrediction
during creation. This value
should be identical to the value of the BatchPredictionId
in the
request.
$sel:httpStatus:UpdateBatchPredictionResponse'
, updateBatchPredictionResponse_httpStatus
- The response's http status code.
Response Lenses
updateBatchPredictionResponse_batchPredictionId :: 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.
updateBatchPredictionResponse_httpStatus :: Lens' UpdateBatchPredictionResponse Int Source #
The response's http status code.