AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Container for the parameters to the DeleteAttributes operation. Deletes one or more attributes associated with an item. If all attributes of the item are deleted, the item is deleted.

DeleteAttributes is an idempotent operation; running it multiple times on the same item or attribute does not result in an error response.

Because Amazon SimpleDB makes multiple copies of item data and uses an eventual consistency update model, performing a GetAttributes or Select operation (read) immediately after a DeleteAttributes or PutAttributes operation (write) might not return updated item data.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.SimpleDB.AmazonSimpleDBRequest
      Amazon.SimpleDB.Model.DeleteAttributesRequest

Namespace: Amazon.SimpleDB.Model
Assembly: AWSSDK.SimpleDB.dll
Version: 3.x.y.z

Syntax

C#
public class DeleteAttributesRequest : AmazonSimpleDBRequest
         IAmazonWebServiceRequest

The DeleteAttributesRequest type exposes the following members

Constructors

NameDescription
Public Method DeleteAttributesRequest()

Empty constructor used to set properties independently even when a simple constructor is available

Public Method DeleteAttributesRequest(string, string)

Instantiates DeleteAttributesRequest with the parameterized properties

Public Method DeleteAttributesRequest(string, string, List<Attribute>)

Instantiates DeleteAttributesRequest with the parameterized properties

Public Method DeleteAttributesRequest(string, string, List<Attribute>, UpdateCondition)

Instantiates DeleteAttributesRequest with the parameterized properties

Properties

NameTypeDescription
Public Property Attributes System.Collections.Generic.List<Amazon.SimpleDB.Model.Attribute>

Gets and sets the property Attributes. A list of Attributes. Similar to columns on a spreadsheet, attributes represent categories of data that can be assigned to items.

Public Property DomainName System.String

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

Public Property Expected Amazon.SimpleDB.Model.UpdateCondition

Gets and sets the property Expected. The update condition which, if specified, determines whether the specified attributes will be deleted or not. The update condition must be satisfied in order for this request to be processed and the attributes to be deleted.

Public Property ItemName System.String

Gets and sets the property ItemName. The name of the item. Similar to rows on a spreadsheet, items represent individual objects that contain one or more value-attribute pairs.

Version Information

.NET Standard:
Supported in: 1.3

.NET Framework:
Supported in: 4.5, 4.0, 3.5

Portable Class Library:
Supported in: Windows Store Apps
Supported in: Windows Phone 8.1
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms