Safe Haskell | None |
---|---|
Language | Haskell2010 |
- data SDB
- data RESTError :: *
- ns :: Text
- data Attribute
- attribute :: Text -> Text -> Attribute
- aAlternateNameEncoding :: Lens' Attribute (Maybe Text)
- aAlternateValueEncoding :: Lens' Attribute (Maybe Text)
- aName :: Lens' Attribute Text
- aValue :: Lens' Attribute Text
- data DeletableItem
- deletableItem :: Text -> DeletableItem
- diAttributes :: Lens' DeletableItem [Attribute]
- diName :: Lens' DeletableItem Text
- data ReplaceableItem
- replaceableItem :: Text -> ReplaceableItem
- riAttributes :: Lens' ReplaceableItem [ReplaceableAttribute]
- riName :: Lens' ReplaceableItem Text
- data UpdateCondition
- updateCondition :: UpdateCondition
- ucExists :: Lens' UpdateCondition (Maybe Bool)
- ucName :: Lens' UpdateCondition (Maybe Text)
- ucValue :: Lens' UpdateCondition (Maybe Text)
- data ReplaceableAttribute
- replaceableAttribute :: Text -> Text -> ReplaceableAttribute
- raName :: Lens' ReplaceableAttribute Text
- raReplace :: Lens' ReplaceableAttribute (Maybe Bool)
- raValue :: Lens' ReplaceableAttribute Text
- data Item
- item :: Text -> Item
- iAlternateNameEncoding :: Lens' Item (Maybe Text)
- iAttributes :: Lens' Item [Attribute]
- iName :: Lens' Item Text
Service
Version 2009-04-15
of the Amazon SimpleDB service.
Error
data RESTError :: *
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
DeletableItem
data DeletableItem Source
:: Text | |
-> DeletableItem |
DeletableItem
constructor.
The fields accessible through corresponding lenses are:
diAttributes
::
[Attribute
]diName
::
Text
ReplaceableItem
data ReplaceableItem Source
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
data UpdateCondition Source
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
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
constructor.
The fields accessible through corresponding lenses are:
iAlternateNameEncoding
::
Maybe
Text
iAttributes
::
[Attribute
]iName
::
Text
iAttributes :: Lens' Item [Attribute] Source
A list of attributes.