AWS SDK for .NET Documentation
PutAttributesRequest Class
AmazonAmazon.SimpleDB.ModelPutAttributesRequest Did this page help you?   Yes   No    Tell us about it...
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
Declaration Syntax
C#
public class PutAttributesRequest : SDBRequest
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
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>[]()[][]) Obsolete.
Sets the Attribute property

WithDomainName(String) Obsolete.
Sets the DomainName property

WithExpected(UpdateCondition) Obsolete.
Sets the Expected property

WithItemName(String) Obsolete.
Sets the ItemName property

Inheritance Hierarchy
Object
SDBRequest
 PutAttributesRequest

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)