You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update docs for non aws-config config builders (#3960)
## Motivation and Context
<!--- Why is this change required? What problem does it solve? -->
<!--- If it fixes an open issue, please link to the issue here -->
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
<!--- Describe your changes in detail -->
## Testing
<!--- Please describe in detail how you tested your changes -->
<!--- Include details of your testing environment, and the tests you ran
to -->
<!--- see how your change affects other areas of the code, etc. -->
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._
Copy file name to clipboardExpand all lines: codegen-client/src/main/kotlin/software/amazon/smithy/rust/codegen/client/smithy/generators/config/ServiceConfigGenerator.kt
+9-2Lines changed: 9 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -399,6 +399,13 @@ class ServiceConfigGenerator(
399
399
}
400
400
401
401
funrender(writer:RustWriter) {
402
+
val configDocs ="""
403
+
Constructs a config builder.
404
+
<div class="warning">
405
+
Note that a config created from this builder will not have the same safe defaults as one created by
406
+
the <a href="https://crates.io/crates/aws-config" target="_blank">aws-config</a> crate.
407
+
</div>
408
+
"""
402
409
writer.docs("Configuration for a $moduleUseName service client.\n")
0 commit comments