commonMain.aws.sdk.kotlin.services.sagemakergeospatial.auth.DefaultSageMakerGeospatialAuthSchemeProvider.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sagemakergeospatial-jvm Show documentation
Show all versions of sagemakergeospatial-jvm Show documentation
The AWS SDK for Kotlin client for SageMaker Geospatial
The newest version!
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.sagemakergeospatial.auth
import aws.sdk.kotlin.services.sagemakergeospatial.endpoints.SageMakerGeospatialEndpointProvider
import aws.smithy.kotlin.runtime.auth.AuthOption
import aws.smithy.kotlin.runtime.http.auth.sigV4
public class DefaultSageMakerGeospatialAuthSchemeProvider(private val endpointProvider: SageMakerGeospatialEndpointProvider? = null) : SageMakerGeospatialAuthSchemeProvider {
private val operationOverrides = mapOf>(
)
private val serviceDefaults = listOf(
sigV4(),
)
override suspend fun resolveAuthScheme(params: SageMakerGeospatialAuthSchemeParameters): List {
val modeledAuthOptions = operationOverrides.getOrElse(params.operationName) {
serviceDefaults
}
return modeledAuthOptions
}
}