amazon-dynamodb Questions

7

I've been looking through the AWS Dynamo DB documentation and the Amazon Dynamo interface and it seems like there's no way to remove a column from a table, outside of deleting the entire table with...
Henpeck asked 10/3, 2015 at 13:29

3

Solved

I am building an AWS lambda with aws-sam-cli. In the function, I want to access a certain DynamoDB table. My issue is that the function comes back with this error when I invoke it locally with the ...

4

I have started using the new AWS Version 3 sdk for some of my services. Unfortunately it is not always clear how to use some features in the modular version 3 code that are available in the Version...
Lauretta asked 8/3, 2021 at 19:3

3

Solved

Is it possible to access two tables within one lambda function while one of the tables is in the same account as the lambda function and the other is in another account? I've seen articles on cros...
Unbeknown asked 14/2, 2019 at 14:8

2

Solved

I have a table in AWS Dynamodb and i need send message to AWS SQS when a new item is created. So i want my Dynamodb to be triggered at that exact moment when created new item, a message for the AW...
Goth asked 4/10, 2018 at 23:34

5

I want to save an object that is encoded as a Json string to DynamoDB using the AWS Java SDK 2.0. In the AWS Java SDK 1.n, it is possible to convert standard Json strings to DynamoDB AttributeValu...

3

When I try to persist my JavaScript object to DynamoDB using the PutCommand, I am seeing the following error message: Error: Pass options.removeUndefinedValues=true to remove undefined values from ...
Dysphoria asked 21/9, 2022 at 15:55

3

Solved

I'm trying to get a start with AWS by starting at the beginning, running the Build a Basic Web Application tutorial. I figured I'd be able to just follow it step by step and have a simple Hello Wor...

3

Solved

I am running DynamoDB locally using the instructions here. To remove potential docker networking issues I am using the "Download Locally" version of the instructions. Before running dynam...
Death asked 30/12, 2021 at 18:20

3

Solved

Let's say I am doing an update and a delete: const transactionParams = { ReturnConsumedCapacity: "INDEXES", TransactItems: [ { Delete: { TableName: reactionTableName, Key: { "SOME_PK_", "S...
Innominate asked 18/5, 2020 at 16:19

4

Solved

Given the table schema defined below (create-table.json) I am getting the following error after I call put-item using add-event1.json followed by add-event2.json: A client error (ConditionalChec...
Lyell asked 3/8, 2016 at 2:24

2

The application im working on currently requires me to increment an attribute belonging to an item in DynamoDB many times in a 20 to 30 minute period. I've been doing some additional reading about ...
Moleskin asked 24/3, 2014 at 16:50

4

Solved

I am deleting a non-existing record from the dynamodb table using dynamoDbMapper.delete(object) which uses default DynamoDBDeleteExpression I was expecting some sort of exception to arise since th...
Singly asked 17/4, 2018 at 7:12

5

Solved

I have a Lambda that is generating and returning a value. This value can expire. Therefore I need to check the values validity before returning. As generating is quite expensive (taken from another...

8

Any ideas how to pick an item/record randomly from a DynamoDB table? I don't believe there are any provisions for this in the API. I thought about maintaining a table of NumericId|MyOtherKey ("Num...
Survance asked 19/5, 2012 at 15:9

9

I have a problem with connection to DynamoDB. I get this exception: com.amazonaws.services.dynamodb.model.ResourceNotFoundException: Requested resource not found (Service: AmazonDynamoDB; Stat...
Telemetry asked 22/10, 2016 at 12:42

3

Solved

I am trying to run DynamoDB locally, with the instructions here: http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/DynamoDBLocal.html I've downloaded the zip file, and unzipped ever...
Crisp asked 4/6, 2016 at 5:57

11

Solved

im setting up a dynamodb locally to test with my Node app. To set it up i just plain out copied the code from here and adjusted it for my needs. This is the code: var AWS = require("aws-sdk"); va...

7

Solved

Say I have a typescript interface: interface IPerson { id: string, name: string } And I run a table scan on a persons table in dynamo, what I want to be able to do is this: const client = new...
Drugi asked 11/7, 2017 at 17:10

5

Solved

I am struggling with using aws-cli with dynamoDB running on my local machine, could anyone please help. DynamoDB Local with the following configuration: Port: 8000 InMemory: false DbPath: null S...
Onceover asked 16/2, 2016 at 9:31

5

Solved

I read the following announcement with great interest. https://aws.amazon.com/about-aws/whats-new/2018/11/announcing-amazon-dynamodb-on-demand/ The new "on-demand" feature really helps with capac...
Fairman asked 5/12, 2018 at 11:59

8

Maybe the question does not apply to dynamoDB due to it not being Relational Db. However, I'm looking for a good object mapper which can be used in nodejs and aws sdk to map existing model classes...
Casi asked 21/5, 2014 at 13:48

7

I'm trying to implement the websocket api for my project, so I was looking at this tutorial https://aws.amazon.com/blogs/compute/announcing-websocket-apis-in-amazon-api-gateway/ I tried to deploy ...

7

Solved

How can I delete all items from DynamoDB using python (boto3)? I'm trying to do that: scan = table.scan() with table.batch_writer() as batch: for each in scan['Items']: batch.delete_item(Key=ea...
Spectroheliograph asked 14/3, 2019 at 18:46

15

What's the best way to identically copy one table over to a new one in DynamoDB? (I'm not worried about atomicity).
Blizzard asked 3/9, 2012 at 1:50

© 2022 - 2024 — McMap. All rights reserved.