pub fn default_provider() -> BuilderExpand description
Default App Name Provider chain
This provider will check the following sources in order:
- Environment variables: 
AWS_SDK_UA_APP_ID - Profile files from the key 
sdk_ua_app_id 
§Location of Profile Files
- The location of the config file will be loaded from the 
AWS_CONFIG_FILEenvironment variable with a fallback to~/.aws/config - The location of the credentials file will be loaded from the 
AWS_SHARED_CREDENTIALS_FILEenvironment variable with a fallback to~/.aws/credentials 
The location of these files can also be customized programmatically using ProfileFiles.
§Home directory resolution
Home directory resolution is implemented to match the behavior of the CLI & Python. ~ is only
used for home directory resolution when it:
- Starts the path
 - Is followed immediately by 
/or a platform specific separator. (On windows,~/and~\both resolve to the home directory. 
When determining the home directory, the following environment variables are checked:
HOMEon all platformsUSERPROFILEon Windows- The concatenation of 
HOMEDRIVEandHOMEPATHon Windows ($HOMEDRIVE$HOMEPATH) 
§Examples
Loads “my-app” as the app name
[default]
sdk_ua_app_id = my-appLoads “my-app” as the app name if and only if the AWS_PROFILE environment variable
is set to other.
[profile other]
sdk_ua_app_id = my-app