amazonka-sdb-0.3.4: Amazon SimpleDB SDK.

Safe HaskellNone
LanguageHaskell2010

Network.AWS.SDB.Types

Contents

Synopsis

Service

data SDB Source

Version 2009-04-15 of the Amazon SimpleDB service.

Instances

AWSService SDB 
type Er SDB = RESTError 
type Sg SDB = V2 

Error

data RESTError :: *

Instances

Eq RESTError 
Show RESTError 
Generic RESTError 
AWSErrorCode RESTError 
FromXML RESTError 
type Rep RESTError = D1 D1RESTError (C1 C1_0RESTError ((:*:) ((:*:) (S1 S1_0_0RESTError (Rec0 Text)) (S1 S1_0_1RESTError (Rec0 (Maybe ErrorType)))) ((:*:) (S1 S1_0_2RESTError (Rec0 ErrorCode)) (S1 S1_0_3RESTError (Rec0 Text))))) 

XML

Attribute

attribute Source

Arguments

:: Text

aName

-> Text

aValue

-> Attribute 

Attribute constructor.

The fields accessible through corresponding lenses are:

aName :: Lens' Attribute Text Source

The name of the attribute.

aValue :: Lens' Attribute Text Source

The value of the attribute.

DeletableItem

deletableItem Source

Arguments

:: Text

diName

-> DeletableItem 

DeletableItem constructor.

The fields accessible through corresponding lenses are:

ReplaceableItem

replaceableItem Source

Arguments

:: Text

riName

-> ReplaceableItem 

ReplaceableItem constructor.

The fields accessible through corresponding lenses are:

riAttributes :: Lens' ReplaceableItem [ReplaceableAttribute] Source

The list of attributes for a replaceable item.

riName :: Lens' ReplaceableItem Text Source

The name of the replaceable item.

UpdateCondition

updateCondition :: UpdateCondition Source

UpdateCondition constructor.

The fields accessible through corresponding lenses are:

ucExists :: Lens' UpdateCondition (Maybe Bool) Source

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.

ucName :: Lens' UpdateCondition (Maybe Text) Source

The name of the attribute involved in the condition.

ucValue :: Lens' UpdateCondition (Maybe Text) Source

The value of an attribute. This value can only be specified when the Exists parameter is equal to true.

ReplaceableAttribute

replaceableAttribute Source

ReplaceableAttribute constructor.

The fields accessible through corresponding lenses are:

raName :: Lens' ReplaceableAttribute Text Source

The name of the replaceable attribute.

raReplace :: Lens' ReplaceableAttribute (Maybe Bool) Source

A flag specifying whether or not to replace the attribute/value pair or to add a new attribute/value pair. The default setting is false.

raValue :: Lens' ReplaceableAttribute Text Source

The value of the replaceable attribute.

Item

item Source

Arguments

:: Text

iName

-> Item 

Item constructor.

The fields accessible through corresponding lenses are:

iAttributes :: Lens' Item [Attribute] Source

A list of attributes.

iName :: Lens' Item Text Source

The name of the item.