Skip to content

Commit

Permalink
Update sdk_ua_app_id docs (#3019)
Browse files Browse the repository at this point in the history
  • Loading branch information
alextwoods committed May 11, 2024
1 parent 7f6e1cf commit 7af05d3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions gems/aws-sdk-core/lib/aws-sdk-core/plugins/user_agent.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@ class UserAgent < Seahorse::Client::Plugin
doc_type: 'String',
docstring: <<-DOCS) do |cfg|
A unique and opaque application ID that is appended to the
User-Agent header as app/<sdk_ua_app_id>. It should have a
maximum length of 50.
User-Agent header as app/sdk_ua_app_id. It should have a
maximum length of 50. This variable is sourced from environment
variable AWS_SDK_UA_APP_ID or the shared config profile attribute sdk_ua_app_id.
DOCS
app_id = ENV['AWS_SDK_UA_APP_ID']
app_id ||= Aws.shared_config.sdk_ua_app_id(profile: cfg.profile)
Expand Down

0 comments on commit 7af05d3

Please sign in to comment.