Copyright | (c) 2013-2015 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
- Service Configuration
- Errors
- InvalidNumberValueTests
- NoSuchDomain
- NumberSubmittedItemsExceeded
- AttributeDoesNotExist
- NumberDomainAttributesExceeded
- DuplicateItemName
- MissingParameter
- InvalidNextToken
- InvalidParameterValue
- NumberItemAttributesExceeded
- RequestTimeout
- TooManyRequestedAttributes
- InvalidNumberPredicates
- NumberDomainsExceeded
- NumberSubmittedAttributesExceeded
- NumberDomainBytesExceeded
- InvalidQueryExpression
- Waiters
- Operations
- Types
Amazon SimpleDB is a web service providing the core database functions of data indexing and querying in the cloud. By offloading the time and effort associated with building and operating a web-scale database, SimpleDB provides developers the freedom to focus on application development.
A traditional, clustered relational database requires a sizable upfront capital outlay, is complex to design, and often requires extensive and repetitive database administration. Amazon SimpleDB is dramatically simpler, requiring no schema, automatically indexing your data and providing a simple API for storage and access. This approach eliminates the administrative burden of data modeling, index maintenance, and performance tuning. Developers gain access to this functionality within Amazon's proven computing environment, are able to scale instantly, and pay only for what they use.
Visit http://aws.amazon.com/simpledb/ for more information.
See: AWS API Reference
- sDB :: 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
- module Network.AWS.SDB.BatchDeleteAttributes
- module Network.AWS.SDB.BatchPutAttributes
- module Network.AWS.SDB.GetAttributes
- module Network.AWS.SDB.CreateDomain
- module Network.AWS.SDB.DomainMetadata
- module Network.AWS.SDB.Select
- module Network.AWS.SDB.DeleteAttributes
- module Network.AWS.SDB.PutAttributes
- module Network.AWS.SDB.DeleteDomain
- module Network.AWS.SDB.ListDomains
- data Attribute
- attribute :: Text -> Text -> Attribute
- aAlternateValueEncoding :: Lens' Attribute (Maybe Text)
- aAlternateNameEncoding :: 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 Item
- item :: Text -> Item
- iAlternateNameEncoding :: Lens' Item (Maybe Text)
- iName :: Lens' Item Text
- iAttributes :: Lens' Item [Attribute]
- data ReplaceableAttribute
- replaceableAttribute :: Text -> Text -> ReplaceableAttribute
- raReplace :: Lens' ReplaceableAttribute (Maybe Bool)
- raName :: Lens' ReplaceableAttribute Text
- raValue :: Lens' ReplaceableAttribute Text
- data ReplaceableItem
- replaceableItem :: Text -> ReplaceableItem
- riName :: Lens' ReplaceableItem Text
- riAttributes :: Lens' ReplaceableItem [ReplaceableAttribute]
- data UpdateCondition
- updateCondition :: UpdateCondition
- ucExists :: Lens' UpdateCondition (Maybe Bool)
- ucValue :: Lens' UpdateCondition (Maybe Text)
- ucName :: Lens' UpdateCondition (Maybe Text)
Service Configuration
Errors
Error matchers are designed for use with the functions provided by
Control.Exception.Lens.
This allows catching (and rethrowing) service specific errors returned
by SDB
.
InvalidNumberValueTests
_InvalidNumberValueTests :: AsError a => Getting (First ServiceError) a ServiceError Source
Too many predicates exist in the query expression.
NoSuchDomain
_NoSuchDomain :: AsError a => Getting (First ServiceError) a ServiceError Source
The specified domain does not exist.
NumberSubmittedItemsExceeded
_NumberSubmittedItemsExceeded :: AsError a => Getting (First ServiceError) a ServiceError Source
Too many items exist in a single call.
AttributeDoesNotExist
_AttributeDoesNotExist :: AsError a => Getting (First ServiceError) a ServiceError Source
The specified attribute does not exist.
NumberDomainAttributesExceeded
_NumberDomainAttributesExceeded :: AsError a => Getting (First ServiceError) a ServiceError Source
Too many attributes in this domain.
DuplicateItemName
_DuplicateItemName :: AsError a => Getting (First ServiceError) a ServiceError Source
The item name was specified more than once.
MissingParameter
_MissingParameter :: AsError a => Getting (First ServiceError) a ServiceError Source
The request must contain the specified missing parameter.
InvalidNextToken
_InvalidNextToken :: AsError a => Getting (First ServiceError) a ServiceError Source
The specified NextToken is not valid.
InvalidParameterValue
_InvalidParameterValue :: AsError a => Getting (First ServiceError) a ServiceError Source
The value for a parameter is invalid.
NumberItemAttributesExceeded
_NumberItemAttributesExceeded :: AsError a => Getting (First ServiceError) a ServiceError Source
Too many attributes in this item.
RequestTimeout
_RequestTimeout :: AsError a => Getting (First ServiceError) a ServiceError Source
A timeout occurred when attempting to query the specified domain with specified query expression.
TooManyRequestedAttributes
_TooManyRequestedAttributes :: AsError a => Getting (First ServiceError) a ServiceError Source
Too many attributes requested.
InvalidNumberPredicates
_InvalidNumberPredicates :: AsError a => Getting (First ServiceError) a ServiceError Source
Too many predicates exist in the query expression.
NumberDomainsExceeded
_NumberDomainsExceeded :: AsError a => Getting (First ServiceError) a ServiceError Source
Too many domains exist per this account.
NumberSubmittedAttributesExceeded
_NumberSubmittedAttributesExceeded :: AsError a => Getting (First ServiceError) a ServiceError Source
Too many attributes exist in a single call.
NumberDomainBytesExceeded
_NumberDomainBytesExceeded :: AsError a => Getting (First ServiceError) a ServiceError Source
Too many bytes in this domain.
InvalidQueryExpression
_InvalidQueryExpression :: AsError a => Getting (First ServiceError) a ServiceError Source
The specified query expression syntax is not valid.
Waiters
Waiters poll by repeatedly sending a request until some remote success condition
configured by the Wait
specification is fulfilled. The Wait
specification
determines how many attempts should be made, in addition to delay and retry strategies.
Operations
Some AWS operations return results that are incomplete and require subsequent
requests in order to obtain the entire result set. The process of sending
subsequent requests to continue where a previous request left off is called
pagination. For example, the ListObjects
operation of Amazon S3 returns up to
1000 objects at a time, and you must send subsequent requests with the
appropriate Marker in order to retrieve the next page of results.
Operations that have an AWSPager
instance can transparently perform subsequent
requests, correctly setting Markers and other request facets to iterate through
the entire result set of a truncated API operation. Operations which support
this have an additional note in the documentation.
Many operations have the ability to filter results on the server side. See the individual operation parameters for details.
BatchDeleteAttributes
BatchPutAttributes
GetAttributes
CreateDomain
module Network.AWS.SDB.CreateDomain
DomainMetadata
Select (Paginated)
module Network.AWS.SDB.Select
DeleteAttributes
PutAttributes
DeleteDomain
module Network.AWS.SDB.DeleteDomain
ListDomains (Paginated)
module Network.AWS.SDB.ListDomains
Types
Attribute
See: attribute
smart constructor.
Creates a value of Attribute
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
DeletableItem
data DeletableItem Source
See: deletableItem
smart constructor.
:: Text | |
-> DeletableItem |
Creates a value of DeletableItem
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
diAttributes :: Lens' DeletableItem [Attribute] Source
Undocumented member.
diName :: Lens' DeletableItem Text Source
Undocumented member.
Item
See: item
smart constructor.
Creates a value of Item
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
iAttributes :: Lens' Item [Attribute] Source
A list of attributes.
ReplaceableAttribute
data ReplaceableAttribute Source
See: replaceableAttribute
smart constructor.
Creates a value of ReplaceableAttribute
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
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
.
raName :: Lens' ReplaceableAttribute Text Source
The name of the replaceable attribute.
raValue :: Lens' ReplaceableAttribute Text Source
The value of the replaceable attribute.
ReplaceableItem
data ReplaceableItem Source
See: replaceableItem
smart constructor.
Creates a value of ReplaceableItem
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
riName :: Lens' ReplaceableItem Text Source
The name of the replaceable item.
riAttributes :: 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: updateCondition
smart constructor.
updateCondition :: UpdateCondition Source
Creates a value of UpdateCondition
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
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.