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.Types

Contents

Description

 

Synopsis

Service Configuration

sDB :: 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.

_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.

_RequestTimeout :: AsError a => Getting (First ServiceError) a ServiceError Source

A timeout occurred when attempting to query the specified domain with specified query expression.

_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.

_InvalidQueryExpression :: AsError a => Getting (First ServiceError) a ServiceError Source

The specified query expression syntax is not valid.

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.