All Questions
7 questions
0
votes
2
answers
91
views
How to Design a DynamoDB Table with Composite Primary Key for Property_ID, Category_ID, and Subcategory_ID?
I'm designing a DynamoDB table for storing property-related data where each property belongs to a category and subcategory.
I have three combination of primary key in sql server.
I need assistance in ...
0
votes
1
answer
541
views
AWS DynamoDB - The provided key element does not match the schema
I have created a Python program on AWS Cloud9 that writes a list to DynamoDB and gives prompts for the user to access the information. When I run the program, I am able to enter the Subject and ...
1
vote
0
answers
1k
views
"[Errno 22] Invalid argument" when running "aws dynamodb describe-table" on local DynamoDB on Windows
I am running a trivial local DynamoDB on Windows:
java -Djava.library.path=./DynamoDBLocal_lib -jar DynamoDBLocal.jar -sharedDb
aws dynamo list-tables works perfectly:
C:\WINDOWS\system32>aws ...
1
vote
2
answers
6k
views
How do I delete items from a DynamoDB table wherever an attribute is missing, regardless of key?
Is it possible to delete items from a DynamoDB table without specifying partition or sort keys? I have numerous entries in a table with different partition and sort keys and I want to delete all the ...
2
votes
1
answer
988
views
boto3 says table is non-existent but I can query it in the AWS CLI
I'm trying to get a table description using boto3 and python using the following snippet:
import boto3
dynamodb = boto3.client('dynamodb', region_name='us-east-2', endpoint_url="http://localhost:...
1
vote
1
answer
1k
views
AWS CLI - How to filter returned DynamoDB items?
The following command returns all items in a DynamoDB table.
aws dynamodb scan --table-name TABLENAME
How can I filter the items returns? For example, my DynamoDB table has a property called type. ...
10
votes
2
answers
12k
views
aws cli dynamo db (ValidationException) Error
I'm looking to batch write item to dynamodb using python's boto3 module and i'm getting this. This is the first time i've ever worked with aws cli or boto3. The documentation says validation exception ...