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.DeleteIndex

Description

Deletes an existing Amazon Kendra index. An exception is not thrown if the index is already being deleted. While the index is being deleted, the Status field returned by a call to the DescribeIndex API is set to DELETING.

Synopsis

Creating a Request

data DeleteIndex Source #

See: newDeleteIndex smart constructor.

Constructors

DeleteIndex' 

Fields

  • id :: Text

    The identifier of the index you want to delete.

Instances

Instances details
ToJSON DeleteIndex Source # 
Instance details

Defined in Amazonka.Kendra.DeleteIndex

ToHeaders DeleteIndex Source # 
Instance details

Defined in Amazonka.Kendra.DeleteIndex

Methods

toHeaders :: DeleteIndex -> [Header] #

ToPath DeleteIndex Source # 
Instance details

Defined in Amazonka.Kendra.DeleteIndex

ToQuery DeleteIndex Source # 
Instance details

Defined in Amazonka.Kendra.DeleteIndex

AWSRequest DeleteIndex Source # 
Instance details

Defined in Amazonka.Kendra.DeleteIndex

Associated Types

type AWSResponse DeleteIndex #

Generic DeleteIndex Source # 
Instance details

Defined in Amazonka.Kendra.DeleteIndex

Associated Types

type Rep DeleteIndex :: Type -> Type #

Read DeleteIndex Source # 
Instance details

Defined in Amazonka.Kendra.DeleteIndex

Show DeleteIndex Source # 
Instance details

Defined in Amazonka.Kendra.DeleteIndex

NFData DeleteIndex Source # 
Instance details

Defined in Amazonka.Kendra.DeleteIndex

Methods

rnf :: DeleteIndex -> () #

Eq DeleteIndex Source # 
Instance details

Defined in Amazonka.Kendra.DeleteIndex

Hashable DeleteIndex Source # 
Instance details

Defined in Amazonka.Kendra.DeleteIndex

type AWSResponse DeleteIndex Source # 
Instance details

Defined in Amazonka.Kendra.DeleteIndex

type Rep DeleteIndex Source # 
Instance details

Defined in Amazonka.Kendra.DeleteIndex

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

newDeleteIndex Source #

Create a value of DeleteIndex 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:

DeleteIndex, deleteIndex_id - The identifier of the index you want to delete.

Request Lenses

deleteIndex_id :: Lens' DeleteIndex Text Source #

The identifier of the index you want to delete.

Destructuring the Response

data DeleteIndexResponse Source #

See: newDeleteIndexResponse smart constructor.

Constructors

DeleteIndexResponse' 

newDeleteIndexResponse :: DeleteIndexResponse Source #

Create a value of DeleteIndexResponse with all optional fields omitted.

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