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 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.
DeleteAssistantAssociation' | |
|
Instances
newDeleteAssistantAssociation Source #
:: 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:
$sel:assistantAssociationId:DeleteAssistantAssociation'
, deleteAssistantAssociation_assistantAssociationId
- The identifier of the assistant association. Can be either the ID or the
ARN. URLs cannot contain the ARN.
$sel:assistantId: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.
DeleteAssistantAssociationResponse' | |
|
Instances
Eq DeleteAssistantAssociationResponse Source # | |
Read DeleteAssistantAssociationResponse Source # | |
Show DeleteAssistantAssociationResponse Source # | |
Generic DeleteAssistantAssociationResponse Source # | |
NFData DeleteAssistantAssociationResponse Source # | |
Defined in Amazonka.Wisdom.DeleteAssistantAssociation rnf :: DeleteAssistantAssociationResponse -> () # | |
type Rep DeleteAssistantAssociationResponse Source # | |
Defined in Amazonka.Wisdom.DeleteAssistantAssociation type Rep DeleteAssistantAssociationResponse = D1 ('MetaData "DeleteAssistantAssociationResponse" "Amazonka.Wisdom.DeleteAssistantAssociation" "libZSservicesZSamazonka-wisdomZSamazonka-wisdom" 'False) (C1 ('MetaCons "DeleteAssistantAssociationResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newDeleteAssistantAssociationResponse Source #
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.