@shiftcoders/dynamo-easy
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Base
Request
Batch
Get
Single
Table
Request
Batch
Write
Single
Table
Request
Delete
Request
Get
Request
constructor
dynamoDBWrapper
metadata
model
Clazz
params
table
Name
consistent
Read
exec
exec
Full
Response
projection
Expression
return
Consumed
Capacity
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
StandardRequest
<
T
,
T2
,
GetItemInput
,
GetRequest
<
T
,
T2
>
>
GetRequest
Index
Constructors
constructor
Properties
dynamoDBWrapper
metadata
model
Clazz
params
table
Name
Methods
consistent
Read
exec
exec
Full
Response
projection
Expression
return
Consumed
Capacity
Constructors
constructor
new
Get
Request
(
dynamoDBWrapper
:
DynamoDbWrapper
, modelClazz
:
ModelConstructor
<
T
>
, partitionKey
:
any
, sortKey
:
any
)
:
GetRequest
Parameters
dynamoDBWrapper:
DynamoDbWrapper
modelClazz:
ModelConstructor
<
T
>
partitionKey:
any
Optional
sortKey:
any
Returns
GetRequest
Properties
dynamoDBWrapper
dynamoDBWrapper
:
DynamoDbWrapper
metadata
metadata
:
Metadata
<
T
>
model
Clazz
model
Clazz
:
ModelConstructor
<
T
>
params
params
:
GetItemInput
table
Name
table
Name
:
string
Methods
consistent
Read
consistent
Read
(
consistentRead
?:
boolean
)
:
this
Parameters
Default value
consistentRead:
boolean
= true
Returns
this
exec
exec
(
)
:
Promise
<
T2
|
null
>
Returns
Promise
<
T2
|
null
>
exec
Full
Response
exec
Full
Response
(
)
:
Promise
<
GetResponse
<
T2
>
>
Returns
Promise
<
GetResponse
<
T2
>
>
projection
Expression
projection
Expression
(
attributesToGet
:
Array
<
keyof T
|
string
>
)
:
GetRequest
<
T
,
Partial
<
T
>
>
Parameters
Rest
attributesToGet:
Array
<
keyof T
|
string
>
Returns
GetRequest
<
T
,
Partial
<
T
>
>
return
Consumed
Capacity
return
Consumed
Capacity
(
level
:
DynamoDB.ReturnConsumedCapacity
)
:
GetRequest
<
T
,
T2
>
Parameters
level:
DynamoDB.ReturnConsumedCapacity
Returns
GetRequest
<
T
,
T2
>