pub trait ResolveAwsEndpoint: Send + Sync + Debug {
    fn resolve_endpoint(&self, region: &Region) -> Result<AwsEndpoint, BoxError>;
}
Expand description

Resolve the AWS Endpoint for a given region

To provide a static endpoint, Endpoint implements this trait. Example usage:

use aws_smithy_http::endpoint::Endpoint;
use http::Uri;
let config = dynamodb::Config::builder()
    .endpoint(
        Endpoint::immutable(Uri::from_static("http://localhost:8080"))
    );

Each AWS service generates their own implementation of ResolveAwsEndpoint.

Required Methods

Resolves the AWS endpoint for a given region.

Implementations on Foreign Types

An Endpoint can be its own resolver to support static endpoints

Implementors