amazonka-cloudsearch-domains-1.6.0: Amazon CloudSearch Domain SDK.

Copyright(c) 2013-2018 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.CloudSearchDomains.Types

Contents

Description

 

Synopsis

Service Configuration

cloudSearchDomains :: Service Source #

API version 2013-01-01 of the Amazon CloudSearch Domain SDK configuration.

Errors

_DocumentServiceException :: AsError a => Getting (First ServiceError) a ServiceError Source #

Information about any problems encountered while processing an upload request.

_SearchException :: AsError a => Getting (First ServiceError) a ServiceError Source #

Information about any problems encountered while processing a search request.

ContentType

data ContentType Source #

Instances

Bounded ContentType Source # 
Enum ContentType Source # 
Eq ContentType Source # 
Data ContentType Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ContentType -> c ContentType #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ContentType #

toConstr :: ContentType -> Constr #

dataTypeOf :: ContentType -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c ContentType) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ContentType) #

gmapT :: (forall b. Data b => b -> b) -> ContentType -> ContentType #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ContentType -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ContentType -> r #

gmapQ :: (forall d. Data d => d -> u) -> ContentType -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ContentType -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ContentType -> m ContentType #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ContentType -> m ContentType #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ContentType -> m ContentType #

Ord ContentType Source # 
Read ContentType Source # 
Show ContentType Source # 
Generic ContentType Source # 

Associated Types

type Rep ContentType :: * -> * #

Hashable ContentType Source # 
ToJSON ContentType Source # 
NFData ContentType Source # 

Methods

rnf :: ContentType -> () #

ToHeader ContentType Source # 
ToQuery ContentType Source # 
ToByteString ContentType Source # 
FromText ContentType Source # 
ToText ContentType Source # 

Methods

toText :: ContentType -> Text #

type Rep ContentType Source # 
type Rep ContentType = D1 * (MetaData "ContentType" "Network.AWS.CloudSearchDomains.Types.Sum" "amazonka-cloudsearch-domains-1.6.0-9qU57CakU6B4ta1P0ZaRFe" False) ((:+:) * (C1 * (MetaCons "ApplicationJSON" PrefixI False) (U1 *)) (C1 * (MetaCons "ApplicationXML" PrefixI False) (U1 *)))

QueryParser

data QueryParser Source #

Constructors

Dismax 
Lucene 
Simple 
Structured 

Instances

Bounded QueryParser Source # 
Enum QueryParser Source # 
Eq QueryParser Source # 
Data QueryParser Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> QueryParser -> c QueryParser #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c QueryParser #

toConstr :: QueryParser -> Constr #

dataTypeOf :: QueryParser -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c QueryParser) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c QueryParser) #

gmapT :: (forall b. Data b => b -> b) -> QueryParser -> QueryParser #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> QueryParser -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> QueryParser -> r #

gmapQ :: (forall d. Data d => d -> u) -> QueryParser -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> QueryParser -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> QueryParser -> m QueryParser #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> QueryParser -> m QueryParser #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> QueryParser -> m QueryParser #

Ord QueryParser Source # 
Read QueryParser Source # 
Show QueryParser Source # 
Generic QueryParser Source # 

Associated Types

type Rep QueryParser :: * -> * #

Hashable QueryParser Source # 
ToJSON QueryParser Source # 
NFData QueryParser Source # 

Methods

rnf :: QueryParser -> () #

ToHeader QueryParser Source # 
ToQuery QueryParser Source # 
ToByteString QueryParser Source # 
FromText QueryParser Source # 
ToText QueryParser Source # 

Methods

toText :: QueryParser -> Text #

type Rep QueryParser Source # 
type Rep QueryParser = D1 * (MetaData "QueryParser" "Network.AWS.CloudSearchDomains.Types.Sum" "amazonka-cloudsearch-domains-1.6.0-9qU57CakU6B4ta1P0ZaRFe" False) ((:+:) * ((:+:) * (C1 * (MetaCons "Dismax" PrefixI False) (U1 *)) (C1 * (MetaCons "Lucene" PrefixI False) (U1 *))) ((:+:) * (C1 * (MetaCons "Simple" PrefixI False) (U1 *)) (C1 * (MetaCons "Structured" PrefixI False) (U1 *))))

