Skip to content

Tag: amazon-dynamodb

An error occurred (ValidationException) when calling the PutItem operation: One or more parameter values were invalid: Missing the key CreatedAt

Help, I am totally perplexed as to why I am getting this error indicating that CreateAt field is missing when a PutItem() is called. I an ingesting emails into an S3 bucket which are then taken from the S3 and loaded into the Dynamo log table. Once that is completed, the record is then uploaded to Salesforce as a lead

How to create the dynamodb table using serverless.yml and delete the items of it using python boto3?

I’ve created the dynamodb table using serverless.yml as below: But I’ve got this issue: An error occurred: myTable – One or more parameter values were invalid: Number of attributes in KeySchema does not exactly match number of attributes defined in AttributeDefinitions (Service: AmazonDynamoDBv2; Status Code: 400; Error Code: ValidationException; Request ID: PEI9OT7E72HQN4N5MQUOIUQ18JVV4KQNSO5AEMVJF66Q9ASUAAJG; Proxy: null). Could you help me creating the

Wait for complete deletion of a DynamoDB table using boto3

I need to delete a dynamodb table, and wait until it is completely removed. How can I check this? boto3 api expose a method get_waiter to wait for certain events, but it is not well documented. Can I use it for this purpose? Which would be the event name, or maybe handle a ResourceNotFoundException Answer After delete_table API, call table_not_exists