Class: Aws::SimpleDB::Types::UpdateCondition
- Inherits:
-
Struct
- Object
- Struct
- Aws::SimpleDB::Types::UpdateCondition
- Defined in:
- gems/aws-sdk-simpledb/lib/aws-sdk-simpledb/types.rb
Overview
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.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#exists ⇒ Boolean
A value specifying whether or not the specified attribute must exist with the specified value in order for the update condition to be satisfied.
-
#name ⇒ String
The name of the attribute involved in the condition.
-
#value ⇒ String
The value of an attribute.
Instance Attribute Details
#exists ⇒ Boolean
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 true
if the attribute must exist for the update
condition to be satisfied. Specify false
if the attribute should
not exist in order for the update condition to be satisfied.
580 581 582 583 584 585 586 |
# File 'gems/aws-sdk-simpledb/lib/aws-sdk-simpledb/types.rb', line 580 class UpdateCondition < Struct.new( :name, :value, :exists) SENSITIVE = [] include Aws::Structure end |
#name ⇒ String
The name of the attribute involved in the condition.
580 581 582 583 584 585 586 |
# File 'gems/aws-sdk-simpledb/lib/aws-sdk-simpledb/types.rb', line 580 class UpdateCondition < Struct.new( :name, :value, :exists) SENSITIVE = [] include Aws::Structure end |
#value ⇒ String
The value of an attribute. This value can only be specified when the
Exists
parameter is equal to true
.
580 581 582 583 584 585 586 |
# File 'gems/aws-sdk-simpledb/lib/aws-sdk-simpledb/types.rb', line 580 class UpdateCondition < Struct.new( :name, :value, :exists) SENSITIVE = [] include Aws::Structure end |