Skip to content

Commit c7bbc75

Browse files
AllanZhengYPtrivikr
andcommitted
docs: update README import statement (#376)
Co-authored-by: Trivikram Kamat <[email protected]>
1 parent 226e544 commit c7bbc75

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,9 @@ Let’s walk through setting up a project that depends on DynamoDB from the SDK
2424

2525
```javascript
2626
const {
27-
DynamoDBClient
28-
} = require("@aws-sdk/client-dynamodb-node/DynamoDBClient");
29-
const {
27+
DynamoDBClient,
3028
ListTablesCommand
31-
} = require("@aws-sdk/client-dynamodb-node/commands/ListTablesCommand");
29+
} = require("@aws-sdk/client-dynamodb-node");
3230
async function example() {
3331
const client = new DynamoDBClient({ region: "us-west-2" });
3432
const command = new ListTablesCommand({});

0 commit comments

Comments
 (0)