Bucket

data Bucket Source #

A container for facet information.

See: bucket smart constructor.

Instances

Eq Bucket Source # 

Methods

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

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

Data Bucket Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Bucket -> c Bucket #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Bucket #

toConstr :: Bucket -> Constr #

dataTypeOf :: Bucket -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c Bucket) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Bucket) #

gmapT :: (forall b. Data b => b -> b) -> Bucket -> Bucket #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Bucket -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Bucket -> r #

gmapQ :: (forall d. Data d => d -> u) -> Bucket -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Bucket -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Bucket -> m Bucket #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Bucket -> m Bucket #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Bucket -> m Bucket #

Read Bucket Source # 
Show Bucket Source # 
Generic Bucket Source # 

Associated Types

type Rep Bucket :: * -> * #

Methods

from :: Bucket -> Rep Bucket x #

to :: Rep Bucket x -> Bucket #

Hashable Bucket Source # 

Methods

hashWithSalt :: Int -> Bucket -> Int #

hash :: Bucket -> Int #

FromJSON Bucket Source # 
NFData Bucket Source # 

Methods

rnf :: Bucket -> () #

type Rep Bucket Source # 
type Rep Bucket = D1 * (MetaData "Bucket" "Network.AWS.CloudSearchDomains.Types.Product" "amazonka-cloudsearch-domains-1.6.0-9qU57CakU6B4ta1P0ZaRFe" False) (C1 * (MetaCons "Bucket'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_bValue") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_bCount") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Integer)))))

bucket :: Bucket Source #

Creates a value of Bucket with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • bValue - The facet value being counted.
  • bCount - The number of hits that contain the facet value in the specified facet field.

bValue :: Lens' Bucket (Maybe Text) Source #

The facet value being counted.

bCount :: Lens' Bucket (Maybe Integer) Source #

The number of hits that contain the facet value in the specified facet field.

BucketInfo

data BucketInfo Source #

A container for the calculated facet values and counts.

See: bucketInfo smart constructor.

Instances

Eq BucketInfo Source # 
Data BucketInfo Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> BucketInfo -> c BucketInfo #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c BucketInfo #

toConstr :: BucketInfo -> Constr #

dataTypeOf :: BucketInfo -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c BucketInfo) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c BucketInfo) #

gmapT :: (forall b. Data b => b -> b) -> BucketInfo -> BucketInfo #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> BucketInfo -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> BucketInfo -> r #

gmapQ :: (forall d. Data d => d -> u) -> BucketInfo -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> BucketInfo -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> BucketInfo -> m BucketInfo #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> BucketInfo -> m BucketInfo #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> BucketInfo -> m BucketInfo #

Read BucketInfo Source # 
Show BucketInfo Source # 
Generic BucketInfo Source # 

Associated Types

type Rep BucketInfo :: * -> * #

Hashable BucketInfo Source # 
FromJSON BucketInfo Source # 
NFData BucketInfo Source # 

Methods

rnf :: BucketInfo -> () #

type Rep BucketInfo Source # 
type Rep BucketInfo = D1 * (MetaData "BucketInfo" "Network.AWS.CloudSearchDomains.Types.Product" "amazonka-cloudsearch-domains-1.6.0-9qU57CakU6B4ta1P0ZaRFe" True) (C1 * (MetaCons "BucketInfo'" PrefixI True) (S1 * (MetaSel (Just Symbol "_biBuckets") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * (Maybe [Bucket]))))

bucketInfo :: BucketInfo Source #

Creates a value of BucketInfo with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • biBuckets - A list of the calculated facet values and counts.

biBuckets :: Lens' BucketInfo [Bucket] Source #

A list of the calculated facet values and counts.

DocumentServiceWarning

