We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7f6e1cf commit 7af05d3Copy full SHA for 7af05d3
gems/aws-sdk-core/lib/aws-sdk-core/plugins/user_agent.rb
@@ -14,8 +14,9 @@ class UserAgent < Seahorse::Client::Plugin
14
doc_type: 'String',
15
docstring: <<-DOCS) do |cfg|
16
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.
+User-Agent header as app/sdk_ua_app_id. It should have a
+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.
20
DOCS
21
app_id = ENV['AWS_SDK_UA_APP_ID']
22
app_id ||= Aws.shared_config.sdk_ua_app_id(profile: cfg.profile)
0 commit comments