amazonka-sdb-2.0: Amazon SimpleDB SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.SDB.Types.Item

Description

 
Synopsis

Documentation

data Item Source #

See: newItem smart constructor.

Constructors

Item' 

Fields

Instances

Instances details
FromXML Item Source # 
Instance details

Defined in Amazonka.SDB.Types.Item

Methods

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

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 #

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 #

NFData Item Source # 
Instance details

Defined in Amazonka.SDB.Types.Item

Methods

rnf :: Item -> () #

Eq Item Source # 
Instance details

Defined in Amazonka.SDB.Types.Item

Methods

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

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

Hashable Item Source # 
Instance details

Defined in Amazonka.SDB.Types.Item

Methods

hashWithSalt :: Int -> Item -> Int #

hash :: Item -> Int #

type Rep Item Source # 
Instance details

Defined in Amazonka.SDB.Types.Item

type Rep Item = D1 ('MetaData "Item" "Amazonka.SDB.Types.Item" "amazonka-sdb-2.0-7a0e7nVPNy1GutfrhcqnW8" '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

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:

Item, item_alternateNameEncoding -

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.