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

[Tools] Add service prefix to bundled examples to avoid naming collisions #6026

Merged
merged 3 commits into from
Jan 31, 2024

Conversation

Laren-AWS
Copy link
Contributor

Currently, when a services are bundled (like bedrock, bedrock-runtime, etc.), you cannot list more than one service for an example in the services field of the metadata, because if you do the same example is published with the same ID in the output, which causes a naming collision.

This update prefixes the example names for bundled services with the service client name so that each copy of the example has a unique ID and no collision occurs.

I've also added the full list of services back to the bedrock scenario (which was the original intent and is what uncovered this bug in the first place).


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

add full list of services back to bedrock scenario.
@Laren-AWS Laren-AWS self-assigned this Jan 30, 2024
@Laren-AWS Laren-AWS added On Call Review needed This work needs an on-call review Text Review not needed This contains no text which needs review Task A general update to the code base for language clarification, missing actions, tests, etc. Tools This issue relates to a custom tooling to streamline development tasks labels Jan 30, 2024
@github-actions github-actions bot removed the Tools This issue relates to a custom tooling to streamline development tasks label Jan 30, 2024
@ford-at-aws ford-at-aws added On Call Review complete On call review complete and removed On Call Review needed This work needs an on-call review labels Jan 31, 2024
@DavidSouther DavidSouther merged commit a4f598a into awsdocs:main Jan 31, 2024
8 checks passed
max-webster pushed a commit to max-webster/aws-doc-sdk-examples that referenced this pull request Mar 15, 2024
…ions (awsdocs#6026)

* Add service prefix to bundled examples to avoid naming collisions and add full list of services back to bedrock scenario.
* Fix broken links in scenario block.

---------

Co-authored-by: David Souther <davidsouther+github@gmail.com>
@Laren-AWS Laren-AWS deleted the bundle-prefix branch June 10, 2024 21:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
On Call Review complete On call review complete Task A general update to the code base for language clarification, missing actions, tests, etc. Text Review not needed This contains no text which needs review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants