From 2e64e44829b022b192202c614fa86f4ef3d6e626 Mon Sep 17 00:00:00 2001 From: Andrea Amorosi Date: Thu, 12 Oct 2023 17:22:05 +0200 Subject: [PATCH] chore(docs): update imports --- examples/cdk/functions/get-all-items.ts | 2 +- examples/sam/src/get-all-items.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/cdk/functions/get-all-items.ts b/examples/cdk/functions/get-all-items.ts index f4479b6806..cf74cfd2fc 100644 --- a/examples/cdk/functions/get-all-items.ts +++ b/examples/cdk/functions/get-all-items.ts @@ -1,6 +1,6 @@ import { injectLambdaContext } from '@aws-lambda-powertools/logger/middleware'; import { logMetrics } from '@aws-lambda-powertools/metrics/middleware'; -import { captureLambdaHandler } from '@aws-lambda-powertools/tracer'; +import { captureLambdaHandler } from '@aws-lambda-powertools/tracer/middleware'; import { ScanCommand } from '@aws-sdk/lib-dynamodb'; import middy from '@middy/core'; import { diff --git a/examples/sam/src/get-all-items.ts b/examples/sam/src/get-all-items.ts index 125da137c9..79160eddfa 100644 --- a/examples/sam/src/get-all-items.ts +++ b/examples/sam/src/get-all-items.ts @@ -8,7 +8,7 @@ import { tableName } from './common/constants'; import { logger, tracer, metrics } from './common/powertools'; import { logMetrics } from '@aws-lambda-powertools/metrics/middleware'; import { injectLambdaContext } from '@aws-lambda-powertools/logger/middleware'; -import { captureLambdaHandler } from '@aws-lambda-powertools/tracer'; +import { captureLambdaHandler } from '@aws-lambda-powertools/tracer/middleware'; import { docClient } from './common/dynamodb-client'; import { ScanCommand } from '@aws-sdk/lib-dynamodb'; import { getUuid } from './common/getUuid';