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 |
Amazonka.Forecast.DeletePredictor
Description
Deletes a predictor created using the CreatePredictor operation. You can
delete only predictor that have a status of ACTIVE
or CREATE_FAILED
.
To get the status, use the DescribePredictor operation.
Creating a Request
data DeletePredictor Source #
See: newDeletePredictor
smart constructor.
Constructors
DeletePredictor' | |
Fields
|
Instances
Arguments
:: Text | |
-> DeletePredictor |
Create a value of DeletePredictor
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:predictorArn:DeletePredictor'
, deletePredictor_predictorArn
- The Amazon Resource Name (ARN) of the predictor to delete.
Request Lenses
deletePredictor_predictorArn :: Lens' DeletePredictor Text Source #
The Amazon Resource Name (ARN) of the predictor to delete.
Destructuring the Response
data DeletePredictorResponse Source #
See: newDeletePredictorResponse
smart constructor.
Constructors
DeletePredictorResponse' | |
Instances
newDeletePredictorResponse :: DeletePredictorResponse Source #
Create a value of DeletePredictorResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.