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

Updating docs for app_name on ConfigLoader #3645

Merged
merged 2 commits into from
May 16, 2024

Conversation

landonxjames
Copy link
Contributor

Motivation and Context

Docs indicating that the AppName can be loaded from an environment variable or profile key were buried in the default provider and would be hard to find for users.

Description

This change adds documentation to the app_name method on ConfigLoader that makes the options for loading the AppName more explicit.

Testing

Ran cargo doc to ensure the docs were generated correctly

Checklist

  • I have updated CHANGELOG.next.toml if I made changes to the smithy-rs codegen or runtime crates

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

@landonxjames landonxjames requested review from a team as code owners May 15, 2024 21:29
Copy link

A new generated diff is ready to view.

  • AWS SDK (ignoring whitespace)
  • No codegen difference in the Client Test
  • No codegen difference in the Server Test
  • No codegen difference in the Server Test Python
  • No codegen difference in the Server Test Typescript

A new doc preview is ready to view.

Copy link
Contributor

@ysaito1001 ysaito1001 left a comment

Choose a reason for hiding this comment

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

The change looks good! Could you do me a favor and add yourself to tools/ci-build/changelogger/smithy-rs-maintainers.txt as done in this PR?

CHANGELOG.next.toml Outdated Show resolved Hide resolved
@landonxjames landonxjames force-pushed the landonxjames/config-app-name-docs branch from ad54a69 to 02179e6 Compare May 16, 2024 03:10
Bumping version of aws-config crate

Updates from PR comments

Adding self to maintainers list and changing the target of the
CHANGELOG entry.
@landonxjames landonxjames force-pushed the landonxjames/config-app-name-docs branch from 02179e6 to 95f9621 Compare May 16, 2024 03:16
Copy link

A new generated diff is ready to view.

  • AWS SDK (ignoring whitespace)
  • No codegen difference in the Client Test
  • No codegen difference in the Server Test
  • No codegen difference in the Server Test Python
  • No codegen difference in the Server Test Typescript

A new doc preview is ready to view.

Copy link
Contributor

@ysaito1001 ysaito1001 left a comment

Choose a reason for hiding this comment

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

LGTM!

CHANGELOG.next.toml Outdated Show resolved Hide resolved
Co-authored-by: ysaito1001 <awsaito@amazon.com>
Copy link

A new generated diff is ready to view.

  • AWS SDK (ignoring whitespace)
  • No codegen difference in the Client Test
  • No codegen difference in the Server Test
  • No codegen difference in the Server Test Python
  • No codegen difference in the Server Test Typescript

A new doc preview is ready to view.

@landonxjames landonxjames added this pull request to the merge queue May 16, 2024
Merged via the queue into main with commit c45dc12 May 16, 2024
44 checks passed
@landonxjames landonxjames deleted the landonxjames/config-app-name-docs branch May 16, 2024 20: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.

None yet

2 participants