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

Update docs for non aws-config config builders #3960

Merged
merged 2 commits into from
Jan 3, 2025

Conversation

landonxjames
Copy link
Contributor

@landonxjames landonxjames commented Jan 2, 2025

Motivation and Context

Partially addresses awslabs/aws-sdk-rust#1226, although we might want to look into going further and actually deprecating or warning on these builder methods.

Description

Testing

Doc only update


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

New addition notes that that configs created from these will not have the
same safe defaults as aws-config
Copy link

github-actions bot commented Jan 2, 2025

A new generated diff is ready to view.

A new doc preview is ready to view.

@landonxjames landonxjames marked this pull request as ready for review January 3, 2025 02:37
@landonxjames landonxjames requested a review from a team as a code owner January 3, 2025 02:37
@@ -399,6 +399,7 @@ class ServiceConfigGenerator(
}

fun render(writer: RustWriter) {
val configDocs = "Constructs a config builder. Note that a config created from this builder will not have the same safe defaults as one created by the [aws-config](https://crates.io/crates/aws-config) crate."
Copy link
Contributor

Choose a reason for hiding this comment

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

This is fine but wonder if it's worth trying to make this a callout.

I can't find a doc.rs example but I recall seeing this before and this issue seems to indicate it's possible.

/// <div class="warning">
///
/// Warning text here
///
/// </div>

IDK maybe it's not worth it?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Updated in 4d722e1

Screenshot 2025-01-03 at 08 35 38

Copy link

github-actions bot commented Jan 3, 2025

A new generated diff is ready to view.

A new doc preview is ready to view.

@landonxjames landonxjames added this pull request to the merge queue Jan 3, 2025
Merged via the queue into main with commit f003000 Jan 3, 2025
43 of 44 checks passed
@landonxjames landonxjames deleted the landonxjames/configdocs branch January 3, 2025 17:37
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