Options
All
  • Public
  • Public/Protected
  • All
Menu

Type parameters

  • T

  • T2

Hierarchy

Index

Constructors

constructor

Properties

dynamoDBWrapper

dynamoDBWrapper: DynamoDbWrapper

Protected logger

logger: Logger

metadata

metadata: Metadata<T>

modelClazz

modelClazz: ModelConstructor<T>

params

params: PutItemInput

tableName

tableName: string

Methods

Protected doRequest

  • doRequest(params: PutItemInput): Promise<PutItemOutput>

exec

  • exec(): Promise<T2>

execFullResponse

execNoMap

  • execNoMap(): Promise<PutItemOutput>

ifNotExists

  • ifNotExists(predicate?: boolean): this

onlyIf

  • onlyIf(conditionDefFns: ConditionExpressionDefinitionFunction[]): this

onlyIfAttribute

returnConsumedCapacity

  • returnConsumedCapacity(level: DynamoDB.ReturnConsumedCapacity): PutRequest<T, T2>

returnItemCollectionMetrics

  • returnItemCollectionMetrics(returnItemCollectionMetrics: DynamoDB.ReturnItemCollectionMetrics): this

returnValues

  • returnValues(returnValues: "ALL_OLD"): PutRequest<T, T>
  • returnValues(returnValues: "NONE"): PutRequest<T, void>