disassociateUserProficiencies method

Future<void> disassociateUserProficiencies({
  1. required String instanceId,
  2. required String userId,
  3. required List<UserProficiencyDisassociate> userProficiencies,
})

Disassociates a set of proficiencies from a user.

May throw InternalServiceException. May throw InvalidParameterException. May throw InvalidRequestException. May throw ResourceNotFoundException. May throw ThrottlingException.

Parameter instanceId : The identifier of the Connect Customer instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

Parameter userId : The identifier of the user account.

Parameter userProficiencies : The proficiencies to disassociate from the user.

Implementation

Future<void> disassociateUserProficiencies({
  required String instanceId,
  required String userId,
  required List<UserProficiencyDisassociate> userProficiencies,
}) async {
  final $payload = <String, dynamic>{
    'UserProficiencies': userProficiencies,
  };
  await _protocol.send(
    payload: $payload,
    method: 'POST',
    requestUri:
        '/users/${Uri.encodeComponent(instanceId)}/${Uri.encodeComponent(userId)}/disassociate-proficiencies',
    exceptionFnMap: _exceptionFns,
  );
}