| 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 |
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' | |
Instances
Arguments
| :: Text | |
| -> DeleteIndex |
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' | |
Instances
| Generic DeleteIndexResponse Source # | |
Defined in Amazonka.Kendra.DeleteIndex Associated Types type Rep DeleteIndexResponse :: Type -> Type # Methods from :: DeleteIndexResponse -> Rep DeleteIndexResponse x # to :: Rep DeleteIndexResponse x -> DeleteIndexResponse # | |
| Read DeleteIndexResponse Source # | |
Defined in Amazonka.Kendra.DeleteIndex Methods readsPrec :: Int -> ReadS DeleteIndexResponse # readList :: ReadS [DeleteIndexResponse] # | |
| Show DeleteIndexResponse Source # | |
Defined in Amazonka.Kendra.DeleteIndex Methods showsPrec :: Int -> DeleteIndexResponse -> ShowS # show :: DeleteIndexResponse -> String # showList :: [DeleteIndexResponse] -> ShowS # | |
| NFData DeleteIndexResponse Source # | |
Defined in Amazonka.Kendra.DeleteIndex Methods rnf :: DeleteIndexResponse -> () # | |
| Eq DeleteIndexResponse Source # | |
Defined in Amazonka.Kendra.DeleteIndex Methods (==) :: DeleteIndexResponse -> DeleteIndexResponse -> Bool # (/=) :: DeleteIndexResponse -> DeleteIndexResponse -> Bool # | |
| type Rep DeleteIndexResponse Source # | |
newDeleteIndexResponse :: DeleteIndexResponse Source #
Create a value of DeleteIndexResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.