amazonka-ml-1.6.1: 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 Source #

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 Source #

See: updateDataSource smart constructor.

Instances
Eq UpdateDataSource Source # 
Instance details

Defined in Network.AWS.MachineLearning.UpdateDataSource

Data UpdateDataSource Source # 
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 Source # 
Instance details

Defined in Network.AWS.MachineLearning.UpdateDataSource

Show UpdateDataSource Source # 
Instance details

Defined in Network.AWS.MachineLearning.UpdateDataSource

Generic UpdateDataSource Source # 
Instance details

Defined in Network.AWS.MachineLearning.UpdateDataSource

Associated Types

type Rep UpdateDataSource :: Type -> Type #

Hashable UpdateDataSource Source # 
Instance details

Defined in Network.AWS.MachineLearning.UpdateDataSource

ToJSON UpdateDataSource Source # 
Instance details

Defined in Network.AWS.MachineLearning.UpdateDataSource

AWSRequest UpdateDataSource Source # 
Instance details

Defined in Network.AWS.MachineLearning.UpdateDataSource

Associated Types

type Rs UpdateDataSource :: Type #

ToHeaders UpdateDataSource Source # 
Instance details

Defined in Network.AWS.MachineLearning.UpdateDataSource

ToPath UpdateDataSource Source # 
Instance details

Defined in Network.AWS.MachineLearning.UpdateDataSource

ToQuery UpdateDataSource Source # 
Instance details

Defined in Network.AWS.MachineLearning.UpdateDataSource

NFData UpdateDataSource Source # 
Instance details

Defined in Network.AWS.MachineLearning.UpdateDataSource

Methods

rnf :: UpdateDataSource -> () #

type Rep UpdateDataSource Source # 
Instance details

Defined in Network.AWS.MachineLearning.UpdateDataSource

type Rep UpdateDataSource = D1 (MetaData "UpdateDataSource" "Network.AWS.MachineLearning.UpdateDataSource" "amazonka-ml-1.6.1-CNBnEKh3aOlK9oNc02t7Bw" 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 Source # 
Instance details

Defined in Network.AWS.MachineLearning.UpdateDataSource

Request Lenses

udsDataSourceId :: Lens' UpdateDataSource Text Source #

The ID assigned to the DataSource during creation.

udsDataSourceName :: Lens' UpdateDataSource Text Source #

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

Destructuring the Response

updateDataSourceResponse Source #

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 Source #

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

Defined in Network.AWS.MachineLearning.UpdateDataSource

Data UpdateDataSourceResponse Source # 
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 Source # 
Instance details

Defined in Network.AWS.MachineLearning.UpdateDataSource

Show UpdateDataSourceResponse Source # 
Instance details

Defined in Network.AWS.MachineLearning.UpdateDataSource

Generic UpdateDataSourceResponse Source # 
Instance details

Defined in Network.AWS.MachineLearning.UpdateDataSource

Associated Types

type Rep UpdateDataSourceResponse :: Type -> Type #

NFData UpdateDataSourceResponse Source # 
Instance details

Defined in Network.AWS.MachineLearning.UpdateDataSource

type Rep UpdateDataSourceResponse Source # 
Instance details

Defined in Network.AWS.MachineLearning.UpdateDataSource

type Rep UpdateDataSourceResponse = D1 (MetaData "UpdateDataSourceResponse" "Network.AWS.MachineLearning.UpdateDataSource" "amazonka-ml-1.6.1-CNBnEKh3aOlK9oNc02t7Bw" 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) Source #

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