| Copyright | Soostone Inc |
|---|---|
| License | BSD3 |
| Maintainer | Ozgun Ataman <ozgun.ataman@soostone.com> |
| Stability | experimental |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Aws.DynamoDb.Commands.Query
Description
Implementation of Amazon DynamoDb Query command.
See: http://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_Query.html
Synopsis
- data Query = Query {
- qTableName :: Text
- qKeyConditions :: Slice
- qFilter :: Conditions
- qStartKey :: Maybe [Attribute]
- qLimit :: Maybe Int
- qForwardScan :: Bool
- qSelect :: QuerySelect
- qRetCons :: ReturnConsumption
- qIndex :: Maybe Text
- qConsistent :: Bool
- data Slice = Slice {}
- query :: Text -> Slice -> Query
- data QueryResponse = QueryResponse {}
Documentation
A Query command that uses primary keys for an expedient scan.
Constructors
| Query | |
Fields
| |
Instances
| ToJSON Query Source # | |
Defined in Aws.DynamoDb.Commands.Query | |
| SignQuery Query Source # | |
Defined in Aws.DynamoDb.Commands.Query Methods signQuery :: Query -> ServiceConfiguration Query queryType -> SignatureData -> SignedQuery Source # | |
| Read Query Source # | |
| Show Query Source # | |
| Eq Query Source # | |
| Ord Query Source # | |
| IteratedTransaction Query QueryResponse Source # | |
Defined in Aws.DynamoDb.Commands.Query Methods nextIteratedRequest :: Query -> QueryResponse -> Maybe Query Source # | |
| Transaction Query QueryResponse Source # | |
Defined in Aws.DynamoDb.Commands.Query | |
| type ServiceConfiguration Query Source # | |
Defined in Aws.DynamoDb.Commands.Query | |
Slice is the primary constraint in a Query command, per AWS
requirements.
All Query commands must specify a hash attribute via DEq and
optionally provide a secondary range attribute.
Constructors
| Slice | |
Construct a minimal Query request.
data QueryResponse Source #
Response to a Query query.
Constructors
| QueryResponse | |