associateUserProficiencies method
Associates a set of proficiencies with 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 associate with the user.
Implementation
Future<void> associateUserProficiencies({
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)}/associate-proficiencies',
exceptionFnMap: _exceptionFns,
);
}