Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Deletes the knowledge base.
When you use this API to delete an external knowledge base such as Salesforce or ServiceNow, you must also delete the Amazon AppIntegrations DataIntegration. This is because you can't reuse the DataIntegration after it's been associated with an external knowledge base. However, you can delete and recreate it. See DeleteDataIntegration and CreateDataIntegration in the Amazon AppIntegrations API Reference.
Synopsis
- data DeleteKnowledgeBase = DeleteKnowledgeBase' {}
- newDeleteKnowledgeBase :: Text -> DeleteKnowledgeBase
- deleteKnowledgeBase_knowledgeBaseId :: Lens' DeleteKnowledgeBase Text
- data DeleteKnowledgeBaseResponse = DeleteKnowledgeBaseResponse' {
- httpStatus :: Int
- newDeleteKnowledgeBaseResponse :: Int -> DeleteKnowledgeBaseResponse
- deleteKnowledgeBaseResponse_httpStatus :: Lens' DeleteKnowledgeBaseResponse Int
Creating a Request
data DeleteKnowledgeBase Source #
See: newDeleteKnowledgeBase
smart constructor.
DeleteKnowledgeBase' | |
|
Instances
newDeleteKnowledgeBase Source #
Create a value of DeleteKnowledgeBase
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:
$sel:knowledgeBaseId:DeleteKnowledgeBase'
, deleteKnowledgeBase_knowledgeBaseId
- The knowledge base to delete content from. Can be either the ID or the
ARN. URLs cannot contain the ARN.
Request Lenses
deleteKnowledgeBase_knowledgeBaseId :: Lens' DeleteKnowledgeBase Text Source #
The knowledge base to delete content from. Can be either the ID or the ARN. URLs cannot contain the ARN.
Destructuring the Response
data DeleteKnowledgeBaseResponse Source #
See: newDeleteKnowledgeBaseResponse
smart constructor.
DeleteKnowledgeBaseResponse' | |
|
Instances
newDeleteKnowledgeBaseResponse Source #
Create a value of DeleteKnowledgeBaseResponse
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:
$sel:httpStatus:DeleteKnowledgeBaseResponse'
, deleteKnowledgeBaseResponse_httpStatus
- The response's http status code.
Response Lenses
deleteKnowledgeBaseResponse_httpStatus :: Lens' DeleteKnowledgeBaseResponse Int Source #
The response's http status code.