data DocumentServiceWarning Source #

A warning returned by the document service when an issue is discovered while processing an upload request.

See: documentServiceWarning smart constructor.

Instances

Eq DocumentServiceWarning Source # 
Data DocumentServiceWarning Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DocumentServiceWarning -> c DocumentServiceWarning #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DocumentServiceWarning #

toConstr :: DocumentServiceWarning -> Constr #

dataTypeOf :: DocumentServiceWarning -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c DocumentServiceWarning) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DocumentServiceWarning) #

gmapT :: (forall b. Data b => b -> b) -> DocumentServiceWarning -> DocumentServiceWarning #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DocumentServiceWarning -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DocumentServiceWarning -> r #

gmapQ :: (forall d. Data d => d -> u) -> DocumentServiceWarning -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DocumentServiceWarning -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DocumentServiceWarning -> m DocumentServiceWarning #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DocumentServiceWarning -> m DocumentServiceWarning #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DocumentServiceWarning -> m DocumentServiceWarning #

Read DocumentServiceWarning Source # 
Show DocumentServiceWarning Source # 
Generic DocumentServiceWarning Source # 
Hashable DocumentServiceWarning Source # 
FromJSON DocumentServiceWarning Source # 
NFData DocumentServiceWarning Source # 

Methods

rnf :: DocumentServiceWarning -> () #

type Rep DocumentServiceWarning Source # 
type Rep DocumentServiceWarning = D1 * (MetaData "DocumentServiceWarning" "Network.AWS.CloudSearchDomains.Types.Product" "amazonka-cloudsearch-domains-1.6.0-9qU57CakU6B4ta1P0ZaRFe" True) (C1 * (MetaCons "DocumentServiceWarning'" PrefixI True) (S1 * (MetaSel (Just Symbol "_dswMessage") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * (Maybe Text))))

documentServiceWarning :: DocumentServiceWarning Source #

Creates a value of DocumentServiceWarning with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • dswMessage - The description for a warning returned by the document service.

dswMessage :: Lens' DocumentServiceWarning (Maybe Text) Source #

The description for a warning returned by the document service.

FieldStats

data FieldStats Source #

The statistics for a field calculated in the request.

See: fieldStats smart constructor.

Instances

Eq FieldStats Source # 
Data FieldStats Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> FieldStats -> c FieldStats #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c FieldStats #

toConstr :: FieldStats -> Constr #

dataTypeOf :: FieldStats -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c FieldStats) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c FieldStats) #

gmapT :: (forall b. Data b => b -> b) -> FieldStats -> FieldStats #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> FieldStats -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> FieldStats -> r #

gmapQ :: (forall d. Data d => d -> u) -> FieldStats -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> FieldStats -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> FieldStats -> m FieldStats #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> FieldStats -> m FieldStats #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> FieldStats -> m FieldStats #

Read FieldStats Source # 
Show FieldStats Source # 
Generic FieldStats Source # 

Associated Types

type Rep FieldStats :: * -> * #

Hashable FieldStats Source # 
FromJSON FieldStats Source # 
NFData FieldStats Source # 

Methods

rnf :: FieldStats -> () #

type Rep FieldStats Source # 

fieldStats :: FieldStats Source #

Creates a value of FieldStats with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • fsMax - The maximum value found in the specified field in the result set. If the field is numeric (int , int-array , double , or double-array ), max is the string representation of a double-precision 64-bit floating point value. If the field is date or date-array , max is the string representation of a date with the format specified in IETF RFC3339 : yyyy-mm-ddTHH:mm:ss.SSSZ.
  • fsMean - The average of the values found in the specified field in the result set. If the field is numeric (int , int-array , double , or double-array ), mean is the string representation of a double-precision 64-bit floating point value. If the field is date or date-array , mean is the string representation of a date with the format specified in IETF RFC3339 : yyyy-mm-ddTHH:mm:ss.SSSZ.
  • fsCount - The number of documents that contain a value in the specified field in the result set.
  • fsMissing - The number of documents that do not contain a value in the specified field in the result set.
  • fsStddev - The standard deviation of the values in the specified field in the result set.
  • fsMin - The minimum value found in the specified field in the result set. If the field is numeric (int , int-array , double , or double-array ), min is the string representation of a double-precision 64-bit floating point value. If the field is date or date-array , min is the string representation of a date with the format specified in IETF RFC3339 : yyyy-mm-ddTHH:mm:ss.SSSZ.
  • fsSumOfSquares - The sum of all field values in the result set squared.
  • fsSum - The sum of the field values across the documents in the result set. null for date fields.

