Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- defaultService :: Service
- _AttributeDoesNotExist :: AsError a => Fold a ServiceError
- _DuplicateItemName :: AsError a => Fold a ServiceError
- _InvalidNextToken :: AsError a => Fold a ServiceError
- _InvalidNumberPredicates :: AsError a => Fold a ServiceError
- _InvalidNumberValueTests :: AsError a => Fold a ServiceError
- _InvalidParameterValue :: AsError a => Fold a ServiceError
- _InvalidQueryExpression :: AsError a => Fold a ServiceError
- _MissingParameter :: AsError a => Fold a ServiceError
- _NoSuchDomain :: AsError a => Fold a ServiceError
- _NumberDomainAttributesExceeded :: AsError a => Fold a ServiceError
- _NumberDomainBytesExceeded :: AsError a => Fold a ServiceError
- _NumberDomainsExceeded :: AsError a => Fold a ServiceError
- _NumberItemAttributesExceeded :: AsError a => Fold a ServiceError
- _NumberSubmittedAttributesExceeded :: AsError a => Fold a ServiceError
- _NumberSubmittedItemsExceeded :: AsError a => Fold a ServiceError
- _RequestTimeout :: AsError a => Fold a ServiceError
- _TooManyRequestedAttributes :: AsError a => Fold a ServiceError
- data Attribute = Attribute' {}
- newAttribute :: Text -> Text -> Attribute
- attribute_alternateNameEncoding :: Lens' Attribute (Maybe Text)
- attribute_alternateValueEncoding :: Lens' Attribute (Maybe Text)
- attribute_name :: Lens' Attribute Text
- attribute_value :: Lens' Attribute Text
- data DeletableItem = DeletableItem' {
- attributes :: Maybe [Attribute]
- name :: Text
- newDeletableItem :: Text -> DeletableItem
- deletableItem_attributes :: Lens' DeletableItem (Maybe [Attribute])
- deletableItem_name :: Lens' DeletableItem Text
- data Item = Item' {
- alternateNameEncoding :: Maybe Text
- name :: Text
- attributes :: [Attribute]
- newItem :: Text -> Item
- item_alternateNameEncoding :: Lens' Item (Maybe Text)
- item_name :: Lens' Item Text
- item_attributes :: Lens' Item [Attribute]
- data ReplaceableAttribute = ReplaceableAttribute' {}
- newReplaceableAttribute :: Text -> Text -> ReplaceableAttribute
- replaceableAttribute_replace :: Lens' ReplaceableAttribute (Maybe Bool)
- replaceableAttribute_name :: Lens' ReplaceableAttribute Text
- replaceableAttribute_value :: Lens' ReplaceableAttribute Text
- data ReplaceableItem = ReplaceableItem' {
- name :: Text
- attributes :: [ReplaceableAttribute]
- newReplaceableItem :: Text -> ReplaceableItem
- replaceableItem_name :: Lens' ReplaceableItem Text
- replaceableItem_attributes :: Lens' ReplaceableItem [ReplaceableAttribute]
- data UpdateCondition = UpdateCondition' {}
- newUpdateCondition :: UpdateCondition
- updateCondition_exists :: Lens' UpdateCondition (Maybe Bool)
- updateCondition_name :: Lens' UpdateCondition (Maybe Text)
- updateCondition_value :: Lens' UpdateCondition (Maybe Text)
Service Configuration
defaultService :: Service Source #
API version 2009-04-15
of the Amazon SimpleDB SDK configuration.
Errors
_AttributeDoesNotExist :: AsError a => Fold a ServiceError Source #
The specified attribute does not exist.
_DuplicateItemName :: AsError a => Fold a ServiceError Source #
The item name was specified more than once.
_InvalidNextToken :: AsError a => Fold a ServiceError Source #
The specified NextToken is not valid.
_InvalidNumberPredicates :: AsError a => Fold a ServiceError Source #
Too many predicates exist in the query expression.
_InvalidNumberValueTests :: AsError a => Fold a ServiceError Source #
Too many predicates exist in the query expression.
_InvalidParameterValue :: AsError a => Fold a ServiceError Source #
The value for a parameter is invalid.
_InvalidQueryExpression :: AsError a => Fold a ServiceError Source #
The specified query expression syntax is not valid.
_MissingParameter :: AsError a => Fold a ServiceError Source #
The request must contain the specified missing parameter.
_NoSuchDomain :: AsError a => Fold a ServiceError Source #
The specified domain does not exist.
_NumberDomainAttributesExceeded :: AsError a => Fold a ServiceError Source #
Too many attributes in this domain.
_NumberDomainBytesExceeded :: AsError a => Fold a ServiceError Source #
Too many bytes in this domain.
_NumberDomainsExceeded :: AsError a => Fold a ServiceError Source #
Too many domains exist per this account.
_NumberItemAttributesExceeded :: AsError a => Fold a ServiceError Source #
Too many attributes in this item.
_NumberSubmittedAttributesExceeded :: AsError a => Fold a ServiceError Source #
Too many attributes exist in a single call.
_NumberSubmittedItemsExceeded :: AsError a => Fold a ServiceError Source #
Too many items exist in a single call.
_RequestTimeout :: AsError a => Fold a ServiceError Source #
A timeout occurred when attempting to query the specified domain with specified query expression.
_TooManyRequestedAttributes :: AsError a => Fold a ServiceError Source #
Too many attributes requested.
Attribute
See: newAttribute
smart constructor.
Attribute' | |
|
Instances
Create a value of Attribute
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:alternateNameEncoding:Attribute'
, attribute_alternateNameEncoding
-
$sel:alternateValueEncoding:Attribute'
, attribute_alternateValueEncoding
-
$sel:name:Attribute'
, attribute_name
- The name of the attribute.
$sel:value:Attribute'
, attribute_value
- The value of the attribute.
DeletableItem
data DeletableItem Source #
See: newDeletableItem
smart constructor.
DeletableItem' | |
|
Instances
Create a value of DeletableItem
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:attributes:DeletableItem'
, deletableItem_attributes
- Undocumented member.
DeletableItem
, deletableItem_name
- Undocumented member.
deletableItem_attributes :: Lens' DeletableItem (Maybe [Attribute]) Source #
Undocumented member.
deletableItem_name :: Lens' DeletableItem Text Source #
Undocumented member.
Item
See: newItem
smart constructor.
Item' | |
|
Instances
FromXML Item Source # | |
Generic Item Source # | |
Read Item Source # | |
Show Item Source # | |
NFData Item Source # | |
Defined in Amazonka.SDB.Types.Item | |
Eq Item Source # | |
Hashable Item Source # | |
Defined in Amazonka.SDB.Types.Item | |
type Rep Item Source # | |
Defined in Amazonka.SDB.Types.Item type Rep Item = D1 ('MetaData "Item" "Amazonka.SDB.Types.Item" "amazonka-sdb-2.0-7a0e7nVPNy1GutfrhcqnW8" 'False) (C1 ('MetaCons "Item'" 'PrefixI 'True) (S1 ('MetaSel ('Just "alternateNameEncoding") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "attributes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Attribute])))) |
Create a value of Item
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
Item
, item_alternateNameEncoding
-
Item
, item_name
- The name of the item.
$sel:attributes:Item'
, item_attributes
- A list of attributes.
ReplaceableAttribute
data ReplaceableAttribute Source #
See: newReplaceableAttribute
smart constructor.
Instances
newReplaceableAttribute Source #
:: Text | |
-> Text | |
-> ReplaceableAttribute |
Create a value of ReplaceableAttribute
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:replace:ReplaceableAttribute'
, replaceableAttribute_replace
- 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
.
$sel:name:ReplaceableAttribute'
, replaceableAttribute_name
- The name of the replaceable attribute.
$sel:value:ReplaceableAttribute'
, replaceableAttribute_value
- The value of the replaceable attribute.
replaceableAttribute_replace :: 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
.
replaceableAttribute_name :: Lens' ReplaceableAttribute Text Source #
The name of the replaceable attribute.
replaceableAttribute_value :: Lens' ReplaceableAttribute Text Source #
The value of the replaceable attribute.
ReplaceableItem
data ReplaceableItem Source #
See: newReplaceableItem
smart constructor.
ReplaceableItem' | |
|
Instances
Create a value of ReplaceableItem
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
ReplaceableItem
, replaceableItem_name
- The name of the replaceable item.
$sel:attributes:ReplaceableItem'
, replaceableItem_attributes
- The list of attributes for a replaceable item.
replaceableItem_name :: Lens' ReplaceableItem Text Source #
The name of the replaceable item.
replaceableItem_attributes :: Lens' ReplaceableItem [ReplaceableAttribute] Source #
The list of attributes for a replaceable item.
UpdateCondition
data UpdateCondition Source #
Specifies the conditions under which data should be updated. If an update condition is specified for a request, the data will only be updated if the condition is satisfied. For example, if an attribute with a specific name and value exists, or if a specific attribute doesn't exist.
See: newUpdateCondition
smart constructor.
UpdateCondition' | |
|
Instances
newUpdateCondition :: UpdateCondition Source #
Create a value of UpdateCondition
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:exists:UpdateCondition'
, updateCondition_exists
- 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.
$sel:name:UpdateCondition'
, updateCondition_name
- The name of the attribute involved in the condition.
$sel:value:UpdateCondition'
, updateCondition_value
- The value of an attribute. This value can only be specified when the
Exists
parameter is equal to true
.
updateCondition_exists :: 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.
updateCondition_name :: Lens' UpdateCondition (Maybe Text) Source #
The name of the attribute involved in the condition.
updateCondition_value :: Lens' UpdateCondition (Maybe Text) Source #
The value of an attribute. This value can only be specified when the
Exists
parameter is equal to true
.