I am trying to use AWS SDK for Go to implement S3 apis to connect with third party storage provider (Dell OneFS) who support S3 API. First in place, is AWS SDK is tightly coupled with AWS or it can be used to connect with any storage provider who support S3 API? If so, can someone help me to configuring the target host and other details?
NewConfig()with endpoint, credentials, region, and all other parameters pointing to your storage provider
I've just started using Lambda and Go thus sorry for newbie questions.
So the question:
I have a lambda that may return errors with different status codes: 400, 404, 500.
On top of it I have an API Gateway that right now always returns me 502 when lambda returns any error.
I've failed to map it through response templates.
Could someone please give me a hand with this? What is a proper way to manage errors handling?