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

Contents

Description

Assigns the DELETED status to a DataSource , rendering it unusable.

After using the DeleteDataSource operation, you can use the GetDataSource operation to verify that the status of the DataSource changed to DELETED.

Caution: The results of the DeleteDataSource operation are irreversible.

Synopsis

Creating a Request

deleteDataSource Source #

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

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

  • ddsDataSourceId - A user-supplied ID that uniquely identifies the DataSource .

data DeleteDataSource Source #

See: deleteDataSource smart constructor.

Instances

Eq DeleteDataSource Source # 
Data DeleteDataSource Source # 

Methods

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

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

toConstr :: DeleteDataSource -> Constr #

dataTypeOf :: DeleteDataSource -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Methods

rnf :: DeleteDataSource -> () #

AWSRequest DeleteDataSource Source # 
ToHeaders DeleteDataSource Source # 
ToPath DeleteDataSource Source # 
ToQuery DeleteDataSource Source # 
type Rep DeleteDataSource Source # 
type Rep DeleteDataSource = D1 * (MetaData "DeleteDataSource" "Network.AWS.MachineLearning.DeleteDataSource" "amazonka-ml-1.6.0-Ieesuz5Kri8FW4cNPxVPkB" True) (C1 * (MetaCons "DeleteDataSource'" PrefixI True) (S1 * (MetaSel (Just Symbol "_ddsDataSourceId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Text)))
type Rs DeleteDataSource Source # 

Request Lenses

ddsDataSourceId :: Lens' DeleteDataSource Text Source #

A user-supplied ID that uniquely identifies the DataSource .

Destructuring the Response

deleteDataSourceResponse Source #

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

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

  • ddsrsDataSourceId - A user-supplied ID that uniquely identifies the DataSource . This value should be identical to the value of the DataSourceID in the request.
  • ddsrsResponseStatus - -- | The response status code.

data DeleteDataSourceResponse Source #

Represents the output of a DeleteDataSource operation.

See: deleteDataSourceResponse smart constructor.

Instances

Eq DeleteDataSourceResponse Source # 
Data DeleteDataSourceResponse Source # 

Methods

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

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

toConstr :: DeleteDataSourceResponse -> Constr #

dataTypeOf :: DeleteDataSourceResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeleteDataSourceResponse Source # 
Show DeleteDataSourceResponse Source # 
Generic DeleteDataSourceResponse Source # 
NFData DeleteDataSourceResponse Source # 
type Rep DeleteDataSourceResponse Source # 
type Rep DeleteDataSourceResponse = D1 * (MetaData "DeleteDataSourceResponse" "Network.AWS.MachineLearning.DeleteDataSource" "amazonka-ml-1.6.0-Ieesuz5Kri8FW4cNPxVPkB" False) (C1 * (MetaCons "DeleteDataSourceResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_ddsrsDataSourceId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_ddsrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int))))

Response Lenses

ddsrsDataSourceId :: Lens' DeleteDataSourceResponse (Maybe Text) Source #

A user-supplied ID that uniquely identifies the DataSource . This value should be identical to the value of the DataSourceID in the request.