Copyright | (c) 2013-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
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
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:
data DeleteDataSource Source #
See: deleteDataSource
smart constructor.
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:
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.