Builder
Properties
An optional application specific identifier. When set it will be appended to the User-Agent header of every request in the form of: app/{applicationId}
. When not explicitly set, the value will be loaded from the following locations:
The ordered preference of AuthScheme that this client will use.
Configure the provider used to resolve the authentication scheme to use for a particular operation.
Register new or override default AuthSchemes configured for this client. By default, the set of auth schemes configured comes from the service model. An auth scheme configured explicitly takes precedence over the defaults and can be used to customize identity resolution and signing for specific authentication schemes.
A reader-friendly name for the client.
The AWS credentials provider to use for authenticating requests. If not provided a aws.sdk.kotlin.runtime.auth.credentials.DefaultChainCredentialsProvider instance will be used. NOTE: The caller is responsible for managing the lifetime of the provider when set. The SDK client will not close it when the client is closed.
The endpoint provider used to determine where to make service requests. This is an advanced config option.
A custom endpoint to route requests to. The endpoint set here is passed to the configured endpointProvider, which may inspect and modify it as needed.
Add an aws.smithy.kotlin.runtime.client.Interceptor that will have access to read and modify the request and response objects as they are processed by the SDK. Interceptors added using this method are executed in the order they are configured and are always later than any added automatically by the SDK.
The AWS region (e.g. us-west-2
) to make requests to. See about AWS global infrastructure for more information
The policy to use for evaluating operation results and determining whether/how to retry.
The telemetry provider used to instrument the SDK operations with. By default, the global telemetry provider will be used.
` Disabled by default.