1 | import DynamoDB = require('../../clients/dynamodb');
|
2 |
|
3 | export class Converter {
|
4 | static input(
|
5 | data: any,
|
6 | options?: Converter.ConverterOptions
|
7 | ): DynamoDB.AttributeValue;
|
8 |
|
9 | static marshall(
|
10 | data: {[key: string]: any},
|
11 | options?: Converter.ConverterOptions
|
12 | ): DynamoDB.AttributeMap;
|
13 |
|
14 | static output(
|
15 | data: DynamoDB.AttributeValue,
|
16 | options?: Converter.ConverterOptions
|
17 | ): any;
|
18 |
|
19 | static unmarshall(
|
20 | data: DynamoDB.AttributeMap,
|
21 | options?: Converter.ConverterOptions
|
22 | ): {[key: string]: any};
|
23 | }
|
24 |
|
25 | export namespace Converter {
|
26 | export type ConverterOptions = DynamoDB.DocumentClient.ConverterOptions;
|
27 | }
|