fsMax :: Lens' FieldStats (Maybe Text) Source #

The maximum value found in the specified field in the result set. If the field is numeric (int , int-array , double , or double-array ), max is the string representation of a double-precision 64-bit floating point value. If the field is date or date-array , max is the string representation of a date with the format specified in IETF RFC3339 : yyyy-mm-ddTHH:mm:ss.SSSZ.

fsMean :: Lens' FieldStats (Maybe Text) Source #

The average of the values found in the specified field in the result set. If the field is numeric (int , int-array , double , or double-array ), mean is the string representation of a double-precision 64-bit floating point value. If the field is date or date-array , mean is the string representation of a date with the format specified in IETF RFC3339 : yyyy-mm-ddTHH:mm:ss.SSSZ.

fsCount :: Lens' FieldStats (Maybe Integer) Source #

The number of documents that contain a value in the specified field in the result set.

fsMissing :: Lens' FieldStats (Maybe Integer) Source #

The number of documents that do not contain a value in the specified field in the result set.

fsStddev :: Lens' FieldStats (Maybe Double) Source #

The standard deviation of the values in the specified field in the result set.

fsMin :: Lens' FieldStats (Maybe Text) Source #

The minimum value found in the specified field in the result set. If the field is numeric (int , int-array , double , or double-array ), min is the string representation of a double-precision 64-bit floating point value. If the field is date or date-array , min is the string representation of a date with the format specified in IETF RFC3339 : yyyy-mm-ddTHH:mm:ss.SSSZ.

fsSumOfSquares :: Lens' FieldStats (Maybe Double) Source #

The sum of all field values in the result set squared.

fsSum :: Lens' FieldStats (Maybe Double) Source #

The sum of the field values across the documents in the result set. null for date fields.

Hit

data Hit Source #

Information about a document that matches the search request.

See: hit smart constructor.

Instances

Eq Hit Source # 

Methods

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

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

Data Hit Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Hit -> c Hit #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Hit #

toConstr :: Hit -> Constr #

dataTypeOf :: Hit -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c Hit) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Hit) #

gmapT :: (forall b. Data b => b -> b) -> Hit -> Hit #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Hit -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Hit -> r #

gmapQ :: (forall d. Data d => d -> u) -> Hit -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Hit -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Hit -> m Hit #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Hit -> m Hit #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Hit -> m Hit #

Read Hit Source # 
Show Hit Source # 

Methods

showsPrec :: Int -> Hit -> ShowS #

show :: Hit -> String #

showList :: [Hit] -> ShowS #

Generic Hit Source # 

Associated Types

type Rep Hit :: * -> * #

Methods

from :: Hit -> Rep Hit x #

to :: Rep Hit x -> Hit #

Hashable Hit Source # 

Methods

hashWithSalt :: Int -> Hit -> Int #

hash :: Hit -> Int #

FromJSON Hit Source # 
NFData Hit Source # 

Methods

rnf :: Hit -> () #

type Rep Hit Source # 
type Rep Hit = D1 * (MetaData "Hit" "Network.AWS.CloudSearchDomains.Types.Product" "amazonka-cloudsearch-domains-1.6.0-9qU57CakU6B4ta1P0ZaRFe" False) (C1 * (MetaCons "Hit'" PrefixI True) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_hitExprs") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe (Map Text Text)))) (S1 * (MetaSel (Just Symbol "_hitId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text)))) ((:*:) * (S1 * (MetaSel (Just Symbol "_hitHighlights") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe (Map Text Text)))) (S1 * (MetaSel (Just Symbol "_hitFields") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe (Map Text [Text])))))))

