The command is the same as that you use normally, all you need to do is replace the data to the file location. Its better to navigate to the location where your json file is.
C:\Users\priyj_kumar\Desktop>aws dynamodb put-item --table-name YourTableName --item file://filename.json --return-consumed-capacity TOTAL
The output that you will receive is as follows:-
Hope this helps.