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
• 15,510 points
1,202 views

1 answer to this question.

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
• 58,020 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
• 15,510 points

closed Aug 6, 2018 by Priyaj 536 views
+1 vote
1 answer
+1 vote
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
740 views
0 votes
1 answer
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,780 points
1,155 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP