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

Support EventBridge ListPartnerEventSources & PutPartnerEvents #301

Open
slipdexic opened this issue Jun 8, 2020 · 0 comments
Open

Support EventBridge ListPartnerEventSources & PutPartnerEvents #301

slipdexic opened this issue Jun 8, 2020 · 0 comments

Comments

@slipdexic
Copy link

slipdexic commented Jun 8, 2020

@slipdexic

It would be great to use this tool to show a list of AWS EventBridge Partner event sources
ListPartnerEventSources() and to be able to post data to using PutPartnerEvents()

The PutPartnerEvents() is the same as PutEvents() it just takes an extra parameter
"EventBusName": "string" which is the ARN to the customers EventBus

This feature would only apply to AWS EventBridge Partners not to AWS Customers
https://docs.aws.amazon.com/eventbridge/latest/APIReference/API_ListPartnerEventSources.html
https://docs.aws.amazon.com/eventbridge/latest/APIReference/API_PutPartnerEvents.html

I was looking at the source code , to see if this is something I can add, It seems relatively simple.

One of the ideas I had was a may be add a startup param for "partner-mode" when this mode is active Instead of displaying the getEventBuses() switch that to display the "ListPartnerEventSources"
as your not likely interested in your own buses more injecting into customer buses
so if on the Press "i" on DASHBOARD_FOCUS_INDEX.EVENT_BRIDGE_TREE
still use the same eventInjectionModal screen as it already has all of the required params include the extra "EventBusName" and having the main.injectEvent()
call PutPartnerEvents() instead of PutEvents()

Darryl

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant