disassociateAgentCollaborator method

Future<void> disassociateAgentCollaborator({
  1. required String agentId,
  2. required String agentVersion,
  3. required String collaboratorId,
})

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,
  );
}