Skip to content

Commit 7af05d3

Browse files
authored
Update sdk_ua_app_id docs (#3019)
1 parent 7f6e1cf commit 7af05d3

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

gems/aws-sdk-core/lib/aws-sdk-core/plugins/user_agent.rb

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,9 @@ class UserAgent < Seahorse::Client::Plugin
1414
doc_type: 'String',
1515
docstring: <<-DOCS) do |cfg|
1616
A unique and opaque application ID that is appended to the
17-
User-Agent header as app/<sdk_ua_app_id>. It should have a
18-
maximum length of 50.
17+
User-Agent header as app/sdk_ua_app_id. It should have a
18+
maximum length of 50. This variable is sourced from environment
19+
variable AWS_SDK_UA_APP_ID or the shared config profile attribute sdk_ua_app_id.
1920
DOCS
2021
app_id = ENV['AWS_SDK_UA_APP_ID']
2122
app_id ||= Aws.shared_config.sdk_ua_app_id(profile: cfg.profile)

0 commit comments

Comments
 (0)