'How to fetch a HCP file from Amazons3 bucket using objectId as input parameter is there any API?

I'm using getObject("filepath"); to retrieve a document /xml file from HCP. I need to pass an Object in input to the getObject(); method and retrieve the same. is there any API in amzons3?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source