We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 53db977 commit 2f1513dCopy full SHA for 2f1513d
lambdas/upsert-letter/src/handler/upsert-handler.ts
@@ -20,14 +20,8 @@ import {
20
} from "@nhsdigital/nhs-notify-event-schemas-letter-rendering";
21
import z from "zod";
22
import { Unit, metricScope } from "aws-embedded-metrics";
23
-import {
24
- CloudWatchClient,
25
- PutMetricDataCommand,
26
-} from "@aws-sdk/client-dynamodb";
27
import { Deps } from "../config/deps";
28
29
-const cwClient = new CloudWatchClient({ region: "eu-west-2" });
30
-
31
type SupplierSpec = { supplierId: string; specId: string };
32
type PreparedEvents = LetterRequestPreparedEventV2 | LetterRequestPreparedEvent;
33
type UpsertOperation = {
0 commit comments