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

Description

Updates the EvaluationName of an Evaluation.

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

Synopsis

Creating a Request

data UpdateEvaluation Source #

See: newUpdateEvaluation smart constructor.

Constructors

UpdateEvaluation' 

Fields

  • evaluationId :: Text

    The ID assigned to the Evaluation during creation.

  • evaluationName :: Text

    A new user-supplied name or description of the Evaluation that will replace the current content.

Instances

Instances details
Eq UpdateEvaluation Source # 
Instance details

Defined in Amazonka.MachineLearning.UpdateEvaluation

Read UpdateEvaluation Source # 
Instance details

Defined in Amazonka.MachineLearning.UpdateEvaluation

Show UpdateEvaluation Source # 
Instance details

Defined in Amazonka.MachineLearning.UpdateEvaluation

Generic UpdateEvaluation Source # 
Instance details

Defined in Amazonka.MachineLearning.UpdateEvaluation

Associated Types

type Rep UpdateEvaluation :: Type -> Type #

NFData UpdateEvaluation Source # 
Instance details

Defined in Amazonka.MachineLearning.UpdateEvaluation

Methods

rnf :: UpdateEvaluation -> () #

Hashable UpdateEvaluation Source # 
Instance details

Defined in Amazonka.MachineLearning.UpdateEvaluation

ToJSON UpdateEvaluation Source # 
Instance details

Defined in Amazonka.MachineLearning.UpdateEvaluation

AWSRequest UpdateEvaluation Source # 
Instance details

Defined in Amazonka.MachineLearning.UpdateEvaluation

Associated Types

type AWSResponse UpdateEvaluation #

ToHeaders UpdateEvaluation Source # 
Instance details

Defined in Amazonka.MachineLearning.UpdateEvaluation

ToPath UpdateEvaluation Source # 
Instance details

Defined in Amazonka.MachineLearning.UpdateEvaluation

ToQuery UpdateEvaluation Source # 
Instance details

Defined in Amazonka.MachineLearning.UpdateEvaluation

type Rep UpdateEvaluation Source # 
Instance details

Defined in Amazonka.MachineLearning.UpdateEvaluation

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

Defined in Amazonka.MachineLearning.UpdateEvaluation

newUpdateEvaluation Source #

Create a value of UpdateEvaluation 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:evaluationId:UpdateEvaluation', updateEvaluation_evaluationId - The ID assigned to the Evaluation during creation.

$sel:evaluationName:UpdateEvaluation', updateEvaluation_evaluationName - A new user-supplied name or description of the Evaluation that will replace the current content.

Request Lenses

updateEvaluation_evaluationId :: Lens' UpdateEvaluation Text Source #

The ID assigned to the Evaluation during creation.

updateEvaluation_evaluationName :: Lens' UpdateEvaluation Text Source #

A new user-supplied name or description of the Evaluation that will replace the current content.

Destructuring the Response

data UpdateEvaluationResponse Source #

Represents the output of an UpdateEvaluation operation.

You can see the updated content by using the GetEvaluation operation.

See: newUpdateEvaluationResponse smart constructor.

Constructors

UpdateEvaluationResponse' 

Fields

  • evaluationId :: Maybe Text

    The ID assigned to the Evaluation during creation. This value should be identical to the value of the Evaluation in the request.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq UpdateEvaluationResponse Source # 
Instance details

Defined in Amazonka.MachineLearning.UpdateEvaluation

Read UpdateEvaluationResponse Source # 
Instance details

Defined in Amazonka.MachineLearning.UpdateEvaluation

Show UpdateEvaluationResponse Source # 
Instance details

Defined in Amazonka.MachineLearning.UpdateEvaluation

Generic UpdateEvaluationResponse Source # 
Instance details

Defined in Amazonka.MachineLearning.UpdateEvaluation

Associated Types

type Rep UpdateEvaluationResponse :: Type -> Type #

NFData UpdateEvaluationResponse Source # 
Instance details

Defined in Amazonka.MachineLearning.UpdateEvaluation

type Rep UpdateEvaluationResponse Source # 
Instance details

Defined in Amazonka.MachineLearning.UpdateEvaluation

type Rep UpdateEvaluationResponse = D1 ('MetaData "UpdateEvaluationResponse" "Amazonka.MachineLearning.UpdateEvaluation" "libZSservicesZSamazonka-mlZSamazonka-ml" 'False) (C1 ('MetaCons "UpdateEvaluationResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "evaluationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newUpdateEvaluationResponse Source #

Create a value of UpdateEvaluationResponse 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:evaluationId:UpdateEvaluation', updateEvaluationResponse_evaluationId - The ID assigned to the Evaluation during creation. This value should be identical to the value of the Evaluation in the request.

$sel:httpStatus:UpdateEvaluationResponse', updateEvaluationResponse_httpStatus - The response's http status code.

Response Lenses

updateEvaluationResponse_evaluationId :: Lens' UpdateEvaluationResponse (Maybe Text) Source #

The ID assigned to the Evaluation during creation. This value should be identical to the value of the Evaluation in the request.