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" ;
2
2
3
- const client = new AWS_DynamoDB ( ) ;
3
+ const client = new DynamoDBClient ( ) ;
4
4
5
5
// Promise without params
6
6
{
@@ -21,7 +21,7 @@ const client = new AWS_DynamoDB();
21
21
22
22
// Client as class member
23
23
class ClientClassMember {
24
- constructor ( clientInCtr = new AWS_DynamoDB ( ) ) {
24
+ constructor ( clientInCtr = new DynamoDBClient ( ) ) {
25
25
this . clientInClass = clientInCtr ;
26
26
}
27
27
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" ;
2
2
3
- const client = new AWS_DynamoDB ( ) ;
3
+ const client = new DynamoDBClient ( ) ;
4
4
5
5
// Promise without params
6
6
{
@@ -20,7 +20,7 @@ const client = new AWS_DynamoDB();
20
20
21
21
// Client as class member
22
22
class ClientClassMember {
23
- constructor ( clientInCtr = new AWS_DynamoDB ( ) ) {
23
+ constructor ( clientInCtr = new DynamoDBClient ( ) ) {
24
24
this . clientInClass = clientInCtr ;
25
25
}
26
26
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" ) ;
2
2
3
- const client = new AWS_DynamoDB ( ) ;
3
+ const client = new DynamoDBClient ( ) ;
4
4
5
5
// Promise without params
6
6
{
@@ -21,7 +21,7 @@ const client = new AWS_DynamoDB();
21
21
22
22
// Client as class member
23
23
class ClientClassMember {
24
- constructor ( clientInCtr = new AWS_DynamoDB ( ) ) {
24
+ constructor ( clientInCtr = new DynamoDBClient ( ) ) {
25
25
this . clientInClass = clientInCtr ;
26
26
}
27
27
Original file line number Diff line number Diff line change 1
1
const {
2
- DynamoDB : AWS_DynamoDB
2
+ DynamoDB : DynamoDBClient
3
3
} = require ( "@aws-sdk/client-dynamodb" ) ;
4
4
5
- const client = new AWS_DynamoDB ( ) ;
5
+ const client = new DynamoDBClient ( ) ;
6
6
7
7
// Promise without params
8
8
{
@@ -22,7 +22,7 @@ const client = new AWS_DynamoDB();
22
22
23
23
// Client as class member
24
24
class ClientClassMember {
25
- constructor ( clientInCtr = new AWS_DynamoDB ( ) ) {
25
+ constructor ( clientInCtr = new DynamoDBClient ( ) ) {
26
26
this . clientInClass = clientInCtr ;
27
27
}
28
28
You can’t perform that action at this time.
0 commit comments