Are there tools to view SQS queue status with only API keys?

0 votes

I am working on Amazon SES with SQS to receive the bounce list of the email. For security reason, I am only given the information that necessary to connect to the SES and SQS service (host name, API keys, etc), so I am not able to use the AWS console to see the status of the queue. This is reasonable as I don't want to mess with many other services that are under the same account - especially when the services are not free. However, as the job is added to SQS by SES, I would need a way to see what's in SQS, so as to know if the bug is because the job is not inside SQS or simply because my code failed to retrieve the job.

So, are there tools that I can view the SQS status when I don't have access to AWS console?

Aug 6, 2018 in AWS by bug_seeker
• 14,970 points
36 views

1 answer to this question.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
0 votes

Yes, you can use the AWS CLI (https://aws.amazon.com/cli/) to view basic information about the queue:

For example:

aws sqs get-queue-attributes --queue-url https://sqs.us-east-1.amazonaws.com/99999999/HBDService-BackgroundTaskQueue --attribute-names All

will show you this:

{

"Attributes":

   { "LastModifiedTimestamp":"1522235654", "ApproximateNumberOfMessages":"7",

     "ReceiveMessageWaitTimeSeconds":"20", "CreatedTimestamp":"1522235629",

     "ApproximateNumberOfMessagesDelayed":"0",

     "QueueArn":

     "arn:aws:sqs:us-east-1:999999999:HBDService-BackgroundTaskQueue",

     "RedrivePolicy": "

         {\"deadLetterTargetArn\"\"arn:aws:sqs:us-east-1:999999999:
         HBDService-BackgroundTaskQueue-DLQ\",\"maxReceiveCount\":100}", 

         "MaximumMessageSize":"262144", "DelaySeconds":"0",

         "ApproximateNumberOfMessagesNotVisible":"0", "MessageRetentionPeriod":"1209600",

         "VisibilityTimeout":"180"

     }

}

answered Aug 6, 2018 by Priyaj
• 56,120 points

Related Questions In AWS

0 votes
0 answers

Are there tools to view SQS queue status with only API keys?

I am working on Amazon SES with ...READ MORE

Aug 6, 2018 in AWS by bug_seeker
• 14,970 points

closed Aug 6, 2018 by Priyaj 16 views
+1 vote
1 answer
0 votes
1 answer
0 votes
1 answer

How to enable Amazon Simple Queue Service (SQS)

Please follow the below steps in order ...READ MORE

answered Dec 28, 2018 in AWS by Shuvodip
40 views
0 votes
1 answer
0 votes
1 answer
+1 vote
2 answers

Is there a API to get AWS Marketplace Products

AWS Marketplace Entitlement Service API Reference The AWS ...READ MORE

answered Aug 1, 2018 in AWS by findingbugs
• 4,730 points
44 views

© 2018 Brain4ce Education Solutions Pvt. Ltd. All rights Reserved.
"PMP®","PMI®", "PMI-ACP®" and "PMBOK®" are registered marks of the Project Management Institute, Inc. MongoDB®, Mongo and the leaf logo are the registered trademarks of MongoDB, Inc.