MCPcopy Create free account
hub / github.com/aws/amazon-q-developer-cli / resolve_endpoint

Method resolve_endpoint

crates/chat-cli/src/telemetry/endpoint.rs:12–16  ·  view source on GitHub ↗
(&'a self, _params: &'a Params)

Source from the content-addressed store, hash-verified

10
11impl ResolveEndpoint for StaticEndpoint {
12 fn resolve_endpoint<'a>(&'a self, _params: &'a Params) -> EndpointFuture<'a> {
13 let endpoint = Endpoint::builder().url(self.0).build();
14 tracing::info!(?endpoint, "Resolving endpoint");
15 EndpointFuture::ready(Ok(endpoint))
16 }
17}
18
19#[cfg(test)]

Callers 1

test_static_endpointFunction · 0.45

Calls 2

buildMethod · 0.45
urlMethod · 0.45

Tested by 1

test_static_endpointFunction · 0.36