Skip to content

Missing or unclear type definitions in "Integration of Amazon DocumentDB with AWS Lambda" typescript snippet #236

@dmarfonov-klika-tech

Description

@dmarfonov-klika-tech

The code snippet in integration-docdb-to-lambda/example.ts includes the following two types:

import { DocumentDBEventRecord, DocumentDBEventSubscriptionContext } from 'aws-lambda';

However, it is unclear what the source of these types is. The name "aws-lambda" suggests they might be part of the @types/aws-lambda package, but that package does not define these types. Additionally, I was unable to find any other package named "aws-lambda" that provides them.

It would be helpful to clarify the origin of these types, or define them directly within the snippet.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions