Skip to content

Commit 16637a2

Browse files
authored
Merge branch 'main' into merge-back/2.141.0
2 parents 3d1c06e + e9e800f commit 16637a2

46 files changed

Lines changed: 28156 additions & 40813 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
11
/* eslint-disable no-console */
22
// @ts-ignore
3-
import { S3Client } from '@aws-sdk/client-s3'; // eslint-disable-line import/no-extraneous-dependencies, import/no-unresolved
4-
5-
const s3 = new S3Client({});
3+
import { DynamoDBClient, DescribeTableCommand } from '@aws-sdk/client-dynamodb'; // eslint-disable-line import/no-extraneous-dependencies
64

75
export async function handler() {
8-
console.log(s3);
9-
}
6+
const client = new DynamoDBClient();
7+
const input = {
8+
TableName: process.env.TABLE_NAME,
9+
};
10+
const command = new DescribeTableCommand(input);
11+
const response = await client.send(command);
12+
console.log(response);
13+
}
Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
/* eslint-disable no-console */
2-
import { S3 } from '@aws-sdk/client-s3'; // eslint-disable-line import/no-extraneous-dependencies
2+
// @ts-ignore
33
import delay from 'delay';
44

5-
const s3 = new S3();
6-
75
export async function handler() {
8-
console.log(s3);
96
await delay(5);
10-
}
7+
console.log('log after delay');
8+
}

packages/@aws-cdk-testing/framework-integ/test/aws-lambda-nodejs/test/integ.dependencies.js.snapshot/LambdaDependenciesDefaultTestDeployAssert259C940B.assets.json

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/@aws-cdk-testing/framework-integ/test/aws-lambda-nodejs/test/integ.dependencies.js.snapshot/LambdaDependenciesDefaultTestDeployAssert259C940B.template.json

Lines changed: 7 additions & 102 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)