diff --git a/lib/lib-dynamodb/src/DynamoDBDocumentClient.ts b/lib/lib-dynamodb/src/DynamoDBDocumentClient.ts index 8d01b3abeb2e..2073fdfa10ac 100644 --- a/lib/lib-dynamodb/src/DynamoDBDocumentClient.ts +++ b/lib/lib-dynamodb/src/DynamoDBDocumentClient.ts @@ -146,7 +146,8 @@ export class DynamoDBDocumentClient extends __Client< this.middlewareStack = client.middlewareStack; if (this.config?.cacheMiddleware) { throw new Error( - "@aws-sdk/lib-dynamodb - cacheMiddleware=true is not compatible with the DynamoDBDocument client. This option must be set to false." + "@aws-sdk/lib-dynamodb - cacheMiddleware=true is not compatible with the" + + " DynamoDBDocumentClient. This option must be set to false." ); } }