Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Deletes an Amazon Kendra data source connector. An exception is not
thrown if the data source is already being deleted. While the data
source is being deleted, the Status
field returned by a call to the
DescribeDataSource
API is set to DELETING
. For more information, see
Deleting Data Sources.
Synopsis
- data DeleteDataSource = DeleteDataSource' {}
- newDeleteDataSource :: Text -> Text -> DeleteDataSource
- deleteDataSource_id :: Lens' DeleteDataSource Text
- deleteDataSource_indexId :: Lens' DeleteDataSource Text
- data DeleteDataSourceResponse = DeleteDataSourceResponse' {
- newDeleteDataSourceResponse :: DeleteDataSourceResponse
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:
DeleteDataSource
, deleteDataSource_id
- The identifier of the data source connector you want to delete.
$sel:indexId:DeleteDataSource'
, deleteDataSource_indexId
- The identifier of the index used with the data source connector.
Request Lenses
deleteDataSource_id :: Lens' DeleteDataSource Text Source #
The identifier of the data source connector you want to delete.
deleteDataSource_indexId :: Lens' DeleteDataSource Text Source #
The identifier of the index used with the data source connector.
Destructuring the Response
data DeleteDataSourceResponse Source #
See: newDeleteDataSourceResponse
smart constructor.
Instances
Generic DeleteDataSourceResponse Source # | |
Defined in Amazonka.Kendra.DeleteDataSource type Rep DeleteDataSourceResponse :: Type -> Type # | |
Read DeleteDataSourceResponse Source # | |
Show DeleteDataSourceResponse Source # | |
Defined in Amazonka.Kendra.DeleteDataSource showsPrec :: Int -> DeleteDataSourceResponse -> ShowS # show :: DeleteDataSourceResponse -> String # showList :: [DeleteDataSourceResponse] -> ShowS # | |
NFData DeleteDataSourceResponse Source # | |
Defined in Amazonka.Kendra.DeleteDataSource rnf :: DeleteDataSourceResponse -> () # | |
Eq DeleteDataSourceResponse Source # | |
Defined in Amazonka.Kendra.DeleteDataSource | |
type Rep DeleteDataSourceResponse Source # | |
newDeleteDataSourceResponse :: DeleteDataSourceResponse Source #
Create a value of DeleteDataSourceResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.