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

Defined in Amazonka.MachineLearning.UpdateBatchPrediction

Read UpdateBatchPrediction Source # 
Instance details

Defined in Amazonka.MachineLearning.UpdateBatchPrediction

Show UpdateBatchPrediction Source # 
Instance details

Defined in Amazonka.MachineLearning.UpdateBatchPrediction

Generic UpdateBatchPrediction Source # 
Instance details

Defined in Amazonka.MachineLearning.UpdateBatchPrediction

Associated Types

type Rep UpdateBatchPrediction :: Type -> Type #

NFData UpdateBatchPrediction Source # 
Instance details

Defined in Amazonka.MachineLearning.UpdateBatchPrediction

Methods

rnf :: UpdateBatchPrediction -> () #

Hashable UpdateBatchPrediction Source # 
Instance details

Defined in Amazonka.MachineLearning.UpdateBatchPrediction

ToJSON UpdateBatchPrediction Source # 
Instance details

Defined in Amazonka.MachineLearning.UpdateBatchPrediction

AWSRequest UpdateBatchPrediction Source # 
Instance details

Defined in Amazonka.MachineLearning.UpdateBatchPrediction

Associated Types

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

type Rep UpdateBatchPrediction Source # 
Instance details

Defined in Amazonka.MachineLearning.UpdateBatchPrediction

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

Defined in Amazonka.MachineLearning.UpdateBatchPrediction

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:

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

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

Defined in Amazonka.MachineLearning.UpdateBatchPrediction

Read UpdateBatchPredictionResponse Source # 
Instance details

Defined in Amazonka.MachineLearning.UpdateBatchPrediction

Show UpdateBatchPredictionResponse Source # 
Instance details

Defined in Amazonka.MachineLearning.UpdateBatchPrediction

Generic UpdateBatchPredictionResponse Source # 
Instance details

Defined in Amazonka.MachineLearning.UpdateBatchPrediction

Associated Types

type Rep UpdateBatchPredictionResponse :: Type -> Type #

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

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