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

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 #

See: deleteDataSource smart constructor.

Instances

Eq DeleteDataSource # 
Data DeleteDataSource # 

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 # 
Show DeleteDataSource # 
Generic DeleteDataSource # 
Hashable DeleteDataSource # 
ToJSON DeleteDataSource # 
NFData DeleteDataSource # 

Methods

rnf :: DeleteDataSource -> () #

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

Request Lenses

ddsDataSourceId :: Lens' DeleteDataSource Text #

A user-supplied ID that uniquely identifies the DataSource .

Destructuring the Response

deleteDataSourceResponse #

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 #

Represents the output of a DeleteDataSource operation.

See: deleteDataSourceResponse smart constructor.

Instances

Eq DeleteDataSourceResponse # 
Data DeleteDataSourceResponse # 

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 # 
Show DeleteDataSourceResponse # 
Generic DeleteDataSourceResponse # 
NFData DeleteDataSourceResponse # 
type Rep DeleteDataSourceResponse # 
type Rep DeleteDataSourceResponse = D1 (MetaData "DeleteDataSourceResponse" "Network.AWS.MachineLearning.DeleteDataSource" "amazonka-ml-1.4.5-CevT0Y7DDZXCSb8Nqca7UU" False) (C1 (MetaCons "DeleteDataSourceResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_ddsrsDataSourceId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_ddsrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int))))

Response Lenses

ddsrsDataSourceId :: Lens' DeleteDataSourceResponse (Maybe Text) #

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

ddsrsResponseStatus :: Lens' DeleteDataSourceResponse Int #

  • - | The response status code.