Copyright | Soostone Inc |
---|---|
License | BSD3 |
Maintainer | Ozgun Ataman <ozgun.ataman@soostone.com> |
Stability | experimental |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
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.
Query | |
|
Instances
ToJSON Query Source # | |
Defined in Aws.DynamoDb.Commands.Query | |
SignQuery Query Source # | |
Defined in Aws.DynamoDb.Commands.Query 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 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.
Construct a minimal Query
request.
data QueryResponse Source #
Response to a Query
query.