libZSservicesZSamazonka-mlZSamazonka-ml
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

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
Eq DeleteBatchPrediction Source # 
Instance details

Defined in Amazonka.MachineLearning.DeleteBatchPrediction

Read DeleteBatchPrediction Source # 
Instance details

Defined in Amazonka.MachineLearning.DeleteBatchPrediction

Show DeleteBatchPrediction Source # 
Instance details

Defined in Amazonka.MachineLearning.DeleteBatchPrediction

Generic DeleteBatchPrediction Source # 
Instance details

Defined in Amazonka.MachineLearning.DeleteBatchPrediction

Associated Types

type Rep DeleteBatchPrediction :: Type -> Type #

NFData DeleteBatchPrediction Source # 
Instance details

Defined in Amazonka.MachineLearning.DeleteBatchPrediction

Methods

rnf :: DeleteBatchPrediction -> () #

Hashable DeleteBatchPrediction Source # 
Instance details

Defined in Amazonka.MachineLearning.DeleteBatchPrediction

ToJSON DeleteBatchPrediction Source # 
Instance details

Defined in Amazonka.MachineLearning.DeleteBatchPrediction

AWSRequest DeleteBatchPrediction Source # 
Instance details

Defined in Amazonka.MachineLearning.DeleteBatchPrediction

Associated Types

type AWSResponse 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

type Rep DeleteBatchPrediction Source # 
Instance details

Defined in Amazonka.MachineLearning.DeleteBatchPrediction

type Rep DeleteBatchPrediction = D1 ('MetaData "DeleteBatchPrediction" "Amazonka.MachineLearning.DeleteBatchPrediction" "libZSservicesZSamazonka-mlZSamazonka-ml" 'False) (C1 ('MetaCons "DeleteBatchPrediction'" 'PrefixI 'True) (S1 ('MetaSel ('Just "batchPredictionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse DeleteBatchPrediction Source # 
Instance details

Defined in Amazonka.MachineLearning.DeleteBatchPrediction

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:

$sel:batchPredictionId: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
Eq DeleteBatchPredictionResponse Source # 
Instance details

Defined in Amazonka.MachineLearning.DeleteBatchPrediction

Read DeleteBatchPredictionResponse Source # 
Instance details

Defined in Amazonka.MachineLearning.DeleteBatchPrediction

Show DeleteBatchPredictionResponse Source # 
Instance details

Defined in Amazonka.MachineLearning.DeleteBatchPrediction

Generic DeleteBatchPredictionResponse Source # 
Instance details

Defined in Amazonka.MachineLearning.DeleteBatchPrediction

Associated Types

type Rep DeleteBatchPredictionResponse :: Type -> Type #

NFData 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" "libZSservicesZSamazonka-mlZSamazonka-ml" '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:

$sel:batchPredictionId: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.