|
|
|
|
|
|
Synopsis |
|
|
|
|
Types
|
|
|
Domain name limits: 3-255 characters (a-z, A-Z, 0-9, '_', -, and .)
|
|
|
|
|
|
|
|
|
|
|
|
|
Constructors | | Instances | |
|
|
|
Constructors | | Instances | |
|
|
Actions
|
|
|
The createDomain operation creates a new domain. The domain name must be unique
among the domains associated with the Access Key ID provided in the request. The
createDomain 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.
|
|
|
The listDomains operation lists all domains associated with the Access Key ID.
|
|
|
Returns all of the attributes associated with the item. Optionally, the attributes
returned can be limited to one or more specified attribute name parameters. 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.
|
|
|
The putAttributes operation creates or replaces attributes in an item.
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 name and value are the same.
See also putAttributes'.
|
|
|
:: AWSConnection | | -> DomainName | | -> Item | | -> [AttributeKey] | Keys for the attributes that should be replaced.
| -> IO () | | The putAttributes operation creates or replaces attributes in an item.
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 name and value are the same.
This command differs from putAttributes by taking a list of attribute keys that
are to be replaced instead of appended.
|
|
|
|
With the batchPutAttributes operation, you can perform multiple putAttribute
operations in a single call. This helps you yield savings in round trips and
latencies, and enables Amazon SimpleDB to optimize requests, which generally
yields better throughput.
See also putAttributes.
|
|
|
With the batchPutAttributes operation, you can perform multiple putAttribute
operations in a single call. This helps you yield savings in round trips and
latencies, and enables Amazon SimpleDB to optimize requests, which generally
yields better throughput.
See also putAttributes'.
|
|
|
Deletes one or more attributes associated with the item. If all attributes of an item
are deleted, the item is deleted.
|
|
|
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, even if you ask to retrieve 2500 items, but each individual item is
10 kB in size, the system returns 100 items and an appropriate next token so you
can get the next page of results.
|
|
Constants
|
|
|
Hostname used for connecting to Amazon's production SimpleDB service (sdb.amazonaws.com).
|
|
|
Port number used for connecting to Amazon's production SimpleDB service (80).
|
|
Function Types
|
|
amazonSimpleDBConnection | Source |
|
:: String | Access Key ID
| -> String | Secret Access Key
| -> AWSConnection | Connection to Amazon S3
| Create an AWSConnection to Amazon from credentials. Uses the
production service.
|
|
|
|
Retrieve Access and Secret keys from environment variables
AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY, respectively.
Either variable being undefined or empty will result in
Nothing.
|
|
|
Retrieve Access and Secret keys from environment variables
AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY, respectively.
Either variable being undefined or empty will result in
an exception.
|
|
Data Types
|
|
|
An Amazon Web Services connection. Everything needed to connect
and authenticate requests.
| Constructors | AWSConnection | | awsHost :: String | Service provider hostname
| awsPort :: Int | Service provider port number
| awsAccessKey :: String | Access Key ID
| awsSecretKey :: String | Secret Access Key
|
|
| Instances | |
|
|
Produced by Haddock version 2.6.0 |