I have been trying to set up CodeCommit with aws sdk, but when i try and list al the repositories, it says “Unknown Error Gateway Timeout”
. The secret keys works fine with S3 but codeCommit gives Gateway timeout error.
Any idea
?
The user with secret keys have administrator privileges
I tried this, where codeCommit has been defined in other file. Any reason why I am getting this error?
const { codeCommit } = require ("./../../aws")
var hello = await codeCommit.listRepositories(params).promise();;