Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Operation to get SQS queue by ARN #3674

Closed
2 tasks
david-hodgson-at-sky opened this issue Apr 19, 2023 · 1 comment
Closed
2 tasks

Operation to get SQS queue by ARN #3674

david-hodgson-at-sky opened this issue Apr 19, 2023 · 1 comment
Assignees
Labels
feature-request This issue requests a feature. investigating This issue is being investigated and/or work is in progress to resolve the issue. p3 This is a minor priority issue sqs

Comments

@david-hodgson-at-sky
Copy link

Describe the feature

get_queue_by_arn for SQS queues

returns a queue resource, given a queue arn

Use Case

Useful when processing SQS messages in a Lambda function. The queue's URL is not received as part of the messages, so I'm forced to either:
use get_queue_by_name, having identifed the account + queue_name from the arn,
or
construct the queue's URL from the arn components.

Proposed Solution

Add the get_queue_by_arn action for the SQS Service Resource

Other Information

No response

Acknowledgements

  • I may be able to implement this feature request
  • This feature might incur a breaking change

SDK version used

1.26.90

Environment details (OS name and version, etc.)

Python 3.10 image for Lambda functions

@david-hodgson-at-sky david-hodgson-at-sky added feature-request This issue requests a feature. needs-triage This issue or PR still needs to be triaged. labels Apr 19, 2023
@RyanFitzSimmonsAK RyanFitzSimmonsAK self-assigned this Apr 19, 2023
@RyanFitzSimmonsAK RyanFitzSimmonsAK added investigating This issue is being investigated and/or work is in progress to resolve the issue. sqs p3 This is a minor priority issue and removed needs-triage This issue or PR still needs to be triaged. labels Apr 19, 2023
@RyanFitzSimmonsAK
Copy link
Contributor

Hi @david-hodgson-at-sky, thanks for this feature request. This has actually come up before for a different SDK. This would need to be a feature request for the SQS service team, so I made a new issue in our cross-SDK repository. I'll also raise the feature request with the SQS service team. Please refer to that issue for updates. Thanks!

aws/aws-sdk#526

@RyanFitzSimmonsAK RyanFitzSimmonsAK changed the title (short issue description) Operation to get SQS queue by ARN Apr 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request This issue requests a feature. investigating This issue is being investigated and/or work is in progress to resolve the issue. p3 This is a minor priority issue sqs
Projects
None yet
Development

No branches or pull requests

2 participants