pub trait ResolveEndpoint: Send + Sync + Debug {
    // Required method
    fn resolve_endpoint<'a>(&'a self, params: &'a Params) -> EndpointFuture<'a> ;

    // Provided method
    fn into_shared_resolver(self) -> SharedEndpointResolver
       where Self: Sized + 'static { ... }
}
Expand description

Endpoint resolver trait specific to AWS CloudFormation

Required Methods§

source

fn resolve_endpoint<'a>(&'a self, params: &'a Params) -> EndpointFuture<'a>

Resolve an endpoint with the given parameters

Provided Methods§

source

fn into_shared_resolver(self) -> SharedEndpointResolver
where Self: Sized + 'static,

Convert this service-specific resolver into a SharedEndpointResolver

The resulting resolver will downcast EndpointResolverParams into crate::config::endpoint::Params.

Implementors§