Skip to content

boto3.resource vs boto3.client #4414

Discussion options

You must be logged in to vote

Hi @plushcare-chau, thanks for reaching out. I'll be turning this into a discussion, as it is a guidance question.

Using the client is recommended. Using resources might work depending on what you're trying to do, but resources have been feature frozen (not deprecated) for some time now, and might be missing recent service features. If what you're trying to do is fully supported by resources, then you can use either. You can check SQS resource operations here. Let me know if you have any follow-up questions.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by plushcare-chau
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #4412 on January 29, 2025 18:31.