amazonka-sdb-1.3.6: Amazon SimpleDB SDK.

Copyright(c) 2013-2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.SDB

Contents

Description

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

Synopsis

Service Configuration

sDB :: Service Source

API version '2009-04-15' of the Amazon SimpleDB SDK 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

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

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

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

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

DomainMetadata

Select (Paginated)

DeleteAttributes

PutAttributes

DeleteDomain

ListDomains (Paginated)

Types

Attribute

attribute Source

Arguments

:: Text

aName

-> Text

aValue

-> Attribute 

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:

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 

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:

diName :: Lens' DeletableItem Text Source

Undocumented member.

Item

item Source

Arguments

:: Text

iName

-> Item 

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:

iName :: Lens' Item Text Source

The name of the item.

iAttributes :: Lens' Item [Attribute] Source

A list of attributes.

ReplaceableAttribute

replaceableAttribute Source

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

replaceableItem Source

Arguments

:: Text

riName

-> ReplaceableItem 

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.

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.

ucName :: Lens' UpdateCondition (Maybe Text) Source

The name of the attribute involved in the condition.