Amazon DynamoDB · JSON Structure

Dynamodb Openapi Delete Item Input Structure

DeleteItemInput schema from Amazon DynamoDB API

Type: object Properties: 6 Required: 2
DatabaseDocument StoreKey-ValueNoSQLServerless

DeleteItemInput is a JSON Structure definition published by Amazon DynamoDB, describing 6 properties, of which 2 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

TableName Key ConditionExpression ExpressionAttributeNames ExpressionAttributeValues ReturnValues

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-dynamodb/refs/heads/main/json-structure/dynamodb-openapi-delete-item-input-structure.json",
  "name": "DeleteItemInput",
  "description": "DeleteItemInput schema from Amazon DynamoDB API",
  "type": "object",
  "properties": {
    "TableName": {
      "type": "string",
      "description": "The name of the table from which to delete the item"
    },
    "Key": {
      "type": "object",
      "description": "A map of attribute names to AttributeValue objects for the primary key",
      "additionalProperties": {
        "$ref": "#/components/schemas/AttributeValue"
      }
    },
    "ConditionExpression": {
      "type": "string",
      "description": "A condition that must be satisfied for the delete to succeed"
    },
    "ExpressionAttributeNames": {
      "type": "object",
      "description": "Substitution tokens for attribute names in an expression",
      "additionalProperties": {
        "type": "string"
      }
    },
    "ExpressionAttributeValues": {
      "type": "object",
      "description": "Values that can be substituted in an expression",
      "additionalProperties": {
        "$ref": "#/components/schemas/AttributeValue"
      }
    },
    "ReturnValues": {
      "type": "string",
      "description": "Determines the return values after the operation",
      "enum": [
        "NONE",
        "ALL_OLD"
      ]
    }
  },
  "required": [
    "TableName",
    "Key"
  ]
}