How to change API Gateway's deployment version of current stage with aws cli or sdk?

As stated in the question’s title, I want to change deployment version of current stage in AWS API Gateway.
It can be easily achieved via the web console, but I cannot figure out how to make it via cli/sdk,
could anybody kindly tell me whether it is possible or not? If it is, which API or command could I use?
Thanks in advance.