MCPcopy Index your code
hub / github.com/simstudioai/sim / getClient

Function getClient

apps/sim/lib/monitoring/metrics.ts:62–67  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

60let handlersRegistered = false
61
62function getClient(): CloudWatchClient {
63 if (!client) {
64 client = new CloudWatchClient({ region: process.env.AWS_REGION || 'us-east-1' })
65 }
66 return client
67}
68
69function ensureBackground(): void {
70 if (timer) return

Callers 1

flushHostedKeyMetricsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected