deleteAssistantAssociation method
Deletes an assistant association.
May throw AccessDeniedException.
May throw ResourceNotFoundException.
May throw ValidationException.
Parameter assistantAssociationId :
The identifier of the assistant association. Can be either the ID or the
ARN. URLs cannot contain the ARN.
Parameter assistantId :
The identifier of the Wisdom assistant. Can be either the ID or the ARN.
URLs cannot contain the ARN.
Implementation
Future<void> deleteAssistantAssociation({
required String assistantAssociationId,
required String assistantId,
}) async {
final response = await _protocol.send(
payload: null,
method: 'DELETE',
requestUri:
'/assistants/${Uri.encodeComponent(assistantId)}/associations/${Uri.encodeComponent(assistantAssociationId)}',
exceptionFnMap: _exceptionFns,
);
}