amazonka-ml-1.4.5: Amazon Machine Learning SDK.

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

Network.AWS.MachineLearning.UpdateEvaluation

Contents

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

updateEvaluation Source #

Creates a value of UpdateEvaluation with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • ueEvaluationId - The ID assigned to the Evaluation during creation.
  • ueEvaluationName - A new user-supplied name or description of the Evaluation that will replace the current content.

data UpdateEvaluation Source #

See: updateEvaluation smart constructor.

Instances

Eq UpdateEvaluation Source # 
Data UpdateEvaluation Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> UpdateEvaluation -> c UpdateEvaluation #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c UpdateEvaluation #

toConstr :: UpdateEvaluation -> Constr #

dataTypeOf :: UpdateEvaluation -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c UpdateEvaluation) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c UpdateEvaluation) #

gmapT :: (forall b. Data b => b -> b) -> UpdateEvaluation -> UpdateEvaluation #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> UpdateEvaluation -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> UpdateEvaluation -> r #

gmapQ :: (forall d. Data d => d -> u) -> UpdateEvaluation -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> UpdateEvaluation -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> UpdateEvaluation -> m UpdateEvaluation #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> UpdateEvaluation -> m UpdateEvaluation #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> UpdateEvaluation -> m UpdateEvaluation #

Read UpdateEvaluation Source # 
Show UpdateEvaluation Source # 
Generic UpdateEvaluation Source # 
Hashable UpdateEvaluation Source # 
ToJSON UpdateEvaluation Source # 
NFData UpdateEvaluation Source # 

Methods

rnf :: UpdateEvaluation -> () #

AWSRequest UpdateEvaluation Source # 
ToPath UpdateEvaluation Source # 
ToHeaders UpdateEvaluation Source # 
ToQuery UpdateEvaluation Source # 
type Rep UpdateEvaluation Source # 
type Rep UpdateEvaluation = D1 (MetaData "UpdateEvaluation" "Network.AWS.MachineLearning.UpdateEvaluation" "amazonka-ml-1.4.5-CMIVJd26kUuC9koT2Uj5Uh" False) (C1 (MetaCons "UpdateEvaluation'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_ueEvaluationId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_ueEvaluationName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs UpdateEvaluation Source # 

Request Lenses

ueEvaluationId :: Lens' UpdateEvaluation Text Source #

The ID assigned to the Evaluation during creation.

ueEvaluationName :: Lens' UpdateEvaluation Text Source #

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

Destructuring the Response

updateEvaluationResponse Source #

Creates a value of UpdateEvaluationResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • uersEvaluationId - The ID assigned to the Evaluation during creation. This value should be identical to the value of the Evaluation in the request.
  • uersResponseStatus - -- | The response status code.

data UpdateEvaluationResponse Source #

Represents the output of an UpdateEvaluation operation.

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

See: updateEvaluationResponse smart constructor.

Instances

Eq UpdateEvaluationResponse Source # 
Data UpdateEvaluationResponse Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> UpdateEvaluationResponse -> c UpdateEvaluationResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c UpdateEvaluationResponse #

toConstr :: UpdateEvaluationResponse -> Constr #

dataTypeOf :: UpdateEvaluationResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c UpdateEvaluationResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c UpdateEvaluationResponse) #

gmapT :: (forall b. Data b => b -> b) -> UpdateEvaluationResponse -> UpdateEvaluationResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> UpdateEvaluationResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> UpdateEvaluationResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> UpdateEvaluationResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> UpdateEvaluationResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> UpdateEvaluationResponse -> m UpdateEvaluationResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> UpdateEvaluationResponse -> m UpdateEvaluationResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> UpdateEvaluationResponse -> m UpdateEvaluationResponse #

Read UpdateEvaluationResponse Source # 
Show UpdateEvaluationResponse Source # 
Generic UpdateEvaluationResponse Source # 
NFData UpdateEvaluationResponse Source # 
type Rep UpdateEvaluationResponse Source # 
type Rep UpdateEvaluationResponse = D1 (MetaData "UpdateEvaluationResponse" "Network.AWS.MachineLearning.UpdateEvaluation" "amazonka-ml-1.4.5-CMIVJd26kUuC9koT2Uj5Uh" False) (C1 (MetaCons "UpdateEvaluationResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_uersEvaluationId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_uersResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int))))

Response Lenses

uersEvaluationId :: 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.