hit :: Hit Source #

Creates a value of Hit with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • hitExprs - The expressions returned from a document that matches the search request.
  • hitId - The document ID of a document that matches the search request.
  • hitHighlights - The highlights returned from a document that matches the search request.
  • hitFields - The fields returned from a document that matches the search request.

hitExprs :: Lens' Hit (HashMap Text Text) Source #

The expressions returned from a document that matches the search request.

hitId :: Lens' Hit (Maybe Text) Source #

The document ID of a document that matches the search request.

hitHighlights :: Lens' Hit (HashMap Text Text) Source #

The highlights returned from a document that matches the search request.

hitFields :: Lens' Hit (HashMap Text [Text]) Source #

The fields returned from a document that matches the search request.

Hits

data Hits Source #

The collection of documents that match the search request.

See: hits smart constructor.

Instances

Eq Hits Source # 

Methods

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

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

Data Hits Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Hits -> c Hits #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Hits #

toConstr :: Hits -> Constr #

dataTypeOf :: Hits -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c Hits) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Hits) #

gmapT :: (forall b. Data b => b -> b) -> Hits -> Hits #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Hits -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Hits -> r #

gmapQ :: (forall d. Data d => d -> u) -> Hits -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Hits -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Hits -> m Hits #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Hits -> m Hits #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Hits -> m Hits #

Read Hits Source # 
Show Hits Source # 

Methods

showsPrec :: Int -> Hits -> ShowS #

show :: Hits -> String #

showList :: [Hits] -> ShowS #

Generic Hits Source # 

Associated Types

type Rep Hits :: * -> * #

Methods

from :: Hits -> Rep Hits x #

to :: Rep Hits x -> Hits #

Hashable Hits Source # 

Methods

hashWithSalt :: Int -> Hits -> Int #

hash :: Hits -> Int #

FromJSON Hits Source # 
NFData Hits Source # 

Methods

rnf :: Hits -> () #

type Rep Hits Source # 
type Rep Hits = D1 * (MetaData "Hits" "Network.AWS.CloudSearchDomains.Types.Product" "amazonka-cloudsearch-domains-1.6.0-9qU57CakU6B4ta1P0ZaRFe" False) (C1 * (MetaCons "Hits'" PrefixI True) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_hCursor") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_hHit") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [Hit])))) ((:*:) * (S1 * (MetaSel (Just Symbol "_hStart") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Integer))) (S1 * (MetaSel (Just Symbol "_hFound") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Integer))))))

hits :: Hits Source #

Creates a value of Hits with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • hCursor - A cursor that can be used to retrieve the next set of matching documents when you want to page through a large result set.
  • hHit - A document that matches the search request.
  • hStart - The index of the first matching document.
  • hFound - The total number of documents that match the search request.

hCursor :: Lens' Hits (Maybe Text) Source #

A cursor that can be used to retrieve the next set of matching documents when you want to page through a large result set.

hHit :: Lens' Hits [Hit] Source #

A document that matches the search request.

hStart :: Lens' Hits (Maybe Integer) Source #

The index of the first matching document.

hFound :: Lens' Hits (Maybe Integer) Source #

The total number of documents that match the search request.

SearchStatus

data SearchStatus Source #

Contains the resource id (rid ) and the time it took to process the request (timems ).

See: searchStatus smart constructor.

Instances

Eq SearchStatus Source # 
Data SearchStatus Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> SearchStatus -> c SearchStatus #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c SearchStatus #

toConstr :: SearchStatus -> Constr #

dataTypeOf :: SearchStatus -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c SearchStatus) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c SearchStatus) #

gmapT :: (forall b. Data b => b -> b) -> SearchStatus -> SearchStatus #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> SearchStatus -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> SearchStatus -> r #

