UpdateItemInput is a JSON Structure definition published by Amazon DynamoDB, describing 7 properties, of which 2 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.
{
"$schema": "https://json-structure.org/meta/core/v0/#",
"$id": "https://raw.githubusercontent.com/api-evangelist/amazon-dynamodb/refs/heads/main/json-structure/dynamodb-openapi-update-item-input-structure.json",
"name": "UpdateItemInput",
"description": "UpdateItemInput schema from Amazon DynamoDB API",
"type": "object",
"properties": {
"TableName": {
"type": "string",
"description": "The name of the table containing the item to update"
},
"Key": {
"type": "object",
"description": "The primary key of the item to be updated",
"additionalProperties": {
"$ref": "#/components/schemas/AttributeValue"
}
},
"UpdateExpression": {
"type": "string",
"description": "An expression that defines attributes to be updated"
},
"ConditionExpression": {
"type": "string",
"description": "A condition that must be satisfied for the update 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",
"UPDATED_OLD",
"ALL_OLD",
"UPDATED_NEW",
"ALL_NEW"
]
}
},
"required": [
"TableName",
"Key"
]
}
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. See our Privacy Policy and
Terms.