updateUserIdentityInfo method
Updates the identity information for the specified user.
May throw InternalServiceException.
May throw InvalidParameterException.
May throw InvalidRequestException.
May throw ResourceNotFoundException.
May throw ThrottlingException.
Parameter identityInfo :
The identity information for the user.
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.
Implementation
Future<void> updateUserIdentityInfo({
required UserIdentityInfo identityInfo,
required String instanceId,
required String userId,
}) async {
final $payload = <String, dynamic>{
'IdentityInfo': identityInfo,
};
await _protocol.send(
payload: $payload,
method: 'POST',
requestUri:
'/users/${Uri.encodeComponent(instanceId)}/${Uri.encodeComponent(userId)}/identity-info',
exceptionFnMap: _exceptionFns,
);
}