gmapQ :: (forall d. Data d => d -> u) -> SearchStatus -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> SearchStatus -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> SearchStatus -> m SearchStatus #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> SearchStatus -> m SearchStatus #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> SearchStatus -> m SearchStatus #

Read SearchStatus Source # 
Show SearchStatus Source # 
Generic SearchStatus Source # 

Associated Types

type Rep SearchStatus :: * -> * #

Hashable SearchStatus Source # 
FromJSON SearchStatus Source # 
NFData SearchStatus Source # 

Methods

rnf :: SearchStatus -> () #

type Rep SearchStatus Source # 
type Rep SearchStatus = D1 * (MetaData "SearchStatus" "Network.AWS.CloudSearchDomains.Types.Product" "amazonka-cloudsearch-domains-1.6.0-9qU57CakU6B4ta1P0ZaRFe" False) (C1 * (MetaCons "SearchStatus'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_sRid") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_sTimems") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Integer)))))

searchStatus :: SearchStatus Source #

Creates a value of SearchStatus with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • sRid - The encrypted resource ID for the request.
  • sTimems - How long it took to process the request, in milliseconds.

sRid :: Lens' SearchStatus (Maybe Text) Source #

The encrypted resource ID for the request.

sTimems :: Lens' SearchStatus (Maybe Integer) Source #

How long it took to process the request, in milliseconds.

SuggestModel

data SuggestModel Source #

Container for the suggestion information returned in a SuggestResponse .

See: suggestModel smart constructor.

Instances

Eq SuggestModel Source # 
Data SuggestModel Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> SuggestModel -> c SuggestModel #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c SuggestModel #

toConstr :: SuggestModel -> Constr #

dataTypeOf :: SuggestModel -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c SuggestModel) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c SuggestModel) #

gmapT :: (forall b. Data b => b -> b) -> SuggestModel -> SuggestModel #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> SuggestModel -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> SuggestModel -> r #

gmapQ :: (forall d. Data d => d -> u) -> SuggestModel -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> SuggestModel -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> SuggestModel -> m SuggestModel #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> SuggestModel -> m SuggestModel #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> SuggestModel -> m SuggestModel #

Read SuggestModel Source # 
Show SuggestModel Source # 
Generic SuggestModel Source # 

Associated Types

type Rep SuggestModel :: * -> * #

Hashable SuggestModel Source # 
FromJSON SuggestModel Source # 
NFData SuggestModel Source # 

Methods

rnf :: SuggestModel -> () #

type Rep SuggestModel Source # 
type Rep SuggestModel = D1 * (MetaData "SuggestModel" "Network.AWS.CloudSearchDomains.Types.Product" "amazonka-cloudsearch-domains-1.6.0-9qU57CakU6B4ta1P0ZaRFe" False) (C1 * (MetaCons "SuggestModel'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_smFound") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Integer))) ((:*:) * (S1 * (MetaSel (Just Symbol "_smSuggestions") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [SuggestionMatch]))) (S1 * (MetaSel (Just Symbol "_smQuery") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))))))

suggestModel :: SuggestModel Source #

Creates a value of SuggestModel with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • smFound - The number of documents that were found to match the query string.
  • smSuggestions - The documents that match the query string.
  • smQuery - The query string specified in the suggest request.

smFound :: Lens' SuggestModel (Maybe Integer) Source #

The number of documents that were found to match the query string.

smSuggestions :: Lens' SuggestModel [SuggestionMatch] Source #

The documents that match the query string.

smQuery :: Lens' SuggestModel (Maybe Text) Source #

The query string specified in the suggest request.

SuggestStatus

data SuggestStatus Source #

Contains the resource id (rid ) and the time it took to process the request (timems ).

See: suggestStatus smart constructor.

Instances

Eq SuggestStatus Source # 
Data SuggestStatus Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> SuggestStatus -> c SuggestStatus #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c SuggestStatus #

toConstr :: SuggestStatus -> Constr #

