| 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.DeleteAssistantAssociation
Description
Deletes an assistant association.
Synopsis
- data DeleteAssistantAssociation = DeleteAssistantAssociation' {}
- newDeleteAssistantAssociation :: Text -> Text -> DeleteAssistantAssociation
- deleteAssistantAssociation_assistantAssociationId :: Lens' DeleteAssistantAssociation Text
- deleteAssistantAssociation_assistantId :: Lens' DeleteAssistantAssociation Text
- data DeleteAssistantAssociationResponse = DeleteAssistantAssociationResponse' {
- httpStatus :: Int
- newDeleteAssistantAssociationResponse :: Int -> DeleteAssistantAssociationResponse
- deleteAssistantAssociationResponse_httpStatus :: Lens' DeleteAssistantAssociationResponse Int
Creating a Request
data DeleteAssistantAssociation Source #
See: newDeleteAssistantAssociation smart constructor.
Constructors
| DeleteAssistantAssociation' | |
Fields
| |
Instances
newDeleteAssistantAssociation Source #
Arguments
| :: Text | |
| -> Text | |
| -> DeleteAssistantAssociation |
Create a value of DeleteAssistantAssociation 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:
DeleteAssistantAssociation, deleteAssistantAssociation_assistantAssociationId - The identifier of the assistant association. Can be either the ID or the
ARN. URLs cannot contain the ARN.
DeleteAssistantAssociation, deleteAssistantAssociation_assistantId - The identifier of the Wisdom assistant. Can be either the ID or the ARN.
URLs cannot contain the ARN.
Request Lenses
deleteAssistantAssociation_assistantAssociationId :: Lens' DeleteAssistantAssociation Text Source #
The identifier of the assistant association. Can be either the ID or the ARN. URLs cannot contain the ARN.
deleteAssistantAssociation_assistantId :: Lens' DeleteAssistantAssociation 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 DeleteAssistantAssociationResponse Source #
See: newDeleteAssistantAssociationResponse smart constructor.
Constructors
| DeleteAssistantAssociationResponse' | |
Fields
| |
Instances
newDeleteAssistantAssociationResponse Source #
Arguments
| :: Int | |
| -> DeleteAssistantAssociationResponse |
Create a value of DeleteAssistantAssociationResponse 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:DeleteAssistantAssociationResponse', deleteAssistantAssociationResponse_httpStatus - The response's http status code.
Response Lenses
deleteAssistantAssociationResponse_httpStatus :: Lens' DeleteAssistantAssociationResponse Int Source #
The response's http status code.