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: UpdateItemInput

tableName

tableName: string

Methods

Protected doRequest

  • doRequest(params: UpdateItemInput): Promise<UpdateItemOutput>

exec

  • exec(): Promise<T2>

execFullResponse

  • execFullResponse(): Promise<WriteResponse<UpdateItemOutput, T2>>

execNoMap

  • execNoMap(): Promise<UpdateItemOutput>

onlyIf

  • onlyIf(conditionDefFns: ConditionExpressionDefinitionFunction[]): this

onlyIfAttribute

operations

  • operations(updateDefFns: UpdateExpressionDefinitionFunction[]): this

returnConsumedCapacity

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

returnItemCollectionMetrics

  • returnItemCollectionMetrics(returnItemCollectionMetrics: DynamoDB.ReturnItemCollectionMetrics): this

returnValues

  • returnValues(returnValues: "ALL_OLD" | "ALL_NEW"): UpdateRequest<T, T>
  • returnValues(returnValues: "UPDATED_OLD" | "UPDATED_NEW"): UpdateRequest<T, Partial<T>>
  • returnValues(returnValues: "NONE"): UpdateRequest<T, void>

updateAttribute

  • updateAttribute<K>(attributePath: K): RequestUpdateFunction<this, T, K>