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
public class PutAttributesRequest : SDBRequest
All MembersConstructorsMethodsProperties

Initializes a new instance of the PutAttributesRequest class

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.

Gets and sets the DomainName property. The name of the domain in which to perform the operation.

Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Gets and sets the Expected property. Performs the operation if the specified attribute name and value match.

Serves as a hash function for a particular type.
(Inherited from Object.)
Gets the type of the current instance.
(Inherited from Object.)
Checks if Attribute property is set

Checks if DomainName property is set

Checks if Expected property is set

Checks if ItemName property is set

Gets and sets the ItemName property. The name of the item.

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

Assembly: AWSSDK (Module: AWSSDK) Version: (