Skip to content

Commit 2f1513d

Browse files
remove cloudwatch client declaration
1 parent 53db977 commit 2f1513d

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

lambdas/upsert-letter/src/handler/upsert-handler.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,8 @@ import {
2020
} from "@nhsdigital/nhs-notify-event-schemas-letter-rendering";
2121
import z from "zod";
2222
import { Unit, metricScope } from "aws-embedded-metrics";
23-
import {
24-
CloudWatchClient,
25-
PutMetricDataCommand,
26-
} from "@aws-sdk/client-dynamodb";
2723
import { Deps } from "../config/deps";
2824

29-
const cwClient = new CloudWatchClient({ region: "eu-west-2" });
30-
3125
type SupplierSpec = { supplierId: string; specId: string };
3226
type PreparedEvents = LetterRequestPreparedEventV2 | LetterRequestPreparedEvent;
3327
type UpsertOperation = {

0 commit comments

Comments
 (0)