disassociateAgentCollaborator method
Disassociates an agent collaborator.
May throw AccessDeniedException.
May throw ConflictException.
May throw InternalServerException.
May throw ResourceNotFoundException.
May throw ThrottlingException.
May throw ValidationException.
Parameter agentId :
An agent ID.
Parameter agentVersion :
The agent's version.
Parameter collaboratorId :
The collaborator's ID.
Implementation
Future<void> disassociateAgentCollaborator({
required String agentId,
required String agentVersion,
required String collaboratorId,
}) async {
final response = await _protocol.send(
payload: null,
method: 'DELETE',
requestUri:
'/agents/${Uri.encodeComponent(agentId)}/agentversions/${Uri.encodeComponent(agentVersion)}/agentcollaborators/${Uri.encodeComponent(collaboratorId)}/',
exceptionFnMap: _exceptionFns,
);
}