Skip to content

AWS SQS error when sending message. #15

Answered by wlandgraf
LeifEirik asked this question in Q&A
Discussion options

You must be logged in to vote

Try this:

    lClient := TAmazonSQSClient.Create(AWS_ACCESS_KEY, AWS_SECRET_KEY, TRegionEndpoints.USEast1);

And of course, for production environments, never put access key and secret key directly in code.

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@LeifEirik
Comment options

Answer selected by LeifEirik
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants