| Copyright | (c) 2013-2018 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.AWS.MachineLearning.DeleteDataSource
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.
- deleteDataSource :: Text -> DeleteDataSource
- data DeleteDataSource
- ddsDataSourceId :: Lens' DeleteDataSource Text
- deleteDataSourceResponse :: Int -> DeleteDataSourceResponse
- data DeleteDataSourceResponse
- ddsrsDataSourceId :: Lens' DeleteDataSourceResponse (Maybe Text)
- ddsrsResponseStatus :: Lens' DeleteDataSourceResponse Int
Creating a Request
Arguments
| :: Text | |
| -> 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 theDataSource.
data DeleteDataSource Source #
See: deleteDataSource smart constructor.
Instances
Request Lenses
ddsDataSourceId :: Lens' DeleteDataSource Text Source #
A user-supplied ID that uniquely identifies the DataSource .
Destructuring the Response
deleteDataSourceResponse Source #
Arguments
| :: Int | |
| -> 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 theDataSource. This value should be identical to the value of theDataSourceIDin the request.ddsrsResponseStatus- -- | The response status code.
data DeleteDataSourceResponse Source #
Represents the output of a DeleteDataSource operation.
See: deleteDataSourceResponse smart constructor.
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.
ddsrsResponseStatus :: Lens' DeleteDataSourceResponse Int Source #
- - | The response status code.