@shiftcoders/dynamo-easy
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Base
Request
Batch
Get
Single
Table
Request
constructor
dynamoDBWrapper
metadata
model
Clazz
params
table
Name
consistent
Read
exec
exec
Full
Response
exec
NoMap
projection
Expression
return
Consumed
Capacity
Batch
Write
Single
Table
Request
Delete
Request
Get
Request
Put
Request
Query
Request
Read
Many
Request
Scan
Request
Standard
Request
Transact
Get
Single
Table
Request
Update
Request
Write
Request
Batch
Get
Single
Table
Response
Delete
Response
Get
Response
Put
Response
Query
Response
Scan
Response
Update
Response
Transact
Get
Response
Write
Response
Type parameters
T
T2
Hierarchy
BaseRequest
<
T
,
T2
,
BatchGetItemInput
,
BatchGetSingleTableRequest
<
T
,
T2
>
>
BatchGetSingleTableRequest
Index
Constructors
constructor
Properties
dynamoDBWrapper
metadata
model
Clazz
params
table
Name
Methods
consistent
Read
exec
exec
Full
Response
exec
NoMap
projection
Expression
return
Consumed
Capacity
Constructors
constructor
new
Batch
Get
Single
Table
Request
(
dynamoDBWrapper
:
DynamoDbWrapper
, modelClazz
:
ModelConstructor
<
T
>
, keys
:
Array
<
Partial
<
T
>
>
)
:
BatchGetSingleTableRequest
Parameters
dynamoDBWrapper:
DynamoDbWrapper
modelClazz:
ModelConstructor
<
T
>
keys:
Array
<
Partial
<
T
>
>
Returns
BatchGetSingleTableRequest
Properties
dynamoDBWrapper
dynamoDBWrapper
:
DynamoDbWrapper
metadata
metadata
:
Metadata
<
T
>
model
Clazz
model
Clazz
:
ModelConstructor
<
T
>
params
params
:
BatchGetItemInput
table
Name
table
Name
:
string
Methods
consistent
Read
consistent
Read
(
value
?:
boolean
)
:
this
Parameters
Default value
value:
boolean
= true
Returns
this
exec
exec
(
backoffTimer
?:
randomExponentialBackoffTimer
, throttleTimeSlot
?:
number
)
:
Promise
<
T2
[]
>
Parameters
Default value
backoffTimer:
randomExponentialBackoffTimer
= randomExponentialBackoffTimer
Default value
throttleTimeSlot:
number
= BATCH_GET_DEFAULT_TIME_SLOT
Returns
Promise
<
T2
[]
>
exec
Full
Response
exec
Full
Response
(
backoffTimer
?:
randomExponentialBackoffTimer
, throttleTimeSlot
?:
number
)
:
Promise
<
BatchGetSingleTableResponse
<
T2
>
>
Parameters
Default value
backoffTimer:
randomExponentialBackoffTimer
= randomExponentialBackoffTimer
Default value
throttleTimeSlot:
number
= BATCH_GET_DEFAULT_TIME_SLOT
Returns
Promise
<
BatchGetSingleTableResponse
<
T2
>
>
exec
NoMap
exec
NoMap
(
backoffTimer
?:
randomExponentialBackoffTimer
, throttleTimeSlot
?:
number
)
:
Promise
<
BatchGetItemOutput
>
Parameters
Default value
backoffTimer:
randomExponentialBackoffTimer
= randomExponentialBackoffTimer
Default value
throttleTimeSlot:
number
= BATCH_GET_DEFAULT_TIME_SLOT
Returns
Promise
<
BatchGetItemOutput
>
projection
Expression
projection
Expression
(
attributesToGet
:
Array
<
keyof T
|
string
>
)
:
BatchGetSingleTableRequest
<
T
,
Partial
<
T
>
>
Parameters
Rest
attributesToGet:
Array
<
keyof T
|
string
>
Returns
BatchGetSingleTableRequest
<
T
,
Partial
<
T
>
>
return
Consumed
Capacity
return
Consumed
Capacity
(
level
:
DynamoDB.ReturnConsumedCapacity
)
:
BatchGetSingleTableRequest
<
T
,
T2
>
Parameters
level:
DynamoDB.ReturnConsumedCapacity
Returns
BatchGetSingleTableRequest
<
T
,
T2
>