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

Method new

crates/chat-cli/src/telemetry/mod.rs:139–145  ·  view source on GitHub ↗
(endpoint: &'static str, cognito_pool_id: &'static str, region: &'static str)

Source from the content-addressed store, hash-verified

137 );
138
139 const fn new(endpoint: &'static str, cognito_pool_id: &'static str, region: &'static str) -> Self {
140 Self {
141 endpoint,
142 cognito_pool_id,
143 region: Region::from_static(region),
144 }
145 }
146}
147
148#[derive(Debug)]

Callers

nothing calls this directly

Calls 15

is_telemetry_disabledFunction · 0.85
StaticEndpointClass · 0.85
app_nameFunction · 0.85
is_sigv4_enabledFunction · 0.85
send_eventMethod · 0.80
get_boolMethod · 0.80
clientFunction · 0.50
recvMethod · 0.45
buildMethod · 0.45
credentials_providerMethod · 0.45
regionMethod · 0.45
app_nameMethod · 0.45

Tested by

no test coverage detected