Skip to content

fix get_all methods for HubContent and ImageVersion #291

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

Closed
wants to merge 0 commits into from

Conversation

mollyheamazon
Copy link

Issue #, if available:

Description of changes:

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@mollyheamazon mollyheamazon requested a review from a team as a code owner April 24, 2025 22:29
@mollyheamazon mollyheamazon requested a review from liujiaorr April 24, 2025 22:29
@mollyheamazon mollyheamazon deployed to manual-approval April 24, 2025 22:29 — with GitHub Actions Active
custom_key_mapping_str = add_indent(custom_key_mapping_str, 4)
elif summary_name == "HubContentInfo":
custom_key_mapping = {
"HubContentArn": "HubName",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this work?

I believe we will need to customize this dict and the logic in the ResourceIterator to extract the name from the Arn and map it correctly.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see. Let me deep dive this a bit more.

Copy link
Collaborator

@benieric benieric Apr 24, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What I had thought of was potentially setting a lambda function for such custom things in this dict that the ResourceIterator can understand and do the translation.

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

Successfully merging this pull request may close these issues.

2 participants