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

Amazonka.SDB.Types

Description

 
Synopsis

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.

_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

data Attribute Source #

See: newAttribute smart constructor.

Constructors

Attribute' 

Fields

Instances

Instances details
Eq Attribute Source # 
Instance details

Defined in Amazonka.SDB.Types.Attribute

Read Attribute Source # 
Instance details

Defined in Amazonka.SDB.Types.Attribute

Show Attribute Source # 
Instance details

Defined in Amazonka.SDB.Types.Attribute

Generic Attribute Source # 
Instance details

Defined in Amazonka.SDB.Types.Attribute

Associated Types

type Rep Attribute :: Type -> Type #

NFData Attribute Source # 
Instance details

Defined in Amazonka.SDB.Types.Attribute

Methods

rnf :: Attribute -> () #

Hashable Attribute Source # 
Instance details

Defined in Amazonka.SDB.Types.Attribute

ToQuery Attribute Source # 
Instance details

Defined in Amazonka.SDB.Types.Attribute

FromXML Attribute Source # 
Instance details

Defined in Amazonka.SDB.Types.Attribute

type Rep Attribute Source # 
Instance details

Defined in Amazonka.SDB.Types.Attribute

type Rep Attribute = D1 ('MetaData "Attribute" "Amazonka.SDB.Types.Attribute" "libZSservicesZSamazonka-sdbZSamazonka-sdb" 'False) (C1 ('MetaCons "Attribute'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "alternateValueEncoding") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "alternateNameEncoding") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newAttribute Source #

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.

attribute_name :: Lens' Attribute Text Source #

The name of the attribute.

attribute_value :: Lens' Attribute Text Source #

The value of the attribute.

DeletableItem

data DeletableItem Source #

See: newDeletableItem smart constructor.

Constructors

DeletableItem' 

Instances

Instances details
Eq DeletableItem Source # 
Instance details

Defined in Amazonka.SDB.Types.DeletableItem

Read DeletableItem Source # 
Instance details

Defined in Amazonka.SDB.Types.DeletableItem

Show DeletableItem Source # 
Instance details

Defined in Amazonka.SDB.Types.DeletableItem

Generic DeletableItem Source # 
Instance details

Defined in Amazonka.SDB.Types.DeletableItem

Associated Types

type Rep DeletableItem :: Type -> Type #

NFData DeletableItem Source # 
Instance details

Defined in Amazonka.SDB.Types.DeletableItem

Methods

rnf :: DeletableItem -> () #

Hashable DeletableItem Source # 
Instance details

Defined in Amazonka.SDB.Types.DeletableItem

ToQuery DeletableItem Source # 
Instance details

Defined in Amazonka.SDB.Types.DeletableItem

type Rep DeletableItem Source # 
Instance details

Defined in Amazonka.SDB.Types.DeletableItem

type Rep DeletableItem = D1 ('MetaData "DeletableItem" "Amazonka.SDB.Types.DeletableItem" "libZSservicesZSamazonka-sdbZSamazonka-sdb" 'False) (C1 ('MetaCons "DeletableItem'" 'PrefixI 'True) (S1 ('MetaSel ('Just "attributes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Attribute])) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newDeletableItem Source #

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.

Item

data Item Source #

See: newItem smart constructor.

Constructors

Item' 

Fields

Instances

Instances details
Eq Item Source # 
Instance details

Defined in Amazonka.SDB.Types.Item

Methods

(==) :: Item -> Item -> Bool #

(/=) :: Item -> Item -> Bool #

Read Item Source # 
Instance details

Defined in Amazonka.SDB.Types.Item

Show Item Source # 
Instance details

Defined in Amazonka.SDB.Types.Item

Methods

showsPrec :: Int -> Item -> ShowS #

show :: Item -> String #

showList :: [Item] -> ShowS #

Generic Item Source # 
Instance details

Defined in Amazonka.SDB.Types.Item

Associated Types

type Rep Item :: Type -> Type #

Methods

from :: Item -> Rep Item x #

to :: Rep Item x -> Item #

NFData Item Source # 
Instance details

Defined in Amazonka.SDB.Types.Item

Methods

rnf :: Item -> () #

Hashable Item Source # 
Instance details

Defined in Amazonka.SDB.Types.Item

Methods

hashWithSalt :: Int -> Item -> Int #

hash :: Item -> Int #

FromXML Item Source # 
Instance details

Defined in Amazonka.SDB.Types.Item

Methods

parseXML :: [Node] -> Either String Item #

type Rep Item Source # 
Instance details

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]))))

newItem Source #

Arguments

:: Text

$sel:name:Item'

-> Item 

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.

item_name :: Lens' Item Text Source #

The name of the item.

item_attributes :: Lens' Item [Attribute] Source #

A list of attributes.

ReplaceableAttribute

data ReplaceableAttribute Source #

See: newReplaceableAttribute smart constructor.

Constructors

ReplaceableAttribute' 

