@shiftcoders/dynamo-easy
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Batch
Get
Request
constructor
params
dynamoDB
exec
exec
Full
Response
exec
NoMap
for
Model
return
Consumed
Capacity
Batch
Get
Full
Response
Batch
Get
Response
BATCH_
GET_
DEFAULT_
TIME_
SLOT
BATCH_
GET_
MAX_
REQUEST_
ITEM_
COUNT
Hierarchy
BatchGetRequest
Index
Constructors
constructor
Properties
params
Accessors
dynamoDB
Methods
exec
exec
Full
Response
exec
NoMap
for
Model
return
Consumed
Capacity
Constructors
constructor
new
Batch
Get
Request
(
dynamoDB
:
DynamoDB
)
:
BatchGetRequest
Parameters
Optional
dynamoDB:
DynamoDB
Returns
BatchGetRequest
Properties
params
params
:
BatchGetItemInput
Accessors
dynamoDB
dynamoDB
:
Methods
exec
exec
(
backoffTimer
?:
randomExponentialBackoffTimer
, throttleTimeSlot
?:
number
)
:
Promise
<
BatchGetResponse
>
Parameters
Default value
backoffTimer:
randomExponentialBackoffTimer
= randomExponentialBackoffTimer
Default value
throttleTimeSlot:
number
= BATCH_GET_DEFAULT_TIME_SLOT
Returns
Promise
<
BatchGetResponse
>
exec
Full
Response
exec
Full
Response
(
backoffTimer
?:
randomExponentialBackoffTimer
, throttleTimeSlot
?:
number
)
:
Promise
<
BatchGetFullResponse
>
Parameters
Default value
backoffTimer:
randomExponentialBackoffTimer
= randomExponentialBackoffTimer
Default value
throttleTimeSlot:
number
= BATCH_GET_DEFAULT_TIME_SLOT
Returns
Promise
<
BatchGetFullResponse
>
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
>
for
Model
for
Model<T>
(
modelClazz
:
ModelConstructor
<
T
>
, keys
:
Array
<
Partial
<
T
>
>
, consistentRead
?:
boolean
)
:
BatchGetRequest
Type parameters
T
Parameters
modelClazz:
ModelConstructor
<
T
>
keys:
Array
<
Partial
<
T
>
>
Default value
consistentRead:
boolean
= false
Returns
BatchGetRequest
return
Consumed
Capacity
return
Consumed
Capacity
(
level
:
DynamoDB.ReturnConsumedCapacity
)
:
BatchGetRequest
Parameters
level:
DynamoDB.ReturnConsumedCapacity
Returns
BatchGetRequest