File tree Expand file tree Collapse file tree 4 files changed +12
-12
lines changed
src/transforms/v2-to-v3/__fixtures__/api-promise Expand file tree Collapse file tree 4 files changed +12
-12
lines changed Original file line number Diff line number Diff line change 1- import AWS_DynamoDB from "aws-sdk/clients/dynamodb" ;
1+ import DynamoDBClient from "aws-sdk/clients/dynamodb" ;
22
3- const client = new AWS_DynamoDB ( ) ;
3+ const client = new DynamoDBClient ( ) ;
44
55// Promise without params
66{
@@ -21,7 +21,7 @@ const client = new AWS_DynamoDB();
2121
2222 // Client as class member
2323 class ClientClassMember {
24- constructor ( clientInCtr = new AWS_DynamoDB ( ) ) {
24+ constructor ( clientInCtr = new DynamoDBClient ( ) ) {
2525 this . clientInClass = clientInCtr ;
2626 }
2727
Original file line number Diff line number Diff line change 1- import { DynamoDB as AWS_DynamoDB } from "@aws-sdk/client-dynamodb" ;
1+ import { DynamoDB as DynamoDBClient } from "@aws-sdk/client-dynamodb" ;
22
3- const client = new AWS_DynamoDB ( ) ;
3+ const client = new DynamoDBClient ( ) ;
44
55// Promise without params
66{
@@ -20,7 +20,7 @@ const client = new AWS_DynamoDB();
2020
2121 // Client as class member
2222 class ClientClassMember {
23- constructor ( clientInCtr = new AWS_DynamoDB ( ) ) {
23+ constructor ( clientInCtr = new DynamoDBClient ( ) ) {
2424 this . clientInClass = clientInCtr ;
2525 }
2626
Original file line number Diff line number Diff line change 1- const AWS_DynamoDB = require ( "aws-sdk/clients/dynamodb" ) ;
1+ const DynamoDBClient = require ( "aws-sdk/clients/dynamodb" ) ;
22
3- const client = new AWS_DynamoDB ( ) ;
3+ const client = new DynamoDBClient ( ) ;
44
55// Promise without params
66{
@@ -21,7 +21,7 @@ const client = new AWS_DynamoDB();
2121
2222 // Client as class member
2323 class ClientClassMember {
24- constructor ( clientInCtr = new AWS_DynamoDB ( ) ) {
24+ constructor ( clientInCtr = new DynamoDBClient ( ) ) {
2525 this . clientInClass = clientInCtr ;
2626 }
2727
Original file line number Diff line number Diff line change 11const {
2- DynamoDB : AWS_DynamoDB
2+ DynamoDB : DynamoDBClient
33} = require ( "@aws-sdk/client-dynamodb" ) ;
44
5- const client = new AWS_DynamoDB ( ) ;
5+ const client = new DynamoDBClient ( ) ;
66
77// Promise without params
88{
@@ -22,7 +22,7 @@ const client = new AWS_DynamoDB();
2222
2323 // Client as class member
2424 class ClientClassMember {
25- constructor ( clientInCtr = new AWS_DynamoDB ( ) ) {
25+ constructor ( clientInCtr = new DynamoDBClient ( ) ) {
2626 this . clientInClass = clientInCtr ;
2727 }
2828
You can’t perform that action at this time.
0 commit comments