| 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.DeleteAssistant
Description
Deletes an assistant.
Synopsis
- data DeleteAssistant = DeleteAssistant' {
- assistantId :: Text
- newDeleteAssistant :: Text -> DeleteAssistant
- deleteAssistant_assistantId :: Lens' DeleteAssistant Text
- data DeleteAssistantResponse = DeleteAssistantResponse' {
- httpStatus :: Int
- newDeleteAssistantResponse :: Int -> DeleteAssistantResponse
- deleteAssistantResponse_httpStatus :: Lens' DeleteAssistantResponse Int
Creating a Request
data DeleteAssistant Source #
See: newDeleteAssistant smart constructor.
Constructors
| DeleteAssistant' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> DeleteAssistant |
Create a value of DeleteAssistant 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:
DeleteAssistant, deleteAssistant_assistantId - The identifier of the Wisdom assistant. Can be either the ID or the ARN.
URLs cannot contain the ARN.
Request Lenses
deleteAssistant_assistantId :: Lens' DeleteAssistant Text Source #
The identifier of the Wisdom assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.
Destructuring the Response
data DeleteAssistantResponse Source #
See: newDeleteAssistantResponse smart constructor.
Constructors
| DeleteAssistantResponse' | |
Fields
| |
Instances
newDeleteAssistantResponse Source #
Create a value of DeleteAssistantResponse 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:DeleteAssistantResponse', deleteAssistantResponse_httpStatus - The response's http status code.
Response Lenses
deleteAssistantResponse_httpStatus :: Lens' DeleteAssistantResponse Int Source #
The response's http status code.