Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- defaultService :: Service
- _InvalidNumberValueTests :: AsError a => Getting (First ServiceError) a ServiceError
- _NoSuchDomain :: AsError a => Getting (First ServiceError) a ServiceError
- _NumberSubmittedItemsExceeded :: AsError a => Getting (First ServiceError) a ServiceError
- _AttributeDoesNotExist :: AsError a => Getting (First ServiceError) a ServiceError
- _NumberDomainAttributesExceeded :: AsError a => Getting (First ServiceError) a ServiceError
- _DuplicateItemName :: AsError a => Getting (First ServiceError) a ServiceError
- _MissingParameter :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidNextToken :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidParameterValue :: AsError a => Getting (First ServiceError) a ServiceError
- _NumberItemAttributesExceeded :: AsError a => Getting (First ServiceError) a ServiceError
- _RequestTimeout :: AsError a => Getting (First ServiceError) a ServiceError
- _TooManyRequestedAttributes :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidNumberPredicates :: AsError a => Getting (First ServiceError) a ServiceError
- _NumberDomainsExceeded :: AsError a => Getting (First ServiceError) a ServiceError
- _NumberSubmittedAttributesExceeded :: AsError a => Getting (First ServiceError) a ServiceError
- _NumberDomainBytesExceeded :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidQueryExpression :: AsError a => Getting (First ServiceError) a ServiceError
- data Attribute = Attribute' {}
- newAttribute :: Text -> Text -> Attribute
- attribute_alternateValueEncoding :: Lens' Attribute (Maybe Text)
- attribute_alternateNameEncoding :: 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_value :: Lens' UpdateCondition (Maybe Text)
- updateCondition_name :: Lens' UpdateCondition (Maybe Text)
Service Configuration
defaultService :: Service Source #
API version 2009-04-15
of the Amazon SimpleDB SDK configuration.
Errors
_InvalidNumberValueTests :: AsError a => Getting (First ServiceError) a ServiceError Source #
Too many predicates exist in the query expression.
_NoSuchDomain :: AsError a => Getting (First ServiceError) a ServiceError Source #
The specified domain does not exist.
_NumberSubmittedItemsExceeded :: AsError a => Getting (First ServiceError) a ServiceError Source #
Too many items exist in a single call.
_AttributeDoesNotExist :: AsError a => Getting (First ServiceError) a ServiceError Source #
The specified attribute does not exist.
_NumberDomainAttributesExceeded :: AsError a => Getting (First ServiceError) a ServiceError Source #
Too many attributes in this domain.
_DuplicateItemName :: AsError a => Getting (First ServiceError) a ServiceError Source #
The item name was specified more than once.
_MissingParameter :: AsError a => Getting (First ServiceError) a ServiceError Source #
The request must contain the specified missing parameter.
_InvalidNextToken :: AsError a => Getting (First ServiceError) a ServiceError Source #
The specified NextToken is not valid.
_InvalidParameterValue :: AsError a => Getting (First ServiceError) a ServiceError Source #
The value for a parameter is invalid.
_NumberItemAttributesExceeded :: AsError a => Getting (First ServiceError) a ServiceError Source #
Too many attributes in this item.
_RequestTimeout :: AsError a => Getting (First ServiceError) a ServiceError Source #
A timeout occurred when attempting to query the specified domain with specified query expression.
_TooManyRequestedAttributes :: AsError a => Getting (First ServiceError) a ServiceError Source #
Too many attributes requested.
_InvalidNumberPredicates :: AsError a => Getting (First ServiceError) a ServiceError Source #
Too many predicates exist in the query expression.
_NumberDomainsExceeded :: AsError a => Getting (First ServiceError) a ServiceError Source #
Too many domains exist per this account.
_NumberSubmittedAttributesExceeded :: AsError a => Getting (First ServiceError) a ServiceError Source #
Too many attributes exist in a single call.
_NumberDomainBytesExceeded :: AsError a => Getting (First ServiceError) a ServiceError Source #
Too many bytes in this domain.
_InvalidQueryExpression :: AsError a => Getting (First ServiceError) a ServiceError Source #
The specified query expression syntax is not valid.
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:alternateValueEncoding:Attribute'
, attribute_alternateValueEncoding
-
$sel:alternateNameEncoding:Attribute'
, attribute_alternateNameEncoding
-
$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.
$sel:name: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
Eq Item Source # | |
Read Item Source # | |
Show Item Source # | |
Generic Item Source # | |
NFData Item Source # | |
Defined in Amazonka.SDB.Types.Item | |
Hashable Item Source # | |
Defined in Amazonka.SDB.Types.Item | |
FromXML Item Source # | |
type Rep Item Source # | |
Defined in Amazonka.SDB.Types.Item type Rep Item = D1 ('MetaData "Item" "Amazonka.SDB.Types.Item" "libZSservicesZSamazonka-sdbZSamazonka-sdb" '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:
$sel:alternateNameEncoding:Item'
, item_alternateNameEncoding
-
$sel:name: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:
$sel:name: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:value:UpdateCondition'
, updateCondition_value
- The value of an attribute. This value can only be specified when the
Exists
parameter is equal to true
.
$sel:name:UpdateCondition'
, updateCondition_name
- The name of the attribute involved in the condition.
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_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
.
updateCondition_name :: Lens' UpdateCondition (Maybe Text) Source #
The name of the attribute involved in the condition.