UNPKG

serverless-spy

Version:

CDK-based library for writing elegant integration tests on AWS serverless architecture and an additional web console to monitor events in real time.

11 lines (10 loc) 512 B
import { AttributeValue } from "@aws-sdk/client-dynamodb"; import type { NativeAttributeValue } from "./models"; import { unmarshallOptions } from "./unmarshall"; /** * Convert a DynamoDB AttributeValue object to its equivalent JavaScript type. * * @param data - The DynamoDB record to convert to JavaScript type. * @param options - An optional configuration object for `convertToNative`. */ export declare const convertToNative: (data: AttributeValue, options?: unmarshallOptions) => NativeAttributeValue;