amazonka-sdb 0.0.1 → 0.0.2
raw patch · 14 files changed
+183/−169 lines, 14 filesdep ~amazonka-corePVP ok
version bump matches the API change (PVP)
Dependency ranges changed: amazonka-core
API changes (from Hackage documentation)
Files
- README.md +14/−1
- amazonka-sdb.cabal +16/−17
- gen/Network/AWS/SDB.hs +14/−14
- gen/Network/AWS/SDB/BatchDeleteAttributes.hs +4/−3
- gen/Network/AWS/SDB/BatchPutAttributes.hs +35/−33
- gen/Network/AWS/SDB/CreateDomain.hs +8/−7
- gen/Network/AWS/SDB/DeleteAttributes.hs +13/−12
- gen/Network/AWS/SDB/DeleteDomain.hs +2/−2
- gen/Network/AWS/SDB/DomainMetadata.hs +3/−3
- gen/Network/AWS/SDB/GetAttributes.hs +10/−10
- gen/Network/AWS/SDB/ListDomains.hs +5/−10
- gen/Network/AWS/SDB/PutAttributes.hs +30/−28
- gen/Network/AWS/SDB/Select.hs +18/−17
- gen/Network/AWS/SDB/Types.hs +11/−12
README.md view
@@ -8,7 +8,20 @@ ## Description -Amazon SimpleDB is a highly available and flexible non-relational data store that offloads the work of database administration. Developers simply store and query data items via web services requests and Amazon SimpleDB does the rest. Unbound by the strict requirements of a relational database, Amazon SimpleDB is optimized to provide high availability and flexibility, with little or no administrative burden. Behind the scenes, Amazon SimpleDB creates and manages multiple geographically distributed replicas of your data automatically to enable high availability and data durability. The service charges you only for the resources actually consumed in storing your data and serving your requests. You can change your data model on the fly, and data is automatically indexed for you. With Amazon SimpleDB, you can focus on application development without worrying about infrastructure provisioning, high availability, software maintenance, schema and index management, or performance tuning.+ Amazon SimpleDB is a highly available and flexible non-relational data store+ that offloads the work of database administration. Developers simply store+ and query data items via web services requests and Amazon SimpleDB does the+ rest. Unbound by the strict requirements of a relational database, Amazon+ SimpleDB is optimized to provide high availability and flexibility, with+ little or no administrative burden. Behind the scenes, Amazon SimpleDB+ creates and manages multiple geographically distributed replicas of your data+ automatically to enable high availability and data durability. The service+ charges you only for the resources actually consumed in storing your data and+ serving your requests. You can change your data model on the fly, and data is+ automatically indexed for you. With Amazon SimpleDB, you can focus on+ application development without worrying about infrastructure provisioning,+ high availability, software maintenance, schema and index management, or+ performance tuning. Documentation is available via [Hackage](http://hackage.haskell.org/package/amazonka-sdb) and [AWS API Reference](http://docs.aws.amazon.com/AmazonSimpleDB/latest/DeveloperGuide/SDB_API.html).
amazonka-sdb.cabal view
@@ -1,5 +1,5 @@ name: amazonka-sdb-version: 0.0.1+version: 0.0.2 synopsis: Amazon SimpleDB SDK. homepage: https://github.com/brendanhay/amazonka license: OtherLicense@@ -13,21 +13,20 @@ cabal-version: >= 1.10 description:- Amazon SimpleDB is a highly available and flexible non-relational data- store that offloads the work of database administration. Developers- simply store and query data items via web services requests and Amazon- SimpleDB does the rest. Unbound by the strict requirements of a- relational database, Amazon SimpleDB is optimized to provide high- availability and flexibility, with little or no administrative burden.- Behind the scenes, Amazon SimpleDB creates and manages multiple- geographically distributed replicas of your data automatically to- enable high availability and data durability. The service charges you- only for the resources actually consumed in storing your data and- serving your requests. You can change your data model on the fly, and- data is automatically indexed for you. With Amazon SimpleDB, you can- focus on application development without worrying about infrastructure- provisioning, high availability, software maintenance, schema and index- management, or performance tuning.+ Amazon SimpleDB is a highly available and flexible non-relational data store+ that offloads the work of database administration. Developers simply store+ and query data items via web services requests and Amazon SimpleDB does the+ rest. Unbound by the strict requirements of a relational database, Amazon+ SimpleDB is optimized to provide high availability and flexibility, with+ little or no administrative burden. Behind the scenes, Amazon SimpleDB+ creates and manages multiple geographically distributed replicas of your data+ automatically to enable high availability and data durability. The service+ charges you only for the resources actually consumed in storing your data and+ serving your requests. You can change your data model on the fly, and data is+ automatically indexed for you. With Amazon SimpleDB, you can focus on+ application development without worrying about infrastructure provisioning,+ high availability, software maintenance, schema and index management, or+ performance tuning. . /See:/ <http://docs.aws.amazon.com/AmazonSimpleDB/latest/DeveloperGuide/SDB_API.html AWS API Reference> .@@ -61,5 +60,5 @@ other-modules: build-depends:- amazonka-core == 0.0.1.*+ amazonka-core == 0.0.2.* , base >= 4.7 && < 5
gen/Network/AWS/SDB.hs view
@@ -8,20 +8,20 @@ -- Stability : experimental -- Portability : non-portable (GHC extensions) --- | Amazon SimpleDB is a highly available and flexible non-relational data--- store that offloads the work of database administration. Developers simply--- store and query data items via web services requests and Amazon SimpleDB--- does the rest. Unbound by the strict requirements of a relational database,--- Amazon SimpleDB is optimized to provide high availability and flexibility,--- with little or no administrative burden. Behind the scenes, Amazon SimpleDB--- creates and manages multiple geographically distributed replicas of your--- data automatically to enable high availability and data durability. The--- service charges you only for the resources actually consumed in storing--- your data and serving your requests. You can change your data model on the--- fly, and data is automatically indexed for you. With Amazon SimpleDB, you--- can focus on application development without worrying about infrastructure--- provisioning, high availability, software maintenance, schema and index--- management, or performance tuning.+-- | Amazon SimpleDB is a highly available and flexible non-relational data store+-- that offloads the work of database administration. Developers simply store+-- and query data items via web services requests and Amazon SimpleDB does the+-- rest. Unbound by the strict requirements of a relational database, Amazon+-- SimpleDB is optimized to provide high availability and flexibility, with+-- little or no administrative burden. Behind the scenes, Amazon SimpleDB+-- creates and manages multiple geographically distributed replicas of your data+-- automatically to enable high availability and data durability. The service+-- charges you only for the resources actually consumed in storing your data and+-- serving your requests. You can change your data model on the fly, and data is+-- automatically indexed for you. With Amazon SimpleDB, you can focus on+-- application development without worrying about infrastructure provisioning,+-- high availability, software maintenance, schema and index management, or+-- performance tuning. module Network.AWS.SDB ( module Network.AWS.SDB.BatchDeleteAttributes , module Network.AWS.SDB.BatchPutAttributes
gen/Network/AWS/SDB/BatchDeleteAttributes.hs view
@@ -22,9 +22,10 @@ -- | Performs multiple DeleteAttributes operations in a single call, which -- reduces round trips and latencies. This enables Amazon SimpleDB to optimize--- requests, which generally yields better throughput. The following--- limitations are enforced for this operation: 1 MB request size 25 item--- limit per BatchDeleteAttributes operation.+-- requests, which generally yields better throughput.+--+-- The following limitations are enforced for this operation: 1 MB request+-- size 25 item limit per BatchDeleteAttributes operation -- -- <http://docs.aws.amazon.com/AmazonSimpleDB/latest/DeveloperGuide/SDB_API_BatchDeleteAttributes.html> module Network.AWS.SDB.BatchDeleteAttributes
gen/Network/AWS/SDB/BatchPutAttributes.hs view
@@ -20,39 +20,41 @@ -- Stability : experimental -- Portability : non-portable (GHC extensions) --- | The BatchPutAttributes operation creates or replaces attributes within one--- or more items. By using this operation, the client can perform multiple--- PutAttribute operation with a single call. This helps yield savings in--- round trips and latencies, enabling Amazon SimpleDB to optimize requests--- and generally produce better throughput. The client may specify the item--- name with the Item.X.ItemName parameter. The client may specify new--- attributes using a combination of the Item.X.Attribute.Y.Name and--- Item.X.Attribute.Y.Value parameters. The client may specify the first--- attribute for the first item using the parameters Item.0.Attribute.0.Name--- and Item.0.Attribute.0.Value, and for the second attribute for the first--- item by the parameters Item.0.Attribute.1.Name and--- Item.0.Attribute.1.Value, and so on. Attributes are uniquely identified--- within an item by their name/value combination. For example, a single item--- can have the attributes { "first_name", "first_value" } and { "first_name",--- "second_value" }. However, it cannot have two attribute instances where--- both the Item.X.Attribute.Y.Name and Item.X.Attribute.Y.Value are the same.--- Optionally, the requester can supply the Replace parameter for each--- individual value. Setting this value to true will cause the new attribute--- values to replace the existing attribute values. For example, if an item I--- has the attributes { 'a', '1' }, { 'b', '2'} and { 'b', '3' } and the--- requester does a BatchPutAttributes of {'I', 'b', '4' } with the Replace--- parameter set to true, the final attributes of the item will be { 'a', '1'--- } and { 'b', '4' }, replacing the previous values of the 'b' attribute with--- the new value. This operation is vulnerable to exceeding the maximum URL--- size when making a REST request using the HTTP GET method. This operation--- does not support conditions using Expected.X.Name, Expected.X.Value, or--- Expected.X.Exists. You can execute multiple BatchPutAttributes operations--- and other operations in parallel. However, large numbers of concurrent--- BatchPutAttributes calls can result in Service Unavailable (503) responses.--- The following limitations are enforced for this operation: 256 attribute--- name-value pairs per item 1 MB request size 1 billion attributes per domain--- 10 GB of total user data storage per domain 25 item limit per--- BatchPutAttributes operation.+-- | The 'BatchPutAttributes' operation creates or replaces attributes within one+-- or more items. By using this operation, the client can perform multiple 'PutAttribute' operation with a single call. This helps yield savings in round trips and+-- latencies, enabling Amazon SimpleDB to optimize requests and generally+-- produce better throughput.+--+-- The client may specify the item name with the 'Item.X.ItemName' parameter.+-- The client may specify new attributes using a combination of the 'Item.X.Attribute.Y.Name' and 'Item.X.Attribute.Y.Value' parameters. The client may specify the first+-- attribute for the first item using the parameters 'Item.0.Attribute.0.Name' and 'Item.0.Attribute.0.Value', and for the second attribute for the first item by+-- the parameters 'Item.0.Attribute.1.Name' and 'Item.0.Attribute.1.Value', and so+-- on.+--+-- Attributes are uniquely identified within an item by their name/value+-- combination. For example, a single item can have the attributes '{"first_name", "first_value" }' and '{ "first_name", "second_value" }'. However,+-- it cannot have two attribute instances where both the 'Item.X.Attribute.Y.Name'+-- and 'Item.X.Attribute.Y.Value' are the same.+--+-- Optionally, the requester can supply the 'Replace' parameter for each+-- individual value. Setting this value to 'true' will cause the new attribute+-- values to replace the existing attribute values. For example, if an item 'I'+-- has the attributes '{ 'a', '1' }, { 'b', '2'}' and '{ 'b', '3' }' and the+-- requester does a BatchPutAttributes of '{'I', 'b', '4' }' with the Replace+-- parameter set to true, the final attributes of the item will be '{ 'a', '1' }'+-- and '{ 'b', '4' }', replacing the previous values of the 'b' attribute with the+-- new value.+--+-- This operation is vulnerable to exceeding the maximum URL size when making+-- a REST request using the HTTP GET method. This operation does not support+-- conditions using 'Expected.X.Name', 'Expected.X.Value', or 'Expected.X.Exists'.+-- You can execute multiple 'BatchPutAttributes' operations and other operations+-- in parallel. However, large numbers of concurrent 'BatchPutAttributes' calls+-- can result in Service Unavailable (503) responses.+--+-- The following limitations are enforced for this operation: 256 attribute+-- name-value pairs per item 1 MB request size 1 billion attributes per domain 10 GB of total user data storage per domain+-- 25 item limit per 'BatchPutAttributes' operation -- -- <http://docs.aws.amazon.com/AmazonSimpleDB/latest/DeveloperGuide/SDB_API_BatchPutAttributes.html> module Network.AWS.SDB.BatchPutAttributes
gen/Network/AWS/SDB/CreateDomain.hs view
@@ -20,13 +20,14 @@ -- Stability : experimental -- Portability : non-portable (GHC extensions) --- | The CreateDomain operation creates a new domain. The domain name should be+-- | The 'CreateDomain' operation creates a new domain. The domain name should be -- unique among the domains associated with the Access Key ID provided in the--- request. The CreateDomain operation may take 10 or more seconds to--- complete. The client can create up to 100 domains per account. If the--- client requires additional domains, go to--- http://aws.amazon.com/contact-us/simpledb-limit-request/.+-- request. The 'CreateDomain' operation may take 10 or more seconds to complete. --+-- The client can create up to 100 domains per account.+--+-- If the client requires additional domains, go to <http://aws.amazon.com/contact-us/simpledb-limit-request/ http://aws.amazon.com/contact-us/simpledb-limit-request/>.+-- -- <http://docs.aws.amazon.com/AmazonSimpleDB/latest/DeveloperGuide/SDB_API_CreateDomain.html> module Network.AWS.SDB.CreateDomain (@@ -65,8 +66,8 @@ } -- | The name of the domain to create. The name can range between 3 and 255--- characters and can contain the following characters: a-z, A-Z, 0-9, '_',--- '-', and '.'.+-- characters and can contain the following characters: a-z, A-Z, 0-9, '_', '-',+-- and '.'. cdDomainName :: Lens' CreateDomain Text cdDomainName = lens _cdDomainName (\s a -> s { _cdDomainName = a })
gen/Network/AWS/SDB/DeleteAttributes.hs view
@@ -20,15 +20,17 @@ -- Stability : experimental -- Portability : non-portable (GHC extensions) --- | Deletes one or more attributes associated with an item. If all attributes--- of the item are deleted, the item is deleted. DeleteAttributes is an--- idempotent operation; running it multiple times on the same item or--- attribute does not result in an error response. Because Amazon SimpleDB--- makes multiple copies of item data and uses an eventual consistency update--- model, performing a GetAttributes or Select operation (read) immediately--- after a DeleteAttributes or PutAttributes operation (write) might not--- return updated item data.+-- | Deletes one or more attributes associated with an item. If all attributes of+-- the item are deleted, the item is deleted. --+-- 'DeleteAttributes' is an idempotent operation; running it multiple times on+-- the same item or attribute does not result in an error response.+--+-- Because Amazon SimpleDB makes multiple copies of item data and uses an+-- eventual consistency update model, performing a 'GetAttributes' or 'Select'+-- operation (read) immediately after a 'DeleteAttributes' or 'PutAttributes'+-- operation (write) might not return updated item data.+-- -- <http://docs.aws.amazon.com/AmazonSimpleDB/latest/DeveloperGuide/SDB_API_DeleteAttributes.html> module Network.AWS.SDB.DeleteAttributes (@@ -91,10 +93,9 @@ daDomainName :: Lens' DeleteAttributes Text daDomainName = lens _daDomainName (\s a -> s { _daDomainName = a }) --- | The update condition which, if specified, determines whether the--- specified attributes will be deleted or not. The update condition must be--- satisfied in order for this request to be processed and the attributes to--- be deleted.+-- | The update condition which, if specified, determines whether the specified+-- attributes will be deleted or not. The update condition must be satisfied in+-- order for this request to be processed and the attributes to be deleted. daExpected :: Lens' DeleteAttributes (Maybe UpdateCondition) daExpected = lens _daExpected (\s a -> s { _daExpected = a })
gen/Network/AWS/SDB/DeleteDomain.hs view
@@ -20,8 +20,8 @@ -- Stability : experimental -- Portability : non-portable (GHC extensions) --- | The DeleteDomain operation deletes a domain. Any items (and their--- attributes) in the domain are deleted as well. The DeleteDomain operation+-- | The 'DeleteDomain' operation deletes a domain. Any items (and their+-- attributes) in the domain are deleted as well. The 'DeleteDomain' operation -- might take 10 or more seconds to complete. -- -- <http://docs.aws.amazon.com/AmazonSimpleDB/latest/DeveloperGuide/SDB_API_DeleteDomain.html>
gen/Network/AWS/SDB/DomainMetadata.hs view
@@ -20,9 +20,9 @@ -- Stability : experimental -- Portability : non-portable (GHC extensions) --- | Returns information about the domain, including when the domain was--- created, the number of items and attributes in the domain, and the size of--- the attribute names and values.+-- | Returns information about the domain, including when the domain was created,+-- the number of items and attributes in the domain, and the size of the+-- attribute names and values. -- -- <http://docs.aws.amazon.com/AmazonSimpleDB/latest/DeveloperGuide/SDB_API_DomainMetadata.html> module Network.AWS.SDB.DomainMetadata
gen/Network/AWS/SDB/GetAttributes.hs view
@@ -21,12 +21,13 @@ -- Portability : non-portable (GHC extensions) -- | Returns all of the attributes associated with the specified item.--- Optionally, the attributes returned can be limited to one or more--- attributes by specifying an attribute name parameter. If the item does not--- exist on the replica that was accessed for this operation, an empty set is--- returned. The system does not return an error as it cannot guarantee the--- item does not exist on other replicas.+-- Optionally, the attributes returned can be limited to one or more attributes+-- by specifying an attribute name parameter. --+-- If the item does not exist on the replica that was accessed for this+-- operation, an empty set is returned. The system does not return an error as+-- it cannot guarantee the item does not exist on other replicas.+-- -- <http://docs.aws.amazon.com/AmazonSimpleDB/latest/DeveloperGuide/SDB_API_GetAttributes.html> module Network.AWS.SDB.GetAttributes (@@ -86,11 +87,10 @@ gaAttributeNames :: Lens' GetAttributes [Text] gaAttributeNames = lens _gaAttributeNames (\s a -> s { _gaAttributeNames = a }) . _List --- | Determines whether or not strong consistency should be enforced when data--- is read from SimpleDB. If true, any data previously written to SimpleDB--- will be returned. Otherwise, results will be consistent eventually, and--- the client may not see data that was written immediately before your--- read.+-- | Determines whether or not strong consistency should be enforced when data is+-- read from SimpleDB. If 'true', any data previously written to SimpleDB will be+-- returned. Otherwise, results will be consistent eventually, and the client+-- may not see data that was written immediately before your read. gaConsistentRead :: Lens' GetAttributes (Maybe Bool) gaConsistentRead = lens _gaConsistentRead (\s a -> s { _gaConsistentRead = a })
gen/Network/AWS/SDB/ListDomains.hs view
@@ -20,12 +20,8 @@ -- Stability : experimental -- Portability : non-portable (GHC extensions) --- | The ListDomains operation lists all domains associated with the Access Key--- ID. It returns domain names up to the limit set by MaxNumberOfDomains. A--- NextToken is returned if there are more than MaxNumberOfDomains domains.--- Calling ListDomains successive times with the NextToken provided by the--- operation returns up to MaxNumberOfDomains more domain names with each--- successive operation call.+-- | The 'ListDomains' operation lists all domains associated with the Access Key+-- ID. It returns domain names up to the limit set by <#MaxNumberOfDomains MaxNumberOfDomains>. A <#NextToken NextToken> is returned if there are more than 'MaxNumberOfDomains' domains. Calling 'ListDomains' successive times with the 'NextToken' provided by the operation returns up to 'MaxNumberOfDomains' more domain names with each successive operation call. -- -- <http://docs.aws.amazon.com/AmazonSimpleDB/latest/DeveloperGuide/SDB_API_ListDomains.html> module Network.AWS.SDB.ListDomains@@ -71,8 +67,8 @@ , _ldNextToken = Nothing } --- | The maximum number of domain names you want returned. The range is 1 to--- 100. The default setting is 100.+-- | The maximum number of domain names you want returned. The range is 1 to 100.+-- The default setting is 100. ldMaxNumberOfDomains :: Lens' ListDomains (Maybe Int) ldMaxNumberOfDomains = lens _ldMaxNumberOfDomains (\s a -> s { _ldMaxNumberOfDomains = a })@@ -105,8 +101,7 @@ ldrDomainNames :: Lens' ListDomainsResponse [Text] ldrDomainNames = lens _ldrDomainNames (\s a -> s { _ldrDomainNames = a }) . _List --- | An opaque token indicating that there are more domains than the specified--- MaxNumberOfDomains still available.+-- | An opaque token indicating that there are more domains than the specified 'MaxNumberOfDomains' still available. ldrNextToken :: Lens' ListDomainsResponse (Maybe Text) ldrNextToken = lens _ldrNextToken (\s a -> s { _ldrNextToken = a })
gen/Network/AWS/SDB/PutAttributes.hs view
@@ -21,31 +21,34 @@ -- Portability : non-portable (GHC extensions) -- | The PutAttributes operation creates or replaces attributes in an item. The--- client may specify new attributes using a combination of the--- Attribute.X.Name and Attribute.X.Value parameters. The client specifies the--- first attribute by the parameters Attribute.0.Name and Attribute.0.Value,--- the second attribute by the parameters Attribute.1.Name and--- Attribute.1.Value, and so on. Attributes are uniquely identified in an item--- by their name/value combination. For example, a single item can have the--- attributes { "first_name", "first_value" } and { "first_name",--- second_value" }. However, it cannot have two attribute instances where both--- the Attribute.X.Name and Attribute.X.Value are the same. Optionally, the--- requestor can supply the Replace parameter for each individual attribute.--- Setting this value to true causes the new attribute value to replace the--- existing attribute value(s). For example, if an item has the attributes {--- 'a', '1' }, { 'b', '2'} and { 'b', '3' } and the requestor calls--- PutAttributes using the attributes { 'b', '4' } with the Replace parameter--- set to true, the final attributes of the item are changed to { 'a', '1' }--- and { 'b', '4' }, which replaces the previous values of the 'b' attribute--- with the new value. You cannot specify an empty string as an attribute--- name. Because Amazon SimpleDB makes multiple copies of client data and uses--- an eventual consistency update model, an immediate GetAttributes or Select--- operation (read) immediately after a PutAttributes or DeleteAttributes--- operation (write) might not return the updated data. The following--- limitations are enforced for this operation: 256 total attribute name-value--- pairs per item One billion attributes per domain 10 GB of total user data--- storage per domain.+-- client may specify new attributes using a combination of the 'Attribute.X.Name'+-- and 'Attribute.X.Value' parameters. The client specifies the first attribute by+-- the parameters 'Attribute.0.Name' and 'Attribute.0.Value', the second attribute+-- by the parameters 'Attribute.1.Name' and 'Attribute.1.Value', and so on. --+-- Attributes are uniquely identified in an item by their name/value+-- combination. For example, a single item can have the attributes '{"first_name", "first_value" }' and '{ "first_name", second_value" }'. However,+-- it cannot have two attribute instances where both the 'Attribute.X.Name' and 'Attribute.X.Value' are the same.+--+-- Optionally, the requestor can supply the 'Replace' parameter for each+-- individual attribute. Setting this value to 'true' causes the new attribute+-- value to replace the existing attribute value(s). For example, if an item has+-- the attributes '{ 'a', '1' }', '{ 'b', '2'}' and '{ 'b', '3' }' and the requestor+-- calls 'PutAttributes' using the attributes '{ 'b', '4' }' with the 'Replace'+-- parameter set to true, the final attributes of the item are changed to '{ 'a','1' }' and '{ 'b', '4' }', which replaces the previous values of the 'b'+-- attribute with the new value.+--+-- You cannot specify an empty string as an attribute name.+--+-- Because Amazon SimpleDB makes multiple copies of client data and uses an+-- eventual consistency update model, an immediate 'GetAttributes' or 'Select'+-- operation (read) immediately after a 'PutAttributes' or 'DeleteAttributes'+-- operation (write) might not return the updated data.+--+-- The following limitations are enforced for this operation: 256 total+-- attribute name-value pairs per item One billion attributes per domain 10 GB+-- of total user data storage per domain+-- -- <http://docs.aws.amazon.com/AmazonSimpleDB/latest/DeveloperGuide/SDB_API_PutAttributes.html> module Network.AWS.SDB.PutAttributes (@@ -107,10 +110,9 @@ paDomainName :: Lens' PutAttributes Text paDomainName = lens _paDomainName (\s a -> s { _paDomainName = a }) --- | The update condition which, if specified, determines whether the--- specified attributes will be updated or not. The update condition must be--- satisfied in order for this request to be processed and the attributes to--- be updated.+-- | The update condition which, if specified, determines whether the specified+-- attributes will be updated or not. The update condition must be satisfied in+-- order for this request to be processed and the attributes to be updated. paExpected :: Lens' PutAttributes (Maybe UpdateCondition) paExpected = lens _paExpected (\s a -> s { _paExpected = a })
gen/Network/AWS/SDB/Select.hs view
@@ -20,16 +20,19 @@ -- Stability : experimental -- Portability : non-portable (GHC extensions) --- | The Select operation returns a set of attributes for ItemNames that match--- the select expression. Select is similar to the standard SQL SELECT--- statement. The total size of the response cannot exceed 1 MB in total size.--- Amazon SimpleDB automatically adjusts the number of items returned per page--- to enforce this limit. For example, if the client asks to retrieve 2500--- items, but each individual item is 10 kB in size, the system returns 100--- items and an appropriate NextToken so the client can access the next page--- of results. For information on how to construct select expressions, see--- Using Select to Create Amazon SimpleDB Queries in the Developer Guide.+-- | The 'Select' operation returns a set of attributes for 'ItemNames' that match+-- the select expression. 'Select' is similar to the standard SQL SELECT+-- statement. --+-- The total size of the response cannot exceed 1 MB in total size. Amazon+-- SimpleDB automatically adjusts the number of items returned per page to+-- enforce this limit. For example, if the client asks to retrieve 2500 items,+-- but each individual item is 10 kB in size, the system returns 100 items and+-- an appropriate 'NextToken' so the client can access the next page of results.+--+-- For information on how to construct select expressions, see Using Select to+-- Create Amazon SimpleDB Queries in the Developer Guide.+-- -- <http://docs.aws.amazon.com/AmazonSimpleDB/latest/DeveloperGuide/SDB_API_Select.html> module Network.AWS.SDB.Select (@@ -80,16 +83,14 @@ , _sConsistentRead = Nothing } --- | Determines whether or not strong consistency should be enforced when data--- is read from SimpleDB. If true, any data previously written to SimpleDB--- will be returned. Otherwise, results will be consistent eventually, and--- the client may not see data that was written immediately before your--- read.+-- | Determines whether or not strong consistency should be enforced when data is+-- read from SimpleDB. If 'true', any data previously written to SimpleDB will be+-- returned. Otherwise, results will be consistent eventually, and the client+-- may not see data that was written immediately before your read. sConsistentRead :: Lens' Select (Maybe Bool) sConsistentRead = lens _sConsistentRead (\s a -> s { _sConsistentRead = a }) --- | A string informing Amazon SimpleDB where to start the next list of--- ItemNames.+-- | A string informing Amazon SimpleDB where to start the next list of 'ItemNames'. sNextToken :: Lens' Select (Maybe Text) sNextToken = lens _sNextToken (\s a -> s { _sNextToken = a }) @@ -121,7 +122,7 @@ srItems :: Lens' SelectResponse [Item] srItems = lens _srItems (\s a -> s { _srItems = a }) . _List --- | An opaque token indicating that more items than MaxNumberOfItems were+-- | An opaque token indicating that more items than 'MaxNumberOfItems' were -- matched, the response size exceeded 1 megabyte, or the execution time -- exceeded 5 seconds. srNextToken :: Lens' SelectResponse (Maybe Text)
gen/Network/AWS/SDB/Types.hs view
@@ -126,12 +126,12 @@ , _aAlternateValueEncoding = Nothing } --- | + aAlternateNameEncoding :: Lens' Attribute (Maybe Text) aAlternateNameEncoding = lens _aAlternateNameEncoding (\s a -> s { _aAlternateNameEncoding = a }) --- | + aAlternateValueEncoding :: Lens' Attribute (Maybe Text) aAlternateValueEncoding = lens _aAlternateValueEncoding (\s a -> s { _aAlternateValueEncoding = a })@@ -258,11 +258,10 @@ , _ucExists = Nothing } --- | 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.+-- | 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. ucExists :: Lens' UpdateCondition (Maybe Bool) ucExists = lens _ucExists (\s a -> s { _ucExists = a }) @@ -270,8 +269,8 @@ ucName :: Lens' UpdateCondition (Maybe Text) ucName = lens _ucName (\s a -> s { _ucName = a }) --- | The value of an attribute. This value can only be specified when the--- Exists parameter is equal to true.+-- | The value of an attribute. This value can only be specified when the 'Exists'+-- parameter is equal to 'true'. ucValue :: Lens' UpdateCondition (Maybe Text) ucValue = lens _ucValue (\s a -> s { _ucValue = a }) @@ -317,8 +316,8 @@ raName :: Lens' ReplaceableAttribute Text raName = lens _raName (\s a -> s { _raName = a }) --- | 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.+-- | 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'. raReplace :: Lens' ReplaceableAttribute (Maybe Bool) raReplace = lens _raReplace (\s a -> s { _raReplace = a }) @@ -363,7 +362,7 @@ , _iAttributes = mempty } --- | + iAlternateNameEncoding :: Lens' Item (Maybe Text) iAlternateNameEncoding = lens _iAlternateNameEncoding (\s a -> s { _iAlternateNameEncoding = a })