commonMain.aws.sdk.kotlin.runtime.region.RegionProvider.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aws-config-jvm Show documentation
Show all versions of aws-config-jvm Show documentation
Support for AWS configuration
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0
*/
package aws.sdk.kotlin.runtime.region
/**
* Interface for providing AWS region information. Implementations are free to use any strategy for
* providing region information
*/
public interface RegionProvider {
/**
* Return the region name to use. If region information is not available, implementations should return null
*/
public suspend fun getRegion(): String?
}