The PutAttributes operation creates or replaces attributes in an item. Attributes are uniquely identified in an item by their name/value combination. For example, a single item can have the attributes { "first_name", "first_value" } and { "first_name", second_value" }. However, it cannot have two attribute instances where both the attribute name and attribute value are the same. Optionally, the requestor can supply the Replace parameter for each individual attribute. Setting this value to true causes the new attribute value to replace the existing attribute value(s). For example, if an item has the attributes { 'a', '1' }, { 'b', '2'} and { 'b', '3' } and the requestor calls PutAttributes using the attributes { 'b', '4' } with the Replace parameter set to true, the final attributes of the item are changed to { 'a', '1' } and { 'b', '4' }, which replaces the previous values of the 'b' attribute with the new value. Note: Using PutAttributes to replace attribute values that do not exist will not result in an error response. You cannot specify an empty string as an attribute name. Because Amazon SimpleDB makes multiple copies of your data and uses an eventual consistency update model, an immediate GetAttributes or Select request (read) immediately after a DeleteAttributes request (write) might not return the updated data. The following limitations are enforced for this operation: * 256 total attribute name-value pairs per item * One billion attributes per domain * 10 GB of total user data storage per domain

Namespace: Amazon.SimpleDB.Model
Assembly: AWSSDK (in AWSSDK.dll) Version: 1.4.10.0 (1.4.10.0)

Syntax

         
 C#  Visual Basic  Visual C++ 
public class PutAttributesRequest
Public Class PutAttributesRequest
public ref class PutAttributesRequest

Members

            
 All Members  Constructors   Properties   Methods  
 Public

 Protected
 Instance

 Static 
 Declared

 Inherited
 XNA Framework Only 

 .NET Compact Framework Only 

 MemberDescription
PutAttributesRequest()()()()
Initializes a new instance of the PutAttributesRequest class
Attribute
Gets and sets the Attribute property. An attribute associated with an item. Similar to columns on a spreadsheet, attributes represent categories of data that can be assigned to items.
DomainName
Gets and sets the DomainName property. The name of the domain in which to perform the operation.
Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Expected
Gets and sets the Expected property. Performs the operation if the specified attribute name and value match.
GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()()
Gets the Type of the current instance.
(Inherited from Object.)
IsSetAttribute()()()()
Checks if Attribute property is set
IsSetDomainName()()()()
Checks if DomainName property is set
IsSetExpected()()()()
Checks if Expected property is set
IsSetItemName()()()()
Checks if ItemName property is set
ItemName
Gets and sets the ItemName property. The name of the item.
ToString()()()()
Returns a String that represents the current Object.
(Inherited from Object.)
WithAttribute(array<ReplaceableAttribute>[]()[][])
Sets the Attribute property
WithDomainName(String)
Sets the DomainName property
WithExpected(UpdateCondition)
Sets the Expected property
WithItemName(String)
Sets the ItemName property

Inheritance Hierarchy

System..::..Object
  Amazon.SimpleDB.Model..::..PutAttributesRequest

See Also