commonMain.aws.sdk.kotlin.services.databrew.endpoints.EndpointProvider.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.databrew.endpoints
import aws.sdk.kotlin.runtime.endpoint.asSigningContext
import aws.sdk.kotlin.runtime.endpoint.authScheme
import aws.smithy.kotlin.runtime.auth.awssigning.SigningContextualizedEndpoint
import aws.smithy.kotlin.runtime.auth.awssigning.SigningEndpointProvider
import aws.smithy.kotlin.runtime.client.endpoints.EndpointProvider
/**
* Resolves to an endpoint for a given service operation.
*/
public typealias EndpointProvider = EndpointProvider
internal fun EndpointProvider.asSigningProvider(params: EndpointParameters): SigningEndpointProvider = {
val endpoint = resolveEndpoint(params)
SigningContextualizedEndpoint(endpoint, endpoint.authScheme?.asSigningContext())
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy