Copyright | (c) 2013-2021 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 |
Deletes a DataSource
object.
Synopsis
- data DeleteDataSource = DeleteDataSource' {}
- newDeleteDataSource :: Text -> Text -> DeleteDataSource
- deleteDataSource_apiId :: Lens' DeleteDataSource Text
- deleteDataSource_name :: Lens' DeleteDataSource Text
- data DeleteDataSourceResponse = DeleteDataSourceResponse' {
- httpStatus :: Int
- newDeleteDataSourceResponse :: Int -> DeleteDataSourceResponse
- deleteDataSourceResponse_httpStatus :: Lens' DeleteDataSourceResponse Int
Creating a Request
data DeleteDataSource Source #
See: newDeleteDataSource
smart constructor.
Instances
Create a value of DeleteDataSource
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:apiId:DeleteDataSource'
, deleteDataSource_apiId
- The API ID.
$sel:name:DeleteDataSource'
, deleteDataSource_name
- The name of the data source.
Request Lenses
deleteDataSource_apiId :: Lens' DeleteDataSource Text Source #
The API ID.
deleteDataSource_name :: Lens' DeleteDataSource Text Source #
The name of the data source.
Destructuring the Response
data DeleteDataSourceResponse Source #
See: newDeleteDataSourceResponse
smart constructor.
DeleteDataSourceResponse' | |
|
Instances
newDeleteDataSourceResponse Source #
Create a value of DeleteDataSourceResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:httpStatus:DeleteDataSourceResponse'
, deleteDataSourceResponse_httpStatus
- The response's http status code.
Response Lenses
deleteDataSourceResponse_httpStatus :: Lens' DeleteDataSourceResponse Int Source #
The response's http status code.