Security News
Weekly Downloads Now Available in npm Package Search Results
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
@aws-lite/dynamodb
Advanced tools
@aws-lite/dynamodb
Official
aws-lite
plugin for DynamoDB
Maintained by: @architect
npm i @aws-lite/dynamodb
Optionally install types:
npm i -D @aws-lite/dynamodb-types
Reference documentation with examples at aws-lite.org
BatchExecuteStatement
Properties:
Statements
(array) [required]
ReturnConsumedCapacity
(string)
INDEXES
, TOTAL
, or NONE
BatchGetItem
Properties:
RequestItems
(object) [required]
ReturnConsumedCapacity
(string)
INDEXES
, TOTAL
, or NONE
BatchWriteItem
Properties:
RequestItems
(object) [required]
ReturnConsumedCapacity
(string)
INDEXES
, TOTAL
, or NONE
ReturnItemCollectionMetrics
(string)
SIZE
, or NONE
(default)CreateBackup
Properties:
TableName
(string) [required]
BackupName
(string) [required]
CreateGlobalTable
Properties:
GlobalTableName
(string) [required]
ReplicationGroup
(array) [required]
CreateTable
Properties:
TableName
(string) [required]
AttributeDefinitions
(array) [required]
KeySchema
(array) [required]
KeySchema
must also be defined in the AttributeDefinitions
arrayBillingMode
(string)
PROVISIONED
, or PAY_PER_REQUEST
DeletionProtectionEnabled
(boolean)
GlobalSecondaryIndexes
(array)
LocalSecondaryIndexes
(array)
ProvisionedThroughput
(object)
SSESpecification
(object)
StreamSpecification
(object)
StreamEnabled
(boolean), and StreamViewType
(KEYS_ONLY
, NEW_IMAGE
, OLD_IMAGE
, or NEW_AND_OLD_IMAGES
)TableClass
(string)
STANDARD
, or STANDARD_INFREQUENT_ACCESS
Tags
(array)
DeleteBackup
Properties:
BackupArn
(string) [required]
DeleteItem
Properties:
TableName
(string) [required]
Key
(object) [required]
ConditionalOperator
(string)
FilterExpression
insteadConditionExpression
(string)
Expected
(object)
ConditionExpression
insteadExpressionAttributeNames
(object)
ExpressionAttributeValues
(object)
ReturnConsumedCapacity
(string)
INDEXES
, TOTAL
, or NONE
ReturnItemCollectionMetrics
(string)
SIZE
, or NONE
(default)ReturnValues
(string)
NONE
(default), or ALL_OLD
ReturnValuesOnConditionCheckFailure
(string)
NONE
, or ALL_OLD
DeleteTable
Properties:
TableName
(string) [required]
DescribeBackup
Properties:
BackupArn
(string) [required]
DescribeContinuousBackups
Properties:
TableName
(string) [required]
DescribeContributorInsights
Properties:
TableName
(string) [required]
IndexName
(string)
DescribeEndpoints
Properties:
DescribeExport
Properties:
ExportArn
(string) [required]
DescribeGlobalTable
Properties:
GlobalTableName
(string) [required]
DescribeGlobalTableSettings
Properties:
GlobalTableName
(string) [required]
DescribeImport
Properties:
ImportArn
(string) [required]
DescribeKinesisStreamingDestination
Properties:
TableName
(string) [required]
DescribeLimits
Properties:
DescribeTable
Properties:
TableName
(string) [required]
DescribeTableReplicaAutoScaling
Properties:
TableName
(string) [required]
DescribeTimeToLive
Properties:
TableName
(string) [required]
DisableKinesisStreamingDestination
Properties:
TableName
(string) [required]
StreamArn
(string) [required]
EnableKinesisStreamingDestination
Properties:
TableName
(string) [required]
StreamArn
(string) [required]
ExecuteStatement
Properties:
TableName
(string) [required]
Statement
(string) [required]
ConsistentRead
(boolean)
Limit
(number)
NextToken
(string)
NextToken
was returned in a previous responseParameters
(array)
ReturnConsumedCapacity
(string)
INDEXES
, TOTAL
, or NONE
ReturnValuesOnConditionCheckFailure
(string)
NONE
, or ALL_OLD
ExecuteTransaction
Properties:
TableName
(string) [required]
TransactStatements
(array) [required]
ClientRequestToken
(string)
NextToken
was returned in a previous responseReturnConsumedCapacity
(string)
INDEXES
, TOTAL
, or NONE
ExportTableToPointInTime
Properties:
S3Bucket
(string) [required]
TableArn
(string) [required]
ClientToken
(string)
ExportFormat
(string)
DYNAMODB_JSON
, or IO
ExportTime
(number)
S3BucketOwner
(string)
S3Prefix
(string)
S3SseAlgorithm
(string)
AES256
, or KMS
S3SseKmsKeyId
(string)
GetItem
Properties:
TableName
(string) [required]
Key
(object) [required]
AttributesToGet
(array)
ProjectionExpression
insteadConsistentRead
(boolean)
ExpressionAttributeNames
(object)
ProjectionExpression
(string)
ReturnConsumedCapacity
(string)
INDEXES
, TOTAL
, or NONE
ImportTable
Properties:
InputFormat
(string) [required]
CSV
, DYNAMODB_JSON
, or ION
S3BucketSource
(object) [required]
TableCreationParameters
(object) [required]
ClientToken
(string)
InputCompressionType
(string)
GZIP
, ZSTD
, or NONE
InputFormatOptions
(object)
ListBackups
Properties:
BackupType
(string)
USER
SYSTEM
, AWS_BACKUP
, or ALL
ExclusiveStartBackupArn
(string)
LastEvaluatedBackupArn
was returned in a previous responseLimit
(number)
TableName
(string)
TimeRangeLowerBound
(number)
TimeRangeUpperBound
(number)
ListContributorInsights
Properties:
MaxResults
(number)
NextToken
(string)
NextToken
was returned in a previous responseTableName
(string)
ListExports
Properties:
MaxResults
(number)
NextToken
(string)
NextToken
was returned in a previous responseTableArn
(string)
ListGlobalTables
Properties:
ExclusiveStartGlobalTableName
(string)
LastEvaluatedGlobalTableName
was returned in a previous responseLimit
(number)
RegionName
(string)
ListImports
Properties:
NextToken
(string)
NextToken
was returned in a previous responsePageSize
(number)
TableArn
(string)
ListTables
Properties:
ExclusiveStartTableName
(string)
LastEvaluatedTableName
was returned in a previous responseLimit
(number)
ListTagsOfResource
Properties:
NextToken
(string)
NextToken
was returned in a previous responseResourceArn
(string) [required]
PutItem
Properties:
TableName
(string) [required]
Item
(object) [required]
ConditionalOperator
(string)
FilterExpression
insteadConditionExpression
(string)
Expected
(object)
ConditionExpression
insteadExpressionAttributeNames
(object)
ExpressionAttributeValues
(object)
ReturnConsumedCapacity
(string)
INDEXES
, TOTAL
, or NONE
ReturnItemCollectionMetrics
(string)
SIZE
, or NONE
(default)ReturnValues
(string)
NONE
(default), or ALL_OLD
ReturnValuesOnConditionCheckFailure
(string)
NONE
, or ALL_OLD
Query
Properties:
TableName
(string) [required]
AttributesToGet
(array)
ProjectionExpression
insteadConditionalOperator
(string)
FilterExpression
insteadConsistentRead
(boolean)
ExclusiveStartKey
(object)
LastEvaluatedKey
was returned in a previous responseExpressionAttributeNames
(object)
ExpressionAttributeValues
(object)
FilterExpression
(string)
IndexName
(string)
KeyConditionExpression
(string)
KeyConditions
(object)
KeyConditionExpression
insteadLimit
(number)
ProjectionExpression
(string)
QueryFilter
(object)
FilterExpression
insteadReturnConsumedCapacity
(string)
INDEXES
, TOTAL
, or NONE
ScanIndexForward
(boolean)
true
(default) for ascending, false
for descending orderSelect
(string)
ALL_ATTRIBUTES
, ALL_PROJECTED_ATTRIBUTES
, COUNT
, or SPECIFIC_ATTRIBUTES
paginate
(boolean, string)
RestoreTableFromBackup
Properties:
BackupArn
(string) [required]
TargetTableName
(string) [required]
BillingModeOverride
(string)
PROVISIONED
, or PAY_PER_REQUEST
GlobalSecondaryIndexOverride
(array)
LocalSecondaryIndexOverride
(array)
ProvisionedThroughputOverride
(object)
SSESpecificationOverride
(object)
RestoreTableToPointInTime
Properties:
TargetTableName
(string) [required]
BillingModeOverride
(string)
PROVISIONED
, or PAY_PER_REQUEST
GlobalSecondaryIndexOverride
(array)
LocalSecondaryIndexOverride
(array)
ProvisionedThroughputOverride
(object)
RestoreDateTime
(number)
SourceTableArn
(string)
SourceTableName
(string)
SSESpecificationOverride
(object)
UseLatestRestorableTime
(boolean)
Scan
Properties:
TableName
(string) [required]
AttributesToGet
(array)
ProjectionExpression
insteadConditionalOperator
(string)
FilterExpression
insteadConsistentRead
(boolean)
ExclusiveStartKey
(object)
LastEvaluatedKey
was returned in a previous responseExpressionAttributeNames
(object)
ExpressionAttributeValues
(object)
FilterExpression
(string)
IndexName
(string)
Limit
(number)
ProjectionExpression
(string)
ReturnConsumedCapacity
(string)
INDEXES
, TOTAL
, or NONE
ScanFilter
(object)
FilterExpression
insteadSegment
(number)
Scan
requestSelect
(string)
ALL_ATTRIBUTES
, ALL_PROJECTED_ATTRIBUTES
, COUNT
, or SPECIFIC_ATTRIBUTES
TotalSegments
(number)
Scan
requestpaginate
(boolean, string)
TagResource
Properties:
ResourceArn
(string) [required]
Tags
(array) [required]
TransactGetItems
Properties:
TransactItems
(array) [required]
TransactGetItem
objects, each of which containing a Get
objectReturnConsumedCapacity
(string)
INDEXES
, TOTAL
, or NONE
TransactWriteItems
Properties:
TransactItems
(array) [required]
TransactWriteItem
objects, each of which containing a ConditionCheck
, Put
, Update
, or Delete
objectClientRequestToken
(string)
ReturnConsumedCapacity
(string)
INDEXES
, TOTAL
, or NONE
ReturnItemCollectionMetrics
(string)
SIZE
, or NONE
(default)UntagResource
Properties:
ResourceArn
(string) [required]
TagKeys
(array) [required]
UpdateContinuousBackups
Properties:
TableName
(string) [required]
PointInTimeRecoverySpecification
(object)
UpdateContributorInsights
Properties:
TableName
(string) [required]
ContributorInsightsAction
(string)
ENABLE
or DISABLE
IndexName
(string)
UpdateGlobalTable
Properties:
GlobalTableName
(string) [required]
ReplicaUpdates
(array)
UpdateGlobalTableSettings
Properties:
GlobalTableName
(string) [required]
GlobalTableBillingMode
(string)
PROVISIONED
, or PAY_PER_REQUEST
GlobalTableGlobalSecondaryIndexSettingsUpdate
(array)
GlobalTableProvisionedWriteCapacityAutoScalingSettingsUpdate
(object)
GlobalTableProvisionedWriteCapacityUnits
(number)
ThrottlingException
ReplicaSettingsUpdate
(array)
UpdateItem
Properties:
Key
(object) [required]
TableName
(string) [required]
AttributeUpdates
(object)
UpdateExpression
insteadConditionalOperator
(string)
ConditionExpression
insteadConditionExpression
(string)
Expected
(object)
ConditionExpression
insteadExpressionAttributeNames
(object)
ExpressionAttributeValues
(object)
ReturnConsumedCapacity
(string)
INDEXES
, TOTAL
, or NONE
ReturnItemCollectionMetrics
(string)
SIZE
, or NONE
(default)ReturnValues
(string)
NONE
(default), ALL_OLD
, UPDATED_OLD
, ALL_NEW
, UPDATED_NEW
ReturnValuesOnConditionCheckFailure
(string)
NONE
, or ALL_OLD
UpdateExpression
(string)
UpdateTable
Properties:
TableName
(string) [required]
AttributeDefinitions
(array)
BillingMode
(string)
PROVISIONED
, or PAY_PER_REQUEST
DeletionProtectionEnabled
(boolean)
GlobalSecondaryIndexUpdates
(array)
Create
, Update
, or Delete
ProvisionedThroughput
(object)
ReplicaUpdates
(array)
Create
, Update
, or Delete
SSESpecification
(object)
StreamSpecification
(object)
StreamEnabled
(boolean), and StreamViewType
(KEYS_ONLY
, NEW_IMAGE
, OLD_IMAGE
, or NEW_AND_OLD_IMAGES
)TableClass
(string)
STANDARD
, or STANDARD_INFREQUENT_ACCESS
UpdateTableReplicaAutoScaling
Properties:
TableName
(string) [required]
GlobalSecondaryIndexUpdates
(array)
ProvisionedWriteCapacityAutoScalingUpdate
(object)
ReplicaUpdates
(array)
UpdateTimeToLive
Properties:
TableName
(string) [required]
TimeToLiveSpecification
(object)
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
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() }
})
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
FAQs
Official `aws-lite` plugin for DynamoDB
The npm package @aws-lite/dynamodb receives a total of 1,197 weekly downloads. As such, @aws-lite/dynamodb popularity was classified as popular.
We found that @aws-lite/dynamodb demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Security News
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.