aws-0.21.1: Amazon Web Services (AWS) for Haskell

CopyrightSoostone Inc
LicenseBSD3
MaintainerOzgun Ataman <ozgun.ataman@soostone.com>
Stabilityexperimental
Safe HaskellNone
LanguageHaskell2010

Aws.DynamoDb.Commands.Query

Description

Implementation of Amazon DynamoDb Query command.

See: http://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_Query.html

Synopsis

Documentation

data Query Source #

A Query command that uses primary keys for an expedient scan.

Constructors

Query 

Fields

Instances
Eq Query Source # 
Instance details

Defined in Aws.DynamoDb.Commands.Query

Methods

(==) :: Query -> Query -> Bool #

(/=) :: Query -> Query -> Bool #

Ord Query Source # 
Instance details

Defined in Aws.DynamoDb.Commands.Query

Methods

compare :: Query -> Query -> Ordering #

(<) :: Query -> Query -> Bool #

(<=) :: Query -> Query -> Bool #

(>) :: Query -> Query -> Bool #

(>=) :: Query -> Query -> Bool #

max :: Query -> Query -> Query #

min :: Query -> Query -> Query #

Read Query Source # 
Instance details

Defined in Aws.DynamoDb.Commands.Query

Show Query Source # 
Instance details

Defined in Aws.DynamoDb.Commands.Query

Methods

showsPrec :: Int -> Query -> ShowS #

show :: Query -> String #

showList :: [Query] -> ShowS #

ToJSON Query Source # 
Instance details

Defined in Aws.DynamoDb.Commands.Query

SignQuery Query Source # 
Instance details

Defined in Aws.DynamoDb.Commands.Query

Associated Types

type ServiceConfiguration Query :: Type -> Type Source #

IteratedTransaction Query QueryResponse Source # 
Instance details

Defined in Aws.DynamoDb.Commands.Query

Transaction Query QueryResponse Source # 
Instance details

Defined in Aws.DynamoDb.Commands.Query

type ServiceConfiguration Query Source # 
Instance details

Defined in Aws.DynamoDb.Commands.Query

data Slice Source #

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 

Fields

  • sliceHash :: Attribute

    Hash value of the primary key or index being used

  • sliceCond :: Maybe Condition

    An optional condition specified on the range component, if present, of the primary key or index being used.

Instances
Eq Slice Source # 
Instance details

Defined in Aws.DynamoDb.Commands.Query

Methods

(==) :: Slice -> Slice -> Bool #

(/=) :: Slice -> Slice -> Bool #

Ord Slice Source # 
Instance details

Defined in Aws.DynamoDb.Commands.Query

Methods

compare :: Slice -> Slice -> Ordering #

(<) :: Slice -> Slice -> Bool #

(<=) :: Slice -> Slice -> Bool #

(>) :: Slice -> Slice -> Bool #

(>=) :: Slice -> Slice -> Bool #

max :: Slice -> Slice -> Slice #

min :: Slice -> Slice -> Slice #

Read Slice Source # 
Instance details

Defined in Aws.DynamoDb.Commands.Query

Show Slice Source # 
Instance details

Defined in Aws.DynamoDb.Commands.Query

Methods

showsPrec :: Int -> Slice -> ShowS #

show :: Slice -> String #

showList :: [Slice] -> ShowS #

query Source #

Arguments

:: Text

Table name

-> Slice

Primary key slice for query

-> Query 

Construct a minimal Query request.

data QueryResponse Source #

Response to a Query query.

Instances
Eq QueryResponse Source # 
Instance details

Defined in Aws.DynamoDb.Commands.Query

Ord QueryResponse Source # 
Instance details

Defined in Aws.DynamoDb.Commands.Query

Read QueryResponse Source # 
Instance details

Defined in Aws.DynamoDb.Commands.Query

Show QueryResponse Source # 
Instance details

Defined in Aws.DynamoDb.Commands.Query

FromJSON QueryResponse Source # 
Instance details

Defined in Aws.DynamoDb.Commands.Query

AsMemoryResponse QueryResponse Source # 
Instance details

Defined in Aws.DynamoDb.Commands.Query

Associated Types

type MemoryResponse QueryResponse :: Type Source #

IteratedTransaction Query QueryResponse Source # 
Instance details

Defined in Aws.DynamoDb.Commands.Query

Transaction Query QueryResponse Source # 
Instance details

Defined in Aws.DynamoDb.Commands.Query

ListResponse QueryResponse Item Source # 
Instance details

Defined in Aws.DynamoDb.Commands.Query

ResponseConsumer r QueryResponse Source # 
Instance details

Defined in Aws.DynamoDb.Commands.Query

Associated Types

type ResponseMetadata QueryResponse :: Type Source #

type MemoryResponse QueryResponse Source # 
Instance details

Defined in Aws.DynamoDb.Commands.Query

type ResponseMetadata QueryResponse Source # 
Instance details

Defined in Aws.DynamoDb.Commands.Query