I am trying to connect SFDC with aws Dynamodb from last few days using query string parameter but not able to generate signature correctly. I have followed steps mentioned in amazon document still I am getting below response:

<Message>The request signature we calculated does not match the signature you provided. Check your AWS Secret Access Key and signing method. Consult the service documentation for details.</Message>

It seems either some of the parameters I am not using correctly or missing few items. I tried code/steps mentioned shared by one of the post mentioned by sfdcfox in AWS Signature (version 4) in Apex. With this I am successfully able to connect with S3 but while chaning parameters for dynamodb, I am facing issues.

Can someone help me on this?

closed as off-topic by battery.cord, glls, David Reed, Brian Mansfield, Boris Bachovski Jul 31 '18 at 23:38

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions on problems in code you've written must describe the specific problem and include valid code to reproduce it. For help writing short, self-contained syntactically-valid examples, see: SSCCE.org" – battery.cord, glls, David Reed, Brian Mansfield, Boris Bachovski
If this question can be reworded to fit the rules in the help center, please edit the question.