Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ScopedDynameh

An instance of Dynameh scoped to a particular TableSchema. All calls that require a TableSchema have that parameter already filled in.

Hierarchy

  • ScopedDynameh

Index

Properties

batchHelper: batchHelper
concurrentHelper: concurrentHelper
queryHelper: queryHelper
requestBuilder: { addCondition: any; addFilter: any; addProjection: any; addTransactWriteItems: any; buildBatchDeleteInput: any; buildBatchGetInput: any; buildBatchPutInput: any; buildCreateTableInput: any; buildDeleteInput: any; buildDeleteTableInput: any; buildDescribeTableInput: any; buildDescribeTimeToLiveInput: any; buildGetInput: any; buildPutInput: any; buildQueryInput: any; buildRequestPutItem: any; buildScanInput: any; buildTransactWriteItemsInput: any; buildUpdateInputFromActions: any; buildUpdateTimeToLiveInput: any }

Type declaration

  • addCondition:function
    • addCondition<T>(conditionableRequest: T, ...conditions: Condition[]): void
    • Type parameters

      • T: { ConditionExpression?: string; ExpressionAttributeNames?: ExpressionAttributeNameMap; ExpressionAttributeValues?: ExpressionAttributeValueMap }

      Parameters

      • conditionableRequest: T
      • Rest ...conditions: Condition[]

      Returns void

  • addFilter:function
    • addFilter<T>(filterableRequest: T, ...filters: Condition[]): void
    • Type parameters

      • T: { ExpressionAttributeNames?: ExpressionAttributeNameMap; ExpressionAttributeValues?: ExpressionAttributeValueMap; FilterExpression?: string }

      Parameters

      • filterableRequest: T
      • Rest ...filters: Condition[]

      Returns void

  • addProjection:function
    • addProjection<T>(projectableRequest: T, attributes: string[]): void
    • Type parameters

      • T: { ExpressionAttributeNames?: ExpressionAttributeNameMap; ProjectionExpression?: string }

      Parameters

      • projectableRequest: T
      • attributes: string[]

      Returns void

  • addTransactWriteItems:function
    • addTransactWriteItems(request: TransactWriteItemsInput, ...input: (PutItemInput | UpdateItemInput | DeleteItemInput)[]): void
    • Parameters

      • request: TransactWriteItemsInput
      • Rest ...input: (PutItemInput | UpdateItemInput | DeleteItemInput)[]

      Returns void

  • buildBatchDeleteInput:function
  • buildBatchGetInput:function
  • buildBatchPutInput:function
    • buildBatchPutInput(items: object[]): BatchWriteItemInput
  • buildCreateTableInput:function
    • buildCreateTableInput(additionalTableSchemas?: TableSchema[], readCapacity?: number, writeCapacity?: number): CreateTableInput
    • Parameters

      • Optional additionalTableSchemas: TableSchema[]
      • Optional readCapacity: number
      • Optional writeCapacity: number

      Returns CreateTableInput

  • buildDeleteInput:function
    • buildDeleteInput(itemToDelete: object): DeleteItemInput
  • buildDeleteTableInput:function
    • buildDeleteTableInput(): DeleteTableInput
  • buildDescribeTableInput:function
    • buildDescribeTableInput(): DescribeTableInput
  • buildDescribeTimeToLiveInput:function
    • buildDescribeTimeToLiveInput(): DescribeTimeToLiveInput
  • buildGetInput:function
  • buildPutInput:function
    • buildPutInput(item: object): PutItemInput
  • buildQueryInput:function
  • buildRequestPutItem:function
    • buildRequestPutItem(item: any): AttributeValue
  • buildScanInput:function
    • buildScanInput(...filters: Condition[]): ScanInput
  • buildTransactWriteItemsInput:function
    • buildTransactWriteItemsInput(...input: (PutItemInput | UpdateItemInput | DeleteItemInput)[]): TransactWriteItemsInput
    • Parameters

      • Rest ...input: (PutItemInput | UpdateItemInput | DeleteItemInput)[]

      Returns TransactWriteItemsInput

  • buildUpdateInputFromActions:function
    • buildUpdateInputFromActions(itemToUpdate: object, ...updateActions: UpdateExpressionAction[]): UpdateItemInput
  • buildUpdateTimeToLiveInput:function
    • buildUpdateTimeToLiveInput(): UpdateTimeToLiveInput
responseUnwrapper: responseUnwrapper
scanHelper: scanHelper

Generated using TypeDoc