amazonka-kendra-2.0: Amazon KendraFrontendService SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Kendra.DeleteDataSource

Description

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

Creating a Request

data DeleteDataSource Source #

See: newDeleteDataSource smart constructor.

Constructors

DeleteDataSource' 

Fields

  • id :: Text

    The identifier of the data source connector you want to delete.

  • indexId :: Text

    The identifier of the index used with the data source connector.

Instances

Instances details
ToJSON DeleteDataSource Source # 
Instance details

Defined in Amazonka.Kendra.DeleteDataSource

ToHeaders DeleteDataSource Source # 
Instance details

Defined in Amazonka.Kendra.DeleteDataSource

ToPath DeleteDataSource Source # 
Instance details

Defined in Amazonka.Kendra.DeleteDataSource

ToQuery DeleteDataSource Source # 
Instance details

Defined in Amazonka.Kendra.DeleteDataSource

AWSRequest DeleteDataSource Source # 
Instance details

Defined in Amazonka.Kendra.DeleteDataSource

Associated Types

type AWSResponse DeleteDataSource #

Generic DeleteDataSource Source # 
Instance details

Defined in Amazonka.Kendra.DeleteDataSource

Associated Types

type Rep DeleteDataSource :: Type -> Type #

Read DeleteDataSource Source # 
Instance details

Defined in Amazonka.Kendra.DeleteDataSource

Show DeleteDataSource Source # 
Instance details

Defined in Amazonka.Kendra.DeleteDataSource

NFData DeleteDataSource Source # 
Instance details

Defined in Amazonka.Kendra.DeleteDataSource

Methods

rnf :: DeleteDataSource -> () #

Eq DeleteDataSource Source # 
Instance details

Defined in Amazonka.Kendra.DeleteDataSource

Hashable DeleteDataSource Source # 
Instance details

Defined in Amazonka.Kendra.DeleteDataSource

type AWSResponse DeleteDataSource Source # 
Instance details

Defined in Amazonka.Kendra.DeleteDataSource

type Rep DeleteDataSource Source # 
Instance details

Defined in Amazonka.Kendra.DeleteDataSource

type Rep DeleteDataSource = D1 ('MetaData "DeleteDataSource" "Amazonka.Kendra.DeleteDataSource" "amazonka-kendra-2.0-IHloXAWlYIS8YTp1gXe6J" 'False) (C1 ('MetaCons "DeleteDataSource'" 'PrefixI 'True) (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "indexId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newDeleteDataSource Source #

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

Instances details
Generic DeleteDataSourceResponse Source # 
Instance details

Defined in Amazonka.Kendra.DeleteDataSource

Associated Types

type Rep DeleteDataSourceResponse :: Type -> Type #

Read DeleteDataSourceResponse Source # 
Instance details

Defined in Amazonka.Kendra.DeleteDataSource

Show DeleteDataSourceResponse Source # 
Instance details

Defined in Amazonka.Kendra.DeleteDataSource

NFData DeleteDataSourceResponse Source # 
Instance details

Defined in Amazonka.Kendra.DeleteDataSource

Eq DeleteDataSourceResponse Source # 
Instance details

Defined in Amazonka.Kendra.DeleteDataSource

type Rep DeleteDataSourceResponse Source # 
Instance details

Defined in Amazonka.Kendra.DeleteDataSource

type Rep DeleteDataSourceResponse = D1 ('MetaData "DeleteDataSourceResponse" "Amazonka.Kendra.DeleteDataSource" "amazonka-kendra-2.0-IHloXAWlYIS8YTp1gXe6J" 'False) (C1 ('MetaCons "DeleteDataSourceResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newDeleteDataSourceResponse :: DeleteDataSourceResponse Source #

Create a value of DeleteDataSourceResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.