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.UpdateBatchPrediction

Description

Updates the BatchPredictionName of a BatchPrediction.

You can use the GetBatchPrediction operation to view the contents of the updated data element.

Synopsis

Creating a Request

data UpdateBatchPrediction Source #

See: newUpdateBatchPrediction smart constructor.

Constructors

UpdateBatchPrediction' 

Fields

Instances

Instances details
ToJSON UpdateBatchPrediction Source # 
Instance details

Defined in Amazonka.MachineLearning.UpdateBatchPrediction

ToHeaders UpdateBatchPrediction Source # 
Instance details

Defined in Amazonka.MachineLearning.UpdateBatchPrediction

ToPath UpdateBatchPrediction Source # 
Instance details

Defined in Amazonka.MachineLearning.UpdateBatchPrediction

ToQuery UpdateBatchPrediction Source # 
Instance details

Defined in Amazonka.MachineLearning.UpdateBatchPrediction

AWSRequest UpdateBatchPrediction Source # 
Instance details

Defined in Amazonka.MachineLearning.UpdateBatchPrediction

Associated Types

type AWSResponse UpdateBatchPrediction #

Generic UpdateBatchPrediction Source # 
Instance details

Defined in Amazonka.MachineLearning.UpdateBatchPrediction

Associated Types

type Rep UpdateBatchPrediction :: Type -> Type #

Read UpdateBatchPrediction Source # 
Instance details

Defined in Amazonka.MachineLearning.UpdateBatchPrediction

Show UpdateBatchPrediction Source # 
Instance details

Defined in Amazonka.MachineLearning.UpdateBatchPrediction

NFData UpdateBatchPrediction Source # 
Instance details

Defined in Amazonka.MachineLearning.UpdateBatchPrediction

Methods

rnf :: UpdateBatchPrediction -> () #

Eq UpdateBatchPrediction Source # 
Instance details

Defined in Amazonka.MachineLearning.UpdateBatchPrediction

Hashable UpdateBatchPrediction Source # 
Instance details

Defined in Amazonka.MachineLearning.UpdateBatchPrediction

type AWSResponse UpdateBatchPrediction Source # 
Instance details

Defined in Amazonka.MachineLearning.UpdateBatchPrediction

type Rep UpdateBatchPrediction Source # 
Instance details

Defined in Amazonka.MachineLearning.UpdateBatchPrediction

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

newUpdateBatchPrediction Source #

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:

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.

Constructors

UpdateBatchPredictionResponse' 

Fields

  • batchPredictionId :: Maybe Text

    The ID assigned to the BatchPrediction during creation. 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 UpdateBatchPredictionResponse Source # 
Instance details

Defined in Amazonka.MachineLearning.UpdateBatchPrediction

Associated Types

type Rep UpdateBatchPredictionResponse :: Type -> Type #

Read UpdateBatchPredictionResponse Source # 
Instance details

Defined in Amazonka.MachineLearning.UpdateBatchPrediction

Show UpdateBatchPredictionResponse Source # 
Instance details

Defined in Amazonka.MachineLearning.UpdateBatchPrediction

NFData UpdateBatchPredictionResponse Source # 
Instance details

Defined in Amazonka.MachineLearning.UpdateBatchPrediction

Eq UpdateBatchPredictionResponse Source # 
Instance details

Defined in Amazonka.MachineLearning.UpdateBatchPrediction

type Rep UpdateBatchPredictionResponse Source # 
Instance details

Defined in Amazonka.MachineLearning.UpdateBatchPrediction

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

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:

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.