All Downloads are FREE. Search and download functionalities are using the official Maven repository.

commonMain.aws.sdk.kotlin.services.finspace.endpoints.EndpointProvider.kt Maven / Gradle / Ivy

There is a newer version: 1.3.77
Show newest version
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!

package aws.sdk.kotlin.services.finspace.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