We cannot directly upload files to aws cloud search using api. You just need to download data from your domain from the domain control panel, and it will be automatically converted to SDF format during the download process using the amazon cloudsearch conolse.
source share