amazonka-sdb 1.4.2 → 1.4.3
raw patch · 16 files changed
+113/−267 lines, 16 filesdep ~amazonka-coredep ~amazonka-sdbdep ~amazonka-testPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: amazonka-core, amazonka-sdb, amazonka-test
API changes (from Hackage documentation)
Files
- README.md +3/−15
- amazonka-sdb.cabal +7/−19
- gen/Network/AWS/SDB.hs +2/−14
- gen/Network/AWS/SDB/BatchDeleteAttributes.hs +1/−3
- gen/Network/AWS/SDB/BatchPutAttributes.hs +6/−35
- gen/Network/AWS/SDB/CreateDomain.hs +3/−9
- gen/Network/AWS/SDB/DeleteAttributes.hs +6/−16
- gen/Network/AWS/SDB/DeleteDomain.hs +1/−3
- gen/Network/AWS/SDB/DomainMetadata.hs +1/−3
- gen/Network/AWS/SDB/GetAttributes.hs +3/−11
- gen/Network/AWS/SDB/ListDomains.hs +4/−13
- gen/Network/AWS/SDB/PutAttributes.hs +5/−29
- gen/Network/AWS/SDB/Select.hs +6/−21
- gen/Network/AWS/SDB/Types.hs +1/−2
- gen/Network/AWS/SDB/Types/Product.hs +4/−14
- test/Test/AWS/Gen/SDB.hs +60/−60
README.md view
@@ -8,26 +8,14 @@ ## Version -`1.4.2`+`1.4.3` ## 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.+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.+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.
amazonka-sdb.cabal view
@@ -1,5 +1,5 @@ name: amazonka-sdb-version: 1.4.2+version: 1.4.3 synopsis: Amazon SimpleDB SDK. homepage: https://github.com/brendanhay/amazonka bug-reports: https://github.com/brendanhay/amazonka/issues@@ -13,21 +13,9 @@ cabal-version: >= 1.10 extra-source-files: README.md fixture/*.yaml fixture/*.proto 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.+ 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.+ 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. .@@ -75,7 +63,7 @@ , Network.AWS.SDB.Types.Sum build-depends:- amazonka-core == 1.4.2.*+ amazonka-core == 1.4.3.* , base >= 4.7 && < 5 test-suite amazonka-sdb-test@@ -95,9 +83,9 @@ , Test.AWS.SDB.Internal build-depends:- amazonka-core == 1.4.2.*- , amazonka-test == 1.4.2.*- , amazonka-sdb == 1.4.2.*+ amazonka-core == 1.4.3.*+ , amazonka-test == 1.4.3.*+ , amazonka-sdb == 1.4.3.* , base , bytestring , tasty
gen/Network/AWS/SDB.hs view
@@ -11,21 +11,9 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- 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.+-- 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.+-- 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. module Network.AWS.SDB
gen/Network/AWS/SDB/BatchDeleteAttributes.hs view
@@ -18,9 +18,7 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- 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.+-- 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: --
gen/Network/AWS/SDB/BatchPutAttributes.hs view
@@ -18,46 +18,17 @@ -- Stability : auto-generated -- 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 '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.+-- 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.+-- 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.+-- 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'.+-- 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.+-- 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: --
gen/Network/AWS/SDB/CreateDomain.hs view
@@ -18,15 +18,11 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- 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 '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/>.+-- If the client requires additional domains, go to <http://aws.amazon.com/contact-us/simpledb-limit-request/>. module Network.AWS.SDB.CreateDomain ( -- * Creating a Request@@ -65,9 +61,7 @@ { _cdDomainName = pDomainName_ } --- | 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 \'.\'.+-- | 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 \'.\'. cdDomainName :: Lens' CreateDomain Text cdDomainName = lens _cdDomainName (\ s a -> s{_cdDomainName = a});
gen/Network/AWS/SDB/DeleteAttributes.hs view
@@ -18,16 +18,11 @@ -- Stability : auto-generated -- 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.+-- 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.+-- '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.+-- 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. module Network.AWS.SDB.DeleteAttributes ( -- * Creating a Request@@ -82,15 +77,11 @@ , _daItemName = pItemName_ } --- | A list of Attributes. Similar to columns on a spreadsheet, attributes--- represent categories of data that can be assigned to items.+-- | A list of Attributes. Similar to columns on a spreadsheet, attributes represent categories of data that can be assigned to items. daAttributes :: Lens' DeleteAttributes [Attribute] daAttributes = lens _daAttributes (\ s a -> s{_daAttributes = a}) . _Default . _Coerce; --- | 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}); @@ -98,8 +89,7 @@ daDomainName :: Lens' DeleteAttributes Text daDomainName = lens _daDomainName (\ s a -> s{_daDomainName = a}); --- | The name of the item. Similar to rows on a spreadsheet, items represent--- individual objects that contain one or more value-attribute pairs.+-- | The name of the item. Similar to rows on a spreadsheet, items represent individual objects that contain one or more value-attribute pairs. daItemName :: Lens' DeleteAttributes Text daItemName = lens _daItemName (\ s a -> s{_daItemName = a});
gen/Network/AWS/SDB/DeleteDomain.hs view
@@ -18,9 +18,7 @@ -- Stability : auto-generated -- 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 might take 10 or more seconds to complete.+-- 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. module Network.AWS.SDB.DeleteDomain ( -- * Creating a Request
gen/Network/AWS/SDB/DomainMetadata.hs view
@@ -18,9 +18,7 @@ -- Stability : auto-generated -- 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. module Network.AWS.SDB.DomainMetadata ( -- * Creating a Request
gen/Network/AWS/SDB/GetAttributes.hs view
@@ -18,13 +18,9 @@ -- Stability : auto-generated -- 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.+-- 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.+-- 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. module Network.AWS.SDB.GetAttributes ( -- * Creating a Request@@ -82,11 +78,7 @@ , _gaItemName = pItemName_ } --- | 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
@@ -18,13 +18,7 @@ -- Stability : auto-generated -- 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 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.+-- 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. -- -- This operation returns paginated results. module Network.AWS.SDB.ListDomains@@ -74,13 +68,11 @@ , _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}); --- | A string informing Amazon SimpleDB where to start the next list of--- domain names.+-- | A string informing Amazon SimpleDB where to start the next list of domain names. ldNextToken :: Lens' ListDomains (Maybe Text) ldNextToken = lens _ldNextToken (\ s a -> s{_ldNextToken = a}); @@ -150,8 +142,7 @@ ldrsDomainNames :: Lens' ListDomainsResponse [Text] ldrsDomainNames = lens _ldrsDomainNames (\ s a -> s{_ldrsDomainNames = a}) . _Default . _Coerce; --- | 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. ldrsNextToken :: Lens' ListDomainsResponse (Maybe Text) ldrsNextToken = lens _ldrsNextToken (\ s a -> s{_ldrsNextToken = a});
gen/Network/AWS/SDB/PutAttributes.hs view
@@ -18,36 +18,15 @@ -- Stability : auto-generated -- 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.+-- 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.+-- 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.+-- 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.+-- 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: --@@ -108,10 +87,7 @@ , _paAttributes = mempty } --- | 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
@@ -18,19 +18,11 @@ -- Stability : auto-generated -- 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 '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.+-- 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.+-- For information on how to construct select expressions, see Using Select to Create Amazon SimpleDB Queries in the Developer Guide. -- -- This operation returns paginated results. module Network.AWS.SDB.Select@@ -86,16 +78,11 @@ , _sSelectExpression = pSelectExpression_ } --- | 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}); @@ -169,9 +156,7 @@ srsItems :: Lens' SelectResponse [Item] srsItems = lens _srsItems (\ s a -> s{_srsItems = a}) . _Default . _Coerce; --- | An opaque token indicating that more items than 'MaxNumberOfItems' were--- matched, the response size exceeded 1 megabyte, or the execution time--- exceeded 5 seconds.+-- | An opaque token indicating that more items than 'MaxNumberOfItems' were matched, the response size exceeded 1 megabyte, or the execution time exceeded 5 seconds. srsNextToken :: Lens' SelectResponse (Maybe Text) srsNextToken = lens _srsNextToken (\ s a -> s{_srsNextToken = a});
gen/Network/AWS/SDB/Types.hs view
@@ -163,8 +163,7 @@ _NumberItemAttributesExceeded = _ServiceError . hasStatus 409 . hasCode "NumberItemAttributesExceeded" --- | A timeout occurred when attempting to query the specified domain with--- specified query expression.+-- | A timeout occurred when attempting to query the specified domain with specified query expression. _RequestTimeout :: AsError a => Getting (First ServiceError) a ServiceError _RequestTimeout = _ServiceError . hasStatus 408 . hasCode "RequestTimeout"
gen/Network/AWS/SDB/Types/Product.hs view
@@ -209,8 +209,7 @@ , _raValue = pValue_ } --- | 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}); @@ -274,11 +273,7 @@ ["ItemName" =: _riName, toQueryList "Attribute" _riAttributes] --- | 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.+-- | 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. data UpdateCondition = UpdateCondition'@@ -305,16 +300,11 @@ , _ucName = 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}); --- | 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});
test/Test/AWS/Gen/SDB.hs view
@@ -28,67 +28,67 @@ -- fixtures :: TestTree -- fixtures = -- [ testGroup "request"--- [ testBatchDeleteAttributes $+-- [ requestBatchDeleteAttributes $ -- batchDeleteAttributes ----- , testBatchPutAttributes $+-- , requestBatchPutAttributes $ -- batchPutAttributes ----- , testGetAttributes $+-- , requestGetAttributes $ -- getAttributes ----- , testCreateDomain $+-- , requestCreateDomain $ -- createDomain ----- , testDomainMetadata $+-- , requestDomainMetadata $ -- domainMetadata ----- , testSelect $+-- , requestSelect $ -- select ----- , testDeleteAttributes $+-- , requestDeleteAttributes $ -- deleteAttributes ----- , testPutAttributes $+-- , requestPutAttributes $ -- putAttributes ----- , testDeleteDomain $+-- , requestDeleteDomain $ -- deleteDomain ----- , testListDomains $+-- , requestListDomains $ -- listDomains -- -- ] -- , testGroup "response"--- [ testBatchDeleteAttributesResponse $+-- [ responseBatchDeleteAttributes $ -- batchDeleteAttributesResponse ----- , testBatchPutAttributesResponse $+-- , responseBatchPutAttributes $ -- batchPutAttributesResponse ----- , testGetAttributesResponse $+-- , responseGetAttributes $ -- getAttributesResponse ----- , testCreateDomainResponse $+-- , responseCreateDomain $ -- createDomainResponse ----- , testDomainMetadataResponse $+-- , responseDomainMetadata $ -- domainMetadataResponse ----- , testSelectResponse $+-- , responseSelect $ -- selectResponse ----- , testDeleteAttributesResponse $+-- , responseDeleteAttributes $ -- deleteAttributesResponse ----- , testPutAttributesResponse $+-- , responsePutAttributes $ -- putAttributesResponse ----- , testDeleteDomainResponse $+-- , responseDeleteDomain $ -- deleteDomainResponse ----- , testListDomainsResponse $+-- , responseListDomains $ -- listDomainsResponse -- -- ]@@ -96,123 +96,123 @@ -- Requests -testBatchDeleteAttributes :: BatchDeleteAttributes -> TestTree-testBatchDeleteAttributes = req+requestBatchDeleteAttributes :: BatchDeleteAttributes -> TestTree+requestBatchDeleteAttributes = req "BatchDeleteAttributes" "fixture/BatchDeleteAttributes.yaml" -testBatchPutAttributes :: BatchPutAttributes -> TestTree-testBatchPutAttributes = req+requestBatchPutAttributes :: BatchPutAttributes -> TestTree+requestBatchPutAttributes = req "BatchPutAttributes" "fixture/BatchPutAttributes.yaml" -testGetAttributes :: GetAttributes -> TestTree-testGetAttributes = req+requestGetAttributes :: GetAttributes -> TestTree+requestGetAttributes = req "GetAttributes" "fixture/GetAttributes.yaml" -testCreateDomain :: CreateDomain -> TestTree-testCreateDomain = req+requestCreateDomain :: CreateDomain -> TestTree+requestCreateDomain = req "CreateDomain" "fixture/CreateDomain.yaml" -testDomainMetadata :: DomainMetadata -> TestTree-testDomainMetadata = req+requestDomainMetadata :: DomainMetadata -> TestTree+requestDomainMetadata = req "DomainMetadata" "fixture/DomainMetadata.yaml" -testSelect :: Select -> TestTree-testSelect = req+requestSelect :: Select -> TestTree+requestSelect = req "Select" "fixture/Select.yaml" -testDeleteAttributes :: DeleteAttributes -> TestTree-testDeleteAttributes = req+requestDeleteAttributes :: DeleteAttributes -> TestTree+requestDeleteAttributes = req "DeleteAttributes" "fixture/DeleteAttributes.yaml" -testPutAttributes :: PutAttributes -> TestTree-testPutAttributes = req+requestPutAttributes :: PutAttributes -> TestTree+requestPutAttributes = req "PutAttributes" "fixture/PutAttributes.yaml" -testDeleteDomain :: DeleteDomain -> TestTree-testDeleteDomain = req+requestDeleteDomain :: DeleteDomain -> TestTree+requestDeleteDomain = req "DeleteDomain" "fixture/DeleteDomain.yaml" -testListDomains :: ListDomains -> TestTree-testListDomains = req+requestListDomains :: ListDomains -> TestTree+requestListDomains = req "ListDomains" "fixture/ListDomains.yaml" -- Responses -testBatchDeleteAttributesResponse :: BatchDeleteAttributesResponse -> TestTree-testBatchDeleteAttributesResponse = res+responseBatchDeleteAttributes :: BatchDeleteAttributesResponse -> TestTree+responseBatchDeleteAttributes = res "BatchDeleteAttributesResponse" "fixture/BatchDeleteAttributesResponse.proto" sdb (Proxy :: Proxy BatchDeleteAttributes) -testBatchPutAttributesResponse :: BatchPutAttributesResponse -> TestTree-testBatchPutAttributesResponse = res+responseBatchPutAttributes :: BatchPutAttributesResponse -> TestTree+responseBatchPutAttributes = res "BatchPutAttributesResponse" "fixture/BatchPutAttributesResponse.proto" sdb (Proxy :: Proxy BatchPutAttributes) -testGetAttributesResponse :: GetAttributesResponse -> TestTree-testGetAttributesResponse = res+responseGetAttributes :: GetAttributesResponse -> TestTree+responseGetAttributes = res "GetAttributesResponse" "fixture/GetAttributesResponse.proto" sdb (Proxy :: Proxy GetAttributes) -testCreateDomainResponse :: CreateDomainResponse -> TestTree-testCreateDomainResponse = res+responseCreateDomain :: CreateDomainResponse -> TestTree+responseCreateDomain = res "CreateDomainResponse" "fixture/CreateDomainResponse.proto" sdb (Proxy :: Proxy CreateDomain) -testDomainMetadataResponse :: DomainMetadataResponse -> TestTree-testDomainMetadataResponse = res+responseDomainMetadata :: DomainMetadataResponse -> TestTree+responseDomainMetadata = res "DomainMetadataResponse" "fixture/DomainMetadataResponse.proto" sdb (Proxy :: Proxy DomainMetadata) -testSelectResponse :: SelectResponse -> TestTree-testSelectResponse = res+responseSelect :: SelectResponse -> TestTree+responseSelect = res "SelectResponse" "fixture/SelectResponse.proto" sdb (Proxy :: Proxy Select) -testDeleteAttributesResponse :: DeleteAttributesResponse -> TestTree-testDeleteAttributesResponse = res+responseDeleteAttributes :: DeleteAttributesResponse -> TestTree+responseDeleteAttributes = res "DeleteAttributesResponse" "fixture/DeleteAttributesResponse.proto" sdb (Proxy :: Proxy DeleteAttributes) -testPutAttributesResponse :: PutAttributesResponse -> TestTree-testPutAttributesResponse = res+responsePutAttributes :: PutAttributesResponse -> TestTree+responsePutAttributes = res "PutAttributesResponse" "fixture/PutAttributesResponse.proto" sdb (Proxy :: Proxy PutAttributes) -testDeleteDomainResponse :: DeleteDomainResponse -> TestTree-testDeleteDomainResponse = res+responseDeleteDomain :: DeleteDomainResponse -> TestTree+responseDeleteDomain = res "DeleteDomainResponse" "fixture/DeleteDomainResponse.proto" sdb (Proxy :: Proxy DeleteDomain) -testListDomainsResponse :: ListDomainsResponse -> TestTree-testListDomainsResponse = res+responseListDomains :: ListDomainsResponse -> TestTree+responseListDomains = res "ListDomainsResponse" "fixture/ListDomainsResponse.proto" sdb