| 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.Wisdom.DeleteContent
Description
Deletes the content.
Synopsis
- data DeleteContent = DeleteContent' {
- contentId :: Text
- knowledgeBaseId :: Text
- newDeleteContent :: Text -> Text -> DeleteContent
- deleteContent_contentId :: Lens' DeleteContent Text
- deleteContent_knowledgeBaseId :: Lens' DeleteContent Text
- data DeleteContentResponse = DeleteContentResponse' {
- httpStatus :: Int
- newDeleteContentResponse :: Int -> DeleteContentResponse
- deleteContentResponse_httpStatus :: Lens' DeleteContentResponse Int
Creating a Request
data DeleteContent Source #
See: newDeleteContent smart constructor.
Constructors
| DeleteContent' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> Text | |
| -> DeleteContent |
Create a value of DeleteContent 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:
DeleteContent, deleteContent_contentId - The identifier of the content. Can be either the ID or the ARN. URLs
cannot contain the ARN.
DeleteContent, deleteContent_knowledgeBaseId - The identifier of the knowledge base. Can be either the ID or the ARN.
URLs cannot contain the ARN.
Request Lenses
deleteContent_contentId :: Lens' DeleteContent Text Source #
The identifier of the content. Can be either the ID or the ARN. URLs cannot contain the ARN.
deleteContent_knowledgeBaseId :: Lens' DeleteContent Text Source #
The identifier of the knowledge base. Can be either the ID or the ARN. URLs cannot contain the ARN.
Destructuring the Response
data DeleteContentResponse Source #
See: newDeleteContentResponse smart constructor.
Constructors
| DeleteContentResponse' | |
Fields
| |
Instances
newDeleteContentResponse Source #
Create a value of DeleteContentResponse 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:DeleteContentResponse', deleteContentResponse_httpStatus - The response's http status code.
Response Lenses
deleteContentResponse_httpStatus :: Lens' DeleteContentResponse Int Source #
The response's http status code.