dataTypeOf :: SuggestStatus -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c SuggestStatus) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c SuggestStatus) #

gmapT :: (forall b. Data b => b -> b) -> SuggestStatus -> SuggestStatus #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> SuggestStatus -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> SuggestStatus -> r #

gmapQ :: (forall d. Data d => d -> u) -> SuggestStatus -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> SuggestStatus -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> SuggestStatus -> m SuggestStatus #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> SuggestStatus -> m SuggestStatus #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> SuggestStatus -> m SuggestStatus #

Read SuggestStatus Source # 
Show SuggestStatus Source # 
Generic SuggestStatus Source # 

Associated Types

type Rep SuggestStatus :: * -> * #

Hashable SuggestStatus Source # 
FromJSON SuggestStatus Source # 
NFData SuggestStatus Source # 

Methods

rnf :: SuggestStatus -> () #

type Rep SuggestStatus Source # 
type Rep SuggestStatus = D1 * (MetaData "SuggestStatus" "Network.AWS.CloudSearchDomains.Types.Product" "amazonka-cloudsearch-domains-1.6.0-9qU57CakU6B4ta1P0ZaRFe" False) (C1 * (MetaCons "SuggestStatus'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_ssRid") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_ssTimems") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Integer)))))

suggestStatus :: SuggestStatus Source #

Creates a value of SuggestStatus with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • ssRid - The encrypted resource ID for the request.
  • ssTimems - How long it took to process the request, in milliseconds.

ssRid :: Lens' SuggestStatus (Maybe Text) Source #

The encrypted resource ID for the request.

ssTimems :: Lens' SuggestStatus (Maybe Integer) Source #

How long it took to process the request, in milliseconds.

SuggestionMatch

data SuggestionMatch Source #

An autocomplete suggestion that matches the query string specified in a SuggestRequest .

See: suggestionMatch smart constructor.

Instances

Eq SuggestionMatch Source # 
Data SuggestionMatch Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> SuggestionMatch -> c SuggestionMatch #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c SuggestionMatch #

toConstr :: SuggestionMatch -> Constr #

dataTypeOf :: SuggestionMatch -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c SuggestionMatch) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c SuggestionMatch) #

gmapT :: (forall b. Data b => b -> b) -> SuggestionMatch -> SuggestionMatch #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> SuggestionMatch -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> SuggestionMatch -> r #

gmapQ :: (forall d. Data d => d -> u) -> SuggestionMatch -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> SuggestionMatch -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> SuggestionMatch -> m SuggestionMatch #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> SuggestionMatch -> m SuggestionMatch #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> SuggestionMatch -> m SuggestionMatch #

Read SuggestionMatch Source # 
Show SuggestionMatch Source # 
Generic SuggestionMatch Source # 
Hashable SuggestionMatch Source # 
FromJSON SuggestionMatch Source # 
NFData SuggestionMatch Source # 

Methods

rnf :: SuggestionMatch -> () #

type Rep SuggestionMatch Source # 
type Rep SuggestionMatch = D1 * (MetaData "SuggestionMatch" "Network.AWS.CloudSearchDomains.Types.Product" "amazonka-cloudsearch-domains-1.6.0-9qU57CakU6B4ta1P0ZaRFe" False) (C1 * (MetaCons "SuggestionMatch'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_smSuggestion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_smScore") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Integer))) (S1 * (MetaSel (Just Symbol "_smId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))))))

suggestionMatch :: SuggestionMatch Source #

Creates a value of SuggestionMatch with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • smSuggestion - The string that matches the query string specified in the SuggestRequest .
  • smScore - The relevance score of a suggested match.
  • smId - The document ID of the suggested document.

smSuggestion :: Lens' SuggestionMatch (Maybe Text) Source #

The string that matches the query string specified in the SuggestRequest .

smScore :: Lens' SuggestionMatch (Maybe Integer) Source #

The relevance score of a suggested match.

smId :: Lens' SuggestionMatch (Maybe Text) Source #

The document ID of the suggested document.