Package Exports
- @aws-lite/dynamodb
- @aws-lite/dynamodb/src/index.mjs
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@aws-lite/dynamodb) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
@aws-lite/dynamodb
Official
aws-lite
plugin for DynamoDB
Maintained by: @architect
Install
npm i @aws-lite/dynamodb
Usage
This plugin covers all DynamoDB methods (listed & linked below), utilizing DynamoDB's semantics.
By default, with the exception of certain legacy properties (noted below), this plugin will automatically (de)serialize AWS-flavored JSON in requests and responses, so you do not have to treat that as a concern.
Legacy properties (which DynamoDB discourages the use of) that will not be automatically (de)serialized:
DeleteItem.Expected
,PutItem.Expected
,Query.KeyConditions
,Query.QueryFilter
,Scan.ScanFilter
,UpdateItem.Expected
Example
import awsLite from '@aws-lite/client'
const aws = await awsLite()
// See: https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_PutItem.html
await aws.dynamodb.PutItem({
TableName: 'your-table-name',
Item: { id: 'hello', ts: new Date().toISOString() }
})
DynamoDB methods
BatchExecuteStatement
BatchGetItem
BatchWriteItem
CreateBackup
CreateGlobalTable
CreateTable
DeleteBackup
DeleteItem
DeleteTable
DescribeBackup
DescribeContinuousBackups
DescribeContributorInsights
DescribeEndpoints
DescribeExport
DescribeGlobalTable
DescribeGlobalTableSettings
DescribeImport
DescribeKinesisStreamingDestination
DescribeLimits
DescribeTable
DescribeTableReplicaAutoScaling
DescribeTimeToLive
DisableKinesisStreamingDestination
EnableKinesisStreamingDestination
ExecuteStatement
ExecuteTransaction
ExportTableToPointInTime
GetItem
ImportTable
ListBackups
ListContributorInsights
ListExports
ListGlobalTables
ListImports
ListTables
ListTagsOfResource
PutItem
Query
RestoreTableFromBackup
RestoreTableToPointInTime
Scan
TagResource
TransactGetItems
TransactWriteItems
UntagResource
UpdateContinuousBackups
UpdateContributorInsights
UpdateGlobalTable
UpdateGlobalTableSettings
UpdateItem
UpdateTable
UpdateTableReplicaAutoScaling
UpdateTimeToLive
Learn more
Please see the main aws-lite
readme for more information about aws-lite
plugins.