Specifies the conditions under which data should be updated. If an update condition is specified for a request, the data will only be updated if the condition is satisfied. For example, if an attribute with a specific name and value exists, or if a specific attribute doesn't exist.
Type: objectProperties: 3
Cloud StorageData StorageDatabaseNoSQL
UpdateCondition is a JSON Structure definition published by Amazon SimpleDB, describing 3 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.
{
"type": "object",
"$schema": "https://json-structure.org/meta/core/v0/#",
"$id": "https://raw.githubusercontent.com/api-evangelist/amazon-simpledb/refs/heads/main/json-structure/amazon-simpledb-update-condition-structure.json",
"name": "UpdateCondition",
"description": " Specifies the conditions under which data should be updated. If an update condition is specified for a request, the data will only be updated if the condition is satisfied. For example, if an attribute with a specific name and value exists, or if a specific attribute doesn't exist. ",
"properties": {
"Name": {
"allOf": [
{
"$ref": "#/components/schemas/String"
},
{
"description": "The name of the attribute involved in the condition."
}
]
},
"Value": {
"allOf": [
{
"$ref": "#/components/schemas/String"
},
{
"description": "The value of an attribute. This value can only be specified when the <code>Exists</code> parameter is equal to <code>true</code>."
}
]
},
"Exists": {
"allOf": [
{
"$ref": "#/components/schemas/Boolean"
},
{
"description": "A value specifying whether or not the specified attribute must exist with the specified value in order for the update condition to be satisfied. Specify <code>true</code> if the attribute must exist for the update condition to be satisfied. Specify <code>false</code> if the attribute should not exist in order for the update condition to be satisfied."
}
]
}
}
}
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.