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 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.
Instances
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.
Instances
Generic DeleteIndexResponse Source # | |
Defined in Amazonka.Kendra.DeleteIndex type Rep DeleteIndexResponse :: Type -> Type # from :: DeleteIndexResponse -> Rep DeleteIndexResponse x # to :: Rep DeleteIndexResponse x -> DeleteIndexResponse # | |
Read DeleteIndexResponse Source # | |
Defined in Amazonka.Kendra.DeleteIndex | |
Show DeleteIndexResponse Source # | |
Defined in Amazonka.Kendra.DeleteIndex showsPrec :: Int -> DeleteIndexResponse -> ShowS # show :: DeleteIndexResponse -> String # showList :: [DeleteIndexResponse] -> ShowS # | |
NFData DeleteIndexResponse Source # | |
Defined in Amazonka.Kendra.DeleteIndex rnf :: DeleteIndexResponse -> () # | |
Eq DeleteIndexResponse Source # | |
Defined in Amazonka.Kendra.DeleteIndex (==) :: 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.