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

SNS: Port publish_batch to the Topic resource #3928

Closed
2 tasks
CharlesPerrotMinotHCHB opened this issue Nov 10, 2023 · 3 comments
Closed
2 tasks

SNS: Port publish_batch to the Topic resource #3928

CharlesPerrotMinotHCHB opened this issue Nov 10, 2023 · 3 comments
Assignees
Labels
feature-request This issue requests a feature. resources

Comments

@CharlesPerrotMinotHCHB
Copy link

CharlesPerrotMinotHCHB commented Nov 10, 2023

Describe the feature

The SNS client has a public_batch to send a batch of notifications: https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/sns/client/publish_batch.html

Notice that in a public_batch, all notifications are sent to one unique TopicArn. Unfortunately, the Topic resource does not have that method, only having publish supported: https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/sns/topic/index.html

Use Case

Having a publish_batch method inside the Topic Resource would simplify code and the integration with the SNS Extended Client Library (https://github.com/awslabs/amazon-sns-python-extended-client-lib)

Proposed Solution

No response

Other Information

No response

Acknowledgements

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

SDK version used

Latest, 1.28.83 as of this writing

Environment details (OS name and version, etc.)

Irrelevant

@CharlesPerrotMinotHCHB CharlesPerrotMinotHCHB added feature-request This issue requests a feature. needs-triage This issue or PR still needs to be triaged. labels Nov 10, 2023
@tim-finnigan tim-finnigan self-assigned this Nov 15, 2023
@tim-finnigan tim-finnigan added resources and removed needs-triage This issue or PR still needs to be triaged. labels Nov 15, 2023
@tim-finnigan
Copy link
Contributor

Hi @CharlesPerrotMinotHCHB thanks for reaching out. There is a feature freeze on boto3 resources as documented here: https://boto3.amazonaws.com/v1/documentation/api/latest/guide/resources.html

The AWS Python SDK team does not intend to add new features to the resources interface in boto3. Existing interfaces will continue to operate during boto3’s lifecycle. Customers can find access to newer service features through the client interface.

I will go ahead and close this issue for those reasons.

@tim-finnigan tim-finnigan closed this as not planned Won't fix, can't repro, duplicate, stale Nov 15, 2023
Copy link

⚠️COMMENT VISIBILITY WARNING⚠️

Comments on closed issues are hard for our team to see.
If you need more assistance, please either tag a team member or open a new issue that references this one.
If you wish to keep having a conversation with other community members under this issue feel free to do so.

@CharlesPerrotMinotHCHB
Copy link
Author

This is quite unfortunate, because resources have a different usage to clients, but thank you for taking the time.

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. resources
Projects
None yet
Development

No branches or pull requests

2 participants