ProfileCredentialsProvider
constructor(profileName: String? = null, region: String? = null, platformProvider: <Error class: unknown class> = PlatformProvider.System, httpClient: <Error class: unknown class>? = null)
constructor(profileName: String? = null, region: String? = null, platformProvider: <Error class: unknown class> = PlatformProvider.System, httpClient: <Error class: unknown class>? = null, configurationSource: AwsConfigurationSource? = null)
Parameters
profileName
Override the profile name to use. If not provided it will be resolved internally via environment (see AwsSdkSetting.AwsProfile) or defaulted to default if not configured.
region
The AWS region to use, this will be resolved internally if not provided.
platformProvider
The platform API provider
httpClient
the HttpClientEngine instance to use to make requests. NOTE: This engine's resources and lifetime are NOT managed by the provider. Caller is responsible for closing.
configurationSource
An optional configuration source to use for loading shared config. If not provided, it will be resolved from the environment.