amazonka-ml-2.0: Amazon Machine Learning SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.MachineLearning.DeleteBatchPrediction

Description

Assigns the DELETED status to a BatchPrediction, rendering it unusable.

After using the DeleteBatchPrediction operation, you can use the GetBatchPrediction operation to verify that the status of the BatchPrediction changed to DELETED.

Caution: The result of the DeleteBatchPrediction operation is irreversible.

Synopsis

Creating a Request

data DeleteBatchPrediction Source #

See: newDeleteBatchPrediction smart constructor.

Constructors

DeleteBatchPrediction' 

Fields

Instances

Instances details
ToJSON DeleteBatchPrediction Source # 
Instance details

Defined in Amazonka.MachineLearning.DeleteBatchPrediction

ToHeaders DeleteBatchPrediction Source # 
Instance details

Defined in Amazonka.MachineLearning.DeleteBatchPrediction

ToPath DeleteBatchPrediction Source # 
Instance details

Defined in Amazonka.MachineLearning.DeleteBatchPrediction

ToQuery DeleteBatchPrediction Source # 
Instance details

Defined in Amazonka.MachineLearning.DeleteBatchPrediction

AWSRequest DeleteBatchPrediction Source # 
Instance details

Defined in Amazonka.MachineLearning.DeleteBatchPrediction

Associated Types

type AWSResponse DeleteBatchPrediction #

Generic DeleteBatchPrediction Source # 
Instance details

Defined in Amazonka.MachineLearning.DeleteBatchPrediction

Associated Types

type Rep DeleteBatchPrediction :: Type -> Type #

Read DeleteBatchPrediction Source # 
Instance details

Defined in Amazonka.MachineLearning.DeleteBatchPrediction

Show DeleteBatchPrediction Source # 
Instance details

Defined in Amazonka.MachineLearning.DeleteBatchPrediction

NFData DeleteBatchPrediction Source # 
Instance details

Defined in Amazonka.MachineLearning.DeleteBatchPrediction

Methods

rnf :: DeleteBatchPrediction -> () #

Eq DeleteBatchPrediction Source # 
Instance details

Defined in Amazonka.MachineLearning.DeleteBatchPrediction

Hashable DeleteBatchPrediction Source # 
Instance details

Defined in Amazonka.MachineLearning.DeleteBatchPrediction

type AWSResponse DeleteBatchPrediction Source # 
Instance details

Defined in Amazonka.MachineLearning.DeleteBatchPrediction

type Rep DeleteBatchPrediction Source # 
Instance details

Defined in Amazonka.MachineLearning.DeleteBatchPrediction

type Rep DeleteBatchPrediction = D1 ('MetaData "DeleteBatchPrediction" "Amazonka.MachineLearning.DeleteBatchPrediction" "amazonka-ml-2.0-A3JLJ63WvmfHxGBBIqhdRA" 'False) (C1 ('MetaCons "DeleteBatchPrediction'" 'PrefixI 'True) (S1 ('MetaSel ('Just "batchPredictionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newDeleteBatchPrediction Source #

Create a value of DeleteBatchPrediction 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:

DeleteBatchPrediction, deleteBatchPrediction_batchPredictionId - A user-supplied ID that uniquely identifies the BatchPrediction.

Request Lenses

deleteBatchPrediction_batchPredictionId :: Lens' DeleteBatchPrediction Text Source #

A user-supplied ID that uniquely identifies the BatchPrediction.

Destructuring the Response

data DeleteBatchPredictionResponse Source #

Represents the output of a DeleteBatchPrediction operation.

You can use the GetBatchPrediction operation and check the value of the Status parameter to see whether a BatchPrediction is marked as DELETED.

See: newDeleteBatchPredictionResponse smart constructor.

Constructors

DeleteBatchPredictionResponse' 

Fields

  • batchPredictionId :: Maybe Text

    A user-supplied ID that uniquely identifies the BatchPrediction. This value should be identical to the value of the BatchPredictionID in the request.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Generic DeleteBatchPredictionResponse Source # 
Instance details

Defined in Amazonka.MachineLearning.DeleteBatchPrediction

Associated Types

type Rep DeleteBatchPredictionResponse :: Type -> Type #

Read DeleteBatchPredictionResponse Source # 
Instance details

Defined in Amazonka.MachineLearning.DeleteBatchPrediction

Show DeleteBatchPredictionResponse Source # 
Instance details

Defined in Amazonka.MachineLearning.DeleteBatchPrediction

NFData DeleteBatchPredictionResponse Source # 
Instance details

Defined in Amazonka.MachineLearning.DeleteBatchPrediction

Eq DeleteBatchPredictionResponse Source # 
Instance details

Defined in Amazonka.MachineLearning.DeleteBatchPrediction

type Rep DeleteBatchPredictionResponse Source # 
Instance details

Defined in Amazonka.MachineLearning.DeleteBatchPrediction

type Rep DeleteBatchPredictionResponse = D1 ('MetaData "DeleteBatchPredictionResponse" "Amazonka.MachineLearning.DeleteBatchPrediction" "amazonka-ml-2.0-A3JLJ63WvmfHxGBBIqhdRA" 'False) (C1 ('MetaCons "DeleteBatchPredictionResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "batchPredictionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDeleteBatchPredictionResponse Source #

Create a value of DeleteBatchPredictionResponse 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:

DeleteBatchPrediction, deleteBatchPredictionResponse_batchPredictionId - A user-supplied ID that uniquely identifies the BatchPrediction. This value should be identical to the value of the BatchPredictionID in the request.

$sel:httpStatus:DeleteBatchPredictionResponse', deleteBatchPredictionResponse_httpStatus - The response's http status code.

Response Lenses

deleteBatchPredictionResponse_batchPredictionId :: Lens' DeleteBatchPredictionResponse (Maybe Text) Source #

A user-supplied ID that uniquely identifies the BatchPrediction. This value should be identical to the value of the BatchPredictionID in the request.