Fields

  • replace :: Maybe Bool

    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.

  • name :: Text

    The name of the replaceable attribute.

  • value :: Text

    The value of the replaceable attribute.

Instances

Instances details
Eq ReplaceableAttribute Source # 
Instance details

Defined in Amazonka.SDB.Types.ReplaceableAttribute

Read ReplaceableAttribute Source # 
Instance details

Defined in Amazonka.SDB.Types.ReplaceableAttribute

Show ReplaceableAttribute Source # 
Instance details

Defined in Amazonka.SDB.Types.ReplaceableAttribute

Generic ReplaceableAttribute Source # 
Instance details

Defined in Amazonka.SDB.Types.ReplaceableAttribute

Associated Types

type Rep ReplaceableAttribute :: Type -> Type #

NFData ReplaceableAttribute Source # 
Instance details

Defined in Amazonka.SDB.Types.ReplaceableAttribute

Methods

rnf :: ReplaceableAttribute -> () #

Hashable ReplaceableAttribute Source # 
Instance details

Defined in Amazonka.SDB.Types.ReplaceableAttribute

ToQuery ReplaceableAttribute Source # 
Instance details

Defined in Amazonka.SDB.Types.ReplaceableAttribute

type Rep ReplaceableAttribute Source # 
Instance details

Defined in Amazonka.SDB.Types.ReplaceableAttribute

type Rep ReplaceableAttribute = D1 ('MetaData "ReplaceableAttribute" "Amazonka.SDB.Types.ReplaceableAttribute" "libZSservicesZSamazonka-sdbZSamazonka-sdb" 'False) (C1 ('MetaCons "ReplaceableAttribute'" 'PrefixI 'True) (S1 ('MetaSel ('Just "replace") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newReplaceableAttribute Source #

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.

Constructors

ReplaceableItem' 

Fields

Instances

Instances details
Eq ReplaceableItem Source # 
Instance details

Defined in Amazonka.SDB.Types.ReplaceableItem

Read ReplaceableItem Source # 
Instance details

Defined in Amazonka.SDB.Types.ReplaceableItem

Show ReplaceableItem Source # 
Instance details

Defined in Amazonka.SDB.Types.ReplaceableItem

Generic ReplaceableItem Source # 
Instance details

Defined in Amazonka.SDB.Types.ReplaceableItem

Associated Types

type Rep ReplaceableItem :: Type -> Type #

NFData ReplaceableItem Source # 
Instance details

Defined in Amazonka.SDB.Types.ReplaceableItem

Methods

rnf :: ReplaceableItem -> () #

Hashable ReplaceableItem Source # 
Instance details

Defined in Amazonka.SDB.Types.ReplaceableItem

ToQuery ReplaceableItem Source # 
Instance details

Defined in Amazonka.SDB.Types.ReplaceableItem

type Rep ReplaceableItem Source # 
Instance details

Defined in Amazonka.SDB.Types.ReplaceableItem

type Rep ReplaceableItem = D1 ('MetaData "ReplaceableItem" "Amazonka.SDB.Types.ReplaceableItem" "libZSservicesZSamazonka-sdbZSamazonka-sdb" 'False) (C1 ('MetaCons "ReplaceableItem'" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "attributes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [ReplaceableAttribute])))

newReplaceableItem Source #

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.

Constructors

UpdateCondition' 

Fields

  • exists :: Maybe Bool

    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.

  • value :: Maybe Text

    The value of an attribute. This value can only be specified when the Exists parameter is equal to true.

  • name :: Maybe Text

    The name of the attribute involved in the condition.

Instances

Instances details
Eq UpdateCondition Source # 
Instance details

Defined in Amazonka.SDB.Types.UpdateCondition

Read UpdateCondition Source # 
Instance details

Defined in Amazonka.SDB.Types.UpdateCondition

Show UpdateCondition Source # 
Instance details

Defined in Amazonka.SDB.Types.UpdateCondition

Generic UpdateCondition Source # 
Instance details

Defined in Amazonka.SDB.Types.UpdateCondition

Associated Types

type Rep UpdateCondition :: Type -> Type #

NFData UpdateCondition Source # 
Instance details

Defined in Amazonka.SDB.Types.UpdateCondition

Methods

rnf :: UpdateCondition -> () #

Hashable UpdateCondition Source # 
Instance details

Defined in Amazonka.SDB.Types.UpdateCondition

ToQuery UpdateCondition Source # 
Instance details

Defined in Amazonka.SDB.Types.UpdateCondition

type Rep UpdateCondition Source # 
Instance details

Defined in Amazonka.SDB.Types.UpdateCondition

type Rep UpdateCondition = D1 ('MetaData "UpdateCondition" "Amazonka.SDB.Types.UpdateCondition" "libZSservicesZSamazonka-sdbZSamazonka-sdb" 'False) (C1 ('MetaCons "UpdateCondition'" 'PrefixI 'True) (S1 ('MetaSel ('Just "exists") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

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.