amazonka-ml-1.6.0: Amazon Machine Learning SDK.

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

Network.AWS.MachineLearning.UpdateDataSource

Contents

Description

Updates the DataSourceName of a DataSource .

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

Synopsis

Creating a Request

updateDataSource #

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

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

  • udsDataSourceId - The ID assigned to the DataSource during creation.
  • udsDataSourceName - A new user-supplied name or description of the DataSource that will replace the current description.

data UpdateDataSource #

See: updateDataSource smart constructor.

Instances
Eq UpdateDataSource # 
Instance details

Defined in Network.AWS.MachineLearning.UpdateDataSource

Data UpdateDataSource # 
Instance details

Defined in Network.AWS.MachineLearning.UpdateDataSource

Methods

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

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

toConstr :: UpdateDataSource -> Constr #

dataTypeOf :: UpdateDataSource -> DataType #

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

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

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

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

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

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

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

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

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

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

Read UpdateDataSource # 
Instance details

Defined in Network.AWS.MachineLearning.UpdateDataSource

Show UpdateDataSource # 
Instance details

Defined in Network.AWS.MachineLearning.UpdateDataSource

Generic UpdateDataSource # 
Instance details

Defined in Network.AWS.MachineLearning.UpdateDataSource

Associated Types

type Rep UpdateDataSource :: * -> * #

Hashable UpdateDataSource # 
Instance details

Defined in Network.AWS.MachineLearning.UpdateDataSource

ToJSON UpdateDataSource # 
Instance details

Defined in Network.AWS.MachineLearning.UpdateDataSource

AWSRequest UpdateDataSource # 
Instance details

Defined in Network.AWS.MachineLearning.UpdateDataSource

Associated Types

type Rs UpdateDataSource :: * #

ToHeaders UpdateDataSource # 
Instance details

Defined in Network.AWS.MachineLearning.UpdateDataSource

ToPath UpdateDataSource # 
Instance details

Defined in Network.AWS.MachineLearning.UpdateDataSource

ToQuery UpdateDataSource # 
Instance details

Defined in Network.AWS.MachineLearning.UpdateDataSource

NFData UpdateDataSource # 
Instance details

Defined in Network.AWS.MachineLearning.UpdateDataSource

Methods

rnf :: UpdateDataSource -> () #

type Rep UpdateDataSource # 
Instance details

Defined in Network.AWS.MachineLearning.UpdateDataSource

type Rep UpdateDataSource = D1 (MetaData "UpdateDataSource" "Network.AWS.MachineLearning.UpdateDataSource" "amazonka-ml-1.6.0-TdNGQduaCI3599xkq7Zfu" False) (C1 (MetaCons "UpdateDataSource'" PrefixI True) (S1 (MetaSel (Just "_udsDataSourceId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_udsDataSourceName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))
type Rs UpdateDataSource # 
Instance details

Defined in Network.AWS.MachineLearning.UpdateDataSource

Request Lenses

udsDataSourceId :: Lens' UpdateDataSource Text #

The ID assigned to the DataSource during creation.

udsDataSourceName :: Lens' UpdateDataSource Text #

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

Destructuring the Response

updateDataSourceResponse #

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

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

  • udsrsDataSourceId - The ID assigned to the DataSource during creation. This value should be identical to the value of the DataSourceID in the request.
  • udsrsResponseStatus - -- | The response status code.

data UpdateDataSourceResponse #

Represents the output of an UpdateDataSource operation.

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

See: updateDataSourceResponse smart constructor.

Instances
Eq UpdateDataSourceResponse # 
Instance details

Defined in Network.AWS.MachineLearning.UpdateDataSource

Data UpdateDataSourceResponse # 
Instance details

Defined in Network.AWS.MachineLearning.UpdateDataSource

Methods

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

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

toConstr :: UpdateDataSourceResponse -> Constr #

dataTypeOf :: UpdateDataSourceResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read UpdateDataSourceResponse # 
Instance details

Defined in Network.AWS.MachineLearning.UpdateDataSource

Show UpdateDataSourceResponse # 
Instance details

Defined in Network.AWS.MachineLearning.UpdateDataSource

Generic UpdateDataSourceResponse # 
Instance details

Defined in Network.AWS.MachineLearning.UpdateDataSource

Associated Types

type Rep UpdateDataSourceResponse :: * -> * #

NFData UpdateDataSourceResponse # 
Instance details

Defined in Network.AWS.MachineLearning.UpdateDataSource

type Rep UpdateDataSourceResponse # 
Instance details

Defined in Network.AWS.MachineLearning.UpdateDataSource

type Rep UpdateDataSourceResponse = D1 (MetaData "UpdateDataSourceResponse" "Network.AWS.MachineLearning.UpdateDataSource" "amazonka-ml-1.6.0-TdNGQduaCI3599xkq7Zfu" False) (C1 (MetaCons "UpdateDataSourceResponse'" PrefixI True) (S1 (MetaSel (Just "_udsrsDataSourceId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_udsrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))

Response Lenses

udsrsDataSourceId :: Lens' UpdateDataSourceResponse (Maybe Text) #

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

udsrsResponseStatus :: Lens' UpdateDataSourceResponse Int #

  • - | The response status code.