-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
9 additions
and
3 deletions.
There are no files selected for viewing
4 changes: 3 additions & 1 deletion
4
src/transforms/v2-to-v3/__fixtures__/ddb-doc-client/global-import-equals.output.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
import AWS_lib_dynamodb = require("@aws-sdk/lib-dynamodb"); | ||
import DynamoDBDocument = AWS_lib_dynamodb.DynamoDBDocument; | ||
import AWS_DynamoDB = require("@aws-sdk/client-dynamodb"); | ||
import DynamoDB = AWS_DynamoDB.DynamoDB; | ||
|
||
const documentClient = AWS_lib_dynamodb.DynamoDBDocument.from(new AWS_DynamoDB.DynamoDB({ region: "us-west-2" })); | ||
const documentClient = DynamoDBDocument.from(new DynamoDB({ region: "us-west-2" })); | ||
const response = await documentClient.scan({ TableName: "TABLE_NAME" }); |
4 changes: 3 additions & 1 deletion
4
...transforms/v2-to-v3/__fixtures__/ddb-doc-client/service-import-equals-with-name.output.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
import AWS_lib_dynamodb = require("@aws-sdk/lib-dynamodb"); | ||
import DynamoDBDocument = AWS_lib_dynamodb.DynamoDBDocument; | ||
import AWS_DynamoDB = require("@aws-sdk/client-dynamodb"); | ||
import DynamoDBClient = AWS_DynamoDB.DynamoDB; | ||
|
||
const documentClient = AWS_lib_dynamodb.DynamoDBDocument.from(new AWS_DynamoDB.DynamoDB({ region: "us-west-2" })); | ||
const documentClient = DynamoDBDocument.from(new DynamoDBClient({ region: "us-west-2" })); | ||
const response = await documentClient.scan({ TableName: "TABLE_NAME" }); |
4 changes: 3 additions & 1 deletion
4
src/transforms/v2-to-v3/__fixtures__/ddb-doc-client/service-import-equals.output.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
import AWS_lib_dynamodb = require("@aws-sdk/lib-dynamodb"); | ||
import DynamoDBDocument = AWS_lib_dynamodb.DynamoDBDocument; | ||
import AWS_DynamoDB = require("@aws-sdk/client-dynamodb"); | ||
import DynamoDB = AWS_DynamoDB.DynamoDB; | ||
|
||
const documentClient = AWS_lib_dynamodb.DynamoDBDocument.from(new AWS_DynamoDB.DynamoDB({ region: "us-west-2" })); | ||
const documentClient = DynamoDBDocument.from(new DynamoDB({ region: "us-west-2" })); | ||
const response = await documentClient.scan({ TableName: "TABLE_NAME" }); |