updateUserProficiencies method
Updates the properties associated with the proficiencies of 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 be updated for the user. Proficiencies must first be
associated to the user. You can do this using AssociateUserProficiencies
API.
Implementation
Future<void> updateUserProficiencies({
required String instanceId,
required String userId,
required List<UserProficiency> userProficiencies,
}) async {
final $payload = <String, dynamic>{
'UserProficiencies': userProficiencies,
};
await _protocol.send(
payload: $payload,
method: 'POST',
requestUri:
'/users/${Uri.encodeComponent(instanceId)}/${Uri.encodeComponent(userId)}/proficiencies',
exceptionFnMap: _exceptionFns,
);
}