diff --git a/Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Config/AWSDefaultClientConfiguration.swift b/Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Config/AWSDefaultClientConfiguration.swift index dfe2265c87d..f94f82ac728 100644 --- a/Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Config/AWSDefaultClientConfiguration.swift +++ b/Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Config/AWSDefaultClientConfiguration.swift @@ -11,7 +11,7 @@ import SmithyIdentityAPI public protocol AWSDefaultClientConfiguration { /// The AWS credential identity resolver to be used for AWS credentials. /// - /// If no resolver is supplied, the SDK will look for credentials in the environment, then in the `~/.aws/credentials` file. + /// If no resolver is supplied, `AWSSDKIdentity.DefaultAWSCredentialIdentityResolverChain` gets used by default. var awsCredentialIdentityResolver: any AWSCredentialIdentityResolver { get set } /// Specifies whether FIPS endpoints should be used. @@ -20,12 +20,11 @@ public protocol AWSDefaultClientConfiguration { /// Specifies whether dual-stack endpoints should be used. var useDualStack: Bool? { get set } - /// An identifying string for the application being used with this SDK. + /// An identifying string for the application using the SDK. /// - /// This value is set after resolving app ID from the standard progression of potential sources. + /// The application ID is submitted as part of the `user-agent` request header that allows analyzing SDK usage and troubleshooting. /// - /// The application ID is submitted as part of the `user-agent` and allows for better tracking and troubleshooting. - /// The application ID may also be retrieved from the environment variable `AWS_SDK_UA_APP_ID` or from the + /// The application ID may be retrieved from the environment variable `AWS_SDK_UA_APP_ID` or from the /// configuration file field `sdk_ua_app_id` if it is not set here. var appID: String? { get set } diff --git a/Sources/Core/AWSSDKIdentity/Sources/AWSSDKIdentity/AWSCredentialIdentityResolvers/DefaultAWSCredentialIdentityResolverChain.swift b/Sources/Core/AWSSDKIdentity/Sources/AWSSDKIdentity/AWSCredentialIdentityResolvers/DefaultAWSCredentialIdentityResolverChain.swift index e6e7123972d..62b13bb0bac 100644 --- a/Sources/Core/AWSSDKIdentity/Sources/AWSSDKIdentity/AWSCredentialIdentityResolvers/DefaultAWSCredentialIdentityResolverChain.swift +++ b/Sources/Core/AWSSDKIdentity/Sources/AWSSDKIdentity/AWSCredentialIdentityResolvers/DefaultAWSCredentialIdentityResolverChain.swift @@ -16,7 +16,7 @@ import protocol SmithyIdentity.AWSCredentialIdentityResolvedByCRT /// A credential identity resolver that uses the default AWS credential identity resolver chain used by most AWS SDKs. /// This is the default resolver when no credential identity resolver is provided by the user. /// -/// The chain resolves the credneital identity in the following order: +/// The chain resolves the credential identity in the following order: /// 1. Environment /// 2. Profile /// 3. Web Identity Tokens (STS Web Identity)