Skip to content

Commit

Permalink
chore(lib-dynamodb): codegen
Browse files Browse the repository at this point in the history
  • Loading branch information
trivikr committed Sep 10, 2024
1 parent f96bdde commit b79264d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/lib-dynamodb/src/DynamoDBDocumentClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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."
);
}
}
Expand Down

0 comments on commit b79264d

Please sign in to comment.