MCPcopy Index your code
hub / github.com/anomalyco/opencode / createClient

Function createClient

packages/console/core/src/aws.ts:9–18  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

7 let client: AwsClient
8
9 const createClient = () => {
10 if (!client) {
11 client = new AwsClient({
12 accessKeyId: Resource.AWS_SES_ACCESS_KEY_ID.value,
13 secretAccessKey: Resource.AWS_SES_SECRET_ACCESS_KEY.value,
14 region: "us-east-1",
15 })
16 }
17 return client
18 }
19
20 export const sendEmail = fn(
21 z.object({

Callers 2

aws.tsFile · 0.70
daemon.tsFile · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected